/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #D8D6D3;
}

body {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1440px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 900;
}

.br-sp {
    display: none;
}

.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 18px;
    color: #000000;
}

.section-divider {
    border: none;
    height: 2px;
    background-color: #FFC8A2;
    margin: 0px auto;
    width: 80%;
}

.orange-divider {
    background-color: #F97316;
    border: none;
    height: 2px;
    width: 80px;
}

span.orange-color {
    color: #F97316;
}

/* フェードインアニメーション用のCSS */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* reasonsセクションのアイテム用アニメーション */
.reason-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reason-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Header (FV) */
.fv {
    background-image: url('../img/fv_bg.png');
    background-size: cover;
    background-position: center;
    color: #000000;
    padding: 40px 20px;
    text-align: center;
    background-color: #FFF7ED;
    height: 550px;
}

.fv-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    gap: 15px;
}

.fv-logo {
    width: 80px;
}

.fv-title-box {
    background-color: #1C81BF;
    padding: 10px 20px;
    border-radius: 50px;
}

.fv-title-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 1.2;
}

.fv-content {}

.fv-headline-column {
    margin-bottom: 20px;
}

.fv-headline {
    font-family: 'Noto Serif JP', serif;
    font-weight: 900;
    font-size: 52px;
    line-height: 1.2;
    color: #F97316;
    text-shadow: 2px 2px #FFFFFF;
}

.fv-subheadline {
    font-family: 'Noto Serif JP', serif;
    font-weight: 900;
    font-size: 26px;
    line-height: 1.2;
    color: #000000;
    text-shadow: 1px 1px #FFFFFF;
}


/* Concerns Section */
.concerns {
    padding: 40px 20px;
    background-color: #FFFFFF;
}

.concerns-title {
    color: #000000;
}

.concerns-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 36px;
    margin-bottom: 30px;
    background-color: #F6F6F6;
    padding: 30px;
    border-radius: 20px;
}

.concern-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: #F97316;
    border-radius: 22px;
    padding: 4px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.concern-item p {
    font-size: 16px;
    color: #000000;
}

.concerns-solution {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1C81BF;
}

/* Merits Section */
.merits {
    padding: 64px 88px;
    background: linear-gradient(to right, #FFFBEB, #FEF3C7);
}

.merits-title {
    color: #000000;
}

.merits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 36px;
}

.merit-item {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.merit-point {
    position: relative;
    width: 100px;
    /* Adjust based on image */
    height: 100px;
    /* Adjust based on image */
    margin: 0 auto 15px 0;
}

.point-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.point-label {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: #F97316;
}

.point-number {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: 700;
    color: #F97316;
}

.merit-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    text-align: left;
}

.merit-item p {
    font-size: 16px;
    color: #374151;
    text-align: left;
}

/* Reasons Section */
.reasons {
    padding: 40px 20px;
    background-color: #FFFFFF;
}

.reasons-title {
    font-size: 30px;
    font-weight: 700;
    color: #000000;
}

.reasons-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 89px;
    margin-top: 56px;
}

.reason-item {
    display: flex;
    align-items: stretch;
    max-width: 1126px;
    width: 100%;
    position: relative;
}

.reason-item+.reason-item {
    margin-top: 100px;
    /* 要素間の固定間隔をここで設定 */
}

.reason-item:nth-child(odd) {
    flex-direction: row;
    margin-left: -20px;
    margin-right: auto;
}

.reason-item:nth-child(even) {
    flex-direction: row-reverse;
    margin-left: auto;
    margin-right: -20px;
}


.reason-right {
    position: absolute;
    width: 592px;
    bottom: -60px;
}

.reason-item:nth-child(odd) .reason-right {
    right: 0;
}

.reason-item:nth-child(even) .reason-right {
    left: 0;
}

.reason-number-box {
    position: absolute;
    top: -114px;
    flex: 0 0 270px;
    color: #F97316;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

span.number img {
    margin-top: 14px;
}

.reason-bg {
    max-width: 685px;

}

.reason-number-icon,
.reason-label-text,
.reason-label-line {
    position: relative;
    z-index: 1;
}

span.number {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
}

.reason-number-icon img {
    width: 30px;
    height: 30px;
}

.reason-label-text {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 20px;
    margin-top: 10px;
}

.reason-label-line {
    border: none;
    height: 2px;
    background-color: #F97316;
    width: 50px;
    margin-top: 5px;
}

.reason-content {
    border-radius: 20px;
    flex: 1;
    padding: 73px 30px 30px;
    background-color: #F6F6F6;
}

.reason-content h4 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin-bottom: 10px;
}

.reason-content p {
    font-size: 16px;
    color: #374151;
}

/* Examples Section */
.examples {
    padding: 64px 88px;
    background: linear-gradient(to right, #FFFBEB, #FEF3C7);
}

.examples-title {
    color: #000000;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-top: 36px;
}

.example-item {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.example-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
}

.example-item p {
    font-size: 16px;
    color: #374151;
}

/* Pricing Section */
.pricing {
    padding: 40px 20px;
    background-color: #FFFFFF;
}

.pricing-title {
    color: #F97316;
    #F97316 */
}

.pricing-image {
    width: 100%;
    max-width: 800px;
    /* Adjust as needed */
    margin: 20px auto;
    display: block;
    /* Ensure it behaves as a block for margin auto to work */
}

.pricing-table-container {
    margin: 40px auto;
    max-width: 800px;
    /* Match image max-width or adjust as needed */
    overflow-x: auto;
    /* For responsiveness on small screens */
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #E0E0E0;
    /* Light grey border for cells */
    padding: 12px 15px;
    text-align: center;
    font-size: 16px;
    color: #333;

}

.pricing-table th {
    background-color: #F3F3F3;
}

.pricing-table thead th.plan-red,
.pricing-table thead th.plan-blue {
    color: #FFFFFF;
    font-size: 18px;
}

.pricing-table thead th.plan-red {
    background-color: red;
}

.pricing-table thead th.plan-blue {
    background-color: blue;
}

.pricing-table tbody td.feature-category {
    font-weight: 700;
    width: 33%;
    background-color: #F3F3F3;

}

.pricing-table .tax-included {
    font-size: 0.8em;
    color: #555;
}

/* Highlight Standard Plan Column */
.pricing-table tr:nth-child(2) td:nth-child(3) {
    background-color: #F3F3F3;
}

.pricing-table tr:nth-child(3) td:nth-child(3) {
    background-color: #F3F3F3;
}

.pricing-table thead th.plan-standard {
    background-color: #F97316;
}


/* CTA Section */
.cta {
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.cta-left-column a {
    text-decoration: none;
    color: #fff;
}

.cta-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #1E90FF;
    padding: 15px;
    border-radius: 20px;
    max-width: 400px;
}

.discord-logo-cta {
    width: 60px;
    /* Adjust as needed */
}

.cta-discord-text {
    font-size: 36px;
    font-weight: 700;
    line-height: 0.7;
}

.cta-benefits {
    font-size: 18px;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 20px;
    overflow: hidden;
    align-self: flex-start;
    height: 90px;
}

.cta-button-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

a.cta-button {
    line-height: 1;
}

a.cta-button,
.cta-discord {
    opacity: 1;
    transition: opacity 0.3s ease;
}

a.cta-button:hover,
.cta-discord:hover {
    opacity: 0.6;
}

span.small {
    font-size: 18px;
}

span.small-x {
    font-size: 16px;
    font-weight: 100;
}

/* FAQ Section */
.faq {
    padding: 40px 20px;
    background: linear-gradient(to right, #FFFBEB, #FEF3C7);
}

section.faq hr.section-divider.orange-divider {
    margin-bottom: 36px;
}

.faq-title {
    color: #000000;
}

.faq-item {
    max-width: 1096px;
    margin: 0 auto;
}

.faq-question-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-question {
    background-color: #FFFFFF;
    border-radius: 20px;
    margin-bottom: 15px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    justify-content: space-between;
}

.faq-q-icon,
.faq-a-icon {
    background-color: #F97316;
    color: #FFFFFF;
    width: 55px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-toggle {
    font-size: 30px;
    font-weight: 700;
    color: #F97316;
}

.faq-answer {
    padding-inline: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 10px;
    font-size: 18px;
    color: #374151;
    display: flex;
    align-items: flex-start;
}

.faq-answer.active {
    max-height: 500px;
    /* padding-top: 10px; */
    padding-bottom: 10px;
}

.faq-answer p {
    margin-left: 15px;
    margin-right: 20px;
}

.faq-answer__body {
    width: 100%;
}

.wp-block-video {
    width: 700px;
}


/* Greeting Section */
.greeting {
    padding: 40px 20px;
    background-color: #FFFFFF;
}

.greeting-content-box {
    position: relative;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1214px;
    margin: 0 auto;
}

.greeting-profile-img {
    width: 836px;
    height: 761px;
    border-radius: 15px;
    object-fit: cover;
    margin: 0 auto 20px;
    object-position: -300px;
}

.greeting-text-content {
    background-color: #f6f6f6d9;
    padding: 28px 49px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 760px;
}

.greeting-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 900;
    font-size: 24px;
    color: #000000;
    margin-bottom: 12px;
}

.greeting-text-content p {
    font-size: 16px;
    color: #374151;
    letter-spacing: -0.2px;
    line-height: 140%;
}

/* Instructor Section */
.instructor {
    padding: 40px 20px;
    background: linear-gradient(to right, #FFFBEB, #FEF3C7);
}

.instructor-title {
    color: #000000;
}

.instructor-details {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    max-width: 800px;
    margin: 36px auto 0;
}

.instructor-item {
    padding: 10px 0;
    font-size: 16px;
    color: #000000;
}

.instructor-item hr {
    border: none;
    height: 1px;
    background-color: #E0E0E0;
    margin: 10px 0;
}

.instructor-label {
    font-weight: 700;
    width: 250px;
    display: inline-block;
}

.instructor-value {
    display: inline-grid;
}

span.instructor-value a {
    text-decoration: none;
    font-weight: bold;
    color: #1E90FF;
}

/* Terms Section */
.terms {
    padding: 40px 20px;
    background-color: #FFFFFF;
}

.terms-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.terms-box {
    border: 1px solid #9D9D9D;
    padding: 20px;
    font-size: 16px;
    color: #000000;
    height: 300px;
    overflow-y: scroll;
}

.terms-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.terms-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 5px;
}

.terms-box p,
.terms-box ol {
    margin-bottom: 10px;
    line-height: 1.7;
}

.terms-box ol {
    padding-left: 20px;
}


/* Footer */
footer {
    background-color: #FEF3C7;
    color: #555555;
    padding: 30px 20px;
    text-align: center;
    font-size: 16px;
}

.footer-info {
    max-width: 800px;
    text-align: left;
    margin: 0 auto;
}

.footer-info p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: #374151;
    margin: 20px auto;
    width: 80%;
}

.copyright {
    font-size: 16px;
}

/* Responsive Design */

@media (width <768px) {
/* ブレイクポイント用 */
.br-sp {
    display: block;
}

/* パディングとレイアウト統一 */
.merits,
.examples {
    padding: 40px 20px;
}

/* テーブル関連 */
.pricing-table {
    min-width: 800px;
}

table.pricing-table {
    min-width: 680px;
}

/* CTA関連 */
.cta-left-column {
    width: 100%;
}

.cta-left-column a,
.cta-button {
    width: 100%;
}

.cta-button {
    padding: 20px;
}

p.cta-benefits {
    font-size: 14px;
}

/* ファーストビュー関連 */
.fv {
    height: auto;
}

.fv-title-text {
    font-size: 16px;
}

.fv-subheadline {
    font-size: 22px;
}

/* コンサーン（懸念）セクション */
.concerns-title {
    font-size: 25px;
}

.concerns-grid {
    gap: 20px;
}

.concerns-solution {
    font-size: 18px;
}

/* メリットセクション */
.merits-title {
    font-size: 25px;
}

.merit-point {
    width: 70px;
    height: 70px;
}

/* リーズン（理由）セクション */
.reasons-title {
    font-size: 24px;
}

.reason-item {
    display: block;
}

.reason-item:nth-child(odd),
.reason-item:nth-child(even) {
    margin-left: auto;
    margin-right: auto;
}

.reason-item + .reason-item {
    margin-top: 0;
}

.reason-right {
    width: auto;
    bottom: 0;
    position: relative;
}

.reason-bg {
    max-width: 100%;
}

.reason-content {
    border-radius: 0;
}

.reason-content h4 {
    text-align: center;
}

.reasons-grid {
    margin-bottom: 0;
}

/* 例示セクション */
.examples-title {
    font-size: 25px;
}

.examples-grid {
    gap: 30px;
}

/* FAQ セクション */
.faq-question-left {
    flex-direction: column;
    align-items: start;
    gap: 12px;
}

.faq-q-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    margin-right: 6px;
}

.faq-question {
    font-size: 16px;
}

.faq-toggle {
    font-size: 20px;
}

.faq-answer {
    font-size: 16px;
    flex-direction: column;
    gap: 12px;
}

.faq-a-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    margin-right: 6px;
}

.faq-answer p {
    margin: auto;
}

.wp-block-video {
    width: 92%;
}

/* グリーティングセクション */
.greeting-content-box {
    padding: 0;
    gap:0;
}

.greeting-text-content {
    position: relative;
    top: 0;
    transform: initial;
    width: 100%;
    padding: 10px;
    border-radius: 0;
}

.greeting-text-content p {
    line-height: 1.75;
}

.greeting-profile-img {
    object-position: initial;
    width: auto;
    height: auto;
    border-radius: 0;
}

/* フッター */
footer {
    font-size: 14px;
}

.copyright {
    font-size: 12px;
}
}

/* Tablet and larger */

@media (width >=768px) {
    .section-title {
        font-size: 36px;
    }

    .fv-logo-container {
        justify-content: flex-start;
        /* Align to left on larger screens */
        margin-left: 379px;
        margin-top: 69px;
    }

    .fv-content {
        text-align: left;
        margin-left: 379px;

    }

    .concerns-grid {
        max-width: 710px;
        margin: 36px auto 0 auto;
        padding: 30px;
    }

    .merits-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Three columns for tablets */
    }

    .reasons-grid {}

    /* Added missing closing brace */

    .examples-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta {
        flex-direction: row;
        /* Side-by-side layout for larger screens */
        justify-content: center;
        /* Center the two main columns */
        align-items: flex-start;
        /* Top-align columns */
    }



    .cta-left-column {
        align-items: flex-start;
        text-align: left;
    }





    .cta-discord {
        width: 341px;
    }

    .cta-benefits {
        /* margin-bottom: 0; Already handled by gap in cta-left-column */
        text-align: left;
    }

    .greeting-content-box {
        flex-direction: row;
        /* Side-by-side on larger screens */
        align-items: flex-start;
    }

    .greeting-profile-img {
        margin: 0 30px 0 0;
        /* Margin to the right */
        flex-shrink: 0;
    }

    /* .terms-container will remain single column, so no rule here */
}

/* Desktop */
@media (width >=1024px) {
    .fv-headline {
        font-size: 60px;
        text-align: center;
        display: inline-block;
    }

    .fv-subheadline {
        font-size: 26px;
    }

}