/* ---------------------------------------------
   sachiwake works — 和・侘び寂び
   和紙の地、墨の文字、朱の落款。飾らず、余白で語る。
   --------------------------------------------- */

:root {
  --washi: #f3efe6;        /* 和紙 */
  --washi-deep: #ebe6d9;   /* 生成り */
  --sumi: #2e2a26;         /* 墨 */
  --sumi-soft: #6e665c;    /* 薄墨 */
  --shu: #a33b2a;          /* 朱（落款） */
  --haizakura: #cbb0b2;    /* 灰桜 — さりげない差し色 */
  --line: rgba(46, 42, 38, 0.18); /* 罫線 */
  --maxw: 880px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP",
    "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--washi);
}

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--sumi);
  background: var(--washi);
  line-height: 2.1;
  letter-spacing: 0.06em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

/* ---- Bilingual visibility (JA default) ---- */
.t-en { display: none; }
body.en .t-en { display: revert; }
body.en .t-ja { display: none; }

/* ---- 落款（印） ---- */
.seal {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--shu);
  color: var(--washi);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 0;
  line-height: 1;
}
.seal-small {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 1.05rem;
}

/* ---- Header ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 28px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--sumi);
}
.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
}
.brand-kana {
  font-size: 0.68rem;
  color: var(--sumi-soft);
  letter-spacing: 0.5em;
}
.lang-toggle {
  border: none;
  background: none;
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--sumi-soft);
  cursor: pointer;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
}
.lang-toggle:hover {
  color: var(--sumi);
  border-bottom-color: var(--line);
}

/* ---- Hero ---- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 28px 120px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  position: relative;
}
/* 大きな「幸」を薄く、地紋のように */
.hero::before {
  content: "幸";
  position: absolute;
  right: 20%;
  top: 4%;
  font-size: clamp(240px, 46vw, 420px);
  line-height: 1;
  color: rgba(46, 42, 38, 0.045);
  pointer-events: none;
  user-select: none;
}
.hero-title {
  writing-mode: vertical-rl;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  margin: 0;
  min-height: 11em;
  color: var(--sumi);
}
body.en .hero-title {
  writing-mode: horizontal-tb;
  min-height: 0;
  letter-spacing: 0.06em;
}
.hero-text {
  padding-top: 3.5em;
  max-width: 24em;
}
.hero-lead {
  font-size: 1.02rem;
  color: var(--sumi-soft);
  margin: 0 0 3em;
}

/* ---- テキストリンク ---- */
.text-link {
  color: var(--sumi);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.3s, color 0.3s;
}
.text-link::after {
  content: "→";
  margin-left: 0.8em;
  color: var(--shu);
}
.text-link:hover {
  border-bottom-color: var(--shu);
}

/* ---- Sections ---- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 28px;
  border-top: 1px solid var(--line);
}
.section-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  margin: 0 0 56px;
  color: var(--sumi);
  display: flex;
  align-items: center;
  gap: 1em;
}
/* 朱の小さな点を頭に */
.section-title::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--shu);
  border-radius: 50%;
  flex: none;
}

/* ---- Services ---- */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service {
  display: grid;
  grid-template-columns: 4.5rem 11em 1fr;
  gap: 0 2em;
  align-items: baseline;
  padding: 30px 0;
}
.service + .service {
  border-top: 1px dashed var(--line);
}
.service-num {
  font-size: 1.7rem;
  color: var(--haizakura);
  line-height: 1;
}
.service h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.service p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--sumi-soft);
}

/* ---- About ---- */
.about-body {
  max-width: 38em;
  padding-left: 1.8em;
  border-left: 1px solid var(--line);
}
.about-body p {
  margin: 0 0 1.6em;
  font-size: 0.95rem;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body em {
  font-style: normal;
  color: var(--shu);
}

/* ---- Contact ---- */
.contact-body p {
  margin: 0 0 1.8em;
  font-size: 0.95rem;
  color: var(--sumi-soft);
}
.mail {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  letter-spacing: 0.08em;
  color: var(--sumi);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.mail:hover { border-bottom-color: var(--shu); }

/* ---- Footer ---- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 28px 48px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--sumi-soft);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.site-footer .seal { margin-bottom: 14px; }
.site-footer p { margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .hero {
    flex-direction: row-reverse;
    justify-content: flex-end;
    padding: 56px 28px 80px;
    gap: 32px;
  }
  .hero::before { right: 4%; font-size: 62vw; }
  .hero-text { padding-top: 1em; }
  .hero-title { font-size: 1.7rem; min-height: 0; }
  .service {
    grid-template-columns: 3rem 1fr;
    grid-template-rows: auto auto;
  }
  .service-num { grid-row: 1 / 3; font-size: 1.4rem; }
  .service p { grid-column: 2; margin-top: 0.4em; }
}
