/* ヘッダー */
header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0;
    align-items: center;
}

.logoArea h1 {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding-top: 16px;
}

.logoArea h1::before {
    content: "";
    background: url(../img/esoradon.png)center / cover no-repeat;
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-bottom: -12px;
}

.logoArea h1::after {
    content: "";
    background: url(../img/esoradon.png)50% 50% / cover;
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-bottom: -12px;
}

.menu ul {
    display: flex;
    align-items: center;
}

.menu .inner ul li {
    margin: 32px 32px 32px 0;
    background-color: rgba(255, 255, 255, 70%);
    display: block;
    padding: 8px 8px;
    border-radius: 24px;
    text-wrap: nowrap;
}

/* マウスホバー時のスタイル */
.menu .inner ul li:hover {
    transition: all 0.5s ease 0s;
    color: #ee0bc1;
    /* 文字色をピンクに */
    background-color: #ffffff;
    border-radius: 48px;
    padding: 8px 8px;
}



/* 肉球モーション */
.nikukyu img {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.nikukyu:hover img {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(249, 150, 150, 0.3);
    filter: brightness(1.1);
}

/* MV */
.mvSec .container {
    position: relative;
    margin-bottom: 32px;
}

.splide {
    margin: 0 auto;
}

.splide__slide {
    text-align: center;
}

.splide__slide picture img {
    width: 100%;
    height: 560px;
    align-items: center;
    object-fit: cover;
}

.mvSec p {
    font-family: "Fugaz One", sans-serif;
    font-size: 4em;
    color: #55effe;
    text-shadow:
        3px 3px 0 #ffffff,
        -1px -1px 0 #ffffff,
        1px -1px 0 #ffffff,
        -1px 1px 0 #ffffff,
        1px 1px 0 #ffffff;
    max-width: 90%;
}


/* MVスライダーに表示するコメント */
#top {
    background-color: rgba(254, 254, 254, 50%);
    position: absolute;
    top: 10%;
    left: 18%;
}

#bottom {
    background-color: rgba(254, 254, 254, 50%);
    position: absolute;
    top: 82%;
    right: 18%;
}

/* ↑写真差し替えによる文字位置調整はこの２つのTOPと左右の数値を変更する */


.scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
}

/* scrolldownのCSS追加 */
.container_01 {
    padding: 16px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #81c9c9;
    overflow: hidden;
}

.container_01 a:hover {
    opacity: 0.7;
}

.scroll-down_01 {
    position: relative;
    width: 160px;
    height: 160px;
    color: #fff;
    font-family: serif;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}


.circle-text_01 {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.circle-text_01 span {
    position: absolute;
    left: 50%;
    font-size: 16px;
    transform-origin: 0 80px;
}

.arrow_01 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 48px;
    transform: translate(-50%, -50%);
    animation: scroll_01 3s infinite;
}

.arrow_01::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 1px;
    background-color: #fff;
    transform: translateX(-50%);
}

.arrow_01::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-bottom: 1px solid #fff;
    transform: translateX(-50%) rotate(-45deg);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scroll_01 {
    0% {
        transform: translate(-50%, -50%) translateY(-10px);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) translateY(10px);
        opacity: 0;
    }
}

/* エソラ堂とは */
.question {
    border-radius: 24px;
    background-image: url(../img/question.png);
    background-size: contain;
    padding-bottom: 320px;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-color: #ffffe9;
}

h3 {
    font-family: "Fugaz One", sans-serif;
    font-size: 4em;
    color: #FEFEFE;
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    padding-top: 24px;
    text-align: center;
}

#phrase {
    font-size: 2.25em;
    color: #E55656;
    margin: 56px 0;
    text-align: center;
}


.text {
    margin: 0 auto;
    text-align: center;
    max-width: 1000px;
    font-size: 1.5em;
}

/* 名刺サンプル */
@import url(./slider.css);

/* 名刺縦スライダーをみきれないようにするためのCSS */
.galleryWrap {
    aspect-ratio: auto !important;
}


/* みなさんのオーダー例 */
.sampleBox {
    margin: 0 auto;
    max-width: 1042px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.imgBox {
    box-sizing: border-box;
    max-width: 480px;
    width: 100%;
    justify-content: space-around;
    padding: 32px;
    border-radius: 24px;
    background-color: #EBF5F9;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.imgBox::after {

    /* 線を隠す */
    clip-path: inset(0 100% 0 0);

    animation-name: stroke-border;
    animation-duration: 6.0s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 4px solid #4EEFFE;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 8px solid #4EEFFE;

    /* 描画用 */
    clip-path: inset(0 100% 0 0);

    animation:
        stroke-border 10.5s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        /* 描画用 */
        clip-path inset(0 100% 0 0);
}

@keyframes stroke-border {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    25% {
        clip-path: inset(0 0 100% 0);
    }

    50% {
        clip-path: inset(100% 0 0 0);
    }

    75% {
        clip-path: inset(0 0 0 100%);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes stroke-border {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    25% {
        clip-path: inset(0 0 100% 0);
    }

    50% {
        clip-path: inset(100% 0 0 0);
    }

    75% {
        clip-path: inset(0 0 0 100%);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes border-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.imgBox img {
    margin-bottom: 8px;
}

.cardDescription {
    padding: 16px;
}


/* サイズ見本 */
.size {
    max-width: 976px;
    margin: 0 auto;
    position: relative;
}

.picture {
    width: 100%;
    align-items: center;
}

.size p {
    position: absolute;
    top: 92%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.size img {
    width: 100%;
}

/* 料金表 */
.priceWrap {
    width: 100%;
    margin: 0 auto;
    padding: 16px 0;
    background-image: url(../img/boarder.jpeg);
    background-size: cover;
    background-position: center;
}

.galleryWrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/cardSample.png) no-repeat center / cover;
    z-index: 0;
}

/*ご注文の流れ*/
.poly {
    text-align: center;
    margin: 24px;
}

.guidelines {
    max-width: 976px;
    width: 100%;
    background-color: rgba(254, 254, 254, 50%);
    margin: 0 auto;
    border-radius: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.guidelines>ul {
    width: 40%;
    font-size: 1.5em;
}

.guidelines ul li {
    list-style-type: disc;
}

.guidelines ul li.supplement {
    list-style-type: none;
}

.guidelines img {
    width: 30%;
}

/* Q&A */
.qa {
    max-width: 976px;
    background-color: rgba(254, 254, 254, 50%);
    margin: 0 auto;
    border-radius: 24px;
}

dt {
    font-family: "Kaisei Decol", sans-serif;
    font-size: 2em;
    padding: 12px;
    padding-left: 32px;
}

dd {
    font-family: "Kaisei Decol", sans-serif;
    font-size: 1em;
    padding: 12px;
    padding-left: 32px;

}

/* メッセージ */
#closing .container {
    position: relative;
}

.message {
    max-width: 100%;
    height: 960px;
    margin: 0 auto;
    background-image: url(../img/message.png);
    background-position: center;
}

.message p {
    max-width: 1040px;
    margin: 24px auto;
    padding: 12px;
    font-size: 36px;
    background-color: rgba(255, 255, 255, 50%);
    border-radius: 24px;
}

.qrcode {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.qrcode img {
    margin-bottom: 4px;
}

.insta {
    position: absolute;
    top: 40%;
    left: 20%;
}

.insta p {
    background-color: #FEFEFE;
    border-radius: 36px;
    margin: 8px auto;
}

.line {
    position: absolute;
    top: 40%;
    right: 20%;
}

.line p {
    background-color: #FEFEFE;
    border-radius: 36px;
    margin: 8px auto;
}

/* TOPへ戻る */
.topContainer {
    position: fixed;
    top: 80%;
    right: 4%;
    z-index: 1000;
    box-shadow: 2px #333333;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.topContainer.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.topText {
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.topButton {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
    position: relative;
    z-index: 100;
    background-color: #FEFEFE;
    border-radius: 60%;
}

/* フッター */
footer {
    display: flex;
    flex-direction: column;
    text-align: center;
}

footer .menu {
    margin: 32px auto;
}