@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
@media (min-width: 960px) {

    /* ヘッダー全体をGridレイアウトに */
    .l-header__inner {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto;
        align-items: center !important;
        min-height: 150px;
        gap: 40px;
        max-width: 1200px;
    }

    /* 左側メニュー */
    .l-header__gnav.-left {
        display: flex !important;
        justify-content: flex-end;
        grid-column: 1;
        grid-row: 1;
    }

    /* ロゴ（中央） */
    .l-header__logo {
        grid-column: 2;
        grid-row: 1;
        text-align: center;
        margin: 0 !important;
    }

    /* 右側メニュー */
    .l-header__gnav.-right {
        display: flex !important;
        justify-content: flex-start;
        grid-column: 3;
        grid-row: 1;
    }
}

/* ============================
   フォームのデザイン変更
============================ */

/* すべての入力欄の基本スタイル */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: none !important;
    border-bottom: 2px solid #ddd !important;
    background-color: transparent !important;
    color: #333 !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
}

/* フォーカス時の下線 */
.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form textarea:focus {
    outline: none !important;
    border-bottom-color: #333 !important;
}

/* ラベルのスタイル */
.wpcf7 form label {
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* テキストエリアの高さ調整 */
.wpcf7 form textarea {
    min-height: 50px !important;
    max-height: 120px !important;
    height: 80px !important;
    resize: vertical !important;
    overflow-y: auto !important;
}

/* 各入力項目の余白 */
.wpcf7 form p {
    margin-bottom: 10px !important;
}

/* ============================
   必須マークのスタイル
============================ */

/* 必須マーク(*)を赤く */
.wpcf7 form label .required-mark,
.wpcf7 form .required-mark {
    color: red !important;
    margin-left: 4px !important;
}

/* ============================
   ラジオボタンのスタイル
============================ */

/* ラジオボタンを縦並びに */
.wpcf7 form .wpcf7-list-item {
    display: block !important;
    margin-bottom: 10px !important;
    margin-left: 0 !important;
}

/* ラジオボタンのリスト全体 */
.wpcf7 form .wpcf7-radio {
    display: flex !important;
    flex-direction: column !important;
}

/* ラジオボタンの基本スタイル */
.wpcf7 form input[type="radio"] {
    accent-color: #333 !important;
    cursor: pointer !important;
    margin-right: 8px !important;
}

/* ラベルもクリックしやすく */
.wpcf7 form .wpcf7-list-item label {
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

/* ============================
   送信ボタンのスタイル
============================ */

/* 送信ボタンの親要素を中央寄せ */
.wpcf7-form>p:last-of-type {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
    background-color: #6A7F9B !important;
    color: #fff !important;
    border: none !important;
    margin-top: 20px !important;
    padding: 20px 100px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

/* ホバー時 */
.wpcf7-form input[type="submit"]:hover {
    opacity: 0.8 !important;
}

/* スピナーを非表示 */
.wpcf7-spinner {
    display: none !important;
}

/* カラム幅を調整するカスタムクラス */
.block-columns-custom {
    max-width: 600px;
    margin: 0 auto;
}

/* スマホでは全幅にする */
@media screen and (max-width: 600px) {
    .block-columns-custom {
        max-width: 100%;
    }
}