@charset "UTF-8";

/* ==========================================================================
   Variables (Design Tokens)
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #EE037C;
    /* Pink/Magenta primary */
    --color-secondary: #BFA15F;
    /* Gold accent */
    --color-background: #FAFAFA;
    /* Off-white background */
    --color-surface: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #777777;
    --color-border: #EAEAEA;
    --color-error: #D32F2F;

    /* Typography */
    --font-family-base: 'Noto Sans JP', sans-serif;
    --font-size-base: clamp(14px, 1.5vw, 16px);
    --font-size-lg: clamp(18px, 2vw, 24px);
    --font-size-xl: clamp(24px, 3vw, 36px);
    --font-size-xxl: clamp(32px, 5vw, 64px);
    --line-height-base: 1.8;
    --line-height-heading: 1.4;
    --letter-spacing-base: 0.05em;
    --letter-spacing-heading: 0.1em;

    /* Spacing (Negative Space focus) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 120px;

    /* Layout */
    --content-width: 1024px;
    --header-height: 80px;

    /* Transitions */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    letter-spacing: var(--letter-spacing-base);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-base);
}

a:hover {
    opacity: 0.7;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.u-text-center {
    text-align: center;
}

.u-text-en {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 0.15em;
}

/* ==========================================================================
   Components: Age Verification Gate (index.html)
   ========================================================================== */
.l-gate {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.c-gate-card {
    max-width: 1064px;
    width: 100%;
    background: var(--color-surface);
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .c-gate-card {
        padding: var(--space-lg) var(--space-md);
    }
}

.c-gate-logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background-color: var(--color-primary);
    color: var(--color-surface);
    padding: 12px var(--space-md);
    text-align: center;
    width: 100%;
    margin: 0;
}

.c-gate-main-visual {
    margin-bottom: var(--space-md);
}

.c-gate-main-img {
    max-width: 1000px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.c-gate-banners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.c-gate-banners img {
    max-width: 100%;
    height: auto;
}

.banner__pc {
    margin-bottom: var(--space-lg);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
}

.banner__pc-big {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0;
}

.banner__pc-big li {
    max-width: 468px;
    width: 100%;
}

.banner__pc-big img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.banner__pc-big blockquote {
    margin: 0;
}

.link {
    display: none;
    /* スマホ（768px未満）では非表示 */
}

@media (min-width: 768px) {
    .link {
        display: block;
        /* PC版のみ表示 */
        text-align: left;
        background: #F8F8F8;
        padding: var(--space-md);
        border-radius: 8px;
        margin-bottom: var(--space-md);
        max-width: 640px; /* 横幅を制限 */
        margin-left: auto; /* 中央寄せ */
        margin-right: auto; /* 中央寄せ */
    }
}

.link__text {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: var(--space-sm);
    text-align: center; /* テキストを中央寄せ */
}

.link__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* バナー画像を中央寄せ */
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.link dl {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-xs);
    font-size: 14px;
    background: var(--color-surface);
    padding: var(--space-sm);
    border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .link dl {
        grid-template-columns: 120px 1fr;
    }
}

.link dt {
    font-weight: bold;
    color: var(--color-primary);
}

.link dd {
    margin: 0;
    word-break: break-all;
}

.c-gate-text {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.c-gate-icon {
    margin-bottom: var(--space-md);
}

.c-gate-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .c-gate-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 var(--space-md);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-heading);
    border-radius: 4px;
    transition: all var(--transition-base);
    width: 100%;
}

@media (min-width: 768px) {
    .c-btn {
        width: 240px;
    }
}

.c-btn--primary {
    background-color: var(--color-primary);
    color: var(--color-surface);
}

.c-btn--primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.c-btn:disabled {
    background-color: #ccc !important;
    color: #fff !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    border-color: #ccc !important;
}

.c-btn--outline {
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
}

.c-btn--outline:hover {
    background-color: var(--color-border);
}

.c-btn--gate-action {
    background-color: #FF85BB;
    /* フラットな明るいピンク */
    border: 4px solid var(--color-primary);
    /* メインカラーの枠線 */
    border-radius: 12px;
    color: var(--color-surface);
    padding: 8px 16px;
    min-height: 72px;
    width: 100%;
    gap: 10px;
}

@media (min-width: 768px) {
    .c-btn--gate-action {
        width: 280px;
        /* gate-card用少し大きめ */
    }
}

.c-btn--gate-action:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.c-btn-icon {
    flex-shrink: 0;
}

.c-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.c-btn-sub {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.c-btn-main {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.1em;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.c-gate-footer {
    margin-top: var(--space-lg);
    font-size: 12px;
    color: var(--color-text-light);
    padding: var(--space-md);
}

@media (min-width: 768px) {
    .c-gate-footer {
        padding: var(--space-lg) var(--space-md);
    }
}

/* ==========================================================================
   Layout: Header / Footer
   ========================================================================== */
.l-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.l-header__title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background-color: var(--color-primary);
    color: var(--color-surface);
    padding: 12px 16px;
    text-align: left;
    margin: 0;
}

@media (min-width: 1024px) {
    .l-header__title {
        text-align: center;
    }
}

.l-header__title a {
    color: inherit;
    text-decoration: none;
}

/* Phone popup overlay */
.p-phone-popup__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.p-phone-popup__overlay.is-active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 1024px) {
    .p-phone-popup__overlay {
        display: none;
    }
}

.p-phone-popup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px;
    background-color: #fff;
    width: 90%;
    max-width: 360px;
    border-radius: 8px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -45%);
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.p-phone-popup.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.c-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    padding: 8px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.3s;
}

.c-popup-close:hover {
    color: #333;
}

@media (min-width: 1024px) {
    .c-popup-close {
        display: none;
    }
}

@media (min-width: 768px) {
    .p-phone-popup {
        flex-direction: row;
        align-items: center;
        max-width: 600px;
        gap: var(--space-xl);
    }
}

@media (min-width: 1024px) {
    .p-phone-popup {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        width: 100%;
        max-width: none;
        padding: var(--space-sm) var(--space-md);
        margin: 0;
        border-radius: 0;
        border-right: none;
        border-bottom: none;
        border-top: 4px solid var(--color-primary);
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        justify-content: center;
        z-index: 100;
        background-color: rgba(255, 255, 255, 0.95);
    }
}

.p-phone-popup__text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

.p-phone-popup__tel {
    margin-top: 16px;
}

@media (min-width: 768px) {
    .p-phone-popup__tel {
        margin-top: 0;
    }
}

.c-btn-tel {
    display: flex;
    align-items: baseline;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 28px;
    font-weight: 900;
    font-family: serif;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.c-btn-tel span {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-family-base);
    margin-right: 4px;
}

@media (min-width: 768px) {
    .c-btn-tel {
        font-size: 36px;
        padding: 12px 32px;
        width: auto;
    }
}

/* Phone Button (Mobile) */
.c-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    position: absolute;
    top: 12px;
    right: 56px;
    z-index: 101;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--color-surface);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .c-phone-btn {
        display: none;
    }
}

/* Hamburger (Mobile) */
.c-hamburger {
    display: block;
    width: 32px;
    height: 24px;
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 101;
}

@media (min-width: 1024px) {
    .c-hamburger {
        display: none;
    }
}

.c-hamburger__line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-surface);
    transition: all var(--transition-base);
    left: 0;
}

.c-hamburger__line:nth-child(1) {
    top: 0;
}

.c-hamburger__line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.c-hamburger__line:nth-child(3) {
    bottom: 0;
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line {
    background-color: var(--color-primary);
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(2) {
    opacity: 0;
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu overlay (Up to Tablet) */
.l-global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-surface);
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.l-global-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.l-global-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    width: 100%;
}

.l-global-nav li {
    margin-bottom: var(--space-md);
}

.l-global-nav a {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: var(--letter-spacing-heading);
    display: block;
}

/* PC Menu (1024px and above) */
@media (min-width: 1024px) {
    .l-global-nav {
        position: static;
        height: auto;
        background-color: #333;
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .l-global-nav ul {
        display: flex;
        justify-content: center;
        max-width: var(--content-width);
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .l-global-nav li {
        margin-bottom: 0;
        flex-grow: 1;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .l-global-nav li:last-child {
        border-right: none;
    }

    .l-global-nav a {
        font-size: 14px;
        color: #fff;
        padding: 16px 8px;
        letter-spacing: normal;
    }

    .l-global-nav a:hover {
        background-color: var(--color-primary);
        color: #fff;
        opacity: 1;
    }
}

/* Footer */
.l-footer {
    background-color: #333;
    color: var(--color-surface);
    padding: var(--space-xl) var(--space-md) var(--space-md);
}

@media (min-width: 1024px) {
    .l-footer {
        padding-bottom: 240px;
        /* 下部固定のl-header__infoと被らないための余白 */
    }
}

.l-footer__inner {
    max-width: var(--content-width);
    margin: 0 auto;
    text-align: center;
}

.l-footer__copy {
    margin-top: var(--space-lg);
    font-size: 12px;
    color: #fff;
}

/* ==========================================================================
   Pages: Top (top.html)
   ========================================================================== */
.p-main {
    padding: 80px 16px 0;
    max-width: 1024px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .p-main {
        padding-top: 154px;
        /* ヘッダー約90px + 64px */
    }
}

.p-main>section {
    margin-bottom: 32px;
}

@media (min-width: 1024px) {
    .p-main>section {
        margin-bottom: 64px;
    }
}

/* 外部ウィジェット群 (.other) */
.other {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
    margin-bottom: 32px;
    justify-items: center;
}

@media (min-width: 768px) {
    .other {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 64px;
        margin-bottom: 64px;
    }
}

@media (min-width: 1024px) {
    .other {
        grid-template-columns: repeat(3, 1fr);
    }
}

.other iframe {
    width: 100% !important;
    max-width: 320px !important;
    height: 376px !important;
    border: none !important;
    background-color: var(--color-surface);
    border-radius: 8px;
}


.p-hero {
    height: clamp(500px, 80vh, 800px);
    background-color: #EFEFEF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* placeholder img box */
.p-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* background-image: url('../images/hero-bg.webp'); */
}

.p-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--space-md);
}

.p-hero__title {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-heading);
    line-height: var(--line-height-heading);
    margin-bottom: var(--space-md);
}

.p-section {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--content-width);
    margin: 0 auto;
}

.c-section-header {
    margin-bottom: var(--space-lg);
}

.c-section-header--center {
    text-align: center;
}

.c-section-header--left {
    text-align: left;
}

.c-section-header__title,
.title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    background-color: #000;
    color: #fff;
    padding: 12px 16px;
    border-bottom: 4px solid var(--color-primary);
    margin-bottom: 0;
}

.c-section-header__subtitle {
    font-size: 12px;
    color: var(--color-secondary);
    letter-spacing: 0.2em;
    margin-top: var(--space-xs);
    display: block;
}

.p-about {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.p-about__text {
    margin-bottom: var(--space-md);
}

.p-cta {
    background-color: #F8F8F8;
    border-top: 1px solid var(--color-border);
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.c-btn--large {
    min-height: 80px;
    padding: 0 var(--space-lg);
    font-size: var(--font-size-lg);
    border-radius: 40px;
    background-color: var(--color-primary);
    color: var(--color-surface);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.c-btn--large:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Pages: Survey (enquete.html)
   ========================================================================== */
.p-survey {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0;
}

.p-survey__message {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) var(--space-md);
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* ピンクの背景アクセント（画像のエフェクトをCSSで簡易再現） */
.p-survey__message::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 140px;
    background: radial-gradient(ellipse at center, rgba(255, 153, 204, 0.3) 0%, rgba(255, 153, 204, 0) 70%);
    z-index: 0;
    pointer-events: none;
}



.p-survey__message-main {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: 900;
    color: #003399; /* 画像の濃い青を再現 */
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff, 3px 3px 5px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .p-survey__message-main {
        font-size: 36px;
    }
    .p-survey__message-main br {
        display: none;
    }
}

.p-survey__message-accent {
    font-size: 1.2em;
    vertical-align: text-bottom;
}

.p-survey__message-sub {
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--color-text);
    text-align: center;
}

.c-form {
    background-color: var(--color-surface);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
    .c-form {
        padding: var(--space-md);
    }
}

.c-form-group {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-base);
}

.c-form-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.c-form-group.is-focused {
    background-color: rgba(240, 240, 240, 0.4);
    border-radius: 8px;
    margin-left: calc(var(--space-md) * -1);
    margin-right: calc(var(--space-md) * -1);
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.c-form-label {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.c-form-required {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    background-color: var(--color-error);
    color: var(--color-surface);
    border-radius: 4px;
    margin-left: var(--space-xs);
    vertical-align: middle;
}

/* Custom Radio & Checkbox Container */
.c-form-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* Modern Input Fields */
.c-input {
    width: 100%;
    padding: 16px;
    font-size: var(--font-size-base);
    font-family: inherit;
    color: var(--color-text);
    background-color: #F9F9F9;
    border: 1px solid var(--color-text);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.c-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-surface);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

textarea.c-input {
    resize: vertical;
    min-height: 160px;
}

/* Select Wrapper */
.c-select-wrapper {
    position: relative;
    width: 100%;
}

.c-select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

select.c-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 48px;
    cursor: pointer;
}

/* Custom Radio / Checkbox buttons (Large tap targets) */
.c-option-label {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--color-text);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 500;
}

.c-option-label:hover {
    background-color: #F9F9F9;
}

.c-option-input {
    /* Visually hide original input */
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.c-option-custom {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-text);
    margin-right: var(--space-sm);
    transition: all var(--transition-base);
}

.c-option-input[type="radio"]~.c-option-custom {
    border-radius: 50%;
}

.c-option-input[type="checkbox"]~.c-option-custom {
    border-radius: 4px;
}

/* Checked state styling */
.c-option-label:has(.c-option-input:checked) {
    border-color: var(--color-primary);
    background-color: rgba(238, 3, 124, 0.05); /* --color-primary の薄い背景 */
}

.c-option-input:checked ~ .c-option-custom {
    border-color: var(--color-primary);
}

.c-option-input[type="radio"]:checked ~ .c-option-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.c-option-input[type="checkbox"]:checked ~ .c-option-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 7px;
    width: 6px;
    height: 12px;
    border: solid var(--color-primary);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Focus indication for accessibility */
.c-option-input:focus-visible+.c-option-label {
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.2);
}

.c-form-options--grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .c-form-options--grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Survey specific styles */
.p-survey__heading {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    background-color: #000;
    color: #fff;
    padding: 12px 16px;
    border-bottom: 4px solid var(--color-primary);
    margin-top: 48px;
    margin-bottom: 24px;
}

.p-survey__desc {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
    background-color: #fce4e4;
    padding: 12px;
    border-radius: 4px;
}

.p-survey__date-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .p-survey__date-inputs {
        flex-direction: row;
    }
}

.p-survey__date-inputs .c-select-wrapper {
    flex: 1;
}

.p-survey__other-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.p-survey__other-input span {
    white-space: nowrap;
    font-weight: 700;
}

.p-survey__quality-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 160px;
}

.js-quality-input {
    text-align: right;
}

.p-survey__submit {
    text-align: center;
    margin-top: var(--space-lg);
}

.c-btn--submit {
    width: 100%;
    max-width: 400px;
    min-height: 64px;
    font-size: var(--font-size-lg);
    border-radius: 8px;
}