@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@500;600&display=swap");

:root {
  --ink: #171a18;
  --paper: #f4f1e9;
  --cream: #e9e3d6;
  --red: #c53323;
  --line: rgba(23, 26, 24, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }

.site-header {
  height: 104px;
  padding: 14px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, .94);
}
.brand img { width: 76px; height: 76px; object-fit: contain; }
.company-name { margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(18px, 2vw, 25px); letter-spacing: .08em; }
.header-contact { padding-bottom: 5px; border-bottom: 1px solid; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.header-contact span { margin-left: 28px; color: var(--red); }

.hero {
  min-height: 610px;
  padding: 84px clamp(24px, 8vw, 130px) 80px;
  position: relative;
  overflow: hidden;
}
.eyebrow { margin: 0 0 28px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.hero h1, .about h2, .contact h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.42;
}
.hero h1 { font-size: clamp(46px, 7vw, 104px); }
em { color: var(--red); font-style: normal; }
.hero-copy { width: min(420px, 100%); margin: 48px 3vw 0 auto; position: relative; z-index: 1; }
.hero-copy p { margin: 0 0 25px; font-size: 15px; line-height: 2; }
.text-link { display: inline-flex; gap: 60px; padding-bottom: 7px; border-bottom: 1px solid; font-size: 13px; font-weight: 600; }
.text-link span { color: var(--red); }
.hero-mark {
  position: absolute;
  right: -3vw;
  top: 10px;
  color: rgba(197, 51, 35, .055);
  font-family: "Noto Serif JP", serif;
  font-size: min(46vw, 620px);
  line-height: 1;
  pointer-events: none;
}

.gallery-section { padding: 70px clamp(24px, 7vw, 110px) 120px; background: var(--ink); color: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 38px; }
.section-heading h2 { margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(27px, 4vw, 48px); font-weight: 500; letter-spacing: .06em; }
.gallery-counter { margin: 0; color: #8d8e89; font-size: 13px; letter-spacing: .15em; }
.gallery-counter span { color: var(--paper); font-size: 25px; }
.slider { position: relative; }
.slides { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .65s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide picture, .slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.slide figcaption {
  position: absolute;
  left: 0; bottom: 0;
  padding: 20px 28px;
  background: rgba(23, 26, 24, .9);
  font-size: 13px;
  letter-spacing: .07em;
}
.slide figcaption span { margin-right: 18px; color: var(--red); }
.slider-button {
  position: absolute; top: 50%; z-index: 2;
  width: 58px; height: 58px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .2s, background .2s, transform .2s;
  color: black;
  background: var(--cream);
}
.slider-button:hover { color: white; background: var(--red); transform: translateY(-50%) scale(1.06); }
.slider-prev { left: -29px; }
.slider-next { right: -29px; }
.slider-progress { height: 2px; margin-top: 22px; background: #393c39; overflow: hidden; }
.slider-progress span { display: block; width: 0; height: 100%; background: var(--red); }
.slider-progress span.is-running { animation: progress 5s linear; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

.about {
  padding: 130px clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 10vw;
}
.about h2 { font-size: clamp(38px, 5vw, 69px); }
.about-lead { margin: 48px 0 70px; font-family: "Noto Serif JP", serif; font-size: clamp(19px, 2vw, 25px); line-height: 2; }
.values article { display: grid; grid-template-columns: 45px 90px 1fr; gap: 12px; padding: 27px 0; border-top: 1px solid var(--line); align-items: baseline; }
.values article:last-child { border-bottom: 1px solid var(--line); }
.values span { color: var(--red); font-size: 11px; }
.values h3 { margin: 0; font-family: "Noto Serif JP", serif; font-size: 22px; font-weight: 600; }
.values p { margin: 0; color: #5d615d; font-size: 13px; line-height: 1.9; }

.contact { padding: 100px clamp(24px, 8vw, 130px); background: var(--cream); }
.contact h2 { font-size: clamp(34px, 5.2vw, 70px); }
.contact > p:not(.eyebrow) { margin: 30px 0 60px; color: #5d615d; font-size: 14px; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.contact-links a { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; min-width: 0; padding: 27px 4px; border-bottom: 1px solid var(--ink); }
.contact-links a:first-child { margin-right: 40px; }
.contact-links small { color: var(--red); font-weight: 700; letter-spacing: .12em; }
.contact-links span { overflow-wrap: anywhere; font-size: clamp(16px, 2vw, 24px); }
.contact-links b { font-size: 18px; font-weight: 400; }

footer { padding: 32px clamp(24px, 5vw, 76px); display: flex; align-items: center; gap: 60px; background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: .08em; }
footer p { margin: 0; }
footer p:first-child { font-family: "Noto Serif JP", serif; font-size: 17px; }
footer a { margin-left: auto; color: #b2b2ad; }

.company-hero {
  min-height: 390px;
  padding: 84px clamp(24px, 8vw, 130px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.company-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: .08em;
}
.company-hero > p {
  margin: 0 8vw 10px 0;
  position: relative;
  z-index: 1;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.9;
}
.company-hero > span {
  position: absolute;
  right: -2vw;
  top: -70px;
  color: rgba(197, 51, 35, .055);
  font-family: "Noto Serif JP", serif;
  font-size: min(35vw, 470px);
  line-height: 1;
  pointer-events: none;
}
.company-details {
  padding: 110px clamp(24px, 8vw, 130px) 140px;
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
  gap: clamp(45px, 8vw, 130px);
}
.company-details-heading h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  letter-spacing: .08em;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
}
.company-table th,
.company-table td {
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}
.company-table th {
  width: 34%;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
}
.company-table th span {
  display: inline-block;
  width: 42px;
  color: var(--red);
  font-size: 10px;
  letter-spacing: .08em;
}
.company-table td {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.7vw, 21px);
}
.company-table td a {
  text-decoration: underline;
  text-decoration-color: rgba(23, 26, 24, .35);
  text-underline-offset: 5px;
}
.company-table td a:hover { color: var(--red); }

@media (max-width: 760px) {
  .site-header { height: 76px; padding: 8px 20px; grid-template-columns: 58px 1fr; }
  .brand img { width: 56px; height: 56px; }
  .company-name { font-size: 17px; }
  .header-contact { display: none; }
  .hero { min-height: 580px; padding: 70px 24px 60px; }
  .hero h1 { font-size: clamp(36px, 10.8vw, 48px); line-height: 1.55; letter-spacing: .02em; white-space: nowrap; }
  .hero-copy { margin-top: 55px; }
  .hero-mark { top: 140px; right: -50px; font-size: 300px; }
  .gallery-section { padding: 60px 24px 80px; }
  .section-heading { align-items: end; }
  .section-heading h2 { font-size: 25px; }
  .slides { aspect-ratio: 4 / 4.8; }
  .slide img { object-position: center; }
  .slide figcaption { width: 100%; padding: 16px; }
  .slider-button { top: auto; bottom: 56px; width: 46px; height: 46px; transform: none; }
  .slider-button:hover { transform: scale(1.05); }
  .slider-prev { left: 14px; }
  .slider-next { right: 14px; }
  .about { padding: 90px 24px; grid-template-columns: 1fr; gap: 30px; }
  .about-lead { margin: 25px 0 50px; font-size: 17px; }
  .values article { grid-template-columns: 35px 65px 1fr; }
  .values p { font-size: 12px; }
  .contact { padding: 80px 24px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links a:first-child { margin-right: 0; }
  .contact-links a { grid-template-columns: 70px 1fr auto; }
  .company-hero { min-height: 330px; padding: 65px 24px 55px; display: block; }
  .company-hero h1 { font-size: 49px; }
  .company-hero > p { margin: 48px 0 0; font-size: 15px; }
  .company-hero > span { top: 40px; right: -25px; font-size: 250px; }
  .company-details { padding: 75px 24px 95px; grid-template-columns: 1fr; gap: 42px; }
  .company-table th,
  .company-table td { display: block; width: 100%; }
  .company-table th { padding: 23px 4px 7px; border-bottom: 0; }
  .company-table td { padding: 0 4px 23px 46px; font-size: 16px; }
  footer { padding: 28px 24px; flex-wrap: wrap; gap: 10px 25px; }
  footer p:first-child { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
  .slider-progress span.is-running { animation: none; width: 100%; }
}
