
/* -----------------------------------------------
  MARK: 基本設定・カラー変数
------------------------------------------------- */
:root {
  --base: #fffdf9;
  --card: #f5f3ea;
  --green: #94aa51;
  --heading: #6f7f46;
  --text: #554b4c;
  --accent: #f7e08a;
  --header-height: 80px;
  --content-width: 960px;
}

/* -----------------------------------------------
  MARK: リセット・基本スタイル
------------------------------------------------- */
*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background: var(--base);
  color: var(--text);
  font-family: "Crimson Text","Noto Sans JP",sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

h1,h2,h3,p,ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

button,input,textarea {
  font: inherit;
}

button,a,input,textarea,summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

button {
  border: 0;
}

a,button {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid #59683b;
  outline-offset: 5px;
}

/* -----------------------------------------------
  MARK: 共通レイアウト・見出し
------------------------------------------------- */
.container {
  width: min(var(--content-width),calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: 90px;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading p,.eyebrow {
  font-family: "Crimson Text",serif;
  font-size: 14px;
  color: var(--heading);
  text-align: center;
}

.section-heading h2 {
  color: var(--heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
}

#message .section-heading h2::after,
#about .section-heading h2::after,
#works .section-heading h2::after,
#activities .section-heading h2::after,
#contact .section-heading h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--accent);
}

.section-intro {
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.section-intro span,.message-text span,.form-note span {
  display: block;
}

.small {
  font-size: 12px;
  margin-top: 6px;
}

/* -----------------------------------------------
  MARK: アクセシビリティ
------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  padding: 10px 20px;
  background: white;
  z-index: 100;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* -----------------------------------------------
  MARK: ヘッダー
------------------------------------------------- */
#header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: clamp(48px, 5.56vw, 96px);
  background: var(--green);
  color: white;
  border-bottom: 1px solid rgb(255 255 255 / 22%);
  box-shadow: 0 4px 20px rgb(52 68 30 / 6%);
}

/* ぼかし非対応のブラウザーでは、不透明なグリーンを使用 */
@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  #header {
    background: rgb(126 148 66 / 82%);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
    backdrop-filter: blur(16px) saturate(115%);
  }
}

@media (prefers-reduced-transparency: reduce) {
  #header {
    background: var(--green);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  line-height: 1.1;
}

.brand-logo {
  display: block;
  width: 175px;
  height: auto;
}

#header-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

#header-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

#header-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-en {
  font-family: "Crimson Text",serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.nav-ja {
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.menu-toggle {
  display: none;
}

/* -----------------------------------------------
  MARK: メインビジュアル
------------------------------------------------- */
.mv {
  position: relative;
  width: 100%;
  aspect-ratio: 2576 / 1430;
  background: #F7EEEA;
  overflow: hidden;
}
.mv-art {
  display: block;
  width: 100%;
  height: 100%;
}

/* --- 写真：読み込み時に1枚ずつふわっと表示 --- */
.mv-photo {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: mv-fadein 1.6s cubic-bezier(.22, .61, .36, 1) forwards;
}
.mv-photo--main  { animation-delay: .2s; }
.mv-photo--sub01 { animation-delay: .7s; }
.mv-photo--sub02 { animation-delay: 1.2s; }

@keyframes mv-fadein {
  from { opacity: 0; transform: translateY(40px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- 写真：sub02だけ少し暗く見えるので明るさと色味を補正 --- */
.mv-photo--sub02 image {
  filter: brightness(1.08) saturate(1.05) sepia(.06);
}

/* --- 写真：ゆらゆら浮遊（1枚ずつタイミングをずらす） --- */
.mv-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: mv-float 7s ease-in-out infinite;
}
.mv-photo--main  .mv-float { animation-duration: 8s; }
.mv-photo--sub01 .mv-float { animation-duration: 6.5s; animation-delay: -2s; }
.mv-photo--sub02 .mv-float { animation-duration: 7.5s; animation-delay: -4.5s; }

@keyframes mv-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(6px, -16px) rotate(.6deg); }
  66%      { transform: translate(-5px, -6px) rotate(-.4deg); }
}

/* --- 背景シェイプ：ゆっくり揺れる --- */
.mv-shape {
  transform-box: fill-box;
  animation: mv-drift 14s ease-in-out infinite;
}
.mv-shape--pink-top    { transform-origin: right top; }
.mv-shape--pink-bottom { transform-origin: left bottom; animation-delay: -5s; }
.mv-shape--beige       { transform-origin: right bottom; animation-delay: -9s; }

@keyframes mv-drift {
  0%, 100% { transform: scale(1, 1); }
  50%      { transform: scale(1.04, 1.07); }
}

/* --- ライン：スッと描かれる --- */
.mv-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: mv-draw 3s ease-out .8s forwards;
}

@keyframes mv-draw {
  to { stroke-dashoffset: 0; }
}

/* --- h1（タイトル）＋リード文 --- */
.mv-title {
  position: absolute;
  left: 18.5%;
  top: 52%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: mv-title-in 2s ease-out .4s forwards;
}
.mv-title__text {
  margin: 0;
  line-height: 1.4;
  /* 太字（700）を本物のBoldで出すため、Regular専用の名前（TsukuARdGothic-Regular）は使わない */
  font-family: "筑紫A丸ゴシック", "Tsukushi A Round Gothic",
               "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  font-weight: 700;
  font-size: 3.2vw;
  letter-spacing: .3em;
  margin-right: -.3em; /* letter-spacingの右余白を相殺して中央揃え */
  color: #6B6B6B;
  white-space: nowrap;
}

.mv-lead {
  margin: 2.6vw 0 0;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: max(1.45vw, 13px); /* タブレット幅で小さくなりすぎないように */
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 2;
  text-align: center;
  white-space: nowrap;
}
.mv-lead > span {
  display: block;
  opacity: 0;
  animation: mv-lead-in 1.1s cubic-bezier(.22, 1, .36, 1) forwards;
}
.mv-lead > span:nth-child(1) { animation-delay: 1.1s; }
.mv-lead > span:nth-child(2) { animation-delay: 1.3s; }
.mv-lead > span:nth-child(3) { animation-delay: 1.5s; }

@keyframes mv-lead-in {
  from { opacity: 0; transform: translateY(.4em); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes mv-title-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* 動きを減らす設定のユーザーにはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  .mv-photo, .mv-float, .mv-shape, .mv-line, .mv-title, .mv-lead > span {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

/* スクロール時のふわっと表示（main.js）はMVには使わない */
.mv.soft-reveal,
.mv .soft-reveal,
.mv.soft-reveal.reveal-pending,
.mv .soft-reveal.reveal-pending {
  opacity: 1;
  translate: none;
  transition: none;
}

/* スマホ：イラスト部分の下にタイトルとリード文を並べる */
@media (max-width: 760px) {
  .mv {
    aspect-ratio: auto;
  }

  .mv-art {
    height: auto;
    aspect-ratio: 2576 / 1430;
  }

  .mv-title {
    position: static;
    transform: none;
    padding: 28px 6vw 36px;
    animation-name: mv-title-in-sp;
  }

  .mv-title__text {
    font-size: 26px;
    letter-spacing: .2em;
    margin-right: -.2em;
  }

  .mv-lead {
    margin-top: 16px;
    font-size: 15px;
    letter-spacing: .05em;
    white-space: normal;
  }
}

@keyframes mv-title-in-sp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* -----------------------------------------------
  MARK: メッセージ
------------------------------------------------- */
.message {
  padding-top: 96px;
  padding-bottom: 64px;
  text-align: center;
}

.message .section-heading {
  margin-bottom: 44px;
}

.message-lead {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 16px;
}

.message-text {
  font-size: 16px;
  line-height: 2.35;
}

.message-sp-break {
  display: none;
}

/* -----------------------------------------------
  MARK: 私について
------------------------------------------------- */
.about {
  background: #ffffff;
}

.about-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
}

.profile-image {
  width: 100%;
  height: 440px;
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.profile-heading h3 {
  font-size: 34px;
  letter-spacing: 0.03em;
}

.profile-en {
  font-family: "Crimson Text",serif;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.instagram {
  display: grid;
  place-items: center;
  color: #a65376;
  width: 50px;
  height: 50px;
  margin-left: -10px;
}

.instagram:hover {
  background: #f5eee9;
  border-radius: 50%;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 16px;
  letter-spacing: 0.04em;
}

.about-content {
  max-width: 500px;
}

.about-content p > span {
  display: inline-block;
  width: 100%;
}

.about-content .profile-note {
  font-size: 16px;
  color: #6b6d63;
}

/* -----------------------------------------------
  MARK: ご相談・ご依頼
------------------------------------------------- */
.works .section-heading {
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

.service-card {
  padding: 38px 30px 46px;
  background: var(--card);
  border-radius: 0 72px 0 72px;
  min-height: 310px;
}

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

.service-number {
  font-family: "Crimson Text",serif;
  color: var(--heading);
  font-size: 26px;
  font-weight: 600;
}

.service-tag {
  background: var(--accent);
  color: #59683b;
  border-radius: 30px;
  padding: 3px 9px;
  font-size: 11px;
  white-space: nowrap;
}

.service-card h3 {
  color: var(--heading);
  font-size: 22px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.service-card h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 12px;
  background: var(--heading);
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
}

.service-desktop-break {
  display: block;
}

@media (max-width: 760px) {
  .service-desktop-break {
    display: inline;
  }
}

/* -----------------------------------------------
  MARK: 活動実績
------------------------------------------------- */
.activities {
  background: #fff;
  padding-top: 110px;
  padding-bottom: 115px;
}

.activities .section-heading {
  margin-bottom: 24px;
}

.activities-note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.activity-list {
  display: grid;
  gap: 36px;
  margin: 60px auto 0;
  width: min(100%,900px);
}

.activity {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 60px;
  align-items: center;
}

.activity:nth-child(even) {
  grid-template-columns: 1fr 1.06fr;
}

.activity:nth-child(even) .activity-image {
  grid-column: 2;
  grid-row: 1;
}

.activity:nth-child(even) .activity-content {
  grid-column: 1;
  grid-row: 1;
}

.activity-image {
  width: 100%;
  aspect-ratio: 3/2;
  height: auto;
}


.activity h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.activity p > span {
  display: inline-block;
  width: 100%;
}

.activity p {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 38px;
  padding: 5px 25px;
  background: var(--green);
  color: #263119;
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: .14em;
}

.pill:hover {
  background: #829748;
  color: #fff;
}

.activity-more-button {
  appearance: none;
  background-color: var(--green);
  border: 2px solid var(--green);
  border-radius: 24px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  min-width: 0;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color 300ms cubic-bezier(.23, 1, .32, 1), border-color 300ms cubic-bezier(.23, 1, .32, 1), box-shadow 300ms cubic-bezier(.23, 1, .32, 1), transform 300ms cubic-bezier(.23, 1, .32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.activity-more-button:hover {
  background-color: var(--heading);
  border-color: var(--heading);
  color: #fff;
  box-shadow: rgba(0, 0, 0, .25) 0 8px 15px;
  transform: translateY(-2px);
}

.activity-more-button:active {
  box-shadow: none;
  transform: translateY(0);
}

.activity-more-button:focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 4px;
}

.activity-more-button.more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 22px 0 0 auto;
}

.more-link-arrow {
  width: 8px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .activity-more-button {
    font-size: 16px;
    padding: 12px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-more-button {
    transition: none;
  }

  .activity-more-button:hover {
    transform: none;
  }
}

/* -----------------------------------------------
  MARK: よくある質問
------------------------------------------------- */
.faq {
  padding-block: clamp(56px, 8vw, 112px);
  background: #faf6f2;
  font-family: "Noto Sans JP", sans-serif;
}

.faq h2 {
  color: #905a67;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 5vw, 72px);
}

.faq details {
  background: #fefefe;
}

.faq summary,
.faq details p {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px;
  padding-inline: clamp(16px, 3vw, 42px);
  font-size: 16px;
}

.faq summary {
  grid-template-columns: max-content minmax(0, 1fr) 20px;
  align-items: start;
  padding-block: 20px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-label {
  font-family: "Crimson Text", serif;
}

.faq-icon {
  align-self: center;
  width: 20px;
  height: 20px;
  background: url("../../images/icons-plus.png") center / contain no-repeat;
}

.faq details[open] .faq-icon {
  background-image: url("../../images/icon-minus.png");
}

.faq details p {
  padding-bottom: 24px;
  line-height: 1.9;
}

/* -----------------------------------------------
  MARK: お問い合わせ
------------------------------------------------- */
.contact {
  background: #fff;
  padding-top: 120px;
  padding-bottom: 150px;
}

.contact .section-heading {
  margin-bottom: 48px;
}

.contact .section-intro {
  margin-bottom: 52px;
}

.contact-form {
  max-width: 520px;
  margin-inline: auto;
}

.form-field {
  margin-bottom: 25px;
}

.form-field label {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.required {
  display: inline-block;
  color: var(--text);
  background: var(--accent);
  border-radius: 4px;
  font-size: 11px;
  margin-left: 16px;
  padding: 2px 7px;
  line-height: 1.6;
}

.form-field input,.form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #f4f2ec;
  border-radius: 0;
  background: white;
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
}

.form-field input {
  height: 48px;
}

.form-field textarea {
  resize: vertical;
  min-height: 260px;
}

.form-field ::placeholder {
  color: #a3a59c;
  font-size: 13px;
}

.consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-top: 28px;
}

.consent input {
  width: 22px;
  height: 22px;
  accent-color: var(--heading);
  flex-shrink: 0;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  text-align: center;
  margin-top: 56px;
  font-size: 14px;
}

.submit-button {
  display: flex;
  width: fit-content;
  min-width: 160px;
  min-height: 48px;
  margin: 20px auto 0;
  transition: background-color 300ms cubic-bezier(.23, 1, .32, 1), color 300ms cubic-bezier(.23, 1, .32, 1), box-shadow 300ms cubic-bezier(.23, 1, .32, 1), transform 300ms cubic-bezier(.23, 1, .32, 1);
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}

.submit-button:disabled {
  pointer-events: none;
}

.submit-button:hover {
  background: var(--heading);
  color: #fff;
  box-shadow: rgba(0, 0, 0, .25) 0 8px 15px;
  transform: translateY(-2px);
}

.submit-button:active {
  box-shadow: none;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .submit-button {
    transition: none;
  }

  .submit-button:hover {
    transform: none;
  }
}

.form-status {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

/* -----------------------------------------------
  MARK: フッター
------------------------------------------------- */
.footer {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-family: "Noto Sans JP",sans-serif;
  font-size: 14px;
  gap: 10px;
  padding: 30px 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 36px;
  row-gap: 12px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer small {
  font-family: inherit;
  font-size: inherit;
}

/* -----------------------------------------------
  MARK: 準備中ダイアログ
------------------------------------------------- */
.pending-dialog {
  width: min(440px,calc(100% - 40px));
  padding: 40px 24px;
  border: 0;
  background: var(--base);
  color: var(--text);
  text-align: center;
}

.pending-dialog::backdrop {
  background: #26311970;
}

.pending-dialog h2 {
  font-size: 22px;
  color: var(--heading);
}

.pending-dialog p {
  margin: 18px 0 24px;
  font-size: 15px;
}

/* -----------------------------------------------
  MARK: プライバシーポリシー
------------------------------------------------- */
.privacy-page {
  min-height: calc(100vh - 180px);
  padding-block: clamp(32px, 4vw, 56px);
  max-width: 700px;
  font-family: "Noto Sans JP", sans-serif;
}

.privacy-page h1 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.5;
  color: #905a67;
  text-align: center;
}

.privacy-content {
  margin-block: 24px;
  font-size: 16px;
  line-height: 2;
}

.privacy-section {
  margin-top: 24px;
}

.privacy-section h2 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9dfda;
  color: #905a67;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
}

.privacy-section ol {
  margin: 16px 0 0;
  padding-left: 1.75em;
}

.privacy-section li {
  padding-left: .25em;
}

.privacy-section li + li {
  margin-top: 12px;
}

.privacy-end {
  margin-top: 32px;
  text-align: right;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* -----------------------------------------------
  MARK: レスポンシブ：1600px以上
------------------------------------------------- */
@media (max-width: 1120px) {
  #header {
    padding-inline: 16px;
  }

  .brand-logo {
    width: 150px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0 12px 12px;
    background: none;
    color: white;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
  }

  .menu-toggle-icon {
    position: relative;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle-icon::before {
    transform: translateY(-7px);
  }

  .menu-toggle-icon::after {
    transform: translateY(7px);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
    transform: rotate(-45deg);
  }

  #header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green);
    padding: 18px 16px 28px;
    box-shadow: 0 14px 20px #26311918;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
  }

  #header-nav[hidden] {
    display: none;
  }

  #header-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .nav-en {
    font-size: 16px;
  }

  .nav-ja {
    font-size: 11px;
  }

}

/* -----------------------------------------------
  MARK: レスポンシブ：1050px以下
------------------------------------------------- */
@media(max-width:1050px) {
  #header {
    padding-inline: 32px;
  }

  #header-nav ul {
    gap: 22px;
  }

  .about-layout {
    grid-template-columns: 34% 1fr;
    gap: 40px;
  }

  .profile-heading {
    gap: 12px;
  }

  .profile-heading h3 {
    font-size: 28px;
  }

  .service-grid {
    gap: 20px;
  }

  .service-card {
    padding: 32px 22px 40px;
  }

  .service-top {
    gap: 8px;
  }

  .service-tag {
    font-size: 10px;
  }

  .service-card h3 {
    font-size: 19px;
  }

  .activity {
    gap: 36px;
  }

}

/* -----------------------------------------------
  MARK: レスポンシブ：760px以下
------------------------------------------------- */
@media(max-width:760px) {
  .container {
    width: calc(100% - 32px);
  }

  .footer {
    padding: 32px 16px;
    font-size: 14px;
    gap: 24px;
  }

  .footer-links {
    column-gap: 24px;
    row-gap: 12px;
  }

  .section {
    padding-block: 64px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 12px;
  }

  .message-lead {
    font-size: 19px;
  }

  .message-text {
    font-size: 14px;
    line-height: 2.3;
  }

  .message-sp-break {
    display: initial;
  }

  .message-text span {
    margin-bottom: 4px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-image {
    width: min(100%,360px);
    height: 400px;
    margin: auto;
  }

  .about-content {
    min-width: 0;
    width: 100%;
    max-width: 520px;
    margin: auto;
  }

  .profile-heading {
    justify-content: center;
    margin-bottom: 28px;
  }

  .profile-heading h3 {
    font-size: 28px;
  }

  .profile-en {
    font-size: 16px;
  }

  .section-intro {
    font-size: 14px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: auto;
    gap: 24px;
  }

  .service-card {
    padding: 36px 34px 46px;
    min-height: 0;
    border-radius: 0 64px 0 64px;
  }

  .service-tag {
    font-size: 11px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .activity-list {
    gap: 48px;
    margin-top: 36px;
  }

  .activity,.activity:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .activity:nth-child(even) .activity-image,.activity:nth-child(even) .activity-content {
    grid-column: auto;
    grid-row: auto;
  }

  .activity h3 {
    font-size: 19px;
  }

  .activity-image {
    max-height: 360px;
  }

  .contact {
    padding-bottom: 100px;
  }

  .contact .section-intro {
    margin-bottom: 36px;
  }

  .form-note {
    margin-top: 36px;
  }

  .form-field input,.form-field textarea {
    font-size: 16px;
  }

  .privacy-content {
    font-size: 15px;
  }

  .privacy-section h2 {
    font-size: 18px;
  }

}

/* -----------------------------------------------
  MARK: ふわっと現れるアニメーション
------------------------------------------------- */
.soft-reveal {
  opacity: 1;
  translate: 0 0;
  transition: opacity 1.2s ease, translate 1.2s cubic-bezier(.22, 1, .36, 1);
}

.soft-reveal.reveal-pending {
  opacity: 0;
  translate: 0 22px;
}

/* 表示時の動きと、マウスを乗せたときの浮き上がりを両立 */
.service-card.soft-reveal,
.service-card {
  transition: opacity 1.2s ease,
    translate 1.2s cubic-bezier(.22, 1, .36, 1),
    transform .35s ease, box-shadow .35s ease;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px -12px rgb(79 81 72 / 22%);
  }
}

@media print, (prefers-reduced-motion: reduce) {
  .soft-reveal,
  .soft-reveal.reveal-pending {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* -----------------------------------------------
  MARK: 動きを抑える設定
------------------------------------------------- */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

}

/* トップページのヘッダー */
:is(.clinic-home, body:has(.privacy-page)) #header {
  padding-inline: 5.5vw 2vw;
  background: #faf6f2;
  color: #443939;
  border-bottom: 1px solid #e9dfda;
  box-shadow: none;
}

:is(.clinic-home, body:has(.privacy-page)) .brand-logo {
  width: auto;
  height: 72px;
}

:is(.clinic-home, body:has(.privacy-page)) #header-nav ul {
  gap: clamp(12px, 1.6vw, 28px);
}

:is(.clinic-home, body:has(.privacy-page)) #header-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
}

.clinic-home #header-nav .button-80 {
  display: inline-flex;
  background: #905a67;
  backface-visibility: hidden;
  border: .125rem solid transparent;
  border-radius: 999px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.3;
  padding: .875rem 1.3rem;
  text-decoration: none;
  transform: translateZ(0) scale(1);
  transition: transform .2s;
  user-select: none;
  touch-action: manipulation;
}

.button-80:hover {
  transform: scale(1.05);
}

.clinic-home #header-nav .button-80:hover {
  background: #854b59;
}

/* ヘッダーのLINEボタン：文字の左に吹き出しアイコン */
#header-nav .button-80 {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.button-80:active {
  transform: translateY(.125rem);
}

.button-80:hover:active {
  transform: scale(1.05) translateY(.125rem);
}

@media (max-width: 1120px) {
  :is(.clinic-home, body:has(.privacy-page)) #header-nav {
    background: #faf6f2;
  }

  :is(.clinic-home, body:has(.privacy-page)) .menu-toggle {
    color: inherit;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clinic-home #header-nav .button-80 {
    transition: none;
  }
}

/* 助産院について */
.clinic-about {
  padding: clamp(64px, 7vw, 100px) 24px clamp(72px, 12vw, 172px);
  background: #faf6f2;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 2.25;
}

.clinic-about-intro {
  text-align: center;
}

.clinic-about h2 {
  color: #905a67;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.4;
}

.clinic-about-decoration {
  display: block;
  width: 188px;
  height: auto;
  margin-inline: auto;
}

.clinic-about-lead {
  margin-top: 20px;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.clinic-about-copy {
  margin-top: 30px;
  font-size:16px;
  font-weight: 400;
  line-height: 2.8;
  letter-spacing: 0.04em
}

.clinic-about-copy > span {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

.clinic-profile {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  align-items: start;
  gap: 52px;
  max-width: 800px;
  margin: 76px auto 0;
}

.clinic-profile-photo {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.clinic-profile h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
}

.clinic-profile-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 clamp(16px, 3.5vw, 50px);
  margin: 10px 0 12px;
  line-height: 1.5;
}

.clinic-profile-name strong {
  font-size: 28px;
}

.clinic-profile-name [lang="en"] {
  font: 500 18px "Crimson Text", serif;
}

.clinic-profile-history {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 16px;
  margin: 0;
}

#profile .clinic-profile-history,
#profile .clinic-profile-qualifications {
  font-weight: 400;
}

.clinic-profile-history dd {
  margin: 0;
}

@media (max-width: 760px) {
  .clinic-profile {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 440px;
    margin-top: 48px;
  }

  .clinic-profile-photo {
    width: min(100%, 260px);
    justify-self: center;
  }
}

/* 助産院でできること */
.program-page .clinic-programs {
  padding-block: clamp(32px, 4vw, 56px) clamp(72px, 15vw, 220px);
  background: #faf6f2;
}

.program-page .program-link {
  min-width: 150px;
  background: #905a67;
  color: #fff;
}

.program-page .program-link:hover {
  background: #854b59;
}

.clinic-programs {
  padding: clamp(56px, 7vw, 100px) 24px clamp(56px, 7vw, 88px);
  background: #fefefe;
  color: var(--text);
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

.clinic-programs h1,
.clinic-programs h2 {
  color: #905a67;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
}

.program-intro {
  max-width: 700px;
  margin: 4px auto 0;
  line-height: 2;
}

.program-intro > span,
.program-note {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px) 28px;
  max-width: 960px;
  margin: clamp(32px, 5vw, 72px) auto 0;
}

.program-card {
  padding: 24px 16px 20px;
  border-radius: 0 44px 0 0;
  background: #fff;
  box-shadow: 0 4px 16px rgb(141 88 101 / 10%);
}

@media (hover: hover) and (pointer: fine) {
  .program-card:hover,
  .care-card:hover {
    box-shadow: 0 12px 28px rgb(141 88 101 / 18%);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .program-card,
  .care-card {
    transition: transform .3s ease-out, box-shadow .3s ease-out;
  }

  .program-card:hover,
  .care-card:hover {
    transform: translateY(-5px);
  }
}

.program-card img {
  display: block;
  width: 92%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-inline: auto;
  /* カードと同じく右上だけ丸める（カードの44pxより小さめ） */
  border-radius: 0 20px 0 0;
}

.program-note img {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-inline: 4px 0;
  vertical-align: middle;
  object-fit: contain;
}

.program-card h3 {
  margin: 12px 0;
  color: #854b59;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.program-card p {
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  letter-spacing: 0.03em;
}

.program-link {
  display: inline-block;
  min-width: 200px;
  margin-top: clamp(40px, 7vw, 100px);
  padding: 9px 24px;
  border: 1px solid #905a67;
  border-radius: 999px;
  background: #905a67;
  color: #fff;
}

.program-link:hover {
  background: #854b59;
}


@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }
}

@media (max-width: 480px) {
  .program-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }
}

/* 助産院のご利用方法 */
.clinic-booking {
  padding: clamp(60px, 7vw, 96px) 24px;
  background: #faf6f2;
  font-family: "Noto Sans JP", sans-serif;
}

.clinic-booking h2 {
  color: #905a67;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.booking-steps {
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  max-width: 900px;
  margin: 16px auto 0;
  padding: 0;
  list-style: none;
}

.booking-step {
  display: grid;
  grid-template-columns: 110px 132px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 200px;
  padding: 24px 40px;
  border-radius: 28px;
  background: #fefefe;
}

.booking-step-number {
  display: grid;
  place-content: center;
  min-height: 94px;
  padding-right: 24px;
  border-right: 1px solid #c98f98;
  color: #ad727a;
  text-align: center;
  font: 400 17px/1.1 "Crimson Text", serif;
}

.booking-step-number strong {
  font: 700 44px/1.1 "Noto Sans JP", sans-serif;
}

.booking-step > img {
  width: 100%;
  height: auto;
}

.booking-step h3 {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.5;
}

.booking-step p {
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.booking-line {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}

.booking-actions a {
  padding: 5px 20px;
  border: 1px solid #905a67;
  border-radius: 999px;
  color: #854b59;
  font-size: 15px;
  text-align: center;
}

.booking-actions .booking-line-link {
  background: #905a67;
  color: #fff;
}

/* ボタン2つ：ヘッダーの「LINEで相談する」と同じ動き（サイズはそのまま） */
.booking-actions a {
  backface-visibility: hidden;
  text-decoration: none;
  transform: translateZ(0) scale(1);
  transition: transform .2s, background-color .2s;
  touch-action: manipulation;
}

.booking-actions a:hover {
  text-decoration: none;
  transform: scale(1.05);
}

.booking-actions a:active {
  transform: translateY(.125rem);
}

.booking-actions a:hover:active {
  transform: scale(1.05) translateY(.125rem);
}

.booking-actions .booking-line-link:hover {
  background: #854b59;
}

/* 公式Instagram：文字の左にアイコン */
.booking-actions .booking-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.booking-icon {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
}

/* 公式Instagram：下線のかわりにうすいピンクの背景 */
.booking-actions a:not(.booking-line-link):hover {
  background: #f6ecee;
}

@media (prefers-reduced-motion: reduce) {
  .booking-actions a {
    transition: none;
  }
}

@media (max-width: 700px) {
  .booking-step {
    grid-template-columns: 64px 84px minmax(0, 1fr);
    justify-content: start;
    gap: 14px 20px;
    padding: 20px;
  }

  .booking-step > div {
    grid-column: 1 / -1;
  }

  .booking-step-number {
    min-height: 64px;
    padding-right: 12px;
  }

  .booking-step-number strong {
    font-size: 32px;
  }
}

/* 助産院への行き方 */
.clinic-access {
  padding-block: clamp(60px, 7vw, 96px);
  background: #fefefe;
  font-family: "Noto Sans JP", sans-serif;
}

.clinic-access h2 {
  color: #905a67;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.access-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin-top: clamp(32px, 7vw, 104px);
}

.access-map {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  min-height: 220px;
  border: 0;
}

.access-layout address {
  font-style: normal;
  letter-spacing: .1em;
}

.access-transit {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
  margin: 4px 0 0;
}

.access-transit dt {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 6px;
}

.access-transit dt img {
  width: 20px;
  height: 20px;
}

.access-transit dd {
  margin: 0;
}

.access-link {
  display: inline-block;
  margin-top: 28px;
  /* アイコンとラベルを含む交通案内の左列に合わせる */
  margin-inline-start: calc(42px + 2em);
  padding: 10px 22px;
  border-radius: 999px;
  background: #905a67;
  color: #fff;
  font-weight: 500;
}

.access-link:hover {
  background: #854b59;
}

@media (prefers-reduced-motion: no-preference) {
  .access-link,
  .profile-more,
  .program-link {
    transition: transform .2s;
  }

  .access-link:active,
  .profile-more:active,
  .program-link:active {
    transform: translateY(.125rem);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .access-link:hover,
  .profile-more:hover,
  .program-link:hover {
    transform: scale(1.05);
  }

  .access-link:hover:active,
  .profile-more:hover:active,
  .program-link:hover:active {
    transform: scale(1.05) translateY(.125rem);
  }
}

@media (max-width: 700px) {
  .access-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 助産院の写真ギャラリー */
.clinic-gallery {
  padding: 32px 0 24px;
  background: #faf6f2;
}

.gallery-control {
  display: block;
  margin: 0 24px 10px;
  font-size: 13px;
  text-align: right;
}

.gallery-control input {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  border: 1px solid #905a67;
  border-radius: 50%;
  color: #905a67;
  cursor: pointer;
}

.gallery-control input::before {
  content: "";
  width: 9px;
  height: 11px;
  border-inline: 3px solid currentColor;
}

.gallery-control input:checked::before {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right: 0;
  border-left: 9px solid currentColor;
}

.gallery-window {
  overflow-x: auto;
}

.gallery-track,
.gallery-set {
  display: flex;
  width: max-content;
}

.gallery-set {
  gap: 16px;
  padding-inline-end: 16px;
}

.gallery-set img {
  display: block;
  width: clamp(140px, 18vw, 240px);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-window {
    overflow: hidden;
  }

  .gallery-track {
    animation: gallery-scroll 80s linear infinite;
  }

  .gallery-window:hover .gallery-track,
  .gallery-window:focus-within .gallery-track,
  .gallery-control:has(input:checked) + .gallery-window .gallery-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-control,
  .gallery-set[aria-hidden="true"] {
    display: none;
  }
}

@keyframes gallery-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* 乳房ケア・育児相談 */
.clinic-care {
  padding: clamp(56px, 6vw, 80px) 0 clamp(72px, 12vw, 160px);
  background: #faf6f2;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.clinic-care h2 {
  color: #905a67;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
}

.clinic-care .program-intro {
  max-width: 960px;
  padding-inline: 24px;
  margin-top: 12px;
}

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

.care-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  gap: 0;
  padding: 64px clamp(20px, 2.4vw, 32px) 24px;
  border-radius: 96px 96px 0 0;
  background: #fefefe;
  text-align: left;
  font-size: 14px;
}

.care-card h3 {
  margin-bottom: 30px;
  color: #6b6353;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  text-align: center;
}

.care-details {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 14px 16px;
  margin: 16px 0 20px;
  padding: 22px 0;
  border-block: 1px solid #d1a3aa;
  font-size: 15px;
}

.care-details dt {
  display: flex;
  align-items: center;
  gap: 6px;
}

.care-details dd {
  margin: 0;
}

.care-price {
  color: #854b59;
  font: 400 26px/1 "Crimson Text", serif;
}

.care-card h4 {
  margin: 0 0 4px;
  text-align: center;
  font-weight: 500;
}

.care-card ul {
  padding-left: 1em;
  list-style: disc;
}

@media (max-width: 820px) {
  .care-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
    gap: 24px;
  }

  .care-card {
    grid-template-rows: none;
    grid-row: auto;
    padding-top: 48px;
  }

  .care-card h3 {
    margin-bottom: 20px;
  }
}

/* お仕事のご依頼 */
.clinic-work {
  padding-block: clamp(56px, 6vw, 88px) clamp(64px, 7vw, 108px);
  background: #fefefe;
  font-family: "Noto Sans JP", sans-serif;
}

.clinic-work h2 {
  color: #905a67;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.clinic-work .program-intro {
  padding-inline: 24px;
  text-align: center;
}

.work-list {
  display: grid;
  gap: 26px;
  max-width: 900px;
  margin-top: clamp(42px, 6vw, 96px);
}

.work-list h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 27%);
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  padding: 16px clamp(16px, 2.5vw, 32px);
  border-radius: 0 64px 0 0;
  background: #faf8f6;
}

/* 画像の枠は2枚とも写真と同じ比率（440×320）にそろえる */
.work-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 440 / 320;
  object-fit: cover;
}

/* ロゴは切れないよう、枠の中に収める */
.work-card img.work-logo {
  object-fit: contain;
}

.work-copy {
  display: grid;
  gap: 8px;
}

.work-copy p {
  font-size: 16px;
  line-height: 2.4;
}

.work-copy a {
  justify-self: end;
  padding: 5px 20px;
  border-radius: 999px;
  background: #905a67;
  color: #fff;
}

.work-copy a:hover {
  background: #854b59;
}

@media (max-width: 640px) {
  .work-card {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 24px;
  }

  .work-card img {
    grid-row: 1;
    width: min(100%, 220px);
    justify-self: center;
  }

  .work-copy p {
    line-height: 1.9;
  }
}

.profile-more {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 22px;
  border: 1px solid #905a67;
  border-radius: 999px;
  background: #905a67;
  color: #fff;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.profile-more:hover {
  background: #854b59;
}

.profile-page {
  width: min(700px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(32px, 4vw, 56px);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 2;
}

.profile-page h1 {
  color: #905a67;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.5;
  text-align: center;
}

.profile-page section {
  margin-top: 24px;
}

.profile-page h2 {
  color: #905a67;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-top: 40px;
}

.profile-page p {
  margin-top: 10px;
  letter-spacing: 0.03em;
  line-height:2.0;
}

.profile-page-return {
  margin-top: 24px;
  margin-bottom: 60px;
  text-align: center;
}

.profile-page-return .profile-more {
  min-width: 140px;
}

.profile-page .profile-summary {
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin: 16px 0 24px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 24px;
  background: #faf6f2;
}

.profile-summary .clinic-profile-name {
  gap: 4px 18px;
  margin: 4px 0 12px;
}

.profile-summary p {
  margin-top: 0;
}

@media (max-width: 640px) {
  .profile-page .profile-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-summary .clinic-profile-photo {
    width: min(100%, 180px);
  }
}

.clinic-reservation {
  padding: clamp(48px, 7vw, 88px) 24px clamp(64px, 10vw, 128px);
  background: #faf6f2;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

/* 見出しはほかのセクションと同じ大きさ・色に */
.clinic-reservation h2 {
  color: #905a67;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
}

.clinic-reservation p {
  margin-top: 20px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
  line-height: 1.8;
}

.clinic-reservation .profile-more {
  width: min(100%, 386px);
  margin-top: 36px;
  padding-block: 14px;
  font-size: clamp(16px, 2vw, 21px);
}

/* LINEボタン：文字の左に吹き出しアイコン */
.clinic-reservation .reservation-line-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

:is(.clinic-home, body:has(.privacy-page)) .footer {
  min-height: 80px;
  padding-block: 12px;
  background: #ba8994;
  font-size: 13px;
}

:is(.clinic-home, body:has(.privacy-page)) .footer a {
  text-underline-offset: 4px;
}

:is(.clinic-home, body:has(.privacy-page)) .footer small {
  font-size: 11px;
}


body:has(.privacy-page) .brand-logo {
  content: url("../../images/logo-pc.png");
}

.privacy-page > .eyebrow {
  text-align: center;
  color: #905a67;
}

.privacy-page h1::after {
  content: "";
  display: block;
  width: 188px;
  aspect-ratio: 376 / 80;
  margin-inline: auto;
  background: url("../../images/curved-underline.png") center / contain no-repeat;
}

.privacy-page .submit-button {
  min-width: 140px;
  border: 1px solid #905a67;
  background: #905a67;
  color: #fff;
  box-shadow: none;
}

.privacy-page .submit-button:hover {
  background: #854b59;
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .privacy-page .submit-button {
    transition: transform .2s;
  }

  .privacy-page .submit-button:active {
    transform: translateY(.125rem);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .privacy-page .submit-button:hover {
    transform: scale(1.05);
  }

  .privacy-page .submit-button:hover:active {
    transform: scale(1.05) translateY(.125rem);
  }
}

/* ヘッダーナビ：ホバーで英語に切り替え */
#header-nav .nav-swap {
  display: grid;
  place-items: center;
}

#header-nav .nav-swap > span {
  grid-area: 1 / 1;
  transition: opacity .3s, transform .3s;
}

#header-nav .nav-swap-en {
  font-family: "Crimson Text", serif;
  font-size: 1.15em;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  #header-nav .nav-swap:hover {
    text-decoration: none;
  }

  #header-nav .nav-swap:is(:hover, :focus-visible) .nav-swap-ja {
    opacity: 0;
    transform: translateY(-6px);
  }

  #header-nav .nav-swap:is(:hover, :focus-visible) .nav-swap-en {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #header-nav .nav-swap > span {
    transition: none;
  }
}

/* セクション見出しの上のうすい英語（中央揃え） */
.has-bg-en-section {
  position: relative;
  overflow-x: clip;
}

.section-bg-en {
  display: block;
  margin: -.3em auto -.12em;
  color: rgba(144, 90, 103, .07);
  font-family: "Crimson Text", serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* プライバシーポリシー：英字が長いので、この部分だけ本文エリア（最大700px）より広く使う。
   PCはTOPと同じ最大80px、スマホは画面幅に合わせて縮む */
.privacy-page .section-bg-en {
  position: relative;
  left: 50%;
  width: min(1000px, 100vw - 32px);
  translate: -50% 0;
  font-size: min(9.5vw, 80px);
}

/* -----------------------------------------------
  MARK: 日本語の改行（単語の途中で折り返さない）
  見出しと中央寄せの短い文章だけに適用。
  Chrome/Edgeは文節で自動改行、Safariは<wbr>と句読点の位置で改行
------------------------------------------------- */
:is(main h2, main h3, .clinic-about-lead, .clinic-about-copy, .program-intro, .clinic-reservation p) {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance; /* 2行目が極端に短くならないよう、行の長さをそろえる */
}

@supports (word-break: auto-phrase) {
  :is(main h2, main h3, .clinic-about-lead, .clinic-about-copy, .program-intro, .clinic-reservation p) {
    word-break: auto-phrase;
  }
}
