/* =========================================================
   合同会社LINOSIDE — corporate site
   ========================================================= */
:root {
  --accent: #ff5a1f;
  --accent-deep: #e8430b;
  --ink: #0d0d0d;
  --ink-2: #1c1c1c;
  --paper: #ffffff;
  --mist: #f3f1ee;
  --line: rgba(13, 13, 13, .14);
  --muted: #6b6b6b;
  --en: "Chakra Petch", "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 100% - 64px); margin-inline: auto; }

/* ---------- decorative helpers ---------- */
.dots {
  position: absolute; pointer-events: none;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.8px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(circle at center, #000 0 35%, transparent 70%);
          mask-image: radial-gradient(circle at center, #000 0 35%, transparent 70%);
}
.chevrons { display: flex; gap: 6px; }
.chevrons span {
  width: 26px; height: 46px; background: currentColor;
  clip-path: polygon(100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%, 55% 0);
}
.outline-text {
  font-family: var(--en); font-weight: 700; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px currentColor;
  letter-spacing: .02em; white-space: nowrap;
}
.en-label {
  font-family: var(--en); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
}

/* section heading: "MOVIE"-style */
.sec-head { margin-bottom: 56px; }
.sec-head .en {
  font-family: var(--en); font-weight: 700;
  font-size: clamp(48px, 7vw, 88px); line-height: 1; letter-spacing: .03em;
}
.sec-head .en::first-letter { color: var(--accent); }
.sec-head .jp { margin-top: 14px; font-weight: 700; font-size: 14px; letter-spacing: .2em; }
.sec-head--light { color: var(--paper); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 30px; height: 46px; object-fit: contain; }
.brand__name { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name small { font-size: 10px; font-weight: 500; letter-spacing: .2em; }
.brand__name b { font-family: var(--en); font-size: 18px; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  position: relative; font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .14em;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a small { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 14px 30px; background: var(--accent); color: var(--paper);
  font-weight: 700; font-size: 14px; letter-spacing: .14em;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background .25s, transform .25s;
}
.btn:hover { background: var(--ink); }
.btn::after { content: ""; width: 18px; height: 1px; background: currentColor; box-shadow: 0 0 0 0; transition: width .25s; }
.btn:hover::after { width: 28px; }
.btn--sm { padding: 10px 24px; font-family: var(--en); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: var(--accent); }
.btn--line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); clip-path: none; }
.btn--line:hover { background: var(--paper); color: var(--ink); }

.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 180px;
  background:
    radial-gradient(ellipse at 70% 40%, #ff7a3d 0%, var(--accent) 45%, var(--accent-deep) 100%);
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 110px), 50% 100%, 0 calc(100% - 110px));
  overflow: hidden; z-index: 2;
}
.hero .dots--a { color: rgba(255, 255, 255, .55); width: 720px; height: 720px; right: -160px; top: 40px; }
.hero .dots--b { color: rgba(13, 13, 13, .25); width: 420px; height: 420px; left: 10%; bottom: 60px; }
.hero__slash {
  position: absolute; left: 140px; top: calc(var(--header-h) + 20px); display: flex; gap: 10px;
}
.hero__slash span { width: 18px; height: 8px; background: var(--ink); transform: skewX(-40deg); }
.hero__vertical {
  position: absolute; left: 40px; top: calc(var(--header-h) + 36px);
  writing-mode: vertical-rl; display: flex; gap: 18px; align-items: flex-start;
}
.hero__vertical .outline-text { font-size: clamp(56px, 7vw, 96px); color: var(--ink); -webkit-text-stroke-width: 2px; }
.hero__vertical small { font-family: var(--en); font-size: 11px; letter-spacing: .2em; padding-top: 6px; }

.hero__inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 24px;
  width: min(1180px, 100% - 64px); margin: 0 auto; padding-left: 110px;
}
.hero__copy { padding-bottom: 40px; }
.hero__logo { width: 240px; margin-bottom: 34px; }
.hero__title {
  font-weight: 900; font-size: clamp(40px, 5.8vw, 82px); line-height: 1.32; letter-spacing: .04em;
}
.hero__title .line { display: block; position: relative; width: fit-content; padding-right: 10px; }
.hero__title .line::after {
  content: ""; position: absolute; left: -30px; right: -60px; bottom: 6px; height: 1px; background: rgba(13,13,13,.6);
}
.hero__title .hl { color: var(--paper); position: relative; }
.hero__title .hl::before {
  content: ""; position: absolute; inset: 8% -2px 4%; background: var(--ink); z-index: -1;
}
.hero__title .line { z-index: 0; }
.hero__chev { position: absolute; z-index: 2; left: 50%; bottom: 140px; transform: translateX(-50%) rotate(180deg); color: var(--paper); }
.hero__chev span { animation: chev 1.6s infinite; }
.hero__chev span:nth-child(2) { animation-delay: .15s; }
.hero__chev span:nth-child(3) { animation-delay: .3s; }
.hero__chev span:nth-child(4) { animation-delay: .45s; }
@keyframes chev { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- concept ---------- */
.concept {
  position: relative; background: var(--ink); color: var(--paper);
  margin-top: -110px; padding: 220px 0 160px; overflow: hidden;
}
.concept__bg {
  position: absolute; right: -40px; top: 150px; text-align: right;
  font-size: clamp(90px, 13vw, 190px); color: rgba(255,255,255,.75); pointer-events: none;
}
.concept__bg .outline-text { display: block; -webkit-text-stroke-width: 1.2px; }
.concept__bg .outline-text:last-child { color: transparent; -webkit-text-stroke-color: var(--accent); opacity: .85; }
.concept__inner { position: relative; z-index: 1; }
.label-flag { display: inline-flex; align-items: flex-start; gap: 8px; font-family: var(--en); font-weight: 600; font-size: 17px; letter-spacing: .08em; }
.label-flag::after { content: ""; width: 9px; height: 9px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 0 100%); margin-top: 3px; }
.concept__title { margin-top: 26px; font-weight: 900; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.5; }
.concept__title .line { display: block; position: relative; width: fit-content; padding-right: 26px; }
.concept__title .line::after { content: ""; position: absolute; left: -40px; right: 0; bottom: 4px; height: 1px; background: rgba(255,255,255,.55); }
.concept__title em { font-style: normal; color: var(--accent); }
.concept__title .ruby { position: relative; }
.concept__title .ruby::before {
  content: attr(data-ruby); position: absolute; left: 50%; top: -.4em; transform: translateX(-50%) rotate(-6deg);
  font-size: .32em; color: var(--accent); white-space: nowrap; font-weight: 900;
}
.concept__lead { margin-top: 48px; max-width: 520px; font-size: 15px; font-weight: 500; line-height: 2.3; }
.concept__words { margin-top: 90px; display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; }
.word {
  position: relative; padding: 40px 48px 44px; overflow: hidden;
  clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}
.word:first-child { background: var(--paper); color: var(--ink); }
.word:last-child { background: var(--accent); color: var(--paper); margin-left: -20px; }
.word__en { font-family: var(--en); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: .06em; }
.word:first-child .word__en { color: var(--accent); }
.word__lang { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.word__mean { margin-top: 18px; font-size: 26px; font-weight: 900; }
.word__mean::before { content: "「"; } .word__mean::after { content: "」"; }

.hero__platforms { display: flex; gap: 10px; margin-bottom: 22px; }
.hero__platforms img { height: 34px; width: auto; border-radius: 6px; background: var(--paper); }
.hero__lead { margin-top: 30px; max-width: 470px; font-weight: 700; font-size: 16px; line-height: 2; }

/* section heading wrapper */
.sec { position: relative; padding: 150px 0; overflow: hidden; }
.sec--mist { background: var(--mist); }
.sec--dark { background: var(--ink); color: var(--paper); }
.sec__lead { font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.8; }
.sec__lead em { font-style: normal; color: var(--accent); }

/* ---------- service ---------- */
.service .dots { color: var(--accent); width: 300px; height: 300px; right: 2%; top: 100px; }
.service__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.service__title { display: flex; align-items: center; gap: 16px; font-weight: 900; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.3; }
.service__title::before { content: ""; width: 14px; height: 24px; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%, 0 82%, 70% 50%, 0 18%); }
.service__lead { margin-top: 26px; }
.service__text { margin-top: 26px; font-size: 15px; font-weight: 500; line-height: 2.2; }
.service__text strong { color: var(--accent); }
.platforms { display: grid; gap: 18px; }
.platform {
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 24px; padding: 18px 26px 18px 18px;
  background: var(--paper); border: 1.5px solid var(--ink);
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.platform:nth-child(2) { margin-left: 30px; }
.platform:nth-child(3) { margin-left: 60px; }
.platform img { width: 96px; height: 64px; object-fit: contain; }
.platform b { display: block; font-family: var(--en); font-size: 24px; letter-spacing: .06em; line-height: 1.2; }
.platform span { font-size: 12px; font-weight: 700; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat {
  position: relative; padding: 34px 34px 30px; background: var(--ink);
  clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.stat + .stat { margin-left: -6px; }
.stat:nth-child(2) { background: var(--paper); color: var(--ink); }
.stat__label { font-size: 14px; font-weight: 700; letter-spacing: .14em; }
.stat__label .en-label { display: block; color: var(--accent); font-size: 11px; }
.stat__num { margin-top: 10px; font-family: var(--en); font-weight: 700; font-size: clamp(54px, 6vw, 80px); line-height: 1; }
.stat__num small { font-family: var(--jp); font-size: .3em; font-weight: 900; margin-left: 4px; }
.stat__num .pre { font-family: var(--jp); font-size: .3em; font-weight: 900; margin-right: 6px; vertical-align: .4em; }

/* ---------- flow ---------- */
.flow-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow-list::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--ink); }
.step { position: relative; padding-right: 24px; }
.step__num {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px;
  background: var(--accent); color: var(--paper); font-family: var(--en); font-weight: 700; font-size: 28px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.step:nth-child(even) .step__num { background: var(--ink); }
.step__period {
  margin-top: 22px; display: inline-block; padding: 3px 12px; border: 1.5px solid var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.step__title { margin-top: 14px; font-weight: 900; font-size: 20px; line-height: 1.5; }
.step ul { margin-top: 14px; display: grid; gap: 6px; }
.step li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 500; line-height: 1.7; }
.step li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 3px; background: var(--accent); }
.step li b { color: var(--accent); font-weight: 900; }

/* ---------- price ---------- */
.price .dots { color: var(--accent); width: 260px; height: 260px; left: -60px; bottom: 100px; }
.price__note { margin-top: 30px; text-align: center; font-weight: 700; }
.price__note a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- message ---------- */
.message__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.message__photo { position: relative; }
.message__photo::before {
  content: ""; position: absolute; inset: 14% 4% 0 6%; background: var(--accent);
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}
.message__photo .dots { color: var(--ink); width: 260px; height: 260px; right: -40px; top: 0; opacity: .3; }
.message__photo img { position: relative; width: 100%; filter: grayscale(1) contrast(1.08); }
.message__copy { margin-top: 20px; font-weight: 900; font-size: clamp(26px, 3vw, 38px); line-height: 1.6; }
.message__copy em { font-style: normal; color: var(--accent); }
.message__text { margin-top: 30px; font-size: 15px; font-weight: 500; line-height: 2.2; }
.message__text strong { font-weight: 900; }
.message__sign { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; gap: 22px; }
.message__sign .en-label { display: block; color: var(--accent); font-size: 12px; line-height: 1.6; }
.message__sign ruby { font-weight: 900; font-size: 30px; letter-spacing: .14em; }
.message__sign rt { font-size: 11px; font-weight: 500; letter-spacing: .3em; }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--ink); color: var(--paper); padding: 160px 0 0; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: var(--mist);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
.contact .dots { color: var(--accent); width: 360px; height: 360px; right: -80px; top: 80px; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; }
.contact__info { display: grid; gap: 0; align-content: start; }
.info-row { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.info-row:first-child { padding-top: 0; }
.info-row .en-label { color: var(--accent); font-size: 12px; }
.info-row a, .info-row p { display: block; margin-top: 4px; font-weight: 700; font-size: 16px; }
.info-row a.big { font-family: var(--en); font-size: clamp(26px, 3vw, 36px); letter-spacing: .06em; line-height: 1.3; transition: color .2s; }
.info-row a.big:hover { color: var(--accent); }
.info-row p small { display: block; font-size: 12px; font-weight: 500; opacity: .7; }

.form { background: var(--paper); color: var(--ink); padding: 48px 44px; position: relative; }
.form::before { content: ""; position: absolute; left: 0; top: 0; width: 100px; height: 6px; background: var(--accent); }
.form__title { font-weight: 900; font-size: 20px; margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field span i { font-style: normal; font-size: 10px; padding: 1px 7px; background: var(--accent); color: var(--paper); letter-spacing: .1em; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: #fafafa;
  font: inherit; font-size: 15px; letter-spacing: .04em; color: var(--ink); border-radius: 0; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.form .btn { width: 100%; border: 0; cursor: pointer; font-family: var(--jp); padding: 18px; font-size: 15px; }
.form__note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

.map { position: relative; margin-top: 120px; height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); display: block; }
.map__tag {
  position: absolute; left: 32px; top: -26px; z-index: 1; padding: 14px 28px; background: var(--accent); color: var(--paper);
  font-weight: 700; font-size: 14px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 90px 0 36px; border-top: 4px solid var(--accent); }
.footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: flex; gap: 22px; align-items: center; }
.footer__brand img { width: 220px; }
.footer__brand b { display: block; font-size: 18px; letter-spacing: .1em; }
.footer__brand a { font-family: var(--en); font-size: 14px; opacity: .8; }
.footer__brand a:hover { color: var(--accent); opacity: 1; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 56px; }
.footer__nav a { font-size: 13px; font-weight: 500; opacity: .85; display: flex; gap: 12px; align-items: baseline; }
.footer__nav a b { font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--accent); min-width: 80px; }
.footer__nav a:hover { opacity: 1; }
.footer__copy { margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); font-family: var(--en); font-size: 12px; letter-spacing: .14em; opacity: .6; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: var(--paper); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s, background .2s;
}
.to-top.is-show { opacity: 1; transform: none; }
.to-top:hover { background: var(--ink); }
.to-top::before { content: ""; width: 12px; height: 12px; border: solid currentColor; border-width: 2.5px 0 0 2.5px; transform: translateY(3px) rotate(45deg); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-x { opacity: 0; transform: translateX(-40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal-x.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-x { opacity: 1; transform: none; transition: none; }
  .hero__chev span { animation: none; }
}

html { overflow-x: clip; }
.contact::before { background: var(--paper); }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a:not(.btn) { font-size: 13px; }
  .hero__inner { padding-left: 80px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .flow-list::before { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 40px); }
  .header__inner { padding: 0 20px; }
  .brand img { width: 24px; height: 40px; }
  .brand__name b { font-size: 15px; }

  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; cursor: pointer;
    background: var(--ink); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); position: relative; z-index: 2;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    display: block; width: 18px; height: 2px; background: var(--paper); transition: transform .3s, background .3s; position: relative;
  }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .is-menu .menu-btn { background: var(--accent); }
  .is-menu .menu-btn span { background: transparent; }
  .is-menu .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .is-menu .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 30px 28px; background: var(--ink); color: var(--paper); overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s cubic-bezier(.2,.7,.2,1), visibility 0s .4s;
  }
  .is-menu .nav { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 20px; display: flex; justify-content: space-between; align-items: baseline; }
  .nav a:not(.btn)::after { display: none; }
  .nav a small { display: inline; font-family: var(--jp); font-size: 12px; letter-spacing: .14em; opacity: .7; }
  .nav .btn { margin-top: 30px; padding: 18px; font-size: 16px; }

  .hero { padding: calc(var(--header-h) + 24px) 0 150px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 50% 100%, 0 calc(100% - 60px)); }
  .hero__vertical { left: 12px; top: calc(var(--header-h) + 20px); }
  .hero__vertical .outline-text { font-size: 48px; -webkit-text-stroke-width: 1.4px; }
  .hero__vertical small, .hero__slash { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-left: 52px; width: calc(100% - 40px); }
  .hero__copy { order: -1; padding-bottom: 0; }
  .hero__logo { width: 170px; margin-bottom: 22px; }
  .hero__title { font-size: clamp(34px, 10vw, 54px); }
  .hero__lead { font-size: 14px; }
  .hero__platforms img { height: 28px; }
  .hero__chev { bottom: 90px; }
  .hero__chev span { width: 16px; height: 28px; }

  .concept { margin-top: -60px; padding: 150px 0 110px; }
  .concept__bg { top: 110px; right: -20px; font-size: 76px; opacity: .6; }
  .concept__title { font-size: clamp(28px, 8vw, 40px); }
  .concept__lead { font-size: 14px; }
  .concept__words { grid-template-columns: 1fr; margin-top: 60px; }
  .word { padding: 30px 34px; }
  .word:last-child { margin-left: 0; margin-top: -2px; }
  .word__en { font-size: 38px; }
  .word__mean { font-size: 22px; }

  .sec { padding: 100px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec__lead { font-size: 19px; }

  .service__grid { grid-template-columns: 1fr; gap: 50px; }
  .service__text { font-size: 14px; }
  .platform { grid-template-columns: 70px 1fr; gap: 16px; }
  .platform img { width: 70px; height: 48px; }
  .platform:nth-child(2) { margin-left: 14px; }
  .platform:nth-child(3) { margin-left: 28px; }
  .platform b { font-size: 20px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { margin: -2px 0 0; }
  .stat { padding: 24px 30px; }

  .flow-list { grid-template-columns: 1fr; row-gap: 40px; }
  .step { padding: 0 0 0 90px; min-height: 70px; }
  .step__num { position: absolute; left: 0; top: 0; }
  .step__period { margin-top: 0; }

  .message__grid { grid-template-columns: 1fr; gap: 40px; }
  .message__photo { max-width: 420px; }
  .message__text { font-size: 14px; }

  .contact { padding-top: 120px; }
  .contact::before { height: 50px; }
  .contact .dots { width: 220px; height: 220px; right: -90px; opacity: .45; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .form { padding: 36px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .map { margin-top: 90px; height: 320px; }
  .map__tag { left: 20px; font-size: 12px; }

  .footer { padding-top: 60px; }
  .footer__grid { flex-direction: column; }
  .footer__nav { grid-template-columns: 1fr; gap: 14px; }
  .to-top { width: 46px; height: 46px; right: 16px; bottom: 16px; }
}

/* --- tweaks --- */
ol { margin: 0; padding: 0; list-style: none; }
.hero__title { font-size: clamp(36px, 4.8vw, 70px); }
.hero__title .line { white-space: nowrap; }
.hero__vertical small { display: none; }
.platform { clip-path: none; border: 0; border-left: 6px solid var(--accent); background: var(--mist); }
.step__num { display: flex; }
.step__period { background: var(--paper); }
@media (max-width: 860px) {
  .hero__title { font-size: clamp(30px, 9vw, 48px); }
}
@media (max-width: 860px) {
  .concept__title { font-size: clamp(22px, 6.6vw, 40px); }
  .price .dots { display: none; }
}
@media (max-width: 860px) {
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__brand img { width: 180px; }
}
.footer__nav { grid-template-rows: repeat(4, auto); grid-auto-flow: column; }
@media (max-width: 860px) { .footer__nav { grid-template-rows: none; grid-auto-flow: row; } }

/* =========================================================
   services (SNS / AI video / AI call)
   ========================================================= */
/* hero: service tiles */
.hero__cards { position: relative; display: grid; gap: 16px; padding: 20px 0 40px; }
.hero-card {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 22px;
  padding: 22px 34px 22px 26px; background: var(--ink); color: var(--paper);
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  transition: transform .3s;
}
.hero-card:nth-child(2) { margin-left: 40px; background: var(--paper); color: var(--ink); }
.hero-card:nth-child(3) { margin-left: 80px; }
.hero-card:hover { transform: translateX(8px); }
.hero-card__num { font-family: var(--en); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent); }
.hero-card b { display: block; font-size: 21px; font-weight: 900; line-height: 1.4; }
.hero-card small { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .16em; color: var(--accent); }
.hero-card span:last-child { font-family: var(--en); font-size: 20px; }
.hero-card i { font-style: normal; display: block; font-size: 12px; font-weight: 500; opacity: .75; letter-spacing: .04em; }

/* overview */
.overview { padding-bottom: 120px; }
.overview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ov-card {
  position: relative; display: flex; flex-direction: column; padding: 36px 32px 30px; min-height: 300px;
  background: var(--paper); border: 1.5px solid var(--ink); transition: background .3s, color .3s;
}
.ov-card::before { content: ""; position: absolute; left: -1.5px; top: -1.5px; width: 90px; height: 6px; background: var(--accent); }
.ov-card:hover { background: var(--ink); color: var(--paper); }
.ov-card__num { font-family: var(--en); font-weight: 700; font-size: 64px; line-height: .9; color: var(--accent); }
.ov-card .en-label { margin-top: 20px; color: var(--muted); font-size: 11px; }
.ov-card:hover .en-label { color: rgba(255,255,255,.6); }
.ov-card h3 { margin-top: 4px; font-weight: 900; font-size: 24px; line-height: 1.45; }
.ov-card p { margin-top: 14px; font-size: 14px; font-weight: 500; line-height: 1.9; }
.ov-card__more { margin-top: auto; padding-top: 22px; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--accent); }

/* per-service heading: big number + title */
.svc-head { display: flex; align-items: flex-end; gap: 26px; margin-bottom: 50px; }
.svc-head__num { font-family: var(--en); font-weight: 700; font-size: clamp(96px, 11vw, 150px); line-height: .78; color: var(--accent); }
.svc-head__txt { padding-bottom: 4px; }
.svc-head__txt .en-label { font-size: 12px; }
.svc-head__txt h2 { margin-top: 6px; font-weight: 900; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.3; }
.svc-head__txt h2 span { display: inline-block; border-bottom: 1px solid currentColor; }

/* ---------- AI video (orange) ---------- */
.aivideo {
  background: var(--accent); color: var(--paper);
  clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 calc(100% - 80px)); padding: 200px 0;
}
.aivideo .dots { color: rgba(255,255,255,.55); width: 520px; height: 520px; right: -140px; top: 120px; }
.aivideo .svc-head__num { color: var(--ink); }
.aivideo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.aivideo__lead { font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.6; }
.aivideo__lead em { font-style: normal; color: var(--ink); }
.aivideo__text { margin-top: 24px; font-size: 15px; font-weight: 500; line-height: 2.1; }
.learn { display: grid; gap: 12px; }
.learn__title { font-weight: 900; font-size: 15px; letter-spacing: .14em; margin-bottom: 6px; }
.learn li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 16px 22px;
  background: var(--ink); color: var(--paper);
}
.learn li b { font-family: var(--en); font-size: 22px; color: var(--accent); }
.learn li span { font-weight: 700; font-size: 15px; line-height: 1.6; }
.learn li small { display: block; font-weight: 500; font-size: 12px; opacity: .7; }

.program { margin-top: 90px; }
.program__title { display: flex; align-items: center; gap: 14px; font-weight: 900; font-size: 22px; margin-bottom: 26px; }
.program__title .en-label { color: var(--ink); }
.program__list { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.phase {
  position: relative; padding: 34px 50px 34px 40px; background: var(--paper); color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%);
}
.phase:first-child { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); }
.phase + .phase { margin-left: -14px; }
.phase:nth-child(2) { background: var(--ink); color: var(--paper); }
.phase:nth-child(3) { background: rgba(255,255,255,.22); color: var(--paper); }
.phase__step { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .16em; color: var(--accent); }
.phase:nth-child(3) .phase__step { color: var(--ink); }
.phase__term { margin-top: 6px; font-weight: 900; font-size: 28px; line-height: 1.3; }
.phase__term small { font-size: 15px; margin-left: 4px; }
.phase__name { margin-top: 4px; font-weight: 900; font-size: 17px; }
.phase p { margin-top: 12px; font-size: 13px; font-weight: 500; line-height: 1.9; }
.program__note { margin-top: 26px; font-weight: 700; font-size: 14px; }
.aivideo .btn { margin-top: 34px; }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: var(--paper); color: var(--ink); }

/* ---------- AI call (dark) ---------- */
.aicall .outline-text.bg { position: absolute; right: -30px; top: 110px; font-size: clamp(100px, 15vw, 220px); color: rgba(255,255,255,.14); pointer-events: none; }
.aicall__lead { max-width: 760px; }
.aicall__lead em { color: var(--accent); }
.aicall__text { margin-top: 20px; max-width: 760px; font-size: 15px; font-weight: 500; line-height: 2.1; opacity: .9; }
.aicall .stats { margin-top: 56px; }
.aicall .stat { background: var(--accent); }
.aicall .stat:nth-child(2) { background: var(--paper); color: var(--ink); }
.aicall .stat:nth-child(3) { background: var(--ink-2); }
.aicall .stat__label .en-label { color: var(--ink); }
.aicall .stat:nth-child(2) .stat__label .en-label, .aicall .stat:nth-child(3) .stat__label .en-label { color: var(--accent); }
.stat__desc { margin-top: 8px; font-size: 12px; font-weight: 500; opacity: .8; }

.roles { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role { padding: 38px 36px; border: 1.5px solid rgba(255,255,255,.3); position: relative; }
.role::before { content: ""; position: absolute; left: -1.5px; top: -1.5px; width: 90px; height: 6px; background: var(--accent); }
.role__tag { display: inline-block; padding: 3px 14px; background: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.role h3 { margin-top: 14px; font-weight: 900; font-size: 26px; }
.role > p { margin-top: 12px; font-size: 14px; font-weight: 500; line-height: 2; opacity: .9; }
.role ul { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role li { padding: 10px 14px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 700; line-height: 1.6; }
.role__price { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.role__price span { font-size: 13px; font-weight: 700; }
.role__price b { font-family: var(--en); font-size: 46px; line-height: 1; color: var(--accent); }
.role__price b small { font-family: var(--jp); font-size: 16px; margin-left: 2px; }
.role__price em { font-style: normal; width: 100%; font-size: 12px; opacity: .75; }

.features { margin-top: 80px; }
.features__title { display: flex; align-items: center; gap: 14px; font-weight: 900; font-size: 22px; margin-bottom: 26px; }
.features__title .en-label { color: var(--accent); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.feat { padding: 26px 24px; background: var(--ink); }
.feat b { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 900; line-height: 1.5; }
.feat b::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.feat p { margin-top: 10px; font-size: 13px; font-weight: 500; line-height: 1.9; opacity: .8; }

.aicall .flow-list { margin-top: 30px; }
.aicall .flow-list::before { background: rgba(255,255,255,.4); }
.aicall .step__num { background: var(--accent); }
.aicall .step:nth-child(even) .step__num { background: var(--paper); color: var(--ink); }
.aicall .step__title { font-size: 18px; }
.aicall .step > p:last-child { margin-top: 8px; font-size: 13px; font-weight: 500; line-height: 1.9; opacity: .85; }
.aicall__start { margin-top: 80px; }
.aicall__start .features__title b { font-family: var(--en); font-size: 34px; color: var(--accent); margin: 0 4px; }
.aicall__note { margin-top: 50px; text-align: center; font-size: 14px; font-weight: 700; }
.aicall__note .btn { margin-top: 20px; }

/* SNS block tweaks */
.price { padding-top: 0; }
.service { padding-bottom: 100px; }

@media (max-width: 1080px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .program__list { grid-template-columns: 1fr; }
  .phase, .phase:first-child { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px)); padding: 30px 30px 44px; }
  .phase + .phase { margin: -8px 0 0; }
}
@media (max-width: 860px) {
  .hero__cards { padding: 0 0 20px; }
  .hero-card { grid-template-columns: 50px 1fr auto; gap: 14px; padding: 16px 22px 16px 18px; }
  .hero-card:nth-child(2) { margin-left: 14px; }
  .hero-card:nth-child(3) { margin-left: 28px; }
  .hero-card__num { font-size: 32px; }
  .hero-card b { font-size: 16px; }
  .hero-card i { display: none; }
  .overview { padding-bottom: 80px; }
  .overview__grid { grid-template-columns: 1fr; }
  .ov-card { min-height: 0; }
  .svc-head { gap: 16px; margin-bottom: 36px; }
  .aivideo { padding: 130px 0; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 calc(100% - 40px)); }
  .aivideo__grid { grid-template-columns: 1fr; gap: 40px; }
  .aivideo__text { font-size: 14px; }
  .program { margin-top: 60px; }
  .roles { grid-template-columns: 1fr; }
  .role { padding: 30px 22px; }
  .role ul { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .aicall .stat { padding: 24px 30px; }
}
.hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.hero__title { font-size: clamp(34px, 4.2vw, 62px); }
.phase .phase__step { margin: 0; font-size: 13px; }
.phase .phase__term { margin-top: 6px; font-size: 30px; font-weight: 900; line-height: 1.3; }
.phase .phase__name { margin-top: 2px; font-size: 17px; font-weight: 900; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__title { font-size: clamp(28px, 8.4vw, 44px); }
}
.hero-card b { font-size: 19px; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: clamp(24px, 7vw, 44px); }
  .hero__lead { font-size: 13px; }
  .hero-card b { font-size: 15px; }
}
@media (max-width: 860px) {
  .svc-head__txt h2 { font-size: clamp(22px, 6.6vw, 30px); }
  .svc-head__num { font-size: 76px; }
  .features__title { flex-wrap: wrap; gap: 4px 12px; font-size: 19px; }
  .features__title .en-label { width: 100%; }
}

/* SNS price: success fee */
.guarantee {
  position: relative; padding: 60px 64px; background: var(--ink); color: var(--paper); overflow: hidden;
  clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
}
.guarantee::after {
  content: "0"; position: absolute; right: 60px; bottom: -70px; font-family: var(--en); font-weight: 700;
  font-size: 340px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); opacity: .5; pointer-events: none;
}
.guarantee__tag {
  display: inline-block; padding: 6px 20px; background: var(--accent); font-weight: 900; font-size: 15px; letter-spacing: .16em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.guarantee__copy { position: relative; margin-top: 22px; font-weight: 900; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.45; }
.guarantee__copy em { font-style: normal; color: var(--accent); }
.guarantee__text { position: relative; margin-top: 22px; max-width: 620px; font-size: 15px; font-weight: 500; line-height: 2.1; opacity: .9; }
.pay-steps { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pay-step { position: relative; padding: 34px 30px 30px; border: 1.5px solid var(--ink); }
.pay-step::before { content: ""; position: absolute; left: -1.5px; top: -1.5px; width: 80px; height: 6px; background: var(--accent); }
.pay-step__num { font-family: var(--en); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent); }
.pay-step h3 { margin-top: 12px; font-weight: 900; font-size: 20px; }
.pay-step p { margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.9; }
.pay-step p strong { color: var(--accent); font-weight: 900; font-size: 1.15em; }
.price .price__note { margin-top: 34px; }
.message__copy { margin-top: 0; font-size: clamp(30px, 3.6vw, 46px); }
@media (max-width: 860px) {
  .guarantee { padding: 40px 28px; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
  .guarantee::after { font-size: 220px; right: 10px; bottom: -50px; }
  .guarantee__text { font-size: 14px; }
  .pay-steps { grid-template-columns: 1fr; gap: 16px; }
  .pay-step { padding: 28px 24px 24px; }
}
@media (max-width: 860px) { .guarantee__copy { font-size: clamp(22px, 6.6vw, 30px); } }
