/*
 * 遠隔地就業補助制度
 * 参考キャプチャの image-04.jpg / image-04_sp.png の見た目を基準に、
 * 制度説明部分をHTML化。
 */

.local_support {
    width: min(700px, calc(100% - 40px));
    margin: 0 auto 50px;
    color: #333;
}

.local_support-title {
    margin: 0;
    padding: 0 0 16px;
    border-bottom: 1px dashed #c9b5d5;
    color: #957aa9;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.local_support-content {
    width: calc(100% - 110px);
    margin: 34px auto 0;
}

.local_support-item {
    margin: 0 0 42px;
}

.local_support-item:last-child {
    margin-bottom: 0;
}

.local_support-heading {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 22px 7px;
    border-radius: 5px;
    color: #fff;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.local_support-item--moving .local_support-heading {
    background: #f58a19;
}

.local_support-item--dormitory .local_support-heading {
    background: #80b7df;
}

.local_support-item--travel .local_support-heading {
    background: #86b831;
}

.local_support-body {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}

.local_support-body p {
    margin: 0 0 26px;
}

.local_support-body p:last-child {
    margin-bottom: 0;
}

/* 返済に関する注意文 */
.local_refund-note {
    width: min(590px, calc(100% - 40px));
    margin: 34px auto 0;
    color: #4f16a5;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

@media screen and (max-width: 767px) {
    .local_support {
        width: calc(100% - 30px);
        margin-bottom: 36px;
    }

    .local_support-title {
        padding-bottom: 12px;
        font-size: 22px;
        line-height: 1.45;
    }

    .local_support-content {
        width: 100%;
        margin-top: 26px;
    }

    .local_support-item {
        margin-bottom: 34px;
    }

    .local_support-heading {
        margin-bottom: 14px;
        padding: 6px 15px 7px;
        border-radius: 4px;
        font-size: 18px;
        line-height: 1.3;
    }

    .local_support-body {
        font-size: 14px;
        line-height: 1.75;
    }

    .local_support-body p {
        margin-bottom: 20px;
    }

    .local_refund-note {
        width: calc(100% - 30px);
        margin-top: 26px;
        font-size: 18px;
        line-height: 1.55;
    }
}


/* =========================================================
   「さらにこんな補助も」
   image-02.png を元画像の構成に合わせてHTML/CSS化
   ========================================================= */

.local_benefits {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto 48px;
    padding: 12px 0 34px;
    box-sizing: border-box;
    background: transparent;
}

.local_benefits-title {
    margin: 15px 0 26px 46px;
    padding: 0;
    color: #601986;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    /* ↓追加 */
    transform: rotate(-6deg);
    transform-origin: left center;
}

.local_benefits-list {
    width: calc(100% - 84px);
    margin: 0 0 0 84px;
    padding: 0;
    list-style: none;
}

.local_benefits-list li {
    position: relative;
    display: flex;
    min-height: 60px;
    align-items: center;
    margin: 0 0 27px;
    padding: 10px 26px 10px 76px;
    box-sizing: border-box;
    background: #fff;
    color: #231815;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
}

.local_benefits-list li:last-child {
    margin-bottom: 0;
}

.local_benefits-list li::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 9px;
    background: #601986;
    content: "";
}

@media screen and (max-width: 767px) {
    .local_benefits {
        width: calc(100% - 24px);
        padding: 16px 0 26px;
    }

    .local_benefits-title {
        margin: 0 0 18px 14px;
        font-size: 14px;
    }

    .local_benefits-list {
        width: calc(100% - 16px);
        margin-left: 16px;
    }

    .local_benefits-list li {
        min-height: 48px;
        margin-bottom: 16px;
        padding: 8px 8px 8px 18px;
        font-size: clamp(12px, 3.45vw, 14px);
        line-height: 1.35;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }

    .local_benefits-list li::before {
        width: 7px;
    }
}

/* =========================================================
   支給額・最大15万円補助
   image-01.jpg を元画像の構成に合わせてHTML/CSS化
   ========================================================= */

.local_grant {
    width: min(720px, calc(100% - 40px));
    margin: 0 auto 46px;
    color: #231815;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.local_grant-lead {
    margin: 38px 0 38px;
    color: #9574ad;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.local_grant-panel {
    display: grid;
    grid-template-columns: 40% 8% 52%;
    align-items: center;
}

.local_grant-title {
    margin: 0 0 10px;
    color: #5e208c;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.25;
}

.local_grant-subtitle {
    margin: 0 0 15px;
    font-size: 21px;
    line-height: 1.35;
}

.local_grant-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.local_grant-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 9px;
    font-size: 19px;
    line-height: 1.3;
    white-space: nowrap;
}

.local_grant-number {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #a88ac0;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.local_grant-note {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.local_grant-arrow {
    width: 0;
    height: 0;
    margin: 18px auto 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 29px solid #a98bbf;
}

.local_grant-amount {
    min-width: 0;
}

.local_grant-cheer {
    margin: 0 0 6px;
    background: linear-gradient(
        90deg,
        #e89d58 18%,
        #e58299 42%,
        #68bca5 66%,
        #689bc4 88%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

.local_grant-amount-main {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    padding: 0 0 2px;
}

.local_grant-amount-main::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    z-index: 0;
    height: 18px;
    background: #fff200;
    content: "";
}

.local_grant-price,
.local_grant-copy {
    position: relative;
    z-index: 1;
}

.local_grant-price {
    display: flex;
    align-items: flex-end;
    margin: 0;
    color: #5e168a;
    white-space: nowrap;
}

.local_grant-price-num {
    font-size: 96px;
    font-weight: 400;
    line-height: 0.82;
}

.local_grant-price-unit {
    margin-left: 4px;
    font-size: 34px;
    line-height: 1;
}

.local_grant-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 4px;
    font-size: 25px;
    line-height: 1.15;
    white-space: nowrap;
}

.local_grant-copy strong {
    font-size: 24px;
    font-weight: 400;
}

@media screen and (max-width: 767px) {
    .local_grant {
        width: calc(100% - 24px);
        margin-bottom: 30px;
    }

    .local_grant-lead {
        margin-top: -20px;
        margin-bottom: 18px;
        font-size: 15px;
        white-space: nowrap;
    }

    .local_grant-panel {
        grid-template-columns: 40% 8% 52%;
    }

    .local_grant-title {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .local_grant-subtitle {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .local_grant-list li {
        gap: 4px;
        margin-bottom: 4px;
        font-size: clamp(8px, 2.25vw, 10px);
    }

    .local_grant-number {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
        font-size: 9px;
    }

    .local_grant-note {
        margin-top: 3px;
        font-size: clamp(5.5px, 1.6vw, 7px);
    }

    .local_grant-arrow {
        margin-top: 8px;
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 13px;
    }

    .local_grant-cheer {
        margin-bottom: 3px;
        font-size: clamp(5.5px, 1.65vw, 7px);
        letter-spacing: 0.12em;
    }

    .local_grant-amount-main {
        gap: 4px;
    }

    .local_grant-amount-main::after {
        bottom: 1px;
        height: 7px;
    }

    .local_grant-price-num {
        font-size: clamp(40px, 12.2vw, 52px);
    }

    .local_grant-price-unit {
        margin-left: 1px;
        font-size: clamp(14px, 4.1vw, 18px);
    }

    .local_grant-copy {
        gap: 3px;
        margin-bottom: 1px;
        font-size: clamp(8px, 2.3vw, 10px);
    }

    .local_grant-copy strong {
        font-size: clamp(8px, 2.3vw, 10px);
    }
}

