.required::after {
    content: "必須";
    background-color: #f0ad4e;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    min-width: 10px;
    padding: 3px 7px;
    margin: 0px 5px;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    border-radius: 10px;
    display: inline-block;
}

.nini::after {
    content: "任意";
    background-color: #888;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    min-width: 10px;
    padding: 3px 7px;
    margin: 0px 5px;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    border-radius: 10px;
    display: inline-block;
}

.form-group span{
    display: block;
    font-size: 70%;
    color: #888888;
}

input[type=checkbox] {
    display: inline;
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

label.checkbox{
font-size: 20px;
}

.memo{
    font-size: 6px;
    display: block;
    background: #ddd;
    padding: 5px;
    width: auto;
}
.grid,.grid_plan{
    width: 100%;
}

.grid div.item{
    float: left;
    border: solid 1px #aaa;
    margin: 2px;
    padding: 5px;
    width: 23%;
}

.grid div.item.none{
    float: left;
    border: solid 1px #aaa;
    margin: 2px;
    padding: 5px;
    width: 23%;
    color: #ccc
}

.grid_plan div.item{
    float: left;
    border: solid 1px #aaa;
    margin: 2px;
    padding: 5px;
    width: 100%;
}

.grid_plan div.item.none{
    float: left;
    border: solid 1px #aaa;
    margin: 2px;
    padding: 5px;
    width: 100%;
    color: #ccc
}

.error{
    color:red;
    display: block;
    padding: 5px;
    margin-bottom: 10px;
    margin-left: 30px;
}
.confirm_line{
    border-bottom: 1px solid #ddd;
}

#ui-datepicker-div{
    background-color: white;
    padding: 5px;
    border: 1px #ccc solid;
}
#ui-datepicker-div td,#ui-datepicker-div th{
    width: 30px;
    text-align: center;
    border-bottom: 1px white solid;
}
.ui-datepicker-header{
    position: relative;
}
.ui-datepicker-next{
    position: absolute;
    right: 0;
}

.ui-datepicker-calendar .day-sunday ,
.ui-datepicker-calendar .day-holiday  {
    background: #ffc0c0;
}
.ui-datepicker-calendar .day-saturday  {
    background: #c0d0ff;
}
.ui-datepicker-calendar .day-today a{
    font-weight: bold;
}
.ui-datepicker-calendar .day-before  {
    background: #aaaaaa;
}
.ui-datepicker-calendar .day-before span {
    color: #bbbbbb !important;
}

@media screen and (min-width: 800px) {
    .form-group .grid_plan div.item {
        position: relative;
    }

    .form-group .grid_plan div.item span {
        text-align: right;
        font-size: 100%;
        color: #506690;
        position: absolute;
        right: 5px;
        top: 5px;
    }

    .form-group .grid_plan div.item.none span {
        color: #aaa;
    }
}
@media screen and (max-width: 799px) {
    .form-group .grid_plan div.item span {
        margin-top: 10px;
        margin-left: 20px;
        font-size: 100%;
        color: #506690;
    }

    .form-group .grid_plan div.item.none span {
        color: #aaa;
    }
}


.stripe-button-el {
    width: 100%;
}
.stripe-button-el span {
    font-size: 24px!important;
    padding-top: 15px!important;
    min-height: 60px!important;
}

option:disabled{
    color:#ddd;
}


/* --- mypage -- */
#mypage .card-header p{
    border-left: 5px solid #2A354F ;
    padding-left: 5px;
}
#mypage .form-group label{
    font-size: 70%;
}
#mypage .footer_menu{
    margin-top: 20px;
    padding-left: 20px;
    text-align: left;
}
#mypage .footer_menu a {
    font-size: 16px;
    display: inline-block;
    margin-bottom: 10px;
}
#mypage .box-yoyaku{
    border-bottom: 1px solid #ccc;
    padding: 10px 5px;
}
#mypage .p0{
    padding: 0;
}
#mypage .r{
    text-align: right;
}
@media screen and (min-width: 768px) {
    .sp{
        display: none;
    }
    #mypage .col-md-1{
        width: 8.3%;
        padding: 0;
    }
    #mypage .col-md-2{
        width: 16.6%;
        padding: 0;
    }
    #mypage .col-md-3{
        width: 25%;
        padding: 0;
    }
    #mypage .col-md-4{
        width: 33%;
        padding: 0;
    }


}
@media screen and (max-width: 767px) {
    .nosp{
        display: none;
    }
    #mypage .col-sm-1{
        width: 8.3%;
        padding: 0;
    }
    #mypage .col-sm-2{
        width: 16.6%;
        padding: 0;
    }
    #mypage .col-sm-4{
        width: 33.3%;
        padding: 0;
    }
    #mypage .col-sm-6{
        width: 50%;
        padding: 0;
    }
    #mypage .col-sm-10{
        width: 83%;
        padding: 0;
    }
    #mypage .col-sm-12{
        width: 100%;
        padding: 0;
    }
    .tenpo{
        text-align: center;
    }
    .data{
        text-align: center;

    }
}


.c{
    text-align: center;
}
.b{
    font-weight: bold;
}
.small{
    font-size: 86%;
}
.data{
    font-weight: bold;
    margin-bottom: 10px;
}
.confirm .input-group{
    border-bottom: 1px solid black;
}

/* =====================================================================
   マイページUI改善（2026-09-04）
   仕様：claude/マイページUI改善_現状調査と改善案_20260904.md
   ここから下は追記分。spaces.css は触らない。接頭辞 zm- で区別する。
   ===================================================================== */

/* --- ボタンの役割分け：進む＝btn-primary（既存）／戻る＝zm-btn-back／取消＝zm-btn-danger --- */
.btn.zm-btn-back {
    background-color: #ffffff;
    color: #66799e;
    border: 1px solid #cfd6e2;
    box-shadow: none;
    min-height: 48px;
}
.btn.zm-btn-back:hover, .btn.zm-btn-back:focus {
    background-color: #f3f7fa;
    color: #2A354F;
    border-color: #b0bacb;
}
.btn.zm-btn-outline {
    background-color: #ffffff;
    color: #2A354F;
    border: 1px solid #2A354F;
    box-shadow: none;
    min-height: 48px;
}
.btn.zm-btn-outline:hover, .btn.zm-btn-outline:focus {
    background-color: #2A354F;
    color: #ffffff;
}
.btn.zm-btn-danger {
    background-color: #ffffff;
    color: #d13b3b;
    border: 1px solid #e6b3b3;
    box-shadow: none;
    min-height: 44px;
}
.btn.zm-btn-danger:hover, .btn.zm-btn-danger:focus {
    background-color: #fff5f5;
    color: #b22a2a;
    border-color: #d13b3b;
}
.zm-btn-gap { margin-top: 10px; }

/* --- ステータスバッジ（色はここだけで管理する） --- */
.zm-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    border-radius: 2px;
    white-space: nowrap;
    vertical-align: middle;
}
.zm-badge-ok     { background: #e6f2ff; color: #005AD4; }  /* 予約完了・未使用 */
.zm-badge-wait   { background: #fff3e0; color: #c25e00; }  /* 承認待ち */
.zm-badge-done   { background: #eceff4; color: #66799e; }  /* 利用済・使用済み */
.zm-badge-cancel { background: #f5f5f5; color: #9aa5b8; }  /* キャンセル・期限切れ */

/* --- ページ見出し --- */
#mypage .zm-crumb { font-size: 12px; color: #869ab8; display: block; margin-bottom: 2px; }
#mypage .zm-crumb a { color: inherit; text-decoration: none; }
#mypage .zm-crumb a:hover { text-decoration: underline; }
#mypage h4.zm-title { font-size: 22px; font-weight: 700; color: #2A354F; margin: 0 0 12px; line-height: 1.3; }

/* --- メニュー（inc/menu_user.inc） --- */
#mypage .footer_menu { padding-left: 0; }
#mypage .footer_menu a { margin-bottom: 0; }
.zm-menu { display: flex; flex-direction: column; gap: 14px; }
.zm-menu-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
#mypage .footer_menu .zm-menu-tiles a, #mypage .footer_menu .zm-menu-tiles span.zm-tile-on {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: 2px;
    color: #2A354F;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
#mypage .footer_menu .zm-menu-tiles span.zm-tile-on { background: #2A354F; color: #ffffff; border-color: #2A354F; }
#mypage .footer_menu .zm-menu-tiles a.zm-tile-primary {
    background: #005AD4;
    color: #ffffff;
    border-color: #005AD4;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    font-size: 17px;
    letter-spacing: 0.04em;
    border-radius: 28px;
    box-shadow: 0 4px 12px rgba(0, 90, 212, 0.25);
    position: relative;
}
#mypage .footer_menu .zm-menu-tiles a.zm-tile-primary .zm-ico { flex: 0 0 auto; }
#mypage .footer_menu .zm-menu-tiles a.zm-tile-primary .zm-cta-arrow { position: absolute; right: 20px; font-size: 24px; line-height: 1; opacity: 0.9; }
#mypage .footer_menu .zm-menu-tiles a.zm-tile-primary:hover { background: #004aad; border-color: #004aad; color: #ffffff; }
.zm-menu-list { background: #ffffff; border: 1px solid #e3e8f0; border-radius: 2px; }
.zm-menu-list .zm-menu-head {
    padding: 10px 16px;
    border-bottom: 1px solid #edf1f6;
    font-size: 13px;
    font-weight: 700;
    color: #2A354F;
}
#mypage .footer_menu .zm-menu-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid #edf1f6;
    color: #2A354F;
    font-size: 15px;
    text-decoration: none;
}
#mypage .footer_menu .zm-menu-list a:last-child { border-bottom: 0; }
#mypage .footer_menu .zm-menu-list a::after { content: "›"; color: #b0bacb; font-size: 20px; }
.zm-menu-stores summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    color: #2A354F;
    font-size: 15px;
}
.zm-menu-stores summary::-webkit-details-marker { display: none; }
.zm-menu-stores summary::after { content: "＋"; color: #b0bacb; }
.zm-menu-stores[open] summary::after { content: "－"; }
.zm-menu-stores[open] summary { border-bottom: 1px solid #edf1f6; }
#mypage .footer_menu .zm-menu-stores a { font-weight: 300; }
.zm-menu-withdraw { text-align: center; padding: 6px 0 12px; }
#mypage .zm-menu-withdraw a { font-size: 12px; color: #9aa5b8; text-decoration: underline; }
@media screen and (min-width: 768px) {
    .zm-menu-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    #mypage .footer_menu .zm-menu-tiles a.zm-tile-primary { grid-column: 1 / -1; }
}

/* --- 予約一覧・TOP「次のご予約」のカード --- */
.zm-ycard {
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: 2px;
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.zm-ycard .zm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.zm-ycard .zm-room { font-size: 16px; font-weight: 700; color: #2A354F; }
.zm-ycard .zm-room a { color: #2A354F; }
.zm-ycard .zm-dt { font-size: 15px; color: #2A354F; }
.zm-ycard .zm-fee { font-size: 15px; color: #2A354F; }
.zm-ycard .zm-sub { font-size: 12px; color: #869ab8; }
.zm-ycard.zm-dim .zm-room, .zm-ycard.zm-dim .zm-room a, .zm-ycard.zm-dim .zm-dt, .zm-ycard.zm-dim .zm-fee { color: #9aa5b8; }
.zm-pager { display: flex; justify-content: center; gap: 24px; padding: 8px 0 4px; font-size: 14px; }

/* --- 予約詳細の操作ボタン --- */
.zm-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.zm-actions .btn { display: flex; align-items: center; justify-content: center; }
.zm-actions .zm-span2 { grid-column: 1 / -1; }
/* ★2026-09-05 スマホでは操作ボタンを1列（各100%）に。PCは時間延長の隣にキャンセルを並べ、キャンセルだけ目立たせない */
@media (max-width: 575px) { .zm-actions { grid-template-columns: 1fr; } }
.zm-cancel-note { font-size: 12px; color: #869ab8; line-height: 1.6; margin-top: 8px; }

/* 予約詳細「支払完了を連絡する」：行の中のボタンではなく、下段の小さなリンクにする */
#mypage .zm-notify-form { display: block; margin-top: 4px; }
#mypage .zm-linkbtn {
    background: none;
    border: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    color: #005AD4;
    text-decoration: underline;
    cursor: pointer;
}
#mypage .zm-linkbtn:hover { color: #2A354F; }

/* ZERO マイページ第1段階・共通フッター。既存ブランド/予約フォームのスタイルは変更しない。 */
.zero-footer { background: #f5f6f8; color: #293347; border-top: 1px solid #dce2ea; padding: 30px 0 20px; }
.zero-footer-top, .zero-footer-support { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.zero-footer-brand { font-size: 20px; font-weight: 700; letter-spacing: .06em; margin: 0 0 6px; }
.zero-footer-description, .zero-footer-copyright { color: #596474; font-size: 13px; margin: 0; }
.zero-footer a { color: #293347; overflow-wrap: anywhere; }
.zero-footer-support a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid #c5cdd8; border-radius: 6px; font-size: 14px; }
.zero-footer-legal { display: flex; flex-wrap: wrap; gap: 0 24px; border-top: 1px solid #dce2ea; margin-top: 22px; padding-top: 8px; }
.zero-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.zero-footer-copyright { margin-top: 8px; font-size: 12px; }
.zero-footer a:hover { text-decoration: underline; }
.zero-footer a:focus-visible, #mypage.zero-home a:focus-visible, #mypage.zero-home summary:focus-visible { outline: 3px solid #005ad4; outline-offset: 3px; }
#mypage.zero-home { background: #f5f6f8; color: #293347; }
#mypage.zero-home .zero-home-main { padding: 110px 0 40px; }
#mypage.zero-home .zero-home-content { max-width: 920px; margin: 0 auto; font-size: 15px; line-height: 1.65; }
#mypage.zero-home .zero-home-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
#mypage.zero-home .zero-home-eyebrow { font-size: 12px; color: #596474; letter-spacing: .05em; }
#mypage.zero-home h1 { font-size: 26px; color: #293347; margin: 2px 0 0; }
#mypage.zero-home h2 { font-size: 18px; color: #293347; margin: 0 0 14px; }
#mypage.zero-home a.zero-home-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 6px; background: #005ad4; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
#mypage.zero-home a.zero-home-primary:hover { background: #004aad; }
#mypage.zero-home .zero-home-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid #dce2ea; margin-bottom: 26px; }
#mypage.zero-home .zero-home-nav a { display: flex; justify-content: center; align-items: center; text-align: center; padding: 10px 6px; min-height: 48px; color: #293347; border-bottom: 3px solid transparent; font-size: 14px; }
#mypage.zero-home .zero-home-nav a[aria-current] { border-bottom-color: #005ad4; color: #005ad4; font-weight: 700; }
#mypage.zero-home .zero-home-notices > div { width: 100% !important; margin: 0 0 20px !important; padding: 16px !important; border-radius: 6px; background: #fff; overflow-wrap: anywhere; }
#mypage.zero-home .zero-booking { padding: 24px; border: 1px solid #dce2ea; border-radius: 10px; background: #fff; }
#mypage.zero-home .zero-booking-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
#mypage.zero-home .zero-booking-status { background: #edf4ff; color: #0754ac; padding: 3px 9px; border-radius: 4px; font-size: 12px; font-weight: 700; }
#mypage.zero-home .zero-booking-wait { background: #fff3e0; color: #945000; }
#mypage.zero-home .zero-booking-number, #mypage.zero-home .zero-home-caption { color: #596474; font-size: 13px; }
#mypage.zero-home .zero-booking-date { font-size: 24px; font-weight: 400; margin-top: 16px; }
#mypage.zero-home .zero-booking-time { font-size: 19px; font-weight: 400; margin-bottom: 12px; }
#mypage.zero-home .zero-booking-room { font-size: 16px; font-weight: 400; overflow-wrap: anywhere; }
#mypage.zero-home .zero-booking-bottom { border-top: 1px solid #dce2ea; margin-top: 20px; padding-top: 18px; }
#mypage.zero-home .zero-booking-bottom strong { font-size: 18px; font-weight: 400; }
#mypage.zero-home .zero-booking-empty p { margin: 0 0 6px; }
#mypage.zero-home .zero-home-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 20px 0 28px; }
#mypage.zero-home .zero-home-shortcuts a { border: 1px solid #dce2ea; border-radius: 10px; padding: 16px 18px; background: #fff; color: #293347; }
#mypage.zero-home .zero-home-shortcuts strong { display: block; font-size: 15px; }
#mypage.zero-home .zero-home-shortcuts span { font-size: 13px; color: #596474; }
#mypage.zero-home .zero-home-account { padding: 0; margin-top: 0; }
#mypage.zero-home .zero-home-account .zm-menu-list { border-color: #dce2ea; border-radius: 6px; }
#mypage.zero-home .zero-home-account .zm-menu-list a, #mypage.zero-home .zero-home-account summary { color: #293347; font-size: 15px; }
@media (max-width: 575px) {
    .zero-footer .container, #mypage.zero-home .zero-home-main > .container { padding-left: 20px; padding-right: 20px; }
    .zero-footer-support { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 10px; }
    .zero-footer-support a { padding: 8px; }
    #mypage.zero-home h1 { font-size: 22px; }
    #mypage.zero-home .zero-home-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #mypage.zero-home .zero-booking { padding: 20px 16px; }
    #mypage.zero-home .zero-booking-date { font-size: 22px; }
    #mypage.zero-home .zero-home-shortcuts { grid-template-columns: 1fr; }
    #mypage.zero-home .zero-booking-bottom .zero-home-primary { width: 100%; }
}

/* ZERO マイページ第2段階。対象4画面のbodyクラス内だけに適用。 */
#mypage.zero-page { background: #f5f6f8; color: #293347; }
#mypage.zero-page .zp-main { padding: 110px 0 40px; }
#mypage.zero-page .zp-content { max-width: 920px; margin: auto; font-size: 16px; line-height: 1.7; }
#mypage.zero-page .zp-heading, #mypage.zero-page .zp-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
#mypage.zero-page .zp-heading { margin-bottom: 24px; }
#mypage.zero-page h1 { color: #293347; font-size: 26px; margin: 2px 0 0; }
#mypage.zero-page h2 { color: #293347; font-size: 19px; margin: 0 0 14px; }
#mypage.zero-page .zp-eyebrow { color: #596474; font-size: 12px; letter-spacing: .05em; }
#mypage.zero-page .zp-caption { color: #596474; font-size: 14px; overflow-wrap: anywhere; }
#mypage.zero-page p.zp-caption { margin: 8px 0 0; }
#mypage.zero-page .zp-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; background: #005ad4; color: white; padding: 10px 18px; border: 1px solid #005ad4; border-radius: 6px; min-height: 44px; font-size: 15px; font-weight: 700; text-align: center; }
#mypage.zero-page .zp-button:hover { background: #004aad; text-decoration: none; }
#mypage.zero-page .zp-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid #dce2ea; margin-bottom: 26px; }
#mypage.zero-page .zp-nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 6px; text-align: center; color: #293347; font-size: 14px; border-bottom: 3px solid transparent; }
#mypage.zero-page .zp-nav a[aria-current] { color: #005ad4; border-bottom-color: #005ad4; font-weight: 700; }
#mypage.zero-page .zp-card { background: white; border: 1px solid #dce2ea; border-radius: 9px; padding: 24px; margin-bottom: 18px; min-width: 0; overflow-wrap: anywhere; }
#mypage.zero-page .zp-status { background: #edf4ff; color: #0754ac; padding: 3px 9px; font-size: 13px; font-weight: 700; border-radius: 4px; }
#mypage.zero-page .zp-wait { background: #fff3e0; color: #945000; }
#mypage.zero-page .zp-done { background: #edf0f3; color: #4f5a69; }
#mypage.zero-page .zp-cancel { background: #f8ebed; color: #943642; }
#mypage.zero-page .zp-date { font-size: 24px; font-weight: 400; margin-top: 16px; line-height: 1.5; }
#mypage.zero-page .zp-date span { white-space: nowrap; }
#mypage.zero-page .zp-time { font-size: 19px; font-weight: 400; }
#mypage.zero-page .zp-room { font-size: 16px; font-weight: 400; margin: 14px 0 20px; overflow-wrap: anywhere; }
#mypage.zero-page .zp-bottom { border-top: 1px solid #dce2ea; margin-top: 18px; padding-top: 16px; }
#mypage.zero-page .zp-fee { font-size: 18px; font-weight: 400; }
#mypage.zero-page .zp-notice { background: #eef4fd; border-left: 4px solid #005ad4; }
#mypage.zero-page .zp-notice #info_text { overflow-wrap: anywhere; }
#mypage.zero-page .zp-details .row.detail { margin: 0 !important; padding: 12px 0; border: 0; border-bottom: 1px solid #e5e9ef; }
#mypage.zero-page .zp-details .row.detail:last-child { border-bottom: 0; }
#mypage.zero-page .zp-details .row.detail > div { padding: 0; border: 0; text-align: left; font-size: 16px; min-width: 0; }
#mypage.zero-page .zp-details .row.detail > .small { flex: 0 0 30%; max-width: 30%; padding-right: 16px; color: #596474; font-size: 14px; }
#mypage.zero-page .zp-details .row.detail > .data { flex: 0 0 70%; max-width: 70%; }
#mypage.zero-page .zm-actions { margin: 0; }
#mypage.zero-page .zm-actions .btn, #mypage.zero-page .zp-cancel-area .btn { min-height: 44px; white-space: normal; border-radius: 6px; }
#mypage.zero-page .zp-cancel-area { border-top: 1px solid #dce2ea; margin: 28px 0 18px; padding-top: 22px; }
#mypage.zero-page .zp-back { display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin-bottom: 12px; border: 0; background: none; color: #005ad4; font-size: 15px; cursor: pointer; }
#mypage.zero-page .zp-pager { display: flex; justify-content: center; gap: 24px; margin: 20px 0; }
#mypage.zero-page .zp-pager a, #mypage.zero-page .zm-linkbtn { display: inline-flex; align-items: center; min-height: 44px; }
#mypage.zero-page .zp-empty { text-align: center; padding: 36px 20px; }
#mypage.zero-page .zp-error { color: #943642; background: #fff1f2; border: 1px solid #bb6873; padding: 16px; margin-bottom: 20px; overflow-wrap: anywhere; }
#mypage.zero-page .zp-account { padding: 0; margin-top: 28px; }
#mypage.zero-page .zp-account .zm-menu-list { border-color: #dce2ea; border-radius: 6px; }
#mypage.zero-page a:focus-visible, #mypage.zero-page button:focus-visible, #mypage.zero-page summary:focus-visible, #mypage.zero-page select:focus-visible { outline: 3px solid #005ad4; outline-offset: 3px; }
@media (max-width: 575px) {
    #mypage.zero-page .zp-main > .container { padding-left: 16px; padding-right: 16px; }
    #mypage.zero-page h1 { font-size: 24px; }
    #mypage.zero-page .zp-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #mypage.zero-page .zp-card { padding: 20px 16px; }
    #mypage.zero-page .zp-date { font-size: 22px; }
    #mypage.zero-page .zp-bottom > .zp-button { width: 100%; }
    #mypage.zero-page .zp-details .row.detail > .small, #mypage.zero-page .zp-details .row.detail > .data { flex: 0 0 100%; max-width: 100%; }
    #mypage.zero-page .zm-actions .btn { width: 100%; }
}

/* ZERO マイページ第3段階。既存フォーム・Stripe入力の機能属性は保持。 */
#mypage.zero-page .zp-settings .zp-settings-body { padding: 0; }
#mypage.zero-page .zp-settings h4 { color: #293347; font-size: 19px; margin: 0 0 16px; }
#mypage.zero-page .zp-settings .zp-field { margin-bottom: 22px; }
#mypage.zero-page .zp-settings .zp-field label { display: block; color: #293347; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
#mypage.zero-page .zp-settings .form-control { min-height: 48px; font-size: 16px; color: #293347; border: 1px solid #8995a5; border-radius: 5px; }
#mypage.zero-page .zp-settings .zp-settings-input { display: block; }
#mypage.zero-page .zp-settings .zp-settings-input > .form-control { width: 100%; border-radius: 5px; }
#mypage.zero-page .zp-settings .zp-field, #mypage.zero-page .zp-settings form { max-width: 680px; }
#mypage.zero-page .zp-settings input:focus-visible { outline: 3px solid #005ad4; outline-offset: 3px; }
#mypage.zero-page .zp-settings .zp-settings-back { background: white; color: #005ad4; border-color: #005ad4; }
#mypage.zero-page .zp-settings .zp-button { white-space: normal; }
#mypage.zero-page .zp-settings #card-element { border: 1px solid #8995a5; border-radius: 5px; padding: 16px 12px; margin: 16px 0; }
#mypage.zero-page .zp-settings #error-message:not(:empty) { color: #943642; background: #fff1f2; border: 1px solid #bb6873; padding: 16px; margin-top: 16px; overflow-wrap: anywhere; }
#mypage.zero-page .zp-settings-confirm .zp-field { border-bottom: 1px solid #e5e9ef; padding-bottom: 16px; }
#mypage.zero-page .zp-settings-confirm .zp-field:last-child { border-bottom: 0; padding-bottom: 0; }
#mypage.zero-page .zp-settings-confirm .input-group { display: block; overflow-wrap: anywhere; }
#mypage.zero-page .zp-settings-crumb { margin-left: 16px; }
#mypage.zero-page .zp-coupon-intro { color: #596474; font-size: 14px; margin: 0 0 18px; }
#mypage.zero-page .zp-coupon-name { font-size: 18px; font-weight: 700; margin: 16px 0; }
#mypage.zero-page .zp-coupon-value { color: #005ad4; font-size: 24px; font-weight: 400; line-height: 1.4; margin: 16px 0; }
#mypage.zero-page .zp-coupon-inactive .zp-coupon-value { color: #596474; }
#mypage.zero-page .zp-coupon .zp-caption { margin-top: 8px; }
#mypage.zero-page .zm-menu-withdraw a { display: inline-flex; align-items: center; min-height: 44px; }

/* ZERO 見出しの予約ボタン。空の案内・下部ボタンには適用しない。 */
#mypage.zero-home .zero-home-heading, #mypage.zero-page .zp-heading { flex-wrap: nowrap; gap: 12px; }
#mypage.zero-home .zero-home-heading > div, #mypage.zero-page .zp-heading > div { flex: 1 1 0; min-width: 0; }
#mypage.zero-home .zero-home-heading h1, #mypage.zero-page .zp-heading h1 { overflow-wrap: anywhere; line-height: 1.45; }
#mypage.zero-home .zero-home-heading > .zp-heading-book, #mypage.zero-page .zp-heading > .zp-heading-book { flex: 0 0 auto; width: auto; white-space: nowrap; line-height: 1.5; min-height: 44px; padding: 10px 18px; border: 1px solid #005ad4; }
#mypage.zero-home .zero-home-heading .zp-book-short, #mypage.zero-page .zp-heading .zp-book-short { display: none; }
#mypage.zero-page .zp-settings .zp-card-registration { margin-top: 28px; }
#mypage.zero-page .zm-menu-withdraw a { color: #005ad4; text-decoration: underline; }
#mypage.zero-page .zm-menu-withdraw .zm-sub { color: #596474; font-size: 14px; margin-top: 4px; }
@media (max-width: 575px) {
    #mypage.zero-home .zero-home-heading h1, #mypage.zero-page .zp-heading h1 { font-size: 22px; }
    #mypage.zero-home .zero-home-heading > .zp-heading-book, #mypage.zero-page .zp-heading > .zp-heading-book { padding: 10px 12px; }
    #mypage.zero-home .zero-home-heading .zp-book-long, #mypage.zero-page .zp-heading .zp-book-long { display: none; }
    #mypage.zero-home .zero-home-heading .zp-book-short, #mypage.zero-page .zp-heading .zp-book-short { display: inline; }
}

/* ZERO マイページ：A-1（ヘッダー・フッターの列を内容の920pxにそろえる）。 */
@media (min-width: 992px) {
    #mypage.zero-home #navbar-main > .container,
    #mypage.zero-page #navbar-main > .container,
    #mypage.zero-home .zero-footer > .container,
    #mypage.zero-page .zero-footer > .container { max-width: 950px; }
}

/* 992〜1199pxはnavのpx-lg-6で950px列が内側に収まらないため、列の左右余白をそろえる。 */
@media (min-width: 992px) and (max-width: 1199px) {
    #mypage.zero-home #navbar-main,
    #mypage.zero-page #navbar-main { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ZERO マイページのロゴ画像に合わせたヘッダー背景。共有画面・Colormellには適用しない。 */
#mypage.zero-home #navbar-main,
#mypage.zero-page #navbar-main { background-color: #000000; }

/* ZERO全画面のヘッダー・フッターをマイページと同じ列にそろえる。 */
@media (min-width: 992px) {
    .zero-header #navbar-main > .container,
    .zero-footer > .container { max-width: 950px; }
}

/* 992〜1199pxはnavのpx-lg-6で950px列が内側に収まらないため、列の左右余白をそろえる。 */
@media (min-width: 992px) and (max-width: 1199px) {
    .zero-header #navbar-main { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ZEROのロゴ画像に合わせ、最上部・スクロール後ともヘッダーを黒にする。 */
.zero-header #navbar-main { background-color: #000000; }


/* ZERO 会員登録・延長受付。指定した画面だけを既存マイページの意匠に統一。 */
#mypage.zero-account-refresh main > .section { padding: 110px 0 40px; background: none !important; }
#mypage.zero-account-refresh main > .section > .container { max-width: 950px; }
#mypage.zero-account-refresh main .row > .col-md-10 { flex: 0 0 100%; max-width: 100%; }
#mypage.zero-account-refresh main { font-size: 16px; line-height: 1.7; }
#mypage.zero-account-refresh main .card { background: #fff; border: 1px solid #dce2ea; border-radius: 9px; box-shadow: none; margin-bottom: 18px; overflow-wrap: anywhere; }
#mypage.zero-account-refresh main .card-body { padding: 24px !important; }
#mypage.zero-account-refresh main .form-group { margin-bottom: 22px; padding-top: 0 !important; }
#mypage.zero-account-refresh main .form-group:last-child { margin-bottom: 0; }
#mypage.zero-account-refresh main .form-group label { color: #293347; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
#mypage.zero-account-refresh main .form-group span { font-size: 14px; color: #596474; }
#mypage.zero-account-refresh main .form-control:not([type=checkbox]) { min-height: 48px; font-size: 16px; color: #293347; border: 1px solid #8995a5; border-radius: 5px; }
#mypage.zero-account-refresh main .input-group { display: block; overflow-wrap: anywhere; }
#mypage.zero-account-refresh main .input-group > .form-control:not([type=checkbox]) { width: 100%; }
#mypage.zero-account-refresh main input:focus-visible { outline: 3px solid #005ad4; outline-offset: 3px; }
#mypage.zero-account-refresh main label.checkbox { display: flex; align-items: center; gap: 8px; min-height: 44px; }
#mypage.zero-account-refresh main input[type=checkbox] { flex: 0 0 20px; margin: 0; }
#mypage.zero-account-refresh main .required::after { background: #943642; border-radius: 4px; }
#mypage.zero-account-refresh main .nini::after { background: #596474; border-radius: 4px; }
#mypage.zero-account-refresh main .btn-primary { background: #005ad4; border: 1px solid #005ad4; border-radius: 6px; min-height: 44px; font-size: 15px; padding: 10px 18px; white-space: normal; box-shadow: none; }
#mypage.zero-account-refresh main .btn-primary:hover { background: #004aad; transform: none; }
#mypage.zero-account-refresh main button[name=return] { background: #fff; color: #005ad4; }
#mypage.zero-account-refresh main .confirm .input-group { border-bottom: 0; }
#mypage.zero-account-refresh main .confirm .form-group:not(:last-child) { border-bottom: 1px solid #e5e9ef; padding-bottom: 16px; }
#mypage.zero-account-refresh main .card-body > div[style*="color:red"] { color: #943642 !important; background: #fff1f2; border: 1px solid #bb6873; padding: 16px; margin: 0 0 20px !important; }
#mypage.zero-registration main .form-group { max-width: 680px; }
#mypage.zero-account-refresh main .card a { color: #005ad4; text-decoration: underline; }
#mypage.zero-account-refresh main .card a.btn-primary, #mypage.zero-account-refresh main .card a.btn-primary:hover { color: #fff; text-decoration: none; }
#mypage.zero-account-refresh .za-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 24px 0; }
#mypage.zero-account-refresh .za-actions .zp-back { margin: 0; }
@media (max-width: 575px) {
    #mypage.zero-account-refresh main > .section > .container { padding-left: 16px; padding-right: 16px; }
    #mypage.zero-account-refresh main .card-body { padding: 20px 16px !important; }
    #mypage.zero-account-refresh .za-actions .zp-button { width: 100%; }
}

/* Colormell 会員登録。レイアウトは zero-account-refresh を共有し、色だけここで上書きする。zero-account-refresh を変えると Colormell にも効く。 */
#mypage.cm-account main .btn-primary { background: #262626; border-color: #262626; color: #fff; }
#mypage.cm-account main .btn-primary:hover { background: #000000; border-color: #000000; }
#mypage.cm-account main button[name=return] { background: #fff; color: #262626; border-color: #262626; }
#mypage.cm-account main button[name=return]:hover { background: #f3f3f3; color: #262626; border-color: #262626; }
#mypage.cm-account main input:focus-visible { outline: 3px solid #262626; outline-offset: 3px; }
#mypage.cm-account main .card a:not(.btn) { color: #262626; text-decoration: underline; }
#mypage.cm-account main .required::after { background: #f0ad4e; }
#mypage.cm-account main .nini::after { background: #888; }
#mypage.cm-account .cm-heading { margin-bottom: 24px; }
#mypage.cm-account .cm-heading h1 { color: #293347; font-size: 26px; font-weight: 300; margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 575px) {
    #mypage.cm-account .cm-heading h1 { font-size: 22px; }
}

#mypage .reg-empty { color: #8a8f98; }
/* 共有フォームのspan文字色より優先し、両ブランドの（なし）を補足色にする。 */
#mypage.zero-account-refresh main .form-group .reg-empty { color: #8a8f98; }
