/* =========================================================
   FUZOKU DESIGN トップページ・共通ヘッダー／フッター
   2026-11-17 タイポグラフィ改訂版

   書体
   ・英字ディスプレイ … Cormorant Garamond 300/400（大きく、細く）
   ・和文見出し       … Noto Serif JP 300（明朝・細字）
   ・本文             … Noto Sans JP 400
   ・line-height / letter-spacing は指定しない（2026-11-17 指示）
   ========================================================= */

:root {
  --fd-ink: #1d1822;
  --fd-night: #272030;
  --fd-text: #46404d;
  --fd-muted: #7d7684;
  --fd-line: #e2dee6;
  --fd-mist: #f1eff3;
  --fd-paper: #ffffff;
  --fd-rose: #a8385f;
  --fd-rose-dark: #8c2a4e;
  --fd-champagne: #a88d5c;
  --fd-header-h: 84px;
  --fd-gutter: clamp(24px, 5vw, 64px);
  --fd-section: clamp(104px, 13vw, 184px);
  --fd-sans:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
    sans-serif;
  --fd-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --fd-display: "Cormorant Garamond", "Times New Roman", serif;
}

/* ---------- ベース（トップページのみ） ---------- */

.fd-lp {
  margin: 0;
  background: var(--fd-paper);
  color: var(--fd-text);
  font-family: var(--fd-sans);
  font-size: 16px;
  font-weight: 400;
  font-feature-settings: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

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

:where(.fd-lp) img {
  max-width: 100%;
  height: auto;
  display: block;
}

:where(.fd-lp) a {
  color: inherit;
  text-decoration: none;
}

:where(.fd-lp) :where(h1, h2, h3, p, ul, ol, dl, dd) {
  margin: 0;
  padding: 0;
}

:where(.fd-lp) :where(ul, ol) {
  list-style: none;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.fd-lp :focus-visible {
  outline: 2px solid var(--fd-rose);
  outline-offset: 3px;
}

.fd-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.fd-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--fd-gutter);
}

.fd-container--narrow {
  max-width: 1240px;
}

.fd-center {
  margin-top: 64px;
  text-align: center;
}

.fd-pc {
  display: none;
}

@media (min-width: 768px) {
  .fd-pc {
    display: inline;
  }
}

.fd-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ---------- ヘッダー・フッター共通リセット（下層ページの旧CSS対策） ---------- */

.fd-header,
.fd-footer,
.fd-fixed-cta {
  font-family: var(--fd-sans);
  -webkit-font-smoothing: antialiased;
}

.fd-header *,
.fd-header *::before,
.fd-header *::after,
.fd-footer *,
.fd-footer *::before,
.fd-footer *::after,
.fd-fixed-cta *,
.fd-fixed-cta *::before,
.fd-fixed-cta *::after {
  box-sizing: border-box;
}

.fd-header a,
.fd-header a:hover,
.fd-header a:focus,
.fd-footer a,
.fd-footer a:hover,
.fd-footer a:focus {
  text-decoration: none;
}

.fd-header ul,
.fd-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fd-header p,
.fd-footer p,
.fd-footer dl,
.fd-footer dd {
  margin: 0;
}

.fd-footer {
  text-align: left;
  background-image: none;
  font-weight: 400;
}

.fd-footer a {
  color: inherit !important;
}

.fd-footer a:hover {
  color: #fff !important;
}

/* ---------- ボタン ---------- */

.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 36px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--fd-sans);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
  cursor: pointer;
}

.fd-btn--accent {
  background: var(--fd-rose);
  color: #fff !important;
}

.fd-btn--accent:hover {
  background: var(--fd-rose-dark);
}

.fd-btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff !important;
}

.fd-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.fd-btn--outline {
  border-color: var(--fd-ink);
  color: var(--fd-ink);
  padding: 0 48px;
}

.fd-btn--outline:hover {
  background: var(--fd-ink);
  color: #fff;
}

.fd-btn--sm {
  min-height: 44px;
  padding: 0 24px;
  font-size: 14px;
}

.fd-btn--lg {
  min-height: 64px;
  padding: 0 44px;
}

.fd-btn--block {
  display: flex;
  width: 100%;
}

/* ---------- ヘッダー ---------- */

.fd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fd-line);
}

.admin-bar .fd-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .fd-header {
    top: 46px;
  }
}

.fd-header__inner {
  max-width: none;
  height: var(--fd-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.fd-logo {
  display: flex;
  flex-direction: column;
  flex: none;
}

.fd-logo__img {
  display: block;
  height: 30px;
  width: auto;
  max-width: none;
}

.fd-logo__sub {
  font-size: 11px;
  color: var(--fd-muted);
  margin-top: 8px;
}

.fd-nav {
  display: flex;
  align-items: center;
}

.fd-nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.fd-nav__list a {
  font-size: 14px;
  font-weight: 400;
  color: var(--fd-ink);
  padding: 8px 0;
  transition: color 0.2s;
}

/* メニュー項目の「CSS クラス」に fd-nav-cta を指定するとボタン表示 */

.fd-nav__list .fd-nav-cta > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 2px;
  background: var(--fd-rose);
  color: #fff !important;
  font-weight: 500;
}

.fd-nav__list .fd-nav-cta > a:hover {
  background: var(--fd-rose-dark);
}

.fd-nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: none !important;
  overflow: visible !important;
  cursor: pointer;
  flex: none;
}

.fd-nav-toggle::before {
  display: none !important;
}

.fd-nav-toggle__bar {
  display: block;
  height: 1px;
  background: var(--fd-ink);
  margin: 7px 0;
  transition:
    transform 0.25s,
    opacity 0.25s;
}

.fd-nav-open .fd-nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.fd-nav-open .fd-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.fd-nav-open .fd-nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1100px) {
  :root {
    --fd-header-h: 64px;
  }
  .fd-logo__img {
    height: 22px;
  }
  .fd-logo__sub {
    display: none;
  }
  .fd-nav-toggle {
    display: block;
  }
  .fd-nav {
    position: fixed;
    inset: var(--fd-header-h) 0 auto 0;
    display: block;
    background: #fff;
    border-bottom: 1px solid var(--fd-line);
    padding: 8px var(--fd-gutter) 32px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s,
      visibility 0.2s;
  }
  .admin-bar .fd-nav {
    top: calc(var(--fd-header-h) + 46px);
  }
  .fd-nav-open .fd-nav {
    opacity: 1;
    visibility: visible;
  }
  .fd-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .fd-nav__list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--fd-line);
    font-size: 15px;
  }
  .fd-nav__list .fd-nav-cta {
    margin-top: 24px;
  }
  .fd-nav__list .fd-nav-cta > a {
    display: flex;
    justify-content: center;
    border-bottom: 0;
    min-height: 56px;
  }
}

/* ---------- セクション共通 ---------- */

.fd-section {
  padding: var(--fd-section) 0;
}

.fd-section--soft {
  background: var(--fd-mist);
}

.fd-section--dark {
  background: var(--fd-ink);
  color: rgba(255, 255, 255, 0.76);
}

/* 見出し：大きな英字（Cormorant）＋細い明朝の和文 */

.fd-heading {
  margin-bottom: clamp(56px, 7vw, 96px);
}

.fd-heading__en {
  font-family: var(--fd-display);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(48px, 7.2vw, 104px);
  color: var(--fd-ink);
  margin-bottom: 28px;
}

.fd-heading__title {
  font-family: var(--fd-serif);
  font-weight: 300;
  font-size: clamp(20px, 2.1vw, 28px);
  color: var(--fd-ink);
}

.fd-heading__lead {
  margin-top: 28px;
  color: var(--fd-text);
}

.fd-heading--light .fd-heading__en,
.fd-heading--light .fd-heading__title {
  color: #fff;
}

.fd-heading--light .fd-heading__lead {
  color: rgba(255, 255, 255, 0.7);
}

.fd-heading--left {
  margin-bottom: 40px;
}

.fd-heading--left .fd-heading__en {
  font-size: clamp(44px, 5.4vw, 80px);
}

/* ---------- 1. ヒーロー ---------- */

.fd-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--fd-ink);
}

.fd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    70% 90% at 100% 0%,
    rgba(168, 56, 95, 0.28),
    transparent 70%
  );
}

.fd-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding-top: clamp(96px, 12vw, 168px);
  padding-bottom: clamp(96px, 12vw, 168px);
  max-width: 100%;
}

.fd-hero__kicker {
  font-family: var(--fd-display);
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 21px);
  color: #d6c3a0;
  margin-bottom: 40px;
}

.fd-hero__since {
  font-size: 38px;
}

.fd-hero__title {
  font-family:
    Noto Sans Japanese,
    Noto Sans JP,
    sans-serif;
  font-weight: 500;
  font-size: clamp(27px, 3.3vw, 50px);
  color: #fff;
  word-break: keep-all;
  overflow-wrap: anywhere;
  letter-spacing: -0.04em;
}

.fd-hero__catch {
  font-family: var(--fd-serif);
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 21px);
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.92);
}

.fd-hero__lead {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  /* max-width: 34em; */
}

.fd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  /* max-width: 34em; */
}

.fd-badges li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.fd-badges li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d6c3a0;
  margin-right: 10px;
  vertical-align: 2px;
}

.fd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.fd-hero__visual img {
  width: 100%;
  border-radius: 2px;
}

/* ヒーローだけ読み込み時に1回だけ表示演出 */

.fd-js .fd-hero .fd-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fd-js .fd-hero .fd-reveal.is-in {
  opacity: 1;
  transform: none;
}

.fd-js .fd-hero .fd-hero__visual.fd-reveal {
  transition-delay: 0.25s;
}

@media (max-width: 1023px) {
  .fd-hero__inner {
    grid-template-columns: 1fr;
  }
  .fd-hero__actions .fd-btn {
    flex: 1 1 240px;
  }
}

/* ---------- 2. お悩み ---------- */

.fd-problem {
  border-top: 1px solid var(--fd-line);
}

.fd-problem__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--fd-line);
  color: var(--fd-ink);
  font-size: 17px;
}

.fd-problem__item .fd-icon {
  color: var(--fd-rose);
  margin-top: 6px;
  width: 20px;
  height: 20px;
}

.fd-problem__answer {
  margin-top: clamp(64px, 8vw, 104px);
  font-family: var(--fd-serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  color: var(--fd-ink);
}

.fd-problem__answer strong {
  font-weight: 300;
}

/* ---------- 3. 選ばれる理由 ---------- */

.fd-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px clamp(32px, 4vw, 64px);
}

.fd-reason {
  border-top: 1px solid var(--fd-ink);
  padding-top: 32px;
}

.fd-reason__title {
  font-family: var(--fd-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--fd-ink);
}

.fd-reason__text {
  margin-top: 18px;
  font-size: 15px;
}

.fd-reason--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px clamp(32px, 4vw, 64px);
  align-items: start;
}

.fd-reason--wide .fd-reason__title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
}

.fd-reason--wide .fd-reason__text {
  margin-top: 0;
  max-width: 40em;
}

@media (max-width: 1023px) {
  .fd-reasons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .fd-reason--wide {
    grid-template-columns: 1fr;
  }
  .fd-reason--wide .fd-reason__text {
    margin-top: 18px;
  }
}

@media (max-width: 639px) {
  .fd-reasons {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ---------- 4. 制作実績 ---------- */

.fd-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px clamp(24px, 3vw, 48px);
}

.fd-work a {
  display: block;
}

.fd-work__thumb {
  display: block;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 4 / 3;
}

.fd-work__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fd-work a:hover .fd-work__thumb img {
  transform: scale(1.03);
}

.fd-work__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 18px;
}

.fd-tag {
  font-family: var(--fd-serif);
  font-size: 16px;
  color: var(--fd-ink);
}

.fd-work__area {
  font-size: 13px;
  color: var(--fd-muted);
}

@media (max-width: 1023px) {
  .fd-works {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .fd-works {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- 5. 標準機能 ---------- */

.fd-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.fd-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 24px 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 15px;
}

.fd-feature .fd-icon {
  color: #d6c3a0;
  width: 22px;
  height: 22px;
}

@media (max-width: 1023px) {
  .fd-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .fd-features {
    grid-template-columns: 1fr;
  }
}

/* ---------- 6. 公開後の運用 ---------- */

.fd-split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.fd-split__media img {
  border-radius: 2px;
}

.fd-split__body > p {
  max-width: 30em;
}

.fd-split__body > p + p {
  margin-top: 20px;
}

.fd-text-link {
  display: inline-block;
  margin-top: 36px;
  font-size: 15px;
  color: var(--fd-ink) !important;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--fd-ink);
  transition:
    color 0.2s,
    border-color 0.2s;
}

.fd-text-link:hover {
  color: var(--fd-rose) !important;
  border-color: var(--fd-rose);
}

@media (max-width: 1023px) {
  .fd-split {
    grid-template-columns: 1fr;
  }
}

/* ---------- 7. 料金 ---------- */

.fd-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}

.fd-plan {
  display: flex;
  flex-direction: column;
  padding-top: 36px;
  border-top: 1px solid var(--fd-ink);
}

.fd-plan--main {
  border-top: 2px solid var(--fd-rose);
}

.fd-plan__label {
  font-size: 13px;
  color: var(--fd-muted);
}

.fd-plan__name {
  font-family: var(--fd-serif);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--fd-ink);
  margin-top: 10px;
}

.fd-plan__price {
  font-family: var(--fd-serif);
  font-weight: 300;
  font-size: 22px;
  color: var(--fd-ink);
  margin-top: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--fd-line);
}

.fd-plan__num {
  font-family: var(--fd-display);
  font-weight: 300;
  font-size: clamp(56px, 6vw, 80px);
  margin-right: 6px;
}

.fd-plan__price small {
  font-family: var(--fd-sans);
  font-size: 13px;
  color: var(--fd-muted);
  margin-left: 6px;
}

.fd-plan--main .fd-plan__price {
  font-size: clamp(30px, 3.2vw, 44px);
}

.fd-plan__list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.fd-plan__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
}

.fd-plan__list .fd-icon {
  width: 18px;
  height: 18px;
  color: var(--fd-rose);
  margin-top: 7px;
}

.fd-plan__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--fd-muted);
}

.fd-plan .fd-btn {
  margin-top: 40px;
}

@media (max-width: 1023px) {
  .fd-plans {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

.fd-options {
  margin-top: clamp(72px, 9vw, 112px);
}

.fd-options__title {
  font-family: var(--fd-serif);
  font-weight: 300;
  font-size: 22px;
  color: var(--fd-ink);
  margin-bottom: 20px;
}

.fd-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--fd-ink);
}

.fd-table th,
.fd-table td {
  padding: 24px 4px;
  border-bottom: 1px solid var(--fd-line);
  text-align: left;
  vertical-align: baseline;
}

.fd-table th {
  font-weight: 400;
  color: var(--fd-ink);
}

.fd-table td {
  white-space: nowrap;
  text-align: right;
  font-family: var(--fd-serif);
  font-size: 20px;
  color: var(--fd-ink);
}

.fd-table td small {
  font-family: var(--fd-sans);
  font-size: 12px;
  color: var(--fd-muted);
}

@media (max-width: 639px) {
  .fd-table th,
  .fd-table td {
    display: block;
    text-align: left;
    padding: 18px 0 0;
  }
  .fd-table th {
    border-bottom: 0;
  }
  .fd-table td {
    padding: 4px 0 18px;
  }
}

.fd-notes {
  margin-top: 36px;
  font-size: 14px;
  color: var(--fd-muted);
  display: grid;
  gap: 4px;
}

.fd-notes li::before {
  content: "※";
  margin-right: 0.4em;
}

/* ---------- 8. 制作の流れ（順序があるので番号を使う） ---------- */

.fd-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px clamp(32px, 4vw, 64px);
}

.fd-flow__step {
  border-top: 1px solid var(--fd-line);
  padding-top: 28px;
}

.fd-flow__num {
  font-family: var(--fd-display);
  font-weight: 300;
  font-size: 56px;
  color: var(--fd-champagne);
}

.fd-flow__title {
  margin-top: 20px;
  font-family: var(--fd-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--fd-ink);
  letter-spacing: 0.2em;
}

.fd-flow__text {
  margin-top: 14px;
  font-size: 15px;
}

@media (max-width: 1023px) {
  .fd-flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  .fd-flow {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- 9. FAQ ---------- */

.fd-faq {
  border-top: 1px solid var(--fd-ink);
}

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

.fd-faq__q {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 12px 56px 12px 4px;
  font-size: 17px;
  color: var(--fd-ink);
}

.fd-faq__q::-webkit-details-marker {
  display: none;
}

.fd-faq__q::before,
.fd-faq__q::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--fd-ink);
  transition: transform 0.25s;
}

.fd-faq__q::after {
  transform: rotate(90deg);
}

.fd-faq__item[open] .fd-faq__q::after {
  transform: rotate(0);
}

.fd-faq__item.is-closing .fd-faq__q::after {
  transform: rotate(90deg);
}

.fd-faq__mark {
  flex: none;
  font-family: var(--fd-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--fd-champagne);
  width: 20px;
}

.fd-faq__mark--a {
  color: var(--fd-rose);
}

.fd-faq__a {
  overflow: hidden;
}

.fd-faq__a-inner {
  display: flex;
  gap: 20px;
  padding: 0 56px 32px 4px;
}

/* ---------- 10. お問い合わせ（Contact Form 7） ---------- */

.fd-form {
  background: #fff;
  color: var(--fd-text);
  border-radius: 2px;
  padding: clamp(32px, 6vw, 72px);
}

.fd-form .wpcf7-form p {
  margin: 0 0 28px;
}

.fd-form label {
  display: block;
  font-weight: 500;
  color: var(--fd-ink);
  font-size: 15px;
}

.fd-form .fd-req,
.fd-form .fd-any {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 400;
  padding: 0 8px;
  border-radius: 2px;
  vertical-align: 2px;
}

.fd-form .fd-req {
  background: var(--fd-rose);
  color: #fff;
}

.fd-form .fd-any {
  border: 1px solid var(--fd-line);
  color: var(--fd-muted);
}

.fd-form input[type="text"],
.fd-form input[type="email"],
.fd-form input[type="tel"],
.fd-form input[type="url"],
.fd-form select,
.fd-form textarea {
  width: 100%;
  margin-top: 10px;
  padding: 16px 18px;
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  color: var(--fd-ink);
  border: 1px solid #d3cdd8;
  border-radius: 2px;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.fd-form textarea {
  min-height: 200px;
  resize: vertical;
}

.fd-form input:focus,
.fd-form select:focus,
.fd-form textarea:focus {
  outline: 0;
  border-color: var(--fd-ink);
  box-shadow: 0 0 0 3px rgba(29, 24, 34, 0.08);
}

.fd-form .wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 380px;
  min-height: 64px;
  margin: 16px auto 0;
  border: 0;
  border-radius: 2px;
  background: var(--fd-rose);
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}

.fd-form .wpcf7-submit:hover {
  background: var(--fd-rose-dark);
}

.fd-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.fd-form .wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: 6px;
}

.fd-form .wpcf7-response-output {
  border-radius: 2px;
  margin: 20px 0 0 !important;
}

.fd-form .fd-privacy {
  font-size: 13px;
  color: var(--fd-muted);
  text-align: center;
}

/* ---------- 11. NEWS ---------- */

.fd-news {
  border-top: 1px solid var(--fd-ink);
}

.fd-news__item {
  display: flex;
  align-items: baseline;
  gap: 40px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--fd-line);
}

.fd-news__date {
  flex: none;
  font-family: var(--fd-display);
  font-size: 18px;
  color: var(--fd-muted);
}

.fd-news__title {
  color: var(--fd-ink);
  transition: color 0.2s;
}

.fd-news__title:hover {
  color: var(--fd-rose);
}

@media (max-width: 639px) {
  .fd-news__item {
    flex-direction: column;
    gap: 4px;
  }
}

/* ---------- フッター ---------- */

.fd-footer {
  background: var(--fd-ink);
  color: rgba(255, 255, 255, 0.62);
  padding: clamp(72px, 9vw, 120px) 0 0;
  font-size: 14px;
}

.fd-footer__inner {
  max-width: 1240px;
  display: flex;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
  padding-bottom: 72px;
}

.fd-footer__logo {
  display: inline-block;
}

.fd-footer__logo img {
  display: block;
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.fd-footer__desc {
  margin-top: 16px;
}

.fd-company {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 24px;
  margin-top: 32px;
  margin-bottom: 0;
}

.fd-company dt {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.fd-footer__list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 56px;
}

.fd-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 28px var(--fd-gutter);
  font-family: var(--fd-display);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- スマホ追従CTA ---------- */

.fd-fixed-cta {
  display: none;
}

@media (max-width: 767px) {
  .fd-fixed-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--fd-line);
    transform: translateY(110%);
    transition: transform 0.3s;
  }
  .fd-fixed-cta.is-visible {
    transform: none;
  }
  .fd-fixed-cta .fd-btn {
    min-height: 52px;
  }
  .fd-lp .fd-footer {
    padding-bottom: 80px;
  }
  .fd-lp {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fd-js .fd-hero .fd-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fd-work__thumb img {
    transition: none;
  }
}
