/* fulfull ホームページ制作｜白地にティール1色＋金の差し色。PCは2カラム、スマホは1カラム */
:root {
  color-scheme: light;
  --teal:#0E7C86; --deep:#0A5A62; --ink:#1C3236; --ink2:#4A6468;
  --soft:#EEF6F7; --line:#D5E4E6; --gold:#A87A1F; --goldfill:#D9A441; --goldbg:#FBF4E3; --bg:#fff;
  --ok:#1E7D5A; --okbg:#EAF6F0; --ng:#A8483A; --ngbg:#FBEEEB;
  --font:"Noto Sans JP","Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; font-weight: 500; line-height: 1.9; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); font-weight: 700; }
p { margin: 0 0 .9em; }
p, li, h1, h2, h3, dd, small { text-wrap: pretty; }
.l { display: block; text-wrap: balance; }
/* 日本語を文節の切れ目で折り返す（対応ブラウザのみ） */
.l, h1, h2, h3, li, td, summary, .note, .chat p { word-break: auto-phrase; }
.priceone li, .plan li, .checks b, .gets b, .steps b, .tile span span, .field small, .note, .faq summary, td { text-wrap: balance; }
b, strong { font-weight: 800; color: var(--deep); }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding-inline: 20px; }
.note { font-size: 15px; color: var(--ink2); }

/* ヘッダー */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--deep); min-width: 0; }
.brand b { font-size: 20px; letter-spacing: .02em; }
.brand span { font-size: 14px; color: var(--ink2); font-weight: 700; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a { font-size: 15px; text-decoration: none; color: var(--ink); }
.top nav a.cta { background: var(--teal); color: #fff; border-radius: 999px; padding: 7px 18px; font-weight: 800; }
@media (max-width: 760px) { .top nav a:not(.cta) { display: none; } .brand span { display: none; } }

/* ヒーロー */
.hero { background: linear-gradient(180deg, var(--soft), #fff 78%); padding-block: 44px 28px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.eyebrow { display: inline-block; background: #fff; color: var(--deep); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; }
h1 { font-size: clamp(25px, 6.9vw, 40px); font-weight: 900; line-height: 1.38; margin: 0 0 14px; color: var(--deep); text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(transparent 62%, #F4DDA3 62%); }
.lede { font-size: 18px; color: var(--ink); margin: 0 0 20px; }
.pricechip { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.pricechip li { background: #fff; border: 1.5px solid var(--goldfill); border-radius: 14px; padding: 8px 16px; line-height: 1.5; }
.pricechip span { display: block; font-size: 13.5px; color: var(--gold); font-weight: 800; letter-spacing: .04em; }
.pricechip b { font-size: 22px; font-variant-numeric: tabular-nums; }
.pricechip small { font-size: 14px; color: var(--ink2); font-weight: 700; }
.btn { display: inline-block; background: var(--teal); color: #fff; font-size: 19px; font-weight: 900; line-height: 1.4; border-radius: 999px; padding: 15px 32px; box-shadow: 0 6px 0 var(--deep); text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover, .btn:focus-visible { background: var(--deep); outline: 3px solid var(--goldfill); outline-offset: 3px; }
.btn.ghost { background: #fff; color: var(--deep); border: 2px solid var(--teal); box-shadow: none; padding: 13px 26px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btnrow small { flex-basis: 100%; font-size: 14px; color: var(--ink2); }
@media (min-width: 900px) {
  .hero { padding-block: 64px 44px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 44px; }
}

/* 前後を見比べるつまみ */
.frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(14,124,134,.16); }
.fbar { background: #E9EEF0; padding: 7px 12px; display: flex; gap: 6px; align-items: center; }
.fbar i { width: 9px; height: 9px; border-radius: 50%; background: #C5CFD3; display: block; flex: none; }
.fbar span { margin-left: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink2); }
.cmp { position: relative; aspect-ratio: 1280 / 800; overflow: hidden; background: #fff; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cmp img.top { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.cmp .bar { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: var(--goldfill); pointer-events: none; }
.cmp .bar::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--goldfill); color: #fff; font-weight: 900; font-size: 19px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.cmp .tagb, .cmp .taga { position: absolute; top: 10px; font-size: 14px; font-weight: 900; color: #fff; border-radius: 6px; padding: 1px 10px; pointer-events: none; }
.cmp .tagb { left: 10px; background: var(--ng); } .cmp .taga { right: 10px; background: var(--ok); }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp:has(input:focus-visible) { outline: 3px solid var(--goldfill); outline-offset: 2px; }
.ba-note { font-size: 14px; color: var(--ink2); margin: 12px 0 0; }

/* 見本・図解・LINE */
.ill { display: block; width: 100%; max-width: 560px; margin: 0 auto 18px; border-radius: 16px; mix-blend-mode: multiply; }
.withill { display: grid; gap: 14px; align-items: center; }
.withill img { width: 100%; max-width: 420px; margin: 0 auto; border-radius: 16px; mix-blend-mode: multiply; }
@media (min-width: 820px) { .withill { grid-template-columns: 1fr 360px; } }
.samples { display: grid; gap: 34px; margin-top: 22px; }
.sample { display: grid; gap: 14px 24px; grid-template-columns: 1fr; align-items: start; }
.sample h3 { font-size: 22px; margin: 0; padding-left: 12px; border-left: 5px solid var(--goldfill); }
.sample .sp { width: 150px; border: 6px solid #1C3236; border-radius: 22px; overflow: hidden; aspect-ratio: 750 / 1440; justify-self: center; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.sample .sp img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sample .pt { margin: 0; }
.sample .btn { justify-self: start; }
@media (min-width: 820px) {
  .sample { grid-template-columns: 1fr 170px; grid-template-areas: "h h" "f s" "p s" "b s"; }
  .sample h3 { grid-area: h; } .sample .frame { grid-area: f; } .sample .sp { grid-area: s; width: 170px; align-self: center; } .sample .pt { grid-area: p; } .sample .btn { grid-area: b; }
}
.linegrid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .linegrid { grid-template-columns: 1fr 380px; } }
.chat { background: #8CABD9; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.14); max-width: 380px; width: 100%; margin: 0 auto; }
.chat .chead { background: #2B3A4E; color: #fff; font-size: 15px; font-weight: 800; padding: 10px 16px; }
.chat .cbody { padding: 14px 12px 18px; display: grid; gap: 10px; }
.chat p { margin: 0; font-size: 15.5px; line-height: 1.65; border-radius: 16px; padding: 9px 13px; color: #1d2327; font-weight: 500; }
.chat .me { justify-self: end; max-width: 82%; } .chat .me p { background: #8DE055; }
.chat .you { justify-self: start; max-width: 86%; display: grid; gap: 6px; } .chat .you p { background: #fff; }
.chat .you p.link { color: var(--teal); font-weight: 800; text-decoration: underline; font-size: 14.5px; }
.chat .ph { display: block; width: 150px; height: 104px; border-radius: 12px; background: url(sample/img/kensetsu_hero.jpg) center/cover #DDE7E8; }

/* セクション */
section { padding-block: 52px; }
section.tint { background: var(--soft); }
h2 { font-size: clamp(24px, 5.6vw, 32px); font-weight: 900; line-height: 1.45; margin: 0 0 18px; color: var(--deep); text-wrap: balance; }
h2 small { display: block; font-size: 15px; color: var(--gold); font-weight: 800; letter-spacing: .06em; margin-bottom: 4px; }
h3 { font-size: 20px; font-weight: 800; color: var(--deep); margin: 0 0 6px; line-height: 1.5; }
.scene { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.scene p:last-child { margin-bottom: 0; }

.checks { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 14px; min-width: 0; }
.checks b { display: block; font-size: 19px; line-height: 1.5; margin-bottom: 4px; }
.checks span { display: block; font-size: 16.5px; color: var(--ink); line-height: 1.75; }
@media (min-width: 820px) { .checks { grid-template-columns: repeat(3, 1fr); } }

.gets { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.gets li { background: var(--okbg); border-radius: 16px; padding: 16px 18px 14px; min-width: 0; }
.gets b { display: block; font-size: 19px; line-height: 1.5; margin-bottom: 4px; color: var(--ok); }
.gets span { display: block; font-size: 16.5px; line-height: 1.75; }
@media (min-width: 820px) { .gets { grid-template-columns: repeat(3, 1fr); } }

.steps { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 14px 66px; min-width: 0; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--goldfill); color: #fff; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.steps b { display: block; font-size: 19px; line-height: 1.5; }
.steps span { display: block; font-size: 16.5px; line-height: 1.75; }
.steps em { font-style: normal; display: inline-block; font-size: 13.5px; font-weight: 800; color: var(--gold); background: var(--goldbg); border-radius: 6px; padding: 0 8px; margin-left: 6px; }
@media (min-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }

/* 料金 */
.priceone { background: var(--goldbg); border: 1.5px solid var(--goldfill); border-radius: 18px; padding: 20px 24px; }
.priceone .lab { font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .04em; }
.priceone .amt { font-size: clamp(32px, 8vw, 44px); font-weight: 900; color: var(--deep); line-height: 1.2; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.priceone .amt small { font-size: 16px; color: var(--ink2); font-weight: 700; }
.priceone ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.priceone li { padding-left: 1.4em; position: relative; font-size: 17px; line-height: 1.7; }
.priceone li::before, .plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
@media (min-width: 820px) { .priceone ul { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.plans { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 22px 0 0; }
.plan { border: 1.5px solid var(--line); border-radius: 18px; padding: 20px 20px 18px; min-width: 0; background: #fff; position: relative; }
.plan.rec { border-color: var(--goldfill); background: var(--goldbg); }
.plan .osusume { position: absolute; top: -13px; left: 16px; background: var(--goldfill); color: #fff; font-size: 13.5px; font-weight: 800; border-radius: 999px; padding: 2px 12px; }
.plan .nm { font-size: 18px; font-weight: 800; color: var(--deep); }
.plan .mo { font-size: 28px; font-weight: 900; color: var(--deep); line-height: 1.3; margin: 2px 0 2px; font-variant-numeric: tabular-nums; }
.plan .mo small { font-size: 14px; color: var(--ink2); font-weight: 700; }
.plan .forwho { font-size: 15px; color: var(--ink2); margin: 0 0 10px; line-height: 1.6; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.plan li { font-size: 16px; line-height: 1.6; padding-left: 1.4em; position: relative; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* なぜ安いか・会社 */
.two { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.two img.robo { width: 150px; justify-self: center; }
@media (min-width: 820px) { .two { grid-template-columns: 180px 1fr; } .two img.robo { width: 180px; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 17px; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; vertical-align: top; line-height: 1.7; }
.tbl th { width: 11em; font-size: 15px; color: var(--ink2); font-weight: 800; }
@media (max-width: 560px) { .tbl th, .tbl td { display: block; width: auto; } .tbl th { border-bottom: 0; padding-bottom: 0; } .tbl td { padding-top: 2px; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 800; color: var(--deep); line-height: 1.6; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 16px; top: 12px; color: var(--teal); font-weight: 900; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 3px solid var(--goldfill); outline-offset: 2px; border-radius: 14px; }
.faq .a { padding: 0 18px 14px; font-size: 17px; }
.faq .a p:last-child { margin-bottom: 0; }

/* 締め */
.close { background: var(--deep); color: #fff; }
.close .wrap { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; text-align: center; }
.close h2 { color: #fff; margin-bottom: 8px; }
.close p { color: #E3F1F2; }
.close img { width: 130px; margin: 0 auto; }
.close .btn { background: var(--goldfill); color: #fff; box-shadow: 0 6px 0 #8A6416; }
.close .btn:hover, .close .btn:focus-visible { background: var(--gold); outline-color: #fff; }
@media (min-width: 820px) { .close .wrap { grid-template-columns: 150px 1fr; text-align: left; } .close img { margin: 0; width: 150px; } }

footer { border-top: 1px solid var(--line); padding-block: 26px 40px; font-size: 15px; color: var(--ink2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--ink2); font-weight: 700; }

/* フォーム・文書ページ */
.doc { padding-block: 40px 64px; }
.doc h1 { font-size: clamp(25px, 6vw, 34px); }
.doc h2 { font-size: 22px; margin-top: 34px; padding-left: 12px; border-left: 5px solid var(--goldfill); }
[hidden] { display: none !important; }
.form { display: grid; gap: 18px; margin-top: 22px; }
.field label, .field legend { display: block; font-weight: 800; color: var(--deep); margin-bottom: 6px; padding: 0; }
.field .req, .field .opt { display: inline-block; white-space: nowrap; }
.field .req { font-size: 13.5px; color: #fff; background: var(--ng); border-radius: 6px; padding: 0 7px; margin-left: 8px; font-weight: 800; }
.field .opt { font-size: 13.5px; color: var(--ink2); background: var(--soft); border-radius: 6px; padding: 0 7px; margin-left: 8px; font-weight: 800; }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=tel], .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--teal); border-radius: 12px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--goldfill); outline-offset: 1px; border-color: var(--teal); }
.field small { display: block; font-size: 14px; color: var(--ink2); margin-top: 4px; line-height: 1.6; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.tiles { display: grid; gap: 10px; }
.tile { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; cursor: pointer; background: #fff; }
.tile:has(input:checked) { border-color: var(--teal); background: var(--soft); }
.tile input { width: 22px; height: 22px; margin: 6px 0 0; accent-color: var(--teal); }
.tile b { display: block; line-height: 1.5; }
.tile span { display: block; font-size: 15.5px; color: var(--ink2); line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { border-radius: 14px; padding: 14px 18px; font-weight: 700; }
.msg.ok { background: var(--okbg); color: var(--ok); }
.msg.err { background: var(--ngbg); color: var(--ng); }

/* 第3版：ネットに詳しくない方へ。絵で伝える部品 */
body.big, .big { font-size: 19px; }
.scene.center { text-align: center; font-weight: 700; font-size: 1.08em; }
.say { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; margin-bottom: 12px; }
.say img { width: 76px; }
.say p { margin: 0; background: #fff; border: 2px solid var(--goldfill); border-radius: 18px; padding: 10px 16px; font-weight: 800; color: var(--deep); line-height: 1.6; position: relative; font-size: 17px; word-break: auto-phrase; text-wrap: balance; }
.say p::before { content: ""; position: absolute; left: -10px; top: 50%; width: 16px; height: 16px; background: #fff; border-left: 2px solid var(--goldfill); border-bottom: 2px solid var(--goldfill); transform: translateY(-50%) rotate(45deg); }
.say.wide { grid-template-columns: 120px 1fr; max-width: 720px; margin: 0 auto 6px; }
.say.wide img { width: 120px; mix-blend-mode: multiply; border-radius: 12px; }
.say.wide p { font-size: 19px; padding: 14px 20px; }
.who { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.who li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px 16px; text-align: center; min-width: 0; }
.who img { width: 100%; max-width: 190px; aspect-ratio: 1; object-fit: cover; margin: 0 auto 6px; display: block; mix-blend-mode: multiply; }
.who b { display: block; font-size: 19px; line-height: 1.5; margin-bottom: 2px; }
.who span { display: block; font-size: 16px; line-height: 1.7; word-break: auto-phrase; text-wrap: balance; }
@media (min-width: 820px) { .who { grid-template-columns: repeat(4, 1fr); } }
.phones { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; max-width: 720px; margin: 22px auto 0; }
.phones figure { margin: 0; text-align: center; min-width: 0; }
.phones .dev { width: 100%; max-width: 250px; margin: 0 auto; border: 8px solid #1C3236; border-radius: 28px; overflow: hidden; aspect-ratio: 750 / 1300; box-shadow: 0 12px 28px rgba(0,0,0,.16); background: #fff; }
.phones .dev img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phones figcaption { margin-top: 12px; font-size: 16.5px; line-height: 1.6; }
.phones figcaption b { display: inline-block; font-size: 15px; color: #fff; border-radius: 999px; padding: 1px 14px; margin-bottom: 4px; }
.phones .before figcaption b { background: var(--ng); } .phones .after figcaption b { background: var(--ok); }
.phones .arrow { font-size: 34px; font-weight: 900; color: var(--goldfill); }
.warnbox { max-width: 720px; margin: 26px auto 0; background: var(--goldbg); border: 1.5px solid var(--goldfill); border-radius: 18px; padding: 18px 20px; }
.warnbox .addr { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-bottom: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.warnbox .addr span { color: var(--ng); font-weight: 800; font-size: 16px; }
.warnbox .addr i { font-style: normal; color: var(--ink2); font-size: 15px; }
.warnbox p { margin: 0; }
.steps.three { grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps.three { grid-template-columns: repeat(3, 1fr); } }
.steps.three li { padding: 62px 18px 16px; text-align: center; }
.steps.three li::before { left: 50%; top: 14px; transform: translateX(-50%); width: 40px; height: 40px; font-size: 19px; }
.steps.three em { display: table; margin: 4px auto 6px; }
.optbox { margin: 22px auto 0; max-width: 720px; background: #fff; border: 2px dashed var(--teal); border-radius: 18px; padding: 16px 20px; text-align: center; }
.optbox b { display: block; font-size: 19px; }
.optbox p { margin: 4px 0 8px; }
.tagp { display: inline-block; background: var(--goldbg); color: var(--gold); font-weight: 800; border-radius: 999px; padding: 2px 16px; font-size: 16px; }
.tbl.opt { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tbl.opt th { padding-left: 16px; } .tbl.opt tr:last-child th, .tbl.opt tr:last-child td { border-bottom: 0; }
.btnrow .btn { font-size: clamp(17px, 4.6vw, 20px); }
.who b { font-size: clamp(16px, 4.3vw, 19px); }
.phones figcaption b { white-space: nowrap; }
.tbl.opt th { width: 13em; }
.plan .forwho { text-wrap: balance; word-break: auto-phrase; }

/* 研修の写真・リンクカード・アドレスの説明 */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.photos figure { margin: 0; } .photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; display: block; }
.note.center { text-align: center; margin-top: 8px; }
.linkcard { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px; margin: 18px auto 0; max-width: 720px; text-decoration: none; color: var(--ink); box-shadow: 0 4px 14px rgba(14,124,134,.08); }
.linkcard:hover, .linkcard:focus-visible { border-color: var(--teal); outline: none; }
.linkcard img { width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.linkcard span { display: block; min-width: 0; }
.linkcard small { display: block; font-size: 14px; color: var(--ink2); font-weight: 700; }
.linkcard b { display: block; font-size: 21px; line-height: 1.5; }
.linkcard em { display: block; font-style: normal; font-size: 15.5px; line-height: 1.6; font-weight: 500; word-break: auto-phrase; text-wrap: balance; }
.linkcard i { display: block; font-style: normal; color: var(--teal); font-weight: 800; margin-top: 4px; font-size: 16px; }
@media (max-width: 480px) { .linkcard { grid-template-columns: 88px 1fr; } .linkcard img { width: 88px; } .linkcard b { font-size: 19px; } }
.domain { margin-top: 26px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.domain h3 { margin-bottom: 12px; }
.domain ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 820px) { .domain ul { grid-template-columns: 1fr 1fr; gap: 14px 24px; } }
.domain li { padding-left: 1.6em; position: relative; min-width: 0; }
.domain li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.domain li b { display: block; line-height: 1.6; }
.domain li span { display: block; font-size: 16.5px; line-height: 1.7; }
.plan li b { color: var(--deep); }

/* 第4版：動き（躍動感）。動きを減らす設定の端末では、すべて止まる */
.enough { text-align: center; font-weight: 800; color: var(--deep); font-size: 1.08em; margin: 18px 0 0; }
.upper { max-width: 720px; margin: 10px auto 0; border: 1px dashed var(--line); border-radius: 14px; background: #fff; }
.upper summary { cursor: pointer; padding: 10px 44px 10px 16px; font-size: 16px; font-weight: 700; color: var(--ink2); list-style: none; position: relative; text-align: center; }
.upper summary::-webkit-details-marker { display: none; }
.upper summary::after { content: "＋"; position: absolute; right: 14px; top: 9px; color: var(--teal); font-weight: 900; }
.upper[open] summary::after { content: "−"; }
.upper .a { padding: 0 18px 14px; font-size: 17px; text-align: center; }
.upper .a p:last-child { margin-bottom: 0; }
.plans { margin-top: 26px; }

.btn { position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--deep); }
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  /* ボタンの光 */
  .btn:not(.ghost)::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-18deg); animation: shine 4.2s ease-in-out infinite; }
  @keyframes shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
  /* ロボがふわふわ */
  .say img, .close img, .two img.robo { animation: bob 3.4s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-2deg); } }
  /* 見出しのマーカーが引かれる */
  h1 em { background-repeat: no-repeat; background-size: 0% 100%; animation: marker 1s .5s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes marker { to { background-size: 100% 100%; } }
  /* 最初の画面：ゆっくり動く色の玉 */
  .hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
  .hero::before { width: 420px; height: 420px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(217,164,65,.30), transparent 68%); animation: drift1 14s ease-in-out infinite; }
  .hero::after { width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(14,124,134,.20), transparent 68%); animation: drift2 18s ease-in-out infinite; }
  @keyframes drift1 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,50px) scale(1.15); } }
  @keyframes drift2 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,-40px) scale(1.1); } }
  /* 最初の画面の入り方 */
  .hero .eyebrow, .hero h1, .hero .lede, .hero .pricechip, .hero .btnrow, .hero .say, .hero .frame, .hero .ba-note { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .08s; } .hero .lede { animation-delay: .18s; } .hero .pricechip { animation-delay: .28s; } .hero .btnrow { animation-delay: .38s; }
  .hero .say { animation-delay: .3s; } .hero .frame { animation-delay: .42s; animation-name: riseTilt; } .hero .ba-note { animation-delay: .6s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes riseTilt { from { opacity: 0; transform: translateY(40px) rotate(2deg) scale(.96); } to { opacity: 1; transform: none; } }
  /* つまみの丸が脈打つ */
  .cmp .bar::after { animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,.25), 0 0 0 0 rgba(217,164,65,.55); } 50% { box-shadow: 0 2px 8px rgba(0,0,0,.25), 0 0 0 12px rgba(217,164,65,0); } }
  /* スクロールで現れる */
  .js .rv { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .js .rv.left { transform: translateX(-48px) rotate(-3deg); } .js .rv.right { transform: translateX(48px) rotate(3deg); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .who li.rv, .js .plan.rv { transform: translateY(30px) scale(.94); } .js .who li.rv.in, .js .plan.rv.in { transform: none; }
  .js .steps li.rv::before { transform: translateX(-50%) scale(0); transition: transform .5s .25s cubic-bezier(.3,1.6,.5,1); } .js .steps li.rv.in::before { transform: translateX(-50%) scale(1); }
  .js .pop { opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.5,.5,1); } .js .pop.in { opacity: 1; transform: none; }
  .js .plan.rec.in { animation: glow 2.6s 1s ease-in-out 2; }
  @keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,164,65,0); } 50% { box-shadow: 0 0 0 10px rgba(217,164,65,.22); } }
  .who li, .plan, .sample .frame, .linkcard, .photos img { transition: transform .25s ease, box-shadow .25s ease; }
  .who li:hover, .plan:hover, .linkcard:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(14,124,134,.14); }
  .photos img:hover { transform: scale(1.02); }
}
html, body { overflow-x: clip; }

/* 上位コースの枠：さりげなく、でも見落とさない */
.upper { border: 2px solid var(--goldfill); background: var(--goldbg); border-radius: 16px; margin-top: 14px; box-shadow: 0 4px 12px rgba(168,122,31,.10); }
.upper summary { padding: 14px 18px 14px; text-align: center; color: var(--ink); font-size: 17px; }
.upper summary::after { content: none; }
.upper .ulab { display: inline-block; background: var(--goldfill); color: #fff; font-size: 13.5px; font-weight: 800; border-radius: 999px; padding: 1px 12px; margin-bottom: 4px; }
.upper summary b { display: block; line-height: 1.6; word-break: auto-phrase; text-wrap: balance; }
.upper summary i { display: inline-block; font-style: normal; color: var(--teal); font-weight: 800; font-size: 15.5px; margin-top: 4px; border-bottom: 2px solid var(--teal); line-height: 1.4; }
.upper summary i::after { content: " ▼"; font-size: 12px; }
.upper[open] summary i::after { content: " ▲"; }
.upper summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 14px; }
.upper .a { background: #fff; border-radius: 0 0 14px 14px; padding: 14px 18px 16px; border-top: 1px dashed var(--goldfill); }
/* おじぎをするロボ */
.gomen { display: grid; grid-template-columns: 110px auto; justify-content: start; gap: 14px; align-items: end; max-width: 460px; margin: 0 0 14px; }
.gomen img { width: 110px; height: auto; transform-origin: 50% 100%; }
.gomen p { margin: 0 0 26px; background: #fff; border: 2px solid var(--goldfill); border-radius: 18px; padding: 10px 16px; font-weight: 800; color: var(--deep); line-height: 1.6; position: relative; font-size: 17px; }
.gomen p::before { content: ""; position: absolute; left: -10px; top: 50%; width: 16px; height: 16px; background: #fff; border-left: 2px solid var(--goldfill); border-bottom: 2px solid var(--goldfill); transform: translateY(-50%) rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .gomen img { animation: bow 2.8s ease-in-out infinite; }
  @keyframes bow { 0%, 12%, 62%, 100% { transform: translateY(0) scaleY(1) rotate(0); } 26%, 46% { transform: translateY(6px) scaleY(.88) rotate(3deg); } 54% { transform: translateY(-3px) scaleY(1.03) rotate(0); } }
  .upper:not([open]) { animation: nudge 5s 2s ease-in-out infinite; }
  @keyframes nudge { 0%, 88%, 100% { transform: none; } 92% { transform: translateY(-3px); } 96% { transform: translateY(1px); } }
}

/* 申し込みページ */
.applysay { margin: 6px 0 4px; max-width: none; grid-template-columns: 96px 1fr; }
.applysay img { width: 96px; mix-blend-mode: normal; }
.form .center, .center { text-align: center; }
.form .btn { min-width: min(100%, 320px); }
.applysay p { font-size: 17px; padding: 12px 16px; }
.optgo { margin: 12px 0 0; }
