@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700&family=Shippori+Mincho:wght@400;700&display=swap');

/* ここから通常のCSSルールを記述 */
body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
h1 {
    font-family: 'Shippori Mincho', serif;
}

/* --- 下層ページ用メインビジュアルのスタイル --- */
.mv-under {
    width: 100%;
    min-height: 980px;
    background-image: url('../images/store/default-store-mv-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative; /* 子要素の配置基準になるので必須 */
    overflow: hidden;

    /* ★★★ PCでのレイアウト調整 (Flexbox を利用) ★★★ */
    display: flex; /* Flexbox を有効にする */
    flex-direction: column; /* 子要素を縦に並べる */
    justify-content: space-between; /* mv-content と mv-content3 を上下に引き離す */
    align-items: flex-start; /* 全体の子要素を左寄せにする */
    padding: 40px; /* 全体の内側に余白を追加 (コンテンツが端に寄りすぎないように) */
    box-sizing: border-box; /* padding を含めて高さ計算 */
    /* ★★★ ここまでPCでのレイアウト調整 ★★★ */
}

/* メインビジュアル内のコンテンツのスタイル */
.mv-under .mv-content {
    z-index: 1;
    /* padding-top をヘッダーの高さなどを考慮して調整 */
    padding: 280px 20px 20px;
    width: 1280px; /* 中央寄せの幅 */
    margin: 0 auto; /* 中央寄せ */
    text-align: center; /* コンテンツ内のテキストは中央寄せを維持 */

    /* Flexbox で配置されるため、absolute 関連のスタイルは不要 */
}

.mv-under .mv-content h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mv-under .mv-content h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.0em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mv-under .mv-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.mv-under .mv-content p span {
    font-size: 0.8em;
    font-family: "Libertinus Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

/* --- .mv-content-title 内の <p> タグのスタイル --- */
.mv-content-title p {
    /* ★★★ ここを修正し、PCでも縦書き風を維持 ★★★ */
    position: absolute; /* 親要素 .mv-under を基準に配置 */
    left: 20px; /* 左からの位置を調整 (必要に応じて) */
    top: 20%; /* 垂直方向の中央に配置 */
    transform: translateY(50%) rotate(90deg); /* 自身の高さの半分で垂直中央に寄せ、-90度回転 */
    transform-origin: left center; /* 回転の基準点を左中央に設定 */
    white-space: nowrap; /* 文字列を折り返さない */

    /* 文字色やフォントサイズなどの調整 (必要に応じて) */
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10; /* 他のコンテンツの上に表示されるように */
    /* margin-bottom は position: absolute のため不要 */
}

.mv-content-title .content-title {
    font-size: 2.4rem !important;
    font-family: "Libertinus Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

/* --- .mv-content3 のスタイル --- */
.mv-content3 {
    /* ★★★ ここからPCでのスタイル変更 (absolute を使用しない) ★★★ */
    width: 1280px; /* 中央寄せの幅 */
    margin: 0 auto; /* 中央寄せ */
    text-align: left; /* ★PCでは左寄せに変更★ */
    color: #fff;
    z-index: 10;
    
    /* 下線（白い線）の適用 */
    padding: 20px;
    padding-bottom: 5px;

    display: inline-block; /* 内容に合わせて幅を調整し、下線を適用 */
    /* bottom: 40px; right: 40px; など absolute に関連するプロパティは削除 */
    margin-top: auto; /* flexアイテムとして下部に配置されるように */
    margin-right: auto; /* text-align: left と合わせて、flexアイテムとして左寄せを強調 */
    /* ★★★ ここまでPCでのスタイル変更 ★★★ */
}

.mv-content3 p {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left; /* 念のためここも左寄せ */
}

.mv-content3 h3 {
    width: 240px;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: normal;
    margin-top: 0;
    text-align: left; /* 念のためここも左寄せ */
        border-bottom: 1px solid #fa4617;
}


.content-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 60px;
    justify-content: flex-start;
}

.content-title-horizontal {
    font-size: 2.2em; /* PCでの基本フォントサイズ */
    font-family: 'Shippori Mincho', serif; /* フォントファミリー共通化 */
    margin: 0;
    padding-bottom: 5px;
    color: #333; /* ★変更点: デフォルトの文字色を#333に設定（Priceセクションのデフォルト色） */
    flex-shrink: 0; /* 要素が縮まないようにする (PCレイアウト用) */
    white-space: nowrap; /* テキストが改行されないようにする (PCレイアウト用) */
}

.content-title-horizontal h2 {
        font-size: 0.8em;
}

.content-title-vertical {
    line-height: 1; /* 行間を詰める */
    font-size: 2.5em; /* PCでの基本フォントサイズ */
    font-weight: bold;
    color: #333; /* デフォルトの文字色 (各セクションで上書き) */
    padding-right: 20px; /* 日本語タイトルとの間隔 */
    flex-shrink: 0; /* 要素が縮まないようにする (PCレイアウト用) */
    white-space: nowrap; /* テキストが改行されないようにする (PCレイアウト用) */
}

/* --- 店舗一覧セクション --- */
.store-list-section {
    max-width: 1280px; /* PCでの最大幅 */
    margin: 0 auto; /* 中央寄せ */
    padding: 80px 20px; /* 上下左右のパディング */
    box-sizing: border-box;
    /*background-color: #fff;*/ /* 背景は白 */
    color: #333; /* デフォルトの文字色 */
}

.store-list-container {
    display: flex; /* 店舗カードを横並びにする */
    flex-wrap: wrap; /* カードが回り込むようにする */
    gap: 40px; /* カード間の余白 */
    justify-content: flex-start; /* カードを中央寄せ */
}

.store-card {
    background-color: #fcfcfc; /* カードの背景色をわずかに変える */
    border: 1px solid #eee; /* カードの境界線 */
    border-radius: 8px; /* 角丸 */
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* 軽い影 */
    box-sizing: border-box;
    /* PCでは3カラム表示 */
    width: calc(33.333% - 27px); /* 3列表示でgapを考慮 (40pxギャップの場合: (40*2)/3 ≈ 26.66) */
    display: flex; /* カード内の要素を縦に並べるため */
    flex-direction: column;
    align-items: center; /* カード内コンテンツを中央寄せ */
    /*text-align: center; *//* テキストを中央寄せ */
}

/* 1. 店舗名 */
.store-name {
    color: #ec5e3f; /* 指定の文字色 */
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 25px;
    width: 100%; /* ★追加: 幅を100%に */
    text-align: center; /* ★追加: PCでは中央寄せを明示 */
}

/* 2. 店舗画像 */
.store-image-wrapper {
    width: 100%;
    height: 180px; /* 長方形の高さ */
    overflow: hidden; /* 画像がはみ出さないように */
    border-radius: 4px; /* 画像の角丸 */
    margin-bottom: 25px;
}

.store-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をカバーしてトリミング */
    display: block; /* 画像の不要な余白を消す */
}

/* 3. 店舗情報 (営業時間、住所、アクセス) */
.store-info-box {
    width: 100%; /* 親のカード幅に合わせる */
    margin-bottom: 20px;
    text-align: left; /* テキストは左寄せに戻す */
}

.store-info-box .info-line {
    display: flex; /* 項目名と内容を横並びにする */
    align-items: baseline; /* テキストのベースラインを揃える */
    margin-bottom: 8px; /* 各行の下マージン */
    line-height: 1.5;
}

.store-info-box .info-line:last-child {
    margin-bottom: 0;
}

.store-info-box .info-label {
    font-weight: bold;
    flex-shrink: 0; /* 項目名が縮まないように */
    min-width: 70px; /* ★コロンから左の横幅を揃えるための固定幅 */
    text-align: left;
    padding-right: 8px; /* コロンとの間隔 */
}

.store-info-box .info-separator {
    flex-shrink: 0;
    margin-right: 8px; /* 値との間隔 */
}

.store-info-box .info-value {
    flex-grow: 1; /* 内容が残りのスペースを埋める */
    text-align: left;
}

/* 4. 区切り線 */
.store-info-divider {
    width: 100%;
    height: 1px;
    background-color: #ec5e3f; /* 指定の色 */
    margin: 20px 0; /* 上下の余白 */
}

/* 5. トレーナー情報 (共通スタイルを再利用) */
/* store-contact-sectionで定義したtrainer-info-boxのスタイルを再利用します。
   もし異なる場合は、新たに.store-card .trainer-info-boxとして定義してください。
   ここでは、以前の定義を元にしています。 */
.store-card .trainer-info-box {
    display: flex;
    align-items: center; /* 画像とテキストを横並び */
    gap: 15px; /* 画像とテキストの間隔 */
    width: 100%; /* カード幅いっぱいに */
    margin-bottom: 25px; /* ボタンとの間隔 */
    text-align: left; /* テキストは左寄せ */
}

.store-card .trainer-avatar-frame {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    /*border: 2px solid #ddd;*/
    margin-bottom: 0; /* 以前のcolumn用マージンをリセット */
}

.store-card .trainer-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-card .trainer-text-content {
    flex-grow: 1;
}

.store-card .trainer-title {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 3px;
    line-height: 1.4;
}

.store-card .trainer-name {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
}

/* 6. 店舗詳細ボタン */
.store-detail-button {
    background-color: #000000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    width: 100%; /* 親のカード幅に合わせる */
    box-sizing: border-box; /* paddingを含めて幅計算 */
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto; /* カード内で一番下に配置 */
}

.store-detail-button .fas {
    margin-right: 10px;
    font-size: 1.1em;
}

.store-detail-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* ////.min-width:751px | 751px ~
---------------------------------------------------------------------
------------
------------
------------
------------
------------
------------
------------
------------
------------
------------
max-width:750px | ~ 750px
------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {

    /* @media screen
    ------------------------------------------------------------------------- */

    /* モバイル時のメインビジュアルエリア */
    .mv-under {
        height: auto;
        min-height: 400px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 20px; /* スマホでの余白を統一 */
    }

    /* モバイル時のメインビジュアル内の見出し */
    .mv-under .mv-content {
        text-align: left; /* スマホでは左寄せ */
        padding: 180px 0 20px; /* 左右のpaddingを0にするか、mv-underのpaddingに任せる */
        width: auto; /* スマホでは幅を自動調整 */
        margin: 0; /* マージンをリセット */
    }

    .mv-under .mv-content h2 {
        font-size: 1.6em;
    }

    .mv-under .mv-content h3 {
        font-size: 1.2em;
    }

    /* モバイル時のメインビジュアル内の段落 */
    .mv-under .mv-content p {
        font-size: 1em;
        font-family: "Libertinus Mono", monospace;
        font-weight: 400;
        font-style: normal;
    }

    /* ボタンを左寄せにする */
    .mv-under .mv-content .btn-contact {
        font-size: 0.8em;
        text-align: center;
        display: block;
        margin-left: 0;
        margin-right: auto;
    }

    /* mv-content2 のスタイル (ご提示のコードにはありませんが、もし存在すれば調整) */
    .mv-under .mv-content2 {
        padding: 15px;
        margin-top: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-left: 20px;
    }

    /* --- .mv-content-title p (スマホでも同じ縦書きスタイルを維持) --- */
    .mv-content-title p {
        position: absolute; /* 引き続き absolute */
        left: 10px; /* スマホでの左からの位置調整 */
        top: 44%; /* スマホでの垂直方向の位置調整 (必要に応じて) */
        transform: translateY(-50%) rotate(-90deg); /* 引き続き回転 */
        transform-origin: left center;
        white-space: nowrap;
        font-size: 1rem;
        margin-bottom: 0; /* スマホでは margin-bottom をリセット */
    }

    .mv-content-title .content-title {
        font-size: 1.6rem !important;
    }


    /* --- .mv-content3 (スマホでは absolute + 右寄せを再適用) --- */
    .mv-content3 {
        position: absolute; /* スマホでは absolute に戻す */
        bottom: 20px;
        right: 20px;
        text-align: right; /* スマホでは右寄せに戻す */
        display: inline-block; /* absolute と合わせる */
        width: auto; /* 幅を自動調整 */
        margin-top: 0; /* 不要なマージンをリセット */
        margin-right: 0; /* 右寄せにするためリセット */
        padding: 0;
    }
    
    .mv-content3 p {
        font-size: 1.2rem;
        text-align: right; /* スマホでは右寄せに戻す */
    }

    .mv-content3 h3 {
        font-size: 1rem;
        text-align: right; /* スマホでは右寄せに戻す */
    }

    .content-title-vertical {
        font-size: 1.8em; /* スマホでのフォントサイズ */
        padding-right: 0; /* 縦並びになるため間隔不要 */
        margin-bottom: 5px; /* 日本語タイトルとの間に少し余白 */
    }

    .content-title-horizontal {
        font-size: 1.6em; /* スマホでのフォントサイズ */
        /* その他のスタイルは共通のものを継承 */
    }

    .company-info-section {
        padding: 40px 15px; /* スマホでのパディング */
    }

    .store-list-section {
        padding: 60px 15px; /* スマホでのパディング */
    }

    .store-list-container {
        flex-direction: column; /* スマホでは縦並び */
        gap: 40px; /* カード間の余白 */
    }

    .store-card {
        width: 100%; /* スマホでは幅いっぱい */
        padding: 25px;
    }

    .store-name {
        font-size: 1.4em;
        margin-bottom: 20px;
        text-align: left;
    }

    .store-image-wrapper {
        height: 160px; /* スマホでの高さ調整 */
        margin-bottom: 20px;
    }

    .store-info-box {
        margin-bottom: 15px;
    }

    .store-info-box .info-line {
        flex-direction: column; /* スマホでは縦並び */
        align-items: flex-start;
        margin-bottom: 6px;
    }

    .store-info-box .info-label {
        min-width: auto; /* 固定幅解除 */
        padding-right: 0;
        margin-bottom: 3px;
        font-size: 0.95em;
    }

    .store-info-box .info-separator {
        display: none; /* スマホではコロンを非表示 */
    }

    .store-info-box .info-value {
        font-size: 0.85em;
    }

    .store-info-divider {
        margin: 15px 0;
    }

    .store-card .trainer-info-box {
        margin-bottom: 20px;
        flex-direction: row; /* スマホではトレーナー画像を横に */
        align-items: center;
        justify-content: flex-start; /* 左寄せ */
        text-align: left;
        gap: 10px; /* 画像とテキストの間隔 */
    }

    .store-card .trainer-avatar-frame {
        width: 70px; /* スマホでのアバターサイズ調整 */
        height: 70px;
    }

    .store-card .trainer-title {
        font-size: 0.8em;
    }

    .store-card .trainer-name {
        font-size: 1.1em;
    }

    .store-detail-button {
        font-size: 0.95em;
        padding: 10px 15px;
    }

    .store-detail-button .fas {
        font-size: 1em;
    }

    /* @media screen
    ------------------------------------------------------------------------- */
}