@charset "utf-8";

:root {
  --white: #fff;
  --font-black: #464646;
  --grey06: rgba(0, 0, 0, 0.06);
  --primary-blue: #1e5a9f;
  --sky-blue: #001871;
  --yellow: #fedb00;
  --font-family-sans-serif: Lato, "source-han-sans-japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --font-family-Lato: "Lato", sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@900&display=swap');

/* ------------------------------------------------------ */
/* common */
/* ------------------------------------------------------ */
.pageIndex {
  width: 100%;
  background-image: url(/ja/campaign/amami-rakuen/img/left.png),url(/ja/campaign/amami-rakuen/img/right.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left 860px, right 860px;
  background-color: #e6e1d0;
}

#container {
	margin-top: 0!important;
  margin-bottom: 0!important;
  width: 100%!important;
  font-family: source-han-sans-japanese, sans-serif;
  color: var(--font-black);
  font-size: 1.8rem;
}
/* 1. body のスクロールバーを隠すための定義 */
body.no-scroll-body {
    overflow: hidden; 
    /* height: 100vh; */ /* bodyの高さ制限が必要な場合は追加 */
}

main.no-scroll { /* セレクタを 'main .no-scroll' から 'main.no-scroll' に変更推奨 */
    height: 100vh;     
    position: fixed;   
    left: 0;           
    width: 100%;       
    /* top は JS で設定される */
}
main.amami a:hover {
  opacity: 0.7;
  transition: all linear 0.2s;
}

/* section共通 */
.innerBlock {
  position: relative;
  width: 960px;
  margin: 0 auto;
  padding: 0;
  & h2 {
    text-align: center;
    line-height: 1;
    margin-bottom: 10px;
  }
  p {
    width: 340px;
    margin-top: 30px;
    line-height: 3rem;
    font-weight: bold;
  }
}
.bg_white {
  background-color: rgba( 255, 255, 255, 0.5 );
}
.line_top {
  background-image: url(/ja/campaign/amami-rakuen/img/line_top.png);
  background-size: auto;
  background-repeat: repeat;
  height: 108px;
}
.line_bottom {
  background-image: url(/ja/campaign/amami-rakuen/img/line_bottom.png);
  background-size: auto;
  background-repeat: repeat;
  height: 97px;
}
/* ------------------------------------------------------ */
/* KV */
/* ------------------------------------------------------ */
#kvWrap {
  width: 100%;
  background: url(/ja/campaign/amami-rakuen/img/kv_bg.jpg) center center no-repeat;
  background-size: cover;
  & #kv {
    padding: 0 0 30px;
  }
  & h1 {
    text-align: center;
  }
}
.pageLink_btn {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 10px;
}

/* ------------------------------------------------------ */
/* contents */
/* ------------------------------------------------------ */
.content_wrap {
  max-width: 960px;
  margin: 0 auto;
}
.title_yellow {
  background-color: var(--yellow);
  border-radius: 14px 14px 0 0;
  padding: 20px 26px;
  color: var(--sky-blue);
  position: relative;
  p {
    font-size: 2rem;
    font-weight: bold;
    span {
      font-size: 2.8rem;
    }
  }
}
.title_yellow::before {
  content: "";
  border: 20px solid transparent;
  border-top: 30px solid var(--yellow);
  top: 100%;
  left: 10%;
  position: absolute;
}
.readText {
  font-size: 1.8rem;
  text-align: center;
  margin: 30px 0;
}
.readArea {
  background-color: var(--white);
  border-radius: 14px;
  padding-bottom: 180px;
  position: relative;
  margin-bottom: 120px;
  .img_map {
    position: absolute;
    top: 20px;
    right: 76px;
  }
  .img_traveler {
    position: absolute;
    bottom: -20px;
    right: -20px;
  }
}
.contentText {
  width: 310px;
  margin: 50px 36px;
  line-height: 3rem;
  font-size: 1.8rem;
}
.pageLink_ticket {
    background-image: url(/ja/campaign/amami-rakuen/img/tkt.png);
    background-size: contain;
    width: 640px;
    background-repeat: no-repeat;
    margin: 0 auto 80px;
    text-align: center;
    background-position: center;
  .comment_blue {
    display: inline-block;
    border-radius: 40px;
    position: relative;
    background: var(--primary-blue);
    color: #fff;
    padding: 8px 20px;
    line-height: normal;
    margin-top: -100px;
    font-size: 2rem;
  }
  .comment_blue::before {
    content: "";
    border: 10px solid transparent;
    border-top: 10px solid var(--primary-blue);
    margin-left: -10px;
    top: 100%;
    left: 50%;
    position: absolute;
  }
  .arrow_btn {
    width: 240px;
    display: inline-block;
    background-color: var(--yellow);
    border-radius: 24px;
    border: 4px solid var(--primary-blue);
    text-decoration: none;
    padding: 5px 0 3px;
    font-weight: bold;
    font-size: 1.8rem;
    position: relative;
    margin-bottom: 20px;
  }
  .arrow_btn:before {
  content: '';
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 12px;
  bottom: 0;
  margin: auto;
}
.arrow_btn:after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 12px;
  border-color: transparent transparent transparent var(--primary-blue);
  position: absolute;
  top: 0;
  right: 21px;
  bottom: 0;
  margin: auto;
}
.font_bold {
  font-size: 2.6rem;
  font-weight: bold;
  margin: 20px 0;
}
}

/* ------------------------------------------------------ */
/* section_island */
/* ------------------------------------------------------ */
.section_island {
  margin: 100px 0;
  position: relative;
}
.title_island {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%); 
  width: 110px;
}
.h2_island {
  display: flex;
  align-items: end;
  gap: 30px;

  h2 {
    text-align: left;
    font-size: 3.3rem;
    font-family: "tot-shizukasmudgemin-stdn", sans-serif;
    font-weight: 600;
    line-height: 4.5rem;
    color: var(--sky-blue);
  }
}
.img_map {
  position: absolute;
  top: 20px;
  right: 76px;
}
.position-r {
  top: 30px !important;
  right: 40px !important;
}
.img_sticker {
  position: absolute;
  bottom: -40px;
  right: 70px;
}
.reverse {
  left: 360px;
  bottom: -30px !important;
}
.text_narrow {
  width: 280px !important;
}

/* モーダル部分 */
.modal-area {
  margin: 90px 0 0;
}
.modal_image {
  display: flex;
  max-width: 840px;
  margin: 20px auto 0;
  justify-content: space-between;
  align-items: end;

  .js_modal_open {
    cursor: pointer;
  }
  .js_modal_open:hover {
    opacity: 0.7;
    transition: all linear 0.2s;
  }
}
.js_modal_area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex; /* これで常に flexbox を維持 */
    justify-content: center;
    align-items: flex-start;
    padding-top: 120px;
    overflow-y: auto;
    visibility: hidden; /* 要素を不可視にする */
    opacity: 0;         /* 要素を完全に透明にする */
    /* ★★★ この行がフェードイン・アウトを実現します ★★★ */
    transition: opacity 0.4s, visibility 0.4s; /* 0.4s (400ms) はJSのsetTimeoutと合わせる */
}
.js_modal_area.is-open {
    visibility: visible;
    opacity: 1;
}
.js_modal_area .modal_wrap {
    width: 90%;
    max-width: 580px;
    background: #e3e3e3;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 120px);
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; /* iOSで滑らかなスクロールを実現 */
    margin-bottom: 20px;
}
.modal__bg {
   position: relative;
}
.js_modal_area .modal_wrap .modal__content.active {
   display: block;
   box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.js_modal_area .modal_wrap .modal__content .img_box {
   img {
    border-radius: 10px;
   }
}
.js_modal_area .modal_wrap .modal__content {
  position: relative;
  display: none;
    padding: 0 20px 20px;
  .cardTitle {
    text-align: center;
  }
  .mainTitle {
    font-size: 3rem;
    text-align: center;
    margin: 20px 0;
  }
  .text {
    margin-top: 10px;
  }
}
.js_modal_area .modal_wrap .js_modal_close {
   text-align: center;
   display: block;
   position: absolute;
   top: 0;
   right: 15px;
   cursor: pointer;
   font-size: 30px;
   font-weight: 700;
}
/* ------------------------------------------------------ */
/* inquiryBlock */
/* ------------------------------------------------------ */
.rsvBlock {
  position: relative;
  margin-top: 0px;
  background-color: #F2F2F2;
  border-radius: 8px;
}
.rsvBlock h3 {
  position: relative;
  padding: 20px 0 0;
}
.rsvBlock h3:before {
  width: 25px;
  height: 25px;
  margin-right: 8px;
  top: 22px;
  background-image: url(/ja/campaign/amami-rakuen/img/ico_flight2.svg);
  filter: invert(13%) sepia(65%) saturate(2738%) hue-rotate(217deg) brightness(88%) contrast(121%);
}
.rsvBlock h3 span {
  color: var(--sky-blue);
  font-size: 2rem;
  padding: 0 0 0 32px;
}

/* ------------------------------------------------------ */
/* section_banner */
/* ------------------------------------------------------ */
#section_banner {
  margin-top: 60px;
  position: relative;
  & ul.banner_block {
    text-align: center;
    a {
      text-decoration: none;
    }
    & li {
      margin-bottom: 40px;
      p {
        display: inline-block;
        margin-bottom: 10px;
      }
      small {
        display: block;
        text-align: right;
        width: 635px;
        margin: 0 auto;
        color: var(--font-black);
        padding-bottom: 30px;
      }
    }
    & img{
      width: 635px;
    }
  }
}