/* CSS RESET & BASE NORMALIZATION */
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,
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 {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F5F7FA;
  height: 100%;
}
body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  background: linear-gradient(120deg, #F5F7FA 0%, #E6ECF3 100%);
  color: #294163;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.03em;
  position: relative;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #294163;
  text-decoration: none;
  transition: color 0.2s;
  outline: 0;
}
a:hover,
a:focus {
  color: #E2B560;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #294163;
  margin-bottom: 18px;
  line-height: 1.2;
}
h2 {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #294163;
  margin-bottom: 14px;
  line-height: 1.3;
}
h3 {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #294163;
  margin-bottom: 10px;
}
p, li, address {
  font-size: 1rem;
  color: #294163;
  margin-bottom: 10px;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}
strong {
  font-weight: 600;
  color: #294163;
}

/* SPACING & CONTAINERS */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(120deg, #F5F7FA 0%, #E2B56010 100%);
  border-radius: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(41,65,99,0.08);
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative;
  padding: 24px 20px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(41,65,99,0.15);
  transform: translateY(-4px) scale(1.02);
}

.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;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(41,65,99,0.07);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  min-width: 0;
  color: #222 !important;
}
.testimonial-card p {
  margin: 0 0 0 0;
  font-size: 1.05rem;
  color: #222;
}
.testimonial-card span {
  color: #294163;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(41,65,99,0.13);
}

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

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: linear-gradient(90deg, #294163 20%, #E2B560 120%);
  box-shadow: 0 2px 12px rgba(41,65,99,0.03);
  padding: 0px 0 0px 0;
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  color: #fff;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.3s, color 0.2s;
  position: relative;
}
header nav a.cta {
  background: linear-gradient(90deg, #E2B560 0%, #FFD98A 100%);
  color: #294163;
  font-weight: 700;
  margin-left: 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(41,65,99,0.09);
  transition: background 0.19s, color 0.19s;
}
header nav a.cta:hover {
  background: linear-gradient(90deg, #294163 0%, #E2B560 100%);
  color: #fff;
}
header nav a:not(.cta):hover,
header nav a:not(.cta):focus {
  background: rgba(255,255,255,0.13);
  color: #E2B560;
}
header img {
  height: 46px;
  width: auto;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #E2B560;
  padding: 8px 12px;
  border-radius: 8px;
  margin-left: 14px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1102;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #29416344;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #294163 80%, #E2B560 100%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.71,.01,.2,.99);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 12px 16px;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 24px;
  margin-right: 14px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1301;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E2B56066;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: center;
  margin-top: 34px;
}
.mobile-nav a {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  padding: 16px 32px;
  border-radius: 10px;
  text-align: center;
  transition: background 0.23s, color 0.19s;
  width: 80%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: linear-gradient(90deg, #E2B560 10%, #FFD98A 90%);
  color: #294163;
}

/* MAIN BUTTON/CTA */
.cta {
  display: inline-block;
  border: none;
  background: linear-gradient(90deg, #E2B560 0%, #FFD98A 100%);
  color: #294163;
  font-weight: 700;
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 1.15rem;
  padding: 12px 28px;
  margin-top: 12px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(41,65,99,0.11);
  cursor: pointer;
  transition: background 0.22s, color 0.19s, box-shadow 0.19s, transform 0.13s;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #294163 0%, #E2B560 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(41,65,99,0.16);
  transform: translateY(-2px) scale(1.03);
}

/* CARDS, FEATURES, ICON LISTS */
ul > li, ol > li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}
ul > li img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background:#fff;
  margin-bottom: 24px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(41,65,99,0.07);
  overflow: hidden;
}
th, td {
  padding: 16px 10px;
  font-size: 1rem;
  border-bottom: 1px solid #e5e8ec;
  text-align: left;
}
th {
  background: #F2E6C3;
  color: #294163;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  width: 100%;
  background: linear-gradient(90deg, #294163 30%, #E2B560 130%);
  box-shadow: 0 -2px 8px rgba(41,65,99,0.06);
  padding: 32px 0 18px 0;
  color: #fff;
  border-top-left-radius:24px;
  border-top-right-radius:24px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  background: none;
  padding: 0 0 2px 0;
  border-radius: 0;
  font-size: 0.98rem;
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  transition: color 0.18s, text-decoration 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD98A;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 1rem;
}
.footer-contact img {
  width: 48px;
  height: 48px;
}
.footer-contact address {
  font-style: normal;
  color: #fff;
  font-size: 0.98rem;
}
footer .copyright {
  margin-top: 18px;
  width: 100%;
  text-align: right;
  color: #F5F7FA;
  font-size: 0.92rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: linear-gradient(90deg,#294163 50%,#E2B560 230%);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 26px 18px 26px 18px;
  z-index: 2500;
  box-shadow: 0 -2px 32px #29416333;
  font-size: 1.02rem;
  animation: cookieBannerSlideIn 0.58s cubic-bezier(.68,-0.12,.27,1.17);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  flex: 1 1 400px;
  padding: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: #E2B560;
  color: #294163;
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 1rem;
  padding: 8px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-right: 4px;
  box-shadow: 0 2px 8px #2941631a;
  font-weight: 600;
  transition: background 0.17s, color 0.16s, box-shadow 0.18s, transform 0.14s;
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn.accept {
  background: #E2B560;
  color: #294163;
}
.cookie-btn.accept:hover,.cookie-btn.accept:focus {
  background: #FFD98A;
}
.cookie-btn.reject {
  background: #E53F3F;
  color: #fff;
}
.cookie-btn.reject:hover,.cookie-btn.reject:focus {
  background: #E26262;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.2px solid #fff;
  color: #fff;
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #294163;
  color: #FFD98A;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41,65,99,0.35);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal-content {
  background: #fff;
  color: #294163;
  min-width: 320px;
  max-width: 96vw;
  border-radius: 16px;
  padding: 34px 26px 30px 26px;
  box-shadow: 0 12px 64px #29416322;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalFadeIn 0.26s cubic-bezier(.41,.6,.89,.97);
}
@keyframes modalFadeIn {
  from { transform:scale(.97) translateY(48px); opacity:.18; }
  to   { transform:scale(1) translateY(0); opacity:1; }
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  padding: 0 0 8px 0;
  border-bottom: 1px solid #e2e2e7;
}
.cookie-category:last-child {
  border: none;
}
.cookie-category-name {
  min-width: 120px;
  font-weight: bold;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 13px;
  background: #E2B560;
  position: relative;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle[data-checked='true'] {
  background: #294163;
}
.cookie-toggle input[type='checkbox'] {
  display: none;
}
.cookie-toggle-slider {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.15s;
}
.cookie-toggle[data-checked='true'] .cookie-toggle-slider {
  left: 18px;
  background: #FFD98A;
}
.cookie-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 14px 20px;
  color: #294163;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 14;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E2B56033;
  border-radius: 50%;
}

/* ACCESSIBILITY */
a:focus-visible, .cta:focus-visible {
  outline: 2.5px solid #E2B560;
  outline-offset: 1px;
}

/* MEDIA QUERIES: MOBILE FIRST RESPONSIVE */
@media (max-width: 1060px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 768px) {
  header .container {
    padding: 8px 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 12px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    border-radius: 12px;
    padding: 16px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    border-radius: 12px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  table { font-size: 0.95rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 24px 8px 24px 8px;
    font-size: 0.95rem;
  }
  .cookie-banner-content {
    flex: 1 1 240px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.03rem; }
  .container {
    padding: 0 3vw;
  }
  footer { padding: 18px 0 8px 0; }
  .footer-contact img { width: 38px; height: 38px; }
  .footer-nav { font-size:0.86rem; }
}

/* MICRO-INTERACTIONS */
.cta:active {
  transform: scale(0.97);
}
.card:active {
  transform: scale(0.985);
}
.mobile-nav a:active {
  background: #FFD98A;
  color: #294163;
}

/* --- END OF STYLES --- */
