/* ==========================================================================
   aora株式会社 コーポレートサイト v2 — style.css
   カラー・書体は会社資料「Pucre v1.0」から。
   ========================================================================== */

:root {
  --deep: #07966a;      /* ディープグリーン：ファーストビュー・Contact・Education カード */
  --forest: #2f7e68;    /* フォレスト：ボタン・強調 */
  --dark: #3c6f50;      /* 見出しの緑・フッター */
  --circle: #006841;    /* キャラクターの丸 */
  --lime: #91dd3c;      /* アプリアイコンの色（アイコン以外では使わない） */
  --teal: #00ada1;      /* ロゴのティール */
  --link: #147b9a;      /* リンク色 */
  --tile: #c9d2d9;      /* 枠線・タイル */
  --band: #f4f6f5;      /* 薄グレーの帯 */
  --chip: #e6ebee;      /* チップ背景 */
  --red: #c0504e;       /* 「いつも通り」枠 */
  --yellow: #ffed00;    /* マーカー */
  --ink: #111111;
  --muted: #555555;
  --white: #ffffff;

  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-en: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --container: 1152px;
  --gutter: 20px;
  --radius-card: 28px;
  --radius-tile: 16px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--teal); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section--band { background: var(--band); }
.section-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.section-head__en { font-family: var(--font-en); font-weight: 700; font-size: 56px; line-height: 1; color: var(--dark); letter-spacing: 0.01em; }
.section-head__ja { font-size: 18px; font-weight: 700; }
.eyebrow { font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: 0.2em; color: var(--forest); text-transform: uppercase; }

/* ---------- buttons / chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none;
  cursor: pointer; transition: filter .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn--forest { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn--forest:hover { color: var(--white); }
.btn--white { background: var(--white); color: var(--deep); border-color: var(--white); }
.btn--white:hover { color: var(--deep); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { color: var(--forest); background: rgba(47, 126, 104, .06); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { color: var(--white); }
.btn--black { background: var(--ink); color: var(--white); border-color: var(--ink); font-family: var(--font-en); font-weight: 600; }
.btn--black:hover { color: var(--white); }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.chip--gray { background: var(--chip); color: var(--ink); }
.chip--white { background: var(--white); color: var(--deep); }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; height: 88px; }
.site-header--solid { position: static; background: var(--white); border-bottom: 1px solid var(--tile); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; font-family: var(--font-en); font-weight: 600; font-size: 17px; letter-spacing: 0.04em; }
.nav a { color: var(--white); text-decoration: none; }
.nav a:hover { opacity: .85; }
.nav a.nav__cta { background: var(--white); color: var(--deep); border-radius: 999px; padding: 10px 24px; }
.site-header--solid .nav a { color: var(--dark); }
.site-header--solid .nav a.nav__cta { background: var(--forest); color: var(--white); }
.site-header--solid .nav a.is-current { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--white); background: transparent; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nav-toggle svg { stroke: var(--white); }
.site-header--solid .nav-toggle { border-color: var(--dark); }
.site-header--solid .nav-toggle svg { stroke: var(--dark); }

/* ---------- hero (案B) ---------- */
.hero { position: relative; height: 800px; background: var(--deep); color: var(--white); overflow: hidden; }
.hero__photo { position: absolute; object-fit: cover; }
.hero__photo--1 { left: 0; top: 120px; width: 300px; height: 200px; opacity: .45; }
.hero__photo--2 { left: 236px; top: 0; width: 220px; height: 240px; opacity: .45; }
.hero__photo--3 { left: 380px; top: 168px; width: 640px; height: 420px; opacity: .6; }
.hero__photo--4 { right: 80px; bottom: 150px; width: 240px; height: 200px; opacity: .5; }
.hero__photo--5 { right: 40px; top: 60px; width: 200px; height: 320px; opacity: .4; }
.hero__inner { position: relative; height: 100%; }
.hero__copy { position: absolute; left: var(--gutter); bottom: 72px; display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-family: var(--font-serif); font-weight: 500; font-size: 56px; line-height: 1.5; letter-spacing: 0.2em; color: var(--white); }
.hero__brand { display: flex; align-items: center; gap: 20px; }
.hero__brand img { width: 150px; height: auto; }
.hero__brand span { font-family: var(--font-en); font-size: 14px; letter-spacing: 0.1em; }
.hero__vertical { position: absolute; right: 0; top: 100px; margin: 0; writing-mode: vertical-rl; font-family: var(--font-en); font-weight: 600; font-size: 22px; letter-spacing: 0.18em; opacity: .85; }
/* スクロール誘導：縦組みの SCROLL ＋ 丸枠の矢印（ハンバーガーボタンと同じ 1.5px の白い丸） */
.hero__scroll { position: absolute; right: var(--gutter); bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.hero__scroll:hover, .hero__scroll:focus-visible { color: var(--white); }
.hero__scroll-label { writing-mode: vertical-rl; font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; opacity: .9; }
.hero__scroll-ring { width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .85); display: flex; align-items: center; justify-content: center; transition: background-color .2s ease, border-color .2s ease; }
.hero__scroll-ring svg { stroke: var(--white); animation: hero-scroll-bob 1.8s ease-in-out infinite; transition: stroke .2s ease; }
.hero__scroll:hover .hero__scroll-ring, .hero__scroll:focus-visible .hero__scroll-ring { background: var(--white); border-color: var(--white); }
.hero__scroll:hover .hero__scroll-ring svg, .hero__scroll:focus-visible .hero__scroll-ring svg { stroke: var(--deep); }
.hero__scroll:focus-visible { outline: 2px solid var(--white); outline-offset: 6px; border-radius: 999px; }
@keyframes hero-scroll-bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll-ring svg { animation: none; } }

/* ---------- hello ---------- */
.hello { padding-top: 88px; }
.hello__grid { display: flex; gap: 56px; align-items: flex-start; }
.hello__text { width: 596px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.hello__lead { font-family: var(--font-en); font-weight: 700; font-size: 40px; line-height: 1.15; color: var(--dark); }
.hello__heading { font-size: 26px; line-height: 1.7; font-weight: 700; }
.hello__body { font-size: 16px; line-height: 2; }
.hello__photos { flex-grow: 1; height: 400px; display: flex; gap: 12px; }
.hello__photos img { object-fit: cover; border-radius: 20px; }
.hello__photos-tall { width: 208px; height: 400px; }
.hello__photos-col { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.hello__photos-col img { width: 100%; height: 194px; }
.hello__note { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--tile); font-size: 13px; line-height: 1.8; color: var(--muted); }

/* パートナーロゴ（右から左へ流れるマーキー） */
.partners { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--tile); }
.partners__label { font-size: 13px; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 56s linear infinite; will-change: transform; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 60px; padding-right: 60px; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* 各ロゴは面積がほぼ同じになるよう、幅を個別指定（--w）。縦横比はそのまま */
.logo img { width: var(--w, 120px); height: auto; display: block; }
.logo--emblem img { width: var(--w, 40px); }
.logo__name { font-size: 15px; font-weight: 700; color: #333; white-space: nowrap; letter-spacing: 0.02em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

/* ---------- product ---------- */
.cards { display: flex; gap: 32px; }
.card { flex: 1 1 0; background: var(--white); border: 2px solid var(--tile); border-radius: var(--radius-card); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card__label { display: block; font-size: 14px; font-weight: 700; color: var(--forest); margin-bottom: 6px; }
.card__title { font-size: 30px; line-height: 1.2; font-weight: 700; margin-bottom: 12px; }
.ruby-word { position: relative; display: inline-block; }
.ruby-word__yomi { position: absolute; left: 0; right: 0; top: 100%; margin-top: 1px; text-align: center; font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.card__img--coin { width: 127px; height: auto; flex-shrink: 0; }
.card__img--app { width: 84px; height: 84px; flex-shrink: 0; }
.card__catch { font-size: 17px; line-height: 1.7; font-weight: 700; }
.card__body { font-size: 15px; line-height: 1.9; }
.card__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.card__chips span { display: inline-block; font-size: 13px; font-weight: 500; line-height: 1.4; background: var(--chip); border-radius: 8px; padding: 6px 12px; }
.card__actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }

/* ---------- education ---------- */
.svc-cards { display: flex; gap: 32px; }
.edu-card { flex: 1 1 0; background: var(--deep); color: var(--white); border-radius: var(--radius-card); padding: 40px 40px 32px; display: flex; flex-direction: column; gap: 24px; }
.edu-card__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.edu-card__title { font-family: var(--font-en); font-size: 40px; line-height: 1.15; font-weight: 700; color: var(--white); }
.edu-card__body { max-width: 640px; font-size: 15px; line-height: 1.9; }
.edu-card__actions { display: flex; gap: 14px; margin-top: 4px; }
.edu-card .bubble-scene { align-self: flex-end; margin-top: auto; }
.edu-card__text { margin-bottom: 8px; }
.bubble-scene__char--truck { right: 22px; bottom: 44px; width: 176px; }

/* キャラクター＋吹き出し */
.bubble-scene { position: relative; width: 360px; height: 240px; flex-shrink: 0; }
.bubble-scene__circle { position: absolute; right: 0; bottom: 0; width: 220px; height: 220px; border-radius: 999px; background: var(--circle); }
.bubble-scene__char { position: absolute; right: 35px; bottom: 50px; width: 150px; height: auto; }
.bubble-scene__bubble { position: absolute; right: 160px; top: 0; background: var(--white); color: var(--deep); border-radius: 22px; padding: 12px 18px; font-family: var(--font-en); font-weight: 600; font-size: 16px; line-height: 1.35; text-align: center; white-space: nowrap; }
/* 吹き出しは丸（キャラクター）に対して右基準で置く：文の長さが変わっても丸の左上に掛かる。しっぽは吹き出し自身に付ける */
.bubble-scene__bubble::after { content: ''; position: absolute; right: 20px; bottom: -8px; width: 18px; height: 18px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.bubble-scene--green .bubble-scene__bubble { background: var(--forest); color: var(--white); }
.bubble-scene--lg { width: 460px; height: 320px; }
.bubble-scene--lg .bubble-scene__circle { width: 280px; height: 280px; }
.bubble-scene--lg .bubble-scene__char { right: 45px; bottom: 66px; width: 190px; }
.bubble-scene--lg .bubble-scene__bubble { right: 210px; border-radius: 28px; padding: 16px 26px; font-size: 20px; }
.bubble-scene--lg .bubble-scene__bubble::after { right: 26px; bottom: -10px; width: 22px; height: 22px; }
.bubble-scene--lg .bubble-scene__char--truck { right: 28px; bottom: 58px; width: 224px; }

/* ---------- company ---------- */
.company__grid { display: flex; gap: 48px; align-items: flex-start; }
.company__table { width: 720px; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.company__table th, .company__table td { padding: 12px 0; border-top: 1px solid var(--tile); vertical-align: top; text-align: left; }
.company__table tr:last-child th, .company__table tr:last-child td { border-bottom: 1px solid var(--tile); }
.company__table th { width: 140px; font-weight: 700; }
.company__aside { flex-grow: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; }
.company__char { width: 196px; height: auto; margin-right: 40px; }
.address-list li + li { margin-top: 2px; }
.map-link { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; vertical-align: middle; position: relative; top: -1px; font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--forest); text-decoration: none; border: 1.5px solid var(--forest); border-radius: 999px; padding: 2px 9px 2px 7px; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.map-link svg { stroke: currentColor; }
.map-link:hover, .map-link:focus-visible { background: var(--forest); color: var(--white); }

/* ---------- news（トップの一覧・news/ の一覧で共通） ---------- */
.news__list li a { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-top: 1px solid var(--tile); text-decoration: none; color: var(--ink); }
.news__list li:last-child a { border-bottom: 1px solid var(--tile); }
.news__list li a:hover .news__title { color: var(--forest); }
.news__date { font-family: var(--font-en); font-weight: 600; font-size: 16px; color: var(--forest); width: 104px; flex-shrink: 0; }
.news__cat { flex-shrink: 0; min-width: 112px; text-align: center; }
.news__title { flex-grow: 1; font-size: 16px; font-weight: 500; line-height: 1.6; }
.news__ext { flex-shrink: 0; stroke: var(--forest); }
.news__more { display: flex; justify-content: flex-end; padding-top: 24px; }
.news__more .btn { padding: 9px 20px; font-size: 14px; }

/* ---------- news/（一覧ページ） ---------- */
.news-page { padding: 64px 0 96px; }
.news-page__lead { max-width: 720px; margin: -8px 0 32px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.news-filter { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.js .news-filter { display: flex; }
.news-filter__btn { cursor: pointer; padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--tile); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.3; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.news-filter__btn:hover { border-color: var(--forest); color: var(--forest); }
.news-filter__btn.is-active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.news-filter__btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.news-year { display: flex; gap: 40px; align-items: flex-start; }
.news-year + .news-year { margin-top: 40px; }
.news-year__label { font-family: var(--font-en); font-weight: 700; font-size: 28px; line-height: 1; color: var(--dark); width: 96px; flex-shrink: 0; padding-top: 22px; }
.news-year .news__list { flex-grow: 1; min-width: 0; }
.news-year .news__list li a { padding: 18px 0; }
.news-page__empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- news/<記事>/（記事ページ） ---------- */
.post { padding: 40px 0 96px; }
.post .container { max-width: calc(800px + var(--gutter) * 2); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 40px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumb a + a::before, .breadcrumb a + span::before { content: '/'; margin-right: 10px; color: var(--tile); }
.breadcrumb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 24em; }
.post__head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--tile); }
.post__meta { display: flex; align-items: center; gap: 14px; }
.post__date { font-family: var(--font-en); font-weight: 600; font-size: 16px; color: var(--forest); }
.post__title { font-size: 34px; line-height: 1.5; font-weight: 700; letter-spacing: 0.01em; }
.post__thumb { margin: 32px 0 0; }
.post__thumb img { width: 100%; border-radius: var(--radius-tile); }
.post__body { padding-top: 32px; font-size: 16px; line-height: 2; }
.post__body > * + * { margin-top: 1.4em; }
.post__body h2 { font-size: 24px; line-height: 1.5; margin-top: 2.2em; padding-bottom: 8px; border-bottom: 2px solid var(--forest); }
.post__body h3 { font-size: 19px; line-height: 1.5; margin-top: 1.8em; color: var(--dark); }
.post__body h4 { font-size: 16px; margin: 1.6em 0 0; }
.post__body p { margin-top: 1.4em; }
.post__body h2 + *, .post__body h3 + *, .post__body h4 + * { margin-top: 0.8em; }
.post__body ul, .post__body ol { padding-left: 1.6em; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li + li { margin-top: 0.3em; }
.post__body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.post__body a:hover { color: var(--teal); }
.post__body img { border-radius: var(--radius-tile); margin: 1.6em auto; }
.post__body blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--forest); color: var(--muted); }
.post__body blockquote > * + * { margin-top: 0.8em; }
.post__body hr { border: 0; border-top: 1px solid var(--tile); margin: 2.4em 0; }
.post__body table { border-collapse: collapse; width: 100%; font-size: 15px; }
.post__body th, .post__body td { border: 1px solid var(--tile); padding: 10px 14px; text-align: left; vertical-align: top; }
.post__body th { background: var(--band); font-weight: 700; }
.post__body pre { background: var(--band); border-radius: 12px; padding: 16px 20px; overflow-x: auto; font-size: 14px; line-height: 1.7; }
.post__body code { font-size: 0.92em; background: var(--band); border-radius: 4px; padding: 1px 6px; }
.post__body pre code { background: none; padding: 0; }
.post__body strong { font-weight: 700; }
.post__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tile); }
.post__foot .btn { padding: 10px 24px; font-size: 14px; }
.post__share { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; }
.post__share:hover { color: var(--forest); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav__link { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border: 1px solid var(--tile); border-radius: var(--radius-tile); text-decoration: none; color: var(--ink); min-width: 0; }
.post-nav__link:hover { border-color: var(--forest); color: var(--forest); }
.post-nav__link.is-empty { border: 0; }
.post-nav__link--next { text-align: right; }
.post-nav__label { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; color: var(--forest); }
.post-nav__title { font-size: 14px; font-weight: 500; line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- contact ---------- */
.contact { background: var(--deep); color: var(--white); }
.contact__grid { display: flex; gap: 64px; align-items: flex-start; }
.contact__text { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; }
.contact__title { font-family: var(--font-en); font-weight: 700; font-size: 64px; line-height: 1; color: var(--white); }
.contact__tagline { font-family: var(--font-serif); font-size: 22px; line-height: 1.8; letter-spacing: 0.1em; }
.contact__body { font-size: 15px; line-height: 2; }
.contact__mail { font-family: var(--font-en); font-weight: 600; font-size: 22px; color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.contact__mail:hover { color: var(--white); opacity: .85; }
.contact__char { width: 150px; height: auto; margin-top: 8px; }
.form { flex-grow: 1; background: var(--white); color: var(--ink); border-radius: var(--radius-card); padding: 28px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: span 2; }
.form label { font-size: 13px; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; border: 1.5px solid var(--tile); border-radius: 12px; padding: 0 12px; font-size: 15px; background: var(--white); }
.form input, .form select { height: 44px; }
.form textarea { height: 116px; padding: 10px 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.form__submit { grid-column: span 2; display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.form__consent { font-size: 12px; color: var(--muted); }
.form__consent a { color: var(--link); }
.form__honeypot { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--white); padding: 32px 0; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__brand { display: flex; align-items: center; gap: 20px; }
.site-footer__brand img { height: 26px; width: auto; }
.site-footer__tag { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; }
.site-footer__nav { display: flex; align-items: center; gap: 24px; font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; }
.site-footer__nav a { color: var(--white); text-decoration: none; }
.site-footer__legal { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.site-footer__legal a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__copy { font-family: var(--font-en); }
.social { width: 36px; height: 36px; border: 1.5px solid var(--white); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; color: var(--white); font-family: var(--font-en); font-weight: 700; font-size: 15px; }
.social svg { stroke: var(--white); }

/* ---------- education page ---------- */
.edu-hero { padding: 72px 0; }
.edu-hero__grid { display: flex; gap: 48px; align-items: center; }
.edu-hero__text { flex-grow: 1; display: flex; flex-direction: column; gap: 20px; }
.edu-hero__meta { display: flex; align-items: center; gap: 12px; }
.edu-hero__meta .chip { font-size: 13px; padding: 6px 14px; }
.edu-hero__en { font-family: var(--font-en); font-weight: 600; font-size: 16px; letter-spacing: 0.06em; color: var(--teal); }
.edu-hero__title { font-size: 60px; line-height: 1.2; font-weight: 700; }
.edu-hero__lead { max-width: 640px; font-size: 17px; line-height: 2; }
.edu-hero__actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tile { background: var(--white); border: 2px solid var(--tile); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tile__num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-family: var(--font-en); font-weight: 700; font-size: 52px; line-height: 1; color: var(--dark); }
.tile__num small { font-family: var(--font-sans); font-size: 22px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.tile__icon { width: 52px; height: 52px; border-radius: 999px; background: var(--band); color: var(--forest); display: flex; align-items: center; justify-content: center; }
.tile__icon svg { stroke: currentColor; }
.tile__title { font-size: 17px; font-weight: 700; line-height: 1.5; }
.tile__body { font-size: 14px; line-height: 1.8; }
.how__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.how__title { font-size: 32px; line-height: 1.4; font-weight: 700; }
.how__body { max-width: 900px; font-size: 15px; line-height: 1.9; }
.how__close { margin-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.how__close-text { display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px; }
.how__close p { font-size: 18px; line-height: 1.8; font-weight: 700; }
.how__truck { width: 320px; height: auto; flex-shrink: 0; }
.marker { align-self: flex-start; font-size: 18px; font-weight: 700; background: var(--yellow); padding: 4px 10px; }

/* フロー図（PC） */
.flow { display: flex; flex-direction: column; gap: 8px; }
.flow__labels { display: flex; gap: 16px; }
.flow__labels > div { display: flex; }
.flow__labels .flow__first { width: 248px; flex-shrink: 0; }
.flow__labels .flow__gap { width: 20px; flex-shrink: 0; }
.flow__labels .flow__rest { flex-grow: 1; }
.flow__tag { font-size: 12px; font-weight: 700; color: var(--white); border-radius: 999px; padding: 4px 12px; line-height: 1.3; }
.flow__tag--green { background: var(--forest); }
.flow__tag--red { background: var(--red); }
.flow__row { display: flex; align-items: stretch; gap: 16px; }
.flow__start { width: 248px; flex-shrink: 0; background: var(--forest); border-radius: var(--radius-tile); padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--white); font-size: 15px; font-weight: 700; }
.flow__start img { width: 56px; height: 56px; }
.flow__chev { display: flex; align-items: center; }
.flow__chev svg { stroke: var(--dark); }
.flow__group { flex-grow: 1; background: var(--white); border: 2px solid var(--red); border-radius: var(--radius-tile); padding: 12px; display: flex; align-items: center; gap: 16px; }
.flow__step { flex: 1 1 0; height: 126px; background: var(--white); border: 2px solid var(--tile); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.5; text-align: center; }
.flow__step svg { stroke: var(--forest); }
.flow__step-chev { stroke: var(--dark); flex-shrink: 0; }
/* フロー図（スマホ：縦ステッパー） */
.stepper { display: none; flex-direction: column; }
.stepper__row { display: flex; gap: 10px; align-items: center; }
.stepper__row--first { padding: 0 10px; }
.stepper__num { width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: var(--tile); color: #3c4a52; font-family: var(--font-en); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.stepper__num--green { background: var(--forest); color: var(--white); }
.stepper__card { flex-grow: 1; background: var(--tile); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.5; white-space: nowrap; color: #3c4a52; }
.stepper__card svg { flex-shrink: 0; stroke: #3c4a52; }
.stepper__card--green { background: var(--forest); color: var(--white); border-radius: 14px; }
.stepper__card--green img { width: 36px; height: 36px; flex-shrink: 0; }
.stepper__card--green strong { display: block; font-size: 15px; font-weight: 700; }
.stepper__card--green span { display: block; font-size: 12px; line-height: 1.5; }
.stepper__arrow { height: 30px; display: flex; }
.stepper__arrow--first { padding-left: 10px; }
.stepper__arrow > div { width: 32px; display: flex; justify-content: center; }
.stepper__arrow svg { stroke: #3c4a52; }
.stepper__arrow--first svg { stroke: var(--forest); }
.stepper__group { position: relative; border: 2px solid var(--red); border-radius: 16px; padding: 22px 8px 8px 8px; display: flex; flex-direction: column; }
.stepper__group-tag { position: absolute; left: 50%; top: -13px; transform: translateX(-50%); font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--white); background: var(--red); border-radius: 999px; padding: 4px 14px; line-height: 1.3; }

.quality { background: var(--deep); color: var(--white); }
.quality__grid { display: flex; gap: 48px; align-items: flex-start; }
.quality__text { flex-grow: 1; display: flex; flex-direction: column; gap: 16px; }
.quality__text .eyebrow { color: var(--white); }
.quality__title { font-size: 30px; line-height: 1.4; font-weight: 700; color: var(--white); }
.quality__body { max-width: 760px; font-size: 15px; line-height: 1.9; }
.quality__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.quality__chips span { font-size: 13px; font-weight: 700; color: var(--deep); background: var(--white); border-radius: 999px; padding: 6px 14px; }
.quality__coin { width: 220px; height: auto; flex-shrink: 0; margin-top: 40px; }
.cta { padding: 64px 0; }
.cta__grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__text { display: flex; flex-direction: column; gap: 10px; }
.cta__title { font-size: 28px; line-height: 1.4; font-weight: 700; }
.cta__text p { font-size: 15px; line-height: 1.9; }
.cta__mail { font-family: var(--font-en); font-weight: 600; font-size: 18px; text-decoration: underline; text-underline-offset: 5px; }
.cta__aside { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.cta__aside img { width: 120px; height: auto; }

/* ---------- reveal on scroll ---------- */
/* JS が有効なときだけフェードイン（無効時は最初から表示） */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* アンカー移動時に固定ヘッダー分の余白（PC は透過ヘッダーなので不要） */
section[id] { scroll-margin-top: 8px; }

/* ==========================================================================
   Mobile（〜767px）
   ========================================================================== */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-head { flex-wrap: wrap; gap: 4px 14px; margin-bottom: 20px; }
  .section-head__ja { white-space: nowrap; }
  .section-head__en { font-size: 42px; }
  .section-head__ja { font-size: 15px; }

  /* header */
  .site-header { height: 64px; }
  .brand img { height: 24px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); padding: 8px 0 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px var(--gutter); color: var(--white) !important; font-size: 17px; }
  .nav a.nav__cta { margin: 12px var(--gutter) 0; text-align: center; background: var(--white) !important; color: var(--deep) !important; }
  .site-header--solid .nav { background: var(--dark); }

  /* hero */
  .hero { height: 720px; }
  .hero__photo--1 { left: 0; top: 380px; width: 210px; height: 130px; }
  .hero__photo--2 { display: none; }
  .hero__photo--3 { left: 0; top: 64px; width: 100%; height: 300px; opacity: .55; }
  .hero__photo--4 { display: none; }
  .hero__photo--5 { right: 0; top: 330px; width: 160px; height: 200px; opacity: .45; }
  .hero__copy { bottom: 28px; gap: 14px; }
  .hero__title { font-size: 30px; letter-spacing: 0.16em; }
  .hero__brand img { width: 110px; }
  .hero__brand span { font-size: 11px; letter-spacing: 0.08em; }
  .hero__vertical { right: 16px; top: 84px; font-size: 14px; }
  .hero__scroll { display: none; }

  /* hello */
  .hello { padding-top: 56px; }
  .hello__grid { flex-direction: column; gap: 20px; }
  .hello__text { width: auto; gap: 16px; }
  .hello__lead { font-size: 30px; }
  .hello__heading { font-size: 20px; }
  .hello__body { font-size: 15px; }
  .hello__photos { height: auto; }
  .hello__photos-tall { display: none; }
  .hello__photos-col { flex-direction: row; gap: 10px; }
  .hello__photos-col img { width: 50%; height: 116px; border-radius: 16px; }
  .hello__note { margin-top: 20px; padding-top: 20px; font-size: 12px; }
  .partners { margin-top: 24px; padding-top: 20px; }
  .partners__label { font-size: 12px; margin-bottom: 14px; }
  .marquee__track { animation-duration: 38s; }
  .marquee__group { gap: 36px; padding-right: 36px; }
  .logo img { width: calc(var(--w, 120px) * 0.78); }
  .logo--emblem img { width: calc(var(--w, 40px) * 0.78); }
  .logo__name { font-size: 13px; }

  /* product */
  .cards { flex-direction: column; gap: 20px; }
  .card { padding: 24px; border-radius: 24px; gap: 12px; }
  .card__label { font-size: 12px; margin-bottom: 4px; }
  .card__title { font-size: 22px; margin-bottom: 10px; }
  .ruby-word__yomi { font-size: 10px; }
  .card__img--coin { width: 85px; }
  .card__img--app { width: 64px; height: 64px; }
  .card__catch { font-size: 15px; line-height: 1.6; }
  .card__body { font-size: 13px; }
  .card__chips span { font-size: 12px; padding: 5px 10px; }
  .card__actions { gap: 8px; }
  .card__actions .btn { padding: 10px 18px; font-size: 14px; }

  /* education */
  .svc-cards { flex-direction: column; gap: 20px; }
  .edu-card { padding: 22px; border-radius: 24px; gap: 12px; }
  .edu-card .bubble-scene { margin-top: 12px; }
  .edu-card__text { gap: 12px; }
  .edu-card__title { font-size: 30px; }
  .edu-card__body { font-size: 13px; }
  .edu-card__actions { flex-wrap: wrap; gap: 10px; }
  .edu-card__actions .btn { padding: 10px 20px; font-size: 14px; }
  .bubble-scene { width: 280px; height: 200px; align-self: center; }
  .bubble-scene__circle { width: 160px; height: 160px; }
  .bubble-scene__char { right: 26px; bottom: 38px; width: 108px; }
  .bubble-scene__bubble { right: 110px; border-radius: 18px; padding: 10px 14px; font-size: 14px; }
  .bubble-scene__bubble::after { right: 16px; bottom: -7px; width: 16px; height: 16px; }
  .bubble-scene__char--truck { right: 16px; bottom: 32px; width: 128px; }
  .bubble-scene--lg { width: 300px; height: 220px; }
  .bubble-scene--lg .bubble-scene__circle { width: 180px; height: 180px; }
  .bubble-scene--lg .bubble-scene__char { right: 30px; bottom: 42px; width: 120px; }
  .bubble-scene--lg .bubble-scene__bubble { right: 120px; border-radius: 20px; padding: 10px 16px; font-size: 15px; }
  .bubble-scene--lg .bubble-scene__bubble::after { right: 18px; bottom: -7px; width: 16px; height: 16px; }
  .bubble-scene--lg .bubble-scene__char--truck { right: 18px; bottom: 38px; width: 144px; }

  /* company */
  .company__grid { flex-direction: column; gap: 18px; }
  .company__table { width: 100%; font-size: 13px; }
  .company__table th { width: 88px; }
  .company__table th, .company__table td { padding: 10px 0; }
  .company__aside { flex-direction: row; justify-content: flex-end; align-items: flex-end; }
  .company__char { width: 104px; margin: 0; flex-shrink: 0; }
  .map-link { font-size: 11px; padding: 1px 8px 1px 6px; margin-left: 4px; }

  /* news */
  .news__list li a { flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 0; }
  .news__date { font-size: 13px; width: auto; }
  .news__cat { min-width: 0; font-size: 11px; padding: 3px 9px; }
  .news__title { flex-basis: 100%; font-size: 14px; }
  .news__ext { display: none; }
  .news__more { justify-content: flex-start; padding-top: 16px; }

  /* news/ 一覧 */
  .news-page { padding: 32px 0 64px; }
  .news-page__lead { font-size: 13px; margin: -4px 0 20px; }
  .news-filter { gap: 6px; margin-bottom: 24px; }
  .news-filter__btn { padding: 6px 12px; font-size: 12px; }
  .news-year { flex-direction: column; gap: 4px; }
  .news-year + .news-year { margin-top: 28px; }
  .news-year__label { font-size: 22px; width: auto; padding-top: 0; }
  .news-year .news__list li a { padding: 12px 0; }

  /* 記事ページ */
  .post { padding: 24px 0 64px; }
  .breadcrumb { margin-bottom: 24px; font-size: 12px; }
  .breadcrumb span { max-width: 12em; }
  .post__head { gap: 12px; padding-bottom: 20px; }
  .post__date { font-size: 14px; }
  .post__title { font-size: 24px; line-height: 1.5; }
  .post__thumb { margin-top: 20px; }
  .post__body { padding-top: 20px; font-size: 15px; line-height: 1.9; }
  .post__body h2 { font-size: 20px; }
  .post__body h3 { font-size: 17px; }
  .post__foot { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; padding-top: 20px; }
  .post-nav { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .post-nav__link--next { text-align: left; }
  .post-nav__link.is-empty { display: none; }

  /* contact */
  .contact__grid { flex-direction: column; gap: 16px; }
  .contact__text { width: auto; gap: 16px; }
  .contact__title { font-size: 48px; }
  .contact__tagline { font-size: 18px; letter-spacing: 0.08em; }
  .contact__body { font-size: 14px; }
  .contact__mail { font-size: 18px; }
  .contact__char { display: none; }
  .form { grid-template-columns: 1fr; padding: 20px; border-radius: 24px; gap: 12px; }
  .form__field--full, .form__submit { grid-column: auto; }
  .form__submit { flex-direction: column-reverse; align-items: stretch; }
  .form__submit .btn { width: 100%; }
  .form textarea { height: 96px; }

  /* footer */
  .site-footer { padding: 28px 0; }
  .site-footer .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer__nav { flex-wrap: wrap; gap: 8px 18px; }
  .site-footer__legal { flex-wrap: wrap; gap: 10px 16px; font-size: 12px; }

  /* education page */
  .edu-hero { padding: 24px 0 56px; }
  .edu-hero__grid { flex-direction: column; align-items: stretch; gap: 12px; }
  .edu-hero .bubble-scene { margin-top: 10px; }
  .edu-hero__text { gap: 12px; }
  .edu-hero__meta .chip { font-size: 12px; padding: 5px 12px; }
  .edu-hero__en { font-size: 14px; }
  .edu-hero__title { font-size: 32px; line-height: 1.3; letter-spacing: -0.02em; }
  .edu-hero__lead { font-size: 14px; }
  .edu-hero__actions { flex-wrap: wrap; gap: 10px; }
  .edu-hero__actions .btn { padding: 11px 22px; font-size: 14px; }
  .tiles { grid-template-columns: 1fr; gap: 16px; }
  .tile { padding: 20px; border-radius: 20px; gap: 8px; }
  .tile__num { font-size: 40px; }
  .tile__num small { font-size: 18px; }
  .tile__title { font-size: 15px; }
  .tile__body { font-size: 13px; }
  .how__title { font-size: 22px; line-height: 1.5; }
  .how__body { font-size: 13px; }
  .how__close { flex-direction: column; align-items: stretch; gap: 12px; }
  .how__close p { font-size: 15px; line-height: 1.7; }
  .how__truck { width: 220px; align-self: flex-end; }
  .marker { font-size: 15px; padding: 3px 8px; }
  .flow { display: none; }
  .stepper { display: flex; }
  .quality__grid { flex-direction: column; gap: 12px; }
  .quality__title { font-size: 22px; }
  .quality__body { font-size: 13px; }
  .quality__chips span { font-size: 12px; padding: 5px 12px; }
  .quality__coin { display: none; }
  .cta { padding: 44px 0; }
  .cta__grid { flex-direction: column; align-items: stretch; gap: 16px; }
  .cta__title { font-size: 22px; }
  .cta__aside { justify-content: space-between; }
  .cta__aside img { width: 84px; }
}

/* タブレット幅（768〜1023px）：PC レイアウトを少し詰める */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__title { font-size: 44px; }
  .hero__photo--3 { left: 300px; width: 520px; }
  .hello__text { width: 52%; }
  .hello__photos-tall { display: none; }
  .company__table { width: 60%; }
  .company__char { width: 150px; margin-right: 0; }
  .contact__text { width: 40%; }
  .form { grid-template-columns: 1fr; }
  .form__field--full, .form__submit { grid-column: auto; }
  .flow__start { width: 200px; }
  .flow__labels .flow__first { width: 200px; }
  .card { padding: 28px; }
  .card__title { font-size: 24px; }
  .card__img--coin { width: 95px; }
  .svc-cards { flex-direction: column; gap: 24px; }
  .edu-card { padding: 32px; }
  .edu-card__title { font-size: 34px; }
  /* 詳細ページのヒーロー：見出しと吹き出しシーンを少し小さくして横はみ出しを防ぐ */
  .edu-hero__grid { gap: 32px; }
  .edu-hero__title { font-size: 36px; letter-spacing: -0.02em; }
  .edu-hero__lead { font-size: 15px; }
  .edu-hero .bubble-scene--lg { width: 380px; height: 280px; }
  .edu-hero .bubble-scene--lg .bubble-scene__circle { width: 240px; height: 240px; }
  .edu-hero .bubble-scene--lg .bubble-scene__char { right: 38px; bottom: 56px; width: 164px; }
  .edu-hero .bubble-scene--lg .bubble-scene__bubble { right: 180px; padding: 14px 22px; font-size: 17px; }
  .edu-hero .bubble-scene--lg .bubble-scene__char--truck { right: 24px; bottom: 50px; width: 192px; }
}

/* ---------- 送信完了ページ ---------- */
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.thanks__char { width: 140px; height: auto; }
.thanks__title { font-size: 28px; line-height: 1.5; font-weight: 700; }
.thanks__body { font-size: 15px; line-height: 2; }
@media (max-width: 767px) { .thanks__title { font-size: 22px; } .thanks__body { font-size: 14px; } }

/* ---------- AI チャットボット（Dify）の吹き出しボタン ---------- */
#dify-chatbot-bubble-button { background-color: var(--forest) !important; }
