@font-face {
    font-family: Raleway;
    font-style: normal;
    font-weight: 100;
    src: url(/wp-content/themes/mecdesign/assets/fonts/Raleway/Raleway-Thin.woff2) format("woff2"), url(/wp-content/themes/mecdesign/assets/fonts/Raleway/Raleway-Thin.woff) format("woff"), url(/wp-content/themes/mecdesign/assets/fonts/Raleway/Raleway-Thin.ttf) format("truetype")
}

@font-face {
    font-family: Zen Old Mincho;
    font-style: normal;
    font-weight: 500;
    src: url(/wp-content/themes/mecdesign/assets/fonts/Zen_Old_Mincho/ZenOldMincho-Medium.woff2) format("woff2"), url(/wp-content/themes/mecdesign/assets/fonts/Zen_Old_Mincho/ZenOldMincho-Medium.woff) format("woff"), url(/wp-content/themes/mecdesign/assets/fonts/Zen_Old_Mincho/ZenOldMincho-Medium.ttf) format("truetype")
}

/* ------------------------------
    ABOUT
--------------------------------*/
html {
    background-color: var(--color-gray02);
}

.mo-about .c-hdg-section--highlighted .c-hdg-section__main {
    display: flex;
    margin: 5px 0 0 0;
}

@media (min-width: 768px) {
    .mo-about .c-hdg-section--highlighted .c-hdg-section__main {
        margin: 0 0 0 -12px;
    }
}

.mo-about .p-about {
    margin: 135px 0 0;
}

@media (min-width: 768px) {
    .mo-about .p-about {
        margin: 140px 0 0;
    }
}

.mo-about .p-about .p-about__container {
    margin: 69px 0 0;
}

@media (min-width: 768px) {
    .mo-about .p-about .p-about__container {
        margin: 173px 0 0;
    }
}

/* mv */
.mo-about .l-mv {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding-bottom: 94px;
    background: transparent url(/wp-content/themes/mecdesign/assets/images/pages/about/about_mv_p01-sp.jpg) no-repeat center top;
    background-size: cover;
}

.mo-about .l-mv .mv-typography__container {
    display: grid;
    grid-template-rows: 0.5fr 44px 1fr;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    padding: 103px 0 48px;
}

.mo-about .l-mv .mv-typography__container .en {
    color: var(--color-white01);
    font-size: 35px;
    font-family: var(--font-en);
    letter-spacing: -0.01em;
    text-align: center;
}

.mo-about .l-mv .mv-typography__container .en:nth-of-type(2) {
    margin-top: -10px;
    font-size: 62px;
    font-weight: 100;
    line-height: 1;
}

.mo-about .l-mv .mv-typography__lead {
    color: var(--color-white01);
    font-size: 12px;
    letter-spacing: 0.045em;
    line-height: 2;
    text-align: center;
}

@media (min-width: 768px) {
    .mo-about .l-mv {
        margin-top: 86px;
        padding-bottom: 258px;
        background-image: url(/wp-content/themes/mecdesign/assets/images/pages/about/about_mv_p01.jpg);
        background-position: center center;
        background-size: cover;
    }

    .mo-about .l-mv .mv-typography__container {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 131px 1fr;
        padding: 258px 0 48px;
    }

    .mo-about .l-mv .mv-typography__container .en {
        font-size: 100px;
        letter-spacing: 0;
        line-height: 1.2;
    }

    .mo-about .l-mv .mv-typography__container .en:nth-of-type(1) {
        margin: 0 6px 0 auto;
    }

    .mo-about .l-mv .mv-typography__container .en:nth-of-type(2) {
        margin-top: -0.18em;
        font-size: 180px;
    }

    .mo-about .l-mv .mv-typography__container .en:nth-of-type(3) {
        margin: 0 auto 0 0;
    }

    .mo-about .l-mv .mv-typography__lead {
        font-size: 16px;
        letter-spacing: 0;
        line-height: 2;
        text-align: center;
    }
}

/* subtitle */
.p-reason__container {
    margin: 55px auto 0;
}

.c-hdg-section {
    flex-direction: column;
    align-items: center;
}

.p-reason__container .c-hdg-section__sub {
    letter-spacing: 0.01em;
}

.c-subhdg-section .c-hdg-section__inner::after {
    height: 45px;
}

.c-hdg-section__text {
    margin: 15px auto 0;
    font-size: 24px;
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0;
}

@media (min-width: 768px) {
    .p-reason__container {
        margin: 112px auto 0;
    }

    .p-reason__container .c-hdg-section__sub {
        letter-spacing: 0;
    }

    .p-reason__container .c-hdg-section__main {
        margin-top: 3px;
    }

    .c-subhdg-section .c-hdg-section__inner::after {
        height: 80px;
    }

    .c-hdg-section__text {
        margin: 18px auto 0;
        font-size: 38px;
    }
}

/* menu */
.p-reason__menu {
    z-index: 2;
    display: block;
    position: relative;
    width: 100%;
    margin-top: 33px;
    padding: 53px 25px;
    background: transparent url(/wp-content/themes/mecdesign/assets/images/pages/about/about_menubtn_bg01-sp.jpg) no-repeat center top;
    background-size: cover;
}

.p-reason__menu-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: auto;
    padding: 16px 10px 20px;
    background-color: var(--color-gray02);
}

.p-reason__menu-item+.p-reason__menu-item {
    margin-top: 20px;
}

.p-reason__menu-item .numb {
    color: var(--color-red02);
    font-size: 13px;
    font-family: var(--font-serif);
}

.p-reason__menu-item .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px 0 10px;
    font-size: 15px;
    font-family: var(--font-serif);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0;
}

.p-reason__menu-item:nth-of-type(2) .text {
    letter-spacing: -0.05em;
}

@media (min-width: 768px) and (max-width: 1380px) {
    .p-reason__menu {
        padding: 80px 2.5% 0 !important;
    }
}

@media (min-width: 768px) {
    .p-reason__menu {
        display: flex;
        justify-content: center;
        gap: 31px;
        margin: 37px auto 0;
        padding: 80px calc((100% - 1280px)/2) 0;
        background: transparent url(/wp-content/themes/mecdesign/assets/images/pages/about/about_menubtn_bg01.jpg) no-repeat center top;
        background-size: cover;
    }

    .p-reason__menu-item {
        margin: 0 0 -1px !important;
        padding: 24px 0 0;
    }

    .p-reason__menu-item .numb {
        font-size: 20px;
        transition: letter-spacing .4s var(--ease-out-sine);
    }

    .p-reason__menu-item .text {
        position: relative;
        padding: 8px 0 19px;
        font-size: 20px;
        transition: letter-spacing .4s var(--ease-out-sine);
    }

    .p-reason__menu-item .text:before {
        position:absolute;
        bottom: 15px;
        left: 0;
        width: 0;
        height: 1px;
        content: "";
        background: var(--color-red);
        transition: width .4s var(--ease-out-sine);
    }
}

@media (hover: hover) and (pointer: fine) {
    .p-reason__menu-item:hover .numb {
        letter-spacing: 0.1em;
    }
    .p-reason__menu-item:hover .text {
        letter-spacing: 0.06em;
    }
    .p-reason__menu-item:hover .text:before {
        width: 100%;
    }
}

/* reasons */
.l-reasons__container {
    z-index: 2;
    position: relative;
    overflow: hidden;
    padding: 50px 20px 3px;
}

.p-reasons {
    display: block;
    width: 100%;
    padding: 46px 25px 20px;
    background-color: var(--color-white01);
}

.p-reasons+.p-reasons {
    margin-top: 60px;
}

@media (min-width: 768px) {
    .l-reasons__container {
        padding: 120px 2.5% 3px;
    }

    .p-reasons {
        padding: 74px 0 93px;
    }

    .p-reasons+.p-reasons {
        margin-top: 120px;
    }
}

.p-reasons h4.c-hdg-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-reasons h4.c-hdg-section .numb {
    color: var(--color-red02);
    font-size: 13px;
    font-family: var(--font-serif);
    font-weight: 400;
    text-align: center;
}

.p-reasons h4.c-hdg-section .text {
    margin-top: 17px;
    font-size: 20px;
    font-family: var(--font-serif);
    font-weight: 400;
    text-align: center;
    letter-spacing: -0.01em;
}

.p-reasons h4.c-hdg-section span {
    font-size: 17px;
}

.p-reasons h4+p.text {
    margin-top: 16px;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .p-reasons h4.c-hdg-section .numb {
        font-size: 20px;
    }

    .p-reasons h4.c-hdg-section .text {
        margin-top: 23px;
        font-size: 32px;
        letter-spacing: 0;
        line-height: 1.5;
    }

    .p-reasons h4.c-hdg-section span {
        font-size: 20px;
    }

    .p-reasons h4+p.text {
        margin-top: 19px;
        font-size: 16px;
        text-align: center;
        letter-spacing: 0;
    }
}

/* loop */
.loop-gallery,
.loop-gallery-reverse {
    overflow: hidden;
    width: 110vw;
    transform: translateX(-10vw);
}

.loop-gallery {
    margin-top: 44px;
}

.loop-gallery-reverse {
    margin-top: 13px;
}

.loop-gallery .swiper-wrapper,
.loop-gallery-reverse .swiper-wrapper {
    transition-timing-function: linear !important;
}

@media (min-width: 900px) and (max-width: 1380px) {
    .loop-gallery,
    .loop-gallery-reverse {
        overflow: hidden;
        width: 150vw;
        transform: translateX(-5vw);
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    .loop-gallery,
    .loop-gallery-reverse {
        overflow: hidden;
        width: 170vw;
        transform: translateX(-5vw);
    }
}

@media (min-width: 768px) {
    .loop-gallery {
        margin-top: 81px;
    }

    .loop-gallery-reverse {
        margin-top: 30px;
    }
}


/* professionals */
.professionals-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 30px 3% 0;
}

.pro-subgrid {
    overflow: hidden;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    justify-items: center;
    row-gap: 2px;
    width: 100%;
    padding: 24px 0;

}

.pro-subgrid p:nth-of-type(1) {
    font-size: 10px;
    font-family: var(--font-serif);
    text-align: center;
    letter-spacing: 0.01em;
}

.pro-subgrid .en {
    width: 140%;
    font-size: 19px;
    font-family: var(--font-en);
    text-align: center;
    letter-spacing: -0.02em;
}

.pro-subgrid p:nth-of-type(3) {
    margin: 12px 0 0;
    font-size: 12px;
    text-align: center;
    line-height: 2;
    letter-spacing: 0.05em;
}

.pro-subgrid+.pro-subgrid {
    border-top: 1px solid #dcdcdc;
}

@media (min-width: 768px) and (max-width: 1380px) {
    .professionals-grid {
        width: calc(100% - 80px);
        margin: auto;
    }

    .pro-subgrid {
        transform: scale(0.9);
    }
}

@media (min-width: 768px) {
    .professionals-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 59px;
        padding: 110px 0 0;
    }

    .pro-subgrid {
        align-items: center;
        row-gap: 0;
        position: relative;
        width: 100%;
        padding: 0 40px;

    }

    .pro-subgrid p:nth-of-type(1) {
        font-size: 16px;
        letter-spacing: 0;
    }

    .pro-subgrid .en {
        margin-top: -12px;
        font-size: 30px;
        letter-spacing: 0;
    }

    .pro-subgrid p:nth-of-type(3) {
        margin: -6px 0 0;
        font-size: 16px;
        line-height: 2;
        letter-spacing: 0;
    }

    .pro-subgrid:nth-of-type(n+4) p:nth-of-type(3) {
        padding: 2em 0;
    }

    .pro-subgrid+.pro-subgrid {
        border-top: none;
    }

    .pro-subgrid:nth-of-type(3n+2)::before {
        content: '';
        display: block;
        position: absolute;
        top: 10px;
        left: 0;
        width: 1px;
        height: 90%;
        background-color: #dcdcdc;
    }

    .pro-subgrid:nth-of-type(3n+2)::after {
        content: '';
        display: block;
        position: absolute;
        top: 10px;
        right: 0;
        width: 1px;
        height: 90%;
        background-color: #dcdcdc;
    }
}

/* 02 */
.p-reasons#reason02 {
    padding-bottom: 44px;
}

@media (min-width: 768px) {
    .p-reasons#reason02 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        column-gap: 76px;
        padding: 76px 124px 72px 120px;
    }

    .p-reasons#reason02 .c-hdg-section {
        display: block;
    }

    .p-reasons#reason02 .c-hdg-section .numb {
        display: block;
        margin-top: -10px;
        text-align: left;
    }

    .p-reasons#reason02 .c-hdg-section .text {
        margin-top: 9px;
        text-align: left;
        line-height: 1.53;
        letter-spacing: -0.03em;
    }

    .p-reasons#reason02 h4.c-hdg-section+p.text {
        margin-top: 18px;
        text-align: left;
    }

    .p-reasons#reason02 .p-reason__content {
        max-width: 600px;
        margin: 0 0 0 auto;
    }
}

.backup-system {
    margin-top: 25px;
}

@media (min-width: 768px) {
    .backup-system {
        max-width: 600px;
        margin-top: 0;
    }
}

/* 03 */
.p-reasons#reason03 {
    padding-bottom: 50px;
}

.p-reasons#reason03 h4.c-hdg-section+p.text .note {
    display: inline-block;
    font-size: 10px;
}

@media (min-width: 768px) {
    .p-reasons#reason03 {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-bottom: 100px;
    }

    .p-reasons#reason03 h4.c-hdg-section .text {
        margin-top: 9px;
    }

    .p-reasons#reason03 h4.c-hdg-section+p.text {
        margin-top: 30px;
    }

    .p-reasons#reason03 h4.c-hdg-section+p.text .note {
        font-size: 12px;
    }
}

.about-winners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
    margin-top: 5px;
}

.about-winners figure:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 3;
    width: 70%;
    margin: auto;
}

.about-winners figure:nth-of-type(2) {
    grid-area: 2 / 1 / 3 / 2;
    width: 85%;
    margin: -3px -5px 0 auto;
}

.about-winners figure:nth-of-type(3) {
    grid-area: 2 / 2 / 3 / 3;
    width: 85%;
    margin: -3px auto 0 0;
}

@media (min-width: 768px) {
    .about-winners {
        grid-template-rows: auto;
        max-width: 622px;
        width: 90%;
        margin-top: 41px;
    }

    .about-winners figure:nth-of-type(1) {
        width: 70%;
        margin: auto;
    }

    .about-winners figure:nth-of-type(2) {
        width: 85%;
        margin: 5px -3px 0 auto;
        padding-left: 6px;
    }

    .about-winners figure:nth-of-type(3) {
        grid-area: 2 / 2 / 3 / 3;
        width: 85%;
        margin: 5px auto 0 6px;
        padding-right: 6px;
    }
}

.about-winners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    justify-items: center;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    width: 85%;
    margin: 11px auto 0;
}

.about-winners-logos figure:nth-of-type(7),
.about-winners-logos figure:nth-of-type(8),
.about-winners-logos figure:nth-of-type(9),
.about-winners-logos figure:nth-of-type(10),
.about-winners-logos figure:nth-of-type(11),
.about-winners-logos figure:nth-of-type(12) {
    width: 85%;
}

.about-winners-logos figure:nth-of-type(13) {
    grid-area: 5 / 1 / 6 / 4;
    width: 30%;
}

.p-reasons#reason03>p {
    display: flex;
    justify-content: center;
    margin: 40px auto 0;
}

@media (min-width: 768px) {
    .about-winners-logos {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        width: 60%;
        margin: 15px auto 0;
    }

    .about-winners-logos figure {
        width: 119px !important;
    }

    .about-winners-logos figure:nth-of-type(7),
    .about-winners-logos figure:nth-of-type(8),
    .about-winners-logos figure:nth-of-type(9),
    .about-winners-logos figure:nth-of-type(10),
    .about-winners-logos figure:nth-of-type(11) {
        width: 77px !important;
    }

    .p-reasons#reason03>p {
        margin: 60px auto 0;
    }

    .p-reasons#reason03>p a {
        width: 360px;
        height: 70px;
    }
}

/* breadcrumb調整 */
@media (min-width: 768px) {
    .breadcrumb {
        padding-block: 119px 20px;
    }
}