/* the royal express */
html[lang="ja"] {
  scroll-padding-top: 100px;
}

:root {
  --ro-color-text: #000;
  --ro-color-blue: #063a77;
  --ro-color-brown: #a58033;
  --ro-color-beige: #b8a569;
  --ro-space-edge: 24px;
  --ro-width-main: 960px;
  --ro-font-zen: 'Zen Old Mincho', var(--font-base);
  --ro-gradient: linear-gradient(to right, #817fba 0%, #628dc7 12.14%, #11b1e7 23.84%, #2fa4cb 35.56%, #add378 52.72%, #fde357 67.79%, #e95244 87.45%, #e52f87 100%);
  @media screen and (max-width: 768px) {
    --ro-space-edge: 16px;
  }
}

/* フェードアニメーション */
[data-aos] {
  filter: blur(8px);
}
[data-aos].aos-animate {
  filter: blur(0);
}
[data-aos^=fade][data-aos^=fade] {
  transition-property: opacity, transform, filter;
}

.royal {
  overflow: hidden;
  :where(a) {
    color: var(--ro-color-blue);
    &[target="_blank"] {
      background-image: url(../img/icon_blank_blue.png);
      background-position: right 0.3em;
      background-size: 13px auto;
    }
  }
}

.royal-header {
  position: fixed;
  top: 14px;
  left: var(--ro-space-edge);
  z-index: 9;
  width: calc(100% - 48px);
  background: white;
  box-shadow: 0 0 8px rgba(0, 0, 0, .16);
  @media screen and (max-width: 1023px) {
    top: 0;
    left: 0;
    width: 100%;
  }
}
.royal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 32px;
  padding-left: clamp(0px, 22 / 1260 * 100vw, 32px);
  @media screen and (max-width: 1023px) {
    padding: 19px 10px;
  }
}

.royal-logo {
  margin: auto 0;
  img {
    vertical-align: middle;
  }
  @media screen and (max-width: 1023px) {
    width: 140px;
    font-size: 10px;
  }
}

/* ナビゲーション */
.royal-nav__title {
  display: none;
  @media screen and (max-width: 1023px) {
    position: relative;
    display: block;
    overflow: hidden;
    --_width: 25px;
    --_height: 22px;
    width: var(--_width);
    height: var(--_height);
    font-size: 0;
    color: var(--ro-color-text);
    span {
      &::after,
      &::before {
        content: "";
        position: absolute;
        left: 0;
        width: var(--_width);
        height: 2px;
        background: var(--ro-color-text);
        border-radius: 50px;
        transition: all .3s;
      }
      /* 1本目の線 */
      &::before {
        top: 0;
      }
      /* 2本目の線 */
      &::after {
        top: 10px;
      }
      span {
        display: block;
        height: var(--_height);
        /* 3本目の線 */
        &::before {
          top: 20px;
        }
        &.close {
          display: none;
        }
      }
    }
    [open] & {
      span {
        &::before {
          top: 10px;
          transform: rotate(135deg);
        }
        &::after {
          opacity: 0;
          transform: translateX(-30px);
        }
        span {
          &::before {
            transform: rotate(-135deg);
          }
          &.menu {
            display: none;
          }
          &.close {
            display: inline;
          }
        }
      }
    }
  }
}
.royal-nav__body {
  @media screen and (max-width: 1023px) {
    position: absolute;
    top: 59px;
    right: 0;
    padding: 32px 48px 64px;
    background: white;
  }
  @media screen and (max-width: 330px) {
    padding-inline: 32px;
  }
}
.royal-nav__list {
  display: flex;
  align-items: center;
  gap: 0 clamp(0px, 22 / 1260 * 100vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
  @media screen and (max-width: 1023px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}
.royal-nav__item {
  margin: 0;
  @media screen and (max-width: 1023px) {
    width: 100%;
  }
  a {
    display: inline-block;
    padding-right: 13px;
    background: url(../img/arrow_nav.png) no-repeat right center / 9px auto;
    color: var(--ro-color-text);
    text-decoration: none;
    font-size: 1.4rem;
    font-size: clamp(11px, 14 / 1260 * 100vw, 14px);
    @media screen and (max-width: 1023px) {
      font-size: 1.4rem;
    }
    &:hover {
      color: var(--ro-color-blue);
      background-image: url(../img/arrow_nav_hover.png);
    }
  }
}
.royal-nav__item.-contact {
  margin-left: clamp(0px, 6 / 1230 * 100vw, 14px);
  @media screen and (max-width: 1023px) {
    margin-left: 0;
    text-align: center;
  }
  a {
    margin: 0;
    padding: 10px clamp(0px, 30 / 1260 * 100vw, 38px);
    background: var(--ro-color-brown);
    color: white;
    font-weight: 500;
    transition: all .3s;
    &:hover {
      background-color: var(--ro-color-blue);
    }
    @media screen and (max-width: 1023px) {
      display: block;
    }
  }
}

/* フッター */
.royal-footer {
  padding: 26px var(--ro-space-edge);
  text-align: center;
  line-height: 1.4;
  p {
    margin: 0;
    font-family: var(--ro-font-zen);
  }
  small {
    font-size: 1.2rem;
  }
}

/* メインビジュアル */
.royal-hero {
  position: relative;
  height: 100vh;
}
.royal-hero__inner {
  height: calc(100vh - 109px);
  background: url(../img/hero.jpg) no-repeat center center / cover;
  @media screen and (max-width: 960px) {
    height: calc(100svh - 250px);
  }
  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 257px;
    background: linear-gradient(to bottom,  rgba(6,58,119,0.8) 0%,rgba(125,185,232,0) 100%);
  }
}
.royal-hero__title {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding-top: 111px;
  padding-inline: var(--ro-space-edge);
  text-align: center;
  @media screen and (max-width: 768px) {
    padding-top: 91px;
  }
}

.royal-summary {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--ro-color-blue);
  @media screen and (max-width: 960px) {
    bottom: -20px;
    min-height: 390px;
  }
}
.royal-summary__inner {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px var(--ro-space-edge) 10px;
  @media screen and (max-width: 960px) {
    flex-direction: column;
    padding-top: 18px;
  }
}
.royal-summary__logo {
  margin: 0;
  padding-inline: clamp(10px, 22 / 1366 * 100vw, 22px);
  @media screen and (max-width: 960px) {
    position: absolute;
    top: 14px;
    left: 16px;
    padding: 0;
    img {
      width: 50px;
    }
  }
}
.royal-summary__main {
  flex: 1;
  margin-block: auto;
  margin-inline: 8px 14px;
  @media screen and (max-width: 960px) {
    margin-inline: 0;
  }
}
.royal-summary__lead {
  position: relative;
  margin: 0;
  padding-bottom: 11px;
  color: white;
  font-size: 1.8rem;
  font-size: clamp(10px, 18 / 1366 * 100vw, 18px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: center;
  @media screen and (max-width: 990px) {
    font-size: clamp(10px, 17 / 1366 * 100vw, 18px);
  }
  @media screen and (max-width: 960px) {
    min-height: 4em;
    padding-bottom: 16px;
    padding-left: 55px;
    text-align: left;
    line-height: 1.5;
    font-size: clamp(10px, 16 / 390 * 100vw, 18px);
  }
  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ro-gradient);
  }
}
.royal-summary__text {
  position: relative;
  display: flex;
  margin-top: 10px;
  font-family: var(--ro-font-zen);
  font-size: 2rem;
  font-size: clamp(10px, 20 / 1366 * 100vw, 20px);
  font-weight: 700;
  @media screen and (max-width: 960px) {
    flex-direction: column;
    font-size: clamp(10px, 17 / 390 * 100vw, 20px);
  }
  b {
    font-size: 2.6rem;
    font-size: clamp(10px, 26 / 1366 * 100vw, 26px);
    line-height: 1.2;
    @media screen and (max-width: 960px) {
      font-size: clamp(10px, 23 / 390 * 100vw, 26px);
    }
  }
  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 0;
    width: 11px;
    height: 100%;
    background: var(--ro-color-blue);
  }
  &::before {
    left: 0;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    @media screen and (max-width: 960px) {
      clip-path: polygon(100% 33%, 0 66%, 100% 100%, 0 100%, 0 0);
    }
  }
  &::after {
    right: -1px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    @media screen and (max-width: 960px) {
      right: 0;
      clip-path: polygon(100% 0, 100% 100%, 0 100%, 100% 66%, 0 33%);
    }
  }
}
.royal-summary__people {
  flex: 240;
  margin: 0;
  /* padding-inline: 30px; */
  background: var(--ro-color-brown);
  color: white;
  text-align: center;
  @media screen and (max-width: 960px) {
    padding-block: 6px;
  }
}
.royal-summary__period {
  flex: 410;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  margin: 0;
  padding: 0;
  background: #EEE6D0;
  color: #805C12;
  @media screen and (max-width: 960px) {
    padding-block: 6px;
  }
  dt {
    margin: 0;
    padding: 0;
  }
  dd {
    margin: 0;
    padding: 0;
    .from {
      display: inline-block;
      margin-inline: 10px;
      width: 9px;
      height: 1.5rem;
      overflow: hidden;
      background: url(../img/arrow_from.png) no-repeat center center / 100% auto;
      font-size: 0;
    }
  }
}
.royal-summary__departure {
  flex: 255;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  margin: 0;
  padding: 0 5px 0 0;
  background: #fff;
  color: var(--ro-color-blue);
  @media screen and (max-width: 960px) {
    padding: 6px 0;
  }
  dt {
    margin: 0;
    padding: 0;
  }
  dd {
    margin: 0;
    padding: 0;
  }
}
.royal-summary__illust {
  margin: 0;
  @media screen and (max-width: 960px) {
    margin-top: 16px;
    text-align: center;
    img {
      width: auto;
      height: 114px;
    }
  }
}

.royal-sptour {
  padding: 70px 0 96px;
  background: var(--ro-color-beige) url(../img/bg_special_tour.png);
  background-size: 231px auto;
  @media screen and (max-width: 960px) {
    margin-top: 20px;
    padding-bottom: 88px;
    background-size: 105px auto;
  }
}
.royal-sptour__header {
  margin-bottom: 40px;
  @media screen and (max-width: 768px) {
    margin-bottom: 32px;
  }
}
.royal-sptour__bigTitle {
  margin: 0 auto 10px;
  text-align: center;
  font-size: 158px;
  font-size: clamp(10px, 158 / 1320 * 100vw, 158px);
  font-family: var(--ro-font-zen);
  font-weight: 700;
  color: rgba(255, 255, 255, .35);
  line-height: 1;
  @media screen and (max-width: 960px) {
    font-size: clamp(10px, 72 / 390 * 100vw, 72px);
  }
}
.royal-sptour__lead {
  margin-bottom: 0;
  text-align: center;
  font-size: 3.2rem;
  font-weight: 700;
  font-family: var(--ro-font-zen);
  color: white;
  line-height: 1.4;
  @media screen and (max-width: 768px) {
    font-size: clamp(10px, 28 / 360 * 100vw, 28px);
  }
}

.royal-section {
  margin-bottom: 40px;
  @media screen and (max-width: 768px) {
    margin-bottom: 32px;
  }
}

/* 白背景のボックス */
.royal-sectionBox {
  box-sizing: border-box;
  max-width: var(--ro-width-main);
  margin-inline: auto;
  padding: 54px 72px;
  background: rgba(255, 255, 255, .9);
  @media screen and (max-width: 1023px) {
    margin-inline: var(--ro-space-edge);
  }
  @media screen and (max-width: 768px) {
    padding: 36px 16px;
  }
}

/* 虹色ボーダーのタイトル */
.royal-title.-style01 {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 34px;
  padding-bottom: 5px;
  text-align: center;
  font-family: var(--ro-font-zen);
  font-size: 2.4rem;
  font-size: clamp(22px, 22 / 460 * 100vw, 24px);
  font-weight: 700;
  color: var(--ro-color-blue);
  &::after,
  &::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ro-gradient);
  }
  &::after {
    bottom: -8px;
    height: 4px;
  }
}

/* ボタン */
.royal-btn {
  max-width: 440px;
  margin-bottom: 0;
  margin-inline: auto;
  text-align: center;
  &.-end {
    padding: 20px;
    font-size: 1.8rem;
    font-weight: 500;
    background: #666;
    border: 2px solid white;
    color: white;
  }
}
.royal-btn__link {
  box-sizing: border-box;
  display: block;
  width: auto;
  margin-inline: auto;
  padding: 18px 20px;
  text-align: center;
  color: white;
  background: #000 url(../img/arrow_btn.png) no-repeat calc(100% - 24px) center / 32px auto;
  text-decoration: none;
  line-height: 1.6;
  transition: all .3s;
  &[target="_blank"] {
    padding-right: 35px;
    background-image: url(../img/icon_blank.png);
    background-position: calc(100% - 16px) center;
    background-size: 13px auto;
  }
}
.royal-btn.-brown .royal-btn__link {
  background-color: var(--ro-color-brown);
  &:hover {
    background-color: var(--ro-color-blue);
    color: white;
  }
}
.royal-btn.-blue .royal-btn__link {
  background-color: var(--ro-color-blue);
  &:hover {
    background-color: var(--ro-color-brown);
    color: white;
  }
}
.royal-btn.-white .royal-btn__link {
  background-color: white;
  background-image: url(../img/arrow_btn_black.png);
  border: 1px solid #000;
  color: var(--ro-color-text);
  &:hover {
    background-image: url(../img/arrow_btn.png);
    background-color: var(--ro-color-blue);
    color: white;
  }
  &[target="_blank"] {
    padding-right: 35px;
    background-image: url(../img/icon_blank_blue.png);
    background-position: calc(100% - 16px) center;
    background-size: 13px auto;
    &:hover {
      background-image: url(../img/icon_blank.png);
    }
  }
}


.royal-overview__lead {
  margin-bottom: 26px;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ro-color-blue);
  @media screen and (max-width: 768px) {
    font-size: 1.6rem;
  }
}

.royal-overview__data {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.royal-overview__dataList {
  margin: 0;
  padding: 0;
}
.royal-overview__dataItem {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  line-height: 1.4;
  &:last-child {
    margin-bottom: 0;
  }
  @media screen and (max-width: 768px) {
    gap: 9px;
  }
  dt {
    width: 112px;
    margin: 0;
    padding: 5px 0;
    background: var(--ro-color-blue);
    font-family: var(--ro-font-zen);
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    text-align: center;
    @media screen and (max-width: 768px) {
      width: 80px;
      font-size: 1.4rem;
    }
  }
  dd {
    flex: 1;
    margin: 0;
    padding: 0 0;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--ro-font-zen);
    @media screen and (max-width: 768px) {
      padding-top: 3px;
      font-size: 1.6rem;
    }
    .year {
      font-size: 2.8rem;
      line-height: 1;
      @media screen and (max-width: 768px) {
        font-size: 2.4rem;
      }
    }
    b {
      font-size: 3.8rem;
      line-height: 1;
      @media screen and (max-width: 768px) {
        font-size: 3.2rem;
      }
    }
    .dayweek {
      font-size: 1.8rem;
      font-weight: 400;
      @media screen and (max-width: 768px) {
        font-size: 1.6rem;
      }
    }
    .oneway {
      margin-left: 13px;
      padding: 2px 8px;
      background: #6684a7;
      font-family: var(--font-base);
      font-weight: 500;
      font-size: 1.3rem;
      color: white;
      @media screen and (max-width: 768px) {
        display: block;
        margin-top: 5px;
        margin-left: 0;
        text-align: center;
      }
    }
    .notes li {
      font-family: var(--font-base);
      font-weight: 400;
      @media screen and (max-width: 768px) {
        font-size: 1.2rem;
      }
    }
    &.start {
      margin-top: -5px;
      letter-spacing: 1px;
      @media screen and (max-width: 768px) {
        margin-top: -7px
      }
    }
  }
}

/* ツアー行程 */
.royal-process__main {
  margin-bottom: 40px;
  padding: 16px 20px 10px;
  background: white;
  @media screen and (max-width: 768px) {
    margin-bottom: 32px;
    padding-inline: 16px;
  }
  table {
    margin: 0 auto;
    @media screen and (max-width: 768px) {
      tr th:first-child {
        width: 85px;
      }
    }
    thead {
      th {
        background: #6684a7;
        color: white;
        font-size: 1.3rem;
        font-weight: 500;
        &:first-child {
          border-right: 8px solid white;
          @media screen and (max-width: 768px) {
            border-right-width: 4px;
          }
        }
      }
    }
    tbody {
      th {
        position: relative;
        color: var(--ro-color-blue);
        font-size: 1.4rem;
        vertical-align: top;
        padding-top: 5px;
        &::before {
          content: "";
          position: absolute;
          top: 19px;
          left: 19px;
          width: 2px;
          height: calc(100% - 7px);
          background: var(--ro-color-blue);
        }
        span {
          position: relative;
          display: block;
          &::before {
            content: "";
            position: absolute;
            top: 0.45em;
            left: 12px;
            z-index: 2;
            width: 10px;
            height: 10px;
            border-radius: 100px;
            background: white;
            border: 2px solid var(--ro-color-blue);
          }
        }
      }
      tr:last-child th {
        &::before {
          content: none;
        }
      }
      td {
        padding-top: 5px;
        font-weight: 700;
        font-size: 1.6rem;
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .royal-process__main table tbody th::before {
    left: 7px;
  }
  .royal-process__main table tbody th span::before {
    left: 0;
  }
}

/* 無限横スクロール */
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.royal-scrollImage__wrap {
  display: flex;
  overflow: hidden;
}
.royal-scrollImage__inner {
  display: flex;
  list-style: none;
  padding: 0;
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
.royal-scrollImage__item {
  width: 320px;
  @media screen and (max-width: 768px) {
    width: 180px;
    height: 135px;
  }
}

/* について */
.royal-about {
  padding-block: 96px 0;
  @media screen and (max-width: 768px) {
    padding-block: 88px 0;
  }
}
.royal-about__title {
  margin: 0 auto 33px;
  padding-inline: var(--ro-space-edge);
  text-align: center;
  @media screen and (max-width: 768px) {
    padding-inline: calc(var(--ro-space-edge) * 2);
    img {
      min-height: 107px;
    }
  }
}
.royal-about__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3%;
  padding-bottom: 96px;
  background: white;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 55px;
    padding-inline: var(--ro-space-edge);
  }
}
.royal-about__mainText {
  flex: 1;
  margin-left: 84px;
  margin-left: clamp(10px, 84 / 1366 * 100vw, 160px);
  p {
    margin-bottom: 30px;
  }
  @media screen and (max-width: 768px) {
    margin-left: 0;
  }
}
.royal-about__mainImage {
  @media screen and (max-width: 1260px) {
    flex: 1;
  }
  @media screen and (max-width: 768px) {
    margin-right: -16px;
    img {
      min-height: 126px;
    }
  }
}

.royal-about__footer {
  img {
    width: 100%;
    height: auto;
    min-height: 130px;
  }
}

/* 応募要項とかの部分 */
.royal-guidelines {
  padding: 96px 0;
  background: var(--ro-color-blue) url(../img/bg_guidelines.png);
  background-size: 200px auto;
  @media screen and (max-width: 768px) {
    padding-block: 88px;
    background-size: 160px auto;
  }
}

.royal-guidelines__list {
  margin: 0 0 40px;
  dt {
    margin: 0 0 4px;
    padding-left: 23px;
    background: url(../img/title_guidelines.png) no-repeat left center / 16px auto;
    color: var(--ro-color-blue);
    font-weight: 700;
    font-size: 1.6rem;
  }
  dd {
    margin: 0 0 20px;
    font-size: 1.4rem;
    b {
      font-weight: 500;
    }
  }
}
