@charset "UTF-8";
/* CSS Document */
.main_inq_bnr{
	transform: translate(0, -34%);
}
.lower h3{
	margin: 0;
	font-size: 2.2rem;
	line-height: 35px;
	font-weight: 500;
	letter-spacing: 0.88px;
	padding-bottom: 16px;
	position: relative;
	margin-bottom: 56px;
}
.lower h3::before{
	content: "";
	width: 78px;
	height: 2px;
	background: #49B6D6;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%,0);
}
.lower .container{
	height: auto;
	min-height: 408px;
	max-height: 408px;
	margin-bottom: 66px;
}
.lower .main_vi{
	height: auto;
}
.lower .main_img{
	background: url("../img/contact/main_vi.png");
	background-size: cover;
	background-position: center;
	min-height: 408px;
}
.lower h1{
	font-size: 3.2rem;
	font-weight: 400;
	line-height: 41px;
	letter-spacing: 1.28px;
	padding-bottom: 24px;
	position: relative;
	margin-bottom: 64px;
}
.lower h1::before{
	content: "";
	width: 163px;
	height: 4px;
	background: #49B6D6;
	position: absolute;
	bottom: 0;
	left: 0;
}
.lower h4{
	text-align: left;
	font-size: 1.8rem;
	line-height: 32px;
	position: relative;
	padding-left: 15px;
}
.lower h4::before{
	content: "";
	width: 6px;
	height:18px;
	background: #49B6D6;
	position: absolute;
	top:50%;
	left: 0;
	transform: translate(0,-50%);
}
.lower main section{
	padding: 80px 5.833vw;
}
.lower main section.p_none{
	padding-left: 0;
	padding-right: 0;
}
.lower .p_none .p_none_cnt{
}
.lower p.copy{
	text-align: center;
}

/*フロアマップ*/
.floor{
	display: flex;
	justify-content: space-between; /* gapの代わりに左右の間隔を自動調整 */
	position: relative; /* relativeを追加してarrowの基準にする */
}
/* 左側：階層図＋矢印 */
.floor .left {
    position: relative;
    flex: 0 0 30%;  /* 左側を30%幅に固定 */
  	max-width: 30%;
}
.floor .left img {
    width: 100%;
    display: block;
}
/* 矢印 */
.floor .arrow {
	position: absolute;
	left: -89px;
	width: 20px;
	height: 20px;
	background: #1FA196;
	border-radius: 50%;
	transition: top 0.3s ease;
}

.floor .arrow-line {
	position: absolute;
	top: 10px;
	left: 100%;
	width: calc(100% + 50px);
	height: 2px;
	background: #1FA196;
}
/* 右側 */
.floor .right {
    flex: 1;
  	max-width: 65%;
	position: relative;
}
/* タブ */
.floor .tabs {
    display: flex;
	justify-content: flex-end;
}
.floor .tab {
	padding: 5px 40px;
    cursor: pointer;
    background: #A5CBC1;
    color: #fff;
    transition: background 0.3s;
	font-size: 2.8rem;
	letter-spacing: 1.12px;
}
.floor .tab span{
	font-size: 2rem;
}
.floor .tab.active {
   background: #1FA196;
}
.floor .tab:nth-child(2){
	margin: 0px 3px;
}
/* 右側画像エリア */
.display {
    padding: 10px;
	border: solid 2px #1FA196;
}
.display img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: auto;
}

/*point*/
.lower .point{
	background: #fff;
	margin-bottom: 0px;
}

/*timeline*/
.timeline{
	position: relative;
	background: #E9F0F2;
	padding: 40px;
	margin-bottom: 56px;
}
.timeline::before {
	content: '';
	position: absolute;
	top: 72px; /* 最初のアイコン高さ分ずらす（必要に応じて調整） */
  	bottom: 82px; /* 最後のアイコン高さ分を残す（必要に応じて調整） */
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	background: #333;
	z-index: 0;
}
.event {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
}
.event .content {
	width: 45%;
	z-index: 1;
}
.event .content .fukidashi{
	background: white;
	padding: 15px 20px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	position: relative;
}
.event .content .fukidashi::before{
	content: "";
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-right: 15px solid white;
	border-bottom: 10px solid transparent;
	position: absolute;
	top: 50%;
	left: -15px;
	transform: translate(0,-50%);
}
.event .content .fukidashi p.time{
	font-weight: 700;
	font-size: 2.2rem;
	margin-right: 20px;
	position: relative;
}
.event .content .fukidashi p.icon{
	margin-right: 50px;
}
.event .content .fukidashi p.icon::before{
	content: "";
	width: 40px;
	height: 40px;
	background: url("../img/common/lunch_icon.svg");
	background-size: 100%;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(43px,-50%);
}
.event .content .fukidashi p.snack::before{
	content: "";
	width: 40px;
	height: 40px;
	background: url("../img/common/snack_icon.svg");
	background-size: 100%;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(43px,-50%);
}
.event .content h4 {
	margin: 0 0 8px;
	font-size: 16px;
	color: #333;
}
.event .content p {
	margin: 0;
	font-size: 14px;
	color: #555;
}
.center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	z-index: 2;
}
.icon-image {
	width: 72px;
	height: 72px;
	padding: 5px;
	object-fit: contain;
	margin-bottom: 5px;
}
.icon-image img{
	width: 100%;
}
.time {
	font-weight: bold;
	font-size: 14px;
}
/* デスクトップでは左右交互に */
.event:nth-child(even) {
	flex-direction: row;
}
.event:nth-child(odd) {
	flex-direction: row-reverse;
}
.event.row-reverse{
	flex-direction: row-reverse;
	margin-top: 16px;
}
.event:nth-child(even) .fukidashi::before{
	left: auto;
	right: -15px;
	border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
	border-right: none;
}
.event.row-reverse .fukidashi::before{
	border-top: 10px solid transparent;
    border-right: 15px solid white;
    border-bottom: 10px solid transparent;
	border-left: none;
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translate(0, -50%);
}
/*gallery*/
.g_column {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
}
/* ギャラリー部分 */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3カラム固定 */
	gap: 8px;
	width: calc(100% - 260px); /* カレンダー分を引いた幅 */
	margin-bottom: 16px;
}
.gallery .gallery_img {
	aspect-ratio: 294 / 184; /* 比率維持 */
	width: 100%;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s;
}
.gallery .gallery_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.3s;
}
.gallery .gallery_img:hover img {
	transform: scale(1.1);
}
/* カレンダー部分 */
.g_column .calendar {
	width: 240px; /* カレンダー固定幅 */
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: relative;
}
.g_column .calendar::before{
	content: "";
	width: 2px;
	height: calc(100% - 20px);
	background: #49B6D6;
	position: absolute;
	top: 10px;
	left: 28px;
}
.g_column .calendar .calen{
	padding: 10px;
	text-align: center;
	display: flex;
	align-items: center;
	position: relative;
}
.g_column .calendar .calen p{
	font-weight: 700;
}
.g_column .calendar .month {
	font-weight: 500;
	font-size: 1.8rem;
	line-height:23px;
	color: #49B6D6;
	border: solid 1px #49B6D6;
	border-radius: 50px;
	background: #FFF;
	padding: 8px 0px;
	margin-right: 16px;
	width: 39px;
}
.g_column .calendar .month span{
	font-size: 1.4rem;
}

/*popup*/
.popup{
	background: rgba(39, 34, 31, 0.95);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
  	height: 100%;
	justify-content: center;
  	align-items: center;
	z-index: 999;
	color: #fff;
	display: none;
	inset: 0;
}
.popup .popup_cnt{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 40%;
}
.popup .popup_cnt.narrow{
	width: 40%;
}
.popup .popup_cnt img{
	width: 100%;
	margin-bottom: 16px;
}
.popup .popup_cnt .popup_txt p:first-child{
	font-size: 2.2rem;
	font-weight: 500;
	line-height: 35px;
	margin-bottom: 8px;
}
.popup .popup_cnt .close{
	text-align: right;
	position: relative;
	margin-bottom: 14px;
	cursor: pointer;
}
.popup .popup_cnt .close p{
	margin-right: 25px;
	font-size: 1.4rem;
}
.popup .popup_cnt .close::before{
	content: "";
	width: 20px;
	height: 20px;
	background: url("../img/common/popup_close.svg");
	background-size: 100%;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0,-50%);
}
.popup .popup_cnt .prev_next img{
	margin-bottom: 0px;
}
.popup .popup_cnt .prev_next .prev{
	width: 18px;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(-40px,-50%);
	cursor: pointer;
}
.popup .popup_cnt .prev_next .next{
	width: 18px;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(40px,-50%) rotate(180deg);
	cursor: pointer;
}


/*毎月発行！「社通信」*/
.magazine{
	display: flex;
	flex-wrap: wrap;
	gap:48px;
	margin: 56px 0px 99px;
}
.magazine .magazine_list{
	width: calc(100%/4 - 36px);
}
.magazine .magazine_list img{
	width: 100%;
	margin-bottom: 16px;
}
.magazine .magazine_list .magazine_txt{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.magazine .magazine_list .magazine_txt a{
	display: inline-block;
	background: #333;
	padding: 5px 10px;
	width: 62px;
	text-align: center;
	transition: 0.3s;
	cursor: pointer;
}
.magazine .magazine_list .magazine_txt a:hover{
	background: #49B6D6;
}
.magazine .magazine_list .magazine_txt a p{
	color: #fff;
	position: relative;
	padding-left: 20px;
}
.magazine .magazine_list .magazine_txt a p::before{
	content: "";
	width: 17px;
	height: 17px;
	background: url("../img/common/magazine_icon.svg");
	background-size: 100%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0,-50%);
}
/*アンカーリンク*/
.anc_link a{
	width: calc(100%/4 - 12px);
	min-width: 184px;
	background: #fff;
	padding: 21px 0px 42px;
	display: block;
	text-align: center;
	border-radius: 5px;
	transition: 0.3s;
}
.anc_link a:hover{
	background: #49B6D6;
}
.anc_link a img{
	width: 124px;
	transition: opacity 0.3s ease;
}
.anc_link a p{
	margin: 8px 0px;
	position: relative;
	font-size: 1.8rem;
	line-height: 32px;
	font-weight: 500;
	transition: 0.3s;
}
.anc_link a:hover p{
	color: #fff;
}
.anc_link a p::before{
	content: "";
	width: 24px;
	height: 24px;
	background: url("../img/common/arrow6.svg");
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%,30px)rotate(90deg);
}
.anc_link a:hover p::before{
	content: "";
	background: url("../img/common/arrow3.svg");
	transform: translate(-50%,30px)rotate(0deg);
}
.anc_link{
	display: flex;
	justify-content: center;
	gap:16px;
	margin-bottom: 106px;
}

/*index service*/
.service_wrap{
	margin-bottom: 48px;
}
.service_wrap.s_wrap1{
	background: url("../img/gokisonomori/index_img3.png");
	background-repeat: no-repeat;
	background-size: 47vw auto;
	background-position: left center;
}
.service_wrap.s_wrap2{
	background: url("../img/gokisonomori/index_img4.png");
	background-repeat: no-repeat;
	background-size: 47vw auto;
	background-position: left center;
}
.service_wrap.s_wrap3{
	background: url("../img/gokisonomori/index_img5.png");
	background-repeat: no-repeat;
	background-size: 47vw auto;
	background-position: left center;
}
.service_wrap.right{
	background-position: right center;
}
.service_wrap:last-child{
	margin-bottom: 0px;
}
.service_wrap .s_container{
	max-width: 100%;
	padding: 5rem 0px 3.5rem;
	margin: 0 auto;
}
.service_wrap .wrap{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: end;
	flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.right.service_wrap .wrap{
	justify-content: flex-start;
}
.service_wrap .wrap .wrap_img{
	max-width: 690px;
	flex-shrink: 0;
}
.service_wrap .wrap img{
	width: 100%;
	display: block;
}
.text-box {
	position: static; /* 絶対配置を解除 */
    transform: none;
	background: rgba(255, 255, 255, 0.9);
	padding: 32px;
	max-width: 690px;
	margin-left: -150px;
}
.right.service_wrap .wrap .text-box{
	margin-left: 0;
	margin-right: -150px;
	z-index: 2;
}
.text-box p.ttl{
	display: flex;
	align-items: center;
	font-size: 2rem;
	line-height: 32px;
	font-weight: 500;
	letter-spacing: 0.8px;
	margin-bottom: 16px;
}
.num {
	color: #49B6D6;
	font-size: 4rem;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: 1.6px;
	margin-right: 10px;
}
.links{
	display: flex;
	gap:49px;
}
.links a{
	position: relative;
	display: block;
	width: calc(100%/2);
	transition: 0.3s;
	padding-bottom: 16px;
	margin-top: 32px;
}
.links a::before{
	content: "";
	width: 100%;
	height: 1px;
	background: #BCBCBC;
	position: absolute;
	bottom: 0;
	left: 0;
}
.links a::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #49B6D6;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.links a:hover::after {
    transform: scaleX(1);
}
.links p{
	position: relative;
}
.links p::before{
	content: "";
	width: 24px;
	height: 24px;
	background: url("../img/common/arrow.svg");
	background-size: 100%;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0,-50%);
	transition: transform 0.3s ease;
}
.links a:hover p::before{
	background: url("../img/common/arrow6.svg");
	background-size: 100%;
}
.pagelink a{
	position: relative;
	margin-bottom: 55px;
}
.pagelink a::after{
	content: "";
	width: 18px;
	height: 14px;
	background: url("../img/common/arrow7.svg");
	background-size: 100%;
	position: absolute;
	top:50%;
	right: 0px;
	transform: translate(-20px,-50%);
	transition: 0.3s;
}
.pagelink a:hover::after{
	background: url("../img/common/arrow8.svg");
	background-size: 100%;
}
@media screen and (min-width: 1740px) {
	.service_wrap .s_container{
		max-width: 1140px;
		padding: 7rem 0rem 7rem;
	}
}
@media screen and (max-width: 1110px) {
	.lower .c_h1{
		padding: 0px 15px;
	}
	.lower main section{
		padding: 80px 15px;
	}
	.floor .arrow{
		left: -69px;
	}
	.floor .arrow-line{
		width: calc(100% + 30px);
	}
	
	.service_wrap {
		margin-bottom: 158px;
	}
	.service_wrap.s_wrap1,.service_wrap.s_wrap2,.service_wrap.s_wrap3{
		background-size: 100vw auto;
	}
	.service_wrap .s_container{
		padding: 15rem 0px 3.5rem;
	}
	.service_wrap .wrap{
		top: 130px;
		justify-content: center;
		margin-left: 0px;
		margin-right: 0px;
	}
	.right.service_wrap .wrap{
		justify-content: center;
	}
	.right.service_wrap .wrap .text-box{
		margin-right: 0;
	}
	.text-box{
		margin-left: 0px;
		max-width: 550px;
	}
	.anc_link{
		flex-wrap: wrap;
	}
}
@media screen and (max-width: 1024px) {
	.pagelink a::after{
		background: url(../img/common/arrow8.svg);
        background-size: 100%;
	}
}
@media screen and (max-width: 820px) {
	.anc_link a{
		min-width: 150px;
	}
	.gokisonomori_guide #anc02 .link_btn a{
		width: 100%;
	}
	.floor .arrow {
        left: -59px;
    }
	.floor .arrow-line {
        width: calc(100% + 20px);
    }
	.timeline::before{
		bottom: 112px;
	}
	.event .content{
		width: 40%;
	}
	.g_column{
		display: block;
	}
	.g_column .gallery{
		width: 100%;
	}
	.g_column .calendar{
		width: 100%;
	}
	.magazine .magazine_list{
		width: calc(100% / 3 - 36px);
	}
	.lower p.copy{
		text-align: left;
	}
}

/* ✅ モバイル時: 左に画像・右にテキスト + 中央線は維持 */
@media (max-width: 768px) {
	.event {
	  flex-direction: row-reverse !important;
	  align-items: center;
	  margin: 30px 0;
	}
	.center {
		position: relative;
        top: -20px;
        left: -30px;
        transform: none;
        width: 60px;
        min-width: 60px;
        /* margin-left: -30px; */
        text-align: center;
	}
	/* ✅ 中央の縦線を画像中央に移動 */
	.timeline::before {
		top: 92px;
		left: 50px; /* ← 画像の中央に線を合わせる */
		bottom: 122px;
		transform: none;
		display: block;
	}
	.event .content {
		width: calc(100% - 100px);
	}
	.event:nth-child(even) .fukidashi::before{
		right: auto;
		border-top: 10px solid transparent;
		border-right: 15px solid white;
		border-bottom: 10px solid transparent;
		border-left: none;
		position: absolute;
		top: 50%;
		left: -15px;
		transform: translate(0, -50%);
	}
}
@media screen and (max-width: 767px) {
	.lower .container{
		min-height: 228px;
		margin-bottom: 32px;
	}
	.lower h1{
		font-size: 2.2rem;
		margin-bottom: 41px;
	}
	.lower main section{
		padding: 48px 15px;
	}
	.anc_link a{
		min-width: 172px;
	}
	.floor{
		display: block;
	}
	.floor .left{
		max-width: 100%;
		width: 100%;
		margin-bottom: 10px;
	}
	.floor .right{
		max-width: 100%;
	}
	.floor .arrow{
		display: none;
	}
	.floor .tab{
		width: 100%;
		text-align: center;
	}
	.timeline{
		padding: 24px 16px;
	}
	.timeline::before{
		bottom: 142px;
	}
	.center{
		top: -38px;
		left: -7px;
	}
	.magazine{
		gap:24px;
	}
	.magazine .magazine_list{
		width: calc(100% / 2 - 12px);
	}
	.magazine .magazine_list .magazine_txt{
		display: block;
	}
	.magazine .magazine_list img{
		margin-bottom: 5px;
	}
	.magazine .magazine_list .magazine_txt a{
		width: 100%;
		padding: 5px 0px;
		margin-top: 10px;
	}
	.magazine .magazine_list .magazine_txt a p::before{
		width: 21px;
		height: 21px;
		left: 50%;
    	transform: translate(-160%, -50%);
	}
	.popup .popup_cnt{
		width: 70%;
	}
	.popup .popup_cnt.narrow{
		width: 70%;
	}
	.popup .popup_cnt .prev_next .prev{
		transform: translate(-40px, -100%);
	}
	.popup .popup_cnt .prev_next .next{
		transform: translate(40px, -100%) rotate(180deg);
	}
	
	.service_wrap {
        margin-bottom:100px;
    }
	.service_wrap.s_wrap1,.service_wrap.s_wrap2,.service_wrap.s_wrap3{
		background-position:top;
	}
	.service_wrap .s_container{
		padding: 0rem 0px 8rem;
	}
	.text-box{
		padding: 24px;
		max-width: 320px;
	}
	.links{
		display: block;
	}
	.links a{
		width: 100%;
		margin-top: 24px;
	}
	.links a::before{
		background: #49B6D6;
		transform: scaleX(1);
	}
	.links a p::before{
		background: url(../img/common/arrow6.svg);
    	background-size: 100%;
	}
	.btn .links{
		display: flex;
	}
	.btn .links a::before{
		background: #BCBCBC;
		transform: scaleX(1);
	}
	.btn .links a p::before{
		background: url(../img/common/arrow7.svg);
    	background-size: 100%;
	}
}
@media screen and (max-width: 375px) {
	.anc_link a {
        min-width: 164px;
    }
}