/* ==================================================
   カスタムCSS - ユーザー編集用
   ================================================== */

/*
   このファイルはTailwindCSSのJITコンパイルの影響を受けません。
   独自のスタイルをここに追加してください。
*/
html {
  font-size: 100%;
}

footer {
  font-size: 87.5%;
  background-color: #f2f0e8;
}

.footerWrap01 dl dt {
  font-size: 1.25rem;
}
.footerWrap02,
.footerWrap03 {
  background-color: #f2f0e8;
}
.footerWrap02 ul li a {
  font-size: 0.875rem;
}

.footerWrap03 address {
  font-size: 10px;
}

/* ==================================================
   カルーセルのスタイル
   ================================================== */
img {
  width: revert-layer;
}
header {
  height: auto;
  box-shadow: none;
  z-index: inherit;
}
a {
  transition: opacity 0.3s;
}
a:hover {
  opacity: 0.8;
}
#nav nav {
  position: static;
}
#hero {
  position: relative;
  overflow: hidden;
}

.mv-carousel {
  width: 100%;
  padding-bottom: 56px;
  height: auto;
  /* aspect-ratio: 2.03 / 1; */
  position: relative;
}

.mv-carousel .swiper-wrapper {
  height: 100%;
}

.mv-carousel .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mv-carousel .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==================================================
   ナビゲーションボタンのスタイル
   ================================================== */

.btns {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 3px;
  z-index: 10;
  pointer-events: none;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 60px;
    height: 60px;
  }
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  display: none;
}

.swiper-button-prev img,
.swiper-button-next img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.swiper-button-prev:focus-visible,
.swiper-button-next:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

.swiper-live-region {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==================================================
   sec-01の背景スタイル
   ================================================== */

#sec-01 {
  position: relative;
  overflow: hidden;
}

.sec-01-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.sec-01-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 45度傾いた背景（必要に応じてコメントアウトを解除）
#sec-01::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-color: #02ADEC;
  transform: rotate(45deg);
  z-index: -1;
}
*/

/* ==================================================
   モバイル対応
   ================================================== */

@media (max-width: 768px) {
  .footerMenu01 ul li a span {
    font-size: 1rem;
  }
  .footerMenu02 ul li a span {
    font-size: 0.8125rem;
  }
  address {
    padding-bottom: 60px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 80px;
    height: 80px;
  }

  .swiper-button-prev img,
  .swiper-button-next img {
    width: 80px;
    height: 80px;
  }

  .btns {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 20px;
    height: 20px;
  }

  .swiper-button-prev img,
  .swiper-button-next img {
    width: 20px;
    height: 20px;
  }

  .btns {
    padding: 0 2px;
  }
}

/* ==================================================
   footer-cvセクションのスタイル
   ================================================== */
/* ==================================================
   ユーザーカスタムスタイル（自由に編集してください）
   ================================================== */

/*
   ここにプロジェクト固有のスタイルを追加してください。
   例：

   .custom-section {
     padding: 2rem;
     background: linear-gradient(45deg, #02ADEC, #0066CC);
   }

   .custom-button {
     background-color: #FF2F00;
     color: white;
     border-radius: 8px;
     padding: 12px 24px;
   }
*/

/* ==================================================
   モーダルスタイル
   ================================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #000;
  background: rgba(255, 255, 255, 1);
}

#modalImage {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Modal trigger hover effect */
.modal-trigger:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* Modal navigation buttons */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

/* Modal counter */
.modal-counter {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  z-index: 10001;
}

/* Navigation button visibility control */
.modal-nav.hidden {
  display: none;
}

/* Video modal specific styles */
.video-modal-content {
  background: #000;
  max-width: 90%;
  max-height: 90vh;
  width: auto;
  padding: 0;
}

.video-modal-content video {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  width: 40px;
  height: 40px;
  font-size: 30px;
}

.video-modal-close:hover {
  background: #fff;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .mv-carousel {
    padding-bottom: 38px;
  }
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }

  .modal-counter {
    top: 10px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

.map_svg:hover {
  fill: #0066cc;
}

/* ==================================================
   Swiperページネーションのスタイル
   ================================================== */

.mv-carousel {
  position: relative !important;
}

.swiper-pagination {
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 12px !important;
  z-index: 10 !important;
  width: auto !important;
  text-align: center !important;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: transparent;
  border: 2px solid #22ccff;
  border-radius: 50%;
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #22ccff;
  border-color: #22ccff;
}

.swiper-pagination-bullet:hover:not(.swiper-pagination-bullet-active) {
  background: rgba(34, 204, 255, 0.3);
}

@media (max-width: 768px) {
  .swiper-pagination {
    bottom: 15px;
    gap: 8px;
  }

  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }
}

/* ==================================================
   ナビゲーションボタン（黄色背景）のスタイル
   ================================================== */

.nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 1110px;
  margin: 0 auto;
}

.nav-grid li {
  display: flex;
  align-items: center;
  height: 60px; /* 固定高さ */
  flex: 0 0 auto;
}

.nav-btn {
  display: inline-block;
  height: 100%;
  transition: transform 0.3s ease;
}

.nav-btn img {
  height: 100%;
  width: auto;
  display: block;
}

.nav-btn:hover {
  transform: translate(-2px, -2px);
}

@media (max-width: 639px) {
  /* .nav-grid {
    flex-direction: column;
  } */
  .nav-grid {
    gap: 5px;
  }
  .nav-grid li {
    height: 40px;
  }
}

.footer-cv-sp {
  /* ブルーグラデ */
  background: linear-gradient(270deg, #47d5ff 0%, #0066cc 100%);
  position: relative;
  padding: 24px 16px;
}

.after\:bg-\[url\(images\/ic-zoom\.jpg\)\]::after {
  content: var(--tw-content);
  background-image: url(images/ic-zoom.png);
}

.after\:bg-\[url\(images\/ic-zoom\.png\)\]::after {
  content: var(--tw-content);
  background-image: url(images/ic-zoom.png);
}

.section-01-title-01-area {
}

.pc_view .section-01-title-01-area {
  width: 89.77%;
  aspect-ratio: 1149 / 498;
  margin-inline: auto;
  position: relative;
  max-width: 1149px;
}

.pc_view {
  min-width: 980px;
}

.sp_view {
  max-width: 767px;
  margin-inline: auto;
}
