@charset "UTF-8";

/* =========================================================
   下層ページ共通ヘッダー (Sub Hero)
========================================================= */
.p-sub-hero-bg {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.p-sub-hero-title {
    padding: 60px 0 20px;
    text-align: center;
    margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
    .p-sub-hero-bg {
        height: 100px;
    }
    .p-sub-hero-title {
        padding: 40px 0 10px;
        margin-bottom: 30px;
    }
}

/* =========================================================
   お問い合わせ扉ページ (CONTACT)
========================================================= */
/* リード文 */
.p-contact-intro {
    text-align: center;
    margin-bottom: 60px;
}
.p-contact-intro__lead {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text);
}
.p-contact-intro__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}

/* 2カラムレイアウト */
.p-contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 100px;
}

/* 各カードのデザイン */
.p-contact-card {
    width: 50%;
    background-color: #f4f8f9;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.p-contact-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 15px;
}

.p-contact-card__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    flex-grow: 1; /* ボタンを常に下部に揃える */
}

/* 赤字の注意事項 */
.p-contact-card__text .u-text-red {
    color: #e60000;
    font-weight: 700;
    margin-top: 15px;
}

/* ボタン上の太字ラベル */
.p-contact-card__label {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 10px;
    text-align: center;
}

/* アイコン付きリンクボタン */
.c-btn-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    border: 2px solid var(--color-main);
    color: var(--color-main);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.c-btn-contact:hover {
    background-color: var(--color-main);
    color: #fff;
}
/* アイコン画像の調整（ホバー時に白く反転させる） */
.c-btn-contact img {
    width: 24px;
    height: auto;
    transition: all 0.3s ease;
}
.c-btn-contact:hover img {
    filter: brightness(0) invert(1);
}

/* 電話番号専用の文字サイズ調整 */
.c-btn-contact--tel {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
}

/* スマホ版レスポンシブ */
@media screen and (max-width: 768px) {
    .p-contact-intro {
        text-align: left;
        margin-bottom: 40px;
    }
    .p-contact-grid {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    .p-contact-card {
        width: 100%;
        padding: 30px 20px;
    }
    .p-contact-card__title {
        font-size: 1.2rem;
    }
    .c-btn-contact {
        font-size: 1.1rem;
        padding: 12px 15px;
    }
    .c-btn-contact--tel {
        font-size: 1.4rem;
    }
}


/* =========================================================
   ご意見箱 フォーム (SUGGEST FORM)
========================================================= */
.p-form-wrap {
    max-width: 800px;
    margin: 0 auto 80px;
}
.p-form-note {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.p-form-note .u-text-red {
    color: #e60000;
    font-weight: bold;
}
.p-form-error {
    background-color: #ffeeee;
    color: #e60000;
    padding: 15px;
    border: 1px solid #e60000;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

/* テーブルスタイル */
.p-form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}
.p-form-table th,
.p-form-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}
.p-form-table th {
    width: 25%;
    background-color: #fcfcfc;
    border-top: 1px solid #ddd;
    font-weight: bold;
}
.p-form-table tr:first-child td {
    border-top: 1px solid #ddd;
}
.p-form-req {
    display: inline-block;
    background-color: #e60000;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 10px;
    vertical-align: middle;
}
/* ★追加：任意のラベル */
.p-form-opt {
    display: inline-block;
    background-color: #888;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 10px;
    vertical-align: middle;
}

/* 入力パーツ */
.p-form-select-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}
.p-form-select {
    padding: 10px 30px 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 140px;
    background-color: #fff;
    cursor: pointer;
}
.p-form-textarea {
    width: 100%;
    height: 250px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    line-height: 1.6;
}

/* 個人情報保護方針 */
.p-form-policy {
    background-color: #f4f8f9;
    padding: 35px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 50px;
}
.p-form-policy__text {
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.p-form-policy__text a {
    color: var(--color-main);
    text-decoration: underline;
}
.p-form-policy__check {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    background: #fff;
    padding: 15px 40px;
    border-radius: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
}
.p-form-policy__check input {
    transform: scale(1.5);
    cursor: pointer;
}

/* 送信ボタン */
.p-form-submit {
    text-align: center;
}
.c-btn-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    padding: 18px;
    background-color: #ccc;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
    transition: all 0.3s ease;
}
.c-btn-submit.is-active {
    background-color: var(--color-main);
    cursor: pointer;
}
.c-btn-submit.is-active:hover {
    opacity: 0.8;
}

/* 確認画面用 */
.p-form-confirm-text {
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap; /* 改行を反映 */
}
.p-form-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 送信ボタンの囲み（SP版で100%に広げるため） */
.p-form-submit-form {
    width: 100%;
    max-width: 320px;
    display: flex;
}

.c-btn-back {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 250px;
    padding: 18px;
    background-color: #888;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.c-btn-back:hover {
    background-color: #666;
}

@media screen and (max-width: 768px) {
    .p-form-table th,
    .p-form-table td {
        display: block;
        width: 100%;
        padding: 15px;
    }
    .p-form-table th {
        border-bottom: none;
    }
    .p-form-table tr:first-child td {
        border-top: none;
    }
    .p-form-select-wrap {
        flex-wrap: wrap;
    }
    .p-form-btns {
        flex-direction: column;
        gap: 15px;
    }
    /* SP版で制限を解除して幅いっぱいにする */
    .p-form-submit-form {
        max-width: 100%;
    }
    .c-btn-submit,
    .c-btn-back {
        max-width: 100%;
    }
}

/* =========================================================
   資料送付用フォーム (SUBMIT FORM)
========================================================= */
.p-submit-file-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.p-submit-file-input {
    font-size: 1rem;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}
.p-submit-file-note {
    font-size: 0.85rem;
    color: #666;
}

/* 完了画面用 */
.p-submit-complete-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.p-submit-complete-msg {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--color-text);
}
.p-submit-complete-text {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
}
.p-submit-complete-btns {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .p-submit-complete-msg {
        font-size: 1rem;
    }
}