@charset "UTF-8";
/* =========================================================
   Reset & Base for Resorts Ryukyu
   - 1.6rem = 16px（html 62.5% 前提）
   - Base font: Jost + Noto Sans JP
========================================================= */

/* 全要素 box-sizing を border-box に */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ルート */
html {
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* ベース */
body {
  background-color: #fff;
  color: #000;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  margin: 0;
  min-height: 100vh;
}

/* メディア要素 */
img,
picture,
svg,
video,
canvas {
  display: block;
  height: auto;
  max-width: 100%;
}

/* 見出し（サイズは各所で上書き） */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

/* 段落 */
p {
  margin: 0;
}

/* リスト */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

/* アンカー共通（装飾はコンポーネント側で上書き前提） */
a {
  background-color: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

/* 特に指定のない a:hover はサイト共通でこれ */
a:hover {
  opacity: 0.8;
}

/* フォーム要素 */
button,
input,
select,
textarea {
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  outline: none;
}

button,
input[type=button],
input[type=submit],
input[type=reset] {
  cursor: pointer;
}

/* テーブル（最小限） */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* アクセシビリティ：Tabフォーカス */
:focus-visible {
  outline: 3px solid Highlight;
  outline-offset: 2px;
}

/* ヘッダーのメニューボタン・SNSのみフォーカス枠を非表示 */
.rr-header__menu-toggle:focus-visible,
.rr-header__mega-sns-link:focus-visible {
  outline: none;
}

html {
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
}

.sp {
  display: none;
}

.pc {
  display: block;
}

br.sp {
  display: none;
}

br.pc {
  display: inline;
}

.l-inner {
  margin: 0 auto;
  width: 1180px;
}

@media (min-width: 768px) and (max-width: 1179px) {
  .l-inner {
    padding-inline: 40px;
  }
}

@media (max-width: 767px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  br.pc {
    display: none;
  }

  br.sp {
    display: inline;
  }

  .l-inner {
    width: 100%;
  }
}

.rr-header {
  background-color: rgba(33, 35, 136, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  color: #222222;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.home .rr-header {
  background-color: transparent;
  box-shadow: none;
}

.home .rr-header.is-scrolled {
  background-color: rgba(33, 35, 136, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.rr-header__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  height: 85px;
  margin: 0 auto;
  padding: 0 0 0 50px;
}

.rr-header__logo img {
  display: block;
  height: 45px;
}

.rr-header__nav {
  margin-left: auto;
}

.rr-header__nav-list {
  align-items: center;
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rr-header__nav-item a {
  color: #fff;
  display: inline-block;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  padding-block: 4px;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.rr-header__nav-item a:hover {
  color: #212388;
}

.rr-header__utilities {
  align-items: center;
  display: flex;
  gap: 30px;
  margin-left: 15px;
  padding-right: 43px;
}

.rr-header__utility-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 1.4rem;
  justify-content: center;
  letter-spacing: 0.08em;
  padding: 0.2em 2em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.rr-header__utility-btn--primary,
.rr-header__utility-btn--secondary {
  background-color: #212388;
  border-color: #212388;
  color: #fff;
}

/* ← ここに SVG を追加 */
.rr-header__utility-btn--secondary {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.rr-header__utility-btn--secondary::before {
  background: url("../img/common/en.svg") no-repeat center/contain;
  content: "";
  display: inline-block;
  height: 16px;
  width: 16px;
}

/* secondary の hover（不要分）を削除済み */
.rr-header__menu-toggle {
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.rr-header__menu-toggle-label {
  display: none;
}

.rr-header__menu-toggle-bars {
  display: inline-block;
  height: 28px;
  position: relative;
  width: 30px;
}

.rr-header__menu-toggle-bars::after {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  content: "";
  display: block;
  height: 30px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  z-index: 0;
}

.rr-header__menu-toggle-bar {
  background-color: #ffffff;
  border-radius: 999px;
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  transition: none;
  z-index: 1;
}

.rr-header__menu-toggle-bar:nth-child(1) {
  top: 0;
}

.rr-header__menu-toggle-bar:nth-child(2) {
  top: 12px;
}

.rr-header__menu-toggle-bar:nth-child(3) {
  top: 24px;
}

.rr-header.is-menu-interacted:not(.rr-header--open)
  .rr-header__menu-toggle-bar:nth-child(1) {
  animation: rr-menu-bar01 0.5s forwards;
}

.rr-header.is-menu-interacted:not(.rr-header--open)
  .rr-header__menu-toggle-bar:nth-child(2) {
  animation: rr-menu-bar02 0.5s forwards;
}

.rr-header.is-menu-interacted:not(.rr-header--open)
  .rr-header__menu-toggle-bar:nth-child(3) {
  animation: rr-menu-bar03 0.5s forwards;
}

.rr-header--open .rr-header__menu-toggle-bars::after {
  animation: rr-menu-circle 0.5s;
}

.rr-header--open .rr-header__menu-toggle-bar:nth-child(1) {
  animation: rr-menu-active-bar01 0.5s 0.5s forwards;
}

.rr-header--open .rr-header__menu-toggle-bar:nth-child(2) {
  animation: rr-menu-active-bar02 0.5s 0.5s forwards;
}

.rr-header--open .rr-header__menu-toggle-bar:nth-child(3) {
  animation: rr-menu-active-bar03 0.5s 0.5s forwards;
}

@keyframes rr-menu-bar01 {
  0% {
    transform: translateY(12px) rotate(-45deg);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes rr-menu-bar02 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes rr-menu-bar03 {
  0% {
    transform: translateY(-12px) rotate(45deg);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes rr-menu-circle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.5);
  }
}

@keyframes rr-menu-active-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(12px) rotate(-45deg);
  }
}

@keyframes rr-menu-active-bar02 {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes rr-menu-active-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(-12px) rotate(45deg);
  }
}

/* =======================================
   HEADER MEGA MENU (single source of truth)
======================================= */
.rr-header__mega {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  transition-delay: 0s;
  z-index: 900;
}

.rr-header--open .rr-header__mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.rr-header__mega-backdrop {
  background: rgba(0, 0, 0, 0.4);
  inset: 0;
  position: absolute;
}

.rr-header__mega-panel {
  inset: 40px;
  margin: 0 auto;
  max-width: 1350px;
  position: absolute;
}

.rr-header__mega-inner {
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  padding: 45px 75px;
  position: relative;
}

.rr-header__mega-sns {
  column-gap: 14px;
  display: flex;
  position: absolute;
  right: 180px;
  top: 56px;
}

.rr-header__mega-sns-link {
  display: block;
}

.rr-header__mega-sns-link img {
  height: auto;
  width: 18px;
}

.rr-header__mega-close {
  align-items: center;
  background-color: transparent;
  color: #222222;
  display: inline-flex;
  font-size: 2.4rem;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 28px;
  top: 22px;
  width: 40px;
}

/* --- Mega grid layout --- */
.rr-header__mega-grid {
  column-gap: 40px;
  display: grid;
  grid-template-areas:
    "corp biz biz"
    "lower lower banners";
  grid-template-columns: 320px 1fr 340px;
  row-gap: 24px;
}

.rr-header__mega-grid__banners {
  grid-area: banners;
}

.rr-header__mega-grid__biz {
  grid-area: biz;
}

.rr-header__mega-grid__corp {
  grid-area: corp;
}

.rr-header__mega-grid__lower {
  display: grid;
  grid-area: lower;
  padding-right: 80px;
  row-gap: 24px;
}

.rr-header__mega-links {
  padding-left: 360px;
}

.rr-header__mega-area {
  color: #000;
  flex: 0 0 auto;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
  width: var(--rr-header-mega-area-w);
}

.rr-header__mega-area--spacer {
  visibility: hidden;
}

.rr-header__mega-banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rr-header__mega-banner {
  border-radius: 12px;
  color: #222222;
  display: block;
  padding: 12px 16px;
  text-decoration: none;
}

.rr-header__mega-banner-sub {
  color: #777777;
  display: block;
  font-size: 0.75rem;
}

.rr-header__mega-banner-title {
  display: block;
  font-size: 0.9rem;
}

.rr-header__mega-bottom-nav {
  border-bottom: 1px solid #C9C9C9;
  border-top: 1px solid #C9C9C9;
  margin-top: 0;
  padding: 12px 0;
}

.rr-header__mega-bottom-list {
  column-gap: 40px;
  display: flex;
  justify-content: space-between;
}

.rr-header__mega-bottom-list a {
  align-items: center;
  color: #222222;
  column-gap: 10px;
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-decoration: none;
}

.rr-header__mega-ctas {
  column-gap: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 38px;
  row-gap: 12px;
}

.rr-header__mega-ctas .rr-header__utility-btn {
  padding: 0.1em 2em;
}

.p-hero__contact--mini {
  align-items: center;
  background-color: rgba(255,255,255,0.9);
  border: 1px solid #707070;
  border-radius: 9999px;
  color: #000;
  display: inline-flex;
  font-size: 1.3rem;
  padding: 12px 28px;
  text-decoration: none;
  z-index: 3;
}

.p-hero__contact--mini::before {
  background-image: url("../img/top/contact-icon.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 20px;
  margin-right: 8px;
  width: 20px;
}

.rr-header__mega-heading {
  margin-bottom: 18px;
}

.rr-header__mega-heading-arrow {
  background: url("../img/top/arrow_blue.svg") no-repeat center/contain;
  display: inline-block;
  height: 10px;
  margin-left: 5px;
  width: 10px;
}

.rr-header__mega-heading-link {
  color: #222222;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.rr-header__mega-hotel-list {
  display: flex;
  flex-direction: column;
  row-gap: 14px;
  --rr-header-mega-area-w: 5em;
}

.rr-header__mega-hotel-list li {
  align-items: center;
  column-gap: 12px;
  display: flex;
  min-width: 0;
}

.rr-header__mega-hotel-list a {
  color: #222222;
  column-gap: 12px;
  display: inline-flex;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  min-width: 0;
  text-decoration: none;
}

.rr-header__mega-ext {
  background: url("../img/common/arrow_b.svg") no-repeat center/contain;
  display: inline-block;
  flex: 0 0 auto;
  height: 1em;
  margin-left: 5px;
  width: 1em;
}

.rr-header__mega-hotels {
  column-gap: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  row-gap: 10px;
}

.rr-header__mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rr-header__mega-list li + li {
  margin-top: 12px;
}

.rr-header__mega-list a {
  align-items: center;
  color: #222222;
  column-gap: 12px;
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-decoration: none;
}

.rr-header__mega-list a::before {
  background-color: #707070;
  content: "";
  display: inline-block;
  height: 1px;
  width: 20px;
}

.rr-header__mega-note {
  color: #000;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-left: 32px;
  margin-top: 6px;
}

.rr-header__mega-privacy {
  margin-top: 20px;
}

.rr-header__mega-privacy a {
  align-items: center;
  color: #222222;
  column-gap: 10px;
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.rr-header__mega-subtitle-row {
  margin-top: 6px;
}

.rr-header__mega-subtitle-link {
  align-items: center;
  color: #222222;
  column-gap: 10px;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-decoration: none;
}

@media (max-width: 767px) {
  html:has(.rr-header--open),
  body:has(.rr-header--open) {
    overflow: hidden;
  }

  .rr-header__inner {
    gap: 0;
    justify-content: space-between;
    margin: 0;
    padding-inline: 16px;
    width: auto;
  }

  .rr-header__nav {
    display: none;
  }

  .rr-header__utilities {
    gap: 0;
    margin-left: 0;
    padding-right: 0;
  }

  .rr-header__utilities > .rr-header__utility-btn {
    display: none;
  }

  .rr-header__mega {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }

  .rr-header__mega-backdrop {
    position: fixed;
  }

  .rr-header__mega-panel {
    inset: auto;
    margin: 16px;
    max-width: none;
    position: relative;
  }

  .rr-header__mega-inner {
    padding: 70px 20px 20px;
  }

  .rr-header__mega-sns {
    left: 20px;
    right: auto;
    top: 30px;
  }

  .rr-header__mega-grid {
    grid-template-areas:
      "corp"
      "biz"
      "lower"
      "banners";
    grid-template-columns: minmax(0, 1fr);
  }

  .rr-header__mega-grid > * {
    min-width: 0;
  }

  .rr-header__mega-heading {
    margin-bottom: 10px;
  }

  .rr-header__mega-links {
    padding-left: 0;
  }

  .rr-header__mega-ctas {
    margin-top: 20px;
    row-gap: 20px;
  }

  .rr-header__mega-banner,
  .rr-header__mega-banner img {
    width: 100%;
  }

  .rr-header__mega-bottom-list {
    flex-direction: column;
    row-gap: 14px;
  }

  .rr-header__mega-hotels {
    grid-template-columns: 1fr;
  }

  .rr-header__mega-hotel-list .rr-header__mega-area--spacer {
    display: none;
  }

  .rr-header__mega-hotel-list
    li:has(.rr-header__mega-area:not(.rr-header__mega-area--spacer)) {
    align-items: flex-start;
    flex-direction: column;
    row-gap: 4px;
  }

  .rr-header__mega-hotel-list
    li:has(.rr-header__mega-area:not(.rr-header__mega-area--spacer))
    .rr-header__mega-area {
    margin-bottom: 15px;
    padding-top: 10px;
    width: auto;
  }
}

.rr-footer {
  background: url("../img/footer/footer-bg.webp") center/cover no-repeat;
  color: #fff;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  min-height: 930px;
  overflow: hidden;
  padding: 0 70px 40px;
  position: relative;
}

.rr-footer__aside {
  left: 50px;
  position: absolute;
  top: 34px;
}

.rr-footer__logo img {
  display: block;
  height: 45px;
}

.rr-footer__sns {
  display: flex;
  gap: 24px;
}

.rr-footer__sns img {
  display: block;
  height: auto;
  width: 28px;
}

.rr-footer__inner {
  margin: 0 0 0 auto;
  max-width: 1090px;
  padding-top: 190px;
  position: relative;
  z-index: 2;
}

.rr-footer__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 100px;
}

.rr-footer__nav {
  column-gap: 115px;
  display: grid;
  grid-template-columns: repeat(2, minmax(310px, 1fr));
  max-width: 735px;
  width: 100%;
}

.rr-footer__nav-section + .rr-footer__nav-section {
  margin-top: 44px;
}

.rr-footer__nav-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.rr-footer__nav-list {
  margin-top: 13px;
  padding-left: 40px;
}

.rr-footer__nav-list li + li {
  margin-top: 10px;
}

.rr-footer__nav-list a {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 1.6rem;
  gap: 10px;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.rr-footer__nav-list a::before {
  background-color: #fff;
  content: "";
  flex: 0 0 auto;
  height: 1px;
  width: 24px;
}

.rr-footer__nav-list a.is-ext {
  padding-right: 22px;
  position: relative;
}

.rr-footer__nav-list a.is-ext::after {
  background-image: url("../img/footer/icon-footer-external.svg");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 14px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
}

.rr-footer__nav-direct {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 29px;
}

.rr-footer__nav-direct a {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.rr-footer__banners {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.rr-footer__banner {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.rr-footer__banner img {
  display: block;
  height: auto;
  width: 100%;
}

.rr-footer__bottom {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: flex-end;
}

.rr-footer__copy {
  font-size: 1.7rem;
  font-weight: 600;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .rr-footer {
    min-height: 0;
    padding: 40px 20px 50px;
  }

  .rr-footer__aside {
    left: auto;
    margin-bottom: 50px;
    position: relative;
    top: auto;
  }

  .rr-footer__sns {
    gap: 18px;
  }

  .rr-footer__sns img {
    width: 24px;
  }

  .rr-footer__inner {
    margin: 0;
    max-width: none;
    padding-top: 0;
  }

  .rr-footer__top {
    display: none;
  }

  .rr-footer__nav {
    gap: 40px;
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
  }

  .rr-footer__nav-direct {
    gap: 20px;
  }

  .rr-footer__banners {
    display: none;
  }

  .rr-footer__bottom {
    gap: 24px;
    justify-content: center;
  }
}

/*---common---*/
.c-anim-btn {
  align-items: center;
  background: #212388;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 1.4rem;
  font-weight: 400;
  justify-content: space-between;
  letter-spacing: 0.08em;
  line-height: 1.6;
  padding: 5px 40px 5px 50px;
  text-decoration: none;
}

.c-anim-btn:hover {
  opacity: 1;
}

.c-anim-btn__hover {
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.c-anim-btn__hover-text {
  display: inline-block;
  opacity: 1;
  padding: 0.6em 0;
  transform: translateY(0);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.15, 0.85, 0.45, 1);
}

.c-anim-btn__hover-text:nth-child(2) {
  left: 0;
  opacity: 0;
  position: absolute;
  top: 100%;
}

.c-anim-btn__icon {
  height: 20px;
  margin-left: 15px;
  overflow: hidden;
  position: relative;
  width: 20px;
}

/* main.css 687行付近：このブロックを置き換え */
.c-anim-btn__icon::before {
  background-image: url("../img/common/arrow_animation.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px auto;
  content: "";
  height: 20px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
}

@media (hover: hover) {
  .c-anim-btn:hover .c-anim-btn__hover-text {
    opacity: 0;
    transform: translateY(-100%);
  }

  .c-anim-btn:hover .c-anim-btn__hover-text:nth-child(2) {
    opacity: 1;
  }

  .c-anim-btn:hover .c-anim-btn__icon::before {
    animation: icon-arrow 0.4s cubic-bezier(0.29, 0.65, 0.62, 1) forwards;
  }
}

@keyframes icon-arrow {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  37% {
    opacity: 1;
    transform: translate(calc(3rem - 50%), -50%);
  }

  38% {
    opacity: 0;
    transform: translate(calc(3rem - 50%), -50%);
  }

  39% {
    opacity: 0;
    transform: translate(calc(-3rem - 50%), -50%);
  }

  40% {
    opacity: 1;
    transform: translate(calc(-3rem - 50%), -50%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* =======================================
   LOWER PAGE HERO
======================================= */
.c-lower-hero {
  color: #fff;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.c-lower-hero__inner {
  align-items: center;
  display: flex;
  min-height: 760px;
  padding-top: 85px;
  position: relative;
  z-index: 2;
}

.c-lower-hero__media {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.c-lower-hero__media img,
.c-lower-hero__media video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.c-lower-hero__overlay {
  background-color: rgba(0, 0, 0, 0.25);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.c-lower-hero__title {
  font-size: 8rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.c-lower-hero__subtitle {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-top: 16px;
}

.c-lower-hero__lead {
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  line-height: 2;
  margin-top: 44px;
}

/* =======================================
   LOWER PAGE RECRUIT BANNER
======================================= */
.c-recruit-banner {
  background-image: url("../img/top/recruit.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.c-recruit-banner::before {
  background-color: rgba(0, 0, 0, 0.35);
  content: "";
  inset: 0;
  position: absolute;
}

.c-recruit-banner__inner {
  position: relative;
  z-index: 1;
}

.c-recruit-banner__content {
  color: #fff;
  padding: 200px 40px;
  text-align: center;
}

.c-recruit-banner__label {
  font-size: 2rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.c-recruit-banner__title {
  font-size: 8.1rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 20px;
}

.c-recruit-banner__text {
  font-size: 1.6rem;
  line-height: 2;
  margin: 0 0 28px;
}

.c-recruit-banner__button {
  display: inline-flex;
  font-size: 1.6rem;
  padding: 5px 30px;
}

.c-recruit-banner__note {
  font-size: 1.4rem;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .c-lower-hero,
  .c-lower-hero__inner {
    min-height: 0;
  }

  .c-lower-hero__inner {
    padding: 135px 20px 45px;
  }

  .c-lower-hero__title {
    font-size: 4rem;
  }

  .c-lower-hero__subtitle {
    font-size: 1.8rem;
    margin-top: 12px;
  }

  .c-lower-hero__lead {
    font-size: 1.6rem;
    line-height: 1.9;
    margin-top: 30px;
  }

  .c-recruit-banner {
    background-image: url("../img/top/recruit_sp.webp");
  }

  .c-recruit-banner__content {
    padding: 45px 40px;
  }

  .c-recruit-banner__label {
    font-size: 1.8rem;
  }

  .c-recruit-banner__title {
    font-size: 4rem;
  }

  .c-recruit-banner__text {
    font-size: 1.5rem;
    text-align: left;
  }
}

/* =======================================
   COMPANY EXPLORE
======================================= */
.c-company-explore {
  background-color: #f6f6f6;
  padding: 100px 0 110px;
}

.c-company-explore__label {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.c-company-explore__title {
  font-size: 5.8rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-top: 8px;
}

.c-company-explore__grid {
  column-gap: 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 56px;
  row-gap: 24px;
}

.c-company-explore__item {
  align-items: center;
  background-color: #fff;
  background-image:
    linear-gradient(
      90deg,
      rgba(164, 178, 255, 0.76) 0,
      rgba(164, 178, 255, 0.76) 46%,
      #fff 46%
    );
  box-shadow: 0 4px 14px rgba(33, 35, 136, 0.05);
  column-gap: 18px;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    26px;
  min-height: 78px;
  padding: 12px 18px 12px 28px;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.c-company-explore__item:hover {
  box-shadow: 0 8px 22px rgba(33, 35, 136, 0.12);
  opacity: 1;
}

.c-company-explore__item.is-current {
  background-image:
    linear-gradient(
      90deg,
      #8ea4ff 0,
      #8ea4ff 46%,
      #fff 46%
    );
}

.c-company-explore__item-ja {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.c-company-explore__item-en {
  color: #212388;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

.c-company-explore__arrow {
  background-image: url("../img/top/arrow_blue.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 9px auto;
  height: 20px;
  justify-self: end;
  width: 20px;
}

/* =======================================
   COMPANY BUSINESS
======================================= */
.p-company-business {
  background-color: #fff;
  overflow: hidden;
  padding: 150px 0 160px;
}

.p-company-business__head {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
}

.p-company-business__label {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.p-company-business__title {
  font-size: 7rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-top: 8px;
}

.p-company-business__controls {
  column-gap: 14px;
  display: flex;
  padding-bottom: 5px;
}

.p-company-business__arrow {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px auto;
  border: 1px solid #b8b8b8;
  border-radius: 50%;
  height: 48px;
  padding: 0;
  transition: opacity 0.2s ease;
  width: 48px;
}

.p-company-business__arrow:disabled {
  cursor: default;
  opacity: 0.35;
}

.p-company-business__arrow--next {
  background-image: url("../img/top/arrow_blue.svg");
}

.p-company-business__arrow--prev {
  background-image: url("../img/top/arrow_blue.svg");
  transform: rotate(180deg);
}

.p-company-business__viewport {
  --p-company-business-offset:
    calc((100vw - 1180px) / 2);
  --p-company-business-visible-count: 3;

  margin-top: 78px;
  overflow: hidden;
}

.p-company-business__track {
  column-gap: 58px;
  display: flex;
  padding:
    0
    70px
    20px
    var(--p-company-business-offset);
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s ease;
  width: max-content;
  will-change: transform;
}

.p-company-business__card {
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(20, 32, 70, 0.16);
  display: block;
  flex: 0 0 350px;
}

.p-company-business__card:hover {
  opacity: 1;
}

.p-company-business__image {
  aspect-ratio: 350 / 238;
  overflow: hidden;
}

.p-company-business__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.p-company-business__card:hover
  .p-company-business__image img {
  transform: scale(1.04);
}

.p-company-business__body {
  min-height: 106px;
  padding: 18px 46px 18px 20px;
  position: relative;
}

.p-company-business__name-en {
  color: #212388;
  font-size: 2.3rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.p-company-business__name-ja {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-top: 7px;
}

.p-company-business__card-arrow {
  background-color: #212388;
  background-image:
    url("../img/common/arrow_animation.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 9px auto;
  border-radius: 50%;
  bottom: 20px;
  height: 24px;
  position: absolute;
  right: 18px;
  width: 24px;
}

@media (min-width: 768px) and (max-width: 1179px) {
  .p-company-business__viewport {
    --p-company-business-offset: 40px;
  }
}

@media (max-width: 767px) {
  .c-company-explore {
    padding: 78px 20px 84px;
  }

  .c-company-explore__label {
    font-size: 1.3rem;
  }

  .c-company-explore__title {
    font-size: 4.2rem;
  }

  .c-company-explore__grid {
    display: block;
    margin-top: 40px;
  }

  .c-company-explore__item {
    background-image:
      linear-gradient(
        90deg,
        rgba(164, 178, 255, 0.76) 0,
        rgba(164, 178, 255, 0.76) 42%,
        #fff 42%
      );
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(0, 1.1fr)
      20px;
    min-height: 68px;
    padding: 10px 14px 10px 18px;
  }

  .c-company-explore__item
    + .c-company-explore__item {
    margin-top: 14px;
  }

  .c-company-explore__item.is-current {
    background-image:
      linear-gradient(
        90deg,
        #8ea4ff 0,
        #8ea4ff 42%,
        #fff 42%
      );
  }

  .c-company-explore__item-ja {
    font-size: 1.2rem;
  }

  .c-company-explore__item-en {
    font-size: 1.4rem;
  }

  .p-company-business {
    padding: 90px 0 100px;
  }

  .p-company-business__head {
    align-items: center;
    padding: 0 20px;
  }

  .p-company-business__label {
    font-size: 1.6rem;
  }

  .p-company-business__title {
    font-size: 4rem;
  }

  .p-company-business__controls {
    column-gap: 8px;
  }

  .p-company-business__arrow {
    height: 40px;
    width: 40px;
  }

  .p-company-business__viewport {
    --p-company-business-offset: 20px;
    --p-company-business-visible-count: 1;

    margin-top: 48px;
  }

  .p-company-business__track {
    column-gap: 20px;
    padding-right: 20px;
  }

  .p-company-business__card {
    flex-basis: min(78vw, 320px);
  }

  .p-company-business__body {
    min-height: 98px;
  }

  .p-company-business__name-en {
    font-size: 3rem;
  }

  .p-company-business__name-ja {
    font-size: 1.6rem;
  }
}

/* =======================================
   404
======================================= */

.p-404 {
  background-color: #fff;
}

.p-404-content {
  min-height: 775px;
  padding-top: 85px;
}

.p-404-content__inner {
  padding-top: 255px;
}

.p-404-content__title {
  color: #212388;
  font-size: 7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.p-404-content__subtitle {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin-top: 35px;
}

.p-404-content__text {
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  line-height: 1.8;
  margin-top: 50px;
}

@media (max-width: 767px) {
  .p-404-content {
    min-height: 520px;
    padding-top: 85px;
  }

  .p-404-content__inner {
    padding: 140px 20px 80px;
  }

  .p-404-content__title {
    font-size: 4.5rem;
  }

  .p-404-content__subtitle {
    font-size: 2rem;
    margin-top: 25px;
  }

  .p-404-content__text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-top: 40px;
  }
}