html, body {
    overscroll-behavior: none;
}
body {
  transition: filter 1.2s ease, opacity 0.6s ease;
}
body.page-blur {
  filter: blur(10px);
  opacity: 0;
}

.container {
    width: 75%;
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    font-family: "a-otf-ryumin-pr6n", serif;
    letter-spacing: 0.1em;
}
.innner-container {
    width: 87%;
    max-width: 1120px;
    min-width: 800px;
    margin: 0 auto;
}
@media (max-width: 700px) {
    .container {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
        position: relative;
        font-family: "a-otf-ryumin-pr6n", serif;
        letter-spacing: 0.1em;
    }
    .innner-container {
        width: 88%;
        max-width: 700px;
        min-width: 0px;
        margin: 0 auto;
    }
}


.blur {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.float {
  animation: float 10s infinite ease-in-out;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-16px); }
  100% { transform: translateY(0); }
}

@media (max-width: 700px) {
    .float {
    animation: none;
    }
}

.gradation {
    background:
        url(../images/noise.svg),
        linear-gradient(-181deg, 
        #0a0021 0%, 
        #b789ff 12.5%, 
        #fabaff 25%, 
        #ffdbff 37.5%, 
        #ffffff 50%, 
        #ffdbff 62.5%, 
        #fdd3ff 75%, 
        #d98bff 87.5%, 
        #9163e8 92%, 
        #0a0021 );
    background-blend-mode: overlay;
}

/* .fog {
    animation-name: fog;
    animation-duration: 180s;
    animation-iteration-count: infinite;
}
@keyframes fog {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
    100% { transform: translate(0, 0); }
  } */

h2 {
    font-size: 36px;
    margin-bottom: 100px;
}
h3 {
    font-size: 30px;
}
p {
    font-size: 18px;
    line-height: 2;
}

@media (max-width: 700px) {
    h2 {
        font-size: 24px;
        margin-bottom: 50px;
        font-weight: 800;
    }
    h3 {
        font-size: 20px;
    }
    p {
        font-size: 12px;
        line-height: 1.5;
        font-weight: 600;
    }
}



/* header */
.slide-in-top {
    top: -150px;
    transition: top 0.4s ease;
}
.slide-in-top.show {
    top: 0;
}
.header-box {
    position: relative;
    overflow: hidden;
    height: 150px;
}
.bar-tama {
    transform: translateX(27%);
    top: -60px;
    position: fixed;
    z-index: 1;
}
/* @media (max-width: 700px) {
    .bar-tama {
        transform: translateX(27%);
        top: -60px;
        position: fixed;
        z-index: 2;
    }
} */
.fade-box {
    opacity: 0.2; /* 初期は透明 */
    transition: opacity 0.4s ease; /* フェードアニメーション */
}
.fade-box.show {
    opacity: 0.8; /* 表示時の透明度 */
}
.bar-container {
    width: 55%;
    max-width: 750px;
    padding: 30px 10%;

    position: fixed;
    right: 0%;

    font-family: "a-otf-ryumin-pr6n", serif;
    letter-spacing: 0.1em;

    z-index: 3;
}
@media (max-width: 700px) {
    .bar-container {
        width: 60%;
        max-width: 750px;
        min-width: 330px;
        padding: 30px 5%;

        position: fixed;
        right: 0%;

        font-family: "a-otf-ryumin-pr6n", serif;
        letter-spacing: 0.1em;

        z-index: 3;
    }
    #bar li a,
    #bar li button {
        display: flex;               /* ブロック要素化＋flexで制御 */
        align-items: center;         /* 反対方向の中心 */
        width: 100%;
        height: 100%;
        font-size: 8px;
        transition: .3s;
        text-align: center;          /* 念のため */
    }
}
#bar {
    color: #382d91;
    /* height: 400px; */
}
#bar {
    width: 100%;
}
#bar ul {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}
#bar li {
    flex: 1;
    writing-mode: vertical-rl;


    transition: .3s;
}
#bar li:hover {
    padding-top: 20px;
    padding-bottom: 20px;
    /* box-shadow: 0 4px 8px #19002165; */
    /* border-radius: 70px; */
    transition: .3s;
}
#bar li a,
#bar li button {
    display: flex;               /* ブロック要素化＋flexで制御 */
    align-items: center;         /* 反対方向の中心 */
    width: 100%;
    height: 100%;
    font-size: 14px;
    transition: .3s;
    text-align: center;          /* 念のため */
}
#bar li a:hover {
    color: #dfa3ee;
    transition: .3s;
}
#bar li button:hover {
    color: #dfa3ee;
    transition: .3s;
}


/* main */

/* top */

#hero {
    width: 100%;
    aspect-ratio: 4/2.9 ;
    overflow: hidden;
}
.tamas {
    height: 750px;
    position: relative;
    width: 100%;
}
.geisai2025 {
    position: absolute;
    top: 0;
    transform: translate(19%, -23%);
}
.date {
    position: absolute;
    top: 0;
    transform: translate(42%, 59%);
}
.date-sp {
    display: none;
}
.tama-green {
    position: absolute;
    top: -2px;
}
.tama-pink {
    position: absolute;
    top: 82px;
}
.hero-tamayura {
    position: absolute;
    top: 0;
}
.hero-container {
    width: 100%;
}

@media (max-width: 700px) {
    html, body {
        overflow-x: hidden;
    }
    #hero {
        width: 100%;
        aspect-ratio: 9/16 ;
    }
    .tamas {
        height: 750px;
        width: 100%;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
    }
    .geisai2025 {
        position: absolute;
        top: 0;
        width: 259%;
        transform: translate(-29%, -20%);
    }
    .date {
        display: none;
        position: absolute;
        top: 0;
        transform: translate(42%, 59%);
    }
    .date-sp {
        display: block;
        width: 60%;
        margin: auto;
        margin-bottom: 150px;
    }
    .tama-green {
        position: absolute;
        top: -2px;
        width: 240%;
        left: 50%;
        transform: translateX(-47.8%);
        clip-path: inset(0); /* はみ出し分を完全に切り落とす */
    }
    .tama-pink {
        position: absolute;
        top: 126px;
        width: 240%;
        left: 50%;
        transform: translateX(-49.4%);
        clip-path: inset(0); /* はみ出し分を完全に切り落とす */
    }
    .hero-tamayura {
        position: absolute;
        width: 240%;
        left: 50%;
        transform: translate(-43%, 26.6%);
    }
    .hero-container {
        width: 100%;
    }    
}

#concept {
    display: flex;
    justify-content: center;
    height: 600px;
    flex-direction: row-reverse;
    position: relative;
}
.concept-tamayura{
    position: absolute;
    top: 0;
}
#concept p {
    color: #ffffff;
    writing-mode: vertical-rl;

    flex: 1 1 auto;
    display: inline-block;

    display: flex;
    align-items: center;
}
@media (max-width: 700px) {
#concept {
    display: block;
    justify-content: center;
    height: 600px;
    flex-direction: column;
    position: relative;
}
#concept p {
    color: #ffffff;
    writing-mode: horizontal-tb;

    flex: 1 1 auto;
    display: inline-block;
    text-align: center;
    line-height: 3.5;

    display: block;
    align-items: center;
}
}

#welcome {
    color: #382d91;
    writing-mode: vertical-rl;
    height: 800px;

    display: flex;
    align-items: center;
}
@media (max-width: 700px) {
    #welcome {
        color: #382d91;
        writing-mode: vertical-rl;
        height: auto;

        display: flex;
        align-items: center;
    }
}


#menu {
    color: #382d91;
    height: 600px;
}
#menu {
    width: 100%;
}
#menu ul {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}
#menu li {
    flex: 1;
    writing-mode: vertical-rl;


    transition: .3s;
}
#menu li:hover {
    padding-top: 20px;
    padding-bottom: 20px;
    /* box-shadow: 0 4px 14px #19002165;
    border-radius: 70px; */
    transition: .3s;
}
#menu li a,
#menu li button {
    display: flex;               /* ブロック要素化＋flexで制御 */
    align-items: center;         /* 反対方向の中心 */
    width: 100%;
    height: 100%;
    font-size: 18px;
    transition: .3s;
}
#menu li a:hover {
    color: #dfa3ee;
    transition: .3s;
}
#menu li button:hover {
    color: #dfa3ee;
    transition: .3s;
}
@media (max-width: 700px) {
    #menu ul {
        margin-top: 300px;
        margin-bottom: 100px;
        width: 100%;
        display: block;
        flex-direction: column;
    }
    #menu li {
        flex: 1;
        writing-mode: horizontal-tb;
        transition: .3s;
    }
    #menu li a,
    #menu li button {
    display: inline-block;               /* ブロック要素化＋flexで制御 */
    align-items: center;         /* 反対方向の中心 */
    width: 100%;
    height: 100%;
    font-size: 15px;
    transition: .3s;
    margin: 10px;
    margin-left: 10%;
    }
}

#about {
    color: #382d91;
    font-size: large;
    margin-bottom: 100px;
}

.border {
    margin-top: 70px;
    border-bottom: 1px solid #382d91;
}

#greeting {
    color: #382d91;
    font-size: large;
    margin-bottom: 100px;
}
.right-align {
    text-align: right;
}

#main-visual {
    color: #382d91;
    font-size: large;
    margin-bottom: 100px;
}
.main-visual-container {
    padding-left: 100px;
    padding-right: 100px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 700px) {
    .main-visual-container {
        padding-left: 0px;
        padding-right: 0px;
        display: block;
        justify-content: space-between;
    }
    .main-visual-img{
        display: block;
        margin: 0 auto;
        padding-bottom: 50px;
    }
    .main-visual-pad {
        margin: 0 auto;
        text-align: center;
    }
}


#theme {
    color: #382d91;
    font-size: large;
    height: 800px;
    display: flex;
    align-items: center;
}

#access {
    color: #382d91;
    font-size: large;
}
.access-container {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 700px) {
    .access-container {
        padding-left: 0px;
        padding-right: 0px;
        display: block;
        justify-content: space-between;
    }
    .access-text {
        padding: 0 20px 30px 5px;
    }
    .access-map {
        width: 100%;
    }
}


/* ensou */
.page-title {
    height: 500px;
    font-size: 48px;
    color: #ffffff;
    /* border-bottom: 1px solid #ffffff; */

    /* padding-left: 5%; */

    display: flex;
    align-items: center;

    padding-bottom: 100px;

    /* background-image: url(../images/tama-ensou.svg); */
}
.circle {
    width: 120vh;          /* 直径 */
    height: 120vh;         /* 直径 */
    border: 1px solid #ffffff; /* 縁の太さと色 */
    border-radius: 50%;      /* 円にする */
    background: transparent; /* 中を空にする */
    position: fixed;
    top: -50%;
    left: -5%;
    opacity: 1;               /* 初期状態は完全に見える */
    transition: opacity 0.1s linear; /* スムーズに変化 */
}

#reservation {
    margin-bottom: 300px;
    color: #ffffff;
    letter-spacing: normal;
}
#reservation h2 {
    padding-bottom: 2em;
    border-bottom: solid;
}
.link-to-tiget-container {
    margin-top: 75px;
}
.link-to-tiget {
    padding-top: 75px;
    margin: 0 auto;

    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0px 0px 30px #faecff;
} 
#reservation h3 {
    color: #662d91;
    text-align: center;
    margin: auto;
    font-size: 20px;
}
#reservation h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 32px;
}
#reservation p {
    margin-top: 16px;
    line-height: 1.7;
    padding: 2%;
    border-radius: 16px;
    box-shadow: 2px 8px 10px #2d0b7a30;
}
#concert-schedule {
    color: #382d91;
}
#concert-schedule h2 {
    padding-bottom: 2em;
    border-bottom: solid;
}

/* ready */

.readyOpen {
    color: #e4a3e4;
}

#ready {
    position: fixed;
    left: 0;
    top: 0%;
    width: 100%;
    height: 100%;
    background-color: #0a00215a;
    z-index: 3;

    font-family: "a-otf-ryumin-pr6n", serif;
    letter-spacing: 0.1em;

    display: none;
    justify-content: center;
    align-items: center;  

    opacity: 0; /* 初期は透明 */
    transition: opacity 0.5s ease; /* フェード用 */
}

#ready.show {
    display: flex;
    opacity: 1;
}

#ready.hide {
    opacity: 0;
}

.ready-container {
    width: 30%;
    padding: 50px;
    border-radius: 70px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 14px #0a002165;
    animation-name: popup;
    animation-duration: 2s; /* ←表示時だけ動く */
}

@keyframes popup {
    from {
        transform: translateY(150%);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 700px) {
    .ready-container {
        width: 80%;
        padding: 50px;
        border-radius: 70px;
        text-align: center;
        font-size: 20px;
        font-weight: 700;
        color: #ffffff;
        box-shadow: 0 4px 14px #0a002165;
        animation-name: popup;
        animation-duration: 2s; /* ←表示時だけ動く */
    }
}

/* footer */
footer {
    color: #ffffff;
    z-index: 2;
}
.footer-container {
    width: 40%;
    margin: 0 auto 30px;
}
@media (max-width: 700px) {
    .footer-container {
        width: 80%;
        margin: 0 auto 30px;
    }
}


.ad {
    margin-top: 400px;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
}

/* 広告内の画像やiframeに共通適用 */
.ad img,
.ad iframe {
    display: block;
    width: auto;       /* PCでは元サイズ */
    height: auto;
}

/* スマホ用に縮小する */
@media (max-width: 700px) {
    .ad {
        width: 100%;
        margin-top: 400px;
        margin-bottom: 100px;
        display: flex;
        justify-content: center;
    }

    .ad img,
    .ad iframe {
        max-width: 100%; /* 横幅に合わせて縮小 */
        height: auto;
    }
}

.slideshow {
  position: relative;
  width: 234px;
  height: 280px;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 200px;
}

.slideshow a {
  position: absolute;
  width: 234px;
  height: 280px;
  opacity: 0;
  animation: slideshow 18s infinite;
  pointer-events: none; /* ← 最初はクリックできない状態にする */
}

.slideshow a:nth-child(1) { animation-delay: 0s; }
.slideshow a:nth-child(2) { animation-delay: 3s; }
.slideshow a:nth-child(3) { animation-delay: 6s; }
.slideshow a:nth-child(4) { animation-delay: 9s; }
.slideshow a:nth-child(5) { animation-delay: 12s; }
.slideshow a:nth-child(6) { animation-delay: 15s; }

.slideshow a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #ffffff;
}

@keyframes slideshow {
  0%   { opacity: 0; pointer-events: none; }
  2%   { opacity: 1; pointer-events: auto; }   /* ← 表示されたらクリック可能に */
  38%  { opacity: 1; pointer-events: auto; }   /* ← 表示中はクリック可 */
  40%  { opacity: 0; pointer-events: none; }   /* ← 消えたらクリック不可 */
  100% { opacity: 0; pointer-events: none; }
}

@media (max-width: 700px) {
    .slideshow {
    position: relative;
    width: 117px;
    height: 140px;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 50px;
    }

    .slideshow a {
    position: absolute;
    width: 117px;
    height: 140px;
    opacity: 0;
    animation: slideshow 18s infinite;
    pointer-events: none; /* ← 最初はクリックできない状態にする */
    }
}


footer ul {
    width: 100%;
    display: flex;
}
footer li {
    flex: auto;
    text-align: center;
}
footer li a {
    font-size: 16px;
    transition: .3s;
}
footer li button {
    font-size: 16px;
    transition: .3s;
}
footer li a:hover {
    color: #8877e9;
    transition: .3s;
}
footer li button:hover {
    color: #8877e9;
    transition: .3s;
}
.contact-link {
    transition: .3s;
    font-size: 15px;
    text-align: center;
    margin-bottom: 100px;
}
.contact-link button:hover {
    color: #8877e9;
    transition: .3s;
}
.sns {
    display: flex;
    width: 200px;
    margin: 0 auto;
    justify-content: space-between;
}
.sns-icons {
    height: 30px;
    color: #ffffff;
}
.sns-icons:hover {
    color: #d487d4;
}
.small-letter {
    font-size: xx-small;
    text-align: center;
}

@media (max-width: 700px) {
    .responsive-flex-box{
        display: flex;
        margin: 0 10%;
        flex: auto;
    }
    footer ul {
        width: 100%;
        display: block;
    }
    footer li {
        text-align: right;
        padding: 5px;
    }
    footer li a {
        font-size: 12px;
        transition: .3s;
    }
    footer li button {
        font-size: 12px;
        transition: .3s;
    }
    .contact-link {
        transition: .3s;
        font-size: 12px;
        text-align: center;
        margin-bottom: 0px;
    }
}
