/* ------------------------------
   Reset
------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ------------------------------
   Base
------------------------------ */

body {
    background-color: #f8f5f1;
    color: #3d3a33;
    font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
    line-height: 1.7;
}

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

/* ------------------------------
   Hero
------------------------------ */

.hero {
    width: calc(100% - 80px);
    max-width: 1200px;
    min-height: 820px;
    margin: 0 auto;
    padding: 100px 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
    align-items: center;
    gap: 80px;
}

.hero-content {
    max-width: 560px;
}

.hero h1{

    margin-bottom:64px;

    font-family:Georgia,"Times New Roman",serif;

    font-size:64px;

    line-height:1.35;

    letter-spacing:0.01em;

}

.hero-copy {
    margin-bottom: 36px;
}

.hero-copy p {
    margin-bottom: 24px;
    color: #6d655c;
    font-size: 20px;
    line-height: 1.65;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 263px;
    height: 56px;

    border-radius: 8px;
    background-color: #a68a64;
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    box-shadow: 0 6px 14px rgba(61, 58, 51, 0.12);

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease;

    cursor: pointer;
}

.cta-button:hover {
    opacity: 0.95;
    background-color: #927452;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(61, 58, 51, 0.2);
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 5px 10px rgba(61, 58, 51, 0.16);
}
.cta-note {
    margin-top: 12px;
    color: #6d655c;
    font-size: 13px;
}

.hero-image {
    width: 100%;
    max-width: 560px;
    height: 700px;

    justify-self: end;

    background-color: #e8ded0;
 border-radius: 16px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
transform: scale(1);
 }
  .hero-image:hover img {
    transform: scale(1.06);
}
/* ------------------------------
   Problem
------------------------------ */

.problem{

    padding:100px 0;

}

.problem-inner{

    width:calc(100% - 80px);
    max-width:1200px;
    margin:0 auto;

}

.problem h2{

    font-family:Georgia,"Times New Roman",serif;
    font-size:40px;
    margin-bottom:24px;

}

.problem-intro{

    font-size:18px;
    color:#6d655c;
    line-height:1.8;
    margin-bottom:48px;

}

.problem-list{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:24px;

}

.problem-card{

    background:#ffffff;

    padding:22px 28px;

    border-radius:12px;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

    font-size:20px;

    font-weight:600;

}
/* ------------------------------
   Solution
------------------------------ */

.solution {
    padding: 100px 0;
    background-color: #ffffff;
}

.solution-inner {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.solution h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.5;
}

.solution-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.solution-card {
    padding: 16px 20px;

    background-color: #f1efeb;
    border-radius: 4px;

    font-size: 18px;
    font-weight: 600;
}
/* ------------------------------
   Features
------------------------------ */

.features {
    padding: 100px 0;
    background-color: #f8f5f1;
}

.features-inner {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;
}

.features-heading {
    margin-bottom: 56px;
}

.features-heading h2 {
    margin-bottom: 16px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.4;
}

.features-heading p {
    color: #6d655c;
    font-size: 17px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-card {
    min-height: 240px;
    padding: 36px 44px;

    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-step {
    margin-bottom: 8px;

    color: #a68a64;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 28px;

    font-size: 24px;
    text-align: center;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    margin-bottom: 16px;
    font-size: 21px;
    font-weight: 600;
}
/* ------------------------------
   Testimonials
------------------------------ */

.testimonials {
    padding: 100px 0;
    background-color: #ffffff;
}

.testimonials-inner {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials h2 {
    margin-bottom: 48px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
}

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

.testimonial-card {
    min-height: 200px;
    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    color: #3d3a33;
    font-size: 16px;
    line-height: 1.8;
}

.testimonial-meta {
    margin-top: 28px;

    color: #a68a64;
    font-size: 15px;
    font-weight: 600;
}
/* ------------------------------
   FAQ
------------------------------ */

.faq {
    padding: 100px 0;
    background-color: #f8f5f1;
}

.faq-inner {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;
}

.faq h2 {
    margin-bottom: 48px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
}

.faq-list {
    max-width: 820px;
}

.faq-item {
    margin-bottom: 20px;
    padding: 28px 32px;

    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
    margin-bottom: 14px;

    font-size: 18px;
    line-height: 1.6;
}

.faq-item p {
    color: #6d655c;
    font-size: 16px;
    line-height: 1.8;
}
/* ------------------------------
   Final CTA
------------------------------ */

.final-cta {
    padding: 100px 0;
    background-color: #ffffff;
}

.final-cta-inner {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.final-cta-content h2 {
    margin-bottom: 36px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.5;
}

.final-cta-content p {
    margin-bottom: 24px;

    color: #6d655c;
    font-size: 18px;
    line-height: 1.8;
}

.final-cta-image {
    width: 100%;
    max-width: 560px;
    height: 600px;

    justify-self: end;

    border-radius: 16px;
    overflow: hidden;
}

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

/* ------------------------------
   Footer
------------------------------ */

.footer {

    background: #3d3a33;

    padding: 50px 0;

}

.footer-inner{

    width: calc(100% - 80px);

    max-width:1200px;

    margin:0 auto;

}

.footer h3{

    color:white;

    font-family: Georgia, serif;

    font-size:22px;

    margin-bottom:24px;

}

.footer nav{

    display:flex;

    gap:24px;

    margin-bottom:24px;

    flex-wrap:wrap;

}

.footer nav a{

    color:#d7d2cb;

    font-size:15px;

}

.footer nav a:hover{

    color:white;

}

.footer p{

    color:#b8b2aa;

    font-size:14px;

}
/* ------------------------------
   Hover Animation
------------------------------ */

.problem-card,
.solution-card,
.feature-card,
.testimonial-card,
.plan-card,
.faq-item {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.problem-card:hover,
.solution-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.plan-card:hover,
.faq-item:hover {

    transform: translateY(-8px);

  box-shadow:
0 12px 30px rgba(0,0,0,.08);
}
/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 1024px) {
    .hero {
        width: calc(100% - 80px);
        padding: 100px 0;

        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero h1 {
        margin-bottom: 40px;
    }

    .hero-image {
    justify-self: center;
    width: 100%;
    max-width: 340px;
    height: auto;
}
    .problem-list,
    .solution-inner,
    .solution-list,
    .features-grid,
    .testimonials-grid,
    .final-cta-inner {
        grid-template-columns: 1fr;
    }
}
/* ------------------------------
   Fade Animation
------------------------------ */
.fade-in {
    opacity: 1;
    transform: none;
}


/* ------------------------------
   FAQ Accordion
------------------------------ */

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.faq-question::after {
    content: "＋";
    flex-shrink: 0;

    color: #a68a64;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;

    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;

    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        margin-top 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    margin-top: 16px;
}

.faq-item.active .faq-question::after {
    content: "−";
}

   /* Hero Text Animation Test */
.hero-content {
    animation: heroFade 3s ease-out both;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------
   Scroll Fade Animation
------------------------------ */

/* JavaScriptが準備した要素だけ透明にする */
.fade-in.fade-ready {
    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

/* 画面内に入った後 */
.fade-in.fade-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   Mobile responsive restoration
   Added 2026-07-29
========================================================= */

@media (max-width: 430px) {
    body {
        overflow-x: hidden;
    }

    .hero,
    .problem-inner,
    .solution-inner,
    .features-inner,
    .testimonials-inner,
    .faq-inner,
    .final-cta-inner,
    .footer-inner {
        width: calc(100% - 40px);
        max-width: none;
    }

    .hero {
        min-height: auto;
        padding: 56px 0 72px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: none;
    }

    .hero h1 {
        margin-bottom: 28px;
        font-size: 46px;
        line-height: 1.28;
        letter-spacing: 0;
    }

    .hero-copy {
        margin-bottom: 28px;
    }

    .hero-copy p {
        margin-bottom: 18px;
        font-size: 17px;
        line-height: 1.7;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
        height: 54px;
        font-size: 15px;
    }

    .cta-note {
        margin-top: 10px;
        font-size: 12px;
    }

    .hero-image {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 4 / 5;
        justify-self: stretch;
        border-radius: 14px;
    }

    .problem,
    .solution,
    .features,
    .testimonials,
    .faq,
    .final-cta {
        padding: 72px 0;
    }

    .problem h2,
    .features-heading h2 {
        font-size: 32px;
        line-height: 1.45;
    }

    .problem-intro {
        margin-bottom: 36px;
        font-size: 16px;
        line-height: 1.8;
    }

    .problem-list,
    .solution-list,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .problem-card {
        padding: 18px 20px;
        font-size: 17px;
        line-height: 1.6;
    }

    .solution-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .solution h2 {
        font-size: 31px;
        line-height: 1.5;
    }

    .solution-card {
        padding: 16px 18px;
        font-size: 16px;
        line-height: 1.6;
    }

    .features-heading {
        margin-bottom: 36px;
    }

    .features-heading p {
        font-size: 16px;
    }

    .feature-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .feature-card h3 {
        margin-bottom: 22px;
        font-size: 22px;
    }

    .feature-card li {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .testimonials h2,
    .faq h2 {
        margin-bottom: 36px;
        font-size: 32px;
    }

    .testimonial-card {
        min-height: auto;
        padding: 26px 22px;
    }

    .testimonial-text,
    .faq-item p {
        font-size: 15px;
    }

    .faq-list {
        max-width: none;
    }

    .faq-item {
        margin-bottom: 14px;
        padding: 22px 20px;
    }

    .faq-item h3 {
        margin-bottom: 0;
        font-size: 16px;
    }

    .faq-question {
        gap: 16px;
    }

    .faq-question::after {
        font-size: 22px;
    }

    .final-cta-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .final-cta-content h2 {
        margin-bottom: 28px;
        font-size: 30px;
        line-height: 1.5;
    }

    .final-cta-content p {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .final-cta-image {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 4 / 5;
        justify-self: stretch;
        border-radius: 14px;
    }

    .footer {
        padding: 40px 0;
    }

    .footer nav {
        flex-direction: column;
        gap: 12px;
    }

    .problem-card:hover,
    .solution-card:hover,
    .feature-card:hover,
    .testimonial-card:hover,
    .plan-card:hover,
    .faq-item:hover {
        transform: none;
    }
}

@media (max-width: 375px) {
    .hero,
    .problem-inner,
    .solution-inner,
    .features-inner,
    .testimonials-inner,
    .faq-inner,
    .final-cta-inner,
    .footer-inner {
        width: calc(100% - 32px);
    }

    .hero {
        padding: 48px 0 64px;
        gap: 32px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.3;
        margin-bottom: 24px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .cta-button {
        max-width: none;
        height: 52px;
        font-size: 14px;
    }

    .problem,
    .solution,
    .features,
    .testimonials,
    .faq,
    .final-cta {
        padding: 64px 0;
    }

    .problem h2,
    .features-heading h2,
    .testimonials h2,
    .faq h2 {
        font-size: 29px;
    }

    .solution h2,
    .final-cta-content h2 {
        font-size: 28px;
    }

    .problem-card,
    .solution-card {
        font-size: 15px;
    }

    .feature-card {
        padding: 26px 20px;
    }

    .feature-card li {
        font-size: 16px;
    }

    .testimonial-card,
    .faq-item {
        padding: 22px 18px;
    }

    .faq-item h3 {
        font-size: 15px;
    }

    .footer nav a {
        font-size: 14px;
    }
}
