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

/* --- お問い合わせセクション --- */
.contact-section {
    max-width: 1280px; /* 全体の最大幅 */
    margin: 0 auto; /* 中央寄せ */
    padding: 60px 20px;
    box-sizing: border-box;
    color: #333;
}

.contact-form-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.contact-form {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px; /* プライバシーポリシーとの間隔 */
}

.contact-form-lead {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 25px; /* 各フォームグループ間の間隔 */
    display: flex; /* PC: 2カラムのためにflexboxを使用 */
    align-items: flex-start; /* 項目名と入力欄の開始位置を揃える */
}

.form-label {
    flex-basis: 180px; /* ★PC: 左カラム（項目名）の固定幅 */
    flex-shrink: 0; /* 縮まないように */
    font-weight: bold;
    color: #333;
    padding-top: 8px; /* 入力欄と高さを合わせるため */
    padding-right: 20px; /* ラベルと入力欄の間の余白 */
    box-sizing: border-box;
    text-align: left; /* 左寄せ */
}

.required-tag {
    font-size: 0.8em;
    color: #e74c3c; /* 赤色 */
    background-color: #fcebeb;
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 入力フィールドのコンテナ */
.form-group > input[type="text"],
.form-group > input[type="email"],
.form-group > input[type="tel"],
.form-group > input[type="number"],
.form-group > div { /* flex-basisの残りのスペースを埋める要素 */
    flex-grow: 1; /* 残りのスペースを埋める */
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"] {
    /*width: 100%;*/ /* 親要素の幅いっぱいに */
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* paddingとborderをwidthに含める */
    margin: 0 5px 0 5px;
}

input::placeholder {
    color: #bbb;
}

/* 名前（姓/名）のフィールド */
.form-name-fields {
    display: flex;
    gap: 15px; /* 姓と名の間のスペース */
}
.form-name-fields input {
    flex-grow: 1; /* 姓と名が均等にスペースを埋める */
}

/* カレンダー選択 */
.form-date-candidates {
    display: flex;
    flex-direction: column; /* 候補を縦に並べる */
    gap: 15px; /* 候補間のスペース */
}
.date-candidate-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.date-candidate-item label {
    flex-shrink: 0;
    font-size: 0.95em;
    color: #555;
}

.date-candidate-item p {
    display: flex;
}

.date-candidate-item select {
    max-width: 250px; /* カレンダー入力欄の最大幅 */
}

/* ラジオボタン */
.form-radio-group {
    display: flex;
    flex-wrap: wrap; /* スマホで折り返す */
    gap: 25px; /* ラジオボタン間のスペース */
    padding-top: 8px; /* ラベルと揃えるため */
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1em;
    color: #555;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    width: 18px; /* ラジオボタンのサイズ調整 */
    height: 18px;
    flex-shrink: 0;
}

/* キャンペーン文言 */
.campaign-note {
    font-size: 0.9em;
    color: #e74c3c; /* 赤色 */
    margin-top: 15px;
    line-height: 1.6;
    padding-left: 180px; /* PC: 左カラムの幅に合わせてインデント */
}
.campaign-note .note-item {
    display: block; /* 各項目を改行 */
}

/* 送信ボタン */
.form-submit-wrapper {
    text-align: center;
    margin-top: 40px;
}

.form-submit-wrapper p {
    text-align: center;
}

.submit-button {
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 60px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 280px;
}

.submit-button:hover {
    background-color: #333;
}


/* --- プライバシーポリシー --- */
.privacy-policy {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    line-height: 1.7;
}

.privacy-policy-title {
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.privacy-policy-subtitle {
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.privacy-policy h4 {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.privacy-policy-subsubtitle {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
    padding-left: 10px;
    border-left: 3px solid #ccc;
}

.privacy-policy p {
    margin-bottom: 1em;
    color: #555;
}

.privacy-policy ul {
    list-style: disc; /* デフォルトの黒丸 */
    padding-left: 25px; /* リストマークのためのパディング */
    margin-bottom: 1em;
}

.privacy-policy ul li {
    margin-bottom: 0.5em;
    color: #555;
}


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

    .contact-section {
        padding: 40px 15px;
    }

    .contact-form-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 20px;
        margin-bottom: 40px;
    }

    .form-group {
        flex-direction: column; /* スマホ: 1カラムに */
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .form-label {
        flex-basis: auto; /* 固定幅を解除 */
        width: 100%; /* 幅いっぱいに */
        padding-top: 0;
        padding-right: 0;
        margin-bottom: 8px; /* ラベルと入力欄の間隔 */
    }

    .form-name-fields {
        flex-direction: column; /* 姓と名も縦並び */
        gap: 10px;
        width: 100%;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="date"] {
        padding: 10px;
        margin-bottom: 4px;
    }

    .form-date-candidates {
        width: 100%; /* カレンダー候補も幅いっぱい */
    }
    .date-candidate-item {
        flex-direction: column; /* 候補内のラベルと入力欄も縦並び */
        align-items: flex-start;
        gap: 5px;
        width: 100%;
    }
    .date-candidate-item label {
        width: 100%;
    }
    .date-candidate-item input[type="date"] {
        max-width: 100%; /* 幅いっぱいに */
    }

    .form-radio-group {
        flex-direction: column; /* ラジオボタンも縦並び */
        gap: 15px;
        padding-top: 0;
    }

    .radio-label {
        font-size: 0.95em;
    }

    .campaign-note {
        font-size: 0.85em;
        margin-top: 10px;
        padding-left: 0; /* インデント解除 */
    }

    .submit-button {
        padding: 12px 30px;
        font-size: 1.1em;
        min-width: 100%; /* スマホで幅いっぱい */
    }

    /* プライバシーポリシー (スマホ) */
    .privacy-policy {
        padding: 25px;
    }

    .privacy-policy-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .privacy-policy-subtitle {
        font-size: 1.2em;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .privacy-policy h4 {
        font-size: 1.1em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .privacy-policy-subsubtitle {
        font-size: 1em;
        margin-top: 15px;
        margin-bottom: 8px;
        padding-left: 8px;
    }

    .privacy-policy p {
        font-size: 0.95em;
    }
    .privacy-policy ul {
        padding-left: 20px;
    }

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