@charset "utf-8";

/* =========================================================
   かすみドッグスクール / 案件固有CSS
   - レイアウト・余白・並び替えは Bootstrap5 と common.css を優先
   - ここには Bootstrap / common.css で表現できないものだけを記述
   ========================================================= */

/* ---------- 変数 ---------- */
:root {
  --font-ja:
    "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans",
    "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Cabin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* 欧文はCabin、和文は角ゴシックにしたい箇所用（Cabinに和文グリフがないため） */
  --font-en-ja:
    "Cabin", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium",
    "Yu Gothic", "Meiryo", sans-serif;

  --c-cream: #fbf5ea;
  --c-beige: #fbefd8;
  --c-ink: #35302b;
  --c-txt: #423d37;
  --c-gray: #7c736a;
  --c-orange: #efa352;
  --c-orange-d: #e08c39;
  --c-orange-l: #efbf80;
  --c-green: #618c25;
  --c-green-d: #4e7420;
  --c-dark: #4a4038;
  --c-foot-txt: #e5ddd3;
  --c-ghost: #e7e1d6;

  --header-h: 64px;
  --radius-l: 48px;
}

@media (min-width: 992px) {
  :root {
    --header-h: 92px;
  }
}

@media (min-width: 1200px) {
  :root {
    --header-h: 116px;
  }
}

/* ---------- ベース ---------- */
html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--c-txt);
  background-color: var(--c-cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-ja);
  font-weight: 700;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none !important;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* 色が変わるのは a ではなく中の p / img なので、そちらにも同じ transition を渡す */
a p,
a img {
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease;
}

a:hover {
  color: inherit;
}

img {
  display: block;
}

/* コンテンツ幅（Figmaのコンテンツ幅 1212px に合わせる） */
@media (min-width: 1200px) {
  .container {
    max-width: 1212px;
  }
}

/* セクション共通の上下余白 */
.sec {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  .sec {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

@media (min-width: 992px) {
  .sec {
    padding-top: 128px;
    padding-bottom: 128px;
  }
}

/* =========================================================
   Bootstrap5 のガター復旧（CMS環境対策）
   Sibloo は /plugins/bootstrap/bootstrap.phantom.min.css（Bootstrap 4.1.3）を
   common.css より前に読み込むため、後勝ちで .row / .col-* の余白が
   Bootstrap4 の固定値（±15px・縦0）に上書きされ、
   g-0 / gy-5 などの Bootstrap5 ガターユーティリティが無効になる。
   Bootstrap5 と同じ「CSS変数を参照する」定義をここで再宣言して元に戻す。
   ========================================================= */
.container,
.container-fluid {
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.row {
  margin-top: calc(-1 * var(--bs-gutter-y, 0px));
  margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
  margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

.row > * {
  /* Bootstrap4 は .col-* に max-width:○% も指定するため、
     width で列幅を調整しても頭打ちになる。Bootstrap5 と同じ 100% に戻す */
  max-width: 100%;
  margin-top: var(--bs-gutter-y, 0px);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

/* フォントサイズ 14~16pt */
.p-text {
  font-size: clamp(0.875rem, 0.844rem + 0.17vw, 1rem);
  line-height: clamp(1.75rem, 1.642rem + 0.58vw, 2.188rem);
}

.f-13 {
  font-size: 13px;
}

/* フォントサイズ 11~15pt */
.f-15 {
  font-size: clamp(0.813rem, 0.782rem + 0.17vw, 0.938rem);
}

/* フォントサイズ 16~18pt */
.f-18 {
  font-size: clamp(1rem, 0.969rem + 0.17vw, 1.125rem);
}

/* フォントサイズ 17~20pt */
.f-20 {
  font-size: clamp(1.063rem, 1.016rem + 0.25vw, 1.25rem);
}

/* フォントサイズ 18~25pt */
.f-25 {
  font-size: clamp(1.125rem, 0.983rem + 0.61vw, 1.563rem);
}

/* フォントサイズ 20~30pt */
.f-30 {
  font-size: clamp(1.25rem, 1.048rem + 0.88vw, 1.875rem);
}

/* フォントサイズ 19~35pt */
.f-35 {
  font-size: clamp(1.188rem, 0.155rem + 2.15vw, 2.188rem);
}

/* フォントサイズ 21~40pt */
.f-40 {
  font-size: clamp(1.313rem, 1.019rem + 1.57vw, 2.5rem);
}

/* フォントサイズ 21~45pt */
.f-45 {
  font-size: clamp(1.313rem, 0.941rem + 1.98vw, 2.813rem);
}

/* フォントサイズ 40~50pt */
.f-50 {
  font-size: clamp(2.5rem, 2.345rem + 0.83vw, 3.125rem);
}

/* フォントサイズ 21~55pt */
.f-55 {
  font-size: clamp(1.313rem, 0.787rem + 2.81vw, 3.438rem);
}

/* フォントサイズ 30~75pt */
.f-75 {
  font-size: clamp(1.875rem, 1.179rem + 3.71vw, 4.688rem);
}

/* フォントサイズ 60~80pt */
.f-80 {
  font-size: clamp(3.75rem, 3.345rem + 1.75vw, 5rem);
}

/* フォントサイズ 40~110pt */
.f-110 {
  font-size: clamp(2.5rem, 1.057rem + 6.16vw, 6.875rem);
}

.fw-500 {
  font-weight: 500;
}

.fw-700 {
  font-weight: 700;
}

.fw-900 {
  font-weight: 900;
}

.line-25 {
  line-height: 25px;
}

.f-16 {
  font-size: clamp(0.875rem, 0.844rem + 0.17vw, 1rem);
}

.v-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  line-height: 1.5;
  margin: 0;
}

.v-text2 {
  writing-mode: sideways-rl;
  text-orientation: upright;
  white-space: nowrap;
}

.v-text-p {
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  line-height: 2.2;
  margin: 0;
}

.font1 {
  font-family: var(--font-ja);
}

.font2 {
  font-family: var(--font-en);
}

.text-shadow {
  text-shadow: 2px 2px 5px black;
}

.text-shadow-white {
  text-shadow: 2px 2px 5px white;
}

.has-shadow {
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
}

.has-shadow2 {
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}

/* テキストカラー*/
.fc-bk {
  color: var(--bk);
}

.fc-wh {
  color: #fff;
}

.fc-gr {
  color: var(--c-green);
}

.fc-or {
  color: var(--c-orange);
}

.fc-tx {
  color: var(--c-txt);
}

.fc-ttl {
  color: var(--c-ink);
}

.fc-cream {
  color: var(--c-cream);
}

/* 背景 */
.bg-bk {
  background-color: #000;
}

.bg-wh {
  background-color: #fff;
}

.bg-gr {
  background-color: var(--c-green);
}

.bg-gr2 {
  background-color: #dcebbf;
}

.bg-or {
  background-color: var(--c-orange);
}

.bg-bei {
  background-color: var(--c-beige);
}

.bg-cream {
  background-color: var(--c-cream);
}

.word {
  word-break: auto-phrase;
}

/* =========================================================
   見出し・共通パーツ
   ========================================================= */

.label-en {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.26em;
  color: var(--c-orange);
  text-align: center;
}

.label-en-left {
  text-align: left;
}

.label-en-white {
  color: #fff;
}

.ttl-ja {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.125rem, 0.85rem + 0.75vw, 1.5625rem);
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--c-ink);
  text-align: center;
}

.ttl-ja-left {
  text-align: left;
}

.ttl-ja-lg {
  /* 最小18px：375px幅で「笑顔で暮らせる毎日を目指して。」が1行に収まる下限 */
  font-size: clamp(1.125rem, 0.9rem + 0.95vw, 1.875rem);
}

.label-en + .ttl-ja {
  margin-top: 14px;
}

.ttl-en {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(2.25rem, 1rem + 3.8vw, 4.625rem);
  line-height: 1.15;
  letter-spacing: 0.14em;
  text-align: center;
}

.ttl-en-white {
  color: #fff;
}

.ttl-en-beige {
  color: var(--c-ghost);
}

.ttl-en + .ttl-ja {
  margin-top: 10px;
}

.deco-wave {
  width: 120px;
  margin: 16px auto 0;
}

.lead-txt {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 26px;
  line-height: 2.15;
  letter-spacing: 0.06em;
  text-align: center;
}

.lead-txt p {
  margin: 0;
}

/* ---------- ボタン ---------- */
.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.btn-wrap-left {
  justify-content: flex-start;
}

.btn-green,
.btn-outline,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
}

.btn-green {
  width: clamp(15.625rem, 9.8rem + 25.19vw, 21.875rem);
  min-height: 58px;
  padding: 8px 28px;
  border-radius: 29px;
  background-color: var(--c-green);
}

@media (min-width: 768px) {
  .btn-green {
    width: clamp(12.5rem, 6.048rem + 13.44vw, 18.75rem);
  }
}

.btn-green p {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: #fff;
}

.btn-green:hover {
  background-color: var(--c-green-d);
  transform: translateY(-2px);
}

.btn-outline {
  min-width: 232px;
  min-height: 54px;
  padding: 8px 24px;
  border: 1.4px solid var(--c-ink);
  border-radius: 27px;
}

.btn-outline p {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--c-ink);
}

.btn-outline:hover {
  background-color: var(--c-ink);
}

.btn-outline:hover p {
  color: var(--c-beige);
}

.btn-white {
  /* 画面両端に必ず20pxずつ余白を残す */
  width: min(420px, calc(100% - 40px));
  min-height: 62px;
  padding: 12px 24px;
  border-radius: 40px;
  background-color: #fff;
}

.btn-white p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  letter-spacing: 0.08em;
  color: var(--c-orange-d);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(53, 48, 43, 0.14);
}

@media (min-width: 576px) {
  .btn-white {
    min-height: 72px;
    padding: 12px 32px;
  }
}

@media (min-width: 992px) {
  .btn-white {
    min-height: 80px;
  }
}

/* =========================================================
   ヘッダー / グローバルナビ
   ========================================================= */
.a-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--c-cream);
  transition: box-shadow 0.3s;
}

.a-nav.has-bg {
  box-shadow: 0 2px 14px rgba(53, 48, 43, 0.09);
}

.a-nav-inner {
  height: var(--header-h);
  padding: 0 16px;
}

@media (min-width: 992px) {
  .a-nav-inner {
    padding: 0 20px;
  }
}

@media (min-width: 1200px) {
  .a-nav-inner {
    padding: 0 24px;
  }
}

@media (min-width: 1400px) {
  .a-nav-inner {
    padding: 0 32px;
  }
}

@media (min-width: 1512px) {
  .a-nav-inner {
    padding: 0 48px;
  }
}

.site-logo {
  position: relative;
  z-index: 1100;
}

.site-logo-ja {
  margin: 0;
  white-space: nowrap;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.site-logo-en {
  margin: 2px 0 0;
  white-space: nowrap;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.3em;
  color: var(--c-orange);
}

@media (min-width: 1200px) {
  .site-logo-ja {
    font-size: 19px;
  }
}

/* SP：全画面メニュー / PC：ヘッダー内インライン */
.a-nav-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: calc(var(--header-h) + 24px) 20px 40px;
  overflow-y: auto;
  background-color: var(--c-cream);
}

.a-nav-menu .gnav-link {
  padding: 10px 8px;
}

.a-nav-menu .gnav-link p {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--c-ink);
}

.gnav-link:hover p {
  color: var(--c-orange);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  max-width: 100%;
  height: 44px;
  margin-top: 16px;
  border: 1px solid var(--c-orange);
  border-radius: 22px;
  background-color: var(--c-orange);
}

.btn-contact p {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: #fff;
}

/* ホバー：背景を地色（アイボリー）に抜き、枠線と文字をオレンジに */
.btn-contact:hover {
  border-color: var(--c-orange);
  background-color: var(--c-cream);
}

.btn-contact:hover p {
  color: var(--c-orange);
}

@media (min-width: 992px) {
  /* common.js が付与するインラインの display / opacity を打ち消す */
  .a-nav-menu {
    display: flex !important;
    opacity: 1 !important;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    background-color: transparent;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
  }

  .a-nav-menu .gnav-link {
    padding: 0;
  }

  .a-nav-menu .gnav-link p {
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .btn-contact {
    width: 118px;
    height: 38px;
    margin-top: 0;
    margin-left: 8px;
  }

  .btn-contact p {
    font-size: 13px;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 1200px) {
  .a-nav-menu {
    gap: 18px;
  }

  .a-nav-menu .gnav-link p {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .btn-contact {
    width: 132px;
    height: 40px;
    margin-left: 10px;
  }

  .btn-contact p {
    font-size: 14px;
    letter-spacing: 0.1em;
  }
}

@media (min-width: 1400px) {
  .a-nav-menu {
    gap: 22px;
  }

  .a-nav-menu .gnav-link p {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .btn-contact {
    width: 150px;
    height: 44px;
  }

  .btn-contact p {
    font-size: 15px;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 1512px) {
  .a-nav-menu {
    gap: 26px;
  }

  .a-nav-menu .gnav-link p {
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  .btn-contact {
    width: 160px;
    margin-left: 14px;
  }

  .btn-contact p {
    font-size: 16px;
    letter-spacing: 0.14em;
  }
}

/* ハンバーガー */
.a-burger {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1100;
}

.a-burger div {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--c-orange);
  transition:
    transform 0.3s ease,
    top 0.3s ease,
    bottom 0.3s ease;
}

.a-burger div:nth-child(1) {
  top: 15px;
}

.a-burger div:nth-child(2) {
  bottom: 15px;
}

.a-burger.is-active div:nth-child(1) {
  top: 19px;
  transform: rotate(-45deg);
}

.a-burger.is-active div:nth-child(2) {
  bottom: 19px;
  transform: rotate(45deg);
}

@media (min-width: 992px) {
  .a-burger {
    display: none;
  }
}

/* 画面高が低い場合もメニューを操作できるように */
@media (max-height: 560px) and (max-width: 991.98px) {
  .a-nav-menu {
    justify-content: flex-start;
  }
}

/* =========================================================
   FV
   ========================================================= */
.fv {
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
}

.fv-inner {
  position: relative;
  max-width: 1512px;
  margin: 0 auto;
}

/* SP：写真は画面いっぱいに敷き、下側だけ大きく角丸にする */
.fv-media {
  width: 100%;
  margin-left: 0;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
}

.fv-media .swiper-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* 超ワイド画面で写真が伸び過ぎないよう高さだけ頭打ちにする */
  max-height: 940px;
  object-fit: cover;
}

.fv-copy {
  padding: 44px 9% 0;
}

.fv-catch {
  align-items: flex-start;
  gap: clamp(16px, 2.2vw, 34px);
}

/* SP：キャッチは横書き2行 ／ PC（992px以上）：縦書き2列 */
.fv-catch-line {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.5rem, 6.8vw, 2.125rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.fv-lead {
  margin-top: 26px;
}

.fv-lead p {
  margin: 0;
  font-size: clamp(0.8125rem, 0.55rem + 0.4vw, 0.9375rem);
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--c-txt);
}

/* 画面が横に広がるほど写真は横長に寄せ、縦に伸び過ぎないようにする */
@media (min-width: 576px) {
  .fv-media .swiper-slide img {
    aspect-ratio: 3 / 2;
  }

  .fv-media {
    border-radius: 0 0 40px 40px;
  }
}

@media (min-width: 768px) {
  .fv-media .swiper-slide img {
    aspect-ratio: 16 / 9;
  }

  .fv-copy {
    padding: 52px 8% 0;
  }
}

.fv-dot {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.fv-dot1 {
  top: -14px;
  right: -8%;
  left: auto;
  width: 50%;
  max-width: 250px;
}

.fv-dot2,
.fv-dot3 {
  display: none;
}

/* 大英文字：右から左へ流れるマーキー（同じ文字列を3本並べて1本分だけ移動＝継ぎ目なし） */
.fv-bigtext {
  margin: 18px 0 0;
  overflow: hidden;
}

.fv-bigtext-track {
  width: max-content;
  animation: fv-flow 28s linear infinite;
  will-change: transform;
}

.fv-bigtext-item {
  margin: 0;
  padding-right: 0.4em;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(2.5rem, 10vw, 9.375rem);
  line-height: 1.15;
  letter-spacing: 0.14em;
  color: rgba(239, 163, 82, 0.4);
  white-space: nowrap;
}

@keyframes fv-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.3333%);
  }
}

/* .fv-bigtext:hover .fv-bigtext-track {
  animation-play-state: paused;
} */

@media (min-width: 992px) {
  .fv-inner {
    max-width: none;
    padding-top: clamp(24px, 7.7%, 117px);
  }

  /* 左テキスト : 右写真 = 4 : 6。写真は常に画面右端に固定。
     ただし左側は最低360pxを確保し、狭いPC幅でテキストが端に張り付かないようにする */
  .fv-media {
    flex: 0 0 auto;
    width: min(60%, calc(100% - 360px));
    margin-left: 0;
    border-radius: var(--radius-l) 0 0 var(--radius-l);
  }

  /* テキスト群は「写真の左に残った空間」の中央へ。
     ドットもこのブロック基準（em＝キャッチの文字サイズ）なので一緒に動く */
  .fv-copy {
    position: relative;
    flex: 0 0 auto;
    width: max(7em, 250px);
    margin-right: auto;
    margin-left: auto;
    padding: 1.775em 0 0;
    font-size: clamp(1.75rem, 2.65vw, 2.5rem);
  }

  .fv-media .swiper-slide img {
    aspect-ratio: 1010 / 704;
  }

  .fv-catch {
    gap: 0.85em;
    padding-left: 1.15em;
    font-size: inherit;
  }

  .fv-catch-line {
    writing-mode: vertical-rl;
    font-size: inherit;
    line-height: 1.32;
    letter-spacing: 0.02em;
  }

  .fv-lead {
    margin-top: 3em;
  }

  .fv-dot2,
  .fv-dot3 {
    display: block;
  }

  .fv-dot1 {
    top: 0.6em;
    right: auto;
    left: 2.1em;
    width: 6.25em;
    max-width: none;
  }

  .fv-dot2 {
    top: 8.175em;
    left: 5.225em;
    width: 3.75em;
  }

  .fv-dot3 {
    top: 8.8em;
    left: -1.55em;
    width: 5.025em;
  }

  .fv-bigtext {
    margin-top: 1.2%;
  }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-cards {
  margin-top: 56px;
}

.about-card {
  text-align: center;
  margin-bottom: 40px;
}

.about-card-img {
  width: 220px;
  max-width: 68%;
  margin: 0 auto 22px;
}

.about-card-ttl {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--c-ink);
}

.about-card-txt {
  margin: 12px auto 0;
  max-width: 300px;
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  text-align: left;
}

@media (min-width: 992px) {
  .about-cards {
    margin-top: 72px;
  }

  .about-card {
    margin-bottom: 0;
  }
}

/* =========================================================
   MESSAGE
   ========================================================= */
.sec-message {
  overflow: hidden;
}

.msg-row + .msg-row {
  margin-top: 72px;
}

.msg-media {
  position: relative;
}

.msg-img {
  width: 100%;
  aspect-ratio: 746 / 495;
  object-fit: cover;
}

.msg-media-l .msg-img {
  border-radius: 0 24px 24px 0;
}

.msg-media-r .msg-img {
  border-radius: 24px 0 0 24px;
}

.msg-dot {
  position: absolute;
  z-index: -1;
  width: 38%;
  max-width: 287px;
  pointer-events: none;
}

.msg-dot-r {
  right: -8%;
  bottom: -12%;
}

.msg-dot-l {
  left: -8%;
  bottom: -12%;
}

.msg-body {
  padding: 40px 24px 0;
}

.msg-txt {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 2.15;
  letter-spacing: 0.06em;
}

@media (min-width: 992px) {
  .msg-row + .msg-row {
    margin-top: 104px;
  }

  .msg-media-l .msg-img {
    border-radius: 0 var(--radius-l) var(--radius-l) 0;
  }

  .msg-media-r .msg-img {
    border-radius: var(--radius-l) 0 0 var(--radius-l);
  }

  .msg-body {
    padding: 0;
  }

  .msg-body-r {
    padding-left: 6.6%;
    padding-right: 10%;
  }

  .msg-body-l {
    padding-left: 9.9%;
    padding-right: 6.6%;
  }

  .msg-dot-r {
    right: -6%;
    bottom: -22%;
  }

  .msg-dot-l {
    left: -6%;
    bottom: -22%;
  }
}

/* =========================================================
   SERVICE
   ========================================================= */
.sec-service {
  background-color: var(--c-beige);
}

.service-hero {
  position: relative;
  /* 写真の縦横比は 1512:1031。画面幅いっぱいに敷くと縦が大きくトリミングされるため、
     3頭の顔（目〜口）が常に収まる高さ＝画面幅の約37.7%を維持する。
     980pxの上限は超ワイド環境での過剰な高さを防ぐための保険 */
  height: clamp(200px, 37.7vw, 980px);
  overflow: hidden;
}

/* 枠より縦に大きく置き、はみ出した分をスクロール時の可動域にする。
   JSが動かない環境でも隙間が出ないよう、初期状態で枠を覆う */
.service-hero .js-parallax {
  position: absolute;
  top: -18%;
  left: 0;
  width: 100%;
  height: 136%;
  object-fit: cover;
  /* 3頭の顔（真ん中の子の目 24% 〜 左の白い子の口 65%）を中心に置く。
     スクロールで上下に動いても、この帯が枠から外れない位置 */
  object-position: 50% 28%;
  will-change: transform;
}

.sec-service-body {
  padding-top: 64px;
}

.service-cards {
  margin-top: 56px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 26px 40px;
  border-radius: 20px;
  background-color: #fff;
  text-align: center;
}

.service-num {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--c-green);
}

.service-ttl {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--c-green);
}

.service-txt {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  text-align: left;
}

/* 段落が続くときは改行だけにして、1行分の空きを作らない */
.service-txt + .service-txt {
  margin-top: 0;
}

/* 本文が一番長いカードでも、罫線との間に必ず30pxを確保する */
.service-txt:last-of-type {
  padding-bottom: 30px;
}

.service-price {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--c-green);
}

.price-label {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--c-green);
}

.price-row {
  gap: 6px;
  flex-wrap: wrap;
}

/* Figmaどおり、料金の黒文字はすべて Cabin SemiBold（和文は角ゴシックにフォールバック） */
.price-unit,
.price-num {
  margin: 0;
  font-family: var(--font-en-ja);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--c-ink);
}

.price-unit {
  font-size: clamp(0.9375rem, 1.4vw, 1.25rem);
}

.price-num {
  font-size: clamp(1.375rem, 2.2vw, 1.8125rem);
}

.price-num-sm {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
}

.service-note {
  margin: 32px 0 0;
  font-size: clamp(0.8125rem, 1.1vw, 1rem);
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
}

/* 料金ブロックの高さを「ラベル＋料金2行」分で固定し、
   カード下端に揃えることで横並びになったカードの罫線位置を一直線にする。
   768px以上でカードが横並びになるため、その時点から適用する */
@media (min-width: 768px) {
  .service-price {
    min-height: calc(28px + 27px + 2.8 * clamp(1.375rem, 2.2vw, 1.8125rem));
  }
}

@media (min-width: 992px) {
  .sec-service-body {
    padding-top: 92px;
  }

  .service-cards {
    margin-top: 72px;
  }

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

/* =========================================================
   WORKS
   ========================================================= */
.sec-works {
  background-color: var(--c-beige);
  overflow: hidden;
}

.album-ttl {
  margin: 64px 0 0;
  font-weight: 700;
  font-size: clamp(1.125rem, 0.85rem + 0.75vw, 1.5625rem);
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--c-orange);
  text-align: center;
}

/* 等速で流れ続けるアルバム。
   1周分（--shift）だけ動かして先頭に戻るので、継ぎ目なく無限にループする。
   複製枚数と --shift / --dur はJS側が画面幅に合わせて算出する。 */
.works-marquee {
  margin-top: 28px;
  overflow: hidden;
}

.works-track {
  display: flex;
  width: max-content;
  gap: 16px;
  will-change: transform;
  animation: works-flow var(--dur, 25s) linear infinite;
}

/* トレーニングのアルバムは左から右へ */
.works-marquee-reverse .works-track {
  animation-direction: reverse;
}

.works-marquee:hover .works-track {
  animation-play-state: paused;
}

@keyframes works-flow {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(var(--shift, 0px) * -1), 0, 0);
  }
}

.works-card {
  flex: 0 0 auto;
  width: 240px;
  padding: 20px 20px 24px;
  background-color: #fff;
}

.works-img {
  width: 100%;
  aspect-ratio: 285 / 319;
  object-fit: cover;
}

.works-name {
  margin: 18px 0 0;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--c-txt);
  text-align: center;
}

@media (min-width: 768px) {
  .works-track {
    gap: 24px;
  }

  .works-card {
    width: 300px;
    padding: 28px 28px 32px;
  }
}

@media (min-width: 992px) {
  .album-ttl {
    margin-top: 88px;
  }

  .works-marquee {
    margin-top: 40px;
  }

  .works-track {
    gap: 42px;
  }

  .works-card {
    width: 360px;
    padding: 38px 38px 42px;
  }
}

/* =========================================================
   VOICE
   ========================================================= */
.sec-voice {
  overflow: hidden;
}

.voice-dot {
  position: absolute;
  width: 240px;
  max-width: 34%;
  opacity: 0.9;
  pointer-events: none;
}

.voice-dot-1 {
  left: -6%;
  bottom: 12%;
}

.voice-dot-2 {
  right: -4%;
  top: 16%;
}

.voice-cards {
  margin-top: 56px;
}

.voice-card {
  height: 100%;
  border-radius: 14px;
  background-color: #fff;
  overflow: hidden;
}

.voice-img {
  width: 100%;
  aspect-ratio: 354 / 236;
  object-fit: cover;
}

.voice-ttl {
  margin: 0;
  padding: 0 24px;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  letter-spacing: 0.07em;
  color: var(--c-ink);
  text-align: center;
}

.voice-img + .voice-ttl {
  padding-top: 30px;
}

.voice-txt {
  margin: 18px 0 0;
  padding: 0 32px;
  font-size: 13px;
  line-height: 2.05;
  letter-spacing: 0.05em;
  color: var(--c-gray);
}

.voice-name {
  margin: 22px 0 0;
  padding: 0 24px 32px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--c-orange);
  text-align: center;
}

@media (min-width: 992px) {
  .voice-cards {
    margin-top: 72px;
  }
}

/* =========================================================
   INSTAGRAM
   ========================================================= */
.sec-instagram {
  background-color: var(--c-beige);
  overflow: hidden;
}

.insta-dot {
  position: absolute;
  width: 176px;
  max-width: 26%;
  pointer-events: none;
}

.insta-dot-1 {
  right: 4%;
  top: 26%;
}

.insta-dot-2 {
  left: 3%;
  bottom: 16%;
}

.insta-tiles {
  margin-top: 44px;
}

.insta-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.insta-tiles a:hover .insta-img {
  opacity: 0.82;
}

@media (min-width: 992px) {
  .insta-tiles {
    margin-top: 54px;
  }
}

/* =========================================================
   CONTACT
   ========================================================= */
.sec-contact {
  background-image: linear-gradient(90deg, #f9bd73 0%, #ef9d4a 100%);
  overflow: hidden;
  text-align: center;
}

.contact-ttl {
  margin: 14px 0 0;
  font-weight: 700;
  /* 最小18px：375px幅で「まずは、お話を聞かせてください。」が1行に収まる下限 */
  font-size: clamp(1.125rem, 0.85rem + 1.1vw, 2rem);
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: #fff;
}

.contact-txt {
  margin-top: 24px;
}

.contact-txt p {
  margin: 0;
  font-weight: 500;
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: #fff;
}

.contact-dog {
  position: absolute;
  bottom: 8%;
  width: 18%;
  max-width: 287px;
  pointer-events: none;
}

/* 画面が広がってもテキスト・ボタンとの距離を一定に保つ。
   画面端からの％だと広い画面で離れすぎるため、中央からの距離で位置を決める。
   狭い画面では従来どおり画面端から6%（max()の第一項）にフォールバックする */
.contact-dog-l {
  left: max(6%, calc(50% - 379px - min(18%, 287px)));
}

.contact-dog-r {
  right: max(6%, calc(50% - 393px - min(17%, 269px)));
  width: 17%;
  max-width: 269px;
}

@media (max-width: 991.98px) {
  .contact-dog {
    position: static;
    width: 42%;
    margin: 24px auto 0;
    display: inline-block;
  }

  .contact-dog-l,
  .contact-dog-r {
    display: none;
  }
}

/* =========================================================
   フッター
   ========================================================= */
.foot {
  padding: 64px 0 40px;
  background-color: var(--c-dark);
}

/* SP（576px未満）はフッター全体をセンター揃えに */
@media (max-width: 575.98px) {
  .foot {
    text-align: center;
  }

  .foot-nav {
    margin-top: 36px;
  }
}

.foot-logo {
  display: block;
}

.foot-logo-ja {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5625rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #fff;
}

.foot-logo-en {
  margin: 6px 0 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.26em;
  color: var(--c-orange-l);
}

.foot-txt {
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.06em;
  color: var(--c-foot-txt);
}

.foot-info .foot-txt:first-of-type {
  margin-top: 26px;
}

.foot-sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 38px;
  margin-top: 28px;
  border: 1px solid rgba(229, 221, 211, 0.45);
  border-radius: 19px;
}

.foot-sns p {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--c-foot-txt);
}

.foot-sns:hover {
  border-color: var(--c-foot-txt);
  background-color: rgba(229, 221, 211, 0.12);
}

.foot-nav {
  margin-top: 40px;
}

.foot-nav a {
  display: block;
}

.foot-nav a + a {
  margin-top: 16px;
}

.foot-nav p {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.09em;
  color: var(--c-foot-txt);
}

.foot-nav a:hover p {
  color: var(--c-orange-l);
}

.foot-line {
  height: 2px;
  margin-top: 48px;
  background-color: rgba(229, 221, 211, 0.22);
}

.foot-copy {
  margin: 24px 0 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: rgba(229, 221, 211, 0.7);
}

@media (min-width: 992px) {
  .foot {
    padding: 86px 0 48px;
  }

  .foot-nav {
    margin-top: 4px;
  }

  .foot-nav p {
    font-size: 16px;
  }
}

/* =========================================================
   下層ページ：私たちについて（about.html）
   ========================================================= */

/* ---------- 下層FV ---------- */
.fv-page {
  padding-top: calc(var(--header-h) + 20px);
}

@media (min-width: 992px) {
  .fv-page {
    padding-top: calc(var(--header-h) + 40px);
  }
}

.fv-page-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .fv-page-media {
    border-radius: 32px;
  }
}

@media (min-width: 992px) {
  .fv-page-media {
    border-radius: var(--radius-l);
  }
}

.fv-page-img {
  width: 100%;
  aspect-ratio: 1212 / 705;
  object-fit: cover;
}

/* 写真の上に敷く茶系のフィルター（文字の可読性確保） */
.fv-page-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(128, 100, 67, 0.31);
  pointer-events: none;
}

.fv-page-copy {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 100%;
  padding: 0 16px;
  transform: translateY(-50%);
  text-align: center;
}

.fv-page-ttl {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 3.125rem);
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: #fff;
}

.fv-page-en {
  margin: 2px 0 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(0.75rem, 1vw, 0.9375rem);
  line-height: 1.5;
  letter-spacing: 0.26em;
  color: #fff;
}

/* ---------- 本文（下層ページ共通の段落） ---------- */
.about-txt {
  margin: 0;
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.06em;
  color: var(--c-txt);
}

/* 段落間は1行分あける。連続した会話文などは行送りのみ（-tight） */
.about-txt + .about-txt {
  margin-top: 1.9em;
}

.about-txt + .about-txt-tight {
  margin-top: 0;
}

/* ---------- リード（愛犬も、飼い主様も） ---------- */
.sec-intro {
  overflow: hidden;
}

.intro-body {
  padding: 0 24px;
}

.ttl-ja + .about-txt {
  margin-top: 40px;
}

.intro-media {
  margin-top: 40px;
  /* SPでは本文と同じ左右の余白に合わせる */
  padding: 0 24px;
}

.intro-img {
  width: 100%;
  aspect-ratio: 668 / 654;
  object-fit: cover;
  border-radius: 24px;
}

/* 装飾ドット */
.intro-dot {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.intro-dot-1 {
  top: 0;
  left: -6%;
  width: 40%;
  max-width: 200px;
}

.intro-dot-2,
.intro-dot-3 {
  display: none;
}

@media (min-width: 992px) {
  .intro-row {
    align-items: flex-start;
  }

  /* Figmaの比率（本文616 : 余白78 : 写真668 ＝ 1512）に合わせる */
  .intro-body {
    flex: 0 0 auto;
    width: 55.8%;
    /* 左側はコンテンツ幅（container）の左端に合わせる */
    padding-left: max(12px, calc(50% - 606px));
    padding-right: 5.2%;
  }

  .intro-media {
    flex: 0 0 auto;
    width: 44.2%;
    margin-top: 0;
    padding: 0;
  }

  /* 写真は画面右端まで伸ばし、左側だけ角丸にする */
  .intro-img {
    border-radius: 40px 0 0 40px;
  }

  .intro-dot-1 {
    top: 2%;
    left: 3.3%;
    width: 13.2%;
    max-width: 200px;
  }

  .intro-dot-2,
  .intro-dot-3 {
    display: block;
  }

  .intro-dot-2 {
    top: 70%;
    left: 33.5%;
    width: 9%;
    max-width: 136px;
  }

  .intro-dot-3 {
    top: 70%;
    left: 46.5%;
    width: 15.9%;
    max-width: 241px;
  }
}

/* ---------- OUR SERVICE ---------- */
.sec-svc {
  padding-top: 64px;
  padding-bottom: 48px;
}

@media (min-width: 992px) {
  .sec-svc {
    padding-top: 128px;
    padding-bottom: 56px;
  }
}

.svc-panel {
  padding-top: 64px;
  padding-bottom: 72px;
  background-color: var(--c-beige);
}

/* 左端は画面いっぱい、右端はコンテンツ幅の右端に合わせて角丸にする */
@media (min-width: 992px) {
  .svc-panel {
    width: 100%;
    max-width: 100%;
    padding-top: 100px;
    padding-bottom: 120px;
    border-radius: 0 40px 40px 0;
  }
}

@media (min-width: 1200px) {
  .svc-panel {
    width: 100%;
  }
}

.svc-cards {
  margin-top: 48px;
}

@media (min-width: 992px) {
  .svc-cards {
    margin-top: 64px;
  }
}

.svc-img {
  width: 100%;
  aspect-ratio: 329 / 227;
  object-fit: cover;
  border-radius: 20px;
}

.svc-ttl {
  margin: 30px 0 0;
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  text-align: center;
}

.svc-txt {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--c-txt);
}

.svc-note {
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--c-orange);
}

/* ---------- MIND COACHING ---------- */
.sec-mind {
  background-color: var(--c-beige);
  overflow: hidden;
}

.mind-row + .mind-row {
  margin-top: 56px;
}

.mind-media {
  margin-top: 32px;
}

.mind-img {
  width: 100%;
  max-width: 518px;
  /* 画像に白い角丸が焼き込まれているため、同じ比率で切り抜いて隠す */
  border-radius: 8%;
}

.deco-wave-left {
  margin-left: 0;
  margin-right: auto;
  width: 150px;
}

.deco-wave + .about-txt {
  margin-top: 34px;
}

@media (min-width: 992px) {
  .mind-row {
    align-items: flex-start;
  }

  .mind-row + .mind-row {
    margin-top: 106px;
  }

  .mind-img {
    width: 518px;
    max-width: 100%;
  }

  /* 写真は本文と反対側（外側）の端に寄せる */
  .mind-media-r .mind-img {
    margin-left: auto;
    margin-right: 0;
  }

  .mind-media-l .mind-img {
    margin-left: 0;
    margin-right: auto;
  }

  /* Figmaの比率（本文616 : 余白78 : 写真518 ＝ 1212）に合わせる */
  .mind-body {
    flex: 0 0 auto;
    width: 57.2%;
  }

  .mind-media {
    flex: 0 0 auto;
    width: 42.8%;
    margin-top: 0;
  }

  .mind-body-l {
    padding-right: 6.4%;
  }

  .mind-body-r {
    padding-left: 6.4%;
  }
}

/* =========================================================
   下層ページ：代表の想い（message.html）
   ========================================================= */

/* ---------- 下層FV（タイトルが写真に焼き込まれているパターン） ---------- */
.fv-page-media-flat::after {
  content: none;
}

/* 画像内にタイトルがあるため、見出しは読み上げ・SEO用に視覚的に隠す */
.fv-page-ttl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- PHILOSOPHY ---------- */
.philosophy-lead {
  margin-top: 40px;
  text-align: center;
}

.lead-line {
  margin: 1.9em 0 0;
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.06em;
  color: var(--c-txt);
}

.lead-line:first-child {
  margin-top: 0;
}

/* 段落内の改行は行送りのみ */
.lead-line-tight {
  margin-top: 0;
}

@media (min-width: 992px) {
  .philosophy-lead {
    margin-top: 56px;
  }
}

/* ---------- 代表プロフィール ---------- */
.sec-profile {
  padding-bottom: 72px;
  /* 表示アニメーションの初期位置（左右50px）が横スクロールを生まないようにする */
  overflow: hidden;
}

@media (min-width: 992px) {
  .sec-profile {
    padding-bottom: 104px;
  }
}

.profile-img {
  width: 100%;
  max-width: 518px;
  margin: 0 auto;
  aspect-ratio: 518 / 587;
  object-fit: cover;
  border-radius: 24px;
}

.profile-body {
  margin-top: 32px;
}

.profile-role {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--c-orange);
}

.profile-name {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--c-ink);
}

/* 項目は「ラベル｜内容」の2カラム。区切り線は緑の細罫 */
.profile-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-green);
}

.profile-item:first-of-type {
  margin-top: 26px;
}

.profile-label {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.06em;
  color: var(--c-txt);
}

.profile-values {
  margin-top: 2px;
}

.profile-value {
  margin: 0;
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.06em;
  color: var(--c-txt);
}

@media (min-width: 768px) {
  .profile-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .profile-label {
    flex: 0 0 auto;
    width: 6em;
  }

  .profile-values {
    flex: 1 1 auto;
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  .profile-body {
    margin-top: 0;
    padding-left: 6.5%;
    align-self: center;
  }

  .profile-img {
    margin-left: 0;
  }
}

/* ---------- 仲間たち ---------- */
.sec-friends {
  padding-bottom: 72px;
}

@media (min-width: 992px) {
  .sec-friends {
    padding-bottom: 128px;
  }
}

.friends-panel {
  padding: 48px 20px 56px;
  border-radius: 24px;
  background-color: var(--c-beige);
}

@media (min-width: 992px) {
  .friends-panel {
    padding: 75px 40px 80px;
    border-radius: 40px;
  }
}

.friends-ttl {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.125rem, 0.85rem + 0.75vw, 1.5625rem);
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--c-orange);
  text-align: center;
}

.friends-cards {
  margin-top: 5px;
}

.friend-card {
  text-align: center;
  width: 50%;
}

@media (min-width: 992px) {
  .friend-card {
    width: 25%;
  }
}

.friend-img {
  width: 100%;
  max-width: 247px;
  margin: 0 auto;
  aspect-ratio: 247 / 227;
  object-fit: cover;
  border-radius: 20px;
}

.friend-name {
  margin: 30px 0 0;
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--c-ink);
}

.friend-txt {
  margin: 8px 0 0;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--c-txt);
}

.friend-txt + .friend-txt-tight {
  margin-top: 0;
}

/* ---------- STORY ---------- */
.sec-story {
  overflow: hidden;
}

.story-row {
  margin-top: 56px;
}

@media (min-width: 992px) {
  .story-row {
    margin-top: 104px;
  }
}

.story-media {
  padding: 0 24px;
}

.story-img {
  width: 100%;
  aspect-ratio: 746 / 611;
  object-fit: cover;
  border-radius: 24px;
}

.story-body {
  padding: 32px 24px 0;
}

.story-ttl {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.125rem, 0.85rem + 0.75vw, 1.5625rem);
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--c-ink);
}

/* 2行に分かれた見出しの2行目 */
.story-ttl-tight {
  margin-top: 0;
}

.story-ttl-accent {
  color: var(--c-orange);
  font-size: clamp(1.25rem, 0.9rem + 0.95vw, 1.875rem);
}

.story-ttl + .about-txt,
.story-ttl-tight + .about-txt {
  margin-top: 30px;
}

@media (min-width: 992px) {
  .story-media {
    padding: 0;
  }

  .story-body {
    padding-top: 0;
  }

  /* 写真は画面端まで伸ばし、内側だけ角丸にする */
  .story-media-l .story-img {
    border-radius: 0 24px 24px 0;
  }

  .story-media-r .story-img {
    border-radius: 24px 0 0 24px;
  }

  /* 本文はコンテンツ幅（container）の内側に収める */
  .story-body-r {
    padding-left: 6.6%;
    padding-right: max(12px, calc(50% - 606px));
  }

  .story-body-l {
    padding-right: 6.6%;
    padding-left: max(12px, calc(50% - 606px));
  }
}

/* =========================================================
   下層ページ：ご利用の流れ（flow.html）
   ========================================================= */

.sec-flow {
  overflow: hidden;
}

/* ---------- ステップ（01〜04） ---------- */
/* 縦の導線はステップを基準に絶対配置するため、position を持たせる */
.flow-step {
  position: relative;
  padding-bottom: 56px;
}

.flow-media {
  padding: 0 24px;
}

.flow-img {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 280 / 248;
  object-fit: cover;
  border-radius: 48px;
}

.flow-num {
  padding: 0 24px;
  text-align: center;
}

.flow-no {
  margin: 20px 0 0;
  font-weight: 700;
  font-size: clamp(2rem, 3.3vw, 3.125rem);
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--c-orange);
}

.flow-body {
  padding: 0 24px;
}

.flow-ttl {
  margin: 0;
  font-weight: 700;
  /* 最小18px：375px幅で「飼い主様のマインドケアも承ります」が1行に収まる下限 */
  font-size: clamp(1.125rem, 0.85rem + 1vw, 1.875rem);
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--c-ink);
}

.flow-ttl + .about-txt {
  margin-top: 22px;
}

@media (min-width: 992px) {
  .flow-step {
    /* 写真280 : 番号189 : 本文743 ＝ 1212（Figma） */
    flex-wrap: nowrap;
    padding-bottom: 96px;
  }

  .flow-media {
    flex: 0 0 auto;
    width: 23.1%;
    padding: 0;
  }

  .flow-img {
    max-width: 100%;
  }

  .flow-num {
    flex: 0 0 auto;
    width: 15.6%;
    padding: 0;
  }

  .flow-no {
    margin-top: 70px;
  }

  /* 次のステップへつなぐ縦線（縦並びになる992px未満では出さない） */
  .flow-num::after {
    content: "";
    position: absolute;
    top: 160px;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--c-orange);
    transform: translateX(-50%);
  }

  .flow-step-last .flow-num::after {
    content: none;
  }

  .flow-body {
    flex: 0 0 auto;
    width: 61.3%;
    padding: 0;
  }
}

/* ---------- マインドケア（ベージュのパネル） ---------- */
.flow-panel {
  margin-top: 16px;
  padding: 40px 16px 48px;
  border-radius: 24px;
  background-color: var(--c-beige);
}

@media (min-width: 992px) {
  .flow-panel {
    margin-top: 24px;
    /* Figma：左右78 / 上下80・93 */
    padding: 80px 6.4% 93px;
    border-radius: var(--radius-l);
  }
}

.flow-panel-img {
  display: block;
  width: 100%;
  max-width: 412px;
  margin: 0 auto;
  aspect-ratio: 412 / 329;
  object-fit: cover;
  border-radius: 24px;
}

.flow-panel-body {
  margin-top: 28px;
}

@media (min-width: 992px) {
  .flow-panel-row {
    flex-wrap: nowrap;
  }

  /* 写真412 : 余白75 : 本文574 ＝ 1061（Figma） */
  .flow-panel-media {
    flex: 0 0 auto;
    width: 38.8%;
  }

  .flow-panel-img {
    max-width: 100%;
    border-radius: var(--radius-l);
  }

  .flow-panel-body {
    flex: 0 0 auto;
    width: 61.2%;
    margin-top: 0;
    padding-left: 7.1%;
  }

  /* パネル内は見出しと本文の間を広めに取る（Figma） */
  .flow-panel-body .flow-ttl + .about-txt {
    margin-top: 56px;
  }
}

/* ---------- 992px未満：縦積み時は見出し・番号をセンターにそろえる ---------- */
@media (max-width: 991.98px) {
  .flow-ttl {
    text-align: center;
  }

  .flow-panel-body {
    text-align: center;
  }

  .flow-panel-body .about-txt {
    text-align: left;
  }
}

/* ---------- 768px以下：見出しを中央揃えにする ---------- */
@media (max-width: 768px) {
  /* 代表プロフィールの肩書き・氏名 */
  .profile-role,
  .profile-name {
    text-align: center;
  }

  /* STORYの各見出し（h3） */
  .story-ttl {
    text-align: center;
  }
}

/* =========================================================
   レスポンシブ：カラムが縦並びになる992px未満では、
   セクション見出し（英字ラベル・タイトル・波線）を中央揃えにする
   ※本文は左揃えのまま
   ========================================================= */
@media (max-width: 991.98px) {
  .label-en-left,
  .ttl-ja-left {
    text-align: center;
  }

  .deco-wave-left {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   アニメーション配慮
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .anim,
  .anim-left,
  .anim-right {
    opacity: 1 !important;
    transform: none !important;
  }

  a,
  a p,
  a img,
  .btn-green,
  .btn-white,
  .a-burger div {
    transition: none !important;
  }

  .fv-bigtext-track,
  .works-track {
    animation: none !important;
  }

  .works-marquee {
    overflow-x: auto;
  }
}

/* =========================================================
   下層ページ共通（旧style.cssから流用・配色のみ本案件に合わせて調整）
   ※TOPページでは未使用。お知らせ／お問い合わせ等で使用します。
   ========================================================= */

/* 下層ページ FV */
.fv-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  margin-top: var(--header-h);
  background-color: var(--c-beige);
}

@media (min-width: 992px) {
  .fv-sub {
    min-height: 380px;
  }
}

/* お知らせ一覧（CMSのデータブロック出力を包む想定） */
.news-list .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.news-list .webgene-item {
  width: 100%;
}

@media (min-width: 768px) {
  .news-list .webgene-item {
    width: 48%;
  }
}

/* ページネーション */
.webgene-pagination {
  width: 100%;
}

.webgene-pagination ul,
.pagelink {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 4rem;
}

.webgene-pagination ul li a,
.pagelink p a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 50px;
  padding: 8px 24px;
  border: 1px solid var(--c-green);
  border-radius: 25px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--c-green);
}

.webgene-pagination ul li a:hover,
.pagelink p a:hover {
  background-color: var(--c-green);
  color: #fff;
}

/* フォーム */
.formInput,
.formTextArea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e3d8c4;
  border-radius: 20px;
  background-color: #fffdf8;
  margin-bottom: 1.5rem;
  font-family: inherit;
  font-size: 16px;
  color: var(--c-txt);
}

.formTextArea {
  height: 10rem;
}

.formInput:focus,
.formInput:focus-visible,
.formTextArea:focus,
.formTextArea:focus-visible {
  outline: none;
  border-color: var(--c-orange);
  background-color: #fffdf8;
}

.zipInput {
  width: 8rem;
}

.requiredText {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 10px;
  border-radius: 50px;
  background-color: var(--c-orange);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #fff;
}

@media (min-width: 768px) {
  .formTh {
    padding-left: 1.5rem;
  }
}

.privacyformError {
  padding-top: 20px;
}

@media (min-width: 768px) {
  .privacyformError {
    padding-top: 0;
  }
}

/* プライバシーポリシー */
.policy-box {
  height: 400px;
  padding: 24px;
  border: 1px solid #e3d8c4;
  border-radius: 14px;
  background-color: #fff;
  overflow-y: auto;
}

.service__btn-box {
  gap: clamp(0.625rem, 0.423rem + 0.88vw, 1.25rem);
}

.service-title1 {
  width: 100%;
  height: clamp(12.5rem, 6.316rem + 26.39vw, 31.25rem);
}

.service-title2 {
  width: 100%;
  height: clamp(12.5rem, 6.316rem + 26.39vw, 31.25rem);
}

.service-title3 {
  width: 100%;
  height: clamp(12.5rem, 6.316rem + 26.39vw, 31.25rem);
}

.service__img-box {
  width: 100%;
  border-radius: 48px;
}

.service__img-box img {
  width: 100%;
  height: 100%;
  border-radius: 48px;
}

.service__box {
  border-radius: 20px;
}

.service__line {
  position: relative;
  width: 100%;
}

.service__line::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--c-orange);
}

.service__text {
  position: relative;
  padding-left: clamp(1.875rem, 1.669rem + 0.88vw, 2.5rem);
}

.service__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(0.625rem, 0.522rem + 0.44vw, 0.938rem);
  height: clamp(0.625rem, 0.522rem + 0.44vw, 0.938rem);
  border-radius: 50%;
  background-color: var(--c-orange);
}

.service__text-wrap {
  width: 80%;
}

.service__price-box {
  display: flex;
  align-items: center;

  width: 100%;
  min-height: 170px;
  padding: 40px 10%;

  background-color: #fff;
  border-radius: 20px;
}

/* 左：料金名 */
.service__price-name {
  width: 50%;

  color: var(--c-green);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
}

/* 右：時間・料金 */
.service__price-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  width: 50%;
  min-height: 84px;
  /* padding-left: 10%; */

  border-left: 2px solid var(--c-green);
}

.service__price-detail2 {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 24px;

  width: 50%;
  min-height: 84px;
  padding-left: 10%;

  border-left: 2px solid var(--c-green);
}

.service__price-time {
  color: var(--c-txt);
  font-weight: 500;
}

.service__price {
  color: var(--c-txt);
  font-weight: 700;
}

@media (max-width: 768px) {
  .service__price-box {
    flex-direction: column;
    gap: 25px;

    min-height: auto;
    padding: 35px 25px;
  }

  .service__price-name {
    width: 100%;
    font-size: 20px;
  }

  .service__price-detail {
    justify-content: center;

    width: 100%;
    min-height: auto;
    padding: 20px 0 0;

    border-left: none;
    border-top: 2px solid var(--c-green);
  }

  .service__price-detail2 {
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: auto;
    padding: 20px 0 0;
    border-left: none;
    border-top: 2px solid var(--c-green);
    gap: 0px;
  }
}

.travel-fee {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 2px solid #5f8d28;
}

.travel-fee__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 124px;
  border-bottom: 2px solid #5f8d28;
}

.travel-fee__row--head {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 124px;
  border-bottom: 2px solid #5f8d28;
}

.travel-fee__area,
.travel-fee__price {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  box-sizing: border-box;
}

.travel-fee__area {
  background: #e2efc8;
}

.travel-fee__price {
  background: #faf8f0;
}

.travel-fee p {
  margin: 0;
  color: #333;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

.travel-fee__row--head p {
  font-weight: 700;
}

/* =========================
   SP
========================= */

@media screen and (max-width: 768px) {
  .travel-fee__row--head {
    display: none;
  }

  .travel-fee__row {
    display: block;
    min-height: auto;
  }

  .travel-fee__area,
  .travel-fee__price {
    min-height: 90px;
    padding: 20px;
  }

  .travel-fee__area {
    border-bottom: 1px solid #5f8d28;
  }
}

.school__line {
  position: relative;
  width: 100%;
}

.school__line::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--c-orange);
  bottom: 0;
  left: 0;
}

.school__line-left {
  width: 100%;
}

.school__line-right {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .school__line {
    width: 80%;
  }

  .school__line-left {
    width: 30%;
  }

  .school__line-right {
    width: 70%;
  }
}

.terms-box {
  width: 100%;
  max-width: 1380px;
  height: 350px;
  margin: 0 auto;
  padding: 45px 35px 45px 50px;
  box-sizing: border-box;
  background: #fbefd8;
  border-radius: 30px;
  overflow: hidden;
}

.terms-box__inner {
  width: 100%;
  height: 100%;
  padding-right: 25px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;

  color: #333;
  font-size: 14px;
  line-height: 1.8;

  scrollbar-width: thin;
  scrollbar-color: #ef9e4b transparent;
}

.terms-box__inner::-webkit-scrollbar {
  width: 4px;
}

.terms-box__inner::-webkit-scrollbar-track {
  background: transparent;
}

.terms-box__inner::-webkit-scrollbar-thumb {
  background: #ef9e4b;
  border-radius: 999px;
}

.terms-box__inner p {
  margin: 0;
}

.dog-slider {
  width: 100%;
  overflow: hidden;
}

.dog-slider__track {
  display: flex;
  width: max-content;
  animation: dog-slider-loop 55s linear infinite;
}

.dog-slider__list {
  display: flex;
  gap: 45px;
  padding-right: 45px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.dog-slider__list img {
  width: clamp(18.75rem, 16.379rem + 10.11vw, 25.938rem);
  height: clamp(12.5rem, 10.129rem + 10.11vw, 19.688rem);
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 40px;
  display: block;
}

@keyframes dog-slider-loop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% / 2));
  }
}

.faq-box {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 55px;
  box-sizing: border-box;
  background: #fbefd8;
  border-radius: 20px;
}

@media (min-width: 992px) {
  .faq-box {
    width: 90%;
  }
}

.faq-box2 {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 55px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 20px;
}

@media (min-width: 992px) {
  .faq-box2 {
    width: 90%;
  }
}

.faq-box__question {
  display: flex;
  align-items: center;
  gap: 20px;
}

.faq-box__label {
  margin: 0;
  color: #ef9e4b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.faq-box__title {
  margin: 0;
  color: #333;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
}

.faq-box__answer {
  padding-left: 50px;
  margin-top: 28px;
}

.faq-box__answer p {
  margin: 0;
  color: #444;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

/* SP */
@media screen and (max-width: 768px) {
  .faq-box {
    padding: 30px 25px;
    border-radius: 20px;
  }

  .faq-box__question {
    gap: 12px;
    align-items: flex-start;
  }

  .faq-box__label {
    font-size: 20px;
  }

  .faq-box__title {
    font-size: 16px;
  }

  .faq-box__answer {
    padding-left: 0;
    margin-top: 20px;
  }

  .faq-box__answer p {
    font-size: 14px;
    line-height: 1.9;
  }
}

.album-list {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.album-card {
  display: block;
  width: 415px;
  padding: 55px 45px 35px;
  box-sizing: border-box;
  background: #fff;
  text-decoration: none;
}

.album-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.album-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
}

.album-card__title {
  margin: 0;
  color: #3d3d3d;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.album-card__arrow {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

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

@media screen and (max-width: 768px) {
  .album-list {
    gap: 10px;
    align-items: center;
  }

  .album-card {
    width: 100%;
    max-width: 415px;
    padding: 30px 25px 25px;
  }

  .album-card__bottom {
    margin-top: 25px;
  }

  .album-card__title {
    font-size: 14px;
  }

  .album-card__arrow {
    width: 42px;
    height: 42px;
  }
}

@media screen and (max-width: 576px) {
  .album-list {
    flex-direction: column;
  }

  .album-card__title {
    font-size: 16px;
  }
}

.album-card__title {
  transition: color 0.3s ease;
}

.album-card__arrow {
  transition: transform 0.3s ease;
}

.album-card:hover .album-card__title {
  color: #5f8d28;
}

.album-card:hover .album-card__arrow {
  transform: translateX(8px);
}

.dog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* カード */
.dog-gallery__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dog-gallery__card:hover {
  transform: translateY(-3px);
}

/* 画像 */
.dog-gallery__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

/* 名前 */
.dog-gallery__name {
  margin: 20px 0 0;
  min-height: 4.8em;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   1200px以上：4列
========================= */
@media screen and (min-width: 1200px) {
  .dog-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================
   768px以下：2列
========================= */
@media screen and (max-width: 768px) {
  .dog-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .dog-gallery__card {
    padding: 12px;
  }

  .dog-gallery__name {
    min-height: 4.8em;
    margin-top: 15px;
    font-size: 14px;
  }
}

/* =========================
   モーダル
========================= */

.dog-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  border: none !important;
  justify-content: center;
}

.dog-modal.is-open {
  display: flex;
}

.dog-modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.dog-modal__content {
  position: relative;
  z-index: 1;
  max-width: 60vw;
  max-height: 90vh;
}

.dog-modal__image {
  display: block;
  width: 50vw;
  max-width: 675px;
  max-height: 80vh;
  border: none !important;
  padding: 0;
  margin: 0;
  height: auto;
  object-fit: contain;
  transform: scale(1.01);
}

@media screen and (max-width: 768px) {
  .dog-modal__image {
    width: 50vw;
    max-width: none;
  }
}

.dog-modal__close {
  position: fixed;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10000;
}

.dog-modal__close::before {
  content: "×";
  display: block;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  line-height: 40px;
  text-align: center;
}

/*トレーニング*/
.dog-album {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 35px 35px 50px;
  box-sizing: border-box;
  background: #fbefd8;
  border-radius: 30px;
}

.dog-album__title {
  margin: 0 0 45px;
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.dog-album__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
  justify-content: center;
  gap: 20px;
}

.dog-album__card {
  width: 100%;
  padding: 18px;
  box-sizing: border-box;
  background: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dog-album__card:hover {
  transform: translateY(-3px);
}

.dog-album__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

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

/* =========================
   992px以下：2列
========================= */

@media screen and (max-width: 992px) {
  .dog-album__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   SP
========================= */

@media screen and (max-width: 768px) {
  .dog-album {
    padding: 30px 20px 50px;
    border-radius: 20px;
  }

  .dog-album__title {
    margin-bottom: 30px;
    font-size: 18px;
  }

  .dog-album__grid {
    gap: 15px;
  }

  .dog-album__card {
    padding: 12px;
  }
}

/* =========================
   モーダル
========================= */

.dog-album-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.dog-album-modal.is-open {
  display: flex;
}

.dog-album-modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.dog-album-modal__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  padding: 0;
  margin: 0;
}

.dog-album-modal__image {
  display: block;
  width: 60vw;
  max-width: 675px;
  max-height: 80vh;
  border: none !important;
  padding: 0;
  margin: 0;
  height: auto;
  object-fit: contain;
}

/* × */

.dog-album-modal__close {
  position: fixed;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 100000;
}

.dog-album-modal__close::before {
  content: "×";
  display: block;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  line-height: 40px;
  text-align: center;
}

/* SPモーダル */

@media screen and (max-width: 768px) {
  .dog-album-modal__image {
    width: 90vw;
    max-width: none;
    max-height: 80vh;
  }

  .dog-album-modal__close {
    top: 15px;
    right: 15px;
  }
}

/* =========================
   2枚アルバム全体
========================= */

.dog-album-list {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 25px;
}

/* =========================
   1つのアルバム
========================= */

.dog-album-small {
  width: 100%;
  padding: 25px 25px 50px;
  box-sizing: border-box;

  background: #fbefd8;
  border-radius: 30px;
}

/* タイトル */

.dog-album-small__title {
  margin: 0 0 25px;

  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;

  text-align: center;
}

/* =========================
   写真2枚のGrid
========================= */

.dog-album-small__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

/* =========================
   写真カード
========================= */

.dog-album-small__card {
  width: 100%;
  padding: 18px;
  box-sizing: border-box;

  background: #fff;

  cursor: pointer;
  transition: transform 0.3s ease;
}

.dog-album-small__card:hover {
  transform: translateY(-3px);
}

/* 画像 */

.dog-album-small__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.dog-album-small__image img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
}

/* =========================
   768px以下
========================= */

@media screen and (max-width: 992px) {
  .dog-album-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dog-album-small {
    padding: 25px 20px 40px;
    border-radius: 20px;
  }

  .dog-album-small__title {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .dog-album-small__grid {
    gap: 12px;
  }

  .dog-album-small__card {
    padding: 12px;
  }
}

/* =========================
   1枚アルバム
========================= */

.dog-album-single-list {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.dog-album-single {
  width: 100%;
  padding: 20px 15px 35px;
  box-sizing: border-box;

  background: #fbefd8;
  border-radius: 30px;
}

/* タイトル */

.dog-album-single__title {
  min-height: 3.2em;
  margin: 0 0 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

/* 写真カード */

.dog-album-single__card {
  width: 100%;
  padding: 18px;
  box-sizing: border-box;

  background: #fff;

  cursor: pointer;
  transition: transform 0.3s ease;
}

.dog-album-single__card:hover {
  transform: translateY(-3px);
}

/* 画像 */

.dog-album-single__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.dog-album-single__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================
   992px以下：2列
========================= */

@media screen and (max-width: 992px) {
  .dog-album-single-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* =========================
   SP
========================= */

@media screen and (max-width: 768px) {
  .dog-album-single-list {
    gap: 15px;
  }

  .dog-album-single {
    padding: 15px 10px 25px;
    border-radius: 20px;
  }

  .dog-album-single__title {
    min-height: 3.2em;
    margin-bottom: 15px;
    font-size: 13px;
  }

  .dog-album-single__card {
    padding: 10px;
  }
}

.voice-line {
  position: relative;
  width: 100%;
}

.voice-line::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--c-orange);
  bottom: 0;
  left: 0;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
}

.before-after-item {
  width: 100%;
}

.before-after-item img {
  width: 100%;
  height: auto;
  display: block;
}

.webgene-blog {
  display: flex;
}

.webgene-item {
  -ms-flex: 0 0 33.333333%;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

@media (min-width: 768px) {
  .webgene-item {
    -ms-flex: 0 0 16.666667%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

.complete__view {
  height: 100dvh;
}
