

/**
 * REASON Section
 */
.p-reason {
    background-color: #F8F8F8; /* bg-gray */
    padding: clamp(60px, 8vw, 100px) 0;
}

.p-reason__list {
    display: flex;
    justify-content: center;
    gap: clamp(0.938rem, -0.735rem + 3.48vw, 1.875rem);
}

.p-reason__item {
    flex: 1;
    background-color: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* カード上部：黄色背景 */
.p-reason__item-head {
    background-color: var(--color-key);
    padding: clamp(1.25rem, 0.135rem + 2.32vw, 1.875rem) clamp(0.938rem, -0.178rem + 2.32vw, 1.563rem);
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 140px;
    position: relative;
}

/* カード下部：白背景との境界を斜めにする装飾 */
.p-reason__item-head::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--color-key);
    clip-path: polygon(-50% 0%, 100% 0, 100% 50%, 50% 100%);
    z-index: 1;
}

.p-reason__item-icon {
    width: clamp(2.5rem, 0.27rem + 4.64vw, 3.75rem);
    height: clamp(2.5rem, 0.27rem + 4.64vw, 3.75rem);
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.p-reason__item-icon img {
    width: clamp(2rem, 1.108rem + 1.86vw, 2.5rem);
    object-fit: contain;
}

.p-reason__item-title-wrap {
    z-index: 2;
}

.p-reason__item-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 5px;
    width: fit-content;
    padding: 2px 10px;
    background-color: white;
}

.p-reason__item-title {
    font-size: clamp(1.125rem, 0.456rem + 1.39vw, 1.5rem);
    color: var(--color-main);
    font-weight: 800;
    line-height: 1.4;
}

.p-reason__item-body {
    padding: 50px clamp(0.938rem, -0.735rem + 3.48vw, 1.875rem) clamp(1.563rem, -0.11rem + 3.48vw, 2.5rem);
}

.p-reason__item-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-font);
    text-align: justify;
}

/**
 * レレスポンシブ (SP)
 */
@media screen and (max-width: 768px) {
    .p-reason__list {
        flex-direction: column;
    }

    .p-reason__item-head {
        min-height: auto;
        padding: 25px 20px;
    }

    .p-reason__item-body {
        padding: 40px 20px 30px;
    }

    .p-reason__item-text {
        font-size: 14px;
    }
}


@media screen and (max-width: 468px) {
    .p-reason__item-title {
        font-size: 24px;
    }
    .p-reason__item-icon img {
        width: 40px;
    }
    .p-reason__item-icon {
        width: 60px;
        height: 60px;
    }
}




/**
 * FLOW Section
 */
.p-flow {
    background-color: #F8F8F8; /* bg-gray */
    padding: clamp(60px, 8vw, 100px) 0;
}

.p-flow__list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.p-flow__item {
    flex: 1;
    position: relative;
}

/* PC版：アイテム間の「＞」 */
.p-flow__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 10px;
    height: 18px;
    background-color: var(--color-main);
    clip-path: polygon(0 0, 100% 50%, 0 100%, 20% 50%); /* 矢印の形 */
}

.p-flow__item-inner {
    background-color: var(--color-white);
    padding: 60px 20px 40px;
    text-align: center;
    border-radius: 4px; /* わずかに角を丸く */
    height: 100%;
}

/* STEP バッジ */
.p-flow__step {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background-color: var(--color-main);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
    z-index: 1;
}

.p-flow__step-label {
    font-size: 10px;
    font-weight: bold;
}

.p-flow__step-num {
    font-size: 22px;
    font-weight: 800;
}

.p-flow__item-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-main);
    margin-bottom: 20px;
}

.p-flow__item-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-font);
    word-break: break-all;
}

/**
 * レスポンシブ (SP)
 */
@media screen and (max-width: 768px) {
    .p-flow__list {
        flex-direction: column;
        gap: 60px; /* ステップ間の余白 */
        padding: 0 20px;
    }

    .p-flow__item {
        width: 100%;
    }

    .p-flow__item:not(:last-child)::after {
        display: none; /* SPでは矢印を消す */
    }

    .p-flow__item-inner {
        padding: 50px 20px 30px;
    }
}

@media screen and (max-width: 468px) {

}