@charset "UTF-8";

html {
    font-size: 62.5%;
}

:root {
    --color-txt: #222;
    --color-eg: #2222221A;
    --color-IvoryWhite: #FFFDF1;
    --color-Ivory: #EAE8DD;
    --color-White: #fff;
    --color-pink: #FDF6FB;
}

body {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    font-family: "Noto Sans JP", "M PLUS 1p", "Poppins",sans-serif;
    color: var(--color-txt);
    background-color: var(--color-White);
}

/* ====logo==== */
.c-logo {
    width: 140px;
    height: 67px;
}

/* ====btn==== */
.c-btn__arrow {
    position: relative;
    z-index: 2;
    width: 45px;
    height: 14px;
}

.c-btn__txt {
    color: var(--color-White);
    position: relative;
    z-index: 2;
}

.c-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 24px 40px;
    background-color: var(--color-txt);
    overflow: hidden;
    transition:  transform 0.3s ease;
}
.c-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
}
a:hover .c-btn::after {
    background-color: rgba(255, 255, 255, 0.25);
}

/* =====header===== */
.p-header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: var(--color-White);
}

.p-header__innerBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
}
/* ====nav==== */
.p-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    transition: right 0.3s ease;
    z-index: 999;
    background-color: var(--color-White);
}

.p-header__nav.active {
    right: 0;
}

.p-header__navBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background-color: var(--color-White);
}

.p-header__navList {
    margin: 80px 0 0 64px;
    max-height: 100vh;
    overflow-y: auto;


}

.p-header__item {
    font-size: 2.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.p-header__item:first-of-type {
    margin-top: 0;
}

.p-header__sns {
    display: flex;
    gap: 16px;
}

/* =====header btn===== */
.p-header__openBtn {
    border: none;
}

.p-header__openBtn img {
    width: 40px;
    height: 30px;
}

.p-header__closeBtn {
    width: 40px;
    height: 40px;
    border: none;
}

.p-header__close {
    border: none;
}

/* ====PC header===== */
@media screen and (min-width: 1000px) {
    .p-header {
        width: 100%;
        z-index: 1000;
    }

    .p-header__inner {
        margin: 0 auto;
        padding: 16px 112px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .p-header__innerBox {
        padding: 0;
    }

    .p-header__nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
    }

    .p-header__navBox {
        display: none;
    }

    .p-header__navList {
        display: flex;
        margin: 0;
        gap: 25px;
    }

    .p-header__item {
        font-size: 1.6rem;
        font-weight: 700;
        margin: 0;
    }

    .p-header__item:last-of-type {
        display: inline-block;
    }

    .p-header__item::before {
        display: none;
    }

    .p-header__item--sns img {
        width: 30px;
        height: 30px;
    }

    .p-header__openBtn,
    .p-header__closeBtn,
    .p-header__navLogo {
        display: none;
    }
}

/* ====hero==== */
.p-hero__titleBox {
    position: relative;
    display: inline-block;
    width: 100%;
}
.p-hero__titleBox::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.p-hero__img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: top;
}

.p-hero__title {
    position: absolute;
    top: 314px;
    left: 9.1%;
    color: var(--color-White);
    font-size: clamp(2.4rem, 0.968rem + 2.17vw, 4.2rem);
    font-weight: 700;
}

/* ====pc hero==== */
@media screen and (min-width:768px) {
    .p-hero__img {
        height: 684px;
        margin-top: 80px;
    }
    .u-forSP {
        display: none;
    }
}

/* =====about==== */
.p-frontAbout {
    padding: 80px 0;
}

.p-frontAbout__box {
    text-align: center;
    position: relative;
}

.p-frontAbout__txtBox {
    display: inline-block;
    padding: 40px 32px;
    border: 3px solid var(--color-Ivory);
}
.p-frontAbout__titleBox {
    position: absolute;
    top: -40px;
    left: 40px;
}
.c-sectionTitle {
    font-family: "M PLUS 1p";
    font-size: 5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-eg);
}

.p-frontAbout__title {
    font-size: 3.2rem;
    font-weight: 700;
    border-bottom: 3px solid var(--color-txt);
}
.p-frontAbout__txt {
    text-align: left;
    margin-top: 32px;
}

.p-frontAbout__btnBox {
    display: inline-grid;
    margin-top: 40px;
}

/* ==== pc about==== */
@media screen and (min-width:768px) {
    .p-frontAbout {
        padding: 160px 0;
    }

    .p-frontAbout__box {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row-reverse;
        align-items: end;
    }

    .p-frontAbout__txtBox {
        padding: 40px 92px 137px 92px;
    }

    .p-frontAbout__btnBox {
        margin-top: 88px;
    }

    .c-sectionTitle {
        font-size: 16rem;

    }

    .p-frontAbout__titleBox {
        top: -160px;
        left: 9.1%;
    }

}

/* ====service==== */
.p-frontService {
    background-color: var(--color-IvoryWhite);
    padding: 80px 0;
}

.p-frontService__box {
    text-align: center;
    position: relative;
}

.p-frontService__titleBox {
    position: absolute;
    top: -40px;
    right: 40px;
}

.p-frontService__txtBox {
    display: inline-block;
    padding: 40px 16px;
    border: 3px solid var(--color-Ivory);
}

.p-frontService__title {
    font-size: 3.2rem;
    font-weight: 700;
    border-bottom: 3px solid var(--color-txt);
}

.p-frontService__txt {
    margin-top: 32px;
    text-align: left;
}

.p-frontService__btnBox {
    margin-top: 40px;
    display: inline-block;
}

/* ====pc service==== */
@media screen and (min-width:768px) {
    .p-frontService {
        padding: 160px 0;
    }

    .p-frontService__box {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: end;
    }

    .p-frontService__txtBox {
        padding: 56px 76px 112px 76px;
    }

    .p-frontService__btnBox {
        margin-top: 88px;
    }

    .p-frontService__titleBox {
        top: -160px;
        right: 9.1%;
    }
}

/* ====recruit==== */
.p-frontRecruit {
    padding: 80px 0;
}

.p-frontRecruit__img img {
    object-fit: cover;
}

.p-frontRecruit__box {
    text-align: center;
    position: relative;
}

.p-frontRecruit__titleBox {
    position: absolute;
    top: -40px;
    left: 40px;
}

.p-frontRecruit__txtBox {
    display: inline-block;
    padding: 40px 24px;
    background-color: var(--color-Ivory);
}

.p-frontRecruit__title {
    font-size: 3.2rem;
    font-weight: 700;
    width: 128px;
    margin: 0 auto;
    border-bottom: 3px solid var(--color-txt);
}

.p-frontRecruit__txt {
    margin-top: 32px;
}

.p-frontRecruit__btnBox {
    margin-top: 40px;
    display: inline-block;
}

/* ==== pc recruit==== */
@media screen and (min-width:768px) {
    .p-frontRecruit {
        padding: 160px 0;
    }

    .p-frontRecruit__box {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .p-frontRecruit__txtBox {
        padding: 56px 84px 50px 84px;
    }

    .p-frontRecruit__btnBox {
        margin-top: 96px;
    }

    .p-frontRecruit__titleBox {
        top: -160px;
        left: 9.1%;
    }
}

/* ====contact==== */
.p-Contact {
    padding: 80px 0;
    background-color: var(--color-IvoryWhite);
}

.p-Contact__img {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url(../images/bg-contact_section_sp.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 628px;
    position: relative;
}

.p-Contact__titleBox {
    position: absolute;
    top: -40px;
    left: 40px;
}

.p-Contact__titleTxt {
    text-align: center;
    padding-top: 40px;
}

.p-Contact__title {
    color: var(--color-White);
    font-size: 3.2rem;
    font-weight: 700;
    width: 192px;
    margin: 0 auto;
    border-bottom: 3px solid var(--color-White);
}

.p-Contact__txt {
    color: var(--color-White);
    font-family: "M PLUS 1p";
    margin-top: 32px;
}

.p-Contact__txtBox {
    display: grid;
    justify-content: center;
    gap: 40px;
    margin-top: 64px;
    padding: 0 16px;
}

.p-Contact__conainerBox {
    width: 320px;
    height: 154px;
    background-color: var(--color-Ivory);
    border: none;
    text-align: center;
}

.p-Contact__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding:56px 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.p-Contact__btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
}
 a:hover .p-Contact__btn::after {
    background-color: rgba(0, 0, 0, 0.4);
}

 
.p-Contact__btnTxt {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
}
.p-Contact__arrow {
    position: relative;
    z-index: 2;
    width: 45px;
    height: 14px;
}

.p-Contact__tel {
    font-size: 2.8rem;
    font-weight: 700;
    padding-top: 40px;
}

.p-Contact__time {
    font-family: "M PLUS 1p";
    margin-top: 8px;
}

/* ==== pc contact==== */
@media screen and (min-width:768px) {
    .p-Contact {
        padding: 160px 0;
    }

    .p-Contact__titleBox {
        top: -160px;
        left: 2%;
    }

    .p-Contact__img {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url(../images/bg-contact_section_pc.jpg);
    }

    .p-Contact__txtBox {
        display: flex;
        margin-top: 80px;
    }

    .p-Contact__titleTxt {
        padding-top: 96px;
    }
}


/* ====footer==== */
.p-footer__inner {
    padding: 40px 0 40px 16px;
}

.p-footer__txt {
    margin-top: 8px;
}

.p-footer__item {
    font-weight: 700;
}

.p-footer__navList {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.p-footer__sns {
    display: inline-flex;
    gap: 16px;
}

.p-footer__item--sns img {
    width: 32px;
    height: 30px;
}

.p-copy {
    background-color: var(--color-txt);
    color: var(--color-White);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    padding: 44px 0;
}

@media screen and (min-width:1000px) {
    .p-footer__inner {
        display: flex;
        justify-content: space-between;
        padding: 80px 112px 160px 112px;
    }

    .p-footer__navList {
        display: flex;
        align-items: center;
    }
}