@charset "utf-8";

/* ===============
    common
================= */

:root{
  --primary_color-write: #fff;
  --primary_color-dusty-pink: #F1E8EB;
  --color-black: #272727;
  --main_color-pink: #C5319E;
  --accent_color-purple: #6632B4;
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  text-align: center;
  font-size: clamp(1.5rem, 1vw + 1rem, 1.6rem);
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-black);
  background-color: var(--primary_color-dusty-pink);
}

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

h2 {
  color: var(--color-black);
  font-family: "Nova Round", system-ui, sans-serif;
  font-size: clamp(2.4rem, 2vw + 1rem, 3.6rem);
  font-weight: 400; 
  letter-spacing: 0.1em;
}

section {
    scroll-margin-top: 60px;
}

.section__title__group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.4%;
    width: 100%;

}

.title__border {
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    margin-left: 24px;
}

.span__br__pc {
    display: inline-block;
}

.span__br__sp {
    display: none;
}

@media screen and (max-width:767px) {
    h2 {
        font-size: 3.2rem;
        font-weight: 400; 
        letter-spacing: 0.1em;
        }

    .span__br__sp {
        display: inline-block;
    }
}

.scroll__infinity__item--text {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: clamp(4.0rem, 6vw + 1rem, 5.6rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.1em;
    color: var(--main_color-pink);
    white-space: nowrap;
    padding: 40px 0;
    overflow: hidden;
}

.scroll__infinity__wrap {
    display: flex;
    gap: 20px;
    overflow: hidden;
}
.scroll__infinity__list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0
}
.scroll__infinity__list--left {
    animation: infinity-scroll-left 60s infinite linear 0.5s both;
}

@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}

.section__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1240px;
    padding: clamp(60px, 8vw, 100px) 1.4%;
    margin: 0 auto;

}

@media screen and (max-width:767px) {
    .section__content {
        padding: 60px 4.2%;
    }
}

.section__fade-in {
    opacity: 0;
    transform: translateY(20px); /* 最初非表示で少しだけ下げておく */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: auto;
    padding: clamp(16px, 1.6vw, 30px) 1.4%;
}

.header__main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background: var(--primary_color-write);
    border-radius: 50px;
    max-width: 1720px;
    margin: 0 auto;
    padding: clamp(16px, 1.6vw, 30px) 60px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.header__title {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: clamp(1.6rem, 1vw + 1rem, 2.0rem);
    font-weight: 400; 
    line-height: 1;
    color: var(--main_color-pink);
    transition: color 0.3s ease;
}

.header__title:hover {
    color: var(--accent_color-purple);
}


.nav__list {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 1.6vw, 24px);

    font-family: "Nova Round", system-ui, sans-serif;
    line-height: 1;
    font-weight: 400;
}

.nav__item {
  position: relative;
  padding: 4px 0;
}

.nav__item a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;       /* 常に100% */
  height: 2px;
  border-radius: 4px;
  background: var(--accent_color-purple);

  transform: scaleX(0);          /* 初期は非表示 */
  transform-origin: right center; /* 左基点スタート */
  transition: transform 0.3s ease, transform-origin 0s 0.3s;
}

.nav__item a:hover::after {
  transform: scaleX(1);          /* 横に広がる */
  transform-origin: right center; /* ホバー中は左から伸びる */
}

.nav__item a:not(:hover)::after {
  transform-origin: left center; /* ホバー解除で右へ消える */
}

.nav__item--sp,
.button__title,
.sns__icon__group--menu {
    display: none;
}


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

    .header__main {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: border-radius 0.4s ease-in-out;

        padding: clamp(16px, 1.6vw, 30px) 20px;
    }

    .header__main.open {
        border-radius: 30px;
    }

    .header__title__group {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .button__title {
        display: inline-block;
        color: var(--main_color-pink);
        font-size: 1.6rem;
        font-family: "Nova Round", system-ui, sans-serif;
        line-height: 1;
    }

    .menu__button {
        position: relative;
        top: 4px;
    }

    .menu-button__line {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-self: center;
        gap: 6px;

        width: 40px;
        height: 10px;
        position: relative;
    }

    .menu-button__line::before,
    .menu-button__line::after {
        content: '';
        position: absolute;
        width: 32px;
        height: 2px;
        border-radius: 6px;
        background-color: var(--main_color-pink);
        transition: transform 0.3s;
    }

    .menu-button__line::after {
        top: 10px;
    }

    .header__main.open .menu-button__line::after {
        transform: translateY(-5px) rotate(-25deg);
    }

    .header__main.open .menu-button__line::before {
        transform: translateY(5px) rotate(25deg);
    }

    .nav {
        max-height: 0;
        width: 100%;
        transition: max-height 0.6s ease-in-out;
    }
    
    .nav__list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        
        font-size: 2.4rem;
        letter-spacing: 0.15em;
        padding: 56px 32px 32px;
    }

    .nav__item {
        width: fit-content;
        padding-bottom: 8px;
    }

    .nav__item--sp {
        display: block;
    }

    .sns__icon__group--menu {
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;

        padding-bottom: 16px;
    }

    .icon__sns--fb {
        display: block;
        width: 30px;
        height: 30px;
        background-size: cover;
        background-repeat: no-repeat;
        transition: all 0.3s ease;
    }

    .icon__sns--insta {
        display: block;
        width: 28px;
        height: 28px;
        background-size: cover;
        background-repeat: no-repeat;
        transition: all 0.3s ease;
    }

    .icon__sns--fb {
        background-image: url(../images/icon/facebook.svg);
    }
    .icon__sns--fb:hover {
        background-image: url(../images/icon/facebook_purple.svg);
    }

    .icon__sns--insta {
        background-image: url(../images/icon/insta.svg);
    }

    .icon__sns--insta:hover {
        background-image: url(../images/icon/insta_purple.svg);
    }

}

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

.footer {
    background: var(--accent_color-purple);
    width: 100%;
    color: var(--primary_color-write);
    padding-bottom: 16px;
}
.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 56px;

    max-width: 1240px;
    width: 100%;
    padding: 80px 4% 24px;
    margin: 0 auto;
}

.footer__title {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 2.2rem;
    line-height: 1.5;
    letter-spacing: 0.1em;

    display: block;
    transition: color 0.3s ease;
}

.footer__title:hover {
    color: var(--main_color-pink);
}

.footer__nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 24px;

    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 1.8rem;
}

.footer__nav__item {
    position: relative;
}

.footer__nav__item a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;       /* 常に100% */
  height: 2px;
  border-radius: 4px;
  background: var(--primary_color-write);

  transform: scaleX(0);          /* 初期は非表示 */
  transform-origin: right center; /* 左基点スタート */
  transition: transform 0.3s ease, transform-origin 0s 0.3s;
}

.footer__nav__item a:hover::after {
  transform: scaleX(1);          /* 横に広がる */
  transform-origin: right center; /* ホバー中は左から伸びる */
}

.footer__nav__item a:not(:hover)::after {
  transform-origin: left center; /* ホバー解除で右へ消える */
}

.sns__icon__group--footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.icon__sns--fb--footer {
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    width: 28px;
    height: 28px;

    transition: all 0.4s ease;
}

.icon__sns--insta--footer {
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    width: 26px;
    height: 26px;

    transition: all 0.4s ease;
}

.icon__sns--fb--footer {
    background-image: url(../images/icon/facebook_white.svg);
}

.icon__sns--fb--footer:hover {
    opacity: 0.5;
}

.icon__sns--insta--footer {
    background-image: url(../images/icon/insta_white.svg);
}

.icon__sns--insta--footer:hover {
    opacity: 0.5;
}

.copy {
    width: 100%;
    text-align: center;
}

.scroll__up {
    position: fixed;
    bottom: 32px;
    right: calc((100% - 1240px) / 2 + 1.4%);
    
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    z-index: 1900;
    /* 初期は非表示 */
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

/* 1440px以下 */
@media (max-width: 1439px) {
  .scroll__up {
    right: 1.4%;
  }
}

/* 767px以下 */
@media (max-width: 767px) {
  .scroll__up {
    right: 2%;
  }
}

.scroll__up.show {
    opacity: 1;
    pointer-events: auto;
}

.toTop__circle {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent_color-purple);
    animation: wave-rotate 6s linear infinite;
    z-index: 0;   /* アイコンより下に */
}

.scroll__icon {
    position: relative;
    width: 24px;
    height: 24px;
    z-index: 1;
}

@keyframes wave-rotate {
  0% {
    border-radius: 50% 50% 50% 50%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 60% 40% 55% 45%;
    transform: rotate(90deg);
  }
  50% {
    border-radius: 50% 60% 40% 50%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 45% 55% 60% 40%;
    transform: rotate(270deg);
  }
  100% {
    border-radius: 50% 50% 50% 50%;
    transform: rotate(360deg);
  }
}

/* ================== */
.page__404 {
    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circle__center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.circle__404 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: var(--accent_color-purple);

    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;

    animation: rotate-404 8s linear infinite;
}

@keyframes rotate-404 {
  0% {
    border-radius: 50% 50% 50% 50%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 60% 40% 55% 45%;
    transform: rotate(90deg);
  }
  50% {
    border-radius: 50% 60% 40% 50%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 45% 55% 60% 40%;
    transform: rotate(270deg);
  }
  100% {
    border-radius: 50% 50% 50% 50%;
    transform: rotate(360deg);
  }
}

.text__404 {
    position: relative;
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 7.2rem;
    letter-spacing: 0.5em;
    text-align: center;
    line-height: 1;
    color: var(--primary_color-write);

    margin-right: -30px;
    z-index: 1;
}

.text__not-found {
    position: relative;
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 4.8rem;
    color: var(--primary_color-write);

    z-index: 1;
}

.index__link__404 {
    display: block;
    font-size: 2.2rem;
    color: var(--color-black);
    position: absolute;
    bottom: 12%;
    text-decoration: underline;
    transition: all 0.3s ease;

}

.index__link__404 span {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 2.8rem;
}

.index__link__404:hover {
    color: var(--main_color-pink);
}

@media (max-width:767px) {

    .circle__404 {
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background-color: var(--accent_color-purple);

        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;

        animation: rotate-404 8s linear infinite;
    }

    .text__404 {
        font-size: 5.4rem;
        margin-right: -30px;
    }

    .text__not-found {
        font-size: 4.0rem;
    }

    .index__link__404 {
        font-size: 1.8rem;
        bottom: 20%;

    }

    .index__link__404 span {
        font-family: "Nova Round", system-ui, sans-serif;
        font-size: 2.4rem;
    }
}