@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;
    color: var(--color-txt);
    font-family: "Noto Sans JP", "M PLUS 1p", "Poppins", sans-serif;
    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);
    font-size: 2.8rem;
    position: relative;
    z-index: 2;
}

.c-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 16px 80px;
    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.3);
}
/* =====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;
}

.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;
    }
}

/* ====top==== */
.p-hero__innerImg img {
    width: 100%;
    margin-top: 88px;
}

.p-hero__innerImg {
    position: relative;
}

.p-hero__innerTxt {
    position: absolute;
    top: 158px;
    left: 10%;
    color: var(--color-White);
    font-family: "Noto Sans JP";
    font-size: 4.5rem;
    font-weight: 700;
}

/* ==== PC top==== */
@media screen and (min-width:768px) {
    .p-hero__innerTxt {
        top: 182px;
    }
}

/* ====taitle==== */
.p-title {
    padding: 80px 0;
    text-align: center;
}
.p-title__subTxt {
    margin-top: 64px;
    padding: 0 4%;
    text-align: left;
}

.p-title__mainTxt {
    font-size: 2.4rem;
    font-weight: 700;
}
@media screen and (min-width:768px) {
    .p-title {
        padding:80px 20.5%;
    }
    .u-forSP {
        display: none;
    }
    .p-title__subTxt {
        margin-top: 40px;
    }
}

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

.p-careers__content {
    margin-top: 64px;
    padding: 0 4%;
}

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

.p-careers__box {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-txt);
    padding: 16px 0 16px;
    gap: 16px;
}

.p-careers__term {
    width: 116px;
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 16px;
    font-size: 1.4rem;
    font-weight: 800;
}

.p-careers__data {
    font-size: 1.2rem;
    font-weight: 400;
}
.p-careers__btnBox {
    display: grid;
    justify-content: center;
    margin-top: 64px;
}

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

    .p-careers__content {
        padding: 0 22.2%;
    }
    .p-careers__box {
        gap: 40px;
    }
    .p-careers__term {
        font-weight: 700;
    }
    .p-careers__data {
        font-size: 1.6rem;
    }
}

/* ====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;
    }
}