@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;
    /*filter: grayscale(100%);*/
    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; /* 念のためここも左寄せ */
    font-family: "Libertinus Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.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レイアウト用) */
}

/* --- トレーナー紹介情報セクション --- */
.trainer-info-section {
    max-width: 1280px; /* コンテンツの最大幅 */
    margin: 0 auto; /* 中央寄せ */
    padding: 60px 20px; /* 上下左右のパディング */
    box-sizing: border-box;
    /* 背景色はなし（透明）なので、background-colorは指定しない */
    color: #333; /* デフォルトの文字色 */
}

.trainer-info-container {
    display: flex;
    flex-direction: column; /* 要素を縦に並べる */
    gap: 30px; /* 各ブロック間の間隔 */
}

/* 1. Message タイトル */
.message-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: left; /* 左寄せ */
}

/* 2. 紹介文 */
.intro-message {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    text-align: left; /* 左寄せ */
}

/* 3, 4, 5. 各情報ブロックの共通スタイル */
.info-block {
    border-radius: 8px; /* 全体の角丸 */
    overflow: hidden; /* 子要素がはみ出さないように */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* 軽い影 */
}

.info-header {
    padding: 12px 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #333; /* 文字色 */
    text-align: left; /* 左寄せ */
}

.info-header p {
    margin: 0; /* pタグのデフォルトマージンをリセット */
}

.info-content {
    background-color: #fff; /* 下部の背景色を白に */
    padding: 20px;
    text-align: left; /* 左寄せ */
    line-height: 1.7;
}

.info-content p {
    margin-bottom: 0.8em; /* 各行間のマージン */
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* 各ブロック固有の背景色 (HTMLのインラインスタイルを優先する場合) */
/* もしCSSで指定したい場合は、このように記述できます:
.achievement-block .info-header {
    background-color: #a6c2c9;
}
.gym-block .info-header {
    background-color: #dacba3;
}
.item-block .info-header {
    background-color: #f8dccf;
}
*/

/* ////.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; /* スマホでのフォントサイズ */
        /* その他のスタイルは共通のものを継承 */
    }

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

    .message-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .intro-message {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .info-block {
        margin-bottom: 25px; /* スマホでのブロック間の間隔 */
    }

    .info-header {
        padding: 10px 15px;
        font-size: 1em;
    }

    .info-content {
        padding: 15px;
        font-size: 0.9em;
    }

    .info-content p {
        margin-bottom: 0.6em;
    }

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