/* ヒーローセクション */
.hero-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
    margin: auto;
    max-width: 100%;
}

.hero-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.hero-section img {
    max-width: 80%;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
}

.hero-section p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-top: 20px;
}

/* サービスの流れセクション */
.service-flow-section {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.service-flow-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.service-flow {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-step {
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 330px;
    text-align: center;
}

.service-step h3 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
}

.service-step img {
    max-width: 80%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.service-step p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* 申し込みまでの流れセクション */
.application-flow-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
    margin: auto;
    max-width: 90%;
}

.application-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.application-step {
    flex: 1 1 calc(33.33% - 2rem);
    text-align: center;
}

.application-step img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.button-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.btn-application {
    display: inline-block;
    padding: 0.8rem 2rem;
    color: #fff;
    background-color: #0073e6;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-application:hover {
    background-color: #005bb5;
}

/* 成功事例セクション */
.success-stories-section {
    padding: 2rem 1rem;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 100%;
}

.success-stories-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.success-stories-section img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.success-stories-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    text-align: center;
}

.success-stories-list {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    max-width: 50%;
}

.success-stories-list li {
    font-size: 1rem;
    color: #444;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.success-stories-list li:last-child {
    border-bottom: none;
}

/* 料金プランセクション */
.pricing-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 90%;
    text-align: center;
}

.pricing-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.pricing-box {
    padding: 1rem;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 1rem);
    min-width: 250px;
    text-align: center;
}

.pricing-box p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.pricing-box strong {
    color: #000;
    font-size: 1.2rem;
}

.button-wrapper {
    margin-top: 2rem;
}

.btn-application {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    color: #ffffff;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-application:hover {
    background-color: #0056b3;
}

/* サービス利用をお断りするケースセクション */
.service-restriction-section {
    padding: 2rem 1rem;
    background-color: #fff8e1;
    border: 1px solid #f1c40f;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 80%;
}

.service-restriction-section h2 {
    font-size: 1.8rem;
    color: #d35400;
    margin-bottom: 1rem;
    text-align: center;
}

.notice {
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.notice p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
    text-align: center;
}

.restriction-list {
    list-style-type: disc;
    margin: 0 auto;
    padding-left: 2rem;
    color: #333;
    max-width: 50%;
}

.restriction-list li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.restriction-list li::marker {
    color: #d35400;
}

.notice p:last-of-type {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #888;
}

/* よくある質問セクション */
.faq-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 10px auto;
    max-width: 90%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: 1.8rem;
    color: #34495e;
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.faq-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.faq-item strong {
    color: #3498db;
}

.faq-item p strong:first-of-type {
    font-weight: bold;
    margin-right: 0.5rem;
}

.faq-item p strong:last-of-type {
    font-weight: normal;
}

@media screen and (max-width: 1024px) and (max-height: 1366px) {}

@media screen and (min-width: 431px) and (max-width: 960px) {}

@media screen and (max-width: 430px) {
    .application-flow {
        flex-direction: column;
    }

    .service-flow {
        flex-direction: column;
    }

    .success-stories-list {
        max-width: 100%;
    }

    .pricing-box {
        min-width: 300px;
    }

    .restriction-list {
        max-width: 100%;
    }
}