@charset "UTF-8";

/* =========================================================
   お問い合わせ (Contact)
========================================================= */

/* リード文 */
.p-contact-lead {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1rem;
    line-height: 1.8;
}

/* 2カラムレイアウト */
.p-contact-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 左右のボックス */
.p-contact-box {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

/* 見出し */
.p-contact-box h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-main);
}

/* 本文 */
.p-contact-box p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 英語案内エリアの区切り */
.p-contact-en {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed #ccc;
}

/* 赤字の注釈 */
.p-contact-notes {
    color: #d32f2f;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}
.p-contact-notes span {
    display: block;
    margin-bottom: 5px;
}
.p-contact-notes span:last-child {
    margin-bottom: 0;
}

/* ボタン共通 */
.p-contact-btn {
    margin-top: auto;
    text-align: center;
}
.p-contact-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border: 2px solid var(--color-main);
    color: var(--color-main);
    padding: 15px 20px;
    border-radius: 2px;
    font-size: 1.4rem;
    font-family: var(--font-english), var(--font-gothic);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.p-contact-btn a:hover {
    background-color: var(--color-main);
    color: #fff;
}
/* アイコンの色をホバー時に白へ反転させる（元の画像が黒やメインカラーの場合） */
.p-contact-btn a:hover img {
    filter: brightness(0) invert(1);
}
.p-contact-btn img {
    width: 24px;
    height: auto;
    transition: filter 0.3s ease;
}

/* ご意見箱ボタン（最初から塗りつぶし） */
.p-contact-btn--mail a {
    background-color: var(--color-main);
    color: #fff;
    font-size: 1.1rem;
}
.p-contact-btn--mail a img {
    filter: brightness(0) invert(1);
}
.p-contact-btn--mail a:hover {
    opacity: 0.8;
}

/* レスポンシブ (SP) */
@media screen and (max-width: 768px) {
    .p-contact-lead {
        text-align: left;
        margin-bottom: 40px;
    }
    .p-contact-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .p-contact-box {
        padding: 30px 20px;
    }
    .p-contact-box h2 {
        font-size: 1.15rem;
    }
    .p-contact-btn a {
        font-size: 1.25rem;
    }
}

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

/* フォームテーブル */
.p-form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    border-top: 2px solid var(--color-main);
}
.p-form-table th,
.p-form-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}
.p-form-table th {
    width: 30%;
    background-color: #f9f9f9;
    font-weight: 700;
    vertical-align: top;
}
.p-form-req {
    display: inline-block;
    background-color: #d32f2f;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

/* 入力パーツ */
.p-form-select-wrap {
    display: flex;
    gap: 15px;
}
.p-form-select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    max-width: 200px;
    background-color: #fff;
    cursor: pointer;
}
.p-form-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}
.p-form-textarea:focus,
.p-form-select:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 5px rgba(243, 168, 0, 0.3); /* フォーカス時に枠を光らせる */
}
.p-form-confirm-text {
    font-size: 1rem;
    line-height: 1.8;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

/* 同意チェックエリア */
.p-form-policy {
    text-align: center;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}
.p-form-policy__text {
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.p-form-policy__text a {
    color: var(--color-main);
    text-decoration: underline;
    font-weight: bold;
}
.p-form-policy__text a:hover {
    text-decoration: none;
}
.p-form-policy__check {
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.p-form-policy__check input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* 送信・戻るボタン群 */
.p-form-submit, .p-form-btns {
    text-align: center;
}
.p-form-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.p-form-submit-form {
    margin: 0;
}
.c-btn-submit {
    display: inline-block;
    padding: 15px 60px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background-color: #ccc; /* 未チェック時のグレー */
    border: none;
    border-radius: 50px;
    cursor: not-allowed;
    transition: all 0.3s ease;
    text-decoration: none;
}
.c-btn-submit.is-active {
    background-color: var(--color-main); /* チェック時のメインカラー */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.c-btn-submit.is-active:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}
.c-btn-back {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #666;
    background-color: #eee;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.c-btn-back:hover {
    background-color: #ddd;
}

/* レスポンシブ (SP) */
@media screen and (max-width: 768px) {
    .p-form-note {
        text-align: left;
        font-size: 0.9rem;
    }
    .p-form-table th,
    .p-form-table td {
        display: block; /* SP時はテーブルを解除して縦積みに */
        width: 100%;
    }
    .p-form-table th {
        border-bottom: none;
        padding: 20px 15px 10px;
    }
    .p-form-table td {
        padding: 0 15px 20px;
    }
    .p-form-select-wrap {
        flex-direction: column;
        gap: 10px;
    }
    .p-form-select {
        max-width: 100%;
    }
    .p-form-btns {
        flex-direction: column-reverse; /* スマホ時は「戻る」ボタンを下にする */
        gap: 15px;
    }
    .c-btn-submit, .c-btn-back {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
}


