@charset "UTF-8";
*{
    box-sizing: border-box;
    font-family: "Cinzel", serif;
}
/* ヘッダー */
header{
    text-align: center;
    background-color: #1B2A49;
    padding: 25px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  z-index: 999; 
}
.wrapper{
  padding: 200px;
}

main{
  margin: 200px;
}

.logo img {
 width: 100px;
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
  padding-bottom: 0.3em;
}

/* .logo img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5F7FA, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.logo img:active::after {
  transform: scaleX(1);
} */


.nav ul {
    margin: 30px 0 0 0;
    padding: 0;
    list-style-type: none;

    display: flex;
    justify-content: center;
    gap: 40px;
   
}

header .nav a:link {
    color: #F5F7FA;
}

header .nav a:visited {
    color: #F5F7FA;
}

.nav a{
    text-decoration: none;
}

.nav a:hover {
    text-decoration:  solid ;
}

/*ナビのキラキラ*/

.nav ul li a {
 width: 200px;
 text-align: center;
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
  padding-bottom: 0.3em;
}

.nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5F7FA, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav ul li a:active::after {
  transform: scaleX(1);
}

/*ナビのキラキラ終わり*/

/* 画像や背景がヘッダーの下に隠れないように z-index を設定 */
#starry_sky, .memories-sky, .schedule, .calendar {
  /* position: relative; */
  z-index: 1; /* ヘッダーの下に来ないように */
}

/* ヘッダーここまで */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Cinzel", serif;
  text-align: left;
  background: linear-gradient(0deg, #ccae9f 0%, #28305d 40%, #050847 80%) no-repeat #383d95;
  overflow-x: hidden;
  
h1 {
  display: inline-block; /* 要素をインラインブロックにして、幅を文字の大きさに合わせる */
  border-bottom: 0.5px solid white; /* 文字の下に白い線 */
  padding-bottom: 20 px;
}

}
/* ここから星空背景だよ */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  top: 0;
  left: 0;
  box-shadow: 0 0 10px white;
  animation: shooting 2s linear infinite;
}

@keyframes shooting {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(300px, 300px);
    opacity: 0;
  }
}
/* ここまで星空背景 */

.vertical-line {
  height: 100px;
  border-left: 1px solid white; 
  margin-top: 20px;
  margin-bottom: 30px;
  margin-left: 180px;
}

/* SCHEDULEセクション */
.schedule {
  padding: 70px 5px;
  color: white;
}
li strong {
  letter-spacing: 2px;
}

.schedule-text {
  text-align: left;
  padding-left: 40px;}

  .schedule h1 {
  display: inline-block;
  font-size: 3rem;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
  margin-left: 40px; 
}


.schedule h2 {
  font-size: 2rem;
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: left;
  padding-left: 0px;
}

.schedule-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 0px;
}
.schedule-text {
  flex: 1 1 400px;
  text-align: left;
  font-size: 1.2rem;
  line-height: 2.4;
}
.schedule h2 {
  line-height: 2
}
.schedule p {
  line-height: 1;  /* 行間隔 */
}


.schedule-image {
  flex: 1 1 300px;
  text-align: center;
}

.schedule-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.calendar {
  margin-top: 80px;
  width: 100%;
  padding-left: 40px;
  color: white;
}

.calendar h1,
.calendar h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: left;
  margin-left: 0;
}


.calendar .vertical-line {
  margin-left: 140px;
}

/* カレンダー */
.calendar {
  margin-top: 80px;
  width: 100%;
  padding-left: 40px; 
}
.calendar-buttons-top {
  display: flex;
  justify-content: center; /* ボタン中央 */
  margin-bottom: 20px;
}

.calendar-button-top {
  padding: 10px 20px;
  font-size: 16px;
  margin: 0 10px;
  cursor: pointer;
  background-color: #6c9bfe;
  border: 2px solid #000;
  border-radius: 5px;
}

.calendar-button-top:disabled {
  background-color: #ddd;
  cursor: not-allowed;
}

.calendar h1,
.calendar h2 {

  font-size: 3rem;
  margin-bottom: 10px;
  text-align: left;
  margin-left: 40px;
   margin-left: 0;
}

.calendar img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 100px;
  border-radius: 16px;
}

/* 思い出ギャラリー */

.memories {
  margin-top: 80px;
  width: 100%;
  padding-left: 40px; 
  position: relative;
  overflow: hidden;
  color: white;
  background: transparent;
  margin-bottom: 100px;
}

.memories .vertical-line {
  margin-left: 155px;
}

.memories h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: left;
}


.memories h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: left;
  margin-left: 40px;
}
.memories-sky {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.memories .memory,
.memories h2 {
  position: relative;
  z-index: 1;
}

.memory {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.memory img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 80px;
}

.memory p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ギャラリーの画像を3列×2 */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px; /* 画像の間にスペース */
  justify-content: space-between;
  text-align: center; /* 親要素を中央揃え */
}

.gallery img {
  max-width: 80%; /* 画像が親要素をはみ出さないように */
  height: auto;
}

.memory {
  flex: 1 1 calc(33.333% - 20px); /* 1行に3つ表示、画像間に20pxのスペース */
  text-align: center;
  margin-bottom: 80px;
}

.memory img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 5px;
}

.memory p {
  font-size: 1rem;
  line-height: 1.6;
}

/* スライドアニメーション */
.slider-container {
  width: 100%;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto 100px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.slider-track {
  display: flex;
  width: calc(16.66% * 8); /* 画像8枚分の幅 */
  animation: slideLoop 30s linear infinite;
}

.slider-track img {
  width: 16.66%;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
  padding: 5px;
  border-radius: 8px;
}

/* アニメーション */
@keyframes slideLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}




/* アニメーション */
@keyframes slideRight {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-400%);
  }
}
/* スライドアニメーションここまで */

/* フッター */
footer {
    text-align: center;
    justify-content: center;
    padding: 50px;
    color: #1B2A49 ;
    background-color: #FBAED2;
}

footer .nav a  {
  color: #1B2A49;
}

.copyright {
    padding-top: 20px;
}

/* モバイル対応 */
@media(max-width:767px) {
 .nav ul {
 flex-wrap: wrap;
 gap: 20px;
  }
main{
   padding: 0 4%;
}
/* index.html */
.hero.index{
    padding: 28vh 0;
}

}
/* menu.html */
 .items {
    grid-template-columns: 1fr 1fr;
} 
