:root {
  --ink: #211d18;
  --text: #403a33;
  --muted: #7f7a70;
  --line: #e6dfd2;
  --paper: #faf8f3;
  --white: #fffefa;
  --green: #173f2f;
  --green-dark: #0f2f24;
  --gold: #b99b5f;
  --sand: #e7d4a2;
  --dark: #171511;
  --shadow: 0 18px 46px rgba(44, 33, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.85;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.42;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(43px, 5vw, 72px);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.1vw, 46px);
}

h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px, auto) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 54px);
  min-height: 82px;
  padding: 0 clamp(18px, 4.2vw, 70px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-grid;
  gap: 4px;
  width: fit-content;
}

.brand-name {
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: clamp(22px, 2.4vw, 33px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-sub {
  color: #67645e;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3.2vw, 48px);
}

.nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.header-actions,
.dark-cta-actions {
  display: flex;
  gap: 12px;
}

.header-btn,
.dark-cta-actions a,
.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 2px;
  font-weight: 800;
  white-space: nowrap;
}

.header-btn.case {
  border: 1px solid rgba(33, 29, 24, 0.28);
  background: var(--white);
}

.header-btn.contact {
  background: var(--green);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(260px, 1fr);
  align-items: stretch;
  height: clamp(560px, calc(100vh - 82px), 760px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--dark);
}

.hero-main,
.hero-side {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 15, 14, 0.68), rgba(13, 15, 14, 0.25) 58%, rgba(13, 15, 14, 0.1)),
    linear-gradient(0deg, rgba(13, 15, 14, 0.46), rgba(13, 15, 14, 0.02) 42%);
}

.hero-main img,
.hero-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main img {
  object-position: center;
  filter: saturate(0.92) contrast(0.96);
}

.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  border-left: 1px solid rgba(255, 254, 250, 0.5);
}

.hero-side img {
  min-height: 0;
  border-bottom: 1px solid rgba(255, 254, 250, 0.5);
  filter: saturate(0.98) contrast(0.98);
}

.hero-side img:last-child {
  border-bottom: 0;
}

.hero-copy {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 74%);
  padding: clamp(62px, 8vw, 112px) clamp(38px, 7vw, 120px);
}

.hero-copy h1 {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  max-width: 450px;
  margin-bottom: clamp(26px, 4vw, 44px);
  color: rgba(255, 254, 250, 0.94);
  font-weight: 700;
  line-height: 2.05;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.hero-copy strong {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--sand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.hero-copy strong::before,
.hero-copy strong::after {
  content: "";
  width: clamp(34px, 5vw, 78px);
  height: 1px;
  background: rgba(231, 212, 162, 0.76);
}

.section-wide,
.section-block {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

.section-block {
  padding: clamp(70px, 9vw, 125px) 0;
}

.section-wide {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(42px, 9vw, 150px);
  padding: clamp(70px, 9vw, 125px) 0;
  border-bottom: 1px solid var(--line);
}

.section-wide::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 28px;
  width: min(360px, 34vw);
  aspect-ratio: 1.55;
  border: 1px solid rgba(185, 155, 95, 0.14);
  opacity: 0.7;
  transform: skew(-9deg);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.concept-text {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding-top: 36px;
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(230, 223, 210, 0.9);
  background: rgba(255, 254, 250, 0.82);
}

.service-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.service-heading span,
.strength-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.service-heading span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.strength-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 21px;
  font-weight: 500;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.48;
  margin-bottom: 18px;
  object-fit: cover;
}

.service-card p {
  min-height: 96px;
  color: #585149;
  font-size: 14px;
}

.service-card a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.service-card a::after,
.text-link::after,
.outline-link::after,
.dark-cta-actions a::after {
  content: "→";
}

.section-title {
  margin-bottom: 28px;
}

.with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.works {
  padding-top: 0;
}

.works-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-right: calc((100vw - min(1240px, calc(100vw - 56px))) / -2);
}

.works-strip article {
  min-width: 0;
}

.works-strip img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.works-strip h3 {
  margin: 16px 0 4px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 17px;
  font-weight: 600;
}

.works-strip p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.washitsu-feature {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  min-height: 430px;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(250, 248, 243, 0.9) 43%, rgba(250, 248, 243, 0) 72%);
}

.washitsu-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 95px) clamp(34px, 8vw, 112px);
}

.washitsu-copy .lead {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.washitsu-copy p:not(.eyebrow):not(.lead) {
  max-width: 470px;
  font-weight: 600;
}

.washitsu-feature > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.outline-link {
  width: fit-content;
  margin-top: 12px;
  border: 1px solid rgba(33, 29, 24, 0.26);
  background: rgba(255, 254, 250, 0.48);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strength-grid article {
  min-height: 180px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.strength-grid article:last-child {
  border-right: 0;
}

.strength-grid h3 {
  margin: 10px 0 8px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 18px;
  font-weight: 600;
}

.strength-grid p {
  margin-bottom: 0;
  color: #5d574f;
  font-size: 13px;
}

.news {
  padding-top: 0;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list a,
.news-list .news-item {
  display: grid;
  grid-template-columns: 150px 110px 1fr 20px;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.news-list a::after {
  content: "›";
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}

.news-list time {
  color: #6f685f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.news-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.news-list p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
}

.dark-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(50px, 6vw, 82px) clamp(28px, 8vw, 110px);
  background:
    linear-gradient(90deg, rgba(17, 15, 12, 0.96), rgba(17, 15, 12, 0.84)),
    url("./assets/shop.jpg") center / cover;
  color: var(--white);
}

.dark-cta h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(25px, 3vw, 38px);
}

.dark-cta p {
  margin-bottom: 0;
  color: rgba(255, 254, 250, 0.75);
}

.dark-cta-actions a {
  min-width: 230px;
  border: 1px solid rgba(255, 254, 250, 0.55);
  color: var(--white);
}

.dark-cta-actions a:last-child {
  border-color: transparent;
  background: var(--sand);
  color: var(--ink);
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px clamp(22px, 6vw, 96px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer .brand {
  min-width: 210px;
}

.footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.footer nav a,
.footer p {
  color: #5f5b54;
  font-size: 12px;
  font-weight: 700;
}

.footer p {
  margin-bottom: 0;
  white-space: nowrap;
}

.sub-hero {
  padding: clamp(86px, 12vw, 150px) clamp(28px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(250, 248, 243, 0.96), rgba(250, 248, 243, 0.8)),
    url("./assets/work-rinoberu.jpg") center / cover;
}

.sub-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 78px);
}

.sub-hero p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 0;
  font-weight: 700;
}

.work-card-list {
  display: grid;
  gap: 22px;
}

.work-detail-card {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 30px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.work-detail-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.work-detail-card h3 {
  margin: 10px 0 8px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 24px;
  font-weight: 600;
}

.work-detail-card p {
  max-width: 680px;
  margin-bottom: 0;
}

.badge-row {
  display: flex;
  gap: 8px;
}

.badge-row span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-bottom: 14px;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-copy {
    width: min(720px, 88%);
  }

  .hero-main {
    height: clamp(520px, 72vw, 660px);
  }

  .hero-side {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 170px;
    border-left: 0;
    border-top: 1px solid rgba(255, 254, 250, 0.5);
  }

  .hero-side img {
    border-right: 1px solid rgba(255, 254, 250, 0.5);
    border-bottom: 0;
  }

  .hero-side img:last-child {
    border-right: 0;
  }

  .service-grid,
  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-strip {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    margin-right: 0;
  }

  .dark-cta,
  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    padding-top: 16px;
  }

  .header-actions {
    justify-self: stretch;
    grid-column: 1 / -1;
  }

  .header-btn {
    flex: 1;
    min-width: 0;
  }

  .hero-copy {
    padding: 58px 26px 34px;
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-main {
    height: 620px;
  }

  .hero-side {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 170px);
  }

  .hero-side img {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 254, 250, 0.5);
  }

  .section-wide,
  .section-block {
    width: min(100% - 36px, 1240px);
  }

  .section-wide,
  .washitsu-feature {
    grid-template-columns: 1fr;
  }

  .concept-text {
    padding-top: 0;
  }

  .service-grid,
  .strength-grid,
  .works-strip {
    grid-template-columns: 1fr;
  }

  .service-card p {
    min-height: 0;
  }

  .news-list a,
  .news-list .news-item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 16px 0;
  }

  .news-list a::after {
    display: none;
  }

  .dark-cta-actions {
    flex-direction: column;
  }

  .work-detail-card {
    grid-template-columns: 1fr;
  }
}
