/* =========================================================
   MAGNUM for メンズエステ — LP
   白 × ブルー / 信頼・誠実
   ※ 写真・画像の角はスクエア（border-radius: 0）で統一
   ========================================================= */
:root {
  --navy: #0d2a54;
  --blue: #1f5fbf;
  --blue-d: #174c9c;
  --blue-l: #4a86dc;
  --sky: #eaf2fd;
  --sky-2: #f5f9ff;
  --line: #d9e4f3;
  --text: #1c2a3b;
  --muted: #5a6b80;
  --white: #fff;
  --accent: #f29a2e;
  --ok: #18966b;
  --ng: #c8433b;
  --shadow: 0 10px 30px rgba(13, 42, 84, .08);
  --shadow-l: 0 18px 50px rgba(13, 42, 84, .12);
  --en: "Montserrat", "Noto Sans JP", sans-serif;
  --ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --w: 1180px;
  --hd: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ja); color: var(--text); background: var(--white); line-height: 1.85; font-size: 16px; letter-spacing: .02em; }
img { max-width: 100%; height: auto; display: block; border-radius: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { width: min(100% - 40px, var(--w)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
.pc { display: inline; }
@media (max-width: 760px) { .pc { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: 0 30px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .06em; border: 2px solid transparent; transition: .25s; cursor: pointer; white-space: nowrap; }
.btn::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; }
.btn--fill { background: linear-gradient(135deg, var(--blue-l), var(--blue)); color: #fff; box-shadow: 0 8px 22px rgba(31, 95, 191, .3); }
.btn--fill:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 95, 191, .38); }
.btn--line { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--line:hover { background: var(--sky); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue-d); }
.btn--white { background: #fff; color: var(--blue); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; height: var(--hd); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: .3s; }
.hd.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(13, 42, 84, .06); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 24px; width: min(100% - 32px, 1320px); margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 42px; height: 42px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-l), var(--navy)); color: #fff; font-family: var(--en); font-weight: 800; font-size: 22px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.2; }
.logo__en { font-family: var(--en); font-weight: 800; font-size: 20px; letter-spacing: .14em; color: var(--navy); }
.logo__ja { font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 4px; }
.gnav a { display: block; padding: 8px 11px; font-size: 13.5px; font-weight: 500; color: var(--text); transition: .2s; position: relative; }
.gnav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transition: .25s; }
.gnav a:hover { color: var(--blue); }
.gnav a:hover::after { transform: scaleX(1); }
.hd__cta { display: flex; gap: 8px; }
.hd__tel { display: flex; flex-direction: column; line-height: 1.2; text-align: right; padding-right: 6px; }
.hd__tel b { font-family: var(--en); font-size: 17px; color: var(--navy); letter-spacing: .04em; }
.hd__tel small { font-size: 10px; color: var(--muted); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: var(--sky); cursor: pointer; position: relative; margin-left: auto; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); transition: .3s; }
.menu-btn::before { top: 15px; } .menu-btn span { top: 22px; } .menu-btn::after { top: 29px; }
.is-menu .menu-btn::before { top: 22px; transform: rotate(45deg); }
.is-menu .menu-btn span { opacity: 0; }
.is-menu .menu-btn::after { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1240px) { .hd__tel { display: none; } }
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .gnav { position: fixed; inset: var(--hd) 0 0; background: #fff; padding: 20px 24px 120px; overflow: auto; transform: translateX(100%); transition: .35s; margin: 0; }
  .is-menu .gnav { transform: none; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .gnav a::after { display: none; }
  .hd__cta { display: none; }
  .gnav .gnav__cta { display: grid !important; gap: 10px; margin-top: 24px; }
}
.gnav__cta { display: none !important; }

/* ---------- section common ---------- */
.sec { padding: 120px 0; position: relative; }
.sec--sky { background: var(--sky-2); }
.sec--tint { background: linear-gradient(180deg, #fff, var(--sky) 100%); }
.sec__hd { text-align: center; margin-bottom: 60px; }
.sec__en { display: inline-flex; align-items: center; gap: 12px; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .3em; color: var(--blue); }
.sec__en::before, .sec__en::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec__ttl { margin-top: 14px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.45; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.sec__ttl em { font-style: normal; color: var(--blue); }
.sec__lead { margin: 22px auto 0; max-width: 760px; color: var(--muted); font-size: 15.5px; }
.note { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .sec { padding: 80px 0; } .sec__hd { margin-bottom: 40px; } .sec__lead { text-align: left; } }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding: calc(var(--hd) + 56px) 0 90px; position: relative; overflow: hidden; background: radial-gradient(1000px 520px at 85% 10%, var(--sky), transparent 70%), #fff; }
.hero::before { content: ""; position: absolute; right: -120px; top: 40px; width: 560px; height: 560px; border: 1px solid var(--line); border-radius: 50%; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero__en { font-family: var(--en); font-size: 12.5px; font-weight: 700; letter-spacing: .32em; color: var(--blue); }
.hero h1 { margin-top: 18px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.38; font-weight: 800; color: var(--navy); letter-spacing: .03em; }
.hero h1 em { font-style: normal; color: var(--blue); background: linear-gradient(transparent 68%, #d6e6fb 68%); }
.hero__for { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__for li { font-size: 13px; font-weight: 700; color: var(--blue); background: var(--sky); padding: 5px 14px; border: 1px solid #cfe0f7; }
.hero__txt { margin-top: 22px; color: var(--muted); font-size: 15.5px; }
.hero__badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.hero__badges li { background: #fff; border: 1px solid var(--line); padding: 12px 6px 10px; text-align: center; box-shadow: var(--shadow); }
.hero__badges img { width: 34px; margin: 0 auto 4px; }
.hero__badges b { display: block; font-size: 13px; color: var(--navy); line-height: 1.4; }
.hero__badges small { font-size: 11px; color: var(--muted); }
.price-box { margin-top: 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 24px; background: var(--navy); color: #fff; }
.price-box__lbl { font-size: 13px; font-weight: 700; padding: 4px 10px; background: rgba(255, 255, 255, .14); }
.price-box__num { font-family: var(--en); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: .02em; }
.price-box__num small { font-size: 14px; font-weight: 600; margin-left: 4px; font-family: var(--ja); }
.price-box__tax { font-size: 12.5px; opacity: .82; }
.price-box__zero { margin-left: auto; text-align: right; font-size: 13px; line-height: 1.6; }
.price-box__zero b { color: #ffd38a; font-size: 17px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__try { margin-top: 14px; font-size: 13.5px; }
.hero__try a { color: var(--blue); font-weight: 700; border-bottom: 1px solid currentColor; }
.hero__visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.hero__ph { position: relative; }
.hero__ph:nth-child(2) { transform: translateY(46px); }
.hero__ph:nth-child(3) { transform: translateY(-20px); }
.hero__ph img { width: 100%; aspect-ratio: 2 / 3.3; object-fit: cover; box-shadow: var(--shadow-l); }
.hero__ph figcaption { position: absolute; left: 0; bottom: 16px; background: #fff; padding: 6px 12px; font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--navy); line-height: 1.4; }
.hero__ph figcaption span { display: block; font-family: var(--ja); font-size: 12px; letter-spacing: .06em; color: var(--blue); }
.hero__stamp { position: absolute; left: -36px; bottom: -30px; width: 132px; height: 132px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-l); display: grid; place-items: center; text-align: center; color: var(--navy); font-weight: 800; line-height: 1.25; font-size: 13px; border: 2px solid var(--blue); }
.hero__stamp b { display: block; font-family: var(--en); font-size: 30px; color: var(--blue); }
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 640px; margin: 10px auto 40px; width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--hd) + 30px); }
  .hero__badges { grid-template-columns: repeat(2, 1fr); }
  .price-box__zero { margin-left: 0; text-align: left; }
  .hero__btns .btn { width: 100%; }
  .hero__stamp { width: 104px; height: 104px; left: -8px; font-size: 11px; }
  .hero__stamp b { font-size: 24px; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee__in { display: flex; width: max-content; animation: mq 40s linear infinite; }
.marquee span { font-family: var(--en); font-weight: 600; letter-spacing: .26em; font-size: 14px; padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.marquee span::after { content: "✦"; color: #8fb6ee; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__in { animation: none; } }

/* ---------- concept ---------- */
.concept__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.concept__ph { position: relative; }
.concept__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.concept__ph::before { content: ""; position: absolute; left: -22px; top: -22px; width: 60%; height: 70%; background: var(--sky); z-index: -1; }
.concept__ph figcaption { position: absolute; right: -14px; bottom: -22px; background: var(--blue); color: #fff; padding: 14px 20px; font-size: 14px; font-weight: 700; line-height: 1.5; box-shadow: var(--shadow); }
.concept__body .sec__en { justify-content: flex-start; }
.concept__body .sec__en::after { display: none; }
.concept__body .sec__ttl { text-align: left; }
.concept__body p { margin-top: 20px; color: var(--muted); }
.concept__body p strong { color: var(--navy); background: linear-gradient(transparent 62%, #d6e6fb 62%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 80px; }
.stat { background: #fff; border: 1px solid var(--line); padding: 26px 16px 22px; text-align: center; position: relative; box-shadow: var(--shadow); }
.stat img { width: 52px; margin: 0 auto 10px; }
.stat__num { font-family: var(--en); font-weight: 800; font-size: 34px; color: var(--blue); line-height: 1.1; }
.stat__num small { font-size: 15px; font-family: var(--ja); margin-left: 2px; }
.stat__lbl { font-weight: 700; color: var(--navy); margin-top: 6px; font-size: 15px; }
.stat__sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.6; }
@media (max-width: 900px) { .concept__grid { grid-template-columns: 1fr; gap: 56px; } .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reason { background: #fff; border: 1px solid var(--line); padding: 34px 30px 30px; position: relative; transition: .3s; }
.reason:hover { border-color: var(--blue-l); box-shadow: var(--shadow-l); transform: translateY(-3px); }
.reason__no { position: absolute; right: 20px; top: 16px; font-family: var(--en); font-weight: 800; font-size: 40px; color: var(--sky); line-height: 1; }
.reason__ic { width: 70px; height: 70px; display: grid; place-items: center; background: var(--sky); margin-bottom: 18px; }
.reason__ic img { width: 48px; }
.reason h3 { font-size: 18.5px; color: var(--navy); line-height: 1.5; }
.reason p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.reason p b { color: var(--blue); }
@media (max-width: 960px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- industries ---------- */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.ind__ph { position: relative; }
.ind__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ind__ic { position: absolute; left: 16px; bottom: -26px; width: 58px; height: 58px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.ind__ic img { width: 40px; }
.ind__body { padding: 40px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.ind__en { font-family: var(--en); font-size: 11px; letter-spacing: .22em; color: var(--blue); font-weight: 700; }
.ind h3 { font-size: 20px; color: var(--navy); margin-top: 2px; }
.ind p { font-size: 14px; color: var(--muted); margin-top: 10px; flex: 1; }
.ind ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ind li { font-size: 12px; color: var(--blue); border: 1px solid #cfe0f7; padding: 2px 10px; background: var(--sky-2); }
.tastes { margin-top: 48px; background: #fff; border: 1px solid var(--line); padding: 30px 34px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.tastes h3 { font-size: 17px; color: var(--navy); line-height: 1.5; }
.tastes h3 small { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--blue); }
.tastes ul { display: flex; flex-wrap: wrap; gap: 10px; }
.tastes li { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--sky-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.tastes li i { width: 14px; height: 14px; display: inline-block; border: 1px solid rgba(0, 0, 0, .12); }
@media (max-width: 1000px) { .inds { grid-template-columns: repeat(2, 1fr); } .tastes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .inds { grid-template-columns: 1fr; } }

/* ---------- showcase ---------- */
.show { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.sc { display: block; background: #fff; border: 1px solid var(--line); transition: .3s; }
.sc:hover { box-shadow: var(--shadow-l); transform: translateY(-4px); border-color: var(--blue-l); }
.sc__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f4f8; border-bottom: 1px solid var(--line); }
.sc__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd7e3; }
.sc__bar span { margin-left: 8px; flex: 1; background: #fff; font-size: 11px; color: var(--muted); padding: 2px 10px; font-family: var(--en); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sc__screen { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; }
.sc__screen img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.sc:hover .sc__screen img { transform: scale(1.05); }
.sc__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); }
.sc__over b { font-size: 22px; letter-spacing: .06em; line-height: 1.3; }
.sc__over small { font-size: 12px; opacity: .9; }
.sc__body { padding: 18px 20px 20px; display: flex; align-items: flex-start; gap: 14px; }
.sc__chips { display: flex; gap: 4px; flex-shrink: 0; padding-top: 4px; }
.sc__chips i { width: 18px; height: 18px; border: 1px solid rgba(0, 0, 0, .12); }
.sc__txt { flex: 1; }
.sc__tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--blue); padding: 1px 10px; }
.sc__txt p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.sc__more { display: inline-flex; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); gap: 6px; align-items: center; }
.sc__more::after { content: "→"; transition: .25s; }
.sc:hover .sc__more::after { transform: translateX(4px); }
.show-note { text-align: center; margin-top: 30px; }
@media (max-width: 980px) { .show { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .show { grid-template-columns: 1fr; } }

/* works (稼働中サイト) */
.works { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.wk { background: #fff; border: 1px solid var(--line); display: block; transition: .3s; }
.wk:hover { box-shadow: var(--shadow); border-color: var(--blue-l); }
.wk__ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.wk__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wk__body { padding: 12px 14px; }
.wk__body b { display: block; font-size: 14px; color: var(--navy); }
.wk__body small { font-family: var(--en); font-size: 11px; color: var(--muted); }
.works-more { text-align: center; margin-top: 28px; }
@media (max-width: 1000px) { .works { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .works { grid-template-columns: repeat(2, 1fr); } }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: fl; position: relative; }
.flow::before { content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-l) 0 8px, transparent 8px 16px); }
.fl { text-align: center; position: relative; }
.fl__ic { width: 116px; height: 116px; margin: 0 auto; background: #fff; border: 2px solid var(--blue); display: grid; place-items: center; position: relative; }
.fl__ic img { width: 64px; }
.fl__no { position: absolute; top: -12px; right: -12px; width: 36px; height: 36px; background: var(--blue); color: #fff; font-family: var(--en); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.fl h3 { margin-top: 20px; font-size: 18px; color: var(--navy); }
.fl p { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: left; }
.trial { margin-top: 60px; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--navy); color: #fff; }
.trial__body { padding: 44px 48px; }
.trial__en { font-family: var(--en); font-size: 12px; letter-spacing: .26em; color: #9fc3f5; font-weight: 700; }
.trial h3 { font-size: 26px; margin-top: 6px; line-height: 1.5; }
.trial p { margin-top: 12px; font-size: 14.5px; opacity: .88; }
.trial .btn { margin-top: 22px; }
.trial__ph img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } .flow::before { display: none; } .trial { grid-template-columns: 1fr; } .trial__body { padding: 34px 26px; } }

/* ---------- features ---------- */
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 40px; }
.ai__ph img { width: 100%; height: 100%; object-fit: cover; }
.ai__body { padding: 48px 46px; }
.ai__tag { display: inline-flex; align-items: center; gap: 8px; background: var(--sky); color: var(--blue); font-family: var(--en); font-weight: 800; font-size: 12px; letter-spacing: .2em; padding: 6px 14px; }
.ai__tag img { width: 22px; }
.ai h3 { font-size: 27px; color: var(--navy); margin-top: 14px; line-height: 1.45; }
.ai__list { margin-top: 22px; display: grid; gap: 16px; }
.ai__list li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; }
.ai__list img { width: 54px; background: var(--sky); padding: 8px; }
.ai__list b { display: block; color: var(--navy); font-size: 16px; }
.ai__list span { font-size: 14px; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ft { background: #fff; border: 1px solid var(--line); padding: 28px 26px; display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; transition: .3s; }
.ft:hover { border-color: var(--blue-l); box-shadow: var(--shadow); }
.ft img { width: 60px; }
.ft__en { font-family: var(--en); font-size: 10.5px; letter-spacing: .24em; color: var(--blue); font-weight: 700; }
.ft h3 { font-size: 17px; color: var(--navy); line-height: 1.5; }
.ft p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 980px) { .ai { grid-template-columns: 1fr; } .ai__body { padding: 34px 26px; } .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feats { grid-template-columns: 1fr; } }

/* all features tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: .2s; border-radius: 999px; }
.tab img { width: 20px; }
.tab small { color: var(--muted); font-family: var(--en); font-size: 11px; }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }
.tab[aria-selected="true"] img { filter: brightness(0) invert(1); }
.panel { background: #fff; border: 1px solid var(--line); padding: 36px 40px; box-shadow: var(--shadow); }
.panel__hd { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel__hd img { width: 46px; }
.panel__hd h3 { font-size: 22px; color: var(--navy); }
.panel__hd span { margin-left: auto; font-size: 13px; color: var(--muted); }
.panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 34px; }
.panel li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.7; }
.panel li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--sky); }
.panel li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); }
.panel li .new { display: inline-block; font-family: var(--en); font-size: 10px; font-weight: 800; background: var(--accent); color: #fff; padding: 0 6px; margin-right: 6px; letter-spacing: .1em; vertical-align: 2px; }
@media (max-width: 760px) { .panel { padding: 26px 20px; } .panel ul { grid-template-columns: 1fr; } }

/* ---------- comparison ---------- */
.cmp-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 15px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp thead th { background: var(--sky-2); font-size: 14px; color: var(--muted); }
.cmp thead th.us { background: var(--blue); color: #fff; font-size: 15px; }
.cmp tbody th { text-align: left; font-weight: 700; color: var(--navy); width: 26%; background: #fbfcfe; }
.cmp td.us { background: #f3f8ff; color: var(--navy); font-weight: 700; }
.cmp .ok { color: var(--blue); font-weight: 800; margin-right: 4px; }
.cmp .ng { color: #9aa6b5; }

/* ---------- CMS ---------- */
.cms { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.cms__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow-l); }
.cms__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cms__grid li { background: #fff; border: 1px solid var(--line); padding: 14px 6px 10px; text-align: center; font-size: 12.5px; font-weight: 500; line-height: 1.45; }
.cms__grid img { width: 36px; margin: 0 auto 6px; }
.cms__note { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--navy); font-weight: 700; background: var(--sky); padding: 12px 16px; }
.cms__note img { width: 30px; }
@media (max-width: 980px) { .cms { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cms__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.plan--rec { border: 2px solid var(--blue); box-shadow: var(--shadow-l); transform: translateY(-10px); }
.plan__rec { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 16px; white-space: nowrap; letter-spacing: .1em; }
.plan__hd { padding: 26px 18px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.plan--rec .plan__hd { background: var(--sky-2); }
.plan__en { font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--blue); font-weight: 700; }
.plan h3 { font-size: 16.5px; color: var(--navy); line-height: 1.45; margin-top: 4px; min-height: 2.9em; display: grid; place-items: center; }
.plan__price { font-family: var(--en); font-weight: 800; font-size: 34px; color: var(--navy); margin-top: 8px; line-height: 1.1; }
.plan__price small { font-size: 12px; font-family: var(--ja); font-weight: 500; color: var(--muted); }
.plan__tax { font-size: 12.5px; color: var(--muted); }
.plan__init { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--sky); padding: 2px 10px; }
.plan ul { padding: 18px 18px 6px; flex: 1; }
.plan li { font-size: 13px; padding: 6px 0 6px 22px; border-bottom: 1px dashed var(--line); position: relative; line-height: 1.6; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 5px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); }
.plan li.ai-only { color: var(--blue-d); font-weight: 700; }
.plan__ft { padding: 16px 16px 20px; display: grid; gap: 8px; }
.plan__ft .btn { min-height: 44px; font-size: 13.5px; padding: 0 12px; }
.plan__ft .btn::after { display: none; }
.plan__ask { font-size: 12.5px; color: var(--blue); text-align: center; text-decoration: underline; cursor: pointer; background: none; border: 0; }
.price-note { margin-top: 26px; text-align: center; }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } .plan--rec { transform: none; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* options */
.opts-hd { margin: 100px 0 30px; text-align: center; }
.opts-hd h3 { font-size: 26px; color: var(--navy); }
.opts-hd p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.opt { background: #fff; border: 1px solid var(--line); padding: 22px 22px 20px; display: flex; flex-direction: column; }
.opt__top { display: flex; align-items: center; gap: 12px; }
.opt__top img { width: 44px; background: var(--sky); padding: 6px; }
.opt__kind { font-size: 11px; font-weight: 700; padding: 1px 8px; border: 1px solid currentColor; color: var(--blue); }
.opt__kind.once { color: var(--ok); }
.opt h4 { font-size: 16px; color: var(--navy); line-height: 1.45; }
.opt__price { font-family: var(--en); font-weight: 800; font-size: 22px; color: var(--blue); margin-top: 12px; }
.opt__price small { font-family: var(--ja); font-size: 11.5px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.opt__tax { font-size: 12px; color: var(--muted); }
.opt p { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.75; }
.opt--free { border-color: var(--blue-l); background: var(--sky-2); }
@media (max-width: 960px) { .opts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .opts { grid-template-columns: 1fr; } }

/* ---------- estimate ---------- */
.est { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.est__form { background: #fff; border: 1px solid var(--line); padding: 30px; }
.est__step { margin-bottom: 26px; }
.est__step > b { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 16px; margin-bottom: 12px; }
.est__step > b i { font-style: normal; width: 26px; height: 26px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--en); font-size: 13px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field > span { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field label .req { color: var(--ng); margin-left: 4px; }
.input, .select, .textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9d6e8; background: #fff; font-size: 15px; transition: .2s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 95, 191, .14); }
.textarea { min-height: 150px; resize: vertical; }
.radios { display: grid; gap: 8px; }
.radio, .check { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); cursor: pointer; font-size: 14px; transition: .2s; }
.radio:has(input:checked), .check:has(input:checked) { border-color: var(--blue); background: var(--sky-2); }
.radio input, .check input { accent-color: var(--blue); width: 17px; height: 17px; }
.radio em, .check em { font-style: normal; margin-left: auto; font-family: var(--en); font-weight: 700; color: var(--blue); font-size: 13px; white-space: nowrap; }
.checks { display: grid; grid-template-columns: 1fr; gap: 8px; max-height: 340px; overflow: auto; padding-right: 4px; }
.est__paper { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); padding: 34px; position: sticky; top: calc(var(--hd) + 20px); }
.est__paper h3 { text-align: center; font-size: 24px; letter-spacing: .5em; color: var(--navy); border-bottom: 3px double var(--navy); padding-bottom: 10px; }
.est__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 13px; }
.est__to { font-size: 17px; font-weight: 700; border-bottom: 1px solid var(--text); padding-bottom: 2px; }
.est__from { text-align: right; font-size: 12px; color: var(--muted); line-height: 1.6; }
.est__from b { font-size: 14px; color: var(--navy); }
.est__total { margin-top: 20px; display: flex; justify-content: space-between; align-items: baseline; background: var(--sky); padding: 14px 18px; }
.est__total span { font-weight: 700; color: var(--navy); }
.est__total b { font-family: var(--en); font-size: 30px; color: var(--blue); }
.est__tbl { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.est__tbl th, .est__tbl td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: right; }
.est__tbl th:first-child, .est__tbl td:first-child { text-align: left; }
.est__tbl thead th { background: var(--navy); color: #fff; font-weight: 500; font-size: 12px; }
.est__tbl tfoot td { font-weight: 700; color: var(--navy); }
.est__notes { margin-top: 14px; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.est__btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 980px) { .est { grid-template-columns: 1fr; } .est__paper { position: static; } }

/* ---------- overview ---------- */
.ov { background: #fff; border: 1px solid var(--line); padding: 40px 46px; box-shadow: var(--shadow); }
.ov__lead { font-size: 15px; color: var(--muted); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.ov__lead strong { color: var(--navy); }
.ov dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; }
.ov dt, .ov dd { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; margin: 0; }
.ov dt { font-weight: 700; color: var(--navy); }
.ov dd { color: var(--text); }
.ov__upd { margin-top: 16px; text-align: right; }
@media (max-width: 760px) { .ov { padding: 26px 20px; } .ov dl { grid-template-columns: 1fr; } .ov dt { border-bottom: 0; padding-bottom: 0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 38px 1fr 24px; gap: 14px; align-items: center; padding: 20px 22px; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; width: 38px; height: 38px; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--en); font-weight: 800; }
.qa summary::after { content: "+"; font-size: 24px; color: var(--blue); font-weight: 400; text-align: center; transition: .3s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 0 22px 22px; font-size: 14.5px; color: var(--muted); }
.qa__a::before { content: "A"; width: 38px; height: 38px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-family: var(--en); font-weight: 800; }
.qa__a a { color: var(--blue); text-decoration: underline; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(180deg, var(--sky-2), var(--sky)); }
.ct { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.ct__side img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ct__tel { background: #fff; border: 1px solid var(--line); padding: 26px 28px; margin-top: 18px; box-shadow: var(--shadow); }
.ct__tel small { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.ct__tel a { display: flex; align-items: center; gap: 12px; font-family: var(--en); font-weight: 800; font-size: 34px; color: var(--navy); letter-spacing: .04em; margin-top: 4px; }
.ct__tel a img { width: 40px; }
.ct__tel p { font-size: 13px; color: var(--muted); }
.ct__pts { margin-top: 18px; display: grid; gap: 10px; }
.ct__pts li { display: flex; gap: 12px; align-items: center; background: #fff; padding: 12px 16px; border: 1px solid var(--line); font-size: 14px; }
.ct__pts img { width: 32px; }
.cform { background: #fff; border: 1px solid var(--line); padding: 36px 34px; box-shadow: var(--shadow-l); }
.cform h3 { font-size: 22px; color: var(--navy); margin-bottom: 18px; }
.cform__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cform__agree { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 8px 0 18px; }
.cform__agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.cform__agree a { color: var(--blue); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; }
.field__err { color: var(--ng); font-size: 12.5px; display: none; }
.field.is-err .input, .field.is-err .select, .field.is-err .textarea { border-color: var(--ng); }
.field.is-err .field__err { display: block; }
.cform__done { text-align: center; padding: 30px 10px; }
.cform__done img { width: 74px; margin: 0 auto 14px; }
.cform__done b { font-size: 21px; color: var(--navy); display: block; }
.cform__done p { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 980px) { .ct { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cform { padding: 26px 18px; } .cform__2 { grid-template-columns: 1fr; } .ct__tel a { font-size: 27px; } }

/* ---------- footer ---------- */
.ft-site { background: var(--navy); color: #cfdbec; padding: 70px 0 110px; font-size: 13.5px; }
.ft-site__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 50px; }
.ft-site .logo__en { color: #fff; }
.ft-site .logo__ja { color: #9fb3cf; }
.ft-site .logo__mark { background: linear-gradient(135deg, var(--blue-l), var(--blue)); }
.ft-site__desc { margin-top: 18px; font-size: 12.5px; line-height: 1.9; color: #9fb3cf; }
.ft-site__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ft-site__nav b { display: block; color: #fff; font-size: 13.5px; margin-bottom: 10px; }
.ft-site__nav li a { display: block; padding: 3px 0; color: #cfdbec; transition: .2s; }
.ft-site__nav li a:hover { color: #fff; }
.ft-site__btm { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ft-site__btm ul { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .ft-site__top { grid-template-columns: 1fr; } .ft-site__nav { grid-template-columns: repeat(2, 1fr); } }

/* mobile fixed bar */
.fbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: 0 -6px 20px rgba(13, 42, 84, .12); }
.fbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font-size: 11.5px; font-weight: 700; color: var(--navy); }
.fbar a img { width: 26px; }
.fbar a.is-main { background: var(--blue); color: #fff; }
.fbar a.is-main img { filter: brightness(0) invert(1); }
@media (max-width: 760px) { .fbar { display: grid; } }

/* page top */
.pagetop { position: fixed; right: 18px; bottom: 22px; width: 48px; height: 48px; background: var(--blue); color: #fff; display: grid; place-items: center; z-index: 39; opacity: 0; pointer-events: none; transition: .3s; box-shadow: var(--shadow); }
.pagetop.is-show { opacity: 1; pointer-events: auto; }
.pagetop::before { content: ""; width: 10px; height: 10px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translateY(3px) rotate(45deg); }
@media (max-width: 760px) { .pagetop { bottom: 82px; right: 12px; width: 42px; height: 42px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); min-width: 280px; max-width: calc(100% - 32px); background: var(--navy); color: #fff; padding: 14px 44px 14px 18px; box-shadow: var(--shadow-l); z-index: 100; opacity: 0; pointer-events: none; transition: .3s; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.is-ok { background: var(--ok); }
.toast.is-ng { background: var(--ng); }
.toast__x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; width: 30px; height: 30px; }
@media (max-width: 760px) { .toast { bottom: 84px; } }

/* print: 見積書のみ */
@media print {
  body * { visibility: hidden; }
  .est__paper, .est__paper * { visibility: visible; }
  .est__paper { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: 0; }
  .est__btns { display: none; }
}
