@charset "UTF-8";

img {
	max-width: 100%;
	height: auto;
}

@media screen and (min-width: 770px) {
  /* ヘッドライン　*/
  #headline {
    width: 100%;
    background-color: #1f5c7b;
    text-align: center;
    background-image: url('../image/services/headline.jpg');
    background-position: center;
    background-size: cover;
    z-index: 15;
    position: relative;
  }
  #headline div {
    margin: auto;
    padding: 100px 0;
    width: 20%;
  }
  #headline h2 {
    padding: 40px 0;
    font-size: 25px;
    font-weight: 900;
    color: #fff;
    background: rgba(31, 92, 123, 0.7);
  }

  /* メニューバー　*/
  #menu {
    width: 100%;
    height: 200px;
    background-color: #1f5c7b;
    transform: skew(0deg, -5deg);
    -webkit-transform: skew(0deg, -5deg);
    -moz-transform: skew(0deg, -5deg);
  }
  .menu_child {
    width: 100%;
    background-color: #fff;
    transform: skew(0deg, 5deg);
    -webkit-transform: skew(0deg, 5deg);
    -moz-transform: skew(0deg, 5deg);
  }

  .dropdwn {
    display: flex;
    width: 80%;
    margin: 0 auto;
  }
  .dropdwn li {
    width: 20%;
    text-align: center;
    position: relative;
    border-left: 2px solid #ddd;
  }
  .dropdwn a {
    display: block;
  }
  .dropdwn img {
    padding: 20px 0;
  }
  .dropdwn li:first-child {
    border: none;
  }
  .dropdwn a:hover {
    opacity: 0.5;
  }
  .dropdwn_menu {
    width: 100%;
    display: none;
    position: absolute;
    padding: 0;
    background: #fff;
  }
  .dropdwn_menu li {
    width: 100%;
    padding: 0;
    border: none;
  }
  .dropdwn_menu li a {
    padding: 10px 0;
    display: block;
    color: #000;
    font-size: 13px;
  }
  .dropdwn_menu li a:hover {
    background-color: #1f5c7b;
    color: #fff;
  }

  /* 現在のページのメニューの背景色を変更　*/
  #thispage {
    background-color: #399f4a;
  }
  #thispage img {
    filter: invert(100%);
  }
}

@media screen and (max-width: 769px) {
  /* ヘッドライン　*/
  #headline {
    width: 100%;
    background-color: #1f5c7b;
    text-align: center;
    background-image: url('../image/services/headline.jpg');
    background-position: center;
    background-size: cover;
    z-index: 15;
    position: relative;
  }
  #headline div {
    margin: auto;
    padding: 80px 0 100px;
    width: 40%;
  }
  #headline h2 {
    padding: 20px 0;
    font-size: 25px;
    font-weight: 900;
    color: #fff;
    background: rgba(31, 92, 123, 0.7);
  }

  /* メニューバー　*/
  #menu {
    width: 100%;
    height: 80px;
    margin-top: -5%;
    background-color: #1f5c7b;
    position: relative;
    z-index: 15;
    transform: skew(0deg, -5deg);
  }
  .menu_child {
    display: none;
  }
}

.services_inner {
	max-width: 890px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 100px;
	padding: 0 15px;
}

.services_inner h2 {
	text-align: center;
	font-weight: bold;
	font-size: 33px;
	font-style: italic;
	line-height: 1.2;
}

.services_inner p {
	margin-top: 30px;
	font-size: 20px;
	line-height: 1.5;
}

.services_inner ul {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.services_inner li {
	width: 48%;
	margin-bottom: 30px;
}

.services_inner a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 769px) {
	.services_inner {
		margin-top: 50px;
	}

	.services_inner h2 {
		font-size: 18px;
	}
	
	.services_inner p {
		font-size: 14px;
		max-width: 300px;
		margin-right: auto;
		margin-left: auto;
	}

	.services_inner ul {
		display: none;
	}
}

.services_detail {
	margin-top: 50px;
}

.services_wrap {
	position: relative;
	padding: 10% 0;
	background-size: cover;
	background-position: top right;
	z-index: -2;
}

.services_wrap1 {
  background-image: url('../image/services/bg1.png');
}

@media screen and (max-width: 769px) {
  .services_wrap1 {
    background-image: url('../image/services/bg1_sp.png');
  }
}

.services_wrap2 {
  background-image: url('../image/services/bg2.png');
}

@media screen and (max-width: 769px) {
  .services_wrap2 {
    background-image: url('../image/services/bg2_sp.png');
  }
}

.services_wrap3 {
  background-image: url('../image/services/bg3.png');
}

@media screen and (max-width: 769px) {
  .services_wrap3 {
    background-image: url('../image/services/bg3_sp.png');
  }
}

.services_wrap4 {
  background-image: url('../image/services/bg4.png');
}

@media screen and (max-width: 769px) {
  .services_wrap4 {
    background-image: url('../image/services/bg4_sp.png');
  }
}

.services_wrap-last {
	padding: 10% 0 20%;
}

.services_wrap.diagonal-l::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 10vw 100vw;
	border-color: transparent transparent #fff transparent;
}

.services_wrap.diagonal-bottom-s::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 7vw 100vw;
	border-color: transparent transparent #fff transparent;
}

.services_wrap.diagonal-top-s::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	border-style: solid;
  border-width: 7vw 100vw 0 0;
	border-color: #fff transparent transparent transparent;
}

.services_wrap .title_wrap {
	position: relative;
	text-align: center;
	color: #fff;
	margin: 0 15px;
}

.services_wrap .title_wrap::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 60%;
	width: 100%;
	max-width: 400px;
	background: #1f5c7b;
	opacity: .6;
	z-index: -2;
}

.services_wrap .title_wrap .title {
	font-size: 35px;
	font-weight: bold;
}

.services_wrap .title_wrap .sub-title {
	margin-top: 15px;
	font-size: 20px;
}

@media screen and (max-width: 769px) {
	.services_wrap {
		padding: 75px 0;
	}

	.services_wrap .title_wrap .title {
		font-size: 25px;
	}
	
	.services_wrap .title_wrap .sub-title {
		font-size: 16px;
	}
}

.detail-container {
	margin-top: 50px;
}

@media screen and (max-width: 769px) {
  .detail-container {
    margin-top: 20px;
  }
}

.detail-about {
	color: #fff;
  padding: 0 20px;
  text-align: center;
  font-weight: bold;
  font-size: 25px;
  position: relative;
  top: 30px;
  white-space: nowrap;
}

@media screen and (max-width: 769px) {
  .detail-about {
    width: 100%;
    font-size: 18px;
    text-align: center;
  }
}

.detail-about span {
  display: inline-block;
	background: #399f4a;
  padding: 20px 30px;
}


.detail-wrap {
	max-width: 915px;
	margin-right: auto;
	margin-left: auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
  padding: 0 15px;
  width: 100%;
}

@media screen and (max-width: 769px) {
	.detail-wrap {
		flex-direction: column;
		align-items: center;
	}
}

.detail-content {
	padding: 100px 60px;
	color: #fff;
	line-height: 2;
	background: rgba(31, 92, 123, 0.4);
  width: 100%;
}

@media screen and (max-width: 769px) {
	.detail-content {
		padding: 50px 20px;
		line-height: 1.5;
	}
}

@media screen and (max-width: 769px) {
	.detail-img {
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    max-width: 400px;
		width: 100%;
	}
}