/* =========================
   共通（全デバイス）
========================= */

html, body {
  -webkit-text-size-adjust: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #f5f5f5;
  color: #000;
}

/* セクションの基本構造 */
section {
  margin: 0 auto;
  text-align: center;
}

/* 基本文字 */
p, span {
  line-height: 1.7;
  font-size: 22px;
}
.br-sp {
  display: none;
}

h2{
	font-family: 'Great Vibes', cursive;
}

/* =========================
   HERO 共通（構造のみ）
========================= */

#hero {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  font-family: "Helvetica", "Yu Gothic", sans-serif;
  z-index: 1;
  padding-bottom: 40px;
}

/* 背景写真 */
.hero-photo-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 上部タイトル */
.curved-text svg {
  width: 100%;
  max-width: 900px; /* 必要なら調整 */
  height: 510px
}

.curved-text text {
  font-size: 2rem; /* ← ここを変えればサイズが変わる！ */
  letter-spacing: 0.15em;
  fill: #ffffff;
  font-weight: 600;
}


.hero-invitation {
  font-weight: 500;
  margin: 0;
}

.hero-sub {
  opacity: 0.9;
}

/* 下部エリア */
.hero-bottom {
  display: flex;
  justify-content: space-between;
  padding: 30px 20px;
  gap: 20px;
}

/* 左側（情報ブロック） */
.hero-left {
  background-color: rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  color: #000;
  width: 70%;
}


.hero-right {
  padding: 20px;
  width: 25%;
}

/* 右側（QR） */
.hero-right {
  background-color: rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  text-align: center;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* QRコードの枠 */
.qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* QR説明文 */
.qr-note {
  line-height: 1.4;
  text-align: center;
  color: #000;
  font-size: 0.8rem;
}

/* 注意書き */
.hero-notice {
  text-align: center;
  opacity: 0.9;
}
/* ===== フェードイン共通 ===== */
.fade-in {
  opacity: 0;
  animation: fadeIn 2.0s ease-out forwards;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeIn 2.5s ease-out forwards;
  animation-delay: 2.5s; /* ← 写真のあとに出す */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 写真の明るさアニメーション */
.photo-dim {
  animation: dimPhoto 2.5s ease-out forwards;
  animation-delay: 2.5s; /* ← 写真が出てから暗くなる */
}

@keyframes dimPhoto {
  from { filter: brightness(1); }     /* 最初は明るい */
  to   { filter: brightness(0.55); }  /* 今の薄さへ */
}



/* =========================
   COUNTDOWN 共通構造
========================= */

.countdown-section {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.countdown-section h2{
 font-family: "Noto Sans JP", sans-serif;
}
.countdown-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.countdown-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.count-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.big-day {
  line-height: 1;
  font-weight: 700;
}

.count-bottom {
  display: flex;
  justify-content: center;
}

.count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time {
  line-height: 1;
  font-weight: 600;
}

/* =========================
   HOST 共通構造
========================= */

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

.host-info {
  width: 50%;
}

.host-photo {
  width: 50%;
  padding: 0 10px;
}

.small {
  border-bottom: 1px solid #000;
  display: inline-block;
}

/* =========================
   Gallery 共通
========================= */
.gallery {
  text-align: center;
  max-width: 900px;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden; /* ← 無限ループはこれが必須 */
}

.slides {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease;
  box-sizing: border-box;
}

.slides img {
  width: 800px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

/* ドット */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.dots .dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
}

.dots .active {
  background: #333;
}

/* ボタン */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  padding: 10px 14px;
  font-size: 20px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
}

.prev { left: -10px; }
.next { right: -10px; }


/* =========================
   EVENT 共通構造
========================= */

.event-row {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 15px;
  padding-bottom: 10px;
}

.event-value {
  flex: 1 1 auto;
  text-align: left;
}

/* =========================
   RSVP
========================= */
#rsvp{
	margin-bottom: 10px;
  }
.rsvp-button {
  display: inline-block;
  background: #005BAC;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
}

/* =========================
   FOOTER
========================= */

footer {
  text-align: center;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

@media (min-width: 900px) {

  #wrapper {
    width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
  }

  section {
    width: 900px;
  }

  p, span {
    font-size: 20px;
  }

  section h2 {
    font-size: 5rem;
    margin-bottom: 40px;
	letter-spacing: 0.5px;
  }

  /* ===== HERO（PC専用サイズ） ===== */

  .hero-seat {
    font-size: 7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin: 0;
  }

  .hero-invitation {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-sub {
    font-size: 1.5rem;
    margin-top: 4px;
  }

  .match-title {
    font-size: 2rem;
  }

  .match-date {
    font-size: 1.4rem;
  }

  .match-seat {
    font-size: 1.3rem;
  }

  .match-info {
    font-size: 1.2rem;
  }

  .qr-placeholder {
    width: 120px;
    height: 120px;
  }



  /* ===== COUNTDOWN ===== */

  .countdown-section {
    width: 900px;
  }

  .section-title-white {
    font-size: 90px;
    margin-bottom: 30px;
  }

  .big-day {
    font-size: 80px;
    font-weight: 700;
  }

  .big-day-unit {
    font-size: 28px;
    margin-top: 5px;
  }

  .count-bottom {
    gap: 40px;
    margin-top: 20px;
  }

  .time {
    font-size: 40px;
    font-weight: 600;
  }

  .unit {
    font-size: 16px;
  }

  /* ===== HOST ===== */

  .host-card {
    width: 880px;
    padding: 10px;
  }

  .host-info {
    font-size: 18px;
  }

  .host-name {
    font-size: 30px;
  }

  /* ===== Gallery（PC固定） ===== */
    .gallery {
      width: 900px;
    }

  /* ===== EVENT ===== */

  .event-label {
    flex: 0 0 120px;
    padding-left: 250px;
    font-size: 18px;
  }

  .event-map iframe {
    width: 900px;
    height: 450px;
  }

  /* ===== RSVP ===== */

  .rsvp-button {
    font-size: 20px;
    padding: 18px 40px;
  }

  /* ===== FOOTER ===== */

  footer {
    font-size: 12px;
    padding: 15px 0;
    margin-top: 20px;
  }
}

@media (min-width: 680px) and (max-width: 899px) {

  p, span {
    font-size: clamp(16px, 3vw, 20px);
	line-height: clamp(1.0 , 1.3, 1.7);
  }

  section h2 {
    font-size: clamp(4rem, 9vw, 5rem);
	    margin-bottom: 40px;
		letter-spacing: 0.5px;
  }

  .curved-text svg {
	height: clamp(300px, 80vw,550px);
  }

  .curved-text text {
    font-size:2rem;
  }

  .hero-invitation {
    font-size: clamp(24px, 5vw, 45px);
  }

  .hero-sub {
    font-size: clamp(14px, 3vw, 24px);
	margin: 5px 0;
  }
  
  .hero-left{
	padding: clamp(10px, 5vw , 20px);
  }

  .match-title {
    font-size:2rem;
	margin:clamp(5px,5vw,20px);
  }

  .match-date {
    font-size: 1.4rem;
  }

  .match-seat {
    font-size: 1.3rem;
  }

  .match-info {
    font-size: 1.2rem;
  }
  
  .hero-right{
	padding: clamp(10px, 5vw , 20px);
  }

  .qr-placeholder {
    width:120px;
    height:120px;
  }
  
  .qr-note{
	font-size: clamp(
	  0.5rem,0.7rem,0.8rem);

  }

  .section-title-white {
    font-size: clamp(50px, 8vw, 90px);
  }

  .big-day {
    font-size: clamp(50px, 10vw, 80px);
  }

  .time {
    font-size: clamp(24px, 6vw, 40px);
  }
  
  .count-bottom {
      gap: 40px;
      margin-top: 20px;
    }
	 
  .slides img {
    width: clamp(580px, 70vw, 800px);
  }

  .event-label {
    font-size: clamp(14px, 3vw, 18px);
	flex: 0 0 120px;
	padding-left: 100px;
  }

  .event-map iframe {
    height: 350px;
	width: 100%;
  }
  
  /* ===== RSVP ===== */
   .rsvp-button {
     font-size: clamp(14px, 4vw, 20px);
     padding: clamp(10px, 3vw, 18px) clamp(20px, 6vw, 40px);
   }
   
   /* ===== FOOTER ===== */

    footer {
      font-size:12px;
      padding: 15px 0;
      margin-top: 20px;
    }
}


@media (max-width: 679px) {

  /* 文字サイズだけ縮める */
  p, span {
    font-size: clamp(10px, 3vw, 18px);
  }
  .br-sp {
     display: block;
   }

   section h2 {
      font-size: clamp(3.5rem, 3vw, 4rem);
       margin-bottom: 40px;
   	letter-spacing: 0.5px;
    }

  /* ===== HERO ===== */
  .curved-text svg {
    height: clamp(300px, 80vw,550px);
  }

  .curved-text text {
    font-size: 2.5rem;
  }

  .hero-invitation {
    font-size: clamp(20px, 6vw, 48px);
	line-height: 1;
  }

  .hero-sub {
    font-size: clamp(12px, 3.5vw, 24px);
	margin: 5px 0;
  }

  /* 横並びはそのまま！ */
  .hero-bottom {
    padding: clamp(10px, 4vw, 30px);
    gap: clamp(10px, 4vw, 20px);
  }

  .hero-left,
  .hero-right {
    padding: clamp(10px, 3vw, 20px);
  }

  .qr-placeholder {
    width: clamp(80px, 25vw, 120px);
    height: clamp(80px, 25vw, 120px);
  }

  .qr-note {
    font-size: clamp(6px, 1.8vw, 12px);
  }

  .match-title {
    font-size: clamp(16px, 5vw, 32px);
	margin:10px 0;
  }

  .match-date,
  .match-seat {
    font-size: clamp(10px, 3vw, 22px);
	margin:10px 0;
  }

  .match-info {
    font-size: clamp(10px, 3vw, 22px);
	margin:10px 0;
  }

  /* ===== COUNTDOWN ===== */
  .section-title-white {
    font-size: clamp(20px, 12vw, 90px);
	margin: 25px 0 10px 0;
  }

  .big-day {
    font-size: clamp(20px, 10vw, 80px);
  }

  .big-day-unit {
    font-size: clamp(10px, 3vw, 28px);
  }

  .time {
    font-size: clamp(10px, 7vw, 40px);
  }
  .count-bottom {
       gap: 40px;
       margin-top: 10px;
     }

  .unit {
    font-size: clamp(10px, 3vw, 16px);
  }

  /* ===== HOST ===== */
  .host-photo {
    width: clamp(50%, 60vw, 70%);
  }

  .host-name {
    font-size: clamp(10px, 4vw, 30px);
  }

  /* ===== GALLERY ===== */
  .slides img {
    width: clamp(240px, 80vw, 800px);
  }

  /* ===== EVENT ===== */
  .event-label{
    font-size: clamp(10px, 3vw, 18px);
	flex: 0 0 30%;
	padding-left: 20px;
  }
  .event-value {
      font-size: clamp(10px, 3vw, 18px);
  	flex: 0 0 60%;
  	padding-left: 20px;
    }

  .event-map iframe {
    height: 250px;
	width: 100%;
  }

  /* ===== RSVP ===== */
  .rsvp-button {
    font-size: clamp(14px, 4vw, 20px);
    padding: clamp(10px, 3vw, 18px) clamp(20px, 6vw, 40px);
  }
  
  /* ===== FOOTER ===== */

      footer {
        font-size: clamp(4px, 4vw, 12px);
        padding: 15px 0;
        margin-top: 20px;
      }
 }
  
