/* ---------------------------------------------------
共通パーツ
--------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", Meiryo, "sans-serif" !important;
}

.inner {
    max-width: 1080px;
    margin: auto;
}

.title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 1.6px;
}

span {
    color: var(--sub-or, #DB7004);
}

p {
    line-height: 180%;
    font-weight: 500;
}

.rd {
    color: var(--sub-rd, #EC6D54);
}

.or {
    color: var(--sub-or, #DB7004);
}

.gr {
    color: var(--sub-gr, #178B5B);
}

.reverse {
    flex-direction: row-reverse !important;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 767px) {
    p {
        line-height: 160%;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .inner {
        margin: auto 20px;
    }

    .title h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .reverse {
        flex-direction: column !important;
    }
}



/* ---------------------------------------------------
header
--------------------------------------------------- */
header {
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    left: 0;
    padding: 0.5rem 0;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(4px);
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    transition-timing-function: linear;
    background: var(--wh, #ffffff40);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
}

.header-logo {
    color: var(--sub-or, #DB7004);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 160%;
}

.logo-link {
    display: block;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    transition-timing-function: linear;
}

.logo-link:hover {
    opacity: 0.6;
}

@media (max-width: 1180px) {
    header {
        padding: 1rem;
    }

    .nav-menu .menu-list {
        height: 0;
        visibility: hidden;
        opacity: 0;
    }

    .active.nav-menu .menu-list {
        height: auto;
        visibility: visible;
        opacity: 1;
        width: 90%;
        margin: 2.5rem auto 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu._sp-only {
        display: none;
        opacity: 0;
        visibility: hidden;
        height: 0;
    }

    .nav-menu._sp-only.active {
        visibility: visible;
        display: block;
        height: auto;
        padding-bottom: 40px;
        box-sizing: border-box;
        opacity: 1;
        border: none;
        box-shadow: none;
    }
}

@media (min-width: 1000px) {
    .nav-menu {
        padding-top: 0 !important;
        height: 80px;
    }
}

@media (min-width: 1000px) {
    .menu-list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        -ms-flex-align: center;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: space-between;
        gap: 2.5rem;
        height: 100%;
    }
}

@media (max-width: 1180px) {
    .header-wrapper {
        width: 98%;
    }

    header:has(.active) {
        background: #fff;
        height: 100vh;
    }
}

@media (max-width: 1180px) {
    .menu-item {
        /* 各ナビメニューの下線を変えたい時 */
        border: none;
    }

    /* #hb-menu .menu-item{
        display: flex;
        justify-content: space-between;
        align-items: center;
    } */
    .menu-item .menu-link {
        width: 100%;
        justify-content: space-between;
    }

    #hb-menu .menu-item::after {
        content: '';
        display: none;
        background-image: url(../../../repitte-design/assets/img/lp/icon_arrow.png);
        background-size: cover;
        background-position: center;
        width: 26px;
        height: 26px;
    }

    #hb-menu .menu-item:has(.contact-btn)::after {
        display: none;
    }

    #hb-menu .contact-btn {
        width: 100%;
        margin: 32px auto 0;
    }
}

.menu-link {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    gap: 8px;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    transition-timing-function: linear;
    color: #000;
}

.menu-link:hover {
    opacity: 0.6;
}

.contact-btn p {
    font-size: 16px;
    font-weight: 500;
}

header .contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 4.5rem;
    border-radius: 50px;
    background: var(--cta-primary, #19DCAF);
    transition: background 0.3s ease;
}

header .contact-btn:hover {
    background: #22c39e;
}

.contact-btn p {
    white-space: nowrap;
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}

@media (max-width: 1024px) {
    .menu-link {
        font-size: 1.5rem;
        padding-bottom: 24px;
        font-weight: 600;
    }
}

@media (min-width: 1025px) {
    .menu-link {
        white-space: nowrap;
    }
}

.hamburger-button {
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
    height: 60px;
    margin-right: 0;
    margin-left: auto;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger-lines {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    transition-timing-function: linear;
}

.hamburger-lines .line {
    position: absolute;
    right: 0;
    left: 0;
    display: block;
    width: 50%;
    height: 3px;
    margin: auto;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    transition-timing-function: linear;
    background-color: #333;
}

.hamburger-lines.active .line {
    /* ハンバーガーメニューオープン時の線の色を変えたい時 */
    background-color: #333;
}

.hamburger-lines .line:nth-child(1) {
    top: 30%;
}

.hamburger-lines .line:nth-child(2) {
    top: 50%;
}

.hamburger-lines .line:nth-child(3) {
    top: 70%;
}

.header-wrapper h1 {
    width: 160px;
}

@media (min-width: 1180px) {

    /* タブレットサイズ以上でハンバーガーメニューを丸ごと非表示 */
    .hamburger-button {
        display: none;
    }
}

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

    .header-wrapper {
        align-items: start;
    }

    .header-logo {
        font-size: 1.3rem;
    }
}

/* ---------------------------------------------------
MV
--------------------------------------------------- */
#mv {
    position: relative;
    background-color: #FFF5E4;
    padding: 7.5rem 0 6rem;
}

#mv::before {
    position: absolute;
    content: '';
    background-image: url(../img/mv-deco-right.webp);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    width: 776px;
    height: 367px;
}

#mv::after {
    position: absolute;
    content: '';
    background-image: url(../img/mv-deco-left.webp);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -140px;
    width: 960px;
    height: 550px;
}

.mv__inner {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1080px;
    margin: auto;
    z-index: 10;
}

.mv__left {
    width: 60%;
}

.mv__left h2 {
    color: var(--bk, #000);
    font-size: 3rem;
    font-weight: 700;
    line-height: 160%;
    padding-bottom: 1.5rem;
}

.mv__left p {
    color: var(--sub-gr, #178B5B);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 160%;
}

.mv__right {
    width: 40%;
}

.mv__right img {
    width: 140%;
}

@media screen and (max-width: 767px) {
    #mv {
        padding: 5rem 0;
    }

    #mv::before {
        width: 300px;
        height: 160px;
    }

    #mv::after {
        bottom: -100px;
        width: 280px;
        height: 160px;
    }

    .mv__inner {
        padding: 0 20px;
        flex-direction: column-reverse;
        gap: 1.5rem;
    }

    .mv__left,
    .mv__right,
    .mv__right img {
        width: 100%;
    }

    .mv__left h2 {
        font-size: 1.6rem;
    }

    .mv__left p {
        font-size: 18px;
    }
}

/* ---------------------------------------------------
コネクター・パーソネルが選ばれる理由
--------------------------------------------------- */

#about {
    position: relative;
    padding: 15rem 0 5rem;
}

#about::before {
    position: absolute;
    content: '';
    background-image: url(../img/about-deco-top.webp);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    width: 1040px;
    height: 150px;
    z-index: -1;
}

#about::after {
    position: absolute;
    content: '';
    background-image: url(../img/about-deco-bottom.webp);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -10rem;
    right: 8.5rem;
    width: 320px;
    height: 220px;
}

.about__list {
    padding: 2.5rem 0 0;
}

.about__box {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.about__box .item {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__box .item h3 {
    width: fit-content;
    color: var(--wh, #FFF);
    background: var(--sub-gr, #178B5B);
    font-size: 1.5rem;
    letter-spacing: 1px;
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
}

.about__box .item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 160%;
}

@media screen and (max-width: 767px) {
    #about {
        padding: 10rem 0 0;
    }

    #about::before {
        width: 100%;
        height: 60px;
    }

    #about::after {
        width: 130px;
        height: 80px;
        right: 0.5rem;
        bottom: -6rem;
    }

    .about__list {
        padding: 0;
    }

    .about__box {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .about__box .item h4 {
        font-size: 23px;
    }

    .about__box .item h3 {
        font-size: 18px;
    }

    .about__box .item {
        width: 100%;
    }
}

/* ---------------------------------------------------
 エージェント紹介
--------------------------------------------------- */

#agent {
    background: var(--bg_beige, #FFF5E4);
    margin: -1px 0 0;
    padding: 3.5rem 0;
}

.agent__list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    padding: 2.5rem 0;
}

.agent__box {
    width: 33.3%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agent__box .comment {
    position: relative;
    border-radius: 38px;
    background: #FFF;
    padding: 1rem 0;
}

.agent__top::after {
    position: absolute;
    content: '';
    background-image: url("../img/fukidash_decoi.webp");
    background-position: center;
    background-size: cover;
    width: 16px;
    height: 18px;
    top: -4%;
    right: 16%;
    transform: translate(50%, -50%);
}

.agent__bottom::after {
    position: absolute;
    content: '';
    background-image: url("../img/fukidash_decoi.webp");
    background-position: center;
    background-size: cover;
    width: 16px;
    height: 18px;
    bottom: -16%;
    left: 16%;
    transform: rotate(180deg);
}

.agent__box .comment p {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 160%;
}

.agent__box h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.agent__box a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    background: var(--sub-rd, #EC6D54);
    padding: 16px 40px;
    border-radius: 50px;
}

.agent__box a:hover {
    background: #cb5740;
}

.d-industry-contact {
    position: relative;
    width: 400px;
    text-align: center;
    color: var(--txt-primary, #000);
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    border-radius: 48.5px;
    padding: 24px 32px;
    margin: 5rem auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--cta-secondary, #FFD61F);
    gap: 16px;
}

.d-industry-contact:hover {
    background: #e9af00;
    transition: background 0.5s ease;
}

.d-industry-contact::after {
    position: absolute;
    content: '';
    background-image: url("../img/arrow-wh-next.png");
    background-position: center;
    background-size: cover;
    width: 32px;
    aspect-ratio: 1/1;
    top: 50%;
    right: 10%;
    transform: translate(50%, -50%);
    z-index: 10;
}


@media screen and (max-width: 767px) {
    .agent__list {
        padding: 0;
        flex-direction: column;
        gap: 2.5rem;
    }

    .agent__box {
        width: 100%;
    }
}

/* ---------------------------------------------------
実績紹介
--------------------------------------------------- */

#achievement {
    position: relative;
    padding: 7.5rem 0;
}

#achievement::before {
    position: absolute;
    content: '';
    background-image: url("../img/achievement-deco-top.webp");
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
    height: 200px;
    top: -8rem;
    left: 10rem;
}

#achievement .read {
    text-align: center;
    margin-bottom: 5rem;
}

.achievement__text {
    text-align: center;
    margin-bottom: 5rem;
}

.achievement__text h3 {
    color: var(--sub-gr, #178B5B);
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.achievement__text h5 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin: 2rem 0 4rem;
}

.achievement__list {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
}

.achievement__box {
    width: 33.3%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.before_item,
.after_item {
    border-radius: 0 0 10px 10px;
    background: #FFF5E4;
}

.before_item h4,
.after_item h4 {
    color: var(--wh, #FFF);
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2.4px;
    border-radius: 10px 10px 0 0;
    background: var(--sub-bule, #45A3B1);
    padding: 1rem;
}

.after_item h4 {
    background: var(--sub-rd, #EC6D54);
}

.before_item .detail h5,
.after_item .detail h5 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.before_item .detail h5 strong,
.after_item .detail h5 span {
    font-family: DIN;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}


.before_item .info,
.after_item .detail p {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    height: 15vh;
    font-weight: 700;
    line-height: 140%;
    font-size: 1.5rem;
}

.before_item .info img {
    width: 16%;
    height: fit-content;
}

.before_item .info p {
    font-size: 1rem;
    font-weight: 600;
    line-height: 160%;
}



@media screen and (max-width: 767px) {
    #achievement {
        padding: 5rem 0;
    }

    #achievement::before {
        width: 130px;
        height: 130px;
        top: -4rem;
        left: 1rem;
    }

    #achievement .read {
        margin-bottom: 2.5rem;
    }

    .achievement__text {
        margin-bottom: 2.5rem;
    }

    .achievement__text h3 {
        font-size: 31px;
        line-height: 130%;
    }

    .achievement__text h5 {
        font-size: 1rem;
        line-height: 130%;
        margin: 1rem 0;
    }

    .achievement__list {
        gap: 14px;
    }

    .achievement__box {
        gap: 1rem;
    }

    .before_item h4,
    .after_item h4 {
        font-size: 1rem;
    }

    .before_item .info,
    .after_item .detail p {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }

    .before_item .detail h5,
    .after_item .detail h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .before_item .detail h5 strong,
    .after_item .detail h5 span {
        font-size: 2.2rem;
    }

    .before_item .info p {
        font-size: 14px;
        line-height: 140%;
    }

    .before_item .info img {
        width: 40%;
    }

    .arrow_item svg {
        width: 50%;
    }
}

/* ---------------------------------------------------
ご利用の流れ
--------------------------------------------------- */

#flow {
    position: relative;
    background: var(--bg_or, #FFDEA5);
    margin: 2.5rem 0 0;
    padding: 7.5rem 0;
}

#flow::before {
    position: absolute;
    content: '';
    background-image: url("../img/flow_top.webp");
    background-size: contain;
    background-repeat: no-repeat;
    width: 625px;
    height: 226px;
    top: -14rem;
    right: 0;
    z-index: -1;
}

#flow::after {
    position: absolute;
    content: '';
    background-image: url("../img/flow_bottom.webp");
    background-size: contain;
    background-repeat: no-repeat;
    width: 625px;
    height: 226px;
    bottom: -14rem;
    left: 0;
}

.flow__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: #fff;
    border-radius: 20px;
    padding: 5rem 6.5rem;
}

.flow__box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
}

.flow__box .item__img {
    width: 23%;
}

.flow__box .item__text {
    width: 77%;
}

.flow__box .item__text h4 {
    border-radius: 50px;
    background: var(--sub-rd, #EC6D54);
    display: inline-flex;
    padding: 10px 32px;
    color: var(--wh, #FFF);
    font-family: DIN;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.flow__box .item__text h3 {
    color: var(--sub-gr, #178B5B);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.96px;
}

@media screen and (max-width: 767px) {
    #flow {
        margin: 0;
        padding: 2.5rem 0;
    }

    #flow::before {
        width: 50%;
        height: 70px;
        top: -4rem;
    }

    #flow::after {
        width: 50%;
        height: 70px;
        bottom: -4rem;
    }

    .flow__list {
        padding: 1.5rem 1em
    }

    .flow__box {
        align-items: flex-start;
        gap: 1rem;
    }

    .flow__box .item__img {
        width: 40%;
    }

    .flow__box .item__text h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .flow__box .item__text h3 {
        font-size: 1.1rem;
        padding-bottom: 0.3rem;
    }
}

/* ---------------------------------------------------
よくあるご質問
--------------------------------------------------- */

#faq {
    padding: 7.5rem 0;
}

.d-faq-title {
    margin-bottom: 40px;
}

.d-faq-list {
    max-width: 1080px;
    margin: 5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.d-faq-item {
    position: relative;
    cursor: pointer;
}

.d-faq-item::after {
    content: '+';
    position: absolute;
    right: 3%;
    top: 28%;
    font-size: 2rem;
    font-weight: 900;
    transition: transform 0.3s;
}

.d-faq-item.is-open::after {
    content: '－';
    transform: rotate(180deg);
    top: 15%;
}

.d-faq-item>p {
    background: var(--bg_beige, #FFF5E4);
    position: relative;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.d-faq-item>p::before {
    content: 'Q';
    color: var(--sub-gr, #178B5B);
    font-size: 2rem;
    padding: 8px 1.5rem 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active .d-faq-answer {
    display: flex;
}

.d-faq-answer {
    font-size: 16px;
    font-weight: 700;
    line-height: 170%;
    justify-content: left;
    align-items: center;
    display: none;
    margin: 1rem 1.5rem;
}

.d-faq-answer::before {
    content: 'A';
    color: var(--sub-rd, #EC6D54);
    font-size: 32px;
    padding: 8px 1.5rem 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-faq-answer p {
    width: calc(100% - 88px);
}


@media screen and (max-width: 767px) {
    #faq {
        padding: 4rem 0;
    }

    .d-faq-item>p {
        font-size: 16px;
        padding: 1rem 3.5rem 1rem 1rem;
    }

    .d-faq-item>p::before {
        font-size: 1.8rem;
        padding: 4px 1rem 6px 0;
    }

    .d-faq-answer::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
        border-radius: 8px;
    }

    .d-faq-item>p::after {
        width: 1.5rem;
        height: 1.5rem;
        top: 2.5rem;
        right: 2.5rem;
        transform: translate(100%, -50%);
    }

    .d-faq-item::after {
        right: 6%;
    }

    .active.d-faq-item>p::after {
        height: 3px;
    }

    .active .d-faq-answer {
        position: relative;
        margin: 8px auto 0;
        min-height: 40px;
    }

    .d-faq-answer p {
        width: 100%;
    }

    .d-faq-answer::before {
        font-size: 1.8rem;
        padding: 4px 1rem 6px 0;
    }

    .d-faq-item.is-open::after {
        top: 10%;
    }
}

/* ---------------------------------------------------
    ▼ problem ▼
 --------------------------------------------------- */
#problem {
    padding-bottom: 0;
}

.d-problem-list {
    max-width: 1080px;
    margin: 5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

.s-problem-box {
    display: flex;
    flex-direction: row;
    background-repeat: no-repeat;
    justify-content: space-between;
    background-size: cover;
    padding: 2rem;
    border-radius: 8px;
}

.s-problem-bg-01 {
    background-image: url(../img/lower-layer/wave_bg-01.webp);
}

.s-problem-bg-02 {
    background-image: url(../img/lower-layer/wave_bg-02.webp);
}

.s-problem-left {
    width: 32%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.s-problem-left h3 {
    background: #fff;
    padding: 1rem 2.5rem;
    margin: 0 1.5rem;
}

.s-problem-left p {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 160%;
    text-align: center;
}

.s-problem-right {
    width: 58%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}

.s-problem-right-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.s-problem-right-box span {
    background: linear-gradient(transparent 50%, #AEFAFF 30%);
}

.s-problem-img {
    height: 200px;
    display: flex;
    align-items: center;
}

.s-problem-right-box p {
    font-weight: 500;
    line-height: 160%;
    text-align: center;
    padding-top: 1.5rem;
}

.logo-size {
    width: 60%;
    margin: 0 auto;
}

.A4-size {
    width: 80%;
    margin: 0 auto;
}

.small-size {
    width: 70%;
}

.lower-layer-contact-box {
    width: 43%;
    margin: 7rem auto 0;
}

.lower-layer-contact-box .contact-txt {
    width: 61%;
}

.lower-layer-contact-box h4 {
    font-family: "bananaslip plus";
    font-size: 2.5rem;
    text-align: center;
}

.lower-layer-contact-box h4 span {
    color: #19DCAF;
}

.lower-layer-contact-box .d-industry-contact {
    position: relative;
    margin-top: 2.5rem;
}

.lower-layer-contact-box .d-industry-contact::before {
    content: "";
    position: absolute;
    background-image: url(../img/balloon_illust.webp);
    background-repeat: no-repeat;
    background-size: cover;
    top: -11.8rem;
    right: -4rem;
    width: 220px;
    height: 190px;
}

@media screen and (max-width: 900px) {
    #problem {
        padding: 4rem 2rem 0;
    }

    .d-problem-list {
        margin: 2.5rem auto 0;
        gap: 2.5rem;
    }

    .s-problem-box {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }

    .s-problem-img {
        height: auto;
    }

    .s-problem-bg-01 {
        background-image: url(../img/lower-layer/wave_bg-sp01.webp);
    }

    .s-problem-bg-02 {
        background-image: url(../img/lower-layer/wave_bg-sp02.webp);
    }

    .s-problem-left {
        width: 100%;
        flex-direction: column;
        padding-bottom: 3rem;
    }

    .s-problem-left h3 {
        margin: 0;
        font-size: 15px;
    }

    .s-problem-left p {
        font-size: 1rem;
    }

    .s-problem-right {
        width: 100%;
        flex-direction: column;
    }

    .s-problem-right-box {
        width: 100%;
    }

    .lower-layer-contact-box {
        width: 100%;
        margin: 4rem auto 0;
    }

    .lower-layer-contact-box h4 {
        font-size: 1.8rem;
    }

    .lower-layer-contact-box .contact-txt {
        width: 70%;
    }

    .lower-layer-contact-box .d-industry-contact::before {
        top: -6.8rem;
        right: -1.5rem;
        width: 130px;
        height: 110px;
    }
}


/* ---------------------------------------------------
Footer
--------------------------------------------------- */
.d-footer {
    width: 100%;
    background: var(--sub-gr, #178B5B);
}

.d-footer>img {
    width: 20%;
    margin: 56px auto 48px;
}

.d-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 5rem 0;
}

.d-footer-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 6rem;
}

.ligo__box {
    width: 24%;
}

.ligo__box p {
    color: #fff;
    font-size: 17px;
    padding-top: 1rem;
}

.d-footer-nav {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
}

.d-footer-access {
    width: 456px;
    border-radius: 8px;
    background: #fff;
    line-height: 160%;
    padding: 1rem 1.5rem;
}

.d-footer-access h4 {
    color: var(--sub-or, #DB7004);
    font-size: 1rem;
    font-weight: 700;
}

.d-footer-access h6 {
    font-weight: 500;
    padding-bottom: 1rem;
}

.d-footer-access p {
    font-weight: 500;
}

.f-nav-item {
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}

.f-nav-item a {
    color: #fff;
}

.copyright {
    color: #fff;
    background: var(--sub-gr, #178B5B);
    text-align: center;
    font-size: 13px;
    padding: 0 0 1rem;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .d-footer-inner {
        padding: 2.5rem 20px;
    }

    .d-footer-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .ligo__box {
        width: 100%;
    }

    .d-footer-flex img {
        width: 70%;
    }

    .d-footer-nav {
        gap: 0.5rem;
    }

    .d-footer .menu-link {
        padding: 0;
        font-size: 1rem;
    }

    .d-footer-access {
        width: 85%;
    }
}



._sp-layout {
    display: none;
}



@media screen and (max-width: 767px) {
    .d-mv {
        background-image: url("../img/mv_sp.webp");
        padding: 6rem 0 22rem;
    }

    .d-mv-parallax4 {
        top: 80%;
    }

    .d-mv-left {
        width: 90%;
        margin: 0 auto;
    }

    .d-mv-parallax2 {
        top: 75%;
    }


    .d-solution-main {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    .s-main-absolute {
        position: static;
        width: 80%;
        height: auto;
    }

    ._swiper {
        display: none;
    }

    .is_active._swiper {
        display: block;
    }

    .p-flow-flex {
        display: flex;
        flex-direction: column;
        width: 90%;
        gap: 69px;
    }

    .p-flow-item {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        position: relative;
    }

    .p-flow-absolute {
        width: 30%;
        position: static;
    }

    .p-flow-layout {
        width: 60%;
        text-align: left;
    }

    .p-flow-item ._bold {
        text-align: left;
        font-size: 20px;
    }

    .p-flow-item p {
        text-align: left;
        font-size: 16px;
    }

    .p-flow-absolute::after {
        width: 40px;
        height: 40px;
        transform:
            translate(-50%, 100%) rotate(90deg);
        left: 50%;
        top: auto;
        bottom: -12px;
    }

    .d-footer>img {
        width: 60%;
        max-width: 300px;
    }

    .f-nav-item {
        text-align: left;
    }

}

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

    .d-plan-option {
        padding: 1.5rem 1rem 0;
    }

    .p-option-title {
        padding-bottom: 1.5rem;
    }

    #hb-menu .contact-btn {
        width: auto;
    }
}

/* ---------------------------------------------------
アニメーション
--------------------------------------------------- */
/* アニメーション前 */
[data-text-animation="fadeIn"] span {
    opacity: 0;
    transition: opacity 1s;
}

/* アニメーション後 */
[data-text-animation="fadeIn"] span.is-active {
    opacity: 1;
}

.alternative {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    inline-size: 4px !important;
    block-size: 4px !important;
    contain: strict !important;
    pointer-events: none !important;
    opacity: 0 !important;
}