:root {
  --bg: #fffef0;
  --paper: #ffffff;
  --ink: #25221d;
  --text: #4d4941;
  --muted: #777166;
  --accent: #f0b429;
  --accent-dark: #c57d10;
  --soft-accent: #fbf8a7;
  --orange: #e7832b;
  --line: #e6dfd1;
  --shadow: 0 12px 28px rgba(64, 49, 24, 0.08);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 254, 240, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  align-items: center;
  display: flex;
  gap: 12px;
  line-height: 1.15;
}

.logo-image {
  height: 44px;
  object-fit: contain;
  width: 104px;
}

.logo-sub {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 900;
  white-space: nowrap;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2.2vw, 22px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  color: #3f3930;
}

.menu-button {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 5px 0;
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  padding: clamp(22px, 4.5vw, 52px) clamp(20px, 6vw, 88px) clamp(40px, 6vw, 72px);
}

.hero-logo {
  margin-bottom: 14px;
  max-width: min(420px, 100%);
}

.welcome {
  color: var(--accent-dark);
  font-weight: 800;
  margin: 0 0 12px;
}

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

h1 {
  font-size: clamp(2.25rem, 5.4vw, 4.9rem);
  letter-spacing: 0;
  line-height: 1.14;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  letter-spacing: 0;
  line-height: 1.32;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.45;
  margin-bottom: 8px;
}

.lead {
  color: var(--text);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 4px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
}

.button.primary {
  background: var(--ink);
  color: #fffdfa;
}

.button.plain {
  background: #fff;
  color: var(--ink);
}

.origin-icons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.origin-icons span:not(.plus):not(.equals) {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--accent);
  display: grid;
  min-width: 94px;
  padding: 8px 14px;
  text-align: center;
}

.origin-icons b {
  font-size: 1rem;
  line-height: 1.1;
}

.origin-icons small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.origin-icons .plus,
.origin-icons .equals {
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-photo-stack {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 10px;
}

.hero-main-photo {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.hero-small-photos {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.hero-small-photos img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.message,
.care-points,
.name-section,
.photos,
.program,
.target,
.company,
.sns,
.contact {
  padding: clamp(54px, 8vw, 90px) clamp(20px, 6vw, 88px);
}

.message {
  background: var(--soft-accent);
}

.message,
.target {
  max-width: none;
}

.target > * {
  max-width: 920px;
}

.section-kicker {
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.message p,
.program-main p,
.target p,
.contact p,
.name-copy p,
.point-list p {
  color: var(--text);
}

.care-points {
  background: var(--bg);
}

.point-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.point-list article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}

.point-list article::before {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  display: block;
  height: 10px;
  margin-bottom: 20px;
  width: 48px;
}

.point-icon {
  align-items: center;
  background: #fff8cf;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--accent);
  display: inline-flex;
  font-size: 1.55rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 18px;
  width: 58px;
}

.name-section {
  background: var(--ink);
  color: #fffdfa;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.name-section .section-kicker,
.name-copy p {
  color: #fff6d7;
}

.name-copy {
  align-self: center;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: clamp(22px, 4vw, 44px);
}

.name-copy p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.program {
  background: #fff8df;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.program-tags {
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.program-tags li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  padding: 9px 14px;
}

.target {
  background: #fff;
}

.target-lead {
  margin-bottom: 22px;
}

.target ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.target li {
  border-left: 4px solid var(--accent);
  color: var(--text);
  padding: 8px 0 8px 16px;
}

.company {
  background: #fff;
}

.company-table {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.company-table > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 0.65fr);
  padding: 22px 0;
}

.company-table [role="rowheader"] {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
}

.company-table [role="cell"] {
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
}

.map-embed {
  background: #ddd;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-top: 48px;
  min-height: 280px;
  overflow: hidden;
}

.map-embed iframe {
  border: 0;
  display: block;
  height: 360px;
  width: 100%;
}

.sns {
  background: var(--soft-accent);
}

.sns-head {
  margin-bottom: 28px;
  max-width: none;
}

.sns-head p:last-child {
  color: var(--text);
}

.instagram-embed-wrap {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 760px;
  min-height: 520px;
  padding: clamp(18px, 4vw, 32px);
}

.instagram-media {
  margin: 0 auto !important;
  max-width: 540px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.contact {
  background: var(--soft-accent);
}

.contact h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  margin-bottom: 18px;
}

.contact-lead {
  color: var(--text);
  margin-bottom: 34px;
  max-width: 880px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 36px);
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form label > span,
.message-field > span {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 11px 14px;
  width: 100%;
}

.topic-field {
  max-width: 420px;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.2);
  outline: none;
}

.consent {
  align-items: start;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 20px 1fr;
  line-height: 1.8;
}

.consent input {
  height: 16px;
  margin-top: 9px;
  width: 16px;
}

.consent span {
  color: var(--text) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

.submit-button {
  align-self: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  justify-self: center;
  min-width: 132px;
  padding: 12px 28px;
}

.submit-button:hover,
.submit-button:focus {
  background: var(--ink);
  outline: none;
}

.footer {
  align-items: center;
  background: #243126;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  padding: 26px clamp(20px, 6vw, 88px);
}

.photos {
  background: #fff;
}

.photo-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.photo-grid figure:first-child,
.photo-grid figure:nth-child(7) {
  grid-column: span 2;
}

.photo-grid figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.photo-grid img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-grid figure:first-child img,
.photo-grid figure:nth-child(7) img {
  aspect-ratio: 2 / 1;
}

.photo-grid figcaption {
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  padding: 10px 12px;
}

.footer span {
  color: #d8e4d8;
}

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    position: absolute;
    right: 18px;
    top: 72px;
    width: min(300px, calc(100vw - 36px));
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    width: 100%;
  }

  .hero,
  .name-section,
  .photo-grid,
  .program,
  .contact,
  .form-row {
    grid-template-columns: 1fr;
  }

  .company-table > div {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .point-list {
    grid-template-columns: 1fr;
  }

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

  .photo-grid figure:first-child,
  .photo-grid figure:nth-child(7) {
    grid-column: span 2;
  }

  .name-copy {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  h1 {
    font-size: 2.18rem;
  }

  .actions .button {
    width: 100%;
  }

  .photo-grid,
  .hero-small-photos {
    grid-template-columns: 1fr;
  }

  .photo-grid figure:first-child,
  .photo-grid figure:nth-child(7) {
    grid-column: span 1;
  }

  .photo-grid figure:first-child img,
  .photo-grid figure:nth-child(7) img {
    aspect-ratio: 1 / 1;
  }

}
