img {
    vertical-align: bottom;
}

.gallery {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.gallery-main {
    width: 626px;
}

.gallery-main img {
    width: 100%;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 550px;
}

.gallery-thumbs img {
    width: 100%;
    cursor: pointer;
    opacity: 0.8;
    transition: .3s;
}

.gallery-thumbs img.active {
    opacity: 1;
    outline: 1px solid #fff;
}

h2.default {
    color: var(--main-dark, #142357);
    text-align: center;
    font-family: Barlow;
    font-size: 74px;
    font-style: normal;
    line-height: 80px;
    font-weight: 600;
    letter-spacing: -2.96px;
    text-transform: uppercase;
}

h2.default span {
    display: block;
    color: var(--Neutral-Gray-600, #757575);
    text-align: center;
    font-family: "Zen Kaku Gothic New";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 16px;
}

.section_1 {
    background: url(../img/new/sec1_bg.png);
    background-size: cover;
    background-position: bottom;
    padding: 48px 0 143px;
    .center {
        color: var(--main-dark, #142357);
        text-align: center;
        font-family: "Zen Kaku Gothic New";
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 40px;
        text-transform: uppercase;
        margin: 18px 0 30px;
    }

    .flex {
        align-items: center;
    }

    ul {
        margin-left: 24px;
        width: 574px;

        li {
            display: flex;
            margin-bottom: 32px;
        }

        p {
            color: var(--main-dark, #142357);
            font-family: "Zen Kaku Gothic New";
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px; /* 150% */
            letter-spacing: 1px;
            text-transform: uppercase;
        }
    }

    h3 {
        color: var(--main-orange, #EB8C2D);
        font-family: "Zen Kaku Gothic New";
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
        text-transform: uppercase;
        min-width: 89px;
        margin-right: 16px;
    }
}

.sec1_info {
    width: 1054px;
    margin: auto;
}

.bog_logo {
    width: 441px;
}

.section_2 {
    position: relative;
    padding-top: 130px;
    padding-bottom: 154px;
    background: url(../img/new/sec2_bg.png);
    background-size: cover;
    background-position: bottom;
    z-index: 3;
    margin-top: -100px;

    .sec2_flex {
        display: flex;
        width: 1008px;
        margin: 46px auto;
    }

    .sec2_1 {
        width: 49%;
        margin-left: -8px;
        margin-right: auto;
    }

    .sec2_2 {
        width: 49%;
        margin-right: 0;
    }
}

h2.left {
    font-family: Barlow;
    font-size: 74px;
    font-style: normal;
    font-weight: 600;
    line-height: 80px;
    letter-spacing: -2.96px;
    text-transform: uppercase;

    span {
        color: var(--Neutral-Gray-600, #757575);
        text-align: center;
        font-family: "Zen Kaku Gothic New";
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 48px; /* 240% */
        letter-spacing: 1px;
        text-transform: uppercase;
    }
}

.section_3 {
    margin-top: -100px;
    padding-top: 140px;
    padding-bottom: 160px;
    background: url(../img/new/sec3_bg.png);
    background-size: cover;

    h2.left {
        color: var(--main-dark, #142357);
    }
    p {
        color: var(--main-dark, #142357);
        font-family: "Zen Kaku Gothic New";
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    .flex_card {
        margin-top: 40px;
        display: flex;
        flex-wrap: wrap;
    }
    .item {
        width: 19%;
        margin: .5%;
    }
}

.width_wrap {
    width: 1200px;
    margin: auto;
}

.section_4 {
    padding-top: 100px;
    margin-top: -100px;
    background: url(../img/new/sec4_bg.png);
    background-size: cover;
    padding-bottom: 158px;
}

.section_5 {
    padding-top: 40px;
    padding-bottom: 80px;
}

.flex_left,
.flex_right {
    display: flex;
}

.flex_right {
    flex-direction: row-reverse;
}

.reason_wrap {
    margin-top: 48px;
}

.img {
    width: 50%;
}

.txt_wrap {
    width: 44%;
    display: flex;
    align-items: anchor-center;
    padding-left: 6%;

    p {
        color: var(--main-dark, #142357);
        font-family: "Noto Sans JP";
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 32px; /* 177.778% */
        letter-spacing: 1.44px;
    }
}

.no {
    color: var(--main-orange, #EB8C2D);
    font-family: Barlow;
    font-size: 90px;
    font-style: normal;
    font-weight: 600;
    line-height: 68px;
    opacity: .8;
}

h3.reason_h3 {
    color: var(--main-dark, #142357);
    font-family: "Zen Kaku Gothic New";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 16px 0;
}

.section_6 {
    padding-top: 150px;
    padding-bottom: 100px;
    background: url(../img/new/sec6_bg.png);
    background-size: cover;
    position: relative;
    z-index: 3;
}

.interview_wrap {
    display: flex;
    justify-content: space-between;
    width: 1158px;
    margin: 40px auto 0;
}

.i_card_inner {
    padding: 30px 24px;
}

.i_card {
    width: 31.5%;
    background: #F5F6FA;
}

.i_tag {
    display: inline-block;
    margin: 19px 0 10px;
    padding: 0 10px;
    background: #EB8C2D;
    color: #fff;
    font-weight: 700;
}

.i_ttl h3 {
    color: var(--main-dark, #142357);
    font-family: "Zen Kaku Gothic New";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta_wrap {
    position: relative;
    z-index: 2;
}

.section_7 {
    margin-top: -100px;
    background: #F5F6FA;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* FAQ *//* FAQ *//* FAQ */

.cp_qa .cp_actab {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 0 20px 0;
    color: #fff;
}
.cp_qa .cp_actab {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 0 20px 0;
    color: #fff;
}
.cp_qa .cp_actab input {
	position: absolute;
	opacity: 0;
}
/* 質問 */
.cp_qa .cp_actab label {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    display: block;
    margin: 0 0 0 0;
    padding: 1em 3em 1em 80px;
    cursor: pointer;
    color: #142357;
    border-bottom: solid 2px #142357;
}
.cp_qa .cp_actab label::before {
    width: 30px;
    height: 30px;
    content: '';
    background: url(../img/new/qa3.png);
    background-size: 100%;
    position: absolute;
    left: 1.465vw;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0,-50%);
}
.cp_qa .cp_actab label:hover {
    transition: all 0.3s;
    color: #142357;
}
/* --質問の＋アイコン */
.cp_qa .cp_actab label::after {
    font-size: 1.7em;
    font-weight: bold;
    line-height: 2em;
    position: absolute;
    top: 50%;
    right: 10px;
    content: '';
    background: url(../img/new/qa1.png);
    background-size: contain;
    display: inline-block;
    width: 21px;
    height: 13px;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background-repeat: no-repeat;
}
/* 答え */
.cp_qa .cp_actab .cp_actab-content {
	position: relative;
	overflow: hidden;
	max-height: 0;
	padding: 0 0 0 40px;
	-webkit-transition: max-height 0.2s;
	transition: max-height 0.2s;
}
.cp_qa .cp_actab .cp_actab-content::before {
    width: 30px;
    height: 30px;
    content: '';
    background: url(../img/new/qa4.png);
    background-size: 100%;
    position: absolute;
    left: 1.465vw;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0,-50%);
}
.cp_qa .cp_actab .cp_actab-content p {
    margin: 1em 1em 1em 40px;
    color: #132357;
    font-weight: 400;
}

p.qa_anc {
    color: #132357;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
    max-height: 40em;
}
/* 質問をクリックした時の+の動き */
.cp_qa .cp_actab input[type=checkbox]:checked + label::after {
    background: url(../img/new/qa2.png);
    background-size: contain;
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
    background-repeat: no-repeat;
}

/* FAQ *//* FAQ *//* FAQ */

.faq_wrap {
    margin-top: 40px;
}

.cta_bg {
    position: relative;
}

.cta_inner {
    position: absolute;
    top: 367px;
    left: auto;
    right: 4%;
    width: 64%;
}

.btn_flex {
    display: flex;
}

.cta_btn {
    margin: 0 10px;
}

.footer_wrap {
    padding: 0 0 80px;
}

.footer_menu_wrap {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.footer__logo {
    width: 67%;
}

a.logo_a {
    max-width: 300px;
}

.footer_main_nav {
    display: flex;
    margin-top: 24px;

    a {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 20%;
        color: var(--main-dark, #142357);
        font-family: Barlow;
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -0.48px;
        text-transform: uppercase;

        span {
            color: var(--Neutral-Gray-500, #9E9E9E);
            font-family: "Zen Kaku Gothic New";
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px; /* 125% */
            text-transform: uppercase;
        }
    }
}

.footer_info_menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#company_01 {
    background: url(../img/new/about/sec1_bg.png);
    background-size: cover;
    background-position: bottom;
    z-index: 3;
    position: relative;
    padding-bottom: 140px;
}

.company_dp {
    background: url(../img/new/about/sec2_bg.png);
    background-size: cover;
    background-position: top;
    z-index: 5;
    position: relative;
    padding: 100px 0;
    margin-top: -100px;
}

.company_data {
    margin-top: -100px;
    padding: 100px 0;
    background-repeat: repeat;
    background-size: auto;
    position: relative;
    background: #f5f6fa;
}

.btn-square-slant.org2 {
    display: inline-block;
    position: relative;
    width: 180px;
    font-size: 18px;
    padding: 15px 35px;
    text-decoration: none;
    color: #fff;
    z-index: 1;
    text-align: center;
}

.btn-square-slant.org2:before {
    transform: skewX(-15deg);
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgb(252,252,252);
    background: linear-gradient(180deg, #EB8D2D 0%, #A45E18 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fcfcfc",endColorstr="#7e7e7e",GradientType=1);
}

.contact_wrap {
    padding-top: 200px;
    padding-bottom: 100px;
}

.flex_btn_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

a.contact_btn {
    width: 338px;
    padding: 14.5px 0;
    margin: 40px 12px;
    background: #BDBDBD;
    text-align: center;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
}

a.contact_btn.active {
    background: #142357;
}

@media (max-width: 767px) {

    .logo {
        margin-left: 4px;
        padding: 0;
    }

    .section_1 p.center {
        width: 90%;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 26px;
        margin: 18px auto 74px;
    }

    h2.default {
        font-size: 54px;
        line-height: 56px;
    }

    .section_1 {
        background: url(../img/new/sp/sec1_bg.png);
        background-size: cover;
        background-position: bottom;
        padding: 48px 0 100px;

        ul {
            width: 95%;
            margin-top: 24px;
            margin-left: 0;
        }
    }

    .sec1_info {
        width: 90%;
    }

    .flex {
        flex-direction: column;
    }

    .bog_logo {
        width: 90%;
    }

    .section_2 {
        position: relative;
        padding-top: 80px;
        padding-bottom: 110px;
        background: url(../img/new/sec2_bg.png);
        background-size: cover;
        background-position: bottom;
        z-index: 3;
        margin-top: -100px;

        .sec2_flex {
            width: 83%;
            flex-direction: column;
        }

        .sec2_1 {
            width: 100%;
            margin-left: 0;
            margin-bottom: 20px;
        }

        .sec2_2 {
            width: 100%;
            margin-left: 0;
        }
    }

    .width_wrap {
        width: 95%;
    }

    .section_3 {
        margin-top: -100px;
        padding-top: 100px;
        padding-bottom: 130px;
        background: url(../img/new/sp/sec3_bg.png);
        background-size: cover;

        .item {
            width: 47%;
            margin: 1.5%;
        }
    }

    .gallery {
        display: block;
        width: 90%;
        margin: auto;
    }

    .gallery-thumbs {
            display: block;
            overflow: hidden;
    }
    
    .gallery-thumbs img {
        width: 100%;
        height: auto;
    }

    .gallery-main {
        width: 100%;
        margin-bottom: 15px;
    }

    .gallery-thumbs {
        display: unset;
        grid-template-columns: none;
        gap: unset;
        width: auto;
    }

    .gallery-thumbs img.active {
        opacity: 1;
        outline: 0;
    }

    h2.left {
        font-size: 54px;
        display: flex;
        flex-direction: column;
        line-height: 56px;

        span {
            color: var(--Neutral-Gray-600, #757575);
            text-align: left;
            font-family: "Zen Kaku Gothic New";
            font-size: 20px;
            font-style: normal;
            font-weight: 500;
            line-height: 32px; /* 160% */
            letter-spacing: 1px;
            text-transform: uppercase;
        }
    }

    .section_4 {
        padding-top: 100px;
        margin-top: -100px;
        background: url(../img/new/sp/sec4_bg.png);
        background-size: cover;
        padding-bottom: 128px;
        h2.left.wht {
            text-align: center;
            margin-bottom: 24px;

            span {
                text-align: center;
            }
        }
    }

    .flex_left {
        flex-direction: column;

        .img {
            width: 90%;
            margin-left: 0;
        }
    }

    .flex_right {
        flex-direction: column;

        .img {
            width: 90%;
            margin-right: 0;
            margin-left: auto;
        }
    }

    .txt_wrap {
        width: 90%;
        margin-top: 32px;
        padding-left: 8%;

        p {
            color: var(--main-dark, #142357);
            font-family: "Noto Sans JP";
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: 25px;
            letter-spacing: 1.44px;
        }
    }

    h3.reason_h3 {
        color: var(--main-dark, #142357);
        font-family: "Zen Kaku Gothic New";
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: 40px;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 16px 0;
    }

    .no {
        color: var(--main-orange, #EB8C2D);
        font-family: Barlow;
        font-size: 80px;
        font-style: normal;
        font-weight: 600;
        line-height: 68px;
        opacity: .8;
    }

    .section_5 {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .section_6 {
        padding-top: 80px;
        padding-bottom: 100px;
        background: url(../img/new/sec6_bg.png);
        background-size: cover;
        position: relative;
        z-index: 3;
    }

    .interview_wrap {
        width: 100%;
        display: block;
        position: relative;
        padding-bottom: 50px;
    }

    span.swiper-pagination-bullet-active {
        background: #142357 !important;
    }

    .i_card {
        width: 95%;
        margin: auto;
    }

    .cp_qa .cp_actab label {
        padding: 1em 3em;
    }

    .cp_qa .cp_actab .cp_actab-content p {
        margin: 1em 1em 1em .5em;
        color: #132357;
        font-weight: 400;
    }

    .btn_flex {
        flex-direction: column;
    }

    .cta_inner {
        position: absolute;
        top: 170px;
        left: auto;
        right: 5%;
        width: 90%;
    }

    .cta_btn {
        margin: 0 10px 16px;
    }

    .footer_menu_wrap {
        flex-direction: column;
    }

    .footer_main_nav {
        flex-wrap: wrap;

        a {
            width: 50%;
            margin-bottom: 28px;
        }
    }

    .footer__logo {
        width: 100%;
        flex-direction: column;
    }

    .footer_info_menu a {
        color: #142357;
        margin-bottom: 15px;
    }

    .footer_info_menu {
        margin-top: 20px;
    }

    .fotter_sns_link {
        position: absolute;
        bottom: 280px;
        right: 8%;
    }

    a.f-link {
        width: 45px;
        height: 45px;
    }

    .smart-nav li a {
        color: #142357;
        flex-direction: column;
        align-items: flex-start;
    }

    #smart-nav {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        background: rgb(255 255 255 / 80%); /* 半透明にすると綺麗 */
    }

    .smart-nav li a {
        color: #142357;
        flex-direction: column;
        align-items: flex-start;
        font-family: Barlow;
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
    }

    .cta_flex_wrap {
        flex-direction: column;
        width: 90%;
        margin: 30px auto 0;
    }

    .h_cta_2 {
        width: 97.2%;
        margin: 0 1.4% 20px;
    }

    .h_cta_2 a img {
        box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.15);
    }

    .container.page3 {
        padding-top: 0;
    }

    #company_01 {
        background: url(../img/new/about/sp/sec1_bg.png);
        background-size: cover;
        background-position: bottom;
        z-index: 3;
        position: relative;
        padding-bottom: 140px;
    }

    h3.big_bg_year.line_font {
        font-size: 52px;
        font-style: normal;
        font-weight: 500;
    }
    h3.big_bg_year {
        font-size: 52px;
        font-style: normal;
        font-weight: 500;
    }
    .day_wrap {
        width: 40%;
    }
    .manth_wrap {
        top: 50%;
        width: 14%;
        color: #ddd;
    }
    .enkaku_in .txt_wrap {
        width: 60%;
        margin-top: 0;
        margin-left: 33%;
        margin-bottom: 0;
    }
    article.in_art {
        padding: 20px 0;
    }
    .enkaku_line .flex_wrap {
        align-items: baseline;
    }

    .company_dp {
        background: url(../img/new/about/sp/sec2_bg.png);
        background-size: cover;
        background-position: top;
        z-index: 5;
        position: relative;
        padding: 100px 0;
        margin-top: -100px;
    }
    .company_data {
        padding: 130px 0 80px;
        background: linear-gradient(to bottom, #ffffff 0%, #ffffff 80%, #f5f6fa 100%);
    }
    .flex_btn_wrap {
        flex-direction: column;
    }
    a.contact_btn {
        margin: 8px;
    }
    .flex_btn_wrap {
        flex-direction: column;
        margin: 38px 0 16px;
    }

    .contact_wrap {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}