/* ------------------------------------------------------
  CSS RESET & BASE STYLES
---------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F4F7FB;
  color: #13334C;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
}
li {
  margin-bottom: 8px;
}
a {
  color: #13334C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C0B283;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}
::selection {
  background: #C0B283;
  color: #fff;
}

/* ------------------------------------------------------
  BRAND FONTS
---------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: #13334C;
}
h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
@media (min-width:600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}

p, .text-section {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 1rem;
  color: #13334C;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* ------------------------------------------------------
  LAYOUT CONTAINERS & SECTIONS (FLEXBOX)
---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(19, 51, 76, 0.06);
}
main > section.hero {
  margin-bottom: 40px;
  background: linear-gradient(90deg, #e6ecef 0%, #f4f7fb 100%);
  border-radius: 0 0 30px 30px;
  padding: 64px 0 48px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Card containers and grids */
.card-container, .card-grid, .property-list, .feature-grid, .area-cards, .testimonial-slider, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(19, 51, 76, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  min-width: 230px;
  flex: 1 1 274px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature-card:hover, .area-card:hover {
  box-shadow: 0 6px 20px rgba(19, 51, 76, 0.13);
  transform: translateY(-2px) scale(1.015);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-card, .area-card {
  background: #F4F7FB;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(19,51,76,0.07);
  padding: 24px 20px 20px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.area-cards {
  display: flex;
  flex-wrap: wrap;
  gap:24px;
  margin-bottom: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* Spacing/gap fix for cards on small view */
@media (max-width: 600px) {
  .card,
  .feature-card,
  .area-card {
    min-width: 100%;
    padding: 18px 12px 16px;
  }
  .card-container, .card-grid, .property-list, .feature-grid, .area-cards, .testimonial-slider, .testimonial-grid {
    gap: 16px;
  }
}

/* ------------------------------------------------------
  HEADER & NAVIGATION (FLEXBOX & RESPONSIVE)
---------------------------------------------------------*/
header {
  background: #13334C;
  color: #fff;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 16px 20px;
}
.logo img {
  height: 40px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 4px;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #C0B283;
  border-radius: 1px;
  transition: width .2s;
  position:absolute;
  bottom:0;
  left:0;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #C0B283;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #C0B283 0%, #b2b094 100%);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 12px 30px;
  margin-left: 32px;
  box-shadow: 0 1px 8px rgba(192,178,131,.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.17s;
  border: 0;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #b2b094 0%, #C0B283 100%);
  box-shadow: 0 2px 20px rgba(192,178,131,.13);
  transform: translateY(-1px) scale(1.025);
  color: #fff;
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #13334C;
  border-radius: 999px;
  font-weight: 700;
  padding: 11px 26px;
  font-size: 1rem;
  border: 2px solid #C0B283;
  margin-top: 12px;
  transition: background 0.2s, color 0.2s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #C0B283;
  color: #fff;
  border-color: #C0B283;
}

/* Mobile Hamburger Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin-left: 18px;
  z-index: 51;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #C0B283;
}
@media (max-width: 1100px) {
  .main-nav { gap: 17px; }
  .cta-primary { margin-left: 12px; }
}
@media (max-width: 980px) {
  header .container {
    flex-wrap: wrap;
  }
  .main-nav { gap: 10px; }
}
@media (max-width: 840px) {
  .main-nav, .cta-primary { display:none; }
  .mobile-menu-toggle { display: block; }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19, 51, 76, 0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.29s cubic-bezier(.82,0,.16,1), transform 0.32s cubic-bezier(.42,0,.32,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  padding: 20px 25px 0 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:focus { outline: 2px solid #C0B283; }
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 30px 36px 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.12rem;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 12px 0;
  width: 100%;
  border-radius: 5px;
  transition: background 0.14s, color 0.2s;
  margin: 0;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C0B283;
  color: #fff;
}

/* ------------------------------------------------------
  HERO, FEATURES, SERVICES, AREA CARDS, STEPS
---------------------------------------------------------*/
.hero h1, .hero h2 {
  color: #13334C;
  text-shadow: 0 2px 8px rgba(244,247,251,.15);
}
.hero { border-bottom: 1px solid #e2e5e9; }
.hero .cta-primary, .contact .cta-primary, .contact-cta .cta-primary {
  align-self: flex-start;
  margin-top: 18px;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.services ul, .why-choose-us ul, .step-icons, .faq-preview ul, .brand-highlights ul, .area-icons, .service-highlights ul, .contact-promises ul {
  margin-bottom: 18px;
  margin-left: 0;
}
.step-icons, .area-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 28px;
  align-items: center;
}
.selection-process, .quality-assurance, .brand-highlights, .why-choose-us, .faq-preview, .contact-promises, .contact-info-snippet .contact-info {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .feature-grid, .area-cards, .testimonial-grid, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}

/* ------------------------------------------------------
  TESTIMONIAL CARDS & HIGHLIGHTS
---------------------------------------------------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(19, 51, 76, 0.08), 0 1px 0 rgba(192,178,131,.02);
  padding: 20px 24px;
  min-width: 270px;
  max-width: 480px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #222;
  font-family: 'Noto Sans JP',sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.testimonial-card span {
  font-family: 'Noto Sans JP',sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #C0B283;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  box-shadow: 0 5px 26px rgba(19, 51, 76, 0.15);
  transform: scale(1.025) translateY(-2px);
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonials .cta-secondary {
  margin-top: 18px;
}
.testimonial-highlights ul {
  list-style: disc;
  margin-left: 22px;
}

/* Review contrast (dark text on light bg) */
.testimonial-card,
.testimonial-card p,
.testimonial-card span {
  background: #fff!important;
  color: #13334C!important;
}

/* ------------------------------------------------------
  CONTACT BLOCKS & INFO
---------------------------------------------------------*/
.contact-info, .contact-info-snippet {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-info div, .contact-info-snippet div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #2a3a50;
}
.contact-info img, .contact-info-snippet img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
}

.access-map {
  margin-top: 12px;
  color: #aaaaaa;
  font-size: 0.96rem;
}

/* ------------------------------------------------------
  LEGAL & POLICY PAGES
---------------------------------------------------------*/
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(19,51,76,0.09);
  margin-bottom: 48px;
  padding: 40px 18px;
}
.legal h1 {
  font-size: 2rem;
}
.policy-text, .gdpr-policy-text, .cookies-policy-text, .terms-text {
  margin-top: 20px;
  font-size: 1.05rem;
  color: #2a3a50;
}
.policy-text h2, .gdpr-policy-text h2, .cookies-policy-text h2, .terms-text h2 {
  font-size: 1.18rem;
  color: #13334C;
  font-weight: 600;
  margin: 18px 0 7px;
}

/* ------------------------------------------------------
  FOOTER (FLEXBOX)
---------------------------------------------------------*/
footer {
  background: #13334C;
  color: #fff;
  padding: 28px 0 18px;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #C0B283;
  font-size: 0.96rem;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
footer small {
  font-size: 0.98rem;
  color: #e6ecef;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------
  COOKIE CONSENT BANNER & MODAL
---------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: linear-gradient(90deg, #fff 70%, #f4f7fb);
  color: #13334C;
  box-shadow: 0 -2px 18px rgba(19,51,76,0.07);
  padding: 18px 20px 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.96rem;
  flex-wrap: wrap;
  animation: fadeInUp .65s cubic-bezier(.26,1,.3,1);
}
@keyframes fadeInUp {
  0% { opacity:0; transform: translateY(50px);} 100% {opacity:1; transform: none;}
}
.cookie-banner__message {
  color: #13334C;
  font-size: 1rem;
  font-family: 'Noto Sans JP',sans-serif;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-family: 'Noto Sans JP',sans-serif;
  font-weight: 600;
  margin: 0 2px;
  transition: background .2s, color .2s, box-shadow .17s;
  border: none;
  cursor: pointer;
}
.cookie-btn--accept {
  background: #C0B283;
  color: #fff;
}
.cookie-btn--accept:hover,
.cookie-btn--accept:focus {
  background: #13334C;
  color: #fff;
}
.cookie-btn--reject {
  background: #fff;
  color: #13334C;
  border: 1px solid #C0B283;
}
.cookie-btn--reject:hover,
.cookie-btn--reject:focus {
  background: #C0B283;
  color: #fff;
}
.cookie-btn--settings {
  background: #FFF;
  color: #13334C;
  border: 1px solid #C0B283;
}
.cookie-btn--settings:hover,
.cookie-btn--settings:focus {
  background: #f4f7fb;
  border-color: #13334C;
  color: #13334C;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  z-index: 20000;
  background: rgba(19,51,76,0.48);
  top:0; left:0; width:100vw; height:100vh;
  display: flex;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.33s cubic-bezier(.26,1,.3,1);
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal__inner {
  background: #fff;
  color: #13334C;
  border-radius: 14px;
  box-shadow: 0 2px 22px rgba(19, 51, 76, 0.21);
  min-width: 320px;
  max-width: 480px;
  width: 92vw;
  padding: 28px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalPop .38s cubic-bezier(.67,-0.01,1,1);
}
@keyframes cookieModalPop {
  0% { opacity:0; transform: scale(0.86);} 100% {opacity:1; transform: none;}
}
.cookie-modal__header {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-modal__footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #C0B283;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 50%;
  width: 36px; height: 36px;
  transition: background .16s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus { background:#f4f7fb; color: #13334C; }

/* Cookie preferences switches */
.cookie-switch {
  position: relative;
  width: 38px;
  height: 20px;
  display: inline-block;
}
.cookie-switch input {
  opacity:0; width:0; height:0;
}
.cookie-slider {
  position: absolute;
  top:0; left:0;
  width: 100%; height: 100%;
  background: #ececec;
  border-radius: 20px;
  transition: background .19s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #C0B283;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 16px; height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform .22s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}

.cookie-modal__category[aria-disabled="true"] {
  color: #ccc;
}
.cookie-modal__category[aria-disabled="true"] .cookie-switch {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 530px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap:12px; }
  .cookie-banner__actions { justify-content: flex-start; }
}

/* ------------------------------------------------------
  ANIMATIONS & MICRO-INTERACTIONS
---------------------------------------------------------*/
.card,
.feature-card,
.area-card,
.cta-primary,
.cta-secondary,
.testimonial-card,
button,
.mobile-menu,
.cookie-banner,
.cookie-modal__inner {
  transition: box-shadow 0.18s, background 0.22s, color .18s, transform 0.16s;
}

/* ------------------------------------------------------
  RESPONSIVE UTILITIES
---------------------------------------------------------*/
@media (max-width: 768px) {
  .main-nav, .cta-primary {
    display: none !important;
  }
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  .container {
    padding: 0 7px;
  }
  .section, .legal {
    padding: 28px 7px;
  }
}
@media (max-width: 550px) {
  .cookie-modal__inner { padding: 16px 4px 11px 4px; min-width:unset; width:95vw; }
}

/* ------------------------------------------------------
  MISC CLASSES
---------------------------------------------------------*/
.faq-preview li, .why-choose-us li, .brand-highlights li, .contact-promises li, .area-descriptions li, .testimonial-highlights li, .service-highlights li {
  margin-left: 0.8em;
  margin-bottom: 4px;
  list-style: disc inside;
}
ol > li {
  margin-bottom: 6px;
}
.text-section > h3 {
  margin-top: 18px;
}

/* END OF COMPREHENSIVE STYLE.CSS */
