@charset "UTF-8";
/* common.css | 共通設定・共通パーツ */

:root {
    /* Breakpoints */
    --bp-s: 500px;
    --bp-m: 767px;
    --bp-t: 1100px;
    --bp-d: 1380px;
    --bp-w: 1600px;

    /* 既存の可変幅（page.css内で参照あり） */
    --fluid: calc((100vw - var(--bp-s)) / (var(--bp-t) - var(--bp-s)));
    --fluid-wide: calc((100vw - var(--bp-s)) / (var(--bp-d) - var(--bp-s)));
    --fluid-td: calc((100vw - var(--bp-t)) / (var(--bp-d) - var(--bp-t)));

    /* デザイン用可変幅（現行の計算式を維持） */
    --fluid-mt: calc((100vw - var(--bp-m)) / 333); /* 767px → 1100px */
    --fluid-st: calc((100vw - var(--bp-s)) / 600); /* 500px → 1100px */
    --fluid-mw: calc((100vw - var(--bp-m)) / 833); /* 767px → 1600px */
    --fluid-sw: calc((100vw - var(--bp-s)) / 1100); /* 500px → 1600px */

    /* Current recruitment-site palette — distinct greens retained where designed */
    --c-green: #16a220;
    --c-bg: #f2f5f0;
    --c-bg-light: #e8f5e7;
    --c-base: #211714;
    --c-white: #fff;

    /* page.cssの旧ブログ用ルールが参照中：page.css整理時に一緒に確認 */
    --fs-xs-max: 14px;
    --fs-xs-min: 11px;
    --fs-lg-max: 20px;
    --fs-lg-min: 15px;
    --fs-xs: clamp(var(--fs-xs-min), calc(var(--fs-xs-min) + (var(--fs-xs-max) - var(--fs-xs-min)) * var(--fluid)), var(--fs-xs-max));
    --fs-lg: clamp(var(--fs-lg-min), calc(var(--fs-lg-min) + (var(--fs-lg-max) - var(--fs-lg-min)) * var(--fluid-wide)), var(--fs-lg-max));

    /* Sitewide font-size scale: --type-base is the default body size */
    --type-xs: 12px;
    --type-s: 14px;
    --type-base: 15px;
    --type-l: 18px;
    --type-xl: 22px;
    --type-xxl: 28px;

    /* 役割別の共通サイズ：TOP・Aboutの同じあしらいを統一 */
    --type-intro-copy: clamp(18px, 1.8vw, 24px);
    --type-en-label: 21px;
    --type-item-heading: clamp(24px, 2.2vw, 32px);
    --type-lead-copy: 20px;

    /* Typography */
    --lh: 2.0;
    --lh-xs: 1.65;
    --ls: 0.11em;
    --ls-xss: 0.02em;
    --ff-base: "Noto Sans JP",'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    --ff-serif: "Noto Serif JP","ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ＭＳ Ｐ明朝","MS PMincho",serif;
	--ff-yakuhan: YakuHanJP, "Noto Sans JP",'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	--ff-yakuhan-serif: YakuHanMP, "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", YuMincho, serif;
    --ff-en: "Outfit", sans-serif;
}


/* Typography scale — tablet / PC / wide */
@media screen and (min-width: 768px){
    :root { --type-xs: 12px; --type-s: 14px; --type-base: 16px; --type-l: 20px; --type-xl: 24px; --type-xxl: 32px; }
}
@media screen and (min-width: 1101px){
    :root { --type-xs: 13px; --type-s: 15px; --type-base: 17px; --type-l: 22px; --type-xl: 28px; --type-xxl: 36px; }
}
@media screen and (min-width: 1600px){
    :root { --type-xl: 30px; --type-xxl: 40px; }
}

/* 役割別サイズ：スマートフォン */
@media screen and (max-width: 767px){
    :root { --type-intro-copy: clamp(16px, 3.7vw, 18px); --type-en-label: var(--type-s); --type-item-heading: clamp(21px, 5.6vw, 24px); --type-lead-copy: var(--type-base); }
}


/* ///////////////////////////////////
   Base / layout currently in use
/////////////////////////////////// */
body { font-family: var(--ff-base); font-size: var(--type-base); color: var(--c-base); line-height: var(--lh); letter-spacing: var(--ls); text-align: justify; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; animation: fadeIn 1.5s ease 0s 1 normal; }
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.section { width: 100%; }
.incnt { max-width: 960px; width: 88%; margin-inline: auto; position: relative; }
.incnt.-min { max-width: 880px; }

/* Typography: used in TOP / About */
.mincho { font-family: var(--ff-serif); }
.yakuhan { font-family: var(--ff-yakuhan); font-style: normal;}
.yakuhan.mincho { font-family: var(--ff-yakuhan-serif); font-style: normal;}

/* 英語ラベル：文字のあしらいを共通管理。向き・罫線・余白は配置側で指定 */
.label-en { font-family: var(--ff-en); font-size: var(--type-en-label); font-weight: 300; letter-spacing: 0.05em; line-height: 1; color: var(--c-green); }

/* 項目見出し：3つの理由・HISTORY年表に共通 */
.title-item { margin: 0; padding: 0; border: none; font-size: var(--type-item-heading); font-weight: 500; line-height: 1.6; letter-spacing: 0.08em; color: var(--c-green); }

/* Links */
a { color: var(--c-base); text-decoration: none; transition: .3s; }
a:hover { opacity: 1; color: var(--c-base); }

/* 緑の動くモヤ背景：通常・明るめ */
.bg-green,
.bg-green-bright { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--green-haze-bg); pointer-events: none; }
.bg-green { --green-haze-bg: linear-gradient(120deg, #239f60 0%, #2ba653 50%, #2aaa40 100%); --green-haze-before: radial-gradient(ellipse at 20% 30%, rgba(12,117,70,0.75), transparent 34%), radial-gradient(ellipse at 75% 25%, rgba(115,188,42,0.7), transparent 32%), radial-gradient(ellipse at 45% 85%, rgba(18,128,49,0.65), transparent 35%); --green-haze-after: radial-gradient(ellipse at 65% 65%, rgba(105,190,61,0.65), transparent 30%), radial-gradient(ellipse at 15% 75%, rgba(17,116,75,0.7), transparent 32%), radial-gradient(ellipse at 90% 15%, rgba(19,122,43,0.65), transparent 35%); }
.bg-green-bright { --green-haze-bg: linear-gradient(115deg, #12bd76 0%, #26d84e 48%, #35d72b 100%); --green-haze-before: radial-gradient(ellipse at 20% 35%, rgba(0,134,92,0.55) 0%, transparent 34%), radial-gradient(ellipse at 75% 30%, rgba(140,255,40,0.52) 0%, transparent 34%), radial-gradient(ellipse at 45% 85%, rgba(8,153,66,0.48) 0%, transparent 36%); --green-haze-after: radial-gradient(ellipse at 70% 68%, rgba(146,246,35,0.5) 0%, transparent 33%), radial-gradient(ellipse at 15% 70%, rgba(0,129,109,0.48) 0%, transparent 34%); }
.bg-green::before,
.bg-green::after,
.bg-green-bright::before,
.bg-green-bright::after { content: ""; position: absolute; inset: -20%; pointer-events: none; }
.bg-green::before,
.bg-green-bright::before { background: var(--green-haze-before); filter: blur(55px); animation: mv-haze-1 11s ease-in-out infinite alternate; }
.bg-green::after,
.bg-green-bright::after { background: var(--green-haze-after); filter: blur(60px); animation: mv-haze-2 10s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce){
    .bg-green::before, .bg-green::after, .bg-green-bright::before, .bg-green-bright::after { animation: none; }
}


/* ///////////////////////////////////
   Buttons
/////////////////////////////////// */
.btn-base { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 320px; max-width: 100%; min-height: 48px; padding: 15px 15px; overflow: hidden; border: none; border-radius: 100px; background: linear-gradient(100deg, #30b63e 0%, #12a524 100%); font-family: "Noto Sans JP", sans-serif; font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: 0.03em; text-align: center; text-decoration: none; white-space: nowrap; color: #fff; cursor: pointer; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.8s ease, filter 0.8s ease; }
/* バリエーション */
.btn-base.en { font-family: var(--ff-en); font-size: 24px; font-weight: 300; letter-spacing: 0.08em; }
.btn-base.white { background: #fff; color: #12a524; }
.btn-base.dark { background: linear-gradient(100deg, #079d19 0%, #008b10 100%); color: #fff; }
/* 光のエフェクト */
.btn-base::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,0.35) 50%, transparent 75%); transform: translateX(-150%); pointer-events: none; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-base.white::after { background: linear-gradient(105deg, transparent 25%, rgba(20,180,55,0.12) 50%, transparent 75%); }
/* ホバー */
@media (hover: hover){
	.btn-base:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,100,35,0.2); filter: brightness(1.06); color: #fff; text-decoration: none; }
	.btn-base.white:hover { color: var(--c-green); }
	.btn-base:hover::after { transform: translateX(150%); }
}
.btn-base:active { transform: translateY(0); }
.btn-base:focus-visible { outline: 2px solid #159d30; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce){
	.btn-base, .btn-base::after { transition: none; }
}
/* スマートフォン：共通ボタンサイズ */
@media screen and (max-width: 767px){
	.btn-base { width: 300px; min-height: 54px; padding: 12px 15px; font-size: 16px; }
	.btn-base.en { font-size: 18px; }
}



/* ///////////////////////////////////
   Title / Copy
/////////////////////////////////// */
/* 英字＋日本語のセット見出し */
.title-enja>.en { margin: 0; padding: 0; border: 0; font-family: var(--ff-en); font-weight: 700; line-height: 1; letter-spacing: -0.025em; white-space: nowrap; }
.title-enja>.ja { margin: 0; font-size: clamp(24px, calc(24px + 18 * var(--fluid-mt)), 42px); font-weight: 600; line-height: 1.6; letter-spacing: 0.12em; font-feature-settings: "palt"; }
.title-enja>.ja .mincho { font-size: inherit; }

/* 白帯見出し */
.title-band { display: flex; margin: 0; padding: 0; border: none; }
.title-band>span { display: block; width: max-content; background: var(--c-white); font-weight: 600; color: var(--c-green); }
.title-band.-horizontal { flex-direction: column; align-items: flex-start; gap: 8px; }
.title-band.-horizontal>span { max-width: 100%; padding: 3px 6px; line-height: 1.35; letter-spacing: 0.015em; }
.title-band.-vertical { flex-direction: row-reverse; align-items: flex-start; gap: 10px; }
.title-band.-vertical>span { padding: 10px 5px; writing-mode: vertical-rl; text-orientation: mixed; line-height: 1.25; letter-spacing: 0.04em; }
.title-band.-vertical.-copy { gap: 8px;}
.title-band.-vertical.-copy>span { padding: 8px 6px; font-size: clamp(24px, calc(24px + 12 * var(--fluid-sw)), 36px); background: var(--c-green); color: #fff; }
.title-band.-vertical.-copy>span .mincho { font-size: clamp(23px, calc(23px + 7 * var(--fluid-mt)), 30px); }
@media screen and (max-width: 767px){
    .title-band.-horizontal { gap: 5px; }
    .title-band.-horizontal>span { padding: 3px 7px; }
    .title-band.-vertical.-copy { gap: 6px;}
    .title-band.-vertical.-copy>span { padding: 6px 5px; }
}
/* title-band：緑帯ワイプアニメーション */
.title-band.is-band-anim>span { position: relative; clip-path: inset(0 100% 0 0); }
.title-band.-vertical.is-band-anim>span { clip-path: inset(0 0 100% 0); }
.title-band.is-band-anim>span::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--c-green); pointer-events: none; }
/* 横書き */
.title-band.is-band-anim.is-band-visible>span { animation: band-open-x 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: var(--band-delay, 0s); }
.title-band.is-band-anim.is-band-visible>span::after { animation: band-mask-x 0.9s ease-in-out both; animation-delay: var(--band-delay, 0s); }
/* 縦書き */
.title-band.-vertical.is-band-anim.is-band-visible>span { animation-name: band-open-y; }
.title-band.-vertical.is-band-anim.is-band-visible>span::after { animation-name: band-mask-y; }
/* 下層MVのみアニメーション開始を遅らせる */
:is(#about-mv, #work-mv, #talk-mv, #culture-mv) .title-band.is-band-anim.is-band-visible>span,
:is(#about-mv, #work-mv, #talk-mv, #culture-mv) .title-band.is-band-anim.is-band-visible>span::after { animation-delay: calc(var(--band-delay, 0s) + 0.5s); }
/* 緑帯が先に伸びる */
@keyframes band-open-x {
    0% { clip-path: inset(0 100% 0 0); }
    50%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes band-open-y {
    0% { clip-path: inset(0 0 100% 0); }
    50%, 100% { clip-path: inset(0 0 0 0); }
}
/* 緑帯が抜け、下の文字と背景が現れる */
@keyframes band-mask-x {
    0%, 45% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 0 0 100%); }
}
@keyframes band-mask-y {
    0%, 45% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(100% 0 0 0); }
}
@media (prefers-reduced-motion: reduce){
    .title-band.is-band-anim>span { clip-path: none; animation: none; }
    .title-band.is-band-anim>span::after { display: none; }
}


/* 丸印付き見出し */
.title-dot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 0; border: none; font-weight: 600; line-height: 1.6; letter-spacing: 0.08em; text-align: center; color: var(--c-base); font-size: clamp(18px, calc(18px + 8 * var(--fluid-mt)), 26px); }
.title-dot::before { content: ""; display: block; flex: 0 0 0.5em; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--c-green); }
@media screen and (max-width: 767px){
    .title-dot { gap: 8px; }
}

/* セクションタイトル */
.title-section { text-align: center; }
.title-section>.en { font-family: var(--ff-en); font-size: clamp(52px, calc(52px + 58 * var(--fluid-sw)), 110px); letter-spacing: -0.05em; line-height: 1; font-weight: 300; letter-spacing: -0.05em; color: var(--c-green); }
.title-section>.ja { margin: clamp(10px, calc(10px + 5 * var(--fluid-mt)), 15px) 0 clamp(50px, calc(50px + 40 * var(--fluid-mt)), 90px); font-size: clamp(16px, calc(16px + 8 * var(--fluid-sw)), 24px); font-weight: 500; line-height: 1.5; letter-spacing: 0.08em; color: var(--c-green); }

/* コピー */
.copy-section { letter-spacing: 0.1em; font-size: clamp(20px, calc(20px + 8 * var(--fluid-mt)), 28px); color: #13a826; font-weight: 500; line-height: 1.75; text-align: left;}
@media screen and (max-width: 767px){
    .copy-section { text-align: justify; }
}









