/* ===========================
   会員関連ページ
   /assets/css/membership.css
=========================== */

/* レイアウト全体 */
.p-login_wrap {
    max-width: 680px;
    margin: 60px auto 80px;
}
@media only screen and (max-width: 750px) {
    .p-login_wrap {
        max-width: 100%;
        margin: 30px 0 40px;
    }
}

/* ログインフォーム */
.p-login_fields {
    margin-top: 30px;
}
@media only screen and (max-width: 750px) {
    .p-login_fields {
        margin-top: 20px;
    }
}

.p-login_field_item {
    margin-bottom: 20px;
}
@media only screen and (max-width: 750px) {
    .p-login_field_item {
        margin-bottom: 15px;
    }
}

.p-login_label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.6rem;
}
@media only screen and (max-width: 750px) {
    .p-login_label {
        font-size: 1.5rem;
    }
}

.p-login_required {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background-color: #ed8783;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

/* パスワード入力欄をメールアドレス欄に合わせる */
.p-login_form input[type="password"] {
    padding: 0 20px;
    height: 40px;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 0;
}
@media only screen and (max-width: 750px) {
    .p-login_form input[type="password"] {
        padding: 0 15px;
        border-width: 1px;
    }
}

/* チェックボックス行 */
.p-login_remember {
    margin-top: 10px;
    font-size: 1.5rem;
}

/* ログインボタン */
.p-login_submit {
    margin-top: 30px;
}
@media only screen and (max-width: 750px) {
    .p-login_submit {
        margin-top: 20px;
    }
}

.p-login_submit input[type="submit"],
.p-login_submit button {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    height: 64px;
    border: none;
    border-radius: 50px;
    background-color: #ed8783;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease-out;
}
@media only screen and (max-width: 750px) {
    .p-login_submit input[type="submit"],
    .p-login_submit button {
        max-width: 100%;
        height: 56px;
        font-size: 1.6rem;
    }
}
.p-login_submit input[type="submit"]:hover,
.p-login_submit button:hover {
    opacity: .7;
}

/* パスワードお忘れリンク */
.p-login_forgot {
    margin-top: 15px;
    text-align: center;
    font-size: 1.5rem;
}
.p-login_forgot a {
    color: #ed8783;
    text-decoration: underline;
    opacity: 1;
}
.p-login_forgot a:hover {
    opacity: .7;
}

/* 区切り線（または） */
.p-login_divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
}
@media only screen and (max-width: 750px) {
    .p-login_divider {
        margin: 25px 0;
    }
}
.p-login_divider::before,
.p-login_divider::after {
    content: " ";
    flex: 1;
    height: 1px;
    background-color: #ccc;
}
.p-login_divider span {
    flex: 0 0 auto;
    color: #999;
    font-size: 1.4rem;
}

/* 新規会員登録エリア */
.p-login_register {
    padding: 40px;
    border-radius: 16px;
    background-color: #fae9e8;
}
@media only screen and (max-width: 750px) {
    .p-login_register {
        padding: 25px 20px;
        border-radius: 10px;
    }
}

.p-login_register .c-sec_heading {
    margin-bottom: 25px;
    text-align: left;
}
@media only screen and (max-width: 750px) {
    .p-login_register .c-sec_heading {
        margin-bottom: 15px;
    }
}

/* 特典リストと登録ボタンの縦並び */
.p-login_register_inner {
    display: block;
}

/* 特典リスト */
.p-login_register_benefits {
    flex: 1 1 100%;
    padding: 20px 25px;
    border-radius: 10px;
    background-color: #fff;
}
@media only screen and (max-width: 750px) {
    .p-login_register_benefits {
        padding: 15px 20px;
        margin-bottom: 20px;
    }
}

.p-login_register_benefits ul li {
    padding-left: 24px;
    margin-bottom: 10px;
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
}
.p-login_register_benefits ul li:last-child {
    margin-bottom: 0;
}
.p-login_register_benefits ul li::before {
    content: " ";
    display: block;
    width: 16px;
    height: 10px;
    background: url("../img/common/icon/check.svg") center no-repeat;
    position: absolute;
    top: 7px;
    left: 0;
}
@media only screen and (max-width: 750px) {
    .p-login_register_benefits ul li {
        font-size: 1.4rem;
    }
}

.p-login_register_inner .c-btn {
    margin-top: 25px;
}
@media only screen and (max-width: 750px) {
    .p-login_register_inner .c-btn {
        margin-top: 20px;
    }
}

/* ゲスト購入案内 */
.p-login_guest {
    max-width: 680px;
    margin: 0 auto 80px;
}
@media only screen and (max-width: 750px) {
    .p-login_guest {
        margin-bottom: 40px;
    }
}

.p-login_guest .c-info_bar a {
    margin-left: 5px;
}

/* フォーム内の戻るボタン */
.p-login_form .c-btn {
    margin-top: 15px;
}
.p-login_form .c-btn a {
    display: block;
    max-width: 340px;
    margin: 0 auto;
    padding: 0;
    height: 64px;
    line-height: 64px;
}
@media only screen and (max-width: 750px) {
    .p-login_form .c-btn a {
        max-width: 100%;
        height: 56px;
        line-height: 56px;
    }
}

/* マイページ ラジオボタングループ */
.p-mypage_radio_group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
    padding: 8px 0;
}

/* c-btns_column 内のsubmitボタン幅をコンテンツに合わせる */
.c-btns_column .p-login_submit {
    margin-top: 0;
}
.c-btns_column .p-login_submit input[type="submit"],
.c-btns_column .p-login_submit button {
    width: auto;
    max-width: none;
    padding: 15px 45px;
    height: auto;
}

/* ===========================
   注文履歴
=========================== */

.p-orders_list {
    margin-bottom: 40px;
}
@media only screen and (max-width: 750px) {
    .p-orders_list {
        margin-bottom: 25px;
    }
}

.p-orders_item {
    border: 1px solid #ccc;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}
@media only screen and (max-width: 750px) {
    .p-orders_item {
        border-radius: 10px;
        margin-bottom: 20px;
    }
}
.p-orders_item:last-child {
    margin-bottom: 0;
}

.p-orders_item_head {
    padding: 20px 30px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
@media only screen and (max-width: 750px) {
    .p-orders_item_head {
        padding: 15px 20px;
        display: block;
    }
}

.p-orders_item_head dl {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 30px;
    font-size: 1.5rem;
}
@media only screen and (max-width: 750px) {
    .p-orders_item_head dl {
        gap: 5px 20px;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
}

.p-orders_item_head dl > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.p-orders_item_head dl dt {
    font-weight: 700;
    color: #955234;
}

.p-orders_price {
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #955234;
}
.p-orders_price span {
    font-family: "游ゴシック", YuGothic, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #000;
}
@media only screen and (max-width: 750px) {
    .p-orders_price {
        font-size: 1.8rem;
    }
}

.p-orders_status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    background-color: #ed8783;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.p-orders_item_more a {
    display: inline-block;
    padding: 8px 30px 8px 20px;
    border: 1px solid #955234;
    border-radius: 50px;
    color: #955234;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 1;
    white-space: nowrap;
    position: relative;
}
.p-orders_item_more a::after {
    content: " ";
    display: block;
    width: 6px;
    height: 10px;
    background: url("../img/common/icon/link_arrow03.svg") center/100% auto no-repeat;
    position: absolute;
    top: 50%;
    right: 14px;
    margin-top: -5px;
}
.p-orders_item_more a:hover {
    background-color: #955234;
    color: #fff;
}
@media only screen and (max-width: 750px) {
    .p-orders_item_more {
        text-align: right;
    }
}

.p-orders_item_products {
    padding: 20px 30px;
}
@media only screen and (max-width: 750px) {
    .p-orders_item_products {
        padding: 15px 20px;
    }
}

.p-orders_product {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.p-orders_product:first-child {
    padding-top: 0;
}
.p-orders_product:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
@media only screen and (max-width: 750px) {
    .p-orders_product {
        gap: 12px;
    }
}

.p-orders_product_thum {
    flex: 0 0 80px;
    border-radius: 8px;
    overflow: hidden;
}
.p-orders_product_thum img {
    width: 100%;
    height: auto;
    display: block;
}
@media only screen and (max-width: 750px) {
    .p-orders_product_thum {
        flex: 0 0 60px;
    }
}

.p-orders_product_info {
    flex: 1 1 100%;
}

.p-orders_product_name {
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 4px;
}
@media only screen and (max-width: 750px) {
    .p-orders_product_name {
        font-size: 1.4rem;
    }
}

.p-orders_product_option {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 4px;
}
@media only screen and (max-width: 750px) {
    .p-orders_product_option {
        font-size: 1.3rem;
    }
}

.p-orders_product_price {
    font-family: "Roboto", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #955234;
}
.p-orders_product_price span {
    font-family: "游ゴシック", YuGothic, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #000;
}
@media only screen and (max-width: 750px) {
    .p-orders_product_price {
        font-size: 1.4rem;
    }
}

/* ===== 会員登録フォーム 補助スタイル（EC-CUBE都合の項目を参照デザインに合わせる） ===== */

/* mode付き送信は <button> を使うため input[type=submit] と同じ見た目にする */
.submit_btn button {
    display: block;
    width: 100%;
    max-width: 530px;
    height: 72px;
    margin: 0 auto;
    border: none;
    border-radius: 50px;
    background-color: #ed8783;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease-out;
}
.submit_btn button:hover {
    opacity: .7;
}
@media only screen and (max-width: 750px) {
    .submit_btn button {
        height: 60px;
        font-size: 1.6rem;
    }
}

/* パスワード欄を text/tel/email と同じ見た目にする */
.c-form .input_box .input_item input[type="password"] {
    padding: 0 20px;
    height: 50px;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    font-size: 1.4rem;
}
@media only screen and (max-width: 750px) {
    .c-form .input_box .input_item input[type="password"] {
        padding: 0 15px;
        height: 40px;
    }
}

/* 生年月日のプルダウンを入力欄に揃える */
.input_birthday select {
    height: 50px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 1.4rem;
}
@media only screen and (max-width: 750px) {
    .input_birthday select {
        height: 40px;
        padding: 0 6px;
        font-size: 1.3rem;
    }
}

/* ===========================
   会員関連ページ 共通ボタン縦並び（参照 membership.css を移植）
   参照は .p-member_page .c-btns_column を縦積みにしてボタンのズレを防いでいる。
   EC は退会ページ本文が <button>（mode送信）のため、input[type=submit] と併記で効かせる。
=========================== */
.p-member_page .c-btns_column {
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}
.p-member_page .c-btns_column > * {
    margin: 0 !important;
}

/* 退会ページ: 確認ボタンを参照同様 340px 固定にして縦積みレイアウトに合わせる */
.p-withdraw_index .c-btns_column .p-login_submit input[type="submit"],
.p-withdraw_index .c-btns_column .p-login_submit button {
    width: 340px;
    max-width: 340px;
    height: 64px;
    padding: 0;
    border-radius: 50px;
    background-color: #ed8783;
    font-size: 1.8rem;
}
.p-withdraw_index .c-btns_column .p-login_submit input[type="submit"]:hover,
.p-withdraw_index .c-btns_column .p-login_submit button:hover {
    background-color: #ed8783;
    opacity: .7;
}
