/* ======================================
   MATAMAPPEN ESTATE "creative_artistic"
   Brand Colors: #264653, #F4A261, #FFFFFF
   Artistic, vibrant, modern, flex-only layout
   ======================================= */
/* ================= RESET & BASE ============== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  line-height: inherit;
  font-family: inherit;
}
body {
  font-family: 'Yu Gothic', 'Noto Sans JP', 'Meiryo', sans-serif;
  background: #fff;
  color: #222;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100dvh;
  letter-spacing: 0.01em;
  /* artistic brush stroke background */
  background-image: url('../assets/bg-art.svg');
  background-repeat: repeat-x;
  background-position: top;
  background-size: auto 80px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #264653;
  text-decoration: underline;
  transition: color 0.25s;
  word-break: break-all;
}
a:hover,
a:focus {
  color: #F4A261;
  text-decoration: none;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  margin-bottom: 0.5em;
  font-weight: bold;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2.5rem;
  color: #264653;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  color: #F4A261;
  line-height: 1.3;
}
h3 {
  font-size: 1.4rem;
  color: #264653;
  line-height: 1.35;
}
h4 {
  font-size: 1.1rem;
}
strong, b {
  font-weight: bold;
}
.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* =========== Layout Flex Patterns ========= */
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe9;
  box-shadow: 0 2px 20px rgba(36,70,83, 0.07), 0 1.5px 6px rgba(244,162,97,.04);
  border-radius: 20px;
  margin-bottom: 24px;
  border-left: 8px solid #F4A261;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* ================= HEADER & NAV =============== */
header {
  width: 100%;
  background: #fff;
  z-index: 20;
  box-shadow: 0 1px 8px rgba(36,70,83,0.04);
  position: sticky;
  top: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
}
.header-inner a img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: inherit;
  font-size: 1rem;
  color: #264653;
  padding: 8px 2px;
  border-radius: 8px;
  background: transparent;
  transition: all 0.22s cubic-bezier(.5,.7,.37,1.07);
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #f7ecda;
  color: #F4A261;
}
.cta-primary {
  background: #264653;
  color: #fff;
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  padding: 10px 32px;
  font-size: 1.125rem;
  border: none;
  border-radius: 32px;
  box-shadow: 0 4px 20px rgba(36,70,83,.08);
  font-weight: bold;
  margin-left: 18px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(.77,.27,.51,.83);
  letter-spacing: 0.11em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-primary::before {
  content: '';
  position: absolute;
  display: block;
  left: 0; top: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.25s;
  background: #f4a2612e;
  z-index: 1;
}
.cta-primary:hover::before {
  opacity: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F4A261;
  color: #264653;
}
.cta-secondary {
  background: #fff;
  color: #F4A261;
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  border: 2px solid #F4A261;
  padding: 10px 32px;
  font-size: 1.125rem;
  border-radius: 24px;
  font-weight: 700;
  margin: 16px 0 0 0;
  text-decoration: none;
  transition: all 0.23s cubic-bezier(.8,.19,.32,1.07);
  letter-spacing: 0.07em;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F4A261;
  color: #fff;
}
/* =================== MOBILE NAV =============== */
.mobile-menu-toggle {
  display: none;
  background: #F4A261;
  color: #fff;
  font-size: 2rem;
  padding: 7px 18px;
  border: none;
  border-radius: 10px;
  margin-left: 8px;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(36,70,83,0.10);
  transition: background 0.21s;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed #264653;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38, 70, 83, 0.95);
  /* slide effect in main.js */
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.6,-0.04,.27,1.21);
  z-index: 12000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #264653;
  font-size: 2rem;
  border: none;
  padding: 4px 18px;
  border-radius: 16px;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  z-index: 1002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid #F4A261;
  padding-bottom: 9px;
  text-decoration: none;
  transition: color 0.22s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F4A261;
}
@media (max-width: 1090px) {
  .main-nav {
    gap: 14px;
  }
  .header-inner {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  .mobile-menu {
    padding: 18px 8px;
  }
  .mobile-nav a {
    font-size: 1.09rem;
    padding-bottom: 7px;
  }
  .header-inner {
    padding: 12px 0;
  }
  .cta-primary, .cta-secondary {
    font-size: 1rem;
    padding: 8px 10px;
  }
}
/* ============= HERO ========================= */
.hero {
  background: linear-gradient(98deg, #fff9f2 69%, #F4A261 102%);
  padding: 48px 0 38px 0;
  position: relative;
  margin-bottom: 60px;
}
.hero::after {
  /* Decorative element: brush stroke line at bottom */
  content: '';
  width: 110px;
  height: 8px;
  display: block;
  border-radius: 10px;
  background: #F4A261;
  margin: 24px auto 0 auto;
  opacity: 0.21;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.4em;
  color: #264653;
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  text-shadow: 1px 2px 0 #faeddb77;
}
.hero .subheadline {
  font-size: 1.15rem;
  color: #55524c;
  margin-bottom: 1.7em;
  margin-top: 0.5em;
  font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
  letter-spacing: 0.04em;
}
/* ========== FEATURES ======================== */
.features {
  background: #f9fafc;
  border-radius: 30px;
  margin-bottom: 50px;
  padding-bottom: 70px;
}
.features h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #F4A261;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 10px;
}
.feature-grid > div {
  background: #fff;
  box-shadow: 0 2px 10px rgba(36,70,83,.05), 0 3px 20px #f4a26110;
  border-radius: 18px;
  flex: 1 1 230px;
  min-width: 180px;
  max-width: 280px;
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
  margin-bottom: 20px;
}
.feature-grid > div h3 {
  color: #264653;
  margin-bottom: 0.45em;
  font-size: 1.13rem;
}
.feature-grid > div img {
  width: 44px;
  height: 44px;
  background: #fff9f2;
  border-radius: 50%;
  margin-bottom: 11px;
  box-shadow: 0 1.5px 7px #26465311;
}
.feature-grid > div:hover {
  box-shadow: 0 5px 28px #F4A26133, 0 12px 40px #2646531a;
  transform: translateY(-7px) scale(1.02) rotate(-1deg);
  z-index: 4;
}
/* =========== REVIEW PREVIEW ============= */
.reviews-preview {
  background: #fffef9;
  border-radius: 18px;
  margin-bottom: 45px;
}
.reviews-preview h2 {
  color: #264653;
  text-align: left;
}
.review-snippets {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.review-snippets article {
  background: #ffffff;
  border-radius: 13px;
  box-shadow: 0 1.5px 6px #2646530A;
  padding: 18px 20px;
  flex: 1 1 180px;
  min-width: 170px;
  max-width: 310px;
  position: relative;
  transition: box-shadow 0.21s;
  margin-bottom: 20px;
}
.review-snippets article h3 {
  font-size: 1.09rem;
  margin-bottom: 8px;
}
.review-snippets article p {
  font-size: 0.98rem;
  color: #474d56;
}
.review-snippets article:hover {
  box-shadow: 0 6px 26px #F4A26144;
}
/* ============= SUPPORT & CONTACT-CTA ============= */
.support-highlight,
.contact-cta {
  background: #264653;
  color: #fff;
  border-radius: 26px;
  margin-bottom: 45px;
  position: relative;
  overflow: hidden;
}
.support-highlight h2,
.contact-cta h2 {
  color: #f4a261;
}
.support-highlight a.cta-primary,
.contact-cta a.cta-primary {
  margin-top: 16px;
  background: #f4a261;
  color: #264653;
}
.support-highlight a.cta-primary:hover, .contact-cta a.cta-primary:hover {
  background: #fff;
  color: #264653;
}
.support-highlight::before {
  content: '';
  display: block;
  position: absolute; left: -42px; top: 18px;
  width: 120px; height: 18px;
  background: #F4A26144;
  border-radius: 30px;
  z-index: 1;
  opacity: 0.3;
}
.contact-cta::before {
  content: '';
  display: block;
  position: absolute; right: -55px; bottom: -20px;
  width: 150px; height: 22px;
  background: #F4A26188;
  border-radius: 33px;
  z-index: 1;
  opacity: 0.2;
}
/* ============== PROPERTY FILTERS & LIST ============ */
.property-filters {
  background: #f6f8fc;
  padding: 34px 0;
  border-radius: 18px;
  margin-bottom: 54px;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 12px;
}
.filter-bar label {
  color: #264653;
  font-weight: 500;
  font-size: 0.98rem;
}
.filter-bar select {
  margin-left: 6px;
  padding: 6px 20px 6px 10px;
  border-radius: 8px;
  border: 1.5px solid #F4A261;
  background: #fff;
  font-size: 1rem;
  color: #264653;
  font-family: inherit;
}
.filter-bar button.cta-secondary {
  margin-left: 14px;
  padding: 8px 18px;
  font-size: 1rem;
}
.property-summaries {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
}
.property-card {
  background: #f9fafd;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px #2646530c;
  padding: 20px 20px 14px 20px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 340px;
  position: relative;
  margin-bottom: 20px;
  border-left: 7px solid #F4A261;
  transition: transform .19s cubic-bezier(.64,.09,.51,1.1), box-shadow .21s;
}
.property-card h3 {
  font-size: 1.1rem;
  margin-bottom: 11px;
  color: #264653;
}
.property-card:hover {
  transform: translateY(-6px) scale(1.012) rotate(1deg);
  box-shadow: 0 5px 32px #F4A26133, 0 8px 35px #2646531c;
  z-index: 4;
}
.property-highlight {
  display: flex;
  align-items: center;
  font-size: 0.91rem;
  margin-top: 12px;
  color: #46657A;
}
.property-highlight img {
  width: 20px; height: 20px;
  margin-right: 3px;
}
/* ============ REVIEWS PAGE ARTICLES =========== */
.review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.review-article {
  background: #fff9ef;
  border-radius: 17px;
  box-shadow: 0 1.5px 7px #f4a26121;
  padding: 20px 20px 12px 20px;
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 330px;
  position: relative;
  margin-bottom: 20px;
  border-left: 6px solid #F4A261;
  transition: box-shadow 0.19s;
}
.review-article h3 {
  font-size: 1.04rem;
  margin-bottom: 9px;
  color: #264653;
}
.review-article .tag {
  background: #F4A261;
  color: #fff;
  border-radius: 10px;
  padding: 2px 10px;
  font-size: .83rem;
  margin-left: 10px;
}
.review-article:hover {
  box-shadow: 0 5px 30px #26465330;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.tags .tag {
  background: #fff4e4;
  color: #E57322;
  border-radius: 11px;
  padding: 2px 11px;
  font-size: 0.87rem;
  font-family: 'Noto Sans JP', sans-serif;
}
/* ========== TIPS, FAQ, LISTS, DLs, ETC ========== */
.tips ul, .consultation-options ul, .faq-list, .company-info dl, .contact-info dl {
  margin: 19px 0 6px 0;
  padding-left: 20px;
}
.tips ul li, .consultation-options ul li, .faq-list dt, .faq-list dd, .company-info dl dt, .company-info dl dd, .contact-info dl dt, .contact-info dl dd {
  margin-bottom: 8px;
}
.faq-list dt {
  color: #264653;
  font-weight: bold;
  margin-bottom: 4px;
}
.faq-list dd {
  margin-left: 16px;
  color: #55524c;
}
.company-info dl dt {
  font-weight: 700;
  color: #264653;
  display: inline-block;
  margin-right: 10px;
  min-width: 74px;
}
.company-info dl dd {
  display: inline-block;
  color: #515c6a;
}
.team-intro {
  margin-top: 17px;
  background: #f7efeb;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 1rem;
  color: #264653;
}
.support-steps li {
  margin-bottom: 11px;
  font-size: 1rem;
  color: #264653;
}
.consultation-options h3 {
  margin-bottom: 4px;
  color: #F4A261;
}
.consultation-options ul li {
  color: #264653;
  font-size: 1rem;
}
.input-fields ul {
  margin-bottom: 17px;
}
.input-fields .required {
  color: #F4A261;
  font-size: 0.95em;
}
.input-fields a.cta-primary {
  margin-top: 14px;
}
/* ============= TESTIMONIALS ================= */
.testimonials {
  background: #fff9ec;
  border-radius: 22px;
  margin-bottom: 44px;
  padding: 60px 0 40px 0;
}
.testimonials h2 {
  color: #F4A261;
}
.testimonial-card {
  background: #fffbe9;
  color: #232425;
  box-shadow: 0 5px 24px #f4a26119, 0 2px 10px #26465314;
  border-radius: 20px;
  border-left: 8px solid #F4A261;
  margin-bottom: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  transition: box-shadow .17s, transform .17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px #F4A26138;
  transform: translateY(-4px) scale(1.03);
}
.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  color: #264653;
  font-size: 1.07rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.testimonial-name {
  font-size: 0.94rem;
  font-weight: bold;
  color: #F4A261;
}
/* ============= CONTACT-INFO, THANK-YOU ============= */
.contact-info dl dt {
  font-weight: bold;
  color: #F4A261;
  margin-right: 1em;
  display: inline-block;
}
.contact-info dl dd {
  display: inline-block;
  margin-bottom: 10px;
  color: #264653;
}
.thank-you {
  background: #fffef7;
  border-radius: 30px;
  margin-top: 50px;
  margin-bottom: 80px;
  text-align: center;
  padding: 44px 20px;
}
.thank-you h1 {
  color: #264653;
  margin-bottom: 0.82em;
}
.thank-you p {
  color: #54505e;
  font-size: 1.08rem;
  margin-bottom: 16px;
}
/* ============== POLICY SECTION ================ */
.policy {
  background: #f4fafc;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 16px;
}
.policy h1 {
  color: #264653;
  font-size: 2rem;
  margin-bottom: 14px;
}
.policy h2 {
  color: #F4A261;
  font-size: 1.15rem;
  margin: 13px 0 8px 0;
}
.policy p, .policy ul, .policy li {
  color: #222;
  font-size: 1rem;
}
.policy ul {
  margin-bottom: 11px;
}
.policy ul li {
  margin-bottom: 5px;
}
/* =============== FOOTER ======================= */
footer {
  background: #264653;
  color: #fff;
  width: 100%;
  margin-top: 60px;
  padding-top: 3rem;
  padding-bottom: 36px;
  box-shadow: 0 -2px 12px #26465319;
  position: relative;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.footer-brand {
  flex: 1 1 180px;
  min-width: 140px;
  margin-right: 12px;
}
.footer-brand img {
  width: 115px;
  margin-bottom: 13px;
}
.footer-brand p {
  font-size: 0.94rem;
  color: #f7be95;
}
.footer-main-nav,
.footer-menu-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 130px;
}
.footer-main-nav a, .footer-menu-links a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.19s;
}
.footer-main-nav a:hover, .footer-menu-links a:hover {
  color: #F4A261;
}
.footer-contact {
  flex: 1 1 190px;
  min-width: 150px;
  background: #fffefc;
  color: #264653;
  border-radius: 14px;
  box-shadow: 0 2px 9px #F4A26110;
  padding: 18px 15px 14px 15px;
  font-size: 0.99rem;
  margin-top: 8px;
}
.footer-contact h4 {
  margin-bottom: 10px;
  color: #F4A261;
  font-size: 1.02rem;
  font-weight: 600;
}
.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  color: #29546a;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
}
.footer-copy {
  text-align: left;
  color: #f9dab9;
  font-size: 0.95rem;
}
/* =============== RESPONSIVE MEDIA ============= */
@media (max-width: 700px) {
  .features .feature-grid,
  .reviews-preview .review-snippets,
  .property-summaries,
  .review-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-content {
    flex-direction: column;
    gap: 15px;
  }
  .footer-brand img {
    width: 110px;
  }
  .footer-contact {
    margin-top: 16px;
  }
}
@media (max-width: 820px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    margin-bottom: 44px;
    padding: 27px 10px;
  }
  .hero {
    padding: 24px 0 18px 0;
  }
  .testimonials {
    padding: 30px 0 25px 0;
    margin-bottom: 30px;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  .section, .policy {
    padding-left: 0; padding-right: 0;
  }
  .container {
    width: 97%;
    padding-left: 0; padding-right: 0;
  }
}
/* ============== MICRO-INTERACTIONS =============== */
.card, .feature-grid > div, .review-snippets article, .property-card, .review-article, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover, .feature-grid > div:hover, .review-snippets article:hover, .property-card:hover, .review-article:hover, .testimonial-card:hover {
  box-shadow: 0 10px 44px #F4A2611c, 0 5px 18px #26465310;
  transform: scale(1.03) rotate(-2deg);
}
button, .cta-primary, .cta-secondary {
  cursor: pointer;
  transition: filter 0.18s, transform 0.16s;
}
button:active, .cta-primary:active, .cta-secondary:active {
  filter: brightness(0.96) contrast(1.1);
  transform: scale(0.98);
}
/* ============= COOKIE CONSENT ================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #264653;
  color: #fff;
  padding: 22px 6vw 18px 6vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  z-index: 20000;
  box-shadow: 0 -4px 24px #26465348;
  font-size: 0.99rem;
  transition: transform 0.34s cubic-bezier(.7,-0.3,.58,1.15), opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 230px;
  margin-right: 16px;
  margin-bottom: 9px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  background: #F4A261;
  color: #264653;
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  padding: 7px 26px;
  font-weight: 600;
  margin-right: 5px;
  transition: background 0.23s;
}
.cookie-banner .reject {
  background: #fff;
  color: #264653;
  border: 1.5px solid #F4A261;
}
.cookie-banner .cookie-settings {
  background: #264653;
  color: #F4A261;
  border: 1.5px solid #F4A261;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fae2c1;
}
@media (max-width: 760px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 14px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    gap: 8px;
    margin-top: 10px;
    align-items: flex-start;
  }
  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 8px;
  }
}
/* ======= COOKIE MODAL DIALOG ========== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38, 70, 83, 0.82);
  z-index: 20100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.56,.24,.69,1.15);
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  max-width: 430px;
  background: #fffef7;
  color: #264653;
  border-radius: 13px;
  box-shadow: 0 4px 30px #26465334;
  padding: 38px 32px 25px 32px;
  position: relative;
  animation: cookie-pop 0.36s cubic-bezier(.63,-0.04,.6,1.12);
}
@keyframes cookie-pop {
  0% {transform: scale(0.85) translateY(33px); opacity: 0;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  color: #F4A261;
  font-size: 1.19rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  font-size: 1.01rem;
}
.cookie-modal .category-toggle {
  width: 36px; height: 20px;
  background: #ddd;
  border-radius: 14px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cookie-modal .category-toggle input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  margin: 0;
}
.cookie-modal .category-toggle .slider {
  position: absolute; left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #F4A261;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.cookie-modal .category-toggle input[type="checkbox"]:checked + .slider {
  left: 19px; background: #264653;
}
.cookie-modal .category-toggle.essential {
  background: #f4a26188;
}
.cookie-modal .category-toggle.essential .slider {
  background: #ffbd47;
}
.cookie-modal .label {
  font-weight: 500;
}
.cookie-modal .category-desc {
  font-size: 0.96rem;
  color: #787a77;
  margin-left: 8px;
}
.cookie-modal .close {
  position: absolute; right: 14px; top: 12px;
  background: #fff;
  color: #F4A261;
  border: none;
  font-size: 2rem;
  border-radius: 48px;
  padding: 1px 15px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .close:hover {
  background: #f4a26122;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}
.cookie-modal .cookie-modal-actions button {
  background: #264653;
  color: #fff;
  font-family: 'Noto Sans JP';
  border-radius: 20px;
  border: none;
  font-size: 1.05rem;
  padding: 8px 27px;
  transition: background 0.18s;
}
.cookie-modal .cookie-modal-actions button:hover {
  background: #F4A261;
  color: #264653;
}
@media (max-width: 540px) {
  .cookie-modal {
    max-width: 95vw;
    padding: 19px 7vw 18px 7vw;
  }
  .cookie-modal .cookie-modal-actions {
    flex-direction: column;
    gap: 9px;
  }
}
/* ============= ARTISTIC/CREATIVE FONT AND ACCENT ============= */
h1, h2, h3, .main-nav a, .cta-primary, .cta-secondary, .footer-main-nav a, .footer-menu-links a, .mobile-nav a {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  letter-spacing: 0.07em;
}
.section {
  background: #f7f5f2;
  border-radius: 20px;
  box-shadow: 0 1.5px 9px #2646530a;
}
/* ========== MINIMUM FLEXBOX CONTAINER SPACING/MARGINS ========== */
.section, .card-container > *, .content-grid > *, .card, .testimonial-card, .feature-grid > *, .review-snippets > *, .property-summaries > *, .review-list > * {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .review-snippets, .property-summaries, .review-list {
  gap: 20px;
}
@media (max-width: 500px){.review-snippets,.feature-grid{gap:12px;}}
