:root {
  --ink: #16201d;
  --deep: #153a35;
  --teal: #1f6a63;
  --teal-soft: #dfeeea;
  --mint: #f0f8f5;
  --gold: #c6a15b;
  --gold-soft: #eee3cd;
  --ivory: #fbf8ef;
  --paper: #fffdf7;
  --white: #ffffff;
  --muted: #68756f;
  --line: #e5e8df;
  --shadow: 0 24px 60px rgba(21, 58, 53, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, .9);
  border-bottom: 1px solid rgba(22,32,29,.08);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--deep), var(--teal));
  box-shadow: 0 16px 32px rgba(31,106,99,.18);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px solid rgba(255,255,255,.75);
  transform: rotate(45deg);
}
.brand-mark::after {
  inset: 15px;
  border-color: rgba(198,161,91,.86);
}
.brand-text {
  display: grid;
  line-height: 1.2;
}
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: .13em;
  font-weight: 700;
  color: var(--deep);
}
.brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #42534e;
  font-size: 14px;
  font-weight: 800;
}
.nav a:hover { color: var(--teal); }
.nav-contact {
  padding: 11px 20px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--deep);
  box-shadow: 0 12px 28px rgba(21,58,53,.18);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 740px;
  background:
    radial-gradient(circle at 72% 28%, rgba(198,161,91,.18), transparent 18%),
    radial-gradient(circle at 85% 70%, rgba(31,106,99,.18), transparent 22%),
    linear-gradient(135deg, #fbf8ef 0%, #f5f0e2 46%, #e6f1ec 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.shape {
  position: absolute;
  display: block;
  border: 1px solid rgba(31,106,99,.17);
  background: rgba(255,255,255,.24);
  backdrop-filter: blur(2px);
}
.shape-a {
  width: 330px;
  height: 330px;
  right: 8%;
  top: 18%;
  border-radius: 38%;
  transform: rotate(24deg);
}
.shape-b {
  width: 220px;
  height: 220px;
  right: 28%;
  bottom: 12%;
  border-radius: 44%;
  transform: rotate(-18deg);
  border-color: rgba(198,161,91,.22);
}
.shape-c {
  width: 460px;
  height: 460px;
  left: -160px;
  bottom: -180px;
  border-radius: 50%;
  border-color: rgba(31,106,99,.10);
}
.line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,106,99,.22), transparent);
}
.line-a { width: 60%; right: -10%; top: 34%; transform: rotate(-18deg); }
.line-b { width: 52%; left: -12%; bottom: 24%; transform: rotate(14deg); }

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 740px;
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 58px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-kicker::before { content:""; width: 42px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.22;
  letter-spacing: -0.04em;
  color: var(--deep);
}
.hero-lead {
  margin-top: 30px;
  max-width: 650px;
  color: #4f625c;
  font-size: 17px;
  line-height: 2.1;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  transition: .22s ease;
}
.button-primary {
  background: var(--deep);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(21,58,53,.20);
}
.button-primary:hover { transform: translateY(-2px); background: var(--teal); }
.button-ghost {
  color: var(--deep);
  border: 1px solid rgba(21,58,53,.22);
  background: rgba(255,255,255,.38);
}
.button-ghost:hover { border-color: var(--teal); color: var(--teal); }

.hero-panel {
  padding: 42px;
  border-radius: 36px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.panel-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-panel h2 {
  margin-top: 22px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}
.hero-panel p {
  margin-top: 22px;
  color: var(--muted);
}
.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.panel-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--mint);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.section { padding: 104px 0; }
.section-paper { background: var(--ivory); }
.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21,58,53,.96), rgba(31,106,99,.88)),
    radial-gradient(circle at 80% 20%, rgba(198,161,91,.24), transparent 24%);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.kicker::before { content:""; width: 28px; height: 1px; background: currentColor; }
.section-dark .kicker { color: #d9c391; }
h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.36;
  letter-spacing: -0.04em;
  color: var(--deep);
}
.section-dark h2 { color: var(--white); }
h3 { font-size: 22px; line-height: 1.55; font-weight: 900; }
p { color: var(--muted); }
.section-dark p { color: rgba(255,255,255,.74); }
.center { text-align: center; margin-inline: auto; }
.section-head { margin-bottom: 54px; }
.section-head p { margin-top: 14px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 58px;
  align-items: center;
}
.about-copy .lead {
  margin-top: 28px;
  font-size: 17px;
  line-height: 2.1;
}
.about-copy p + p { margin-top: 20px; }
.about-card {
  padding: 14px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(31,106,99,.20), rgba(198,161,91,.14));
}
.about-card-inner {
  min-height: 420px;
  padding: 42px;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.78);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.greek-note {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
}
.about-card h3 {
  margin-top: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  color: var(--deep);
}
.about-card p { margin-top: 22px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}
.service-card {
  min-height: 322px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(21,58,53,.06);
  transition: .22s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-num {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--deep);
  background: linear-gradient(135deg, var(--mint), var(--gold-soft));
  font-weight: 900;
  letter-spacing: .08em;
}
.service-card p { margin-top: 14px; font-size: 14px; line-height: 1.9; }

.approach-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.approach-list {
  display: grid;
  gap: 16px;
}
.approach-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.approach-item span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--deep);
  font-weight: 900;
  flex: 0 0 auto;
}
.approach-item h3 { color: var(--white); font-size: 19px; }
.approach-item p { margin-top: 6px; font-size: 14px; line-height: 1.85; }

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.strength-card {
  padding: 32px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.strength-card p { margin-top: 14px; font-size: 15px; line-height: 1.95; }

.company-grid {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 42px;
  align-items: start;
}
.company-table {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(21,58,53,.06);
}
.company-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--line);
}
.company-row:last-child { border-bottom: 0; }
.company-key {
  padding: 20px 24px;
  color: var(--deep);
  background: #f4f4ed;
  font-weight: 900;
}
.company-value {
  padding: 20px 24px;
  color: #53625e;
}
.company-value a:hover { color: var(--teal); }
.company-side {
  padding: 32px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(31,106,99,.10), rgba(198,161,91,.06)),
    var(--mint);
  border: 1px solid var(--line);
}
.company-side h3 { color: var(--deep); }
.company-side p { margin-top: 18px; }

.contact {
  padding: 96px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21,58,53,.95), rgba(31,106,99,.90)),
    radial-gradient(circle at 75% 30%, rgba(198,161,91,.22), transparent 24%);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}
.contact h2 { color: var(--white); }
.contact p { margin-top: 18px; max-width: 720px; }
.contact-card {
  min-width: 340px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  color: var(--deep);
  box-shadow: var(--shadow);
}
.contact-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}
.email-link {
  color: var(--deep);
  font-size: 18px;
  font-weight: 900;
  word-break: break-all;
}
.email-link:hover { color: var(--teal); }

.footer {
  padding: 34px 0;
  background: #0f2724;
  color: rgba(255,255,255,.72);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}
.footer-brand {
  display: grid;
  gap: 4px;
}
.footer-brand strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: .13em;
}
.footer-brand small { font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: var(--white); }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-inner,
  .about-grid,
  .approach-grid,
  .company-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero, .hero-inner { min-height: 680px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .strength-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 70px; }
  .brand-name { font-size: 20px; }
  .brand-sub { display: none; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .hero, .hero-inner { min-height: 620px; }
  .hero h1 { font-size: clamp(38px, 12vw, 56px); }
  .hero-panel { padding: 28px; }
  .hero-panel h2 { font-size: 34px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .section { padding: 74px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .company-row { grid-template-columns: 1fr; }
  .company-key, .company-value { padding: 16px 18px; }
  .contact-card { min-width: 0; width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}


/* v2: CONTACT readability adjustment */
.contact .kicker {
  color: #e8d2a0;
}

.contact .kicker::before {
  background: currentColor;
}

.contact p {
  color: rgba(255,255,255,.88);
  font-weight: 500;
}

.contact-card small {
  color: #53625e;
}

.contact-card .email-link {
  color: var(--deep);
}


/* v3: KALEIDO Concept 02 Luminous Shape logo */
.brand-logo {
  display: block;
  width: 250px;
  max-height: 66px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: 210px;
  max-height: 62px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.footer-brand small {
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .brand-logo {
    width: 200px;
    max-height: 54px;
  }
  .footer-logo {
    width: 170px;
  }
}


/* v5: Footer left blank fix */
.footer-brand-text strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  letter-spacing: .13em;
  line-height: 1.1;
}

.footer-brand-text small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}


/* v6: Footer actual logo card */
.footer-brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.footer-logo-image {
  display: block;
  width: 190px;
  max-height: 54px;
  object-fit: contain;
}

.footer-brand-logo small {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

@media (max-width: 640px) {
  .footer-logo-card {
    width: 196px;
    padding: 9px 12px;
  }
  .footer-logo-image {
    width: 166px;
  }
}


/* v7: footer logo balance adjustment */
.footer-logo-card {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
}

.footer-brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-logo-image {
  display: block;
  width: 205px;
  max-height: 58px;
  object-fit: contain;
}

.footer-brand-logo small {
  color: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

@media (max-width: 640px) {
  .footer-logo-image {
    width: 170px;
  }
}


/* v8: footer color balance correction
   Use the original KALEIDO logo colors on a light footer instead of forcing a dark-background recolor. */
.footer {
  background:
    linear-gradient(180deg, #fffdf7 0%, #f7f1e4 100%) !important;
  color: #53625e !important;
  border-top: 1px solid rgba(21,58,53,.10);
}

.footer-inner {
  color: #53625e !important;
}

.footer-logo-image {
  display: block;
  width: 205px;
  max-height: 58px;
  object-fit: contain;
}

.footer-brand-logo small {
  color: #53625e !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.footer-links a,
.footer span {
  color: #53625e !important;
}

.footer a:hover {
  color: var(--teal) !important;
}

@media (max-width: 640px) {
  .footer-logo-image {
    width: 170px;
  }
}


/* v9: company wording emphasis and hero panel clipping fix */
.company-value { line-height: 1.8; }

@media (max-width: 980px) {
  .hero {
    min-height: 0 !important;
    padding: 48px 0 92px;
  }
  .hero-inner {
    min-height: 0 !important;
    padding-top: 0;
    align-items: start;
    gap: 34px;
  }
  .hero-panel {
    padding-bottom: 38px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0 !important;
    padding: 34px 0 82px;
  }
  .hero-inner {
    min-height: 0 !important;
    gap: 28px;
  }
  .hero-panel {
    padding: 26px 24px 34px;
    border-radius: 30px;
  }
  .company-value {
    font-size: 15px;
  }
}
