@charset "UTF-8";

/* CSS Document */
:root {
	--red: #fb3722;
	--black: #17162f;
	--white: #ffffff;
	--gray_light: #f5f5f5;
	--wave_color: #0057aa;
}
/* ===============================================================
   header
=============================================================== */
#top #header h1 a{background: unset;}

/* ===============================================================
   MV
=============================================================== */
#mv {
	width: 100%;
	height: 100vh;
	position: fixed;
	inset: 0 0 auto;
	margin: auto;
	display: flex;
	flex-direction: row;
}

/* 左側 */
.mv_left {
	width: 55%;
	height: 100%;
	position: relative;
}

.mv_left_slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 2.5s ease;
}

.mv_left_slide.active {
	opacity: 1;
}

.mv_left_slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* 右側 */
.mv_right {
	width: 45%;
	height: 100%;
	position: relative;
	background: var(--white);
	overflow: hidden;
	flex-shrink: 0;
	text-align: center;
}

.mv_right_inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	padding: 200px 0 600px;
}

.mv_catch {
	margin: 0 auto 100px;
	width: 80%;
	max-width: fit-content;
}

.mv_right_slideshow_wrap {
	width: 90%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	padding-bottom: 100px;
}

.mv_right_slideshow {
	position: relative;
	width: 378px;
	height: 411px;
	flex-shrink: 0;
}

.mv_right_slides {
	width: 100%;
	height: 100%;
	position: relative;
}

.mv_right_slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 2.5s ease;
	clip-path: url(#mask_shape);
}

.mv_right_slide.active {
	opacity: 1;
}

.mv_right_slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mv_svg_defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.mv_body_message {
	max-width: 400px;
	width: 90%;
	margin: 0 auto;
	letter-spacing: 0.05em;
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mv_body_message.visible {
	opacity: 1;
	transform: translateY(0);
}

.mv_body_message div {
	font-size: 40px;
	color: var(--wave_color);
	font-weight: bold;
	text-align: left;
	margin-bottom: .5em;
}

.mv_body_message div span {
	color: var(--red);
}

.mv_body_message p {
	font-weight: 500;
	text-align: justify;
	line-height: 2.5;
	color: var(--black);
}

/* ===============================================================
   WAVE SECTION
   position:fixed; bottom:0; z-index:2 で画面下端に固定。
   高さは波の分だけ(180px)。next_sectionは含まない。
   Phase1: 静止 → 波が画面下10〜20%に見える
   Phase2: JSがtranslateYで上昇
=============================================================== */
#wave_section {
	position: fixed;
	inset: 80vh 0 auto;
	z-index: 80;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

/* 青い波（上辺が波打つ） */
#wave_section svg.wave_top {
	position: absolute;
	inset: 0 auto auto;
	margin: auto;
	width: 100%;
	height: 200px;
	display: block;
}

/* 背景色の波（少し下にずらして青の下辺を波打たせる）*/
#wave_section svg.wave_btm {
	position: absolute;
	top: 200px;
	width: 100%;
	height: 150px;
	display: block;
	transform: scale(1, -1);
}
/* ===============================================================
   RESPONSIVE — タブレット（850px〜1024px）
=============================================================== */
@media (max-width: 1024px) {
	#mv {flex-direction: column;}
	.mv_left {
		width: 100%;
		height: 55%;
		flex-shrink: 0;
	}
	.mv_left_slide img {object-position: center 30%;}
	.mv_right {
		width: 100%;
		height: 45%;
		margin: 0 auto;
		flex-shrink: 0;
	}
	.mv_right_inner {padding: 60px 0 300px;}
	.mv_body_message {max-width: 500px;}
	.mv_body_message p br.tablet {display: none;}
	#wave_section {top: 85vh}
}
/* ===============================================================
   RESPONSIVE — スマートフォン（〜850px）
=============================================================== */
@media (max-width: 850px) {
	.mv_body_message {
		width: 85%;
		letter-spacing: 0;
	}
	.mv_body_message div {font-size: 35px;}
	#wave_section svg.wave_top{height: 120px;}
	#wave_section svg.wave_btm{top: 120px;height: 120px;}
}
/* ===============================================================
   RESPONSIVE — 小さいスマートフォン（〜480px）
=============================================================== */
@media (max-width: 480px) {
}

/* ===============================================================
   NEXT SECTION
   通常フロー。スペーサー後にスクロールで登場。
   z-index:2 で波と同じ層に置き、JSで波と同じ速度でtranslateYする。
=============================================================== */
.gradation_bg {
	padding: 250px 0 400px;
	background: radial-gradient(at 50% 60%, rgba(251, 55, 34, 0.3) 0px, transparent 50%),
		radial-gradient(at 60% 60%, rgba(255, 140, 107, 0.4) 0px, transparent 50%),
		radial-gradient(at 50% 40%, rgba(255, 255, 255, 0.3) 0px, transparent 50%),
		radial-gradient(at 85% 85%, rgba(251, 146, 60, 0.35) 0px, transparent 50%),
		radial-gradient(at 25% 30%, rgba(96, 165, 250, 0.15) 0px, transparent 45%),
		linear-gradient(180deg, #fef3f2 0%, #ffffff 100%);
}
.bg_blue {
	margin-top: -200px;
	padding: 50px 0 100px;
	background-color: var(--wave_color);
	position: relative;
}
/* 青い波（上辺が波打つ） */
#wave_section .bg_blue svg.wave_top {inset: -120px auto auto;}
#next_section {
	z-index: 2;
	width: 100%;
	margin-top: 20vh;
}
@media (max-width: 1024px) {
	.gradation_bg {padding: 180px 0 330px;}
	#next_section {margin-top: 15vh;}
}
@media (max-width: 500px) {
	.bg_blue {padding:0 0 50px ;}
}
/* ===============================================================

	社長メッセージ

=============================================================== */
#message_ceo {
	position: relative;
	max-width: 1460px;
	margin: 0 auto 150px;
}
#message_ceo .message_ceo_inner {
	max-width: 1000px;
	width: 90%;
	margin: 0 auto;
}
#message_ceo .message_ceo_inner .h3 {
	position: relative;
	z-index: 2;
}
#message_ceo .message_ceo_inner .seo_img {
	margin: -30px 0 0 auto;
	display: block;
}
#message_ceo .message_ceo_inner .text_box p {
	color: var(--white);
	background-color: var(--wave_color);
	padding: 35px 42px;
	line-height: 2;
	display: inline-block;
	margin: -50px 0 15px;
}
#message_ceo .position {
	position: absolute;
	margin: 240px auto auto;
}
#message_ceo .position:first-child {
	inset: 0 auto 0 40px;
	width: 36%;
	max-width: 515px;
}
#message_ceo .position:nth-child(2) {
	inset: 0 -40px 0 auto;
	width: 16%;
	max-width: 240px;
}
@media (max-width: 1440px) {
	#message_ceo .position:first-child {left: 0;}
	#message_ceo .position:nth-child(2) {right: -8%;}
}
@media (max-width: 1200px) {
	#message_ceo .position:nth-child(2) {display: none;}
	#message_ceo .position:first-child {left: 0;/* 基本は左端 */
		transform: translateX(min(0px, calc((100vw - 1200px) / 3)));
	}
}
@media (max-width: 940px) {
	#message_ceo {margin: 0 auto 80px;}
	#message_ceo .position:first-child {display: none;}
}
@media (max-width: 600px) {
	#message_ceo {margin: 0 auto 50px;}
	#message_ceo .message_ceo_inner .seo_img{margin-top: 20px;}
	#message_ceo .message_ceo_inner .text_box p {
		padding: 20px 25px;
        width: 94%;
        margin-top: -30px;
        line-height: 1.8;
	}
}

/* ===============================================================

事業内容

=============================================================== */
#business_main {
	display: flex;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	position: relative;
	align-items: stretch;
}
/* ===== LEFT BOX: 60% ===== */
#business_main .left_box {
	width: 60%;
	flex-shrink: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	justify-items: start;
	gap: 0;
	overflow: hidden;
}
#business_main .left_box .img-cell {
	position: relative;
	overflow: hidden;
	/* 432:360 = 6:5 ratio */
	aspect-ratio: 432 / 360;
	cursor: pointer;
}
#business_main .left_box .img-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transform-origin: center center;
}
#business_main .left_box .img-cell.is-hovered img {
	transform: scale(1.08);
}

/* Overlay label for placeholder */
#business_main .left_box .img-cell .placeholder-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.2);
	font-size: clamp(11px, 1vw, 14px);
	letter-spacing: 0.1em;
	pointer-events: none;
	font-family: 'Courier New', monospace;
}

/* ===== RIGHT BOX: 40% ===== */
#business_main .right_box {
	width: 40%;
	flex-shrink: 0;
	margin-left: -2.5%;
	position: relative;
	z-index: 10;
	padding-top: 60px;
}
/* ===== TEXT BOX ===== */
#business_main .text_box {
	background-color: var(--wave_color);
	padding: 50px 48px 54px 48px;
}
/* ===== LINK LIST ===== */
#business_main .link_list {
	display: flex;
	flex-direction: column;
	margin-top: 10px;
}
#business_main .link_list li {position: relative;}

/* L-shape icon for 2nd and 3rd items */
#business_main .link_list li:nth-child(2),
#business_main .link_list li:nth-child(3) {padding-left: 5%;}
#business_main .link_list li:nth-child(2)::before,
#business_main .link_list li:nth-child(3)::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	/* L shape: vertical bar + horizontal bar */
	width: 10px;
	height: 16px;
	border-left: 2px solid rgba(255, 255, 255, 0.45);
	border-bottom: 2px solid rgba(255, 255, 255, 0.45);
}
#business_main .link_list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	border-bottom: 1px solid var(--white);
	color: var(--white);
	text-decoration: none;
	line-height: 1.6;
	transition: color 0.3s ease;
	gap: 15px;
}
#business_main .link_list li a:hover {
	color: var(--red);
	border-color: var(--red);
}

#business_main .link_list li a b {
	font-weight: 700;
	display: block;
	font-size: 25px;
	letter-spacing: 0.05em;
}
#business_main .link_list li a .link-text {flex: 1;}
/* Minus/Plus icon */
#business_main .link_list li a .icon-toggle {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Horizontal bar (always shown) */
#business_main .link_list li a .icon-toggle::before {
	content: '';
	position: absolute;
	width: 14px;
	height: 1px;
	background: currentColor;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Vertical bar (hidden by default, shown on hover) */
#business_main .link_list li a .icon-toggle::after {
	content: '';
	position: absolute;
	width: 1px;
	height: 14px;
	background: currentColor;
	transition: transform 0.3s ease, opacity 0.3s ease;
	opacity: 0;
	transform: scaleY(0);
}
#business_main .link_list li a:hover .icon-toggle::after {
	opacity: 1;
	transform: scaleY(1);
}
#business_main .btn{margin: 20px 0 0 auto;}
/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
	#business_main {flex-direction: column-reverse;}
	#business_main .left_box {width: 100%;}
	#business_main .right_box {
		width: 90%;
		margin: 0 auto -20px;
		padding-top: 0;
	}
	#business_main .text_box {padding: 35px 30px;}
	#business_main .link_list li a{padding: 10px;}
	#business_main .link_list li a b {font-size: 18px;}
	#business_main .right_box .btn{display:none;}
}
/* ===============================================================

	インタビュー

=============================================================== */
#interview {
	padding-bottom: 80px;
	overflow: hidden;
}
@media (max-width: 1024px) {
	#interview {padding-bottom: 20px;}
}
.interview_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px 5%;
	max-width: 1040px;
	margin: 0 auto;
	width: 90%;
}
@media (max-width: 500px) {

}
.toppage_title {
	display: flex;
	flex-direction: column;
}
.toppage_title span {
	font-family: Century Gothic;
	font-style: italic;
	font-size: 20px;
	color: var(--red);
	font-weight: bold;
}
.toppage_title {
	font-size: 32px;
	font-weight: bold;
	color: var(--white)
}
/* ====================
   Dot Navigation
===================== */
.interview_slider_dot {
	display: flex;
	align-items: center;
	gap: 20px;
}
.slider-arrow {
	width: 36px;
	height: 36px;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
	flex-shrink: 0;
	color: #fff;
}
.slider-arrow svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.dots-wrapper {
	display: flex;
	align-items: center;
	gap: 20px;
}
.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--white);
	cursor: pointer;
	transition: background 0.3s, transform 0.3s;
}
.dot.active {
	background: var(--red);
	transform: scale(1.3);
}
/* =====================
       Slider Track
    ===================== */
.interview_slider_wrap {
	position: relative;
	overflow: hidden;
	/* 両端の見切れ表現のため padding で余白を作り overflow: hidden で切る */
	padding: 100px 0;
}
.interview_slider {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
	/* アクティブを左から2番目に表示するため、初期位置はJS側で設定 */
	align-items: flex-start;
	/* デコボコのためflexはstartに */
}
/* =====================
       各カード
    ===================== */
.interview_slider a {
	flex-shrink: 0;
	display: block;
	position: relative;
	color: inherit;
	transform: scale(0.8);
	transform-origin: center top;
	transition: transform 0.5s ease, opacity 0.5s ease;
	opacity: 0.6;
	margin-left: -.6%;
}
/* 奇数番目(1,3番目)を80px下げる */
.interview_slider a:nth-child(odd) {margin-top: 80px;}
.interview_slider a:nth-child(even) {margin-top: 0;}
/* アクティブカード */
.interview_slider a.active {
	transform: scale(1);
	opacity: 1;
	margin-left: 20px;
	margin-right: calc(20px + var(--card-gap));
}
/* カード内画像 */
.interview_slider a img {
	display: block;
	width: 100%;
}
/* タイトル画像（position absolute などで重ねる用） */
.interview_slider a .title_img {
	position: absolute;
	top: -50px;
	left: 15%;
	max-width: 86px;
	width: 27%;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.interview_slider a.active .title_img {opacity: 1;}
/* text_box */
.interview_slider .text_box {
	position: absolute;
	padding: 16px 20px;
	background: #fff;
	transition: background 0.4s, color 0.4s;
	bottom: -45px;
	right: 0;
}
.interview_slider .text_box p:first-child {
	font-size: 14px;
	color: var(--black);
	margin-bottom: 1em;
}
.interview_slider .text_box p:first-child b {
	font-weight: 700;
	display: block;
	font-size: 20px;
}
.interview_slider .text_box p:last-child {
	font-size: 12px;
	color: var(--wave_color);
}
/* アクティブ時のtext_box */
.interview_slider a.active .text_box {
	background: var(--red);
}
.interview_slider a.active .text_box p:first-child {
	font-size: 16px;
	color: var(--white);
}
.interview_slider a.active .text_box p:first-child b {
	font-size: 24px;
	color: var(--white);
}
.interview_slider a.active .text_box p:last-child {
	font-size: 14px;
	color: var(--white);
}
/* =====================
       カード幅計算（レスポンシブ）
       1440px: 4枚並び、両端5%見切れ
       1550px以上: 4枚全表示
    ===================== */

:root {
	--card-gap: 0.5%;
	--card-width: 320px;
}

.interview_slider a {
	width: var(--card-width);
	margin-right: var(--card-gap);
}

/* 1550px以上: 4枚フル表示 */
@media (min-width: 1550px) {
	:root {
		--card-width: calc(4 - var(--card-gap));
	}

	.interview_slider_wrap {
		max-width: 1550px;
		margin: 0 auto;
	}
}

/* 1440px: 4枚並び+両端5%見切れ */
@media (min-width: 1024px) and (max-width: 1549px) {
	:root {
		--card-width: calc(3.5 - var(--card-gap));
	}
}

/* タブレット: 3枚見え（両端少し見切れ）、デコボコ縮小、active中央 */
@media (min-width: 768px) and (max-width: 1023px) {
	:root {
		--card-width: calc(100vw / 2.8 - var(--card-gap));
	}

	.interview_slider a:nth-child(odd) {
		margin-top: 40px;
	}
}

/* スマホ: 1枚＋両端少し見切れ、デコボコなし、active中央 */
@media (max-width: 767px) {
	:root {--card-width: calc(100vw * 0.78);}
	.interview_slider a:nth-child(odd) {margin-top: 0;}
	.interview_inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.toppage_title {font-size: 20px;}
}