/* ==========================================================================
   華日國際行銷股份有限公司 / Sino-Japan Global Marketing
   Renewal stylesheet v2 — editorial / high-contrast / typographic
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0b1a2e;
  --ink-2: #3b4a5e;
  --muted: #74829a;
  --line: #d9e0ea;
  --line-strong: #0b1a2e;
  --paper: #ffffff;
  --paper-2: #eef3f9;
  --dark: #08244a;
  --dark-2: #0c2f5e;
  --blue: #1478c4;
  --blue-deep: #0d5ea3;
  --blue-light: #7cc4ff;
  --accent: var(--blue);
  --accent-soft: #e4effa;
  --on-dark: rgba(255,255,255,.72);
  --on-dark-strong: #ffffff;
  --line-dark: rgba(255,255,255,.16);

  --cat-popup: #d94a7a;
  --cat-store: #1b6fd1;
  --cat-sales: #0f9a78;
  --cat-media: #7b55d3;
  --cat-event: #de7d1c;

  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 88px;
  --radius: 2px;
  --radius-img: 14px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
/* 繁体中文ページ (zh/) は Noto Sans TC を使用 */
html[lang^="zh"] { --font-jp: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .03em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: .02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.en { font-family: var(--font-en); letter-spacing: .02em; }
.serif { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; }
.pc-only { display: inline; }
@media (max-width: 767px) { .pc-only { display: none; } }

/* grain texture for dark blocks */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Type utilities ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.label--jp { font-family: var(--font-jp); text-transform: none; letter-spacing: .1em; font-weight: 500; }
.section--dark .label, .contact .label, .cta-band .label { color: var(--blue-light); }

.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: .95; }
.display em, .sec-head__en em, .hero__title em, .page-title em, .cta-band__title em, .f-word em, .watermark__item em { font-style: normal; color: var(--blue); }
.section--dark em, .contact em, .cta-band em, .hero__title em, .f-word em { color: var(--blue-light); }
.grad-text { color: inherit; }

/* ---------- 4. Buttons & links ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: var(--h); padding: 0 8px 0 26px;
  border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 500; font-size: 14px; letter-spacing: .06em; line-height: 1.2; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 40px; height: 40px; flex: none; padding: 11px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform .45s var(--ease), background-color .35s, color .35s; }
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn:hover svg { background: #fff; color: var(--blue); transform: rotate(-45deg); }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary svg { background: #fff; color: var(--blue); }
.btn--primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--primary:hover svg { background: #fff; color: var(--blue-deep); }
.btn--ghost { border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { border-color: #fff; color: #fff; }
.btn--light svg { background: #fff; color: var(--blue); }
.btn--light:hover { background: #fff; color: var(--blue); }
.btn--light:hover svg { background: var(--blue); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light svg { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--outline-light:hover svg { background: #fff; color: var(--blue); }
.btn--sm { --h: 44px; padding: 0 6px 0 20px; font-size: 13px; }
.btn--sm svg { width: 32px; height: 32px; padding: 9px; }
.btn--plain { padding-right: 26px; justify-content: center; }

.text-link { position: relative; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); padding-bottom: 4px; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform .45s var(--ease); }
.text-link:hover::after { transform: scaleX(0); transform-origin: left; animation: relink .45s var(--ease) .45s forwards; }
@keyframes relink { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.text-link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.section--dark .text-link, .contact .text-link { color: var(--blue-light); }

.chip { display: inline-flex; align-items: center; font-family: var(--font-jp); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--ink-2); }
.chip + .chip::before { content: "/"; margin-inline: 10px; color: var(--blue); opacity: .5; }
.cat { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; color: var(--ink); }
.cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--accent)); }
.cat--popup { --c: var(--cat-popup); }
.cat--store { --c: var(--cat-store); }
.cat--sales { --c: var(--cat-sales); }
.cat--media { --c: var(--cat-media); }
.cat--event { --c: var(--cat-event); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); opacity: 0; transition: opacity .4s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-solid { color: #fff; }
.site-header.is-solid::before { opacity: 0; }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
@media (min-width: 1101px) {
  .site-header--top .site-header__inner { max-width: 6000px; } /* 最上部ではヘッダーも画面幅いっぱいに */
}
.site-logo { position: relative; display: block; flex: none; height: 34px; }
.site-logo img { height: 100%; width: auto; transition: opacity .3s; }
.site-logo .logo--light { position: absolute; inset: 0; opacity: 0; }
.gnav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.gnav__list { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.gnav__link { position: relative; display: block; padding: 6px 0; font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.gnav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.gnav__link::after { background: var(--blue); }
.site-header--top .gnav__link::after { background: #fff; }
.gnav__link:hover::after, .gnav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.gnav__actions { display: flex; align-items: center; gap: 18px; }
/* 言語切替 (日本語 / 中文) — 現在の言語に下線、他方はホバーで浮き上がる */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.lang-switch svg { flex: none; width: 15px; height: 15px; margin-right: 2px; opacity: .7; }
.lang-switch__item { position: relative; display: inline-block; padding: 4px 0; line-height: 1.4; opacity: .5; transition: opacity .25s, color .25s; }
.lang-switch__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.lang-switch__item:hover { opacity: 1; }
.lang-switch__item.is-current { opacity: 1; color: var(--blue); }
.lang-switch__item.is-current::after { transform: scaleX(1); transform-origin: left; }
.site-header--top .lang-switch__item.is-current, .site-header.is-solid .lang-switch__item.is-current { color: #fff; }
.lang-switch__sep { opacity: .3; font-weight: 400; }
.header-cta { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 20px; border-radius: 999px; border: 1px solid currentColor; font-size: 13px; font-weight: 500; letter-spacing: .08em; transition: background-color .3s, color .3s, border-color .3s; }
.header-cta { border-color: var(--blue); color: var(--blue); }
.header-cta svg { width: 32px; height: 32px; padding: 9px; border-radius: 50%; background: var(--blue); }
.header-cta svg path { stroke: #fff; }
.header-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.header-cta:hover svg path { stroke: #fff; }
.menu-btn { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 23.5px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* トップページは 2 段構え:
   .site-header--top = 最上部用（透明・フル幅・白文字）。スクロールでフェードアウト、戻るとフェードイン
   .site-header（通常） = 最上部では画面上に隠れ、スクロールで上から降りてくる */
.site-header--top { color: #fff; z-index: 101; transition: opacity .45s var(--ease), visibility .45s; }
.site-header--top::before { display: none; }
.site-header--top .site-logo .logo--dark { opacity: 0; }
.site-header--top .site-logo .logo--light { opacity: 1; }
.site-header--top .header-cta { border-color: rgba(255,255,255,.7); color: #fff; }
.site-header--top .header-cta svg { background: #fff; }
.site-header--top .header-cta svg path { stroke: var(--blue); }
.site-header--top .header-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.site-header--top.is-scrolled { opacity: 0; visibility: hidden; pointer-events: none; box-shadow: none; }
.has-hero .site-header:not(.site-header--top) { transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease-out), visibility .5s, box-shadow .4s; }
.has-hero .site-header:not(.site-header--top)::before { opacity: 1; }
.has-hero .site-header.is-scrolled:not(.site-header--top),
.has-hero .site-header:not(.site-header--top):focus-within { transform: none; visibility: visible; }
.site-header.is-solid .site-logo .logo--dark { opacity: 0; }
.site-header.is-solid .site-logo .logo--light { opacity: 1; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 16px) var(--gutter) 32px; background: var(--dark); color: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility .45s; }
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer__list { border-top: 1px solid var(--line-dark); counter-reset: nav; }
.drawer__list a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(22px, 6vw, 30px); font-weight: 500; letter-spacing: .04em; counter-increment: nav; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.drawer__list a::before { content: counter(nav, decimal-leading-zero); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--blue-light); }
.drawer__list a small { margin-left: auto; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.drawer.is-open .drawer__list a { transform: none; opacity: 1; }
.drawer.is-open .drawer__list li:nth-child(n) a { transition-delay: calc(.06s * var(--i, 1)); }
.drawer__foot { display: grid; gap: 14px; padding-top: 28px; }
.drawer__foot .btn { width: 100%; }
.drawer__tel { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .08em; }
.drawer__tel a { display: block; margin-top: 2px; color: #fff; font-family: var(--font-en); font-weight: 600; font-size: 20px; letter-spacing: .02em; }

@media (max-width: 1100px) {
  .gnav__list, .gnav__actions .header-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 767px) {
  :root { --header-h: 70px; }
  .site-logo { height: 26px; }
  .gnav__actions .lang-switch { display: none; }
}

/* ---------- 6. Section scaffolding ---------- */
.section { position: relative; padding-block: clamp(96px, 12vw, 180px); }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--flush-top { padding-top: 0; }

.sec-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.section--dark .sec-head__top, .contact .sec-head__top { border-color: var(--line-dark); }
.sec-head__en { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 8.6vw, 128px); line-height: .95; letter-spacing: -.035em; margin-top: 8px; }
.sec-head__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px 64px; align-items: end; }
.sec-head__ja { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.6; letter-spacing: .04em; }
.sec-head__lead { color: var(--ink-2); font-size: 15px; line-height: 2; max-width: 520px; }
/* リード文を日本語見出しの下に縦積みするセクション */
.brands .sec-head__row, #news .sec-head__row, .company .sec-head__row, .access .sec-head__row, .contact .sec-head__row { grid-template-columns: 1fr; gap: 16px; }
.brands .sec-head__lead, #news .sec-head__lead, .company .sec-head__lead, .access .sec-head__lead, .contact .sec-head__lead { max-width: 760px; }
.section--dark .sec-head__lead, .contact .sec-head__lead { color: var(--on-dark); }
.section--dark .label--jp, .contact .label--jp { color: rgba(255,255,255,.6); }
.sec-head__num { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--blue); }
@media (max-width: 900px) {
  .sec-head__row { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .sec-head__top .label--jp { display: none; }
  .sec-head__top .label { white-space: nowrap; }
}

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="clip"] { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out), opacity .6s; }
[data-reveal="clip"].is-visible { clip-path: inset(0 0 0 0); }
.no-js [data-reveal] { opacity: 1; transform: none; clip-path: none; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--dark); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(52% 60% at 72% 46%, #1b5aa6 0%, rgba(27,90,166,0) 70%), radial-gradient(70% 50% at 50% 110%, #0d3f7a 0%, rgba(13,63,122,0) 60%), linear-gradient(180deg, #061a36 0%, #08244a 50%, #061a36 100%); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(124,196,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(124,196,255,.07) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(80% 80% at 60% 50%, #000 20%, transparent 100%); mask-image: radial-gradient(80% 80% at 60% 50%, #000 20%, transparent 100%); }
.hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,26,54,.5) 0%, rgba(6,26,54,0) 30%, rgba(6,26,54,0) 70%, rgba(6,26,54,.75) 100%); }
.hero__bg .grain { position: absolute; inset: 0; z-index: 2; }
.hero__inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero .hero__inner { max-width: none; }
.hero__content { max-width: 960px; }
.hero__label { margin-bottom: clamp(24px, 4vw, 48px); color: rgba(255,255,255,.72); }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(46px, 6.8vw, 116px); line-height: .98; letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.3s var(--ease-out) forwards; animation-delay: var(--d, .1s); }
.hero__ja { margin-top: clamp(20px, 2.6vw, 32px); font-size: clamp(18px, 2vw, 26px); font-weight: 500; line-height: 1.55; letter-spacing: .06em; opacity: 0; animation: fade 1.1s var(--ease-out) .75s forwards; }
.hero__lead { max-width: 520px; margin-top: 18px; color: rgba(255,255,255,.78); font-size: clamp(13px, 1.1vw, 14px); line-height: 2.05; opacity: 0; animation: fade 1.1s var(--ease-out) .95s forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; opacity: 0; animation: fade 1.1s var(--ease-out) 1.05s forwards; }
.hero__cta .btn { --h: 64px; padding: 0 9px 0 32px; font-size: 15px; letter-spacing: .08em; }
.hero__cta .btn svg { width: 46px; height: 46px; padding: 13px; }
.hero__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(36px, 5vw, 64px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22); font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); opacity: 0; animation: fade 1s var(--ease-out) 1.2s forwards; }
.hero__cities { display: flex; align-items: center; gap: 14px; }
.hero__cities i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue-light); }
.hero__scroll { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: max-content; margin-inline: auto; margin-top: clamp(28px, 4vw, 56px); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.72); opacity: 0; animation: fade 1s var(--ease-out) 1.3s forwards; transition: color .3s; }
.hero__scroll:hover { color: #fff; }
.hero__scroll-arrow { display: block; width: 16px; height: 16px; animation: scrollArrow 1.8s var(--ease) infinite; }
.hero__scroll-arrow svg { display: block; width: 100%; height: 100%; }
@keyframes scrollArrow { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(6px); opacity: .5; } }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, currentColor 50%, transparent 50%) 0 0 / 200% 100%; animation: cue 2.4s linear infinite; }

@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes cue { to { background-position: -100% 0; } }

@media (max-width: 900px) {
  .hero__inner { padding-top: calc(var(--header-h) + 40svh); }
}
@media (max-width: 767px) {
  .hero { min-height: 100svh; }
  .hero__title { font-size: clamp(40px, 12.2vw, 76px); }
  .hero__cta .btn { --h: 54px; padding: 0 7px 0 24px; font-size: 14px; }
  .hero__cta .btn svg { width: 40px; height: 40px; padding: 11px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__bar { font-size: 10px; }
  .scroll-cue { display: none; }
  .hero__scroll { margin-top: 28px; }
}

/* 3D: 東京タワー × 台北101 */
.hero3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease-out) .4s; }
.hero3d.is-ready { opacity: 1; }
.hero3d canvas { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; }
.hero3d__label { position: absolute; z-index: 2; left: 0; top: 0; display: grid; gap: 2px; padding-left: 14px; margin-top: -30px; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; white-space: nowrap; will-change: transform; }
.hero3d__label::before { content: ""; position: absolute; left: 0; top: 6px; width: 1px; height: 22px; background: rgba(255,255,255,.6); }
.hero3d__label small { font-size: 9px; font-weight: 600; letter-spacing: .14em; color: var(--blue-light); }
.hero3d__label--sm { font-size: 9px; margin-top: -22px; opacity: .75; }
.hero3d__label--sm::before { height: 14px; }
@media (max-width: 767px) { .hero3d__label { font-size: 9px; margin-top: -26px; } .hero3d__label small { font-size: 8px; } .hero3d__label--sm { display: none; } }

/* ---------- 8. Ticker ---------- */
.ticker { position: relative; padding: 18px 0; overflow: hidden; background: var(--blue); color: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.ticker__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.6); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 9. About / statement ---------- */
.about { overflow: hidden; padding-bottom: clamp(48px, 6vw, 96px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.about__label { margin-bottom: 28px; }
.about__statement { font-size: clamp(26px, 3.4vw, 50px); line-height: 1.55; letter-spacing: .03em; font-weight: 500; }
.about__statement .display { font-size: 1.1em; line-height: 1.1; display: inline-block; vertical-align: -.02em; }
.about__body { display: grid; gap: 22px; padding-top: clamp(8px, 2vw, 40px); color: var(--ink-2); font-size: 15px; line-height: 2.15; }
.about__body p:last-child { margin-top: 8px; }
/* 2列 x 2行 (全画面幅共通) */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line-strong); }
.stat { padding: 32px 24px 12px 0; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 28px; border-right: 0; }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat__num { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5.2vw, 76px); line-height: .9; letter-spacing: -.04em; color: var(--blue); }
.stat__num small { font-family: var(--font-jp); font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--ink-2); }
.stat__label { margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: .06em; line-height: 1.7; }
.stat { display: flex; flex-direction: column; justify-content: flex-end; }
/* 事業名: 画面幅に応じて 1 行に収まるサイズ (最長 9 文字が列幅に入る vw 基準) */
.stat__num--text { display: block; font-family: var(--font-jp); font-weight: 700; font-size: clamp(16px, 3vw, 40px); line-height: 1.3; letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 599px) { .stat { padding: 24px 12px 12px 0; } .stat:nth-child(even) { padding-left: 16px; } .stat__num--text { font-size: clamp(14px, 4.3vw, 20px); letter-spacing: 0; } .stat__label { font-size: 12px; letter-spacing: .02em; } }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* watermark text */
.watermark { position: relative; height: clamp(96px, 14.4vw, 228px); margin-top: clamp(64px, 8vw, 120px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.watermark__track { position: absolute; top: 0; left: 0; display: flex; width: max-content; animation: watermark 30s linear infinite; }
@keyframes watermark { to { transform: translateX(calc(-100% / 3)); } }
/* 枠線文字: ストロークを塗りの下に描き (paint-order)、塗りを背景色にすることで、字形内部の輪郭の重なり線を隠す */
.watermark__item { padding-right: .35em; font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 12vw, 190px); line-height: 1; white-space: nowrap; color: var(--paper); -webkit-text-fill-color: var(--paper); -webkit-text-stroke: 2px rgba(20,120,196,.4); paint-order: stroke fill; letter-spacing: 0; }
.watermark__item em { color: var(--paper); -webkit-text-fill-color: var(--paper); -webkit-text-stroke-color: rgba(20,120,196,.8); }

/* ---------- 10. Service ---------- */
.services { border-top: 1px solid var(--line-strong); }
.service { display: grid; grid-template-columns: 96px minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.service__no { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.04em; color: var(--blue); align-self: start; }
.service__no::before { content: ""; display: block; width: 24px; height: 2px; background: var(--blue); margin-bottom: 18px; }
.service__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--paper-2); }
.service__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transform: scale(1.02); transition: transform 1.4s var(--ease-out); }
.service:hover .service__media img { transform: scale(1.08); }
.service__media figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; background: rgba(14,17,22,.85); color: #fff; font-family: var(--font-en); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.service__en { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.service__title { margin-top: 14px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.4; }
.service__text { margin-top: 22px; color: var(--ink-2); font-size: 15px; line-height: 2.1; }
.service__tags { display: flex; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.service__more { margin-top: 30px; }
@media (max-width: 1023px) {
  .service { grid-template-columns: 72px minmax(0, 1fr); }
  .service__media { grid-column: 2; }
  .service__body { grid-column: 2; }
  .service__no { grid-row: span 2; }
}
@media (max-width: 599px) {
  .service { grid-template-columns: 1fr; gap: 24px; }
  .service__no { grid-row: auto; }
  .service__media, .service__body { grid-column: 1; }
}

/* ---------- 11. Strength ---------- */
.strength { overflow: hidden; isolation: isolate; }
.strength__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.s-card { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.s-card__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line-dark); }
.s-card__no { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.04em; color: var(--blue-light); }
.s-card__tag { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.s-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.s-card__media img { width: 100%; height: 100%; object-fit: cover; }
.s-card__body { padding: 28px 26px 36px; }
.s-card__title { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; }
.s-card__text { margin-top: 16px; color: var(--on-dark); font-size: 14px; line-height: 2.05; }
@media (max-width: 1023px) {
  .strength__grid { grid-template-columns: 1fr; }
}

/* ---------- 12. Brands ---------- */
.brands__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.brand { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 3; background: var(--paper); transition: background-color .4s var(--ease); }
.brand img { position: absolute; inset: 0; margin: auto; width: 74%; height: 62%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .5s var(--ease), opacity .5s var(--ease), transform .6s var(--ease-out); }
.brand--wide img { width: 58%; } /* 横長ワードマークは他ロゴと見た目の大きさを揃える */
.brand:hover { background: #fff; }
.brand:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }
.brand--cta { position: static; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 22px; background: var(--blue); color: #fff; }
.brand--cta:hover { background: var(--blue-deep); }
.brand--cta svg { width: 36px; height: 36px; padding: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); transition: transform .45s var(--ease); }
.brand--cta:hover svg { transform: rotate(-45deg); }
.brand--cta span { font-size: 14px; font-weight: 500; line-height: 1.5; }
.brand--cta small { display: block; margin-top: 4px; font-family: var(--font-en); font-size: 10px; letter-spacing: .18em; opacity: .7; }
@media (max-width: 1023px) { .brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .brands__grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } .brands__grid--compact li:last-child { grid-column: span 2; } .brands__grid--compact .brand--cta { aspect-ratio: auto; min-height: 140px; } }
@media (max-width: 767px) { .brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brands__grid--compact li:last-child { grid-column: span 2; } }

/* ---------- 13. News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 40px); }
.news-card { display: flex; flex-direction: column; }
.news-card__link { display: flex; flex-direction: column; height: 100%; }
.news-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-img); overflow: hidden; background: var(--paper-2); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); transition: transform 1.2s var(--ease-out), filter .6s; }
.news-card__link:hover .news-card__media img { transform: scale(1.06); }
.news-card__meta { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.news-card__date { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--blue); }
.news-card__title { margin-top: 10px; font-size: 16px; font-weight: 500; line-height: 1.7; transition: opacity .25s; }
.news-card__link:hover .news-card__title { color: var(--blue); }
.news-card__excerpt { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .news-grid { grid-template-columns: 1fr; } .news-grid--top .news-card:nth-child(n+4) { display: none; } }

/* news list rows (top page) */
.news-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.news-row { display: grid; grid-template-columns: 120px 140px minmax(0, 1fr) 40px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding-left .35s var(--ease); }
.news-row:hover { padding-left: 8px; }
.news-row__date { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--blue); }
.news-row__title { font-size: 15px; font-weight: 500; line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-row__arrow { width: 36px; height: 36px; padding: 10px; border-radius: 50%; border: 1px solid var(--line); color: var(--blue); transition: background-color .35s, color .35s, transform .45s var(--ease); }
.news-row:hover .news-row__arrow { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }
@media (max-width: 767px) {
  .news-row { grid-template-columns: auto auto minmax(0, 1fr) 36px; gap: 6px 16px; }
  .news-row__title { grid-column: 1 / 4; grid-row: 2; white-space: normal; }
  .news-row__arrow { grid-column: 4; grid-row: 1 / 3; }
}

/* photo strip */
.strip { position: relative; margin-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.strip__track { display: flex; gap: 12px; width: max-content; animation: ticker 80s linear infinite; }
.strip__item { flex: none; width: clamp(200px, 20vw, 300px); height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.strip__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 14. Company ---------- */
.company__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.profile { border-top: 1px solid var(--line-strong); }
.profile__row { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.profile__row dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--blue); padding-top: 4px; }
.profile__row dd { color: var(--ink); font-size: 15px; line-height: 1.9; }
.profile__row dd small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.profile__row dd a { color: var(--blue); border-bottom: 1px solid currentColor; }
@media (max-width: 599px) { .profile__row { grid-template-columns: 1fr; gap: 4px; } }

.structure { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); background: var(--paper); }
.structure__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.structure__title .en { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--blue); }
.structure__label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .22em; color: var(--blue); }
.structure__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.structure__tw { padding: 20px 22px; border: 1px solid var(--blue); background: var(--paper-2); text-align: center; }
.structure__tw img { width: min(100%, 280px); margin: 12px auto 4px; }
/* 出資の流れ: 上 (JAPAN の出資元) から下 (TAIWAN の出資先) へ向かう矢印 */
.structure__flow { position: relative; display: grid; place-items: center; height: 72px; }
.structure__flow::before { content: ""; position: absolute; top: 0; bottom: 8px; left: 50%; width: 2px; margin-left: -1px; background: var(--blue); }
.structure__flow::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 0; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--blue); }
.structure__flow span { position: relative; padding: 2px 10px; background: var(--paper); font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.structure__jp { display: grid; gap: 0; margin-top: 12px; padding: 0 18px; border: 1px solid var(--line); }
.structure__role { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); font-family: var(--font-jp); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.structure__tw .structure__label { justify-content: center; }
.structure > .structure__label { margin-top: 22px; }
.parent { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.parent:last-child { border-bottom: 0; }
.parent__logo { display: grid; place-items: center; height: 64px; padding: 10px; }
.parent__logo img { max-height: 44px; width: auto; max-width: 90px; }
.parent__name { font-weight: 700; font-size: 14px; }
.parent__name span { display: block; margin-top: 3px; font-family: var(--font-en); font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.parent__desc { margin-top: 4px; font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.parent__url { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--blue); }
.parent__url svg { width: 12px; height: 12px; }
.parent__url:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .company__grid { grid-template-columns: 1fr; } .structure { position: static; } }
@media (max-width: 479px) { .parent { grid-template-columns: 1fr; gap: 8px; } .parent__logo { justify-content: start; height: auto; } }

/* ---------- 15. Access ---------- */
.access__wrap { position: relative; }
.map { position: relative; height: clamp(360px, 46vw, 560px); overflow: hidden; background: var(--paper-2); }
/* Google マップ埋め込みの UI (左上カード・右下ズーム等) を表示領域外へ出し、地図のみ見せる。操作は「Google マップで開く」ボタンで */
.map iframe { position: absolute; left: 0; top: -150px; width: 100%; height: calc(100% + 300px); border: 0; pointer-events: none; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease); }
.map:hover iframe { filter: grayscale(0); }
.access-card { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: -72px var(--gutter) 0; padding: clamp(28px, 3.4vw, 44px); background: var(--paper); border: 1px solid var(--line); }
.access-card h3 { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 18px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.info-list { display: contents; }
.info-item { padding: 20px 22px; background: var(--paper-2); border: 1px solid var(--line); }
.info-item dt { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; }
.info-item__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--blue); }
.info-item__icon svg { display: block; width: 22px; height: 22px; }
.info-item__label { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); line-height: 1.4; }
.info-item__label small { display: block; margin-top: 3px; font-family: var(--font-jp); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.info-item dd { margin: 10px 0 0 64px; font-size: 14px; line-height: 1.8; }
.info-item dd a:not(.btn) { font-family: var(--font-en); font-size: 17px; font-weight: 700; letter-spacing: .02em; color: var(--blue); }
.info-item dd a:not(.btn):hover { text-decoration: underline; }
.info-item__action { display: flex; justify-content: flex-end; margin-top: 14px; }
@media (max-width: 1023px) { .access-card { margin-inline: 0; margin-top: 0; border-top: 0; } }
@media (max-width: 599px) { .access-card { grid-template-columns: 1fr; } .info-item { padding: 16px; } .info-item dt { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; } .info-item__icon { width: 40px; height: 40px; } .info-item__icon svg { width: 18px; height: 18px; } .info-item dd { margin-left: 52px; } }

/* ---------- 16. Contact ---------- */
.contact { background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: url("../img/top/contact.jpg") center / cover no-repeat; opacity: .13; filter: grayscale(1); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--dark) 0%, rgba(8,36,74,.6) 50%, var(--dark) 100%); }
.contact .container { position: relative; z-index: 1; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 110px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.contact__sub { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue-light); }
.tel-list { display: grid; margin-top: 18px; border-top: 1px solid var(--line-dark); }
.tel-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-dark); transition: padding-left .35s var(--ease); }
.tel-card:hover { padding-left: 6px; }
.tel-card__city { grid-row: span 2; font-size: 15px; font-weight: 700; line-height: 1.2; }
.tel-card__city small { display: block; margin-top: 2px; font-family: var(--font-en); font-size: 9px; font-weight: 700; letter-spacing: .18em; color: var(--blue-light); }
.tel-card__num { font-family: var(--font-en); font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: .02em; }
.tel-card__person { font-size: 12px; color: var(--on-dark); line-height: 1.7; }

.form-card { padding: 0; }
.form-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.form-card__head h3 { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue-light); }
.form-card__head p { font-size: 12px; color: rgba(255,255,255,.55); }
.req { display: inline-block; padding: 0 6px; border: 1px solid rgba(255,255,255,.35); font-size: 10px; font-weight: 600; letter-spacing: .1em; line-height: 1.7; color: #fff; }
.req--opt { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.55); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; }
.field { display: grid; gap: 4px; padding: 18px 0 10px; border-bottom: 1px solid var(--line-dark); transition: border-color .3s; }
.field:focus-within { border-color: var(--blue-light); }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.input { width: 100%; min-height: 40px; padding: 6px 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: #fff; letter-spacing: .02em; }
.input::placeholder { color: rgba(255,255,255,.28); }
.input:focus { outline: none; }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.8; }
.field.is-invalid { border-color: #ff7b7b; }
.field__error { display: none; font-size: 12px; color: #ff9b9b; font-weight: 500; }
.field.is-invalid .field__error { display: block; }
.field--consent { border-bottom: 0; }
/* ボット判定用の不可視欄 (display:none だと一部ボットが無視するため画面外に配置) */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.7; cursor: pointer; color: rgba(255,255,255,.85); }
.consent input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.consent a { border-bottom: 1px solid rgba(255,255,255,.5); }
.form-submit { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.form-submit .btn { min-width: 260px; }
.form-status { display: none; margin-top: 20px; padding: 14px 18px; border: 1px solid var(--line-dark); font-size: 13px; line-height: 1.8; }
.form-status.is-shown { display: block; }
.form-status--ok { border-color: #66d6a8; color: #9ff0cb; }
.form-status--info { border-color: rgba(255,255,255,.4); color: #fff; }
.form-status--error { border-color: #ff7b7b; color: #ffb3b3; }
@media (max-width: 1023px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } .form-card__head { flex-direction: column; gap: 6px; } }

/* ---------- 17. Footer ---------- */
.site-footer { position: relative; background: var(--dark); color: var(--on-dark); font-size: 13px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.f-brand img { width: min(100%, 300px); }
.f-brand address { margin-top: 24px; font-style: normal; line-height: 1.9; font-size: 12.5px; }
.f-brand address a { color: #fff; font-family: var(--font-en); font-weight: 600; }
.f-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; align-content: start; }
.f-nav a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; font-size: 13px; letter-spacing: .06em; }
.f-nav a::before { content: ""; width: 10px; height: 1px; background: rgba(255,255,255,.4); transition: width .3s var(--ease), background-color .3s; }
.f-nav a:hover::before { width: 18px; background: var(--blue-light); }
.f-word { display: block; width: 100%; padding-bottom: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 6.6vw, 100px); line-height: .95; letter-spacing: -.04em; color: #fff; white-space: nowrap; overflow: hidden; }
.f-word[data-fit] { font-size: var(--fit-size, clamp(30px, 6.6vw, 100px)); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 11px; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bottom a:hover { color: #fff; }
.copyright { font-family: var(--font-en); letter-spacing: .08em; }
@media (max-width: 767px) { .site-footer__top { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--blue); background: var(--paper); color: var(--blue); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .25s, color .25s; }
.to-top svg { width: 18px; height: 18px; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; }

/* ---------- 18. Sub pages ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 5vw, 64px); background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 8vw, 120px); line-height: .95; letter-spacing: -.035em; }
.page-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 20px 64px; align-items: end; margin-top: 24px; }
.page-hero__ja { font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: .06em; }
.page-hero__lead { color: var(--ink-2); font-size: 14px; line-height: 2; }
@media (max-width: 900px) { .page-hero__row { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: clamp(36px, 5vw, 56px); padding-bottom: 20px; border-bottom: 1px solid var(--line-strong); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 500; letter-spacing: .04em; transition: all .25s; }
.filter-chip span { font-family: var(--font-en); font-size: 11px; font-weight: 600; color: var(--muted); }
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-chip[aria-pressed="true"] span { color: rgba(255,255,255,.65); }
.filter-select { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.filter-select select { min-height: 40px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1116' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; font: inherit; font-size: 13px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.result-count { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.result-count b { font-family: var(--font-display); color: var(--blue); font-size: 22px; font-weight: 800; margin-right: 4px; }
.news-card.is-hidden { display: none; }
.empty-state { display: none; padding: 60px 0; text-align: center; color: var(--muted); }
.empty-state.is-shown { display: block; }

.article { max-width: 880px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 20px; }
.article__date { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--blue); }
.article__title { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.5; font-weight: 700; }
.article__figure { margin: clamp(40px, 5vw, 64px) 0 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.article__figure img { width: 100%; }
.article__figure--small { max-width: 520px; }
.article__body { margin-top: clamp(36px, 4vw, 56px); font-size: 16px; line-height: 2.2; color: var(--ink-2); }
.article__body p + p { margin-top: 1.2em; }
.article__nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-strong); }
.pager { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; min-width: 0; transition: opacity .25s; }
.pager:hover { color: var(--blue); }
.pager small { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pager span { font-size: 14px; font-weight: 500; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pager--next { text-align: right; align-items: flex-end; }
.pager--empty { visibility: hidden; }
.article__nav .btn { align-self: center; }
@media (max-width: 767px) {
  .article__nav { grid-template-columns: 1fr 1fr; }
  .article__nav .btn { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

.related-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.related-head h2 { font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
.related-head .serif { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; letter-spacing: -.04em; margin-right: 14px; vertical-align: -.04em; color: var(--blue); }

.cta-band { position: relative; padding-block: clamp(80px, 10vw, 140px); background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; background: url("../img/top/contact.jpg") center / cover; opacity: .16; filter: grayscale(1); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--dark), rgba(8,36,74,.55) 50%, var(--dark)); }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.cta-band__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 8vw, 120px); line-height: .95; letter-spacing: -.035em; }
.cta-band__ja { margin-top: 24px; font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: .06em; }
.cta-band p:not(.cta-band__ja) { margin-top: 14px; color: var(--on-dark); font-size: 14px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .cta-band .container { grid-template-columns: 1fr; } }

.prose { max-width: 820px; margin-inline: auto; color: var(--ink-2); font-size: 15px; line-height: 2.15; }
.prose h2 { margin: 56px 0 18px; padding-top: 18px; border-top: 2px solid var(--blue); color: var(--ink); font-size: 18px; line-height: 1.6; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--blue); border-bottom: 1px solid currentColor; }
.prose .prose__date { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .hero__title .line > span { transform: none; }
  .hero__ja, .hero__lead, .hero__cta, .hero__bar { opacity: 1; }
  .hero__bg img { transform: none; }
  .ticker, .strip, .watermark { overflow-x: auto; }
  .ticker__track, .strip__track, .watermark__track, .hero__scroll-arrow { animation: none; }
}

/* buttons without an icon */
.btn:not(:has(svg)) { padding-inline: 26px; justify-content: center; }
