/*
Theme Name: Web-Invitation
Author: 株式会社エーワン
Description: ウェブ招待状用 オリジナルテーマです。
Version: 1.0
*/

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #fff;
  color: #333;
}

/* ゲームテンプレート用本文ゴシック（細め） */
body.game-type main .content-honbun {
  font-family: "ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif !important;
  font-weight: 400 !important;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

header, footer, main {
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  margin: 10px 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
}

/* スタートロゴフェード */
.start {
  background: #FFF;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9000;
}
.start p {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 9999;
  width: 80px;
}

.mejs-controls {
  background: #222;
  display: none;
}

/* 挨拶 */
.greeting {
  text-align: center;
  margin: 0 auto;
  padding-bottom: 0px;
}
.greeting-tsubaki {
  text-align: center;
  margin: 0 auto;
  padding: 20px 20px;
  background-color: #cabe9f;
  margin-bottom: 40px;
}
.greeting-tsubaki img {
  text-align: center;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 20px;
}
.white-box {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 25px 0px 5px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.greeting img {
  text-align: center;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 20px;
}
.greeting-spo img {
  text-align: center;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 20px;
  width: 120px;
}
.greeting-game img {
  text-align: center;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 20px;
  width: 140px;
}

/* カウントダウン */
.hero-section {
  background-image: url('https://test2603.a-one1997.jp/wp-content/uploads/2025/08/countdown01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 350px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-content {
  max-width: 480px;
}
.hero-section img {
  margin: 0 auto;
  padding-bottom: 30px;
  padding-top: 60px;
  width: 280px;
}
.hero-content-spo img {
  margin: 0 auto;
  padding-bottom: 30px;
  padding-top: 55px;
  width: 170px;
}
.hero-content-game img {
  margin: 0 auto;
  padding-bottom: 30px;
  padding-top: 55px;
  width: 190px;
}

/* HurryTimer */
.hurrytimer-headline {
  margin-bottom: 10px;
}
.hurrytimer-campaign-186 .hurrytimer-headline {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: serif;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
  letter-spacing: 0.02em;
}
.hurrytimer-timer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  font-family: serif;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}
.hurrytimer-campaign-186 .hurrytimer-timer-digit {
  color: #ffffff;
  display: block;
  font-size: 34px;
}
.hurrytimer-campaign-186 .hurrytimer-timer-sep {
  color: #000;
  opacity: 0;
  display: block;
  font-size: 60px;
}
.hurrytimer-campaign-186 .hurrytimer-timer {
  display: inline-flex;
  vertical-align: middle;
}

/* 日時・会場 */
.full-bg {
  background-color: #a40066;
  color: #fff;
  width: 100%;
  padding-bottom: 15px;
}
.full-bg-tsubaki {
  background-color: #CABE9D;
  color: #fff;
  width: 100%;
  padding-bottom: 10px;
}
.inner-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 3em 0em 0em 0em;
  text-align: center;
}
.inner-container img {
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px;
  width: 90%;
}

/* タイポグラフィ */
h2.content-title {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 5px;
  margin-top: 10px;
  text-align: center;
}
.content-rubi {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #000;
  margin-top: -5px;
  margin-bottom: 15px;
  text-align: center;
}
.ceremony-title {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.4rem;
  line-height: 1.1em;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #ffffff;
  padding-bottom: 30px;
}
.ceremony-title02 {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.1rem;
  line-height: 1.0em;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.ceremony-title03 {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.1rem;
  line-height: 1.0em;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
  padding-bottom: 5px;
  height: 0.1em;
}
.ceremony-date {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.8rem;
  line-height: 0.9em;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 40px;
}
.content-honbun {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 0.9rem;
  line-height: 2em;
  letter-spacing: 0em;
  font-weight: 500;
  color: #000;
  width: 70%;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 40px;
  text-align: left;
  line-height: 1.8;
  padding: 0 24px;
}
@media only screen and (min-width: 768px) {
  .content-honbun {
    width: 280px;
  }
}
.content-honbun-w {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.0rem;
  line-height: 1.6em;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #fff;
}

/* セクション区切り線 */
.section-title {
  display: flex;
  align-items: center;
  margin: 20px auto;
  width: 80%;
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  width: 10px !important;
  height: 1px;
  background-color: #fff;
  margin: 0 10px;
}

/* イベント見出し */
.event img {
  margin-top: 20px;
  width: 35%;
  margin: 0 auto;
}
.event-spo img {
  margin-top: 20px;
  width: 20%;
  margin: 0 auto;
}
.event-game img {
  margin-top: 20px;
  width: 22%;
  margin: 0 auto;
}

/* 飾りマーク */
.kazari img {
  margin-top: 20px;
  width: 12%;
  margin: 0 auto;
}
.kazari-spo img {
  margin-top: 20px;
  width: 18%;
  margin: 0 auto;
}
.kazari-wa img {
  margin-top: 20px;
  width: 18%;
  margin: 0 auto;
}
.kazari-game img {
  margin-top: 20px;
  width: 10%;
  margin: 0 auto;
}
.kazari-mimosa img {
  width: 20%;
  margin: 0 auto;
}

/* コート画像 */
.coat01 {
  margin-top: -30px;
  margin-bottom: 0px;
}
.coat02 {
  margin-top: -20px;
  margin-bottom: -40px;
}

/* 地図 */
.map {
  margin-top: 30px;
  width: 100%;
}

/* 付箋 */
.sticky-note {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 5%;
  width: 75%;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin: 0 auto;
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  margin-top: 0px;
}
.sticky-note.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.sticky-note::before,
.sticky-note::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background-color: #333;
  opacity: 0;
  transition: opacity 0.5s ease-out 1.2s;
}
.sticky-note::before {
  top: 10px;
}
.sticky-note::after {
  bottom: 10px;
}
.sticky-note.visible::before,
.sticky-note.visible::after {
  opacity: 1;
}
.sticky-note .title {
  font-size: 1.2em;
  font-weight: 400;
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease-out 0.5s, transform 0.5s ease-out 0.5s;
  text-align: center;
}
.sticky-note.visible .title {
  opacity: 1;
  transform: translateY(0);
}
.sticky-note .content {
  font-size: 0.9em;
  text-align: center;
  color: #555;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease-out 1s, transform 0.5s ease-out 1s;
  padding-bottom: 10px;
}
.sticky-note.visible .content {
  opacity: 1;
  transform: translateY(0);
}
@media only screen and (min-width: 768px) {
  .sticky-note.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    width: 75%;
  }
}

/* キラキラ */
.kirakira {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 0px;
}
.kirakira img {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 0px;
}

/* 飾り罫 */
.kazarikei {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  margin-top: 20px;
  margin-bottom: 20px;
}
.button img {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: 30px;
}

/* 返信締切日 */
.henshin {
  text-align: center;
  color: #000000;
  line-height: 180%;
  font-family: 'times new roman', times, serif;
  margin-bottom: 20px;
  margin-top: 30px;
}
.num {
  display: inline-block;
  margin-top: 0.2em;
  font-size: 1.8em;
  font-weight: 400;
}

/* ========================================
   新郎新婦 共通スタイル
   ======================================== */
.groom-profile,
.bride-profile {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.prof-kazari img {
  width: 220px;
  padding-top: 0px;
}
.groom-profile img,
.bride-profile img {
  margin: 0 auto 10px;
}
.groom-img,
.bride-img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  margin: 0 auto;
}
.groom-overlay,
.bride-overlay {
  position: absolute;
  top: 122px;
  width: 75px;
  z-index: 10;
}
.groom-overlay img,
.bride-overlay img {
  width: 100%;
  height: auto;
}

/* ========================================
   fadeUp アニメーション（共通）
   ======================================== */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   オーバーレイイラスト 位置調整
   ======================================== */

/* 01 サッカー新郎 */
.fadeUpTrigger01 { opacity: 0; }
@media screen and (max-width: 767px) {
  .groom-profile .groom-overlay.fadeUpTrigger01 {
    top: 60%;
    left: 50px;
    width: 110px;
  }
}
@media screen and (min-width: 768px) {
  .groom-profile .groom-overlay.fadeUpTrigger01 {
    top: 60%;
    left: 80px;
    width: 110px;
  }
}

/* 02 サッカー新婦 */
.fadeUpTrigger02 { opacity: 0; }
@media screen and (max-width: 767px) {
  .bride-profile .bride-overlay.fadeUpTrigger02 {
    top: 57%;
    right: 70px;
    width: 72px;
  }
}
@media screen and (min-width: 768px) {
  .bride-profile .bride-overlay.fadeUpTrigger02 {
    top: 57%;
    right: 105px;
    width: 72px;
  }
}

/* 03 バスケ新郎 */
.fadeUpTrigger03 { opacity: 0; }
@media screen and (max-width: 767px) {
  .groom-profile .groom-overlay.fadeUpTrigger03 {
    top: 160px;
    left: 85px;
    width: 42px;
  }
}
@media screen and (min-width: 768px) {
  .groom-profile .groom-overlay.fadeUpTrigger03 {
    top: 160px;
    left: 130px;
    width: 42px;
  }
}

/* 04 バスケ新婦 */
.fadeUpTrigger04 { opacity: 0; }
@media screen and (max-width: 767px) {
  .bride-profile .bride-overlay.fadeUpTrigger04 {
    top: 175px;
    right: 75px;
    width: 52px;
  }
}
@media screen and (min-width: 768px) {
  .bride-profile .bride-overlay.fadeUpTrigger04 {
    top: 180px;
    right: 120px;
    width: 52px;
  }
}

/* 05 和装新郎 */
.fadeUpTrigger05 { opacity: 0; }
@media screen and (max-width: 767px) {
  .groom-profile .groom-overlay.fadeUpTrigger05 {
    top: 160px;
    left: 90px;
    width: 45px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .groom-profile .groom-overlay.fadeUpTrigger05 {
    top: 160px;
    left: 90px;
    width: 45px;
  }
}
@media screen and (min-width: 1024px) {
  .groom-profile .groom-overlay.fadeUpTrigger05 {
    top: 160px;
    left: 120px;
    width: 45px;
  }
}

/* 06 和装新婦 */
.fadeUpTrigger06 { opacity: 0; }
@media screen and (max-width: 767px) {
  .bride-profile .bride-overlay.fadeUpTrigger06 {
    top: 145px;
    right: 75px;
    width: 67px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bride-profile .bride-overlay.fadeUpTrigger06 {
    top: 150px;
    right: 75px;
    width: 62px;
  }
}
@media screen and (min-width: 1024px) {
  .bride-profile .bride-overlay.fadeUpTrigger06 {
    top: 150px;
    right: 110px;
    width: 62px;
  }
}

/* 07 ノーマル新郎 */
.fadeUpTrigger07 { opacity: 0; }
@media screen and (max-width: 767px) {
  .groom-profile .groom-overlay.fadeUpTrigger07 {
    top: 50%;
    left: 80px;
    width: 65px;
  }
}
@media screen and (min-width: 768px) {
  .groom-profile .groom-overlay.fadeUpTrigger07 {
    top: 50%;
    left: 113px;
    width: 65px;
  }
}

/* 08 ノーマル新婦 */
.fadeUpTrigger08 { opacity: 0; }
@media screen and (max-width: 767px) {
  .bride-profile .bride-overlay.fadeUpTrigger08 {
    top: 50%;
    right: 70px;
    width: 65px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bride-profile .bride-overlay.fadeUpTrigger08 {
    top: 50%;
    right: 100px;
    width: 65px;
  }
}
@media screen and (min-width: 1024px) {
  .bride-profile .bride-overlay.fadeUpTrigger08 {
    top: 50%;
    right: 105px;
    width: 65px;
  }
}

/* 09 ゲーム新郎 */
.fadeUpTrigger09 { opacity: 0; }
@media screen and (max-width: 767px) {
  .groom-overlay.fadeUpTrigger09 {
    top: 190px;
    left: 13vw;
    width: 90px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .groom-overlay.fadeUpTrigger09 {
    top: 190px;
    left: 10vw;
    width: 90px;
  }
}
@media screen and (min-width: 1024px) {
  .groom-overlay.fadeUpTrigger09 {
    top: 190px;
    left: 90px;
    width: 90px;
  }
}

/* 10 ゲーム新婦 */
.fadeUpTrigger10 { opacity: 0; }
@media screen and (max-width: 767px) {
  .bride-overlay.fadeUpTrigger10 {
    top: 190px;
    right: 13vw;
    width: 90px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bride-overlay.fadeUpTrigger10 {
    top: 190px;
    right: 10vw;
    width: 90px;
  }
}
@media screen and (min-width: 1024px) {
  .bride-overlay.fadeUpTrigger10 {
    top: 190px;
    right: 90px;
    width: 90px;
  }
}

/* 11 夏新郎 */
.fadeUpTrigger11 { opacity: 0; }
@media screen and (max-width: 767px) {
  .groom-profile .groom-overlay.fadeUpTrigger11 {
    top: 60%;
    left: 50px;
    width: 100px;
  }
}
@media screen and (min-width: 768px) {
  .groom-profile .groom-overlay.fadeUpTrigger11 {
    top: 60%;
    left: 80px;
    width: 100px;
  }
}

/* 12 夏新婦 */
.fadeUpTrigger12 { opacity: 0; }
@media screen and (max-width: 767px) {
  .bride-profile .bride-overlay.fadeUpTrigger12 {
    top: 50%;
    right: 70px;
    width: 80px;
  }
}
@media screen and (min-width: 768px) {
  .bride-profile .bride-overlay.fadeUpTrigger12 {
    top: 50%;
    right: 70px;
    width: 80px;
  }
}



/* ギャラリー choice-btn サムネイル統一 */
.choice-btn li img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* ギャラリーメイン画像 */
.gallery li img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}



/* ギャラリー メイン画像 */
.gallery {
  width: 100%;
  overflow: hidden;
}
.gallery li img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  display: block;
}

/* ギャラリー サムネイル */
.choice-btn {
  margin-top: 10px;
}
.choice-btn li {
  padding: 0 4px;
}
.choice-btn li img {
  width: 100% !important;
  height: 70px !important;
  object-fit: cover !important;
  display: block;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
}
.choice-btn .slick-current img {
  opacity: 1;
  border: 0px solid #2979c8;
}


/* 飾り罫の独立スタイル（下部） */
img.kazarikei {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  width: 80%;
}

/* トップスライダー */
.top-slider-wrapper {
  width: 100%;
  overflow: hidden;
}
.top-slide img {
  width: 100%;
  height: auto;
  display: block;
}
