/* ヒーローの下の区画: プラン診断・FAQ・最後の呼びかけ */

/* ── プラン診断 ───────────────────────────────── */
.finder { padding: 90px 0 40px; }
.finder-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; background: rgba(13, 27, 42, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.finder-q { margin-bottom: 22px; }
.finder-q > label, .finder-q > .finder-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 10px; }
.finder-q output { color: var(--primary-color); font-size: 1.4rem; font-weight: 800; }
.finder-range { width: 100%; accent-color: #ff6b35; height: 6px; cursor: pointer; }
.finder-scale { display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255, 255, 255, .45); margin-top: 6px; }
.finder-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.finder-opt { position: relative; }
.finder-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.finder-opt span { display: block; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: .88rem; line-height: 1.45; transition: border-color .2s, background .2s, transform .15s; }
.finder-opt span small { display: block; color: rgba(255, 255, 255, .55); font-size: .74rem; margin-top: 2px; }
.finder-opt input:checked + span { border-color: #ff6b35; background: rgba(255, 107, 53, .14); }
.finder-opt input:focus-visible + span { outline: 2px solid #ff8c42; outline-offset: 2px; }
.finder-opt:hover span { transform: translateY(-1px); }
.finder-crowd { display: flex; flex-wrap: wrap; gap: 5px; min-height: 30px; margin-top: 14px; }
.finder-crowd i { width: 22px; height: 22px; border-radius: 3px; box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .18); position: relative; animation: fpop .25s ease-out; }
.finder-crowd i::before { content: ""; position: absolute; left: 4px; top: 8px; width: 3px; height: 3px; background: #fff; box-shadow: 11px 0 #fff; }
@keyframes fpop { from { transform: scale(.3); opacity: 0; } }

.finder-result { background: linear-gradient(160deg, rgba(255, 107, 53, .16), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 107, 53, .35); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; text-align: left; }
.finder-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: #ff8c42; border: 1px solid rgba(255, 140, 66, .5); padding: 3px 10px; border-radius: 99px; }
.finder-plan { font-size: 1.5rem; font-weight: 800; margin: 12px 0 2px; }
.finder-spec { color: rgba(255, 255, 255, .7); font-size: .9rem; }
.finder-price { margin: 14px 0 4px; font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.finder-price small { font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .6); margin-left: 4px; }
.finder-bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 14px 0 6px; }
.finder-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff6b35, #ffb347); border-radius: 6px; transition: width .5s ease; }
.finder-why { font-size: .85rem; color: rgba(255, 255, 255, .62); line-height: 1.7; margin-bottom: 18px; }
.finder-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.finder-note { font-size: .74rem; color: rgba(255, 255, 255, .45); margin-top: 12px; }

/* ── FAQ ───────────────────────────────────── */
.faq { padding: 90px 0 70px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: rgba(13, 27, 42, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; overflow: hidden; text-align: left; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 6px; background: #ff6b35; color: #fff; font-size: .8rem; margin-right: 12px; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: #ff8c42; transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid #ff8c42; outline-offset: -2px; }
.faq-item .faq-a { padding: 0 20px 20px 56px; color: rgba(255, 255, 255, .75); line-height: 1.85; font-size: .93rem; }
.faq-item .faq-a a { color: #ff8c42; }
.faq-more { text-align: center; margin-top: 26px; }

/* ── 最後の呼びかけ ─────────────────────────── */
.final-cta { padding: 40px 0 100px; }
.final-cta-box { position: relative; overflow: hidden; border-radius: 26px; padding: 56px 32px; text-align: center; border: 1px solid rgba(255, 107, 53, .4); background: radial-gradient(circle at 20% 0%, rgba(255, 107, 53, .28), transparent 55%), radial-gradient(circle at 90% 100%, rgba(255, 179, 71, .18), transparent 50%), #0d1b2a; }
.final-cta-box h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.final-cta-box p { color: rgba(255, 255, 255, .72); max-width: 560px; margin: 0 auto 26px; line-height: 1.8; }
.final-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta-links { margin-top: 22px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: .88rem; }
.final-cta-links a { color: rgba(255, 255, 255, .72); text-decoration: underline; text-underline-offset: 3px; }
.final-cta-links a:hover { color: #ff8c42; }

@media (max-width: 860px) {
    .finder-box { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
    .faq-item .faq-a { padding-left: 20px; }
    .final-cta-box { padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) { .finder-crowd i, .finder-bar i { animation: none; transition: none; } }

/* ── 料金: GIGABASE を前面に ───────────────────── */
.plan-tier-featured { position: relative; border: 1px solid rgba(255, 107, 53, .55); box-shadow: 0 0 0 1px rgba(255, 107, 53, .15), 0 24px 60px rgba(255, 107, 53, .12); background: linear-gradient(180deg, rgba(255, 107, 53, .08), transparent 40%); }
.plan-tier-badge-pick { background: #ff6b35; color: #fff; border-color: #ff6b35; }
.plan-card-desc { font-size: .8rem; color: rgba(255, 255, 255, .62); margin: 6px 0 2px; line-height: 1.6; }

/* ── GIGAMC AI ──────────────────────────────── */
.ai { padding: 80px 0 60px; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ai-chat { background: #0b1626; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); text-align: left; }
.ai-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #08111e; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ai-chat-head small { margin-left: auto; color: #5ee08a; font-size: .75rem; }
.ai-dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #ff6b35, #ffb347); box-shadow: 0 0 10px rgba(255, 140, 66, .8); }
.ai-chat-body { padding: 18px; min-height: 380px; display: flex; flex-direction: column; gap: 12px; }
.ai-msg { max-width: 88%; padding: 11px 15px; border-radius: 14px; font-size: .9rem; line-height: 1.7; animation: aiin .35s ease-out; }
@keyframes aiin { from { opacity: 0; transform: translateY(8px); } }
.ai-msg.me { align-self: flex-end; background: #ff6b35; color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .08); border-bottom-left-radius: 4px; }
.ai-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 16px; background: rgba(255, 255, 255, .08); border-radius: 14px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: #aab4c8; animation: aidot 1s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .15s; } .ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aidot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ai-card { align-self: flex-start; width: 88%; background: #0d1b2a; border: 1px solid rgba(255, 140, 66, .5); border-radius: 12px; padding: 13px 15px; font-size: .85rem; animation: aiin .35s ease-out; }
.ai-card b { display: block; margin-bottom: 4px; }
.ai-card p { color: rgba(255, 255, 255, .65); margin: 0 0 10px; }
.ai-card-actions { display: flex; gap: 8px; }
.ai-card-actions span { padding: 6px 14px; border-radius: 8px; font-size: .8rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .2); }
.ai-card-actions .go { background: #1fa855; border-color: #1fa855; color: #fff; transition: transform .2s, box-shadow .2s; }
.ai-card-actions .go.press { transform: scale(.94); box-shadow: 0 0 0 6px rgba(31, 168, 85, .3); }
.ai-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; text-align: left; }
.ai-list li { padding-left: 18px; border-left: 3px solid #ff6b35; }
.ai-list b { display: block; font-size: 1rem; margin-bottom: 2px; }
.ai-list span { color: rgba(255, 255, 255, .68); font-size: .88rem; line-height: 1.75; }
.ai-safe { text-align: left; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; }
.ai-safe b { font-size: .9rem; }
.ai-safe p { color: rgba(255, 255, 255, .65); font-size: .83rem; line-height: 1.75; margin: 4px 0 0; }
.ai-note { font-size: .78rem; color: rgba(255, 255, 255, .5); margin-top: 10px; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } .ai-chat-body { min-height: 340px; } }
@media (prefers-reduced-motion: reduce) { .ai-msg, .ai-card, .ai-typing i { animation: none; } }

/* ── ヒーロー: 3日から・PayPay ─────────────────── */
.hero-chips { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li { font-size: .88rem; padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .85); }
.hero-chips b { color: #ffb347; margin-right: 2px; }
@media (max-width: 1000px) { .hero-chips { justify-content: center; } }

/* ── 期間と支払い ───────────────────────────── */
.terms { padding: 70px 0 40px; }
.terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto 28px; }
.term-card { background: rgba(13, 27, 42, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 24px 18px; text-align: center; transition: transform .25s, border-color .25s; }
.term-card:hover { transform: translateY(-3px); border-color: rgba(255, 140, 66, .6); }
.term-card-main { border-color: rgba(255, 107, 53, .5); background: linear-gradient(180deg, rgba(255, 107, 53, .12), rgba(13, 27, 42, .72)); }
.term-days { display: block; font-size: 1.9rem; font-weight: 800; color: #ff8c42; margin-bottom: 6px; }
.term-use { font-size: .92rem; font-weight: 600; margin: 0 0 8px; }
.term-price { font-size: .82rem; color: rgba(255, 255, 255, .62); margin: 0; }
.term-price b { color: #fff; font-size: 1rem; }
.pay-row { max-width: 900px; margin: 0 auto; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.pay-title { font-weight: 700; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.pay-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pay-chips li { padding: 6px 14px; border-radius: 99px; font-size: .85rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.pay-chips li.pay-hot { background: #ff0033; border-color: #ff0033; color: #fff; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 18px rgba(255, 0, 51, .35); }
.terms-note { text-align: center; font-size: .76rem; color: rgba(255, 255, 255, .45); margin-top: 16px; }
@media (max-width: 760px) { .terms-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── サイト全体の背景（固定。単色に見えないよう、光・ブロック・グリッドを重ねる）──────── */
#siteBg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
    background:
        radial-gradient(900px 600px at 8% 12%, rgba(255, 107, 53, .16), transparent 60%),
        radial-gradient(800px 600px at 95% 30%, rgba(60, 140, 255, .14), transparent 60%),
        radial-gradient(900px 700px at 40% 100%, rgba(120, 80, 255, .11), transparent 60%),
        linear-gradient(180deg, #08142a 0%, #0a192f 45%, #0b1d36 100%); }
#siteBg::before { content: ""; position: absolute; inset: 0; opacity: .9;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%); }
#siteBg i { position: absolute; bottom: -40px; display: block; opacity: .22; border-radius: 2px; will-change: transform;
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, .28), inset 0 -4px 0 rgba(0, 0, 0, .25);
    animation: siteFloat var(--dur, 50s) linear infinite; animation-delay: var(--delay, 0s); }
@keyframes siteFloat {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(var(--sway, 24px), -60vh, 0) rotate(var(--rot, 90deg)); }
    100% { transform: translate3d(calc(var(--sway, 24px) * -1), -118vh, 0) rotate(calc(var(--rot, 90deg) * 2)); }
}
/* 各区画は、背景を透かして、固定の背景が見えるようにする（読みやすさのため、ごく薄い暗幕をかける）*/
.features, .pricing, .how-it-works, .software, .comparison, .contact, .finder, .ai, .terms, .faq, .final-cta { background: transparent; }
.features, .software, .comparison, .faq { background: linear-gradient(180deg, rgba(6, 13, 24, .38), rgba(6, 13, 24, .38)); }
body > section, body > main, body > footer, body > div:not(#siteBg) { position: relative; z-index: 1; }
body > .navbar, .navbar { z-index: 1000; }
@media (max-width: 760px) { #siteBg i:nth-child(n+9) { display: none; } }
@media (prefers-reduced-motion: reduce) { #siteBg i { animation: none; bottom: auto; } }
