/*
================================
Basic Style
================================
*/
:root {
    --primary-color: #7AC74F; /* 明るい緑 */
    --secondary-color: #FFC107; /* アクセントの黄色 */
    --text-color: #333;
    --background-color: #F9FAFB;
    --white: #fff;
    --gray: #757575;
    --light-gray: #f4f4f4;
    --font-family: 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--white);
    margin: 0;
    line-height: 1.8;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 40px;
}

h2 .highlight {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/*
================================
CTA Button
================================
*/
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50px;
    padding: 16px 32px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.cta-button .material-icons {
    margin-right: 8px;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(122, 199, 79, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(122, 199, 79, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(122, 199, 79, 0);
    }
}

/*
================================
Hero Section
================================
*/
.hero {
    background-color: var(--background-color);
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.hero .main-copy {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.5;
    margin: 0 0 16px;
}

.hero .main-copy .highlight {
    color: var(--primary-color);
    background: linear-gradient(to top, var(--secondary-color) 50%, transparent 50%);
}

.hero .sub-copy {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero .cta-buttons {
    display: flex;
    gap: 16px;
}

.hero-image img {
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero .main-copy {
        font-size: 2.2rem;
    }
    .hero .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero .cta-buttons {
        flex-direction: column;
    }
}

/*
================================
Problem Section
================================
*/
.problem {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/sozai1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.problem-item {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.problem-message {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.problem-message .highlight-strong {
    font-size: 2rem;
    color: var(--primary-color);
}

/*
================================
Before-After Section
================================
*/
.before-after {
    background-color: var(--background-color);
}

/*
================================
Voice Section
================================
*/
.voice {
    background-color: var(--white);
}

.voice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.voice-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.voice-card::before {
    content: "\275D"; /* Left double quotation mark */
    font-family: 'Georgia', serif;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 20px;
}

.voice-text {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

.voice-text .highlight-red {
    color: #E53935; /* 赤色 */
    font-weight: 700;
}


.before-after-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.result-item {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.result-item img {
    width: 100%;
    height: auto;
    display: block;
}

.result-info {
    padding: 20px;
}

.result-info h3 {
    margin: 0 0 5px;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 900;
}

.result-info p {
    margin: 0;
    color: var(--gray);
    font-weight: 700;
}

@media (max-width: 768px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

/*
================================
Campaign Offer Section
================================
*/
.campaign-offer {
    background: linear-gradient(45deg, var(--primary-color), #5aab3d);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.campaign-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.campaign-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.campaign-badge .material-icons {
    vertical-align: middle;
    margin-right: 5px;
}

.campaign-offer h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.campaign-offer .benefit {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
}

.campaign-offer .price {
    text-decoration: line-through;
    opacity: 0.8;
}

.campaign-offer .highlight-price {
    font-size: 3rem;
    color: var(--secondary-color);
}

.campaign-offer .plus {
    font-size: 2rem;
    margin: 10px 0;
    display: block;
}

.campaign-offer .limit {
    font-size: 1.2rem;
    font-weight: 700;
    background-color: var(--secondary-color);
    color: var(--text-color);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.campaign-offer .cta-button {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/*
================================
Trainer Intro Section
================================
*/
.trainer-intro {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.trainer-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/sozai4.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-media img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-body .badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    font-size: .8rem;
    padding: 8px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.profile-body h3 {
    font-size: 1.8rem;
    margin: 0 0 4px;
}

.profile-body h3 span {
    font-size: 1rem;
    color: var(--gray);
}

.profile-body .trainer-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 16px;
}

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

.chips li {
    background: var(--light-gray);
    color: var(--text-color);
    font-size: .8rem;
    padding: 6px 12px;
    border-radius: 20px;
}

.trainer-message {
    background: var(--background-color);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    .profile-media img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
    }
}

/*
================================
Gym Intro Section
================================
*/
.gym-intro {
    background-color: var(--background-color);
}

.gym-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gym-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.gym-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gym-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

.gym-card p {
    color: var(--gray);
    padding: 0 20px 20px;
}

/*
================================
Reasons Section
================================
*/
.reasons {
    background-color: var(--background-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reason-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.reason-icon .material-icons {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.reason-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
}

.reason-card p {
    margin: 0;
    color: var(--gray);
}

@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

/*
================================
Process Section
================================
*/
.process {
    background-color: var(--white);
}

.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}

.step-card {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    z-index: 2;
}

.step-card:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.step-card:nth-child(even) {
    left: 50%;
    padding-left: 60px;
    text-align: left;
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-color);
}

.step-card:nth-child(odd) .step-number {
    right: -25px;
}

.step-card:nth-child(even) .step-number {
    left: -25px;
}

.step-card h3 {
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.step-card p {
    margin: 0;
    color: var(--gray);
}

@media (max-width: 768px) {
    .process-steps::after {
        left: 31px;
    }
    .step-card {
        width: 100%;
        padding-left: 80px;
        padding-right: 15px;
        text-align: left;
    }
    .step-card:nth-child(odd), .step-card:nth-child(even) {
        left: 0;
    }
    .step-number, .step-card:nth-child(odd) .step-number, .step-card:nth-child(even) .step-number {
        left: 6px;
    }
}

/*
================================
FAQ Section
================================
*/
.faq {
    background-color: var(--background-color);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px 0;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    font-family: 'Material Icons';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    margin: 0;
}

/*
================================
Final CTA Section
================================
*/
.final-cta {
    background-color: var(--primary-color);
    text-align: center;
    color: var(--white);
}

.final-cta h2 {
    color: var(--white);
}

.final-cta .highlight {
    color: var(--secondary-color);
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.final-cta .cta-button {
    background-color: var(--white);
    color: var(--primary-color);
}

.final-cta .cta-subtext {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 15px;
}

/*
================================
Fixed Footer CTA
================================
*/
.fixed-cta {
    display: none; /* Initially hidden on desktop */
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* Space for fixed cta */
    }
    .fixed-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 10px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .fixed-cta .cta-button {
        width: 100%;
        padding: 12px;
        display: flex;
        flex-direction: column;
    }
    .fixed-cta .text-main {
        font-size: 1.1rem;
        font-weight: 700;
    }
    .fixed-cta .text-sub {
        font-size: 0.8rem;
    }
}

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

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-info a {
    color: var(--white);
    margin: 0 10px;
}

.footer-info a:hover {
    text-decoration: underline;
}

/*
================================
Modal
================================
*/
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    text-align: left;
    margin-top: 0;
}

.modal-content h3 {
    margin-top: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.modal-content p, .modal-content ul, .modal-content dl {
    line-height: 1.8;
}

.modal-content dt {
    font-weight: 700;
    margin-top: 15px;
}

.modal-content dd {
    margin-left: 0;
    padding-left: 1em;
    border-left: 3px solid var(--light-gray);
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0}
    to {transform: translateY(0); opacity: 1}
}
