@charset "UTF-8";

/* ==========================================================================
   YMN 株式会社 コーポレートサイト
   Canva デザイン案（2026-07）をもとにした共通スタイル
   ========================================================================== */

:root {
  --bg: #faf7f2;
  --bg-alt: #f4efe7;
  --bg-card: #fffdfa;
  --ink: #2f2925;
  --ink-soft: #5e534a;
  --ink-mute: #857a6f;
  --line: #e6ddd0;
  --line-soft: #f0e9de;
  --brand: #7c6a56;
  --brand-dark: #5f5142;
  --accent: #b98e63;
  --accent-soft: #d8b795;
  --shadow: 0 18px 40px -28px rgba(70, 55, 40, 0.45);

  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP",
    "Shippori Mincho", "MS PMincho", serif;
  --sans: "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo,
    system-ui, sans-serif;

  --shell: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--brand-dark);
  color: #fff;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.shell {
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.13em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--filled {
  fill: currentColor;
  stroke: none;
}

/* SNS の公式グリフは線が太いので、サイト共通の線画より太くする */
.icon--brand {
  stroke-width: 2.6;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.site-header__logo {
  flex-shrink: 0;
}

.site-header__logo img {
  height: 34px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
  border-bottom-color: var(--accent-soft);
}

.site-nav__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav__tel .icon {
  font-size: 16px;
  color: var(--brand);
}

.nav-toggle {
  display: none;
}

/* ナビ項目が増えたぶん、メニューへ畳む直前の幅では文字と間隔を詰めて 1 行に収める */
@media (min-width: 941px) and (max-width: 1120px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .site-nav__tel {
    font-size: 18px;
  }
}

/* ブレークポイントを変えるときは Base.astro の matchMedia も合わせること */
@media (max-width: 940px) {
  .site-header__inner {
    min-height: 62px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--bg-card);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px var(--gutter) 20px;
  }

  .site-nav[hidden] {
    display: none;
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav__tel {
    padding-top: 16px;
    border-bottom: 0;
  }
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 30px;
  min-height: 56px;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn--dark {
  background: #4a3f34;
}

.btn--dark:hover {
  background: #362e26;
}

.btn__arrow {
  font-size: 13px;
  opacity: 0.8;
}

/* --------------------------------------------------------------- headings */

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head__eyebrow {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.section-head__title {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.12em;
}

.section-head__title .em {
  font-size: 1.35em;
}

.section-head__rule {
  width: 118px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--accent-soft);
  position: relative;
}

.section-head__rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.section-head__lead {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 17px);
}

.lede {
  color: var(--ink-soft);
  text-align: center;
  font-size: clamp(15px, 1.4vw, 17px);
}

.note-band {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(22px, 3.4vw, 34px) clamp(20px, 4vw, 48px);
  background: var(--bg-alt);
  border-radius: 10px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
}

.section--alt .note-band {
  background: #efe7db;
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--bg) 0%,
    rgba(250, 247, 242, 0.86) 22%,
    rgba(250, 247, 242, 0) 62%
  );
}

.hero__inner {
  position: relative;
  padding-block: clamp(72px, 11vw, 150px);
  min-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  font-size: clamp(30px, 5.2vw, 56px);
  line-height: 1.42;
  letter-spacing: 0.1em;
  max-width: 18em;
}

.hero__lead {
  margin-top: clamp(22px, 3vw, 34px);
  color: var(--ink-soft);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2.15;
}

.hero__actions {
  margin-top: clamp(26px, 3.4vw, 40px);
}

@media (max-width: 860px) {
  .hero__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(250, 247, 242, 0) 55%,
      var(--bg) 100%
    );
  }

  .hero__inner {
    min-height: 0;
    padding-block: clamp(28px, 7vw, 48px) clamp(48px, 9vw, 72px);
  }
}

/* page hero (下層ページ) */

.page-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  padding-block: clamp(56px, 8vw, 96px);
  text-align: center;
}

.page-hero__label {
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 0.24em;
}

.page-hero__title {
  margin-top: clamp(22px, 3vw, 34px);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.page-hero__lead {
  margin-top: clamp(20px, 2.6vw, 30px);
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 17px);
}

.page-hero__lead + .page-hero__lead {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 40em;
  margin-inline: auto;
}

/* ------------------------------------------------------------------ worry */

.worry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.worry__title {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.55;
}

.worry__list {
  margin-top: clamp(26px, 3.4vw, 40px);
  display: grid;
  gap: 14px;
}

.worry__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 16px 22px;
  font-size: 15px;
  line-height: 1.75;
  box-shadow: 0 10px 24px -22px rgba(70, 55, 40, 0.5);
}

.worry__list .icon {
  flex: none;
  font-size: 22px;
  color: #c8836a;
}

.worry__media {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
}

.worry__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.worry__media img:first-child {
  grid-row: span 2;
}

@media (max-width: 900px) {
  .worry {
    grid-template-columns: 1fr;
  }

  .worry__media {
    grid-template-rows: 200px 200px;
  }
}

.empathy {
  margin-top: clamp(40px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.empathy__title {
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.empathy__body {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.1;
}

.empathy__aside {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.empathy__aside img {
  width: 190px;
  flex: none;
}

.empathy__memo {
  color: #b07a58;
  font-size: 14px;
  line-height: 1.9;
  border-left: 1px solid var(--accent-soft);
  padding-left: 14px;
}

@media (max-width: 900px) {
  .empathy {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------- reasons */

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.reasons--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
}

.reason {
  text-align: center;
  padding-inline: clamp(4px, 1.4vw, 18px);
}

.reasons > .reason + .reason {
  border-left: 1px solid var(--line);
}

.reasons--card {
  gap: clamp(18px, 2.4vw, 30px);
}

.reasons--card .reason {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 30px);
  box-shadow: var(--shadow);
  text-align: left;
}

.reasons--card > .reason + .reason {
  border-left: 1px solid var(--line-soft);
}

.reason__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.reasons--card .reason__head {
  justify-content: space-between;
}

.reason__num {
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--accent);
  letter-spacing: 0.08em;
}

.reason__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.reason__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f2e9dd;
  color: var(--brand);
  font-size: 30px;
}

.reasons--card .reason__icon {
  background: none;
  width: auto;
  height: 72px;
  font-size: 54px;
  color: var(--brand);
}

.reason__title {
  margin-top: 18px;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: 0.1em;
}

.reasons--card .reason__title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.reason__body {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
  text-align: left;
}

.reason__photo {
  margin-top: 22px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.reason__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .reasons,
  .reasons--4 {
    grid-template-columns: 1fr;
  }

  .reasons > .reason + .reason {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }

  .reasons--card > .reason + .reason {
    border-top: 1px solid var(--line-soft);
    border-left: 1px solid var(--line-soft);
    padding-top: clamp(26px, 3vw, 38px);
  }
}

/* --------------------------------------------------------------- benefits */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  max-width: 840px;
  margin-inline: auto;
}

.benefit {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: clamp(24px, 3vw, 32px) 18px;
  text-align: center;
}

.benefit .icon {
  font-size: 56px;
  color: var(--brand);
}

.benefit__label {
  margin-top: 18px;
  font-size: 16px;
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .benefits {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ cases */

.case-list {
  display: grid;
  gap: clamp(24px, 3.4vw, 42px);
}

.case {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow);
}

.case__label {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.14em;
  margin-right: 14px;
}

.case__title {
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: 0.1em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: inline-block;
}

.case__body {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.05;
}

.ba {
  margin-top: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}

.ba__side {
  display: grid;
  gap: 12px;
}

.ba__tag {
  justify-self: start;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  padding: 0 12px 6px;
  border-bottom: 1px solid var(--accent-soft);
}

.ba__side--after .ba__tag {
  justify-self: end;
}

.ba img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}

.ba__arrow {
  justify-self: center;
  color: var(--accent-soft);
  font-size: 26px;
}

.case--split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.case--split .ba {
  margin-top: 0;
}

.case--split .case__title {
  border-bottom: 0;
  padding-bottom: 0;
  display: block;
}

.case--split .case__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 16px;
  background: var(--accent-soft);
}

@media (max-width: 860px) {
  .ba {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ba__arrow {
    transform: rotate(90deg);
  }

  .ba__side--after .ba__tag {
    justify-self: start;
  }

  .case--split {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow);
}

.step__num {
  font-size: 30px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.step__title {
  margin-top: 8px;
  font-size: 17px;
  letter-spacing: 0.08em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--accent-soft);
  display: inline-block;
}

.step img {
  margin-top: 20px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.step__body {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------- CTA */

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.9fr);
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta__media {
  background: #f1e9df;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.cta__media--logo img {
  object-fit: contain;
  max-height: 96px;
  width: auto;
}

.cta__body {
  padding: clamp(28px, 3.6vw, 48px);
}

.cta__title {
  font-size: clamp(21px, 2.6vw, 32px);
  letter-spacing: 0.08em;
  line-height: 1.55;
}

.cta__text {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.05;
}

.cta__grid {
  margin-top: clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.cta__tel-label {
  font-size: 14px;
  color: var(--ink-soft);
}

.cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.cta__tel .icon {
  font-size: 24px;
  color: var(--brand);
}

.cta__hours {
  font-size: 13px;
  color: var(--ink-mute);
}

.cta__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.9;
}

@media (max-width: 880px) {
  .cta {
    grid-template-columns: 1fr;
  }

  .cta__media {
    max-height: 200px;
  }

  .cta__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------- business */

.business-list {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.business {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow);
}

.business__eyebrow {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.business__title {
  margin-top: 10px;
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: 0.1em;
}

.business__body {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.1;
}

/* 写真つきの事業カード。写真が用意できていない事業は従来どおり本文のみ */
.business--media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 28%, 320px);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.business__photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.business__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .business--media {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 28px);
  }

  .business__photo {
    aspect-ratio: 16 / 9;
  }
}

/* ---------------------------------------------------------------- company */

.company-table {
  max-width: 880px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.company-table dl {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.company-table dl:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  padding: 16px 24px;
  font-size: 15px;
  line-height: 1.9;
}

.company-table dt {
  letter-spacing: 0.12em;
  background: #fbf7f1;
  border-right: 1px solid var(--line);
}

.company-table dd {
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .company-table dl {
    grid-template-columns: 1fr;
  }

  .company-table dt {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 10px;
  }
}

/* ------------------------------------------------------------------- form */

.form {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.field__req {
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b4553f;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 1px 6px;
  vertical-align: 2px;
}

.field__opt {
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 6px;
  vertical-align: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 16px;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.9;
}

.field__hint {
  font-size: 13px;
  color: var(--ink-mute);
}

.form__submit {
  justify-self: center;
  min-width: 280px;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: clamp(36px, 5vw, 56px) 28px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(18px, 3vw, 34px);
  margin-bottom: 26px;
}

.site-footer__nav a {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink-soft);
}

.site-footer__nav a:hover {
  color: var(--brand-dark);
}

.site-footer__sns {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.site-footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.site-footer__sns a:hover {
  color: var(--brand-dark);
}

.site-footer__sns .icon {
  font-size: 26px;
  vertical-align: 0;
}

.site-footer__copy {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

/* --------------------------------------------------------- floating (SP) */

.sp-call {
  display: none;
}

@media (max-width: 700px) {
  .sp-call {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 12px 24px -12px rgba(60, 45, 30, 0.7);
  }
}

/* ---------------------------------------------------------------- reveal */

/* JS が動く環境でだけ隠す。無効環境では最初から表示したままにする。 */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
