@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap");
/* 色設定 */
/* ============================================ */
/* 共通 */
html {
  font-family: YakuHanJP, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  overflow-x: hidden;
  font-size: 1px;
}

body {
  overflow-x: hidden;
  font-size: 16rem;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  position: relative;
}

p,
td,
th,
li {
  font-size: 16rem;
  line-height: 1.6;
}

.no-scroll {
  overflow: hidden;
}

.viewport-s {
  max-width: 780px;
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: content-box;
}

.viewport-m {
  max-width: 1080px;
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: content-box;
}

.viewport-l {
  width: 100%;
}

.flex-container {
  display: flex;
}

.is-bold {
  font-weight: 700;
}

.is-underlined {
  text-decoration: underline;
}

img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.inline-link {
  text-decoration: underline;
  color: blue;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.btn {
  display: flex;
  width: 100%;
  max-width: 350px;
  height: 40rem;
  background-color: #d2092b;
  justify-content: center;
  align-items: center;
  color: white;
  border-radius: 100px;
  font-weight: 500;
  font-size: 16rem;
  background: #d2092b;
  border: white 3rem solid;
}

.btn:hover {
  background: #004b8f;
  color: white;
  transition: 0.3s;
}

.btn-white {
  background: white;
  color: #004b8f;
}

.btn-white:hover {
  background: #d2092b;
}

.btn-sub {
  background: #d2092b;
}

.btn-sub:hover {
  background: #004b8f;
}

.btn-link {
  margin: 40rem auto 0;
  height: 60rem;
}

.btn-link::after {
  content: "";
  width: 16rem;
  height: 16rem;
  margin-left: 8rem;
  background-image: url(../img/icon_link.png);
  background-size: cover;
}

.btn-reserve {
  margin: 80rem auto 0;
  height: 60rem;
}

.btn-reserve::after {
  content: "";
  width: 8rem;
  height: 16rem;
  margin-left: 16rem;
  background-image: url(../img/icon_btn_reserve.png);
  background-size: cover;
}

.btn-search {
  margin: 80rem auto 0;
  height: 60rem;
}
.btn-search::after {
  content: "";
  width: 16rem;
  height: 16rem;
  margin-left: 16rem;
  background-image: url(../img/icon_search.png);
  background-size: cover;
}
.btn-return {
  margin: 80rem auto 0;
  height: 60rem;
}
.btn-return::before {
  content: "";
  width: 8rem;
  height: 16rem;
  margin-right: 16rem;
  background-image: url(../img/icon_btn_reserve.png);
  background-size: cover;
  transform: rotate(180deg);
}

h2 .ja {
  color: #004b8f;
  font-weight: 500;
  font-size: 18rem;
}

h2 .en {
  color: #004b8f;
  font-size: 40rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 4rem;
}

.list {
  margin-top: 40rem;
}

.list > li {
  position: relative;
  display: flex;
  padding-top: 24rem;
  padding-bottom: 24rem;
  border-bottom: red solid 1px;
  padding-left: 40rem;
  min-height: 100rem;
  align-items: center;
  font-size: 20rem;
}

.list > li::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 60rem;
  background: red;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  clip-path: polygon(0 0.2vw, 100% 0, 100% calc(100% - 0.2vw), 0 100%);
}

.list > li:last-child {
  border-bottom: none;
}

/* スクロールCSS */
.fade-in {
  opacity: 0;
  transition-duration: 1000ms;
  transition-property: opacity, transform;
}

.fade-in-up {
  transform: translate(0, 50px);
}

.fade-in-down {
  transform: translate(0, -50px);
}

.fade-in-left {
  transform: translate(-50px, 0);
}

.fade-in-right {
  transform: translate(50px, 0);
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

.accordion {
  font-weight: 500;
  margin-top: 40rem;
  /* hover */
}
.accordion .accordion-content {
  display: none;
}
.accordion .accordion-header {
  background: #2a3b49;
  padding: 16rem 45rem 16rem 20rem;
  margin: 16rem 0 0;
  transition: background 0.3s ease;
  cursor: pointer;
  position: relative;
  border-radius: 8rem;
  color: white;
}
.accordion .accordion-header::before,
.accordion .accordion-header::after {
  position: absolute;
  content: "";
  top: 1rem;
  right: 20rem;
  bottom: 0;
  width: 12rem;
  height: 2rem;
  margin: auto;
  background: white;
}
.accordion .accordion-header::after {
  transition: transform 0.3s;
  transform: rotate(-90deg);
}
.accordion .accordion-header.active::after {
  transform: rotate(0deg);
}
.accordion .accordion-content {
  padding: 16rem 20rem 32rem;
  border-radius: 20rem;
  margin-top: 8rem;
}
.accordion .accordion-header span,
.accordion .accordion-content span {
  padding-left: 0px;
  position: relative;
}
.accordion .accordion-content figure {
  width: 300rem;
  margin-top: 20rem;
}

/* ============================================ */
/* ヘッダー */
header {
  width: 100%;
  position: fixed;
  z-index: 10;
}

header nav {
  background: #e9eef5;
  padding: 0 50rem 0;
  display: flex;
  height: 80rem;
  justify-content: space-between;
  align-items: center;
}

header nav h1 a img {
  padding: 20rem 0;
  height: 60rem;
}

header nav figure {
  height: 35rem;
  display: flex;
}

header nav figure img {
  height: 100%;
  width: auto;
}

header nav .header-right {
  align-items: center;
  display: flex;
  height: 100%;
}

header nav .header-right .menu-list {
  display: flex;
  font-weight: 500;
  font-size: 14rem;
  color: black;
  align-items: center;
  height: 100%;
}

header nav .header-right .menu-list > li {
  white-space: nowrap;
  height: 100%;
}

header nav .header-right .menu-list > li > a {
  position: relative;
  font-size: 14rem;
  color: #004b8f;
  display: flex;
  align-items: center;
  height: 100%;
}

header nav .header-right .menu-list > li > a::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 20rem;
  height: 2rem;
  width: 0;
  background-color: #004b8f;
  transition: all 0.2s;
}

header nav .header-right .menu-list > li a:hover::after {
  width: 100%;
}

header nav .header-right .menu-list > li:not(:first-child) {
  margin-left: 22rem;
}

header nav .header-right .menu-list > li .sp {
  display: none;
}

header nav .header-right .btn-header {
  margin-left: 20rem;
  width: 160px;
  border: none;
}

header nav .header-right .language {
  width: 24rem;
  margin-left: 20rem;
}

main #flow {
  padding: 80rem 0 120rem;
  position: relative;
}

main #flow .bg-flow {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 40%;
  height: 35%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

main #flow .text {
  margin-top: 4rem;
  color: #004b8f;
  font-weight: 500;
}

main #flow .step-list {
  display: flex;
  justify-content: center;
  margin-top: 80rem;
}

main #flow .text {
  margin-top: 4rem;
  color: #004b8f;
  font-weight: 500;
}

main #flow .step-list > li {
  background: linear-gradient(90deg, #0f88a7, #004b8f);
  width: calc((100% - 40px * 2) / 3);
  color: white;
  padding: 32rem;
  position: relative;
  margin-left: 40px;
}
main #flow .step-list > li:first-child {
  margin-left: 0;
}

main #flow .step-list > li .num {
  font-size: 20rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

main #flow .step-list > li .num::before,
main #flow .step-list > li .num::after {
  width: 2px;
  height: 20px;
  background-color: white;
  content: "";
}

main #flow .step-list > li .num::before {
  transform: rotate(-20deg);
  margin-right: 20px;
}

main #flow .step-list > li .num::after {
  transform: rotate(20deg);
  margin-left: 20px;
}

main #flow .step-list > li h3 {
  font-size: 24rem;
  text-align: center;
  font-weight: 500;
}

main #flow .step-list > li figure {
  width: 40%;
  margin: 24rem auto 24rem;
}

main #flow .step-list > li .detail {
  margin-bottom: 24rem;
}

main #flow .step-list > li .btn {
  margin: 0 auto;
  margin-top: 16rem;
  height: 40rem;
}

main #flow .step-list > li:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #004b8f;
  border-width: 12rem 0px 12rem 24rem;
  transform: translate(100%, -50%);
}

main #flow .step-list > li:last-child:after {
  display: none;
}

main #flow .step-list > li .num {
  font-size: 20rem;
  text-align: center;
}

main #flow .step-list > li h3 {
  font-size: 24rem;
  text-align: center;
  font-weight: 500;
}

main #flow .step-list > li figure {
  width: 50%;
  margin: 24rem auto 24rem;
}

main #flow .step-list > li:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #004b8f;
  border-width: 12rem 0px 12rem 24rem;
  transform: translate(100%, -50%);
}

/* ============================================ */
main #news {
  padding: 80rem 0 120rem;
}

main #news .news-list {
  margin-top: 40rem;
  border-bottom: #2a3b49 solid 1rem;
}

main #news .news-list > li a {
  border-top: #2a3b49 solid 1rem;
  display: flex;
  padding: 16rem 0;
}

main #news .news-list > li a .category {
  color: #004b8f;
  width: 150rem;
  text-align: center;
  border: #004b8f solid 1rem;
  border-radius: 100px;
  margin: 0 16rem;
}

main #FAQ {
  padding: 200rem 0 220rem;
  position: relative;
}

main #FAQ .bg-faq {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #cdd3d6;
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(0 14vw, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

main #FAQ .bg-faq2 {
  position: absolute;
  width: 20%;
  top: 0;
  right: 0;
}

main #FAQ h2 .ja {
  color: #2a3b49;
}

main #FAQ h2 .en {
  color: #2a3b49;
}

main #FAQ .accordion {
  font-weight: 500;
  margin-top: 40rem;
  /* hover */
}

main #FAQ .accordion .accordion-content {
  display: none;
}

main #FAQ .accordion .accordion-header {
  background: #2a3b49;
  padding: 16rem 45rem 16rem 20rem;
  margin: 16rem 0 0;
  transition: background 0.3s ease;
  cursor: pointer;
  position: relative;
  border-radius: 8rem;
  color: white;
}

main #FAQ .accordion .accordion-header::before,
main #FAQ .accordion .accordion-header::after {
  position: absolute;
  content: "";
  top: 1rem;
  right: 20rem;
  bottom: 0;
  width: 12rem;
  height: 2rem;
  margin: auto;
  background: white;
}

main #FAQ .accordion .accordion-header::after {
  transition: transform 0.3s;
  transform: rotate(-90deg);
}

main #FAQ .accordion .accordion-header.active::after {
  transform: rotate(0deg);
}

main #FAQ .accordion .accordion-content {
  padding: 16rem 20rem 32rem;
  border-radius: 20rem;
  margin-top: 8rem;
}

main #FAQ .accordion .accordion-header span,
main #FAQ .accordion .accordion-content span {
  padding-left: 0px;
  position: relative;
}
main #FAQ .accordion .accordion-link {
  color: blue;
  text-decoration: underline;
}

main #intro {
  position: relative;
  padding: 80rem 0 80rem;
}

main #intro .bg-service {
  position: absolute;
  top: -40rem;
  right: 0;
  width: 50%;
  height: 600rem;
  clip-path: polygon(0 10vw, 100% 0, 100% calc(100% - 10vw), 0 100%);
  z-index: -1;
}

main #intro .bg-service img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

main #intro .text {
  margin-top: 40rem;
  width: 50%;
  padding-right: 64rem;
  line-height: 2;
}

/* セクション */
/* ============================================ */
/* セクション */

#contact {
  position: relative;
  padding-top: 64rem;
  padding-bottom: 300rem;
}

#contact .bg-choose {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0f88a7, #004b8f);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

#contact h2 .ja {
  color: white;
}

#contact h2 .en {
  color: white;
}

#contact .other-container {
  border-radius: 16rem;
  overflow: hidden;
  background: white;
  margin-top: 40rem;
  padding: 80rem 40rem;
}

#contact .other-container figure {
  width: 56rem;
  margin: 0 auto;
}

#contact .other-container .tel {
  display: block;
  font-size: 40rem;
  text-align: center;
  font-weight: 700;
  margin-top: 8rem;
  color: #004b8f;
}

#contact .other-container .time {
  display: block;
  text-align: center;
  color: #004b8f;
}

footer {
  background: #004b8f;
  padding: 16rem 0;
  position: relative;
}

footer .bg-footer {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 35%;
  max-width: 320px;
}

footer .viewport-m .footer-menu {
  padding: 40rem 0;
  display: flex;
  color: white;
  font-weight: 500;
}

footer .viewport-m .footer-menu .footer-list {
  width: 33%;
  padding: 0 40rem;
  border-right: white solid 1px;
}

footer .viewport-m .footer-menu .footer-list > li {
  font-size: 20rem;
  margin-bottom: 8rem;
}

footer .viewport-m .footer-menu .footer-list > li .submenu-list > li {
  font-size: 14rem;
  font-weight: 500;
  margin-top: 8rem;
}

footer .viewport-m .footer-menu .footer-list > li .submenu2-list {
  display: flex;
  flex-wrap: wrap;
}

footer .viewport-m .footer-menu .footer-list > li .submenu2-list > li {
  width: 33%;
  font-size: 14rem;
  font-weight: 500;
  margin-top: 8rem;
}

footer .viewport-m .copy-right {
  text-align: center;
  color: white;
  font-size: 12rem;
}

/* SP */
@media screen and (max-width: 1080px) {
  html {
    position: relative;
    font-size: 0.76px;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .viewport-s {
    box-sizing: border-box;
  }
  .viewport-m {
    box-sizing: border-box;
  }
  header {
    overflow: visible;
    z-index: 100;
    padding: 0 20rem;
    background: #e9eef5;
  }
  header .viewport-m {
    padding: 0;
  }
  header nav {
    height: 70rem;
    margin-top: 0 !important;
    padding: 7px 7px;
    width: 100vw;
    box-shadow: none;
    background: none;
  }
  header nav h1 {
    height: 70rem;
    width: auto;
  }
  header nav h1 a img {
    padding: 24rem 0;
    display: flex;
    height: 100%;
    width: auto;
  }
  header nav figure {
    margin-top: 7rem;
  }
  header nav .hamburger-menu {
    width: 60rem;
    height: 70rem;
    background-color: #004b8f;
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 1000;
  }
  header nav .hamburger-menu span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: white;
    opacity: 1;
    position: absolute;
    transition: all 0.2s linear;
  }
  header nav .hamburger-menu span:nth-child(1) {
    top: 17px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  header nav .hamburger-menu span:nth-child(2) {
    top: 27px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  header nav .hamburger-menu span:nth-child(3) {
    bottom: 16px;
    left: 50%;
    transform: translate(-50%, 50%);
  }
  header nav .hamburger-menu.is-open {
    background-color: white;
  }
  header nav .hamburger-menu.is-open span {
    background-color: #004b8f;
  }
  header nav .hamburger-menu.is-open span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
  }
  header nav .hamburger-menu.is-open span:nth-child(2) {
    opacity: 0;
  }
  header nav .hamburger-menu.is-open span:nth-child(3) {
    transform: translate(-50%, 50%) rotate(-45deg);
    bottom: 50%;
  }
  header nav .header-right .menu-list {
    z-index: 0;
    right: 0;
    left: 0;
    top: 0;
    width: 100vw;
    height: calc(100vh);
    background-color: #004b8f;
    position: fixed;
    color: black;
    font-weight: 500;
    flex-direction: column;
    transform: translateX(100%);
    transition: all 0.2s linear;
    z-index: 100;
  }
  header nav .header-right .menu-list.is-open {
    transform: translateX(0);
  }
  header nav .header-right .menu-list li {
    width: 100%;
    border-bottom: #cccccc solid 1px;
    font-size: 22rem;
    text-align: center;
    padding: 0;
    margin-right: 0 !important;
  }
  header nav .header-right .menu-list li > a {
    color: white;
    padding: 22rem;
    width: 100%;
    height: auto;
    display: block;
  }
  header nav .header-right .menu-list li > a::after {
    content: "";
    display: none;
  }
  header nav .header-right .menu-list li .btn-yellow {
    background: white;
    color: black;
  }
  header nav .header-right .menu-list li:not(:first-child) {
    margin-left: 0;
  }
  /* セクション */
  /* ============================================ */

  main #intro .text {
    width: 100%;
    padding-right: 0rem;
  }
  main #intro .bg-service {
    position: relative;
    top: 20rem;
    width: 100%;
    clip-path: polygon(0 15vw, 100% 0, 100% calc(100% - 15vw), 0 100%);
  }
  #choose {
    padding-top: 200rem;
    padding-bottom: 200rem;
  }
  #choose .list > li {
    flex-direction: column;
  }
  #choose .list > li::before {
    height: 70%;
    clip-path: polygon(0 2.2vw, 100% 0, 100% calc(100% - 2.2vw), 0 100%);
  }
  #choose .list > li .head {
    width: 100%;
    margin-bottom: 14rem;
    font-size: 26rem;
  }
  #choose .list > li .body {
    width: 100%;
  }
  #choose .choose-flex {
    flex-direction: column;
  }
  #choose .choose-flex .choose-container {
    width: 100%;
  }
  #choose .choose-flex .choose-container .body {
    padding-left: 0rem;
    margin-top: 24rem;
  }
  #choose .choose-flex .choose-container .body .small {
    font-size: 16rem;
  }

  main #flow .bg-flow {
    top: 50%;
    width: 80%;
    height: 80%;
  }
  main #flow .step-list {
    display: block;
  }
  main #flow .step-list > li {
    width: 100% !important;
    margin-bottom: 40rem;
    margin-left: 0;
  }
  main #flow .step-list > li:after {
    top: auto;
    bottom: 0;
    right: 50%;
    border-width: 0;
    border-left: 12rem solid transparent;
    border-right: 12rem solid transparent;
    border-top: 24rem solid #004b8f;
    transform: translate(50%, 100%);
  }
  main #flow .bg-flow {
    top: 50%;
    width: 80%;
    height: 80%;
  }
  main #flow .step-list {
    display: block;
  }
  main #flow .step-list > li {
    width: 100%;
    margin-bottom: 40rem;
  }
  main #flow .step-list > li:after {
    top: auto;
    bottom: 0;
    right: 50%;
    border-width: 0;
    border-left: 12rem solid transparent;
    border-right: 12rem solid transparent;
    border-top: 24rem solid #004b8f;
    transform: translate(50%, 100%);
  }
  main #about .bg-about2 {
    clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%);
    z-index: -1;
  }
  main #about .bg-about3 {
    clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%);
  }
  main #about .about-list {
    display: block;
  }
  main #about .about-list > li {
    width: 100%;
    margin-bottom: 80rem;
  }
  main #about .about-list > li figure {
    width: 50%;
    margin: 0 auto;
  }

  main #flow .step-list > li:last-child:after {
    display: none;
  }

  main #news .news-list > li a {
    flex-wrap: wrap;
  }
  main #news .news-list > li .title {
    width: 100%;
  }

  #contact {
    padding-bottom: 200rem;
  }

  /* ============================================ */
  /* セクション */
  /* ============================================ */
  /* セクション */
  footer .viewport-m .footer-menu {
    display: block;
  }
  footer .viewport-m .footer-menu .footer-list {
    width: 100%;
    padding: 0 40rem;
    border-right: none;
    margin-bottom: 80rem;
  }
  footer .viewport-m .footer-menu .footer-list > li {
    margin-bottom: 16rem;
  }
  footer .viewport-m .footer-menu .footer-list > li .submenu-list {
    display: flex;
    flex-wrap: wrap;
  }
  footer .viewport-m .footer-menu .footer-list > li .submenu-list > li {
    width: 60%;
    font-size: 16rem;
    font-weight: 300;
    margin-top: 8rem;
  }
  footer .viewport-m .footer-menu .footer-list > li .submenu2-list {
    display: flex;
    flex-wrap: wrap;
  }
  footer .viewport-m .footer-menu .footer-list > li .submenu2-list > li {
    width: 33%;
    font-size: 16rem;
    font-weight: 300;
    margin-top: 8rem;
  }
  footer .viewport-m .copy-right {
    text-align: center;
    color: white;
    font-size: 12rem;
  }
  /* セクション */
}

/* ============================================ */
/* メガメニュー用のスタイル */

/* メガメニューのスタイル */
.mega-menu-container {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #0f88a7, #004b8f);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  padding: 12px 20px 40px;
  z-index: 1000;
  border-top: 3px solid #004b8f;
}

.mega-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mega-menu-title {
  width: 100%;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  text-align: center;
  position: relative;
}

.mega-menu-items {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
}

.mega-menu-item {
  width: 24%;
  max-width: 280px;
  min-width: auto;
  margin-bottom: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.mega-menu-item:hover:before {
  transform: scaleX(1);
}

.mega-menu-item a {
  display: block;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mega-menu-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 0;
  transition: transform 0.5s ease;
  filter: brightness(0.9);
}

.mega-menu-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.mega-menu-content {
  padding: 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.mega-menu-item h3 {
  font-size: 18px;
  margin-bottom: 0;
  padding: 10px 0;
  font-weight: 700;
  color: #fff;
  text-align: center;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mega-menu-item:hover h3 {
  transform: translateY(-3px);
}

.has-mega-menu {
  position: static;
}

.has-mega-menu > a::after {
  content: "▼";
  font-size: 10px;
  margin-left: 5px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.has-mega-menu:hover > a::after {
  transform: rotateX(180deg);
}

.has-mega-menu:hover .mega-menu-container {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}
.has-mega-menu:hover .mega-menu-container {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

.mega-menu-container.stores .mega-menu-items {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 85%;
  margin-top: 10rem;
  gap: 0 !important;
}

.mega-menu-container.stores .mega-menu-items .mega-menu-item {
  width: calc((100% - 10rem * 8) / 4);
  margin: 0 10rem;
  margin-bottom: 18px;
}

.mega-menu-container.stores .mega-menu-items .mega-menu-item a {
  display: block;
  background-color: white;
  padding: 12rem 22rem;
  position: relative;
}

.mega-menu-container.stores .mega-menu-items .mega-menu-item a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 15px 15px;
  border-color: transparent transparent #004b8f transparent;
}
.mega-menu-container.stores .mega-menu-items .mega-menu-item img {
  width: 100%;
  height: auto !important;
}
.mega-menu-container.stores .mega-menu-items .mega-menu-item .mega-menu-content {
  background: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スマートフォン用 */
@media screen and (max-width: 1080px) {
  .mega-menu-container {
    display: none !important;
  }

  .sp-submenu {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .sp-submenu li {
    margin-bottom: 12px;
    position: relative;
  }

  .sp-submenu li:before {
    content: "";
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #0f88a7;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .sp-submenu li:hover:before {
    opacity: 1;
  }

  .sp-submenu a {
    font-size: 14px;
    padding: 5px 0 5px 15px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 600;
  }

  .sp-submenu a:hover {
    color: #0f88a7 !important;
    transform: translateX(5px);
  }

  .menu-list li.active .sp-submenu {
    display: block;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu-has-children > a::after {
    content: "+";
    margin-left: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
  }

  .menu-has-children.active > a::after {
    content: "-";
    transform: rotate(180deg);
  }

  .menu-has-children.active > a {
    color: #0f88a7 !important;
  }
}

/* タブレット調整 */
@media screen and (min-width: 768px) and (max-width: 1080px) {
  .mega-menu-items {
    flex-wrap: wrap;
  }

  .mega-menu-item {
    width: 48%;
    margin-bottom: 20px;
  }
}

/* PCではSPメニューを非表示 */
.sp-menu {
  display: none;
}

@media (max-width: 1080px) {
  /* PCメニューを非表示 */
  .header-right .menu-list {
    display: none !important; /* 重要度を上げて必ず非表示にする */
  }

  /* PCメニューのis-openを上書き */
  .header-right .menu-list.is-open {
    display: none !important;
    transform: none !important;
  }

  /* ハンバーガーメニュー */
  .hamburger-menu {
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger-menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #004b8f;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger-menu span:nth-child(1) {
    top: 0;
  }

  .hamburger-menu span:nth-child(2) {
    top: 11px;
  }

  .hamburger-menu span:nth-child(3) {
    bottom: 0;
  }

  /* ハンバーガーメニュー開閉時の状態 */
  .hamburger-menu.is-open span {
    background-color: #004b8f;
  }

  .hamburger-menu.is-open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .hamburger-menu.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.is-open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  /* SPメニュー */
  .sp-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f88a7, #004b8f);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .sp-menu.active {
    right: 0;
  }

  /* SPメニューヘッダー */
  .sp-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 70rem;
    background-color: #fff;
    border-bottom: 1px solid #eee;
  }

  .sp-logo {
    width: 120px;
  }

  .sp-logo img {
    width: 100%;
    height: auto;
  }

  /* 閉じるボタン */
  .sp-menu-close {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
  }

  .sp-menu-close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    top: 50%;
    left: 0;
  }

  .sp-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .sp-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  /* SPメニューコンテンツ */
  .sp-menu-content {
    padding: 20px 0;
  }

  .sp-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sp-menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sp-menu-list li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }

  .sp-menu-list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* サブメニュー付きの項目 */
  .sp-has-submenu .sp-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .sp-has-submenu .sp-menu-item a {
    flex: 1;
  }

  .sp-toggle-btn {
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sp-toggle-btn:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }

  .sp-has-submenu.active .sp-toggle-btn:before {
    transform: rotate(-135deg);
  }

  /* サブメニュー */
  .sp-submenu {
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.5s ease,
      opacity 0.3s ease;
    opacity: 0;
    padding-left: 0;
  }

  .sp-has-submenu.active .sp-submenu {
    opacity: 1;
    display: block;
  }

  .sp-submenu li {
    border-bottom: none;
    transform: translateX(-10px);
    opacity: 0;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
    transition-delay: 0s;
  }

  .sp-has-submenu.active .sp-submenu li {
    transform: translateX(0);
    opacity: 1;
  }

  .sp-has-submenu.active .sp-submenu li:nth-child(1) {
    transition-delay: 0.05s;
  }
  .sp-has-submenu.active .sp-submenu li:nth-child(2) {
    transition-delay: 0.1s;
  }
  .sp-has-submenu.active .sp-submenu li:nth-child(3) {
    transition-delay: 0.15s;
  }
  .sp-has-submenu.active .sp-submenu li:nth-child(4) {
    transition-delay: 0.2s;
  }
  .sp-has-submenu.active .sp-submenu li:nth-child(5) {
    transition-delay: 0.25s;
  }
  .sp-has-submenu.active .sp-submenu li:nth-child(6) {
    transition-delay: 0.3s;
  }
  .sp-has-submenu.active .sp-submenu li:nth-child(7) {
    transition-delay: 0.35s;
  }

  .sp-submenu li a {
    padding: 12px 20px 12px 40px;
    font-size: 15px;
    position: relative;
  }

  .sp-submenu li a:before {
    content: "";
    position: absolute;
    left: 22px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-right: 1px solid rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) rotate(45deg);
  }

  .sp-menu .btn-reservation {
    margin: 18px auto;
    width: 90%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
  }

  /* 予約ボタン */
  .btn-reservation {
    display: block;
    margin: 20px;
    padding: 15px;
    background-color: #d2092b;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .btn-reservation:hover {
    background-color: #b30826;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }

  .language-switcher {
    display: none;
  }
  /* 言語切替 */
  .sp-language-switcher .language-switcher {
    display: block !important;
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sp-language-btn {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
  }
  .current-language {
    width: 90%;
    height: 40px;
  }

  .sp-language-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }
}



/* 言語切り替えスタイル */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    cursor: pointer;
}

.current-language {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.current-language:hover {
    background-color: #e9e9e9;
}

.current-language span {
    font-weight: bold;
    margin-right: 8px;
    font-size: 14px;
}

.current-language img {
    width: 20px;
    height: 20px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 150px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}

.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    border-bottom: 1px solid #f0f0f0;
}

.language-dropdown li:last-child {
    border-bottom: none;
}

.language-dropdown li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.language-dropdown li a:hover {
    background-color: #f5f5f5;
}

.language-dropdown li.active a {
    background-color: #f0f0f0;
    font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .sp-language-dropdown .language-switcher {
        margin: 0;
        width: 100%;
    }
    
    .sp-language-dropdown .current-language {
        justify-content: center;
        padding: 12px 15px;
        background-color: #f8f8f8;
        border-radius: 6px;
    }
    
    .sp-language-dropdown .language-dropdown {
        width: 100%;
        position: relative;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid #eee;
    }
    
    .sp-language-dropdown .language-dropdown li a {
        padding: 15px;
        text-align: center;
    }
    
    /* スマホ表示時のドロップダウン表示 */
    .sp-language-dropdown .language-dropdown.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
} 