@import url("https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:wght@300;400;700&family=Cinzel:wght@400;500&family=Shippori+Mincho:wght@400;500;600&display=swap");

/* ==========================================================
   Latte Design ブラッシュアップ用 上書きCSS（全ページ共通）
   配色は service.lattedesign-creative.com に合わせる
   ========================================================== */

/* ---------- 色 ---------- */
:root,
body {
  --ld-paper: #FAF8F6;   /* 背景 */
  --ld-cream: #F1ECE8;   /* セクション背景 */
  --ld-rose: #E7DED9;    /* 淡いローズ */
  --ld-ink: #403A3A;     /* 文字 */
  --ld-dark: #75645E;    /* 見出し・ボタン（濃い茶） */
  --ld-accent: #A6928A;  /* アクセント */
  --ld-line: #D8CCC7;    /* 線 */
  --ld-en: "Cinzel", Georgia, serif; /* 英語（FVのタグだけはFigma通り Averia Serif Libre） */
  --ld-en-fv: "Averia Serif Libre", Georgia, serif;

  --wp--preset--color--custom-ld-color-1: var(--ld-dark);
  --wp--preset--color--custom-ld-color-2: var(--ld-paper);
  --wp--preset--color--custom-ld-color-3: var(--ld-paper);
  --wp--preset--color--custom-ld-color-4: var(--ld-cream);
  --wp--preset--color--custom-ld-color-5: var(--ld-accent);
  --wp--preset--color--custom-ld-color-6: var(--ld-ink);
  --wp--preset--color--custom-ld-color-7: var(--ld-ink);
  --wp--preset--color--custom-ld-color-8: var(--ld-line);
  --wp--preset--color--custom-ld-color-9: #FFFFFF;
  --wp--preset--color--custom-ld-color-11: var(--ld-rose);
  --wp--preset--color--text-normal: var(--ld-ink);
  --wp--preset--color--bg-secondary: var(--ld-cream);

  /* 英語フォントはすべて Cinzel に */
  --wp--preset--font-family--montserrat: var(--ld-en);
  --wp--preset--font-family--poiret-one: var(--ld-en);
  --wp--preset--font-family--roboto: var(--ld-en);
}

body {
  background-color: var(--ld-paper);
  color: var(--ld-ink);
}

[lang="en"] {
  font-family: var(--ld-en) !important;
}

/* 見出しは しっぽり明朝、字間5% */
h1, h2, h3, h4, h5, h6 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  letter-spacing: 0.05em !important;
}

/* ==========================================================
   FV：制作実績が下から流れてくるメインビジュアル（トップページ）
   動きは /assets/latte-fv.js
   ========================================================== */
.ld-fv {
  position: relative;
  height: clamp(560px, calc(100svh - 150px), 900px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 30% 50%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%),
    var(--ld-paper);
  isolation: isolate;
}

.ld-fv__gallery {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 1枚ずつ。位置と速さはレーン（data-lane）で決まる */
.ld-fv__item {
  position: absolute;
  top: 0;
  display: block;
  transform: translate3d(0, 120vh, 0); /* JSが動かすまでは画面外（読み込み直後に並ぶ） */
  will-change: transform;
  opacity: 1 !important;
  filter: none !important;
}

.ld-fv__card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(64, 58, 58, 0.28);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ld-fv__card img {
  display: block;
  width: 100%;
  height: auto; /* 画像の比率そのまま（見切れなし） */
}

/* ホバーは拡大だけ */
.ld-fv__item:hover,
.ld-fv__item:focus-visible {
  opacity: 1 !important;
}
.ld-fv__item:hover .ld-fv__card,
.ld-fv__item:focus-visible .ld-fv__card {
  transform: scale(1.05);
}

/* 奥行きが深い（遅い）ものほど小さく・奥に */
/* iMacの実績：背景透過なのでカードの白・影・角丸なし */
.ld-fv__card--mock {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

/* レーン（縦の通り道）：横に重ならないので実績同士が重ならない
   --speed は流れる速さ(px/秒)、--phase は最初の位置のずらし(0〜1) */
.ld-fv__item[data-lane="a"] { --lane: a; left: 1%;    width: 17vw; --speed: 7;   --phase: 0;    z-index: 2; }
.ld-fv__item[data-lane="b"] { --lane: b; left: 18.5%; width: 16.5vw; --speed: 5;   --phase: 0.3;  z-index: 1; }
.ld-fv__item[data-lane="c"] { --lane: c; left: 64.5%; width: 15.5vw; --speed: 5.5; --phase: 0.82; z-index: 1; }
.ld-fv__item[data-lane="d"] { --lane: d; left: 80.5%; width: 16vw; --speed: 7.5; --phase: 0.15; z-index: 2; }

/* キャッチ部分：Figma「Group 1401」(499×662) をそのまま再現し、JSが --s で画面に合わせて縮小 */
@font-face {
  font-family: "Harenosora FV";
  src: local("Harenosora"), url("/assets/fonts/harenosora-fv.woff2") format("woff2");
  font-display: swap;
}

.ld-fv__copy {
  --py: 0px;
  --s: 1;
  --fit-w: 499; /* 画面に合わせるときの基準サイズ */
  --fit-h: 662;
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 499px;
  height: 662px;
  transform: translate(-50%, calc(-50% + var(--py))) scale(var(--s));
  pointer-events: none;
}

.ld-fv__panel {
  position: relative;
  width: 499px;
  height: 662px;
}

.ld-fv__arch {
  position: absolute;
  inset: 0;
  border-radius: 326.5px 326.5px 0 0;
  background: rgba(254, 254, 254, 0.6);
}

.ld-fv__lead,
.ld-fv__title {
  position: absolute;
  margin: 0;
  font-family: "Harenosora FV", "Harenosora", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.ld-fv__lead {
  left: 250.5px;
  top: 71px;
  font-size: 27.667px;
  line-height: 41px;
  letter-spacing: 3.0433px;
  color: #3D3D3F;
}

.ld-fv__illust {
  position: absolute;
  left: 124px;
  top: 160px;
  width: 241px;
  height: 282px;
  overflow: hidden;
}

.ld-fv__illust img {
  position: absolute;
  left: -16.6%;
  top: -23.05%;
  width: 203.73%;
  height: 174.11%;
  max-width: none;
}

.ld-fv__title {
  left: 241px;
  top: 442px;
  font-size: 22px;
  line-height: 33px;
  letter-spacing: 2.42px;
  color: #967C7C;
}

.ld-fv__comma {
  letter-spacing: -2.86px;
}

.ld-fv__tags {
  position: absolute;
  left: 37.47px;
  top: 571px;
  display: flex;
  gap: 7.765px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ld-fv__tags li {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100.941px;
  height: 32.941px;
  padding: 6.471px 15.529px;
  border: 0.647px solid #967C7C;
  border-radius: 77.647px;
  font-family: var(--ld-en-fv) !important;
  font-weight: 300;
  font-size: 16.511px;
  letter-spacing: 0.3302px;
  line-height: 1;
  color: #967C7C;
}

.ld-fv__scroll {
  position: absolute;
  z-index: 5;
  left: clamp(24px, 6vw, 96px);
  bottom: 28px;
  margin: 0;
  font-family: var(--ld-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ld-dark);
}

.ld-fv__scroll::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 48px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
}

/* スマホ */
@media (max-width: 750px) {
  .ld-fv { height: 640px; --loop: 1900px; }
  /* スマホは左右2レーン（a・b→左、c・d→右） */
  .ld-fv__item[data-lane="a"] { left: 2%; width: 46vw; }
  .ld-fv__item[data-lane="a"],
  .ld-fv__item[data-lane="b"] { --lane: left;  left: 2%;  width: 46vw; --speed: 6; --phase: 0; }
  .ld-fv__item[data-lane="c"] { left: 52%; width: 46vw; }
  .ld-fv__item[data-lane="c"],
  .ld-fv__item[data-lane="d"] { --lane: right; left: 52%; width: 46vw; --speed: 5; --phase: 0.5; }
  .ld-fv__scroll { left: 20px; bottom: 22px; }

  /* スマホはアーチが画面のほぼ全面になるので、文字が読めるよう白を濃く */
  .ld-fv__arch { background: rgba(254, 254, 254, 0.88); }
}

/* ==========================================================
   ボタン（元は画像だったものをHTMLに作り直し）
   ========================================================== */
.ld-btn-wrap {
  margin-top: var(--wp--preset--spacing--40, 2rem);
}
.ld-btn-wrap--center {
  display: flex;
  justify-content: center;
}

.ld-btn {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  min-height: 56px;
  padding: 14px 64px 14px 24px; /* 右の矢印ぶんを空けて、残りの幅の真ん中に文字 */
  background: var(--ld-dark);
  color: #fff !important;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none !important;
  transition: background-color 0.3s ease;
}
.ld-btn--wide { width: 468px; }
.ld-btn--external { width: 400px; }
@media (min-width: 751px) {
  .ld-btn__label { white-space: nowrap; }
}

.ld-btn__icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.ld-btn:hover,
.ld-btn:focus-visible {
  background: var(--ld-accent);
  opacity: 1 !important;
}
.ld-btn:hover .ld-btn__icon {
  transform: translate(4px, -50%);
}
.ld-btn--external:hover .ld-btn__icon {
  transform: translate(2px, calc(-50% - 2px));
}

/* 「＼ 無料相談受付中 ／」 */
.ld-pr-text {
  display: block;
  color: var(--ld-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  white-space: nowrap;
}

/* ヘッダー・フッターの家アイコン */
.ld-home-icon {
  display: block;
  margin: 0 auto;
  color: var(--ld-dark);
  transition: color 0.3s ease;
}
a:hover .ld-home-icon {
  color: var(--ld-accent);
}


/* ==========================================================
   レイアウト・文字組み（参考：libretto-works.com の見せ方。配色はそのまま）
   ========================================================== */
:root {
  --ld-side: clamp(20px, 5.8vw, 84px);  /* 画面左右の余白 */
  --ld-head-col: clamp(120px, 16vw, 230px); /* 縦書き見出しの列幅 */
  --ld-body-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Zen Kaku Gothic New", sans-serif;
  --wp--preset--font-family--zen-kaku-gothic-new: var(--ld-body-font);
  /* 文字サイズ：本文15px基準 */
  --wp--preset--font-size--x-small: 10px;
  --wp--preset--font-size--small: 12px;
  --wp--preset--font-size--medium: 15px;
  --wp--preset--font-size--large: 16px;
}

/* 本文：細めのゴシック 15px・行間2倍・字間6% */
body {
  font-family: var(--ld-body-font);
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.06em;
}
body p, body li, body dd, body dt {
  line-height: 2;
}

/* コンテンツ幅：画面いっぱい（左右84px） */
.smb-section {
  --smb-section--contents-wrapper-width: 100% !important;
}
.smb-section .c-container {
  max-width: none;
  padding-left: var(--ld-side);
  padding-right: var(--ld-side);
}

/* ---------- セクション見出し：左に縦書き、右に中身 ---------- */
.smb-section__body > .wp-block-group:has(> .h-reverse:first-child) {
  max-width: none !important;
  display: grid;
  grid-template-columns: var(--ld-head-col) minmax(0, 1fr);
  align-items: start;
}
.smb-section__body > .wp-block-group:has(> .h-reverse:first-child) > * {
  grid-column: 2;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.smb-section__body > .wp-block-group:has(> .h-reverse:first-child) > .h-reverse {
  grid-column: 1;
  grid-row: 1 / span 20;
  margin-top: 0 !important;
  position: sticky;   /* スクロールしても見出しは左に残る */
  top: 100px;
  align-self: start;
}
.h-reverse hgroup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 0;
}
.h-reverse hgroup > p[lang="en"] {
  order: -1;
  position: relative;
  margin: 0 !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: var(--ld-dark) !important;
}
.h-reverse hgroup > h2 {
  writing-mode: vertical-rl;
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.15em !important;
  color: var(--ld-ink);
}

/* ---------- 見出しの大きさ（しっぽり明朝・ウェイト400） ---------- */
h1, h2, h3, h4, h5, h6 { font-weight: 400 !important; }
h3.wp-block-heading { font-size: 18px !important; line-height: 1.6 !important; }
h3.wp-block-heading.has-xx-large-font-size { font-size: clamp(22px, 2.2vw, 32px) !important; line-height: 1.6 !important; } /* リード */
h4.wp-block-heading { font-size: 14px !important; }

/* 英字の小見出し（information など）も小さく */
p[lang="en"]:not(.h-reverse p):not(.ld-fv *) {
  letter-spacing: 0.12em !important;
}

/* ---------- ボタン：ピル型・背景 #F2EAE5・文字は黒系（ホバーで濃い茶） ---------- */
.ld-btn {
  background: #F2EAE5;
  color: #3D3D3F !important;
  border: none;
  border-radius: 999px;
  min-height: 52px;
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.ld-btn:hover,
.ld-btn:focus-visible {
  background: var(--ld-dark);
  color: #fff !important;
}

/* ---------- 制作実績：2列・大きめ・右列を少し下げた互い違い ---------- */
.wp-block-post-template:has(> li[class*="category-works"]) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: clamp(20px, 2.8vw, 40px) !important;
  row-gap: clamp(48px, 6vw, 80px) !important;
  padding-bottom: 120px; /* 右列を下げたぶん */
}
.wp-block-post-template > li[class*="category-works"]:nth-child(even) {
  transform: translateY(120px);
}
.wp-block-post-template > li[class*="category-works"] .img-box,
.wp-block-post-template > li[class*="category-works"] .wp-block-post-featured-image {
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
}
.wp-block-post-template > li[class*="category-works"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.wp-block-post-template > li[class*="category-works"]:hover img {
  transform: scale(1.03);
}
.wp-block-post-template > li[class*="category-works"] .wp-block-post-title {
  margin: 22px 0 0 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.05em !important;
}
.wp-block-post-template > li[class*="category-works"] .wp-block-post-title a {
  color: var(--ld-ink) !important;
  text-decoration: none;
}
/* カテゴリのラベル（ピル） */
.wp-block-post-template > li[class*="category-works"]::after {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px 3px;
  border: 1px solid var(--ld-line);
  border-radius: 999px;
  font-family: var(--ld-en);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.08em;
  color: var(--ld-ink);
}
.wp-block-post-template > li.category-works-hp-lp::after { content: "WEBSITE / LP"; }
.wp-block-post-template > li.category-works-design::after { content: "DESIGN"; }

/* ---------- スマホ ---------- */
@media (max-width: 750px) {
  .smb-section__body > .wp-block-group:has(> .h-reverse:first-child) {
    display: block;
  }
  .smb-section__body > .wp-block-group:has(> .h-reverse:first-child) > .h-reverse {
    margin-bottom: 32px !important;
  }
  .h-reverse hgroup { gap: 10px; }
  .h-reverse hgroup > h2 { writing-mode: horizontal-tb; font-size: 20px !important; }
  .wp-block-post-template:has(> li[class*="category-works"]) {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-bottom: 0;
  }
  .wp-block-post-template > li[class*="category-works"]:nth-child(even) { transform: none; }
}


/* ==========================================================
   サービス：スクロールで次々重なるカード（参考：motoya-united.co.jp）
   ========================================================== */
.ld-svc__intro {
  margin: 0 0 56px !important;
}
.ld-svc__stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-bottom: 24px;
}
.ld-svc__card {
  position: sticky;
  top: calc(100px + var(--i) * 16px); /* 少しずつずらして重なる */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: min(68vh, 520px);
  padding: clamp(28px, 4vw, 60px);
  border-radius: 28px;
  background: #FAF8F6;
  box-shadow: 0 -16px 48px -28px rgba(64, 58, 58, 0.35);
}
.ld-svc__card:nth-child(3n + 2) { background: #FFFFFF; }
.ld-svc__card:nth-child(3n + 3) { background: #F2EAE5; }
.ld-svc__num {
  margin: 0 0 14px !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  color: var(--ld-dark);
}
.ld-svc__title {
  margin: 0 !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  line-height: 1.5 !important;
}
.ld-svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.ld-svc__tags:empty { display: none; }
.ld-svc__tags li {
  padding: 2px 14px;
  border: 1px solid var(--ld-line);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.8;
}
.ld-svc__desc {
  margin: 20px 0 0 !important;
}
.ld-svc__tools {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  font-size: 12px;
}
.ld-svc__tools img { height: auto; }
.ld-svc__tools img[alt="WordPress"] { width: 120px; }
.ld-svc__tools img[alt="Studio"] { width: 82px; }
.ld-svc__img {
  margin: 0 !important;
}
.ld-svc__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;  /* 正方形＋丸に近い流体シェイプ */
  max-height: 62vh;
  object-fit: cover;
}

/* ==========================================================
   コンタクト：背景を固定し、中身がその上をスクロールしていく
   ========================================================== */
.smb-section-with-bgimage {
  min-height: 64vh;
}
.smb-section-with-bgimage .smb-section-with-bgimage__bgimage {
  clip-path: inset(0); /* 固定した背景をこのセクションの中だけに見せる */
}
.smb-section-with-bgimage .smb-section-with-bgimage__bgimage img {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  object-fit: cover !important;
}
.smb-section-with-bgimage .smb-section__inner {
  padding-top: 12vh;
  padding-bottom: 12vh;
}

/* ==========================================================
   フッター：高さを出す
   ========================================================== */
footer > .smb-section:first-child {
  padding-top: 160px !important;
  padding-bottom: 120px !important;
}

/* 追加した実績（iMacの透過画像）：背景色の上に全体が見えるように */
.ld-work-mock {
  background: var(--ld-cream);
}
.wp-block-post-template > li .ld-work-mock img {
  object-fit: contain !important;
  padding: 5% 10%;
  box-sizing: border-box;
}

@media (max-width: 750px) {
  .ld-svc__card {
    grid-template-columns: minmax(0, 1fr);
    top: calc(72px + var(--i) * 10px);
    min-height: 0;
    border-radius: 20px;
  }
  .ld-svc__img { order: -1; }
  .smb-section-with-bgimage { min-height: 60vh; }
  .smb-section-with-bgimage .smb-section__inner { padding-top: 10vh; padding-bottom: 10vh; }
  footer > .smb-section:first-child { padding-top: 100px !important; padding-bottom: 80px !important; }
  .smb-section__body > .wp-block-group:has(> .h-reverse:first-child) > .h-reverse { position: static; }
}

/* ほかのボタンも同じ色に：スライダーの矢印・ヘッダーの「お問い合わせ」 */
.spider__arrow {
  background-color: #F2EAE5 !important;
  border-color: #F2EAE5 !important;
  color: #3D3D3F !important;
}
.wp-block-button__link.wp-element-button {
  background-color: #F2EAE5 !important;
  color: #3D3D3F !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.spider__arrow:hover,
.wp-block-button__link.wp-element-button:hover {
  background-color: var(--ld-dark) !important;
  border-color: var(--ld-dark) !important;
  color: #fff !important;
  opacity: 1 !important;
}


/* ==========================================================
   2026-11-02 追加調整
   ========================================================== */

/* ---------- ボタンは角まるなし ---------- */
.ld-btn,
.wp-block-button__link.wp-element-button,
.spider__arrow,
.smb-tabs__tab {
  border-radius: 0 !important;
}

/* ---------- グロナビ：明朝体＋英語 ---------- */
header .wp-block-navigation-item__content {
  font-family: "Shippori Mincho", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em;
}
header .wp-block-navigation-item__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
}
header .wp-block-navigation-item__label::before {
  display: block;
  margin-bottom: 2px;
  font-family: var(--ld-en);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ld-accent);
}
header a[href="/about-me/"] .wp-block-navigation-item__label::before { content: "ABOUT"; }
header a[href="/#service"] .wp-block-navigation-item__label::before { content: "SERVICE"; }
header a[href="/#works"] .wp-block-navigation-item__label::before { content: "WORKS"; }
header a[href="/category/blog/"] .wp-block-navigation-item__label::before { content: "BLOG"; }
header .wp-block-button__link.wp-element-button {
  font-family: "Shippori Mincho", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em;
}

/* ---------- タブ：ボタンと同じ色 ---------- */
.smb-tabs__tab {
  background: transparent !important;
  border: 1px solid #F2EAE5 !important;
  color: #3D3D3F !important;
  font-family: "Shippori Mincho", serif;
}
.smb-tabs__tab[aria-selected="true"] {
  background: #F2EAE5 !important;
}

/* ---------- サービス：ホームページ制作をメインに ---------- */
.ld-svc__main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
  padding: 4px 14px;
  background: var(--ld-dark);
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-size: 12px !important;
  letter-spacing: 0.1em;
}
.ld-svc__main span {
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0.85;
}
.ld-svc__card--main {
  min-height: min(76vh, 600px);
}
.ld-svc__card--main .ld-svc__title {
  font-size: clamp(26px, 2.8vw, 36px) !important;
}
.ld-svc__num { font-size: 13px !important; }

/* ---------- デザイン制作の帯：同じ方向になめらかに流れ続ける ---------- */
.ld-marquee {
  margin-top: var(--wp--preset--spacing--70, 64px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ld-marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: ld-marquee 60s linear infinite;
}
.ld-marquee:hover .ld-marquee__track { animation-play-state: paused; }
.ld-marquee__track li { flex: none; width: clamp(220px, 24vw, 340px); }
.ld-marquee__track img { display: block; width: 100%; height: auto; }
@keyframes ld-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}
@media (prefers-reduced-motion: reduce) {
  .ld-marquee__track { animation: none; }
}

/* ---------- よくある質問：明朝体 ---------- */
.smb-accordion__item__title__label {
  font-family: "Shippori Mincho", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
}

/* ---------- フッター下の帯：フッターと同じ色に ---------- */
footer > .smb-section:nth-child(2) {
  --smb-section--fixed-background-color: #F1ECE8 !important;
  --smb-section--background-color: #F1ECE8 !important;
  background-color: #F1ECE8 !important;
  border-top: 1px solid var(--ld-line);
}
footer > .smb-section:nth-child(2),
footer > .smb-section:nth-child(2) p,
footer > .smb-section:nth-child(2) a {
  color: var(--ld-ink) !important;
}
footer > .smb-section:nth-child(2) .smb-section__fixed-background { background-color: #F1ECE8 !important; }

/* フッターの中の問い合わせボタンは濃いめ */
footer .ld-btn {
  background: var(--ld-dark) !important;
  color: #fff !important;
}
footer .ld-btn:hover { background: var(--ld-ink) !important; }

/* ---------- 常に表示する Contact / Menu ---------- */
.ld-float {
  position: fixed;
  z-index: 1000;
  top: 20px;
  right: var(--ld-side, 24px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ld-float.is-show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ld-float__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ld-dark);
  border-radius: 0;
  font-family: var(--ld-en);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.ld-float__btn--contact { background: var(--ld-dark); color: #fff !important; }
.ld-float__btn--menu { background: #F2EAE5; border-color: #F2EAE5; color: #3D3D3F; }
.ld-float__btn--contact:hover { background: var(--ld-ink); }
.ld-float__btn--menu:hover { background: var(--ld-dark); border-color: var(--ld-dark); color: #fff; }
.ld-float__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.ld-menu {
  position: fixed;
  z-index: 1001;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(64, 58, 58, 0.25);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ld-menu.is-open { opacity: 1; }
.ld-menu__panel {
  position: relative;
  width: min(440px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 96px 48px 48px;
  background: var(--ld-paper);
  transform: translateX(24px);
  transition: transform 0.35s ease;
}
.ld-menu.is-open .ld-menu__panel { transform: none; }
.ld-menu__close {
  position: absolute;
  top: 20px;
  right: 24px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid #F2EAE5;
  background: #F2EAE5;
  color: #3D3D3F;
  font-family: var(--ld-en);
  font-size: 14px;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.ld-menu__list { margin: 0; padding: 0; list-style: none; }
.ld-menu__list li { border-bottom: 1px solid var(--ld-line); }
.ld-menu__list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 4px;
  color: var(--ld-ink) !important;
  text-decoration: none !important;
}
.ld-menu__en { font-family: var(--ld-en); font-size: 11px; letter-spacing: 0.16em; color: var(--ld-accent); }
.ld-menu__ja { font-family: "Shippori Mincho", serif; font-size: 18px; letter-spacing: 0.08em; }
.ld-menu__list a:hover .ld-menu__ja { color: var(--ld-dark); }
html.ld-menu-open { overflow: hidden; }

@media (max-width: 750px) {
  .ld-float { top: 12px; right: 12px; gap: 6px; }
  .ld-float__btn { min-width: 0; height: 40px; padding: 0 14px; font-size: 12px; }
  .ld-menu__panel { padding: 84px 28px 32px; }
  .ld-svc__card--main { min-height: 0; }
  .ld-svc__img img { max-height: none; }
}

/* タブ：テーマ側の指定より強く（ボタンと同じ #F2EAE5・角まるなし） */
.smb-tabs .smb-tabs__tab-wrapper button.smb-tabs__tab {
  border-radius: 0 !important;
  border: 1px solid #F2EAE5 !important;
  color: #3D3D3F !important;
  font-family: "Shippori Mincho", serif;
}
.smb-tabs .smb-tabs__tab-wrapper button.smb-tabs__tab[aria-selected="true"] {
  background-color: #F2EAE5 !important;
}
.smb-tabs .smb-tabs__tab-wrapper button.smb-tabs__tab[aria-selected="false"] {
  background-color: transparent !important;
}

/* ヘッダーのグロナビ上下の線：細く・#F2EAE5 */
header .global-menu {
  border-top: 0.5px solid var(--ld-line) !important;   /* #D8CCC7 */
  border-bottom: 0.5px solid var(--ld-line) !important;
}

/* 実績のタグ：ホームページ／LP を分ける */
.wp-block-post-template > li.ld-tag-hp::after { content: "HOME PAGE"; }
.wp-block-post-template > li.ld-tag-lp::after { content: "LP"; }

/* メニューは閉じている間は完全に消す（透明なまま画面を覆ってクリックを奪っていた不具合の修正） */
.ld-menu[hidden] {
  display: none !important;
}


/* ==========================================================
   2026-11-02 追加調整（3）
   ========================================================== */

/* よくある質問の Q / A：Cinzel */
.ld-qa {
  display: inline-block;
  min-width: 1.4em;
  margin-right: 0.6em;
  font-family: var(--ld-en) !important;
  font-size: 24px;
  line-height: 1;
  color: var(--ld-accent);
  vertical-align: middle;
}

/* 背景画像のお問い合わせ：ボタンは濃い背景に白文字、「無料相談受付中」は明朝体 */
.smb-section-with-bgimage .ld-btn {
  background: var(--ld-dark) !important;
  color: #fff !important;
}
.smb-section-with-bgimage .ld-btn:hover { background: var(--ld-ink) !important; }
.ld-cta-title {
  font-family: "Shippori Mincho", serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
}

/* サービス：背景はすべて白、流体シェイプにくっきりした影 */
.ld-svc__card,
.ld-svc__card:nth-child(3n + 2),
.ld-svc__card:nth-child(3n + 3) {
  background: #FFFFFF;
}
.ld-svc__img {
  filter: drop-shadow(14px 14px 0 #D8CCC7); /* ぼかしなしのくっきりした影 */
}

/* 制作のながれ：カードの外枠線なし */
.smb-spider-contents-slider__item {
  border: none !important;
}

/* よくある質問・お知らせ：角まるなし */
.smb-accordion__item,
.smb-accordion__item__title,
.info-contents {
  border-radius: 0 !important;
}

/* 事業概要：SERVICE / MARKETING / DESIGN の英字を小さく、図の文字は明朝体（SVG） */
.core-value-3_contents-title h3.wp-block-heading.has-xx-large-font-size {
  font-size: 15px !important;
  white-space: nowrap;
  letter-spacing: 0.14em !important;
}
.ld-venn {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
}

/* 事業概要：「FEATURE 01」と見出しの間を詰める（英字ラベルのない見出しグループ） */
.h-reverse hgroup:not(:has(> p[lang="en"])) {
  gap: 4px;
}
.h-reverse hgroup:not(:has(> p[lang="en"])) > h3 {
  margin-top: 4px !important;
}

/* 「Webデザイナー｜ともか」の縦線を細く */
.ld-vbar {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin: 0 0.6em;
  background: currentColor;
  vertical-align: -0.12em;
}

/* 下層ページの英字タイトル（SPECIFIED COMMERCIAL TRANSACTION ACT など）の行間を狭く */
.smb-custom-field {
  line-height: 1.2 !important;
}
.h-reverse hgroup:not(:has(> p[lang="en"])) > p {
  line-height: 1.1 !important;
}
.wp-block-group.h-reverse hgroup:not(:has(> p[lang="en"])) > h3.wp-block-heading {
  margin-top: 6px !important;
}

/* ==========================================================
   2026-11-02 追加調整（4）
   ========================================================== */

/* パンくず：家アイコンを文字と同じ行に（区切りが次の行に落ちていた） */
.breadcrumb {
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb .ld-home-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0;
  vertical-align: -2px;
}
.breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

/* メインビジュアルの Scroll：縦書き＋下に伸びる線 */
.ld-fv__scroll {
  left: clamp(20px, 3vw, 48px) !important;
  bottom: 0 !important;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
}
.ld-fv__scroll::after {
  position: relative;
  width: 1px !important;
  height: 72px !important;
  margin: 0 !important;
  background: linear-gradient(var(--ld-dark), var(--ld-dark)) no-repeat top / 1px 100%, var(--ld-line) !important;
  animation: ld-scroll-line 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes ld-scroll-line {
  0%   { background-size: 1px 0%, auto;   background-position: top, 0 0; }
  50%  { background-size: 1px 100%, auto; background-position: top, 0 0; }
  51%  { background-size: 1px 100%, auto; background-position: bottom, 0 0; }
  100% { background-size: 1px 0%, auto;   background-position: bottom, 0 0; }
}

/* ふわっと表示：見出し・カード・実績などが1つずつ、ぼかしの状態から浮き上がる（latte-reveal.js） */
.ld-reveal-on .ld-reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(2px);
  transition:
    opacity 1s ease var(--ld-delay, 0s),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--ld-delay, 0s),
    filter 1s ease var(--ld-delay, 0s);
}
.ld-reveal-on .ld-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .ld-reveal-on .ld-reveal { opacity: 1; transform: none; transition: none; }
  .ld-fv__scroll::after { animation: none; }
}
/* Scroll は右端・縦の真ん中あたり（右の実績の列より外側） */
.ld-fv__scroll {
  left: auto !important;
  right: clamp(10px, 1.2vw, 20px) !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  z-index: 6;
}
@media (max-width: 750px) {
  .ld-fv__scroll { right: 6px !important; top: 42% !important; }
}

/* セクションタイトルの日本語を、英字ラベルと同じ色に */
.h-reverse hgroup:has(> p[lang="en"]) > :is(h1, h2, h3) {
  color: var(--ld-dark) !important;
}

/* STEP の丸の文字：Cinzel（画像の丸の上に重ねる） */
.ld-step {
  position: relative;
  display: block;
}
.ld-step > img { display: block; width: 100%; height: auto; }
.ld-step__label {
  position: absolute;
  top: 0;
  left: 0;
  width: 47.2%;          /* 画像の幅に対する丸の大きさ */
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  font-family: var(--ld-en);
  color: #3D3D3F;
  line-height: 1;
  pointer-events: none;
}
.ld-step__label > span:first-child {
  font-size: clamp(10px, 1vw, 14px);
  letter-spacing: 0.14em;
}
.ld-step__num {
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 0.04em;
}
/* 文字の大きさは丸の大きさに合わせる（元の画像と同じ比率） */
.ld-step__label { container-type: inline-size; }
.ld-step__label > span:first-child { font-size: 13cqw; }
.ld-step__num { font-size: 30cqw; }

/* メインビジュアル「人と人をつなぐ ホームページ制作事務所」も、下の文字と同じ柔らかい色に */
.ld-fv__lead {
  color: #967C7C !important;
}

/* アーチにほんのり影（Figma: Rectangle 2897） */
.ld-fv__arch {
  box-shadow: 0px 0px 27.1px rgba(163, 140, 140, 0.13);
  border-radius: 326.5px 326.5px 0px 0px;
}

/* ==========================================================
   スマホのFV：アーチを小さくして下に置き、上で実績が見えるように
   ========================================================== */
@media (max-width: 750px) {
  .ld-fv { height: clamp(620px, calc(100svh - 110px), 760px); }
  .ld-fv__copy {
    top: auto;
    bottom: 0;
    transform-origin: 50% 100%;
    transform: translateX(-50%) translateY(var(--py)) scale(var(--s));
  }
  .ld-fv__item[data-lane="a"],
  .ld-fv__item[data-lane="b"] { left: 3%; width: 45vw; }
  .ld-fv__item[data-lane="c"],
  .ld-fv__item[data-lane="d"] { left: 52%; width: 45vw; }
}

/* ==========================================================
   2026-11-02 追加調整（5）
   ========================================================== */

/* ハンバーガー（MENU）と下層ページの大きな英字見出しをロゴの色 #967C7C に */
.sp_header__hamburger-icon { background-image: url("/assets/sp_menu_btn_open.png") !important; }
.open.sp_header__hamburger-icon { background-image: url("/assets/sp_menu_btn_close.png") !important; }
.wp-block-group.has-x-huge-font-size .smb-custom-field { color: #967C7C !important; }

/* よくある質問：白い背景の角まるなし（外側の箱にも角まるがあった） */
.smb-accordion { border-radius: 0 !important; }

/* タブ：選んでいないタブの背景は #FAF8F6（ブログの背景に埋もれないように） */
.smb-tabs .smb-tabs__tab-wrapper button.smb-tabs__tab[aria-selected="false"] {
  background-color: #FAF8F6 !important;
}

/* フッター：「＼ 無料相談受付中 ／」は明朝体、ロゴはヘッダーと同じ大きさ */
footer .ld-pr-text {
  font-family: "Shippori Mincho", serif !important;
  font-weight: 500;
  letter-spacing: 0.1em;
}
footer .ld-logo--footer {
  width: 240px !important;
  max-width: 100%;
  height: auto;
}

/* こんなお悩み：スライドの位置バー（スマホのみ表示） */
.ld-slide-bar { display: none; }

@media (max-width: 750px) {
  /* 実績は2列（右列を少し下げた互い違い） */
  .wp-block-post-template:has(> li[class*="category-works"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 36px !important;
    padding-bottom: 40px;
  }
  .wp-block-post-template > li[class*="category-works"]:nth-child(even) { transform: translateY(40px); }
  .wp-block-post-template > li[class*="category-works"] .wp-block-post-title {
    margin-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
  .wp-block-post-template > li[class*="category-works"]::after {
    margin-top: 8px;
    padding: 3px 8px 2px;
    font-size: 9px;
  }

  /* 実績の一覧 → デザイン実績の帯 → ボタン の間を広げる */
  .ld-marquee { margin-top: 64px !important; }
  .ld-marquee + .ld-btn-wrap { margin-top: 48px !important; }

  /* 制作のながれ：矢印は右下に丸で */
  .smb-spider-contents-slider .spider__arrows {
    position: static !important;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-right: 4px;
    pointer-events: auto;
  }
  .smb-spider-contents-slider .spider__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
  }

  /* サービス：画像を小さくして、カードの下まで見えてから次のカードが重なるように */
  .ld-svc__img { width: 150px; margin: 0 auto !important; }
  .ld-svc__img img { max-height: none; }

  /* こんなお悩み：3つを横並びでスライド */
  .wp-block-columns.ld-slide {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: calc(-1 * var(--ld-gutter, 22px));
    padding-right: var(--ld-gutter, 22px);
  }
  .wp-block-columns.ld-slide::-webkit-scrollbar { display: none; }
  .wp-block-columns.ld-slide > .wp-block-column {
    flex: 0 0 82% !important;
    scroll-snap-align: start;
  }
  .ld-slide-bar {
    display: block;
    position: relative;
    height: 2px;
    margin: 24px auto 0;
    width: 60%;
    background: var(--ld-line);
    overflow: hidden;
  }
  .ld-slide-bar__thumb {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 33%;
    background: var(--ld-dark);
    transition: transform 0.15s linear;
  }

  /* 背景画像のお問い合わせ：固定をやめ、高さを抑えて画像を広く見せる */
  .smb-section-with-bgimage { min-height: 0 !important; }
  .smb-section-with-bgimage .smb-section__inner { padding-top: 56px !important; padding-bottom: 56px !important; }
  .smb-section-with-bgimage .smb-section-with-bgimage__bgimage img {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    object-position: center;
  }
}
@media (max-width: 750px) {
  .smb-section-with-bgimage .smb-section__body > .wp-block-group { padding-top: 0 !important; padding-bottom: 0 !important; }
  .smb-section-with-bgimage .smb-section__inner { padding-top: 48px !important; padding-bottom: 48px !important; }
}
footer .ld-logo--footer { max-width: min(240px, 100%) !important; }
@media (max-width: 750px) {
  /* こんなお悩み：横スライドのカードは内側の余白を詰めて読みやすく */
  .wp-block-columns.ld-slide > .wp-block-column {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  .wp-block-columns.ld-slide h3 { font-size: 16px !important; }
}

/* 背景画像のお問い合わせだけ：見出しは横書きで「無料相談受付中」の上に中央寄せ */
.smb-section-with-bgimage .smb-section__body > .wp-block-group:has(> .h-reverse:first-child) {
  display: block;
}
.smb-section-with-bgimage .smb-section__body > .wp-block-group:has(> .h-reverse:first-child) > .h-reverse {
  position: static;
  margin-bottom: 40px !important;
}
.smb-section-with-bgimage .h-reverse hgroup {
  align-items: center;
  gap: 10px;
}
.smb-section-with-bgimage .h-reverse hgroup > h2 {
  writing-mode: horizontal-tb;
}

/* サービスの番号（01〜06）をロゴの色に */
.ld-svc__num { color: #967C7C !important; }

/* サービスのカード：真っ白ではなく、ほんのりベージュ（ページ背景 #FAF8F6 より少し明るい） */
.ld-svc__card,
.ld-svc__card:nth-child(3n + 2),
.ld-svc__card:nth-child(3n + 3) {
  background: #FEFBF8 !important;
}

/* ==========================================================
   2026-11-02 追加調整（6）
   ========================================================== */

/* デザイン実績の帯と「制作実績一覧」ボタンの間を広げる（PC） */
@media (min-width: 751px) {
  .ld-marquee + .ld-btn-wrap { margin-top: 72px !important; }
}

/* スマホ用グロナビ（PCでは出さない） */
.ld-spnav { display: none; }

@media (max-width: 750px) {
  /* FVのアーチを少し上に */
  .ld-fv__copy { bottom: 56px; }

  /* ロゴ・ハンバーガーを小さく（フッターのロゴもヘッダーと同じ大きさ） */
  header .ld-logo { width: 160px !important; height: auto; }
  footer .ld-logo--footer { width: 160px !important; }
  .sp_header__hamburger-icon,
  .open.sp_header__hamburger-icon { width: 38px !important; height: 38px !important; top: -9px !important; }

  /* グロナビ：横にスワイプ */
  .ld-spnav {
    display: block;
    position: relative;
    border-top: 0.5px solid var(--ld-line);
    border-bottom: 0.5px solid var(--ld-line);
    background: var(--ld-paper);
  }
  .ld-spnav::after { /* 右端をうっすらぼかして「続きがある」とわかるように */
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 36px;
    background: linear-gradient(to right, rgba(250, 248, 246, 0), var(--ld-paper));
    pointer-events: none;
  }
  .ld-spnav__list {
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 10px 40px 10px 20px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ld-spnav__list::-webkit-scrollbar { display: none; }
  .ld-spnav__list li { flex: none; scroll-snap-align: start; }
  .ld-spnav__list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--ld-dark) !important;
    text-decoration: none !important;
  }
  .ld-spnav__en {
    font-family: var(--ld-en);
    font-size: 9px;
    letter-spacing: 0.14em;
    color: var(--ld-accent);
    text-transform: uppercase;
  }
  .ld-spnav__ja {
    font-family: "Shippori Mincho", serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  /* サービス：高さをそろえたカードの中身は縦の真ん中に */
  .ld-svc__card { align-content: center; }
}

@media (max-width: 750px) {
  .ld-spnav__list { scroll-padding-left: 20px; }
}

/* スマホ：セクションタイトルと本文の間を詰める（24px） */
@media (max-width: 750px) {
  .smb-section__body > .wp-block-group:has(> .h-reverse:first-child) > .h-reverse { margin-bottom: 24px !important; }
  .smb-section__body > .wp-block-group > .h-reverse + *,
  .smb-section__body > .wp-block-group > .h-reverse + * > :first-child,
  .smb-section__body > .wp-block-group > .h-reverse + * > :first-child > :first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* トップ：お問い合わせフォームの背景に、元の「背景画像のお問い合わせ」の画像を敷く
   PCは画像を画面に固定（中身がその上をスクロール）、スマホはセクションに合わせて表示 */
body.home section#contact {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
}
body.home section#contact::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(250, 248, 246, 0.45), rgba(250, 248, 246, 0.45)),
    url("/wp-content/uploads/2025/07/contact_bg.jpg") center / cover no-repeat;
}
@media (max-width: 750px) {
  body.home section#contact::before {
    position: absolute;
    background:
      linear-gradient(rgba(250, 248, 246, 0.55), rgba(250, 248, 246, 0.55)),
      url("/wp-content/uploads/2025/07/contact_bg-1024x348.jpg") center / cover no-repeat;
  }
}

/* スクロール中、左上にロゴ（右上の Contact / Menu と同じタイミングで表示） */
.ld-float-logo {
  position: fixed;
  z-index: 1000;
  top: 20px;
  left: var(--ld-side, 24px);
  display: flex;
  align-items: center;
  height: 50px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ld-float-logo.is-show { opacity: 1; transform: none; pointer-events: auto; }
.ld-float-logo img { display: block; width: 180px; height: auto; }
.ld-menu-open .ld-float-logo { opacity: 0; pointer-events: none; }
@media (max-width: 750px) {
  .ld-float-logo { top: 12px; left: 14px; height: 40px; }
  .ld-float-logo img { width: 112px; }
}

/* 制作のながれ：矢印はPCでも右下に丸で（スマホと同じ） */
.smb-spider-contents-slider .spider__arrows {
  position: static !important;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-right: 4px;
  pointer-events: auto;
}
.smb-spider-contents-slider .spider__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50% !important;
}
@media (max-width: 750px) {
  .smb-spider-contents-slider .spider__arrows { margin-top: 20px; }
  .smb-spider-contents-slider .spider__arrow { width: 48px; height: 48px; }
}

/* 制作のながれ：矢印の左にスライドの位置バー（PC・スマホとも） */
.ld-slide-bar.ld-slide-bar--flow {
  display: block;
  position: relative;
  align-self: center;
  flex: 1 1 auto;
  max-width: 420px;
  height: 2px;
  margin: 0 auto 0 0;
  background: var(--ld-line);
  overflow: hidden;
  pointer-events: none;
}
.ld-slide-bar--flow .ld-slide-bar__thumb {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--ld-dark);
  transition: transform 0.15s linear;
}
@media (max-width: 750px) {
  .ld-slide-bar.ld-slide-bar--flow { width: auto; margin: 0 16px 0 0; }
}

/* サービスのカード：「〇〇の実績を見る」ボタン */
.ld-svc__more { margin-top: 32px !important; }
.ld-svc__more .ld-btn { width: 300px; }
@media (max-width: 750px) {
  .ld-svc__more { margin-top: 20px !important; }
  .ld-svc__more .ld-btn { width: 100%; min-height: 48px; }
}
@media (max-width: 750px) {
  /* サービス：ボタンが入ってもカードが画面に収まるよう、使用ツールを1行に・画像を少し小さく */
  .ld-svc__tools { flex-wrap: nowrap; gap: 14px; margin-top: 18px; font-size: 11px; }
  .ld-svc__tools span { white-space: nowrap; }
  .ld-svc__tools img[alt="WordPress"] { width: 92px; }
  .ld-svc__tools img[alt="Studio"] { width: 62px; }
  .ld-svc__tags:empty { display: none; }
  .ld-svc__img { width: 130px; }
  .ld-svc__more .ld-btn { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
}

/* ヘッダーの「お問い合わせ」：右上の Contact と同じ濃い茶＋白文字、ほかのメニューと同じく英字ラベル付き */
header .wp-block-button__link.wp-element-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
  background-color: var(--ld-dark) !important;
  color: #fff !important;
}
header .wp-block-button__link.wp-element-button::before {
  content: "CONTACT";
  display: block;
  margin-bottom: 2px;
  font-family: var(--ld-en);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
}
header .wp-block-button__link.wp-element-button:hover {
  background-color: var(--ld-ink) !important;
  border-color: var(--ld-ink) !important;
}

/* 制作のながれ：スライドバーは矢印のすぐ左（右寄せ） */
.ld-slide-bar.ld-slide-bar--flow { margin: 0 24px 0 auto; }
@media (max-width: 750px) {
  .ld-slide-bar.ld-slide-bar--flow { margin: 0 16px 0 0; }
}

/* ==========================================================
   2026-11-11 参考サイト（ともかの再生美容ノート）の動きを取り入れ
   ========================================================== */
:root { --ld-ease: cubic-bezier(.25, .46, .45, .94); }

/* なめらかスクロール（Lenis）用 */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* 1. 文字のマスク表示：上から下へ流れるグラデーションのマスクで、ふわっと現れる */
.ld-reveal-on .h-reverse.ld-reveal { opacity: 1; transform: none; filter: none; }
.ld-reveal-on .h-reverse.ld-reveal hgroup > *,
.ld-fv__lead, .ld-fv__title, .ld-fv__tags {
  -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 15%, #000 42%, #000 58%, transparent 85%);
          mask-image: linear-gradient(to top, transparent 0%, transparent 15%, #000 42%, #000 58%, transparent 85%);
  -webkit-mask-size: 100% 400%; mask-size: 100% 400%;
  -webkit-mask-position: center top; mask-position: center top;
}
.ld-reveal-on .h-reverse.ld-reveal.is-in hgroup > * {
  -webkit-mask-position: center center; mask-position: center center;
  transition: -webkit-mask-position 1.8s var(--ld-ease), mask-position 1.8s var(--ld-ease);
}
/* 英字ラベル → 日本語の順に */
.ld-reveal-on .h-reverse.ld-reveal.is-in hgroup > :is(h1, h2, h3) { transition-delay: .15s; }
/* FVの文字：開いたときに順番に現れる */
.ld-fv__lead, .ld-fv__title, .ld-fv__tags { animation: ld-mask-in 1.8s var(--ld-ease) both; }
.ld-fv__lead { animation-delay: .4s; }
.ld-fv__title { animation-delay: .7s; }
.ld-fv__tags { animation-delay: 1s; }
@keyframes ld-mask-in {
  from { -webkit-mask-position: center top; mask-position: center top; }
  to   { -webkit-mask-position: center center; mask-position: center center; }
}

/* 2. カード・写真：静かにフェードイン（ぼかしなし、ゆっくり） */
.ld-reveal-on .ld-reveal {
  filter: none;
  transition:
    opacity 1.8s var(--ld-ease) var(--ld-delay, 0s),
    transform 1.8s var(--ld-ease) var(--ld-delay, 0s);
}

/* 3. メニュー：幕が上から下りてくる。項目も上から順に現れる */
.ld-menu { transition: opacity .6s var(--ld-ease); }
.ld-menu__panel {
  transform: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 33.3%, transparent 66.6%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 33.3%, transparent 66.6%, transparent 100%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%;
  -webkit-mask-position: left bottom; mask-position: left bottom;
  transition: -webkit-mask-position .9s var(--ld-ease), mask-position .9s var(--ld-ease);
}
.ld-menu.is-open .ld-menu__panel { -webkit-mask-position: left top; mask-position: left top; }
.ld-menu__list li {
  -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 15%, #000 42%, #000 58%, transparent 85%);
          mask-image: linear-gradient(to top, transparent 0%, transparent 15%, #000 42%, #000 58%, transparent 85%);
  -webkit-mask-size: 100% 400%; mask-size: 100% 400%;
  -webkit-mask-position: center top; mask-position: center top;
}
.ld-menu.is-open .ld-menu__list li {
  -webkit-mask-position: center center; mask-position: center center;
  transition: -webkit-mask-position 1.2s var(--ld-ease), mask-position 1.2s var(--ld-ease);
}
.ld-menu.is-open .ld-menu__list li:nth-child(1) { transition-delay: .45s; }
.ld-menu.is-open .ld-menu__list li:nth-child(2) { transition-delay: .55s; }
.ld-menu.is-open .ld-menu__list li:nth-child(3) { transition-delay: .65s; }
.ld-menu.is-open .ld-menu__list li:nth-child(4) { transition-delay: .75s; }
.ld-menu.is-open .ld-menu__list li:nth-child(5) { transition-delay: .85s; }
.ld-menu.is-open .ld-menu__list li:nth-child(6) { transition-delay: .95s; }
.ld-menu.is-open .ld-menu__list li:nth-child(7) { transition-delay: 1.05s; }

/* 4. ボタンの矢印：マウスを乗せると右へ抜けて、左から戻ってくる */
.ld-btn .ld-btn__icon { overflow: visible; }
.ld-btn:hover .ld-btn__icon { transform: translateY(-50%); animation: ld-arw .6s var(--ld-ease); }
@keyframes ld-arw {
  0%    { translate: 0 0;    opacity: 1; }
  50%   { translate: 60% 0;  opacity: 0; }
  50.1% { translate: -60% 0; opacity: 0; }
  100%  { translate: 0 0;    opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ld-reveal-on .h-reverse.ld-reveal hgroup > *,
  .ld-fv__lead, .ld-fv__title, .ld-fv__tags,
  .ld-menu__panel, .ld-menu__list li { -webkit-mask-image: none; mask-image: none; animation: none; }
  .ld-btn:hover .ld-btn__icon { animation: none; }
}

/* ---------- 半円：スクロールで広がる（わたしについて） ---------- */
.ld-dome-sec {
  --sy: 0;
  --scale: min(calc(.6 + var(--sy) * .0005), 1);
  --half: calc((1 - var(--scale)) / 2);
  position: relative;
  isolation: isolate;
}
.ld-dome {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(var(--half) * 100%);
  right: calc(var(--half) * 100%);
  background: linear-gradient(160deg, #F1ECE8 0%, #E7DED9 100%);
  border: 1px solid var(--ld-line);
  border-bottom: 0;
  border-radius: 50vw 50vw 0 0;
  pointer-events: none;
}
/* 内側のもう1本の線（二重線） */
.ld-dome::after {
  content: "";
  position: absolute;
  inset: 16px 16px 0;
  border: 1px solid var(--ld-paper);
  border-bottom: 0;
  border-radius: 50vw 50vw 0 0;
}
/* 半円の丸い部分に中身が重ならないよう、上に余白 */
.ld-dome-sec > .smb-section__inner { padding-top: clamp(140px, 16vw, 260px) !important; }
@media (max-width: 750px) {
  .ld-dome-sec { --scale: min(calc(.7 + var(--sy) * .0006), 1); }
  .ld-dome-sec > .smb-section__inner { padding-top: 120px !important; }
  .ld-dome::after { inset: 10px 10px 0; }
}

/* ---------- 二重線：FVのアーチ・こんなお悩みの丸 ---------- */
.ld-fv__arch { border: 1px solid #967C7C; }
.ld-fv__arch::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #967C7C;
  border-radius: 326.5px 326.5px 0 0;
  pointer-events: none;
}
.wp-block-column[style*="border-radius:20em"] {
  box-shadow:
    inset 0 0 0 1px #967C7C,
    inset 0 0 0 7px var(--wp--preset--color--custom-ld-color-4, #F1ECE8),
    inset 0 0 0 8px #967C7C;
}

/* ==========================================================
   2026-11-11 追加調整（2）
   ========================================================== */

/* セクションの上下の波線は使わない */
.smb-section__dividers { display: none !important; }

/* 半円はサービスのセクションへ（もとの背景色は消して、半円だけを見せる） */
.ld-dome-sec > .smb-section__fixed-background { background: none !important; }

/* ---------- ブログ：仮記事のカード（参考サイトの記事カードと同じつくり） ---------- */
.ld-posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
.ld-post a {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
  padding: 14px 14px 22px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px -22px rgba(64, 58, 58, .5);
  color: var(--ld-ink) !important;
  text-decoration: none !important;
}
.ld-post__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ld-cream);
}
.ld-post__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ld-ease);
}
.ld-post__cat {
  position: absolute;
  z-index: 1;
  top: 26px;
  left: 26px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--ld-paper);
  color: var(--ld-dark);
  font-family: "Shippori Mincho", serif;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .1em;
}
.ld-post__date {
  padding: 18px 6px 0;
  font-family: var(--ld-en);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ld-accent);
}
.ld-post__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 4px 6px 0;
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  transition: color .6s var(--ld-ease);
}
.ld-post a::after {
  content: "Read more";
  justify-self: end;
  margin: 14px 6px 0 0;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ld-accent);
  font-family: var(--ld-en);
  font-size: 13px;
  letter-spacing: .06em;
}
.ld-slide-bar--posts { display: none; }

@media (max-width: 750px) {
  /* トップのタブの中は横にスライド（下に位置バー） */
  .ld-posts:not(.ld-posts--grid) {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: calc(-1 * var(--ld-gutter, 22px));
    padding: 4px var(--ld-gutter, 22px) 16px 0;
  }
  .ld-posts:not(.ld-posts--grid)::-webkit-scrollbar { display: none; }
  .ld-posts:not(.ld-posts--grid) > .ld-post { flex: 0 0 80%; scroll-snap-align: start; }
  .ld-slide-bar.ld-slide-bar--posts { display: block; margin-top: 12px; }
  /* ブログ一覧ページは1列 */
  .ld-posts--grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- トップ：セクションの区切り（上の角を大きく丸めて、前のセクションに重ねる） ---------- */
:root { --ld-sec-r: clamp(48px, 7vw, 110px); }
.ld-sec {
  position: relative;
  margin-top: calc(-1 * var(--ld-sec-r)) !important;
  border-radius: var(--ld-sec-r) var(--ld-sec-r) 0 0;
}
.ld-sec > .smb-section__inner { padding-top: calc(var(--ld-sec-r) + clamp(56px, 7vw, 96px)) !important; }
.ld-sec--paper { background-color: var(--ld-paper) !important; }
.ld-sec--cream { background-color: #F1ECE8 !important; }
/* セクション側の背景色レイヤーは使わない（セクション本体の色と角丸を見せる） */
.ld-sec > .smb-section__fixed-background { background: none !important; }
/* 背景画像のお問い合わせ：画像も角丸の形で切り抜く */
body.home section#contact.ld-sec {
  clip-path: inset(0 round var(--ld-sec-r) var(--ld-sec-r) 0 0);
  background-color: var(--ld-paper) !important;
}
/* 半円のあるサービスは、半円の上に余白をとる */
.ld-dome-sec.ld-sec > .smb-section__inner { padding-top: calc(var(--ld-sec-r) + clamp(140px, 14vw, 220px)) !important; }
/* フッター */
footer > .smb-section.ld-sec { padding-top: calc(var(--ld-sec-r) + 80px) !important; }
@media (max-width: 750px) {
  .ld-sec > .smb-section__inner { padding-top: calc(var(--ld-sec-r) + 40px) !important; }
  .ld-dome-sec.ld-sec > .smb-section__inner { padding-top: calc(var(--ld-sec-r) + 100px) !important; }
}

/* ==========================================================
   2026-11-11 追加調整（3）
   ========================================================== */

/* ---------- ブログのカード：左に縦書きのカテゴリ、右上に写真、その下に日付とタイトル（細い線の四角） ---------- */
.ld-post a {
  grid-template-columns: clamp(44px, 4.6vw, 64px) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "cat thumb" "cat date" "cat title";
  padding: 0 0 clamp(24px, 2.6vw, 36px);
  background: #fff;
  border: 1px solid var(--ld-dark);
  border-radius: 0;
  box-shadow: none;
}
.ld-post a::after { content: none; }
.ld-post__thumb { grid-area: thumb; aspect-ratio: 16 / 9; border-radius: 0; }
.ld-post__cat {
  grid-area: cat;
  position: static;
  justify-self: center;
  padding: 18px 0 0;
  background: none;
  border-radius: 0;
  writing-mode: vertical-rl;
  color: var(--ld-ink);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1;
  letter-spacing: .2em;
}
.ld-post__date {
  grid-area: date;
  padding: clamp(16px, 1.8vw, 24px) clamp(16px, 1.6vw, 24px) 0 0;
  font-family: var(--ld-body-font);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ld-accent);
}
.ld-post__title {
  grid-area: title;
  padding: 10px clamp(16px, 1.6vw, 24px) 0 0;
  font-family: var(--ld-body-font);
  font-weight: 400;
  font-size: 15px;
}

/* ---------- セクションの区切り：上の余白を詰める・最初のセクションはお知らせに重ねない ---------- */
.ld-sec > .smb-section__inner { padding-top: calc(var(--ld-sec-r) + 16px) !important; }
.ld-dome-sec.ld-sec > .smb-section__inner { padding-top: calc(var(--ld-sec-r) + clamp(60px, 7vw, 110px)) !important; }
footer > .smb-section.ld-sec { padding-top: calc(var(--ld-sec-r) + 24px) !important; }
.ld-sec--first { margin-top: 0 !important; }
@media (max-width: 750px) {
  .ld-sec > .smb-section__inner { padding-top: calc(var(--ld-sec-r) + 8px) !important; }
  .ld-dome-sec.ld-sec > .smb-section__inner { padding-top: calc(var(--ld-sec-r) + 56px) !important; }
}

/* ---------- サービス：まわりの背景も円と同じ色に ---------- */
.ld-dome-sec.ld-sec { background-color: #F1ECE8 !important; }

/* ---------- こんなお悩み：二重線は白 ---------- */
.wp-block-column[style*="border-radius:20em"] {
  box-shadow:
    inset 0 0 0 1px #fff,
    inset 0 0 0 7px var(--wp--preset--color--custom-ld-color-4, #F1ECE8),
    inset 0 0 0 8px #fff;
}

/* ==========================================================
   2026-11-11 追加調整（4）セクションの余白をそろえる
   --ld-space：どのセクションも、上の余白と下の余白はこの値
   （下は次のセクションが角丸ぶん重なるので、そのぶん --ld-sec-r を足す）
   ========================================================== */
:root { --ld-space: clamp(56px, 6vw, 88px); }
.ld-sec {
  padding-top: var(--ld-space) !important;
  padding-bottom: calc(var(--ld-sec-r) + var(--ld-space)) !important;
}
/* ほかの場所についていた上下の余白は使わない */
.ld-sec > .smb-section__inner,
.ld-dome-sec.ld-sec > .smb-section__inner { padding-top: 0 !important; padding-bottom: 0 !important; }
.ld-sec .smb-section__body > .wp-block-group:first-child { padding-top: 0 !important; padding-bottom: 0 !important; }
.ld-sec .smb-section__body > .wp-block-group > .h-reverse + *,
.ld-sec .smb-section__body > .wp-block-group > .h-reverse + * > :first-child { margin-top: 0 !important; }
/* フッターは次のセクションがないので、下は通常の余白 */
footer > .smb-section.ld-sec { padding-top: var(--ld-space) !important; padding-bottom: var(--ld-space) !important; }
/* お知らせの下 → わたしについて の間を詰める */
.ld-sec-before { padding-bottom: 0 !important; }
.ld-sec-before > .smb-section__inner { padding-bottom: 0 !important; }

/* サービスの背景は #FAF8F6（円はそのまま） */
.ld-dome-sec.ld-sec { background-color: var(--ld-paper) !important; }

/* サービスのカード：内側にもう1本の線（二重線） */
.ld-svc__card {
  box-shadow:
    inset 0 0 0 1px var(--ld-line),
    inset 0 0 0 8px #FEFBF8,
    inset 0 0 0 9px var(--ld-line),
    0 -16px 48px -28px rgba(64, 58, 58, .35) !important;
}
@media (max-width: 750px) {
  :root { --ld-space: 48px; }
  .ld-svc__card {
    box-shadow:
      inset 0 0 0 1px var(--ld-line),
      inset 0 0 0 6px #FEFBF8,
      inset 0 0 0 7px var(--ld-line),
      0 -16px 48px -28px rgba(64, 58, 58, .35) !important;
  }
}
/* 一部のセクションの先頭にある空白用の部品（spacer）と、中の箱の上下余白も消してそろえる */
.ld-sec .smb-section__body > .wp-block-spacer { display: none !important; }
.ld-sec .smb-section__body > .wp-block-group { padding-top: 0 !important; padding-bottom: 0 !important; }
/* フッターもお問い合わせに角丸ぶん重ねる（ほかのセクションと同じ余白に） */
body.home footer.wp-block-template-part { position: relative; z-index: 30; margin-top: calc(-1 * var(--ld-sec-r)) !important; }
body.home footer > .smb-section.ld-sec { margin-top: 0 !important; }

/* ブログのカード：ホバーで白っぽく光らせない（写真が少し大きくなるだけ）
   カテゴリは日付と同じ色・できるだけ小さく、そのぶん写真を大きく */
.ld-post a,
.ld-post a:hover,
.ld-post a:focus-visible { opacity: 1 !important; }
.ld-post a { grid-template-columns: 30px minmax(0, 1fr); }
.ld-post__thumb { aspect-ratio: 4 / 3; }
.ld-post__cat {
  padding-top: 14px;
  font-family: var(--ld-body-font);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ld-accent);
}
@media (max-width: 750px) {
  .ld-post a { grid-template-columns: 26px minmax(0, 1fr); }
}
body.home footer.wp-block-template-part { top: auto !important; bottom: auto !important; }
body.home .entry-content > .wp-block-spacer:last-child { display: none !important; }

/* ==========================================================
   2026-11-11 追加調整（5）
   ========================================================== */

/* サービス：上の余白を広めに（半円の丸い部分に文字が重ならないように） */
.ld-dome-sec.ld-sec { padding-top: calc(var(--ld-space) + clamp(120px, 14vw, 200px)) !important; }
@media (max-width: 750px) { .ld-dome-sec.ld-sec { padding-top: calc(var(--ld-space) + 72px) !important; } }

/* 波線：ページタイトル（下層ページの上）だけ残す */
main > .wp-block-template-part .smb-section__dividers { display: block !important; }

/* フッターと最後の空白（下層ページにも同じ区切りを） */
body.ld-has-sec footer.wp-block-template-part { position: relative; z-index: 30; top: auto !important; bottom: auto !important; margin-top: calc(-1 * var(--ld-sec-r)) !important; }
body.ld-has-sec footer > .smb-section.ld-sec { margin-top: 0 !important; }
body.ld-has-sec .entry-content > .wp-block-spacer:last-child { display: none !important; }

/* ---------- ブログ：トップは6件を横スライド。カードは大きめ・間は狭め ---------- */
.ld-posts:not(.ld-posts--grid) {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 2px 12px;
}
.ld-posts:not(.ld-posts--grid)::-webkit-scrollbar { display: none; }
.ld-posts:not(.ld-posts--grid) > .ld-post { flex: 0 0 calc((100% - 40px) / 2.4); scroll-snap-align: start; }
.ld-posts--grid { gap: 20px; }
.ld-posts-ctrl {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.ld-slide-bar.ld-slide-bar--posts {
  display: block;
  position: relative;
  flex: 0 1 420px;
  height: 2px;
  margin: 0 24px 0 0;
  background: var(--ld-line);
  overflow: hidden;
}
.ld-slide-bar--posts .ld-slide-bar__thumb {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--ld-dark);
  transition: transform .15s linear;
}
.ld-posts-ctrl__btn {
  position: relative;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #F2EAE5;
  cursor: pointer;
  transition: background-color .3s ease;
}
.ld-posts-ctrl__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid #3D3D3F;
  border-right: 1px solid #3D3D3F;
  translate: -65% -50%;
  rotate: 45deg;
}
.ld-posts-ctrl__btn--prev::before { translate: -35% -50%; rotate: -135deg; }
.ld-posts-ctrl__btn:hover { background: var(--ld-dark); }
.ld-posts-ctrl__btn:hover::before { border-color: #fff; }

/* カード：枠線は日付の色。ホバーは写真が中で少し大きく＋枠線が濃く＋ほんのり影 */
.ld-post a {
  border-color: var(--ld-accent);
}

@media (max-width: 750px) {
  .ld-posts:not(.ld-posts--grid) {
    margin-right: calc(-1 * var(--ld-gutter, 22px));
    padding-right: var(--ld-gutter, 22px);
    gap: 14px;
  }
  .ld-posts:not(.ld-posts--grid) > .ld-post { flex: 0 0 82%; }
  .ld-posts-ctrl__btn { width: 44px; height: 44px; }
  .ld-slide-bar.ld-slide-bar--posts { flex: 1 1 auto; margin: 0 12px 0 0; width: auto; }
}

/* ==========================================================
   2026-11-11 追加調整（6）
   ========================================================== */

/* ブログのカード：ホバーで何も変えない（テーマの「リンクを明るくする」指定も止める） */
.ld-post a,
.ld-post a:hover,
.ld-post a:focus-visible { filter: none !important; opacity: 1 !important; }

/* サービス：見出しは横書きで真ん中、カードも真ん中に */
.ld-dome-sec .smb-section__body > .wp-block-group:has(> .h-reverse:first-child) { display: block; }
.ld-dome-sec .smb-section__body > .wp-block-group:has(> .h-reverse:first-child) > .h-reverse {
  position: static;
  margin-bottom: 40px !important;
}
.ld-dome-sec .h-reverse hgroup { align-items: center; gap: 10px; }
.ld-dome-sec .h-reverse hgroup > h2 { writing-mode: horizontal-tb; }
.ld-dome-sec .ld-svc { max-width: 1080px; margin-left: auto !important; margin-right: auto !important; }
.ld-dome-sec .ld-svc__intro { text-align: center; }
.ld-sec-before { padding-bottom: 24px !important; }

/* ---------- ブログ記事のページ ---------- */
.ld-article-wrap { padding: clamp(48px, 6vw, 88px) var(--ld-side, 24px) clamp(64px, 8vw, 120px); }
.ld-article { max-width: 760px; margin: 0 auto; }
.ld-article__meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--ld-accent); }
.ld-article__cat {
  padding: 2px 12px;
  border: 1px solid var(--ld-accent);
  border-radius: 999px;
  letter-spacing: .08em;
}
.ld-article__date { letter-spacing: .1em; }
.ld-article__title {
  margin: 20px 0 32px !important;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px) !important;
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--ld-dark);
}
.ld-article__hero { margin: 0 0 40px !important; aspect-ratio: 16 / 9; overflow: hidden; }
.ld-article__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-article__lead { margin: 0 0 40px !important; }
.ld-article__toc {
  margin: 0 0 56px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--ld-accent);
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px var(--ld-line);
}
.ld-article__toc-title {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0 0 12px !important;
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  color: var(--ld-dark);
}
.ld-article__toc-title span { font-family: var(--ld-en); font-size: 10px; letter-spacing: .14em; color: var(--ld-accent); }
.ld-article__toc ol { margin: 0; padding-left: 1.4em; }
.ld-article__toc li { margin: 4px 0; }
.ld-article__toc a { color: var(--ld-ink) !important; text-decoration: none; border-bottom: 1px solid var(--ld-line); }
.ld-article__h2 {
  margin: 56px 0 20px !important;
  padding: 0 0 12px 16px;
  border-left: 2px solid var(--ld-accent);
  border-bottom: 1px solid var(--ld-line);
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px) !important;
  line-height: 1.6;
  color: var(--ld-dark);
}
.ld-article__body p { margin: 0 0 1.4em !important; }
.ld-article__cta {
  margin: 72px 0 56px;
  padding: 40px clamp(24px, 4vw, 48px);
  background: #F1ECE8;
  text-align: center;
  border-radius: 0;
}
.ld-article__cta-en { margin: 0 !important; font-family: var(--ld-en); font-size: 10px; letter-spacing: .14em; color: var(--ld-accent); }
.ld-article__cta-title { margin: 6px 0 12px !important; font-family: "Shippori Mincho", serif; font-size: 18px; color: var(--ld-dark); }
.ld-article__cta .ld-btn { background: var(--ld-dark) !important; color: #fff !important; }
.ld-article__related-title {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0 0 16px !important;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 18px !important;
  color: var(--ld-dark);
}
.ld-article__related-title span { font-family: var(--ld-en); font-size: 10px; letter-spacing: .14em; color: var(--ld-accent); }
.ld-article__related ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ld-line); }
.ld-article__related li { border-bottom: 1px solid var(--ld-line); }
.ld-article__related a { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 4px; color: var(--ld-ink) !important; text-decoration: none; filter: none !important; }
.ld-article__rel-date { font-size: 12px; color: var(--ld-accent); letter-spacing: .08em; }
.ld-article__back { margin-top: 56px !important; }
@media (max-width: 750px) {
  .ld-article__toc { padding: 22px 20px; }
  .ld-article__related a { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================
   2026-11-11 追加調整（7）
   ========================================================== */

/* パンくずリスト：12px */
.breadcrumb, .breadcrumb-item, .breadcrumb-item a { font-size: 12px !important; }
.breadcrumb .ld-home-icon { width: 14px; height: 14px; }

/* サービス：いまどのカードかが分かるドット（カードの上・スクロール中も残る） */
.ld-svc-dots {
  position: sticky;
  z-index: 20;
  top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  margin: 8px auto 28px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(250, 248, 246, .85);
  backdrop-filter: blur(4px);
}
.ld-svc-dots__num { font-family: var(--ld-en); font-size: 12px; letter-spacing: .12em; color: var(--ld-accent); }
.ld-svc-dots__num b { font-weight: 400; color: var(--ld-dark); }
.ld-svc-dots__list { display: flex; gap: 8px; }
.ld-svc-dots__dot {
  width: 9px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--ld-dark);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  transition: background-color .5s var(--ld-ease), width .5s var(--ld-ease);
}
.ld-svc-dots__dot.is-active { width: 22px; background: var(--ld-dark); }
@media (max-width: 750px) {
  .ld-svc-dots { top: 58px; margin-bottom: 18px; padding: 6px 14px; }
}

/* ---------- お問い合わせの案内（参考：濃い茶の角丸の箱・丸い矢印ボタン） ---------- */
.ld-cta {
  margin: 72px 0 56px;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px);
  background: var(--ld-dark);
  border-radius: 24px;
  color: #fff;
  text-align: center;
}
.ld-cta__en {
  margin: 0 !important;
  font-family: var(--ld-en);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .08em;
  color: #fff;
}
.ld-cta__title {
  margin: 18px 0 20px !important;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: .08em;
  color: #fff;
}
.ld-cta__text { margin: 0 !important; font-family: "Shippori Mincho", serif; font-size: 14px; line-height: 2; color: #fff; }
.ld-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; margin-top: 32px; }
.ld-cbtn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Shippori Mincho", serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: .06em;
  filter: none !important;
}
.ld-cbtn i {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 64px;
  border: 1px solid #fff;
  border-radius: 50%;
  overflow: hidden;
}
.ld-cbtn i::before {
  content: "→";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 18px;
}
.ld-cbtn:hover i::before { animation: ld-arw .6s var(--ld-ease); }
@media (max-width: 750px) {
  .ld-cta { border-radius: 18px; }
  .ld-cbtn i { width: 52px; height: 52px; }
}

/* ---------- ブログ記事：SEOのための追加要素 ---------- */
.ld-article__head { margin-bottom: 32px; }
.ld-article__title { margin-bottom: 14px !important; }
.ld-article__author { margin: 0 !important; font-size: 12px; color: var(--ld-accent); }
.ld-article__author a { color: var(--ld-dark) !important; }
.ld-article__cat { color: var(--ld-accent) !important; text-decoration: none !important; }
.ld-article__h3 {
  margin: 36px 0 12px !important;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 17px !important;
  line-height: 1.7;
  color: var(--ld-dark);
}
.ld-article__h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--ld-accent); vertical-align: .15em; }
.ld-article__ul { margin: 0 0 1.4em !important; padding: 20px 24px 20px 2.4em; background: #fff; border: 1px solid var(--ld-line); }
.ld-article__ul li { margin: 4px 0; }
.ld-article__box { margin: 32px 0 !important; padding: 22px 26px; background: #F1ECE8; }
.ld-article__box p { margin: 0 !important; }
.ld-article__box-label { font-family: var(--ld-en); font-size: 11px; letter-spacing: .14em; color: var(--ld-accent); margin-bottom: 6px !important; }
.ld-article__points { margin: 0 0 32px; padding: 22px 26px; background: #F1ECE8; }
.ld-article__points-title { margin: 0 0 8px !important; font-family: "Shippori Mincho", serif; font-weight: 500; color: var(--ld-dark); }
.ld-article__points ul { margin: 0; padding-left: 1.4em; }
.ld-article__faq { margin-top: 56px; }
.ld-article__qa { padding: 20px 0; border-bottom: 1px solid var(--ld-line); }
.ld-article__q, .ld-article__a { display: grid; grid-template-columns: 28px 1fr; margin: 0 !important; }
.ld-article__q { font-family: "Shippori Mincho", serif; font-weight: 500; color: var(--ld-dark); margin-bottom: 8px !important; }
.ld-article__q span, .ld-article__a span { font-family: var(--ld-en); color: var(--ld-accent); }
.ld-article__writer { margin: 56px 0 0; padding: 28px 32px; background: #fff; border: 1px solid var(--ld-accent); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px var(--ld-line); }
.ld-article__writer p { margin: 0 0 8px !important; }
.ld-article__writer-label { font-family: var(--ld-en); font-size: 11px; letter-spacing: .14em; color: var(--ld-accent); }
.ld-article__writer-name { font-family: "Shippori Mincho", serif; font-size: 17px; color: var(--ld-dark); }
.ld-article__writer-link { font-size: 13px; color: var(--ld-dark) !important; }
.ld-article .ld-cta { margin: 56px 0; }
.ld-article-wrap { padding-top: clamp(32px, 4vw, 56px); }

/* 下層ページの「お問い合わせ」セクションも、濃い茶の角丸の箱に（背景写真は使わない） */
.smb-section-with-bgimage .smb-section-with-bgimage__bgimage { display: none !important; }
.smb-section-with-bgimage { min-height: 0 !important; }
.smb-section-with-bgimage .smb-section__inner { padding: 0 var(--ld-side, 24px) !important; }
.smb-section-with-bgimage .c-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px) !important;
  background: var(--ld-dark);
  border-radius: 24px;
}
.smb-section-with-bgimage .c-container,
.smb-section-with-bgimage .c-container p,
.smb-section-with-bgimage .c-container h2,
.smb-section-with-bgimage .ld-cta-title { color: #fff !important; }
.smb-section-with-bgimage .h-reverse hgroup > p[lang="en"] {
  font-size: clamp(36px, 4.6vw, 56px) !important;
  letter-spacing: .08em !important;
  text-transform: none;
  color: #fff !important;
}
.smb-section-with-bgimage .h-reverse hgroup > h2 { color: rgba(255, 255, 255, .85) !important; }
.smb-section-with-bgimage .ld-btn {
  background: transparent !important;
  border: 1px solid #fff;
  color: #fff !important;
}
.smb-section-with-bgimage .ld-btn:hover { background: rgba(255, 255, 255, .12) !important; }
@media (max-width: 750px) { .smb-section-with-bgimage .c-container { border-radius: 18px; } }
.smb-section-with-bgimage .h-reverse hgroup:has(> p[lang="en"]) > :is(h1, h2, h3) { color: rgba(255, 255, 255, .85) !important; }

/* ブログ記事：記事全体を白い二重線の枠に／大見出しは薄い帯 */
.ld-article {
  max-width: 880px;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--ld-accent);
  box-shadow: inset 0 0 0 9px #fff, inset 0 0 0 10px var(--ld-line);
}
.ld-article__toc { border-color: var(--ld-line); box-shadow: none; }
.ld-article__h2 {
  padding: 14px 20px !important;
  background: #F1ECE8;
  border-left: 2px solid var(--ld-accent);
  border-bottom: 0;
}
.ld-article__writer { background: #FAF8F6; border-color: var(--ld-line); box-shadow: none; }
.ld-article__ul { background: #FAF8F6; }
@media (max-width: 750px) {
  .ld-article { box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px var(--ld-line); }
  .ld-article__h2 { padding: 12px 16px !important; }
}

/* フッターの背景は、どのページでも上の角を丸く */
footer > .smb-section:first-child { border-radius: var(--ld-sec-r) var(--ld-sec-r) 0 0; overflow: hidden; }
footer > .smb-section:first-child > .smb-section__fixed-background { border-radius: inherit; }

/* お問い合わせの箱：「Contact」はほかのセクションの見出しと同じ小さな英字ラベルに */
.ld-cta__en,
.smb-section-with-bgimage .h-reverse hgroup > p[lang="en"] {
  font-family: var(--ld-en);
  font-size: 12px !important;
  line-height: 1.5;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8) !important;
}
.ld-cta__title { margin-top: 12px !important; font-size: clamp(18px, 1.8vw, 22px); }
.smb-section-with-bgimage .h-reverse hgroup > h2 { font-size: 20px !important; }

/* ==========================================================
   2026-11-11 追加調整（8）ブログ
   ========================================================== */

/* ブログのカード：ホバーで写真が少し大きく＋カードにほんのり影（明るくはしない） */
.ld-post a { transition: box-shadow .5s var(--ld-ease), transform .5s var(--ld-ease); }
.ld-post__thumb img { transition: scale 1s var(--ld-ease); }
.ld-post a:hover,
.ld-post a:focus-visible { box-shadow: 0 16px 32px -18px rgba(64, 58, 58, .4); }
.ld-post a:hover .ld-post__thumb img,
.ld-post a:focus-visible .ld-post__thumb img { scale: 1.06; }
.ld-posts:not(.ld-posts--grid) { padding-bottom: 28px; }

/* 記事：更新日 */
.ld-article__updated { color: var(--ld-accent); letter-spacing: .06em; }

/* 記事：図解 */
.ld-fig {
  margin: 40px 0 !important;
  padding: 28px clamp(16px, 3vw, 32px) 22px;
  background: #FAF8F6;
  border: 1px solid var(--ld-line);
}
.ld-fig__title {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 0 0 22px !important;
  font-family: "Shippori Mincho", serif; font-weight: 500; font-size: 16px; color: var(--ld-dark); text-align: center;
}
.ld-fig__title span { font-family: var(--ld-en); font-size: 10px; letter-spacing: .16em; color: var(--ld-accent); }
.ld-fig figcaption { margin-top: 18px; font-size: 12px; line-height: 1.8; text-align: center; color: var(--ld-accent); }
.ld-fig__body { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.ld-fig b { display: block; font-family: "Shippori Mincho", serif; font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--ld-dark); }
.ld-fig small { display: block; margin-top: 4px; font-size: 11px; line-height: 1.7; color: var(--ld-ink); }
/* flow：矢印でつながる手順 */
.ld-fig--flow .ld-fig__step {
  flex: 1 1 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid var(--ld-line);
  border-radius: 999px;
  text-align: center;
}
.ld-fig__arrow { flex: none; align-self: center; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid var(--ld-accent); }
/* trio：3つのポイント */
.ld-fig--trio .ld-fig__card {
  flex: 1 1 0;
  padding: 22px 14px 18px;
  background: #fff;
  border-radius: 999px 999px 12px 12px;
  border: 1px solid var(--ld-line);
  text-align: center;
}
.ld-fig__no { display: block; margin-bottom: 6px; font-family: var(--ld-en); font-size: 12px; color: var(--ld-accent); }
/* compare：2つを比べる */
.ld-fig--compare .ld-fig__col { flex: 1 1 0; padding: 18px 20px; background: #fff; border: 1px solid var(--ld-line); }
.ld-fig--compare .ld-fig__col--good { border-color: var(--ld-dark); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--ld-line); }
.ld-fig--compare ul { margin: 10px 0 0; padding-left: 1.2em; font-size: 13px; line-height: 1.9; }
/* grid：ボタンの並び（リッチメニューの例） */
.ld-fig--grid .ld-fig__body { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 64px; gap: 6px; max-width: 420px; margin: 0 auto; }
.ld-fig__btn { display: grid; place-items: center; background: #fff; border: 1px solid var(--ld-line); font-family: "Shippori Mincho", serif; font-size: 13px; color: var(--ld-dark); }
.ld-fig__btn--big { grid-column: span 3; background: var(--ld-dark); border-color: var(--ld-dark); color: #fff; font-size: 15px; }
@media (max-width: 750px) {
  .ld-fig--flow .ld-fig__body, .ld-fig--trio .ld-fig__body, .ld-fig--compare .ld-fig__body { flex-direction: column; }
  .ld-fig--flow .ld-fig__step { border-radius: 14px; }
  .ld-fig__arrow { border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--ld-accent); border-bottom: 0; }
  .ld-fig--trio .ld-fig__card { border-radius: 14px; }
}

/* 記事：表 */
.ld-article__table { margin: 0 0 1.6em; overflow-x: auto; }
.ld-article__table table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.8; }
.ld-article__table th { background: #F1ECE8; color: var(--ld-dark); font-weight: 500; text-align: left; }
.ld-article__table th, .ld-article__table td { padding: 10px 14px; border: 1px solid var(--ld-line); vertical-align: top; }
.ld-article__note { font-size: 12px; color: var(--ld-accent); }

/* 記事：あわせて読みたい */
.ld-article__links { margin: 48px 0 8px; padding: 22px 24px; border: 1px solid var(--ld-line); background: #FAF8F6; }
.ld-article__links-title { margin: 0 0 12px !important; font-family: "Shippori Mincho", serif; font-weight: 500; color: var(--ld-dark); }
.ld-article__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ld-article__links a { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; color: var(--ld-ink) !important; text-decoration: none !important; filter: none !important; }
.ld-article__links img { width: 96px; height: 72px; object-fit: cover; display: block; }
.ld-article__links span { font-size: 14px; line-height: 1.7; }
.ld-article__links a:hover span { color: var(--ld-dark); text-decoration: underline; }

/* 図解のアイコン */
.ld-fig__ico { display: block; width: 30px; height: 30px; margin: 0 auto 8px; color: var(--ld-dark); }
.ld-fig--flow .ld-fig__step { padding-top: 18px; }
.ld-fig--trio .ld-fig__card { position: relative; padding-top: 24px; }
.ld-fig--trio .ld-fig__no { position: absolute; top: 10px; right: 50%; translate: 50% 0; margin: 0; font-size: 10px; opacity: 0; }
.ld-fig--trio .ld-fig__ico { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: #F1ECE8; box-sizing: content-box; }
.ld-fig--grid .ld-fig__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ld-fig--grid .ld-fig__ico { width: 20px; height: 20px; margin: 0; }
.ld-fig--grid .ld-fig__btn--big .ld-fig__ico { color: #fff; }
.ld-fig--compare li { list-style: none; display: flex; gap: 8px; align-items: flex-start; }
.ld-fig--compare ul { padding-left: 0; }
.ld-fig__mini { flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--ld-accent); }
.ld-fig__col--good .ld-fig__mini { color: var(--ld-dark); }
/* 図が4つ以上並ぶときは2列に */
.ld-fig--trio .ld-fig__body:has(> :nth-child(4)) { display: grid; grid-template-columns: repeat(2, 1fr); }

/* 本文の箇条書き：アイコンつき */
.ld-iconlist { list-style: none; padding: 18px 22px !important; }
.ld-iconlist li { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0; }
.ld-iconlist__ico { flex: none; width: 22px; height: 22px; margin-top: 4px; padding: 4px; border-radius: 50%; background: #fff; border: 1px solid var(--ld-line); color: var(--ld-dark); box-sizing: content-box; }

/* サムネイル（1200×630）に合わせた比率 */
.ld-post__thumb { aspect-ratio: 1200 / 630 !important; }
.ld-article__hero { aspect-ratio: 1200 / 630; }
.ld-article__links img { width: 120px; height: 63px; }
.ld-article__links a { grid-template-columns: 120px 1fr; }

/* ==========================================================
   2026-11-11 追加調整（9）ブログ記事の部品
   ========================================================== */

/* カードのホバーの影：黒ではなく、やわらかいベージュの影 */
.ld-post a:hover,
.ld-post a:focus-visible { box-shadow: 0 18px 36px -16px rgba(166, 146, 138, .45); }

/* 吹き出し */
.ld-talks { display: grid; gap: 18px; margin: 0 0 36px; }
.ld-talk { display: flex; gap: 16px; align-items: flex-start; }
.ld-talk--tomoka { flex-direction: row-reverse; }
.ld-talk__who { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; }
.ld-talk__av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid #EDE6E2; background: #F1ECE8; }
.ld-talk__av img { width: 100%; height: 100%; object-fit: cover; }
.ld-talk__ico { width: 34px; height: 34px; color: var(--ld-accent); }
.ld-talk__name { font-size: 11px; color: var(--ld-dark); }
.ld-talk__bubble {
  position: relative;
  margin: 6px 0 0 !important;
  padding: 16px 20px;
  background: #F6F3F1;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.9;
}
.ld-talk__bubble::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -9px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 10px solid #F6F3F1;
}
.ld-talk--tomoka .ld-talk__bubble { background: #F1ECE8; }
.ld-talk--tomoka .ld-talk__bubble::before { left: auto; right: -9px; border-right: 0; border-left: 10px solid #F1ECE8; }

/* アイコン付きのボックス */
.ld-ibox {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 28px 0 !important;
  padding: 18px 22px;
  border-radius: 10px;
  background: #FAF8F6;
  border: 1px solid var(--ld-line);
}
.ld-ibox p { margin: 0 !important; }
.ld-ibox__ico { flex: none; width: 26px; height: 26px; margin-top: 2px; padding: 6px; border-radius: 50%; background: #fff; color: var(--ld-dark); box-sizing: content-box; }
.ld-ibox__label { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--ld-dark); margin-bottom: 2px !important; }
.ld-ibox--point { background: #F1ECE8; border-color: #F1ECE8; }
.ld-ibox--good { background: #F3F6F1; border-color: #DCE5D6; }
.ld-ibox--good .ld-ibox__ico, .ld-ibox--good .ld-ibox__label { color: #6C8463; }
.ld-ibox--caution, .ld-ibox--batsu { background: #FBF3F0; border-color: #EBD3CB; }
.ld-ibox--caution .ld-ibox__ico, .ld-ibox--caution .ld-ibox__label,
.ld-ibox--batsu .ld-ibox__ico, .ld-ibox--batsu .ld-ibox__label { color: #A8665A; }
.ld-ibox--hatena { background: #fff; }

/* まとめなどの枠つきボックス */
.ld-capbox { margin: 28px 0 !important; border: 1px solid var(--ld-accent); background: #fff; }
.ld-capbox__title { margin: 0 !important; padding: 8px 18px; background: var(--ld-accent); color: #fff; font-size: 14px; letter-spacing: .06em; }
.ld-capbox ul { list-style: none; margin: 0; padding: 14px 18px; }
.ld-capbox li { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; }
.ld-capbox__ico { flex: none; width: 18px; height: 18px; margin-top: 5px; color: var(--ld-accent); }

/* スクリーンショット */
.ld-article__shot { margin: 24px 0 32px !important; }
.ld-article__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--ld-line); }
.ld-article__shot figcaption { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--ld-accent); text-align: center; }

/* ご依頼の案内（記事の途中） */
.ld-svcbox {
  margin: 48px 0 !important;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 40px);
  background: #F1ECE8;
  text-align: center;
}
.ld-svcbox__en { margin: 0 !important; font-family: var(--ld-en); font-size: 11px; letter-spacing: .16em; color: var(--ld-accent); }
.ld-svcbox__title { margin: 6px 0 8px !important; font-family: "Shippori Mincho", serif; font-weight: 500; font-size: clamp(17px, 2vw, 21px); color: var(--ld-dark); }
.ld-svcbox__lead { margin: 0 0 20px !important; font-size: 13px; }
.ld-svcbox ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.ld-svcbox li { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #fff; }
.ld-svcbox__ico { width: 26px; height: 26px; color: var(--ld-dark); margin-bottom: 4px; }
.ld-svcbox li b { font-family: "Shippori Mincho", serif; font-weight: 500; font-size: 14px; color: var(--ld-dark); }
.ld-svcbox li span { font-size: 12px; line-height: 1.8; }
.ld-svcbox__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.ld-svcbox .ld-btn { width: 260px; }
.ld-btn.ld-btn--dark { background: var(--ld-dark) !important; color: #fff !important; }
@media (max-width: 750px) {
  .ld-svcbox ul { grid-template-columns: 1fr; }
  .ld-talk__who { width: 56px; }
  .ld-talk__av { width: 52px; height: 52px; }
}

/* 同じカテゴリの記事：サムネイル付きのカード（3列） */
.ld-posts--related { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; border-top: 0 !important; }
.ld-posts--related .ld-post { border: 0 !important; }
.ld-posts--related .ld-post__title { font-size: 13px; }
@media (max-width: 750px) { .ld-posts--related { grid-template-columns: minmax(0, 1fr) !important; } }
/* 縦長のスクリーンショットは大きくなりすぎないように */
.ld-article__shot img { max-height: 520px; width: auto; max-width: 100%; margin: 0 auto; }
/* 関連記事のカード：サムネイル → 日付 → タイトル（縦書きのカテゴリは使わない） */
.ld-posts--related .ld-post a { grid-template-columns: 1fr !important; grid-template-areas: "thumb" "date" "title" !important; padding: 0 0 18px; }
.ld-posts--related .ld-post__cat { display: none; }
.ld-posts--related .ld-post__date, .ld-posts--related .ld-post__title { padding-left: 14px !important; padding-right: 14px !important; }
/* サムネイルは4:3 */
.ld-post__thumb { aspect-ratio: 4 / 3 !important; }
.ld-article__hero { aspect-ratio: 4 / 3; }
.ld-article__links img { width: 96px; height: 72px; }
.ld-article__links a { grid-template-columns: 96px 1fr; }
/* サムネイルは3:2 */
.ld-post__thumb { aspect-ratio: 3 / 2 !important; }
.ld-article__hero { aspect-ratio: 3 / 2; }
.ld-article__links img { width: 96px; height: 64px; }
/* グロナビ：ブログ → コラム（英字） */
header a[href="/category/blog/"] .wp-block-navigation-item__label::before { content: "COLUMN"; }

/* 図解：半円をやめ、角を少し丸めたカードに。文字は短く */
.ld-fig--trio .ld-fig__card { border-radius: 12px !important; padding: 22px 12px 18px !important; }
.ld-fig--flow .ld-fig__step { border-radius: 12px !important; padding: 18px 10px !important; }
.ld-fig--trio .ld-fig__card b, .ld-fig--flow .ld-fig__step b { font-size: 14px; line-height: 1.6; }
.ld-fig small { font-size: 11px; }
.ld-fig--trio .ld-fig__body:has(> :nth-child(4)) { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.ld-fig--trio .ld-fig__body:has(> :nth-child(4)) { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); }

/* ==========================================================
   2026-11-30 スマホの見やすさ調整
   ========================================================== */
@media (max-width: 750px) {
  /* ヘッダーを低く（100px → 約64px）、グロナビとのすき間もなくす */
  header.wp-block-template-part > .wp-block-group:first-child { padding-top: 12px !important; padding-bottom: 12px !important; }
  header .ld-logo { width: 140px !important; }
  .ld-spnav { margin-top: 0 !important; }
  .ld-spnav__list { padding-top: 8px; padding-bottom: 8px; }

  /* FV：アーチを上げて、1画面目でメッセージまで見えるように */
  .ld-fv { height: clamp(540px, calc(100svh - 150px), 640px); }
  .ld-fv__copy { bottom: 20px; }
}

/* コラムの記事：カテゴリ・日付・更新日を1行にすっきり */
.ld-article__meta { flex-wrap: wrap; gap: 6px 14px; line-height: 1.4; }
.ld-article__cat { white-space: nowrap; padding: 3px 12px; font-size: 11px; line-height: 1.6; }
.ld-article__date, .ld-article__updated { white-space: nowrap; font-size: 12px; }
.ld-article__updated time { margin-left: 2px; }
@media (max-width: 750px) {
  .ld-article__meta { gap: 6px 12px; }
  .ld-article__cat { font-size: 10px; padding: 2px 10px; }
  .ld-article__date, .ld-article__updated { font-size: 11px; letter-spacing: .06em; }
}

/* 見出しの改行：ことばの切れ目（<wbr>）で折り返す */
.ld-article__title, .ld-article__h2, .ld-article__h3, .ld-capbox__title,
.ld-article__q, .ld-post__title, .ld-news__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  text-wrap: pretty;
}
@media (max-width: 750px) {
  .ld-article__title { font-size: 21px !important; line-height: 1.65; letter-spacing: .03em; }
  .ld-article__body p, .ld-article__lead { line-break: strict; }
}

/* お知らせの一覧 */
.ld-news { margin: 0; padding: 0; list-style: none; border-top: 0.5px solid var(--ld-line); }
.ld-news__item { border-bottom: 0.5px solid var(--ld-line); }
.ld-news__item a { display: flex; align-items: baseline; gap: 24px; padding: 16px 4px; color: var(--ld-dark) !important; text-decoration: none !important; }
.ld-news__item a:hover .ld-news__title { color: var(--ld-accent); }
.ld-news__date { flex: none; font-family: var(--ld-en); font-size: 13px; letter-spacing: .1em; color: var(--ld-accent); }
.ld-news__title { font-size: 15px; transition: color .3s; }
@media (max-width: 750px) {
  .ld-news__item a { flex-direction: column; gap: 4px; padding: 14px 2px; }
}
/* お知らせのページ */
.ld-news__box { padding: 18px 20px; background: #fff; border: 1px solid var(--ld-line); text-align: center; font-weight: 500; }
.ld-news__link a, .ld-news__back a { color: var(--ld-accent) !important; }
.ld-news__back { margin-top: 48px; text-align: center; }
/* 吹き出し・ポイント・箇条書きも、ことばの切れ目で折り返す */
.ld-talk__bubble, .ld-ibox p, .ld-iconlist span, .ld-capbox li span, .ld-article__points li {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
@media (max-width: 750px) {
  /* カテゴリは1行目、公開日と更新日は2行目に並べる */
  .ld-article__meta { display: grid; grid-template-columns: auto auto 1fr; justify-items: start; gap: 8px 14px; }
  .ld-article__cat { grid-column: 1 / -1; }
}

/* コラムの挿絵（Codexの手描き線画）：インスタ投稿のように、紙の上にふんわり */
.ld-illust {
  margin: 8px auto 40px !important;
  padding: clamp(24px, 4vw, 40px);
  background: var(--ld-paper);
  border-radius: 16px;
  text-align: center;
}
.ld-illust img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
@media (max-width: 750px) { .ld-illust { margin-bottom: 32px !important; } .ld-illust img { max-width: 280px; } }
.ld-fig__title, .ld-fig p, .ld-fig span:not(.ld-ico) { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }

/* スマホ：コラム記事の白い枠を横に広く（外の余白・枠の中の余白を小さく） */
@media (max-width: 750px) {
  .ld-article-wrap { padding-left: 10px !important; padding-right: 10px !important; }
  .ld-article { padding: 28px 18px; }
}
/* 長めの文（吹き出し・ポイントの箱）はふつうの折り返しに戻す（行末がガタガタにならないように） */
.ld-talk__bubble, .ld-ibox p { word-break: normal; overflow-wrap: normal; }

/* 2026-12-01 お問い合わせフォーム（新） */
.ld-form{background:#FAF8F6;border-radius:16px;padding:40px;color:#403A3A;max-width:860px;margin:0 auto;box-sizing:border-box}
.ld-form__row{display:grid;grid-template-columns:220px 1fr;gap:24px;padding:18px 0;border-bottom:1px solid #D8CCC7}
.ld-form__label em{font-style:normal;font-size:11px;color:#fff;background:#75645E;border-radius:4px;padding:2px 7px;margin-left:8px}
.ld-form small{display:block;font-size:12px;color:#75645E;margin-bottom:6px}
.ld-form input:not([type=checkbox]),.ld-form textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #D8CCC7;border-radius:8px;background:#fff;font:inherit;font-size:16px;color:inherit}
.ld-form :focus-visible{outline:2px solid #75645E;outline-offset:2px}
.ld-form__check{display:flex;gap:8px;align-items:center;padding:4px 0}
.ld-form__hp{position:absolute;left:-9999px}
.ld-form__msg{color:#9B2C2C;text-align:center;margin:20px 0 0}
.ld-form__send{text-align:center;margin-top:28px}
.ld-form__send button{min-width:260px;padding:16px 32px;border:0;border-radius:999px;background:#75645E;color:#fff;font:inherit;cursor:pointer}
.ld-form__send button:disabled{opacity:.6}
.ld-form__done{background:#FAF8F6;border-radius:16px;padding:48px 24px;text-align:center}
@media (max-width:781px){.ld-form{padding:24px 18px}.ld-form__row{grid-template-columns:1fr;gap:8px}.ld-form__send button{width:100%;min-width:0}}
