@charset "utf-8";

/* 
page-main.css - サイト固有の差分（AIが主に触る領域）
プレフィックス：p-
編集者 人間：編集する（微調整程度）
	   AI ：編集する（cursorエージェントが自由に編集をがりがり進める）
役割：ページ固有スタイル。レスポンシブもこのファイル内で完結。
禁止：c- の上書き（原則禁止）
	 共通化すべきスタイル
	 layout構造の再定義
*/

/* toppage */
#top h2 {
	font-size: 4rem;
	position: relative;
	padding-top: 0;
	margin-bottom: 40px;
	border-bottom: none;
}
#top h2::before {
	position: absolute;
	display: none;
}
#top h2::after {
	display: none;
}
#top h2 span {
	display: block;
	font-weight: normal;
	font-size: 1.8rem;
	margin-top: 1.6rem;
}

.p-top__fv {
	display: flex;
	align-items: center;
	gap: 4rem;

}
.p-top__fv div {
	width: 50%;
}
.p-top__fv div:first-child p {
	font-size: 4rem;
	line-height: 1.4;
	font-weight: bold;
}
.p-top__fv ul {
	display: flex;
	gap: 1rem;
	margin-top: 3.2rem;
}
.p-top__fv ul li {
	width: 25%;
	list-style: none;
	background-color: #72C5D5;
	color: #fff;
	font-weight: bold;
	padding: 1rem;
	text-align: center;
}
.p-top__fv ul li:last-child {
	background-color: #fff;
	color: #72C5D5;
	text-align: left;
}
.p-top__fv .c-more {
	width: 100%;
	text-align: center;
	margin-top: 4.8rem;
}

.c-page-img__img {
	position: relative;
}
.c-page-img__img::before {
	content: "";
    position: absolute;
    display: block;
    left: 1.8rem;
    z-index: -1;
    width: 100%;
    height: 100%;
    bottom: -1.8rem;
    background: #72C5D5;
}

.p-top__target {
	margin-top: 10rem;
}
.p-top__target h2 {
	text-align: center;
	line-height: 1.2;
}
.p-top__target-list {
	list-style: none;
	max-width: 1000px;
	margin: 0 auto;
}
.p-top__target-list li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 98px;
	padding: 20px;
	padding-left: 100px;
	border: 2px solid #2e74c9;
	font-size: 2.4rem;
	line-height: 1.4;
	color: #2e74c9;
	margin-bottom: 2.4rem;
	background-color: #fff;
}
.p-top__target-list li::before {
	content: "";
	position: absolute;
	left: 36px;
	top: 50%;
	width: 36px;
	height: 36px;
	border: 2px solid #2e74c9;
	border-radius: 50%;
	transform: translateY(-50%);
}
.p-top__target-list li::after {
	content: "";
	position: absolute;
	left: 48px;
	top: 50%;
	width: 12px;
	height: 6px;
	border-left: 2px solid #2e74c9;
	border-bottom: 2px solid #2e74c9;
	transform: translateY(-60%) rotate(-45deg);
}

.p-top__reason {
	position: relative;
}
.p-top__reason::before {
	content: "Reason";
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    letter-spacing: 30px;
    font-size: 40rem;
    color: #DDDDDD;
}
#top .p-top__reason h2 {
	text-align: center;
	color: #3D7BBF;
	padding-top: 3.2rem;
	position: relative;
}
#top .p-top__reason h2::before {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 48px;
    height: 8px;
    background: linear-gradient(transparent 46%, #72C5D5 49%, #6CBCD3 51%);
    transform: rotate(-30deg) translateX(-50%);
}
.p-top__reason-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 5rem;
	position: relative;
}

.p-top__reason-container li {
	width: calc(100% / 3 - 5rem);
	list-style: none;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	padding: 1.6rem 0;
	font-weight: bold;
	background-image: linear-gradient(6deg, #f2f2f2, #fdfdfd);
	box-shadow: 8px 8px 15px 5px #dedede;
	font-size: 3.2rem;
	line-height: 1.4;
}

.p-top__philosophy {
	padding: 4.6rem 0 12rem;
	position: relative;
}
.p-top__philosophy::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 50%;
	background-image: linear-gradient(101deg, #eaf7f9, #fdfdfd);
	z-index: -1;
}
.p-top__philosophy::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 50%;
	background-image: linear-gradient(101deg, #ffffff, #dbecff);
	z-index: -4;
}
.p-top__philosophy > div {
	padding: 0;
	position: relative;
}
.p-top__philosophy > div::before {
	content: "";
    position: absolute;
    left: -463px;
    top: 6.4rem;
    width: 100%;
    height: 100%;
    background-image: url(/images/img/top_08.png);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    z-index: -1;
}
.p-top__philosophy-title {
	display: flex;
	align-items: center;
	gap: 6.4rem;
}
#top .p-top__philosophy h2 {
	font-size: 3.2rem;
	padding-bottom: 0;
	margin: 4rem 0 0;
}
#top .p-top__philosophy h2 span {
	display: inline-block;
	font-size: 3.2rem;
	font-weight: bold;
	margin-right: 3.2rem;
}
.p-top__philosophy-title .c-page-img:first-child {
	height: 130px;
	margin-top: 8rem;
}
.p-top__philosophy-title .c-page-img:first-child img {
	height: 100%;
	object-fit: contain;
}
.p-top__philosophy-title .c-page-img:last-child {
	height: 360px;
}
.p-top__philosophy-title .c-page-img:last-child img {
	height: 100%;
	object-fit: cover;
}
.p-top__philosophy ul {
	margin-top: 4.8rem;
	margin-left: 5.6rem;
}
.p-top__philosophy ul li {
	list-style: none;
	font-size: 2.4rem;
	line-height: 1.4;
	margin-bottom: 1.6rem;
}

.p-top__steps {
	padding: 6.4rem 0;
	background-color: #DDF4FF;
}
#top .p-top__steps h2 {
	text-align: center;
	color: #3D7BBF;
	padding-top: 3.2rem;
	position: relative;
}
#top .p-top__steps h2::before {
	display: block;
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 48px;
	height: 8px;
	background: linear-gradient(transparent 46%, #72C5D5 49%, #6CBCD3 51%);
	transform: rotate(-30deg) translateX(-50%);
}
.p-top__steps-container {
	display: flex;
}
.p-top__steps-container section {
	position: relative;
	width: 25%;
	padding: 2.4rem 1.6rem 2.8rem;
	text-align: center;
}
.p-top__steps-container section:last-child {
	border-right: 0;
}
.p-top__steps-container section > span {
	display: block;
	font-size: 5.2rem;
	line-height: 1;
	color: #3d7bbf;
	margin-bottom: 1.6rem;
	letter-spacing: 0.04em;
}
.p-top__steps-container .c-page-img {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 7.2rem;
	margin-bottom: 1.6rem;
}
.p-top__steps-container .c-page-img img {
	width: 5.6rem;
	height: 5.6rem;
	object-fit: contain;
}
.p-top__steps-container h3 {
	margin: 0;
	font-size: 1.8rem;
	line-height: 1.5;
	font-weight: 400;
	color: #3d7bbf;
	border-left: none;
	padding-left: 0;
}
.p-top__steps-container section:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -1.1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 1rem solid transparent;
	border-bottom: 1rem solid transparent;
	border-left: 1.2rem solid #3d7bbf;
	z-index: 2;
}
.p-top__steps > div > p {
	text-align: center;
	font-size: 1.8rem;
	line-height: 1.5;
	color: #3d7bbf;
	margin: 4.8rem 0 0;
}

.p-top__contact {
	margin-top: 0;
	display: flex;
	align-items: stretch;
	max-height: 500px;
}
.p-top__contact > div {
	width: 50%;
}
.p-top__contact div:first-child {
	text-align: center;
	background-color: #fff;
	background-image: linear-gradient(330deg, #9ad5e1, #3d7bbf);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#top .p-top__contact div:first-child h2 {
	font-size: 4.8rem;
	color: #fff;
	padding-bottom: 0;
	margin-bottom: 3.2rem;
}
.p-top__contact div:first-child p {
	font-size: 1.8rem;
	color: #fff;
}
.p-top__contact .c-more a {
	margin: 0 auto;
}

.p-top__entry-container {
	display: flex;
	flex-wrap: wrap;
	margin:0 -1%;
}
.p-top__entry-container section  {
	width: 23%;
	margin:0 1% 1%;
}
.time {
	margin: 0.5rem 0;
	display: flex;
	align-items: center;
}
.time span {
	border: 1px solid #a6acb2;
	padding: 3px 6px;
	font-size: 1.1rem;
	line-height: 100%;
	margin-left: 1.0rem;
	background: #fff799;
}
.p-top__entry-container ul{
	display: flex;
	margin-top: -16px;
}
.p-top__entry-container ul li {
	list-style:none;
	border: 1px solid #a6acb2;
	font-size: 1.1rem;
	line-height: 100%;
	margin-right: 1.0rem;
}
.p-top__entry-container ul li a {
    color: #333;
    display: block;
    padding: 3px 6px 4px;
	text-decoration: none;
}
.p-top__entry-container ul li a:hover {
    background: #ddd;
    opacity: 1;
}
.p-top__entry-container h2,
.p-top__entry-container h3{
	font-weight: normal;
	font-size: 1.8rem;
	line-height: 2.4rem;
	margin-top: 0px;
	margin-bottom: 1.0rem;
	border-left: 0;
	border:none;
	padding-left: 0;
}
.p-top__entry-container h3{
	margin-bottom: 2.0rem;
}
.p-top__entry-container h2::after{
	content:none;
}
.p-top__entry-container h2 a,
.p-top__entry-container h3 a{
	color: #333;
	text-decoration: none;
}
.p-top__entry-container section div.img {
	margin-bottom: 0;
}
.p-top__entry-container section img {
	width: 100%;
    height: auto;
	min-height: 170px;
    max-height: 170px;
    object-fit: cover;
}

.p-top__service {
	background: linear-gradient(135deg, #D8E5F2 0%, #E3F3F7 100%);
	padding-bottom: 6.4rem;
}
.p-top__service-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#top .p-top__service-title h2 {
	padding-top: 2.4rem;
	padding-bottom: 0;
    margin: 0;
	font-size: 4.8rem;
	color: #3D7BBF;
}
#top .p-top__service-title h2::before {
	display: block;
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 48px;
	height: 8px;
	background:
		linear-gradient(transparent 46%, #72C5D5 49%, #6CBCD3 51%) ;
	transform: rotate(-30deg);
}
.p-top__service-title img {
	max-width: 800px;
	margin-left: auto;
	object-fit: cover;
}
.p-top__service-container {
	display: flex;
	gap: 4rem;
	margin-top: 4.8rem;
}
.p-top__service-container section {
	width: calc(100% / 3 - 1.6rem);
	margin-top: 0;
}
.p-top__service-container h3 {
	font-size: 2.4rem;
	margin: 0 0 1.6rem;
	padding-bottom: 1.6rem;
	border-left: 0;
	border-bottom: 1px solid #3D7BBF;
	color: #3D7BBF;
}
.p-top__service-container ul li {
	font-size: 1.8rem;
	margin-bottom: 0.8rem;
	line-height: 1.4;
	list-style: none;
	color: #3D7BBF;
}

/* max-width 1279px */
@media screen and (max-width: 1279px) {
	.p-top__fv div:first-child p {
		font-size: 3.5rem;
	}

	.p-top__reason-container li {
		width: calc(100% / 3 - 4rem);
		font-size: 3rem;
	}

	.p-top__philosophy > div::before {
		left: -230px;
	}
}
@media screen and (max-width: 1025px) {
	.p-top__fv {
		flex-direction: column;
	}
	.p-top__fv div {
		width: 100%;
	}
	.p-top__fv .c-page-img__img {
		max-width: 800px;
		margin: 0 auto;
	}
	.p-top__fv ul {
		max-width: 720px;
	}
	
	.p-top__target-list li {
		font-size: 2rem;
		min-height: 80px;
		padding-left: 78px;
	}
	.p-top__target-list li::before {
		left: 28px;
		width: 30px;
		height: 30px;
	}
	.p-top__target-list li::after {
		left: 38px;
	}

	.p-top__service {
		padding: 4.8rem 0;
	}
	.p-top__service-title {
		gap: 2.4rem;
		flex-direction: column;
	}
	#top .p-top__service-title h2::before {
		top: -12px;
		left: 50%;
		transform: rotate(-30deg) translateX(-50%);
	}
	#top .p-top__service-title h2 span {
		text-align: center;
	}
	.p-top__service-container section {
		width: 100%;
		padding: 0;
	}
	.p-top__service-container {
		gap: 2.4rem;
		margin-top: 3.2rem;
	}
	.p-top__service-container p {
		line-height: 1.6;
		font-size: 1.4rem;
	}

	.p-top__reason-container {
		gap: 2rem;
	}
	.p-top__reason-container li {
		height: 240px;
		font-size: 2.6rem;
        width: calc(100% / 2 - 2rem);
	}
	.p-top__reason::before {
		display: none;
	}

	.p-top__philosophy-title {
		margin-left: 4rem;
		gap: 4rem;
	}
	.p-top__philosophy-title .c-page-img:first-child {
		height: 100px;
	}
	#top .p-top__philosophy h2 span {
		display: block;
		line-height: 1.6;
		font-size: 2.4rem;
	}
	.p-top__philosophy-title .c-page-img:last-child {
		height: 300px;
	}
	.p-top__philosophy > div::before {
        left: 0;
		width: 72%;
        min-width: 552px;
    }
	.p-top__philosophy ul {
		margin: 4rem;
	}


	.p-top__steps-container {
		flex-wrap: wrap;
	}
	.p-top__steps-container section {
		width: 50%;
	}
	.p-top__steps-container section:nth-child(2)::after {
		display: none;
	}
	.p-top__steps-container section:nth-child(n+3) {
		margin-top: 0;
	}

	.p-top__contact {
		width: 100%;
		flex-direction: column;
	}
	.p-top__contact > div {
		width: 100%;
	}
	.p-top__contact div:first-child {
		padding: 4.8rem 1.6rem;
	}


	.p-top__entry-container section {
		width: 48%;
		margin: 0 1% 30px;
	}

	.keywordsearch-page form dl dd {
		padding: 10px 0;
	}
	.keywordsearch-page form dl dt {
		width: 100%;
	}
	.keywordsearch-page input[type="text"] {
		border: 1px solid #787878;
	}

	
}
/* max-width 1025px */
@media screen and (max-width: 600px) {
	.p-top__fv div:first-child p {
        font-size: 2.7rem;
    }
	.p-top__fv ul {
		gap: 0.8rem;
	}
	.p-top__fv ul li {
		padding: 1rem 0;
	}
	.p-top__fv .c-page-img__img {
		width: 90%;
	}

	#top .p-top__target h2 {
		font-size: 3.6rem;
	}
	.p-top__target-list li {
		font-size: 1.8rem;
		min-height: 68px;
		padding: 14px 12px 14px 48px;
	}
	.p-top__target-list li::before {
		left: 10px;
		width: 24px;
		height: 24px;
	}
	.p-top__target-list li::after {
		left: 18px;
		width: 9px;
		height: 5px;
	}

	.p-top__service-container {
		flex-direction: column;
	}

	.p-top__reason-container li {
		width: 100%;
		height: 120px;
	}


	.p-top__philosophy-title {
		margin-left: 0;
		gap: 1.6rem;
		width: 98%;
		margin: 0 auto;
	}
	.p-top__philosophy-title .c-page-img:first-child {
        height: 80px;
    }
	#top .p-top__philosophy h2 {
		white-space: nowrap;
	}
	.p-top__philosophy-title .c-page-img:last-child {
        height: 240px;
    }
	.p-top__philosophy ul {
		margin: 4rem auto 0;
		max-width: 98%;
	}
	.p-top__philosophy ul li {
		font-size: 1.8rem;
	}

	.p-top__steps-container section {
		padding: 0;
		margin-bottom: 1.6rem;
	}
	.p-top__steps-container section > span {
		font-size: 3.2rem;
	}
	.p-top__steps-container h3 {
		font-size: 1.6rem;
	}

	.p-top__contact {
        padding: 0;
	}
	#top .p-top__contact div:first-child h2 {
		font-size: 4rem;
	}

	.p-top__entry-container section {
		width: 100%;
		display: flex;
		align-items: center;
	}
	.p-top__entry-container section div.img {
		width: 38%;
		margin-right: 2%;
	}
	.p-top__entry-container section div.img img {
		width: 100%;
		height: auto;
		min-height: 100px;
		max-height: 100px;
	}
	.p-top__entry-container section div {
		width: 60%;
	}
	.p-top__entry-container section.entry-first {
		flex-direction: column;
	}
	.p-top__entry-container section.entry-first div.img {
		width: 100%;
		margin-right: 0;
	}
	.p-top__entry-container section.entry-first div {
		width: 100%;
	}

	.search_btn input {
		padding: 2.0rem;
		font-size: 2.0rem;
	}
	.search_btn {
		width: 100%;
	}
}
/* max-width 600px */