html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #1f252b;
    background: #ffffff;
    line-height: 1.8;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
iframe {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

body.is-site-loading {
    overflow: hidden;
}

.site-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: #1f252b;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

body.is-site-loading .site-loading-screen {
    display: flex;
}

.site-loading-card {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
}

.site-loading-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e4e8ed;
    border-top-color: #ef3333;
    border-radius: 50%;
    animation: site-loading-spin 0.8s linear infinite;
}

.site-loading-text {
    margin: 0;
    color: #29323b;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.6;
}

@keyframes site-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #edf0f3;
    box-shadow: 0 6px 24px rgba(20, 30, 40, 0.04);
    backdrop-filter: blur(12px);
}

.header-inner {
    width: min(100%, 1200px);
    min-height: 96px;
    margin: 0 auto;
    padding: 18px 28px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}

.brand-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    line-height: 1;
    letter-spacing: 0;
    color: #171b20;
    white-space: nowrap;
}

.brand-copy {
    color: #1f252b;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    color: #22272d;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.nav a {
    position: relative;
    padding: 8px 0;
}

.nav a.is-active {
    color: #ef3333;
}

.nav a.is-active::before {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: 0;
    height: 2px;
    background: #ef3333;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.header-actions.is-logged-in {
    gap: 0;
}

.header-button {
    min-height: 46px;
    border-radius: 8px;
    border: 1px solid #c9ced4;
    background: #ffffff;
    color: #22272d;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.header-button.is-primary {
    border-color: #ef3333;
    background: #ef3333;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(239, 51, 51, 0.22);
}

.header-button.is-logout {
    border-color: #ef3333;
    color: #ef3333;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    background: #f7fafc;
    border-bottom: 1px solid #edf0f3;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 43%, rgba(255, 255, 255, 0.56) 70%, rgba(255, 255, 255, 0.86) 100%),
        radial-gradient(circle at 82% 50%, rgba(225, 235, 245, 0.85), rgba(225, 235, 245, 0) 38%);
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(58vw, 720px);
    background-image: url(../../img/bg.webp);
    background-position: center;
    background-size: cover;
    opacity: 0.52;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 62px 28px 72px;
}

.hero-text {
    max-width: 680px;
}

.hero h1 {
    margin: 0 0 28px;
    color: #1c232a;
    font-size: 42px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0;
}

.hero p {
    margin: 0 0 12px;
    color: #252b31;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.page {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 56px 28px 64px;
}

.status-message {
    margin: 0 0 22px;
    color: #5b6570;
    font-size: 14px;
    font-weight: 600;
}

.status-message:empty {
    display: none;
}

.home-main {
    background: #ffffff;
}

.home-hero {
    min-height: 520px;
    background: #eef4f8;
    padding: 0;
}

.home-hero::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.26) 74%, rgba(255, 255, 255, 0.7) 100%);
}

.home-hero::after {
    display: none;
}

.home-hero .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    padding: 0;
}

.home-hero .hero-media {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.home-hero .hero-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.home-hero .hero-text {
    max-width: none;
    padding: 28px 28px 36px;
}

.home-hero h1 {
    font-size: 30px;
    line-height: 1.28;
}

.home-hero p {
    font-size: 17px;
}

.home-section {
    padding: 72px 28px;
}

.home-section.is-muted {
    background: #f6f8fb;
}

.home-section.is-compact {
    padding-top: 52px;
    padding-bottom: 52px;
}

.home-section-inner {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.home-section-head {
    margin: 0 0 34px;
}

.home-kicker {
    margin: 0 0 8px;
    color: #ef3333;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-heading {
    margin: 0;
    color: #171d23;
    font-size: 32px;
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: 0;
}

.opmovie{
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.message-stack {
    display: grid;
    gap: 5rem;
}

.message-block {
    display: grid;
    grid-template-columns: minmax(260px, 36%) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.message-block.is-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 36%);
}

.message-block.is-reverse .message-photo {
    order: 2;
}

.message-photo {
    overflow: hidden;
    border-radius: 8px;
    background: #dfe7ee;
    aspect-ratio: 3 / 2;
    box-shadow: 0 16px 34px rgba(20, 30, 40, 0.12);
}

.message-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.message-copy {
    color: #29323b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.message-copy p {
    margin: 0 0 16px;
}

.message-copy p:last-child {
    margin-bottom: 0;
}

.step-list {
    display: grid;
    gap: 22px;
}

.step-block {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 24px;
    padding: 30px;
    border: 1px solid #e1e6eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(20, 30, 40, 0.04);
}

.step-block.step_img p{
    grid-column: 1 / -1; 
    width: 100%;
}

.step-block.step_img p img {
    display: block;
    width: 100%;
    height: auto;
}

.step-label {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #176ea7;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.step-title {
    margin: 0 0 16px;
    color: #171d23;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.step-lead {
    margin: 0 0 14px;
    padding-left: 14px;
    border-left: 4px solid #4ca3dd;
    color: #26313b;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;
}

div:has(.step-note) {
    margin-bottom: 2em;
}

.step-note {
    display: inline-block;
    margin: 0 2em 14px 0;
    padding: 3px 12px;
    border: 1px solid #1f252b;
    color: #1f252b;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    float: left;
}

.step-note + p a {
    font-size: 0.8em;
    color:#ef3333;
    text-decoration: underline;
}

.home-list {
    margin: 0;
    padding-left: 1.3em;
    color: #29323b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

.home-list + p{
    margin-top: 1.5em;
}

.schedule-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px 20px;
    align-items: start;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #dde4ea;
    border-radius: 8px;
    background: #f8fbfd;
}

.schedule-box img {
    width: 42px;
    height: 42px;
}

.schedule-title {
    margin: 0 0 10px;
    color: #171d23;
    font-size: 18px;
    font-weight: 900;
}

.schedule-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.schedule-dates li {
    padding: 5px 10px;
    border-radius: 6px;
    background: #ffffff;
    color: #29323b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.signup-strip {
    display: grid;
    grid-template-columns: minmax(240px, 42%) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.signup-strip-image {
    overflow: hidden;
    border-radius: 8px;
    background: #dfe7ee;
    aspect-ratio: 2 / 1;
}

.signup-strip-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.signup-strip h2 {
    margin: 0 0 12px;
    color: #171d23;
    font-size: 30px;
    line-height: 1.4;
    font-weight: 900;
}

.signup-strip p {
    margin: 0 0 14px;
    color: #29323b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

.signup-price {
    color: #ef3333;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
}

.home-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.home-cta {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ef3333;
    border-radius: 8px;
    background: #ef3333;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 10px 20px rgba(239, 51, 51, 0.18);
}

.home-cta.is-secondary {
    border-color: #c9ced4;
    background: #ffffff;
    color: #22272d;
    box-shadow: none;
}

.wide-image {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-item {
    padding: 24px;
    border: 1px solid #e1e6eb;
    border-radius: 8px;
    background: #ffffff;
}

.faq-item h3 {
    margin: 0 0 10px;
    color: #171d23;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 900;
}

.faq-item p {
    margin: 0;
    color: #29323b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.main-col,
.sidebar {
    min-width: 0;
}

.catalog {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    padding: 46px 30px 28px;
    box-shadow: 0 16px 40px rgba(20, 30, 40, 0.04);
}

.card {
    display: grid;
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
    gap: 24px;
    padding: 0 0 34px;
    margin: 0 0 34px;
    border-bottom: 1px solid #e5e8eb;
    min-width: 0;
}

.card:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.card-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #e8eef4;
    aspect-ratio: 16 / 9;
    align-self: start;
    box-shadow: 0 8px 18px rgba(20, 30, 40, 0.12);
}

.card-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-term-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    max-width: calc(100% - 24px);
    border-radius: 999px;
    background: rgba(239, 51, 51, 0.94);
    color: #ffffff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(20, 30, 40, 0.18);
    overflow-wrap: anywhere;
}

.card-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.card-title {
    margin: 0 0 18px;
    color: #171d23;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.card-meta {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    margin: 0 0 6px;
    color: #303942;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
    overflow-wrap: anywhere;
    align-items: center;
}

.meta-icon {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.6px solid #232a31;
    border-radius: 4px;
    color: transparent;
}

.meta-icon.is-date::before {
    content: "";
    width: 9px;
    height: 7px;
    border-top: 2px solid #232a31;
    border-bottom: 2px solid #232a31;
}

.meta-icon.is-note::before {
    content: "";
    width: 8px;
    height: 8px;
    border-left: 2px solid #232a31;
    border-bottom: 2px solid #232a31;
    transform: rotate(-45deg);
}

.card-button,
.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    border: 1.5px solid #ef3333;
    border-radius: 999px;
    background: #ffffff;
    color: #ef3333;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.card-button {
    position: relative;
    width: min(100%, 340px);
    padding-right: 52px;
    padding-left: 52px;
}

.card-button::after {
    content: "›";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
}

.detail-btn::after {
    content: "›";
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
}

.card-button:hover,
.detail-btn:hover {
    background: #ef3333;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(239, 51, 51, 0.18);
}

.card-button.is-play {
    border-color: #178a5a;
    background: #178a5a;
    color: #ffffff;
}
.card-button.is-play:hover {
    box-shadow: 0 10px 18px rgba(57, 164, 79, 0.18);
}
.card-button:disabled,
.detail-btn:disabled,
.header-button:disabled {
    cursor: progress;
    opacity: 0.72;
    transform: none;
}

.signup-panel .detail-btn:disabled {
    border-color: #c9ced4;
    background: #eef1f4 !important; 
    color: #8b939c !important;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.signup-panel .detail-btn:disabled:hover {
    background: #eef1f4;
    color: #8b939c;
    transform: none;
    box-shadow: none;
}

.signup-panel .detail-btn:disabled::after {
    color: #8b939c;
}

.pagination {
    display: flex;
    justify-content: center;
    padding-top: 28px;
}

.pagination span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8dde2;
    border-radius: 8px;
    background: #ffffff;
    color: #1f252b;
    font-weight: 800;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel {
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(20, 30, 40, 0.04);
    overflow-wrap: anywhere;
}

.panel-title {
    margin: 0 0 20px;
    color: #1f252b;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.4;
}

.panel-title::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    margin-top: 10px;
    background: #ef3333;
}

.price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    color: #22272d;
    font-size: 16px;
    font-weight: 900;
}

.price-value {
    color: #ef3333;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0;
}

.price-tax {
    color: #22272d;
    font-size: 13px;
    font-weight: 800;
}

body.is-logged-in .price-panel,
body.is-logged-in .login-note {
    display: none;
}

.feature-list,
.rules-list,
.notice-list,
.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list {
    display: grid;
    gap: 20px;
}

.feature-list li,
.notice-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    color: #29323b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}
.notice-list li {
    font-weight: 400;
}
.feature-list svg {
    font-size: 2.5em;
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #222a31;
    border-radius: 50%;
    color: #222a31;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.feature-icon.is-video {
    border-radius: 8px;
}

.feature-icon.is-video::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #222a31;
    margin-left: 3px;
}

.feature-icon.is-people::before {
    content: "人";
    font-size: 18px;
}

.feature-icon.is-line::before {
    content: "LINE";
}

.feature-icon.is-clock::before {
    content: "";
    width: 17px;
    height: 17px;
    border: 2px solid #222a31;
    border-radius: 50%;
    box-shadow: inset 5px -5px 0 -4px #222a31;
}

.rules-list,
.notice-list {
    display: grid;
    gap: 12px;
}

.rules-list li {
    position: relative;
    padding-left: 24px;
    color: #29323b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
}

.rules-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1f252b;
    font-weight: 900;
}

.notice-list svg {
    font-size: 2em;
}

.signup-panel {
    padding: 24px;
}

.signup-copy {
    margin: 0 0 16px;
    color: #29323b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
}

.signup-panel .detail-btn {
    width: 100%;
    border-color: #ef3333;
    border-radius: 7px;
    background: #ef3333;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(239, 51, 51, 0.18);
}

.signup-button::before {
    content: "+";
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

.signup-button::after {
    content: "";
    display: none;
}

.signup-panel .detail-btn:not(.signup-button) {
    border-radius: 999px;
    background: #ffffff;
    color: #ef3333;
    box-shadow: none;
}

.login-note {
    margin: 14px 0 0;
    color: #59636d;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.login-note a {
    color: #ef3333;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.player {
    margin-top: 24px;
}

.player-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(20, 30, 40, 0.08);
}

.player-box h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.player-box iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 8px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.78);
    z-index: 1000;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-content {
    width: min(960px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: #151a1f;
    color: #ffffff;
}

.modal-title {
    min-width: 0;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.modal-close {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.modal-body {
    flex: 1;
    background: #000000;
}

.modal-body iframe {
    width: 100%;
    height: min(70vh, 540px);
    display: block;
    border: 0;
}

.registration-modal .modal-content,
.withdrawal-modal .modal-content {
    width: min(1020px, calc(100vw - 28px));
    border: 1px solid #e8ecef;
    border-radius: 12px;
    background: #ffffff;
}

.registration-modal .modal-header,
.withdrawal-modal .modal-header {
    background: #ffffff;
    color: #1f252b;
    padding: 22px 28px 16px;
    border-bottom: 1px solid #eef1f3;
}

.registration-modal .modal-title,
.withdrawal-modal .modal-title {
    font-size: 20px;
}

.registration-modal .modal-close,
.withdrawal-modal .modal-close {
    border-radius: 50%;
    color: #1f252b;
    font-size: 26px;
}

.registration-modal .modal-close:hover,
.withdrawal-modal .modal-close:hover {
    background: #f3f5f7;
}

.registration-modal .modal-body,
.withdrawal-modal .modal-body {
    background: #ffffff;
    padding: 30px 34px 36px;
    overflow-y: auto;
}

.info-modal .modal-content {
    width: min(560px, calc(100vw - 28px));
}

.info-modal-message {
    display: grid;
    justify-items: center;
    gap: 12px;
    color: #29323b;
    text-align: center;
}

.info-modal-icon {
    color: #178a5a;
    font-size: 44px;
    line-height: 1;
}

.info-modal-message h2 {
    margin: 0;
    color: #1f252b;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.45;
}

.info-modal-message p {
    margin: 0;
    color: #59636d;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.8;
}

.registration-complete-modal .modal-content {
    width: min(680px, calc(100vw - 28px));
}

.registration-complete-modal .modal-body {
    padding-top: 34px;
}

.registration-complete-message {
    color: #29323b;
    text-align: center;
}

.registration-complete-icon {
    width: 104px;
    height: 104px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 8px solid rgba(6, 199, 85, 0.18);
    border-radius: 50%;
    color: #27bf66;
    font-size: 42px;
    line-height: 1;
}

.registration-complete-message h2 {
    margin: 0 0 22px;
    color: #1f252b;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.45;
}

.registration-complete-copy {
    display: grid;
    gap: 24px;
    font-size: 17px;
    font-weight: 800;
    line-height: 2;
}

.registration-complete-copy p {
    margin: 0;
}

.registration-complete-copy strong {
    color: #22bf62;
    font-size: 18px;
    font-weight: 900;
}

.registration-complete-note {
    padding-top: 24px;
    border-top: 1px dashed #dbe1e6;
}

.registration-complete-actions {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.registration-complete-button {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 8px;
    padding: 14px 22px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.registration-complete-button-label {
    min-width: 0;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    overflow-wrap: anywhere;
}

.registration-complete-button-label .fa-line {
    font-size: 25px;
}

.registration-complete-button.is-line {
    border: 1px solid #06c755;
    background: #06c755;
    color: #ffffff;
}

.registration-complete-button.is-line:hover {
    background: #05b84e;
    border-color: #05b84e;
}

.registration-complete-button.is-mypage {
    border: 1px solid #aeb7c0;
    background: #ffffff;
    color: #1f252b;
}

.registration-complete-button.is-mypage:hover {
    background: #f6f8fa;
    border-color: #87919b;
}

.member-profile-membership-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid #dbe5ec;
    border-radius: 8px;
    background: #f8fbfd;
    color: #29323b;
}

.member-profile-membership-info[hidden] {
    display: none;
}

.member-profile-membership-label {
    color: #59636d;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
}

.member-profile-membership-info strong {
    color: #1f252b;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    text-align: right;
}

.registration-form {
    display: grid;
    gap: 28px;
}

.registration-field {
    display: grid;
    gap: 10px;
    border: 0;
    margin: 0;
    padding: 0;
}

.registration-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #1f252b;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
}

.registration-required {
    color: #ff6b00;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.registration-input {
    width: 100%;
    min-height: 58px;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    background: #f3f3f3;
    color: #1f252b;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    resize: vertical;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.registration-input::placeholder {
    color: #b9b9b9;
    opacity: 1;
}

.registration-input:focus,
.registration-option:focus-within {
    outline: 2px solid rgba(239, 51, 51, 0.18);
    border-color: #ef3333;
    background: #ffffff;
}

.registration-options {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.registration-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    background: #f3f3f3;
    padding: 14px 18px;
    color: #29323b;
    font-size: 15px;
    font-weight: 800;
}

.registration-option input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.registration-message {
    min-height: 1.6em;
    margin: 0;
    color: #ef3333;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}

.registration-help {
    color: #6d7680;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.withdrawal-warning {
    text-align: center;
}

.withdrawal-alert-icon {
    color: #ef3333;
    font-size: 38px;
    line-height: 1;
}

.withdrawal-title {
    margin: 14px 0 16px;
    color: #1f252b;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.45;
}

.withdrawal-lead {
    margin: 0 auto;
    max-width: 860px;
    color: #59636d;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.9;
}

.withdrawal-contact {
    color: #ef3333;
    font-weight: 900;
}

.withdrawal-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(20, 30, 40, 0.06);
    overflow: hidden;
}

.withdrawal-service {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 34px 30px 30px;
    text-align: center;
}

.withdrawal-service + .withdrawal-service {
    border-left: 1px solid #e8ecef;
}

.withdrawal-service-icon {
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff1f1;
    color: #ef3333;
    font-size: 36px;
}

.withdrawal-service-title {
    margin: 0;
    color: #1f252b;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
}

.withdrawal-service-copy {
    margin: 0;
    color: #29323b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.9;
}

.withdrawal-notes {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 28px auto 0;
    padding: 20px 26px;
    border: 1px solid rgba(239, 51, 51, 0.22);
    border-radius: 8px;
    background: #fffafa;
    color: #29323b;
}

.withdrawal-notes-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ef3333;
    border-radius: 50%;
    color: #ef3333;
    font-size: 18px;
}

.withdrawal-notes ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.9;
}

.withdrawal-message {
    min-height: 1.6em;
    margin: 18px 0 0;
    color: #ef3333;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.registration-actions,
.withdrawal-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.registration-submit,
.registration-cancel,
.withdrawal-confirm,
.withdrawal-cancel {
    min-width: 220px;
    min-height: 54px;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
}

.registration-submit,
.withdrawal-confirm {
    border: 1px solid #ef3333;
    background: #ef3333;
    color: #ffffff;
}

.registration-submit::after {
    content: none;
}

.registration-cancel,
.withdrawal-cancel {
    border: 1px solid #aeb7c0;
    background: #ffffff;
    color: #1f252b;
    text-decoration: none;
}

.registration-submit:hover,
.withdrawal-confirm:hover {
    background: #d92727;
    border-color: #d92727;
}

.registration-cancel:hover,
.withdrawal-cancel:hover {
    background: #f6f8fa;
    border-color: #87919b;
}

.site-footer {
    background: linear-gradient(135deg, #252e37, #1f272f);
    color: #ffffff;
}

.footer-inner {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 38px 28px 32px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 34px;
}

.footer-brand {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.footer-brand span{
    font-size : 13px;
}

.footer-copy {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.9;
}

.footer-heading {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 900;
}

.footer-list {
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 400;
}

.socials {
    display: flex;
    gap: 25px;
}

.socials a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 40px;
    font-weight: 900;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 18px 28px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px 20px;
    }

    .brand {
        grid-column: 1 / -1;
        min-width: 0;
        justify-content: center;
    }

    .nav {
        grid-column: 1;
        overflow-x: auto;
        justify-content: flex-end;
        gap: 22px;
        padding-bottom: 2px;
    }

    .header-actions {
        grid-column: 2;
        justify-content: flex-end;
        gap: 10px;
    }

    .header-actions.is-logged-in {
        justify-content: flex-end;
    }

    .header-button {
        min-height: 42px;
        padding: 9px 14px;
        font-size: 13px;
    }

    .home-hero {
        min-height: 460px;
    }

    .home-hero .hero-inner {
        padding-top: 0;
        padding-bottom: 88px;
    }

    .home-hero h1 {
        font-size: 30px;
    }

    .message-block,
    .message-block.is-reverse,
    .signup-strip {
        grid-template-columns: minmax(0, 1fr);
    }

    .message-block.is-reverse .message-photo {
        order: 0;
    }

    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .content {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .signup-panel,
    .notice-panel {
        grid-column: 1 / -1;
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header {
        position: static;
    }

    .header-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 16px;
    }

    .brand,
    .nav,
    .header-actions {
        grid-column: 1;
    }

    .brand-mark {
        font-size: 36px;
    }

    .brand-copy {
        font-size: 13px;
    }

    .nav {
        gap: 18px;
        font-size: 13px;
        justify-content: flex-start;
        width: 100%;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .header-actions.is-logged-in {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-button {
        width: 100%;
        padding: 10px 12px;
    }

    .hero {
        min-height: auto;
    }

    .hero::after {
        width: 100%;
        opacity: 0.18;
    }

    .hero-inner {
        padding: 44px 18px 50px;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .hero p {
        font-size: 14px;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero::after {
        width: 100%;
        opacity: 0.24;
    }

    .home-hero .hero-inner {
        padding: 0 0 64px;
    }

    .home-hero h1 {
        font-size: 20px;
    }

    .page {
        padding: 32px 14px 42px;
    }

    .home-section {
        padding: 46px 16px;
    }

    .home-section.is-compact {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .home-heading {
        font-size: 25px;
    }

    .message-stack {
        gap: 28px;
    }

    .message-block {
        gap: 20px;
    }

    .step-block {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 22px 18px;
    }

    .step-label {
        width: 60px;
        height: 60px;
        font-size: 14px;
    }

    .step-title {
        font-size: 20px;
    }

    .schedule-box {
        grid-template-columns: minmax(0, 1fr);
    }

    .signup-strip {
        gap: 22px;
    }

    .signup-strip h2 {
        font-size: 24px;
    }

    .home-cta-row {
        display: grid;
    }

    .home-cta {
        width: 100%;
    }

    .catalog {
        padding: 18px 14px;
    }

    .card {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding-bottom: 26px;
        margin-bottom: 26px;
    }

    .card-title {
        font-size: 19px;
    }

    .card-button {
        width: 100%;
    }

    .sidebar {
        display: flex;
    }

    .panel {
        padding: 20px;
    }

    .modal-backdrop {
        padding: 10px;
    }

    .modal-content {
        width: 100%;
        max-height: calc(100vh - 20px);
    }

    .modal-body iframe {
        height: 56vw;
        min-height: 210px;
        max-height: calc(100vh - 60px);
    }

    .registration-modal .modal-header,
    .withdrawal-modal .modal-header {
        padding: 18px 18px 14px;
    }

    .registration-modal .modal-body,
    .withdrawal-modal .modal-body {
        padding: 24px 18px 28px;
    }

    .withdrawal-title {
        font-size: 22px;
    }

    .withdrawal-lead {
        font-size: 14px;
    }

    .withdrawal-services {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 24px;
    }

    .withdrawal-service {
        padding: 26px 20px;
    }

    .withdrawal-service + .withdrawal-service {
        border-left: 0;
        border-top: 1px solid #e8ecef;
    }

    .withdrawal-notes {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        padding: 18px;
        text-align: left;
    }

    .registration-actions,
    .withdrawal-actions {
        display: grid;
        gap: 12px;
    }

    .registration-submit,
    .registration-cancel,
    .withdrawal-confirm,
    .withdrawal-cancel {
        width: 100%;
        min-width: 0;
    }

    .registration-complete-message h2 {
        font-size: 24px;
    }

    .registration-complete-copy {
        font-size: 15px;
        line-height: 1.9;
    }

    .registration-complete-button {
        min-height: 56px;
        padding: 13px 16px;
        font-size: 15px;
    }

    .registration-complete-button-label {
        gap: 10px;
    }

    .member-profile-membership-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .member-profile-membership-info strong {
        text-align: left;
    }

    .registration-form {
        gap: 22px;
    }

    .registration-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .registration-label {
        font-size: 15px;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 32px 18px 28px;
    }

    .footer-bottom-inner {
        padding: 16px 18px;
    }
}

@media (max-width: 420px) {
    .header-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .brand {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .hero h1 {
        font-size: 27px;
    }

    .card-meta {
        font-size: 13px;
    }

    .price-value {
        font-size: 30px;
    }
}
