@charset "UTF-8";

/* =========================================================
   DADACA HOLDINGS — Corporate Top
   Design tokens / Layered backgrounds / Parallax
   ========================================================= */

:root {
  /* text */
  --sumi: #2B2018;          /* deepest heading (cacao ink) */
  --sumi-soft: #3D332B;     /* body */
  --hai: #857A6F;           /* caption / sub */

  /* surfaces */
  --shiroyu: #FBF7F1;       /* page bg (warm white) */
  --kami: #FFFFFF;          /* cards */
  --kinari: #F3ECE1;        /* section band */
  --kinari-deep: #ECE2D3;
  --line: #E5DBCD;          /* hairline */

  /* accents */
  --cacao: #6B4A2F;         /* deep cacao — headings accent */
  --kiwa: #B8865A;          /* primary accent (caramel gold) */
  --kiwa-dark: #9E6E42;
  --berry: #C2607A;         /* feminine berry accent (sparingly) */
  --berry-soft: #E7B9C5;
  --leaf: #7E9A6B;

  /* 明朝（Noto Serif JP）は不使用。見出し・本文ともゴシックに統一（2026-07-17 中村指示） */
  --font-jp-sans:  "Inter", "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  --font-en-serif: "Inter", system-ui, sans-serif;
  --font-en-sans:  "Inter", system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px;
  --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px; --s9: 128px;

  --container: 1720px;
  --container-pad: clamp(24px, 4.5vw, 88px);
  --header-h: 78px;

  /* rounded surfaces (MIMARU-inspired soft corners) */
  --radius: 8px;
  --radius-card: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* elegant decelerating eases (GSAP power2/power4-out) */
  --ease: cubic-bezier(.215, .61, .355, 1);   /* power2-out */
  --ease-soft: cubic-bezier(.23, 1, .32, 1);   /* power4-out — slow, refined */
  --ease-expo: cubic-bezier(.19, 1, .22, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp-sans);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--sumi-soft);
  background: var(--shiroyu);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--kiwa); outline-offset: 3px; }

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad); }

.section {
  position: relative;
  padding: var(--s9) 0;
  overflow: hidden;
  isolation: isolate;
}
.section > .container { position: relative; z-index: 2; }

/* big decorative background letters */
.bg-letter {
  position: absolute;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(120px, 20vw, 340px);
  line-height: .8;
  color: rgba(184, 134, 90, .07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  will-change: transform;
}
.bg-letter--right { right: -3vw; top: 6%; }
.bg-letter--left  { left: -3vw; top: 6%; }
.bg-letter--world { left: 50%; top: 14%; transform: translateX(-50%); color: rgba(184,134,90,.06); }

/* section headings */
/* 見出しは「英語を大きく／日本語を小さく」（2026-07-17 中村指示）＝英語が主役、日本語がサブ */
.section-eyebrow {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: .04em;
  color: var(--kiwa);
  margin-bottom: var(--s3);
}
.section-eyebrow--light { color: var(--berry-soft); }
/* h2 の太さは 400／英語より小さく（2026-07-17 中村指示） */
.section-title {
  font-family: var(--font-jp-sans);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.75;
  letter-spacing: .04em;
  color: var(--sumi);
}
.section-head { margin-bottom: var(--s7); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-note { margin-top: var(--s3); color: var(--hai); font-size: 14px; }

/* buttons — large, friendly pill with circular icon (MIMARU-inspired sizing) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 62px; padding: 4px 16px 4px 36px;
  font-weight: 600; font-size: 15px; letter-spacing: .12em;
  border-radius: var(--radius-full);
  transition: transform .45s var(--ease-soft), background .35s var(--ease), color .35s var(--ease), box-shadow .45s var(--ease-soft), border-color .35s;
}
.btn .btn-ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; transition: transform .45s var(--ease-soft), background .35s;
}
.btn .btn-ico::before {
  content: ""; width: 8px; height: 8px;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: translateX(-1px) rotate(45deg);
}
.btn:hover .btn-ico { transform: translateX(4px); }

.btn--light { background: var(--kami); color: var(--sumi); box-shadow: 0 10px 30px rgba(43,32,24,.18); }
.btn--light .btn-ico { background: var(--cacao); color: #fff; }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(43,32,24,.26); }
.btn--ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghost .btn-ico { background: rgba(255,255,255,.16); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn--dark { background: var(--cacao); color: #fff; }
.btn--dark .btn-ico { background: rgba(255,255,255,.18); color: #fff; }
.btn--dark:hover { background: var(--sumi); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(43,32,24,.24); }
.btn--ghost-dark { border: 1px solid var(--cacao); color: var(--cacao); }
.btn--ghost-dark .btn-ico { background: var(--cacao); color: #fff; }
.btn--ghost-dark:hover { background: var(--cacao); color: #fff; transform: translateY(-3px); }
.btn--ghost-dark:hover .btn-ico { background: rgba(255,255,255,.18); }

/* text link with drawn arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-weight: 600; font-size: 13px; letter-spacing: .12em;
  color: var(--cacao);
}
.link-arrow::after {
  content: "";
  flex-shrink: 0;
  width: 104px; height: 44px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'><circle cx='22' cy='22' r='22' fill='%236B4A2F'/><path d='M14 22h17M25 15l7 7-7 7' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") right center / 44px 44px no-repeat,
    linear-gradient(to right, var(--kiwa), var(--kiwa)) left center / 56px 1px no-repeat;
  transition: transform .45s var(--ease-soft);
}
.link-arrow:hover { color: var(--kiwa-dark); }
.link-arrow:hover::after {
  transform: translateX(8px);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'><circle cx='22' cy='22' r='22' fill='%23B8865A'/><path d='M14 22h17M25 15l7 7-7 7' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") right center / 44px 44px no-repeat,
    linear-gradient(to right, var(--kiwa), var(--kiwa)) left center / 56px 1px no-repeat;
}

/* reveal — slow, refined fade-up (MIMARU-style) */
.reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease-soft); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s;
}
.site-header.is-solid,
body:not(:has(.hero)) .site-header {
  background: rgba(251,247,241,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  height: 64px;
}
.header-inner { width: 100%; max-width: 1880px; margin: 0 auto; padding: 0 var(--container-pad); display: flex; align-items: center; gap: var(--s5); }
.brand { display: flex; align-items: center; gap: 9px; color: #fff; transition: color .4s; }
.site-header.is-solid .brand,
body:not(:has(.hero)) .site-header .brand { color: var(--sumi); }
.brand-logo { height: 22px; width: auto; display: block; }
.brand-logo--dark { display: none; }
.site-header.is-solid .brand-logo--light,
body:not(:has(.hero)) .site-header .brand-logo--light { display: none; }
.site-header.is-solid .brand-logo--dark,
body:not(:has(.hero)) .site-header .brand-logo--dark { display: block; }
.brand-mark { font-family: var(--font-en-serif); font-style: italic; font-weight: 500; font-size: 26px; letter-spacing: .12em; }
.brand-sub { display: inline-block; font-family: "Mrs Saint Delafield", cursive; font-size: 24px; line-height: 1; letter-spacing: 0; text-transform: lowercase; opacity: .9; transform: rotate(-5deg); transform-origin: center; }
/* 全幅でハンバーガー駆動：横並びグローバルナビは畳み、右に ENTRY＋三本線を出す（参考＝日栄興業） */
.global-nav { display: none; }
.global-nav ul { display: flex; gap: var(--s4); }
.global-nav a { position: relative; color: #fff; transition: color .3s; }
.site-header.is-solid .global-nav a,
body:not(:has(.hero)) .site-header .global-nav a { color: var(--sumi-soft); }
.nav-en { font-family: var(--font-en-sans); font-size: 13px; letter-spacing: .05em; display: inline-block; transition: opacity .25s; }
.nav-ja { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-jp-sans); font-size: 11.5px; letter-spacing: .04em; white-space: nowrap; opacity: 0; transition: opacity .25s; pointer-events: none; }
.global-nav a:hover .nav-en { opacity: 0; }
.global-nav a:hover .nav-ja { opacity: 1; }
.global-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--kiwa); transition: width .3s var(--ease); }
.global-nav a:hover { color: var(--kiwa); }
.global-nav a:hover::after { width: 100%; }
.header-cta {
  margin-left: auto;
  display: inline-flex; align-items: center; padding: 11px 24px;
  font-family: var(--font-en-sans); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  border: 1px solid rgba(255,255,255,.7); color: #fff; border-radius: 999px;
  transition: background .3s, color .3s, border-color .3s;
}
.header-cta:hover { background: #fff; color: var(--sumi); }
.site-header.is-solid .header-cta,
body:not(:has(.hero)) .site-header .header-cta { border-color: var(--cacao); color: var(--cacao); }
.site-header.is-solid .header-cta:hover,
body:not(:has(.hero)) .site-header .header-cta:hover { background: var(--cacao); color: #fff; }

/* hamburger */
.nav-toggle { display: block; width: 44px; height: 44px; position: relative; z-index: 1100; margin-left: 10px; }
.nav-toggle span { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .25s, background .4s; }
.site-header.is-solid .nav-toggle span,
body:not(:has(.hero)) .site-header .nav-toggle span { background: var(--sumi); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.drawer-open .nav-toggle span { background: #fff; }
body.drawer-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.drawer-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.drawer-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--sumi);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-2%);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
body.drawer-open .drawer { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer-nav { width: 100%; max-width: 420px; padding: 0 var(--s5); }
.drawer-nav ul { display: flex; flex-direction: column; }
.drawer-nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer-nav a { display: flex; align-items: baseline; justify-content: center; gap: 14px; padding: 16px 4px; color: #fff; text-align: center; }  /* #6143 テキスト中央寄せ */
.dn-en { font-family: var(--font-en-serif); font-style: italic; font-size: 20px; color: var(--kiwa); }
.dn-ja { font-size: 14px; letter-spacing: .08em; }
.drawer-cta { display: block; margin-top: var(--s5); text-align: center; padding: 15px; border: 1px solid var(--kiwa); border-radius: 999px; color: #fff; letter-spacing: .1em; }

/* =========================================================
   SIDE RAIL（右・縦積みの四角ボックス：メニュー＋エントリー）
   ========================================================= */
.side-rail { position: fixed; top: 0; right: 0; z-index: 1100; display: flex; flex-direction: column; }
.rail-box {
  width: 96px; height: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #fff; transition: background .3s;
}
.rail-box--menu { background: var(--sumi); }
.rail-box--menu:hover { background: #1b130c; }
.rail-box--entry { background: var(--kiwa); }
.rail-box--entry:hover { background: var(--kiwa-dark); }
.rail-label { font-family: var(--font-jp-sans); font-size: 11px; font-weight: 500; letter-spacing: .12em; line-height: 1; }
.rail-entry-ico { display: flex; }
/* メニューボックス内のハンバーガー（3本線） */
.rail-burger { position: relative; width: 24px; height: 15px; }
.rail-burger span { position: absolute; left: 0; width: 24px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .25s; }
.rail-burger span:nth-child(1) { top: 0; }
.rail-burger span:nth-child(2) { top: 6.5px; }
.rail-burger span:nth-child(3) { top: 13px; }
body.drawer-open .rail-box--menu .rail-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.drawer-open .rail-box--menu .rail-burger span:nth-child(2) { opacity: 0; }
body.drawer-open .rail-box--menu .rail-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-slideshow { position: absolute; inset: -6% 0 0; z-index: 0; will-change: transform; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1.14); }
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(43,32,24,.32) 0%, rgba(43,32,24,.5) 60%, rgba(43,32,24,.66) 100%),
    radial-gradient(120% 80% at 70% 30%, rgba(107,74,47,.0), rgba(43,32,24,.45));
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 4px 4px;
}
.hero-content { position: relative; z-index: 3; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad) clamp(64px, 12vh, 132px); color: #fff; transform: translateY(100px); }
.hero-copy {
  font-family: var(--font-jp-sans); font-weight: 300;
  font-size: clamp(14px, 7.5vw, 37px);
  line-height: 1.14; letter-spacing: .06em;
  white-space: nowrap;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero-sub { margin-top: var(--s5); font-family: var(--font-en-serif); font-style: italic; font-size: clamp(16px, 2.2vw, 16px); letter-spacing: .08em; opacity: .92; }
/* 左下：キャッチ→リード→縦線（参考＝日栄興業） */
.hero-vline { display: block; width: 1px; height: clamp(48px, 8vh, 84px); margin-top: var(--s5);
  background: linear-gradient(to bottom, rgba(255,255,255,.78), rgba(255,255,255,0)); }
/* 右：縦線（レール左端）と、その内側にコンセプトの英訳を縦組みで */
.hero-edge-line { position: absolute; top: 0; bottom: 0; right: 96px; width: 1px; z-index: 3;
  background: linear-gradient(to bottom, rgba(255,255,255,.34) 0%, rgba(255,255,255,.34) 55%, rgba(255,255,255,.08) 100%); }
.hero-vtag {
  position: absolute; right: 35px; top: 224px; z-index: 3;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-en-serif); font-style: italic; font-size: 14px;
  letter-spacing: .18em; color: rgba(255,255,255,.82); text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-scroll { position: absolute; right: 44px; bottom: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-scroll-label { writing-mode: vertical-rl; font-family: var(--font-en-serif); font-style: italic; font-size: 14px; letter-spacing: .25em; color: #fff; }
.hero-scroll-line { width: 1px; height: 70px; background: linear-gradient(to bottom, rgba(255,255,255,.7), rgba(255,255,255,0)); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: #fff; animation: scrollDrop 1.9s var(--ease) infinite; }
@keyframes scrollDrop { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(280%); } }

/* =========================================================
   CONCEPT
   ========================================================= */
.section--concept { background: var(--shiroyu); padding-top: var(--s9); }
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.concept-lead { font-family: var(--font-jp-sans); font-size: 17px; line-height: 2.1; margin: var(--s4) 0 var(--s4); color: var(--sumi); }
.concept-lead b { color: var(--cacao); font-weight: 600; }
.concept-body { font-size: 14.5px; line-height: 2.15; margin-bottom: var(--s3); color: var(--sumi-soft); }
.concept-body--accent { font-family: var(--font-jp-sans); color: var(--kiwa-dark); font-size: 16px; letter-spacing: .06em; }

/* mosaic with depth */
.concept-mosaic { position: relative; height: 660px; }
.mosaic-item { position: absolute; margin: 0; overflow: hidden; border-radius: 0; box-shadow: 0 20px 50px rgba(43,32,24,.18); will-change: transform; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
.concept-mosaic:hover .mosaic-item img { transform: scale(1.04); }
.mosaic-item--1 { width: 50%; height: 38%; top: 0; left: 0; z-index: 3; }
.mosaic-item--2 { width: 38%; height: 30%; top: 10%; right: 0; z-index: 4; }
.mosaic-item--3 { width: 42%; height: 34%; bottom: 7%; left: 4%; z-index: 4; }
.mosaic-item--4 { width: 34%; height: 28%; bottom: -6%; right: 8%; z-index: 2; }
.mosaic-deco { position: absolute; top: -24px; left: -28px; width: 40%; height: 30%; border: 1px solid var(--kiwa); border-radius: var(--radius-card); z-index: 1; opacity: .45; }

/* curve divider */
.curve-divider { color: var(--kiwa); line-height: 0; margin: -10px 0; }
.curve-divider svg { width: 100%; height: 110px; display: block; }

/* =========================================================
   BRANDS
   ========================================================= */
.section--brands { position: relative; background: var(--shiroyu); padding-top: var(--s9); }
.brands-head { margin-bottom: var(--s7); }

/* brand quick-nav — segmented pill bar (search-UI inspired) */
.brand-quicknav {
  display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
  background: var(--kami); border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 10px 12px 10px 28px;
  box-shadow: 0 14px 40px rgba(43,32,24,.08);
}
.qn-label { font-family: var(--font-en-serif); font-style: italic; font-size: 17px; color: var(--kiwa); flex: 0 0 auto; }
.qn-items { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.qn-item {
  display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: var(--radius-full);
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--sumi-soft);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease-soft);
}
.qn-item:hover { background: var(--cacao); color: #fff; transform: translateY(-2px); }

/* sticky-stacking brand panels — each photo-panel rises and covers the previous */
.brand-stack { position: relative; }
.brand-panel {
  position: sticky; top: 0;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--sumi);
  scroll-margin-top: 0;
}
.brand-panel-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.brand-panel-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.brand-panel-media--placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(231,185,197,.5), rgba(0,0,0,0) 60%),
    linear-gradient(135deg, var(--kiwa) 0%, var(--cacao) 100%);
}
.brand-placeholder-en { font-family: var(--font-en-serif); font-style: italic; font-size: clamp(44px,8vw,110px); color: rgba(255,255,255,.85); letter-spacing: .04em; }
.brand-panel-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(34,26,20,.84) 0%, rgba(34,26,20,.4) 36%, rgba(34,26,20,.1) 66%, rgba(34,26,20,.34) 100%);
}
.brand-panel-inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5);
  padding-bottom: clamp(56px, 11vh, 128px);
}
.brand-panel-text { max-width: 560px; }
.brand-panel-num { font-family: var(--font-en-serif); font-style: italic; font-weight: 500; font-size: clamp(90px, 13vw, 220px); line-height: .72; color: rgba(255,255,255,.16); flex: 0 0 auto; }

/* shared brand text + light overlay variants */
.brand-operator { font-size: 11px; letter-spacing: .14em; color: var(--kiwa-dark); margin-bottom: var(--s3); position: relative; padding-left: 30px; }
.brand-operator::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 1px; background: var(--kiwa); }
.brand-name { font-family: var(--font-jp-sans); font-weight: 600; font-size: clamp(28px, 3.8vw, 48px); color: var(--sumi); letter-spacing: .04em; line-height: 1.3; }
#brand-fab .brand-name { font-size: clamp(28px, 3.4vw, 40px); }
.brand-en { font-family: var(--font-en-serif); font-style: italic; font-size: 20px; color: var(--kiwa); margin: 8px 0 var(--s3); }
.brand-desc { font-size: 14.5px; line-height: 2.05; color: var(--sumi-soft); margin-bottom: var(--s4); }
.brand-operator--light { color: rgba(255,255,255,.92); }
.brand-operator--light::before { background: rgba(255,255,255,.75); }
.brand-name--light { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.32); }
.brand-en--light { color: #fff; opacity: .92; }
.brand-desc--light { color: rgba(255,255,255,.9); }
.link-arrow--light { color: #fff; }
.link-arrow--light::after,
.link-arrow--light:hover::after {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'><circle cx='22' cy='22' r='22' fill='%23B8865A'/><path d='M14 22h17M25 15l7 7-7 7' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") right center / 44px 44px no-repeat,
    linear-gradient(to right, rgba(255,255,255,.7), rgba(255,255,255,.7)) left center / 56px 1px no-repeat;
}

/* =========================================================
   FACTORY
   ========================================================= */
.section--factory { background: var(--sumi); color: #fff; padding-bottom: 160px; }
.section--factory .section-title { color: #fff; }
.section--factory .bg-letter { color: rgba(255,255,255,.045); }
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; margin: 0 0 var(--s7) 0; }
/* FACTORY 写真マーキー（右→左に流れる無限スクロール） */
.factory-marquee { overflow: hidden; width: 100%; margin-bottom: 150px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.factory-marquee-track { display: flex; width: max-content; animation: factoryScroll 48s linear infinite; }
.factory-marquee-track img { height: 240px; width: auto; flex: 0 0 auto; object-fit: cover; display: block; margin-right: 16px; }
.factory-marquee:hover .factory-marquee-track { animation-play-state: paused; }
@keyframes factoryScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.factory-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.factory-media::before { content: ""; position: absolute; bottom: -22px; right: -22px; width: 55%; height: 45%; border: 1px solid rgba(184,134,90,.5); border-radius: var(--radius-lg); z-index: 2; }
.factory-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.factory-media:hover img { transform: scale(1.05); }
.factory-text .section-eyebrow { color: var(--kiwa); }
.factory-body { color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 2.15; margin: var(--s4) 0 var(--s3); }
.section--factory .link-arrow { color: #fff; }
.section--factory .link-arrow::after,
.section--factory .link-arrow:hover::after {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'><circle cx='22' cy='22' r='22' fill='%23B8865A'/><path d='M14 22h17M25 15l7 7-7 7' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") right center / 44px 44px no-repeat,
    linear-gradient(to right, rgba(255,255,255,.6), rgba(255,255,255,.6)) left center / 56px 1px no-repeat;
}

/* =========================================================
   GLOBAL
   ========================================================= */
.section--global {
  background: var(--kinari);
  margin-top: -160px;
  padding-top: 130px;
  border-top-left-radius: 50% 240px;
  border-top-right-radius: 50% 240px;
  z-index: 2;
}
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.country {
  background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: var(--s5) var(--s3); text-align: center;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .4s;
}
.country:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(43,32,24,.12); }
.country-en { display: block; font-family: var(--font-en-serif); font-style: italic; font-size: 22px; color: var(--cacao); }
.country-ja { display: block; font-size: 12.5px; letter-spacing: .08em; color: var(--hai); margin-top: 4px; }
.country.is-active { border-color: rgba(184,134,90,.45); }
.country.is-active .country-en { color: var(--kiwa-dark); }
.country.is-next { border-style: dashed; opacity: .7; }
.country.is-next .country-en { color: var(--hai); }
/* 世界地図ビジュアル */
.worldmap { margin-top: var(--s6); }
.worldmap-canvas { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; aspect-ratio: 950 / 620; }
.worldmap-img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: .92; }
.wm-pin { position: absolute; width: 0; height: 0; }
.wm-dot { position: absolute; left: 0; top: 0; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 4px rgba(194,96,122,.20); z-index: 2; }
.wm-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--berry); animation: wmPing 2.8s var(--ease-soft) infinite; }
.wm-pin--home .wm-dot { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; background: var(--kiwa); box-shadow: 0 0 0 5px rgba(184,134,90,.24); }
.wm-pin--home .wm-dot::after { box-shadow: 0 0 0 2px var(--kiwa); }
@keyframes wmPing { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.7); opacity: 0; } }
.wm-tag { position: absolute; top: 0; left: 0; transform: translate(16px, -50%); white-space: nowrap; font-family: var(--font-en-sans); font-size: 11px; letter-spacing: .08em; color: var(--sumi); background: rgba(255,255,255,.9); padding: 3px 10px; border-radius: 999px; box-shadow: 0 4px 14px rgba(43,32,24,.12); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 3; }
.wm-pin--l .wm-tag { transform: translate(calc(-100% - 16px), -50%); }
.wm-pin:hover .wm-tag { opacity: 1; }
.worldmap-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: var(--s6); }
.worldmap-legend li { display: flex; align-items: baseline; gap: 9px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--kami); }
.worldmap-legend li.is-next { background: transparent; border-style: dashed; opacity: .7; }
.wm-lg-en { font-family: var(--font-en-serif); font-style: italic; font-size: 16px; color: var(--cacao); }
.wm-lg-ja { font-size: 12px; letter-spacing: .06em; color: var(--sumi-soft); }

/* =========================================================
   LOCATIONS
   ========================================================= */
.section--locations { background: var(--shiroyu); }
.loc-layout { display: grid; grid-template-columns: minmax(240px, 0.7fr) 2fr; gap: var(--s8); align-items: start; }
.loc-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.loc-layout .section-title { white-space: nowrap; }
.loc-list { display: flex; flex-direction: column; }
.loc-card { display: grid; grid-template-columns: minmax(160px, 0.8fr) 1.4fr; gap: var(--s4); align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.loc-list .loc-card:last-child { border-bottom: none; }
.loc-no { font-family: var(--font-en-serif); font-style: italic; font-size: 18px; color: var(--kiwa); }
.loc-city { font-family: var(--font-en-serif); font-weight: 500; font-size: 24px; letter-spacing: .05em; color: var(--sumi); margin: 4px 0 0; }
.loc-meta { font-size: 13px; line-height: 1.95; color: var(--hai); }

/* =========================================================
   MVV / PHILOSOPHY
   ========================================================= */
.section--mvv { background: linear-gradient(180deg, var(--shiroyu), var(--kinari)); overflow: clip; }
.mvv-layout { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: var(--s7) var(--s9); align-items: start; }
.mvv-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.mvv-main { min-width: 0; }
.mvv-label { font-family: var(--font-en-serif); font-style: italic; font-size: 18px; letter-spacing: .06em; color: var(--kiwa); margin-bottom: var(--s2); }
.vision-block .mvv-label { font-size: 21px; color: #000; }
.values-head .mvv-label { font-size: 34px; color: #000; }
.mission-block { text-align: left; }
.mission-block .mvv-label { font-size: 22px; }
.mission-copy { font-family: var(--font-jp-sans); font-weight: 500; font-size: clamp(34px, 3.4vw, 52px); letter-spacing: .08em; color: var(--sumi); line-height: 1.4; margin-top: var(--s2); }
.mission-figure { width: clamp(150px, 15vw, 220px); height: auto; display: block; margin-top: var(--s5); }
.vision-block { background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s7); text-align: center; margin: 0 0 var(--s8); box-shadow: 0 20px 50px rgba(43,32,24,.07); position: relative; }
.vision-block::before { content: ""; position: absolute; top: -44px; left: 50%; transform: translateX(-50%); width: 2px; height: 84px; background: var(--kiwa); opacity: .45; z-index: 3; }
.vision-block::after { content: ""; position: absolute; top: -44px; left: 50%; transform: translate(-50%, 0); width: 2px; height: 18px; background: linear-gradient(to bottom, transparent, var(--kiwa)); animation: visionLine 2.4s var(--ease-soft) infinite; z-index: 3; }
@keyframes visionLine { 0% { transform: translate(-50%, 0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(-50%, 66px); opacity: 0; } }
.vision-title { font-family: var(--font-jp-sans); font-weight: 600; font-size: clamp(22px, 3vw, 34px); color: var(--cacao); line-height: 1.5; margin-bottom: 12px; }
.vision-title span { display: block; font-size: .68em; color: var(--sumi); margin-top: 6px; }
.vision-title .vision-en { font-family: var(--font-en-serif); font-style: italic; font-size: .56em; color: var(--kiwa); letter-spacing: .02em; margin-top: 10px; }
.vision-body { font-size: 15px; line-height: 2.3; color: var(--sumi-soft); }

.values-head { text-align: center; margin-bottom: var(--s5); }
.values-note { color: var(--hai); font-size: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-bottom: var(--s8); }
.value-card { background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s6) var(--s5); position: relative; transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); overflow: hidden; }
.value-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(var(--kiwa), var(--berry)); border-radius: var(--radius-card) 0 0 var(--radius-card); }
.value-card:hover { transform: translateY(-7px); box-shadow: 0 26px 52px rgba(43,32,24,.12); }
.value-c { font-family: var(--font-en-serif); font-style: italic; font-size: 30px; color: var(--kiwa); }
.value-name { font-family: var(--font-jp-sans); font-weight: 600; font-size: 26px; color: var(--sumi); margin-top: 4px; }
.value-sub { font-family: var(--font-jp-sans); font-size: 15px; color: var(--cacao); margin: 6px 0 var(--s3); }
.value-desc { font-size: 13.5px; line-height: 2.05; color: var(--sumi-soft); }
/* 写真背景バリエーション（グレー透過レイヤー＋白文字） */
.value-card--photo { background: #3a3a3d; border-color: transparent; border-radius: 0; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s6) var(--s5); }
.value-card--photo .vc-bg { position: absolute; inset: 0; z-index: 0; }
.value-card--photo .vc-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .7s var(--ease-soft); }
.value-card--photo:hover .vc-bg img { transform: scale(1.1); }
.value-card--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(38,38,40,.32) 0%, rgba(34,34,36,.5) 52%, rgba(28,28,30,.7) 100%); }
.value-card--photo::before { display: none; }
/* 縦の流れる線（MVV区切り） */
.flowline { position: relative; width: 100%; height: 72px; margin: var(--s2) 0 var(--s6); }
.flowline::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 2px; height: 100%; background: var(--kiwa); opacity: .4; }
.flowline::after { content: ""; position: absolute; left: 50%; top: 0; transform: translate(-50%, 0); width: 2px; height: 18px; background: linear-gradient(to bottom, transparent, var(--kiwa)); animation: flowDown 2.4s var(--ease-soft) infinite; }
@keyframes flowDown { 0% { transform: translate(-50%, 0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(-50%, 54px); opacity: 0; } }
.value-card--photo > *:not(.vc-bg) { position: relative; z-index: 2; }
.value-card--photo .value-c { color: #fff; opacity: .95; }
.value-card--photo .value-name { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.35); }
.value-card--photo .value-sub { color: rgba(255,255,255,.95); }
.value-card--photo .value-desc { color: rgba(255,255,255,.92); }

/* 経営7ヶ条 */
.creed { background: var(--cacao); color: #fff; border-radius: var(--radius-lg); padding: var(--s7); margin: 0; box-shadow: 0 24px 60px rgba(43,32,24,.2); }
.creed-head { text-align: center; margin-bottom: var(--s5); }
.creed-title { font-family: var(--font-jp-sans); font-weight: 600; font-size: 22px; letter-spacing: .1em; }
.creed-note { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 6px; }
.creed-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s6); }
.creed-list li { display: flex; gap: 14px; padding: var(--s3) 0; border-top: 1px solid rgba(255,255,255,.14); }
.creed-no { font-family: var(--font-en-serif); font-style: italic; font-size: 30px; width: 30px; white-space: nowrap; color: var(--kiwa); flex-shrink: 0; line-height: 1.3; }
.creed-body b { display: block; font-family: var(--font-jp-sans); font-weight: 500; font-size: 20px; letter-spacing: .04em; margin-bottom: 4px; }
.creed-body span { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.72); }

.mvv-tagline { text-align: center; font-family: var(--font-jp-sans); font-weight: 600; font-size: clamp(22px, 3.5vw, 36px); letter-spacing: .14em; color: var(--kiwa-dark); margin-top: var(--s8); }

/* =========================================================
   TOP MESSAGE
   ========================================================= */
.section--message { background: var(--shiroyu); }
.message-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s8); align-items: center; }
.message-text { max-width: 820px; }
.message-lead br { display: block; }
.portrait-frame { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--kinari-deep), var(--kinari)); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 24px 56px rgba(43,32,24,.14); overflow: hidden; }
.portrait-frame::after { content: ""; position: absolute; bottom: -20px; left: -20px; width: 50%; height: 40%; border: 1px solid var(--kiwa); border-radius: var(--radius-card); }
.portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-mono { font-family: var(--font-en-serif); font-style: italic; font-size: 84px; color: var(--cacao); opacity: .35; }
.portrait-cap { font-size: 12px; letter-spacing: .2em; color: var(--hai); margin-top: 8px; }
.portrait-name { font-family: var(--font-jp-sans); font-size: 14px; letter-spacing: .08em; color: var(--sumi); margin-top: var(--s3); text-align: center; }
.message-lead { font-family: var(--font-jp-sans); font-weight: 600; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.7; color: var(--sumi); margin: var(--s2) 0 var(--s5); letter-spacing: .03em; }
.message-body { font-size: 14.5px; line-height: 2.2; color: var(--sumi-soft); margin-bottom: var(--s3); }
.message-sign { font-family: var(--font-jp-sans); font-size: 15px; letter-spacing: .1em; color: var(--sumi); margin-top: var(--s4); }

/* =========================================================
   BUSINESS
   ========================================================= */
.section--business { background: linear-gradient(180deg, var(--shiroyu), var(--kinari)); }
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.biz-card { background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s6) var(--s5) var(--s5); transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); display: flex; flex-direction: column; }
.biz-card:hover { transform: translateY(-7px); box-shadow: 0 26px 52px rgba(43,32,24,.14); }
.biz-tag { display: inline-block; align-self: flex-start; font-family: var(--font-en-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--kiwa-dark); background: var(--kami); border: 1px solid var(--kiwa); border-radius: 0 var(--radius-full) var(--radius-full) var(--radius-full); padding: 5px 15px; margin-bottom: var(--s4); }
.biz-title { font-family: var(--font-jp-sans); font-weight: 600; font-size: 22px; color: var(--sumi); line-height: 1.5; margin-bottom: var(--s3); }
.biz-desc { font-size: 13.5px; line-height: 2.05; color: var(--sumi-soft); margin-bottom: var(--s4); flex: 1; }

/* =========================================================
   RECRUIT
   ========================================================= */
.section--recruit { padding: 0; }
.recruit-inner { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; }
.recruit-bg { position: absolute; inset: -10% 0 0; z-index: 0; background: url("../img/recruit-people.jpg") center 38%/cover no-repeat; will-change: transform; }
.recruit-tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(34,34,36,.60), rgba(34,34,36,.74)); }
.recruit-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 1000px; padding: var(--s8) var(--container-pad); }
.recruit-title { font-family: var(--font-jp-sans); font-weight: 600; font-size: clamp(26px, 4vw, 42px); letter-spacing: .06em; margin-bottom: var(--s4); }
.recruit-desc { color: rgba(255,255,255,.88); font-size: 14.5px; line-height: 2.1; margin-bottom: var(--s6); }

/* =========================================================
   CONTACT
   ========================================================= */
.section--contact { background: var(--shiroyu); }
.contact-card { text-align: center; max-width: 720px; margin: 0 auto; }
.contact-card .section-title { font-size: clamp(24px, 3vw, 32px); }
.contact-sub { color: var(--hai); margin: var(--s4) 0 var(--s6); font-size: 14.5px; }
.contact-actions { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }

/* =========================================================
   NEWS (bottom)
   ========================================================= */
.section--news { background: var(--kinari); padding-bottom: var(--s9); }
.news-list { border-top: 1px solid var(--line); }
.news-row { border-bottom: 1px solid var(--line); }
.news-row a,
.news-row .news-static { display: grid; grid-template-columns: 120px 110px 1fr 44px; align-items: center; gap: var(--s3); padding: var(--s4) var(--s2); transition: background .3s, padding-left .3s; }
.news-row a:hover { background: rgba(255,255,255,.5); padding-left: var(--s4); }
/* リンクなし（クリック不可）の行 */
.news-row .news-static { cursor: default; }
.news-row .news-static .news-title { color: var(--sumi); }
.news-date { font-family: var(--font-en-sans); font-size: 13px; color: var(--hai); letter-spacing: .04em; }
.news-cat { justify-self: start; font-family: var(--font-en-sans); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; padding: 4px 13px; border-radius: 0 var(--radius-full) var(--radius-full) var(--radius-full); color: #fff; }
.news-cat--release { background: var(--berry); }
.news-cat--store { background: var(--kiwa); }
.news-cat--press { background: var(--leaf); }
.news-cat--company { background: var(--cacao); }
.news-title { font-size: 14.5px; color: var(--sumi); line-height: 1.7; }
.news-arrow { justify-self: end; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: border-color .3s, background .3s; }
.news-arrow::after { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-top: 1.4px solid var(--cacao); border-right: 1.4px solid var(--cacao); transform: translate(-65%,-50%) rotate(45deg); }
.news-row a:hover .news-arrow { background: var(--kiwa); border-color: var(--kiwa); }
.news-row a:hover .news-arrow::after { border-color: #fff; }
/* 外部リンク（別タブ）の矢印は右上向き */
.news-arrow--ext::after { transform: translate(-50%,-50%) rotate(-45deg); }
/* PDFリンクの目印 */
.news-flag { justify-self: end; font-family: var(--font-en-sans); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: var(--cacao); border: 1px solid var(--line); border-radius: var(--radius-full); padding: 3px 9px; line-height: 1; transition: background .3s, color .3s, border-color .3s; }
.news-row a:hover .news-flag { background: var(--kiwa); border-color: var(--kiwa); color: #fff; }
.news-more { margin-top: var(--s6); text-align: center; }
.news-more .link-arrow { justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
/* 上辺のアーチ：左右のコーナー楕円（横半径50%）が中央で連結し、1本の弧になる。
   端＝アーチ分だけ下がる／中央＝ボックス上辺まで膨らむ。 */
:root { --footer-arc: 90px; }

.site-footer {
  position: relative; z-index: 2;
  background: var(--sumi);
  color: rgba(255,255,255,.7);
  padding: calc(var(--s8) + var(--footer-arc)) 0 var(--s5);
  border-top-left-radius: 50% var(--footer-arc);
  border-top-right-radius: 50% var(--footer-arc);
}

/* ---- Entry（Airワーク）ブロック ---- */
.footer-cta {
  display: grid; grid-template-columns: minmax(0,300px) 1fr auto;
  align-items: center; gap: var(--s6);
  color: inherit; padding-bottom: var(--s7);
}
.footer-cta-en { display: block; font-family: var(--font-en-sans); font-weight: 300; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.05; letter-spacing: .02em; color: #fff; }
.footer-cta-ja { display: block; margin-top: var(--s3); font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.72); }
.footer-cta-text { font-size: 14px; line-height: 2.1; color: rgba(255,255,255,.8); }
.footer-cta-btn {
  justify-self: end; flex: none;
  width: 64px; height: 64px; border-radius: var(--radius-full); background: #fff;
  position: relative; transition: transform .4s var(--ease-soft);
}
.footer-cta-btn::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 24px; height: 1.5px; background: var(--sumi); }
.footer-cta-btn::after { content: ""; position: absolute; top: 50%; left: calc(50% + 4px); width: 8px; height: 8px; border-top: 1.5px solid var(--sumi); border-right: 1.5px solid var(--sumi); transform: translateY(-50%) rotate(45deg); }
.footer-cta:hover .footer-cta-btn { transform: translateX(8px); }

/* ---- 下段：ナビ＋ボタン＋コピーライト ／ 右にロゴ ---- */
.footer-lower { border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--s7); display: grid; grid-template-columns: 1fr auto; gap: var(--s6); align-items: end; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.85); transition: color .3s; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: #fff; }
.footer-actions { margin-top: var(--s6); display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s5);
  border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius);
  font-size: 13px; letter-spacing: .04em; color: #fff;
  transition: background .3s, color .3s, border-color .3s;
}
.footer-btn:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.footer-btn--fill { background: #fff; color: var(--sumi); border-color: #fff; font-weight: 600; }
.footer-btn--fill:hover { background: rgba(255,255,255,.82); color: var(--sumi); }
.footer-copy { margin-top: var(--s6); font-family: var(--font-en-sans); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.footer-lower-side { text-align: right; }
.footer-logo-img { height: 30px; width: auto; display: block; margin-left: auto; }
.footer-logo-sub { display: block; margin-top: 10px; font-family: var(--font-en-sans); font-size: 10px; letter-spacing: .3em; color: var(--kiwa); }

/* =========================================================
   SUBPAGES — shared masthead / breadcrumb
   ========================================================= */
/* 下層ページのヒーロー：写真とテキストを分離（2026-07-17 中村指示）
   上＝2カラム（左：英語＋見出し／右：リード文）／ 下＝横幅全面の写真（右下にパンくず） */
.page-head { position: relative; padding: calc(var(--header-h) + var(--s8)) 0 0; background: var(--shiroyu); color: var(--sumi); }
.page-head .container { position: relative; z-index: 2; }

.page-head-text { display: grid; grid-template-columns: 42% 1fr; gap: clamp(32px, 4vw, 72px); align-items: end; padding-bottom: var(--s7); }
.page-head-eyebrow { font-family: var(--font-en-serif); font-style: italic; font-size: clamp(34px, 4vw, 56px); line-height: 1.1; letter-spacing: .04em; color: var(--kiwa); margin-bottom: var(--s3); }
.page-head-title { font-family: var(--font-jp-sans); font-weight: 400; font-size: clamp(19px, 2vw, 28px); letter-spacing: .04em; line-height: 1.7; margin: 0; }
.page-head-note { margin: 0; color: var(--hai); font-size: 14px; max-width: 660px; line-height: 2.1; }

/* 写真は左端からブリードし、右に10%の余白。右上だけ角丸。
   パンくずは写真に載せず、その右の余白へ縦書きで置く。 */
.page-head-media { display: grid; grid-template-columns: 90% 1fr; }
.page-head-photo { position: relative; overflow: hidden; border-top-right-radius: 48px; }
.page-head-photo img { display: block; width: 100%; height: 500px; object-fit: cover; }

/* 縦書きパンくず（写真の外＝明るい背景に載るので文字色は濃色） */
.breadcrumb {
  writing-mode: vertical-rl;
  justify-self: start;
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: var(--s3) 0 0 var(--s4);
  font-size: 12px; letter-spacing: .1em; color: var(--hai);
}
.breadcrumb a { color: var(--sumi-soft); transition: color .3s; }
.breadcrumb a:hover { color: var(--cacao); }
.breadcrumb .sep { opacity: .5; }
.page-main { padding: var(--s8) 0 var(--s9); background: var(--shiroyu); position: relative; }
.page-narrow { max-width: 980px; margin: 0 auto; }

/* news index */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s6); }
.news-filter button { padding: 9px 20px; border: 1px solid var(--line); border-radius: var(--radius-full); font-size: 12.5px; letter-spacing: .04em; color: var(--sumi-soft); background: var(--kami); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .35s var(--ease-soft); }
.news-filter button:hover { border-color: var(--kiwa); color: var(--kiwa-dark); transform: translateY(-2px); }
.news-filter button.is-active { background: var(--cacao); color: #fff; border-color: var(--cacao); }
.news-cat--global { background: #4E7C84; }
.news-cat--important { background: #B0506A; }
.news-row.is-hidden { display: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: var(--s8); }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-full); border: 1px solid var(--line); font-family: var(--font-en-sans); font-size: 13px; color: var(--sumi-soft); background: var(--kami); transition: border-color .3s, color .3s, background .3s; }
.pager a:hover { border-color: var(--kiwa); color: var(--kiwa-dark); }
.pager .is-current { background: var(--cacao); color: #fff; border-color: var(--cacao); }
.pager .is-disabled { opacity: .4; pointer-events: none; }

/* news article (detail) */
.article { max-width: 820px; margin: 0 auto; }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: var(--s5); margin-bottom: var(--s6); }
.article-meta { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.article-date { font-family: var(--font-en-sans); font-size: 13px; color: var(--hai); letter-spacing: .04em; }
.article-title { font-family: var(--font-jp-sans); font-weight: 600; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.6; color: var(--sumi); letter-spacing: .03em; }
.article-body { font-size: 15px; line-height: 2.3; color: var(--sumi-soft); }
.article-body > * + * { margin-top: var(--s4); }
.article-body h2 { font-family: var(--font-jp-sans); font-weight: 600; font-size: 22px; color: var(--sumi); margin-top: var(--s7); line-height: 1.6; letter-spacing: .03em; }
.article-body h3 { font-family: var(--font-jp-sans); font-weight: 600; font-size: 18px; color: var(--cacao); margin-top: var(--s6); }
.article-body a { color: var(--kiwa-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { font-weight: 600; color: var(--sumi); }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body ul { list-style: disc; } .article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-figure { margin: var(--s6) 0; }
.article-figure img { border-radius: var(--radius-card); width: 100%; }
.article-figure figcaption { font-size: 12px; color: var(--hai); margin-top: 10px; text-align: center; }
.article-foot { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); }
.article-nav { display: flex; justify-content: space-between; gap: var(--s4); }
.article-nav a { font-size: 13px; color: var(--sumi-soft); letter-spacing: .04em; transition: color .3s; max-width: 46%; }
.article-nav a:hover { color: var(--kiwa-dark); }
.article-nav .an-label { display: block; font-family: var(--font-en-serif); font-style: italic; font-size: 12px; color: var(--kiwa); margin-bottom: 4px; }
.article-nav .is-disabled { opacity: .3; pointer-events: none; }
.back-to-list { text-align: center; margin-top: var(--s7); }
.back-to-list .link-arrow { justify-content: center; }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: var(--s8); align-items: start; max-width: 1180px; margin: 0 auto; }
.privacy-box { font-size: 12.5px; line-height: 2; color: var(--sumi-soft); background: #fff; border: 1px solid var(--line); border-radius: 0; padding: var(--s4) var(--s5); margin-bottom: var(--s6); }
.privacy-box b { color: var(--sumi); }
.form-card { background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 52px); box-shadow: 0 20px 50px rgba(43,32,24,.06); }
.form-row { margin-bottom: var(--s5); }
.form-label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; color: var(--sumi); margin-bottom: 12px; }
.req { font-family: var(--font-en-sans); font-size: 10px; font-weight: 600; letter-spacing: .1em; color: #fff; background: var(--berry); border-radius: var(--radius-full); padding: 3px 9px; }
.opt { font-family: var(--font-en-sans); font-size: 10px; letter-spacing: .1em; color: var(--hai); border: 1px solid var(--line); border-radius: var(--radius-full); padding: 2px 9px; }
.field { width: 100%; font: inherit; font-size: 15px; color: var(--sumi); background: var(--shiroyu); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 16px; transition: border-color .3s, box-shadow .3s, background .3s; }
.field::placeholder { color: #B7AC9E; }
.field:focus { outline: none; border-color: var(--kiwa); background: #fff; box-shadow: 0 0 0 3px rgba(184,134,90,.14); }
textarea.field { min-height: 180px; resize: vertical; line-height: 1.9; }
select.field { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23857A6F' stroke-width='1.4' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.field-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.field-sep { color: var(--hai); }
.zip-row .field { max-width: 180px; }
.tel-row .field { max-width: 130px; }
.field-note { font-size: 12px; color: var(--hai); margin-top: 8px; }
.consent { display: flex; align-items: flex-start; gap: 12px; justify-content: center; margin: var(--s6) 0 var(--s5); font-size: 13.5px; color: var(--sumi); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--cacao); flex: 0 0 auto; }
.consent a { color: var(--kiwa-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 280px; }
.contact-aside .info-block { margin-bottom: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--line); }
.contact-aside .info-block:last-child { border-bottom: none; }
.info-label { font-family: var(--font-en-serif); font-style: italic; font-size: 18px; color: var(--kiwa); margin-bottom: var(--s2); }
.info-text { font-size: 13.5px; line-height: 2; color: var(--sumi-soft); }
.info-text strong { color: var(--sumi); font-weight: 600; }
.info-tel { font-family: var(--font-en-sans); font-size: 26px; letter-spacing: .04em; color: var(--sumi); margin: 6px 0 2px; }

/* Contact Form 7（テーマCSSと共有） */
.form-card .wpcf7-form > p { margin: 0; }
.form-card .wpcf7-form-control-wrap { display: block; }
.form-card .field-inline .wpcf7-form-control-wrap { display: inline-block; }
.form-card .consent .wpcf7-form-control-wrap { display: inline-flex; }
.form-card .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.form-card .wpcf7-acceptance label { display: inline-flex; align-items: flex-start; gap: 12px; }
.form-card .wpcf7-acceptance input[type=checkbox] { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--cacao); flex: 0 0 auto; }
.form-card .consent a { color: var(--kiwa-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-card input[type=submit] { -webkit-appearance: none; appearance: none; min-width: 280px; min-height: 62px; padding: 0 40px; border: none; border-radius: var(--radius-full); background: var(--cacao); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .12em; cursor: pointer; transition: background .35s var(--ease), transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft); }
.form-card input[type=submit]:hover { background: var(--sumi); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(43,32,24,.24); }
.wpcf7-spinner { margin: 14px auto 0; display: block; }
.wpcf7 .wpcf7-response-output { margin: var(--s4) 0 0 !important; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-size: 13px; line-height: 1.8; }
.wpcf7-not-valid-tip { color: #B0506A; font-size: 12px; margin-top: 6px; }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.unaccepted .wpcf7-response-output, .wpcf7-form.payment-required .wpcf7-response-output { border-color: #E0A9B6; background: #FBEEF1; color: #9A3550; }
.wpcf7-form.sent .wpcf7-response-output { border-color: #B6CDB0; background: #EEF4EC; color: #4D6B45; }
.field.wpcf7-not-valid { border-color: #D98AA0; box-shadow: 0 0 0 3px rgba(176,80,106,.12); }

@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .contact-aside { order: -1; }
  .contact-aside .info-block { display: inline-block; vertical-align: top; width: 100%; }
}
@media (max-width: 767px) {
  .page-head { padding-top: calc(var(--header-h) + var(--s6)); }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: 100%; }
  .form-card { padding: 22px; }
}

/* to-top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 48px; height: 48px; border-radius: 50%; background: var(--cacao); box-shadow: 0 8px 22px rgba(43,32,24,.3); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s, transform .4s, background .3s; }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--kiwa); }
.to-top span { position: absolute; top: 53%; left: 50%; width: 9px; height: 9px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translate(-50%,-50%) rotate(-45deg); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root { --container-pad: 24px; }
  .section { padding: var(--s8) 0; }
  .global-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-inner { gap: 0; }
  .concept-grid, .factory-grid, .message-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .mvv-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .mvv-aside { position: static; top: auto; margin-bottom: var(--s4); }
  .factory-grid .factory-media { order: -1; }
  .message-portrait { max-width: 360px; margin: 0 auto; }
  .brand-panel-num { font-size: clamp(70px, 12vw, 140px); }
  .loc-layout { grid-template-columns: 1fr; gap: var(--s4); }
  .loc-layout .section-head { position: static; }
  .biz-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .creed-list { grid-template-columns: 1fr; gap: 0; }
  .concept-mosaic { height: 70vw; max-height: 520px; }

  /* 下層ヒーロー：見出しとリードを縦積みに */
  .page-head-text { grid-template-columns: 1fr; gap: var(--s4); align-items: start; padding-bottom: var(--s6); }

  /* Footer：Entryブロックは説明文を下の行へ回す。
     ★行を明示すること（自動配置だと text が2行目を占有し、矢印が3行目に落ちる）。 */
  .footer-cta { grid-template-columns: 1fr auto; gap: var(--s4) var(--s5); align-items: start; }
  .footer-cta-head { grid-area: 1 / 1; }
  .footer-cta-btn  { grid-area: 1 / 2; align-self: center; }
  .footer-cta-text { grid-area: 2 / 1 / 3 / 3; }
  .footer-lower { grid-template-columns: 1fr; }
  .footer-lower-side { text-align: left; }
  .footer-logo-img { margin-left: 0; }
}
@media (max-width: 767px) {
  body { font-size: 14.5px; }
  :root { --container-pad: 20px; --header-h: 64px; }
  .section { padding: var(--s7) 0; }
  .hero-scroll { right: 18px; }
  .hero-vtag { display: none; }   /* SPは右縦組みタグを畳む（写真＋見出しと干渉するため） */
  /* 右レールをSPで縮小 */
  .rail-box { width: 62px; height: 62px; gap: 6px; }
  .rail-label { font-size: 9px; letter-spacing: .08em; }
  .rail-burger { width: 20px; height: 13px; }
  .rail-burger span:nth-child(2) { top: 5.5px; }
  .rail-burger span:nth-child(3) { top: 11px; }
  body.drawer-open .rail-box--menu .rail-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  body.drawer-open .rail-box--menu .rail-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .rail-entry-ico svg { width: 18px; height: 18px; }
  .hero-edge-line { display: none; }   /* SPは大キャッチと交差するため右縦線は畳む（レールが右の構造を担う） */
  .values-grid { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-card { grid-template-columns: 1fr; gap: var(--s2); }
  .vision-block, .creed { padding: var(--s5); }
  .news-row a,
  .news-row .news-static { grid-template-columns: 1fr 44px; grid-template-areas: "date arrow" "cat arrow" "title title"; row-gap: 6px; padding: var(--s4) var(--s2); }
  .news-date { grid-area: date; }
  .news-cat { grid-area: cat; }
  .news-title { grid-area: title; }
  .news-arrow,
  .news-flag { grid-area: arrow; align-self: start; }
  .concept-mosaic { height: 96vw; max-height: 480px; }
  .br-sp { display: none; }
  .section-title { line-height: 1.55; }
  .brand-quicknav { flex-direction: column; align-items: flex-start; gap: var(--s2); border-radius: var(--radius-lg); padding: 16px 18px; }
  .qn-items { gap: 8px; }
  .qn-item { background: var(--shiroyu); padding: 8px 16px; }
  .btn { width: 100%; }
  .brand-panel-inner { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .brand-panel-num { order: -1; align-self: flex-end; font-size: clamp(64px, 22vw, 120px); margin-bottom: -8px; }
  .brand-panel-text { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .bg-letter, .hero-slideshow, .mosaic-item, .recruit-bg { transform: none !important; }
  .hero-slide img { transform: none !important; }
}

/* =========================================================
   RECRUIT — 採用サイト追加スタイル（コーポレート踏襲）
   ========================================================= */

/* ---- Hero（採用用に大きめ・改行可） ---- */
.rec-hero-eyebrow { font-family: var(--font-en-serif); font-style: italic; font-size: 15px; letter-spacing: .22em; color: var(--berry-soft); margin-bottom: var(--s4); }
.rec-hero-copy { font-family: "Noto Serif JP", serif; white-space: normal; font-weight: 500; font-size: clamp(40px, 6.6vw, 84px); line-height: 1.28; letter-spacing: .05em; }
/* websupport #5999：15px/30px → 18px/34px（この要素だけ。index.html 専用クラスなので他へは波及しない） */
.rec-hero-sub { margin-top: var(--s5); font-size: 18px; line-height: 34px; color: rgba(255,255,255,.9); }
.rec-hero-jobs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--s6); }
.rec-hero-jobs a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-full); color: #fff; font-size: 13px; letter-spacing: .08em; transition: background .3s, border-color .3s, transform .35s var(--ease-soft); }
.rec-hero-jobs a::before { content: "\25BC"; font-size: 9px; opacity: .75; }
.rec-hero-jobs a:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }

/* ---- Concept ---- */
.rec-concept-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s8); align-items: center; }
.rec-lead { font-family: var(--font-jp-sans); font-size: 17px; line-height: 2.1; color: var(--sumi); margin: var(--s4) 0; }
.rec-body { font-size: 14.5px; line-height: 2.15; color: var(--sumi-soft); margin-bottom: var(--s3); }
.rec-body--accent { font-family: var(--font-jp-sans); color: var(--kiwa-dark); font-size: 16px; letter-spacing: .04em; }

/* websupport #6000：#concept の lead の下2段を、lead にフォント・サイズ・色を合わせる。
   ★.rec-body / .rec-body--accent は他ページでも使う共通クラス → #concept にスコープして波及を防ぐ。 */
#concept .rec-body,
#concept .rec-body--accent {
  font-family: var(--font-jp-sans);
  font-size: 17px;
  line-height: 2.1;
  color: var(--sumi);
  letter-spacing: inherit;
}
.rec-concept-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.rcm { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); box-shadow: 0 18px 44px rgba(43,32,24,.16); }
.rcm img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
.rcm:hover img { transform: scale(1.05); }
.rcm figcaption { position: absolute; left: 16px; bottom: 12px; color: #fff; font-size: 12px; letter-spacing: .12em; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.rcm--1 { aspect-ratio: 3/4; }
.rcm--2 { aspect-ratio: 3/4; margin-top: var(--s7); }
.rcm--3 { grid-column: 1 / 3; aspect-ratio: 16/9; }

/* ---- Jobs ---- */
.rec-jobs { background: var(--shiroyu); }
.rec-jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.rec-job-card { background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.rec-job-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(43,32,24,.14); }
.rec-job-media { aspect-ratio: 4/3; overflow: hidden; }
.rec-job-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
.rec-job-card:hover .rec-job-media img { transform: scale(1.06); }
.rec-job-body { padding: var(--s5) var(--s5) var(--s6); }
.rec-job-no { font-family: var(--font-en-serif); font-style: italic; font-size: 34px; color: var(--kiwa); opacity: .6; }
.rec-job-name { font-family: var(--font-jp-sans); font-size: 22px; color: var(--sumi); margin-top: 2px; }
.rec-job-en { font-family: var(--font-en-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--hai); margin-bottom: var(--s3); }
.rec-job-desc { font-size: 14px; line-height: 2; color: var(--sumi-soft); margin-bottom: var(--s4); }

/* ---- Environment ---- */
.rec-env { background: var(--shiroyu); }
.rec-env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.rec-env-media { aspect-ratio: 5/4; overflow: hidden; border-radius: var(--radius-card); }
.rec-env-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
.rec-env-card:hover .rec-env-media img { transform: scale(1.05); }
.rec-env-text { padding: var(--s4) var(--s2) 0; }
.rec-env-name { font-family: var(--font-jp-sans); font-size: 20px; color: var(--sumi); display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--s2); }
.rec-env-en { font-family: var(--font-en-serif); font-style: italic; font-size: 14px; color: var(--kiwa); }
.rec-env-text p { font-size: 13.5px; line-height: 2; color: var(--sumi-soft); }

/* ---- People（kinari band） ---- */
.section--band { background: var(--kinari); }
/* ---- People：ジグザグ自動スライド（左40%は余白／右60%に約2.5件） ----
   型＝2セット複製 + translateX(-50%)。gap でなく card の margin-right で組むこと
   （-50% が1セット幅と正確に一致し、ループの継ぎ目が飛ばない）。 */
/* 左＝見出し40% ／ 右＝カード60%（右端まで全幅ブリード） */
.rec-people-layout { display: grid; grid-template-columns: 40% 60%; align-items: center; }

.rec-people-head {
  position: relative; z-index: 2;      /* bg-letter(z:0) より前に出す */
  /* container の左内側と位置を合わせる。
     ★% は使わない（grid item の % は「カラム幅」基準になり狙いから外れる）→ vw 基準。 */
  padding-left: max(var(--container-pad), calc((100vw - var(--container)) / 2 + var(--container-pad)));
  padding-right: var(--s6);
}
.rec-people-head .section-title { margin: 0; }
.rec-people-links { margin-top: var(--s6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }

.rec-people-flow {
  position: relative; z-index: 2;      /* bg-letter(z:0) より前に出す */
  overflow: hidden;
  padding-bottom: 44px;                /* ジグザグの translateY 分を確保（高さは広がらないため） */
}
.rec-people-track { display: flex; width: max-content; animation: rec-people-flow 44s linear infinite; }
@keyframes rec-people-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rec-people-flow:hover .rec-people-track { animation-play-state: paused; }

.rec-person { flex: 0 0 22vw; width: 22vw; margin-right: 2vw; }   /* 22+2=24vw ×2.5 = 60vw */
.rec-person:nth-child(even) { transform: translateY(44px); }       /* ジグザグ */

@media (prefers-reduced-motion: reduce) {
  .rec-people-track { animation: none; }
  .rec-people-flow { overflow-x: auto; }
}

.rec-person-photo { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-card); margin-bottom: var(--s3); box-shadow: 0 14px 34px rgba(43,32,24,.12); }
.rec-person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
.rec-person:hover .rec-person-photo img { transform: scale(1.05); }
/* body既定の keep-all + overflow-wrap:anywhere は禁則を全滅させる（「。」が行頭に落ちる）。
   ★2つ同時に normal へ戻すこと。word-break だけでは anywhere が勝って効かない。 */
.rec-person-quote { font-family: var(--font-jp-sans); font-size: 15px; line-height: 1.85; color: var(--sumi); margin-bottom: var(--s2); word-break: normal; overflow-wrap: normal; }
.rec-person-role { font-size: 12px; letter-spacing: .08em; color: var(--hai); }

/* ---- Recruit（→ Airワーク）：左見出し＋右リスト ---- */
.rec-recruit { background: var(--shiroyu); }

.rjl { display: grid; grid-template-columns: 29fr 71fr; align-items: start; }
.rjl-aside { position: sticky; top: calc(var(--header-h) + 40px); padding-right: var(--s5); }
.rjl-aside .section-title { margin: 0; }
.rjl-list { min-width: 0; border-top: 1px solid var(--line); }

.rjl-row {
  display: flex; align-items: flex-start;
  padding: 56px 56px 52px 32px;
  border-bottom: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: background-color .4s var(--ease-soft);
}
.rjl-row:hover { background: rgba(184,134,90,.05); }

/* サムネ（3:2・大きく丸める） */
.rjl-figure { flex: 0 0 200px; width: 200px; height: 128px; border-radius: var(--radius-lg); overflow: hidden; background: var(--kinari); }
.rjl-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-soft); }
.rjl-row:hover .rjl-figure img { transform: scale(1.06); }

/* 本文（番号丸は左外へ引き出してeyebrow行に載せる） */
.rjl-body { flex: 1 1 auto; min-width: 0; margin-left: 90px; padding-top: 2px; }
.rjl-line { display: flex; align-items: center; gap: 14px; margin-left: -54px; }
.rjl-num {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-full);
  font-family: var(--font-en-serif); font-style: italic; font-size: 13px; color: var(--hai);
  transition: border-color .4s var(--ease-soft), color .4s var(--ease-soft);
}
.rjl-row:hover .rjl-num { border-color: var(--kiwa); color: var(--kiwa); }
.rjl-en { font-size: 14px; font-weight: 300; letter-spacing: .04em; color: var(--hai); }
.rjl-title { display: block; margin-top: 14px; font-family: var(--font-jp-sans); font-weight: 600; font-size: 26px; line-height: 1.4; letter-spacing: .08em; color: var(--sumi); }
/* 「／」が行頭に落ちないよう、HTML側で ／ の直前に WORD JOINER(&#8288;) を入れている。
   ※word-break:normal はSPでカタカナが割れる（body既定の keep-all を外さないこと）。 */
.rjl-txt { display: block; margin-top: 18px; max-width: 34em; font-size: 14px; line-height: 1.9; color: var(--hai); }

/* 右端の外部リンク表示（Airワークへ別タブ遷移するため、矢印だけにしない） */
.rjl-go {
  flex: 0 0 auto; align-self: center; margin-left: var(--s5);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--cacao);
  transition: color .4s var(--ease-soft), transform .4s var(--ease-soft);
}
.rjl-row:hover .rjl-go { color: var(--kiwa-dark); transform: translateX(4px); }

/* websupport #9123：楕円のボタンにする（.btn--ghost-dark と同じ作法） */
.rec-recruit-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border: 1px solid var(--cacao); border-radius: var(--radius-full); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--cacao); background: transparent; transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease-soft); }
.rec-recruit-go:hover { background: var(--cacao); color: #fff; transform: translateY(-2px); }
.rec-recruit-card:hover .rec-recruit-go { color: var(--kiwa-dark); }
.rec-ext { width: 14px; height: 14px; position: relative; display: inline-block; }
.rec-ext::before { content: ""; position: absolute; left: 2px; bottom: 2px; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }

/* ---- Entry（余韻：写真全面＋scrim） ---- */
/* 上下のセクションが Entry に食い込む（食い込む側の角を丸める）。
   食い込み分だけ Entry の padding を増やして、帯の余白は元のまま保つ。 */
:root {
  --entry-overlap: 50px;
  --entry-overlap-radius: 48px;
}
.rec-entry {
  position: relative; z-index: 1;
  padding: calc(var(--s9) + var(--entry-overlap)) 0;
  overflow: hidden; isolation: isolate; color: #fff;
}
/* 直前のセクション → 下へ食い込む＋下角丸 */
.section:has(+ .rec-entry) {
  z-index: 2;
  margin-bottom: calc(var(--entry-overlap) * -1);
  border-bottom-left-radius: var(--entry-overlap-radius);
  border-bottom-right-radius: var(--entry-overlap-radius);
}
/* フッター → 上へ食い込む（角丸ではなくアーチ。上辺の形は .site-footer 側で定義）。
   アーチの「端」が --entry-overlap ぶん食い込むよう、アーチの高さを足して引き上げる。
   ＝端50px食い込み／中央は さらに --footer-arc ぶん膨らむ。
   footer は main の外＝隣接セレクタが使えないため body:has で拾う。 */
body:has(.rec-entry) .site-footer {
  margin-top: calc((var(--entry-overlap) + var(--footer-arc)) * -1);
}
.rec-entry-media { position: absolute; inset: 0; z-index: 0; }
.rec-entry-media img { width: 100%; height: 100%; object-fit: cover; }
.rec-entry-tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(43,32,24,.72) 0%, rgba(35,26,20,.82) 100%); }
.rec-entry .container { position: relative; z-index: 2; }
/* websupport #6019：下marginを80pxに（全ページの .rec-entry-inner に適用）。
   左右の 362.6px は max-width:760px + margin auto の算出値なので auto のまま。 */
.rec-entry-inner { max-width: 760px; margin: 0 auto 80px; text-align: center; }
.rec-entry-title { font-family: var(--font-jp-sans); font-weight: 300; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.5; margin: var(--s2) 0 var(--s4); }  /* #6142 太さ400→300 */
.rec-entry-lead { font-size: 15px; line-height: 2.1; color: rgba(255,255,255,.86); max-width: 620px; margin: 0 auto var(--s6); }
.rec-entry-cta { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; }
.rec-entry-note { margin-top: var(--s4); font-size: 12px; color: rgba(255,255,255,.62); }

/* ---- 共通 CTA 行 ---- */
.rec-cta-row { margin-top: var(--s7); display: flex; justify-content: center; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .rec-concept-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .rec-jobs-grid, .rec-env-grid { grid-template-columns: 1fr 1fr; }

  /* People：1カラムに落として見出しを上へ。カードは右端ブリードのまま */
  .rec-people-layout { grid-template-columns: 1fr; }
  .rec-people-head { padding-right: var(--container-pad); margin-bottom: var(--s6); }
  .rec-people-links { flex-direction: row; flex-wrap: wrap; gap: var(--s5); }
  .rec-people-flow { margin-left: var(--container-pad); }
  .rec-person { flex-basis: 34vw; width: 34vw; margin-right: 3vw; }

  /* 職種リスト：1カラムに落として見出しを上へ（番号丸の引き出しは維持） */
  .rjl { grid-template-columns: 1fr; }
  .rjl-aside { position: static; padding-right: 0; margin-bottom: var(--s6); }
  .rjl-row { padding: 40px 40px 40px 0; }
}
@media (max-width: 767px) {
  .rec-jobs-grid, .rec-env-grid { grid-template-columns: 1fr; }

  /* People：左余白は container 分だけ。約1.5件 peek でスライドを気づかせる */
  .rec-people-flow { margin-left: var(--container-pad); margin-top: var(--s6); padding-bottom: 28px; }
  .rec-person { flex-basis: 58vw; width: 58vw; margin-right: 4vw; }
  .rec-person:nth-child(even) { transform: translateY(28px); }

  /* 職種リスト：横並びをやめ、サムネを右上に浮かせて本文は全幅（参考サイトのSP構造）
     ※テキスト列を潰さないための構造変更。番号丸はeyebrow行にインライン復帰。 */
  .rjl-row { display: block; position: relative; padding: 28px 0 30px; }
  .rjl-figure { position: absolute; top: 28px; right: 0; flex: none; width: 104px; height: 67px; border-radius: var(--radius-card); }
  .rjl-body { margin-left: 0; padding-top: 0; }
  .rjl-line { margin-left: 0; gap: 10px; padding-right: 120px; }  /* サムネを避ける */
  .rjl-num { flex: 0 0 32px; width: 32px; height: 32px; font-size: 11px; }
  .rjl-en { font-size: 12px; }
  .rjl-title { margin-top: 10px; padding-right: 120px; font-size: 20px; }  /* サムネを避ける */
  .rjl-txt { margin-top: 14px; max-width: none; font-size: 13px; line-height: 1.85; }
  .rjl-go { display: flex; justify-content: flex-end; margin: 16px 0 0; font-size: 12.5px; }
  .rec-hero-copy { font-size: clamp(32px, 9vw, 50px); line-height: 1.34; }
  .rec-hero-sub br { display: none; }
  .rcm--2 { margin-top: 0; }
  .rec-entry-cta .btn { width: 100%; }
}

/* =========================================================
   SECTION RHYTHM（色認識の余白設計）
   異色境界＝各150px（合計300px）／同色連続＝合計150px（各75px）
   sec-paper=shiroyu / sec-kinari=kinari
   ========================================================= */
:root {
  --sec-pad: 150px;       /* 異色境界での各セクション padding */
  --sec-pad-same: 75px;   /* 同色連続境界の各セクション padding（合計150px） */
}

/* 既定：各セクション上下150px（＝異色境界・端の既定） */
body.recruit .section { padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }

/* 上隣が同色 → 上paddingを詰める */
body.recruit .sec-paper  + .sec-paper,
body.recruit .sec-kinari + .sec-kinari { padding-top: var(--sec-pad-same); }

/* 下隣が同色 → 下paddingを詰める */
body.recruit .sec-paper:has(+ .sec-paper),
body.recruit .sec-kinari:has(+ .sec-kinari) { padding-bottom: var(--sec-pad-same); }

@media (max-width: 767px) {
  /* --footer-arc：横幅が狭いとアーチが急峻になるので浅くする */
  :root { --sec-pad: 88px; --sec-pad-same: 44px; --entry-overlap-radius: 32px; --footer-arc: 40px; }
  /* ※段組み・grid-area は 1024 側で定義済み。ここはサイズだけ詰める */
  .footer-cta { padding-bottom: var(--s6); }
  .footer-cta-btn { width: 52px; height: 52px; }
  .footer-cta-btn::before { width: 20px; }
  .footer-nav { gap: var(--s3) var(--s4); }
}

/* =========================================================
   RECRUIT SUBPAGES — 下層4ページ
   environment / people / interview / recruit
   ========================================================= */

/* 導入リード（各ページ先頭） */
.page-intro { max-width: 900px; }
.page-intro .section-title { margin-bottom: var(--s4); }
.page-intro .rec-lead { margin: 0 0 var(--s3); }

/* 注記バナー（※素材イメージ等） */
.note-banner { display: flex; gap: 12px; align-items: flex-start; background: var(--kinari); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 15px 20px; font-size: 12.5px; line-height: 1.95; color: var(--hai); max-width: 900px; margin-top: var(--s5); }
.note-banner::before { content: "i"; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--cacao); color: #fff; font-family: var(--font-en-serif); font-style: italic; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.note-banner b { color: var(--cacao); font-weight: 600; }

/* 交互の詳細ブロック（環境 deep） */
.detail { display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--s8); align-items: center; }
.detail + .detail { margin-top: var(--s9); }
.detail--rev .detail-media { order: 2; }
.detail-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 22px 54px rgba(43,32,24,.16); aspect-ratio: 4/3; }
.detail-media::after { content: ""; position: absolute; right: -16px; bottom: -16px; width: 46%; height: 40%; border: 1px solid var(--kiwa); border-radius: var(--radius-card); z-index: -1; }
.detail--rev .detail-media::after { right: auto; left: -16px; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.detail:hover .detail-media img { transform: scale(1.05); }
.detail-no { font-family: var(--font-en-serif); font-style: italic; font-size: 30px; color: var(--kiwa); opacity: .6; }
.detail-title { font-family: var(--font-jp-sans); font-weight: 600; font-size: clamp(22px, 3vw, 32px); color: var(--sumi); line-height: 1.5; margin: 2px 0 var(--s3); }
.detail-en { font-family: var(--font-en-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--hai); margin-bottom: var(--s4); }
.detail-lead { font-family: var(--font-jp-sans); font-weight: 300; font-size: 16px; line-height: 2.05; color: var(--sumi); margin: 0 0 40px 0; }  /* #6146 太さ400→300・下margin16→40 */
.detail-body { font-size: 14px; line-height: 2.1; color: var(--sumi-soft); margin-bottom: var(--s4); }
.detail-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--s5); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.detail-point { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.85; color: var(--sumi-soft); }
.detail-point::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--kiwa); }
.detail-cta { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s5); }

/* 比較カード（環境比較・向いている人） */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.compare-card { background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6) var(--s5); display: flex; flex-direction: column; transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.compare-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(43,32,24,.12); }
.compare-tag { display: inline-block; align-self: flex-start; font-family: var(--font-en-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--kiwa-dark); border: 1px solid var(--kiwa); border-radius: 0 var(--radius-full) var(--radius-full) var(--radius-full); padding: 5px 15px; margin-bottom: var(--s4); }
.compare-name { font-family: var(--font-jp-sans); font-weight: 600; font-size: 21px; color: var(--sumi); margin-bottom: var(--s2); }
.compare-lead { font-size: 13.5px; line-height: 1.95; color: var(--sumi-soft); margin-bottom: var(--s4); }
.compare-card h4 { font-family: var(--font-en-serif); font-style: italic; font-size: 14px; color: var(--kiwa); margin-bottom: 8px; }
.compare-fit { display: flex; flex-direction: column; gap: 6px; }
.compare-fit li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.8; color: var(--sumi-soft); }
.compare-fit li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--berry-soft); }

/* 1日の流れ（職種別タイムライン） */
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); align-items: start; }
.day-col { background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6) var(--s5); }
.day-col-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--s5); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.day-col-en { font-family: var(--font-en-serif); font-style: italic; font-size: 15px; color: var(--kiwa); }
.day-col-name { font-family: var(--font-jp-sans); font-weight: 600; font-size: 19px; color: var(--sumi); }
.timeline { position: relative; }
.timeline li { position: relative; padding: 0 0 var(--s5) var(--s6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: -2px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--kiwa); background: var(--kami); }
.tl-time { font-family: var(--font-en-sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--kiwa-dark); }
.tl-title { font-family: var(--font-jp-sans); font-weight: 500; font-size: 15px; color: var(--sumi); margin: 1px 0 2px; }
.tl-desc { font-size: 12.5px; line-height: 1.85; color: var(--hai); }

/* 働く人（people：職種ブロック＋人物カード） */
.people-block + .people-block { margin-top: var(--s8); }
.people-block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: var(--s5); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.people-block-en { font-family: var(--font-en-serif); font-style: italic; font-size: 20px; color: var(--kiwa); }
.people-block-title { font-family: var(--font-jp-sans); font-weight: 600; font-size: 24px; color: var(--sumi); }
.people-block-count { margin-left: auto; font-size: 12.5px; color: var(--hai); letter-spacing: .04em; }
.person-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.person-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
.person-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
.person-card { display: flex; flex-direction: column; }
.person-card .ph { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-card); box-shadow: 0 14px 34px rgba(43,32,24,.12); margin-bottom: var(--s3); }
.person-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
/* 2026-09-01：インタビュー非表示に伴い、人物カードはリンクではなくなった。
   ホバーで寄る動きは「押せる」誤解を招くので止める。カード末尾の余白も詰める。 */
.person-card .person-pos:last-child { margin-bottom: 0; }
.person-tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-family: var(--font-en-sans); font-size: 10px; font-weight: 600; letter-spacing: .12em; color: #fff; background: rgba(43,32,24,.7); backdrop-filter: blur(4px); border-radius: var(--radius-full); padding: 4px 12px; }
.person-name { font-family: var(--font-jp-sans); font-weight: 600; font-size: 18px; color: var(--sumi); }
.person-name small { font-family: var(--font-en-sans); font-weight: 400; font-size: 11px; letter-spacing: .1em; color: var(--hai); margin-left: 8px; }
.person-pos { font-size: 12.5px; line-height: 1.85; color: var(--hai); margin: 4px 0 var(--s3); flex: 1; }
.person-card .link-arrow { font-size: 12px; }

/* インタビュー */
.iv-nav { position: sticky; top: 64px; z-index: 50; background: rgba(251,247,241,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.iv-nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 13px 0; }
.iv-nav-group { font-family: var(--font-en-serif); font-style: italic; font-size: 13px; color: var(--kiwa); margin: 0 2px 0 6px; }
.iv-nav-group:first-child { margin-left: 0; }
.iv-nav a { padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-full); font-size: 12px; letter-spacing: .04em; color: var(--sumi-soft); background: var(--kami); transition: background .3s var(--ease), color .3s, border-color .3s, transform .35s var(--ease-soft); }
.iv-nav a:hover { border-color: var(--kiwa); color: var(--kiwa-dark); transform: translateY(-2px); }
.iv-nav a.is-active { background: var(--cacao); color: #fff; border-color: var(--cacao); }

.iv-person { display: grid; grid-template-columns: minmax(280px, 350px) 1fr; gap: var(--s8); align-items: start; scroll-margin-top: calc(var(--header-h) + 70px); }
.iv-person + .iv-person { margin-top: var(--s8); padding-top: var(--s8); border-top: 1px solid var(--line); }
.iv-aside { position: sticky; top: calc(var(--header-h) + 78px); }
.iv-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 20px 48px rgba(43,32,24,.16); margin-bottom: var(--s4); }
.iv-photo img { width: 100%; height: 100%; object-fit: cover; }
.iv-role-tag { display: inline-block; font-family: var(--font-en-sans); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--kiwa-dark); border: 1px solid var(--kiwa); border-radius: 0 var(--radius-full) var(--radius-full) var(--radius-full); padding: 4px 13px; margin-bottom: var(--s2); }
.iv-name { font-family: var(--font-jp-sans); font-weight: 400; font-size: 26px; color: var(--sumi); line-height: 1.4; }
.iv-name small { display: block; font-family: var(--font-en-serif); font-style: italic; font-size: 14px; color: var(--kiwa); margin-top: 4px; }
.iv-pos { font-size: 12.5px; line-height: 1.9; color: var(--hai); margin-top: var(--s2); }
.iv-body { min-width: 0; }
.iv-qa + .iv-qa { margin-top: var(--s6); }
.iv-q { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.iv-q-en { flex: 0 0 auto; font-family: var(--font-en-serif); font-style: italic; font-size: 14px; color: var(--kiwa); }
.iv-q-jp { font-family: var(--font-jp-sans); font-weight: 600; font-size: 17px; color: var(--sumi); line-height: 1.5; }
.iv-a { font-size: 14.5px; line-height: 2.15; color: var(--sumi-soft); }
/* 1日の流れ（インタビュー内）＝ /people/ の .timeline を再利用した縦タイムライン（2026-08-21 中村指示・参考デザイン準拠） */
.iv-day { margin-top: var(--s6); }
.iv-day .iv-q { margin-bottom: var(--s4); }
.timeline--iv li { padding: 0 0 var(--s5) 32px; }
.timeline--iv li::before { left: 5px; top: 20px; bottom: -6px; }
.timeline--iv li::after { left: 0; top: 7px; width: 11px; height: 11px; border: 0; background: var(--kiwa); }
.timeline--iv .tl-time { font-size: 13px; letter-spacing: .08em; }
.timeline--iv .tl-title { font-size: 17px; font-weight: 600; margin: 2px 0 5px; }
.timeline--iv .tl-desc { font-size: 13.5px; line-height: 1.9; }
/* 「応募を考えている方へ」＝左（写真）に向いた吹き出し（2026-08-21 中村指示）。
   淡色の座布団＋左の色罫（コールアウト）は使わない＝白地＋薄い外線1本、尾も外線で描く */
.iv-msg { position: relative; background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s5); margin-top: var(--s6); }
/* 尾＝45°回した正方形の、外に出る2辺だけに枠を出す（border三角の2枚重ねは先端に枠が乗らない）。
   left/top の -9px ＝ 枠1px + 一辺16pxの半分＝正方形の中心を本体の枠線の上に置く値 */
.iv-msg::after { content: ""; position: absolute; width: 16px; height: 16px; background: var(--kami); transform: rotate(45deg);
  top: 32px; left: -9px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.iv-msg .iv-msg-label { font-family: var(--font-jp-sans); font-style: normal; font-size: 12px; letter-spacing: .14em; color: var(--hai); margin-bottom: 10px; }
.iv-msg p { font-family: var(--font-jp-sans); font-size: 15.5px; line-height: 1.95; color: var(--sumi); }

/* 募集要項（recruit） */
.rjob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.rjob-card { display: flex; flex-direction: column; background: var(--kami); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6) var(--s5); transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .3s; }
.rjob-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(43,32,24,.14); border-color: var(--kiwa); }
.rjob-tag { display: inline-block; align-self: flex-start; font-family: var(--font-en-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--kiwa-dark); border: 1px solid var(--kiwa); border-radius: 0 var(--radius-full) var(--radius-full) var(--radius-full); padding: 5px 15px; margin-bottom: var(--s4); }
.rjob-name { font-family: var(--font-jp-sans); font-weight: 600; font-size: 22px; color: var(--sumi); margin-bottom: var(--s2); }
.rjob-en { font-family: var(--font-en-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--hai); margin-bottom: var(--s4); }
.rjob-meta { margin-bottom: var(--s4); }
/* websupport #9122：文字サイズ18px＋下線（同カード内の他のdtも共通） */
.rjob-meta dt { font-family: var(--font-jp-sans); font-style: normal; font-weight: 600; font-size: 18px; color: var(--kiwa-dark); text-decoration: underline; text-decoration-color: var(--kiwa); text-decoration-thickness: 1px; text-underline-offset: 6px; margin-bottom: 12px; }
.rjob-meta dd { font-size: 14px; line-height: 1.95; color: var(--sumi-soft); margin: 0 0 var(--s4); }
.rjob-meta dd:last-of-type { margin-bottom: 0; }
.rjob-card .rec-recruit-go { margin-top: auto; }

/* 職種ごとの詳細（spec） */
.spec { display: grid; grid-template-columns: minmax(220px, .72fr) 2fr; gap: var(--s5) var(--s8); align-items: start; }
.spec + .spec { margin-top: var(--s8); padding-top: var(--s8); border-top: 1px solid var(--line); }
.spec-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.spec-tag { display: inline-block; font-family: var(--font-en-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--kiwa-dark); border: 1px solid var(--kiwa); border-radius: 0 var(--radius-full) var(--radius-full) var(--radius-full); padding: 5px 15px; margin-bottom: var(--s3); }
.spec-name { font-family: var(--font-jp-sans); font-weight: 600; font-size: 26px; color: var(--sumi); line-height: 1.4; }
.spec-en { font-family: var(--font-en-serif); font-style: italic; font-size: 15px; color: var(--kiwa); margin-top: 4px; }
.spec-list dl { margin: 0; }
.spec-row { display: grid; grid-template-columns: 170px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.spec-row:first-child { padding-top: 0; }
.spec-row dt { font-family: var(--font-jp-sans); font-weight: 600; font-size: 14px; color: var(--sumi); }
.spec-row dd { font-size: 14px; line-height: 2.05; color: var(--sumi-soft); margin: 0; }
.spec-foot { margin-top: var(--s5); }

/* Airワーク注記（募集要項補足） */
.airwork-note { background: var(--kinari); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5) var(--s6); font-size: 13px; line-height: 2; color: var(--sumi-soft); }
.airwork-note b { color: var(--cacao); font-weight: 600; }

/* サブページ Responsive */
@media (max-width: 1024px) {
  .detail { grid-template-columns: 1fr; gap: var(--s5); }
  .detail--rev .detail-media { order: -1; }
  .detail-media::after { display: none; }
  .compare-grid, .day-grid, .rjob-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .person-grid, .person-grid--3, .person-grid--2 { grid-template-columns: 1fr 1fr; max-width: none; }
  .iv-person { grid-template-columns: 1fr; gap: var(--s5); }
  .iv-aside { position: static; max-width: 320px; }
  /* 1カラムでは写真が上に来る＝吹き出しの尾も上向きにする（rotate(45deg)は時計回り＝上に出るのはTL角） */
  .iv-msg::after { top: -9px; left: 34px; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    border-bottom: 0; }
  .iv-day { margin-top: var(--s5); }
  .spec { grid-template-columns: 1fr; gap: var(--s4); }
  .spec-aside { position: static; }
}
@media (max-width: 767px) {
  .person-grid, .person-grid--3, .person-grid--2 { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .detail-points { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}

/* サブページ：現在地ナビ */
.global-nav a[aria-current="page"] .nav-en { color: var(--kiwa); }
.site-header .global-nav a[aria-current="page"]::after { width: 100%; }

/* =========================================================
   websupport #6081-6093 反映：トップページの見出し個別サイズ調整
   （中村の要素調整ツール指定。各「この要素だけ」＝セクションIDでスコープし共有クラスに波及させない）
   ========================================================= */
#concept .section-eyebrow { font-size: 30px; }
#concept .section-title  { font-size: 50px; line-height: 1.4; }   /* lh 45.5→70 ≒ ×1.4 */
#jobs .section-eyebrow { font-size: 80px; }
#jobs .section-title  { font-size: 20px; }
#environment .section-eyebrow { font-size: 30px; }
#environment .section-title  { font-size: 50px; }
#people .section-eyebrow { font-size: 30px; }
#people .section-title  { font-size: 50px; }
#people .section-note { font-size: 15px; }
#recruit .section-eyebrow { font-size: 70px; }
#recruit .section-title  { font-size: 20px; }
#recruit .section-note { font-size: 15px; }
/* #6093 フッターのタグライン（全ページ同一要素） */
.footer-cta-text { font-size: 15px; text-align: right; }

/* SP：指定px（両方）のうち、JP見出し50pxはSP幅で溢れるため縮小（PCは指定どおり／intentの「大きく」は維持） */
@media (max-width: 767px) {
  #concept .section-title,
  #environment .section-title,
  #people .section-title { font-size: 30px; line-height: 1.5; }
}

/* =========================================================
   websupport #6129-6134 反映：全ページ共通クラスの見出し（「クラス全体に・全ページ」指定）
   ※トップの個別指定(#6081-6093)は #id スコープの高詳細度で上書き維持／主に下層ページに効く
   ========================================================= */
.section-eyebrow { font-size: 20px; }                                                        /* #6133 44→20 */
.section-title  { font-weight: 300; font-size: clamp(30px, 5.2vw, 50px); line-height: 1.4; } /* #6132 →50 / 400→300 / lh40→70(≒×1.4) */
.page-head-title { font-size: 20px; }                                                        /* #6129 28→20 */
.detail-title   { font-weight: 300; font-size: clamp(28px, 4.2vw, 40px); line-height: 1.5; } /* #6134 32→40 / 600→300 / lh48→60(≒×1.5) */

/* 下層ヒーローの縦書きパンくずがSPで右に約9px溢れる（7/17の下層ヒーロー由来）→ 写真幅を詰めて是正 */
@media (max-width: 767px) {
  .page-head-media { grid-template-columns: 86% 1fr; }
  .breadcrumb { padding-left: 8px; }
}

/* =========================================================
   SPモバイル点検の是正（2026-07-18）
   ========================================================= */
/* ① Entryタイトルの「。」行頭孤立を防ぐ（body既定 keep-all/anywhere を上書き。PCは<br>で1行＝影響なし） */
.rec-entry-title { word-break: normal; overflow-wrap: normal; }

@media (max-width: 767px) {
  /* ② Peopleの役割グループ見出し：ENが単語途中で折れ・「◯名」が縦潰れ
     → ENを独立1行に、タイトルとカウントを次行で左右に振り分ける */
  .people-block-head { flex-wrap: wrap; }
  .people-block-en { flex: 0 0 100%; }
  .people-block-title { word-break: normal; overflow-wrap: normal; }  /* 「ち」孤立も防止 */
  /* ③ 右レールのラベルを僅かに拡大（9→10px・可読性） */
  .rail-label { font-size: 10px; }
}
