/* ーーーーー ベース設定 ーーーーー */
body {
  margin: 0;
  font-family: "Helvetica Neue", "Hiragino Sans", sans-serif;
  background: url("images/soft_bokeh1.jpg") center/cover no-repeat fixed;
  color: #333;
  overflow-x: hidden;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  z-index: 0;
}

.thankyou-section {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  text-align: center;
}

.title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #2f2f2f;
}

/* カード本体 */
.card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffffdd;
  padding: 32px;
  border-radius: 22px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.main-photo {
  width: 100%;
  border-radius: 14px;
  display: block;
  margin-bottom: 28px;
}

/* メッセージ */
.message-box {
  margin-bottom: 35px;
}

.message-box p {
  line-height: 1.75;
  margin-bottom: 18px;
}

.eng {
  font-size: 16px;
  color: #444;
}

.jp {
  font-size: 15px;
  color: #555;
}

/* ーーーーー ボタン ーーーーー */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  display: block;
  text-decoration: none;
  padding: 14px 0;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  transition: 0.25s;
}

.insta {
  background: #ff70a6;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 112, 166, 0.35);
}

.insta:hover {
  transform: translateY(-3px);
  opacity: 0.93;
}

.home {
  background: linear-gradient(90deg, #f7a35c, #ff4f8b);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 79, 139, 0.35);
}

.home:hover {
  transform: translateY(-3px);
  opacity: 0.95;
}

/* ーーーーー アニメーション ーーーーー */
.fade-slide {
  opacity: 0;
  transform: translateY(25px) scale(0.96);
  animation: fadeSlide 0.9s ease-out forwards;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* スマホ対応 */
@media (max-width: 480px) {
  .title {
    font-size: 26px;
  }
  .card {
    padding: 24px;
  }
  .eng,
  .jp {
    font-size: 14px;
  }
}
