/* ------------------------------
    CSS RESET & BASE
------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Yu Gothic', 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  color: #274559;
  background: #F4F8FC;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.05em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #21587A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5195B6;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style-type: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #21587A;
  margin-bottom: 16px;
  line-height: 1.25;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #395977;
}
strong {
  color: #275e85;
}

/* ------------------------------
    CONTAINER & LAYOUT
------------------------------ */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 18px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(125,189,198,0.08);
}

@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  .section, section { padding: 28px 8px; }
}
@media (max-width: 600px) {
  .container { padding: 0 8px; }
  .section, section { padding: 16px 2vw; margin-bottom: 32px; }
}

/* --------------------------------
    HEADER & NAVIGATION
--------------------------------- */
header {
  width: 100%;
  background: linear-gradient(90deg, #D9F0F7 0%, #FBEAE9 100%);
  box-shadow: 0 2px 8px rgba(33,88,122,0.05);
  padding: 0;
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 8px;
}
.desktop-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-left: 32px;
}
.desktop-nav a {
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  color: #21587A;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #E7F4F8;
  color: #357BA1;
  outline: none;
}
.cta-btn {
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  display: inline-block;
  background: #7DBDC6;
  color: #17465a;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 30px;
  padding: 10px 34px;
  margin-left: 16px;
  box-shadow: 0 2px 10px rgba(33,88,122,0.10);
  transition: background 0.18s, box-shadow 0.18s, color 0.20s;
  cursor: pointer;
  letter-spacing: 0.05em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #21587A;
  color: #eaf4fa;
  box-shadow: 0 4px 18px rgba(125,189,198,0.18);
  outline: none;
}

/* Hamburger Menu (Mobile Only) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2.2rem;
  color: #21587A;
  border: none;
  margin-left: 14px;
  cursor: pointer;
  z-index: 103;
  position: relative;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #7DBDC6;
}
/* Mobile Navigation Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(244,248,252,0.97);
  z-index: 102;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.65,.05,.36,1);
  padding: 32px 20px 24px 28px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FBEAE9;
  border: none;
  font-size: 2.1rem;
  color: #21587A;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { background: #F4F8FC; outline: 2px solid #7DBDC6; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #21587A;
  font-weight: bold;
  padding: 10px 4px;
  border-radius: 14px;
  letter-spacing: .05em;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E7F4F8;
  color: #7DBDC6;
  outline: none;
}
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------------------------
  HERO SECTION
------------------------------- */
.hero {
  background: linear-gradient(90deg,#FBEAE9 0,#D9F0F7 100%);
  background-size: 100% 100%;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 44px rgba(125,189,198,0.08);
  margin-bottom: 60px;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  min-height: 200px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero h1 {
  font-size: 2.4rem;
  color: #21587A;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.13rem;
  color: #42677a;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    border-radius: 0 0 22px 22px;
    margin-bottom: 36px;
    padding: 12px 0;
  }
  .hero h1 { font-size: 1.55rem; }
  .hero .content-wrapper { padding-top: 12px; padding-bottom: 14px; }
}

/* ------------------------------
    FEATURES & CARDS
------------------------------ */
.features .content-wrapper,
.tour-features .content-wrapper,
.plan-benefits .content-wrapper {
  align-items: flex-start;
}
.feature-grid, .benefit-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.feature-grid li, .benefit-grid li {
  background: #F4F8FC;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(125,189,198,0.09);
  padding: 28px 16px;
  flex: 1 1 225px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.02rem;
  color: #286089;
  margin-bottom: 20px;
  border: 1px solid #e2f2f8;
}
.feature-grid img,
.tour-features img {
  width: 40px;
  height: 40px;
  background: #e4f5f4;
  border-radius: 15px;
  padding: 5px;
  margin-bottom: 8px;
}
.tour-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.tour-categories li {
  background: #FBEAE9;
  color: #625262;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  padding: 8px 24px;
}
@media (max-width: 900px) {
  .feature-grid,
  .benefit-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .benefit-grid, .tour-categories {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .benefit-grid li { min-width: 120px; }
}

/* Card Containers (for any future grid/card layouts) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(125,189,198,0.09);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 18px;
  background: #f3f8fa;
  box-shadow: 0 1px 8px rgba(33,88,122,0.08);
  padding: 20px 34px;
  margin-bottom: 20px;
  color: #1b2839;
  border: 1px solid #e8f4fa;
  font-size: 1.06rem;
  position: relative;
}
.testimonial-card p {
  color: #1A3060 !important;
  font-size: 1.10rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #497ea3;
  font-weight: 500;
  align-self: flex-end;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 10px;
    font-size: 0.99rem;
  }
  .testimonial-card span { font-size: 0.93rem; }
}

/* --------------------------------
    FAQ & LEGAL
--------------------------------- */
.faq-list dl {
  margin-bottom: 25px;
}
.faq-list dt {
  font-weight: 600;
  color: #21587A;
  margin-top: 18px;
}
.faq-list dd {
  margin-left: 16px;
  margin-bottom: 10px;
  color: #4479ab;
}
.legal h2 {
  font-size: 1.2rem;
  margin: 18px 0 10px 0;
}
.legal ul {
  margin-left: 16px;
  margin-bottom: 18px;
}
.legal li {
  margin-bottom: 6px;
}

/* --------------------------------
    CONTENT SECTIONS & UTILITIES
--------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid { flex-direction: column; gap: 16px; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Consultation/Premium CTA */
.consultation-cta, .premium-cta, .faq-cta {
  background: linear-gradient(95deg, #EAF7F8 0%, #FBEAE9 90%);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 3px 18px rgba(120,180,190,0.08);
  min-height: 120px;
}
.consultation-cta .content-wrapper,
.premium-cta .content-wrapper,
.faq-cta .content-wrapper {
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .consultation-cta, .premium-cta, .faq-cta {
    padding: 16px 2vw;
    border-radius: 12px;
    min-height: 40px;
  }
  .consultation-cta h2, .premium-cta h2, .faq-cta h2 { font-size: 1.15rem; }
}

/* Map Embed (text only) */
.map-embed {
  background: #F4F8FC;
  border-radius: 14px;
}

/* ------------------------------
    FOOTER
------------------------------ */
footer {
  background: #F4F8FC;
  border-top: 2px solid #e2f2f8;
  padding: 40px 0 18px 0;
  font-size: 0.98rem;
  color: #39788e;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #335D7F;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background .16s, color .16s;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E7F4F8;
  color: #21587A;
  outline: none;
}
.footer-contact {
  text-align: center;
  color: #4D708A;
  margin-bottom: 12px;
}
.footer-contact p {
  margin-bottom: 5px;
  font-size: 0.96rem;
}
footer small {
  color: #7DBDC6;
  font-size: .92rem;
}
@media (max-width: 700px) {
  footer .container {
    gap: 12px;
    padding-bottom: 18px;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.95rem;
  }
}

/* --------------------------------
    BUTTONS & INTERACTIONS
--------------------------------- */
button,
input[type="button"],
input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 16px;
  padding: 10px 26px;
  cursor: pointer;
  background: #7DBDC6;
  color: #17465a;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 7px rgba(125,189,198,0.09);
  transition: background 0.18s, box-shadow 0.14s;
}
button:hover,
button:focus {
  background: #21587A;
  color: #eaf4fa;
  box-shadow: 0 4px 16px rgba(125,189,198,0.16);
  outline: none;
}

a.cta-btn {
  display: inline-block;
  margin-top: 10px;
}

/* --------------------------------
    COOKIE CONSENT BANNER & MODAL
--------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #FFF7FA;
  border-top: 3px solid #7DBDC6;
  box-shadow: 0 -3px 20px rgba(125,189,198,.11);
  z-index: 200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 28px;
  font-size: 1.02rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.32s, transform 0.33s, visibility 0.23s;
}
.cookie-consent-banner.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cookie-consent-text {
  flex: 1 1 auto;
  color: #21587A;
  margin-right: 18px;
  font-size: 0.97rem;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.cookie-btn {
  background: #7DBDC6;
  color: #fff;
  font-weight: 700;
  border-radius: 18px;
  padding: 8px 24px;
  border: none;
  transition: background .14s;
}
.cookie-btn.settings {
  background: #FBEAE9;
  color: #21587A;
  border: 1px solid #E6B5BA;
}
.cookie-btn.reject {
  background: #E89EAA;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #21587A;
  color: #fff;
  outline: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F4F8FC;
  color: #7DBDC6;
  border-color: #BFD9DD;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d06f87;
  color: #f8fcff;
  outline: none;
}
/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33,88,122,0.24);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
/* Cookie Modal */
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(125,189,198,0.14);
  padding: 34px 28px 22px 28px;
  max-width: 420px;
  width: 90vw;
  min-width: 0;
  text-align: left;
  z-index: 211;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookie-modal-pop .38s cubic-bezier(.45,.85,.50,1) 1;
}
@keyframes cookie-modal-pop {
  from { opacity: 0; transform: translateY(32px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.24rem;
  margin-bottom: 12px;
  color: #21587A;
}
.cookie-modal .cookie-category {
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
}
.cookie-category label {
  font-weight: 500;
  color: #21587A;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7DBDC6;
  width: 18px;
  height: 18px;
}
.cookie-category .essential {
  color: #bbb;
  font-size: .96rem;
  margin-left: 8px;
  font-weight: 400;
}
.cookie-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-close {
  background: #FBEAE9;
  color: #21587A;
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 18px;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F8FC;
  color: #7DBDC6;
}
@media (max-width: 600px) {
  .cookie-modal { padding: 19px 6vw 13px 6vw; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; padding: 12px 8px 10px 8px; }
  .cookie-consent-text { margin-right: 0; margin-bottom: 7px; font-size: 0.95rem; }
  .cookie-consent-actions { gap: 9px; }
}

/* --------------------------------
    ANIMATIONS & MICRO-INTERACTIONS
--------------------------------- */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-modal-close {
  transition: background 0.18s, color 0.2s, box-shadow 0.22s, transform 0.17s, outline 0.18s;
}
.cta-btn:active, button:active,
.mobile-menu-toggle:active,
.mobile-menu-close:active,
.cookie-btn:active,
.cookie-modal-close:active {
  transform: scale(0.96);
}
section, .section {
  transition: box-shadow 0.19s;
}
section:hover, .section:hover {
  box-shadow: 0 4px 40px rgba(125,189,198,0.17);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(125,189,198,0.19);
  transform: translateY(-3px) scale(1.02);
}

/* -------------------------------
    RESPONSIVE TYPE & UTILITIES
------------------------------- */
@media (max-width: 1100px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.43rem; }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.1rem; }
  p { font-size: .98rem; }
}

/* Text and content utility classes */
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.pb-3 { padding-bottom: 24px; }
.center { text-align: center; }

/* Hide visually but keep for accessibility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ------------------------------------
    FORMS (if any used in future)
------------------------------------- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #21587A;
  background: #f5fafd;
  border: 1px solid #e0ecf5;
  border-radius: 9px;
  padding: 11px 16px;
  margin-bottom: 10px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7DBDC6;
}
label {
  font-weight: 500;
  color: #21587A;
  margin-bottom: 4px;
}

/* ------------------------------------
    MISCELLANEOUS
------------------------------------- */
/* Spacing overrides for lists */
ul li, ol li {
  margin-bottom: 8px;
}
/* Contact details icons */
.contact-details li img {
  width: 19px;
  vertical-align: middle;
  margin-right: 6px;
}

/* Success/Thank you confirmation styling */
.confirmation {
  background: linear-gradient(95deg,#EAF7F8 0%,#FBEAE9 85%);
  border-radius: 19px;
  text-align: center;
  box-shadow: 0 3px 18px rgba(120,180,190,0.13);
}
.confirmation .content-wrapper {
  align-items: center;
  justify-content: center;
}

/* Hide scrollbars inside modal and on mobile-menu overlay */
.mobile-menu, .cookie-modal-overlay { scrollbar-width: none; }
.mobile-menu::-webkit-scrollbar, .cookie-modal-overlay::-webkit-scrollbar { display: none; }

/* Ensure no grid or column-based layouts are used */
/* All layouts are implemented using only FLEXBOX as mandated */
