/* ========================================
   LP Style CSS - Figma Design Implementation
   ======================================== */

/* CSS Custom Properties */
:root {
    --primary-color: #e16868;
    --secondary-color: #333;
    --background-color: #fff;
    --light-gray: #f5f5f5;
    --text-color: #333;
    --white: #fff;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

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

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
    width: 100%;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.2;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: var(--border-radius);
}

.skip-link:focus {
    top: 6px;
}

/* Header Styles */
.site-header {
    background: var(--white);
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10004;
    display: flex;
    align-items: center;
    padding: 0 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Ensure page starts from top */
html {
    scroll-behavior: smooth;
}

body {
    padding-top: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 8px;
}

.logo {
    height: 35px;
    width: 100.68px;
    overflow: hidden;
}

.logo img {
    height: 100%;
    width: 180%;
    object-fit: contain;
    object-position: left center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-cta {
    position: static;
}

.header-cta .cta-button.primary {
    width: 130px;
    height: 41px;
    margin-bottom: 0;
    padding: 13px 11px;
}

.cta-button {
    display: inline-block;
    padding: 13px 11px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 確認ページと完了ページのボタン専用スタイル */
.confirm-buttons .cta-button.primary,
.thanks-section .cta-button.primary {
    width: 100% !important;
    margin-bottom: 40px !important;
    padding: 24px !important;
}

.cta-button.primary:hover,
.cta-button.primary:focus {
    background: #d55a5a;
    transform: translateY(-1px);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 8px;
    width: auto;
    height: auto;
}

.menu-toggle {
    position: static;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-line {
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 10005 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    padding: 24px 16px !important;
    -webkit-overflow-scrolling: touch !important;
    will-change: transform !important;
    min-height: 700px;
}

.hamburger-menu[aria-hidden="false"] {
    transform: translateX(0) !important;
    /* Ensure menu is always on top and visible */
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Debug: Always show menu for debugging - remove after fixing */
/* Uncomment the line below to force menu to always be visible */
/* .hamburger-menu { transform: translateX(0) !important; visibility: visible !important; opacity: 1 !important; } */

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-link {
    display: block;
    padding: 16px 0;
    color: #3c3434;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.menu-link:hover,
.menu-link:focus {
    color: #DA6B6B;
    outline: none;
}

.menu-link:active {
    color: #DA6B6B;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* FV Section (First View) */
.fv-section {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Image Display Control */
.sp-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.pc-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Ensure content starts below header */
.main-content {
    margin-top: 0;
}

/* SP/PC Display Control */
.sp-only {
    display: block;
}

.pc-only {
    display: none;
}

/* SP版でPC版のcontent-box-1-innerを確実に非表示 */
@media (max-width: 1023px) {
    .content-box-1-inner.pc-only {
        display: none !important;
    }
}

.pc-right-column {
    display: none;
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* Special Offer Section */
.special-offer-section {
    background: #f5f5f5;
    padding: 24px 17px;
    backdrop-filter: blur(27px);
}

.offer-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 0;
    padding: 16px 21px;
    text-align: center;
    backdrop-filter: blur(27px);
}

.offer-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.offer-main {
    font-weight: 500;
    font-size: 17.97px;
    line-height: 1.495;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 2.9955px;
    margin: 0;
    text-shadow: rgba(255, 255, 255, 0.25) 0px 1.898px 1.898px;
}

/* Achievement Section */
.achievement-section {
    background: #fff;
    padding: 24px 17px;
    backdrop-filter: blur(27px);
}

.achievement-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.achievement-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    text-align: center;
    letter-spacing: 2.1px;
    margin: 0;
    text-shadow: rgba(255, 255, 255, 0.25) 0px 1.898px 1.898px;
}

.award-badges {
    width: 100%;
    display: flex;
    justify-content: center;
}

.badge-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge-item {
    position: relative;
    flex-shrink: 0;
}

.badge-item.badge-2021 {
    width: 90.849px;
    height: 91.698px;
}

.badge-item.badge-2023 {
    width: 84.906px;
    height: 84.906px;
}

.badge-item.badge-2024 {
    width: 85.755px;
    height: 84.906px;
}

.badge-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.achievement-description {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    color: var(--primary-color);
    text-align: left;
    letter-spacing: 1.8px;
    margin: 0;
    text-shadow: rgba(255, 255, 255, 0.25) 0px 1.898px 1.898px;
}

/* CTA Section */
.cta-section {
}

.cta-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 40px 20px;
    background: var(--light-gray);
}

.contact-title {
    text-align: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 32px;
}

.contact-form {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
    font-size: 14px;
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(225, 104, 104, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #f44336;
}

.field-error {
    color: #f44336;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: none;
}

.field-error.show {
    display: block;
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover,
.submit-button:focus {
    background: #d55a5a;
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 32px 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-info p {
    margin-bottom: 8px;
    opacity: 0.8;
    font-size: 14px;
}

/* LP footer override */
.site-footer { background:#fff; color:#000; text-align:left; }
.footer-info p { color:#000; opacity:1; }

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.achievement-section,
.special-offer-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus Styles for Accessibility */
.cta-button:focus,
.submit-button:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* New Service Section */
.new-service-section {
    width: 100%;
    background: #fff;
    overflow-x: hidden;
}

/* Service Header */
.service-header {
    background: #DA6B6B;
    padding: 19px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-height: 205px;
    justify-content: center;
}

.service-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100%;
}

.service-text-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.service-cta-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.service-title {
    font-weight: normal;
    font-size: 16px;
    line-height: 21px;
    color: #fff;
    text-align: center;
    margin: 0;
}

.decorative-line {
    width: 100%;
    max-width: 318px;
    height: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.decorative-line img {
    width: 100%;
    height: 1px;
}

.service-subtitle {
    font-weight: normal;
    font-size: 14px;
    line-height: normal;
    color: #fff;
    text-align: center;
    margin: 0 0 16px 0;
}

.service-cta-box {
    background: #fff;
    padding: 12px 12px;
    border-radius: 0;
    box-shadow: 0px 4px 8px 3px rgba(0,0,0,0.15), 0px 1px 3px 0px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.cta-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.cta-note {
    font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 12px;
    color: #DA6B6B;
    text-align: center;
    margin: 0;
}

.cta-main {
    font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 18px;
    color: #DA6B6B;
    text-align: center;
    margin: 0;
    font-weight: bold;
    letter-spacing: 2.0px;
}

/* Main Images */
.main-image-1 {
    width: 100%;
    aspect-ratio: 750/772;
    overflow: hidden;
}

.main-image-1 .sp-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.main-image-1 .pc-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.main-image-2 {
    width: 100%;
    height: 254px;
    position: relative;
    overflow: hidden;
}

.masked-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.masked-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Content Boxes */
.content-box-1 {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
    width: 100%;
}

.content-box-2 {
    background: #fff;
    padding: 24px 15px;
    border-radius: 8px;
    margin: 0;
    width: 100%;
}

.content-box-1-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.content-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-image-section {
    width: 100%;
    height: 254px;
    overflow: hidden;
    border-radius: 4px;
}

.pc-content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.content-title {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    text-align: center;
    margin: 0 0 12px 0;
    letter-spacing: 2.0px;
}

.decorative-frame {
    position: relative;
    width: 100%;
    height: 77px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decorative-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #DA6B6B;
    opacity: 0.5;
    border-radius: 0;
}

.decorative-frame::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    right: 4px;
    bottom: 5px;
    border: 1px solid #DA6B6B;
    opacity: 0.14;
    border-radius: 0;
}

.main-text {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.8;
    color: #E16868;
    text-align: center;
    letter-spacing: 2.8px;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: rgba(255, 255, 255, 0.25) 0px 1.898px 1.898px;
}

.wecan-image-sp {
    width: 100%;
    margin: 16px 0;
}

.wecan-image-sp img {
    width: 100%;
    height: auto;
    display: block;
}

/* SP版: Content Box 1 - 3段構成 */
.content-box-1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content-box-1-sp,
.content-box-2-sp {
    background: #fff;
    padding: 24px 15px;
    border-radius: 8px;
    width: 100%;
}

.content-box-1-sp-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.content-box-1-sp-inner .content-title {
    margin-bottom: 12px;
}

.content-box-1-sp-inner .decorative-frame {
    margin-bottom: 12px;
}

.content-box-1-sp-inner .sub-text {
    margin-bottom: 0;
}

.content-box-2-sp-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.content-box-2-sp-inner .long-text {
    width: 100%;
}

.wecan-image-block {
    width: 100%;
    height: 254px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    margin: -32px 0 0 -1px;
}

.wecan-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
}

.sub-text {
    font-weight: 500;
    font-size: 13.97px;
    line-height: 1.8;
    color: #E16868;
    text-align: left;
    letter-spacing: 2.6px;
    margin: 0;
    text-shadow: rgba(255, 255, 255, 0.25) 0px 1.898px 1.898px;
}

.long-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.8;
    color: #202020;
    letter-spacing: 2.0px;
}

.long-text p {
    margin: 0 0 16px 0;
}

.long-text p:last-child {
    margin-bottom: 0;
}

/* Image Gallery (SP: horizontal scroll) */
.image-gallery-section {
    padding: 32px 16px;
}

.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.gallery-title {
    font-size: 24px;
    font-weight: normal;
    color: #3c3434;
    text-align: center;
    margin: 0;
}

.gallery-desc {
    font-size: 16px;
    color: #DA6B6B;
    text-align: center;
    margin: 0;
}

.image-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 325px;
    height: 536px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start;
}

/* Voice (SP) */
.voice-section {
    background: #FAFAFA;
    padding: 32px 16px;
}

.voice-inner { max-width: 1280px; margin: 0 auto; }

.voice-header { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.voice-title { font-size: 24px; color:#3c3434; text-align:center; margin:32px 0 32px; font-weight: normal; }
.voice-divider img { display:block; }

.voice-track { display:flex; gap:16px; overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; padding: 12px 0; }
.voice-card { flex:0 0 auto; width:325px; background:#fff; border-radius:8px; box-shadow:0 4px 10px rgba(0,0,0,0.04); padding:32px 16px; scroll-snap-align:start; display:flex; flex-direction:column; align-items:center; gap:16px; }
.voice-avatar { width:103px; height:103px; border-radius:50%; overflow:hidden; }
.voice-avatar img { width:100%; height:100%; object-fit:cover; }
.voice-meta { font-size:16px; color:#3c3434; margin:0; }
.voice-heading { font-size:18px; color:#DA6B6B; text-align:center; margin:0; }
.voice-text { font-size:14px; color:#3c3434; margin:0; line-height:1.6; }
.voice-note { font-size:10px; color:#3c3434; text-align:left; margin:16px 0 0 0; }

/* Price (SP) */
.price-section { padding: 32px 16px; background:#fff; }
.price-header { text-align:center; margin-bottom:24px; }
.price-title { font-size:24px; font-weight:normal; color:#3c3434; margin:0; }
.price-sub { font-size:16px; color:#DA6B6B; margin:10px 0 0; line-height:1.7; }
.price-courses { display:flex; flex-direction: column; gap:12px; overflow: visible; padding:0; }
.price-course { width:100%; background:#fff; border-radius:8px; box-shadow:none; }
.new-followup-thumb { margin-top:6px; }
.price-course .new-followup-thumb img { display:block; width:100%; height:auto; border-radius:0; }
.course-label { font-size:18px; letter-spacing:.04em; color:#DA6B6B; margin:16px 0; }
.price-course .new-followup-card-text { font-size:16px; color:#3c3434; margin:8px 0; line-height:1.6; }

/* small note under full support course */
.price-note-small { font-size:12px; color:#666; line-height:1.7; margin-top:8px; }

.price-table-wrap { margin:24px 0 28px; border:1px solid #eee; border-radius:0; overflow:hidden; }
.price-row { display:grid; grid-template-columns: 96px 1fr 1fr; border-top:1px solid #eee; }
/* Header row without global background */
.price-row:first-child { border-top:none; font-weight:600; }
.price-row:first-child .price-cell { padding-block: 12px; }
/* Apply dark background only to ①/② columns */
.price-row:first-child .price-cell:nth-child(2),
.price-row:first-child .price-cell:nth-child(3) { background:#3c3434; color:#fff; }
/* Header first cell (コース回数) should be white */
.price-row:first-child .price-cell:first-child { background:#fff; color:#3C3434; }
.price-row.alt { background:#fff9f9; }
.price-cell { padding:12px; display:flex; flex-direction:column; gap:4px; font-size:14px; color:#3c3434; text-align:center; letter-spacing:.02em; }
.price-cell small { font-size:12px; color:#777; margin-top:4px; display:block; }
.price-badge { display:flex; align-items:center; justify-content:center; }
.price-badge span { display:inline-block; color:#DA6B6B; font-size:12px; line-height:1.2; font-weight:600; }

/* Column backgrounds for body rows */
.price-row:not(:first-child) .price-cell:nth-child(1) { background:#fff; color:#3C3434; }
.price-row:not(:first-child) .price-cell:nth-child(2) { background:#FEF8F8; }
.price-row:not(:first-child) .price-cell:nth-child(3) { background:#FAFAFA; }

.price-notes { text-align:center; font-size:16px; color:#3c3434; margin:18px 0 20px; line-height: 1.9; letter-spacing: .02em; }
.price-notes strong { color:#E16868; font-weight: 700; font-size: 20px; letter-spacing: .03em; }
.price-banner { text-align:center; margin:8px 0 24px; }
.price-banner--after-service-table { padding: 0 16px; }
.price-banner .sp-image { display:block; width:100%; height:auto; }
.price-banner .pc-image { display:none; width:100%; height:auto; }

/* Utility Classes */
.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Three Reasons Section */
.three-reasons-section {
    background: #F5F5F5;
    padding: 24px 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reasons-header {
    text-align: center;
}

.reasons-title {
    font-size: 24px;
    font-weight: normal;
    color: #3c3434;
    margin: 0;
    line-height: normal;
}

.reason-section {
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 38px;
    align-items: center;
}

.reason-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.reason-number {
    font-size: 18px;
    font-weight: normal;
    color: #3c3434;
    margin: 0;
    letter-spacing: 4.32px;
}

.reason-subtitle {
    font-size: 20px;
    font-weight: normal;
    color: #DA6B6B;
    margin: 0 0 16px 0;
    letter-spacing: 1.44px;
    line-height: normal;
}

/* SP版の改行位置を制御 */
.reason-subtitle br:nth-of-type(1) {
    display: block;
}

.reason-subtitle br:nth-of-type(2) {
    display: block;
}

.reason-subtitle br:nth-of-type(3) {
    display: block;
}

.reason-description {
    width: 100%;
}

.reason-description p {
    font-size: 14px;
    font-weight: 500;
    color: #3c3434;
    margin: 0 0 16px 0;
    letter-spacing: 1.12px;
    line-height: normal;
}

.reason-description p:last-child {
    margin-bottom: 0;
}

.reason-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 16px;
}

.service-card {
    width: 100%;
    height: 177px;
    overflow: hidden;
    /* margin-top: 16px; */
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Monthly Course Section */
.monthly-course { background: #FAFAFA; padding: 32px 16px; margin: 0; }
.monthly-course__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.monthly-course__hero { width: 100%; }
.monthly-course__hero-bg { position: relative; width: 100%; min-height: 100px; background-image: url('../images/monthly-course-pc/whycourse.png'); background-size: cover; background-position: center; }
.monthly-course__hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.monthly-course__hero-title { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); width: 344px; color: #fff; font-size: 16px; line-height: 27px; letter-spacing: 2.56px; text-align: center; margin: 0; }
.monthly-course__body { background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 8px; color: #3c3434; font-size: 14px; }
.monthly-course__lead { color: #E16868; font-weight: 700; margin: 0; }
.monthly-course__divider { height: 1px; width: 100%; position: relative; }
.monthly-course__divider img { display: block; width: 100%; height: 1px; }

/* Monthly Course Details (post price) */
.monthly-course-details { background: #fff; padding: 32px 16px; }
.monthly-course-details__inner { max-width: 1280px; margin: 0 auto; }
.monthly-course-details__title { font-size: 20px; color:#3c3434; text-align:center; margin:0 0 8px 0; }
.monthly-course-details__desc { font-size: 14px; color:#3c3434; text-align:center; margin:0 0 4px 0; }
.monthly-course-details__note { font-size: 12px; color:#3c3434; text-align:center; margin:0 0 16px 0; }
.mcd-divider-top img, .mcd-divider-bottom img { display:block; width:100%; height:1px; }
.monthly-course-details__table { border:1px solid #eee; border-radius:0; margin: 16px 0; overflow-x: auto; overflow-y: hidden; }
.mcd-row { display:grid; grid-template-columns: 80px 1fr 1fr 1fr; border-top:1px solid #eee; min-width: 450px; }
/* Header row without global background */
.mcd-row:first-child { border-top:none; }
/* Apply dark background to header columns (2-4) only */
.mcd-row:first-child .mcd-cell:nth-child(2),
.mcd-row:first-child .mcd-cell:nth-child(3),
.mcd-row:first-child .mcd-cell:nth-child(4) { background:#3c3434; color:#fff; padding:12px; text-align:center; }
.mcd-col-title { background:#fff; color:#3c3434; display:flex; align-items:center; justify-content:center; padding:12px; text-align:center; }
.mcd-cell { padding:12px; display:flex; flex-direction:column; gap:4px; font-size:14px; color:#3c3434; text-align:center; }
.mcd-cell small { font-size:12px; color:#777; }
.mcd-badge { color:#DA6B6B; font-weight:600; font-size:12px; line-height:1.2; }
/* From third row onward, non-first columns have light background */
.mcd-row:nth-child(n+3) .mcd-cell:not(:first-child) { background:#F9F9F9; }

/* Trial Flow (SP: horizontal scroll) */
.trial_section { padding: 32px 16px; background:#fff; }
.trial-track { display:flex; gap:16px; overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; padding-bottom:8px; }
.trial-step { flex:0 0 85%; scroll-snap-align:start; background:#fff; border-radius:8px; padding:8px; }
.trial_h3_area img { display:block; width:145px; height:auto; border-radius:8px; }
.trial_textbox { background: #FEF8F8; }
.trial_section .text_pink { color: #DA6B6B; }
.trial_section .h2_arrow { display:none; }

/* Free Services Section */
.free-services { background:#fff; padding:32px 16px; }
.free-services__inner { max-width:1280px; margin:0 auto; }
.free-services__lead { font-size:12px; color:#3c3434; text-align:left; margin:0 0 12px 0; letter-spacing:1.28px; line-height:1.274; }
.free-services__table { border:none; overflow-x:hidden; border-radius:0; width:100%; margin-bottom:48px; }
.fs-row { display:grid; grid-template-columns: 50% 25% 25%; border-top:none; }
.fs-row:first-child { border-top:none; }
.fs-row.fs-head .fs-cell:nth-child(2) { background:#373737; color:#fff; }
.fs-row.fs-head .fs-cell:nth-child(3) { background:#D7AB53; color:#fff; }
.fs-cell { padding:6px; font-size:12px; color:#3c3434; display:flex; flex-direction:column; gap:4px; text-align:center; border:1px solid #CCCCCC; justify-content:center; align-items:center; }
.fs-col-title { background:#fff; color:#3c3434; text-align:left; align-items: flex-start; }
/* ヘッダー「コース内訳」セルのみ中央揃え */
.fs-row.fs-head .fs-col-title { text-align: center; align-items: center; }
.fs-col-title strong { color:#e16868; font-weight:700; font-size:12px; }
.fs-col-title small { font-size:10px; color:#3c3434; opacity:.9; }
.fs-row:not(.fs-head) .fs-cell:nth-child(2) { background:#F9F9F9; }
.fs-row:not(.fs-head) .fs-cell:nth-child(3) { background:#D7AB53; color:#fff; font-weight:700; padding:6px; }
.fs-row:not(.fs-head) .fs-col-outline { font-size:16px; }
/* SP: 2列目の（ ）を小さく＆改行後ブロック表示 */
.fs-cell:nth-child(2) .fs-note { font-size: 10px; display: block; line-height: 1.4; }
/* Gold column helper */
.fs-col-gold { background:#D7AB53; color:#fff; font-weight:700; }

/* Summary row (無料サービス分の合計価格) - first cell gold/white, unified font sizes */
.free-services__table[aria-label="無料サービス分の合計価格"] .fs-cell:first-child { background:#D7AB53; color:#fff; }
.free-services__table[aria-label="無料サービス分の合計価格"] .fs-cell:first-child strong,
.free-services__table[aria-label="無料サービス分の合計価格"] .fs-cell:first-child small { font-size: inherit; color:#fff; font-weight:700; }
/* Summary row - keep 2nd cell value on one line */
.free-services__table[aria-label="無料サービス分の合計価格"] .fs-cell:nth-child(2) { white-space: nowrap; }
/* SP: ヘッダー行paddingは16px 0 */
.fs-row.fs-head .fs-cell { padding: 16px 0; }
/* SP: 1行目(トレーニング行)3列目の数値をやや小さく */
.free-services__table .fs-row:nth-child(2) .fs-col-outline { font-size:14px; }
.free-services__note { margin:32px 0; text-align:center; color:#3c3434; }
.free-services__note strong { color:#e16868; font-weight: 400; font-size: 20px; }
.free-services__sum strong { font-weight: 400; font-size: 20px; }
.free-services__sum { /* margin removed per spec */ }
.free-services__present { display:flex; justify-content:center; margin-top: 24px; }
.free-services__divider { width:100%; height:1px; background:#e0e0e0; margin:16px 0; }
.present-card { position:relative; width:341px; border:1px solid #ccc; padding:16px; background:#fff; }
.present-card img { display:block; width:100%; height:auto; }
.present-badge {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    background: #e16868;
    color: #fff;
    padding: 8px 0;
    width: 280px;
    text-align: center;
    font-weight: 700;
}

/* Service Quick Reference (各店舗のサービス早見表) */
.service-table-section { padding: 32px 16px; background: #FAFAFA; text-align: center; }
.service-table-title { font-size: 16px; color:#3c3434; margin:0; font-weight: normal; }
.service-table-subtitle { font-size: 12px; color:#3c3434; margin: 32px 0 0 0; }
/* 2列×3行のグリッド、ガター16px */
.prefecture-buttons { display:grid; grid-template-columns: 1fr 1fr; gap:16px; justify-items: stretch; align-items: stretch; width: 100%; max-width: 640px; margin: 0 auto; padding: 16px; box-sizing: border-box; }
/* ボタン: 高さ50px, 白, 角丸4px, 影 */
.prefecture-btn { display:flex; align-items:center; justify-content:center; height:50px; width:100%; background:#fff; color:#000; cursor:pointer; border-radius: 4px; border: none; box-shadow: 0 4px 10px rgba(0,0,0,0.04); font-size: 17px; }
.prefecture-btn:hover { box-shadow: 0 6px 14px rgba(0,0,0,0.06); color: #f28b27; }
.prefecture-btn:focus { color: #f28b27; }
.prefecture-btn:focus { outline: 2px solid #e16868; outline-offset: 2px; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 2000; }
.modal-overlay.active { display: flex; }
.modal-content { background:#fff; padding:24px; max-width: 95%; max-height: 95%; overflow: auto; position: relative; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.close-btn { position: absolute; right: 8px; top: 4px; background: transparent; border: none; font-size: 28px; line-height: 1; color: #333; cursor: pointer; }
.modal-image-container { width: 100%; max-height: 85vh; overflow: auto; text-align: center; }
.service-table-image { display:block; width: auto; height: auto; max-width: none; min-width: 100%; min-height: 100%; border-radius: 8px; }
/* LP専用の高さ指定（campaign04準拠） */
.service-table-image { height: 600px !important; }

/* Trainers Section */
.trainers-section { background:#fff; padding:32px 16px; text-align:center; }
.trainers__header { max-width: 640px; margin: 0 auto 16px; }
.trainers__title { font-size:24px; color:#3c3434; margin:0 0 12px; font-weight:normal; }
.trainers__lead { font-size:16px; color:#DA6B6B; line-height:1.7; margin:0 0 24px; }

/* Section titles - match trainers__title style */
.shop_section .h2_type01,
.faq_section .h2_type01,
.trial_section .h2_type01,
.contact_section .h2_type01 {
    font-size: 24px;
    font-weight: normal;
    color: #3c3434;
    margin: 32px 0 32px;
    text-align: center;
}
.shop_section .h2_type01 .text_l,
.faq_section .h2_type01 .text_l,
.trial_section .h2_type01 .text_l,
.contact_section .h2_type01 .text_l {
    font-size: 24px;
}
.contact_section .h2_type01 {
    color: #fff; /* Keep white for contact section */
}
.contact_section .h2_type01 .text_l {
    font-size: 24px;
    color: #fff;
}

/* Contact Section (SP) */
@media (max-width: 1023px) {
    .contact_section {
        padding: 24px 16px;
    }
}
.trainers__grid { display:flex; max-width:1280px; margin:0 auto; overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; padding-bottom: 8px; }
.trainer-card { background:#fff; border-radius:8px; box-shadow:none; padding:16px; display:flex; flex-direction:column; align-items:center; gap:12px; flex:0 0 auto; width: 140px; scroll-snap-align:start; }
.trainer-card__avatar { width:120px; height:120px; border-radius:0; overflow:hidden; }
.trainer-card__avatar img { width:100%; height:100%; object-fit:cover; }
.trainer-card__name { font-size:14px; color:#3c3434; margin:0; }
.trainer-card__meta { font-size:12px; color:#3c3434; margin:0; padding:0; list-style:none; line-height:1.5; text-align:left; }
.trainer-card__meta li { margin: 0 0 2px; }