/* --- 1. Basic Reset & Global Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* Smooth scrolling for anchor links */
  font-size: 100%; /* Base font size (usually 16px) */
}

body {
  background-color: #121212; /* Dark background */
  color: #ffffff; /* Default text color */
  font-family: 'Segoe UI', 'Noto Sans JP', sans-serif; /* Font stack */
  font-size: 1rem; /* Base font size */
  line-height: 1.6; /* Line height for readability */
  min-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scroll often caused by animations */
  -webkit-font-smoothing: antialiased; /* Smoother fonts on WebKit */
  -moz-osx-font-smoothing: grayscale; /* Smoother fonts on Firefox */
}

a {
  color: #8e5aff; /* Default link color */
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a07bff; /* Lighter link color on hover */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- 2. Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff; /* Default heading color */
  margin-bottom: 1rem; /* Spacing below headings */
}

h1 { font-size: 3rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
h2 { font-size: 2.5rem; color: #8e5aff; } /* Section titles often purple */
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Adjust heading sizes for smaller screens */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}

/* --- 3. Layout & Helpers --- */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.section-title {
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #8e5aff;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* --- 4. Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: #8e5aff;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(142, 90, 255, 0.4);
}

.btn-primary:hover {
  background-color: #a07bff;
  box-shadow: 0 6px 20px rgba(142, 90, 255, 0.6);
  transform: translateY(-2px);
}

/* --- 5. Hero Section --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}


.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(12, 12, 28, 0.6), rgba(12, 12, 28, 0.8));
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
}

.hero-button {
  margin-top: 15px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1.5rem;
  color: #fff;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* --- 6. About Section --- */
.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image-wrapper {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-text-wrapper {
  flex: 1;
}

.about-image {
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .about-container {
    flex-direction: column;
  }
}

/* --- 7. Blog/Experiences Section --- */
.parallax-bg {
  background-image: url('https://images.unsplash.com/photo-1577117261741-e536a9d31819');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 12, 28, 0.8);
}

.blog-container {
  position: relative;
  z-index: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(142, 90, 255, 0.2);
}

.blog-card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}






/* --- 9. Footer --- */
.footer {
  background-color: #060612;
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #8e5aff;
  transform: translateY(-3px);
}

.footer-col h4 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #8e5aff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #aaa;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #8e5aff;
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* --- 10. Navigation --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  height: 100px;
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  z-index: 1001; /* ロゴをメニューの上に表示 */
}

@media screen and (max-width: 440px) {
  .logo {
    font-size: 1.5rem;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  transition: all 0.3s ease;
  z-index: 1003;
  justify-content: center;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
  color: #fff;
  font-size: 1.2rem;

}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4a6cf7;
  transition: width 0.3s ease;
}

.nav-item:hover {
  /* background-color: #4a6cf7; */
  border-radius: 50px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-item {
  padding: 10px 20px;
}


.nav-item:nth-child(6){
  background-color: #8e5aff;
  border-radius: 50px;

}


/* ヘッダーのスクロール動作に関するスタイル */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.4s ease, background-color 0.3s ease;
}

.header .container {
  min-width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.header-hidden {
  transform: translateY(-100%);
}




/* ハンバーガーメニュー用のカスタマイズ */
.hamburger-wrapper {
  display: none;
  z-index: 1005;
}

.hamburger {
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* Hamburgers.cssのカスタマイズ */
.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
  background-color: #fff;
}

.hamburger.is-active .hamburger-inner, 
.hamburger.is-active .hamburger-inner::before, 
.hamburger.is-active .hamburger-inner::after {
  background-color: #4a6cf7;
}

/* メインコンテンツ（デモ用） */
.main-content {
  padding-top: 100px;
  text-align: center;
}

.main-content h1 {
  margin-bottom: 2rem;
  color: #fff;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
  .hamburger-wrapper {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    background: #1a1a1a;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    padding: 80px 30px;
    justify-content: flex-start;
    transition: all 0.5s ease;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 10px 0;
  }
  
  /* メニュー展開時のオーバーレイ */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
}

/* --- 11. Tours Section --- */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.tour-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(142, 90, 255, 0.3);
}

.tour-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-img img {
  transform: scale(1.1);
}

.tour-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #8e5aff;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.tour-content {
  padding: 25px;
}

.tour-title {
  margin-bottom: 10px;
}

.tour-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #aaa;
  font-size: 0.9rem;
}

.tour-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tour-price {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8e5aff;
}

.price-text {
  font-size: 0.8rem;
  color: #aaa;
}

/* --- 12. Contact Form --- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 15px;
}

.contact-detail {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(142, 90, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #8e5aff;
  font-size: 1.2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #8e5aff;
  background: rgba(255, 255, 255, 0.1);
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

@media (max-width: 991px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* --- 13. Responsive Adjustments --- */
@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content {
    top: 50%;
    left: 50%;
  }
  



  .tours-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 480px) {

  .contact-info {
    padding: 20px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
}

/* =============================
   Swiper Sections - 完全CSS版
============================= */

/* --- 1. Hero Swiper Section (#11 基本) --- */
.hero-swiper {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-swiper-wrapper {
  width: 100%;
  height: 100%;
}

.hero-swiper-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}


/* --- 2. Instagram Swiper Section (#04-a 応用) --- */
.instagram-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.instagram-swiper {
  padding: 20px 10px 50px;
  margin: 0 auto;
  max-width: 1400px;
}

.insta-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: auto;
}

.insta-card:hover {
  transform: translateY(-5px);
}

.insta-card img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-card:hover img {
  transform: scale(1.05);
}

.insta-card h3, .insta-card p {
  margin: 10px;
  color: #333;
}

/* --- 3. PC表示（Swiper無効／グリッド化） --- */
@media screen and (min-width: 1025px) {
  .instagram-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .instagram-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
  }
  .swiper-wrapper {
    transform: none !important;
  }
}

/* --- 4. SP/タブレット表示（Swiper有効） --- */
@media screen and (max-width: 1024px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* --- 5. Swiper JS Responsive JS制御付き --- */
@media (max-width: 1024px) {
  .instagram-swiper.swiper {
    padding-left: 20px;
    padding-right: 20px;
  }
  .instagram-swiper .swiper-slide {
    width: auto;
  }
  .swiper-pagination {
    margin-top: 20px;
  }
}

