/* =========================================================
   株式会社Rainbow  style.css
   ========================================================= */
:root {
  --bg: #ffffff;
  --soft: #f6f6fb;          /* ほんのり藤色がかった白 */
  --text: #2a2d3a;
  --muted: #6a6f80;
  --line: #e4e5ee;
  --ink: #2a2d3a;
  --white: #ffffff;
  --c1: #ef7a9a;  /* pink   */
  --c2: #f5a15c;  /* orange */
  --c3: #f2cf5b;  /* yellow */
  --c4: #6cc9a4;  /* mint   */
  --c5: #6aa8ec;  /* sky    */
  --c6: #9d86ea;  /* violet */
  --rainbow: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6));
  --rainbow-deep: linear-gradient(100deg, #df5b83 0%, #e0773a 30%, #2f9e86 62%, #4577d9 82%, #7b5bd9 100%);
  --pastel: linear-gradient(120deg, #fde7ee 0%, #fdf0df 25%, #fbf6da 45%, #e2f5ec 65%, #e1eefc 82%, #ece6fc 100%);
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --latin: "Quicksand", "Zen Maru Gothic", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
  --r-lg: 28px;
  --r-md: 18px;
  --shadow: 0 10px 30px -12px rgba(60, 60, 110, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--c5); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--round); font-weight: 700; line-height: 1.5; margin: 0; text-wrap: balance; letter-spacing: .05em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.nw { white-space: nowrap; }
.sp-only { display: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 38em; }
.prose > * + * { margin-top: 1.2em; }
.rainbow-text { background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rainbow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.logo-mark { width: 34px; height: 20px; flex: none; }
.logo-text { display: inline-flex; flex-direction: column; gap: 5px; }
.logo-en { font-family: var(--latin); font-weight: 700; font-size: 25px; letter-spacing: .06em; color: var(--ink); }
.logo-ja { font-family: var(--round); font-size: 10px; letter-spacing: .3em; color: var(--muted); }

.global-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.global-nav a { text-decoration: none; font-family: var(--round); font-weight: 500; font-size: 14.5px; letter-spacing: .08em; position: relative; padding-block: 6px; display: inline-block; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav .nav-contact a { background: var(--ink); color: var(--white); padding: 10px 22px; border-radius: 999px; }
.global-nav .nav-contact a::after { display: none; }
.global-nav .nav-contact a:hover { background: var(--rainbow-deep); }

.menu-btn { display: none; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Hero (トップ) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 55% at 88% 18%, rgba(157,134,234,.22), transparent 70%),
    radial-gradient(34% 50% at 70% 90%, rgba(108,201,164,.22), transparent 70%),
    radial-gradient(30% 45% at 8% 12%, rgba(239,122,154,.18), transparent 70%),
    radial-gradient(30% 40% at 30% 100%, rgba(242,207,91,.20), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; padding-block: clamp(64px, 9vw, 120px); }
.hero-eyebrow { font-family: var(--latin); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--rainbow); }
.hero h1 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.5; letter-spacing: .06em; margin-top: 20px; }
.hero-lead { margin-top: 26px; color: var(--muted); max-width: 32em; font-size: 15.5px; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { justify-self: center; width: min(100%, 460px); max-width: 100%; aspect-ratio: 460 / 300; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }

.hero-strip { position: relative; z-index: 1; padding-bottom: clamp(48px, 6vw, 72px); }
.hero-strip ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hero-strip li { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 20px 22px; display: flex; align-items: center; gap: 14px; font-family: var(--round); font-weight: 700; font-size: 16px; letter-spacing: .08em; }
.hero-strip li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--dot, var(--c1)); }
.hero-strip li:nth-child(2) { --dot: var(--c4); }
.hero-strip li:nth-child(3) { --dot: var(--c5); }
.hero-strip small { margin-left: auto; font-family: var(--latin); font-weight: 600; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 30px; border-radius: 999px; text-decoration: none; font-family: var(--round); font-weight: 700; font-size: 15px; letter-spacing: .1em; border: 2px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.btn::after { content: "→"; font-family: var(--latin); transition: transform .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(3px); }
.btn--gold { background: var(--rainbow-deep); color: var(--white); box-shadow: 0 10px 24px -10px rgba(123,91,217,.55); }
.btn--light, .btn--ink { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--light:hover, .btn--ink:hover { background: var(--ink); color: var(--white); }
.btn--onpastel { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 120px); }
.section--paper { background: var(--soft); }
.section--ink { background: var(--pastel); }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head--center { align-items: center; text-align: center; }
.eyebrow { font-family: var(--latin); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--rainbow); }
.sec-title { font-size: clamp(25px, 3.2vw, 36px); }
.sec-lead { color: var(--muted); max-width: 40em; margin-top: 6px; }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.statement { font-family: var(--round); font-weight: 700; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.7; letter-spacing: .06em; }

/* Business */
.biz-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.biz-item { position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 3.2vw, 40px); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); overflow: hidden; }
.biz-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bar, var(--c1)); }
.biz-item:nth-child(2) { --bar: var(--c4); }
.biz-item:nth-child(3) { --bar: var(--c5); }
.biz-item .en { font-family: var(--latin); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.biz-item h3 { font-size: 22px; }
.biz-item p { color: var(--muted); font-size: 14.5px; }
.biz-item .more { margin-top: auto; padding-top: 10px; font-family: var(--round); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.biz-item .more::after { content: "→"; font-family: var(--latin); }
.biz-item--main { background: var(--pastel); }
.biz-item--main::before { background: var(--rainbow); }
.tag { align-self: flex-start; font-family: var(--round); font-weight: 700; font-size: 12px; letter-spacing: .12em; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: var(--white); line-height: 1.7; }

/* Channels */
.channel-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); }
.channel { background: var(--white); border-radius: var(--r-md); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.channel-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--chip, #fde7ee); margin-bottom: 6px; }
.channel-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--chipc, var(--c1)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.channel:nth-child(2) { --chip: #fdf0df; --chipc: #e0823a; }
.channel:nth-child(3) { --chip: #e2f5ec; --chipc: #2f9e86; }
.channel:nth-child(4) { --chip: #e1eefc; --chipc: #4577d9; }
.channel:nth-child(1) { --chip: #fde7ee; --chipc: #df5b83; }
.channel .en { font-family: var(--latin); font-weight: 700; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.channel h3 { font-size: 18.5px; }
.channel p { font-size: 14px; color: var(--muted); }
.section--ink .channel { border-color: transparent; box-shadow: var(--shadow); }

/* Company summary */
.info-dl { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); background: var(--white); border-radius: var(--r-lg); padding: 8px clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.info-dl dt, .info-dl dd { margin: 0; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.info-dl dt:nth-last-of-type(1), .info-dl dd:last-child { border-bottom: 0; }
.info-dl dt { font-family: var(--round); font-weight: 700; letter-spacing: .08em; }

/* ---------- Page hero (下層) ---------- */
.page-hero { background: var(--pastel); position: relative; overflow: hidden; }
.page-hero-inner { position: relative; padding-block: clamp(52px, 7vw, 88px); display: flex; flex-direction: column; gap: 8px; }
.page-hero .en { font-family: var(--latin); font-weight: 700; font-size: clamp(38px, 6vw, 68px); letter-spacing: .04em; line-height: 1.1; background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero h1 { font-size: 16px; letter-spacing: .2em; }
.breadcrumb { font-size: 12.5px; color: var(--muted); padding-block: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; }
.breadcrumb a { text-decoration: none; }

/* Values */
.values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.value { background: var(--white); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.value .kanji { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--round); font-weight: 700; font-size: 28px; color: var(--white); background: var(--vc, var(--c1)); }
.value:nth-child(2) { --vc: var(--c4); }
.value:nth-child(3) { --vc: var(--c6); }
.value h3 { font-size: 19px; }
.value p { color: var(--muted); font-size: 14.5px; }

.signature { margin-top: 2.2em; text-align: right; font-family: var(--round); font-weight: 700; font-size: 18px; letter-spacing: .12em; }
.signature small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }

/* Compliance */
.comp-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 820px; border-top: 1px solid var(--line); }
.comp-list li { padding: 24px 0 24px 36px; border-bottom: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 6px; }
.comp-list li::before { content: ""; position: absolute; left: 0; top: 30px; width: 20px; height: 20px; border-radius: 50%; background: var(--c4); -webkit-mask: radial-gradient(circle, transparent 0 4px, #000 4.5px); mask: radial-gradient(circle, transparent 0 4px, #000 4.5px); }
.comp-list h3 { font-size: 17px; }
.comp-list p { font-size: 14.5px; color: var(--muted); }
.compliance { scroll-margin-top: var(--header-h); }

/* Service detail */
.service-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.service-block + .service-block { margin-top: clamp(20px, 3vw, 32px); }
.service-block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--bar, var(--c1)); }
.service-block:nth-child(2) { --bar: var(--c4); }
.service-block:nth-child(3) { --bar: var(--c5); }
.service-block .en { font-family: var(--latin); font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.service-block h2 { font-size: clamp(23px, 3vw, 30px); margin-top: 8px; }
.service-block .body > * + * { margin-top: 1.3em; }
.item-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.item-list li { background: var(--soft); border-radius: 999px; padding: 4px 16px; font-size: 13.5px; }
.note { font-size: 13px; color: var(--muted); }

/* Flow */
.flow-nav { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.flow-nav a { display: flex; flex-direction: column; gap: 2px; padding: 18px 14px; background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md); text-decoration: none; text-align: center; font-family: var(--round); font-weight: 700; font-size: 16px; transition: border-color .25s ease, transform .25s ease; }
.flow-nav a small { font-family: var(--latin); font-size: 11px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
.flow-nav li:nth-child(1) a:hover { border-color: var(--c1); }
.flow-nav li:nth-child(2) a:hover { border-color: var(--c2); }
.flow-nav li:nth-child(3) a:hover { border-color: var(--c4); }
.flow-nav li:nth-child(4) a:hover { border-color: var(--c5); }
.flow-nav a:hover { transform: translateY(-2px); }
.flow-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.flow-section + .flow-section { margin-top: clamp(56px, 7vw, 88px); }
.flow-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.flow-head h2 { font-size: clamp(22px, 2.8vw, 28px); }
.flow-head p { color: var(--muted); max-width: 40em; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--r-md); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--latin); font-weight: 700; font-size: 15px; color: var(--white); background: var(--sc, var(--c1)); }
.flow-section:nth-of-type(2) .steps li::before { background: var(--c2); }
.flow-section:nth-of-type(3) .steps li::before { background: var(--c4); }
.flow-section:nth-of-type(4) .steps li::before { background: var(--c5); }
.steps h3 { font-size: 17px; }
.steps p { font-size: 14px; color: var(--muted); }
.flow-caution { margin-top: 40px; padding: 24px 28px; background: var(--white); border-radius: var(--r-md); border: 2px dashed var(--line); font-size: 14px; }
.flow-caution h3 { font-size: 16px; margin-bottom: 6px; }

/* Company table */
.company-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.company-table th, .company-table td { text-align: left; vertical-align: top; padding: 22px clamp(16px, 2.4vw, 32px); border-bottom: 1px solid var(--line); font-weight: 400; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }
.company-table th { width: 12em; font-family: var(--round); font-weight: 700; letter-spacing: .08em; background: var(--soft); white-space: nowrap; }
.company-table td ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.contact-img { display: inline-block; vertical-align: middle; height: auto; -webkit-user-select: none; user-select: none; }

/* Access */
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.access-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.access-card h3 { font-size: 18px; }
.map-link { font-family: var(--round); font-weight: 700; font-size: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.contact-card { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: var(--white); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bar, var(--c5)); }
.contact-card:nth-child(2) { --bar: var(--c6); }
.contact-card .en { font-family: var(--latin); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-card h2 { font-size: 21px; }
.contact-card .contact-value { padding-block: 4px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li { padding-left: 1.8em; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9em; height: .9em; border-radius: 50%; background: var(--rainbow); }

/* CTA band */
.cta { padding-block: clamp(48px, 6vw, 80px); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding-block: clamp(36px, 5vw, 56px); padding-inline: clamp(24px, 5vw, 64px); background: var(--pastel); border-radius: 36px; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; }
.cta-outer { padding-inline: var(--gutter); }
.cta h2 { font-size: clamp(22px, 2.8vw, 30px); }
.cta p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.cta-contacts { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-tel { display: flex; flex-direction: column; gap: 2px; }
.cta-tel small { font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9bccb; font-size: 13.5px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rainbow); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding-block: 64px 40px; }
.site-footer .logo-en { color: var(--white); }
.site-footer .logo-ja { color: #b9bccb; }
.footer-info { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; line-height: 1.8; }
.footer-license { margin-top: 12px; color: var(--white); }
.footer-nav ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 40px; justify-content: end; }
.footer-nav a { text-decoration: none; color: var(--white); font-family: var(--round); font-weight: 500; }
.footer-nav a:hover { color: var(--c3); }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-family: var(--latin); font-size: 12px; letter-spacing: .1em; }

/* 要確認プレースホルダー */
.tbd { background: rgba(242,207,91,.35); outline: 1px dashed rgba(200,150,20,.7); border-radius: 4px; padding: 0 .3em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-art .arc { stroke-dasharray: 1 1; animation: draw 1.6s cubic-bezier(.3,.7,.2,1) both; }
  .hero-art .arc:nth-child(2) { animation-delay: .08s; }
  .hero-art .arc:nth-child(3) { animation-delay: .16s; }
  .hero-art .arc:nth-child(4) { animation-delay: .24s; }
  .hero-art .arc:nth-child(5) { animation-delay: .32s; }
  .hero-art .arc:nth-child(6) { animation-delay: .40s; }
  @keyframes draw { from { stroke-dashoffset: .999; } to { stroke-dashoffset: 0; } }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: .001; transform: translateY(12px); } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; --r-lg: 22px; }
  body { font-size: 15px; line-height: 1.85; }
  .logo-en { font-size: 22px; }
  .logo-mark { width: 30px; height: 18px; }
  .menu-btn { display: block; }
  .global-nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    background: var(--white); padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .menu-open .global-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav li { border-bottom: 1px solid var(--line); }
  .global-nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 17px; }
  .global-nav a::after { content: "→"; position: static; height: auto; background: none; transform: none; font-family: var(--latin); color: var(--muted); }
  .global-nav .nav-contact { border-bottom: 0; margin-top: 28px; }
  .global-nav .nav-contact a { justify-content: center; background: var(--rainbow-deep); padding: 16px; font-size: 16px; }
  body.menu-open { overflow: hidden; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 36px 40px; }
  .hero-art { order: -1; width: min(78%, 300px); justify-self: center; }
  .hero h1 { font-size: clamp(27px, 7.6vw, 38px); margin-top: 14px; }
  .hero-lead { font-size: 14.5px; }
  .hero-strip ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-strip li { padding: 16px 20px; }

  .split, .access, .service-block, .cta-inner, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .biz-list, .values, .contact-grid, .comp-list { grid-template-columns: minmax(0, 1fr); }
  .flow-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav ul { justify-content: start; }
  .btn { width: 100%; }
  .cta-inner { border-radius: 26px; }
  .sp-only { display: inline; }
}

@media (max-width: 560px) {
  .channel-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .info-dl { grid-template-columns: minmax(0, 1fr); }
  .info-dl dt { padding-bottom: 0; border-bottom: 0; font-size: 13px; color: var(--muted); }
  .info-dl dd { padding-top: 2px; }
  .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { padding: 12px 20px; border-bottom: 0; font-size: 13px; white-space: normal; }
  .company-table td { padding: 12px 20px 20px; }
  .flow-caution { padding: 20px; }
}

/* ---------- Page transition (虹) ---------- */
.rt { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; pointer-events: none; overflow: hidden; }
.rt span { flex: 1 1 0; margin: -1px -8vw; transform: translateX(-120%) skewX(-14deg); will-change: transform; }
.rt.is-cover, .rt.is-covered { pointer-events: auto; }
.rt.is-cover span { transform: translateX(0) skewX(-14deg); transition: transform .46s cubic-bezier(.7, 0, .3, 1) calc(var(--i) * 45ms); }
.rt.is-covered span { transform: translateX(0) skewX(-14deg); transition: none; }
.rt.is-reveal span { transform: translateX(120%) skewX(-14deg); transition: transform .46s cubic-bezier(.7, 0, .3, 1) calc(var(--i) * 45ms); }
/* 遷移直後、JSが動くまでの間は虹で覆っておく(白いチラつき防止) */
html.rt-enter::after {
  content: ""; position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(to bottom,
    #ef7a9a 0 16.66%, #f5a15c 0 33.33%, #f2cf5b 0 50%,
    #6cc9a4 0 66.66%, #6aa8ec 0 83.33%, #9d86ea 0);
}
@media (prefers-reduced-motion: reduce) { .rt { display: none; } html.rt-enter::after { display: none; } }

/* ---------- 金券のご購入（shop.html）：共通の shop.js が作るカードと申込フォーム ---------- */
.m-cards { display: grid; gap: 20px; }
@media (min-width: 900px) { .m-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-card { background: var(--white); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 24px; display: grid; gap: 14px; grid-template-rows: auto auto auto 1fr auto auto; position: relative; overflow: hidden; }
.m-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--rainbow); }
.m-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.m-head .no { flex: none;  font-family: var(--latin); font-weight: 700; font-size: 22px; background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-en { font-family: var(--latin); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; text-align: right; }
.m-card h3 { font-size: 18px; }
.m-lead { font-size: 14px; color: var(--muted); line-height: 1.8; }
.m-card ul.pts { list-style: none; display: grid; gap: 6px; align-content: start; }
.m-card ul.pts li { font-size: 13px; padding-left: 1.2em; position: relative; }
.m-card ul.pts li::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--c4); }
.m-meta { margin: 0; display: grid; border-top: 1px solid var(--line); }
.m-meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.m-meta dt { font-size: 12px; color: var(--muted); flex: none; }
.m-meta dd { margin: 0; text-align: right; font-size: 13px; }
.m-price .yen { font-family: var(--latin); font-weight: 700; font-size: 26px; letter-spacing: .02em; }
.m-price small { display: block; font-size: 11px; color: var(--muted); }
.m-price .ask { font-size: 13px; }
.pay-set { display: grid; gap: 8px; }
.pay { white-space: nowrap; display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-family: var(--round); font-weight: 700; font-size: 14px; letter-spacing: .06em; background: var(--rainbow-deep); color: var(--white); border: 2px solid transparent; transition: transform .25s ease; }
.pay:hover { transform: translateY(-2px); }
.pay.pay--sub { background: var(--white); color: var(--ink); border-color: var(--ink); }
.pay.pay--sub:hover { background: var(--ink); color: var(--white); }
.pay.is-off { background: var(--soft); color: var(--muted); border: 2px dashed var(--line); cursor: not-allowed; transform: none; }
.shop-note { margin-top: 20px; }
.order { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); display: grid; gap: 26px; max-width: 920px; }
.order fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.order legend { font-family: var(--round); font-weight: 700; margin-bottom: 12px; padding: 0; }
.order b { font-weight: 700; font-size: 10.5px; letter-spacing: .08em; color: var(--white); background: var(--c1); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
.o-items { display: grid; gap: 10px; }
.o-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 2px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; transition: border-color .2s ease; }
.o-item.on { border-color: var(--c5); background: #f5f9ff; }
.o-check { display: flex; gap: 12px; align-items: center; cursor: pointer; flex: 1; min-width: 0; }
.o-check span { display: grid; gap: 2px; }
.o-check b { all: unset; font-family: var(--round); font-weight: 700; font-size: 15px; }
.o-check small { font-size: 12.5px; color: var(--muted); }
.o-qty, .o-qty span { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); flex: none; white-space: nowrap; }
.order .o-qty input { width: 70px; text-align: center; padding: 8px 6px; }
.o-qty input:disabled { opacity: .4; }
.o-total { display: flex; justify-content: flex-end; align-items: baseline; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.o-total strong { font-family: var(--latin); font-size: 30px; color: var(--ink); }
.o-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .o-grid { grid-template-columns: 1fr 1fr; } .o-grid .wide { grid-column: 1 / -1; } }
.o-grid > label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.order input:not([type=checkbox]), .order textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); width: 100%; }
.order input:focus, .order textarea:focus { outline: none; border-color: var(--c5); }
.order input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--c5); flex: none; }
.o-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.8; cursor: pointer; }
.o-agree input { margin-top: 4px; }
.o-submit { width: 100%; border: 0; cursor: pointer; }
.o-submit:disabled { opacity: .5; cursor: wait; }
.o-msg { font-size: 14px; line-height: 1.9; padding: 14px 18px; border-radius: var(--r-md); border: 2px solid #f2b4c4; background: #fff4f7; }
.o-msg.ok { border-color: var(--c4); background: #effaf5; }
.order .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#order { scroll-margin-top: calc(var(--header-h) + 12px); }
.shop-steps { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.shop-steps li { background: var(--soft); border-radius: var(--r-md); padding: 22px 20px; display: grid; gap: 6px; }
.shop-steps span { font-family: var(--latin); font-weight: 700; font-size: 22px; background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-steps h3 { font-size: 17px; }
.shop-steps p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.shop-notes { margin-top: 32px; }
@media (max-width: 560px) { .o-item { flex-direction: column; align-items: stretch; } .o-qty { justify-content: flex-end; } }

@media (min-width: 900px) { .pay-set { grid-template-columns: 1fr 1fr; } }


/* ---------- お問い合わせフォーム ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.r-form { max-width: 820px; display: flex; flex-direction: column; gap: 26px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4.5vw, 52px); position: relative; overflow: hidden; }
.r-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rainbow); }
.r-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.r-field { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.r-field label, .r-field legend { font-family: var(--round); font-weight: 700; font-size: 14.5px; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 0; }
.r-req, .r-opt { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .1em; padding: 2px 9px; border-radius: 999px; }
.r-req { background: var(--c1); color: var(--white); }
.r-opt { background: var(--soft); color: var(--muted); }
.r-field input[type="text"], .r-field input[type="email"], .r-field input[type="tel"], .r-field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; transition: border-color .2s, background .2s; }
.r-field textarea { min-height: 180px; resize: vertical; line-height: 1.8; }
.r-field input:focus, .r-field textarea:focus { outline: none; border-color: var(--c5); background: var(--white); }
.r-field ::placeholder { color: #a5a8b6; }
.r-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.r-choices label { font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--white); transition: border-color .2s, background .2s; }
.r-choices input { accent-color: var(--c6); margin: 0; }
.r-choices label:has(input:checked) { border-color: var(--c6); background: #f3effd; }
.r-agree { font-size: 14px; color: var(--muted); display: flex; align-items: flex-start; gap: 12px; line-height: 1.8; cursor: pointer; }
.r-agree input { margin-top: 6px; accent-color: var(--c6); flex: none; }
.r-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.r-foot .btn { cursor: pointer; font-size: 16px; padding-inline: 44px; }
.r-foot .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.r-msg { font-size: 14px; line-height: 1.9; padding: 14px 18px; border-radius: 12px; background: #fdecef; color: #a3324f; }
.r-msg.is-ok { background: #e6f6ef; color: #1e6b52; }
@media (max-width: 640px) { .r-row { grid-template-columns: minmax(0, 1fr); } }
.r-form { margin-inline: auto; }
.page-form .sec-head { max-width: 820px; margin-inline: auto; }
.r-back { max-width: 820px; margin: 28px auto 0; font-size: 14px; }
.r-back a { color: var(--muted); }
.page-form .breadcrumb + .section { padding-top: clamp(24px, 4vw, 48px); }
