/* Valword — 桜井茶人 ブランドサイト */

:root {
  --ink: #1A2438;
  --ink-soft: #4A5468;
  --ink-mute: #8893A8;
  --line: #E3E9F2;
  --line-soft: #EEF3F9;
  --paper: #FFFFFF;
  --bg: #F5F8FB;
  --bg-tint: #ECF1F7;
  --blue: #3B6FAE;
  --blue-deep: #2A547F;
  --blue-soft: #6B9AD1;
  --blue-pale: #C9DBEF;
  --blue-mist: #E5EEF8;
  --line-green: #06C755;
  --line-green-d: #04a647;
  --accent: #FFC857;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-soft: 0 8px 28px rgba(26, 36, 56, 0.08);
  --shadow-lifted: 0 18px 50px rgba(26, 36, 56, 0.12);

  --max: 1200px;
  --pad: clamp(20px, 4vw, 56px);

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Outfit", "Inter", system-ui, sans-serif;
  --font-hand: "Klee One", "Zen Kurenaido", "Yomogi", "Noto Sans JP", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(245, 248, 251, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-color: var(--line);
  background: rgba(245, 248, 251, 0.92);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--blue);
  display: inline-flex; align-items: baseline; gap: 2px;
}
.wordmark .dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 2px;
  display: inline-block;
  margin-left: 4px;
  transform: translateY(-2px);
}
.nav {
  display: flex; align-items: center; gap: 28px;
}
.nav a {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { transform: scaleX(1); }
.nav .cta-line {
  background: var(--line-green);
  color: white;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.3);
}
.nav .cta-line:hover {
  background: var(--line-green-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.4);
}
.nav .cta-line::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F5F8FB 0%, #EAF1F8 100%);
}
.hero-img {
  display: block;
  background: #F5F8FB;
}
.hero-img picture, .hero-img img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  max-width: 1920px;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 88px) var(--pad) clamp(60px, 10vw, 120px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: clamp(520px, 80vh, 720px);
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
  position: relative;
  display: inline-block;
}
.hero-copy h1 .l1 { display: block; white-space: nowrap; }
.hero-copy h1 .l2 { display: block; white-space: nowrap; }
.hero-copy h1 .underline {
  display: block;
  height: 14px;
  margin-top: -8px;
  margin-left: 8%;
  width: 70%;
  max-width: 480px;
  color: var(--blue-soft);
}
.hero-copy h1 .underline svg { width: 100%; height: 100%; overflow: visible; }
.hero-copy .sub {
  margin-top: 28px;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.hero-copy .sub strong {
  font-weight: 700;
  color: var(--ink);
}
.hero-photo {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 420px;
}
.hero-photo image-slot {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: transparent;
}
/* Decorative squares (top-right) */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-deco .sq {
  position: absolute;
  border: 1.5px solid var(--blue-pale);
  border-radius: 4px;
}
.hero-deco .sq-1 { top: 8%; right: 4%; width: 220px; height: 220px; }
.hero-deco .sq-2 { top: 26%; right: -4%; width: 140px; height: 140px; }
.hero-deco .pixels {
  position: absolute;
  bottom: 32px; left: var(--pad);
  display: grid; grid-template-columns: repeat(3, 6px); gap: 3px;
}
.hero-deco .pixels span {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 1px;
}
.hero-deco .pixels span:nth-child(1),
.hero-deco .pixels span:nth-child(5),
.hero-deco .pixels span:nth-child(6) {
  background: var(--blue-soft);
}
.hero-deco .pixels span:nth-child(7),
.hero-deco .pixels span:nth-child(8),
.hero-deco .pixels span:nth-child(9) {
  visibility: hidden;
}
.hero-deco .baseline {
  position: absolute;
  bottom: 36px;
  left: calc(var(--pad) + 36px);
  right: calc(var(--pad) + 200px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-pale), transparent 90%);
}
.hero-floor {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  height: 30%;
  background: radial-gradient(ellipse at 50% 100%, rgba(107, 154, 209, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Section base ---------- */
section { position: relative; }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) var(--pad);
}
.eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--blue);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--blue);
}
.section-title {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 18px 0 0;
  color: var(--ink);
}

/* ---------- Message ---------- */
.message {
  background: var(--paper);
  position: relative;
}
.message::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, var(--blue-mist) 0%, transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(255, 200, 87, 0.08) 0%, transparent 35%);
  pointer-events: none;
}
.message-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  position: relative;
}
.message-side {
  position: sticky; top: 120px;
}
.message-side .quote {
  font-family: var(--font-hand);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 0;
}
.message-side .quote span {
  background: linear-gradient(transparent 65%, rgba(255, 200, 87, 0.45) 65%);
  padding: 0 4px;
}
.message-side .name-card {
  margin-top: 36px;
  padding: 16px 22px;
  background: var(--bg);
  border-radius: var(--r-md);
  display: flex; align-items: center; gap: 16px;
}
.message-side .name-card.name-card-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
}
.message-side .name-card .avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-mist);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--blue);
  font-size: 22px;
  border: 1px solid var(--blue-pale);
  overflow: hidden;
}
.message-side .name-card .avatar.avatar-photo {
  border: 2px solid var(--paper);
  box-shadow: 0 2px 8px rgba(26,36,56,0.12);
}
.message-side .name-card .avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.message-side .name-card .nm-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  white-space: nowrap;
}
.message-side .name-card .nm-jp {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.message-side .name-card .nm-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}
.message-body p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2.1;
  color: var(--ink-soft);
  margin: 0 0 1.6em;
  letter-spacing: 0.04em;
  text-wrap: pretty;
}
.message-body p:last-child { margin-bottom: 0; }
.message-body p .hi {
  background: linear-gradient(transparent 70%, var(--blue-mist) 70%);
  font-weight: 700;
  color: var(--ink);
  padding: 0 2px;
}

/* ---------- LINE CTA ---------- */
.cta-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section .bg-text {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(120px, 22vw, 280px);
  color: rgba(59, 111, 174, 0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.cta-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.cta-card .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--blue);
  font-weight: 600;
  background: var(--blue-mist);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.cta-card h2 {
  font-family: var(--font-hand);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.5;
  margin: 20px 0 12px;
}
.cta-card .lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px;
  background: var(--line-green);
  color: white;
  font-weight: 700;
  font-size: 17px;
  padding: 18px 44px;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.35);
  transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .25s, background .25s;
  letter-spacing: 0.04em;
}
.btn-line:hover {
  background: var(--line-green-d);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(6, 199, 85, 0.45);
}
.btn-line:active { transform: translateY(0) scale(0.99); }
.btn-line svg { width: 22px; height: 22px; flex-shrink: 0; }
.cta-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ---------- Business cards ---------- */
.biz {
  background: var(--paper);
}
.biz-head {
  text-align: center;
  margin-bottom: 56px;
}
.biz-head .eyebrow { justify-content: center; }
.biz-head .eyebrow::before { display: none; }
.biz-head .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--blue);
}
.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.biz-card {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 28px;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform .3s, border-color .3s, background .3s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.biz-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-color, var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.biz-card:hover {
  transform: translateY(-3px);
  background: var(--paper);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.biz-card:hover::before { transform: scaleX(1); }
.biz-card .biz-tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.biz-card .biz-name {
  font-size: 22px;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.biz-card .biz-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  flex-grow: 1;
}
.biz-card .biz-foot {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--font-en);
}
.biz-card .biz-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  background: var(--paper);
  transition: background .25s, border-color .25s, transform .25s;
}
.biz-card:hover .biz-arrow {
  background: var(--accent-color, var(--blue));
  border-color: var(--accent-color, var(--blue));
  color: white;
  transform: translate(2px, -2px);
}
.biz-card .biz-arrow svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 80px var(--pad) 36px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .wordmark {
  color: white;
  font-size: 30px;
}
.footer .ft-tag {
  font-family: var(--font-hand);
  font-size: 18px;
  margin-top: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.footer-links h4 {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 600;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-en);
  letter-spacing: 0.06em;
}

/* ---------- Inner pages ---------- */
.page-hero {
  background: linear-gradient(180deg, #F5F8FB 0%, #EAF1F8 100%);
  padding: clamp(60px, 10vw, 120px) var(--pad) clamp(40px, 6vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--blue);
}
.page-hero h1 {
  font-family: var(--font-hand);
  font-size: clamp(36px, 5vw, 60px);
  margin: 18px 0 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.page-hero .ja {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.06em;
}
.page-body {
  background: var(--paper);
}
.page-body .section-inner {
  max-width: 880px;
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.info-table {
  border-collapse: collapse;
  width: 100%;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
  line-height: 1.8;
}
.info-table th {
  width: 200px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0.06em;
}
.info-table td { color: var(--ink-soft); }
.info-table tr:first-child th, .info-table tr:first-child td {
  border-top: 1px solid var(--line);
}

.privacy-section { margin-bottom: 48px; }
.privacy-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
  line-height: 1.5;
}
.privacy-section p, .privacy-section li {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
}
.privacy-section ul { padding-left: 22px; }
.privacy-section ul li { margin-bottom: 6px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 60px;
    gap: 40px;
  }
  .hero-photo { min-height: 380px; order: 2; }
  .hero-deco .sq-1 { width: 160px; height: 160px; top: 4%; }
  .hero-deco .sq-2 { width: 100px; height: 100px; }
}
@media (max-width: 880px) {
  .nav .nav-link { display: none; }
  .nav .cta-line { padding: 8px 14px; font-size: 12px; }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 60px;
  }
  .hero-photo { min-height: 380px; order: 2; }
  .hero-deco .sq-1 { width: 140px; height: 140px; top: 4%; }
  .hero-deco .sq-2 { width: 80px; height: 80px; }
  .message-grid { grid-template-columns: 1fr; gap: 32px; }
  .message-side { position: static; }
  .biz-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .info-table th { width: 110px; padding: 16px; font-size: 13px; }
  .info-table td { padding: 16px; font-size: 14px; }
}
