@charset "UTF-8";

/* ==========================================================================
   Table of Contents
   
   01. Header      - ヘッダー・ナビゲーション (.p-header)
   02. Hero        - ファーストビュー (.p-hero)
   03. Intro       - イントロダクション (.p-intro)
   04. Permission  - 許可・承認 (.p-permission)
   05. Performance - 撮影実績 (.p-performance)
   06. Plan        - 料金プラン (.p-plan)
   07. Equipment   - 機材のご紹介 (.p-equipment)
   08. Option      - オプション (.p-option)
   09. Service     - サービスの特徴 (.p-service)
   10. Gallery     - ギャラリー (.p-gallery)
   11. Questions   - よくあるご質問 (.p-questions)
   12. Contact     - お問い合わせ・個人情報 (.p-contact, .p-privacy)
   13. Footer      - フッター (.p-footer)
========================================================================== */

/* --- 横はみ出し（横揺れ）防止 --- */
html,
body {
    overflow-x: clip;
    width: 100%;
    font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
}

/* --- ドロワー展開時の背面スクロールロック --- */
body.is-locked {
    overflow: hidden;
}

/* ==========================================================================
   01. Header (.p-header) - Modern Transparent & Glassmorphism
========================================================================== */
.p-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
    padding: 24px 0;
    /* ★修正: transform を追加し、スクロール時の隠蔽アニメーションをなめらかに */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s, padding 0.4s;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

/* ★追加: JSで付与される「下スクロール時に隠す」クラス */
.p-header.is-hidden {
    transform: translateY(-100%);
}

.p-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    width: 100%;
    box-sizing: border-box;
}

/* --- スクロール固定時のスタイル --- */
.p-header.fixed {
    position: fixed;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    /* 少し不透明度を上げて視認性UP */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* --- ロゴ --- */
.p-header__logo {
    width: 160px;
}

.p-header__logo img {
    width: 100%;
    height: auto;
    transition: filter 0.4s;
}

.p-header:not(.fixed) .p-header__logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.p-header.fixed .p-header__logo-img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(48%) saturate(2229%) hue-rotate(205deg) brightness(97%) contrast(98%);
}

/* --- ナビゲーション（PC） --- */
.p-header__nav-list {
    display: flex;
    gap: 32px;
}

.p-header__nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.p-header:not(.fixed) .p-header__nav-link {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.p-header:not(.fixed) .p-header__nav-link:hover {
    color: #46bebe;
}

.p-header.fixed .p-header__nav-link {
    color: #14326e;
}

.p-header.fixed .p-header__nav-link:hover {
    color: #46bebe;
}

/* ★PC時はドロワー用CTAを非表示 */
.p-header__nav-cta {
    display: none;
}

/* --- 連絡先エリア（PC） --- */
.p-header__contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.p-header__tel {
    font-size: 1.2rem;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.p-header:not(.fixed) .p-header__tel {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.p-header.fixed .p-header__tel {
    color: #14326e;
}

.p-header:not(.fixed) .p-header__tel:hover,
.p-header.fixed .p-header__tel:hover {
    color: #46bebe;
}

.p-header__tel .fa {
    margin-right: 6px;
}

/* ヘッダー右上のモダンなお問い合わせボタン */
.p-header__btn {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 10px 24px;
    border-radius: 40px;
    transition: all 0.3s;
    text-decoration: none;
}

.p-header:not(.fixed) .p-header__btn {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.p-header:not(.fixed) .p-header__btn:hover {
    background: #fff;
    color: #14326e;
    text-shadow: none;
}

.p-header.fixed .p-header__btn {
    color: #14326e;
    border-color: #14326e;
}

.p-header.fixed .p-header__btn:hover {
    background: #14326e;
    color: #fff;
}

/* --- ハンバーガーメニューボタン（スマホ用） --- */
.p-header__toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.p-header__toggle-line {
    display: block;
    position: absolute;
    height: 2px;
    width: 24px;
    background: #fff;
    left: 10px;
    transition: 0.35s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.p-header.fixed .p-header__toggle-line {
    background: #14326e;
    box-shadow: none;
}

.p-header__toggle-line:nth-child(1) {
    top: 12px;
}

.p-header__toggle-line:nth-child(2) {
    top: 21px;
}

.p-header__toggle-line:nth-child(3) {
    top: 30px;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1150px) {
    .p-header__nav-list {
        gap: 16px;
    }

    .p-header__contact {
        gap: 16px;
    }

    .p-header__btn {
        padding: 8px 16px;
    }
}

@media screen and (max-width: 950px) {

    /* PC要素の非表示 */
    .p-header__contact {
        display: none;
    }

    .p-header__toggle {
        display: block;
    }

    .p-header__logo {
        width: 130px;
    }

    /* ★SP版: リッチなドロワーメニューへ大幅変更 */
    .p-header__nav {
        /* ★古い設定（非表示や位置ズレ）を強制リセット */
        display: block !important;
        visibility: visible !important;
        transform: none !important;
        left: auto !important;
        top: 0 !important;

        /* ★新しい右スライドの設定 */
        position: fixed;
        right: -100%;
        /* 初期位置：右画面外 */
        width: 100%;
        height: 100dvh;
        /* スマホのバーを考慮した高さ */
        background: rgba(20, 50, 110, 0.98);
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 990;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .p-header__nav-inner {
        /* 上下パディングを見直し、下部にしっかり余裕を持たせる */
        padding: 100px 6% 80px;
        display: flex;
        flex-direction: column;
        min-height: 100%;
        box-sizing: border-box;
    }

    /* SPメニューリスト */
    .p-header__nav-list {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 24px;
        margin-bottom: 48px;
    }

    .p-header__nav-link {
        color: #fff !important;
        /* ネイビー背景なので文字は白 */
        font-size: 1.2rem;
        text-shadow: none !important;
        display: block;
    }

    /* ★SP版: メニュー内のCTAエリア */
    .p-header__nav-cta {
        display: block;
        margin-top: auto;
        text-align: center;
        /* ★追加: CTAの下がギリギリにならないよう余白を確保 */
        padding-bottom: 24px;
    }

    .p-header__nav-tel {
        display: block;
        color: #fff;
        font-size: 1.8rem;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: bold;
        margin-bottom: 4px;
        text-decoration: none;
    }

    .p-header__nav-time {
        color: #94a3b8;
        font-size: 0.85rem;
        margin-bottom: 24px;
    }

    .p-header__nav-btn {
        display: inline-block;
        width: 100%;
        max-width: 280px;
        background-color: #46bebe;
        color: #14326e;
        /* アクセシビリティ考慮: シアン背景にネイビー文字 */
        font-weight: bold;
        padding: 16px;
        border-radius: 40px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(70, 190, 190, 0.3);
    }

    /* メニュー開閉時のアニメーション (.open) */
    .p-header.open .p-header__nav {
        right: 0;
        /* 右から画面内にスライドイン */
        transform: none !important;
        /* ★古い translateY(100vh) が残っていても無効化する */
    }

    /* メニュー展開時のハンバーガーボタン（×印） */
    .p-header.open .p-header__toggle-line {
        background: #fff !important;
        /* ネイビー背景に対して白にする */
        box-shadow: none !important;
    }

    .p-header.open .p-header__toggle-line:nth-child(1) {
        top: 21px;
        transform: rotate(315deg);
    }

    .p-header.open .p-header__toggle-line:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .p-header.open .p-header__toggle-line:nth-child(3) {
        top: 21px;
        transform: rotate(-315deg);
    }
}

@media screen and (max-width: 414px) {
    .p-header {
        padding: 16px 0;
    }

    .p-header__logo {
        width: 110px;
    }
}

/* ==========================================================================
   02. Hero (.p-hero) - Fullscreen & Typography
========================================================================== */
.p-hero--fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background-color: #14326e;

    /* コンテンツを左下に配置するための設定 */
    display: flex;
    align-items: flex-end;
    /* 下寄せ */
    justify-content: flex-start;
    /* 左寄せ */
}

/* =========================================================
   ★修正版：YouTubeの不要なUIを隠す「暗幕フェードアウト」 
========================================================= */

/* 1. マウス操作を無効化し、ホバーでタイトルが再表示されるのを防ぐ */
#js-mainvisualVideo {
    z-index: 0;
    pointer-events: none;
}

/* 2. 読み込み時の赤いボタンやタイトルを隠す「ネイビーの暗幕」 */
.p-hero__visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #14326e;
    /* ブランドカラーのネイビー */
    z-index: 1;
    /* 動画より手前、テキストより奥 */

    /* 読み込みから1.5秒待って、1秒かけて透明になる */
    animation: curtainFadeOut 1s ease-in-out 1.5s forwards;
    pointer-events: none;
}

@keyframes curtainFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* ========================================================= */

/* --- 下部グラデーション（テキストの可読性確保） --- */
.p-hero__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* 画面の下半分にだけかける */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* --- コンテンツエリア（左下寄せ） --- */
.p-hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    /* 左揃えに変更 */
    color: #fff;
    width: 100%;
    padding: 0 6% 64px;
    /* 左と下の余白をしっかり取る */
}

/* 登場アニメーション */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.p-hero__catch {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.p-hero__title {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 500;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
    margin-bottom: 8px;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

/* 参考画像を再現した特大タイポグラフィ */
.p-hero__title-en {
    /* 画面幅に連動するサイズ（大きすぎたら数値を下げてください） */
    font-size: 5vw;
    line-height: 1;
    font-weight: 900;
    font-family: 'Roboto Condensed', sans-serif;
    color: #46bebe;
    /* ブランドカラーの水色でアクセント */
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.p-hero__desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.p-hero__action {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.p-hero__action a {
    text-shadow: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.p-hero__action a:hover {
    transform: translateY(-2px);
    background-color: #fff;
    color: #46bebe;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {
    .p-hero__title-en {
        font-size: 6vw;
        /* 画面が狭くなったら少し割合を大きく */
    }
}

@media screen and (max-width: 768px) {
    .p-hero__content {
        padding: 0 6% 40px;
    }

    .p-hero__title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .p-hero__title-en {
        font-size: 8vw;
        margin-bottom: 20px;
    }

    .p-hero__desc {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 600px) {
    .p-hero--fullscreen {
        background: url(../img/img09.webp) center center / cover no-repeat;
    }

    .mbYTP_wrapper {
        display: none !important;
    }
}

@media screen and (max-width: 414px) {
    .p-hero__catch {
        font-size: 1rem;
    }

    .p-hero__title {
        font-size: 1.2rem;
    }

    .p-hero__title-en {
        font-size: 10vw;
        /* スマホでは画面端まで広げる */
    }

    .p-hero__desc {
        display: none;
        /* 元の仕様通りスマホでは説明文を非表示 */
    }
}

/* --- モダンなラインボタン（Hero専用） --- */
.p-hero__action {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.p-hero__btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 16px 32px;
    border-radius: 40px;
    /* 今風の丸みのあるピルシェイプ */
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* ほんのり背景をぼかす（グラスモーフィズム） */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.p-hero__btn:hover {
    background: #fff;
    color: #14326e;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ボタン内のテキストレイアウト */
.p-hero__btn-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-right: 12px;
}

.p-hero__btn-sub {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-right: 16px;
    padding-left: 12px;
    border-left: 1px solid currentColor;
    /* 左に区切り線 */
}

.p-hero__btn .fa {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.p-hero__btn:hover .fa {
    /* ホバー時に矢印が右に少し動くアニメーション */
    transform: translateX(4px);
}

/* スマホ用の微調整 */
@media screen and (max-width: 414px) {
    .p-hero__btn {
        padding: 12px 24px;
    }

    .p-hero__btn-text {
        font-size: 1rem;
    }

    .p-hero__btn-sub {
        display: none;
        /* スマホでは窮屈なので日本語サブを隠す */
    }
}

/* =========================================================
   YouTubeの不要なUI（タイトル・ボタン）を完全に隠す
========================================================= */

/* 1. タイトル文字を枠外に押し出すために動画だけを少し拡大 */
.mbYTP_wrapper iframe {
    transform: scale(1.15) !important;
}

/* 2. マウス操作を完全に無効化し、ホバーによるUIの再表示を防ぐ */
.mbYTP_wrapper {
    pointer-events: none !important;
}

/* 3. 読み込み時のカバー（ポスター画像） */
.p-hero__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 動画が始まるまではスマホ用に使っていた画像をプレースホルダーとして表示 */
    background: url(../img/img09.jpg) center center / cover no-repeat;
    z-index: 1;
    /* 動画のすぐ手前 */
}

/* ==========================================================================
   03. Introduction (.p-intro) - Brand Statement
========================================================================== */
.p-intro {
    background-color: #fff;
    overflow: hidden;
    /* 装飾のはみ出しを防ぐ */
}

.p-intro__inner {
    padding: 140px 10%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* --- 左側：テキストエリア --- */
.p-intro__content {
    width: 50%;
}

.p-intro__subtitle {
    display: inline-block;
    color: #277979;
    font-size: 0.9rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    position: relative;
    padding-left: 48px;
}

/* サブタイトルの横に美しいラインを引く */
.p-intro__subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 32px;
    height: 2px;
    background-color: #46bebe;
}

.p-intro__title {
    font-size: 2.8rem;
    line-height: 1.4;
    color: #14326e;
    font-weight: 700;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
    margin-bottom: 32px;
}

.p-intro__desc {
    font-size: 1rem;
    line-height: 2;
    color: #334155;
    text-align: left;
}

/* --- 右側：ビジュアルエリア --- */
.p-intro__figure {
    width: 50%;
    position: relative;
    z-index: 2;
    /* 無理なaspect-ratioを削除し、画像の自然な比率を尊重します */
}

.p-intro__figure img {
    width: 100%;
    height: auto;
    /* 自然な高さに戻す */
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(20, 50, 110, 0.15);
    position: relative;
    z-index: 2;
}

/* 後ろのアクセント枠 */
.p-intro__figure-bg {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(70, 190, 190, 0.5);
    /* 線の色を少し上品に */
    border-radius: 12px;
    z-index: 1;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {

    .p-intro__inner {
        padding: 0 6%;
        gap: 48px;
    }
}

@media screen and (max-width: 600px) {

    .p-intro {
        padding: 80px 0 160px;
    }

    .p-intro__inner {
        flex-direction: column;
        /* 縦積みに変更 */
        gap: 40px;
        /* 縦の余白を少し縮める */
    }

    .p-intro__content {
        width: 100%;
    }

    .p-intro__title {
        font-size: 1.8rem;
    }

    .p-intro__figure {
        width: 80%;
        margin-top: 32px;
    }
}


/* ==========================================================================
   04. Permission (.p-permission) - Trust & License
========================================================================== */
.p-permission {
    background-color: #fff;
}

/* セクションの背景を少し斜めにカットして区切る（または薄いグレーで差別化） */
.p-permission__bg {
    background-color: #f7f9fc;
    padding: 120px 0 220px;
}

/* --- レイアウトのバランス調整 --- */
.p-permission__inner {
    display: flex;
    align-items: center;
    /* 縦の中央で綺麗に揃える */
    justify-content: center;
    gap: 80px;
    /* アイコンとテキストの間に十分な余白（呼吸スペース）を持たせる */
    max-width: 1000px;
    /* 横に間延びしすぎないよう、MAX幅を制限 */
    margin: 0 auto;
}

/* --- アイコンエリアの装飾 --- */
.p-permission__icon-wrap {
    /* 横幅は固定し、丸いバッジ状の背景を敷く */
    flex: 0 0 160px;
    height: 160px;
    background-color: #fff;
    border-radius: 50%;
    /* 完全な正円 */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 32px rgba(20, 50, 110, 0.08);
    /* ほんのり浮き上がる上品な影 */
}

/* SVGアイコン自体のサイズと色 */
.p-permission__icon {
    width: 80px;
    height: 80px;
    color: #46bebe;
    /* アクセントカラーのシアン */
}

/* --- テキストエリア --- */
.p-permission__content {
    flex: 1;
    /* アイコン以外の残りの幅をすべて広々と使う */
}

.p-permission__subtitle {
    display: inline-block;
    color: #277979;
    font-size: 0.9rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.p-permission__title {
    font-size: 2.2rem;
    line-height: 1.4;
    color: #14326e;
    font-weight: 700;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
    margin-bottom: 24px;
}

.p-permission__lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #14326e;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #dcdcdc;
}

.p-permission__lead strong {
    font-size: 1.3rem;
    color: #46bebe;
    background: linear-gradient(transparent 70%, rgba(70, 190, 190, 0.2) 70%);
    /* テキストに薄い水色のマーカーライン */
    display: inline;
}

.p-permission__text {
    font-size: 1rem;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 16px;
    text-align: left;
}

.p-permission__note {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    background-color: rgba(20, 50, 110, 0.04);
    padding: 16px;
    border-radius: 6px;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {

    .p-permission__inner {
        padding: 0 6%;
        gap: 48px;
    }

    .p-permission__title {
        font-size: 1.8rem;
    }

    .p-permission__bg {
        padding: 100px 0 180px;
    }
}

@media screen and (max-width: 600px) {

    .p-permission__inner {
        flex-direction: column;
        /* 縦積みに変更 */
        gap: 40px;
        /* 縦の余白を少し縮める */
    }

    .p-permission__icon-wrap {
        flex: 0 0 120px;
        /* スマホではアイコンを少し小さく */
        height: 120px;
        width: 120px;
    }

    .p-permission__icon {
        width: 60px;
        height: 60px;
    }

    .p-permission__bg {
        padding: 80px 0 160px;
    }
}

/* ==========================================================================
   05. Performance (.p-performance)
========================================================================== */
.p-performance {
    background-color: #fff;
    /* 上のセクションへ斜めに食い込むデザイン */
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding: 180px 0 120px;
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.p-performance__inner {
    padding: 0 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.p-performance__header {
    text-align: center;
    margin-bottom: 64px;
}

.p-performance__title {
    font-size: 2.2rem;
    color: #14326e;
    margin-bottom: 16px;
    font-weight: 600;
    font-family: "游明朝", "Yu Mincho", serif;
}

.p-performance__title-en {
    display: block;
    font-size: 1rem;
    color: #277979;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.15em;
    margin-top: 8px;
}

.p-performance__lead {
    font-size: 1rem;
    color: #334155;
}

/* --- カード共通 --- */
.p-performance__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 64px;
}

.p-perf-card {
    /* ★修正：背景が白になったため、カード側をほんのりグレーにして浮かび上がらせる */
    background: #f7f9fc;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 8px 24px rgba(20, 50, 110, 0.05);
}

.p-perf-card__head {
    margin-bottom: 32px;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 16px;
}

.p-perf-card__title {
    font-size: 1.4rem;
    color: #14326e;
    font-weight: bold;
    margin-bottom: 8px;
}

.p-perf-card__sub {
    font-size: 0.95rem;
    color: #334155;
}

/* --- タグクラウド (TV・映画) --- */
.p-perf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.p-perf-tag {
    background-color: #f0f4f8;
    color: #14326e;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 40px;
    /* ピルシェイプ */
    transition: all 0.3s ease;
}

.p-perf-tag:hover {
    background-color: #14326e;
    color: #fff;
    transform: translateY(-2px);
}

/* 特に目立たせたい実績用 */
.p-perf-tag--highlight {
    background-color: rgba(70, 190, 190, 0.1);
    color: #2b8a8a;
    border: 1px solid rgba(70, 190, 190, 0.3);
}

/* --- 2x2 グリッド (プロモーション) --- */
.p-perf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.p-perf-group {
    background: #fff;
    /* #fcfcfc から #fff に変更 */
    border-left: 4px solid #46bebe;
    padding: 24px;
    border-radius: 0 8px 8px 0;
}

.p-perf-group__title {
    font-size: 1.1rem;
    color: #14326e;
    font-weight: bold;
    margin-bottom: 12px;
}

.p-perf-group__desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #334155;
}

/* --- フッター＆バナー --- */
.p-performance__bottom {
    text-align: center;
    margin-bottom: 64px;
}

.p-performance__notice {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 24px;
}

.p-performance__btn {
    display: inline-flex;
    align-items: center;
    background-color: #14326e;
    color: #fff;
    padding: 16px 40px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(20, 50, 110, 0.2);
}

.p-performance__btn:hover {
    background-color: #46bebe;
    transform: translateY(-2px);
}

.p-performance__btn .fa {
    margin-left: 12px;
    transition: transform 0.3s;
}

.p-performance__btn:hover .fa {
    transform: translateX(4px);
}

.p-performance__banner {
    text-align: center;
}

.p-performance__banner img {
    max-width: 100%;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.p-performance__banner a:hover img {
    opacity: 0.85;
    transform: scale(1.02);
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {
    .p-performance__inner {
        padding: 0 6%;
    }

    .p-perf-card {
        padding: 32px;
    }
}

@media screen and (max-width: 768px) {
    .p-performance {
        padding: 120px 0 80px;
    }

    .p-perf-grid {
        grid-template-columns: 1fr;
    }

    .p-perf-tags {
        gap: 8px;
    }

    .p-perf-tag {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   06. Plan (.p-plan) - Modern SaaS Style
========================================================================== */
.p-plan {
    width: 100%;
    background-color: #f7f9fc;
}

.p-plan__inner {
    padding: 120px 12% 240px;
}

.p-plan__header {
    text-align: center;
    margin-bottom: 64px;
}

.p-plan__title {
    font-size: 2.2rem;
    color: #14326e;
    margin-bottom: 16px;
    font-weight: 600;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
}

.p-plan__title-en {
    display: block;
    font-size: 1rem;
    color: #277979;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.15em;
    margin-top: 8px;
}

.p-plan__lead {
    font-size: 1rem;
    color: #334155;
    line-height: 1.8;
}

/* --- カードレイアウト（CSS Grid） --- */
.p-plan__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    /* 高さを揃える */
}

/* --- カード本体の共通スタイル --- */
.p-plan-card {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    /* 従来の太いボーダーをやめ、浮遊感のあるシャドウに変更 */
    box-shadow: 0 10px 30px rgba(20, 50, 110, 0.08);
    border: 1px solid #edf2f7;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.p-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 50, 110, 0.15);
}

/* --- おすすめプラン（中央）の特別スタイル --- */
.p-plan-card--recommended {
    border: 2px solid #46bebe;
    box-shadow: 0 16px 40px rgba(70, 190, 190, 0.15);
    /* PCでは少しだけ大きくして目立たせる */
    transform: scale(1.03);
    z-index: 2;
}

.p-plan-card--recommended:hover {
    transform: scale(1.03) translateY(-8px);
}

.p-plan-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #277979;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.1em;
    padding: 6px 24px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(70, 190, 190, 0.4);
}

/* --- プレミアムプラン（右）の特別スタイル --- */
.p-plan-card--premium {
    background: linear-gradient(135deg, #14326e 0%, #0a1937 100%);
    color: #fff;
    border: none;
}

.p-plan-card--premium .p-plan-card__title,
.p-plan-card--premium .p-plan-card__headline,
.p-plan-card--premium .p-plan-card__tax,
.p-plan-card--premium .p-plan-card__note {
    color: #e2e8f0;
    /* 暗い背景に合わせた文字色 */
}

.p-plan-card--premium .p-plan-card__specs li {
    border-color: rgba(255, 255, 255, 0.1);
}

/* --- カード内部の要素 --- */
.p-plan-card__head {
    text-align: center;
    margin-bottom: 24px;
}

.p-plan-card__headline {
    font-size: 1.2rem;
    font-family: 'Roboto Condensed', sans-serif;
    color: #767676;
    margin-bottom: 8px;
    font-weight: bold;
}

.p-plan-card__headline-en {
    font-size: 1rem;
    color: #277979;
}

.p-plan-card__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #14326e;
}

/* ★価格を巨大化してインパクトを出す */
.p-plan-card__price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px dashed #dcdcdc;
}

.p-plan-card--premium .p-plan-card__price-box {
    border-color: rgba(255, 255, 255, 0.15);
}

.p-plan-card__currency {
    font-size: 1.6rem;
    font-weight: bold;
    margin-right: 4px;
}

.p-plan-card__amount {
    font-size: 3.2rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
}

.p-plan-card__tax {
    font-size: 0.9rem;
    color: #767676;
    margin-left: 4px;
}

/* --- スペックリスト（モダンなチェックマーク付き） --- */
.p-plan-card__specs {
    margin-bottom: 24px;
}

.p-plan-card__specs li {
    position: relative;
    padding: 12px 0 12px 32px;
    /* チェックマーク用の余白 */
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: left;
}

/* CSSで描く美しいチェックマーク */
.p-plan-card__specs li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 18px;
    width: 6px;
    height: 12px;
    border-right: 2px solid #46bebe;
    border-bottom: 2px solid #46bebe;
    transform: rotate(45deg);
}

/* --- 注釈 --- */
.p-plan-card__note {
    margin-top: auto;
    /* 下に押しやる */
    background: rgba(0, 0, 0, 0.03);
    padding: 16px;
    border-radius: 6px;
    text-align: left;
    line-height: 1.6;
}

.p-plan-card--premium .p-plan-card__note {
    background: rgba(255, 255, 255, 0.05);
}

/* --- フッター領域 --- */
.p-plan__footer {
    margin-top: 56px;
    /* ★修正：Flexboxを使って確実に縦並び（column）にし、中央揃えにする */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    /* バナーと注釈の間の余白 */
}

.p-plan__notice {
    /* display: inline-block; を削除 */
    font-size: 1rem;
    color: #fff;
    background-color: #14326e;
    padding: 12px 32px;
    border-radius: 40px;
    margin-bottom: 0;
    /* 余白は親のgapで管理するため0に */
    box-shadow: 0 4px 16px rgba(20, 50, 110, 0.2);
}

.p-plan__annotation {
    text-align: left;
    /* display: inline-block; を削除 */
    color: #334155;
    line-height: 1.8;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {
    .p-plan__inner {
        padding: 100px 6%;
    }

    .p-plan-card {
        padding: 32px 24px;
    }

    .p-plan-card__amount {
        font-size: 2.6rem;
    }
}

@media screen and (max-width: 881px) {
    .p-plan__cards {
        /* タブレット・スマホは1カラムにして読みやすく */
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
        gap: 48px;
        /* 縦に並ぶので余白を少し広げる */
    }

    .p-plan-card--recommended {
        transform: scale(1);
        /* スマホでは拡大を解除 */
    }

    .p-plan-card--recommended:hover {
        transform: translateY(-8px);
    }
}

@media screen and (max-width: 600px) {
    .p-plan__notice {
        font-size: 0.9rem;
        padding: 12px 20px;
        text-align: left;
    }
}


/* ==========================================================================
   10. Equipment (.p-equipment) - Dark Theme & Glassmorphism
========================================================================== */
.p-equipment {
    position: relative;
    /* 背景を高級感のあるダークネイビーに変更 */
    background-color: #081225;
    color: #fff;
    padding: 160px 12% 160px;
    z-index: 5;
    /* 前のセクションへの斜めの食い込み（維持） */
    margin-top: -100px;
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.p-equipment__header {
    text-align: center;
    margin-bottom: 100px;
}

.p-equipment__title {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 600;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
}

.p-equipment__title-en {
    display: block;
    font-size: 1rem;
    color: #46bebe;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.15em;
    margin-top: 8px;
}

/* --- カード全体のレイアウト（横並び＋少し重ねる） --- */
.p-equip-card {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
}

.p-equip-card:last-child {
    margin-bottom: 0;
}

/* 偶数番目は左右反転 */
.p-equip-card--reverse {
    flex-direction: row-reverse;
}

/* --- 画像エリア --- */
.p-equip-card__figure {
    width: 55%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.p-equip-card__figure img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.p-equip-card:hover .p-equip-card__figure img {
    transform: scale(1.05);
    /* ホバーで画像をゆっくり拡大 */
}

/* --- テキストコンテンツエリア（すりガラス） --- */
.p-equip-card__content {
    box-sizing: border-box;
    width: 50%;
    margin-left: -5%;
    z-index: 2;
    padding: 56px 48px;

    /* ★修正1：白ベースから「ダークベース」のすりガラスに変更し、下地の白さを抑え込む */
    background: rgba(8, 18, 37, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* 境界線を少しだけくっきり */
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* 影も少し濃くして浮遊感をアップ */
}

/* 反転時は右に5%重ねる */
.p-equip-card--reverse .p-equip-card__content {
    margin-left: 0;
    margin-right: -5%;
}

/* --- その他機材（フルワイド） --- */
.p-equip-card--full {
    display: block;
}

.p-equip-card--full .p-equip-card__content {
    width: 100%;
    margin: 0;
    text-align: center;
    /* 全体を中央揃えに */
}

.p-equip-card--full .p-equip-card__spec-list {
    text-align: left;
    /* リストの中身は左揃えをキープ */
    display: inline-block;
}

/* --- タイトル周り --- */
.p-equip-card__head {
    margin-bottom: 32px;
}

.p-equip-card__name {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.p-equip-card__name-sub {
    display: block;
    font-size: 1rem;
    color: #46bebe;
    margin-top: 8px;
    letter-spacing: 0;
    /* ★修正2：水色テキストのコントラスト（視認性）を高めるため、少し太字にする */
    font-weight: 600;
}

.p-equip-card__desc {
    font-size: 0.95rem;
    line-height: 1.8;
    /* ★修正2：暗かったグレーを、明るく読みやすい白系へ変更 */
    color: #e2e8f0;
}

/* --- スペックリスト --- */
.p-equip-card__spec-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.p-equip-card__spec-list {
    font-size: 0.9rem;
    /* ★修正2：リストのテキストも明るく変更 */
    color: #e2e8f0;
    line-height: 1.6;
}

/* リストアイテムに美しい水色のドットを付与 */
.p-equip-card__spec-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.p-equip-card__spec-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #46bebe;
    border-radius: 50%;
}

/* サブリスト（入れ子のリスト） */
.p-equip-card__spec-sublist {
    margin-top: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(70, 190, 190, 0.3);
    margin-bottom: 12px;
}

.p-equip-card__spec-sublist li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    /* ★修正2：特に読みにくかったサブリストの文字色を大幅に明るく変更 */
    color: #cbd5e1;
    overflow-wrap: anywhere;
    /* 収まらない場合に折り返す */
    word-break: normal;
    /* 単語の分割はデフォルトに依存 */
    line-break: strict;
    /* 禁則処理を厳格に適用 */
}

.p-equip-card__spec-sublist li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #46bebe;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {
    .p-equip-card__content {
        padding: 40px 32px;
    }

    .p-equip-card__name {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 881px) {

    /* タブレット・スマホは縦積みに変更 */
    .p-equip-card {
        flex-direction: column !important;
        /* reverseを上書き */
        margin-bottom: 80px;
    }

    .p-equip-card__figure {
        width: 100%;
    }

    .p-equip-card__content {
        width: 90%;
        /* 画像の下に潜り込ませて上に重ねる */
        margin-top: -40px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 32px 24px;
    }

    .p-equipment {
        padding: 120px 6% 120px;
    }
}

/* ==========================================================================
   07. Option (.p-option) - Modern Horizontal Cards
========================================================================== */
.p-option {
    /* 前の暗いセクションからのコントラストをつけるため、上品な薄いグレーに */
    background-color: #fff;
}

.p-option__inner {
    padding: 120px 12% 120px;
}

.p-option__header {
    text-align: center;
    margin-bottom: 64px;
}

.p-option__title {
    font-size: 2.2rem;
    color: #14326e;
    margin-bottom: 16px;
    font-weight: 600;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
}

.p-option__title-en {
    display: block;
    font-size: 1rem;
    color: #277979;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.15em;
    margin-top: 8px;
}

.p-option__lead {
    font-size: 1rem;
    color: #334155;
    line-height: 1.8;
}

/* --- リスト全体のラッパー --- */
.p-option__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* カード間の余白 */
    max-width: 900px;
    /* 横に広がりすぎないように制御 */
    margin: 0 auto;
}

/* --- カードレイアウト（横並びFlex） --- */
.p-option-card {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;

    /* ★修正：背景が白になるため、カードに薄い枠線をつけて境界をくっきりさせる */
    border: 1px solid #edf2f7;
    /* ★修正：影を少しだけ濃く広げて、白背景の上でもしっかり浮き上がらせる */
    box-shadow: 0 8px 24px rgba(20, 50, 110, 0.06);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(20, 50, 110, 0.1);
}

/* --- 左側：画像エリア --- */
.p-option-card__figure {
    width: 35%;
    flex-shrink: 0;
    /* 画像エリアが潰れないようにする */
    position: relative;
}

.p-option-card__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 枠に合わせて綺麗にトリミング */
    display: block;
}

/* 画像がない場合のアイコン用エリア */
.p-option-card__figure--icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    color: #a0aec0;
}

.p-option-card__figure--icon svg {
    width: 64px;
    height: 64px;
}

/* --- 右側：テキストコンテンツエリア --- */
.p-option-card__content {
    width: 65%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* --- テキスト周り --- */
.p-option-card__head {
    margin-bottom: 24px;
    border-bottom: 1px dashed #dcdcdc;
    padding-bottom: 16px;
}

.p-option-card__category {
    display: inline-block;
    background-color: rgba(70, 190, 190, 0.1);
    color: #46bebe;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.p-option-card__title {
    display: flex;
    justify-content: space-between;
    /* 名前を左、価格を右に分ける */
    align-items: baseline;
    font-size: 1.3rem;
    color: #14326e;
    font-weight: bold;
    line-height: 1.4;
}

.p-option-card__price {
    font-size: 1.6rem;
    font-family: 'Roboto Condensed', sans-serif;
    color: #e53e3e;
    /* 金額はアクセントの赤系（上品な色味）で目立たせる */
    margin-left: 16px;
}

.p-option-card__currency {
    font-size: 1rem;
    color: #767676;
    margin-left: 4px;
}

.p-option-card__body .p-option-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 12px;
}

.p-option-card__body strong {
    color: #14326e;
    font-weight: 600;
}

.p-option-card__note {
    margin-top: 16px;
    background: #f7f9fc;
    padding: 12px 16px;
    border-radius: 6px;
    color: #334155;
}

/* --- お知らせ用特別カード --- */
.p-option-card--notice {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #14326e;
    color: #fff;
    padding: 24px;
    text-align: center;
}

.p-option-card--notice .p-option-card__text {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {
    .p-option__inner {
        padding: 100px 6% 100px;
    }
}

@media screen and (max-width: 881px) {
    .p-option-card {
        flex-direction: column;
        /* タブレット以下は縦積みに変更 */
    }

    .p-option-card__figure {
        width: 100%;
        height: 240px;
        /* 画像の高さを固定 */
    }

    .p-option-card__content {
        width: 100%;
        padding: 32px 24px;
    }

    .p-option-card__title {
        flex-direction: column;
        /* スマホではタイトルと価格を縦に */
        gap: 8px;
    }

    .p-option-card__price {
        margin-left: 0;
    }
}

/* ==========================================================================
   09. Service (.p-service) - Modern Grid Layout
========================================================================== */
.p-service {
    padding: 100px 12%;
    background: #f7f9fc;
}

.p-service__header {
    text-align: center;
    margin-bottom: 64px;
}

.p-service__title {
    font-size: 2.2rem;
    color: #14326e;
    margin-bottom: 16px;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
    font-weight: 600;
}

.p-service__title-en {
    display: block;
    font-size: 1rem;
    color: #277979;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.15em;
    margin-top: 8px;
    border-bottom: none;
}

.p-service__lead {
    font-size: 1rem;
    color: #334155;
    line-height: 1.8;
}

/* --- 最新のCSS Grid（隙間を強制指定） --- */
.p-service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* --- カードデザインのモダン化 --- */
.p-service-card {
    background-color: #fff;
    padding: 40px 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(20, 50, 110, 0.04);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-service-card:hover {
    box-shadow: 0 16px 32px rgba(20, 50, 110, 0.1);
    transform: translateY(-4px);
}

/* --- テキスト周り --- */
.p-service-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #14326e;
    margin-bottom: 24px;
    line-height: 1.5;
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* --- ★修正：存在感のあるシャープなSVGアイコン --- */
.p-service-card__icon {
    width: 72px;
    /* アイコンを大きく表示 */
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #14326e;
    /* 初期状態はネイビー */
}

/* インラインSVGのスタイル設定 */
.p-service-card__icon svg {
    width: 100%;
    height: 100%;
    /* 色の切り替えを滑らかにする */
    transition: color 0.4s ease;
}

/* カードをホバーした時にアイコンをブランドカラー(水色)に光らせる */
.p-service-card:hover .p-service-card__icon svg {
    color: #46bebe;
}

/* --- 説明文 --- */
.p-service-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    text-align: left;
    flex-grow: 1;
    width: 100%;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {
    .p-service__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px !important;
    }
}

@media screen and (max-width: 950px) {
    .p-service {
        padding: 80px 6%;
    }
}

@media screen and (max-width: 650px) {
    .p-service__list {
        grid-template-columns: 1fr;
        gap: 24px !important;
    }

    .p-service-card {
        padding: 32px 24px;
    }
}


/* ==========================================================================
   Gallery (.p-cinema-gallery) - Sticky Scroll Experience
========================================================================== */
.p-cinema-gallery {
    /* ギャラリー全体を黒背景にして映画館のような没入感を作る */
    background-color: #000;
    position: relative;
}

/* --- スクロール時に画面に吸着して重なるパネル --- */
.p-cinema-panel {
    /* ここが要：画面上部にピタッと張り付く魔法の設定 */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    /* 画面いっぱいの高さ */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

/* ★追加：重なり順を明確にして、確実に下から覆いかぶさるようにする */
.p-cinema-panel:nth-child(1) {
    z-index: 1;
}
.p-cinema-panel:nth-child(2) {
    z-index: 2;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.6);
}
.p-cinema-panel:nth-child(3) {
    z-index: 3;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.6);
}

/* 2つ目以降のパネルに影をつけて、上に重なってくる立体感を強調 */
.p-cinema-panel:nth-child(n+2) {
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.6);
}

/* --- 動画エリア --- */
.p-cinema-panel__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.p-cinema-panel__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ダークオーバーレイ（グラデーション） --- */
.p-cinema-panel__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 下に向かって暗くなるグラデーションで、テキストの可読性を確保 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

/* --- テキストコンテンツ --- */
.p-cinema-panel__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 6%;
    max-width: 900px;
    margin-top: 20vh;
    /* 少し下側に配置して映像を見せる */
}

.p-cinema-panel__sub {
    display: block;
    font-size: 0.95rem;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.2em;
    color: #46bebe;
    margin-bottom: 16px;
    font-weight: bold;
}

.p-cinema-panel__title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.p-cinema-panel__desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 881px) {
    .p-cinema-panel__title {
        font-size: 2.2rem;
    }

    .p-cinema-panel__desc {
        font-size: 1rem;
    }
}

/* ==========================================================================
   11. Questions (.p-questions) - Modern Grid & Flex Layout
========================================================================== */
.p-questions {
    background-color: #fff;
}

.p-questions__inner {
    padding: 100px 12%;
}

.p-questions__header {
    text-align: center;
    margin-bottom: 64px;
}

.p-questions__title {
    font-size: 2.2rem;
    color: #14326e;
    margin-bottom: 16px;
    font-weight: 600;
    font-family: 'Noto Serif JP', "游明朝", "Yu Mincho", serif;
}

.p-questions__title-en {
    display: block;
    font-size: 1rem;
    color: #277979;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.15em;
    margin-top: 8px;
    border-bottom: none;
}

/* --- CSS Gridによるカード配置 --- */
.p-questions__list {
    display: grid;
    /* 全6個のアイテムを、PCでは3列×2段に配置 */
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* --- Q&Aカード本体 --- */
.p-qa-card {
    background-color: #f7f9fc;
    /* ストライプを廃止し、上品な薄グレーに */
    border-radius: 8px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    /* 内部を縦並びのFlexに */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-qa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(20, 50, 110, 0.08);
}

/* --- QとAの各ブロック --- */
.p-qa-card__box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* ★ガタつき解消の要：Qブロックの高さを固定する */
.p-qa-card__box--q {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #dcdcdc;
    /* QとAを分ける繊細なライン */

    /* 質問が1行でも3行でも、この高さを確保することでAの開始位置が完璧に揃う */
    min-height: 60px;
}

.p-qa-card__box--a {
    flex-grow: 1;
    /* 余白を埋めるように広がる */
}

/* --- 丸型アイコン（Q / A） --- */
.p-qa-card__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-top: 2px;
    /* テキストの1行目と視覚的に中央を合わせる */
}

.p-qa-card__icon--q {
    background-color: #14326e;
    /* 質問はブランドネイビー */
}

.p-qa-card__icon--a {
    background-color: #277979;
    /* 回答はアクセントの水色 */
}

/* --- テキスト --- */
.p-qa-card__question {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.6;
    color: #14326e;
    margin: 0;
}

.p-qa-card__answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    margin: 0;
    text-align: left;
}

/* --- フッター（ボタン） --- */
.p-questions__footer {
    text-align: center;
    margin-top: 56px;
}

.p-questions__btn {
    display: inline-flex;
    align-items: center;
    background-color: #14326e;
    color: #fff;
    padding: 16px 40px;
    border-radius: 40px;
    /* モダンなピルシェイプ */
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(20, 50, 110, 0.2);
}

.p-questions__btn:hover {
    background-color: #46bebe;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(70, 190, 190, 0.3);
}

.p-questions__btn .fa {
    margin-left: 12px;
    /* 矢印を右側に */
    transition: transform 0.3s;
}

.p-questions__btn:hover .fa {
    transform: translateX(4px);
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1048px) {
    .p-questions__inner {
        padding: 80px 6%;
    }
}

@media screen and (max-width: 881px) {
    .p-questions__list {
        /* タブレットは2列に変更 */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 650px) {
    .p-questions__list {
        /* スマホは1列に */
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .p-qa-card {
        padding: 24px;
    }

    /* スマホ時は無理に高さを揃えなくて良いのでリセット */
    .p-qa-card__box--q {
        min-height: auto;
    }
}

/* ==========================================================================
   08. Contact (.p-contact) - Modern 2-Column Layout
========================================================================== */
.p-contact {
    background-color: #f7f9fc;
    padding: 120px 0;
}

.p-contact__inner {
    padding: 0 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.p-contact__grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    /* 左カラム45%、右カラム残り */
    gap: 80px;
}

/* --- 左カラム（情報エリア） --- */
.p-contact__subtitle {
    display: inline-block;
    color: #277979;
    font-size: 0.9rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.p-contact__title {
    font-size: 2.6rem;
    line-height: 1.4;
    color: #14326e;
    font-weight: 700;
    font-family: "游明朝", "Yu Mincho", "YuMincho", serif;
    margin-bottom: 24px;
}

.p-contact__lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 40px;
}

.p-contact__link {
    color: #14326e;
    text-decoration: underline;
    font-weight: bold;
}

.p-contact__link:hover {
    color: #46bebe;
    text-decoration: none;
}

/* 連絡先カード */
.p-contact-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 32px rgba(20, 50, 110, 0.08);
    font-style: normal;
    /* addressタグの斜体をリセット */
}

.p-contact-card__company {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #dcdcdc;
}

.p-contact-card__name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #14326e;
    margin-bottom: 12px;
}

.p-contact-card__name span {
    font-size: 0.9rem;
    color: #767676;
    font-weight: normal;
}

.p-contact-card__address {
    font-size: 0.95rem;
    color: #334155;
}

.p-contact-card__tel-label {
    font-size: 0.9rem;
    color: #14326e;
    font-weight: bold;
    margin-bottom: 8px;
}

.p-contact-card__tel {
    font-size: 2.8rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: #14326e;
    line-height: 1;
    margin-bottom: 12px;
}

.p-contact-card__time {
    font-size: 0.85rem;
    color: #767676;
}

/* --- 右カラム（フォーム・規約エリア） --- */
.p-contact-form {
    background-color: #fff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 12px 32px rgba(20, 50, 110, 0.08);
}

.p-contact-form__title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #14326e;
    margin-bottom: 16px;
}

.p-contact-form__lead {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 24px;
}

/* プライバシーポリシースクロール枠 */
.p-privacy__scroll-box {
    height: 280px;
    overflow-y: auto;
    padding: 24px;
    background-color: #f7f9fc;
    /* 読みやすい淡い背景 */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* スクロールバーのカスタマイズ（モダンな細いバー） */
.p-privacy__scroll-box::-webkit-scrollbar {
    width: 6px;
}

.p-privacy__scroll-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.p-privacy__scroll-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.p-privacy__scroll-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 規約内のタイポグラフィ調整 */
.p-privacy__title {
    font-size: 1.05rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 16px;
}

.p-privacy__title--divider {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #cbd5e1;
}

/* ★修正：親リスト（1. 2. 3. の大項目番号を自動付与） */
.p-privacy__list {
    margin-bottom: 24px;
    counter-reset: privacy-section-counter;
    /* セクション用のカウンターをリセット */
}

.p-privacy__list>li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}

.p-privacy__list>li>span {
    display: block;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 8px;
}

.p-privacy__list>li>span::before {
    /* スパンの前に「数字. 」を自動で挿入 */
    content: counter(privacy-section-counter) ". ";
    counter-increment: privacy-section-counter;
}

/* ★修正：子リスト（(1) (2) (3) の括弧付き番号を自動付与） */
.p-privacy__ordered-list {
    list-style-type: none;
    /* デフォルトの「1. 2.」を非表示にする */
    counter-reset: privacy-item-counter;
    /* 括弧用のカウンターをリセット */
    padding-left: 0;
    margin-top: 8px;
}

/* 例外クラス（--none）がついていないリストにだけ適用 */
.p-privacy__ordered-list:not(.p-privacy__ordered-list--none)>li {
    position: relative;
    padding-left: 24px;
    /* 括弧数字が入るスペースを確保 */
    margin-bottom: 4px;
}

.p-privacy__ordered-list:not(.p-privacy__ordered-list--none)>li::before {
    /* リストの前に「(数字)」を自動で挿入 */
    content: "(" counter(privacy-item-counter) ")";
    counter-increment: privacy-item-counter;
    position: absolute;
    left: 0;
    top: 0;
    color: #475569;
}

.p-privacy__date {
    text-align: right;
    margin-top: 24px;
    /* 少し上の要素との余白を開けて見やすくします */
    line-height: 1.8;
    /* 日付の縦の並びを綺麗に揃えます */
}

.p-privacy__link-out {
    text-align: left;
    margin-top: 12px;
    margin-bottom: 32px;
}

.p-privacy__link-out a {
    color: #14326e;
    text-decoration: underline;
}

.p-privacy__link-out a:hover {
    text-decoration: none;
}

/* --- 同意チェックボックス（カスタムデザイン） --- */
.p-contact-form__action {
    text-align: center;
    border-top: 1px solid #edf2f7;
    padding-top: 32px;
}

.js-consent-wrap {
    margin-bottom: 24px;
}

/* デフォルトのチェックボックスを隠す */
.js-consent-check {
    position: absolute;
    opacity: 0;
}

/* カスタムチェックボックスの作成 */
.p-contact-form__label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: #14326e;
    padding-left: 36px;
    user-select: none;
}

.p-contact-form__label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s;
}

/* チェック時のアニメーションと色 */
.js-consent-check:checked+.p-contact-form__label::before {
    background-color: #46bebe;
    border-color: #46bebe;
}

.js-consent-check:checked+.p-contact-form__label::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    width: 6px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* --- 送信ボタン --- */
.p-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    background-color: #14326e;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(20, 50, 110, 0.2);
}

.p-contact-btn:hover {
    background-color: #46bebe;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(70, 190, 190, 0.3);
}

.p-contact-btn .fa {
    margin-right: 12px;
    font-size: 1.2rem;
}

/* --- 非活性（無効）状態のボタンスタイルを追記 --- */
.p-contact-btn:disabled {
    background-color: #cbd5e1;
    /* 薄いグレー */
    color: #f8fafc;
    cursor: not-allowed;
    /* マウスカーソルを禁止マークに */
    box-shadow: none;
    transform: none;
}

.p-contact-form__note {
    margin-top: 16px;
    color: #475569;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1024px) {
    .p-contact__grid {
        grid-template-columns: 1fr;
        /* タブレット以下は1カラムの縦積みに */
        gap: 56px;
    }

    .p-contact__inner {
        padding: 0 6%;
    }

    .p-contact-card__tel {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 768px) {
    .p-contact__grid {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 650px) {
    .p-contact {
        padding: 80px 0;
    }

    .p-contact-form {
        padding: 32px 20px;
    }

    .p-contact-card {
        padding: 32px 20px;
    }
}


/* ==========================================================================
   09. Footer (.p-footer) - Modern Dark Mega Footer
========================================================================== */
.p-footer {
    /* サイトをキリッと締めるダークネイビー背景 */
    background-color: #081225;
    color: #94a3b8;
    /* 文字色は目に優しい明るめのグレー */
    padding: 100px 0 0;
    font-size: 0.9rem;
}

.p-footer__inner {
    padding: 0 8%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- グリッドレイアウト（4カラム） --- */
.p-footer__grid {
    display: grid;
    /* 4つのカラム幅の比率（リンク列を少し広めに） */
    grid-template-columns: 2fr 2fr 2.5fr 3fr;
    gap: 48px;
    margin-bottom: 80px;
}

/* --- 各カラム共通 --- */
.p-footer__heading {
    color: #46bebe;
    font-size: 0.85rem;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.15em;
    font-weight: bold;
    margin-bottom: 24px;
}

/* --- 1. ブランドカラム --- */
.p-footer__logo {
    margin-bottom: 20px;
    width: 200px;
}

.p-footer__logo img {
    width: 100%;
    /* ロゴが黒字などの場合、白く反転させるフィルター（元画像が白なら不要） */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.p-footer__desc {
    line-height: 1.8;
    margin-bottom: 24px;
}

/* SNSアイコン */
.p-footer__sns {
    display: flex;
    gap: 16px;
}

.p-footer__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.p-footer__sns a:hover {
    background-color: #46bebe;
    transform: translateY(-4px);
}

/* --- 2. 連絡先カラム --- */
.p-footer__address {
    font-style: normal;
    line-height: 1.8;
}

.p-footer__company {
    font-weight: bold;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.p-footer__company span {
    font-size: 0.8rem;
    font-weight: normal;
    color: #94a3b8;
}

.p-footer__text {
    margin-bottom: 12px;
}

.p-footer__tel {
    font-size: 1.2rem;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    font-weight: bold;
}

/* --- 3. 会社概要カラム --- */
.p-footer__profile-list {
    display: flex;
    flex-wrap: wrap;
    line-height: 1.8;
}

.p-footer__profile-list dt {
    width: 30%;
    color: #cbd5e1;
}

.p-footer__profile-list dd {
    width: 70%;
    margin-bottom: 12px;
}

/* --- 4. リンクカラム --- */
.p-footer__banner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-footer__banner-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
}

.p-footer__banner-list a:hover {
    background-color: rgba(70, 190, 190, 0.1);
    border-color: rgba(70, 190, 190, 0.3);
    color: #fff;
    transform: translateX(4px);
}

.p-footer__banner-text {
    font-size: 0.85rem;
}

.p-footer__banner-list i {
    color: #46bebe;
}

/* --- コピーライト --- */
.p-footer__bottom {
    background-color: #040a15;
    /* 一段暗い色で底を作る */
    text-align: center;
    padding: 24px 0;
}

.p-footer__copyright {
    color: #94a3b8;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.05em;
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 1024px) {
    .p-footer__grid {
        /* タブレット時は2カラム×2段 */
        grid-template-columns: repeat(2, 1fr);
        gap: 64px 40px;
    }
}

@media screen and (max-width: 650px) {
    .p-footer {
        padding: 80px 0 0;
    }

    .p-footer__inner {
        padding: 0 6%;
    }

    .p-footer__grid {
        /* スマホ時は1カラムに縦積み */
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .p-footer__profile-list dt {
        width: 35%;
    }

    .p-footer__profile-list dd {
        width: 65%;
    }
}

/* ==========================================================================
   Page Top Button (.p-page-top)
========================================================================== */
.p-page-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    background-color: #14326e;
    /* メインのネイビー */
    color: #fff;
    border-radius: 50%;
    /* 完全な円形 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(20, 50, 110, 0.2);
    z-index: 999;

    /* 初期状態は非表示（透明＋少し下にずらしておく） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* スクロール後に付与される表示用クラス */
.p-page-top.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ホバー時の美しいエフェクト */
.p-page-top:hover {
    background-color: #46bebe;
    /* シアンに変化 */
    color: #fff;
    transform: translateY(-4px);
    /* ふわっと浮き上がる */
    box-shadow: 0 8px 24px rgba(70, 190, 190, 0.3);
}

/* ---------------------------------------------
 * Media Queries
 * --------------------------------------------- */
@media screen and (max-width: 650px) {
    .p-page-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}