@charset "UTF-8";
/* base.css | 共通レイアウト（ヘッダー・ナビ・バナー・フッター） */


/*///////////////////////////////////
Header
///////////////////////////////////*/
#header { position: fixed; top: 0; left: 0; z-index: 103; width: 100%; }
#header .block-main { position: relative; display: flex; align-items: flex-start; justify-content: flex-end; gap: 16px; height: 104px; padding-top: 44px; box-sizing: border-box; }
/* ロゴ・サイトラベル */
#header .header-brand { position: absolute; top: 52px; left: 55px; z-index: 1; display: flex; align-items: center; gap: 22px; transition: opacity 0.35s ease, transform 0.5s ease; }
#header .logo { position: relative; margin: 0; padding: 0; line-height: 0; }
#header .logo a { display: block; }
#header .logo img { display: block; width: 230px; height: auto; }
#header .header-site-label { display: inline-block; padding: 4px 12px; border: 1px solid rgba(255,255,255,0.9); font-family: var(--ff-en); font-size: 14px; font-weight: 500; line-height: 1.1; letter-spacing: 0.07em; white-space: nowrap; color: #fff; }
/* ENTRY */
#header #g-nav { position: relative; z-index: 104; margin: 0; }
#header .header-entry { width: 150px; min-height: 58px; padding: 10px 20px; font-size: 24px; font-weight: 300; letter-spacing: 0.08em; }
/* メニューボタン */
#header #menu-btn { position: relative; z-index: 105; flex-shrink: 0; display: block; width: 98px; height: 58px; padding: 0; border: none; border-radius: 32px 0 0 32px; background: #fff; cursor: pointer; }
#header #menu-btn .line { position: absolute; top: 50%; left: 30px; right: 20px; display: block; height: 2px; border-radius: 1px; background: var(--c-green); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
#header #menu-btn .line:nth-child(1) { transform: translateY(-6px); }
#header #menu-btn .line:nth-child(2) { transform: translateY(6px); }
/* メニュー展開時のボタン */
#header #menu-btn.active .line:nth-child(1) { transform: rotate(30deg); }
#header #menu-btn.active .line:nth-child(2) { transform: rotate(-30deg); }
/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1100px){
    #header .header-brand { left: 30px; gap: 12px; }
    #header .logo img { width: 210px; }
    #header .header-site-label { font-size: 11px; }
}

/* スマートフォン */
@media screen and (max-width: 767px){
	#header { pointer-events: none; }
	#header .header-brand a, #header .header-entry, #header #menu-btn { pointer-events: auto; }
	#header .block-main { height: calc(80px + env(safe-area-inset-top, 0px)); padding-top: calc(15px + env(safe-area-inset-top, 0px)); gap: 6px; }
	#header .header-brand { top: calc(25px + env(safe-area-inset-top, 0px)); left: 18px; }
	#header .logo img { width: 166px; }
	#header .header-site-label { display: none; }
	#header .header-entry { width: 100px; min-height: 48px; padding: 9px 15px; font-size: 16px; }
	#header #menu-btn { width: 64px; height: 46px; border-radius: 24px 0 0 24px; }
	#header #menu-btn .line { left: 18px; right: 13px; }
}
@media screen and (max-width: 359px){
	#header .header-brand { left: 15px; }
	#header .logo img { width: 140px; }
	#header .header-entry { width: 84px; font-size: 15px; }
	#header #menu-btn { width: 58px; }
}
/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce){
    #header #menu-btn .line { transition: none; }
}


/*///////////////////////////////////
Fullscreen Navigation
///////////////////////////////////*/
/* ナビ全体 */
#mobile-nav { position: fixed; inset: 0; z-index: 102; display: flex; align-items: center; justify-content: center; width: 100%; height: 100vh; height: 100dvh; padding: 0; overflow: hidden; box-sizing: border-box; isolation: isolate; background: linear-gradient(120deg, #35b346 0%, #46b853 55%, #21a72c 100%); clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; transition: clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.85s; }
#mobile-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; pointer-events: auto; transition: clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s; }
#mobile-nav::-webkit-scrollbar { display: none; }
/* 背景モヤ */
#mobile-nav::before { content: ""; position: fixed; inset: -25%; z-index: 0; background: radial-gradient(ellipse at 25% 35%, rgba(0,135,75,0.18) 0%, transparent 45%), radial-gradient(ellipse at 75% 70%, rgba(135,230,85,0.2) 0%, transparent 45%); filter: blur(65px); pointer-events: none; animation: nav-haze 18s ease-in-out infinite alternate; }
@keyframes nav-haze {
    0% { transform: translate3d(-5%, -3%, 0) scale(1); }
    50% { transform: translate3d(5%, 4%, 0) scale(1.12); }
    100% { transform: translate3d(-3%, 6%, 0) scale(1.05); }
}

/* メニュー内部 */
#mobile-nav .nav-inner { position: relative; z-index: 1; display: flex; align-items: stretch; gap: 8%; width: calc(100% - 80px); max-width: 880px; min-height: 345px; margin: auto; opacity: 0; transform: translate3d(-3vw, 15px, 0); transition: opacity 0.45s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
#mobile-nav.is-open .nav-inner { opacity: 1; transform: translate3d(-3vw, -30px, 0); transition-delay: 0.2s; }
/* 左側ビジュアル */
#mobile-nav .nav-visual { display: flex; flex: 0 0 42.8%; align-items: center; justify-content: center; min-width: 0; border-top: 1px solid rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.85); }
#mobile-nav .nav-label { display: block; width: 100%; max-width: 343px; height: auto; margin: 0 auto; }
/* 右側ナビ */
#mobile-nav .nav-menu { flex: 1 1 0; min-width: 0; }
#mobile-nav .nav-menu a { display: inline-block; font-size: 20px; font-weight: 500; line-height: 2.1; letter-spacing: 0.06em; white-space: nowrap; text-decoration: none; color: #fff; transition: opacity 0.3s ease; }
/* 上段 */
#mobile-nav .nav-primary { display: grid; grid-template-columns: 50px minmax(0, 1fr) 120px; column-gap: 40px; padding: 0 24px 26px; border-bottom: 1px solid rgba(255,255,255,0.85); }
#mobile-nav .nav-primary-col { margin: 0; padding: 0; list-style: none; }
#mobile-nav .nav-primary-col li { margin: 0; padding: 0; }
/* 中段 */
#mobile-nav .nav-secondary { display: flex; align-items: center; gap: 26px; padding: 32px 0 34px 70px; border-bottom: 1px solid rgba(255,255,255,0.85); }
/* 下段・コーポレート */
#mobile-nav .nav-corporate { margin: 33px 0 0; padding: 0 0 0 70px; border: none; }
#mobile-nav .nav-corporate a { display: inline-flex; align-items: center; gap: 8px; }
/* 外部リンクアイコン */
#mobile-nav .external-icon { position: relative; display: inline-block; flex-shrink: 0; width: 25px; height: 19px; margin-left: 3px; }
#mobile-nav .external-icon::before,
#mobile-nav .external-icon::after { content: ""; position: absolute; width: 21px; height: 15px; box-sizing: border-box; border: 1px solid currentColor; }
#mobile-nav .external-icon::before { top: 0; right: 0; z-index: 2; }
#mobile-nav .external-icon::after { bottom: 0; left: 0; z-index: 1; clip-path: polygon(0 0, 4px 0, 4px 10px, 100% 10px, 100% 100%, 0 100%); }
/* メニュー展開時のヘッダー */
body.is-open #header .header-brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }
body.is-open #header .header-entry { background: #fff; color: var(--c-green); }
/* メニュー展開時のページスクロールはJSで制御（html/bodyのoverflowは変更しない） */
/* ホバー */
@media (hover: hover){
    #mobile-nav .nav-menu a:hover { opacity: 0.55; }
}
/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1100px){
	#mobile-nav .nav-inner { width: calc(100% - 70px); gap: 5%; transform: translate3d(0, 15px, 0); }
	#mobile-nav.is-open .nav-inner { transform: translate3d(0, -20px, 0); }
	#mobile-nav .nav-visual { flex-basis: 38%; }
	#mobile-nav .nav-primary { grid-template-columns: 42px minmax(0, 1fr) 105px; column-gap: 18px; padding-left: 8px; padding-right: 0; }
	#mobile-nav .nav-secondary { gap: 15px; padding-left: 30px; }
	#mobile-nav .nav-corporate { padding-left: 30px; }
}
/* スマートフォン */
@media screen and (max-width: 767px){
	#mobile-nav { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: calc(95px + env(safe-area-inset-top, 0px)) 0 calc(35px + env(safe-area-inset-bottom, 0px)); overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	#mobile-nav .nav-inner { display: block; flex: 0 0 auto; width: calc(100% - 48px); max-width: 480px; height: auto; min-height: 0; margin: auto; padding: 0; box-sizing: border-box; transform: translate3d(0, 25px, 0); }
	#mobile-nav.is-open .nav-inner { transform: translate3d(0, 0, 0); }
	#mobile-nav .nav-visual { display: flex; justify-content: flex-start; min-height: 0; margin-bottom: 30px; padding: 0 0 30px; border-top: none; }
	#mobile-nav .nav-label { display: block; width: 75%; max-width: 280px; height: auto; margin: 0; }
	#mobile-nav .nav-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 15px; padding: 0 0 25px; }
	#mobile-nav .nav-primary-col:first-child { grid-column: 1 / -1; }
	#mobile-nav .nav-menu a { font-size: clamp(16px, 3.5vw, 18px); line-height: 2; letter-spacing: 0.02em; }
	#mobile-nav .nav-secondary { justify-content: flex-start; flex-wrap: wrap; gap: 4px 25px; padding: 20px 0; }
	#mobile-nav .nav-corporate { margin-top: 20px; padding-left: 0; }
	#mobile-nav .nav-corporate a { white-space: normal; }
	#mobile-nav .external-icon { transform: scale(0.8); transform-origin: left center; }
}
/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce){
    #mobile-nav, #mobile-nav .nav-inner, #mobile-nav .nav-menu a { transition: none; }
    #mobile-nav::before { animation: none; }
}


/*///////////////////////////////////
Loading
///////////////////////////////////*/
#loading { position: fixed; inset: 0; background: var(--c-green); display: flex; align-items: center; justify-content: center; z-index: 9999; width: 100vw; height: 100vh; height: 100svh; }
.spinner { width: 40px; height: 40px; position: relative; }
.double-bounce-1,
.double-bounce-2 { width: 100%; height: 100%; border-radius: 50%; background-color: #fff; opacity: 0.6; position: absolute; top: 0; left: 0; animation: sk-bounce 2.0s infinite ease-in-out; }
.double-bounce-2 { animation-delay: -1.0s; }
@keyframes sk-bounce {
	0%, 100% { transform: scale(0.0); }
	50% { transform: scale(1.0); }
}

/* 読み込み完了後：緑のローディングからMVへ透過 */
#loading.is-leaving { opacity: 0; transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1); }
#loading.is-leaving .spinner { opacity: 0; transform: scale(0.8); transition: opacity 0.25s ease, transform 0.4s ease; }
@media (prefers-reduced-motion: reduce){
	#loading.is-leaving, #loading.is-leaving .spinner { transition: none; }
}


/*///////////////////////////////////
Main
///////////////////////////////////*/
#main { margin-top: 0; }


/*///////////////////////////////////
Sec-banners
///////////////////////////////////*/
/* セクション */
#sec-banners { position: relative; z-index: 5; padding: 90px 5%; background: #fff; }
#sec-banners .banner-inner { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; width: 100%; max-width: 1400px; margin: 0 auto; }
/* バナー */
#sec-banners .banner-item { position: relative; display: block; aspect-ratio: 432 / 220; overflow: hidden; border-radius: 12px; background: #dce4db; text-decoration: none; }
#sec-banners .banner-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
#sec-banners .banner-item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,0.13); transition: background 0.5s ease; pointer-events: none; }
/* バナー文字 */
#sec-banners .banner-title { position: absolute; top: 50%; left: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 90%; transform: translate(-50%, -50%); text-align: center; color: #fff; }
#sec-banners .banner-title .en { display: block; font-family: var(--ff-en); font-size: clamp(20px, 2vw, 28px); font-weight: 300; line-height: 1.2; letter-spacing: 0.02em; }
#sec-banners .banner-title .ja { display: block; font-size: clamp(16px, 1.3vw, 28px); font-weight: 500; line-height: 1.5; letter-spacing: 0.05em; }
/* 矢印 */
.banner-arrow { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-green); transition: background 0.4s ease, transform 0.4s ease; }
.banner-arrow::after { content: ""; display: block; width: 0; height: 0; margin-left: 3px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 7px solid #fff; }
/* ホバー */
@media (hover: hover){
	#sec-banners .banner-item:hover img { transform: scale(1.045); }
	#sec-banners .banner-item:hover::after { background: rgba(0,0,0,0.23); }
	#sec-banners .banner-item:hover .banner-arrow,
	#sec-career .career-link:hover .banner-arrow { transform: translateX(3px); }
}
/* レスポンシブ */
@media screen and (max-width: 767px){
	#sec-banners { padding: 60px 6%; }
	#sec-banners .banner-inner { grid-template-columns: 1fr; gap: 15px; }
	#sec-banners .banner-item { aspect-ratio: 432 / 240; border-radius: 10px; }
	#sec-banners .banner-title .en { font-size: 22px; }
	#sec-banners .banner-title .ja { font-size: 16px; }
	.banner-arrow { right: 10px; bottom: 10px; width: 30px; height: 30px; }
}
/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce){
	#sec-banners .banner-item img,
	#sec-banners .banner-item::after,
	.banner-arrow { transition: none; }
}

/*///////////////////////////////////
Sec-career
///////////////////////////////////*/
#sec-career { position: relative; z-index: 5; }
#sec-career .career-inner { width: 88%; max-width: 1280px; margin: 0 auto; padding: clamp(45px, calc(45px + 35 * var(--fluid-mt)), 80px) 6%; background: var(--c-bg); }
#sec-career .title-item { margin-bottom: clamp(30px, calc(30px + 20 * var(--fluid-mt)), 50px); text-align: center; }
#sec-career .career-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 950px; margin: 0 auto; }
#sec-career .career-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 180px; padding: 50px 15px; overflow: hidden; border-radius: 12px; background: #fff; color: var(--c-base); text-align: center; }
#sec-career .career-link .sub { font-size: clamp(14px, calc(14px + 6 * var(--fluid-mt)), 20px); font-weight: 400; line-height: 1.5; }
#sec-career .career-link .ja { font-size: clamp(20px, calc(20px + 8 * var(--fluid-mt)), 28px); font-weight: 500; line-height: 1.5; letter-spacing: 0.05em; }
/* ホバー */
@media (hover: hover){
	#sec-career .career-link:hover { color: #fff; background: var(--c-green); }
}

#sec-career .career-link:focus-visible { outline: 2px solid var(--c-green); outline-offset: 4px; }

/* レスポンシブ */
@media screen and (max-width: 767px){
    #sec-career .career-links { grid-template-columns: 1fr; gap: 15px; }
    #sec-career .career-link { min-height: 130px; padding: 40px 15px 50px; border-radius: 10px; }
}
/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce){
    #sec-career .career-link { transition: none; }
    #sec-career .career-link:hover .banner-arrow { transform: none; }
}



/*///////////////////////////////////
Footer
///////////////////////////////////*/

/* フッター全体 */
#footer { position: relative; display: flex; width: 100%; min-height: 530px; padding: 115px 4.5% 45px; box-sizing: border-box; background: var(--c-green); color: #fff; }
#footer .footer-inner { display: flex; flex: 1; flex-direction: column; justify-content: space-between; width: 100%; min-width: 0; margin: 0 auto; }

/* メインコンテンツ */
#footer .footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; width: 100%; padding: 0 10px; box-sizing: border-box; }
#footer .footer-info { flex: 0 1 auto; min-width: 0; }

/* ロゴ */
#footer .footer-brand { display: flex; align-items: center; gap: 24px; }
#footer .footer-logo { display: block; flex-shrink: 0; width: 250px; }
#footer .footer-logo img { display: block; width: 100%; height: auto; }
#footer .footer-site-label { display: inline-block; padding: 3px 9px; border: 1px solid #fff; font-family: var(--ff-en); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: 0.07em; white-space: nowrap; }

/* フッターナビ */
#footer .footer-nav { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; width: max-content; margin-left: auto; }
#footer .footer-nav-links { display: flex; align-items: flex-start; gap: 40px; }
#footer .footer-nav-col { flex: 0 0 auto; margin: 0; padding: 0; list-style: none; }
#footer .footer-nav-col li { margin: 0; padding: 0; }
#footer .footer-nav-col a { display: inline-block; font-weight: 500; line-height: 2; letter-spacing: 0.06em; white-space: nowrap; color: #fff; text-decoration: none; transition: opacity 0.3s ease; }

/* コーポレートサイト */
#footer .footer-corporate { margin: 20px 0 0; padding: 0; }
#footer .footer-corporate a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em; white-space: nowrap; color: #fff; text-decoration: none; transition: opacity 0.3s ease; }

/* 外部リンクアイコン */
#footer .external-icon { position: relative; display: inline-block; flex-shrink: 0; width: 25px; height: 19px; margin-left: 3px; color: #fff; }
#footer .external-icon::before,
#footer .external-icon::after { content: ""; position: absolute; width: 21px; height: 15px; box-sizing: border-box; border: 1px solid currentColor; }
#footer .external-icon::before { top: 0; right: 0; z-index: 2; background: var(--c-green); }
#footer .external-icon::after { bottom: 0; left: 0; z-index: 1; background: transparent; }

/* 最下部 */
#footer .footer-bottom { width: 100%; margin-top: auto; padding-top: 47px; border-top: 1px solid rgba(255,255,255,0.85); text-align: center; }
#footer .footer-copyright { display: block; font-family: var(--ff-en); font-size: 14px; font-weight: 400; line-height: 1.6; letter-spacing: 0.07em; color: #fff; }
#footer .footer-copyright span { display: inline; }

/* ホバー */
@media (hover: hover){
	#footer .footer-nav a:hover { opacity: 0.6; }
}

/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1100px){
	#footer { padding: 115px 40px 45px; }
	#footer .footer-main { gap: 30px; padding: 0; }
	#footer .footer-brand { gap: 10px; }
	#footer .footer-logo { width: 240px; }
	#footer .footer-site-label { font-size: 12px; }
	#footer .footer-nav-links { gap: 30px; }
}

/* スマートフォン */
@media screen and (max-width: 767px){
	#footer { display: block; min-height: 0; padding: 105px 30px 36px; }
	#footer .footer-inner { display: block; }
	#footer .footer-main { flex-direction: column; align-items: flex-start; gap: 60px; padding: 0; }
	#footer .footer-info { flex: none; width: 100%; }
	#footer .footer-brand { flex-direction: column; align-items: flex-start; gap: 16px; }
	#footer .footer-logo { width: 220px; }
	#footer .footer-site-label { margin-left: 36px; font-size: 12px; }
	#footer .footer-nav { flex: none; align-items: flex-start; width: 100%; margin-left: 0; }
	#footer .footer-nav-links { display: grid; grid-template-columns: 48% 52%; gap: 0; width: 100%; }
	#footer .footer-nav-col { min-width: 0; }
	#footer .footer-nav-col a { letter-spacing: 0.04em; }
	#footer .footer-corporate { margin-top: 22px; }
	#footer .footer-bottom { margin-top: 70px; padding-top: 28px; }
	#footer .footer-copyright { font-size: 13px; line-height: 1.85; letter-spacing: 0.06em; }
	#footer .footer-copyright span { display: block; }
}

/* 小さいスマートフォン */
@media screen and (max-width: 359px){
	#footer { padding-right: 20px; padding-left: 20px; }
}

/* ///////////////////////////////////
   下層ページ共通MV（Aboutと同じ緑モヤ背景）
/////////////////////////////////// */
.lower-mv { --lower-mv-bottom: clamp(140px, calc(140px + 120 * var(--fluid-sw)), 260px); position: relative; isolation: isolate; color: #fff; }
.lower-mv .lower-mv-inner { position: relative; z-index: 1; padding: clamp(160px, calc(160px + 140 * var(--fluid-sw)), 300px) 6% var(--lower-mv-bottom); box-sizing: border-box; }
.lower-mv .lower-mv-titles { display: flex; flex-direction: row-reverse; justify-content: center; align-items: flex-start; gap: clamp(35px, calc(35px + 45 * var(--fluid-mt)), 80px); }
.lower-mv .lower-mv-heading>span { padding: 8px 11px; font-size: clamp(30px, calc(30px + 20 * var(--fluid-mt)), 50px); font-weight: 600; line-height: 1; letter-spacing: 0.08em; font-feature-settings: "vpal" 1; }
.lower-mv .lower-mv-heading .mincho { font-size: clamp(27px, calc(28px + 20 * var(--fluid-mt)), 48px); }
.lower-mv .lower-mv-copy>span { padding: 8px 10px; background: #1ab524; font-size: clamp(19px, calc(19px + 13 * var(--fluid-mt)), 32px); font-weight: 600; line-height: 1; letter-spacing: 0.08em; color: #fff; }
.lower-mv .lower-mv-copy .mincho { font-weight: 500; font-size: clamp(18px, calc(18px + 12 * var(--fluid-mt)), 30px); }
@media screen and (max-width: 767px){
    .lower-mv .lower-mv-heading>span { padding: 8px 8px; }
    .lower-mv .lower-mv-copy>span { padding: 8px 7px; }
}

/*///////////////////////////////////
Breadcrumb
///////////////////////////////////*/
#sec-breadcrumb.-back { background-color: var(--c-bg); }
#sec-breadcrumb .breadcrumb { display: flex; justify-content: center; align-items: center; gap: 1em; padding: 10px 0; font-size: clamp(12px, calc(12px + 2 * var(--fluid-sw)), 14px); }
#sec-breadcrumb .breadcrumb a { color: inherit; text-decoration: none; }
#sec-breadcrumb .breadcrumb a:hover { opacity: 0.6; }
