@charset "utf-8";

/* ==========================================================================
   wamicafe / 案件固有CSS
   - レイアウト・余白・表示切替はBootstrapとcommon.cssを優先
   - ここには「Bootstrap／common.cssで表現できない案件固有の表現」のみ記述
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 変数
   -------------------------------------------------------------------------- */
:root {
  /* 配色（Figmaより） */
  --c-cream: #fdf7ed;
  --c-green-pale: #eefae1;
  --c-green-light: #d6f2b6;
  --c-green: #52763a;
  --c-brown: #503317;
  --c-brown-dark: #45391e;
  --c-white: #fffbfb;
  --c-yellow: #f3d076;
  /* ホバー用 */
  --c-hover: #e18a3b;
  --c-hover-pale: #fbd2ac;

  /* フォント */
  --font-base:
    "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4",
    "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", sans-serif;
  --font-round:
    "M PLUS Rounded 1c", "Zen Maru Gothic", "Hiragino Maru Gothic ProN",
    "ヒラギノ丸ゴ ProN W4", sans-serif;

  /* タイプスケール（PC実寸＝Figma値／画面幅に応じて連続可変） */
  --fz-130: clamp(52px, 1rem + 6.1vw, 130px);
  --fz-45: clamp(22px, 1rem + 1.4vw, 45px);
  --fz-35: clamp(22px, 1rem + 0.95vw, 35px);
  --fz-30: clamp(20px, 1rem + 0.7vw, 30px);
  --fz-25: clamp(18px, 1rem + 0.5vw, 25px);
  --fz-23: clamp(16px, 1rem + 0.4vw, 23px);
  --fz-22: clamp(16px, 1rem + 0.35vw, 22px);
  --fz-20: clamp(15px, 1rem + 0.25vw, 20px);
  --fz-18: clamp(14px, 0.9rem + 0.15vw, 18px);
  --fz-15: clamp(13px, 0.85rem + 0.05vw, 15px);

  /* レイアウト */
  --hdr-h: 64px;
  --radius: 20px;
}

@media (min-width: 992px) {
  :root {
    /* Figma 1512px時に163px。画面幅に比例させ、FV装飾と重ならないようにする */
    --hdr-h: min(10.8vw, 163px);
  }
}

/* --------------------------------------------------------------------------
   2. ベース
   -------------------------------------------------------------------------- */
html {
  scroll-padding-top: var(--hdr-h);
  overflow-x: clip;
}

body {
  font-family: var(--font-base);
  font-size: var(--fz-18);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-brown);
  background-color: var(--c-cream);
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-base);
  font-weight: 500;
  line-height: 1.4;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition:
    opacity 0.3s,
    color 0.3s,
    background-color 0.3s;
}

a:hover {
  color: inherit;
  opacity: 0.7;
  /* Bootstrap4のreboot（a:hover{text-decoration:underline}）を打ち消す */
  text-decoration: none;
}

/* 共通インナー（Figmaのコンテンツ幅1212px） */
.inner {
  width: min(1212px, 88%);
  margin-inline: auto;
}

/* ------------------------------------------------------------------
   CMSのBootstrapは4.1.3のため、5系にしか無いユーティリティを補完する
   （Bootstrapが5系へ更新された場合はこのブロックを削除する）
   ------------------------------------------------------------------ */
.row.g-5 {
  --gx: 48px;
  --gy: 48px;

  margin-right: calc(-0.5 * var(--gx));
  margin-left: calc(-0.5 * var(--gx));
}

.row.g-5 > [class*="col-"] {
  padding-right: calc(0.5 * var(--gx));
  padding-left: calc(0.5 * var(--gx));
  margin-top: var(--gy);
}

.gap-3 {
  gap: 30px;
}

.gap-4 {
  gap: 50px;
}

.gap-5 {
  gap: 3rem;
}

/* SPでは溝を狭め、インナー幅を超えないようにする */
@media (max-width: 575.98px) {
  .row.g-5 {
    --gx: 24px;
    --gy: 32px;
  }
}

/* 波形の区切り（各セクション自身の色のSVGを、直前のセクションに重ねる） */
.wave {
  /* 上下左右を1pxずつ重ね、小数点丸めによる継ぎ目（隙間）を防ぐ */
  position: absolute;
  left: -1px;
  bottom: calc(100% - 1px);
  width: calc(100% + 2px);
  max-width: none;
  height: auto;
  display: block;
  vertical-align: bottom;
  pointer-events: none;
}

/* Figmaでは一部の弧が「自セクション側へ垂れ下がる」配置。
   弧の背景に直前セクションの色を敷くことで、SVGの透明部分がその色になる */
.s-worry > .wave,
.s-service > .wave,
.s-news > .wave {
  top: -1px;
  bottom: auto;
}

.s-worry > .wave {
  background-color: var(--c-green-light);
}

.s-service > .wave {
  background-color: var(--c-green-pale);
}

.s-news > .wave {
  top: -4.9vw;
  background-color: var(--c-green-light);
}

/* 短い見出し・キャプションは行数バランスを取り、狭い幅で1〜2文字だけ残る改行を防ぐ */
.sec-ttl,
.card-worry h3,
.card-service h3,
.card-guide h3,
.card-guide p,
.card-member h3,
.box-point p,
.s-worry-lead p,
.box-cta h2,
.news-item p:last-child {
  text-wrap: balance;
}

/* セクション見出し */
.sec-ttl {
  font-size: var(--fz-45);
  font-weight: 500;
  color: var(--c-brown);
  text-align: center;
  line-height: 1.4;
}

/* フォントサイズ 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);
}

.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(--font1);
}

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

.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-tx {
  color: var(--c-brown);
}

.fc-rd {
  color: #f19071;
}

/* 背景 */
.bg-bk {
  background-color: var(--bk);
}

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

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

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

/* News表示 画像あり版 */
.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%;
  }
}

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

/* --------------------------------------------------------------------------
   3. ボタン・リンク
   -------------------------------------------------------------------------- */
.btn-round {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
  min-width: min(346px, 100%);
  padding: 15px 35px;
  border-radius: 999px;
  background-color: var(--c-green);
  color: #fff;
}

.btn-round p {
  font-size: var(--fz-22);
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
}

.btn-round img {
  width: clamp(24px, 2vw, 30px);
  flex: 0 0 auto;
  transition: transform 0.3s;
}

.btn-round:hover {
  opacity: 1;
  background-color: var(--c-hover);
}

.btn-round:hover img {
  transform: translateX(4px);
}

/* お問い合わせボタン（二重線） */
.btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 40px);
  width: min(446px, 100%);
  padding: 9px;
  border-radius: var(--radius);
  background-color: var(--c-green);
}

.btn-mail p {
  font-size: var(--fz-22);
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.btn-mail img {
  width: clamp(26px, 2.2vw, 33px);
}

.btn-mail > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 40px);
  width: 100%;
  padding: clamp(12px, 1.4vw, 18px) 1em;
  border: 2px solid #fff;
  border-radius: 15px;
}

.btn-mail:hover {
  opacity: 1;
  background-color: var(--c-hover);
}

/* 詳しく見る（通常は線なし、ホバーで緑の下線） */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.link-more p {
  font-size: var(--fz-20);
  color: var(--c-green);
  line-height: 1.4;
}

.link-more img {
  width: clamp(24px, 2vw, 30px);
  flex: 0 0 auto;
  transition: transform 0.3s;
}

.link-more:hover {
  opacity: 1;
  border-bottom-color: var(--c-green);
}

.link-more:hover img {
  transform: translateX(4px);
}

/* 吹き出し（白／しっぽ付き） */
.bubble {
  position: relative;
  background-color: var(--c-white);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 30px) clamp(20px, 2.4vw, 36px);
}

.bubble p {
  font-size: clamp(0.938rem, 0.877rem + 0.26vw, 1.125rem);
  font-weight: 500;
  line-height: 2;
}

/* しっぽは45度回転した正方形 */
.bubble::after {
  content: "";
  position: absolute;
  top: 38%;
  left: -14px;
  width: 24px;
  height: 24px;
  background-color: var(--c-white);
  rotate: 45deg;
}

.bubble.is-right::after {
  left: auto;
  right: -14px;
}

/* 縦積みになる幅では、しっぽを上向き中央へ */
@media (max-width: 767px) {
  .bubble::after,
  .bubble.is-right::after {
    top: -10px;
    left: 50%;
    right: auto;
    translate: -50% 0;
  }
}

/* 茶色の境界線はページ下部のCTAの吹き出しのみ */
.cta-hachi-row .bubble {
  border: 2px solid var(--c-brown);
}

.cta-hachi-row .bubble.is-right::after {
  border: 2px solid var(--c-brown);
  border-bottom: none;
  border-left: none;
  top: 50px;
}

@media (max-width: 991.98px) {
  .cta-hachi-row .bubble.is-right::after {
    border: 2px solid var(--c-brown);
    border-bottom: none;
    border-right: none;
    top: -13px;
  }
}

/* --------------------------------------------------------------------------
   4. ヘッダー／ナビ
   -------------------------------------------------------------------------- */
.hdr {
  position: fixed;
  top: 2%;
  left: 0;
  z-index: 800;
  width: 100%;
  height: var(--hdr-h);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(4px, 0.4vw, 6px);
  background-color: transparent;
  /* 背景が透明なため、ヘッダーの空白部分が下のリンクを覆わないようにする */
  pointer-events: none;
}

@media (min-width: 992px) {
  .hdr {
    top: 0;
  }
}

.hdr-logo,
.hdr-nav {
  pointer-events: auto;
}

.hdr-logo {
  position: absolute;
  left: clamp(12px, 3.7vw, 56px);
  bottom: clamp(4px, 0.6vw, 9px);
}

.hdr-logo img {
  width: clamp(74px, 8.8vw, 133px);
}

.hdr-nav {
  padding: clamp(8px, 1.12vw, 17px) clamp(20px, 3.5vw, 55px);
  border-radius: 999px;
  background-color: var(--c-cream);
  gap: clamp(20px, 3.6vw, 55px);
}

.hdr-nav a {
  display: block;
  text-align: center;
}

.hdr-nav img {
  width: clamp(30px, 3vw, 45px);
  display: block;
  margin: 0 auto 6px;
  transition: transform 0.3s;
}

.hdr-nav p {
  font-size: var(--fz-15);
  line-height: 1.3;
  white-space: nowrap;
}

.hdr-nav a:hover {
  opacity: 1;
  color: var(--c-green);
}

.hdr-nav a:hover img {
  transform: translateY(-4px);
}

/* ドロップダウン（サービス内容）
   ナビ項目にホバーしている間だけ表示する。JSは使わない */
.hdr-nav-item {
  position: relative;
}

.hdr-drop {
  position: absolute;
  left: 50%;
  translate: -50%;
  /* ナビの下余白ぶん下げ、白い帯（ピル）の下端に接する位置に置く */
  top: calc(100% + clamp(8px, 1.12vw, 17px));
  z-index: 5;
  width: 300px;
  padding: 38px 40px 34px;
  border-radius: 12px;
  background-color: var(--c-green-pale);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}

/* ナビ項目とドロップダウンの間の余白を埋め、
   マウスを下ろす途中でホバーが切れないようにする */
.hdr-drop::before {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50%;
  bottom: 100%;
  width: 140px;
  height: clamp(10px, 1.4vw, 22px);
}

.hdr-nav-item:hover .hdr-drop,
.hdr-nav-item:focus-within .hdr-drop {
  visibility: visible;
  opacity: 1;
}

.hdr-drop a {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(80, 51, 23, 0.3);
}

.hdr-drop a + a {
  margin-top: 22px;
}

/* 992〜1199pxはナビが右上ボタンに寄るため、溝と余白を詰める */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hdr-nav {
    gap: clamp(14px, 2.2vw, 55px);
    padding-inline: clamp(14px, 2.2vw, 55px);
  }
}

/* 右上のお問い合わせ（上端からはみ出す意図的な配置／Figma実数値） */
.hdr-contact {
  position: fixed;
  top: min(-2.51vw, -25px);
  right: clamp(20px, 3.6vw, 55px);
  z-index: 810;
  display: flex;
  width: clamp(7.5rem, 7.298rem + 0.88vw, 8.125rem);
  padding: clamp(6px, 0.66vw, 10px) clamp(5px, 0.53vw, 8px)
    clamp(5px, 0.53vw, 8px);
  border-radius: var(--radius);
  background-color: var(--c-green);
}

.hdr-contact > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(7px, 0.73vw, 11px);
  width: 100%;
  padding: clamp(42px, 4.3vw, 65px) 4px clamp(18px, 1.85vw, 28px);
  border: 2px solid #fff;
  border-radius: 16px;
}

.hdr-contact img {
  width: clamp(30px, 3vw, 46px);
}

.hdr-contact p {
  font-size: var(--fz-15);
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  white-space: nowrap;
}

.hdr-contact:hover {
  opacity: 1;
  background-color: var(--c-hover);
}

/* ハンバーガー */
.a-burger {
  position: fixed;
  top: 2%;
  right: 10px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-green);
  border-radius: 22px;
  background-color: var(--c-cream);
  cursor: pointer;
}

.a-burger div {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  min-height: 2px;
  border-radius: 2px;
  background-color: var(--c-green);
  transform-origin: center;
  transition: all 0.3s;
}

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

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

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

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

/* SPオーバーレイメニュー（common.jsが display を制御） */
.a-nav-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.8vh, 18px);
  padding: 80px 20px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--c-green-pale);
}

.a-nav-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  padding: 9px 20px;
  border-bottom: 1px solid rgba(80, 51, 23, 0.25);
}

.a-nav-menu a:hover {
  color: #52763a;
}

.a-nav-menu p {
  font-size: 17px;
  line-height: 1.4;
}

@media (min-width: 992px) {
  /* PCではオーバーレイを常に非表示（common.jsのインラインstyleより優先） */
  .a-nav-menu {
    display: none !important;
  }

  .a-burger {
    display: none;
  }
}

/* 画面高が低い場合もメニューを操作できるように */
@media (max-height: 520px) {
  .a-nav-menu {
    padding-top: 70px;
    padding-bottom: 24px;
    gap: 4px;
  }

  .a-nav-menu a {
    padding: 6px 20px;
  }
}

/* --------------------------------------------------------------------------
   5. FV
   -------------------------------------------------------------------------- */
.fv {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 90px) 0 clamp(50px, 6vw, 90px);
  background-color: var(--c-cream);
}

/* 下半分の緑の丘 */
.fv-hill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 39.56%;
  background-color: var(--c-green-light);
}

.fv .inner {
  position: relative;
  z-index: 2;
}

.fv-ttl {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: var(--fz-130);
  line-height: 1;
  color: var(--c-green);
  text-align: center;
  letter-spacing: 0;
}

.fv-copy {
  display: block;
  width: fit-content;
  margin-inline: auto;
  margin-top: clamp(14px, 2.8vw, 42px);
  padding: clamp(8px, 0.83vw, 13px) clamp(20px, 3.3vw, 50px);
  border-radius: var(--radius);
  background-color: #fff;
  font-size: var(--fz-45);
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-green);
}

.fv-copy-sub {
  display: block;
  width: fit-content;
  margin-inline: auto;
  margin-top: clamp(10px, 1.7vw, 26px);
  padding: clamp(6px, 0.6vw, 9px) clamp(14px, 1.4vw, 22px);
  border-radius: 15px;
  background-color: #fff;
  font-size: var(--fz-22);
  font-weight: 500;
  line-height: 1.33;
}

/* 罫線付きリード文 */
.fv-lead {
  margin-top: clamp(24px, 6vw, 90px);
}

.fv-hachi-row {
  margin-top: clamp(24px, 5vw, 75px);
}

/* 罫線は「1行ごと」に引く（行送りと同じ間隔で背景として敷く） */
.fv-lead p {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  font-size: var(--fz-20);
  line-height: 1.8;
  border-bottom: var(--c-green) 1px solid;
}

.fv-lead p + p {
  margin-top: clamp(10px, 1.3vw, 20px);
}

/* ハチ専務エリア（ラベルは画像側へ寄せ、吹き出しは楕円の影と重ならない位置まで離す） */
.fv-hachi {
  position: relative;
  width: min(236px, 34vw);
  margin-right: min(3.57vw, 54px);
  flex: 0 0 auto;
}

@media (max-width: 767.98px) {
  .fv-hachi-name,
  .fv-hachi {
    margin-right: 0;
  }
}

.fv-hachi img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}

/* 足元の楕円 */
.fv-hachi > div {
  position: absolute;
  left: 3.8%;
  bottom: -7%;
  z-index: 1;
  width: 117%;
  aspect-ratio: 276 / 111;
  border-radius: 50%;
  background-color: var(--c-cream);
}

.fv-hachi-name {
  margin-right: max(-2.78vw, -42px);
  font-size: var(--fz-20);
  font-weight: 500;
  color: var(--c-green);
  text-align: center;
}

/* FV装飾（料理・運動器具） */
.fv-deco {
  position: absolute;
  inset: 0;
}

.fv-deco img {
  position: absolute;
  z-index: 1;
  animation: fv-float 6s ease-in-out infinite;
}

.fv-deco img:nth-child(1) {
  left: 5.4%;
  top: 10.7%;
  width: 20.1%;
  animation-delay: -0.2s;
}

.fv-deco img:nth-child(2) {
  left: -6.7%;
  top: 26.3%;
  width: 18.6%;
  animation-delay: -1.1s;
}

.fv-deco img:nth-child(3) {
  left: 14.5%;
  top: 31%;
  width: 10.1%;
  animation-delay: -2s;
}

.fv-deco img:nth-child(4) {
  left: 12.3%;
  top: 42.1%;
  width: 13.2%;
  animation-delay: -2.9s;
}

.fv-deco img:nth-child(5) {
  left: 81.15%;
  top: 12.1%;
  width: 9.26%;
  transform: scaleX(-1);
  animation-delay: -3.5s;
}

.fv-deco img:nth-child(6) {
  left: 76.7%;
  top: 24.6%;
  width: 5.4%;
  animation-delay: -1.6s;
}

.fv-deco img:nth-child(7) {
  left: 86.4%;
  top: 17%;
  width: 19.7%;
  animation-delay: -0.7s;
}

.fv-deco img:nth-child(8) {
  left: 66.99%;
  top: 32.56%;
  width: 24.74%;
  animation-delay: -2.4s;
}

@keyframes fv-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

/* --------------------------------------------------------------------------
   5-b. FV：768px以下の専用レイアウト（デザイン指定）
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .fv {
    justify-content: flex-start;
    min-height: 0;
    padding-bottom: clamp(40px, 8vw, 90px);
  }

  /* 丘は弧（円弧）で描く */
  .fv-hill {
    bottom: 0;
  }

  .fv-hill .wave {
    display: none;
  }

  .fv-ttl {
    line-height: 1.05;
  }

  /* 2つのピルは同じ幅・同じ文字サイズに揃える */
  .fv-copy,
  .fv-copy-sub {
    width: fit-content;
    min-width: min(100%, 16.9em);
    max-width: 100%;
    padding: 0.55em 1em;
    border-radius: 14px;
    font-size: clamp(16px, 4.9vw, 24px);
    line-height: 1.5;
  }

  .fv-copy {
    color: var(--c-green);
  }

  /* リード文は固定の改行をやめ、画面幅で折り返す（罫線は1行ごとに引く） */
  .fv-lead {
    font-size: var(--fz-20);
    line-height: 3rem;
  }

  .fv-lead p {
    background-image: none;
    font-size: inherit;
    line-height: inherit;
  }

  .fv-lead p + p {
    margin-top: 0;
  }

  /* 装飾は縄跳び以外の7点を上部にまとめる */
  .fv-deco img:nth-child(7) {
    display: none;
  }

  .fv-deco img:nth-child(3),
  .fv-deco img:nth-child(4),
  .fv-deco img:nth-child(6) {
    display: block;
    bottom: auto;
  }
}

/* 577〜768px：添付2枚目のデザイン（基準幅816px） */
@media (min-width: 577px) and (max-width: 768px) {
  .fv {
    padding-top: 62vw;
  }

  .fv-hill {
    top: 66.3vw;
    border-radius: 50% 50% 0 0 / 10.2vw 10.2vw 0 0;
  }

  .fv-ttl {
    font-size: min(115px, 17vw);
  }

  .fv-copy {
    margin-top: clamp(24px, 4.5vw, 40px);
  }

  .fv-copy-sub {
    margin-top: clamp(14px, 3vw, 25px);
  }

  /* リード文がファーストビュー内に入らないよう余白を確保
     （--fv-head＝FV上部・見出し・2つのピルの合計高さ） */
  .fv-lead {
    --fv-head: calc(
      62vw + 1.05 * min(115px, 17vw) + clamp(24px, 4.5vw, 40px) +
        clamp(14px, 3vw, 25px) + 5.2 * clamp(16px, 4.9vw, 24px)
    );

    margin-top: max(clamp(24px, 6vw, 90px), calc(100vh - var(--fv-head) + 3vw));
  }

  .fv-deco img:nth-child(1) {
    left: 21.2%;
    top: 11.2vw;
    width: 36.4%;
  }

  .fv-deco img:nth-child(2) {
    left: 55.4%;
    top: -14.5vw;
    width: 31%;
  }

  .fv-deco img:nth-child(3) {
    left: -5.4%;
    top: 35vw;
    width: 22.2%;
  }

  .fv-deco img:nth-child(4) {
    left: 82.8%;
    top: 34.4vw;
    width: 23.7%;
  }

  .fv-deco img:nth-child(5) {
    left: 68.1%;
    top: 19.7vw;
    width: 14.1%;
  }

  .fv-deco img:nth-child(6) {
    left: 59.9%;
    top: 44.1vw;
    width: 7.8%;
  }

  .fv-deco img:nth-child(8) {
    left: -2.9%;
    top: 1.1vw;
    width: 23.5%;
  }
}

/* 576px以下：添付デザイン（基準幅628px） */
@media (max-width: 576px) {
  .fv {
    padding-top: 100.8vw;
  }

  .fv-hill {
    top: 111.9vw;
    border-radius: 50% 50% 0 0 / 7.3vw 7.3vw 0 0;
  }

  .fv-ttl {
    font-size: 18.5vw;
    line-height: 1;
  }

  .fv-copy,
  .fv-copy-sub {
    width: 76.3vw;
    min-width: 0;
    max-width: 76.3vw;
    border-radius: 16px;
    letter-spacing: 0;
    text-align: center;
  }

  .fv-copy {
    margin-top: 4.75vw;
    padding: 0.477em 0.5em;
    font-size: 5.13vw;
  }

  .fv-copy-sub {
    margin-top: 2.9vw;
    padding: 0.7375em 0.5em;
    font-size: 3.85vw;
  }

  /* リード文がファーストビュー内に入らないよう余白を確保
     （FV上部・見出し・2つのピルの合計は151vw） */
  .fv-lead {
    margin-top: max(clamp(24px, 6vw, 90px), calc(100vh - 147vw));
  }

  .fv-deco img:nth-child(1) {
    left: 24.7%;
    top: 26.3vw;
    width: 47.9%;
  }

  .fv-deco img:nth-child(2) {
    left: 45.6%;
    top: -22vw;
    width: 43.6%;
  }

  .fv-deco img:nth-child(3) {
    left: -4.1%;
    top: 61.2vw;
    width: 29.1%;
  }

  .fv-deco img:nth-child(4) {
    left: 74.5%;
    top: 63.7vw;
    width: 29.5%;
  }

  .fv-deco img:nth-child(5) {
    left: 77.9%;
    top: 21.8vw;
    width: 22.9%;
  }

  .fv-deco img:nth-child(6) {
    left: 53%;
    top: 81.7vw;
    width: 11.9%;
  }

  .fv-deco img:nth-child(8) {
    left: -9.8%;
    top: -2.7vw;
    width: 47.7%;
  }
}

@media (min-width: 768.02px) {
  /* Figmaのアートボード比率（1512 : 1628）と各要素の縦位置に合わせる */
  .fv {
    justify-content: flex-start;
    min-height: min(107.7vw, 1628px);
    padding-top: min(25.7vw, 388px);
    padding-bottom: min(6vw, 90px);
  }

  .fv-copy {
    margin-top: min(2.8vw, 42px);
  }

  .fv-copy-sub {
    margin-top: min(1.7vw, 26px);
  }

  .fv-lead {
    /* --fv-head＝FV上部・見出し・2つのコピーの合計高さ。
       これを差し引き、リード文がファーストビュー内に入らないようにする */
    --fv-head: calc(
      min(25.7vw, 388px) + var(--fz-130) + min(2.8vw, 42px) + 1.15 *
        var(--fz-45) + 2 * clamp(8px, 0.83vw, 13px) + min(1.7vw, 26px) + 1.33 *
        var(--fz-22) + 2 * clamp(6px, 0.6vw, 9px)
    );

    margin-top: max(min(20.6vw, 311px), calc(100vh - var(--fv-head) + 2vw));
  }

  .fv-hachi-row {
    margin-top: min(7vw, 106px);
  }
}

/* --------------------------------------------------------------------------
   6. sec1 こんなお悩みありませんか？
   -------------------------------------------------------------------------- */
.s-worry {
  position: relative;
  padding: clamp(60px, 11.9vw, 180px) 0 clamp(40px, 4.2vw, 64px);
  background-color: var(--c-green-pale);
}

.card-worry {
  height: 100%;
  padding: clamp(20px, 2.4vw, 36px) clamp(14px, 1.6vw, 24px);
  border: 2px solid var(--c-brown);
  border-radius: var(--radius);
  background-color: var(--c-white);
  box-shadow: 10px 12px 0 0 var(--c-green);
  text-align: center;
}

.card-worry h3 {
  font-size: var(--fz-25);
  font-weight: 500;
  line-height: 1.6;
}

.card-worry > img {
  width: min(172px, 60%);
  margin-top: clamp(10px, 1.4vw, 20px);
}

.s-worry-lead {
  font-size: var(--fz-30);
  font-weight: 500;
  line-height: 1.65;
  color: var(--c-green);
  text-align: center;
}

/* 下向き三角 */
.tri-down {
  width: clamp(90px, 11.4vw, 173px);
  aspect-ratio: 173 / 43;
  margin-inline: auto;
  background-color: var(--c-green);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* --------------------------------------------------------------------------
   7. sec2 サービス内容
   -------------------------------------------------------------------------- */
.s-service {
  position: relative;
  padding: clamp(70px, 10.7vw, 162px) 0 clamp(60px, 10.25vw, 155px);
  background-color: var(--c-cream);
}

.card-service {
  height: 100%;
  width: 100%;
  padding: clamp(24px, 2.6vw, 40px) clamp(18px, 2.7vw, 41px)
    clamp(28px, 3vw, 45px);
  border-radius: var(--radius);
  background-color: var(--c-green-light);
  display: flex;
  flex-direction: column;
}

@media (min-width: 576px) {
  .card-service {
    width: 80%;
  }
}

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

.card-service h3 {
  width: 100%;
  padding-bottom: clamp(14px, 1.6vw, 24px);
  border-bottom: 1px solid var(--c-green);
  font-size: var(--fz-25);
  font-weight: 700;
  color: var(--c-green);
  text-align: center;
  line-height: 1.4;
}

.card-service h3 + p {
  margin-top: clamp(14px, 1.6vw, 24px);
  line-height: 2.2;
}

.card-check {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(8px, 0.9vw, 14px);
}

.card-check img {
  width: clamp(26px, 2.4vw, 36px);
  flex: 0 0 auto;
}

.card-check p {
  line-height: 1.6;
  font-size: clamp(0.938rem, 0.899rem + 0.16vw, 1rem);
}

@media (min-width: 992px) {
  .card-check p {
    font-size: clamp(0.813rem, 0.216rem + 0.96vw, 1.125rem);
  }
}

.card-service .card-checks {
  margin-top: clamp(28px, 5.1vw, 77px);
  margin-bottom: clamp(28px, 3vw, 45px);
}

.card-service .link-more {
  margin-top: auto;
}

/* カードが1カラムになる幅では、チェック項目を中央へ／縦の余白を均等にする */
@media (max-width: 991.98px) {
  .card-service {
    padding-block: clamp(26px, 4.2vw, 40px);
  }

  .card-service h3 {
    padding-bottom: clamp(26px, 4.2vw, 40px);
  }

  .card-service h3 + p {
    margin-top: clamp(26px, 4.2vw, 40px);
  }

  .card-service .card-checks {
    width: fit-content;
    margin-block: clamp(26px, 4.2vw, 40px);
    margin-inline: auto;
  }

  .card-service .link-more {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   8. sec3 wamicafeについて
   -------------------------------------------------------------------------- */
.s-about {
  position: relative;
  padding-bottom: clamp(60px, 7vw, 105px);
  background-color: var(--c-cream);
}

.s-about-hill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 42%;
  background-color: var(--c-green-light);
}

.box-about {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4.6vw, 70px) clamp(20px, 5.3vw, 80px);
  border: 2px solid var(--c-brown);
  border-radius: var(--radius);
  background-color: var(--c-green-pale);
}

.box-about h2 {
  font-size: var(--fz-45);
  font-weight: 500;
  color: var(--c-green);
  line-height: 1.35;
}

.box-about h3 {
  margin-top: clamp(8px, 1vw, 15px);
  font-size: var(--fz-30);
  font-weight: 500;
  line-height: 1.5;
}

.box-about p {
  line-height: 2.2;
}

.box-about h3 + p {
  margin-top: max(50px, 3.3vw);
}

.box-point {
  padding: clamp(16px, 1.8vw, 27px) clamp(14px, 1.6vw, 24px);
  border-radius: var(--radius);
  background-color: var(--c-white);
  text-align: center;
}

.box-point p {
  font-size: var(--fz-25);
  font-weight: 500;
  color: var(--c-green);
  line-height: 1.4;
}

/* ボタンは白い四角の下。PCは左寄せ、狭い幅では中央寄せ */
.box-about > .btn-round {
  display: flex;
  width: fit-content;
  margin: clamp(36px, 3vw, 45px) auto 0 0;
}

@media (max-width: 991.98px) {
  .box-about > .btn-round {
    margin-inline: auto;
  }
}

/* --------------------------------------------------------------------------
   9. sec4 代表・メンバー紹介
   -------------------------------------------------------------------------- */
.s-member {
  position: relative;
  padding: clamp(50px, 6vw, 90px) 0 clamp(60px, 12.96vw, 196px);
  background-color: var(--c-green-light);
}

.card-member > img {
  width: 100%;
  aspect-ratio: 333 / 401;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--c-cream);
}

.card-member h3 {
  margin-top: clamp(12px, 1.5vw, 22px);
  font-size: var(--fz-25);
  font-weight: 500;
  line-height: 1.5;
}

.card-member h3 + p {
  margin-top: clamp(8px, 1vw, 15px);
  font-size: var(--fz-20);
  line-height: 1.75;
  max-width: 450px;
}

.member-left {
  width: 80px;
}

.member-right {
  width: 90%;
}

/* --------------------------------------------------------------------------
   10. sec5 お知らせ・コラム／取引の流れ・会社概要
   -------------------------------------------------------------------------- */
.s-news {
  position: relative;
  padding: clamp(70px, 12.3vw, 186px) 0 clamp(60px, 16.73vw, 253px);
  background-color: var(--c-cream);
}

.s-news .sec-ttl {
  text-align: left;
}

.news-item {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 46px);
  padding: clamp(16px, 2vw, 30px) clamp(18px, 3.3vw, 50px);
  border-radius: var(--radius);
  background-color: var(--c-green-pale);
  transition: 0.3s ease;
}

.news-item + .news-item {
  margin-top: clamp(8px, 1vw, 15px);
}

.news-item p:first-child {
  flex: 0 0 auto;
  font-size: var(--fz-20);
  font-weight: 500;
  color: var(--c-green);
  line-height: 1.5;
}

.news-item p:last-child {
  font-size: var(--fz-23);
  font-weight: 500;
  line-height: 1.5;
}

.news-item:hover {
  opacity: 1;
  background-color: #ffe4cc;
}

/* 点線区切り */
.dots {
  margin-bottom: min(4.76vw, 72px);
  height: 6px;
  background-image: radial-gradient(
    circle,
    var(--c-green) 3px,
    transparent 3px
  );
  background-size: 24px 6px;
  background-repeat: repeat-x;
}

.card-guide {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 40px) clamp(20px, 2.4vw, 36px)
    clamp(40px, 4.23vw, 64px);
  border: 2px solid var(--c-brown);
  border-radius: var(--radius);
  background-color: var(--c-green-pale);
  box-shadow: 13px 17px 0 0 var(--c-green);
  text-align: center;
}

.card-guide h3 {
  font-size: var(--fz-30);
  font-weight: 500;
  line-height: 1.4;
}

.card-guide > img {
  width: auto;
  max-width: 100%;
  max-height: clamp(80px, 11.2vw, 169px);
  /* イラストの高さ差を吸収し、本文と「詳しく見る」を2枚のカードで揃える */
  margin: auto auto clamp(14px, 1.8vw, 28px);
}

.card-guide p {
  font-size: var(--fz-20);
  line-height: 1.75;
}

.card-guide .link-more {
  align-self: center;
  margin-top: clamp(12px, 1.6vw, 24px);
}

@media (max-width: 575.98px) {
  .card-guide {
    padding-inline: 14px;
  }
}

/* デザインどおりの改行位置。狭い幅では自然に折り返す */
.card-guide p + p {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   11. CTA
   -------------------------------------------------------------------------- */
.s-cta {
  position: relative;
  padding-top: clamp(5.625rem, 4.41rem + 5.25vw, 9.375rem);
  padding-bottom: clamp(3.125rem, 2.113rem + 4.38vw, 6.25rem);
  background-color: transparent;
  /* background-color: var(--c-cream); */
  background-image: url("../images/cta-bg.png");
  background-repeat: no-repeat;
  background-size: max(1512px, 100%) auto;
  background-position: center top;
  margin-top: -5%;
}

.box-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1094px, 88%);
  margin-inline: auto;
  padding: clamp(28px, 3.3vw, 50px) clamp(20px, 3.7vw, 56px);
  border-radius: 25px;
  background-color: var(--c-cream);
}

.box-cta h2 {
  font-size: var(--fz-35);
  font-weight: 500;
  line-height: 1.4;
}

/* ハチ専務と吹き出しは横並び。576px未満のみ縦積み（ハチ専務が上） */
.cta-hachi-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  margin-block: clamp(24px, 3.4vw, 50px);
}

@media (max-width: 575.98px) {
  .cta-hachi-row {
    flex-direction: column-reverse;
    gap: clamp(18px, 5vw, 26px);
  }
}

/* 576〜991pxは横並びのため、しっぽは右向きに戻す */
@media (min-width: 576px) and (max-width: 991.98px) {
  .cta-hachi-row .bubble.is-right::after {
    top: 38%;
    left: auto;
    right: -14px;
    translate: none;
    border: 2px solid var(--c-brown);
    border-bottom: none;
    border-left: none;
  }
}

/* CTAは 見出し → ボタン → ハチ専務 の順 */
.box-cta > .btn-mail {
  margin-top: clamp(24px, 3.2vw, 48px);
}

/* PCは「見出し＋ボタン」を左、ハチ専務を右に配置（Figmaの並び） */
@media (min-width: 992px) {
  .box-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "ttl hachi"
      "btn hachi";
    align-items: center;
    column-gap: clamp(20px, 3vw, 45px);
  }

  .box-cta > h2 {
    grid-area: ttl;
    align-self: end;
    justify-self: start;
  }

  .box-cta > .cta-hachi-row {
    grid-area: hachi;
    margin-block: 0;
  }

  .box-cta > .btn-mail {
    grid-area: btn;
    align-self: start;
    justify-self: start;
    margin-top: clamp(20px, 2.6vw, 40px);
  }
}

.cta-hachi {
  width: min(148px, 26vw);
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   12. フッター
   -------------------------------------------------------------------------- */
.ftr {
  padding: clamp(40px, 6vw, 94px) 0 clamp(24px, 2.6vw, 40px);
  background-color: var(--c-brown-dark);
  color: var(--c-white);
}

.ftr p {
  font-size: clamp(0.813rem, 0.752rem + 0.26vw, 1rem);
  font-weight: 500;
  line-height: 1.75;
}

.ftr .ftr-logo {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(40px, 1rem + 3.2vw, 70px);
  line-height: 1.2;
  letter-spacing: 0;
}

.ftr-nav a {
  display: block;
  padding: clamp(4px, 0.5vw, 8px) 0;
}

.ftr-nav a:hover {
  opacity: 1;
  color: var(--c-yellow);
}

.ftr-nav .is-child {
  padding-left: 1.2em;
  color: var(--c-yellow);
}

.ftr .ftr-copy {
  text-align: right;
}

/* ハチ専務（セクション横） */
.hachi-side {
  width: min(251px, 22vw);
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  .hachi-side {
    width: min(200px, 34vw);
  }
}

/* --------------------------------------------------------------------------
   12-b. 768px以下は基本センター配置
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .card-member,
  .box-about,
  .box-cta,
  .bubble,
  .ftr {
    text-align: center;
  }

  .s-news .sec-ttl {
    text-align: center;
  }

  .news-item {
    justify-content: center;
  }

  .box-about > .btn-round {
    margin-inline: auto;
  }

  .card-member > img {
    width: min(333px, 100%);
    margin-inline: auto;
  }

  .ftr .ftr-copy {
    text-align: center;
  }

  .ftr-nav .is-child {
    padding-left: 0;
  }
}

/* --------------------------------------------------------------------------
   13. アニメーション配慮
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fv-deco img {
    animation: none;
  }

  a,
  .btn-round img,
  .link-more img,
  .hdr-nav img {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   14. 下層ページ共通FV
   -------------------------------------------------------------------------- */
.fv-sub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images/concept-fv.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fv-sub-en {
  font-size: var(--fz-15);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--c-green);
  line-height: 1.4;
}

.fv-sub-ttl {
  margin-top: min(0.9vw, 13px);
  font-size: var(--fz-45);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-green);
  line-height: 1.3;
}

/* 下端の弧（クリーム色が上に膨らむ） */
.fv-sub-hill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6.3vw;
  border-radius: 50% 50% 0 0 / 6.3vw 6.3vw 0 0;
  background-color: var(--c-cream);
}

/* 下層ページのセクション見出しはTOPより一段小さい */
.s-omoi .sec-ttl,
.s-kodawari .sec-ttl,
.s-name .sec-ttl {
  font-size: var(--fz-35);
}

/* --------------------------------------------------------------------------
   15. concept sec1 私たちの想い
   -------------------------------------------------------------------------- */
.s-omoi {
  padding: 60px 0 min(9.5vw, 144px);
  background-color: var(--c-cream);
}

.s-omoi-lead {
  margin-top: min(4.6vw, 69px);
  font-size: var(--fz-20);
  line-height: 2.2;
  text-align: left;
}

@media (min-width: 768px) {
  .s-omoi-lead {
    text-align: center;
  }
}

.box-omoi {
  margin-top: clamp(2.5rem, 1.285rem + 5.25vw, 6.25rem);
  padding: min(6.4vw, 97px) min(6.4vw, 97px) min(5.5vw, 83px);
  border: 2px solid var(--c-brown);
  border-radius: var(--radius);
  background-color: var(--c-white);
  box-shadow: 10px 12px 0 0 var(--c-green);
}

.box-omoi h3 {
  margin-bottom: 30px;
  font-size: var(--fz-30);
  font-weight: 700;
  color: var(--c-green);
  line-height: 1.5;
}

.box-omoi p {
  line-height: 2.05;
}

.box-omoi-img {
  width: 50%;
}

@media (min-width: 992px) {
  .box-omoi-img {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   16. concept sec2 3つのこだわり
   -------------------------------------------------------------------------- */
.s-kodawari {
  position: relative;
  padding-top: clamp(5.625rem, 4.41rem + 5.25vw, 9.375rem);
  padding-bottom: clamp(5.625rem, 4.41rem + 5.25vw, 9.375rem);
  background-color: var(--c-green-pale);
}

.s-kodawari > .wave {
  top: -1px;
  bottom: auto;
  background-color: var(--c-cream);
}

/* セクション共通のリード文 */
.s-lead {
  margin-top: min(3.2vw, 48px);
  font-size: clamp(1rem, 0.969rem + 0.17vw, 1.125rem);
  line-height: 2.2;
  text-align: left;
}

@media (min-width: 768px) {
  .s-lead {
    text-align: center;
  }
}

.card-point {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 0.845rem + 1.75vw, 2.5rem);
  border: 2px solid var(--c-brown);
  border-radius: var(--radius);
  background-color: var(--c-white);
  box-shadow: 10px 12px 0 0 var(--c-green);
  text-align: center;
}

.card-point-no {
  font-size: var(--fz-18);
  font-weight: 700;
  color: var(--c-green);
  line-height: 1.2;
}

.card-point h3 {
  margin-top: min(1.5vw, 22px);
  padding-bottom: min(1.8vw, 27px);
  border-bottom: 1px solid var(--c-green);
  font-size: var(--fz-23);
  font-weight: 700;
  color: var(--c-green);
  line-height: 1.5;
}

.card-point h3 + p {
  margin-top: min(3.1vw, 47px);
  font-size: var(--fz-20);
  line-height: 1.9;
  text-align: left;
}

/* --------------------------------------------------------------------------
   17. concept sec3 社名にこめた想い
   -------------------------------------------------------------------------- */
.s-name {
  position: relative;
  padding-top: clamp(5.625rem, 4.41rem + 5.25vw, 9.375rem);
  padding-bottom: clamp(5.625rem, 4.41rem + 5.25vw, 9.375rem);
  background-color: var(--c-cream);
}

.s-name > .wave {
  top: -1px;
  bottom: auto;
  background-color: var(--c-green-pale);
}

.card-name {
  height: 100%;
  padding: clamp(1.25rem, 0.845rem + 1.75vw, 2.5rem);
  border-radius: var(--radius);
  background-color: var(--c-green-light);
  box-shadow: 10px 12px 0 0 var(--c-green);
  text-align: center;
}

.card-name h3 {
  font-family: var(--font-round);
  font-size: var(--fz-45);
  font-weight: 800;
  color: var(--c-green);
  line-height: 1.2;
  letter-spacing: 0;
}

.card-name-sub {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-green);
  font-size: var(--fz-20);
  font-weight: 700;
  line-height: 1.5;
}

.card-name-sub + p {
  margin-top: min(2.3vw, 35px);
  font-size: var(--fz-18);
  line-height: 2;
  text-align: left;
}

/* --------------------------------------------------------------------------
   17-b. 下層ページ 768px以下は基本センター配置
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .box-omoi,
  .card-point h3 + p,
  .card-name-sub + p {
    text-align: center;
  }

  .box-omoi-img {
    margin-inline: auto;
  }
}

/* --------------------------------------------------------------------------
   健康セミナー
   -------------------------------------------------------------------------- */

.fv-seminar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images/seminar-fv.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-title {
  position: relative;
  width: 100%;
  padding-bottom: 20px;
}

.service-title::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--c-green);
  left: 0;
  bottom: 0;
}

.service-p {
  width: 100%;
}
@media (min-width: 768px) {
  .service-p {
    width: 70%;
  }
}

.service-img {
  width: 80%;
}

@media (min-width: 768px) {
  .service-img {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   健康コラム・記事執筆
   -------------------------------------------------------------------------- */

.fv-writing {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images/writing-fv.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.writing-box {
  background-color: #fff;
  border-radius: 20px;
  border: var(--c-brown) 2px solid;
}

.writing-link a:hover {
  color: var(--c-hover);
}

/* --------------------------------------------------------------------------
   食事・栄養サポート
   -------------------------------------------------------------------------- */
.fv-dietitian {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images//dietitian-fv.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   取引の流れ
   -------------------------------------------------------------------------- */
.fv-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images/flow-fv.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.flow-box {
  background-color: #fff;
  border-radius: 20px;
  border: var(--c-brown) 2px solid;
  box-shadow: 10px 12px 0 0 var(--c-green);
}

.arrow-tri {
  width: 35px;
}

.arrow-tri > img {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   メンバー紹介
   -------------------------------------------------------------------------- */
.fv-member {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images/member-fv.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.member-img {
  border-radius: 20px;
}

.member-img > img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.member-text1 {
  position: relative;
  width: 100%;
  padding-bottom: 20px;
}

.member-text1::after {
  position: absolute;
  content: "";
  background-color: var(--c-green);
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0;
}

.history {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* 縦線 */
.history::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 0;
  left: 26.2%;
  width: 2px;
  background-color: var(--c-green);
  transform: translateX(-50%);
}

/* 1項目 */
.history__item {
  position: relative;
  display: grid;
  grid-template-columns: 180px 40px 1fr;
  align-items: center;
  column-gap: 20px;
  margin-bottom: 50px;
}

.history__item:last-child {
  margin-bottom: 0;
}

/* 年月 */
.history-date {
  text-align: right;
  color: var(--c-green);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
}

/* 丸 */
.history__dot {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  box-sizing: border-box;
  border: 3px solid var(--c-green);
  border-radius: 50%;
  background-color: #fff;
}

/* 内容 */
.history-text {
  margin: 0;
  color: var(--c-brown);
  font-size: 20px;
}

@media screen and (max-width: 768px) {
  .history {
    padding: 10px 0;
  }

  .history::before {
    left: 70px;
  }

  .history__item {
    grid-template-columns: 65px 30px 1fr;
    column-gap: 10px;
    margin-bottom: 40px;
  }

  .history-date {
    padding-right: 8px;
    font-size: 12px;
  }

  .history__dot {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-width: 2px;
  }

  .history-text {
    padding-left: 10px;
    font-size: 14px;
    line-height: 1.7;
  }
}

@media screen and (max-width: 992px) {
  .history {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
  }

  /* 縦線 */
  .history::before {
    content: "";
    position: absolute;
    top: 5%;
    bottom: 0;
    left: 30px;
    width: 2px;
    background-color: var(--c-green);
  }

  /* 1項目 */
  .history__item {
    position: relative;
    display: block;
    margin-bottom: 50px;
    padding-left: 75px;
  }

  .history__item:last-child {
    margin-bottom: 0;
  }

  /* 丸 */
  .history__dot {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 15px;

    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;

    box-sizing: border-box;
    border: 3px solid var(--c-green);
    border-radius: 50%;
    background-color: #fff;
  }

  /* 年月 */
  .history-date {
    margin: 0 0 12px;
    padding: 0;

    text-align: left;
    color: var(--c-green);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
  }

  /* 内容 */
  .history-text {
    margin: 0;
    padding: 0;

    color: var(--c-brown);
    font-size: 17px;
    line-height: 1.8;
  }
}

/* --------------------------------------------------------------------------
   会社概要
   -------------------------------------------------------------------------- */
.fv-info {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images/info.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.info-left {
  width: 100%;
}

@media (min-width: 768px) {
  .info-left {
    width: 30%;
  }
}

.info-right {
  width: 100%;
}
@media (min-width: 768px) {
  .info-right {
    width: 70%;
  }
}

.info-top {
  position: relative;
  width: 100%;
}

.info-top::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--c-green);
  top: 0;
  left: 0;
}

.info-bottom {
  position: relative;
  width: 100%;
}
.info-bottom::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--c-green);
  bottom: 0;
  left: 0;
}

/* --------------------------------------------------------------------------
   お問い合わせ
   -------------------------------------------------------------------------- */
.fv-contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images/contact-fv.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
ニュースリスト
-------------------------------------------------------------------------- */
.fv-news {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 39vw, 590px);
  padding-top: min(4.6vw, 70px);
  /* 写真の上に緑をかぶせる（デザインの色味に合わせて約90%） */
  background-color: var(--c-green-light);
  background-image:
    linear-gradient(rgba(214, 242, 182, 0.9), rgba(214, 242, 182, 0.9)),
    url("../images/news-fv.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.webgene-news {
  max-width: 1000px;
  margin: 0 auto;
}

/* 記事 */
.webgene-item + .webgene-item {
  margin-top: 12px;
}

/* 記事全体 */
.news-list-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 25px 50px;
  border-radius: var(--radius);
  background-color: var(--c-green-pale);
  text-decoration: none;
  transition: 0.3s ease;
}

/* 日付 */
.news-list-date {
  flex: 0 0 110px;
}

.news-list-date p {
  margin: 0;
  color: var(--c-green);
  font-size: var(--fz-20);
  font-weight: 500;
  line-height: 1.5;
}

/* タイトル */
.news-list-title {
  flex: 1;
  padding-left: 35px;
}

.news-list-title h2 {
  margin: 0;
  color: var(--c-brown);
  font-size: var(--fz-23);
  font-weight: 500;
  line-height: 1.5;
}

/* ホバー */
.news-list-item:hover {
  opacity: 1;
  background-color: #ffe4cc;
}

@media screen and (max-width: 576px) {
  .news-list-item {
    padding: 18px 20px;
  }

  .news-list-date {
    flex: 0 0 85px;
  }

  .news-list-date p {
    font-size: 13px;
  }

  .news-list-title {
    padding-left: 15px;
  }

  .news-list-title h2 {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* ページネーション全体 */
.webgene-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

/* ページネーションのリンク */
.webgene-pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 46px;
  border: 2px solid var(--c-green);
  border-radius: 50px;
  background-color: #fff;
  color: var(--c-green);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: 0.3s ease;
}

/* ホバー */
.webgene-pagination a:hover {
  opacity: 1;
  background-color: var(--c-green);
  color: #fff;
}

.webgene-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media screen and (max-width: 576px) {
  .webgene-pagination {
    gap: 20px;
    margin-top: 40px;
  }

  .webgene-pagination a {
    width: 105px;
    height: 42px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
カテゴリー
-------------------------------------------------------------------------- */
.news-category {
  display: flex;
}

.category-box > .webgene-blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (min-width: 768px) {
  .category-box > .webgene-blog {
    flex-direction: row;
    gap: 20px;
    align-items: baseline;
  }
}
.category-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(12.5rem, 9.595rem + 12.56vw, 15.625rem);
  height: 40px;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid var(--c-green);
  border-radius: 999px;
  color: var(--c-green);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

@media (min-width: 768px) {
  .category-item a {
    width: 100px;
  }
}

/* 選択中 */
.category-item.is-active a {
  background-color: #52763a !important;
  border-color: #52763a !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
記事詳細
-------------------------------------------------------------------------- */
.news-box {
  padding-top: clamp(9.375rem, 7.35rem + 8.76vw, 15.625rem);
}

.webgene-blog {
  background: var(--c-cream);
  padding: 70px 20px 0px;
}

.blog-detail {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* category */
.blog-category {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 116px;
  height: 42px;
  margin: 0 0 28px;

  background: var(--c-green);
  border-radius: 999px;

  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* date */
.blog-date {
  margin: 0 0 52px;

  color: var(--c-green);
  font-size: 14px;
  line-height: 1;
}

/* title */
.blog-title {
  margin: 0 0 45px;

  color: var(--c-brown);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.6;
}

/* image */
.blog-image {
  width: 100%;
  margin: 0 0 50px;
}

.blog-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* content */
.blog-content {
  color: var(--c-brown);
  font-size: 14px;
  line-height: 2.5;
}

/* 記事本文内の段落 */
.blog-content p {
  margin: 0 0 42px;
}

.blog-content p:last-child {
  margin-bottom: 0;
}

/* =========================
   ページリンク
========================= */

.blog-pagelink {
  display: flex;
  justify-content: center;
  gap: 36px;

  margin-top: 80px;
}

.blog-pagelink p {
  margin: 0;
}

.blog-pagelink a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 42px;
  border: 2px solid var(--c-green);
  border-radius: 999px;
  background-color: #fff;
  color: var(--c-green);
  font-size: 14px;
  text-decoration: none;

  transition: 0.3s;
}

.blog-pagelink a:hover {
  background: var(--c-green);
  color: #fff;
}
