/* wordpresデフォルトのヘッダーとフッター */
.wp-block-template-part {
    display: none;
}

#wp--skip-link--target {
    margin-top: 0px !important;
}

.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

.entry-content.alignfull.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained {
    margin-top: 0px;
}

.has-global-padding {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.has-global-padding > .alignfull {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

:where(.wp-site-blocks *:focus) {
    outline: none !important;
}

/* 固定ページタイトル */
.wp-block-post-title {
    display: none;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ----------------------------------------------------------------------------------- */
/* Swal */

.swal2-actions {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    gap: 0.625rem;
    margin-bottom: 2.5rem;    
}

.custom-ok-button {
    background: #fff;
    border: solid 1px #535353;
    color: #535353;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto;
    display: block;
    position: relative;
    border-radius: 6.25rem;
    font-size: 0.875rem;
    height: 1.875rem;
    width: 7.5rem;   
}

.custom-cancel-button {
    background-color: #AAAAAC;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto;
    display: block;
    position: relative;
    border-radius: 6.25rem;
    font-size: 0.875rem;
    height: 1.875rem;
    width: 7.5rem;
    border: none;    
}

/* ----------------------------------------------------------------------------------- */
/* コントロールパネル */

form.post-password-form {
    color: #535353;
    font-size: 1rem;
    padding-inline: 1.25rem;
    padding-top: 40px;
}

input#pwbox-30 {
    background-color: #F5F5F5;
    border: none;
    border-radius: 1.5625rem;
    font-size: 0.875rem;
    margin-bottom: 0;
    padding: 0.8125rem;    
}

form.post-password-form input[type="submit"] {
    color: #535353;
    border-radius: 100px;
    border: solid 1px #535353;
    background: #fff;
    font-size: 0.875rem;
    padding: 0.5rem;  
}

.control-panel-page {
    min-width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    font-weight: 500;
    color: #535353;
    font-size: 1rem;
    height: 100dvh;
    display: flex;
}

.control-panel-page,
.control-panel-page * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.control-panel-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #AAAAAC;
}

.cp-header-title {
    color: #535353;
    font-size: 1.25rem;
    font-weight: 500;
}

.cp-header-buttons {
    display: flex;
    margin-bottom: 10px;
}

.cp-radio-group {
    background: none;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    font-size: 1rem;
    color: #535353;
}

.cp-radio-group input[type="radio"] {
    display: none;
}

.cp-radio-group .radio-label {
    border: 1px solid #AAAAAC;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    color: #AAAAAC;
    display: inline-block;
    text-align: center;
}

.cp-radio-group input[type="radio"]:checked + .radio-label {
    background-color: #7D40A0;
    color: #ffffff;
}

.cp-content[style*="display:block"],
.cp-content:not([aria-hidden="true"]) {
  height: calc(100dvh - var(--cp-header-h, 0px)) !important;
  overflow: hidden;
}

.cp-content-wrapper {
    flex: 1;
    height: auto !important;
    overflow: visible !important;
    padding-top: 0 !important;    
}

.cp-form-desc {
    font-size: 0.825rem;
    color: #535353;
    margin: 0;
}

.cp-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}


/* サイト設定セクション */
.cp-content-all-two-col {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding-top: 40px;
    position: relative;
    height: 100% !important;
    align-items: stretch !important;    
}

.all-left,
.all-right {
    flex: 1 1 0;
    min-width: 0;
}

.all-preview {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: auto;
    max-height: 500px;
    margin: 40px auto 100px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.06);
    overflow-x: hidden;
    overflow-y: auto;
}

.all-right[data-aspect="phone"] .all-preview {
    border: 10px solid #111;
    border-radius: 34px;
}

.all-right[data-aspect="phone"] .all-preview {
    aspect-ratio: 9 / 16;
}

.all-right[data-aspect="phone"] .all-preview::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 160px;
    height: 4px;
    border-radius: 2px;
    background: rgba(102,102,102,.9);
    pointer-events: none;
}


.all-fig {
    background: #fff;
    margin-bottom: 20px;
}

.all-fig__title {
    font-size: .95rem;
    color: #7D40A0;
    margin-bottom: 8px;
}

.all-fig__favicon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
}

.all-fig__searchcard {
    padding: 10px 15px;
    background: #fff;
    height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;    
}

.all-fig__search-url {
    font-size: .82rem;
    color: #16a34a;
    margin-bottom: 4px;
}

.all-fig__search-title {
    font-size: 1.1rem;
    color: #1d4ed8;
    text-decoration: underline;
    margin-bottom: 6px;
    line-height: 1.35;
}

.all-fig__search-snippet {
    font-size: .92rem;
    color: #535353;
}

.all-fig__search-snippet,
.all-fig__search-title,
.all-fig__search-url {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cp-content-all-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    margin-top: 40px;
}

.cp-content-all-section label {
    color: #7D40A0;
}

.cp-content-all-section #site_title {
    background-color: #F5F5F5;
    border: none;
    border-radius: 1.5625rem;
    font-size: 1rem;
    padding: 0.8125rem 1rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.cp-save-button {
    background: #fff;
    color: #7D40A0;
    border: solid 1px #7D40A0;
    border-radius: 1.5625rem;
    padding: 0.65rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.cp-content-all-section textarea {
    width: 100%;
    box-sizing: border-box;
    background-color: #F7F7FA;
    border: 1px solid #E0E0E5;
    border-radius: 0.75rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    color: #535353;
    outline: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

.cp-content-all-section textarea:focus {
    background-color: #FFFFFF;
    border-color: #7D40A0;
    box-shadow: 0 0 0 2px rgba(125, 64, 160, 0.16);
    transform: translateY(-1px);
}

.cp-site-icon-preview-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#site_icon_preview {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.08);
}

.cp-site-icon-placeholder {
    font-size: 0.8125rem;
    color: #AAAAAC;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
}

/* メインデザイン */
.cp-content-main-two-col {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding-top: 40px;
    position: relative;
    height: 100% !important;
    align-items: stretch !important;    
}

.cp-content-main-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    margin-top: 40px;
}

.cp-content-main-section label {
    color: #7D40A0;
}

.cp-content-main-sub-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    margin-top: 20px;
}

.cp-content-main-sub-section label {
    color: #535353;
}

.main-left,
.main-right {
    flex: 1 1 0;
    min-width: 0;
}

.main-preview {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    max-height: 500px;
    margin: 40px auto 100px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.06);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-color .2s ease, background-image .2s ease;    
}


.main-preview-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px;
    z-index: 10;
    pointer-events: none;
}

.mph-left,
.mph-right {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.mph-logo {
    height: 30px;
    width: auto;
}

.mph-logo-fallback {
    font-size: 0.95rem;
    color: #ffffff;
}

.mph-hamburger {
    width: 24px;
    height: 18px;
    position: relative;
}

.mph-hamburger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.mph-hamburger span:nth-child(1) { top: 0; }
.mph-hamburger span:nth-child(2) { top: 0.5rem; }
.mph-hamburger span:nth-child(3) { top: 1rem; }



.main-right[data-aspect="phone"] .main-preview {
    border: 10px solid #111;
    border-radius: 34px;
}

.main-right[data-aspect="phone"] .main-preview {
    aspect-ratio: 9 / 16;
}

.main-right[data-aspect="phone"] .main-preview::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 160px;
    height: 4px;
    border-radius: 2px;
    background: rgba(102,102,102,.9);
    pointer-events: none;
}

.cp-main-bg-preview-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#main_bg_preview {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.08);
}

.cp-main-bg-placeholder {
    font-size: 0.8125rem;
    color: #AAAAAC;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.cp-header-logo-preview-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#header_logo_preview {
    width: auto;
    height: 96px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.08);
}

.cp-header-logo-placeholder {
    font-size: 0.8125rem;
    color: #AAAAAC;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
}

/* 年齢認証セクション */
.cp-content-age-auth-two-col {
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
    gap: 5px;
    position: relative;
    height: 100% !important;
    align-items: stretch !important;
}


.age-auth-left,
.age-auth-right {
    flex: 1 1 0;
    min-width: 0;
}

.age-auth-device-header {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 40px 0 20px;
}

.age-auth-device-header .radio-label {
    cursor: pointer;
}

.age-auth-shortcode-preview {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: auto;
    max-height: 500px;
    margin: 0 auto 100px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.06);
}

.age-auth-right[data-aspect="pc"] .age-auth-shortcode-preview {
    border: 10px solid #111;
    border-bottom-width: 15px;
    border-radius: 10px;
}

.age-auth-right[data-aspect="pc"] .age-auth-shortcode-preview::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 14px;
    width: 46px;
    height: 8px;
    border-radius: 4px;
    background: #4b5563;
    pointer-events: none;
}

.age-auth-right[data-aspect="pc"] .age-auth-shortcode-preview::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 16px;
    width: 36px;
    height: 10px;
    background:
    radial-gradient(circle at 6px 5px, #ef4444 4px, transparent 5px) no-repeat,
    radial-gradient(circle at 18px 5px, #f59e0b 4px, transparent 5px) no-repeat,
    radial-gradient(circle at 30px 5px, #10b981 4px, transparent 5px) no-repeat;
    pointer-events: none;
}

.age-auth-right[data-aspect="tablet"] .age-auth-shortcode-preview {
    border: 10px solid #111;
    border-radius: 22px;
}

.age-auth-right[data-aspect="tablet"] .age-auth-shortcode-preview::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #111;
    pointer-events: none;
}

.age-auth-right[data-aspect="phone"] .age-auth-shortcode-preview {
    border: 10px solid #111;
    border-radius: 34px;
}

.age-auth-right[data-aspect="pc"] .age-auth-shortcode-preview {
    aspect-ratio: 16 / 9;
}
.age-auth-right[data-aspect="tablet"] .age-auth-shortcode-preview {
    aspect-ratio: 3 / 4;
}
.age-auth-right[data-aspect="phone"] .age-auth-shortcode-preview {
    aspect-ratio: 9 / 16;
}

.age-auth-right[data-aspect="phone"] .age-auth-shortcode-preview::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 160px;
    height: 4px;
    border-radius: 2px;
    background: rgba(102,102,102,.9);
    pointer-events: none;
}

.cp-content-age-auth-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    margin-top: 40px;
}

.cp-content-age-auth-section label {
    color: #7D40A0;
}

.cp-content-age-auth-section #site_title {
    background-color: #F5F5F5;
    border: none;
    border-radius: 1.5625rem;
    font-size: 1rem;
    padding: 0.8125rem 1rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}


.cp-age-auth-img-preview-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#age_auth_img_preview {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.08);
}

.cp-age-auth-img-placeholder {
    font-size: 0.8125rem;
    color: #AAAAAC;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
}

#cp-av-style {
    background: #fff;
}

/* メインデザインセクション */
.segmented-group {
    display: inline-flex;
    gap: 0.25rem;
    background: #F5F5F7;
    border-radius: 9999px;
    padding: 6px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.segmented-group input[type="radio"] { 
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.segmented-group .segmented-item {
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 12px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
    transition: all .18s ease;
}
.segmented-group input[type="radio"]:checked + .segmented-item {
    background: #7D40A0;
    color: #fff;
}

.color-grid {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.color-field__label {
    display: inline-block;
    font-size: .9rem;
    color: #535353;
    margin-bottom: 5px;
}
.color-field__inputs {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
}
.color-field input[type="color"] {
    width: 48px; 
    height: 36px;
    border: none; 
    padding: 0;
    background: transparent;
    cursor: pointer;
}
.color-field input[type="text"] {
    background: #F5F5F5;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .95rem;
    color: #333;
}

input[type="range"] {
  accent-color: #535353;
}

.opacity-field-slider {
    display:flex;
    align-items:center;
    gap:5px;
}

.opacity-field-slider label {
    color: #535353;
    font-size: 0.825rem;
}

.opacity-field-transparent-check-section {
    margin-top: 10px;
}

.opacity-field-transparent-check {
    display:inline-flex;
    align-items:center;
    gap:5px;
    cursor:pointer;
    color: #535353 !important;
}

.main-preview-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #111111;
    box-shadow: 0 -1px 6px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05);
    z-index: 9;
    height: 60px;
    padding: 0px 10px;
}

.main-preview-footer .mpf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.main-preview-footer .mpf-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.footer-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.footer-icons-grid input[type="checkbox"] {
    display: none;
}

.footer-icons-grid label {
    display: flex;
    gap: 5px;
    align-items: center;
    color: #535353;
    border: 1px solid #AAAAAC;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    font-size: 0.825rem;
    transition: background-color .2s, border-color .2s;
}

.footer-icons-grid label:has(input:checked) {
    background-color: #F3E7FD;
    border-color: #9E6CBB;
}

.footer-icons-grid .footer-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.footer-url-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.url-field__label {
    display: inline-block;
    font-size: .9rem;
    color: #535353 !important;
    margin-bottom: 6px;
}

.url-field input[type="text"],
.url-field input[type="url"],
.url-field input[type="tel"] {
    background: #F5F5F5;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .95rem;
    color: #535353;
    width: 100%;
    box-sizing: border-box;
}

/* セラピスト一覧セクション */
.tl-preview-content {
  position: absolute;
  top: 48px;
  bottom: 60px;
  left: 0;
  right: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-inline: 10px;
  scrollbar-width: thin;
}

.tl-therapist-list {
    margin-top: 20px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* カード本体 */
.tl-therapist-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 5px;
    font-size: 14px;
    border-radius: 10px;
}

.tl-photo-circle {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
}

.tl-therapist-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}


/* 並び替えカード */
.tl-sortable-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tl-sort-card {
    background:#fff;
    border:1px solid #AAAAAC;
    border-radius:10px;
}

.tl-card-inner {
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
}

.tl-drag-handle {
    cursor:grab;
    user-select:none;
    font-size:18px;
    line-height:1;
    padding:0 6px;
    color:#AAAAAC;
}

.tl-card-thumb {
    width:48px;
    height:48px;
    border-radius:6px;
    overflow:hidden;
    background:#f2f2f2;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
}

.tl-card-thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.tl-thumb-ph {
    width:60%;
    height:60%;
    background:#AAAAAC;
    border-radius:50%;
}

.tl-card-name {
    font-size:14px;
    color:#535353;
    flex:1 1 auto;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.tl-sort-ghost {
    opacity: 0.4;
}

.tl-sort-chosen {
    background-color: #9E6CBB !important;
}

.tl-sort-empty {
    color:#666;
    background:#fafafa;
    border:1px dashed #ddd;
    border-radius:10px;
    padding:12px;
    text-align:center;
}

.tl-fields-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.tl-fields-grid input[type="checkbox"] {
    display: none;
}

.tl-fields-grid label {
    display: flex;
    gap: 5px;
    align-items: center;
    color: #535353;
    border: 1px solid #AAAAAC;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    font-size: 0.825rem;
    transition: background-color .2s, border-color .2s;
}

.tl-fields-grid label:has(input:checked) {
    background-color: #F3E7FD;
    border-color: #9E6CBB;
}

.tl-fields-grid img.footer-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}


.tl-therapist-sns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
    margin-top: 10px;
    align-items: center;
}

.tl-therapist-sns .tl-sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tl-therapist-sns .tl-sns-icon-img {
    width: 100%;
    max-width: 25px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.tl-therapist-meta {
    font-size: 10px;
}

select#tl_custom_items_user {
    width: 50%;
    padding: 0.75rem 2.5rem 0.75rem 1.1rem;
    background-color: #F5F5F5;
    color: #535353;
    border: 1px solid #D0D0D0;
    border-radius: 1.5625rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23888888' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

select#tl_custom_items_user:focus {
    border-color: #9E6CBB;
    box-shadow: 0 0 0 2px rgba(125, 64, 160, 0.16);
    outline: none;
    background-color: #fff;
}

#tl-custom-items-editor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 95%;;
}

.tl-ci-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    border: 1px dashed #AAAAAC;
    border-radius: 10px;
    width: 100%;
}

.url-field__label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    color: #535353;
}

#tl-custom-items-editor .tl-ci-label,
#tl-custom-items-editor .tl-ci-value {
    width: 100%;
    box-sizing: border-box;
    background-color: #F7F7FA;
    border: 1px solid #E0E0E5;
    border-radius: 0.75rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    color: #535353;
    outline: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

#tl-custom-items-editor .tl-ci-label:focus,
#tl-custom-items-editor .tl-ci-value:focus {
    background-color: #FFFFFF;
    border-color: #7D40A0;
    box-shadow: 0 0 0 2px rgba(125, 64, 160, 0.16);
    transform: translateY(-1px);
}

#tl-custom-items-editor .tl-ci-value {
    resize: none;
    min-height: 3rem;
}

.tl-ci-row > div {
    width: 100%;
    margin-bottom: 0.5rem;
}

.tl-ci-row > div:last-child {
    margin-bottom: 0;
}

.tl-ci-remove-content {
    align-self: flex-end;
    width: auto !important;
}

.tl-ci-remove {
    background-color: #fff;
    color: #AAAAAC;
    text-align: center;
    cursor: pointer;
    display: block;
    border-radius: 6.25rem;
    font-size: 0.875rem;
    height: 1.875rem;
    width: 7.5rem;
    border: solid 1px #AAAAAC    
}

.tl-ci-add-row-footer {
    position: relative;
    height: 40px;
    width: 95%;;
}

.tl-ci-add-row-footer::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #AAAAAC;
    transform: translateY(-50%);
    z-index: 0;
}

#tl-ci-add-row {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #7D40A0;
    color: #fff;
    font-size: 14px;
    border: solid 1px #7D40A0;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 120px;
    height: 30px;
    gap: 5px;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.ci-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5px;
    flex-wrap: wrap;
    text-align: left;
}

.ci-val {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
    white-space: pre-wrap;
}

.all-left,
.main-left,
.age-auth-left {
  height: 100% !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin-top: -40px;
  padding-inline: 1.25rem;
}

.all-right,
.main-right,
.age-auth-right {
  position: sticky;
  top: 0;
  align-self: stretch;
  background: #AAAAAC;
  height: 100% !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; 
  margin-top: -40px; 
  padding-inline: 1.25rem;
}

.ps-preview-content {
  position: absolute;
  top: 48px;
  bottom: 60px;
  left: 0;
  right: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-inline: 10px;
  scrollbar-width: thin;
}

.ps-store-menu {
    font-size: 12px;
    color: #535353;
    margin-top: 20px;
}



.ps-store-menu .ps-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.ps-table.ps-table-courses th:nth-child(1),
.ps-table.ps-table-courses td:nth-child(1) {
    width: 50%;
}

.ps-table.ps-table-courses th:nth-child(2),
.ps-table.ps-table-courses td:nth-child(2) {
    width: 20%;
}

.ps-table.ps-table-courses th:nth-child(3),
.ps-table.ps-table-courses td:nth-child(3) {
    width: 30%;
}

.ps-table.ps-table-transports th:nth-child(1),
.ps-table.ps-table-transports td:nth-child(1),
.ps-table.ps-table-options th:nth-child(1),
.ps-table.ps-table-options td:nth-child(1),
.ps-table.ps-table-designations th:nth-child(1),
.ps-table.ps-table-designations td:nth-child(1) {
    width: 70%;
}

.ps-table.ps-table-transports th:nth-child(2),
.ps-table.ps-table-transports td:nth-child(2),
.ps-table.ps-table-options th:nth-child(2),
.ps-table.ps-table-options td:nth-child(2),
.ps-table.ps-table-designations th:nth-child(2),
.ps-table.ps-table-designations td:nth-child(2) {
    width: 30%;
}

.ps-store-menu .ps-head {
    padding: 8px 5px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #AAAAAC;
    box-sizing: border-box;
    font-weight: 500;
}


.ps-store-menu .ps-row {}
.ps-store-menu .ps-cell {
    padding: 8px 5px;
    font-size: 12px;
    color: #535353;
    background-color: #fafafa;
    border: 1px solid #AAAAAC;
    vertical-align: middle;
    word-break: break-all;
    box-sizing: border-box;
    font-weight: 500;
}


.ps-store-menu .ps-course-price,
.ps-store-menu .ps-option-price,
.ps-store-menu .ps-designation-price,
.ps-store-menu .ps-transport-price {
    text-align: right;
    white-space: nowrap;
}

.ps-store-menu .ps-course-duration {
    text-align: center;
    white-space: nowrap;
}

.ps-store-menu .ps-text {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: #535353;
    word-break: break-word;
    padding: 10px 12px;
    border-radius: 10px;
    background-color: #F5F5F5;
    box-sizing: border-box;
}

.ps-store-menu .ps-block {
    margin-bottom: 20px;
    padding: 10px 10px 12px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #AAAAAC;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ps-store-menu .ps-block-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: #F15B5B;
}

.ps-store-menu .ps-empty {
    padding: 16px 10px;
    font-size: 12px;
    text-align: center;
    color: #AAAAAC;
}

.ps-store-menu .ps-payment-note {
  font-size: 12px;
  color: #535353;
  margin-top: 5px;
}

.ps-store-menu .ps-payment-logos {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.ps-store-menu .ps-payment-logo-img {
  display: block;
  height: auto;
  width: 30px;
}

.ps-store-menu .ps-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  text-align: center;
  margin: 5px 3px;
}

.ps-store-menu .ps-payment-item-label {
  font-size: 10px;
  color: #535353;
  margin-top: 3px;
  line-height: 1.2;
  word-break: keep-all;
}

.faq-preview-content {
  position: absolute;
  top: 48px;
  bottom: 60px;
  left: 0;
  right: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-inline: 10px;
  scrollbar-width: thin;
}

.faq-list {
    font-size: 12px;
    margin-top: 20px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.faq-item {
    padding: 10px 5px 10px;
    border-radius: 10px;
    background: #fff;
}

.faq-q {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 600;

    display: flex;
    align-items: flex-start;
}

.faq-q::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 1.6rem;
    height: 1.6rem;
    margin-right: 8px;

    border-radius: 999px;
    border: 1px solid currentColor;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-a {
    white-space: normal;
    line-height: 1.6;
    font-size: 12px;
    margin-left: calc(1.6rem + 8px);
}

.faq-empty {
    padding: 16px 10px;
    font-size: 12px;
    text-align: center;
    color: #AAAAAC;
}

#faq-sortable {
    display: table;
    width: 95%;
    border-collapse: collapse;
}

.faq-sort-row {
    display: table-row;
    background:#fff;
    border-bottom:1px solid #AAAAAC;
}

.faq-sort-empty {
    padding: 14px 10px;
    font-size: 12px;
    text-align: center;
    color: #AAAAAC;
}

.faq-sort-row.is-active {
    background-color: #F3E7FD;
}

.faq-col-handle,
.faq-col-title {
    display: table-cell;
    padding: 10px 10px 10px 8px;
    vertical-align: middle;
}

.faq-drag-handle {
    font-size: 16px;
    color: #bdbdbd;
    cursor: grab;
    margin-right: 8px;
    user-select: none;
    width: 32px;
}

.faq-col-title {
    font-size: 12px;
    color: #535353;
    line-height: 1.3;
}

.faq-sort-ghost {
    opacity: 0.4;
}

.faq-sort-chosen {
    background-color: #9E6CBB !important;
}

#faq-items-editor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 95%;
}

.faq-items-editor-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    border: 1px dashed #AAAAAC;
    border-radius: 10px;
    width: 100%;
}

.faq-items-editor-content > div {
    width: 100%;
    margin-bottom: 0.5rem;
}

.faq-items-editor-content > div:last-child {
    margin-bottom: 0;
}

.faq-items-remove-content {
    align-self: flex-end;
    width: auto !important;
}

.faq-items-editor-content textarea {
    width: 100%;
    box-sizing: border-box;
    background-color: #F7F7FA;
    border: 1px solid #E0E0E5;
    border-radius: 0.75rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    color: #535353;
    outline: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

.faq-items-editor-content textarea:focus {
    background-color: #FFFFFF;
    border-color: #7D40A0;
    box-shadow: 0 0 0 2px rgba(125, 64, 160, 0.16);
    transform: translateY(-1px);
}

#faq-delete {
    background-color: #fff;
    color: #AAAAAC;
    text-align: center;
    cursor: pointer;
    display: block;
    border-radius: 6.25rem;
    font-size: 0.875rem;
    height: 1.875rem;
    width: 7.5rem;
    border: solid 1px #AAAAAC    
}

.faq-items-editor-footer {
    position: relative;
    height: 40px;
    width: 95%;
}

.faq-items-editor-footer::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #AAAAAC;
    transform: translateY(-50%);
    z-index: 0;
}

#faq-new {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #7D40A0;
    color: #fff;
    font-size: 14px;
    border: solid 1px #7D40A0;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 120px;
    height: 30px;
    gap: 5px;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.news-preview-content {
  position: absolute;
  top: 48px;
  bottom: 60px;
  left: 0;
  right: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-inline: 10px;
  scrollbar-width: thin;
}

.news-list {
    font-size: 12px;
    margin-top: 20px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-empty {
  text-align: center;
  color: #AAAAAC;
  padding: 40px 0;
  font-size: 14px;
}

.news-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.news-meta {
  font-size: 12px;
  color: #535353;
  margin-bottom: 5px;
}

.news-title {
  font-size: 14px;
  color: #535353;
  margin-bottom: 5px;
  line-height: 1.4;
}

.news-body {
  font-size: 12px;
  line-height: 1.6;
  color: #535353;
  white-space: normal;
  word-break: break-word;
}

.news-body .wp-block-video,
.news-body .wp-video {
  margin: 10px 0;
  width: 100% !important;
  max-width: 100% !important;
}

.news-body video {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}


.news-sortable-list {
    display: table;
    width: 95%;
    border-collapse: collapse;
}

.news-sort-row {
    display: table-row;
    background:#fff;
    border-bottom:1px solid #AAAAAC;
}

.news-sort-row.is-active {
    background-color: #F3E7FD;
}

.news-col-main,
.news-col-sub {
    display: table-cell;
    padding: 10px 10px 10px 8px;
    vertical-align: middle;
    color: #535353;
}

.news-col-main {
    font-size: 12px;
}

.news-col-sub {
    font-size: 10px;
    width: 100px;
}

#news-items-editor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 95%;;
}

.news-items-editor-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    border: 1px dashed #AAAAAC;
    border-radius: 10px;
    width: 100%;
}

.news-items-editor-content > div {
    width: 100%;
    margin-bottom: 0.5rem;
}

.news-items-editor-content > div:last-child {
    margin-bottom: 0;
}

.news-items-editor-content textarea {
    width: 100%;
    box-sizing: border-box;
    background-color: #F7F7FA;
    border: 1px solid #E0E0E5;
    border-radius: 0.75rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    color: #535353;
    outline: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

.news-items-editor-content textarea:focus {
    background-color: #FFFFFF;
    border-color: #7D40A0;
    box-shadow: 0 0 0 2px rgba(125, 64, 160, 0.16);
    transform: translateY(-1px);
}

.news-items-remove-content {
    align-self: flex-end;
    width: auto !important;
}

#news-delete {
    background-color: #fff;
    color: #AAAAAC;
    text-align: center;
    cursor: pointer;
    display: block;
    border-radius: 6.25rem;
    font-size: 0.875rem;
    height: 1.875rem;
    width: 9rem;
    border: solid 1px #AAAAAC    
}

.news-items-editor-footer {
    position: relative;
    height: 40px;
    width: 95%;;
}

.news-items-editor-footer::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #AAAAAC;
    transform: translateY(-50%);
    z-index: 0;
}

#news-new {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #7D40A0;
    color: #fff;
    font-size: 14px;
    border: solid 1px #7D40A0;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 140px;
    height: 30px;
    gap: 5px;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* 出勤情報 */
.schedule-preview-content {
    position: absolute;
    top: 48px;
    bottom: 60px;
    left: 0;
    right: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-inline: 10px;
    scrollbar-width: thin;
}

.sch-therapist-block {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    margin-top: 20px;
}

.sch-therapist-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.sch-photo-wrap { 
    width: 80px; 
}

.sch-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.sch-header-main { 
    flex: 1; 
}

.sch-name { 
    font-size: 16px; 
}

.sch-table-wrap { 
    overflow-x: hidden; 
}

.sch-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sch-table th,
.sch-table td {
    border: 1px solid #AAAAAC;
    text-align: center;
    padding: 6px 2px;
    font-size: 12px;
}

.sch-table th { 
    background: #F5F5F5; 
}

.sch-slot-inner {
    min-height: 32px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}







/* ----------------------------------------------------------------------------------- */
/* 年齢認証 */

.age-verification-page {
    min-width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    color: #535353;
    font-size: 1rem;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .25s ease;
    position: relative;
}

.age-verification-page.is-bg-ready {
    opacity: 1;
}

.age-verification-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.age-verification-stack {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.age-verification-button {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.age-verification-note {
    text-align: center;
    font-size: 0.825rem;
    line-height: 1.4;
    width: 90%;
}

/* ----------------------------------------------------------------------------------- */
/* 下層ページ共通 */

.subpage-page {
    position: relative;
    min-width: 100%;
    min-height: 100vh;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    color: #535353;
    font-size: 1rem;
    overflow-x: hidden;
}

.subpage-page.has-bg-image {
}

.subpage-page.has-bg-color {
}

.subpage-bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.subpage-page.has-bg-image .subpage-bg-layer {
    background-image: var(--tp-page-bg-image);
}

.subpage-page.has-bg-color .subpage-bg-layer {
    background-color: var(--tp-page-bg-color);
}

.subpage-inner {
    position: relative;
    min-height: 100vh;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.tp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--tp-header-bg);
    z-index: 10;
}
.tp-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-header-logo {
    height: 32px;
    width: auto;
    display: block;
}

.tp-header-logo--placeholder {
    color: #fff;
    font-size: 14px;
}

.tp-header-right {
    display: flex;
    align-items: center;
}

.tp-hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
}
.tp-hamburger-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tp-hamburger-color);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.tp-hamburger-line:nth-child(1) { top: 0;  }
.tp-hamburger-line:nth-child(2) { top: 8px; }
.tp-hamburger-line:nth-child(3) { top: 16px; }

.subpage-page.is-menu-open .tp-hamburger-line:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}
.subpage-page.is-menu-open .tp-hamburger-line:nth-child(2) {
    opacity: 0;
}
.subpage-page.is-menu-open .tp-hamburger-line:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

.tp-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--tp-footer-bg);
    padding: 10px 14px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.tp-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
}
.tp-footer-btn.is-disabled {
    cursor: default;
    pointer-events: none;
}
.tp-footer-btn-img {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
    display: block;
}

.tp-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
}

.tp-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    transition: opacity .25s ease;
}

.tp-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 600px;
    background: color-mix(in srgb, var(--tp-header-bg) 85%, transparent);
    padding: 0;
    box-sizing: border-box;
    transform: translateX(16px);
    opacity: 0;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition:
        transform .25s ease-out,
        opacity .25s ease-out,
        box-shadow .25s ease-out;           
    overflow: hidden;
}

.tp-nav-scroll {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 16px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.subpage-page.is-menu-open .tp-nav {
    pointer-events: auto;
    opacity: 1;
}
.subpage-page.is-menu-open .tp-nav-overlay {
    opacity: 1;
}
.subpage-page.is-menu-open .tp-nav-panel {
    transform: translateX(0);
    opacity: 1;
}

.tp-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.tp-nav-close::before,
.tp-nav-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--tp-hamburger-color);
    transform-origin: center;
}

.tp-nav-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.tp-nav-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.tp-nav-close:active {
    transform: scale(0.85) rotate(8deg);
    opacity: .7;
}

.tp-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-nav-item + .tp-nav-item {
    margin-top: 20px;
}

.tp-nav-item {
    position: relative;
    margin: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .35s cubic-bezier(.12, .75, .40, 1.2),
                transform .35s cubic-bezier(.12, .75, .40, 1.2);
}

.subpage-page.is-menu-open .tp-nav-item {
    opacity: 1;
    transform: translateX(0);
}

.subpage-page.is-menu-open .tp-nav-item:nth-child(1)  { transition-delay: .03s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(2)  { transition-delay: .06s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(3)  { transition-delay: .09s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(4)  { transition-delay: .12s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(5)  { transition-delay: .15s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(6)  { transition-delay: .18s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(7)  { transition-delay: .21s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(8)  { transition-delay: .24s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(9)  { transition-delay: .27s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(10) { transition-delay: .30s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(11) { transition-delay: .33s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(12) { transition-delay: .36s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(13) { transition-delay: .39s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(14) { transition-delay: .42s; }
.subpage-page.is-menu-open .tp-nav-item:nth-child(15) { transition-delay: .45s; }

.tp-nav-item a {
    position: relative;
    display: block;
    padding: 6px 0 12px 18px;
    color: var(--tp-hamburger-color);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid color-mix(in srgb, var(--tp-hamburger-color) 35%, transparent);
}

.tp-nav-item a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--tp-hamburger-color);
    border-right: 1px solid var(--tp-hamburger-color);
    transform: translateY(-50%) rotate(45deg);
}

.tp-nav-item a::after {
    content: attr(data-en);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    opacity: 0.7;
    font-weight: 400;
    color: var(--tp-hamburger-color);
}

.tp-nav-item a {
    border-bottom: 1px solid color-mix(in srgb, var(--tp-hamburger-color) 35%, transparent);
    padding-bottom: 12px;
}


/* ----------------------------------------------------------------------------------- */
/* トップページ */

.top-page {
    padding-inline: 1.25rem;
    padding-top: 72px;
    padding-bottom: 72px;
}

.top-page .top-sec {
    margin-top: 40px;
    padding-inline: 1.25rem;
}

.top-page .top-sec:first-child {
    margin-top: 0;
}

.top-page .top-sec-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #535353;
    text-align: center;
    border-bottom: solid 1px #535353;
    width: 100%;
    padding-bottom: 0.4em;    
}

.top-page .top-page-gif {
    width: 100%;
    margin: 0 0 40px;
}

.top-page .top-page-gif-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------------------------------------------------------- */
/* トップページ：お知らせ一覧へ */

.top-page .top-news-more {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.top-page .top-news-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #535353;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 6.25rem;
    height: 2.25rem;
    min-width: 12rem;
    padding-inline: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.06s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.top-page .top-news-more-link:hover {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
}

.top-page .top-news-more-link:active {
    transform: translateY(1px);
}



/* ----------------------------------------------------------------------------------- */
/* セラピスト一覧 */

/* コンテンツ */
.therapists-list-page {
    padding-inline: 1.25rem;
    padding-top: 72px;
    padding-bottom: 72px;
}

.sub-tl-therapist-list {
    margin-top: 40px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* カード本体 */
.sub-tl-therapist-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 1rem;
    border-radius: 10px;
}

.sub-tl-therapist-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.sub-tl-therapist-name {
    font-size: 1rem;
}

.sub-tl-therapist-meta {
    font-size: 0.825rem;
}

.sub-tl-therapist-sns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
    margin-top: 10px;
    align-items: center;
}

.sub-tl-therapist-sns .tl-sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-tl-therapist-sns .tl-sns-icon-img {
    width: 100%;
    max-width: 30px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* ----------------------------------------------------------------------------------- */
/* 出勤情報 */

.schedule-page {
    padding-inline: 1.25rem;
    padding-top: 72px;
    padding-bottom: 72px;
}

/* ----------------------------------------------------------------------------------- */
/* 料金システム */

.price-system-page {
    padding-inline: 1.25rem;
    padding-top: 72px;
    padding-bottom: 72px;
}


.sub-ps-store-menu {
    font-size: 1rem;
    color: #535353;
    margin-top: 40px;
}

.sub-ps-store-menu .ps-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.sub-ps-store-menu .ps-head {
    padding: 8px 5px;
    font-size: 1rem;
    text-align: center;
    border: 1px solid #AAAAAC;
    box-sizing: border-box;
    font-weight: 500;
}


.sub-ps-store-menu .ps-row {}
.sub-ps-store-menu .ps-cell {
    padding: 8px 5px;
    font-size: 0.825rem;
    color: #535353;
    background-color: #fafafa;
    border: 1px solid #AAAAAC;
    vertical-align: middle;
    word-break: break-all;
    box-sizing: border-box;
    font-weight: 500;
    text-align: left;
}


.sub-ps-store-menu .ps-course-price,
.sub-ps-store-menu .ps-option-price,
.sub-ps-store-menu .ps-designation-price,
.sub-ps-store-menu .ps-transport-price {
    text-align: right;
    white-space: nowrap;
}

.sub-ps-store-menu .ps-course-duration {
    text-align: center;
    white-space: nowrap;
}

.sub-ps-store-menu .ps-text {
    margin: 6px 0 0;
    font-size: 0.825rem;
    line-height: 1.6;
    color: #535353;
    word-break: break-word;
    padding: 10px 12px;
    border-radius: 10px;
    background-color: #F5F5F5;
    box-sizing: border-box;
}

.sub-ps-store-menu .ps-block {
    margin-bottom: 20px;
    padding: 10px 10px 12px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.sub-ps-store-menu .ps-block-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 500;
    color: #F15B5B;
}

.sub-ps-store-menu .ps-empty {
    padding: 16px 10px;
    font-size: 0.825rem;
    text-align: center;
    color: #AAAAAC;
}

.sub-ps-store-menu .ps-payment-note {
  font-size: 0.825rem;
  color: #535353;
  margin-top: 5px;
}

.sub-ps-store-menu .ps-payment-logos {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.sub-ps-store-menu .ps-payment-logo-img {
  display: block;
  height: auto;
  width: 30px;
}

.sub-ps-store-menu .ps-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  text-align: center;
  margin: 5px 3px;
}

.sub-ps-store-menu .ps-payment-item-label {
  font-size: 0.825rem;
  color: #535353;
  margin-top: 3px;
  line-height: 1.2;
  word-break: keep-all;
}

/* ----------------------------------------------------------------------------------- */
/* よくある質問 */

.faq-page {
    padding-inline: 1.25rem;
    padding-top: 72px;
    padding-bottom: 72px;
}

.sub-faq-list {
    font-size: 1rem;
    margin-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-faq-item {
    padding: 10px 5px 10px;
    border-radius: 10px;
    background: #fff;
}

.sub-faq-q {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 1.05rem;
    font-weight: 600;

    display: flex;
    align-items: flex-start;
}

.sub-faq-q::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 1.6rem;
    height: 1.6rem;
    margin-right: 8px;

    border-radius: 999px;
    border: 1px solid currentColor;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.sub-faq-a {
    white-space: normal;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-left: calc(1.6rem + 8px);
}

.sub-faq-empty {
    padding: 16px 10px;
    font-size: 0.825rem;
    text-align: center;
    color: #AAAAAC;
}

/* ----------------------------------------------------------------------------------- */
/* お知らせ */

.news-page {
    padding-inline: 1.25rem;
    padding-top: 72px;
    padding-bottom: 72px;
}

.sub-news-list {
    font-size: 1rem;
    margin-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-news-empty {
  text-align: center;
  color: #AAAAAC;
  padding: 40px 0;
  font-size: 0.825rem;
}

.sub-news-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.sub-news-meta {
  font-size: 0.825rem;
  color: #535353;
  margin-bottom: 5px;
}

.sub-news-title {
  font-size: 1rem;
  color: #535353;
  margin-bottom: 5px;
  line-height: 1.4;
}

.sub-news-body {
  font-size: 0.825rem;
  line-height: 1.6;
  color: #535353;
  white-space: normal;
  word-break: break-word;
}

.sub-news-body .wp-block-video,
.sub-news-body .wp-video {
  margin: 10px 0;
  width: 100% !important;
  max-width: 100% !important;
}

.sub-news-body video {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

/* ----------------------------------------------------------------------------------- */
/* 問い合わせ */

.contact-page {
    padding-inline: 1.25rem;
    padding-top: 72px;
    padding-bottom: 72px;
    display: flex;
    justify-content: center;
}

.tp-contact-form {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tp-form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.tp-form-row label {
    font-size: 0.875rem;
    color: #535353;
}

.tp-form-row input[type="text"],
.tp-form-row input[type="email"],
.tp-form-row textarea {
    width: 100%;
    box-sizing: border-box;   
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.16);
    color: #535353;
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 12px 12px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.tp-form-row textarea {
    resize: vertical;
    min-height: 200px;
}

/* 送信ボタン */
.tp-form-actions {
    margin-top: 10px;
}

.tp-contact-submit {
    background: #fff;
    border: solid 1px #535353;
    color: #535353;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 auto;
    display: block;
    position: relative;
    border-radius: 6.25rem;
    font-size: 0.875rem;
    height: 1.875rem;
    width: 7.5rem;   
}

.tp-contact-submit:active {
    transform: translateY(1px);
}

.tp-contact-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.tp-contact-result {
    margin-top: 10px;
    font-size: 0.875rem;
    color: #535353;
}

/* ----------------------------------------------------------------------------------- */
/* 写メ日記 */

/* コンテンツ */
.photo-diary-page {
    padding-inline: 1.25rem;
    padding-top: 72px;
    padding-bottom: 72px;
}

.photo-diary-page .tp-note-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.photo-diary-page .tp-note-card{
    display: block;
    text-decoration: none;
    color: inherit;
}

.photo-diary-page .tp-note-thumb{
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0,0,0,0.06);
}

.photo-diary-page .tp-note-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-diary-page .tp-note-meta{
    padding-top: 10px;
}

.photo-diary-page .tp-note-title{
    line-height: 1.4;
    font-size: 1rem;
}

.photo-diary-page .tp-note-date{
    display: block;
    font-size: 0.75rem;
    margin-top: 5px;
}

.photo-diary-page .tp-note-excerpt{
    font-size: 0.875rem;
    margin-top: 10px;
    line-height: 1.6;
}