/* Layout: large photographs with generous space, a serif display face, and small tracked English labels. Heather for ink, fern for one dark band, dusky pink for thin rules. */
:root {
  --bg: #FBF7F4;
  --soft: #EEE2DB;
  --ink: #3B2F2A;
  --body: #4F4440;
  --muted: #7A6258;
  --rule: #DCCBC1;
  --accent: #B98F88;
  --accent-text: #7A5A52;
  --fern: #5E2A36;
  --fern-soft: #F3E6E1;
  --serif: 'Noto Serif JP', 'Hiragino Mincho ProN', Georgia, serif;
  --sans: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --en: 'Cormorant Garamond', Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.02em;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; }
section { padding-block: 120px; }
.band { background: var(--soft); }
.en {
  display: block; font-family: var(--en); font-style: italic; font-weight: 500;
  font-size: 16px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.5; text-wrap: balance; margin: 0; letter-spacing: 0.04em; }
h1 { font-size: clamp(34px, 6vw, 68px); font-weight: 500; }
h2 { font-size: clamp(28px, 4.2vw, 44px); margin-bottom: 32px; }
h3 { font-size: 22px; margin-bottom: 14px; }
p { margin: 0 0 1.4em; }
.lead { font-size: clamp(16px, 2vw, 18px); max-width: 36em; }
.small { font-size: 14px; color: var(--muted); }

/* Photo slots: replace the tonal block with an <img> when photos are ready */
.ph {
  position: relative; overflow: hidden; margin: 0;
  background: linear-gradient(140deg, #CDB8B0 0%, #A08B8E 55%, #6E5A62 100%);
}
.ph::after {
  content: attr(data-caption); position: absolute; left: 16px; bottom: 14px;
  font-size: 12px; letter-spacing: 0.12em; color: rgba(255,255,255,0.85);
}
.ph.fern { background: linear-gradient(140deg, #D9C3BC 0%, #B98F88 60%, #7A6258 100%); }
.ph.quartz { background: linear-gradient(140deg, #F1E7E3 0%, #D4BFB8 100%); }
.ph.quartz::after { color: var(--muted); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Header */
header.site {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: rgba(251, 247, 244, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
header.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-weight: 700; color: var(--ink); text-decoration: none; font-size: 17px; letter-spacing: 0.06em; }
.logo small { display: block; font-family: var(--en); font-style: italic; font-size: 12px; letter-spacing: 0.26em; color: var(--accent-text); font-weight: 500; }
nav.menu { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; letter-spacing: 0.06em; }
nav.menu a { text-decoration: none; padding-block: 6px; }
nav.menu a:hover, nav.menu a:focus-visible { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hero */
.hero { padding-block: 104px 120px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 { color: var(--ink); max-width: 12em; font-size: clamp(40px, 7vw, 86px); font-weight: 700; line-height: 1.3; }
.hero .en { font-size: 17px; }
.banner { padding: 0; }
.banner .ph { min-height: 60vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, #B98F88 0%, #7A4450 55%, #5E2A36 100%); }
.banner-copy { font-family: var(--serif); color: #fff; font-size: clamp(32px, 5.4vw, 64px); font-weight: 700; line-height: 1.5; text-align: center; padding: 48px 20px; letter-spacing: 0.06em; }
.hero .lead { color: var(--body); margin-top: 28px; }
.hero-ph { aspect-ratio: 4 / 5; background: linear-gradient(165deg, #F3E9E3 0%, #DCC3BB 55%, #C4A39B 100%); }
.hero-ph::after { color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn {
  display: inline-block; padding: 16px 34px; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: 0.1em;
  border: 1px solid var(--ink); color: var(--ink); background: transparent; border-radius: 1px;
}
.btn.solid { background: var(--fern); border-color: var(--fern); color: #fff; }
.btn.light { border-color: #fff; color: #fff; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Keyword strip */
.keywords { padding-block: 40px; background: var(--fern); }
.keywords ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-family: var(--serif); font-size: 17px; color: #F5ECE8; letter-spacing: 0.1em; }
.keywords li::before { content: "／"; color: #E6CFC9; margin-right: 14px; }
.keywords li:first-child::before { content: none; }

/* About */
.about { display: grid; gap: 56px; align-items: center; }
.about .ph { aspect-ratio: 4 / 5; }
.about .quote { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 500; color: var(--ink); line-height: 1.8; margin: 0 0 32px; }
.about .rule { width: 56px; height: 1px; background: var(--accent); margin: 0 0 32px; }

/* Business rows */
.row { display: grid; gap: 40px; align-items: center; }
.row + .row { margin-top: 110px; }
.row .ph { aspect-ratio: 4 / 3; }
.row .no { font-family: var(--en); font-style: italic; font-size: 20px; color: var(--accent-text); letter-spacing: 0.1em; }
.row .catch { font-family: var(--serif); color: var(--accent-text); font-size: 17px; margin: 10px 0 18px; }
.row ul { padding-left: 1.1em; margin: 0 0 22px; font-size: 15px; }
.status {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--muted); border: 1px solid var(--rule); padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}
.status.open { color: var(--accent-text); border-color: var(--accent); }

/* Small tiles (04-07) */
.tiles { display: grid; gap: 56px 28px; grid-template-columns: 1fr; margin-top: 110px; }
.tile .ph { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.tile h3 { font-size: 19px; }
.tile p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }

/* Partnership (dark band) */
.dark { background: var(--fern); color: #F5ECE8; }
.dark h2, .dark h3 { color: #fff; }
.dark .en { color: #E6CFC9; }
.dark p { color: #EBDCD8; }
.dark .small { color: #D2BFBA; }
.dark .status { color: #F5ECE8; border-color: #B98F88; }
.dark .btn { color: #fff; border-color: #fff; }
.dark .btn.solid { background: #fff; color: var(--fern); border-color: #fff; }
.dark .btn.solid:hover { background: transparent; color: #fff; }
.split { display: grid; gap: 56px; align-items: center; }
.split .ph { aspect-ratio: 4 / 5; }

/* Works */
.stats { display: grid; gap: 40px; grid-template-columns: 1fr; text-align: left; }
.stat { border-top: 1px solid var(--accent); padding-top: 26px; }
.stat .n { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 72px); color: var(--fern); line-height: 1.1; }
.stat .t { font-size: 14px; color: var(--muted); margin-top: 10px; letter-spacing: 0.06em; }
.works-note { margin-top: 40px; }

/* Message */
.message { display: grid; gap: 56px; align-items: center; }
.message .ph { aspect-ratio: 3 / 4; }
.sign { font-family: var(--serif); color: var(--ink); margin-top: 36px; }
.sign small { display: block; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Company */
dl.company { margin: 0; border-top: 1px solid var(--rule); }
dl.company div { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
dl.company dt { font-size: 13px; color: var(--accent-text); font-weight: 700; letter-spacing: 0.12em; }
dl.company dd { margin: 0; color: var(--ink); }

/* Contact */
.contact-box { display: grid; gap: 40px; }
.contact-form { display: grid; gap: 18px; background: #fff; padding: clamp(26px, 5vw, 44px); border: 1px solid var(--rule); }
.contact-form label { font-size: 14px; font-weight: 700; color: var(--ink); display: grid; gap: 8px; letter-spacing: 0.04em; }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #CDBDB7; border-radius: 1px; background: #fff; color: var(--ink); width: 100%;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button { justify-self: start; }
.contact-form button[disabled] { opacity: 0.45; cursor: not-allowed; }
.note { font-size: 14px; color: var(--muted); margin: 0; }

footer { background: var(--ink); color: #DCCFCA; padding-block: 72px 56px; font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
footer .logo { color: #fff; }
footer .logo small { color: #E3D2CC; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

@media (min-width: 760px) {
  .keywords ul { font-size: 19px; }
  .about { grid-template-columns: 1fr 1.1fr; }
  .row { grid-template-columns: 1fr 1fr; }
  .row.flip .ph { order: 2; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .message { grid-template-columns: 1fr 1fr; }
  .contact-box { grid-template-columns: 1fr 1.2fr; align-items: start; }
  dl.company div { grid-template-columns: 200px 1fr; gap: 28px; }
}
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tiles .tile { }
}
@media (prefers-reduced-motion: no-preference) {
  section { animation: rise .8s ease both; }
  @keyframes rise { from { opacity: 0.001; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* LINE 相談導線（URL未設定の間は非表示） */
[hidden] { display: none !important; }
.btn.small { padding: 11px 22px; font-size: 13px; margin-top: 18px; }
.line-box { display: grid; gap: 32px; align-items: center; }
.line-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9;
  padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
  background: rgba(251, 247, 244, 0.96); border-top: 1px solid var(--rule);
}
.line-bar .btn { display: block; text-align: center; }
body { padding-bottom: 84px; }
@media (min-width: 760px) {
  .line-bar { display: none !important; }
  body { padding-bottom: 0; }
  .line-box { grid-template-columns: 1fr auto; }
}

/* Banner photo: full-bleed image with a soft tint and the copy on top */
.banner .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.banner .ph::before { content: ""; position: absolute; inset: 0; background: rgba(43, 29, 32, 0.38); z-index: 1; }
.banner-copy { position: relative; z-index: 2; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }

/* 改行の調整：日本語を語句の途中で切らず、見出しや短い段落の最後の行が一文字にならないようにする */
body { line-break: strict; }
p, li, .lead, .quote { text-wrap: pretty; }
.nb { display: inline-block; }
.hero h1 { max-width: none; font-size: clamp(34px, 6.4vw, 80px); }
