/* ここからメインコンテンツ */
html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #e3f0d4;
    overflow-x: hidden;
}

.main-content-custom {
    display: block;
    position: relative;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(24px) scale(0.992);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.72s;
    will-change: opacity, transform;
}

.main-content-custom.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0.08s, 0.08s, 0s;
}

@media (prefers-reduced-motion: reduce) {
    .main-content-custom {
        transition: none;
        transform: none;
    }
}

/* スイッチ色変更 */
.form-check-input:checked {
    background-color: #54b11f;
    border: none;
}

.form-check-input:checked::before {
    transform: translateX(1em); 
    border: none;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    margin-bottom: 30px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

h3 {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 600;
    line-height: 1.4;
}
