@charset "UTF-8";

/* ===========================================================
   mypage_change.css
   会員情報の変更画面 専用スタイル（Mypage/change.twig）
   top_page.css / entry.css / mypage.css と統一
   =========================================================== */

.suite-change {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 24px 96px;
    color: var(--suite-text);
    box-sizing: border-box;
}

/* ===== パンくず ===== */
.suite-change .ec-topicpath {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    color: var(--suite-text-faint);
    font-size: 12px;
    letter-spacing: 0.06em;
}

.suite-change .ec-topicpath a {
    color: var(--suite-text-sub);
    text-decoration: none;
    transition: color var(--suite-transition);
}

.suite-change .ec-topicpath a:hover {
    color: var(--suite-accent-deep);
}

/* ===== ヘッダー ===== */
.suite-change__header {
    margin: 0 0 40px;
    text-align: center;
}

.suite-change__badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 14px;
    border: 1px solid var(--suite-accent);
    border-radius: 999px;
    color: var(--suite-accent-deep);
    background: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.suite-change__title {
    margin: 0 0 14px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
    font-weight: 600;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.45;
    letter-spacing: 0.08em;
    color: var(--suite-text);
}

.suite-change__title::after {
    content: "";
    display: block;
    width: 38px;
    height: 1px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, var(--suite-accent) 0%, var(--suite-accent-deep) 100%);
}

.suite-change__subtitle {
    margin: 0;
    color: var(--suite-text-sub);
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

/* ===== エラー ===== */
.suite-change__errors {
    margin: 0 0 28px;
    padding: 16px 18px;
    border-radius: var(--suite-radius-sm);
    border: 1px solid #ead0c7;
    background: #fdf6f3;
    color: #8a3a2a;
    font-size: 13px;
    line-height: 1.85;
}

.suite-change__errors-title {
    margin: 0 0 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.suite-change__errors ul {
    margin: 0;
    padding-left: 1.4em;
}

.suite-change__errors li {
    margin: 0 0 4px;
}

/* ===========================================================
   セクション
   =========================================================== */
.suite-change__form {
    display: grid;
    gap: 22px;
}

.suite-change__section {
    background: #fff;
    border: 1px solid var(--suite-line);
    border-radius: var(--suite-radius-lg);
    box-shadow: var(--suite-shadow-sm);
    overflow: hidden;
}

.suite-change__section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 18px 24px;
    background: linear-gradient(180deg, #fff 0%, #fcfaf7 100%);
    border-bottom: 1px solid var(--suite-line);
}

.suite-change__section-title {
    margin: 0;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--suite-text);
}

.suite-change__section-note {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--suite-text-faint);
}

.suite-change__section-body {
    padding: 22px 24px;
    display: grid;
    gap: 18px;
}

/* ===========================================================
   フィールド
   =========================================================== */
.suite-change-field {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 12px 24px;
    align-items: start;
}

.suite-change-field__label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--suite-text);
    letter-spacing: 0.04em;
}

.suite-change-field__required {
    display: inline-block;
    padding: 2px 8px;
    background: var(--suite-accent-soft, #f5eee3);
    color: var(--suite-accent-deep);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.suite-change-field__note {
    display: inline-block;
    padding: 2px 8px;
    background: #fff;
    color: var(--suite-text-faint);
    border: 1px solid var(--suite-line);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.suite-change-field__input {
    min-width: 0;
}

.suite-change-field__hint {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: var(--suite-text-faint);
}

@media (max-width: 720px) {
    .suite-change-field {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .suite-change-field__label {
        padding-top: 0;
    }
}

/* ===========================================================
   入力UI
   =========================================================== */
.suite-change-input,
.suite-change .ec-form input[type="text"],
.suite-change .ec-form input[type="email"],
.suite-change .ec-form input[type="tel"],
.suite-change .ec-form input[type="number"],
.suite-change .ec-form input[type="password"],
.suite-change .ec-form select,
.suite-change .ec-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--suite-line-strong, #cdbfa9);
    border-radius: var(--suite-radius-sm, 8px);
    background: #fff;
    color: var(--suite-text);
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.suite-change-input:focus,
.suite-change select:focus,
.suite-change textarea:focus {
    outline: none;
    border-color: var(--suite-accent);
    box-shadow: 0 0 0 3px rgba(122, 90, 52, 0.12);
}

.suite-change-input--zip {
    max-width: 200px;
}

/* row(横並び) */
.suite-change-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.suite-change-row:last-child {
    margin-bottom: 0;
}

.suite-change-row__item {
    flex: 1 1 0;
    min-width: 0;
}

.suite-change-row--double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* 郵便番号エリア */
.suite-change-zip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.suite-change-zip__btn {
    height: 44px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid var(--suite-line-strong);
    border-radius: 999px;
    color: var(--suite-accent-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suite-change-zip__btn:hover {
    border-color: var(--suite-accent);
    background: var(--suite-accent-soft, #f5eee3);
    color: var(--suite-accent-deep);
}

/* パスワード表示切替ボタン */
.suite-change-pw-toggle {
    height: 44px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--suite-line-strong);
    border-radius: 999px;
    color: var(--suite-text-sub);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suite-change-pw-toggle:hover {
    border-color: var(--suite-accent);
    color: var(--suite-accent-deep);
}

/* ===========================================================
   ラジオボタン（性別など）
   =========================================================== */
.suite-change-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.suite-change-radio .form-check,
.suite-change-radio div.radio,
.suite-change-radio label.radio-inline {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.suite-change-radio input[type="radio"],
.suite-change-radio input[type="checkbox"] {
    width: auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    accent-color: var(--suite-accent-deep);
    vertical-align: middle;
}

.suite-change-radio .form-check-label,
.suite-change-radio label.radio-inline,
.suite-change-radio div.radio > label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--suite-line);
    border-radius: 999px;
    color: var(--suite-text);
    font-size: 13px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suite-change-radio .form-check-label:hover,
.suite-change-radio label.radio-inline:hover {
    border-color: var(--suite-accent);
    background: var(--suite-accent-soft);
}

.suite-change-radio .form-check-input:checked + .form-check-label {
    border-color: var(--suite-accent-deep);
    color: var(--suite-accent-deep);
    background: #fdfaf5;
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--suite-accent-deep) inset;
}

/* ===========================================================
   アクションボタン
   =========================================================== */
.suite-change__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.suite-change-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.suite-change-btn::after {
    content: "→";
    display: inline-block;
    font-size: 13px;
    transition: transform 0.25s ease;
}

.suite-change-btn:hover::after {
    transform: translateX(4px);
}

.suite-change-btn--primary {
    background: linear-gradient(135deg, var(--suite-accent) 0%, var(--suite-accent-deep) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(79, 56, 32, 0.18);
}

.suite-change-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(79, 56, 32, 0.24);
    color: #fff;
    text-decoration: none;
}

.suite-change-btn--secondary {
    border-color: var(--suite-line-strong);
    background: #fff;
    color: var(--suite-accent-deep);
}

.suite-change-btn--secondary:hover {
    transform: translateY(-2px);
    border-color: var(--suite-accent);
    background: #fdfaf5;
    color: var(--suite-accent);
    text-decoration: none;
}

/* ===========================================================
   レスポンシブ
   =========================================================== */
@media (max-width: 720px) {
    .suite-change {
        padding: 24px 16px 64px;
    }

    .suite-change__section-header,
    .suite-change__section-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .suite-change-row--double {
        grid-template-columns: 1fr;
    }

    .suite-change-zip {
        flex-direction: column;
        align-items: stretch;
    }

    .suite-change-zip__btn {
        width: 100%;
    }

    .suite-change-pw-toggle {
        width: 100%;
        margin-top: 4px;
    }

    .suite-change__actions .suite-change-btn {
        width: 100%;
    }
}
