.fixed-bg-layer {
    background-image: url('images/main_sp.webp?v=1785277178');
}

/* :root の個別設定
:root {
    --font-logo: 'Yuji Syuku', serif;
    --font-heading: 'Shippori Mincho B1', serif;
    --font-body: 'BIZ UDMincho', serif;
} */

/* メインビジュアルを右寄せにする
    .hero__content,
    .hero__info {
        align-items: flex-end;
    } */

/* メインビジュアルをPCで右寄せ、かつスマホで左寄せにする場合
    .hero__content {
        align-items: flex-start;
    } */

/* メインタイトルの文字サイズ */
.hero__title {
    font-size: 10vw;
}

.section-title {
    font-size: 24px;
    letter-spacing: 0;
}

.header__logo {
    font-size: 18px;
}

.media__gallery-info {
    text-align: left;
}

.cautions h2 {
    font-size: 1.3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.cautions h3,
.cautions h4 {
    font-size: 1.1rem;
    line-height: 1.3;
}

.cautions p {
    line-height: 1.5;
    margin: 0 0 0.4em;
}

.cautions li {
    line-height: 1.4;
    margin-bottom: 0.5em;
}

.cautions li p {
    margin-top: 0;
}

.media__text .media__lead {
    font-weight: 700;
}

.padding-left-ajust1 {
    padding-left: 1.3em;
}

.fs1rem h3,
.fs1rem h4 {
    font-size: 1rem;
}

.content-body .media__gallery-list {
    padding: 10px calc(12vw - 20px);
}

.content-body .media__gallery-item {
    width: 74vw;
    max-width: 500px;
}

.max-width-650 {
    max-width: 650px;
}

.btn-wrapper {
    margin: 20px;
}

.content-block__bottom {
    padding: 20px 40px 60px;
    text-align: center;
    background-color: var(--color-background);
    box-shadow: 0 6px 8px var(--color-shadow);
}

.content-block__bottom-inner {
    display: flex;
    flex-direction: column;
}

.content-blockbottom-item {
    flex: auto;
}

.content-block__bottom p {
    max-width: 750px;
    text-align: left;
    margin: 0 auto 0.5em;
    opacity: 0.7;
}

.content-block__bottom h3 {
    font-size: 1.1rem;
    opacity: 0.7;
}

.media__gallery-caption p {
    margin: 0.7em 0 0;
}


.accordion-title {
    font-size: 1.4rem;
    padding: 0 10px 0;
    text-align: center;
}

.company-profile h2 {
    border-bottom: 2px solid var(--color-text);
    padding-bottom: 0.5em;
    margin-top: 0;
    font-size: 1.3rem;
}

.company-profile h3 {
    font-size: 1.1rem;
}


.custom-doc ul {
    padding-left: 0;
    margin-top: 0;
}

.custom-doc li {
    margin-bottom: 0.5em;
}

.custom-doc li:last-child {
    margin-bottom: 0;
}

.trimming1 img {
    object-position: 50% 0%;
}

.trimming2 img {
    object-position: 50% 30%;
}

.tokushoho h2 {
    margin-bottom: 2em;
}

.aspectratio-1-1 .slide-gallery__frame {
    aspect-ratio: 1 / 1;
}

/* ==========================================
   1. アコーディオン本体（基本スタイル）
   ========================================== */
.accordion {
    max-width: 700px;
    margin: 20px auto;
    font-family: sans-serif;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 10px;
    cursor: pointer;
    font-weight: bold;
    background: #f7f7f7;
    user-select: none;
}

.accordion-header:hover {
    background: #efefef;
}

/* accordion-headerの見出し(h3)が、ブラウザ標準の余白・文字サイズを
   引き継がないようにリセット（見た目は今まで通りのまま） */
.accordion-header h3 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.accordion-icon {
    transition: transform 0.25s ease;
    font-size: 18px;
}

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.accordion-item.open .accordion-body {
    padding: 10px 10px 16px;
}

/* ==========================================
   2. アコーディオン内の見出し（h4・h5）
   ページ全体の見出し階層は
   h1(ページタイトル) > h2(ご利用にあたって) > h3(各アコーディオンの項目名) >
   h4(文書内の章・セクション) > h5(さらに下の小見出し)
   複数条文がある文書(01, 02, 05, 06, 07, 08, 09, 10)で使用
   ========================================== */
.accordion-body h4 {
    font-size: 15px;
    margin: 16px 0 8px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.accordion-body h4:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.accordion-body h5 {
    font-size: 14px;
    margin: 12px 0 6px;
    font-weight: bold;
}

/* ==========================================
   2-2. 貸渡約款(05)の条文番号・本文レイアウト
   「第１条」「２.」などの番号を独立した行として表示
   ========================================== */
.accordion-body .clause-num {
    font-weight: bold;
    font-size: 14px;
    margin: 14px 0 4px;
    color: #333;
}

.accordion-body li:first-child .clause-num {
    margin-top: 0;
}

.accordion-body .clause-body {
    margin: 0 0 8px;
}

/* ==========================================
   3. アコーディオン内のテーブル（横スクロール対応）
   06_車両タイプと料金プラン.php の料金表用
   スマホ幅で列がはみ出すのを防ぐ
   ========================================== */
.accordion-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
}

/* ==========================================
   4. 文書内の目次（05, 07, 09で使用）
   ※既存サイトに .toc-002 が定義済みの場合は不要
   なければ下記を使ってください
   ========================================== */
.accordion-body .toc-002 {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 0 0 16px;
    font-size: 13px;
}

.accordion-body .toc-002>div {
    font-weight: bold;
    margin-bottom: 6px;
}

.accordion-body .toc-002 ol {
    margin: 0;
    padding-left: 20px;
}

.accordion-body .toc-002 li {
    margin-bottom: 4px;
}

.accordion-body .toc-002 a {
    color: #0066cc;
    text-decoration: none;
}

.accordion-body .toc-002 a:hover {
    text-decoration: underline;
}


.accordion-body ol {
    padding-left: 1.7em;
    margin-top: 0;
}

.table_design01 th {
    background-color: #f9f9f9;
}

.table_design01 th,
.table_design01 td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}


/* =============================================
   レスポンシブ対応 (768px以上のスクリーン)
============================================= */
@media (min-width: 768px) {

    /* メインビジュアルを右寄せにする
    .hero__content,
    .hero__info {
        align-items: flex-end;
    } */

    /* メインビジュアルをPCで右寄せ、かつスマホで左寄せにする場合
    .hero__content {
        align-items: flex-start;
    } */

    /* メインタイトルの文字サイズ
    .hero__title {
        font-size: 16vw;
    } */

    .content-body .media__gallery-list {
        padding: 10px 40px;
    }

    .max-width-650 .content-body__inner {
        padding: 32px 40px 30px;
    }

    .content-block__bottom-inner {
        flex-direction: row;
        gap: 40px;
    }

}

/* =============================================
   レスポンシブ対応 (1024px以上のスクリーン)
============================================= */
@media (min-width: 1024px) {
    .fixed-bg-layer {
        background-image: url('images/main_pc.webp?v=1785705428');
    }

    /* メインタイトルの文字サイズ */
    .hero__title {
        font-size: 100px;
    }

    /* メインビジュアルを右寄せにする
.hero__content {
    align-items: flex-end;
} */

    .content-block__image {
        aspect-ratio: auto;
    }

    .section-read {
        max-width: 100%;
    }

}

/* ============================================================
   header のPC用レイアウトへの切り替えポイント
   メニュー数に合わせて min-width の数値を調整してください
   ============================================================ */
@media (min-width: 1300px) {
    .header {
        padding: 1vh 1vw;
    }

    .header__inner {
        display: flex;
        /* 横並びに戻す */
        align-items: stretch;
        /* ロゴとナビの高さを揃える */
        width: auto;
        height: 34px;
        /* PCでの固定高さ */
        max-height: 34px;
        padding: 7px;
        gap: 0.2em;
    }

    .header__logo span {
        font-size: 0.9rem;
        margin-left: 0.3em;
        margin-right: 0.3em;
        margin-top: 0.3em;
    }

    .header__hamburger {
        display: none;
    }

    .header__logo a,
    .header__inner a {
        border-radius: 2em;
    }

    .header__inner a:hover {
        background-color: var(--color-background-trans);
        opacity: 1;
        transition: background-color 0.3s, box-shadow 0.3s, opacity 0.3s;
    }

    .header__top {
        height: 100%;
    }

    .header__hamburger,
    .nav-item--mobile-only {
        display: none;
    }

    .header__nav {
        display: block;
        grid-template-rows: none;
        opacity: 1;
        visibility: visible;
        height: 100%;
    }

    .nav-list {
        font-family: var(--font-heading);
        flex-direction: row;
        height: 100%;
        padding: 0;
        gap: 0.2em;
        align-items: stretch;
    }

    .nav-list li {
        height: 100%;
    }

    /* リンクのホバー演出 */
    .header__logo,
    .header__nav .nav-list a {
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0 12px;
        text-decoration: none;
        border-radius: 2em;
        transition: all 0.3s;
    }

    .nav-list a {
        opacity: 0.6;
        font-size: 16px;
    }

    .header__logo:hover,
    .header__nav .nav-list a:hover {
        background-color: var(--color-background-trans);
        opacity: 1;
    }

    /* =============================================
   ヘッダーの位置
   デフォルトは左上
   他の位置にする場合は下記から
============================================= */

    /* 上・中央
.header__inner {
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
} */

    /* 上・右
.header__inner {
    margin-bottom: auto;
    margin-left: auto;
} */

    /* 下・中央
.header__inner {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
} */

    /* 下・左
.header__inner {
    margin-top: auto;
} */

    /* 下・右
.header__inner {
    margin-top: auto;
    margin-left: auto;
} */

}