/* --------------------------------------------------
   購入履歴詳細：領収書・請求書ボタンのカスタム
   -------------------------------------------------- */

/* 親要素(.ec-orderRole__summary)の中にいる .btn-success だけを狙い撃ちします */
.ec-orderRole__summary .btn-success {
    /* base.cssの幅制限(20.6rem)をここで解除 */
    width: 100%;
    max-width: none; 

    /* 色のデザイン調整（シックなグレーに変更） */
    background-color: #4a4a4a;
    border: 1px solid #4a4a4a;
    color: #ffffff;

    /* 見た目の調整 */
    margin-top: 10px;      /* ボタン同士の間隔 */
    padding: 15px 0;       /* 厚みを出してリッチに */
    font-size: 1.5rem;     /* 文字を少し大きく */
    font-weight: bold;
    border-radius: 4px;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

/* ホバー時の動き */
.ec-orderRole__summary .btn-success:hover {
    background-color: #333333;
    border-color: #333333;
    opacity: 0.9;
    text-decoration: none;
}

/* --------------------------------------------------
   フッターの文字色修正（完結編）
   -------------------------------------------------- */

/* 1. 基本ルール：フッター内の文字とリンクは「全部白」にする */
.ec-layoutRole__footer,
.ec-layoutRole__footer p,
.ec-layoutRole__footer h1,
.ec-layoutRole__footer h2,
.ec-layoutRole__footer h3,
.ec-layoutRole__footer a {
    color: #ffffff !important;
    text-decoration: none; /* 下線なし */
}


.ec-layoutRole__footer a.link--color {
    color: #31ABBE !important;
    text-decoration: underline;
}

.ec-layoutRole__footer a:hover {
    color: #cccccc !important;
}

.ec-layoutRole__footer a.link--color:hover {
    color: #31ABBE !important;

}

/* ▼ ページ最上部のタイトル ▼ */
.contact-page-head {
    text-align: center;
    margin: 40px auto 56px;
}

.contact-page-head__title {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.contact-page-head__en {
    font-size: 1.4rem;
    margin-top: 6px;
    letter-spacing: 0.18em;
    color: #666;
}


/* ▼ 全体構成 ▼ */
.contact-intro {
    margin-bottom: 40px;
}

.contact-intro__title {
    max-width: 1080px;
    margin: 10px auto 16px;
    padding-bottom: 14px;
    font-size: 2rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
}

.contact-intro__lead {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 1080px;
    margin: 0 auto 24px;
}


/* ▼ ボタン ▼ */
.contact-intro__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto 32px;
}

.contact-intro__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 28px;
    font-size: 1.4rem;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #333;
    background-color: #fff;
    color: #333;
    width: 340px;
    position: relative;
}

/* ボタン右端の ＞ */
.contact-intro__btn::after {
    content: "＞";
    font-size: 1.4rem;
    margin-left: 12px;
}


/* ▼ 注意事項 ▼ */
.contact-notes__title {
    font-size: 1.6rem;
    font-weight: 600;
    max-width: 1080px;
    margin: 0 auto 8px;
}

.contact-notes__list {
    list-style: none;
    padding-left: 0;
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 1080px;
    margin: 0 auto;
}

.contact-notes__list li {
    position: relative;
    padding-left: 1.2em;
}

.contact-notes__list li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
}


/* ▼ お問い合わせの種類（ラジオ） 共通設定 ▼ */
.contact-kind {
    font-size: 1.3rem;
    line-height: 1.8;
}

.contact-kind__item {
    display: block;
    margin-bottom: 6px;
}

/* PC・SP共通：ラジオを通常表示に戻す */
.contact-kind__item input[type="radio"] {
    width: auto;
    height: auto;
    margin-right: .4em;
    display: inline-block;
    vertical-align: middle;
    border: none;
    padding: 0;
    -webkit-appearance: auto;
    appearance: auto;
}


/* ▼ スマホ ▼ */
@media (max-width: 767px) {

    .contact-page-head {
        margin: 28px auto 40px;
    }

    .contact-page-head__title {
        font-size: 2.6rem;
    }

    .contact-intro__title {
        margin: 32px auto 16px;
        font-size: 2rem;
    }

    .contact-intro__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .contact-intro__btn {
        width: 100%;
    }

    /* SP：ラジオ＋2行の被りを防ぐ用 */
    .contact-kind__item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 10px;
    }

    .contact-kind__item input[type="radio"] {
        margin-top: 4px;
        flex-shrink: 0;
    }

    .contact-kind__item label,
    .contact-kind__item span {
        display: inline-block;
        line-height: 1.6;
        flex: 1;
    }
}

