/* ===================================
   Deco Beaute - Corporate Theme v1.0
   =================================== */

:root {
  --mint: #87cbb6;
  --mint-deep: #4fa894;
  --mint-soft: #e8f3ee;
  --mint-glow: #a6dcc9;
  --gold: #c9a96e;
  --gold-soft: #e6d6b3;
  --navy: #2f3a3d;
  --ink: #2d2d2d;
  --ink-2: #555;
  --muted: #888;
  --subtle: #aaa;
  --faint: #bbb;
  --page: #fdfcfa;
  --card: #ffffff;
  --section: #f4f2ed;
  --gallery: #efece6;
  --border: #ece8e2;
  --header-border: #e8e2d8;
  --footer-border: #e0ddd7;
  --f-en: "Cormorant Garamond", "Noto Serif JP", serif;
  --f-ja-serif: "Noto Serif JP", serif;
  --f-ja: "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box }
html, body { margin: 0; padding: 0 }
body {
  font-family: var(--f-ja);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 32px }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px }
.spacer { height: 100px }
.spacer-sm { height: 56px }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253, 252, 250, .88);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--header-border);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-logo {
  height: 46px; width: auto; display: block;
}
.brand-text {
  display: flex; flex-direction: column; gap: 4px; line-height: 1;
}
.brand-text .name {
  font-family: var(--f-en);
  font-weight: 600; font-size: 22px;
  color: var(--navy); letter-spacing: 0.18em;
}
.brand-text .tag {
  font-family: var(--f-ja);
  font-size: 9.5px; letter-spacing: 0.32em;
  color: var(--mint-deep); font-weight: 500;
}
.nav { display: flex; gap: 38px; align-items: center }
.nav a {
  position: relative;
  font-family: var(--f-ja);
  font-size: 13px; font-weight: 400;
  color: var(--navy); letter-spacing: 0.14em;
  padding: 6px 2px;
  transition: color .3s ease;
}
.nav a::after {
  content: ""; position: absolute;
  left: 50%; right: 50%; bottom: 0; height: 1px;
  background: var(--gold);
  transition: left .35s ease, right .35s ease;
}
.nav a:hover, .nav a.active { color: var(--mint-deep) }
.nav a:hover::after, .nav a.active::after { left: 0; right: 0 }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--mint-soft) 0%, #f7faf7 100%);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px clamp(32px, 6vw, 96px);
  position: relative;
}
.hero-copy::before {
  content: ""; position: absolute;
  top: 14%; left: -10%; width: 380px; height: 380px;
  background: radial-gradient(circle, var(--mint-glow), transparent 65%);
  opacity: .45; filter: blur(20px); z-index: -1;
}
.hero-copy::after {
  content: ""; position: absolute;
  bottom: 8%; right: -4%; width: 260px; height: 260px;
  background: radial-gradient(circle, var(--gold-soft), transparent 65%);
  opacity: .35; filter: blur(16px); z-index: -1;
}
.hero-visual {
  position: relative; overflow: hidden; background: var(--navy);
}
.hero-visual .hv-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(232, 243, 238, .35) 0%, transparent 18%),
    linear-gradient(180deg, rgba(47, 58, 61, .05), rgba(47, 58, 61, .25));
}
.hero-visual .hv-badge {
  position: absolute; top: 28px; right: 28px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .92);
  font-family: var(--f-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--navy); text-transform: uppercase;
  backdrop-filter: blur(6px); z-index: 2;
}
.hero-visual .hv-caption {
  position: absolute; left: 28px; bottom: 28px; right: 28px;
  color: #fff; z-index: 2;
}
.hero-visual .hv-caption .en {
  font-family: var(--f-en); font-size: 11px; letter-spacing: .4em;
  color: var(--gold-soft); text-transform: uppercase;
  display: block; margin-bottom: 6px;
}
.hero-visual .hv-caption .ja {
  font-family: var(--f-ja-serif); font-size: 14px; letter-spacing: .2em;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
.hero-eyebrow {
  font-family: var(--f-en);
  font-size: 11px; letter-spacing: .5em;
  color: var(--mint-deep);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 500;
}
.hero-eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--mint-deep); opacity: .7;
}
.hero h1 {
  font-family: var(--f-en);
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 78px);
  letter-spacing: 0.14em;
  line-height: 1.05;
  margin: 0 0 26px;
  color: var(--navy);
}
.hero h1 .amp {
  font-style: italic; font-weight: 300; color: var(--mint-deep);
  margin: 0 .05em;
}
.hero h1 .line2 {
  display: block;
  font-size: .55em; letter-spacing: .4em;
  color: var(--mint-deep);
  font-weight: 400; margin-top: 14px;
}
.hero-sub-ja {
  font-family: var(--f-ja-serif);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500; letter-spacing: 0.18em;
  color: var(--navy);
  margin: 0 0 10px; line-height: 1.8;
}
.hero-sub-tag {
  font-family: var(--f-ja);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  margin: 0 0 40px;
}
.hero-meta {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid rgba(79, 168, 148, .25);
}
.hero-meta > div {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta > div .k {
  font-family: var(--f-en);
  letter-spacing: .3em; font-size: 10px; text-transform: uppercase;
  color: var(--gold);
}
.hero-meta > div .v {
  font-family: var(--f-ja-serif); font-size: 14px; color: var(--navy);
  letter-spacing: .1em;
}

/* ---------- section heading ---------- */
.sec-head { text-align: center; margin-bottom: 56px }
.sec-head.left { text-align: left }
.sec-head h2 {
  font-family: var(--f-en);
  font-weight: 500; font-size: 32px;
  letter-spacing: .14em; color: var(--navy);
  margin: 0 0 18px;
}
.sec-head .rule {
  display: inline-block; width: 56px; height: 1px;
  background: var(--gold); opacity: .8; margin-bottom: 18px;
}
.sec-head.left .rule { display: block }
.sec-head .ja {
  font-family: var(--f-ja-serif);
  font-size: 13px; letter-spacing: .3em; color: var(--mint-deep);
  margin-top: 6px; display: block;
}

/* ---------- brand concept ---------- */
.concept { text-align: center; position: relative }
.concept p {
  max-width: 640px; margin: 0 auto 18px;
  font-size: 16px; line-height: 2.2; color: var(--ink);
  letter-spacing: .08em;
}
.concept .lead {
  font-family: var(--f-ja-serif);
  font-size: 20px; line-height: 2; color: var(--navy);
  font-weight: 500; letter-spacing: .14em;
  margin-bottom: 32px;
}
.concept-logo {
  margin: 0 auto 40px;
  width: 140px; height: 140px;
  background: var(--mint);
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(79, 168, 148, .25);
}
.concept-logo img {
  width: 88px; height: 88px; object-fit: contain;
  filter: brightness(0) invert(1) opacity(.95);
}

/* ---------- craftsmanship ---------- */
.craft {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
}
.craft-copy h2 {
  font-family: var(--f-en); font-weight: 500;
  font-size: 36px; letter-spacing: .12em; color: var(--navy);
  margin: 0 0 14px;
}
.craft-copy .ja {
  font-family: var(--f-ja-serif); font-size: 13px; letter-spacing: .3em;
  color: var(--mint-deep); display: block; margin-bottom: 24px;
}
.craft-copy .rule {
  display: block; width: 48px; height: 1px; background: var(--gold); margin-bottom: 28px;
}
.craft-copy p {
  font-size: 15px; line-height: 2.1; color: var(--ink-2);
  margin: 0 0 18px; letter-spacing: .06em;
}
.craft-copy p.lead {
  font-family: var(--f-ja-serif); font-size: 19px; font-weight: 500;
  color: var(--navy); letter-spacing: .14em; line-height: 2; margin-bottom: 26px;
}
.craft-tags {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px;
}
.craft-tags span {
  font-family: var(--f-en); font-size: 10px; letter-spacing: .3em;
  color: var(--gold); text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--gold);
}
.craft-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px; position: relative;
}
.craft-portraits figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 2px; background: #ddd;
}
.craft-portraits figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .9s ease;
}
.craft-portraits figure:hover img { transform: scale(1.04) }
.craft-portraits .p1 { grid-row: span 2; aspect-ratio: 3/5.2 }
.craft-portraits .p2 { aspect-ratio: 4/3 }
.craft-portraits .p3 { aspect-ratio: 4/3 }
.craft-portraits::before {
  content: ""; position: absolute;
  inset: -18px -18px auto auto;
  width: 100px; height: 100px;
  border: 1px solid var(--mint-deep); opacity: .4;
  z-index: -1;
}

/* ---------- promise ---------- */
.promise-list { display: flex; flex-direction: column; gap: 40px }
.promise {
  display: grid; grid-template-columns: 35% 65%;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 2px; overflow: hidden; min-height: 220px;
}
.promise.reverse { grid-template-columns: 65% 35% }
.promise-num {
  background: var(--section);
  display: grid; place-items: center;
  position: relative; min-height: 220px;
}
.promise-num::after {
  content: ""; position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 1px; background: var(--gold); opacity: .6;
}
.promise-num span {
  font-family: var(--f-en);
  font-size: 84px; font-weight: 400;
  color: var(--gold); letter-spacing: .02em; line-height: 1;
}
.promise-body {
  padding: 48px 56px; display: flex; flex-direction: column; justify-content: center;
}
.promise-body h3 {
  font-family: var(--f-ja-serif);
  font-size: 22px; font-weight: 500;
  color: var(--navy); letter-spacing: .1em;
  margin: 0 0 6px;
}
.promise-body .en {
  font-family: var(--f-en);
  font-size: 12px; letter-spacing: .3em;
  color: var(--mint-deep); text-transform: uppercase;
  margin-bottom: 14px; display: block;
}
.promise-body p {
  font-size: 15px; line-height: 2; color: #444;
  margin: 0; letter-spacing: .06em;
}

/* ---------- gallery ---------- */
.gallery-intro {
  text-align: center; font-size: 15px; line-height: 2;
  margin: 0 auto 48px; max-width: 640px; color: var(--ink-2);
}
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery .cell {
  background: var(--gallery);
  border-radius: 2px;
  min-height: 280px;
  overflow: hidden; position: relative;
  transition: transform .5s ease;
}
.gallery .cell.tall { min-height: 380px }
.gallery .cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .4s ease, transform .9s ease;
}
.gallery .cell:hover img { opacity: .88; transform: scale(1.03) }
.gallery .cell .tag {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--f-en); font-size: 10px; letter-spacing: .3em;
  color: #fff; text-transform: uppercase;
  background: rgba(47, 58, 61, .55);
  padding: 4px 10px; backdrop-filter: blur(4px);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--navy); color: #fff;
  padding: 88px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(135, 203, 182, .22), transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(201, 169, 110, .18), transparent 50%);
}
.cta > * { position: relative }
.cta .en {
  font-family: var(--f-en); font-size: 12px; letter-spacing: .5em;
  color: var(--gold-soft); text-transform: uppercase;
}
.cta h3 {
  font-family: var(--f-ja-serif); font-weight: 500;
  font-size: 26px; letter-spacing: .12em;
  margin: 14px 0 10px;
}
.cta p {
  color: rgba(255, 255, 255, .75); font-size: 14px; letter-spacing: .1em;
  margin: 0 0 32px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 36px;
  border: 1px solid rgba(230, 214, 179, .5);
  font-family: var(--f-en); font-size: 12px; letter-spacing: .3em;
  color: var(--gold-soft); text-transform: uppercase;
  transition: all .3s ease;
}
.cta-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold) }

/* ---------- page title ---------- */
.page-title {
  text-align: center; padding: 80px 24px 24px;
}
.page-title .en {
  font-family: var(--f-en); font-size: 34px; font-weight: 500;
  letter-spacing: .16em; color: var(--navy);
  display: block;
}
.page-title .ja {
  font-family: var(--f-ja-serif); font-size: 12px;
  letter-spacing: .5em; color: var(--mint-deep);
  display: block; margin-top: 10px;
}
.page-title .rule {
  display: block; width: 56px; height: 1px;
  background: var(--gold); margin: 22px auto 0; opacity: .8;
}

/* ---------- company table ---------- */
.company-table {
  width: 100%; border-collapse: collapse;
  background: var(--card);
}
.company-table tr {
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}
.company-table tr:hover { background: rgba(127, 196, 176, .05) }
.company-table th {
  text-align: left;
  font-family: var(--f-ja); font-weight: 500;
  font-size: 14px; color: var(--navy);
  padding: 22px 24px 22px 28px;
  width: 180px; white-space: nowrap;
  position: relative; letter-spacing: .14em;
}
.company-table th::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; background: var(--gold);
}
.company-table td {
  padding: 22px 24px;
  font-size: 14px; color: var(--ink);
  line-height: 1.9; letter-spacing: .06em;
}

/* ---------- philosophy ---------- */
.philosophy { text-align: center; max-width: 720px; margin: 0 auto }
.philosophy p {
  font-size: 15px; line-height: 2.3; letter-spacing: .08em;
  color: var(--ink); margin: 0 0 24px;
}
.philosophy p.lead {
  font-family: var(--f-ja-serif); font-size: 18px;
  color: var(--navy); font-weight: 500;
  letter-spacing: .14em; margin-bottom: 36px;
}

/* ---------- privacy ---------- */
.privacy { max-width: 780px; margin: 0 auto }
.privacy .intro {
  font-size: 15px; line-height: 2.1; color: #333;
  padding: 24px 0; border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.privacy article { margin-bottom: 44px }
.privacy article h3 {
  font-family: var(--f-ja-serif); font-weight: 500;
  font-size: 19px; color: var(--navy); letter-spacing: .1em;
  margin: 0 0 14px;
  display: flex; align-items: baseline; gap: 14px;
}
.privacy article h3 .num {
  font-family: var(--f-en); color: var(--gold);
  font-size: 22px; font-weight: 400; letter-spacing: 0;
  min-width: 2ch;
}
.privacy article p, .privacy article li {
  font-size: 15px; line-height: 2; color: #333; letter-spacing: .05em;
}
.privacy article ul { padding-left: 1.4em; margin: 10px 0 }
.privacy article li { margin: 4px 0 }
.privacy .enact {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--subtle); letter-spacing: .12em;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--section);
  padding: 72px 0 36px;
  border-top: 1px solid var(--footer-border);
  margin-top: 120px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--footer-border);
}
.footer-brand-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px }
.footer-brand-top img { height: 40px; width: auto; opacity: .95 }
.footer-brand .name {
  font-family: var(--f-en); font-size: 22px; font-weight: 600;
  color: var(--navy); letter-spacing: .16em; margin: 0;
}
.footer-brand .tag { font-size: 13px; color: var(--muted); margin: 0 0 6px; letter-spacing: .1em }
.footer-brand .tag.small { font-size: 12px; color: var(--subtle) }
.footer-menu h4 {
  font-family: var(--f-en); font-size: 11px; letter-spacing: .4em;
  color: var(--gold); text-transform: uppercase; font-weight: 500;
  margin: 0 0 18px;
}
.footer-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px }
.footer-menu a { font-size: 13px; color: #777; letter-spacing: .1em; transition: color .3s }
.footer-menu a:hover { color: var(--mint-deep) }
.copyright {
  text-align: center; padding-top: 28px;
  font-family: var(--f-en); font-size: 11px; letter-spacing: .25em; color: var(--subtle);
}

/* ---------- page content fallback ---------- */
.page-content { max-width: 780px; margin: 0 auto; padding: 40px 0 }
.page-content p { font-size: 15px; line-height: 2; margin: 0 0 18px }
.page-content h2 {
  font-family: var(--f-ja-serif); font-size: 20px; font-weight: 500;
  color: var(--navy); letter-spacing: .1em; margin: 48px 0 16px;
}

/* ---------- fade animation ---------- */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.in { opacity: 1; transform: none }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: auto }
  .hero-visual { min-height: 380px }
  .craft { grid-template-columns: 1fr; gap: 40px }
}
@media (max-width: 782px) {
  .wrap, .wrap-wide, .wrap-narrow { padding: 0 20px }
  .spacer { height: 72px }
  .nav { gap: 22px }
  .nav a { font-size: 12px }
  .brand-logo { height: 36px }
  .brand-text .name { font-size: 18px }
  .brand-text .tag { font-size: 8.5px }
  .hero-copy { padding: 60px 24px }
  .hero h1 { font-size: 40px; letter-spacing: .1em }
  .hero-sub-ja { font-size: 14px }
  .hero-meta { gap: 24px; margin-top: 40px }
  .promise { grid-template-columns: 1fr !important }
  .promise-body { padding: 32px 24px }
  .promise-num { min-height: 100px }
  .promise-num span { font-size: 52px }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px }
  .gallery .cell { min-height: 180px }
  .gallery .cell.tall { min-height: 200px }
  .company-table th { width: 120px; padding: 16px 12px 16px 16px; font-size: 13px }
  .company-table td { padding: 16px 12px; font-size: 13px }
  .footer-grid { grid-template-columns: 1fr; gap: 32px }
  .page-title { padding: 60px 24px 24px }
  .page-title .en { font-size: 28px }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px }
  .sec-head h2 { font-size: 26px }
}
