/* =========================================================
   v2（2026-10 リニューアル）
   デザイン: 施策/サイト/全体/デザイン/top/_top_01.ai（幅1440px）
   背景動画は画面に固定。透過のセクション（黒・ティール）から透けて見える
   ========================================================= */

:root {
  --teal: #2896aa;
  --teal-dark: #1f7a8b;
  --ink: #323232;
  --gray: #656565;
  --line: #e6e6e6;
  --red: #dc5000;
  --navy: #005078;
  --orange: #dc5000;
  --green: #64a000;
  --black-a: rgba(0, 0, 0, 0.7);
  --teal-a: rgba(40, 150, 170, 0.85);
  --gh-h: 76px;
  --frame: 1440px;
  --font-sans: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  --font-serif: "tot-shizukardmin-stdn", "TOT-ShizukaRDMin StdN", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-fv: "Shippori Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --font-en: "bodoni-egyptian-pro", Georgia, serif;
}

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

::selection {
  background: var(--teal);
  color: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--gh-h);
}

body {
  margin: 0;
  color: var(--ink);
  background: #111;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
dl,
dt,
dd {
  margin: 0;
  font-weight: 400;
}

img,
video {
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* ---------- 背景動画（固定） ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: #111;
  background-image: var(--bg-poster, none);
  background-size: cover;
  background-position: center;
}

.bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.bg__video.is-ready {
  opacity: 1;
}

/* ---------- 枠 ---------- */
.frame {
  width: 100%;
  padding-inline: 50px;
}

.inset {
  padding-inline: 50px;
}

.wrap {
  width: min(100% - 100px, 1240px);
  margin-inline: auto;
}

/* ---------- coming soon ---------- */
.is-soon {
  cursor: default;
}

.soon-tag {
  display: none;
}

/* ---------- タグ・丸ボタン・ピル ---------- */
.tag {
  display: inline-block;
  min-width: 100px;
  /* 明朝の欧文は行の中で下に寄るので、下に余白を足して文字を上下中央にする（高さは 24px のまま） */
  padding: 0 12px 3px;
  background: var(--teal);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
}

.go {
  position: relative;
  flex: none;
  display: block;
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 50%;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.go::after,
.pill__go::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
}

a.go:hover {
  filter: brightness(0.85);
  transform: translateX(3px);
}

.go.is-soon {
  opacity: 0.45;
}

.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 12px 12px 20px;
  background: var(--teal);
  color: #fff;
  border-radius: 32px;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  transition: background-color 0.25s ease;
}

a.pill:hover {
  background: var(--teal-dark);
}

.pill.is-soon {
  opacity: 0.55;
}

.pill--auto {
  display: inline-flex;
  min-width: 380px;
}

.pill__go {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.pill__go::after {
  border-width: 4px 0 4px 7px;
  border-left-color: var(--teal);
}

a.pill:hover .pill__go {
  transform: translateX(3px);
}

/* ---------- サービスページ用のボタン ---------- */
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 232px;
  min-height: 58px;
  padding: 14px 56px 14px 32px;
  border: 1px solid var(--teal);
  border-radius: 32px;
  font-size: 15px;
  line-height: 1.4;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent currentColor;
  transform: translateY(-50%);
}

.btn--primary {
  background: var(--teal);
  color: #fff;
}

.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn--line {
  background: #fff;
  color: var(--teal);
}

.btn--white {
  background: #fff;
  border-color: #fff;
  color: var(--teal);
}

.btn.is-soon {
  opacity: 0.55;
}

.gh__link:focus-visible,
.btn:focus-visible,
.pill:focus-visible,
.go:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* =========================================================
   ヘッダー（メガメニュー）
   ========================================================= */
.gh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.gh--over:not(.is-scrolled):not(.is-open):not(.is-drawer) {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
}

.gh__bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--gh-h);
  padding: 0 32px;
}

.gh__logo {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.gh__nav {
  margin-left: auto;
  height: 100%;
}

.gh__list {
  display: flex;
  height: 100%;
}

.gh__item {
  display: flex;
  align-items: stretch;
}

.gh__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.gh__link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.gh__item:hover > .gh__link:not(.is-soon)::after,
.gh__item.is-open > .gh__link::after {
  transform: scaleX(1);
}

.gh__item--mega > .gh__link {
  padding-right: 34px;
}

.gh__item--mega > .gh__link::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.gh__link.is-soon {
  opacity: 0.5;
}

.gh__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  background: var(--teal);
  color: #fff;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background-color 0.25s ease;
}

.gh__cta:hover {
  background: var(--teal-dark);
}

.gh.is-open {
  color: var(--ink);
  background: #fff;
  border-bottom-color: var(--line);
}

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  /* 白いガラスのような背景（本人2026-10-08）。旧: 黒の半透明 */
  background: rgba(228, 231, 234, 0.76);
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  /* 上から下へ、伸びるように開く（本人2026-10-08「ニュルっと出てくる感じに」）。閉じる時は少し速く */
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.32s cubic-bezier(0.55, 0, 0.8, 0.4), visibility 0s linear 0.32s;
}

.gh__item.is-open > .mega {
  visibility: visible;
  /* 下は影のぶんだけ広げる */
  clip-path: inset(0 0 -48px 0);
  transition: clip-path 0.62s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

/* 中身は、背景より少し遅れて上から降りてくる */
.mega__inner {
  opacity: 0;
  transform: translateY(-22px);
  transition: opacity 0.2s ease, transform 0.32s ease;
}

.gh__item.is-open > .mega > .mega__inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease 0.08s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.04s;
}

@media (prefers-reduced-motion: reduce) {
  .mega,
  .gh__item.is-open > .mega,
  .mega__inner,
  .gh__item.is-open > .mega > .mega__inner {
    transition: none;
  }
}

.mega__inner {
  width: calc(100% - 100px);
  margin-inline: auto;
  padding: 40px 0 44px;
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 領域ごとの列。上に領域のカード（事例のページのアンカーリンクと同じデザイン）、下にメニュー */
.mega__col {
  min-width: 0;
}

.mega__area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 40px 18px 16px;
  background: #fff;
  border-radius: 16px;
  color: var(--ink);
  transition: color 0.2s ease;
}

.mega__area:hover {
  color: var(--teal);
}

.mega__area-name {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mega__area-go {
  position: absolute;
  right: 20px;
  bottom: 27px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--teal);
  border-right: 1.5px solid var(--teal);
  transform: rotate(45deg);
}

.mega__menu {
  padding: 14px 16px 0;
}

.mega__menu li {
  font-size: 15px;
  line-height: 1.6;
}

.mega__menu a,
.mega__menu .is-soon {
  display: block;
  padding: 6px 0;
  color: var(--ink);
  transition: color 0.2s ease;
}

.mega .is-soon {
  opacity: 0.5;
}

.mega__menu a:hover {
  color: var(--teal);
}

.mega__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 文字が折り返しても4つの枠の高さをそろえる */
.mega__cards li {
  display: flex;
}

.mega__card {
  /* 領域のカードと似たデザイン（白地・枠線なし・細い矢印。本人2026-10-08） */
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 18px 34px 18px 16px;
  background: #fff;
  border-radius: 16px;
  color: var(--ink);
  /* 一番長い名前（代理店・制作会社の方へ）が1行に収まる大きさ */
  font-size: clamp(13px, 1.37vw, 15px);
  line-height: 24px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mega__card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-top: 1.5px solid var(--teal);
  border-right: 1.5px solid var(--teal);
  transform: rotate(45deg);
}

.mega__card:hover {
  color: var(--teal);
}

/* ---------- モバイルのメニュー ---------- */
.gh__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
}

.gh__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.gh__toggle span:nth-child(1) { top: 14px; }
.gh__toggle span:nth-child(2) { top: 21px; }
.gh__toggle span:nth-child(3) { top: 28px; }

.gh.is-drawer .gh__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.gh.is-drawer .gh__toggle span:nth-child(2) { opacity: 0; }
.gh.is-drawer .gh__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.drawer {
  display: none;
}

/* =========================================================
   ファーストビュー（背景動画が全面に見える）
   ========================================================= */
.fv {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  color: #fff;
  overflow: hidden;
  --hero-title-progress: 0;
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.32) 100%);
  pointer-events: none;
}

.fv__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: calc(var(--gh-h) + 24px) 50px 0;
}

.hero-view:not(.is-ready) .hero__title,
.hero-view:not(.is-ready) .hero__corner-logo,
.hero-view:not(.is-ready) .scroll-hint {
  visibility: hidden;
}

.hero__title-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 32px;
}

.hero__title {
  font-family: var(--font-fv);
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__title-char,
.hero__corner-logo-char,
.scroll-hint__char,
.scroll-hint__arrow {
  display: inline-block;
  will-change: transform, opacity, filter;
  transition-property: transform, opacity, filter;
  transition-duration: 2s, 0.85s, 0.85s;
  transition-timing-function: ease, ease, ease;
  transition-delay: 0ms, var(--char-fade-delay, 0ms), var(--char-fade-delay, 0ms);
  transform: translate(
      calc(var(--char-scatter-x, 0px) * var(--hero-title-progress)),
      calc(var(--char-scatter-y, 0px) * var(--hero-title-progress))
    )
    rotate(calc(var(--char-rotate, 0deg) * var(--hero-title-progress)))
    scale(calc(1 + (var(--hero-title-progress) * 0.035)));
  opacity: calc(1 - var(--hero-title-progress));
  filter: blur(calc(var(--hero-title-progress) * 2px));
}

.scroll-hint__char {
  white-space: pre;
}

.hero__corner-logo {
  position: absolute;
  right: 0;
  bottom: 32px;
  font-family: var(--font-en);
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.scroll-hint {
  padding: 0 0 20px;
}

.scroll-hint__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.7;
}

.scroll-hint__arrow {
  position: relative;
  width: 10px;
  height: 10px;
}

.scroll-hint__arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollHintBounce 1.6s ease-in-out infinite;
}

@keyframes scrollHintBounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.45;
  }

  50% {
    transform: translateY(6px) rotate(45deg);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint__arrow::before {
    animation: none;
  }
}

/* =========================================================
   セクション共通
   ========================================================= */
.sec {
  padding: 80px 0 92px;
}

.sec--white {
  background: #fff;
  color: var(--ink);
}

.sec--black {
  background: var(--black-a);
  color: #fff;
}

/* 背景なし（固定の背景動画がそのまま見える） */
.sec--clear {
  color: #fff;
}

.sec--teal {
  padding-bottom: 100px;
  background: var(--teal-a);
  color: #fff;
}

.sec__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 5.63vw, 81px);
  line-height: 1.3;
  letter-spacing: -0.045em;
}

h2.sec__lead {
  font-weight: 400;
}

.sec__lead {
  margin-top: 37px;
  font-size: 16px;
  line-height: 32px;
}

.sec__head + .inset {
  margin-top: 37px;
}

.sec__head + .cases {
  margin-top: 41px;
}

.sec__more {
  margin-top: 56px;
}

/* ---------- 価値の文 ---------- */
.intro {
  padding: 82px 0 78px;
}

.intro__row {
  display: flex;
  align-items: flex-start;
  margin-right: -50px;
}

.intro__value {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.56vw, 80px);
  line-height: 1.5125;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.intro__line {
  display: block;
}

.intro__value strong {
  color: var(--teal);
  font-weight: 400;
}

.intro__value small {
  font-size: 0.55em;
}

.intro__lead {
  margin-top: 7px;
  font-size: 16px;
  line-height: 32px;
}

.moya {
  flex: 0 1 530px;
  min-width: 0;
  margin: 109px auto 0;
}

.moya__label {
  display: block;
  margin-bottom: 8px;
  padding-left: 2px;
  color: var(--teal);
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.moya__box {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 18px 0 24px;
  border: 1px solid var(--teal);
  border-radius: 20px;
  background: #fff;
  transition: box-shadow 0.25s ease;
}

.moya__box:focus-within {
  box-shadow: 0 0 0 3px rgba(40, 150, 170, 0.2);
}

.moya__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  font-size: 18px;
  outline: none;
}

.moya__button {
  flex: none;
  display: flex;
  color: var(--teal);
  transition: color 0.25s ease;
}

.moya__button:hover {
  color: var(--teal-dark);
}

/* ---------- Service ---------- */
.svc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* 1段目と2段目の余白を広げた（本人2026-10-12）。旧: 38px */
  gap: 72px 80px;
}

.svc__top {
  /* 各領域の代表のクリッカブル部分を角丸の白背景に（本人2026-10-12）。文字はインク色 */
  position: relative;
  display: block;
  padding: 28px 92px 28px 36px;
  /* 白ガラス（本人2026-10-12「やっぱ白ガラス」）。ヘッダーと同じぼかし。文字は白のまま */
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  color: #fff;
  transition: background 0.25s ease;
}

.svc__top:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* 丸ボタンは領域の上下中央 */
.svc__top .go {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.svc__top:hover .go {
  transform: translate(3px, -50%);
}

.svc__body,
.svc__name,
.svc__desc {
  display: block;
}

.svc__name {
  font-weight: 400;
}

.svc__name {
  margin-top: 3px;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.svc__desc {
  margin-top: 5px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.1em;
}

.svc__links {
  padding-top: 18px;
  font-size: 14px;
  line-height: 28px;
}

.svc__links a,
.svc__links .is-soon {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.svc__links a:hover {
  opacity: 0.6;
}

.svc__sep {
  margin: 0 4px;
  color: #999;
}

/* ---------- For you ---------- */
.role {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 50px;
}

.role__item {
  display: flex;
}

.role__card {
  display: block;
  width: 100%;
  padding: 30px 36px 32px;
  border: 1px solid var(--teal);
  border-radius: 20px;
  transition: background-color 0.25s ease;
}

.role__card:hover {
  background: rgba(40, 150, 170, 0.06);
}

.role__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.role__name {
  color: var(--teal);
  font-size: 24px;
  line-height: 1.4;
}

.role__card .go {
  width: 40px;
  height: 40px;
}

.role__card:hover .go {
  transform: translateX(3px);
}

.role__text {
  display: block;
  margin-top: 16px;
  line-height: 32px;
}

/* ---------- Case ---------- */
.cases {
  display: grid;
  gap: 41px;
}

.case {
  padding: 34px 40px 31px;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.case__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.case__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.case__period {
  margin-left: 6px;
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 24px;
}

.case__body {
  margin-top: 14px;
  line-height: 32px;
  letter-spacing: 0.08em;
}

.case__body em {
  color: var(--red);
  font-style: normal;
}

/* ---------- Column ---------- */
.sec__head + .posts {
  margin-top: 46px;
}

.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 50px;
}

.tag--navy,
.go--navy {
  background: var(--navy);
}

.tag--orange,
.go--orange {
  background: var(--orange);
}

.tag--green,
.go--green {
  background: var(--green);
}

.post__thumb {
  aspect-ratio: 380 / 240;
  margin-top: 10px;
  background: #c8c8c8;
  border-radius: 10px;
}

.post__date {
  margin-top: 18px;
  color: #888;
  font-size: 13px;
  line-height: 20px;
}

.post__title {
  line-height: 32px;
}

.post__title a {
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: opacity 0.2s ease;
}

.post__title a:hover {
  opacity: 0.6;
}

/* ---------- 中央のボタン ---------- */
.sec__btn {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

.pill--center {
  position: relative;
  display: inline-flex;
  justify-content: center;
  width: 260px;
  min-height: 60px;
  padding: 10px 56px;
  border-radius: 30px;
  font-size: 18px;
}

.pill--center .pill__go {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 36px;
  height: 36px;
  margin-top: -18px;
}

.pill--white,
a.pill--white:hover {
  background: #fff;
  color: var(--teal);
}

a.pill--white:hover {
  opacity: 0.85;
}

.pill--white .pill__go {
  background: var(--teal);
}

.pill--white .pill__go::after {
  border-left-color: #fff;
}

/* ---------- Company ---------- */
.sec--company {
  padding-bottom: 100px;
}

.sec__head + .mission {
  margin-top: 70px;
}

.mission {
  display: flex;
  align-items: center;
}

.mission__label {
  flex: none;
  padding-right: 26px;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.02em;
}

.mission__text {
  padding-left: 24px;
  border-left: 1px solid var(--ink);
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.56vw, 80px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* ---------- Contact ---------- */
.contact {
  padding: 80px 0 122px;
  color: #fff;
}

/* 字間の分だけ文字が片側に寄るので、反対側に同じ幅を足して中心を合わせる */
.contact .sec__title {
  padding-right: 0.08em;
  text-align: center;
}

.contact__text {
  padding-left: 0.02em;
}

.pill--center > span {
  padding-left: 0.1em;
}

.contact__text {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ---------- Coming soon ---------- */
.soon {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--gh-h) + 60px) 0 100px;
  color: #fff; /* 背景なし。固定の背景動画がそのまま見える（本人 2026-10-12「404とsoonの黒背景なくして」） */
}

.soon__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 5.63vw, 81px);
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.soon__text {
  margin-top: 37px;
  font-size: 16px;
  line-height: 32px;
}

.soon__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 50px;
  margin-top: 56px;
  padding-inline: 50px;
}

/* =========================================================
   フッター
   ========================================================= */
/* フッターの文字を1pxずつ上げた（本人2026-10-10）。ロゴは変えていない */
.gf {
  background: var(--black-a);
  color: #fff;
  font-size: 14px;
}

.gf__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  width: 100%;
  padding: 90px 50px 64px;
}

.gf__logo {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.gf__mission {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 17px;
}

.gf__address {
  margin-top: 28px;
  font-size: 13px;
  line-height: 2;
  opacity: 0.8;
}

.gf__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 28px;
}

.gf__heading {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #c8c8c8;
  font-size: 15px;
  line-height: 1.6;
}

.gf__col li {
  font-size: 13px;
  line-height: 1.7;
}

.gf__col li a,
.gf__col li .is-soon {
  display: block;
  padding: 4px 0;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.gf__col li a:hover {
  opacity: 0.6;
}

.gf .is-soon {
  opacity: 0.5;
}

.gf__copy {
  padding: 22px 50px 28px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: center;
}

/* =========================================================
   サービスページ（トップのテイストに合わせた仮の型）
   ========================================================= */
.sv-fv {
  padding: calc(var(--gh-h) + 70px) 0 90px;
  background: var(--teal-a);
  color: #fff;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 46px;
  font-size: 12px;
  line-height: 1.6;
}

.crumb li + li::before {
  content: "/";
  margin-right: 10px;
  opacity: 0.6;
}

.crumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sv-fv__name {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
}

.sv-fv__catch {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.45vw, 64px);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.sv-fv__media {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 16px;
  line-height: 32px;
}

/* 項目の途中で折り返さない。区切りの「／」は項目の後ろに付け、行の頭に来ないようにする */
.sv-fv__media-item {
  white-space: nowrap;
}

.sv-fv__media-item:not(:last-child)::after {
  content: "／";
  margin: 0 0.3em;
}

@media (max-width: 767px) {
  .sv-fv__media-item {
    white-space: normal;
  }
}

.sv-fv__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 44px;
}

.sv-pill {
  min-width: 320px;
  min-height: 60px;
  padding: 10px 12px 10px 28px;
  border-radius: 30px;
  font-size: 18px;
}

.sv-pill .pill__go {
  width: 36px;
  height: 36px;
}

/* 結果×要因×意図 */
.sv-intro {
  padding: 92px 0 90px;
}

.sv-intro__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.56vw, 80px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.sv-intro__title span {
  margin: 0 0.06em;
}

.sv-intro__row {
  display: grid;
  /* 真ん中の列は中身の幅に合わせる（比率で決めると、狭い画面で字が折れて右の列と重なる） */
  grid-template-columns: minmax(0, 670fr) max-content minmax(0, 560fr);
  column-gap: clamp(20px, 2.4vw, 40px);
  margin-top: 34px;
  line-height: 32px;
}

.sv-intro__lead p + p {
  margin-top: 32px;
}

.sv-intro__lead em,
.sv-intro__list em,
.sv-price__note em {
  color: var(--orange);
  font-style: normal;
}

.sv-intro__head {
  position: relative;
  padding-left: 22px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.sv-intro__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  background: var(--teal);
  border-radius: 50%;
}

.sv-intro__list li {
  position: relative;
  padding-left: 15px;
}

.sv-intro__list li::before {
  content: "・";
  position: absolute;
  left: -6px;
}

/* 領域のページは右が1つなので、列は比率のまま */
.sv-intro__row:has(.sv-intro__col--count) {
  grid-template-columns: minmax(0, 670fr) minmax(0, 240fr) minmax(0, 430fr);
  column-gap: 0;
}

/* 領域のページ: リードの右の「○○の8つのメニューをご用意」（右の2列ぶんを使う） */
.sv-intro__col--count {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  padding-left: clamp(68px, 7.8vw, 136px);
}

.sv-count {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--font-serif);
  /* 40px（本人2026-10-07）。右の幅に収まらない画面では、収まる大きさまで下げる */
  font-size: clamp(26px, 3.15vw, 40px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 字の大きさは揃える。「9」だけティール（本人2026-10-07） */
.sv-count__num {
  color: var(--teal);
}

/* 相談のきっかけ（吹き出し） */
.sv-trigger {
  padding-bottom: 100px;
}

.sv-voices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.sv-voices li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 20px 40px;
  background: #fff;
  border-radius: 10px;
  color: var(--teal);
  font-size: 20px;
  line-height: 32px;
  text-align: center;
}

/* 吹き出しのしっぽ */
.sv-voices li::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  right: 60px;
  width: 86px;
  height: 18px;
  background: #fff;
  clip-path: polygon(22% 0, 100% 0, 2% 100%, 0 88%);
}

.sv-voices__tl,
.sv-voices__br {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--teal);
}

.sv-voices__tl {
  top: 10px;
  left: 10px;
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-left-radius: 5px;
}

.sv-voices__br {
  right: 10px;
  bottom: 10px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-bottom-right-radius: 5px;
}

/* 料金と条件 */
.sv-price {
  padding-top: 0;
}

.sv-price__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sec__head + .sv-price__row {
  margin-top: 30px;
}

.sv-price__item {
  /* 左右で高さが違う時は、見出しは上のまま、低い方の中身を上下の中央に置く */
  display: flex;
  flex-direction: column;
  padding: 0 20px 6px;
  text-align: center;
}

.sv-price__item + .sv-price__item {
  border-left: 1px solid #c8c8c8;
}

.sv-price__label {
  color: var(--teal);
  line-height: 24px;
}

.sv-price__main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--teal);
  font-family: var(--font-serif);
  line-height: 96px;
  /* 書体の違う文字を並べると行が高くなるので、高さを固定して左右の注の位置をそろえる */
  height: 96px;
  margin-top: auto;
}

.sv-price__pre {
  margin-right: 8px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
}

.sv-price__num {
  font-size: clamp(64px, 7vw, 84px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.sv-price__unit {
  font-size: clamp(36px, 4vw, 48px);
  letter-spacing: 0;
  white-space: nowrap;
}

/* 幅が狭いPCで折り返さないよう、画面の幅に合わせて縮める（1200px以上は80px） */
.sv-price__word {
  font-size: clamp(52px, 6.6vw, 80px);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* 小さい前置き＋大きい言葉を複数並べる形 */
.sv-price__main--parts {
  flex-wrap: wrap;
  gap: 0 16px;
  /* 文字は小さくしない。1行に収まらない幅では2行に折り返す */
  height: auto;
  min-height: 96px;
}

.sv-price__main--parts .sv-price__word {
  letter-spacing: 0.02em;
}

.sv-price__part {
  display: inline-flex;
  align-items: baseline;
  height: 96px;
  white-space: nowrap;
}

.sv-price__main--parts .sv-price__pre {
  margin-right: 4px;
}

.sv-price__note {
  margin-top: 4px;
  margin-bottom: auto;
  line-height: 32px;
}

/* 料金の比較表（今のツールを使い続けた場合との比較） */
.sv-compare {
  margin-top: 56px;
}

.sv-compare__title {
  color: var(--teal);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
}

.sv-compare__lead {
  max-width: 880px;
  margin: 8px auto 0;
  line-height: 28px;
  text-align: center;
}

.sv-compare__table {
  width: 100%;
  max-width: 880px;
  margin: 16px auto 0;
  border-collapse: collapse;
  text-align: center;
}

.sv-compare__table th,
.sv-compare__table td {
  padding: 14px 12px;
  border-bottom: 1px solid #c8c8c8;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.sv-compare__table thead th {
  color: var(--teal);
}

.sv-compare__table tbody th {
  text-align: left;
  white-space: nowrap;
}

.sv-compare__table td:nth-child(3) {
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 24px;
}

.sv-compare__table td:last-child {
  color: #dc5000;
  font-weight: 500;
}

/* 金額でなく文を比べる表（計測設定）。文は折り返し、右の列は大きくしない */
.sv-compare--text .sv-compare__table td {
  white-space: normal;
}

/* 表の題を大きく（本人2026-10-09）。旧: 16px */
.sv-compare--text .sv-compare__title {
  font-size: 24px;
  line-height: 40px;
}

/* 「自分で設定する」の見出しは黒（本人2026-10-09） */
.sv-compare--text .sv-compare__table thead th:nth-child(2) {
  color: var(--ink);
}

.sv-compare--text .sv-compare__table td:nth-child(3) {
  color: var(--teal);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
}

.sv-compare__note {
  max-width: 880px;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 20px;
}

/* 無料分析 */
.sv-cta {
  padding: 92px 0 100px;
}

.sv-cta__text {
  padding-left: 0.02em;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
}

.sv-cta .sec__btn {
  margin-top: 40px;
}

/* 白のセクションが続く時は上の余白を詰める */
.sv-tight {
  padding-top: 0;
}

/* 事例 */
.sv-case__title {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 1.95vw, 28px);
}

/* 制作物の画像2枚と、提示の案内 */
.sv-show {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.sv-show__imgs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.sv-show__img {
  /* 1枚の横長（本人2026-10-10。旧: 2枚で 15/14） */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9d9d9;
  border-radius: 8px;
}

.sv-show__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.sv-show__text {
  line-height: 32px;
  letter-spacing: 0.08em;
}

.sv-show__btn {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .sv-show {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* 頼めること */
.sv-menu li {
  position: relative;
  padding: 20px 0 20px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 32px;
}

.sv-menu li:first-child {
  border-top: 1px solid var(--line);
}

.sv-menu li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 32px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* 頼めること（枠4つ） */
.sv-svc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.sv-svc__note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 24px;
}

/* 領域のページ: メニューの一覧（1行ずつが、そのサービスページへのリンク） */
.sv-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.sv-links__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.sv-links__item:hover {
  background: rgba(40, 150, 170, 0.06);
}

.sv-links__body {
  display: block;
  min-width: 0;
}

.sv-links__name {
  display: block;
  color: var(--teal);
  font-size: 18px;
  line-height: 28px;
}

.sv-links__text {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 22px;
}

.sv-links__more {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.sv-links__go {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  background: var(--teal);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.sv-links__go::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
}

.sv-links__item:hover .sv-links__go {
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .sv-links {
    grid-template-columns: minmax(0, 1fr);
  }

  /* スマホは矢印だけ（「詳しく見る」の字は出さない） */
  .sv-links__more {
    gap: 0;
    font-size: 0;
  }
}

.sv-svc__item {
  display: flex;
  flex-direction: column;
  padding: 30px 36px 30px;
  border: 1px solid var(--teal);
  border-radius: 20px;
}

.sv-svc__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--teal);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.sv-svc__no {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.sv-svc__text {
  margin: 16px 0 20px;
  line-height: 32px;
}

.sv-svc__sub {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 28px;
}

.sv-svc__sub span {
  flex: none;
  color: var(--teal);
}

/* 媒体ごとの運用内容（媒体名を押すと開く。文は最初からページの中にある） */
.sv-media {
  margin-top: 60px;
}

.sv-media__title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--teal);
  color: var(--teal);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.sv-media__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 50px;
  align-items: start;
}

.sv-media__item {
  border-bottom: 1px solid var(--line);
  line-height: 32px;
}

.sv-media__item summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-size: 18px;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.sv-media__item summary:hover {
  color: var(--teal);
}

/* 開閉の印（＋／−） */
.sv-media__item summary::before,
.sv-media__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 16px;
  height: 1px;
  background: var(--teal);
  transition: transform 0.25s ease;
}

.sv-media__item summary::after {
  transform: rotate(90deg);
}

.sv-media__item[open] summary::after {
  transform: rotate(0deg);
}

.sv-media__item p {
  padding: 0 0 20px;
}

/* 流れ */
.sv-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.sv-steps li {
  padding: 24px 26px 28px;
  border: 1px solid var(--teal);
  border-radius: 20px;
  line-height: 32px;
}

.sv-steps__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--teal);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* 流れの中の注（※）。頼めることの注と同じ大きさ */
.sv-steps__note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 20px;
}

.sv-steps__no {
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* よくある質問 */
.sv-faq__item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.sv-faq__item:first-child {
  border-top: 1px solid var(--line);
}

.sv-faq__q,
.sv-faq__a {
  position: relative;
  padding-left: 44px;
  line-height: 32px;
}

.sv-faq__q {
  font-size: 18px;
  font-weight: 400;
}

.sv-faq__a {
  margin-top: 12px;
}

.sv-faq__a a,
.sv-steps a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sv-faq__q::before,
.sv-faq__a::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 32px;
}

.sv-faq__q::before {
  content: "Q";
  color: var(--teal);
}

.sv-faq__a::before {
  content: "A";
  color: var(--orange);
}

/* 関連するページ */
.sv-related {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.sv-related a {
  display: block;
  padding: 10px 28px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  line-height: 28px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.sv-related a:hover {
  background: var(--teal);
  color: #fff;
}

@media (max-width: 960px) {
  .sv-fv {
    padding: calc(var(--gh-h) + 36px) 0 56px;
  }

  .crumb {
    margin-bottom: 28px;
  }

  .sv-pill {
    min-width: 0;
    width: 100%;
  }

  .sv-lead {
    padding: 56px 0 60px;
  }

  .sv-lead__text,
  .sv-terms {
    font-size: 16px;
    line-height: 32px;
  }

  .sv-facts__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sv-voices,
  .sv-media__list,
  .sv-svc,
  .sv-steps,
  .sv-intro__row,
  .sv-price__row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sv-voices li {
    padding: 18px 24px;
    font-size: 16px;
  }

  .sv-intro {
    padding: 56px 0 60px;
  }

  /* 1列になる幅では、右の文も1列ぶんに戻す */
  .sv-intro__col--count {
    grid-column: auto;
    margin: 56px 0 0;
    padding: 0;
  }

  .sv-count {
    font-size: 24px;
  }

  .sv-price__item + .sv-price__item {
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid #c8c8c8;
  }

  .sv-price__num {
    font-size: 64px;
  }

  .sv-price__word {
    font-size: 52px;
  }

  .sv-price__main--parts {
    min-height: 76px;
  }

  .sv-price__part {
    height: 76px;
  }

  .sv-price__main--parts .sv-price__pre {
    font-size: 14px;
  }

  .sv-price__main {
    line-height: 76px;
  }

  .sv-menu li,
  .sv-faq__q {
    font-size: 16px;
  }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1180px) {
  .gh__bar {
    gap: 16px;
    padding: 0 20px;
  }

  .gh__link {
    padding: 0 12px;
    font-size: 13px;
  }

  .gh__item--mega > .gh__link {
    padding-right: 28px;
  }

  .gh__item--mega > .gh__link::before {
    right: 12px;
  }

  .svc {
    gap: 48px 50px;
  }

  .role {
    gap: 30px;
  }

  .posts {
    gap: 40px 30px;
  }

  .pill:not(.pill--center) {
    font-size: 20px;
  }

  .gf__inner {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 960px) {
  :root {
    --gh-h: 64px;
  }

  .gh__nav,
  .gh__cta {
    display: none;
  }

  .gh__toggle {
    display: block;
  }

  .drawer {
    display: block;
    position: fixed;
    top: var(--gh-h);
    left: 0;
    right: 0;
    bottom: 0;
    /* 少し透けさせる（本人2026-10-09「ハンバーガーの透明度少し上げて」）。旧: #fff */
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    color: var(--ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
  }

  .gh.is-drawer {
    color: var(--ink);
    /* ここに backdrop-filter を付けない（中の .drawer の position: fixed の基準がヘッダーになり、メニューが開かなくなる） */
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: var(--line);
  }

  .gh.is-drawer .drawer {
    opacity: 1;
    visibility: visible;
  }

  .drawer__inner {
    padding: 8px 24px 48px;
  }

  .drawer__group {
    border-bottom: 1px solid var(--line);
  }

  .drawer__group summary {
    position: relative;
    padding: 18px 32px 18px 0;
    cursor: pointer;
    list-style: none;
  }

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

  .drawer__group summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--teal);
    border-bottom: 1.5px solid var(--teal);
    transform: translateY(-70%) rotate(45deg);
  }

  .drawer__group[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
  }

  .drawer__group ul {
    padding: 0 0 16px 12px;
  }

  .drawer__group li a,
  .drawer__group li .is-soon {
    display: block;
    padding: 8px 0;
    color: var(--teal);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .drawer .is-soon {
    opacity: 0.5;
  }

  .drawer__links li {
    border-bottom: 1px solid var(--line);
  }

  .drawer__links li a,
  .drawer__links li .is-soon {
    display: block;
    padding: 18px 0;
  }

  .drawer__cta {
    width: 100%;
    margin-top: 28px;
  }

  .frame {
    padding-inline: 24px;
  }

  .inset {
    padding-inline: 0;
  }

  .wrap {
    width: min(100% - 48px, 1240px);
  }

  .sec {
    padding: 64px 0 72px;
  }

  .intro {
    padding: 56px 0 60px;
  }

  .intro__row {
    display: block;
    margin-right: 0;
  }

  .intro__value {
    white-space: normal;
  }

  .moya {
    margin: 36px 0 0;
    width: 100%;
  }

  .intro__lead {
    margin-top: 28px;
  }

  .svc,
  .role,
  .posts,
  .cards,
  .checks {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .role {
    gap: 20px;
  }

  .role__card {
    padding: 22px 22px 24px;
  }

  .role__name {
    font-size: 20px;
  }

  .mission {
    display: block;
  }

  .mission__label {
    padding: 0 0 10px;
    font-size: 18px;
  }

  .mission__text {
    padding-left: 16px;
  }

  .pill--auto {
    min-width: 0;
    width: 100%;
  }

  .gf__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 24px 48px;
  }

  .gf__nav {
    grid-template-columns: 1fr 1fr;
  }

  .gf__copy {
    padding-inline: 24px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .fv__inner {
    padding: calc(var(--gh-h) + 16px) 20px 0;
  }

  .hero__title {
    font-size: clamp(40px, 13vw, 64px);
  }

  .hero__corner-logo {
    display: none;
  }

  .intro__value {
    font-size: 11.5vw;
  }

  .moya__label {
    font-size: 16px;
  }

  .moya__box {
    height: 64px;
  }

  .pill {
    min-height: 56px;
    font-size: 18px;
  }

  .pill__go {
    width: 34px;
    height: 34px;
  }

  .case {
    padding: 26px 22px 28px;
  }

  .case__body,
  .role__text {
    line-height: 28px;
  }

  .svc__top {
    padding-right: 64px;
  }

  .svc__top .go {
    right: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .faq__q {
    padding: 22px 40px;
    font-size: 15px;
  }

  .faq__a {
    padding: 0 12px 24px 40px;
  }

  .faq__q::before,
  .faq__a::before {
    left: 2px;
  }

  .gf__nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .soon__links {
    padding-inline: 0;
  }
}

@media (max-width: 767px) {
  /* 左の列を改行させて、金額の3列を広くする。金額は改行させない */
  .sv-compare__table {
    table-layout: fixed;
  }

  .sv-compare__table thead td {
    width: 21%;
  }

  .sv-compare__table th,
  .sv-compare__table td {
    padding: 10px 2px;
    font-size: 12px;
    line-height: 18px;
  }

  .sv-compare__table tbody th {
    white-space: normal;
  }

  .sv-compare__table tbody td {
    white-space: nowrap;
    font-size: 13px;
  }

  .sv-compare__table td:nth-child(3) {
    font-size: 15px;
  }

  .sv-compare__lead {
    text-align: left;
  }

  .sv-compare--text .sv-compare__title {
    font-size: 19px;
    line-height: 32px;
  }

  .sv-compare--text .sv-compare__table tbody td {
    white-space: normal;
    padding: 10px 6px;
  }

  .sv-compare--text .sv-compare__table td:nth-child(3) {
    font-size: 13px;
  }
}

/* =========================================================
   お問い合せフォーム（/contact/）
   ========================================================= */
.cf-fv {
  padding-bottom: 70px;
}

.cf {
  max-width: 760px;
  margin-inline: auto;
}

.cf__error {
  margin-bottom: 32px;
  padding: 14px 20px;
  border: 1px solid var(--red);
  border-radius: 12px;
  color: var(--red);
  line-height: 28px;
}

.cf__row {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.cf__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0;
  color: var(--teal);
  font-size: 16px;
  line-height: 24px;
}

.cf__req {
  padding: 0 8px;
  border: 1px solid var(--red);
  border-radius: 10px;
  color: var(--red);
  font-size: 11px;
  line-height: 18px;
}

.cf__input,
.cf__select select {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cf__textarea {
  min-height: 200px;
  resize: vertical;
}

.cf__input:focus,
.cf__select select:focus {
  border-color: var(--teal);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(40, 150, 170, 0.18);
}

.cf__input::placeholder {
  color: #9a9a9a;
}

/* サービスの2層（領域 → その中のサービス）。2つ目は、領域を選ぶと下に出る */
.cf__pair {
  display: grid;
  gap: 12px;
}

.cf__sub[hidden] {
  display: none;
}

/* 2つ目（詳細）。1つ目の下に、左に線を付けて一段下げて出す */
.cf__sub {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 2px solid var(--teal);
}

.cf__sublabel {
  color: var(--teal);
  font-size: 14px;
  line-height: 24px;
}

/* 出た時に一度だけ、下から現れて枠を光らせる */
.cf__sub.is-new {
  animation: cf-sub-in 0.45s ease both;
}

.cf__sub.is-new select {
  animation: cf-sub-glow 1.6s ease both;
}

@keyframes cf-sub-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@keyframes cf-sub-glow {
  0%, 60% { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(40, 150, 170, 0.28); }
  100% { border-color: #c8c8c8; box-shadow: 0 0 0 0 rgba(40, 150, 170, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cf__sub.is-new,
  .cf__sub.is-new select {
    animation: none;
  }
}

.cf__select {
  position: relative;
}

.cf__select select {
  padding-right: 48px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.cf__select::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.cf__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

/* 普通のラジオボタン（丸を見せる） */
.cf__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 28px;
  cursor: pointer;
}

.cf__radio input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--teal);
  cursor: pointer;
}

.cf__check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  line-height: 28px;
  cursor: pointer;
}

.cf__check input {
  width: 20px;
  height: 20px;
  accent-color: var(--teal);
}

.cf__check a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cf__submit {
  margin-top: 40px;
  text-align: center;
}

.cf__btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.cf__btn:hover {
  background: var(--teal-dark);
}

.cf__status {
  min-height: 28px;
  margin-top: 16px;
  line-height: 28px;
  text-align: center;
}

.cf__status.is-error {
  color: var(--red);
}

/* =========================================================
   プライバシーポリシー（/privacy/）
   ========================================================= */
.pp {
  max-width: 960px;
  margin-inline: auto;
}

.pp__row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.pp__row:first-child {
  border-top: 1px solid var(--line);
}

.pp__term {
  color: var(--teal);
  line-height: 32px;
}

.pp__term span {
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 24px;
}

.pp__desc {
  line-height: 32px;
  letter-spacing: 0.04em;
}

.pp__desc a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .pp__row {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 0;
  }
}

/* 事例（/cases/）: 領域へのアンカーリンク。4つとも同じ幅 */
.cs-sec {
  scroll-margin-top: var(--gh-h);
}

.cs-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 72px;
}

.cs-nav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  transition: border-color 0.25s ease;
}

.cs-nav__item:hover {
  border-color: var(--teal);
}

.cs-nav__name {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cs-nav__go {
  position: absolute;
  /* 矢印は名前の行の右。上のタグは長い物（AI & Operations）があるので重ねない */
  right: 18px;
  bottom: 27px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(45deg);
}

@media (max-width: 960px) {
  .cs-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 56px;
  }

  .cs-nav__name {
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .cs-nav__item {
    padding: 16px 12px;
  }

  .cs-nav__go {
    right: 11px;
    bottom: 25px;
  }
}

/* 事例（/cases/）: 領域のページへのボタンは、4つとも同じ幅にして、名前が長くても1行で出す */
.pill.cs-btn {
  width: min(460px, 100%);
  max-width: none;
}

.pill.cs-btn span {
  white-space: nowrap;
}

/* 会社概要（/about/）: FVのキャッチは1文が長いので、PCで1行に収まる大きさにする */
.sv-fv__catch.ab-catch {
  font-size: clamp(22px, 3.6vw, 52px);
}

/* 会社概要（/about/）: Mission の下の Vision と Values */
/* Mission と Vision で縦の線の位置を揃える（ラベルの幅を同じにする） */
.ab-mv .mission__label {
  box-sizing: content-box;
  width: 4.4em;
}

.ab-vision {
  margin-top: 72px;
}

.ab-values {
  margin-top: 72px;
  margin-bottom: 28px;
}

/* =========================================================
   お問い合せの送信後（/contact/thanks/）
   本文はサービスページのリード（.sv-intro__lead）をそのまま使う
   ========================================================= */
.th-row {
  margin-top: 0;
}

.th-btn {
  margin-top: 44px;
  text-align: center;
}

/* ===== レターの型（相手別のページ。2026-10-11。最小限。デザインは本人） ===== */
.lt-letter {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 2.1;
  color: var(--ink);
}
.lt-letter p + p {
  margin-top: 32px;
}
.lt-letter__h {
  margin: 56px 0 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--teal);
}
.lt-letter em {
  color: var(--orange);
  font-style: normal;
}
.lt-letter a {
  color: var(--teal);
  text-decoration: underline;
}
.lt-close {
  margin: 16px 0 24px;
  text-align: center;
  line-height: 1.9;
}
@media (max-width: 760px) {
  .lt-letter {
    font-size: 16px;
    line-height: 2;
  }
  .lt-letter__h {
    margin: 40px 0 16px;
    font-size: 18px;
  }
}

/* ===== モヤモヤ入力の結果（2026-10-12。見た目は最小限。デザインは本人） ===== */
.moya-result {
  display: none;
  margin: 18px 0 0;
  color: var(--ink);
  text-align: left;
}
.moya-result.is-open {
  display: block;
}
.moya-result__lead {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 15px;
}
.moya-result__list {
  display: grid;
  gap: 10px;
}
.moya-result__item {
  position: relative;
  display: block;
  padding: 14px 52px 14px 18px;
  border: 1px solid var(--teal);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition: background 0.2s ease;
}
.moya-result__item:hover {
  background: rgba(40, 150, 170, 0.08);
}
.moya-result__name {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--teal-dark);
}
.moya-result__catch {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
}
.moya-result__go {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid var(--teal);
  border-right: 1.5px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
}
.moya-result__note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
}
.moya.is-busy .moya__button {
  opacity: 0.5;
}
