@charset "UTF-8";

/* SEOコンテンツ用スタイル */
.sec_seo {
    padding: 80px 0;
    background-color: #fdfcfa;
}

.sec_seo--bg-white {
    background-color: #ffffff;
}

/* Market Block */
.p-content__h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a472a;
    border-bottom: 2px solid #eaf0ec;
    padding-bottom: 10px;
    margin: 40px 0 25px;
    position: relative;
}

.p-content__h3::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #cda036;
}

.p-market-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.p-market-block--reverse {
    flex-direction: row-reverse;
}

.p-market-block__image {
    flex: 0 0 45%;
}

.p-market-block__text-wrap {
    flex: 1;
}

.p-market-block__text {
    margin: 0;
    line-height: 1.9;
    font-size: 15px;
    text-align: justify;
}

/* Tips */
.p-tips {
    margin-top: 40px;
    padding: 0;
    list-style: none;
    counter-reset: tip-count;
}

.p-tips__item {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 6px solid #1a472a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.p-tips__title {
    font-size: 20px;
    font-weight: bold;
    color: #1a472a;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
}

.p-tips__title::before {
    counter-increment: tip-count;
    content: counter(tip-count);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #cda036;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 16px;
    flex-shrink: 0;
}

.p-tips__desc {
    margin: 0;
    line-height: 1.9;
    font-size: 15px;
}

/* Flow */
.p-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.p-flow__item {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    align-items: stretch;
}

.p-flow__step {
    background-color: #1a472a;
    color: #ffffff;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 20px;
    flex-shrink: 0;
}

.p-flow__step-en {
    font-size: 14px;
    color: #cda036;
    margin-bottom: 5px;
}

.p-flow__step-num {
    font-size: 32px;
    line-height: 1;
}

.p-flow__body {
    padding: 30px;
    flex: 1;
}

.p-flow__title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px;
    color: #1a472a;
}

.p-flow__text {
    margin: 0;
    line-height: 1.8;
    font-size: 15px;
}

/* FAQ */
.p-faq {
    margin-top: 40px;
}

.p-faq__item {
    margin-bottom: 15px;
}

.p-faq__q {
    background-color: #1a472a;
    color: #ffffff;
    padding: 20px;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
}

.p-faq__q-mark {
    color: #cda036;
    font-size: 24px;
    margin-right: 15px;
    line-height: 1;
}

.p-faq__q-text {
    margin: 0;
    padding-top: 2px;
    font-size: 16px;
}

.p-faq__a {
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 5px 5px;
    display: flex;
    align-items: flex-start;
}

.p-faq__a-mark {
    color: #1a472a;
    font-size: 24px;
    margin-right: 15px;
    line-height: 1;
    font-weight: bold;
}

.p-faq__a-text {
    margin: 0;
    padding-top: 2px;
    font-size: 15px;
    line-height: 1.8;
}

/* Service New (刷新されたデザイン) */
.p-service-new {
    padding: 80px 0 120px;
    background-color: #f7f9f8;
    /* 背景色で下部セクションと明確に区切る */
}

.p-service-new__text-wrap {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
    line-height: 1.8;
}

.p-service-new__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.p-service-new__grid .common_card01 {
    width: 100%;
    margin: 0;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-service-new__grid .common_card01:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.p-service-new__grid .common_card01_img {
    height: 100%;
    display: block;
}

.p-service-new__grid .common_card01_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 750px) {

    .top_mv_catch {
        margin-bottom: 5vw;
    }

    .top_mv_catch01_text {
        font-size: 4.8vw;
        line-height: 1.9;
    }

    .top_mv_catch01 {
        font-size: 3.65vw;
        padding-left: 0;
    }

    .top_mv_powered {
        font-size: 3.73vw;
        text-align: left;
    }

    .sec_seo {
        padding: 50px 0;
    }

    .p-market-block {
        flex-direction: column;
        gap: 20px;
    }

    .p-market-block--reverse {
        flex-direction: column;
    }

    .p-market-block__image {
        width: 100%;
    }

    .p-flow__item {
        flex-direction: column;
    }

    .p-flow__step {
        width: 100%;
        flex-direction: row;
        padding: 15px;
        gap: 15px;
    }

    .p-flow__step-en {
        margin-bottom: 0;
    }

    .p-flow__body {
        padding: 20px;
    }

    .p-service-new {
        padding: 50px 0;
    }

    .p-service-new__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .p-service-new__grid {
        grid-template-columns: 1fr;
    }
}