body {
  background-image: url(../img/main_bg.png);
  background-repeat: repeat;
  font: 1.6em 'Noto Sans JP', sans-serif;
  line-height: 1.5;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

img {
  vertical-align: top;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  line-height: 0;
  font-size: 0;
}

/* 各セクションでiPhone特有の問題を修正 */
.header img,
.ranking img,
.cta1 img,
.cta2 img,
.about img,
.voice img,
.reason img,
.real-wedding img,
.banquet-ceremony img,
.award img {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  line-height: 0; 
  font-size: 0; 
}

/* セクション自体もiPhone対応 */
.header,
.cta1,
.cta2,
.about,
.voice,
.reason,
.real-wedding,
.banquet-ceremony,
.plan,
.planner {
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  display: block;
}

.wrap {
  margin: auto;
  max-width: 750px;
  background: #fff;
  color: #000;
}

/* ヘッダー/FV */
.header img,
.ranking img {
  width: 100%;
}

/* rannking */
.ranking{
  position: relative;
}
.ranking img:nth-child(2n){
  margin-top: -2px;
}
.ranking img.header-message{
width: 90%;
position: absolute;
top: -5%;
left: 50%;
transform: translateX(-50%);

}

/* CTA1（Canvas方式） */
.cta1 {
  position: relative;
}

.cta1 img{
  width: 100%;
}

.cta1 .button-container {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 686px;
}

.cta1 .button-wrapper {
  position: relative;
  margin-top: 10px;
}

.cta1 .button {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
}

.cta1 #shineCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* CTA2以降の共通スタイル（Canvas animation方式） */
.cta-img-container {
  position: relative;
  width: 100%;
  height: auto;
}

 .cta2 .button-container2 {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 686px;
}

.cta2 .button-wrapper2 {
  position: relative;
}

.cta2 .button-wrapper2 .button {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
}

.cta2 .shineCanvas2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
} 

/* Ceremony button */
.button-container-ceremony {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 92%;
  max-width: 686px;
  overflow: hidden;
  border-radius: 20px;
  transform: translate(-50%, 25%);
  z-index: 100;
}

.button-content {
  position: relative;
}

.button-content .button {
  display: block;
  width: 100%;
  height: auto;
  background-color: transparent;
  z-index: 10;
  border-radius: 20px;
}

/* フェアムービーセクション */
.fair-movie {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 180%;
  background-image: url('../img/fair-movie-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
}

.fair-movie-container {
  position: absolute;
  width: 70%; 
  height: 0;
  padding-bottom: 124.44%; 
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -40%); 
}

.fair-movie-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none; 
}

/* アバウトセクション */
.about {
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  display: block;
}

.about img {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  line-height: 0;
  font-size: 0;
  vertical-align: top;
  border: none;
  outline: none;
}

.video-overlay-container {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: auto;
  margin-top: -5px; /* 画像間の隙間を消す */
  line-height: 0;
  font-size: 0;
}

.overlay-image {
  width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
}

.video-overlay {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
}
#about .video-overlay{
  top: 34%;
}

/* CTA2セクション */
.cta2 {
  max-width: 750px;
  margin: auto;
}

.cta2 img {
  width: 100%;
  display: block;
}

/* お客様の声セクション */
.voice img {
  margin: auto;
  width: 100%;
}

/* 理由セクション */
.reason img {
  margin: auto;
  width: 100%;
}

/* 少人数も大人気セクション */
.small-group img {
  margin: auto;
  width: 100%;
}

/* 披露宴会場と挙式会場セクション */
.banquet-ceremony {
  background-color: #f0ede9;
}

.banquet-ceremony img {
  margin: auto;
  width: 100%;
}

.banquet {
  background-color: #f0ede9;
  padding-bottom: 10%;
  position: relative;
  width: 100%;
}

.ceremony {
  background-color: #e9e5df;
  padding-bottom: 10%;
  position: relative;
  width: 100%;
}

/* スライダー共通スタイル */
.slick-slider {
  margin: 0 auto;
  max-width: 100%;
  padding: 0;
}

.slick-item {
  padding: 2px;
  transition: transform 0.3s ease;
}

/* 両方のスライダーに明示的に適用するスタイル */
.banquet .slick-slider .slick-slide,
.ceremony .slick-slider .slick-slide {
  margin-right: 0.4vw !important;
  margin-left: 0.4vw !important;
}

/* 明示的に両方のスライダーの中央に適用するスタイル */
.banquet .slick-slide.slick-center .slick-item,
.ceremony .slick-slide.slick-center .slick-item {
  transform: scale(1.2) !important;
}

/* スライド画像スタイル - 明示的に両方に適用 */
.banquet .slick-item img,
.ceremony .slick-item img {
  width: 100%;
  height: auto;
}

/* カスタムスライダーナビゲーション */
.arrow_box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0 0;
  position: relative;
  padding-left: 15px;
  z-index: 10;
}

.prev-arrow,
.next-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10vw;
  height: 10vw;
  background: transparent;
  border-radius: 50%;
  transition: all .3s ease;
  cursor: pointer;
  position: relative;
  color: #212121;
  min-width: 24px;
  min-height: 24px;
  max-width: 50px;
  max-height: 50px;
}

.prev-arrow {
  margin-right: 10px;
}

.prev-arrow:hover,
.next-arrow:hover {
  color: #adadad;
}

.prev-arrow svg,
.next-arrow svg {
  width: 50px;
  height: 50px;
}

/* セレモニーセクション特有のスタイル */
.ceremony .prev-arrow,
.ceremony .next-arrow {
  color: #212121;
}

.ceremony .prev-arrow:hover,
.ceremony .next-arrow:hover {
  color: #adadad;
}

/* 両方のセクションの矢印ボックスに明示的に z-index を適用 */
.banquet .arrow_box,
.ceremony .arrow_box {
  z-index: 10;
}

/* 元のslickの矢印を非表示にする */
.slick-arrow, 
.slick-prev, 
.slick-next {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* リアルウェディングセクション */
.real-wedding img {
  margin: auto;
  width: 100%;
}

/* プランの例 */
.plan img {
  margin: auto;
  width: 100%;
}

/* ご相談くださいセクション */
.planner img {
  margin: auto;
  width: 100%;
}

/* フッター */
.footer {
  text-align: center;
  background-color: #053735;
  color: #ffffff;
}

.footer p {
  margin: 0px;
  padding: 20px 0;
  font-size: 1.0rem;
}

/* ハンバーガーメニュー */
.menu {
  position: fixed;
  top: 0;
  right: -100%; 
  width: 100%;
  height: 100%;
  background-color: rgba(94, 109, 100, 0.95);
  color: #ffffff;
  transition: right 0.3s ease; 
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "MS P明朝", "MS PMincho", serif;
  font-size: 15px;
}

/* メニューが開いているとき */
.menu.open {
  right: 0;
}

/* ボタンのスタイル */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 20;
  padding: 10px;
  background-color: #053735; 
  border-radius: 8px;
  transition: all 0.3s ease; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); 
}

.hamburger span {
  display: block;
  height: 2px;
  width: 70%;
  background-color: #ffffff;
  margin: 5px 0;
  margin-left: 15%;
  transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 40px;
}

.menu li {
  padding: 8px 0;
  border-bottom: 1px solid #ffffff;
}

.menu li a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  font-family: inherit;
  font-weight: 400;
  font-size: 15px; 
  line-height: 1.4; 
}

.menu-logo {
  text-align: center;
  padding: 5px 0 10px 0;
  margin-top: 20px;
}

.menu-logo img {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.menu-button .button-wrapper {
  position: relative;
  max-width: 360px;
  width: 90%;
  margin: 0 auto;
  margin-top: 5px;
}

.menu-button .button {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
}

.menu-button #menuShineCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 20251015追加 ヘッダースライドショー */
.header {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.header-slideshow {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.slick-slider-fv {
  width: 100%;
}

.slick-slider-fv img {
  width: 100%;
  height: auto;
  display: block;
}

.header-catchcopy {
  position: absolute;
  top: 44%;
  right: 5%;
  transform: translateY(-50%);
  width: auto;
  height: 80%;
  max-height: 863px;
  z-index: 10;
  pointer-events: none;
}

.header-catchcopy img {
  width: auto;
  height: 100%;
  display: block;
}

/* 20251106追加 バナー設置 */
.event-banner{
  padding: 5%;
  background-color: #c9c0a9; 
}

/* 画像間の隙間を完全に消す */
section {
  line-height: 0;
  font-size: 0;
}

section > img {
  margin-top: -1px;
  margin-bottom: -1px;
}

.cta2 > img,
.voice > img,
.reason > img,
.about > img,
.real-wedding > img {
  margin-top: -2px;
  margin-bottom: -2px;
}

/* 追従ボタン */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 9;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    background-color: #fff;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
}


/* 追従ボタン */
.fixed-footer2 {
  max-width: 750px;
  width: 100%;
  background-color: #fff;
  margin: 0 auto;

  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  z-index: 1000;
  padding-bottom: 5px;
}

.fixed-footer2  .footer-btn{
  display: inline-block;
  width: 33%;
  transition: all .3s;
}
.fixed-footer2 .footer-btn:hover{
  opacity: .8;
}
.fixed-footer2 .footer-btn img{
  width: 100%;
}