
/* =====================================================
   One VPN LP スタイル（ONEVPN-105: セクションタイトル構造を
   toriaezhp と統一。共通クラス sec-tit tit-only を使用）
   ===================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

/* --- コンテナリセット ---
   レイアウト中央カラム（#main の max-width:1312px + 左右マージン、.contents の
   左右 padding）を本ページに限り解除し、セクション背景をブラウザ幅 100% に伸縮させる。
   コンテンツ幅は .vp-wrap（max-width:1080px）が維持する。
   !important はサイト側 common.css がメディアクエリ内で #main 幅を再指定するため必要 */
#page-product #main {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#page-product #main .contents {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* --- コンテナリセット --- */
body#page-product #main:has(.vp-lp) {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

body#page-product #main:has(.vp-lp) .contents {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

/* --- カスタムプロパティ --- */
.vp-lp {
    --blue: #0f62a8;
    --blue-d: #0b4a80;
    --cyan: #12b5c9;
    --ink: #182b3a;
    --sub: #52667a;
    --bg: #ffffff;
    --bg2: #f2f7fb;
    --line: #dce6ef;
    --ok: #0e9f6e;
    --amber: #b45309;
    --grad: linear-gradient(120deg, #0f62a8 0%, #1180c0 55%, #12b5c9 100%);
    --radius: 16px;
    --shadow: 0 8px 28px rgba(15, 60, 110, .10);
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.75;
    font-size: 16px;
}

.vp-lp section {
    padding: 72px 0;
}
.vp-lp img {
    max-width: 100%;
}
.vp-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- セクション共通タイトル --- */
.vp-lp .sec-tit {
    color: var(--blue);
}

/* ボタン */
.vp-btn {
    display: inline-block;
    padding: 16px 60px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
    text-align: center;
}
.vp-btn-primary {
    background: #fff;
    color: var(--blue);
    box-shadow: var(--shadow);
}
.vp-btn-primary:hover {
    transform: translateY(-2px);
}
.vp-btn-accent {
    background: #ff8a00;
    color: #fff;
    font-size: 20px;
}
.vp-btn-accent:hover {
    transform: translateY(-2px);
    background: #ff9d2e;
}
.vp-btn-ghost {
    border: 2px solid #fff;
    color: #fff;
}
.vp-btn-ghost:hover {
    background: rgba(255, 255, 255, .15);
}
.vp-btn-blue {
    background: var(--grad);
    color: #fff;
    box-shadow: var(--shadow);
}
.vp-btn-blue:hover {
    transform: translateY(-2px);
}
@media screen and (max-width: 769px) {
    .vp-btn {
        padding: 12px 36px;
        font-size: 16px;
    }
}

/* =====================================================
    ヒーローセクション
===================================================== */
.vp-hero {
    background: var(--grad);
    color: #fff;
    padding: 76px 0 96px;
    position: relative;
    overflow: hidden;
}
.vp-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.vp-hero::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -180px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.vp-hero .vp-wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.vp-hero h1 {
    font-size: clamp(30px, 4.6vw, 46px);
    font-weight: 900;
    line-height: 1.35;
}
.vp-hero h1 .hl {
    color: #ffe27a;
}
.vp-hero .sub {
    margin-top: 16px;
    font-size: clamp(14px, 1.6vw, 17px);
    opacity: .95;
}

.vp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.vp-badge {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
}
@media screen and (max-width: 769px) {
    .vp-badges {
        gap: 8px;
    }
    .vp-badge {
        padding: 7px 12px;
        font-size: 12px;
    }
}

.vp-hero .vp-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
@media screen and (max-width: 769px) {
    .vp-hero .vp-cta {
        justify-content: center;
    }
}
.vp-cta-note {
    margin-top: 12px;
    font-size: 12px;
    opacity: .88;
}

.vp-price-pop {
    position: relative;
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    margin-top: 32px;
    padding: 44px 40px 40px;
    box-shadow: 0 18px 50px rgba(6, 40, 80, .35);
    text-align: center;
}

.vp-price-pop .icon {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
}
.vp-price-pop .t {
    font-size: 24px;
    font-weight: 700;
    color: #4a5d70;
    line-height: 1.4;
}
.vp-price-pop .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    color: var(--blue);
    font-weight: 700;
}
.vp-price-pop .price .tax {
    font-size: 16px;
}
.vp-price-pop .price .num {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
}
.vp-price-pop .price .unit {
    font-size: 16px;
}
.vp-price-pop .free {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    background: #fff3d6;
    color: #9a6a00;
    border-radius: 10px;
    padding: 16px 12px;
    font-size: 16px;
    font-weight: 700;
}
.vp-price-pop .free img {
    flex: none;
    width: 20px;
    height: auto;
}

/* =====================================================
    課題提起セクション
===================================================== */
.vp-probs {
    background: var(--bg2);
}
.vp-grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}
.vp-pcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.vp-pcard img {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto;
}
.vp-pcard p {
    font-size: 14px;
    font-weight: 700;
    margin-top: 12px;
}
.vp-probs .arrow {
    margin: 34px auto 0;
    width: 0;
    height: 0;
    border-left: 26px solid transparent;
    border-right: 26px solid transparent;
    border-top: 22px solid var(--cyan);
}
.vp-probs__conclusion {
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    margin-top: 10px;
}
.vp-probs__conclusion .hl {
    color: var(--blue);
}
@media screen and (max-width: 769px) {
    .vp-probs__conclusion {
        font-size: 18px;
    }
}

/* =====================================================
    仕組みセクション
===================================================== */
.vp-how .vp-fig {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
    margin-top: 44px;
}
.vp-fcard {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}
.vp-fcard h3 {
    font-size: 16px;
    text-align: center;
    margin-bottom: 14px;
}
.vp-fcard.before h3 {
    color: var(--sub);
}
.vp-fcard.after {
    border: 2px solid var(--cyan);
}
.vp-fcard.after h3 {
    color: var(--blue);
}
.vp-fig .vp-mid {
    align-self: center;
    font-size: 30px;
    color: var(--cyan);
    font-weight: 900;
}
.vp-diagram {
    font-size: 13.5px;
    color: var(--sub);
    line-height: 2;
}
.vp-diagram .vp-node {
    display: inline-block;
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2px 10px;
    font-weight: 700;
    color: var(--ink);
    margin: 2px;
}
.vp-diagram .vp-ipnode {
    background: #e5f7fa;
    border-color: #9adfe9;
    color: var(--blue-d);
}
.vp-diagram .vp-ng {
    color: #c0392e;
    font-weight: 700;
}
.vp-diagram .vp-okt {
    color: var(--ok);
    font-weight: 700;
}

/* =====================================================
    特徴セクション
===================================================== */
.vp-feats {
    background: var(--bg2);
}
.vp-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.vp-feat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}
.vp-feat .no {
    font-size: 12px;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: .14em;
}
.vp-feat h3 {
    font-size: 18px;
    margin: 6px 0 10px;
}
.vp-feat p {
    font-size: 14px;
    color: var(--sub);
}
.vp-feat .big {
    font-size: 26px;
    font-weight: 900;
    color: var(--blue);
}

/* =====================================================
    利用シーンセクション
===================================================== */
.vp-scene {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}
.vp-scene .title {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--grad);
    color: #fff;
    padding: 14px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}
.vp-scene .title img {
    flex: none;
    height: 17px;
    width: auto;
}
.vp-scene .body {
    padding: 22px;
    font-size: 14px;
    color: var(--sub);
}

/* =====================================================
    機能一覧セクション
===================================================== */
.vp-funcs {
    background: var(--bg2);
}
.vp-functable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 40px;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}
.vp-functable th,
.vp-functable td {
    border: 1px solid var(--line);
    padding: 14px 16px;
    font-size: 14.5px;
    text-align: left;
    word-break: break-word;
}
.vp-functable thead th {
    background: var(--blue);
    color: #fff;
    text-align: center;
}
.vp-functable thead th:first-child {
    width: 34%;
}
.vp-functable thead th:last-child {
    width: 130px;
}
.vp-functable td.ok {
    text-align: center;
    color: var(--ok);
    font-weight: 900;
    font-size: 18px;
    width: 130px;
}
.vp-functable td .note {
    display: block;
    font-size: 12px;
    color: var(--sub);
    font-weight: 400;
}

/* =====================================================
    料金セクション
===================================================== */
.vp-pricing {
    background: var(--bg2);
}
/* このLPでは PRICING セクションのみ白背景にする（他は var(--bg2) の薄いブルー）。
   .vp-pricing 単体より詳細度を上げるため id を併記して上書きする */
#pricing.vp-pricing {
    background: #fff;
}
.vp-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 44px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
/* 現状 One VPN は単一プランのため中央寄せの1カラムにする */
.vp-plans--single {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
}
.vp-plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}
.vp-plan.vp-rec {
    border: 2px solid var(--blue);
}
.vp-plan .tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 16px;
    white-space: nowrap;
}
.vp-plan h3 {
    font-size: 20px;
}
.vp-plan .for {
    font-size: 13px;
    color: var(--sub);
    margin-top: 2px;
}
.vp-plan .num {
    font-size: 52px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1.15;
    margin-top: 14px;
}
.vp-plan .num small {
    font-size: 16px;
    font-weight: 700;
}
@media screen and (max-width: 769px) {
    .vp-plan .num {
        font-size: 44px;
    }
}
.vp-plan .unit {
    font-size: 13px;
    color: var(--sub);
}
.vp-plan ul {
    list-style: none;
    margin-top: 18px;
    text-align: left;
    font-size: 14px;
}
.vp-plan li {
    padding: 7px 0 7px 26px;
    border-top: 1px dashed var(--line);
    position: relative;
}
.vp-plan li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    color: var(--ok);
    font-weight: 900;
}
.vp-plan .vp-btn {
    margin-top: 24px;
}
.vp-pricing .vp-common {
    max-width: 820px;
    margin: 22px auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--sub);
}
.vp-pricing .vp-common h4 {
    margin: 16px 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}
.vp-pricing .vp-common h4:first-child {
    margin-top: 0;
}
.vp-pricing .vp-common ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.vp-pricing .vp-common li {
    position: relative;
    padding-left: 1.1em;
}
.vp-pricing .vp-common a {
    color: var(--blue);
    text-decoration: underline;
}
.vp-pricing .vp-common a:hover {
    color: var(--blue-d);
}
.vp-pricing .vp-common li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* =====================================================
    導入ステップセクション
===================================================== */
.vp-steps {
    background: var(--bg2);
}
.vp-steps .vp-grid3 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.vp-step {
    text-align: center;
    padding: 28px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.vp-step .n {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 18px;
}
.vp-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.vp-step p {
    font-size: 13.5px;
    color: var(--sub);
}

/* =====================================================
    FAQ セクション（One レンタルサーバーTOP /rs の qa セクションと完全一致。
    マークアップは resources/views/rs.blade.php、CSSは
    public/build/assets/css/rs.css の .qa / .bg-blue / .qa .faq-section 系を
    そのまま移植（色・サイズとも rs と同一値。セレクタのみ .vp-faq 配下に読み替え）
===================================================== */
.vp-faq {
    background-color: #EBF6FF;
}
/* rs の .qa .wrap{padding:80px 0 100px} 相当。.vp-lp section の汎用 padding:72px 0 より
   優先させる必要があるため id セレクタで上書きする */
#faq.vp-faq {
    padding: 80px 0 100px;
}
.vp-faq .faq-section {
    width: 100%;
    max-width: none;
    margin-top: 40px;
}
.vp-faq .faq-section .details {
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
}
.vp-faq .faq-section .details:not(:first-of-type) {
    margin-top: 30px;
}
.vp-faq .faq-section .details-summary {
    position: relative;
    background: #FFF;
    padding: 32px clamp(4.75rem, 3rem + 2.92vw, 5.625rem) 32px clamp(3.75rem, 1.875rem + 3.13vw, 4.688rem);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    border-radius: 0;
    list-style: none;
    cursor: pointer;
    transition: all .25s ease;
}
.vp-faq .faq-section .details-summary::-webkit-details-marker {
    display: none;
}
.vp-faq .faq-section .details-summary:hover {
    color: #8d8b8b;
}
.vp-faq .faq-section .details-summary::before {
    content: "Q";
    display: block;
    position: absolute;
    top: 24px;
    left: 30px;
    color: #AAA;
    font-size: 24px;
    font-weight: bold;
    font-family: "Arial", sans-serif;
}
.vp-faq .faq-section .details-summary .aco-btn {
    position: absolute;
    width: auto;
    height: auto;
    right: 30px;
    top: 50%;
    transform: translate(0, -50%);
}
.vp-faq .faq-section .details-summary .aco-btn::before {
    display: none;
}
.vp-faq .faq-section .details-summary .aco-btn::after {
    content: "+";
    width: auto;
    height: auto;
    margin: 0;
    position: static;
    font-size: 36px;
    font-weight: 300;
    color: #0F8EFF;
    border: none;
    transform: none;
}
.vp-faq .faq-section .details-summary.is-active .aco-btn::after {
    content: "−";
}
.vp-faq .faq-section .details-content {
    position: relative;
    background-color: #fff;
    padding: 7px clamp(4.75rem, 3rem + 2.92vw, 5.625rem) 32px clamp(3.75rem, 1.875rem + 3.13vw, 4.688rem);
}
.vp-faq .faq-section .details-content::before {
    content: "A";
    display: block;
    position: absolute;
    top: 0px;
    left: 30px;
    color: #AAA;
    font-size: 24px;
    font-weight: bold;
    font-family: "Arial", sans-serif;
}
.vp-faq .faq-section .details-content p {
    width: 100%;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
}
.vp-faq .faq-section .details-content a {
    color: var(--blue);
    text-decoration: underline;
}
.vp-faq .faq-section .details-content a:hover {
    color: var(--blue-d);
}

/* =====================================================
    ファイナルCTAセクション
===================================================== */
.vp-ctaband {
    background: var(--grad);
    color: #fff;
    text-align: center;
    padding: 64px 0;
}
.vp-ctaband h2 {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 900;
    line-height: 1.4;
    color: #fff;
}
.vp-ctaband .vp-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 26px;
}

/* =====================================================
    レスポンシブ
===================================================== */
@media (max-width: 860px) {
    .vp-lp section {
        padding: 52px 0;
    }
    .vp-hero .vp-wrap {
        grid-template-columns: 1fr;
    }
    .vp-price-pop {
        max-width: 340px;
        margin: 32px auto 0;
        padding: 44px 20px 28px;
    }
    .vp-price-pop .t {
        font-size: 20px;
    }
    .vp-price-pop .price .num {
        font-size: 52px;
    }
    .vp-price-pop .free {
        font-size: 14px;
    }
    .vp-grid4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .vp-grid3 {
        grid-template-columns: 1fr;
    }
    .vp-how .vp-fig {
        grid-template-columns: 1fr;
    }
    .vp-fig .vp-mid {
        transform: rotate(90deg);
        text-align: center;
        margin: 0 auto;
    }
    .vp-plans {
        grid-template-columns: 1fr;
    }
    .vp-functable th,
    .vp-functable td {
        padding: 10px 8px;
        font-size: 12.5px;
    }
    .vp-functable thead th:first-child {
        width: 31%;
    }
    .vp-functable thead th:last-child,
    .vp-functable td.ok {
        width: 52px;
    }
    .vp-functable td.ok {
        font-size: 15px;
    }
}

/* FAQ のレスポンシブは rs の @media screen and (max-width:769px) .qa 系とブレークポイント・値とも完全一致させる */
@media screen and (max-width: 769px) {
    #faq.vp-faq {
        padding: 50px 0;
    }
    .vp-faq .faq-section {
        margin-top: 24px;
    }
    .vp-faq .faq-section .details:not(:first-of-type) {
        margin-top: 14px;
    }
    .vp-faq .faq-section .details-summary {
        padding: 12px 36px 12px 40px;
        font-size: 14px;
    }
    .vp-faq .faq-section .details-summary::before {
        top: 8px;
        left: 11px;
        font-size: 20px;
    }
    .vp-faq .faq-section .details-summary .aco-btn {
        right: 16px;
    }
    .vp-faq .faq-section .details-summary .aco-btn::after {
        font-size: 20px;
    }
    .vp-faq .faq-section .details-content {
        padding: 14px 28px 20px 40px;
    }
    .vp-faq .faq-section .details-content p {
        font-size: 13px;
    }
    .vp-faq .faq-section .details-content::before {
        top: 8px;
        left: 11px;
        font-size: 20px;
    }
}

/* =====================================================
    利用規約ページ（/security/vpn/terms）
    ※ 条番号・項番号は原文表記のまま出力しているため、リストの自動採番は使わない
===================================================== */
.vp-terms-page {
    padding: 60px 0 80px;
}
.vp-terms__scroll {
    text-align: left;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.9;
}
.vp-terms__lead {
    margin-bottom: 20px;
}
.vp-terms__chapter {
    margin: 48px 0 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--blue);
    color: var(--blue);
    font-size: 18px;
    font-weight: 700;
}
.vp-terms__article-title {
    margin: 28px 0 6px;
    font-size: 15px;
    font-weight: 700;
}
.vp-terms__text {
    margin-bottom: 6px;
}
.vp-terms__list {
    padding-left: 20px;
    margin-bottom: 4px;
}
.vp-terms__list > li {
    list-style-type: decimal;
    margin-bottom: 4px;
}
/* 各号は「（1）」を原文表記のまま出力するため、マーカーは付けない */
.vp-terms__sublist {
    list-style: none;
    padding-left: 0;
    margin-top: 4px;
}
.vp-terms__sublist > li {
    margin-bottom: 4px;
    padding-left: 2.5em;
    text-indent: -2.5em;
}
.vp-terms__scroll a {
    color: var(--blue);
    word-break: break-all;
}
@media (max-width: 960px) {
    .vp-terms-page {
        padding: 40px 0;
    }
}
