@charset "UTF-8";

body {
    background-color: #fff;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--text-color-black);
    line-height: 1.8;
}

h1,
h2,
h3,
p {
    line-height: 1.8;
}

img {
    pointer-events: none;
}

:root {
    --text-color-black: #222222;
    --text-color-white: #fff;
    --main-color: #008ECA;
    --main-title-color: #0F518B;
    --font-en: "Josefin Sans", sans-serif;
}

/* =============================
    header__btn
===============================*/
.entry__btn {
    border-radius: 20px;
}

/* =============================
    section__title
===============================*/
.section__title {
    font-family: var(--font-en);
}

.section__title--text {
    margin-top: 0;
    font-weight: 500;
}

/* =============================
    mainVisual
===============================*/
.mainVisual {
    max-width: 1440px;
    position: relative;
    margin: 0 auto;
}

.main__img {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.main__text {
    max-width: 940px;
    width: 65.28vw;
    text-align: center;
    line-height: 1.8;
    padding: 2.5rem 3.125rem;
    color: var(--main-title-color);
    border-radius: 20px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
}

.main__text--title {
    font-size: 3.3vw;
    font-weight: 600;
}

.main__text--p {
    color: var(--main-title-color);
    font-size: 1.65vw;
    line-height: 1.8;
    margin-top: 0.625rem;
    text-align: center;
}

@media screen and (min-width: 90rem) {
    .main__text--title {
        font-size: 48px;
    }

    .main__text--p {
        font-size: 24px;
    }
}

@media screen and (max-width:767px) {
    .main__text{
        width: 85%;
        padding: 16px 20px;
    }

    .main__text--title {
        font-size: 4.8vw;
    }

    .main__text--p{
        font-size: 3.2vw;
    }
}

/* =============================
    merit
===============================*/
.circle__merit {
    margin-top: 50px;
}

.portrait {
    margin-top: 24px;
}

.circle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 20px 0;
}

.circle {
    max-width: 240px;
    min-width: 6.25rem;
    width: 16.6vw;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    margin-left: -1.25rem;
    position: relative;
}

.circle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 0.0625rem;
    background: linear-gradient(90deg, #00DEEE 0%, #BDEBF5 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.circle:first-child {
    margin-left: 0;
}

.circle__text {
    margin: 0;
    color: var(--main-color);
    font-size: 1.53vw;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.circle__text small {
    font-size: 1vw;
    font-weight: 400;
}

@media screen and (min-width: 90rem) {
    .circle__text {
        font-size: 22px;
    }

    .circle__text small {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .circle {
        width: 23.5vw;
    }

    .circle__text {
        font-size: 2.4vw;
    }

    .circle__text small {
        display: block;
        font-size: 2.67vw;
        font-weight: 600;
    }
}

/* =============================
    about
===============================*/
.about {
    margin-top: 100px;
}

.about__content {
    margin-top: 40px;
}

.about__flex {
    display: flex;
    gap: 30px;
    justify-content: left;
    align-items: start;
}

.about__flex--left {
    max-width: 544px;
}

.about__flex--leftTitle {

    font-size: 1.67vw;
    font-weight: 500;
}

.about__flex--leftText {
    font-size: 1vw;
    font-weight: 500;
    line-height: 1.5;

}

.about__flex--leftText:first-of-type {
    margin-top: 24px;
}

.about__flex--leftText + .about__flex--leftText {
    margin-top: 1em;
}

.about__flex--right {
    width: 100%;
    max-width: 517px;
}

.about__flex--right img {
    grid-area: 1 / 2 / span 2 / span 2;
}

.access__deco {
    max-width: 96px;
    width: 6.67vw;
    position: absolute;
    right: 0;
    bottom: 0;
}

.access__info {
    padding-bottom: 23px;
    position: relative;
}

.access__title {
    font-size: 1.39vw;
    font-weight: 400;
    font-family: var(--font-en);
    color: var(--main-color);
    padding-bottom: 8px;
    border-bottom: 0.0625rem solid var(--main-color);
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.access__icon {
    max-width: 24px;
    width: 1.67vw;
}

.map__text {
    margin-top: 8px;
    line-height: 1.5;
    color: var(--text-color-black);
    display: flex;
    gap: 8px;
    font-weight: 500;

    font-size: 1vw;
}

.map__link {
    color: #003DA7;
    font-size: 0.83vw;
    line-height: 1.9;
    border-bottom: 0.0625rem solid var(--main-color);
    position: relative;
}

.map__link::after {
    display: inline-block;
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("./image/icon-blank.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translate(100%,-50%);
}

.access__time {
    display: flex;
    gap: 12px;
    align-items: center;
}

.access__text {
    font-size: 1vw;
    font-weight: 500;
    line-height: 1.6;
}

.access__text--small {
    line-height: 1.8;
    font-size: 0.875rem;
    font-weight: 500;

}

.time__score {
    font-size: 1.67vw;
    font-weight: 500;
    padding: 0 4px;
    font-family: var(--font-en);
}

.google__map {
    max-width: 17.375rem;
    aspect-ratio: 278/160;
}

.google__map--sp {
    display: none;
}

@media screen and (min-width: 90rem) {
    .about__flex--leftTitle {
        font-size: 24px;
    }

    .about__flex--leftText {
        font-size: 14px;
    }

    .access__grid {
        grid-template-columns: 6.67vw 1fr 369px;
    }

    .access__title {
        font-size: 20px;
    }

    .map__text {
        font-size: 14px;
    }

    .map__link {
        font-size: 12px;
    }

    .access__text {
        font-size: 18px;
    }
    .time__score {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    .about {
        margin-top: 3.75rem;
    }

    .about__flex {
        flex-direction: column;
    }

    .about__flex--left {
        margin: 0 auto;
        max-width: 100%;
    }

    .about__flex--leftTitle {
        font-size: 1.25rem;
    }

    .about__flex--leftText {
        font-size: 0.875rem;
    }

    .about__flex--right {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        grid-template-columns: 20px auto 20px;
        grid-template-rows: 20px auto 40px;
        aspect-ratio: unset;
    }

    .about__flex--right::after {
        width: 100%;
        max-width: 100%;
        height: 100%;
        top: 40px;
        aspect-ratio: unset;
    }

    .about__access {
        margin-top: 3rem;
    }

    .access__deco {
        width: 62px;
        position: absolute;
        right: 4%;
        bottom: 0;
    }

    .access__info {
        padding: 0;
        max-width: 100%;
    }

    .access__title {
        font-size: 20px;
        position: relative;
    }

    .map__text {
        font-size: 14px;
    }

    .map__link {
        font-size: 12px;
    }

    .access__time {
        margin-top: 0;
        padding-block: 0;
    }

    .access__icon {
        width: 24px;
    }

    .access__text {
        font-size: 14px;
    }

    .time__score {
        font-size: 24px;
    }

    .google__map {
        display: none;
    }

    .google__map--sp {
        display: block;
        max-width: 100%;
        aspect-ratio: 369 / 213;
        margin: 1.5rem auto 0;
    }
}
/* =============================
    award
===============================*/

.award {
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    background: #fff;
    padding: 50px;
    margin-top: 80px;
}

.award::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 0.25rem;
    border-radius: 20px;
    background: linear-gradient(90deg, #CDB881 0%, #C3A866 3%, #BD9D53 5%, #BB994D 7%, #CCB678 14%, #9E8456 15%, #5B3A23 16%, #4A2716 17%, #442112 18%, #442112 26%, #A06C29 32%, #A06C29 36%, #EEC457 39%, #F1EEE2 49%, #F1EEE2 53%, #EEC457 56%, #9C6C29 59%, #9C6C29 65%, #9D6D29 66%, #AB792A 72%, #B1802E 78%, #BD964A 79%, #C7A75F 80%, #CDB36F 81%, #D1BA78 82%, #D3BD7B 84%, #D3BD7B 87%, #B39649 90%, #B39649 93%, #CAA868 100%);

    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.award__left {
    max-width: 518px;
}

.award__right {
    max-width: 422px;
}

.award__listTitle {
    text-align: center;
    font-weight: 500;
    color: var(--text-color-black);
    font-family: var(--font-en);
    line-height: 1.5;
    font-size: 1.67vw;
    margin-bottom: 20px;
    position: relative;
}

.award__listTitle::before {
    content: "";
    aspect-ratio: 82/116;
    max-width: 82px;
    width: 5.7vw;
    background-image: url("./image/award-deco-left.png");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.award__listTitle::after {
    content: "";
    aspect-ratio: 82/116;
    max-width: 82px;
    width: 5.7vw;
    background-image: url("./image/award-deco-right.png");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.award__text {
    line-height: 1.8;
    font-size: 1vw;
    font-weight: 500;
    color: var(--text-color-black);
}

@media screen and (min-width: 90rem) {
    .award__listTitle {
        font-size: 24px;
    }

    .award__text {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .award {
        flex-direction: column-reverse;
        padding: 1.5rem 1.25rem;
        margin-top: 10.7vw;
    }

    .award__list {
        text-align: center;
    }

    .award__listTitle {
        font-size: 3.13vw;
        display: inline-block;
        padding-inline: 45px;
        margin: 0 auto 1.25rem;
        line-height: 1.3;
    }

    .award__listTitle::before {
        width: auto;
        height: 100%;
    }

    .award__listTitle::after {
        width: auto;
        height: 100%;
    }

    .award__text {
        font-size: 14px;
        margin-top: 1.25rem;
    }
}

/* =============================
    work
===============================*/
.work {
    margin-top: 100px;
    padding-block: 120px;
    background-image: url("./image/bg-work.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

}

.work .inner {
    padding: 40px;
    background-color: #fff;
    border-radius: 20px;
    max-width: 1026px;
    position: relative;
    z-index: 1;
}

.work .inner::before {
    content: "";
    max-width: 484px;
    width: 33.6vw;
    aspect-ratio: 484/379;
    background-image: url("./image/work-bgdeco.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.work__title {
    max-width: 792px;
    margin: 0 auto;
    text-align: center;
}

.work__title--text {
    font-size: 1.5rem;
    color: var(--main-color);
    text-shadow: 0 4px 4px rgba(189, 189, 189, 0.72);
}

.work__red {
    color: #D92E28;
    font-size: 1rem;
}

.line-slash {
    display: flex;
    align-items: center;
}

.line-slash::before {
    content: "";
    flex: 1;
    height: 0.125rem;
    background: #C7F0ED;
    margin-right: 15px;
}

.right-line {
    position: relative;
    flex: 1;
    height: 0.125rem;
    background: #C7F0ED;
}

.right-line::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 8px;
    width: 20px;
    height: 2px;
    background: #C7F0ED;
    transform: rotate(-60deg);
}

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

.work__list {
    margin-top: 42px;
    display: inline-block;
}

.work__list--item {
    display: flex;
    gap: 5px;
    align-items: center;
}

.work__list--item + .work__list--item {
    margin-top: 8px;
}

.work__icon {
    width: 24px;
    height: 24px;
}

.work__label,
.work__no {
    position: relative;
    z-index: 1;
}

.work__label {
    font-size: 16px;
    letter-spacing: -0.03em;
}

.work__no {
    font-size: 40px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.work__list--itemText {
    display: inline-block;
    color: var(--text-color-black);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.8;
}

.work__red {
    color: #D92E28;
    font-size: 1rem;
}

.work__flexImg {
    aspect-ratio: 335/190;
    max-width: 335px;
}

.work__bottomText {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 1.8;
    margin-top: 24px;
}

.img__center {
    text-align: center;
    margin-top: 24px;
}

@media screen and (max-width: 767px) {
    .work {
        padding-block: 3.75rem;
    }

    .work .inner::before{
        width: 46vw;
    }

    .work__title--text {
        font-size: 20px;
        padding: 0 0 0.625rem;
        line-height: 1.46;
    }

    .work__flex{
        flex-direction: column;
        align-items: flex-start;
    }

    .work__icon{
        width: 4vw;
        height: 4vw;
    }

    .work__number::before {
        width: 48px;
        height: 48px;
        top: 32%;
    }

    .work__label {
        font-size: 0.625rem;
        line-height: 1;
    }

    .work__no {
        font-size: 24px;
    }

    .work__list--itemTitle {
        font-size: 1.25rem;
    }

    .work__list--itemText {
        font-size: 3.5vw;
    }

    .work__red{
        font-size: 4vw;
    }

    .work__flexImg{
        margin: 0 auto;
    }

    .work__bottomText{
        font-size: 3.4vw;
    }
}

/* =============================
    advantage
===============================*/
.advantage {
    margin-block: 300px;
    background-color: #FDFEF5;
    position: relative;
    z-index: 1;
}

.advantage::before {
    content: "";
    background-image: url("./image/advantage-top.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    aspect-ratio: 1440/199;
    position: absolute;
    top: 0;
    transform: translateY(-100%);
}

.advantage::after {
    content: "";
    background-image: url("./image/advantage-bottom.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    aspect-ratio: 1440/199;
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
}

.advantage__imgGrid {
    max-width: 507px;
    min-width: 320px;
    width: 35.7vw;
    aspect-ratio: 507 / 299;
    position: relative;
    padding-left: 20px;
    display: grid;
    grid-template-columns: 20px auto 20px;
    grid-template-rows: 20px auto 20px;
    overflow: hidden;
}

.advantage__imgGrid::after {
    content: "";
    grid-area: 1 / 1 / span 2 / span 2;
    max-width: 480px;
    width: 31.5vw;
    height: 100%;
    aspect-ratio: 480 / 299;
    border-radius: 20px;
    background: linear-gradient(90deg, rgb(0, 222, 238,0.3) 0%, rgb(189, 235, 245,0.3) 100%);
    position: absolute;
    top: 20px;
    left: 0;
    z-index: -1;
}

.advantage__imgGrid img {
    grid-area: 1 / 2 / span 2 / span 2;
}

.advantage__right {
    max-width: 491px;
}

.environment {
    margin-top: 80px;
}

.advantage__flex {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: left;
    padding-bottom: 48px;
    position: relative;
}

.advantage__flex::after {
    content: "";
    width: 100%;
    height: 10px;
    background: url("./image/wave.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
}

.advantage__flex + .advantage__flex {
    margin-top: 40px;
}

.advantage__titleFlex {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-left: 12px;
}

.work__number {
    font-family: var(--font-en);
    font-weight: 400;
    text-align: center;
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.work__number::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    padding: 1px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(0,222,238,0.6) 0%, rgba(189,235,245,0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.work__label,
.work__no {
    position: relative;
    z-index: 1;
    color: #25A39F;
}

.work__label {
    font-size: 12px;
    letter-spacing: -0.03em;
    line-height: 1;
}

.work__no {
    font-size: 24px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.advantage__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

.advantage__text:nth-of-type(1) {
    margin-top: 22px;
}

.advantage__text + .advantage__text {
    margin-top: 1em;
}

.advantage__flower {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 7px;
}

.advantage__text + .advantage__flower {
    margin-top: 8px;
}

.advantage__flower:nth-of-type(4) {
    margin-top: 8px;
}

.advantage__text--flower {
    width: 24px;
}

.advantage__info {
    margin-top: 40px;
    padding-bottom: 48px;
    position: relative;
}

.advantage__info::after {
    content: "";
    width: 100%;
    height: 10px;
    background: url("./image/wave.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
}

.advantage__benefits {
    margin-top: 48px;
}

.advantage__title {
    font-size: 24px;
}

.advantage__title--text {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 500;
    margin-top: 24px;
}

.living__label {

    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    padding: 8px 16px;
    background-color: #E9F4F7;
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
    color: var(--text-color-black);
    position: relative;
    cursor: pointer;
    user-select: none;
}

.living__label::after {
    content: "";
    width: 20px;
    height: 9px;
    background-image: url("./image/accordion.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: rotate(180deg) translateY(50%);
    transition: transform 0.25s ease;
}

.living__label.is-open::after {
    transform: rotate(0deg);
}

.living__label:active {
    transform: none;
}

.living__flex {
    display: flex;
    gap: 60px;
}

.mt40 {
    margin-top: 40px;
}

.living__flex.is-open {
    margin-bottom: 5rem;
}

.living__flex--img {
    max-width: 456px;
}

.living__flex--text {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color-black);
    margin-top: 40px;
}

.slider {
    position: relative;
    overflow: hidden;
    max-width: 34.75rem;
    touch-action: pan-y;
}

.slider__track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.slider__slide {
    min-width: 100%;
}

.slider__slide img {
    width: 100%;
    display: block;
    pointer-events: none;
}

.slider__dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.slider__dots button {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    border: 0.0625rem solid #555148;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
}

.slider__dots button.active {
    background: #555148;
}

.info__flex {
    width: 90%;
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
}

.living__title {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--main-color);
    border-bottom: 0.0625rem solid var(--main-color);
}

.dormitory__info {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dormitory__info p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color-black);
}

.dormitory__info span {
    font-weight: 500;
}

.equipment__flex {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    justify-content: left;
    font-weight: 500;
}

.equipment__flex + .equipment__flex {
    margin-top: 4px;
}

.equipment__flex img {
    width: 24px;
}

.food__info {
    margin-top: 40px;
}

.mt__calc {
    margin-top: calc((1lh - 1em) / -2 + 4px);
}

.equipment__flex {
    margin-top: 24px;
}

.life__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 24px;
}

.life__gridItem {
    max-width: 344px;
}

.life__gridItem--img {
    max-width: 344px;
}

.life__gridItem .living__title {
    margin-top: 16px;
}

.life__gridItem--text {
    margin-top: 16px;

    font-weight: 400;
    font-size: 16px;

}

@media screen and (max-width: 767px) {

    .living {
        margin-block: 3.75rem;
    }

    .living__label {
        font-size: 1rem;
    }

    .living__flex {
        flex-direction: column;
        gap: 1.875rem;
    }

    .living__flex--img {
        max-width: 100%;
    }

    .living__flex--text {
        font-size: 0.875rem;
    }

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

    .dormitory__info p {
        display: grid;
        grid-template-columns: 20.5vw 1fr;
        font-size: 3.73vw;
    }

    .life__grid {
        grid-template-columns: 1fr;
    }

    .life__gridItem {
        max-width: 100%;
    }

    .life__gridItem + .life__gridItem {
        margin-top: 1.875rem;
    }

    .life__gridItem--img {
        max-width: 100%;
    }

    .food__info {
        margin-bottom: 8px;
    }

    .advantage{
        margin-block: 160px 120px;
    }

    .advantage__flex{
        flex-direction: column;
    }

    .advantage__imgGrid{
        max-width: 80%;
        width: 100%;
    }

    .advantage__imgGrid::after{
        max-width: 100%;
        width: 100%;
    }

    .advantage__title{
        font-size: 4vw;
    }

    .equipment__flex{
        align-items: center;
    }

    .equipment__flex p{
        font-size: 3.73vw;
    }

    .food__info .equipment__flex{
        align-items: flex-start;
    }

    .food__info .equipment__flex p{
        margin-top: calc((1em - 1lh) / 2);
    }
}

/* =============================
    career
===============================*/
.career {
    padding-block: 120px;
    background-color: #F8F8F8;
}

.career__titleBlock {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 64px;
}

.career__title--img {
    max-width: 56px;
}

.career__title {

    font-weight: 700;
    font-size: 24px;
    color: var(--text-color-black);
}

.career__title--text {
    margin-top: 18px;

    font-weight: 400;
    font-size: 18px;

}

.career__category {
    margin-top: 40px;
}

.category__title {
    font-weight: 600;

    font-size: 20px;

    color: var(--main-color);
    padding-left: 30px;
    position: relative;
}

.category__title::before {
    content: "";
    width: 1.25rem;
    height: 0.0625rem;
    background-color: var(--main-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.career__list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 24px;
}

.career__list--item {
    max-width: 196px;
}

.career__list--item p {
    margin-top: 4px;
    font-weight: 400;

    font-size: 16px;

}

@media screen and (max-width: 1100px) {
    .job__change {
        flex-direction: column;
        text-align: left;
    }

    .job__changeLeft {
        margin-right: auto;
    }

    .changeRight__img {
        margin-right: auto;
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {
    .career {
        padding-block: 3.75rem;
    }

    .career__title--img {
        max-width: 2rem;
    }

    .career__title {
        font-size: 1.25rem;
    }

    .career__list {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }

    .career__list--item p {
        font-size: 0.875rem;
    }
}

/* =============================
    course
===============================*/

.career__course {
    margin-top: 40px;
    border: 0.1875rem solid #DBEDF1;
    background-color: #fff;
    padding: 1.5rem 1.5rem 2.5rem;
    text-align: center;
    position: relative;
}

.career__course::after {
    content: "";
    aspect-ratio: 1/1;
    max-width: 191px;
    width: 11.9vw;
    background-image: url("./image/career-deco.png");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    bottom: 16px;
}

.course__text {
    margin-top: 24px;
    font-weight: 500;
    font-size: 18px;

    text-align: center;
}

.course__text--blue,
.course__text--green {
    width: 486px;
    display: grid;
    grid-template-columns: 0.63fr 1fr;
    align-items: center;
    text-align: left;
    justify-content: space-between;
    gap: 10px;
    margin: 0 auto;
    padding: 8px 16px;
    background-color: #CBE2B9;

    font-weight: 500;
    font-size: 14px;
    margin-top: 8px;
}

.course__text--blue p,
.course__text--green p {}

.course__text--blue p:nth-of-type(2),
.course__text--green p:nth-of-type(2) {
    font-size: 18px;
}

.course__text--green {
    background-color: #CBE2B9;
}

.course__text--blue {
    background-color: #DBEDF1;
}

.education__text {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 40px;
}

.education__text--left {
    font-size: 16px;
    font-weight: 400;

}

.education__text--left + .education__text--left {
    margin-top: 8px;
}

.education__text--right {
    font-size: 12px;

    font-weight: 400;
}

@media screen and (max-width: 767px) {
    .course__text--blue,
    .course__text--green {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px 10px;
    }

    .course__text {
        font-size: 0.875rem;
    }

    .career__course {
        padding: 1.5rem 1rem 2.5rem;
    }
}

/* =============================
    system
===============================*/

.system__block {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 16px;
}

.system__card {
    padding: 24px;
    border: 0.0625rem solid var(--main-color);
    text-align: center;
}

.system__card--title {
    display: inline-block;
    text-align: center;

    font-weight: 700;
    font-size: 18px;

    color: var(--main-color);
    border-bottom: 0.0625rem solid var(--main-color);
}

.system__card--text {
    margin-top: 16px;
    text-align: left;

    font-weight: 400;

    font-size: 14px;
}

@media screen and (max-width: 767px) {
    .system__block {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        row-gap: 2rem;
    }

    .system__card {
        padding: 0.875rem;
        text-align: left;
    }

    .education__text {
        flex-direction: column;
        align-items: start;
    }
}

/* =============================
    balance
===============================*/

.work__balance {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 1.75rem;
    row-gap: 2.25rem;
    margin-top: 24px;
    text-align: center;
    overflow: hidden;
}

.work__balance > div {
    position: relative;
}

.work__balance > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: -14px;
    width: 0.0625rem;
    height: 80%;

    background: repeating-linear-gradient(to bottom, var(--main-color) 0rem, var(--main-color) .5rem, transparent .5rem, transparent 1rem);
}

.work__balance--img {
    max-width: 60px;
    margin: 0 auto;
}

.balance__textFirst {
    font-size: 0.875rem;
    font-weight: 500;

}

.balance__textSecond {
    font-size: 1.125rem;
    font-weight: 500;

}

@media screen and (max-width: 767px) {
    .work__balance {
        grid-template-columns: repeat(2,1fr);
        column-gap: 10px;
    }

    .balance__textFirst {
        font-size: 12px;
    }

    .balance__textSecond {
        font-size: 16px;
        line-height: 1.4;
    }

    .work__balance > div:not(:last-child)::after {
        right: -6px;
        top: 15%;
    }
}
/* =============================
    interview
===============================*/

.interview {
    padding-block: 120px;
}

.interview__slider {
    position: relative;
    margin-top: 40px;
}

.interview__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
}

.interview__slide {
    display: flex;
    gap: 35px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding: 0 2.125rem;
    scrollbar-width: none;
    min-width: 0;
    width: max-content;
    flex-wrap: nowrap;
    padding-inline: 444px;
}

.interview__slide > .wp-block-lazyblock-interview {
    flex: 0 0 444px;
    display: block;
    background-color: #FDFEF5;
    padding: 1.5rem 1.875rem 3.0625rem;
    border-radius: 20px;
    border: 1px solid var(--main-color);
}

.interview__slide::-webkit-scrollbar {
    display: none;
}

.interview__card {
    flex: 0 0 444px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.empty__card {
    background-color: transparent;
    flex: 0 0 200px;
}

.interview__item--img {
    max-width: 170px;
    margin: 0 auto;
}

.interview__item--title {
    margin-top: 16px;
    font-weight: 700;
    font-size: 1.25rem;

}

.interview__item--job {
    font-size: 14px;
    font-weight: 500;

}
.interview__item--job span {
    padding-left: 1rem;
}

.interview__item--text {
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    line-height: 1.8;
}

.interview__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: none;
    background: var(--main-color);
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
}

.interview__nav--prev {
    left: 3%;
}
.interview__nav--next {
    right: 3%;
}

.interview__nav::before {
    content: "";
    display: block;
    width: 1rem;
    height: 1rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-60%,-50%) rotate(45deg);
}
.interview__nav--prev::before {
    transform: translate(-40%,-50%) rotate(-135deg);
}

.interview__nav.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 64rem) {
    .interview__slide > .wp-block-lazyblock-interview {
        flex-basis: 352px;
    }

    .interview__slide {
        padding-inline: 352px;
    }
}
@media (max-width: 767px) {
    .interview{
        padding-block: 60px;
    }

    .interview__slide {
        gap: 1.125rem;
        padding: 0 300px;
    }

    .interview__slide > .wp-block-lazyblock-interview {
        flex: 0 0 300px;
        padding: 18px 18px 24px;
        scroll-snap-align: center;
    }

    .interview__nav--prev {
        left: 0.375rem;
    }
    .interview__nav--next {
        right: 0.375rem;
    }

    .empty__card {
        flex: 0 0 300px;
    }

    .interview__item--img {
        max-width: 8.125rem;
    }

    .interview__item--title {
        font-size: 1.125rem;
    }

    .interview__item--job {
        font-size: 0.75rem;
    }

    .interview__item--job span {
        padding-left: 0;
    }
}

/* =============================
    recruitment
===============================*/
.recruitment__grid {
    display: grid;
    grid-template-columns: repeat(3,22.125rem);
    column-gap: 0.5rem;
    row-gap: 24px;
    margin-block: 2.5rem;
}

.recruitment__wrapper.is-new {
    position: relative;
}

.recruitment__wrapper.is-new::after {
    content: "";
    background-image: url("./image/fusaki-new.png");
    width: 92px;
    height: 2.6875rem;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.recruitment__flex {
    display: flex;
    margin-top: 1rem;
    gap: 0.5rem;
}

.recruitment__category {
    display: inline-block;
    color: #fff;
    background-color: var(--main-color);
    padding-inline: 10px;
    border-radius: 20px;
}

.recruitment__employment {
    display: inline-block;
    line-height: 1.8;
    padding-inline: 0.625rem;
    border: 1px solid #00ACCA;
    color: #00ACCA;
    border-radius: 20px;
}

.recruitment__img {
    border-radius: 20px;
}

.recruitment__img img {
    border-radius: 20px;
}

.recruitment__title {

    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
}

.recruitment__content {
    margin-top: 8px;

    display: flex;
    align-items: flex-start;
    white-space: pre-line;
}

.flex__none {
    display: block;
    white-space: inherit;
}

.recruitment__content p {
    font-weight: 700;
    font-size: 16px;
}

.recruitment__content .recruitment__contentText {
    font-weight: 500;
    font-size: 0.875rem;
    padding-top: 2.5px;
}

.portrait__title {
    font-size: 1.25rem;
    font-weight: 600;

    line-height: 1.8;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 20px;
}

.portrait .circle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.portrait__img {
    text-align: center;
    max-width: 2.5rem;
}

.portrait .circle.for-pc:nth-of-type(2) .portrait__img {
    max-width: 3.125rem;
}

.portrait .circle__text {
    font-size: 16px;
    font-weight: 500;
}

@media screen and (max-width:1200px) {
    .recruitment__grid {
        grid-template-columns: repeat(auto-fit, minmax(22.125rem, 1fr));
        justify-content: center;
        column-gap: 1.5rem;
    }

    .portrait .circle__text {
        font-size: 1.3vw;
    }
}

@media screen and (max-width: 767px) {

    .recruitment__grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
        margin-bottom: 0;
    }

    .portrait .circle-row {
        display: block;
    }

    .sp__circleFlex {
        display: flex;
        justify-content: center;
        margin-top: -40px;
    }

    .portrait .circle {
        max-width: 14rem;
        min-width: 170px;
        gap: 0.5rem;
        width: 47.2vw;
    }

    .portrait .circle:nth-of-type(1) {
        margin: 0 auto;
    }

    .portrait .sp__circleFlex .circle:nth-of-type(1) {
        margin: 0;
    }

    .portrait .circle.for-pc {
        display: none;
    }

    .portrait__img {
        max-width: 40px;
    }

    .portrait .circle__text {
        font-size: 14px;
    }
}

/* =============================
    flow
===============================*/
.flow {
    margin-bottom: 7.5rem;
}

.after__flow {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(5,12.375rem);
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 80px;
}

.flow__step {
    text-align: center;
    position: relative;
}

.flow__step:not(:last-child)::after {
    content: "";
    width: 0.4375rem;
    aspect-ratio: 7/15;
    background-image: url("./image/flow-arrow.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    right: -0.8125rem;
    top: 50%;
    transform: translate(-50%,-50%);
}

.step__number {
    font-size: 1rem;
    font-family: var(--font-en);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: var(--main-color);
}

.flow__img {
    max-width: 7.5rem;
    margin: 0 auto;
    text-align: center;
}

.flow__step--title {
    line-height: 1.45;
    font-size: 1.25rem;

    font-weight: 500;
    height: 2lh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.flow__step--text {
    text-align: left;
    margin-top: 0.5rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;

}

@media screen and (max-width:1200px) {
    .after__flow {
        row-gap: 2.5rem;
        overflow: hidden;
        overflow-x: auto;
    }
}

@media screen and (max-width: 767px) {
    .flow{
        margin-bottom: 3.75rem;
    }

    .flow__step--text {
        text-align: center;
    }
}

/* =============================
    faq
===============================*/
.faq {
    margin-bottom: 15rem;
}

.qa__block {
    margin-top: 40px;
}

.qa {
    border-radius: 20px;
    border: 2px solid var(--main-color);
    padding: 29px 16px;
    position: relative;
}

.qa + .qa {
    margin-top: 10px;
}

.qa__answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.qa.is-open .qa__question {
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E5E5;
}

.qa.is-open .qa__answer {
    padding-top: 8px;
    padding-inline: 5px;
}

.qa__question {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
}

.qa__answer {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.qa__answer--text {
    font-weight: 500;
    line-height: 1.8;
    padding-top: 4px;
}

.qa__icon {
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq__a,
.faq__q {
    width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.8;
    font-family: var(--font-en);
}

.faq__q {
    color: var(--main-color);
}

.faq__a {
    color: #D92E28;
}

.qa__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: bold;
    position: absolute;
    right: 5%;
    line-height: 1;
}

.qa.is-open .qa__icon {
    font-weight: 500;
}

@media screen and (max-width:767px) {
    .qa{
        padding: 23px 10px;
    }

    .faq__a, .faq__q{
        width: 20px;
    }

    .qa__icon{
        font-size: 18px;
        right: 3%;
    }
}

/* =============================
    join
===============================*/

.join__bnr {
    max-width: 1105px;
    aspect-ratio: 1105/171;
    background-image: url("./image/contact-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
}

.join__text {
    text-align: center;
}

.join__text--en {
    display: inline-block;
    font-family: var(--font-en);
    line-height: 1.4;
    letter-spacing: 0.04em;
    font-weight: 400;
    font-size: 1.125rem;
    color: var(--text-color-white);
    position: relative;
}

.join__text--en::before {
    content: "";
    width: 0.0625rem;
    height: 100%;
    background-color: #fff;
    transform: rotate(-45deg);
    position: absolute;
    left: -1.5rem;
}

.join__text--en::after {
    content: "";
    width: 0.0625rem;
    height: 100%;
    background-color: #fff;
    transform: rotate(45deg);
    position: absolute;
    right: -1.5rem;
}

.join__text--ja {
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-color-white);
    line-height: 1.8;
}

.join__text--small{
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color-white);
    line-height: 1.8;
}

@media screen and (max-width: 767px) {
    .join__bnr {
        padding: 1.5rem;
    }

    .join__text--ja {
        font-size: 3vw;
    }

    .join__text--ja{
        font-size: 1.125rem;
    }

    .join__text--small{
        font-size: 3vw;
    }
}

/* =============================
    contact
===============================*/

.contact {
    background-color: #E4F3EB;
    padding-block: 7.5rem;
    position: relative;
}

.contact::before {
    content: "";
    background-image: url("./image/contact-top.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1440/213;
    position: absolute;
    top: -5%;
}

.contact::after {
    content: "";
    background-image: url("./image/contact-bottom.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1440/213;
    position: absolute;
    bottom: -5%;
}

.contact .title__block{
    margin-top: 80px;
}

.contact__text {
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    margin-top: .5rem;
}

.contact .title__text--bottom {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
}

.red {
    color: #FF0051;
    margin-left: 5px;
}

.contact__form {
    margin-top: 40px;
}

.contact__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    row-gap: 2.875rem;
}

.contact__label {
    font-size: 16px;
    font-weight: 700;

}

.skill__label {
    margin-bottom: auto;
}

.contact__field input,
.contact__field select,
.contact__field textarea {
    width: 100%;
    padding: 16px 10px 16px 16px;
    border: 1px solid #D2D2D2;
    background: #fff;
    line-height: 1.8;
    font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
    color: #D2D2D2;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    width: 100%;
    cursor: pointer;
    background: #fff;
}

input[type="date"] {
    background: #fff url("./image/calendar-icon.png") no-repeat left 15px center;
    background-size: 20px;
    position: relative;
    padding-left: 40px;
}

#job_type {
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    position: relative;
}

.select__wrap {
    position: relative;
}

.select__wrap::after {
    content: "";
    width: 7px;
    height: 7px;
    border-left: 2px solid #1C1B1F;
    border-bottom: 2px solid #1C1B1F;
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    font-size: 14px;
    pointer-events: none;
}

select::-ms-expand {
    display: none;
}

.contact__agree {
    margin-top: 30px;
    text-align: center;

    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;

}

.contact__link {
    color: var(--text-color-black);
    border-bottom: 1px solid var(--text-color-black);
}

.contact__btn {
    margin-top: 40px;
    text-align: center;
}

.contact__btn button {
    background: var(--main-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", serif;
    line-height: 1.8;
    padding: 8px 30px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    position: relative;
}

.contact__btn button::after {
    content: "";
    width: 5px;
    height: 10px;
    background-image: url("./image/arrow-white.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 1440px) {
    .contact {
        padding-block: 8.33vw;
    }

    .contact::before{
        top: -7.07vw;
    }

    .contact::after {
        bottom: -7.07vw;
    }
}

/* SP */
@media (max-width: 768px) {
    .contact {
        padding-block: 3.75rem;
    }

    .contact::before{
        top: -3%;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .contact__field {
        margin-bottom: 2.25rem;
    }

    .contact::after {
        bottom: -3%;
    }
}

/* =============================
    company
===============================*/

.company {
    padding-top: 7.5rem;
    padding-bottom: 14rem;
}

.company__info {
    margin-top: 80px;

}

.company__list {
    margin: 0;
}

.company__row {
    display: grid;
    grid-template-columns: 80px 1fr;
    column-gap: 71px;
    padding-block: 16px;
    border-top: 1px solid #DBEDF1;
}

.company__row:last-child {
    border-bottom: 1px solid #DBEDF1;
}

.company__term {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--main-color);
}

.company__desc {
    margin: 0;
    line-height: 1.9;
}

.company__office span {
    position: relative;
}

.company__office span::before {
    content: "・";
    font-size: 16px;
    position: absolute;
    left: -1em;
    top: 50%;
    transform: translateY(-50%);
}

.company__office {
    margin: 0;
    padding-left: 1.2em;
}

.company__office li {
    margin-bottom: 12px;
}

@media screen and (min-width: 1440px) {
    .company {
        padding-top: 8.33vw;
    }
}

@media screen and (max-width: 767px) {
    .company {
        padding-block: 10rem;
    }

    .company__row {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }

    .company__info {
        margin-top: 2.5rem;
    }
}



/* =============================
    footer
===============================*/

.footer{
    position: relative;
}

.footer::before{
    content: "";
    width: 100%;
    aspect-ratio: 1440/199;
    background-image: url(./image/footer-top.png);
    background-size: cover;
    position: absolute;
    top: -7.64vw;
    left: 0;
}

@media screen and (min-width:1100px) {
    .footer {
        padding-top: 6.94vw;
    }
}

@media screen and (max-width:1100px) {
    .footer::before{
        top: -10vw;
    }
}