@charset "utf-8";
/* ======================
common
====================== */
:root {
    --primary-white: #fffafa;
    --primary-black: #2F2F2F;
    --primary-darkGray:#777171;
    --primary-lightGray: #EEEEEE;
    --primary-lightpurple: #866899;
    --primary-purple: #4a2c68;
    --primary-darkYellow: #C2A178;
    --primary-lightYellow: #F8ECA4;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Zen Maru Gothic",
    "Hachi Maru Pop",
    serif;
    font-style: normal;
    color: var(--primary-black);
    line-height: 1.5;
}

h2 {
    font-family: "Tangerine", serif;
    font-style: normal;
    color: var(--primary-white);
}

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

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

/* .nav初期表示 */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 32vh;
    height: 80vh;
    border-radius: 100% 0% 64% 36% / 30% 90% 10% 70% ;
    box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.9);
    /* z-index: 100; */
    transform: translate(100%,-100%);
    transition:transform 0.4s ease-in-out;
}

.nav__btn {
    display: block;
    width: 30px;
    height: auto;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 40px;
}

.nav__btn:hover {
    opacity: 0.5;
}

.nav__list {
    margin-top: 100px;
    margin-left: 40%;
}

.nav__item {
    color: var(--primary-darkGray,#777171);
    font-family: "Hachi Maru Pop";
    font-size: 2rem;
    line-height: normal;
    margin-top: 30px;
    padding-bottom: 5px;
    position: relative;
}

.nav__item::before {
    background: yellow;
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

.nav__item:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}

.nav__item:hover {
    opacity: 0.5;
}

.nav__item img {
    display: inline-block;
    margin-right: 30px;
    vertical-align: -11px;
}

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

.header__btn {
    display: block;
    width: 35px;
    height: auto;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 40px;
}

.header__btn:hover {
    opacity: 0.5;
}

.main_visual {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #0b0c27, #4a2c68 ,#b190a3,#FFFFFF); /* グラデーション */
    overflow: hidden;
}

.main_visual img {
    width: 850px;
    height: auto;
    max-width: 100%;
    background: none;
}


/* header pc */
@media screen and (min-width:769px) {
    .nav {
        width: 60vh;
        height: 100vh;
    }

    .nav__btn {
        width: 40px;
        height: auto;
    }

    .nav__list {
        margin-top: 100px;
        margin-left: 15%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav__item {
        font-size: 3.6rem;
        margin-top: 30px;
    }

    .nav__item img {
        width: 50px;
        height: auto;
        vertical-align: -15px;
    }

    .header__btn {
        width: 45px;
        height: auto;
    }
}/* pc 769px */

/* =============================
main,about
============================= */
.section--about {
    position: relative;
    background: radial-gradient(#F8ECA4, #4a2c68);
    padding:0 10px 30px;
    height: 100%;
    overflow: hidden;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none; /* クリックを邪魔しない */
    overflow: hidden;
    z-index: 0;
}

.star {
    position: absolute;
    background-color: white;
    width: 10px;
    height: 10px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0.8;
    animation: twinkle 1.5s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* テキストを星より前に */
.topic, .mainCaption, .mainCaption__txt {
    position: relative;
    z-index: 1; /* 星より前面に */
}

.topic {
    text-align: center;
    font-size: 3rem;
    font-weight: 400;
    font-family: "Hachi Maru Pop";
    line-height: normal;
    padding-top: 30px;
}

.topic-color {
    color: var(--primary-purple);
}

.topic span {
    font-size: 2rem;
}

.mainCaption__txt {
    color: var(--primary-purple);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 1.4rem;
    font-style: normal;
    line-height: 2.2;
    padding: 20px 0 0;
}

/* main,about pc */
@media screen and (min-width:769px) {
    .section--about {
        padding: 50px 0 90px;
    }

    .topic {
        font-size: 4rem;
        padding-top: 50px;
    }

    .topic span {
        font-size: 3rem;
    }

    .mainCaption {
        padding-top: 50px;
    }

    .mainCaption__txt {
        font-size: 2rem;
        letter-spacing: 0.28px;
    }

    .spBr {
        display: none;
    }

}/* pc 769px */

/* =============================
Story
============================= */
.section--story {
    background:var(--primary-lightpurple);
    padding-bottom: 30px;
}

.topics__item {
    padding: 20px 20px 0;
}

.content__txt {
    padding: 20px;
    background-color: var(--primary-white);
    border-radius:15px;
}

.topics__title {
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 2rem;
    font-style: normal;
    line-height: normal;
    text-align: center;
}

.topics__txt {
    margin-top: 10px;
    color: var(--primary-darkGray);
    font-family: "Zen Maru Gothic";
    font-size: 1.6rem;
    font-style: normal;
    line-height: 2;
}

.topics__img {
    border-radius: 25%;
    margin-top: 10px;
}

/* main,about pc */
@media screen and (min-width:769px) {
    .section--story {
        padding: 0 0 50px;
    }

    .containerBox {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .containerBox--reverse {
        display: flex;
        flex-direction: row-reverse;
    }

    .topics__img {
        max-width: 500px;
        height: auto;
    }

    .topics__title {
        font-size: 3rem;
    }

    .topics__txt {
        padding: 25px;
        max-width: 500px;
        font-size: 1.8rem;
    }

}/* pc 769px */

/* =============================
Work
============================= */
.section--work {
    padding-bottom: 30px;
    background-color: var(--primary-lightYellow);
}

.work__topic {
    padding-top: 10px;
    color: var(--primary-purple);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 2rem;
    font-style: normal;
    line-height: normal;
}

.work__list {
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0 0 20px;
    margin: 30px ;
}

.work__btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

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

.work__item {
    cursor: pointer;
    max-width: 200px;
    margin-top: 10px;
}

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

.work__item:hover {
    transition: transform 1s;
    transform: scale(0.9);
    opacity: 0.5;
}

/* モーダル画像 */
.modal__item {
    opacity: 0;
    transition: 1.5s;
    width: 0;
    padding: 8px;
    background-color: white;
    box-shadow: 2px 4px 12px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.modal__item.open {
    z-index: 10;
    opacity: 1;
    width: 100%;
    max-width: 700px;
}

/* 背景の色 */
.section--work::after {
    display: none;
    content: '';
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.section--work.open::after {
    display: block;
}

/* 閉じるボタン */
.close {
    display: none;
    width: 24px;
    height: 24px;
    position: fixed;
    top:40px;
    right: 30px;
    z-index: 100;
    cursor: pointer;
}

.close.open {
    display: block;
}

.close img {
    width: 100%;
}

/* work pc */
@media screen and (min-width: 769px) {
    .worklist__group {
        flex-direction: row; /* 横並びに変更 */
        justify-content: center;
    }

    .work__list {
        display: flex;
        flex-direction: row;
        align-items: center;
        list-style: none;
        padding: 0 0 20px;
        margin: 30px ;
        justify-content: center;
        flex-wrap: wrap;
    }

    .work__item {
        max-width: 200px;
        max-height: 200px;
        margin-left: 10px;
    }

    .work__topic {
        font-size: 2.5rem;
    }

    .modal__item.open {
        max-width: 600px;
    }

    .close {
        top: 60px;
        right: 60px;
        width: 40px;
        height: 40px;
    }
}/* pc 769px */

/* =============================
Voice
============================= */
.section--voice {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-bottom: 30px;
    height: 100%;
    background-color: var(--primary-lightpurple);
}

.topic__voice {
    order: -1;
}

.voice__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.voice__title {
    margin: 10px 0 30px;
    color: var(--primary-white);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 2rem;
    font-style: normal;
    line-height: normal;
}

.door {
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.door img {
    position: absolute;
	top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
	transition: 0.4s ease-in-out;
}

/* 初期状態では開いたドアを非表示 */
.door__open {
    opacity: 0;
}

/* ホバー時に開いたドアを表示し、閉じたドアを非表示 */
.door:hover .door__closed {
    opacity: 0;
}
.door:hover .door__open {
    opacity: 1;
}

/* voice pc */
@media screen and (min-width: 769px) {
    .voice__content {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }

    .voice__title {
        font-size: 2.8rem;
        text-align: center;
    }

    .door {
        width: 500px;
        height: 500px;
    }
}/* pc 769px */

/* =============================
News
============================= */
.section--news {
    background-color: var(--primary-purple);
    padding:0  5.4% 30px;
}

.news__list {
    padding: 10px 5.4% 20px;
    background-color: var(--primary-white);
    margin-top: 20px;
    border-radius: 10px;
}

.news__topic {
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 24px;
}

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

.news__topic time {
    background-color: var(--primary-lightGray);
    padding: 4px 16px;
    color: var(--primary-darkGray);
    font-family: "Zen Maru Gothic";
    font-size: 1.4rem;
    line-height: 1;
}

.news__topic span {
    display: block;
    margin-top: 10px;
    
}

.news__txt {
    margin-top: 8px;
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 1.4rem;
    line-height: 1.5;
}

/* news pc */
@media screen and (min-width: 769px) {
    .section--news {
        padding: 0 9.7% 50px;
    }

    .news__list {
        padding: 50px;
        border-radius: 25px;
        margin-top: 30px;
    }

    .news__topic time {
        font-size: 1.6rem;
    }

    .news__topic {
        margin-top: 40px;
        font-size: 1.8rem;
    }

    .news__txt {
        margin-top: 13px;
        font-size: 1.6rem;
    }
}/* pc 769px */

/* =============================
footer
============================= */
.footer {
    background-color: #E9E9E9;
    padding: 30px 20px;
}

.footer__topic {
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 1.6rem;
}

.menu__list {
    margin-top: 10px;
}

.menu__item {
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 1.6rem;
    cursor: pointer;
}

.copy {
    margin-top: 30px;
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 1.2rem;
}

/* fotter pc */
@media screen and (min-width: 769px) {
    .footer {
        padding: 40px 9.7% 60px;
    }

    .footer__group {
        display: flex;
        justify-content: space-between;
    }

    .footer__topic {
        font-size: 2rem;
    }

    .menu__list {
        display: flex;
        justify-content: space-between;
        margin-top: 0;
        gap: 18px;
    }

    .copy {
        margin-top: 60px;
        font-size: 1.4rem;
    }

}/* pc 769px */

/* scrollTop */
.topBtn {
    padding: 18px;
    border-radius: 50%;
    background-color: var(--primary-purple);
    color: var(--primary-white);
    font-size: 1.5rem;
    box-shadow: 2px 2px 4px 2px rgba(159, 146, 220, 0.2);

    position: fixed;
    bottom: 1.4%;
    right: 1.4%;
    opacity: 0; /* 初期状態で非表示 */
    transform: translateY(50px);
    transition: opacity 0.8s, transform 0.8s;
}

/* トップボタンの矢印 */
.topBtn::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 1px #FFFFFF;
    border-right: solid 1px #FFFFFF;
    transform: rotate(-45deg);
    position: absolute;
    top: -25px;
    left: 25px;
    bottom: 0;
    margin: auto;
}

/* フェードイン（初期状態で隠す） */
.fadeIn {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s, transform 0.8s;
}

/* スクロールでフェードイン */
.fadeIn.animated {
    opacity: 1;
    transform: translateY(0);
}


/* =============================
loding
============================= */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
