/*
Theme Name: act
Template: habakiri
*/

/**
 * ----------------------------------------
 * 注意事項
 * ----------------------------------------
 */


/**
 * ----------------------------------------
 * common
 * ----------------------------------------
 */

:root {
    --main-color: #1E439A;
    --sub-color: #BDE0F7;
    --common-margin: clamp(1.25rem, -1.705rem + 14.77vw, 19.375rem);
}

body {
    font-size: 16px;
}

#main {
    margin-bottom: 0;
}

.container {
    padding-left: 45px;
    padding-right: 45px;
}

.left_margin_container {
    width: calc(80% - 15px);
    margin: 200px 0 var(--common-margin) auto;

    @media (max-width: 1300px) {
        width: 1020px;
    }

    @media (max-width: 960px) {
        width: 750px;
    }

    @media (max-width: 600px) {
        width: auto;
    }
}

ol {
    margin: 0;
    padding-left: 0;
    list-style-type: none
}

a:hover {
    text-decoration: none;
}

.responsive-nav-contents {
    box-shadow: none;
}

.sub-page-contents {
    padding-bottom: 50px;
}

[class^="section_title--"] {
    display: flex;
    align-items: baseline;
    gap: 5%;
    margin-bottom: 50px;
    justify-content: center;

    & h2 {
        color: var(--main-color);
        font-size: clamp(2.9rem, 1.753rem + 1.99vw, 5rem);
        line-height: 47px;
    }

    & svg {
        height: 50px;
        width: 50px;
    }

    & svg:nth-of-type(2) {
        transform: scaleX(-1);
    }
}

.section_title--feature {
    margin-top: 60px;
    justify-content: normal;

    @media (max-width: 600px) {
        justify-content: center;
    }

    & h2 {
        color: #fff;
    }

    .icon--three_triangles {
        --child-01: #fff;
        --child-02: #BDE0F7;
        --child-03: #5F8AC8;
    }
}

.section_title--QandA--top {

    & h2 {

        color: #fff;
    }

    .icon--three_triangles {
        --child-01: #fff;
        --child-02: #BDE0F7;
        --child-03: #5F8AC8;
    }
}

.section_title--form {
    margin-bottom: 100px;
}

.section_title--top-frow h2 {
    color: #5F8AC8;
    font-size: clamp(3.2rem, 1.753rem + 1.99vw, 3rem);
}

[class^="btn--"] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;

    & a {
        color: #fff;
        padding: 10px 15px 10px 50px;
        font-size: clamp(16px, calc(1vw + 1rem), 20px);
        background: var(--main-color) url(images/btn_bg_dark.webp) no-repeat left center / 40px auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        box-shadow: 0px 4px 4px 0px #5f8ac845;

        box-shadow & svg {
            height: 40px;
            width: 40px;
        }

        &:hover {
            background-color: #fff;
            color: var(--main-color);
        }
    }
}

.btn--business--item {
    justify-content: normal;
}

.btn--top_frow {
    margin-top: 0;
}

.btn--feature {
    justify-content: flex-end;
    margin-top: 0;

    @media (max-width: 600px) {
        justify-content: center;
        padding-top: 50px;
    }

    & a {
        color: var(--main-color);
        background: #fff url(images/btn_bg_dark.webp) no-repeat left center / 40px auto;

        &:hover {
            background-color: var(--main-color);
            color: #fff;
        }
    }
}

.btn--article {
    margin-top: 0;
}

[class^="mv--"] {
    position: relative;
    margin-bottom: clamp(1.25rem, -1.705rem + 9.77vw, 8.375rem);

    & div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--text-usume);
        font-weight: 100;
        width: 100%;
    }

    & span {
        font-size: clamp(15px, calc(1.5vw + 1rem), 20px);
    }

    & h2 {
        font-size: clamp(32px, calc(6.5vw + 1rem), 64px);
        font-weight: 100;
    }

    & img {
        display: block;
        width: 100%;
        height: auto;
    }
}


.sp-none {
    @media (max-width: 600px) {
        display: none;
    }

}

.sp-block {
    display: none;

    @media (max-width: 600px) {

        display: block;
    }

}

.tp-block {
    display: none;

    @media (max-width: 960px) {

        display: block;
    }

}

.tp-none {
    @media (max-width: 960px) {
        display: none;
    }

}

/* ----　header/ヘッタ　----- */

.blog .page-header {
    background-image: url(images/mv_contact.webp);
}


.header_box {
    font-family: "fot-chiaro-std", sans-serif;
    position: relative;
    display: grid;
    grid-template-columns: 350px auto;
    justify-content: space-between;
    background: var(--main-color);
    padding: 10px 6% 10px 5%;

    @media (max-width: 960px) {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 0;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        margin-bottom: 70px;
        gap: 20px;
    }
}

.header-tri {
    position: absolute;
    left: 0;
    top: 99%;
    width: 100%;
    height: 60px;
    display: block;
    fill: var(--main-color);
    shape-rendering: geometricPrecision;

    @media (max-width: 1550px) {
        height: 20px;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 5%;
}

.header_nav {
    display: flex;
    gap: 20px;
    align-items: center;

    @media (max-width: 960px) {
        margin-right: 70px;
        justify-content: flex-end;
    }

    @media (max-width: 600px) {
        margin-right: 0;
        justify-content: flex-start;
    }

    & ul {
        display: flex;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: clamp(1.25rem, -3.313rem + 5.17vw, 9.688rem);

        @media (max-width: 1550px) {
            padding-right: 20px;
            gap: clamp(1.25rem, -1.313rem + 2.17vw, 5.688rem);
        }

        @media (max-width: 960px) {
            display: none;
        }

        & li:last-child {
            position: relative;
            gap: 50px;
            padding-left: clamp(2.25rem, -0.313rem + 4.17vw, 5.688rem);
            display: flex;
            align-items: center;

            &::before {
                content: "";
                position: absolute;
                left: 0;
                width: 2px;
                height: 50%;
                background-color: #fff;
            }
        }

        & a {
            display: inline-block;
            font-size: clamp(15px, calc(0.5vw + 1.5rem), 25px);
            text-decoration: none;
            color: #fff;
            text-shadow: 0px 4px 10px rgb(0 0 0 / 40%);
            transition: all 0.3s;

            &:hover {
                text-shadow: none;
                transform: translateY(2px);
            }
        }

    }
}

/*--- hamburger-menu ---*/
.sp-menu {
    display: none;

    @media (max-width: 1200px) {
        display: block;

    }
}

.sp-menu__list {
    padding-left: 0;
    margin-top: 30px;
}

.sp-menu__box {
    position: fixed;
    top: 24px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
    z-index: 90;

    @media (max-width: 600px) {
        top: 4px;
    }
}

.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
    content: "";
    display: block;
    height: 4px;
    width: 35px;
    position: absolute;

}

.sp-menu__box {
    background-image: url(images/icon--hamburger.svg);
    background-repeat: no-repeat;
    background-position: center;

}

#sp-menu__check {
    display: none;
}

#sp-menu__check:checked~.sp-menu__box {
    background-image: none;


    & span {
        background: rgba(255, 255, 255, 0);

        &:before,
        &:after {
            background: #fff;

        }

        &::before {
            bottom: 0;
            transform: rotate(45deg);
            clip-path: polygon(0% 100%, 0% 0%, 100% 0%);
        }

        &::after {
            top: 0;
            transform: rotate(-45deg);
            clip-path: polygon(0% 100%, 0% 0%, 100% 100%);
        }
    }
}



#sp-menu__check:checked~.sp-menu__content {

    @media (max-width: 1200px) {
        display: block;
        left: 0;
        width: 100%;
        height: 100vh;
    }
}

.sp-menu__content {
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    width: 50%;
    padding: 30px;
    background: var(--main-color) url(images/sp_menu_bg.webp) no-repeat left center / 100% 100%;
    transition: all 0.5s;
}

.sp-menu__choice-contents {
    background-color: var(--sub-color);
    color: var(--main-color);
    text-align: center;
    padding: 10px;

    &>div {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        gap: 15px;
    }

    & p {
        margin-bottom: 0;
        font-size: 20px;
        font-weight: bold;
        line-height: 1.4;

        & span {
            font-size: 16px;
        }
    }

    & strong {
        font-size: 26px;
        margin-left: 10px;

    }
}

.choice-contents-mail {
    background-color: var(--main-color);
    padding: 10px;
    color: #fff;
    display: flex;
    gap: 5px;
}

.sp-menu__item {
    /* border-bottom: solid 1px #ffffff; */
    background: url(images/double-triangle-line.svg) repeat-x bottom left;
    list-style: none;
}

.sp-menu__link {
    color: #ffffff;
    text-decoration: none;
    padding: 0px 15px 20px 0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    font-size: 20px;
}

/*--- プッシュメニュー ---*/
.intro-menu {
    padding: 24px;
    max-width: 420px;

    & a {
        display: block;
    }
}

.intro-menu__btn {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
}

.fancybox__content {
    background-color: #ffffff00;
}

/* ------　footer　------- */
.footer--logo {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 45%;
    margin: 0 auto 50px auto;

    @media (max-width: 600px) {
        width: 100%;
    }
}

.footer-company {
    background: url(images/top_company_bg_pc.webp) no-repeat left -140px center / auto 100%;
    margin-bottom: 30px;

    @media (max-width: 1550px) {
        background: none;
    }
}

.footer-company-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 15px 5%;

    @media (max-width: 960px) {
        grid-template-columns: 1fr;
    }
}



.banner_contact {
    text-align: center;
    margin: 100px auto 250px auto;
    width: 80%;
    display: block;

    @media (max-width: 600px) {
        width: 100%;
    }
}

.home .banner_contact {
    /* TOPのみ消す */
    display: none;
}

.footer-list {
    background: var(--main-color) url(images/footer_bg_pc.webp) no-repeat left center / 100% 100%;
    padding: clamp(4.25rem, -1.705rem + 6.77vw, 11.375rem) 0;

    @media (max-width: 600px) {
        background: var(--main-color) url(images/footer_bg_sp.webp) no-repeat left center / 100% 100%;
    }

    & ul {
        display: flex;
        font-size: clamp(16px, calc(1vw + 1.5rem), 25px);
        justify-content: space-between;
        list-style-type: none;

        @media (max-width: 600px) {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        & a {

            color: #fff;
        }

        & li:last-child {
            @media (max-width: 600px) {
                grid-column: 1 / 3;
                width: 200px;
                border: 1px solid #fff;
                text-align: center;
                padding: 10px 0;
            }
        }
    }
}

.map {
    position: relative;

    & iframe {
        height: 100%;
        width: 100%;
    }
}

.left-svg {
    transform: scale(0.8);
    z-index: -1;
    position: absolute;
    top: -50px;
    left: -40px;

}

.right-svg {
    z-index: -1;
    position: absolute;
    right: 0;
    bottom: -40px;
    transform: rotate(45deg);
}

.blue-part {
    animation: float 2s ease-in-out infinite;
}

.light-part {
    animation: float 2s ease-in-out infinite;
    animation-delay: 1s;
    right: inherit;
    /* ずらして動かすと自然 */
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    /* 上に5px */
    100% {
        transform: translateY(0);
    }
}


.footer-company-detail {
    &>div {
        background: url(images/foter--double-triangle-line.svg) repeat-x bottom left;
        padding-bottom: 20px;
        margin-bottom: 20px;

        &:first-child {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
    }

    & h2 {
        color: var(--main-color);
        margin-top: 0;

        & span {
            color: #5F8AC8;
            font-size: 16px;
        }
    }

    & p {
        color: #5F8AC8;
        font-weight: bold;

        & strong {
            color: var(--main-color);
        }
    }
}


.home .entry__content>:first-child {
    margin-top: -100px;

    @media screen and (max-width: 960px) and (min-width: 768px) {
        margin-top: 100px;
    }

    @media (max-width: 600px) {
        margin-top: -50px;
    }

}

.faq {
    margin-bottom: var(--common-margin);
}

.toggle-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq h2 {
    font-size: clamp(20px, calc(2vw + 2rem), 47px);
    margin-bottom: 50px;

    & span {
        color: #888;
        font-size: 18px;
        font-family: "Letter Gothic Std, monospace";
        font-weight: 100;
    }

}

.faq-item {
    margin-top: 20px;
    background: url(images/double-triangle-line.svg) repeat-x bottom left;
}

.faq-toggle {
    display: none;
}

.faq-question,
.faq-answer {
    display: grid;
    gap: 30px;
    border-radius: 20px;
    padding: 0px 20px;
}

.faq-question {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    cursor: pointer;
    padding-bottom: 20px;

    @media (max-width: 600px) {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        padding: 0px 0px 20px 0px;
    }

    & p {
        font-size: clamp(17px, calc(1vw + 1rem), 30px);
        margin: 0;
        font-weight: 400;
    }
}

.faq-answer {
    grid-template-columns: auto 1fr;
    max-height: 0;
    overflow: hidden;
    margin-top: 10px;
    transition: max-height 0.5s ease, padding 0.5s ease;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

    & P {
        font-size: clamp(17px, calc(2vw + 1rem), 19px);
        margin: 0;
        font-weight: 400;
        display: flex;
        align-items: center;
    }
}

.QandA--top {
    background-image: url(images/q_a_bg.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    /* これを追加 */
    padding: var(--common-margin) 0;
    margin-bottom: 100px;

    .faq-question {
        color: #fff;

    }

    .faq-answer {
        color: var(--main-color);

        background-color: var(--sub-color);
    }
}

.QandA--sevice {
    margin-bottom: var(--common-margin);

    .faq-question {
        color: var(--main-color);
    }

    .faq-answer {
        color: var(--sub-color);

        & p {
            color: #000000;
        }
    }

    .toggle-icon {
        border-right: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
    }
}

.bubble-Q,
.bubble-A {
    font-size: 50px;
    font-weight: bold;

    @media (max-width: 600px) {
        font-size: 30px;
    }

}

.bubble-A {
    line-height: 1;
}

/* 開いた時 */
.faq-toggle:checked+.faq-question+.faq-answer {
    max-height: 100%;
    padding: 20px;

    @media (max-width: 600px) {
        gap: 10px;
    }

}

.faq-item:has(.faq-toggle:checked) {
    /* 開いた時のスタイル */
    padding-bottom: 50px;
}

/* 開いた時は下向きに */
.faq-toggle:checked+.faq-question .toggle-icon {
    transform: rotate(225deg);
}

/* ------　お問い合わせ 　-----*/


.inquiry-box {
    width: 55%;
    margin: 150px auto 0 auto;

    @media (max-width: 1200px) {
        width: 90%;
        margin: 100px auto 0 auto;
    }

    & h3 {
        font-size: 2.2rem;
        padding-bottom: 20px;
        border-bottom: 1px solid #d0d0d0;
    }

    & p {
        margin: 22px 0;
    }

    & input {
        font-size: 1em;
        background: #13a094;
        border-radius: 3px;
        margin-right: 5px;
    }
}

#cf-tbl .textsp,
#cf-tbl .mailsp,
#cf-tbl .tel,
#cf-tbl .textsp,
#cf-tbl .content {
    margin: 10px 10px;
    width: calc(100% - 20px);
    border: none;

}

#cf-tbl {
    margin: 0;

    & table {
        width: 100%;
        margin: 0 auto;
        border-collapse: collapse;
        border-top: solid #CCC;
        border-bottom: solid #CCC;
        border-width: 1px;
        color: #444;

        & th {
            color: #fff;
            padding: 0.5em;
            width: 25%;
            background: var(--main-color);
            border-bottom: 1px solid #CBCBCB;
            border-left: 1px solid #CBCBCB;
        }

        & td {
            padding: 0.5em;
            border-bottom: 1px solid #CBCBCB;
            border-right: 1px solid #CBCBCB;
        }
    }
}

.consent {
    text-align: center;
}

input.wpcf7-submit {
    display: block;
    background: #FFE065;

    margin: 15px auto 0;
    padding: 10px 15px;
    color: var(--main-color);
}

.required {
    font-size: .6em;
    vertical-align: text-top;
    margin-left: 5px;
}

@media (max-width: 1200px) {

    #cf-tbl table,
    #cf-tbl table tbody,
    #cf-tbl table tr,
    #cf-tbl table tr th,
    #cf-tbl table tr td {
        display: block;
    }

    #cf-tbl {
        margin: 0;

        & table {
            width: 100%;
            border-width: 0 0 1px 0;

            & tr {
                & th {
                    width: 100%;
                    padding: 3% 5%;
                }

                & td {
                    width: 100%;
                    padding: 3% 5%;
                    border-width: 0px 1px 0px 1px;
                    border: 1px solid #d0d0d0;
                }
            }

        }
    }
}

@media (max-width: 430px) {
    #cf-tbl {
        width: 100%;

    }

    /* 入力項目を見やすく */
    input.wpcf7-form-control.wpcf7-text,
    textarea.wpcf7-form-control.wpcf7-textarea {
        width: 100%;
        padding: 8px 15px;
        margin-right: 10px;
        margin-top: 10px;
        border: 1px solid #d0d5d8;
        border-radius: 3px;
        background-color: #eff1f5;
    }

    textarea.wpcf7-form-control.wpcf7-textarea {
        height: 200px;
    }

    span.wpcf7-not-valid-tip,
    .wpcf7-response-output.wpcf7-validation-errors {
        color: red;
        font-weight: 600;
    }



    .globalMenuSp {
        display: none;
    }

    .inquiry {
        margin-top: 5rem;
    }

    #text {
        display: none;
    }
}

/* ------タブ機能 　-----*/
.tab-content_wp {
    position: relative;
}

.navigation {
    margin: 50px 0 0px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 2rem;
    margin: 50px 0;

    @media (max-width: 1350px) {
        flex-wrap: wrap;
        justify-content: flex-start;
    }


}

:where(.tab-button) {
    border: 1px solid;
    width: 240px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 15px;
    padding: 20px 0;
}

.tab-button {
    color: var(--sub-color);
    background-color: var(--main-color);

    @media (max-width: 600px) {
        width: 100%;
    }
}

.tab-button.active {
    background-color: var(--sub-color);
    color: #fff;
}

.not-available {
    color: #ffffff;
    background-color: #b8b8b8;
    font-size: clamp(1.3rem, 0.6rem + 1.91vw, 2rem);
}



/* ------お問い合わせページ/contact 　-----*/
.cntact--section {
    margin-bottom: var(--common-margin);

    & h2,
    & h3 {
        color: var(--text-usume);
        font-size: clamp(2rem, 1.753rem + 1.99vw, 4rem);
    }

    & p {
        color: var(--text-usume);
        line-height: 2.3;
    }
}

.cntact--btn {
    & a {
        font-size: 50px;

    }

    & svg {
        width: 50px;
        height: 50px;
    }

}

.cntact--tel {
    margin-bottom: 50px;
}

/*-------------------------------
 TOP/HOME
-------------------------------*/
@keyframes fadeHoldOut {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeInStay {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.top-mv {
    position: relative;
}


.mv-caption {
    font-family: "fot-chiaro-std", sans-serif;
    writing-mode: vertical-rl;
    position: absolute;
    /* inset: 0; */
    display: grid;
    place-items: center;
    margin: 0;
    pointer-events: none;
    text-align: center;
    left: 50%;
    top: 60%;

    @media (max-width: 1550px) {
        top: 55%;

    }
}

.mv-caption .line {
    z-index: 2;
    position: absolute;
    opacity: 0;
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.3rem, -0.864rem + 3.3vw, 8.5rem);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
    letter-spacing: .08em;
    white-space: nowrap;
    padding: 10px 0;

    @media (max-width: 600px) {
        font-size: 40px;

    }

    &::before {
        z-index: -1;
        content: "";
        position: absolute;
        top: 0;
        height: 100%;
        background-color: #1E439A;
        filter: blur(4px);
        opacity: 0.2;

    }
}


.line-1 {
    animation: fadeHoldOut 5s ease forwards;

    &::before {
        left: 10%;
        width: 85%;
    }
}

.line-2 {
    animation: fadeInStay 5s ease forwards;
    animation-delay: 5s;

    &::before {
        left: 24%;
        width: 50%;

    }

    & span {
        font-size: clamp(1.125rem, 1.42rem + 4.55vw, 11.875rem);

        @media (max-width: 600px) {
            font-size: 80px;

        }
    }
}

.news {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px 5%;
    justify-items: center;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}



.latest-info {
    display: flex;
    padding-bottom: 5px;
    margin-bottom: 20px;
    flex-direction: column;
    margin-top: 10px;

    & h3 {
        margin: 0;
        font-weight: 400;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

}

.double-triangle-line {
    height: 15px;
    margin-top: 15px;
}

.features {
    background-color: var(--main-color);
    color: #fff;
    padding: clamp(1.25rem, -1.705rem + 14.77vw, 9.375rem) 0;
}

.features-top-divider {
    height: 100px;
    position: relative;

    @media (max-width: 600px) {
        height: 50px;
    }

    &::before,
    &::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 2px;
        left: 0;
    }

    &::before {
        background-color: #5F8AC8;
        z-index: 1;
        clip-path: polygon(0% 0%, 50% 50%, 0% 100%);
        top: 4px;
    }

    &::after {
        clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
        background-color: var(--main-color);
    }
}

.features-bottom-divider {
    position: relative;
    margin-bottom: var(--common-margin);
    margin-top: -5px;

    &::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 140%;
        background-color: var(--main-color);
        z-index: 1;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 100% 50%);
    }

    & img {
        clip-path: polygon(0 0%, 100% 20%, 0% 100%, 0% 100%);
    }
}

/* .top--business {
    padding-top: var(--common-margin);
} */

.features--intro {
    text-align: center;
    line-height: 2;

    @media (max-width: 600px) {

        &::after,
        &::before {
            content: "";
            background: url(images/double-triangle-line.svg) repeat-x bottom left;
            height: 15px;
            display: block;
            width: 80%;
            text-align: center;
            margin: 40px auto;
        }
    }

    & h3 {
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin-bottom: 40px;
        word-break: keep-all;

        &::after,
        &::before {
            content: "";
            background: url(images/double-triangle-line.svg) repeat-x bottom left;
            height: 15px;
            width: 20%;
            display: block;

            @media (max-width: 600px) {
                display: none;
            }
        }
    }
}

.news-arrow {
    width: 35px;
    height: 35px;
    background-color: #1a4dab;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-section {
    margin: var(--common-margin) 0;
    background: url(images/new-bg-left.svg), url(images/new-bg-right.svg);
    background-repeat: no-repeat;
    background-position: left 140px top, right 140px bottom;

    @media (max-width: 600px) {
        background: none;
        margin-top: 70px;
    }
}

.feature--list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8%;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}

.feature--item {
    position: relative;
    line-height: 1.7;
    text-align: justify;

    &:nth-child(1) {
        margin-top: 50%;

        @media (max-width: 600px) {
            margin-top: 0%;
        }
    }

    &:nth-child(2) {
        margin-top: 25%;

        @media (max-width: 600px) {
            margin-top: 0%;
        }
    }

    &:nth-child(3) {
        margin-top: -25%;

        @media (max-width: 600px) {
            margin-top: 0%;
        }
    }

    & strong {
        position: absolute;
        right: -38px;
        top: 0;
        font-size: 20px;
        color: #FFE065;
        letter-spacing: 3px;
        writing-mode: vertical-rl;

    }
}

.feature--item_img_box {
    display: flex;


}

.feature--item_img {
    position: relative;
    margin-bottom: 25px;

    @media (max-width: 600px) {
        width: 90%;
    }

    & span {
        position: absolute;
        left: 0;
        bottom: 0;
    }

    &>img {
        width: 100%;
    }
}

:where(.icon--three_triangles) {
    width: 40px;
    height: 40px;
}

.in_page_links {
    margin-bottom: var(--common-margin);

    @media (max-width: 600px) {
        margin-bottom: 150px;
    }
}

.in_page_link {
    display: flex;
    flex-wrap: wrap;
    gap: 35px 3%;
    justify-content: center;
    margin-bottom: 20px;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    & a {
        width: 190px;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--main-color);
        border: 3px solid;
        border-radius: 30px;
        box-shadow: 0px 4px 4px 0px #5f8ac845;
        padding: 14px 20px 5px 20px;
        font-size: clamp(21px, calc(1vw + 1rem), 25px);
        font-weight: bold;
        text-align: center;
        gap: 15px;
        justify-content: space-between;
        transition: all 0.3s;

        @media (max-width: 960px) {
            width: 23%;
        }

        @media (max-width: 600px) {
            width: 100%;
            justify-content: space-between;
            flex-direction: row;
        }

        .icon--three_triangles {
            color: #fff;
            transform: rotate(90deg);
            --child-01: var(--main-color);
            --child-02: #fff;
            --child-03: #fff;
            width: 30px;
            height: 30px;
        }

        &:hover {
            background-color: #d5e1ff;
        }
    }

    & img {
        width: 70px;
        height: 70px;

        @media (max-width: 600px) {
            width: 50px;
        }
    }

    & p {
        margin-bottom: 0;
        line-height: 1.2;
    }


}


.service--intro {
    text-align: center;
    margin-bottom: var(--common-margin);

    & h2 {
        color: var(--main-color);
        font-size: clamp(20px, calc(2vw + 2rem), 35px);
        margin-bottom: 30px;
    }

    & p {
        color: #5F8AC8;
        font-size: clamp(16px, calc(1vw + 1rem), 19px);
        line-height: 2;
    }
}

.business--item {
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 5%;
    margin-bottom: var(--common-margin);

    &:nth-child(1) {
        .business--item_text::before {
            background: url(images/icon--earrings.svg) no-repeat right top / 140px;
        }
    }

    &:nth-child(2) {
        .business--item_text::before {
            background: url(images/icon--Pendant-top.svg) no-repeat right top / 140px;
        }
    }

    &:nth-child(3) {
        .business--item_text::before {
            background: url(images/icon--light-jewelry.svg) no-repeat right top / 140px;
        }

    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 130px;
    }

    & h3 {
        color: var(--main-color);
    }

    & h4 {
        color: var(--main-color);
    }
}

.top--business .business--items .business--item_img {

    /* topの画像調整 */
    &:nth-child(1) {
        margin-left: -45px;
    }

    &:nth-child(2) {

        margin-right: -45px;

        @media (max-width: 600px) {
            order: -1;
        }

    }

    &:nth-child(3) {

        margin-left: -45px;
    }

}

.business--item_text {
    position: relative;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0.1;
        pointer-events: none;
    }

    & h3 {
        font-size: clamp(20px, calc(2vw + 2rem), 40px);
        margin-bottom: 35px;
        margin-top: 0;
        line-height: 1;

        @media (max-width: 600px) {
            margin-bottom: 10px
        }
    }

    &>p {
        font-weight: bold;
        font-size: clamp(16px, calc(1vw + 1rem), 20px);
        line-height: 2;
        text-shadow: 1px 1px #f2f2f2;
    }
}

.service_only--business_item {

    /* サービスページのみ */
    & h4 {
        display: flex;
        gap: 30px;
        color: var(--main-color);
        font-size: 25px;
        align-items: center;
        margin-top: 50px;

        @media (max-width: 600px) {
            gap: 15px;
            font-size: 19px;
        }
    }

    & img {
        width: 50px;

        @media (max-width: 600px) {
            width: 30px;
        }
    }
}

.business--item_img {
    /* サービスページのみ */
    display: flex;
    flex-direction: column;
    gap: 30px;

    & div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px 5%;

        & img {
            aspect-ratio: 1 / 1;
        }
    }
}

.icon--double-arrow {
    background-color: #5F8AC8;
    transform: rotate(90deg);
    padding: 5px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    color: #fff;

}

[class^="frow_item--"] {
    position: relative;
    align-items: center;
    display: grid;
    grid-template-columns: 100px 21% 1fr;
    gap: 30px;

    @media (max-width: 1200px) {
        grid-template-columns: 100px 1fr;
    }

    @media (max-width: 1200px) {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    & p {
        font-size: 18px;
        font-weight: 600;

        @media (max-width: 1200px) {
            grid-column: 1 / 3;
        }

        @media (max-width: 600px) {
            text-align: justify;
        }
    }

    & strong {
        font-weight: 700;
        font-size: 25px;
        color: var(--main-color);
    }
}

.frow_item--01 {
    grid-template-columns: 100px auto 1fr auto;

    @media (max-width: 1200px) {
        display: flex;
        flex-wrap: wrap;
    }
}

.frow_number {
    position: absolute;
    top: -40px;
    left: -30px;
    line-height: 1;
    font-size: 25px;
    font-weight: bold;
    color: var(--sub-color);

    @media (max-width: 960px) {
        left: 0px;
    }
}

.top--form {
    margin: 150px 0 250px 0;
}

.top--form_text {
    color: #103793;
    font-size: 20px;

    @media (max-width: 600px) {
        text-align: center;
    }

    & div {
        background: url(images/double-triangle-line.svg) repeat-x bottom left;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

.top--form_kochira {
    color: var(--main-color);
    font-weight: bold;
    font-size: 23px;
}

.top--form_tel {
    font-size: 40px;
    line-height: 0.8;
    margin-top: 30px;
    color: #5F8AC8;

    @media (max-width: 600px) {
        font-size: 30px;

    }

    & span {
        font-size: 16px;
    }
}

.top--form_fax {
    font-size: 30px;
    color: #5F8AC8;
}

.top--form_box {
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1.5fr;
    gap: 5%;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;

    }
}

.frow {
    margin-bottom: 200px;
    background-color: #F6FBFE;
    background-image: url("images/flow-bg-left.svg"), url("images/flow-bg-right.svg");
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right bottom;
    padding: 50px 0;

    @media (max-width: 600px) {
        background: #F6FBFE;
        margin-bottom: 100px;
    }
}

.top-frow {
    margin-bottom: 0;

}

.frow--top_pc {

    @media (max-width: 1550px) {
        display: none;
    }
}

.frow_items {
    display: none;

    @media (max-width: 1550px) {
        display: block;
    }
}

.frow--divider_line {
    display: flex;
    align-items: center;
    margin: 30px 0 60px 0;
    justify-content: space-between;

    &::before,
    &::after {
        content: "";
        background-color: var(--sub-color);
        height: 2px;
        display: block;
        width: 45%;

    }

    & img {
        transform: rotate(90deg);
        margin: 0 20px;
    }
}

.sub_page_title {
    /* 下層ページと投稿ページのメイン画像 */
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;


    @media (max-width: 1300px) {
        padding-left: 100px;
    }

    @media (max-width: 600px) {
        margin-bottom: 30px;
        align-items: center;
        padding-left: 0;
    }

    & h2 {
        position: relative;
        margin: 0;
        padding-top: 50px;
        font-size: clamp(3.25rem, 1.398rem + 2.27vw, 5.125rem);
        color: var(--main-color);

        &::before {
            content: url(images/sub_page_title-bg-01.svg);
            position: absolute;
            left: -120px;
            top: 0px;

        }

        &::after {
            content: url(images/sub_page_title-bg-02.svg);
            position: absolute;
            bottom: -70px;
            right: -40px;

            @media (max-width: 600px) {
                right: -70px;
            }
        }
    }

    & span {
        color: var(--sub-color);
    }

}

.Pagination {
    display: flex;
    margin-top: 150px;
    justify-content: center;
    gap: 2%;
    align-items: center;
}

.prev-post {
    transform: scaleX(-1);
}