/* ===== 料金表ページ共通（/price/*.html） =====
   index.css + claude.css を読み込んだ上で、料金ページ固有のスタイルだけを定義 */

body {
    background: #FFFCFE;
    color: #333;
}

.pp-main {
    padding-top: 57px; /* 固定ヘッダー分 */
}

.pp-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ===== HERO ===== */

.pp-hero {
    background: #FFF5F9;
    padding: 56px 0 48px;
}

.pp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 28px;
}

.pp-breadcrumb a {
    color: #999;
    transition: color 200ms ease;
}

.pp-breadcrumb a:hover {
    color: #C23B50;
}

.pp-breadcrumb em {
    font-style: normal;
    color: #C23B50;
    font-weight: 500;
}

.pp-hero .section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.pp-lead {
    font-size: 0.95rem;
    color: #666;
    line-height: 2;
    max-width: 680px;
    margin: 0;
}

/* ===== HERO: 動画背景（ドローンページ） ===== */

.pp-hero--video {
    position: relative;
    overflow: hidden;
    background: #0B0F16;
    color: white;
    isolation: isolate;
}

.pp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.pp-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0B0F16 url('/video/drone-hero/poster.webp') center / cover no-repeat;
}

/* 映像の明るさは殺さず、文字の背後（左側）だけごく薄く陰を入れる */
.pp-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 15, 22, 0.3) 0%, rgba(11, 15, 22, 0.1) 45%, rgba(11, 15, 22, 0) 65%);
}

.pp-hero--video .pp-breadcrumb,
.pp-hero--video .pp-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.pp-hero--video .pp-breadcrumb a:hover {
    color: white;
}

.pp-hero--video .pp-breadcrumb em {
    color: white;
}

.pp-hero--video .section-title {
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 0, 0, 0.6);
}

.pp-hero--video .pp-lead {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 0, 0, 0.6);
}

.pp-hero--video .pp-breadcrumb {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* 動きを抑える設定のユーザーには動画を再生せずポスターのみ表示 */
@media (prefers-reduced-motion: reduce) {
    .pp-hero-video {
        display: none;
    }

    .pp-hero-bg {
        background: #0B0F16 url('/video/drone-hero/poster.webp') center / cover no-repeat;
    }
}

/* ===== SECTION ===== */

.pp-section {
    padding: 72px 0;
}

.pp-section--alt {
    background: #FFF5F9;
}

.pp-heading {
    font-family: 'Kaisei Opti', serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: #2D1418;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 36px;
}

.pp-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, #FFB6C8, #C23B50);
    border-radius: 4px;
    margin-top: 12px;
}

.pp-sub {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.9;
    margin: -20px 0 32px;
}

/* ===== PLAN CARD（claude.css の .price-card を拡張） ===== */

.pp-section .price-grid {
    margin-top: 0;
}

.price-grid--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.price-main-amount small {
    font-size: 1.1rem;
    font-weight: 600;
    margin-right: 4px;
}

.price-main-amount--sm {
    font-size: 2.4rem;
}

/* 内訳行の先頭につける「税抜」表記 */
.price-tax {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 6px;
    margin-right: 8px;
    line-height: 1.6;
    vertical-align: 1px;
}

.price-card--recommended .price-tax {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
}

.price-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
    margin: 0 0 20px;
    text-align: left;
}

.price-card--recommended .price-desc {
    color: rgba(255, 255, 255, 0.7);
}

.price-delivery {
    font-size: 0.8rem;
    color: #888;
    text-align: left;
    margin: -20px 0 28px;
}

.price-card--recommended .price-delivery {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== ハイライト帯（全プラン共通 / ドローン無料） ===== */

.pp-highlight {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding: 28px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, #E6F3FF 0%, #FFF0F4 100%);
    border: 2px solid white;
    box-shadow: 0 8px 32px rgba(194, 59, 80, 0.08);
}

.pp-highlight-icon {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: white;
    color: #3B8BC2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-highlight-icon svg {
    width: 36px;
    height: 36px;
}

.pp-highlight-text {
    flex: 1;
    min-width: 0;
}

.pp-highlight-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
    background: linear-gradient(135deg, #5FB3F0, #3B8BC2);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.pp-highlight-text p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.9;
    margin: 0 0 8px;
}

.pp-highlight-text strong {
    color: #C23B50;
    font-weight: 700;
}

.pp-highlight-link {
    font-size: 0.85rem;
    color: #3B8BC2;
    font-weight: 600;
    transition: opacity 200ms ease;
}

.pp-highlight-link:hover {
    opacity: 0.7;
}

/* ===== 補足カード（オプション・注意事項・特徴） ===== */

.pp-note-grid {
    display: grid;
    gap: 20px;
}

.pp-note-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pp-note-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pp-note-grid--4 { grid-template-columns: repeat(4, 1fr); }

.pp-note-card {
    background: white;
    border: 2px solid #FFE4EE;
    border-radius: 20px;
    padding: 26px 26px;
}

.pp-note-card h3 {
    font-size: 1rem;
    color: #C23B50;
    font-weight: 700;
    margin-bottom: 10px;
}

.pp-note-card p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.9;
    margin: 0;
}

.pp-price {
    color: #C23B50;
    font-weight: 700;
}

/* ===== 番号つきリスト（月額に含まれる運用サービス） ===== */

.pp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 32px;
}

.pp-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    padding: 20px 22px;
}

.pp-num {
    flex: 0 0 auto;
    font-family: 'Kaisei Opti', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFB6C8;
    line-height: 1.4;
}

.pp-list h3 {
    font-size: 0.98rem;
    color: #2D1418;
    font-weight: 700;
    margin-bottom: 4px;
}

.pp-list p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ===== 機体ごとの点検事例（ドローンページ） ===== */

.pp-drone {
    background: white;
    border: 2px solid #FFE4EE;
    border-radius: 24px;
    padding: 32px 32px 28px;
}

.pp-drone + .pp-drone {
    margin-top: 28px;
}

.pp-drone-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 20px 40px;
    align-items: center;
    margin-bottom: 28px;
}

.pp-case-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #2F6F9E;
    background: #E6F3FF;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.pp-drone-head h3 {
    font-size: 1.5rem;
    color: #2D1418;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.pp-drone-role {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.9;
    margin: 0;
}

.pp-drone-merits {
    list-style: none;
    margin: 0;
    padding: 18px 22px;
    background: #F2F9FF;
    border-radius: 16px;
}

.pp-drone-merits li {
    position: relative;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.8;
    padding: 6px 0 6px 24px;
}

.pp-drone-merits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    color: #3B8BC2;
    font-weight: 700;
}

.pp-photo-group + .pp-photo-group {
    margin-top: 20px;
}

.pp-photo-group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2F6F9E;
    margin-bottom: 10px;
}

.pp-photo-group-label::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: #3B8BC2;
}

.pp-photos {
    display: grid;
    gap: 12px;
}

/* 1枚のときも2枚並びと同じサイズで表示 */
.pp-photos--1,
.pp-photos--2 { grid-template-columns: repeat(2, 1fr); }

/* 3枚: 1枚目を大きく、残り2枚を右に縦積み */
.pp-photos--3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.pp-photos--3 .pp-photo:first-child {
    grid-row: 1 / span 2;
    aspect-ratio: auto;
}

.pp-photo {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #eee;
    aspect-ratio: 4 / 3;
}

.pp-photo {
    cursor: zoom-in;
}

.pp-photo:focus-visible {
    outline: 3px solid #3B8BC2;
    outline-offset: 2px;
}

.pp-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.pp-photo:hover img {
    transform: scale(1.04);
}

/* ===== ライトボックス（price.js が生成） ===== */

.pp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(45, 20, 24, 0.9);
    opacity: 0;
    transition: opacity 200ms ease;
}

.pp-lightbox.is-visible {
    opacity: 1;
}

/* display:flex が hidden 属性のUAスタイルを上書きしないように明示 */
.pp-lightbox[hidden] {
    display: none;
}

body.pp-lightbox-open {
    overflow: hidden;
}

.pp-lightbox-figure {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pp-lightbox-img {
    display: block;
    max-width: min(1200px, 100%);
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.pp-lightbox-caption {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.6;
}

.pp-lightbox-close,
.pp-lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms ease;
    font-family: inherit;
}

.pp-lightbox-close:hover,
.pp-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.pp-lightbox-close:focus-visible,
.pp-lightbox-nav:focus-visible {
    outline: 3px solid #FFB6C8;
}

.pp-lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.pp-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 30px;
    line-height: 1;
    padding-bottom: 4px;
}

.pp-lightbox-nav--prev { left: 16px; }
.pp-lightbox-nav--next { right: 16px; }

.pp-lightbox-counter {
    position: absolute;
    top: 28px;
    left: 24px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* ===== 仕様テーブル（claude.css の .company-table を流用） ===== */

.pp-spec {
    max-width: 800px;
    margin: 0;
}

/* ===== CTA ===== */

.pp-cta {
    padding: 80px 0 96px;
    text-align: center;
    background: linear-gradient(180deg, white 0%, #FFF5F9 100%);
}

.pp-cta-title {
    font-family: 'Kaisei Opti', serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: #2D1418;
    font-weight: 700;
    margin-bottom: 12px;
}

.pp-cta-text {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.9;
    max-width: 560px;
    margin: 0 auto 32px;
}

.pp-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pp-cta-btn {
    display: inline-block;
    background-color: #C23B50;
    color: white;
    padding: 16px 44px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(194, 59, 80, 0.35);
    transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.pp-cta-btn:hover {
    background-color: #A83040;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(194, 59, 80, 0.4);
}

.pp-cta-sub {
    font-size: 0.88rem;
    color: #C23B50;
    font-weight: 600;
    transition: opacity 200ms ease;
}

.pp-cta-sub:hover {
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1079px) {
    .pp-inner {
        padding: 0 24px;
    }

    .price-grid--2 {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pp-note-grid--3,
    .pp-note-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pp-list {
        grid-template-columns: 1fr;
    }

    .pp-section {
        padding: 56px 0;
    }

    .pp-drone-head {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 570px) {
    .pp-inner {
        padding: 0 20px;
    }

    .pp-hero {
        padding: 40px 0 36px;
    }

    .pp-hero .section-title {
        font-size: 1.6rem;
    }


    .pp-note-grid--2,
    .pp-note-grid--3,
    .pp-note-grid--4 {
        grid-template-columns: 1fr;
    }

    .pp-note-card {
        padding: 22px 20px;
    }

    .pp-highlight {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 22px;
    }

    .pp-highlight-icon {
        width: 56px;
        height: 56px;
    }

    .pp-highlight-icon svg {
        width: 28px;
        height: 28px;
    }

    .pp-drone {
        padding: 22px 18px 20px;
    }

    .pp-drone-head h3 {
        font-size: 1.3rem;
    }

    .pp-photos {
        gap: 8px;
    }

    .pp-photos--3 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .pp-photos--3 .pp-photo:first-child {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    .pp-photo {
        border-radius: 12px;
    }

    .pp-lightbox {
        padding: 12px;
    }

    .pp-lightbox-img {
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);
        border-radius: 8px;
    }

    .pp-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 26px;
        background: rgba(255, 255, 255, 0.2);
    }

    .pp-lightbox-nav--prev { left: 8px; }
    .pp-lightbox-nav--next { right: 8px; }

    .pp-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .pp-lightbox-counter {
        top: 22px;
        left: 14px;
    }

    .pp-cta {
        padding: 64px 0 80px;
    }

    .pp-cta-btn {
        padding: 14px 32px;
        font-size: 14px;
    }
}
