@charset "utf-8";
/*===========================
common
===========================*/

:root {
    --primary-ivory: #F8F6F1;
    --primary-black: #241D14;
    --primary-pink: #E47BA0;
    --primary-purple: #BFA2DB;
    --primary-yellow: #FFD166;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family:
        "M PLUS Rounded 1c",
        "BIZ UDPGothic";
    font-style: normal;
    font-weight: 400;
    color: var(--primary-black, #241D14);
    background-color: var(--primary-ivory, #F8F6F1);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: flex;
    border-radius: 10px;
    background: var(--primary-yellow, #FFD166);
    padding: 18px 20px 18px 55px;
    align-items: center;
    text-align: center;
    color: var(--primary-black, #241D14);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    position: relative;
    cursor: pointer;
    transition: 0.4s;
}

.btn::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url(../images/arrow.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.btn:hover {
    background-color: #FFE6AC;
}

.pcBr {
    display: block;
}

.spBr {
    display: none;
}

:target {
    scroll-margin-top: 120px; 
}

/* common sp */
@media screen and (max-width: 767px) {
    .pcBr {
        display: none;
    }

    .spBr {
        display: block;
    }

    .btn {
        padding: 10px 20px 10px 55px;
        font-size: 1.4rem;
    }

    .btn::before {
        width: 20px;
        height: 20px;
    }

    :target {
        scroll-margin-top: 100px; 
    }
}


/*===========================
header
===========================*/

.header {
    margin: 0 auto;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__topic,
.nav__topic {
    text-align: center;
}

.header__txt {
    display: block;
    color: var(--primary-ivory, #F8F6F1);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: normal;
    transition: color 0.4s ease;
    /* text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.1); */
}

.logo__ivory,
.logo__black {
    width: 250px;
    height: auto;
}

.logo__ivory path {
    margin-top: 5px;
    fill: #F8F6F1;
    transition: fill 0.4s ease;
}

/* スクロール後に付与されるクラス */
.header.scrolled .header__txt {
    color: var(--primary-pink);
}

.header.scrolled .logo__ivory path {
    fill: var(--primary-pink);
}

.shioiri {
    display: none;
}

.header__right,
.nav__btn {
    display: none; 
}

.nav {
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    position: static;
    transform: translate(0);
    transition: none;
}

.nav__header {
    display: none;
}

.nav__list {
    display: flex;
    margin-top: 0;
    padding: 5px 5px 5px 30px;
    gap: 40px;
    background-color: var(--primary-ivory);
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    z-index: 1000;
}

.menu__itemSP {
    display: none;
}

.menu__item {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    margin-top: 0;
}

.menu__item::before {
    display: none;
}

.menu__item:hover {
    transform: scale(1.1);
}

.menu__itemTxt {
    font-size: 1.8rem;
}

.menu__btnTrialPC {
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 10px 30px;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    background: #B587E2;
    color: var(--primary-ivory);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 150%;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.menu__btnTrialPC:hover {
    /* background-color: #B587E2; */
    transform: scale(1.06);
}

.menu__btnTrialPC::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -80%;

    width: 28%;
    height: 220%;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 35%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0.18) 65%,
        rgba(255,255,255,0) 100%
    );

    filter: blur(5px);
    transform: rotate(25deg);

    animation: shine 3.8s infinite;
}

@keyframes shine {
    0% {
        left: -75%;
    }

    20% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

.navFooter__content {
    display: none;
}

.header__btn {
    display: none;
}

/* header tablet */
@media screen and (max-width: 1380px) {
    .header,
    .nav__header {
        padding: 10px 4%;
    }

    .nav__header {
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        top: 0;
        z-index: 1000;
    }

    .logo__ivory,
    .logo__black {
        margin-top: 5px;
    }

    .nav__topicTxt {
        font-size: 1.6rem;
        font-weight: 500;
        line-height: normal;
    }

    .header__right,
    .nav__btn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .nav {
        background-color: var(--primary-ivory);
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.4s;
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__header {
        display: flex;
    }

    .nav__list {
        display: block;
        padding: 0;
        margin: 100px auto 0;
        width: fit-content;
        background: none;
        border-radius: 0;
        box-shadow: none;
    }

    .menu__item,
    .menu__itemSP {
        display: flex;
        align-items: center;
        margin-top: 50px;
        position: relative;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .menu__item::before,
    .menu__itemSP::before {
        content: '';
        display: inline-block;
        width: 25px;
        height: 25px;
        background-image: url(../images/arrow-yellow.webp);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        left: -30px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu__item:hover,
    .menu__itemSP:hover {
        transform: scale(1.1);
    }

    .menu__btnTrialPC {
        display: none;
    }

    .navFooter__content {
        display: block;
        margin: 80px 0 20px;
        text-align: center;
    }

    .sns {
        margin: 0 auto;
        width: fit-content;
    }

    .sns__instagram,
    .sns__facebook {
        width: 30px;
        height: auto;
    }

    .sns__youtube {
        width: 28px;
        height: 22px;
    }

    .nav__btnTrialSP {
        position: relative;
        overflow: hidden;
        display: flex;
        padding: 10px 30px;
        justify-content: center;
        gap: 10px;
        border-radius: 50px;
        background: #B587E2;
        color: var(--primary-ivory);
        text-align: center;
        font-size: 1.6rem;
        font-weight: 800;
        line-height: 150%;
        transition: transform 0.4s ease;
    }

    .nav__btnTrialSP:hover {
        /* background-color: #B587E2; */
        transform: scale(1.06);
    }

    /* 光 */
    .nav__btnTrialSP::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -80%;

        width: 28%;
        height: 220%;

        background: linear-gradient(
            120deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.18) 35%,
            rgba(255,255,255,0.6) 50%,
            rgba(255,255,255,0.18) 65%,
            rgba(255,255,255,0) 100%
        );

        filter: blur(5px);
        transform: rotate(25deg);

        animation: shine 3.8s infinite;
    }

    @keyframes shine {
        0% {
            left: -75%;
        }

        20% {
            left: 130%;
        }

        100% {
            left: 130%;
        }
    }

    .nav__btnTrialSP:hover {
        transform: scale(1.06);
    }

    .header__btn,
    .nav__btnClose {
        display: block;
        width: 70px;
        height: 70px;
        cursor: pointer;
        transition: transform 0.4s ease;
    }

    .header__btn:hover,
    .nav__btnClose:hover {
        transform: scale(1.06);
    }
}

/* header sp */
@media screen and (max-width: 767px) {
    .header,
    .nav__header {
        padding: 5px 5.3%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header__txt,
    .nav__topicTxt {
        font-size: 1rem;
    }

    .logo__ivory,
    .logo__black {
        margin-top: 2px;
        width: 150px;
        height: auto;
    }

    .header__right,
    .nav__btn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .nav {
        background-color: var(--primary-ivory);
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.4s;
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__header {
        display: flex;
    }

    .nav__list {
        display: block;
        margin-top: 70px;
        padding: 0 0 0 10%;
        background: none;
        border-radius: 0;
        box-shadow: none;
    }

    .menu__item,
    .menu__itemSP {
        display: flex;
        align-items: center;
        margin-top: 30px;
        position: relative;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .menu__item::before,
    .menu__itemSP::before {
        content: '';
        display: inline-block;
        width: 25px;
        height: 25px;
        background-image: url(../images/arrow-yellow.webp);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        left: -30px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu__item:hover,
    .menu__itemSP:hover {
        transform: scale(1.1);
    }

    .menu__btnTrialPC {
        display: none;
    }

    .navFooter__content {
        display: block;
        margin: 50px 0 20px;
        text-align: center;
    }

    .nav__btnTrialSP {
        display: flex;
        padding: 5px 20px;
        justify-content: center;
        gap: 10px;
        border-radius: 50px;
        background: #B587E2;
        color: var(--primary-ivory);
        text-align: center;
        font-size: 1.2rem;
        font-weight: 800;
        line-height: 150%;
        transition: transform 0.4s ease;
    }

    .nav__btnTrialSP:hover {
        /* background-color: #B587E2; */
        transform: scale(1.06);
    }

    .header__btn,
    .nav__btnClose {
        display: block;
        width: 46px;
        height: 46px;
        cursor: pointer;
        transition: transform 0.4s ease;
    }

    .header__btn:hover,
    .nav__btnClose:hover {
        transform: scale(1.06);
    }
}

@media screen and (max-width: 345px) {
    .header,
    .nav__header {
        padding: 5px 4%;
    }

    .header__right,
    .nav__btn {
        gap: 5px;
    }

    .nav__btnTrialSP {
        padding: 5px 15px;
    }
}

/*===========================
trial
===========================*/

.trial__content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px auto;
    width: 82%;
    max-width: 1160px;
    padding: 50px 30px 45px;
    gap: 52px;
    position: relative;
    border-radius: 50px;
    background-color: var(--primary-purple);
}

.section__trial:nth-of-type(7) {
    margin-bottom: 155px;
}

.trial__content::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 45px;
    border: 3px dashed #F8F6F1;
}

.trial__img {
    display: block;
    width: 230px;
    height: auto;
}

.trial__copy {
    color: var(--primary-ivory);
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    line-height: 150%;
    position: relative;
}

.trial__copy::before {
    content: '';
    display: inline-block;
    width: 53px;
    height: 53px;
    background-image: url(../images/trial-line01PC.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.trial__copy::after {
    content: '';
    display: inline-block;
    width: 53px;
    height: 53px;
    background-image: url(../images/trial-line02PC.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.trial__txt {
    padding: 0;
    margin: 27px auto;
    width: fit-content;
    text-align: left;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
}

.btn--trial {
    margin: 27px auto 0;
    width: fit-content;
    padding: 20px 20px 20px 71px;
    font-size: 2rem;
    border: 1px solid #FFF;
    position: relative;
    z-index: 10;
}

.btn--trial::before {
    width: 35px;
    height: 35px;
    left: 20px;
}

/* .trial sp */
@media screen and (max-width: 999px) {
    .section__trial {
        margin: 0 3%;
    }

    .trial__content {
        display: block;
        margin: 0 auto;
        width: 82%;
        padding: 45px 2.6% 40px;
    }

    .section__trial:nth-of-type(7) {
        margin-bottom: 100px;
    }

    .trial__content::after {
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;
        border: 2px dashed #F8F6F1;
    }

    .trial__img {
        display: none;
    }

    .trial__copy {
        font-size: 1.6rem;
    }

    .trial__copy::before {
        width: 16px;
        height: 52px;
        background-image: url(../images/trial-line01SP.webp);
        left: 60px;
        top: 50%;
    }

    .trial__copy::after {
        width: 16px;
        height: 52px;
        background-image: url(../images/trial-line02SP.webp);
        right: 60px;
        top: 50%;
    }

    .trial__txt {
        margin-top: 15px;
        padding: 0 16%;
        text-align: center;
        font-size: 1.4rem;
    }

    .btn--trial {
        margin: 20px auto 0;
        font-size: 1.4rem;
        padding: 10px 20px 10px 55px;
    }

    .btn--trial::before {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 767px) {
    .trial__content {
        width: fit-content;
    }

    .trial__copy::before {
        left: 18px;
    }

    .trial__copy::after {
        right: 18px;
    }
}

/*===========================
access
===========================*/

.section__access {
    margin: 80px auto;
    width: 82%;
    max-width: 1160px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.map {
    flex: 1;
    max-width: 800px;
    height: 522px;
}

.access__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.studio {
    margin: 0 0 25px;
    text-align: left;
}

.studio__place {
    font-size: 1.6rem;
    line-height: 100%;
}

.studio__name {
    margin-top: 10px;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 100%;
}

.access__detail {
    width: fit-content;
    margin: 0 auto;
}

.contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    padding: 20px 5px;
    border-top: solid 1px #241D14;
}

.contact:nth-of-type(2) {
    align-items: center;
}

.directions {
    padding: 20px 5px 0;
    border-top: solid 1px #241D14;
}

.access__place {
    width: 16px;
    height: 19px;
}

.access__txt {
    display: block;
    text-align: left;
    width: 100%;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 150%;
}

.access__tel {
    width: 18px;
    height: 18px;
}

.directions__item {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    gap: 10px;
}

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

.directions__item:last-of-type {
    align-items: center;
}

.directions__imgTrain {
    width: 17px;
    height: 20px;
}

.directions__imgBus {
    width: 17px;
    height: 20px;
}

.directions__imgBicycle {
    width: 20px;
    height: 15px;
}

.brTb {
    display: none;
}

@media screen and (max-width: 1217px) {
    .brTb {
        display: block;
    }
}

/* .access sp */
@media screen and (max-width: 767px) {
    .brTb {
        display: none;
    }

    .section__access {
        margin: 40px auto;
        display: block;
        /* width: fit-content; */
        width: 100%;
        padding: 0 20px; /* 左右に20pxの余白 */
        box-sizing: border-box;
    }

    .map {
        /* width: 360px; */
        width: 100%; 
        max-width: 100%;
        height: 230px;
    }

    .studio {
        margin: 15px 0;
    }

    .studio__place {
        font-size: 1.5rem;
    }

    .studio__name {
        margin-top: 10px;
        font-size: 2rem;
    }

    .contact {
        gap: 5px;
        padding: 10px 45px;
        border-top: solid 0.5px #241D14;
    }

    .contact:nth-of-type(2) {
        align-items: center;
    }

    .directions {
        padding: 10px 45px;
        border-top: solid 0.5px #241D14;
    }

    .access__place {
        width: 15px;
        height: 18px;
    }

    .access__txt {
        font-size: 1.4rem;
    }

    /* .access__txt:nth-of-type(2) {
        border-bottom: solid 1px #241D14;
    } */

    .access__tel {
        width: 16px;
        height: 16px;
    }

    .directions__item {
        margin-top: 15px;
        gap: 5px;
    }

    .directions__imgTrain {
        width: 15px;
        height: 18px;
    }

    .directions__imgBus {
        width: 15px;
        height: 18px;
    }

    .directions__imgBicycle {
        width: 18px;
        height: 13px;
    }
}


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

.footer {
    margin: 0 auto 80px;
    padding: 100px 10% 0;
    width: fit-content;
    text-align: center;
    border-top: 3px dashed #E47BA0;
}

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

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

.footer__logoImg {
    width: 160px;
    height: auto;
}

.footer__logoTxt {
    margin-left: 20px;
    width: 190px;
    height: auto;
    cursor: pointer;
}

.footer__detail {
    margin-left: 98px;
    display: block;
    text-align: left;
}

.footer__list {
    display: flex;
    gap: 85px;
}

.footer__item {
    display: block;
}

.footer__txt {
    margin-top: 15px;
    cursor: pointer;
    font-size: 1.4rem;
    position: relative;
    transition: transform 0.3s ease;
}

.footer__txt::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url(../images/arrow_footer.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
}

.footer__txt:hover {
    transform: scale(1.05);
}

.sns {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
}

.sns__instagram,
.sns__facebook,
.sns__youtube {
    transition: transform 0.3s ease;
}

.sns__instagram:hover,
.sns__facebook:hover,
.sns__youtube:hover {
    transform: scale(1.1);
}

.sns__instagram {
    width: 30px;
    height: auto;
}

.sns__facebook {
    margin-left: 20px;
    width: 30px;
    height: auto;
}

.sns__youtube {
    margin-left: 20px;
    width: 28px;
    height: 22px;
}

.copy {
    margin-top: 30px;
    font-size: 1.6rem;
}

/* .footer sp */
@media screen and (max-width:767px) {
    .footer {
        margin: 0 auto 20px;
        padding: 50px 18.6% 0;
        /* width: fit-content; */
        border-top: 2px dashed #E47BA0;
    }

    .footer__content {
        display: block;
        /* align-items: center;
        justify-content: center; */
    }

    .footer__logoImg {
        width: 100px;
    }

    .footer__logoTxt {
        margin-left: 5px;
        width: 115px;
        height: auto;
    }

    .footer__detail {
        margin-left: 0;
        display: block;
        text-align: center;
    }

    .footer__list {
        display: none;
    }

    .sns {
        justify-content: center;
    }

    .sns__facebook,
    .sns__youtube {
        margin-left: 15px;
    }

    .copy {
        margin-top: 20px;
        font-size: 1.2rem;
    }

}