/*コンテンツ幅*/

.wrap {
    max-width: calc(1188px + 3rem);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media screen and (max-width: 1300px) {
    .wrap {
        width: 100%;
        padding: 0 5rem;
    }
}
@media screen and (max-width: 1024px) {
    .wrap {
        padding: 0 1rem;
    }
}

/*見出し*/

h1 {
    color: #ffffff;
    font-size: 2.5rem;
    width: 100%;
    font-weight: 500;
    letter-spacing: 5px;
    line-height: 100%;
    display: flex;
    white-space: nowrap;
    gap: 1.5rem;
    align-items: baseline;
}

h1 span {
    width: 100vw;
    height: 1px;
    background-color: #fff;
    margin-right: calc(50% - 50vw);
}

h2 {
    font-size: 2rem;
    color: #2CA339;
    width: 100%;
    font-weight: 400;
    letter-spacing: 5px;
    line-height: 120%;
    display: flex;
    white-space: nowrap;
    gap: 1.5rem;
    align-items: baseline;
}

h2 span {
    width: 100vw;
    height: 1px;
    background-color: #2CA339;
    margin-right: calc(50% - 50vw);
}

h3 {
    font-size: 1.3rem;
    color: #2CA339;
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 1.8rem;
        gap: 0.5rem;
    }
    h1 span {
        font-size: 1.2rem;
    }
    .fdc h1 {
        flex-direction: column;
        gap: 0;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
}


/*---▼リンクボタン▼---*/

.btn {
    font-size: 1.3rem;
    color: #fff;
    border-radius: 10px;
    background: #2CA339;
    padding: 0.5rem 1rem;
    display: inline-block;
}

@media screen and (max-width: 420px) {
    .btn {
        font-size: 1rem;
    }
}


/*---▼共通スタイル▼---*/

.all_container {
    box-shadow: 0px 22px 15px -15px rgba(0, 0, 0, 0.2);
    position: relative;
}


/*---▼ファーストビュー▼---*/

.fv_inner {
    position: relative;
    height: 350px;
}

.fv_inner .bk_img {
    position: relative;
    top: 0;
    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    background: #fff;
}

.main_fv {
    width: 100%;
    max-width: calc(1315px + 3rem);
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fv_inner .txt_sec {
    position: relative;
}

.fv_inner .txt_sec h1 {
    color: #fff;
    font-size: 2.8125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.14063rem;
}

.fv_inner .txt_sec h2 {
    color: #fff;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
}

.breadcrumbs {
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 200%;
    color: #fff;
    margin: 0 auto;
    position: absolute;
    width: calc(1315px + 3rem);
    right: 0;
    left: 0;
    bottom: 1rem;
    display: flex;
    gap: 0.3rem;
}

@media screen and (max-width: 1024px) {
    .main_fv {
        max-width: 100%;
        flex-direction: column;
        padding: 0 0.5rem;
        padding-top: 0rem;
    }
    .fv_inner .bk_img {
        position: absolute;
        top: 0;
        object-fit: cover;
        height: 300px;
        width: 100%;
        object-position: 59%;
    }
    .fv_inner .txt_sec h1 {
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
    }
    .fv_inner .txt_sec h2 {
        font-size: 1.3rem;
    }
    .fv_inner .img_sec img {
        display: none;
    }
    .fv_inner .txt_sec .fv_concept {
        gap: 0.5rem;
        justify-content: center;
        font-size: 1.1rem;
    }
    .fv_inner .txt_sec .fv_concept p {
        width: 2.12319rem;
        height: 0.22588rem;
    }
    .fv_inner {
        height: 300px;
    }
    .breadcrumbs {
        font-size: 0.7rem;
        padding: 0 0.5rem;
        width: auto;
        flex-flow: wrap;
        line-height: 120%;
    }
}

@media screen and (max-width: 420px) {
    .main_fv {
        top: 70%;
        left: 50%;
        transform: translate(-50%, -70%);
    }
    .fv_inner {
        height: 200px;
    }
    .fv_inner .bk_img {
        position: absolute;
        top: 0;
        object-fit: cover;
        height: 200px;
        width: 200%;
        object-position: -23rem 0rem;
    }
}


/*---▼サイド追従ボタンリンク▼---*/

.side_link {
    position: fixed;
    top: 15rem;
    right: 0;
    z-index: 3;
}

.side_link a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    color: #fff;
    border-radius: 0.9375rem 0rem 0rem 0.9375rem;
    font-family: "Noto Sans JP";
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 150%;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.side_link a:hover {
    opacity: 1;
}

.side_link a .icon_img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side_link a .icon_img img {
    width: 80%;
    height: auto;
}

.side_link a:first-child {
    background: #5dab52;
}

.side_link a:first-child:hover {
    background: #1B6821;
}

.side_link a:last-child {
    background: #a4c94e;
    margin-top: 0.3rem;
}

.side_link a:last-child:hover {
    background: #728E23;
}

@media screen and (max-width: 1024px) {
    .side_link {
        position: fixed;
        top: auto;
        bottom: 0;
        right: auto;
        display: flex;
        width: 100%;
    }
    .side_link a {
        padding: 1rem;
        border-radius: 0;
        font-size: 1.5rem;
        flex: 1;
        gap: 0.5rem;
        text-align: center;
        justify-content: center;
        line-height: 120%;
        font-weight: 500;
        writing-mode: unset;
        text-orientation: unset;
    }
    .side_link a:last-child {
        border-radius: 0;
        margin-top: 0;
    }
}

@media screen and (max-width: 420px) {
    .side_link a {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}


/*---▼404ページ▼---*/

.code_sec {
    padding: 13rem 0;
}

.code_sec p {
    text-align: center;
    line-height: 150%;
}

@media screen and (max-width: 1024px) {
    .code_sec {
        padding: 9rem 0;
    }
}

@media screen and (max-width: 420px) {
    .code_sec {
        padding: 3rem 0;
    }
    .code_sec p {
        font-size: 0.9rem;
    }
}
