:root {
  color: #1a1a1a;
  background: #f2efe9;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  min-width: 0;
  margin: 0;
  color: #1a1a1a;
  background: #f2efe9;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid #c9c4b8;
  background: rgb(242 239 233 / 96%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 64px, 1320px);
  min-height: 104px;
  margin-inline: auto;
  gap: 40px;
}

.brand h1,
.brand p,
.content-section h2,
.content-section h3,
.content-section p,
address,
figure {
  margin: 0;
}

address {
  font-style: normal;
}

.brand h1 {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand p {
  margin-top: 5px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  gap: 12px 30px;
  list-style: none;
}

nav a {
  font-size: 0.88rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  text-decoration: underline;
}

main {
  width: min(100% - 64px, 1320px);
  margin-inline: auto;
}

.content-block {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
  min-height: 720px;
  padding-block: clamp(72px, 9vw, 132px);
  gap: clamp(48px, 7vw, 112px);
}

.text-column {
  min-width: 0;
}

.content-section + .content-section {
  margin-top: clamp(72px, 8vw, 112px);
}

.content-section h2 {
  margin-bottom: 30px;
  font-size: clamp(2.2rem, 3.3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.content-section h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.content-section p + p,
.content-section p + address {
  margin-top: 1.9em;
}

/* PDF原案の1行あたりの文字数（全角約40字）に合わせて行長を制限し、
   ハードな改行タグに頼らず全画面幅で自然に折り返させる */
.content-section p,
.content-section address,
.content-section li {
  max-width: 40em;
  overflow-wrap: anywhere;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.business-list,
.business-list ul,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 箇条書き記号は装飾。content の代替テキスト構文（/ ""）で
   スクリーンリーダーへの読み上げを抑止する */
.business-list h3::before {
  content: "■ " / "";
}

.business-list ul li::before,
.plain-list li::before {
  content: "・" / "";
}

.business-list > li + li {
  margin-top: 22px;
}

.profile-section h2 {
  font-size: clamp(1.75rem, 2.75vw, 2.4rem);
}

.profile-section h3 {
  margin-bottom: 14px;
}

.contact-section a {
  display: inline-block;
}

.image-column {
  position: static;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.image-column img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  width: min(100% - 64px, 1320px);
  margin-inline: auto;
  padding-block: 40px 48px;
  border-top: 1px solid #c9c4b8;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.site-footer small {
  font-size: 0.75rem;
  opacity: 0.7;
}

.site-footer p + p {
  margin-top: 10px;
}

@media (max-width: 1200px) {
  html {
    scroll-padding-top: 142px;
  }

  /* PDF原案の改行位置に基づく <br> は、テキスト列がPDFより狭くなるこの幅では
     二重折返しを起こすため無効化し、max-width: 40em による自然折返しに任せる */
  br {
    display: none;
  }

  .site-footer {
    width: min(100% - 32px, 1320px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 32px, 1320px);
    min-height: auto;
    padding-block: 16px 14px;
    gap: 14px;
  }

  nav,
  nav ul {
    width: 100%;
  }

  nav ul {
    justify-content: flex-start;
    gap: 8px 20px;
  }

  main {
    width: min(100% - 32px, 1320px);
  }

  .content-block {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 68px;
    gap: 44px;
  }

  .content-section + .content-section {
    margin-top: 68px;
  }

  .content-section h2 {
    margin-bottom: 24px;
  }

  .image-column {
    position: static;
    width: 100%;
  }
}

@media (max-width: 400px) {
  html {
    scroll-padding-top: 160px;
  }

  .brand p {
    font-size: 0.68rem;
  }

  nav ul {
    gap: 8px 16px;
  }

  .content-section h2,
  .profile-section h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
