@charset "UTF-8";
/*-------------------------------------------*/
/*共通*/
/*-------------------------------------------*/

.hidden {
    display: none;
}

body p {
    font-size: 1.5rem;
    line-height: 1.7;
}


@media screen and (max-width: 768px) {
    body p {
        font-size: 1.3rem;
    }
}

/*-------------------------------------------*/
/*メインイメージ*/
/*-------------------------------------------*/
.subsidies_fv {
    background-color: #36498f;
    height: 363px;
}

.subsidies_fv_bg {
    background-image: url(image/mainimg_bg@2x.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    height: 463px;
    position: relative;
    margin-left: 100px;
}


.subsidies_fv_text {
    position: absolute;
    top: 320px;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 1000px) {
    .subsidies_fv_text img {
        width: 80%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .subsidies_fv_bg {
        height: 250px;
        margin-left: 80px;
    }

    .subsidies_fv_text {
        top: 210px;
    }

    .subsidies_fv {
        height: 196px;
    }

    .subsidies_fv_text img {
        width: 80%;
        margin: 0 auto;
        padding-left: 30px;
    }

}

@media screen and (max-width: 480px) {
    .subsidies_fv {
        height: 90px;
    }

    .subsidies_fv_bg {
        height: 130px;
        margin-left: 30px;
    }

    .subsidies_fv_text {
        top: 113px;
        width: 100%;
    }

    .subsidies_fv_text img {
        width: 70%;
        padding-left: 0;
    }

}


/*-------------------------------------------*/
/*intro*/
/*-------------------------------------------*/
section.intro {
    /*margin-top: 769px;*/
    margin-bottom: 135px;
}

@media screen and (min-width: 1900px) {
    .hero_img {
        background-position: 0 -300px;
    }
}

.hero_img {
    position: relative;
    background-image: url(img/main_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 120px;
    padding-bottom: 68px;
    background-position: center bottom;
    z-index: -1;

}

.hero_maining {
    margin-top: 100px;
}

.hero_tail {
    width: 100vw;
    height: 62px;
    margin: 0 auto;
    background: #e6f4fd;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    margin-bottom: 65px;
}

.intro .heading h3 {
    font-size: 2.9rem;
    line-height: 1.2;
    color: #36498f;
}

.intro .heading:after {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #36498f;
    content: "";
    margin-top: 20px;
    margin-bottom: 20px;
}

.intro .flex {
    justify-content: space-between;
}

.intro .image_block {
    width: auto;
}

.intro .text_wrap {
    width: 50%;
    margin-right: 30px;

}

@media screen and (max-width: 1000px) {
    .intro .heading h3 br {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .intro .image_block {
        width: 45%;
    }

    .intro .heading h3 {
        font-size: 2.4rem;
    }

    .hero_img {
        padding-top: 70px;
        padding-bottom: 10px;
    }

    section.intro {
        margin-bottom: 70px;
    }

}

@media screen and (max-width: 640px) {
    .intro .flex {
        flex-direction: column;
    }

    .intro .image_block {
        width: 100%;
    }

    .intro .text_wrap {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 30px;
    }
}


@media screen and (max-width: 480px) {
    .hero_img {
        padding-top: 50px;
        padding-bottom: 0px;
    }

    section.intro {
        margin-bottom: 100px;
    }

    .intro .heading h3 {
        font-size: 2.0rem;
    }

    .hero_tail {
        margin-bottom: 50px;
    }

    .hero_maining {
        margin-top: 30px;
    }

    .hero_maining img {
        width: 85%;
        margin: 0 auto;
    }
}

/*-------------------------------------------*/
/*example*/
/*-------------------------------------------*/
.example .bg_color {
    background-color: #f2f2f2;
    padding-top: 110px;
    padding-bottom: 140px;
}


.example .heading h3 {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 20px;
}

.example .sub_text {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.example .sub_text p {
    width: 80%;
}

.container.flex {
    flex-wrap: wrap;
    justify-content: space-between;
}

.container_item {
    max-width: 480px;
    width: calc(50% - 10px);
    position: relative;
    margin-bottom: 41px;
}

.container_bg_color {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 60px 68px 60px;
}

.balloon_box_wrap {
    position: absolute;
    display: flex;
    justify-content: center;
    top: -23px;
    width: 100%;
}


.balloon_box {
    background-color: #36498f;
    color: #fff;
    border-radius: 50px;
    padding: 8px 30px;
    position: relative;
    min-width: 300px;
}

.balloon_box::after {
    content: "";
    position: absolute;
    top: auto;
    transform: translateX(-50%);
    left: 50%;
    bottom: -7px;
    border-width: 8px 10px 0px 10px;
    border-style: solid;
    border-color: #36498f transparent transparent transparent;
}

.balloon_box p {
    font-size: 1.6rem;
    text-align: center;
}

.item_tit {
    margin-bottom: 29px;
    display: flex;
    justify-content: center;
}

.item_sub_text p {
    font-size: 1.6rem;
    margin-top: 23px;
    margin-bottom: 45px;
}

.example .detail {
    border-radius: 10px;
}

.detail_heading {
    background-color: #36498f;
    text-align: center;
    border-radius: 10px 10px 0px 0px;
    padding: 9px 0px;
    justify-content: center;
    align-items: center;
    gap: 9px;
}

.detail_heading span {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;

}

.detail_list {
    background-color: #f2f2f2;
    border-radius: 0px 0px 10px 10px;
    padding: 17px 35px 23px;

}

.detail_list li {
    font-size: 1.6rem;
}

@media screen and (max-width: 1000px) {
    .container_bg_color {
        padding: 40px 20px 65px 20px;
    }

    .balloon_box p {
        font-size: 1.4rem;
    }

    .detail_list li {
        font-size: 1.3rem;
    }

    .detail_heading span {
        font-size: 1.5rem;
    }

    .item_sub_text p {
        font-size: 1.4rem;
    }

}

@media screen and (max-width: 768px) {
    .example .sub_text p {
        width: 100%;
    }

    .container.flex {
        flex-direction: column;
    }

    .item_img {
        display: flex;
        justify-content: center;
    }

    .item_img {
        display: flex;
        justify-content: center;
    }

    .container_item {
        max-width: initial;
        width: 100%;

    }

    .example .heading h3 {
        font-size: 2.4rem;
    }

    ul.detail_list {
        display: flex;
        flex-wrap: wrap;
        gap: 0 30px;
    }
}

@media screen and (max-width: 480px) {
    .example .bg_color {
        padding-top: 100px;
        padding-bottom: 0px;
    }

    .example .heading h3 {
        font-size: 2.0rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .container_item {
        max-width: initial;
        width: 100%;
        margin-bottom: 60px;
    }

    .balloon_box p {
        font-size: 1.3rem;
    }

    .balloon_box {
        min-width: 200px;
        padding: 5px 20px;
    }

    .item_tit img {
        height: 22px;
        width: 100%;
        object-fit: contain;
    }

    .container_bg_color {
        padding: 30px 20px 65px 20px;
    }

    .item_tit {
        margin-bottom: 20px;
    }

    .detail_list {
        padding: 17px 15px 21px;
    }

    .item_sub_text p {
        margin-top: 10px;
        margin-bottom: 30px;
    }

    ul.detail_list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .balloon_box_wrap {
        top: -15px;
    }

}

/*-------------------------------------------*/
/*contact*/
/*-------------------------------------------*/

.subsidies_contact_bg {
    background-color: #0a2898;
    padding: 60px 0px 61px 0px;
    position: relative;
}


.contact_image {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 770px;
    margin: 0 auto;
    right: 0;
    left: 0;
    z-index: 0;

}

.contact_text h3 {
    font-size: 2.7rem;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 27px;
}

.contact_text p {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
}

.contact_btn {
    display: flex;
    justify-content: center;
    margin-top: 45px;
    position: relative;
    z-index: 2;
}

.contact_btn a {
    color: #fff;
    background: linear-gradient(180deg, #ff7800 60%, #ff7800 60%, #ff983c 100%);
    border-radius: 50px;
    font-size: 2.0rem;
    font-weight: bold;
    padding: 17px 65px 17px 48px;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ff983c;
    transition: 0.3s transform, 0.6s;
}

.contact_btn a:hover {
    /*color: #ff7800;
    background: #fff;
    border: 1px solid #ff7800;
    opacity: 1;*/
    opacity: 1;
    transform: scale(0.96);
}


/* タッチデバイスでホバー効果を無効化 */
@media (hover: none) {
    .contact_btn a:hover {
        color: #fff;
        background: linear-gradient(180deg, #ff7800 60%, #ff7800 60%, #ff983c 100%);
        border: 1px solid #ff983c;
        opacity: 1;
    }
}

.contact_btn a::after {
    position: absolute;
    content: "";
    right: 40px;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    -webkit-transform: translateX(-10%) rotate(45deg);
    transform: translateX(-10%) rotate(45deg);
}



.contact_image_wrap {
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .contact_text h3 {
        font-size: 2.2rem;
    }

    .contact_btn a {
        font-size: 1.3rem;
        padding: 17px 15px 15px 45px;
        width: 100%;
        max-width: 340px;
    }
}

@media screen and (max-width: 640px) {
    .contact_image {
        display: none;
    }

    .contact_btn a {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .contact_text h3 {
        font-size: 2.0rem;
    }

    .contact_text h3 br,
    .contact_text p br {
        display: none;
    }

    .contact_text p {
        font-size: 1.3rem;
        font-feature-settings: "palt";
    }

    .contact_btn a {
        font-size: 1.4rem;
        padding: 17px 30px 17px 0px;
        display: flex;
        justify-content: center;
    }

    .contact_btn a::after {
        right: 30px;
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 330px) {
    .contact_btn a::after {
        right: 25px;
    }
}


/*-------------------------------------------*/
/*baseのconact調整用*/
/*-------------------------------------------*/

.contact_contents h3 {
    margin-top: 0px;
}