/* ==================================================
   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;
}
html {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Meiryo', sans-serif;
  background: #F5F7FA;
  color: #22314F;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #22314F;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #CFB668;
  outline: none;
}
ul, ol {
  padding-left: 1.3em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', serif;
  color: #22314F;
  font-weight: 700;
  line-height: 1.18;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
  letter-spacing: .05em;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}
p {
  margin-bottom: 16px;
}

/* ==================================================
   BRAND COLORS & LUXURY PALETTE
================================================== */
:root {
  --brand-primary: #22314F;
  --brand-secondary: #8D99AE;
  --brand-accent: #F5F7FA;
  --luxury-gold: #CFB668;
  --luxury-gold-light: #F7E7B8;
  --luxury-border: #E7DACB;
  --luxury-shadow: rgba(34,49,79, 0.09);
  --footer-bg: #181F2B;
}

/* ==================================================
   COMMON STRUCTURE
================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto;
  width: 100%;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px var(--luxury-shadow);
  position: relative;
}
@media (max-width: 1024px) {
  .section {
    padding: 28px 10px;
  }
}

/* ==================================================
   HEADER & NAVIGATION
================================================== */
header {
  background: #fff;
  box-shadow: 0 1px 10px var(--luxury-shadow);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img {
  height: 38px;
  width: auto;
  filter: brightness(0.98) drop-shadow(0 0 4px #fff6);
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  margin-left: 20px;
}
.main-nav a {
  font-size: 1rem;
  color: #22314F;
  padding: 7px 2px;
  position: relative;
  font-weight: 500;
  transition: color .18s;
}
.main-nav a:hover {
  color: var(--luxury-gold);
}
.btn-primary {
  background: linear-gradient(90deg, var(--luxury-gold), var(--luxury-gold-light));
  color: #22314F;
  border: none;
  padding: 12px 38px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', serif;
  border-radius: 25px;
  box-shadow: 0 2px 12px var(--luxury-shadow);
  cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s;
  letter-spacing: .04em;
  margin-left: 36px;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #e5d08a 30%, #cfb668 80%);
  color: #22314F;
  box-shadow: 0 6px 28px var(--luxury-shadow), 0 0 0 3px var(--luxury-gold-light);
  text-decoration: none;
}

/* ==================================================
   MOBILE NAVIGATION
================================================== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 22px;
    top: 22px;
    width: 44px;
    height: 44px;
    border: none;
    background: #fff;
    color: #22314F;
    font-size: 2rem;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    z-index: 201;
    box-shadow: 0 2px 8px var(--luxury-shadow);
    cursor: pointer;
    transition: box-shadow .18s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #F7E7B8;
    box-shadow: 0 2px 24px var(--luxury-shadow);
    color: var(--luxury-gold);
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,79,0.92);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(0.6, 0.1, 0.1, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 4px 32px #0007;
}
.mobile-menu-close {
  position: absolute;
  right: 32px;
  top: 28px;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: color .2s;
  z-index: 220;
}
.mobile-menu-close:hover {
  color: var(--luxury-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 100px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(207,182,104,0.077);
  width: 220px;
  transition: color .16s, border .18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--luxury-gold);
  border-bottom: 1px solid var(--luxury-gold);
  background: rgba(247,231,184,0.09);
}
@media (max-width: 375px) {
  .mobile-nav a {
    width: 90vw;
  }
  .mobile-menu-close {
    right: 12px;
    top: 18px;
  }
  .mobile-nav {
    margin-left: 10px;
  }
}

@media (max-width: 900px) {
  .logo {
    margin-left: 10px;
  }
  header .container {
    min-height: 64px;
  }
}

/* ==================================================
   HERO SECTION
================================================== */
.hero {
  background: #22314F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 285px;
  position: relative;
  margin-bottom: 0;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 2px 24px var(--luxury-shadow);
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  width: 100%;
}
.hero h1, .hero h2, .hero h3, .hero p, .hero .btn-primary {
  color: #fff;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 13px;
  letter-spacing: .06em;
}
.hero .subheadline, .hero .intro-text {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 28px;
  color: #FDFFFA;
  letter-spacing: .04em;
}
.hero .btn-primary {
  background: linear-gradient(90deg, var(--luxury-gold), #eedba9);
  color: var(--brand-primary);
  box-shadow: 0 2px 14px var(--luxury-shadow);
}
.hero .btn-primary:hover {
  background: linear-gradient(90deg, #e5d08a 30%, #cfb668 80%);
}

/* ==================================================
   FLEXBOX GRIDS, CARDS, LAYOUTS
================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 40px 0 18px 0;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px var(--luxury-shadow);
  border: 1.5px solid var(--luxury-gold-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 28px 28px 28px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow .22s, transform .2s;
  position: relative;
  margin-bottom: 20px;
}
.feature-card img {
  height: 38px;
  width: 38px;
  margin-bottom: 10px;
}
.feature-card h3 {
  margin-bottom: 7px;
  color: #22314F;
  font-size: 1.12rem;
}
.feature-card p, .feature-card ul {
  color: #293454;
  font-size: .98rem;
}
.feature-card ul {
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 18px;
}
.feature-card:hover {
  box-shadow: 0 6px 32px #cfb66830;
  border-color: var(--luxury-gold);
  transform: translateY(-4px) scale(1.03);
}

/* Cards generic */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--luxury-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 18px 22px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .feature-grid, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Section List */
ul, ol {
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* ==================================================
   TABLE STYLES
================================================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0 28px 0;
  box-shadow: 0 2px 18px var(--luxury-shadow);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-size: 1.03rem;
}
.pricing-table th, .pricing-table td {
  border-bottom: 1px solid #e5e3d9;
  padding: 12px 14px;
  text-align: left;
}
.pricing-table th {
  background: var(--luxury-gold-light);
  color: #22314F;
  font-weight: 600;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  .pricing-table th, .pricing-table td {
    padding: 9px 5px;
    font-size: 0.98rem;
  }
}

/* ==================================================
   TESTIMONIALS
================================================== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card {
  background: #fff;
  color: #161c25;
  border-radius: 15px;
  box-shadow: 0 1px 12px rgba(34,49,79,.13);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 260px;
  max-width: 440px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  font-size: 1rem;
  border-left: 5px solid var(--luxury-gold);
  position: relative;
  transition: box-shadow .18s, border .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px #cfb66826;
  border-left: 5px solid #22314F;
}
.testimonial-meta {
  margin-top: 12px;
  font-size: 0.97rem;
  color: #8D99AE;
  font-weight: 500;
  letter-spacing: .02em;
}
.trust-signals ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.96rem;
  list-style: none;
  margin: 0 0 8px 0;
}
.trust-signals ul li {
  color: #22314F;
  background: #fffce2;
  padding: 7px 16px;
  border-radius: 10px;
  border: 1px solid #ede5cc;
  font-weight: 600;
  letter-spacing: .04em;
}

/* HERO CTA BUTTON ADJUSTMENTS */
.hero .btn-primary {
  margin-left: 0;
  margin-top: 0;
}

/* ==================================================
   FAQ ACCORDION
================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px 12px 24px;
  box-shadow: 0 2px 16px var(--luxury-shadow);
  border-left: 4px solid var(--luxury-gold);
  transition: box-shadow .22s;
  margin-bottom: 20px;
}
.faq-item h3 {
  color: #22314F;
  font-size: 1.08rem;
  margin-bottom: 7px;
  cursor: pointer;
  transition: color .14s;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 2px 35px #cfb66825;
}
.faq-item h3:hover {
  color: var(--luxury-gold);
}
.faq-item > div {
  color: #353d56;
  font-size: 0.98rem;
}

/* ==================================================
   FEATURE ITEM (for list layouts)
================================================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==================================================
   FOOTER
================================================== */
footer {
  background: var(--footer-bg);
  color: #f8f7f0;
  padding: 44px 0 26px 0;
  font-size: 1.01rem;
  margin-top: 60px;
}
footer .container {
  gap: 14px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #CFB668;
  font-weight: 500;
  font-size: 1rem;
  transition: color .18s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-contact a {
  color: #CFB668;
  font-weight: 500;
}
footer small {
  color: #e5d08a;
  margin-top: 22px;
  font-size: 0.97rem;
  display: block;
  opacity: .89;
}
@media (max-width: 650px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* ==================================================
   UTILITY CLASSES & LUXURY EFFECTS
================================================== */
.luxury-underline {
  background: linear-gradient(90deg, #cfb668 40%, #f5f7fa 100%);
  height: 3px;
  border-radius: 2px;
  width: 36px;
  margin-top: 3px;
}

section:last-child {
  margin-bottom: 48px;
}

/* Text Section for About/Contact */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Map Block Icon/Text */
.map-block {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.04rem;
  margin: 10px 0 0 0;
}
.map-block img {
  width: 28px;
  height: 28px;
}

.recommended-usage {
  margin: 28px 0 0 0;
}
.recommended-usage h4 {
  color: var(--luxury-gold);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1rem;
}
.recommended-usage ul {
  padding-left: 16px;
  font-size: 0.98rem;
  color: #22314F;
}

/* ==================================================
   RESPONSIVE DESIGN
================================================== */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .content-wrapper, .testimonial-list, .feature-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .feature-grid, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.14rem; }
  .section, .hero {
    padding: 18px 4px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 0px;
  }
  .testimonial-card, .feature-card, .card {
    padding: 14px 7px;
  }
  .footer-contact, .footer-nav, .feature-grid, .card-container {
    font-size: 0.95rem;
  }
}

/* ==================================================
   BUTTON & FORM ELEMENTS
================================================== */
button, .btn-primary, input[type='submit'], input[type='button'] {
  font-family: 'Noto Sans JP', Arial, sans-serif;
  border: none;
  cursor: pointer;
  outline: none;
  background: var(--luxury-gold);
  color: #22314F;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 34px;
  margin: 0;
  transition: background .2s, color .2s, box-shadow .17s;
}
button:hover, input[type='submit']:hover, .btn-primary:focus {
  background: #ead28d;
  color: #22314F;
  box-shadow: 0 2px 16px var(--luxury-shadow);
}
input, textarea, select {
  border: 1px solid #e3e0cf;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 18px;
  font-size: 1rem;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--luxury-gold);
  border-color: var(--luxury-gold);
  background: #fffcee;
}

/* ==================================================
   COOKIE CONSENT BANNER & MODAL
================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid var(--luxury-gold);
  box-shadow: 0 -2px 24px #0004;
  color: #22314F;
  font-size: 1rem;
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  transition: transform .28s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0.15;
}
.cookie-banner .cookie-text {
  flex: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-banner button {
  background: var(--luxury-gold);
  color: #22314F;
  border-radius: 20px;
  font-size: 0.97rem;
  min-width: 94px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  border: none;
  transition: background .17s, color .18s, box-shadow .16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #22314F;
  color: var(--luxury-gold);
  box-shadow: 0 2px 18px var(--luxury-shadow);
}
.cookie-banner .cookie-settings {
  background: #fff;
  border: 1.5px solid var(--luxury-gold);
  color: #22314F;
  box-shadow: none;
  font-weight: 600;
}
.cookie-banner .cookie-settings:hover {
  background: #ede5cc;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 8px;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
  }
}

/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 401;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,79, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity .21s;
}
.cookie-modal {
  background: #fff;
  color: #22314F;
  border-radius: 18px;
  max-width: 430px;
  width: 90vw;
  box-shadow: 0 4px 32px #0005, 0 2px 8px var(--luxury-shadow);
  padding: 40px 32px 24px 32px;
  position: relative;
  z-index: 405;
  transition: transform .2s;
  display: flex;
  flex-direction: column;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--luxury-gold);
  margin-bottom: 16px;
  text-align: center;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  gap: 18px;
}
.cookie-modal .cookie-category label {
  font-size: 1.05rem;
  font-weight: 500;
  color: #22314F;
}
.cookie-modal .category-toggle {
  width: 40px;
  height: 24px;
  border-radius: 14px;
  background: #dfdbcd;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background .15s;
}
.cookie-modal .category-toggle input {
  display: none;
}
.cookie-modal .category-toggle::before {
  content: "";
  position: absolute;
  left: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .19s, background .18s;
}
.cookie-modal .category-toggle.active {
  background: var(--luxury-gold);
}
.cookie-modal .category-toggle.active::before {
  background: #fff;
  left: 20px;
}
.cookie-modal .category-toggle[aria-disabled='true'] {
  background: #E1DFD8;
}
.cookie-modal .category-toggle[aria-disabled='true']::before {
  background: #fcf6e3;
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 24px;
}
.cookie-modal .cookie-actions button {
  min-width: 110px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  color: #bdbdbd;
  background: none;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--luxury-gold);
}

/* ==================================================
   MISC: DL, Table, etc.
================================================== */
dl {
  margin-bottom: 18px;
}
dl dt {
  font-weight: 600;
  color: var(--luxury-gold);
  margin-top: 8px;
  margin-bottom: 2px;
  font-size: 1rem;
}
dl dd {
  margin-bottom: 5px;
  color: #22314F;
  font-size: 0.98rem;
}

/* ==================================================
   ANIMATIONS
================================================== */
.btn-primary, .feature-card, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow .18s, transform .18s, background .18s, color .18s, border .18s;
}

/* Fade in on load */
body.loaded main, body.loaded header, body.loaded footer {
  animation: fadeInUp .82s cubic-bezier(.36,-0.08,.97,.15);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   PRINT TWEAKS
================================================== */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, .btn-primary { display: none !important; }
  body { background: #fff; color: #000; }
}
