@charset "UTF-8";
/* =============================================================
   株式会社JAMS九州 コーポレートサイト
   Calm / minimal / natural design  —  MUJI-inspired  (2026)
   ============================================================= */

:root {
  /* palette — muted, warm, natural */
  --paper: #f4f1ea;      /* warm off-white base */
  --paper-2: #ece7db;    /* soft sand */
  --white: #fbfaf6;
  --ink: #34322c;        /* warm near-black */
  --ink-soft: #706a5e;   /* muted taupe */
  --ink-faint: #a49d8c;  /* faint */
  --line: #ddd7c9;       /* hairline */
  --line-soft: #e7e2d6;
  --deep: #38352f;       /* dark warm charcoal (sections/footer) */
  --deep-2: #2b2924;
  --accent: #5b716b;     /* muted sea-teal, used sparingly */
  --accent-soft: #e4e8e4;

  --radius: 3px;
  --radius-img: 4px;
  --maxw: 1200px;
  --gut: 26px;

  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Jost", var(--font-jp);

  --ease: cubic-bezier(.33, 1, .68, 1);
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 2.05;
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: .04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.5; font-weight: 500; letter-spacing: .04em; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.container--narrow { max-width: 900px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244,241,234,.9);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .5s var(--ease); }
.site-header.is-scrolled .header-inner { height: 68px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo { width: 50px; height: 36px; flex: 0 0 auto; color: #fff; transition: color .5s var(--ease); }
.brand__logo svg { width: 100%; height: 100%; display: block; }
.site-header.is-scrolled .brand__logo { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__name { font-size: 1rem; font-weight: 500; letter-spacing: .08em; color: #fff; transition: color .5s var(--ease); white-space: nowrap; }
.brand__sub { font-family: var(--font-en); font-size: .56rem; font-weight: 400; letter-spacing: .14em; color: rgba(255,255,255,.62); transition: color .5s var(--ease); text-align: justify; text-align-last: justify; margin-top: 2px; }
.site-header.is-scrolled .brand__name { color: var(--ink); }
.site-header.is-scrolled .brand__sub { color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; color: rgba(255,255,255,.9); font-size: .84rem; font-weight: 400; letter-spacing: .14em;
  padding: 10px 16px; transition: color .3s var(--ease), opacity .3s var(--ease);
}
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: center; transition: transform .4s var(--ease); opacity: .7; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-scrolled .nav a { color: var(--ink); }
.site-header.is-scrolled .nav a:hover { color: var(--accent); }

.nav__cta { margin-left: 10px; padding: 11px 22px !important; border: 1px solid rgba(255,255,255,.55); color: #fff !important; letter-spacing: .16em; font-size: .8rem; }
.nav__cta::after { display: none; }
.nav__cta:hover { background: #fff; color: var(--ink) !important; }
.site-header.is-scrolled .nav__cta { border-color: var(--ink); color: var(--ink) !important; }
.site-header.is-scrolled .nav__cta:hover { background: var(--ink); color: var(--paper) !important; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 160; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 11px; width: 22px; height: 1px; background: #fff; transition: transform .35s var(--ease), opacity .2s, background .5s; }
.site-header.is-scrolled .nav-toggle span, .site-header.is-scrolled .nav-toggle span::before, .site-header.is-scrolled .nav-toggle span::after { background: var(--ink); }
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); background: #fff; }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); background: #fff; }

/* ---------- Buttons (minimal, squared) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; justify-content: center; position: relative;
  padding: 16px 40px; border-radius: var(--radius); font-weight: 500; font-size: .86rem; letter-spacing: .16em;
  cursor: pointer; border: 1px solid transparent; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); line-height: 1.4;
}
.btn .arw { transition: transform .4s var(--ease); font-size: .9em; }
.btn:hover .arw { transform: translateX(6px); }
.btn--primary, .btn--navy { background: var(--ink); color: var(--paper); }
.btn--primary:hover, .btn--navy:hover { background: var(--deep-2); color: var(--white); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.95); color: var(--ink); border-color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--lg { padding: 18px 46px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--font-en);
  color: var(--ink-soft); font-weight: 400; font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
}
.eyebrow::after { content: ""; width: 1px; height: 30px; background: var(--ink-faint); }
.section-head--left .eyebrow { align-items: flex-start; }
.section--deep .eyebrow, .hero .eyebrow, .band .eyebrow, .page-hero .eyebrow { color: rgba(255,255,255,.75); }
.section--deep .eyebrow::after, .hero .eyebrow::after, .band .eyebrow::after { background: rgba(255,255,255,.5); }

.section-title { font-family: var(--font-min); font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--ink); letter-spacing: .08em; font-weight: 500; line-height: 1.6; }
.section--deep .section-title { color: var(--white); }
.section-lead { margin-top: 26px; color: var(--ink-soft); font-size: .96rem; line-height: 2.1; }
.section--deep .section-lead { color: rgba(255,255,255,.75); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,28,24,.62) 0%, rgba(30,28,24,.12) 42%, rgba(30,28,24,.18) 100%); }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }

.hero__inner { position: relative; z-index: 2; padding: 0 0 12vh; width: 100%; }
.hero__eyebrow { align-items: flex-start; margin-bottom: 30px; }
.hero__eyebrow.eyebrow::after { align-self: flex-start; }
.hero h1 { font-family: var(--font-min); font-size: clamp(1.9rem, 5vw, 3.5rem); font-weight: 500; letter-spacing: .1em; line-height: 1.7; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 .accent { position: relative; }
.hero__lead { font-size: clamp(.95rem, 1.6vw, 1.06rem); font-weight: 400; margin: 30px 0 42px; max-width: 540px; color: rgba(255,255,255,.9); line-height: 2.1; text-shadow: 0 1px 16px rgba(0,0,0,.3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__side { position: absolute; right: var(--gut); bottom: 12vh; z-index: 2; writing-mode: vertical-rl; font-family: var(--font-en); font-size: .66rem; letter-spacing: .35em; color: rgba(255,255,255,.55); }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-family: var(--font-en); font-size: .6rem; letter-spacing: .3em; }
.scroll-cue span { width: 1px; height: 54px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; top: -60%; left: 0; width: 1px; height: 60%; background: #fff; animation: scrolldot 2.4s var(--ease) infinite; }
@keyframes scrolldot { 0% { top: -60%; } 70%, 100% { top: 100%; } }

/* text entrance */
.hero .up { opacity: 0; transform: translateY(22px); animation: up 1.2s var(--ease) forwards; }
.hero .up.d1 { animation-delay: .2s; }
.hero .up.d2 { animation-delay: .42s; }
.hero .up.d3 { animation-delay: .64s; }
.hero .up.d4 { animation-delay: .84s; }
@keyframes up { to { opacity: 1; transform: none; } }

/* ---------- Section ---------- */
.section { padding: 140px 0; position: relative; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--sand { background: var(--white); }   /* alias for alternation */
.section--tint { background: var(--paper-2); }
.section--deep { background: var(--deep); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 76px; text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Feature (editorial split) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.feature + .feature { margin-top: 140px; }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; overflow: hidden; border-radius: var(--radius-img); aspect-ratio: 4/3.2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__ghost { display: none; }
.feature__num { font-family: var(--font-en); font-weight: 400; letter-spacing: .28em; color: var(--ink-faint); font-size: .72rem; text-transform: uppercase; }
.feature__title { font-family: var(--font-min); font-size: clamp(1.35rem, 2.8vw, 1.95rem); color: var(--ink); margin: 20px 0 24px; font-weight: 500; letter-spacing: .06em; line-height: 1.7; }
.feature__text { color: var(--ink-soft); margin-bottom: 30px; font-size: .95rem; }
.feature__list { list-style: none; padding: 0; margin: 0 0 36px; border-top: 1px solid var(--line); }
.feature__list li { position: relative; padding: 15px 0 15px 26px; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.feature__list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Points ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-img); overflow: hidden; }
.point { position: relative; padding: 54px 34px; background: var(--white); text-align: center; transition: background .5s var(--ease); }
.point:hover { background: var(--paper); }
.point__icon { width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0; background: transparent; color: var(--accent); font-family: var(--font-en); font-weight: 400; border: 1px solid var(--line); }
.point--left .point__icon { margin-left: 0; margin-right: 0; }
/* emojiを上品な連番に置き換え */
.points, .grid--4 { counter-reset: pt; }
.point { counter-increment: pt; }
.point__icon::before { content: counter(pt, decimal-leading-zero); font-family: var(--font-en); font-size: 1.05rem; letter-spacing: .06em; color: var(--accent); }
.point__title { font-family: var(--font-min); color: var(--ink); font-size: 1.12rem; margin-bottom: 14px; font-weight: 500; letter-spacing: .05em; }
.point__text { color: var(--ink-soft); font-size: .88rem; margin: 0; line-height: 1.95; }
.point--left { text-align: left; }
.point--left .point__icon { margin-left: 0; }

/* points as plain cards variant (flow steps) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { text-align: center; }
.step__no { font-family: var(--font-en); font-size: .72rem; letter-spacing: .2em; color: var(--ink-faint); }
.step__title { font-family: var(--font-min); font-size: 1.08rem; color: var(--ink); margin: 10px 0 12px; font-weight: 500; }
.step__text { color: var(--ink-soft); font-size: .86rem; margin: 0; }
.step__line { width: 40px; height: 1px; background: var(--accent); margin: 16px auto 0; }

/* ---------- Cards ---------- */
.card { position: relative; background: transparent; overflow: hidden; display: flex; flex-direction: column; }
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); border-radius: var(--radius-img); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 2px 4px; flex: 1; display: flex; flex-direction: column; }
.card__title { font-family: var(--font-min); font-size: 1.16rem; color: var(--ink); margin-bottom: 12px; font-weight: 500; letter-spacing: .04em; }
.card__text { color: var(--ink-soft); font-size: .9rem; margin: 0 0 18px; }
.card__link { margin-top: auto; font-family: var(--font-en); font-weight: 400; letter-spacing: .16em; color: var(--ink); font-size: .76rem; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }
.card__link::after { content: ""; width: 26px; height: 1px; background: var(--ink); transition: width .4s var(--ease); }
.card:hover .card__link::after { width: 42px; }

/* ---------- Cars ---------- */
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.car { background: transparent; overflow: hidden; }
.car__media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); border-radius: var(--radius-img); }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.car:hover .car__media img { transform: scale(1.05); }
.car__body { padding: 20px 2px 4px; }
.car__cat { font-family: var(--font-en); font-size: .66rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); display: inline-block; margin-bottom: 12px; }
.car__name { font-family: var(--font-min); color: var(--ink); font-size: 1.08rem; margin-bottom: 8px; font-weight: 500; letter-spacing: .04em; }
.car__spec { color: var(--ink-soft); font-size: .84rem; margin: 0 0 12px; }
.car__price { color: var(--ink); font-weight: 500; font-size: .9rem; letter-spacing: .04em; }

/* ---------- Spots (image + caption below, clean) ---------- */
.spots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 40px; }
.spot { display: flex; flex-direction: column; }
.spot__media { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius-img); background: var(--paper-2); }
.spot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.spot:hover .spot__media img { transform: scale(1.05); }
.spot__body { padding: 24px 4px 0; }
.spot__tag { font-family: var(--font-en); font-size: .66rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.spot__title { font-family: var(--font-min); color: var(--ink); font-size: 1.28rem; margin: 12px 0 12px; font-weight: 500; letter-spacing: .05em; }
.spot__text { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ---------- Band (full-bleed calm image) ---------- */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; text-align: center; }
.band__bg { position: absolute; inset: -12% 0; z-index: 0; }
.band__bg img { width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(30,28,24,.34); z-index: 1; }
.band__inner { position: relative; z-index: 2; max-width: 720px; padding: 0 var(--gut); }
.band .eyebrow { align-items: center; margin: 0 auto 26px; }
.band h2 { font-family: var(--font-min); font-size: clamp(1.5rem, 3.6vw, 2.5rem); font-weight: 500; letter-spacing: .1em; line-height: 1.8; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.band p { margin: 26px auto 0; max-width: 560px; color: rgba(255,255,255,.9); font-size: .95rem; line-height: 2.1; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .eyebrow { margin: 0 auto 26px; }
.cta__title { font-family: var(--font-min); font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--ink); font-weight: 500; letter-spacing: .08em; line-height: 1.7; }
.section--deep .cta__title { color: var(--white); }
.cta__text { color: var(--ink-soft); margin: 24px auto 40px; max-width: 560px; }
.section--deep .cta__text { color: rgba(255,255,255,.75); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.section--deep .btn--line { color: #fff; border-color: rgba(255,255,255,.6); }
.section--deep .btn--line:hover { background: #fff; color: var(--ink); }

/* legacy cta-band -> calm centered block */
.cta-band { text-align: center; padding: 20px 0; }
.cta-band h2 { font-family: var(--font-min); font-size: clamp(1.5rem, 3.4vw, 2.2rem); color: var(--ink); font-weight: 500; letter-spacing: .08em; margin-bottom: 22px; line-height: 1.7; }
.section--deep .cta-band h2 { color: var(--white); }
.cta-band p { color: var(--ink-soft); margin: 0 auto 38px; max-width: 560px; }
.section--deep .cta-band p { color: rgba(255,255,255,.75); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; color: #fff; min-height: 58vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 28s ease-in-out infinite alternate; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,28,24,.6), rgba(30,28,24,.1) 55%, rgba(30,28,24,.2)); }
.page-hero__inner { position: relative; z-index: 2; padding: 0 0 60px; }
.page-hero h1 { font-family: var(--font-min); font-size: clamp(1.7rem, 4.4vw, 2.8rem); letter-spacing: .1em; font-weight: 500; line-height: 1.6; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.page-hero p { margin: 20px 0 0; color: rgba(255,255,255,.9); max-width: 620px; font-size: .96rem; }
.breadcrumb { font-family: var(--font-en); font-size: .72rem; letter-spacing: .16em; color: rgba(255,255,255,.8); margin-bottom: 22px; text-transform: uppercase; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; margin: 0 10px; }

/* ---------- Greeting (代表挨拶) ---------- */
.greeting { display: grid; grid-template-columns: 360px 1fr; gap: 70px; align-items: center; }
.portrait { margin: 0; position: relative; }
.portrait__frame { position: relative; border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 4/4.7; background: linear-gradient(168deg, var(--paper-2) 0%, #dcd6c8 100%); display: flex; align-items: flex-end; justify-content: center; }
.portrait__frame::after { content: ""; position: absolute; left: 22px; top: 22px; width: 64px; height: 64px; border-left: 1px solid var(--ink-faint); border-top: 1px solid var(--ink-faint); opacity: .6; }
.portrait__frame img { position: relative; z-index: 1; height: 92%; width: auto; max-width: 94%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 14px 26px rgba(56,53,47,.22)); }
.portrait figcaption { margin-top: 24px; text-align: center; }
.portrait .role { display: block; font-family: var(--font-en); font-size: .68rem; letter-spacing: .2em; color: var(--ink-soft); text-transform: uppercase; }
.portrait .pname { display: block; font-family: var(--font-min); font-size: 1.3rem; font-weight: 500; letter-spacing: .18em; color: var(--ink); margin-top: 8px; }
.greeting__lead { font-family: var(--font-min); font-size: clamp(1.3rem, 2.8vw, 1.9rem); color: var(--ink); margin-bottom: 30px; line-height: 1.8; font-weight: 500; letter-spacing: .06em; }
.greeting__body p { color: var(--ink); margin: 0 0 18px; font-size: .95rem; }
.greeting__sign { margin-top: 32px; color: var(--ink); line-height: 1.8; }
.greeting__sign .big { font-family: var(--font-min); font-size: 1.15rem; font-weight: 500; letter-spacing: .1em; }

/* ---------- Tables ---------- */
.profile-table, .price-table { width: 100%; border-collapse: collapse; background: transparent; }
.profile-table th, .profile-table td { padding: 24px 28px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; }
.profile-table th { width: 220px; color: var(--ink); font-weight: 500; white-space: nowrap; font-family: var(--font-min); letter-spacing: .05em; }
.profile-table td { color: var(--ink-soft); }
.profile-table tr:first-child th, .profile-table tr:first-child td { border-top: 1px solid var(--line); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Class-based pricing ---------- */
.class-list { border-top: 1px solid var(--line); }
.class-item { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; padding: 58px 0; border-bottom: 1px solid var(--line); }
.class-item__media { position: relative; border-radius: var(--radius-img); overflow: hidden; background: var(--white); aspect-ratio: 4/3; }
.class-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.class-item:hover .class-item__media img { transform: scale(1.04); }
.class-item__ref { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-en); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); background: rgba(251,250,246,.85); padding: 4px 9px; border-radius: 2px; }
.class-item__code { font-family: var(--font-en); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.class-item__name { font-family: var(--font-min); font-size: clamp(1.35rem, 2.6vw, 1.85rem); color: var(--ink); margin: 12px 0 12px; font-weight: 500; letter-spacing: .05em; }
.class-item__meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: 28px; }
.class-item__meta .cap { display: inline-block; margin-right: 18px; color: var(--ink); font-weight: 500; }

.rate { width: 100%; border-collapse: collapse; }
.rate th { font-family: var(--font-en); font-weight: 400; font-size: .68rem; letter-spacing: .06em; color: var(--ink-soft); padding: 0 10px 13px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rate td { font-family: var(--font-min); font-size: 1.2rem; color: var(--ink); padding: 18px 10px 6px; text-align: center; letter-spacing: .02em; white-space: nowrap; }
.rate th:not(:last-child), .rate td:not(:last-child) { border-right: 1px solid var(--line-soft); }
.rate .yen { font-size: .6em; color: var(--ink-soft); margin-right: 2px; vertical-align: .05em; }
.rate td b { font-weight: 500; }
.rate td i { font-style: normal; font-size: .56em; color: var(--ink-soft); margin-left: 1px; }
.rate td.none { color: var(--ink-faint); font-family: var(--font-jp); font-size: 1rem; }
.rate__foot { margin-top: 16px; font-size: .78rem; color: var(--ink-soft); letter-spacing: .03em; }

/* ---------- Rate matrix table (基本料金) ---------- */
.ratetable { width: 100%; border-collapse: collapse; min-width: 660px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-img); overflow: hidden; }
.ratetable th, .ratetable td { padding: 15px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.ratetable th:not(:last-child), .ratetable td:not(:last-child) { border-right: 1px solid var(--line-soft); }
.ratetable thead th { background: var(--paper); vertical-align: middle; }
.ratetable thead .cls { display: block; font-family: var(--font-min); font-size: 1.02rem; color: var(--ink); letter-spacing: .03em; }
.ratetable thead .ex { display: block; font-size: .68rem; color: var(--ink-soft); margin-top: 5px; }
.ratetable thead th.ratetable__corner { font-family: var(--font-en); font-size: .72rem; letter-spacing: .06em; color: var(--ink-soft); font-weight: 400; text-align: left; }
.ratetable tbody th { text-align: left; background: var(--paper); color: var(--ink); font-weight: 500; white-space: nowrap; font-size: .9rem; }
.ratetable tbody td { font-family: var(--font-min); font-size: 1.2rem; color: var(--ink); }
.ratetable tbody td b { font-weight: 500; }
.ratetable tbody td i { font-style: normal; font-size: .56em; color: var(--ink-soft); margin-left: 1px; }
.ratetable td.none { color: var(--ink-faint); font-family: var(--font-jp); font-size: 1rem; }
.ratetable__ext th, .ratetable__ext td { background: var(--paper); border-bottom: 0; }
.ratetable__ext td { font-family: var(--font-jp); font-size: .98rem; }
.ratetable__ext td span { font-size: .7em; color: var(--ink-soft); }
.rate-notes { margin-top: 24px; }
.rate-notes p { font-size: .85rem; color: var(--ink-soft); margin: 5px 0; line-height: 1.7; }
.rate-notes strong { color: var(--ink); }

/* ---------- Section tight ---------- */
.section--tight { padding-top: 96px; padding-bottom: 96px; }

/* ---------- Access appeal (駅近・送迎) ---------- */
.access-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.access-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-img); padding: 40px 38px 38px; overflow: hidden; }
.access-card--feature { border-color: var(--accent); box-shadow: 0 18px 44px rgba(56,53,47,.09); }
.access-card--feature::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--accent); }
.access-card__pill { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--accent); border-radius: 999px; padding: 6px 15px; margin-bottom: 18px; }
.access-card__pill--alt { background: var(--deep); }
.access-card__badge { display: block; font-family: var(--font-en); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.access-card__title { font-family: var(--font-min); font-weight: 500; color: var(--ink); font-size: clamp(1.3rem, 2.5vw, 1.72rem); line-height: 1.5; letter-spacing: .03em; margin-bottom: 24px; }
.access-card__title em { font-style: normal; color: var(--accent); font-weight: 600; }
.access-card__list { list-style: none; padding: 0; margin: 0; }
.access-card__list li { position: relative; padding: 14px 0 14px 20px; font-size: .93rem; line-height: 1.8; color: var(--ink-soft); border-top: 1px solid var(--line-soft); }
.access-card__list li:first-child { border-top: 0; }
.access-card__list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 9px; height: 2px; background: var(--accent); }
.access-card__list b { color: var(--ink); font-weight: 700; }

/* ---------- Business hours band ---------- */
.hours-band { margin-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-img); padding: 32px 40px; }
.hours-band__main { display: flex; align-items: center; gap: 26px; }
.hours-band__label { font-family: var(--font-min); font-size: 1.14rem; font-weight: 500; letter-spacing: .1em; color: var(--ink); white-space: nowrap; }
.hours-band__times { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hours-band__times li { display: flex; align-items: baseline; gap: 16px; }
.hours-band__times .d { font-size: .82rem; color: var(--ink-soft); min-width: 52px; letter-spacing: .06em; }
.hours-band__times .t { font-family: var(--font-min); font-size: 1.18rem; color: var(--ink); letter-spacing: .04em; }
.hours-band__note { margin: 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.85; }
.hours-band__note a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.hours-band__note strong { color: var(--ink); }
@media (max-width: 860px) {
  .hours-band { grid-template-columns: 1fr; gap: 22px; padding: 26px 24px; }
  .hours-band__main { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Pricing: poster + detail ---------- */
.price-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 52px; align-items: start; }
.price-poster { margin: 0; position: sticky; top: 96px; }
.price-poster a { display: block; border-radius: var(--radius-img); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(56,53,47,.12); background: var(--white); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.price-poster a:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(56,53,47,.18); }
.price-poster img { width: 100%; height: auto; display: block; }
.price-poster figcaption { margin-top: 14px; text-align: center; font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; }
.price-poster .zoom-ic { display: inline-block; margin-right: 6px; color: var(--accent); font-weight: 700; }
.price-detail__head { font-family: var(--font-en); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.price-detail .class-list { border-top: 1px solid var(--line); }
.price-detail .class-item { grid-template-columns: 190px 1fr; gap: 30px; padding: 34px 0; }
.price-detail .class-item__name { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 8px 0; }
.price-detail .class-item__meta { margin-bottom: 18px; }
.price-detail .rate td { font-size: 1.02rem; padding: 14px 6px 5px; }
.price-detail .rate th { padding: 0 6px 11px; }
@media (max-width: 980px) {
  .price-grid { grid-template-columns: 1fr; gap: 40px; }
  .price-poster { position: static; max-width: 600px; margin: 0 auto; }
  .access-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .price-detail .class-item { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .price-detail .class-item__media { max-width: 360px; }
  .access-card { padding: 32px 26px; }
}
.carstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.carstrip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-img); background: var(--white); border: 1px solid var(--line); }
@media (max-width: 640px) { .carstrip { grid-template-columns: repeat(2, 1fr); gap: 14px; } .ratetable tbody td { font-size: 1.02rem; } }

@media (max-width: 860px) {
  .class-item { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .class-item__media { max-width: 400px; }
  .rate td { font-size: 1.05rem; padding: 15px 6px 5px; }
}
@media (max-width: 520px) {
  .rate th { font-size: .58rem; padding: 0 3px 9px; letter-spacing: 0; }
  .rate td { font-size: .84rem; padding: 12px 3px 5px; }
  .rate .yen { font-size: .55em; }
}

/* ---------- Offices ---------- */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 40px; }
.office { background: transparent; overflow: hidden; }
.office__media { aspect-ratio: 16/9; overflow: hidden; background: var(--paper-2); border-radius: var(--radius-img); position: relative; }
.office__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.office:hover .office__media img { transform: scale(1.04); }
.office__map { display: block; width: 100%; height: 100%; position: relative; }
.office__map-badge {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251,250,246,.94); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 13px; border-radius: 999px; box-shadow: 0 3px 10px rgba(30,28,24,.16); transition: background .3s var(--ease), color .3s var(--ease);
}
.office__map-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b0674a; box-shadow: 0 0 0 2px rgba(176,103,74,.28); }
.office__map:hover .office__map-badge { background: var(--ink); color: var(--paper); }
.office__gmap { width: 100%; height: 100%; border: 0; display: block; background: var(--paper-2); }
.office__list a.gmap { color: var(--accent); font-weight: 700; }
.office__list a.gmap:hover { color: var(--ink); }
.office__body { padding: 26px 2px 0; }
.office__badge { display: inline-block; font-family: var(--font-en); font-size: .66rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.office__name { font-family: var(--font-min); color: var(--ink); font-size: 1.22rem; margin-bottom: 18px; font-weight: 500; letter-spacing: .04em; }
.office__list { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.office__list li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.office__list .lbl { color: var(--ink-faint); min-width: 76px; flex: 0 0 auto; font-size: .82rem; font-family: var(--font-en); letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.office__list a { color: var(--ink); font-weight: 500; }
.office .card__text { margin-bottom: 16px; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-img); padding: 48px; }
.field { margin-bottom: 28px; }
.field label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 11px; font-size: .9rem; letter-spacing: .06em; }
.field .req { color: var(--white); background: var(--accent); font-size: .62rem; padding: 2px 9px; border-radius: 2px; margin-left: 8px; vertical-align: middle; letter-spacing: .08em; }
.field .opt { color: var(--ink-soft); background: var(--paper-2); font-size: .62rem; padding: 2px 9px; border-radius: 2px; margin-left: 8px; vertical-align: middle; letter-spacing: .08em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--paper); transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.field textarea { min-height: 170px; resize: vertical; }
.field__hint { font-size: .82rem; color: var(--ink-soft); margin-top: 8px; }
.checkbox { display: flex; align-items: flex-start; gap: 11px; font-weight: 400 !important; color: var(--ink) !important; }
.checkbox input { width: auto; margin-top: 7px; }
.form__note { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.form-status { margin-top: 22px; padding: 15px 18px; border-radius: var(--radius); font-size: .93rem; display: none; }
.form-status.is-error { display: block; background: #f6ece7; color: #9c4a2f; border: 1px solid #e6cbbd; }
.form-status.is-success { display: block; background: #e9efe9; color: #47624e; border: 1px solid #cbdccb; }
.form-status.is-loading { display: block; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }

.contact-aside { background: var(--deep); color: #fff; border-radius: var(--radius-img); padding: 44px; position: relative; overflow: hidden; }
.contact-aside h3 { font-family: var(--font-min); font-size: 1.24rem; margin-bottom: 12px; font-weight: 500; letter-spacing: .06em; }
.contact-aside p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0 0 26px; }
.contact-aside .tel-block { border-top: 1px solid rgba(255,255,255,.16); padding-top: 22px; margin-top: 22px; }
.contact-aside .tel-block .lbl { font-family: var(--font-en); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.contact-aside .tel-block .num { font-size: 1.5rem; font-weight: 500; color: #fff; letter-spacing: .04em; }
.contact-aside .tel-block .hours { margin: 8px 0 0; color: #fff; font-size: 1.02rem; line-height: 1.7; letter-spacing: .04em; }
.contact-aside .tel-block .note { margin: 6px 0 0; color: rgba(255,255,255,.6); font-size: .82rem; letter-spacing: .03em; line-height: 1.7; }
.contact-aside .tel-block .addr { margin: 10px 0 0; color: rgba(255,255,255,.85); font-size: .92rem; line-height: 1.65; }
.contact-aside .tel-block .addr:first-of-type { margin-top: 6px; }
.contact-aside .tel-block .addr b { color: #fff; font-weight: 500; font-size: .82rem; letter-spacing: .02em; }

/* ---------- Callout ---------- */
.callout { background: var(--white); border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: var(--radius); padding: 22px 26px; color: var(--ink); font-size: .92rem; }
.callout strong { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.66); padding: 96px 0 34px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; margin-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 6px; }
.footer-logo .brand__logo { width: 47px; height: 34px; flex: 0 0 auto; color: #fff; }
.footer-logo .brand__logo svg { width: 100%; height: 100%; display: block; }
.footer-brand .brand__name { color: #fff; font-family: var(--font-min); font-size: 1.1rem; letter-spacing: .1em; }
.footer-brand p { margin: 20px 0 0; color: rgba(255,255,255,.55); font-size: .86rem; max-width: 360px; line-height: 2; }
.footer-col h4 { color: rgba(255,255,255,.9); font-size: .72rem; font-family: var(--font-en); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; font-weight: 400; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 13px; }
.footer-col a { color: rgba(255,255,255,.66); }
.footer-col a:hover { color: #fff; }
.footer-tel .num { color: #fff; font-size: 1.24rem; font-weight: 500; display: block; margin-top: 4px; letter-spacing: .03em; }
.footer-tel .foot-hours { margin-top: 20px; color: rgba(255,255,255,.62); }
.footer-tel .ft-t { display: block; color: #fff; font-size: .95rem; margin-top: 5px; letter-spacing: .03em; }
.footer-tel .ft-note { display: block; color: rgba(255,255,255,.45); font-size: .74rem; margin-top: 5px; letter-spacing: .04em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,.45); font-size: .76rem; font-family: var(--font-en); letter-spacing: .06em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.grid--2 > .reveal:nth-child(2), .grid--3 > .reveal:nth-child(2), .cars > .reveal:nth-child(2), .spots > .reveal:nth-child(2), .offices > .reveal:nth-child(2), .grid--4 > .reveal:nth-child(2) { transition-delay: .14s; }
.grid--3 > .reveal:nth-child(3), .cars > .reveal:nth-child(3), .grid--4 > .reveal:nth-child(3) { transition-delay: .28s; }
.cars > .reveal:nth-child(4), .grid--4 > .reveal:nth-child(4), .spots > .reveal:nth-child(4) { transition-delay: .42s; }
.cars > .reveal:nth-child(5) { transition-delay: .14s; }
.cars > .reveal:nth-child(6) { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__bg img, .page-hero__bg img { animation: none; }
  .hero .up { opacity: 1; transform: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 44px; }
.mt-52 { margin-top: 64px; }
.lead-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .feature, .form-wrap { grid-template-columns: 1fr; gap: 44px; }
  .feature--rev .feature__media { order: 0; }
  .grid--3, .grid--4, .cars { grid-template-columns: repeat(2, 1fr); }
  .points, .steps { grid-template-columns: repeat(2, 1fr); }
  .spots, .offices { grid-template-columns: 1fr; }
  .greeting { grid-template-columns: 280px 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-table th { width: 160px; }
  .section { padding: 100px 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(84vw, 380px); flex-direction: column; align-items: stretch; justify-content: center; background: var(--deep); padding: 100px 40px 44px; gap: 2px; transform: translateX(105%); transition: transform .55s var(--ease); }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: 18px 4px; color: rgba(255,255,255,.9); font-size: .98rem; letter-spacing: .14em; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a::after { display: none; }
  .site-header.is-scrolled .nav a { color: rgba(255,255,255,.9); }
  .nav__cta { margin: 24px 0 0; text-align: center; border-color: rgba(255,255,255,.5); color: #fff !important; }
  .site-header.is-scrolled .nav__cta { border-color: rgba(255,255,255,.5); color: #fff !important; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(30,28,24,.5); z-index: 140; }
}

@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .grid--3, .grid--4, .cars, .points, .steps, .grid--2 { grid-template-columns: 1fr; }
  .points { gap: 1px; }
  .greeting { grid-template-columns: 1fr; gap: 34px; }
  .portrait__frame { max-width: 300px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__side { display: none; }
  .form { padding: 28px; }
  .contact-aside { padding: 30px; }
  .band { min-height: 62vh; }
  .hero__actions .btn, .cta-actions .btn { width: 100%; }
}
