/* ヒーローセクション */
.hero-section {
    padding: 50px 15px;
    background-color: #f9f9f9;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.hero-description {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.hero-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-btn:hover {
    background-color: #0056b3;
}

.hero-notice {
    font-size: 0.9em;
    color: #999;
    margin-top: 20px;
    line-height: 1.5;
}

/* 効果的セクション */
.effective-section {
    padding: 50px 15px;
    background-color: #f4f4f4;
    text-align: center;
}

.effective-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.effective-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.effective-image-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.effective-image {
    max-width: calc(50% - 20px);
    flex: 1 1 calc(50% - 20px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.effective-check-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
    text-align: left;
}

.effective-check-item {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
    position: relative;
    padding-left: 30px;
}

.effective-check-item::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    color: #007bff;
    line-height: 1.8;
}

/* 特長セクション */
.training-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.training-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.training-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.training-images-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.training-image-description {
    flex: 1;
    max-width: 580px;
    text-align: left;
}

.training-main-image {
    margin: 30px auto;
    text-align: center;
}

.training-main-image img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.training-supplementary-info {
    margin: 20px 0;
    font-size: 1.2em;
    color: #555;
    line-height: 1.8;
    text-align: center;
}

.training-check-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 0;
    max-width: 800px;
    text-align: left;
}

.training-check-item {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-left: 30px;
}

.training-check-item::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3em;
    color: #007bff;
    line-height: 1.8;
}

/* 比較セクション */
.comparison-section {
    max-width: 100%;
    margin: 40px 0;
    padding: 20px;
}

.comparison-section h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.comparison-section p {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    position: relative;
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 16px;
    min-width: 900px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 12px;
    white-space: normal;
}

.comparison-table th {
    background-color: #f4f4f4;
    font-weight: bold;
    text-align: center;
    padding: 14px;
}

.comparison-table .highlight {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #2c3e50;
    border: 2px solid #e0e0e0;
}

.comparison-table tr:nth-child(even) {
    background-color: #fafafa;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    position: sticky;
    left: 0;
    background-color: #f9f9f9;
    z-index: 2;
    font-weight: bold;
    text-align: left;
    border-right: 2px solid #ddd;
}

.comparison-table td:hover,
.comparison-table th:hover {
    background-color: #f0f8ff;
}

.comparison-table th:hover {
    background-color: #e0e0e0;
}

.comparison-table tr:hover {
    background-color: #f5f5f5;
}

.comparison-table td:first-child:hover {
    background-color: #e0e0e0;
}

/* トレーニングの流れセクション */
.flow-section {
    padding: 60px 20px;
    background-color: #eef4fa;
    text-align: center;
}

.flow-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.flow-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.flow-images-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.flow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.flow-step img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.flow-step p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
}

.flow-step p strong {
    color: #007bff;
    font-weight: bold;
}

/* 利用者の声セクション */
.testimonials-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.testimonials-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.testimonial-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-item {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 300px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 1em;
    font-weight: bold;
    color: #007bff;
}

/* 診断チェックセクション */
.checklist-section {
    padding: 60px 20px;
    background-color: #f1f8ff;
    text-align: center;
}

.checklist-description {
    max-width: 800px;
    margin: 0 auto 40px;
}

.checklist-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #004085;
    margin-bottom: 20px;
}

.checklist-intro {
    font-size: 1.1em;
    color: #333;
    line-height: 1.8;
}

.checklist-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.checklist-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.checklist-question p {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 8px;
    color: #222;
}

.checklist-question label {
    display: inline-block;
    margin-right: 20px;
    font-size: 1em;
    color: #444;
    cursor: pointer;
}

.checklist-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.checklist-button {
    background-color: #007bff;
    color: white;
    font-size: 1.1em;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.checklist-button:hover {
    background-color: #0056b3;
}

.checklist-result {
    margin-top: 30px;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    background-color: #e9f7fe;
    border-left: 5px solid #17a2b8;
    padding: 15px 20px;
    border-radius: 8px;
}

/* 料金プランセクション */
.pricing-section {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.pricing-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    text-align: left;
}

.pricing-table thead th {
    background-color: #007bff;
    color: #fff;
    padding: 15px;
    font-size: 1.2em;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.pricing-table td {
    padding: 15px;
    font-size: 1em;
    color: #333;
}

.notice {
    color: #007bff;
    font-size: 0.9em;
    font-style: italic;
}

.additional-info {
    font-size: 0.9em;
    margin-top: 20px;
    color: #777;
}

.btn-container {
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* お申し込みの流れのセクション */
.apply-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.step-item {
    flex: 1 1 calc(33% - 20px);
    max-width: calc(33% - 20px);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.step-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.step-description {
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
}

.btn-container {
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* よくある質問セクション */
.faq-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.faq-question {
    font-size: 1.2em;
    font-weight: bold;
    color: #007bff;
    cursor: pointer;
    margin: 0;
}

.faq-answer {
    font-size: 1em;
    color: #555;
    margin-top: 10px;
}

/* お問い合わせセクション */
#contact {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #ddd;
}

#contact .container {
    max-width: 800px;
    margin: 0 auto;
}

#contact h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

#contact p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

#contact .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact .btn:hover {
    background-color: #0056b3;
}

/* SNSセクション */
.sns-links {
    margin: 20px 5px;
}

.sns-container {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.sns-icon-items {
    display: inline-block;
    text-decoration: none;
}

.sns-icon-size {
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 1024px) and (max-height: 1366px) {
    .training-title {
        font-size: 2.4em;
    }
}

@media screen and (min-width: 431px) and (max-width: 960px) {}

@media screen and (max-width: 430px) {
    .hero-title {
        font-size: 1.4em;
    }

    .effective-image-row {
        gap: 15px;
    }

    .effective-title {
        font-size: 1.8em;
    }

    .effective-check-item {
        font-size: 1em;
    }

    .training-images-row {
        flex-direction: column;
        gap: 20px;
    }

    .training-title {
        font-size: 2em;
    }

    .training-check-item {
        font-size: 1em;
    }

    .comparison-section h2 {
        font-size: 20px;
    }

    .comparison-section p {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        font-size: 14px;
        white-space: normal;
        /* スマホでも折り返しを有効にする */
    }

    .flow-images-row {
        flex-direction: column;
        gap: 20px;
    }

    .flow-step {
        max-width: 100%;
    }

    .flow-title {
        font-size: 2em;
    }

    .testimonial-items {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-item {
        max-width: 100%;
    }

    .testimonials-title {
        font-size: 2em;
    }

    .checklist-title {
        font-size: 2.3em;
    }

    .pricing-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .pricing-title {
        font-size: 2em;
    }

    .pricing-description {
        font-size: 1em;
    }

    .steps {
        flex-direction: column;
        gap: 20px;
    }

    .step-item {
        max-width: 100%;
    }
}