/* 色はここだけ変えれば全体に反映される */
:root {
  --main: #1B7A4B;
  --main-soft: #d8ecdc;
  --sub: #0A2C55;
  --accent: #c5e89a;
  --grad: linear-gradient(100deg, #1B7A4B 0%, #0f5a5c 55%, #0A2C55 100%);
  --ink: #222;
  --muted: #555;
  --paper: #FAF8F4;
  --white: #fff;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Poppins", "Noto Sans JP", "Yu Gothic", sans-serif;
  --bar: 50px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); }
body { background: var(--paper); color: var(--ink); font: 500 16px/1.75 var(--sans); overflow-x: hidden; padding-top: var(--bar); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--main); }
b { font-weight: 700; }
.r { color: var(--main); }
.sp { display: none; }
.wrap { width: min(1000px, 100%); margin-inline: auto; padding-inline: 20px; }
.narrow { width: min(860px, 100%); }

/* 固定バー */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar); display: flex; justify-content: space-between; align-items: center; background: var(--grad); color: var(--white); }
.bar-title { display: flex; align-items: center; min-width: 0; padding-left: 16px; }
.bar-title strong { padding-right: 14px; margin-right: 14px; border-right: 1px solid #fff; line-height: 1; white-space: nowrap; }
.bar-title span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-cta { flex: none; display: flex; align-items: center; height: 100%; padding-inline: 26px; background: var(--sub); color: var(--white); font-size: 14px; font-weight: 700; }
.bar-cta:hover { background: #061d3a; }

/* MV */
.mv { background: var(--paper); overflow: hidden; }
.mv-inner { width: min(1000px, 100%); margin-inline: auto; padding: 22px 20px 0; display: grid; grid-template-columns: 40% 1fr; gap: 16px; align-items: center; }
.mv-visual { position: relative; height: 560px; }
.mv-phone { position: absolute; width: 58%; border-radius: 26px 26px 0 0; border: 7px solid #15161a; border-bottom: 0; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.mv-phone.back { left: 2%; top: 74px; transform: rotate(-6deg); }
.mv-phone.front { left: 36%; top: 118px; transform: rotate(3deg); }
.mv-tag { position: absolute; z-index: 3; left: 0; top: 0; padding: 2px 12px; background: var(--white); border: 2px solid var(--ink); font: 900 22px/1.4 var(--serif); }
.mv-note { position: absolute; z-index: 3; left: 66%; top: 24px; padding: 10px 8px 22px; background: var(--sub); color: var(--white); writing-mode: vertical-rl; font-size: 15px; font-weight: 700; line-height: 1.35; transform: rotate(6deg); clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%); }
.mv-haku { position: absolute; z-index: 4; left: 0; bottom: 74px; width: 158px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.mv-sticker { position: absolute; z-index: 5; left: 6px; bottom: 20px; padding: 3px 16px; background: var(--white); font: 900 19px/1.5 var(--serif); transform: skewX(-8deg) rotate(-3deg); box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.mv-sticker b { color: var(--main); font-size: 25px; }

.mv-copy { padding-bottom: 22px; text-align: center; }
.ribbon { display: inline-block; margin-bottom: 10px; padding: 3px 36px; background: var(--sub); color: var(--white); font: 700 19px/1.6 var(--serif); letter-spacing: .05em; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%); }
.lead { width: fit-content; margin: 0 auto 4px; padding-inline: 8px; border-bottom: 1px solid #bbb; font: 700 clamp(15px, 1.9vw, 19px)/1.8 var(--serif); }
.lead em { font-size: 1.14em; }

/* 大きなコピーの組み */
.lockup { container-type: inline-size; width: min(100%, 500px); margin: 14px auto 0; text-align: left; font-family: var(--serif); }
.lk-price { display: flex; align-items: baseline; flex-wrap: wrap; color: var(--main); line-height: 1; transform: skewX(-9deg) rotate(-3deg); transform-origin: left bottom; }
.lk-price small { color: var(--sub); font-size: 7.6cqw; font-weight: 900; }
.lk-price small i { font-size: .5em; font-style: normal; }
.lk-price b { padding-inline: .05em; font-size: 26cqw; font-weight: 900; letter-spacing: -.03em; }
.lk-limit { display: flex; align-items: baseline; justify-content: flex-end; white-space: nowrap; margin-top: 2cqw; color: var(--sub); line-height: 1.1; transform: skewX(-9deg) rotate(-2deg); }
.lk-limit span { font-size: 6.8cqw; font-weight: 900; }
.lk-limit b { margin-left: .15em; color: var(--main); font-size: 13cqw; font-weight: 900; }
.lk-box { margin-top: 3cqw; }
.lk-outline { display: inline-block; padding: .08em .4em; background: var(--white); border: 1px solid var(--main); color: var(--main); font-size: 6.8cqw; font-weight: 900; line-height: 1.25; }
.lk-outline small { font-size: .72em; margin-right: .1em; }
.lk-fill { background: var(--grad); color: var(--white); font-size: 16.6cqw; font-weight: 900; line-height: 1.2; text-align: center; white-space: nowrap; }

.band { height: 50px; background: var(--grad); }

/* 見出し */
.heading { padding-inline: 16px; text-align: center; }
.on-dark em { color: var(--accent); }
.heading h2, .col p, .summary, .heading-note { word-break: auto-phrase; }
.heading h2 { font: 900 clamp(25px, 4.3vw, 44px)/1.4 var(--serif); }
.heading-sub { font: 700 clamp(19px, 2.5vw, 26px)/1.5 var(--serif); }
.heading-note { margin-top: 10px; font: 700 clamp(15px, 1.7vw, 18px)/1.7 var(--serif); }
.chip { display: inline-block; margin-bottom: 8px; padding: 3px 12px; background: var(--white); border: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.ico { display: block; width: 50px; margin: 0 auto 8px; color: var(--sub); }

/* 5本の縦帯 */
.intro { padding-top: 40px; background: var(--white); }
.cols { display: grid; grid-template-columns: repeat(5, 1fr); height: clamp(460px, 44vw, 620px); margin-top: 22px; }
.col { position: relative; overflow: hidden; background: var(--white); }
.col-bg { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(var(--main) 62%, #fff 100%); }
.col:nth-child(even) .col-bg { background: linear-gradient(var(--sub) 44%, #fff 92%); }
.col p { position: relative; z-index: 1; margin: 28px auto 0; writing-mode: vertical-rl; color: var(--white); font: 700 clamp(17px, 1.75vw, 24px)/1.4 var(--serif); letter-spacing: .1em; }
.col img { position: absolute; left: 50%; bottom: -70%; width: 66%; border: 5px solid #15161a; border-radius: 18px; transform: translateX(-50%); box-shadow: 0 10px 24px rgba(0,0,0,.3); }

.explain { padding: 44px 20px 40px; background: var(--paper); text-align: center; }
.pop { position: relative; display: inline-block; margin-bottom: 18px; padding: 3px 18px; background: var(--main); color: var(--white); font: 700 21px/1.6 var(--serif); }
.pop::after { content: ""; position: absolute; left: 50%; bottom: -9px; margin-left: -9px; border: 9px solid transparent; border-bottom: 0; border-top-color: var(--main); }
.explain h3 { font: 900 clamp(26px, 4.3vw, 44px)/1.4 var(--serif); }
.white-note { width: fit-content; margin: 14px auto 18px; padding: 5px 18px; background: var(--white); color: var(--main); font: 700 clamp(15px, 2vw, 20px)/1.6 var(--serif); }
.tx { font: 500 clamp(15px, 1.8vw, 18px)/1.85 var(--serif); }
.small { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* CTA帯 */
.cta { background: var(--grad); overflow: hidden; }
.cta-inner { width: min(780px, 100%); margin-inline: auto; padding-inline: 20px; display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 290px; }
.cta-haku { flex: none; width: 210px; border-radius: 50%; border: 6px solid #fff; }
.cta-body { flex: 1; min-width: 0; padding-block: 26px; text-align: center; }
.slashes { position: relative; width: fit-content; margin-inline: auto; padding-inline: 44px; color: var(--white); font: 700 clamp(15px, 2vw, 20px)/1.5 var(--serif); }
.slashes::before, .slashes::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; }
.slashes::before { left: 14px; transform: rotate(-24deg); }
.slashes::after { right: 14px; transform: rotate(24deg); }
.y { color: var(--accent); }
.brand { margin: 2px 0 14px; color: var(--white); font: 900 clamp(38px, 5.6vw, 58px)/1.3 var(--serif); transform: skewX(-10deg); }
.pill { position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 14px 28px 14px 16px; background: var(--white); border-radius: 60px; color: var(--sub); font: 700 clamp(17px, 2.3vw, 24px)/1.3 var(--serif); animation: pulse 1s ease-in-out infinite alternate; }
.pill:hover { animation-play-state: paused; opacity: .88; }
.pill-tag { position: absolute; left: 50%; top: -15px; padding: 1px 10px; background: var(--accent); border-radius: 3px; color: var(--sub); font-size: 13px; font-weight: 900; line-height: 1.7; white-space: nowrap; transform: translateX(-50%); }
.pill-tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--accent); }
.burst { flex: none; display: grid; place-items: center; width: 62px; height: 62px; background: var(--main); color: var(--white); font-size: 13px; clip-path: polygon(50% 0,61% 9%,75% 7%,80% 20%,93% 25%,91% 39%,100% 50%,91% 61%,93% 75%,80% 80%,75% 93%,61% 91%,50% 100%,39% 91%,25% 93%,20% 80%,7% 75%,9% 61%,0 50%,9% 39%,7% 25%,20% 20%,25% 7%,39% 9%); }
.chev { flex: none; width: 11px; height: 11px; margin-left: 4px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
@keyframes pulse { to { transform: scale(1.03); } }

/* ABOUT */
.about { padding-block: 60px; background: var(--paper); }
.about-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.slider-box { display: flex; gap: 18px; overflow-x: auto; padding: 24px 22%; background: var(--white); border-radius: 26px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider-box::-webkit-scrollbar { display: none; }
.slider-box img { flex: 0 0 100%; min-width: 0; border: 6px solid #15161a; border-radius: 22px; scroll-snap-align: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tags span { padding: 1px 10px; background: var(--sub); color: var(--white); font: 700 20px/1.6 var(--serif); }
.about-copy h2 { margin-bottom: 18px; font: 900 clamp(29px, 4.1vw, 42px)/1.35 var(--serif); }
.about-copy p { font-size: 15px; line-height: 2; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.card { padding: 28px; background: var(--white); }
.card h3 { margin-bottom: 18px; color: var(--main); font: 700 19px/1.55 var(--serif); text-align: center; }
.card-img { height: 170px; margin-bottom: 18px; overflow: hidden; background: #e8e9ec; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card > p { font-size: 14px; line-height: 1.85; }

/* 理由と料金 */
.reasons { padding-block: 60px; background: var(--white); }
.seals { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 34px; }
.seals li { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 164px; height: 164px; padding: 8px; background: var(--paper); border: 2px solid var(--sub); outline: 2px solid var(--sub); outline-offset: 4px; border-radius: 50%; text-align: center; }
.seals small { font-size: 13px; font-weight: 700; line-height: 1.5; }
.seals b { color: var(--main); font: 900 34px/1.1 var(--serif); }
.seals b i { font-size: .55em; font-style: normal; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.plan { padding: 26px 28px; background: var(--paper); border-top: 5px solid var(--main); }
.plan h3 { font: 900 22px/1.5 var(--serif); }
.price { color: var(--main); font: 700 18px/1.5 var(--serif); }
.price b { font-size: 44px; font-weight: 900; }
.price small { color: var(--ink); font-size: 13px; }
.plus { color: var(--sub); font-weight: 700; }
.plan p:last-child { margin-top: 8px; font-size: 14px; }

/* お困りごと */
.pain { padding-block: 60px; background: var(--paper); }
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pains li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 16px 18px; background: var(--white); font-size: 15px; }
.pains li span { color: var(--main); font-size: 13px; font-weight: 700; }
.etc { margin-top: 18px; text-align: center; font-size: 14px; }

/* 機能（暗い面） */
.features { padding-block: 60px; background: radial-gradient(circle at 80% 0, #124f6b, #0A2C55 58%); color: var(--white); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.fgrid li { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: var(--white); color: var(--ink); }
.fgrid img { flex: none; width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: top; background: #e8e9ec; }
.fgrid b { display: block; font-size: 15px; line-height: 1.4; }
.fgrid span { font-size: 13px; line-height: 1.4; color: #444; }
.summary { margin-top: 30px; text-align: center; font: 700 clamp(16px, 2.1vw, 21px)/1.8 var(--serif); }
.summary em { color: var(--accent); }

/* FAQ */
.faq { padding-block: 60px; background: var(--white); }
.qa { margin-top: 26px; }
.q, .a { display: flex; align-items: flex-start; gap: 12px; }
.q i, .a i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--white); font: 700 18px/1 var(--sans); }
.q i { background: var(--sub); }
.a i { background: var(--main); }
.q b { padding-top: 8px; font-size: 16px; line-height: 1.6; }
.a { justify-content: flex-end; margin-top: 8px; }
.a span { max-width: 680px; padding: 12px 16px; background: var(--paper); border-radius: 10px; font-size: 14px; }

/* 締め */
.endmv { background: linear-gradient(162deg, #fff 62%, var(--main-soft) 62.2%); overflow: hidden; }
.endmv-inner { width: min(1000px, 100%); margin-inline: auto; padding: 44px 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: end; }
.endmv-copy { padding-bottom: 28px; text-align: center; }
.endmv-phones { position: relative; height: 430px; }
.endmv-phones img { position: absolute; bottom: -60px; width: 44%; border: 6px solid #15161a; border-radius: 22px; box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.endmv-phones img:nth-child(1) { left: 0; transform: rotate(-5deg); }
.endmv-phones img:nth-child(2) { z-index: 1; left: 28%; bottom: -110px; }
.endmv-phones img:nth-child(3) { right: 0; transform: rotate(5deg); }
.cta.end { position: relative; z-index: 1; }
.cta.end .cta-inner { width: min(1000px, 100%); min-height: 0; }
.cta-body.wide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 14px 28px; padding-block: 28px; }
.end-brand .brand { margin-bottom: 0; }

/* 運営情報 */
.company { padding-block: 60px; }
.info { margin-top: 24px; }
.info div { display: flex; gap: 22px; margin-top: 12px; padding: 13px 22px; background: var(--white); font-size: 14px; }
.info dt { flex: 0 0 160px; font-weight: 700; }
.info a { color: var(--main); font-weight: 700; text-decoration: underline; }
.op-logo { display: block; width: 84px; margin: 0 auto 6px; }

.totop { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 48px; height: 48px; background: var(--sub); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .3s; }
.totop::after { content: ""; position: absolute; left: 18px; top: 21px; width: 12px; height: 12px; border: solid #fff; border-width: 2px 0 0 2px; transform: rotate(45deg); }
.totop.show { opacity: 1; pointer-events: auto; }
footer { padding: 20px; background: var(--white); color: var(--muted); font-size: 13px; text-align: center; }

/* 画面に入ったら動く */
.js .rv { opacity: 0; transition: opacity .7s ease, translate .7s ease; }
.js .rv.up { translate: 0 28px; }
.js .rv.left { translate: -36px 0; }
.js .rv.in { opacity: 1; translate: 0 0; }
.js .col-bg { width: .1%; transition: width .7s ease; }
.js .col p { opacity: 0; translate: 0 26px; transition: opacity .5s ease .4s, translate .5s ease .4s; }
.js .col img { transition: bottom 1s ease; }
.js .col.in .col-bg { width: 100%; }
.js .col.in p { opacity: 1; translate: 0 0; }
.col:nth-child(2) * { transition-delay: .1s; }
.col:nth-child(3) * { transition-delay: .2s; }
.col:nth-child(4) * { transition-delay: .3s; }
.col:nth-child(5) * { transition-delay: .4s; }
.js .col.in img, html:not(.js) .col img { bottom: -34%; }
html:not(.js) .col img { bottom: -34%; }

@media (max-width: 760px) {
  body { font-size: 15px; }
  .sp { display: inline; }
  .pc { display: none; }
  .bar-title span { font-size: 12.5px; }
  .bar-cta { padding-inline: 14px; font-size: 13px; }
  .mv-inner { display: flex; flex-direction: column-reverse; align-items: stretch; padding-top: 16px; }
  .mv-copy { padding-bottom: 4px; }
  .mv-visual { height: 360px; }
  .mv-phone { width: 50%; }
  .mv-phone.back { left: 8%; top: 30px; }
  .mv-phone.front { left: 42%; top: 60px; }
  .mv-note { left: auto; right: 0; top: 4px; font-size: 13px; }
  .mv-haku { bottom: 44px; width: 112px; }
  .mv-sticker { bottom: 8px; font-size: 15px; }
  .mv-sticker b { font-size: 19px; }
  .mv-tag { font-size: 18px; }
  .ribbon { padding-inline: 28px; font-size: 16px; }
  .band { height: 24px; }
  .cols { display: block; height: auto; }
  .col { height: 190px; }
  .col p { position: absolute; left: 6%; top: 50%; margin: 0; writing-mode: horizontal-tb; width: 50%; font-size: 19px; translate: 0 -50%; }
  .js .col p, .js .col.in p { translate: 0 -50%; }
  .col-bg, .col:nth-child(even) .col-bg { background: linear-gradient(90deg, var(--main) 54%, #fff 100%); }
  .col:nth-child(even) .col-bg { background: linear-gradient(90deg, var(--sub) 54%, #fff 100%); }
  .col img, .js .col img, .js .col.in img, html:not(.js) .col img { left: auto; right: 6%; bottom: auto; top: 16px; width: 36%; transform: none; }
  .cta-inner { flex-direction: column; gap: 0; padding-top: 22px; }
  .cta-haku { width: 124px; }
  .cta-body { width: 100%; padding-top: 12px; }
  .slashes { padding-inline: 34px; }
  .pill { padding: 10px 16px 10px 10px; gap: 8px; }
  .burst { width: 54px; height: 54px; font-size: 12.5px; }
  .about, .reasons, .pain, .features, .faq, .company { padding-block: 44px; }
  .about-top { grid-template-columns: 1fr; gap: 26px; }
  .about-copy p br.pc { display: none; }
  .cards, .plans, .pains, .fgrid { grid-template-columns: 1fr; }
  .card-img { height: 190px; }
  .seals { gap: 16px; }
  .seals li { width: 142px; height: 142px; }
  .seals b { font-size: 29px; }
  .a span { max-width: none; }
  .endmv { background: linear-gradient(170deg, #fff 76%, var(--main-soft) 76.2%); }
  .endmv-inner { grid-template-columns: 1fr; padding-top: 30px; }
  .endmv-phones { height: 290px; }
  .info div { flex-direction: column; gap: 0; }
  .info dt { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill { animation: none; }
  .js .rv, .js .col-bg, .js .col p, .js .col img { transition: none; }
}
