/* 色は data/sites.mjs の themeColors で上書きできる（base / baseDark / tint / soft / yellow / yellowSoft / coral）
   テーマ「pop」：ターコイズの土台＋黄色で訴求＋白で情報整理＋黒で引き締め。
   data/sites.mjs で theme: "pop" を指定したサイトだけ読み込む（style.css・sites.css の後） */
.theme-pop{
  --teal:#0fa596;--teal-d:#0b8277;--yellow:#ffd60a;--yellow-soft:#fff6c7;--ink:#1d2330;--muted:#4a5363;
  --coral:#ff6b5b;--tint:#d9f4f0;--panel:#fff;--soft:#eef7f6;--line:#dfe7e6;--brand:#0fa596;--brand-d:#0b8277;--accent:#1d2330;
  background:var(--teal);font-weight:500;
}
.theme-pop a{color:var(--teal-d)}
.theme-pop main{padding:0 12px}

/* ---- ヘッダー ---- */
.theme-pop .site-header{background:var(--header,var(--teal));border:0;padding:10px 14px}
.theme-pop .logo{color:#fff;font-size:17px;font-weight:900;letter-spacing:.02em;line-height:1.2}
.theme-pop .logo small{display:block;font-size:10px;font-weight:700;opacity:.9;letter-spacing:0}
.theme-pop .header-cta{background:var(--yellow);color:var(--ink);border:2px solid var(--ink);padding:7px 14px;font-weight:900}
.theme-pop .crumbs,.theme-pop .crumbs a{color:#e6fffb}

/* ---- 見出し：英字（太字斜体）＋左右の罫線＋日本語 ---- */
.theme-pop h2{border:0;padding:0;text-align:center;font-size:18px;font-weight:900;margin:0 0 20px;line-height:1.5}
.theme-pop h2[data-en]::before{content:attr(data-en);display:block;margin:0 auto 4px;font:italic 800 28px/1.2 Montserrat,"Arial Black",sans-serif;letter-spacing:.04em;color:var(--ink);
  background:linear-gradient(var(--ink),var(--ink)) left center/calc(50% - 4.2em) 2px no-repeat,linear-gradient(var(--ink),var(--ink)) right center/calc(50% - 4.2em) 2px no-repeat}
.theme-pop h3{font-weight:900}

/* ---- セクション：白い大きなパネルを積み重ねる ---- */
.theme-pop main>section,.theme-pop main>.price-box{background:var(--panel);border-radius:22px;padding:30px 18px;margin:0 0 18px}
.theme-pop main>section.legal{padding-top:8px}

/* ---- FV ---- */
.theme-pop .hero{position:relative;background:var(--yellow);border-radius:24px;padding:22px 18px 22px;margin-top:4px;overflow:hidden}
.theme-pop .hero-art{width:150px;height:150px;margin:0 auto 6px;border-radius:50%;box-shadow:0 0 0 5px var(--ink)}
.theme-pop .hero-art svg{display:block;width:100%;height:100%}
.theme-pop .hero-badge{position:absolute;top:14px;right:12px;width:76px;height:76px;margin:0;border-radius:50%;background:var(--coral);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;line-height:1.3;font-weight:900;transform:rotate(8deg);box-shadow:0 0 0 3px #fff}
.theme-pop .hero-kicker{display:inline-block;background:var(--ink);color:var(--yellow)!important;font-size:12px;font-weight:900;padding:4px 12px;border-radius:999px;margin:0 0 10px!important}
.theme-pop .hero h1{font-size:25px;font-weight:900;line-height:1.45;letter-spacing:.01em}
.theme-pop .hero p{color:var(--ink)}
.theme-pop .hero .small,.theme-pop .hero .small a{color:var(--ink);font-weight:700}
.theme-pop .assure li{background:#fff;border:2px solid var(--ink);color:var(--ink);font-weight:900}
.theme-pop .assure li::before{color:var(--teal)}
.theme-pop .small-hero{text-align:left}
.theme-pop .small-hero h1{font-size:22px}
.theme-pop .urg{background:#fff;color:var(--ink);border:1px solid var(--ink);font-weight:700}
.theme-pop .urg-高,.theme-pop .urg-high{background:var(--coral);color:#fff;border-color:var(--coral)}

/* ---- ボタン：横長のピル型 ---- */
.theme-pop .btn-primary{background:var(--ink);color:var(--yellow);border-radius:999px;padding:16px 20px;font-size:17px;font-weight:900;position:relative;box-shadow:0 4px 0 rgba(0,0,0,.25)}
.theme-pop .btn-primary::after{content:"›";position:absolute;right:20px;top:50%;transform:translateY(-52%);font-size:24px;line-height:1}
.theme-pop .btn-primary:active{transform:translateY(2px);box-shadow:0 2px 0 rgba(0,0,0,.25)}

/* ---- FV直下の信頼帯 ---- */
.theme-pop .trust{margin-top:0;padding:16px}
.theme-pop .trust ul{display:grid;gap:8px}
.theme-pop .trust li{background:var(--soft);border-radius:12px;padding:10px 12px 10px 38px;color:var(--ink);font-weight:700;line-height:1.55}
.theme-pop .trust li::before{content:"✓";color:#fff;background:var(--teal);width:20px;height:20px;border-radius:50%;font-size:12px;display:flex;align-items:center;justify-content:center;left:10px;top:11px}

/* ---- お悩み：吹き出し ---- */
.theme-pop .affinity{display:grid;gap:14px;margin-bottom:18px}
.theme-pop .affinity li{position:relative;border:0;border-radius:18px;padding:14px 16px;background:var(--yellow-soft);font-weight:900;text-align:center;margin:0}
.theme-pop .affinity li::after{content:"";position:absolute;bottom:-10px;left:28px;border:10px solid transparent;border-top-color:var(--yellow-soft);border-bottom:0}
.theme-pop .affinity li:nth-child(3n+2){background:var(--tint)}.theme-pop .affinity li:nth-child(3n+2)::after{border-top-color:var(--tint);left:auto;right:28px}
.theme-pop .affinity li:nth-child(3n){background:#ffe3df}.theme-pop .affinity li:nth-child(3n)::after{border-top-color:#ffe3df}
.theme-pop .sec-worry>p{text-align:center;font-weight:700}

/* ---- 解決策・悩み別リンク ---- */
.theme-pop .chip-lead{text-align:center}
.theme-pop .chip-links{justify-content:center}
.theme-pop .chip-link{border:2px solid var(--ink);color:var(--ink);background:var(--yellow);font-weight:900}
.theme-pop .symptom-list{display:grid;gap:8px}
.theme-pop .symptom-list li{border:2px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff}
.theme-pop .symptom-list a{color:var(--ink);font-weight:900;text-decoration:none}
.theme-pop .symptom-list li a::after{content:" ›";color:var(--teal)}

/* ---- 料金：大きな数字 ---- */
.theme-pop .price-box{background:transparent;padding:0;margin:0}
.theme-pop main>.price-box{background:var(--panel);padding:24px 18px;margin:0 0 18px}
.theme-pop .sec-price .price-box h3{display:none}
.theme-pop .price-cards{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:12px}
.theme-pop .pc-num.pc-text{font-size:24px}
.theme-pop .price-cards li{background:var(--yellow);border-radius:18px;padding:16px 14px 14px;text-align:center}
.theme-pop .pc-label{display:inline-block;background:var(--ink);color:#fff;font-size:13px;font-weight:900;padding:3px 14px;border-radius:999px}
.theme-pop .pc-num{display:block;font-size:34px;font-weight:900;line-height:1.3;margin:6px 0 0;letter-spacing:-.01em}
.theme-pop .pc-note{display:block;font-size:12px;font-weight:700}
.theme-pop .pc-tag{display:block;margin:8px 0 -4px;font-size:12px;font-weight:900;color:var(--muted)}
.theme-pop .price-note{font-size:13px;line-height:1.7;color:var(--ink);margin:12px 0 0}
.theme-pop .source{text-align:center}
.theme-pop .price-box p:last-child{text-align:center}

/* ---- 途中の問い合わせ導線 ---- */
.theme-pop .cta-band{margin:0 0 18px;padding:6px 4px 8px;text-align:center}
.theme-pop .cta-band-lead{color:#fff;font-weight:900;font-size:15px;margin:0 0 10px}
.theme-pop .pill{display:block;border-radius:999px;padding:14px 18px;margin:0 0 10px;font-weight:900;text-decoration:none;font-size:16px;border:3px solid var(--ink)}
.theme-pop .pill-main{background:var(--yellow);color:var(--ink);box-shadow:0 4px 0 var(--ink)}
.theme-pop .pill-sub{background:#fff;color:var(--ink);font-size:14px;padding:10px 16px}

/* ---- 流れ・写真：番号付きカード ---- */
.theme-pop .flow,.theme-pop .photo-steps{list-style:none;padding:0;counter-reset:n;display:grid;gap:12px}
.theme-pop .flow li,.theme-pop .photo-steps li{counter-increment:n;position:relative;background:var(--yellow);border-radius:16px;padding:14px 14px 14px 58px;margin:0;font-weight:700;line-height:1.6}
.theme-pop .photo-steps li{background:var(--soft)}
.theme-pop .flow li::before,.theme-pop .photo-steps li::before{content:counter(n);position:absolute;left:14px;top:14px;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;font:italic 800 16px/32px Montserrat,sans-serif;text-align:center}
.theme-pop .flow b{font-size:16px;font-weight:900;margin-bottom:2px}

/* ---- エリア ---- */
.theme-pop .area-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.theme-pop .area-list li{margin:0;border-radius:12px;flex-direction:column;gap:2px;font-weight:900;padding:10px 12px}
.theme-pop .area-list .ok{background:var(--tint)}
.theme-pop .area-list .ok span{color:var(--teal-d)}
.theme-pop .area-list a{color:var(--ink)}

/* ---- 注意 ---- */
.theme-pop main>section.caution{background:var(--yellow-soft)}

/* ---- FAQ ---- */
.theme-pop .faq dt{background:var(--soft);border-radius:12px;padding:12px 14px 12px 46px;position:relative;margin-top:10px}
.theme-pop .faq dt::before{content:"Q";position:absolute;left:14px;top:11px;width:24px;height:24px;border-radius:50%;background:var(--teal);color:#fff;font:italic 800 13px/24px Montserrat,sans-serif;text-align:center}
.theme-pop .faq dd{padding:8px 14px 4px 46px;color:var(--ink)}

/* ---- フォーム ---- */
.theme-pop .form-section{background:var(--yellow)!important;border-radius:24px;margin:0 0 18px;padding:30px 16px}
.theme-pop .form-section h2[data-en]::before{background:linear-gradient(var(--ink),var(--ink)) left center/calc(50% - 4.2em) 2px no-repeat,linear-gradient(var(--ink),var(--ink)) right center/calc(50% - 4.2em) 2px no-repeat}
.theme-pop .form-lead{color:var(--ink);text-align:center;font-weight:700}
.theme-pop .quote-form{background:#fff;border-radius:18px;padding:20px 16px;border:3px solid var(--ink)}
.theme-pop .quote-form input:not([type=checkbox]):not([type=file]),.theme-pop .quote-form select,.theme-pop .quote-form textarea{border:2px solid #cfd8d7;border-radius:12px}
.theme-pop .quote-form input:focus,.theme-pop .quote-form select:focus,.theme-pop .quote-form textarea:focus{outline:0;border-color:var(--teal)}
.theme-pop .chip span{border:2px solid #cfd8d7}
.theme-pop .chip input:checked+span{background:var(--teal);border-color:var(--teal)}

/* ---- フッター ---- */
.theme-pop .site-footer{background:var(--yellow);color:var(--ink);margin-top:24px;border-radius:24px 24px 0 0}
.theme-pop .site-footer a{color:var(--ink);font-weight:700}
.theme-pop .site-footer .small{color:var(--ink)}

/* ---- 画面下の固定ボタン ---- */
.theme-pop .sticky-bar{background:var(--teal);border-top:0}
.theme-pop .sticky-bar a{border-radius:999px;font-weight:900}
.theme-pop .sb-main{background:var(--yellow);color:var(--ink);border:2px solid var(--ink)}
.theme-pop .sb-sub{background:#fff;border:2px solid var(--ink);color:var(--ink)}

/* ---- PC ---- */
@media(min-width:800px){
  .theme-pop main{max-width:880px}
  .theme-pop main>section,.theme-pop main>.price-box{padding:44px 48px}
  .theme-pop .hero{display:grid;grid-template-columns:1fr 240px;gap:28px;align-items:center;padding:40px 44px}
  .theme-pop .hero-art{order:2;width:240px;height:240px;margin:0}
  .theme-pop .hero-badge{top:20px;right:20px;width:92px;height:92px;font-size:13px}
  .theme-pop .hero h1{font-size:32px}
  .theme-pop .small-hero{display:block}
  .theme-pop h2{font-size:22px}
  .theme-pop h2[data-en]::before{font-size:36px}
  .theme-pop .affinity{grid-template-columns:repeat(3,1fr)}
  .theme-pop .affinity li{display:flex;align-items:center;justify-content:center;min-height:96px}
  .theme-pop .trust ul{grid-template-columns:1fr 1fr}
  .theme-pop .price-cards{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
  .theme-pop .flow{grid-template-columns:repeat(3,1fr)}
  .theme-pop .flow li{padding:58px 16px 18px}
  .theme-pop .area-list{grid-template-columns:repeat(3,1fr)}
  .theme-pop .cta-band{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:10px 0 16px}
  .theme-pop .cta-band-lead{flex-basis:100%;margin:0}
  .theme-pop .pill{margin:0;min-width:300px}
  .theme-pop .pill-sub{min-width:220px;padding:14px 18px}
  .theme-pop .form-section{padding:44px 48px}
  .theme-pop .quote-form{padding:28px}
}
.theme-pop .sticky-bar a{white-space:nowrap;font-size:13px;padding:12px 6px}
.theme-pop .hero-badge{font-size:13px}
@media(min-width:800px){.theme-pop .site-header{padding:10px max(16px,calc(50% - 440px))}.theme-pop .hero-badge{font-size:15px}}
.theme-pop .flow li{font-weight:500}.theme-pop .flow b{font-size:17px}
.theme-pop .btn-primary{padding-left:44px;padding-right:44px}
.theme-pop .photo-lead{text-align:center;font-weight:700;margin:-6px 0 16px}
/* FVの料金（見出しの問いへの答え） */
.theme-pop .hero-price{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;background:#fff;border:3px solid var(--ink);border-radius:16px;padding:10px 14px;margin:0 0 14px!important}
.theme-pop .hp-label{background:var(--coral);color:#fff;font-size:13px;font-weight:900;padding:2px 10px;border-radius:999px}
.theme-pop .hp-num{font-size:34px;font-weight:900;line-height:1.2;letter-spacing:-.01em}
.theme-pop .hp-note{flex-basis:100%;font-size:12px;font-weight:700;color:var(--muted)!important}
.theme-pop .hero-sub{font-size:14px;line-height:1.7}
@media(min-width:800px){.theme-pop .hero-price{display:inline-flex}.theme-pop .hp-num{font-size:40px}.theme-pop .hero h1{font-size:36px}}

.theme-pop .h1-line{display:inline-block}
@media(max-width:799px){.theme-pop .hero h1{font-size:21px}.theme-pop .hero-art{width:112px;height:112px}}
@media(min-width:800px){.theme-pop .hero h1{font-size:32px}}

/* ---- 写真入りFV（data/sites.mjs の heroPhoto） ---- */
.theme-pop{overflow-x:clip}
.theme-pop .hero-with-photo{display:flex;flex-direction:column;padding:0;border-radius:0;width:100vw;margin:0 0 18px calc(50% - 50vw);overflow:hidden}
.theme-pop .hero-photo{position:relative;height:250px;clip-path:polygon(0 0,100% 0,100% 100%,0 86%)}
.theme-pop .hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.theme-pop .hero-with-photo .hero-copy{padding:12px 18px 26px}
.theme-pop .hero h1 em{font-style:normal;color:#e4471b}
.theme-pop .hero h1 mark{background:linear-gradient(transparent 68%,rgba(255,255,255,.75) 68%,rgba(255,255,255,.75) 92%,transparent 92%);color:inherit;padding:0 1px}
.theme-pop .btn-icon{width:24px;height:24px;vertical-align:-5px;margin-right:8px}
.theme-pop .hero-area a::before{content:"";display:inline-block;width:10px;height:14px;margin-right:5px;vertical-align:-1px;background:var(--ink);clip-path:path("M5 0a5 5 0 0 1 5 5c0 3.5-5 9-5 9S0 8.5 0 5a5 5 0 0 1 5-5z")}
@media(min-width:800px){
  .theme-pop .hero-with-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,42%);gap:0;align-items:stretch;min-height:560px;padding:0}
  .theme-pop .hero-with-photo .hero-copy{padding:56px 40px 56px max(32px,calc(50vw - 600px));align-self:center}
  .theme-pop .hero-photo{order:2;height:auto;clip-path:polygon(22% 0,100% 0,100% 100%,0 100%)}
  .theme-pop .hero-photo img{object-position:60% 30%}
  .theme-pop .hero-with-photo h1{font-size:clamp(32px,3.2vw,46px)}
  .theme-pop .hero-with-photo .hero-sub{font-size:17px}
  .theme-pop .hero-with-photo .btn-primary{max-width:620px;font-size:22px;padding:20px 44px}
}
.theme-pop .hero-photo{height:300px}
.theme-pop .hero-photo img{object-position:50% 0}
@media(min-width:800px){
  .theme-pop .hero-photo{height:auto}
  .theme-pop .hero-photo img{object-position:60% 20%}
  .theme-pop .hero-with-photo{min-height:540px}
  .theme-pop .hero-with-photo h1{font-size:clamp(28px,2.9vw,44px)}
  .theme-pop .hero-with-photo .h1-line{white-space:nowrap}
  .theme-pop:has(.hero-with-photo) .site-header{padding:10px max(16px,calc(50vw - 600px))}
}
@media(min-width:800px){.theme-pop .hero-photo img{position:absolute;inset:0}}
@media(min-width:800px){.theme-pop .hero-photo img{object-position:60% 0}}
/* 写真は横幅基準で上揃え（バッジ位置を写真に固定するため object-fit は使わない） */
.theme-pop .hero-photo .hp-inner{position:relative;container-type:inline-size}
.theme-pop .hero-photo img,.theme-pop .hero-photo .hp-inner img{position:static;display:block;width:100%;height:auto;object-fit:initial}
.theme-pop .photo-badge{position:absolute;transform:translate(-50%,-50%) rotate(-4deg);width:41cqw;height:41cqw;margin:0;border-radius:50%;background:#f0603a;border:1.4cqw solid #fff;box-shadow:0 .6cqw 1.6cqw rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center;text-align:center;color:var(--ink);font-weight:900;font-size:6.6cqw;line-height:1.35;letter-spacing:.02em}
.theme-pop .pb-spark{position:absolute;right:-9cqw;top:-7cqw;width:22cqw;height:auto}
@media(min-width:800px){.theme-pop .hero-photo{overflow:hidden}.theme-pop .hero-photo .hp-inner{position:absolute;left:0;right:0;top:0}}
.theme-pop .pb-spark{top:-2cqw;right:-13cqw}
