/*
Theme Name: wp-agency-project
Author: Crossroad Co., Ltd.
*/
@charset "utf-8";

/* ===========================================================
   1. デザイントークン (CSS Variables) & ベース設定
   =========================================================== */
:root {
  --c-navy: #102b46;
  --c-navy-deep: #0b2036;
  --c-teal: #137c86;
  --c-teal-dark: #0b6a72;
  --c-teal-light: #8fdcd5;
  --c-cta: #087f78;
  --c-cta-hover: #066861;
  --c-gold: #d4b25a;
  --c-amber: #8a5a0b;
  --c-bg: #ffffff;
  --c-bg-soft: #f3f7fa;
  --c-bg-tint: #ecf6f7;
  --c-text: #253344;
  --c-muted: #4a5a6b;
  --c-border: #dce5ec;
  --c-border-strong: #9fb3c4;
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "BIZ UDPGothic", "Yu Gothic UI", Meiryo, sans-serif;
  --font-num: "Segoe UI", "Helvetica Neue", Arial, var(--font-base);
  --header-h: 64px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(16, 43, 70, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(16, 43, 70, 0.18);
  --shadow-lg: 0 28px 60px -20px rgba(16, 43, 70, 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    interpolate-size: allow-keywords;
    overflow-x: hidden;
  }
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  line-break: strict;
  overflow-x: hidden;
}

html[data-menu-open] body {
  overflow: hidden;
}

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

img {
  height: auto;
  display: block;
}

a {
  color: var(--c-teal-dark);
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--c-navy);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--c-navy);
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

b,
strong {
  font-weight: 700;
}

ul.row,
ol.row,
ul[role="list"],
ol[role="list"] {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: none;
}

:focus-visible {
  outline: 3px solid var(--c-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

#contact :focus-visible,
#site-footer :focus-visible {
  outline-color: #ffffff;
}

main:focus {
  outline: none;
}

.container {
  --bs-gutter-x: 2.5rem;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1160px;
  }
}

/* スキップリンク */
#skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--c-navy);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

#skip-link:focus {
  top: 12px;
}

/* ===========================================================
   2. ヘッダー & グローバルナビゲーション (#site-header)
   =========================================================== */
#site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#site-header[data-scrolled="true"],
html[data-menu-open] #site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--c-border);
  box-shadow: 0 6px 20px -14px rgba(16, 43, 70, 0.2);
}

#header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 12px 0 20px;
}

#header-logo {
  display: block;
  margin-right: auto;
  padding: 6px 0;
  border-radius: 6px;
}

#header-logo img {
  width: auto;
  height: 44px;
}

#header-cta {
  display: none;
}

#menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 56px;
  height: 52px;
  padding: 0;
  font: inherit;
  color: var(--c-navy);
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

#menu-toggle:hover {
  background: var(--c-bg-soft);
}

#menu-toggle-label {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

#menu-toggle-close,
#menu-toggle[aria-expanded="true"] #menu-toggle-open {
  display: none;
}

#menu-toggle[aria-expanded="true"] #menu-toggle-close {
  display: block;
}

#menu-toggle-open,
#menu-toggle-close {
  line-height: 0;
}

#global-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 1000;
  max-height: calc(100dvh - var(--header-h));
  padding: 8px 20px 28px;
  background: #ffffff;
  border-top: 1px solid var(--c-border);
  box-shadow: 0 24px 40px -20px rgba(16, 43, 70, 0.35);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

#global-nav[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}

#global-nav > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#global-nav > ul > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 8px 32px 8px 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}

#global-nav > ul > li > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--c-teal);
  border-right: 2px solid var(--c-teal);
  transform: translateY(-50%) rotate(45deg);
}

#nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 999;
  background: rgba(16, 43, 70, 0.45);
}

#nav-backdrop[hidden] {
  display: none;
}

@media (min-width: 768px) {
  #header-inner {
    padding: 0 16px 0 24px;
  }

  #header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 14px 8px 20px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    background: var(--c-cta);
    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }

  #header-cta:hover {
    color: #ffffff;
    background: var(--c-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(8, 127, 120, 0.6);
  }
}

@media (min-width: 992px) {
  #header-logo img {
    height: 52px;
  }
}

@media (min-width: 1200px) {
  #header-inner {
    gap: 8px;
    padding: 0 24px;
  }

  #menu-toggle,
  #nav-backdrop {
    display: none !important;
  }

  #global-nav {
    position: static;
    max-height: none;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  #global-nav > ul {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  #global-nav > ul > li > a {
    min-height: 44px;
    padding: 6px 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    border: 0;
    border-radius: 8px;
    transition: color 0.3s var(--ease);
  }

  #global-nav > ul > li > a::after {
    inset: auto 12px 4px;
    width: auto;
    height: 2px;
    background: var(--c-teal);
    border: 0;
    transform: scaleX(0);
    transform-origin: 50%;
    transition: transform 0.3s var(--ease);
  }

  #global-nav > ul > li > a:hover {
    color: var(--c-teal-dark);
  }

  #global-nav > ul > li > a:hover::after {
    transform: scaleX(1);
  }

  #header-cta {
    margin-left: 16px;
  }
}

/* ===========================================================
   3. セクション共通・見出し・ボタン (Buttons & Section Heads)
   =========================================================== */
main > section {
  position: relative;
  padding: 80px 0;
}

@media (min-width: 768px) {
  main > section {
    padding: 112px 0;
  }
}

@media (min-width: 1200px) {
  main > section {
    padding: 136px 0;
  }
}

#news,
#solution,
#compare,
#fit,
#price,
#company {
  background: var(--c-bg-soft);
}

.sec-head {
  max-width: 960px;
  margin: 0 auto 48px;
}

.sec-head--center {
  text-align: center;
}

.sec-head__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-teal-dark);
}

.sec-head__label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--c-teal);
  border-radius: 2px;
}

.sec-head__title {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.sec-head__lead {
  margin-top: 24px;
  color: var(--c-muted);
  text-align: left;
}

@media (min-width: 768px) {
  .sec-head {
    margin-bottom: 64px;
  }

  .sec-head--center .sec-head__lead {
    text-align: center;
  }

  .sec-head__lead {
    font-size: 1.125rem;
  }
}

/* CTAボタン共通 */
.btn-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 12px 16px 12px 32px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.btn-cta--lg {
  min-height: 68px;
  padding: 16px 20px 16px 40px;
  font-size: 1.125rem;
}

.btn-cta__label {
  text-align: left;
  white-space: nowrap;
}

.btn-cta__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.btn-cta--primary {
  color: #ffffff;
  background: var(--c-cta);
  box-shadow: 0 16px 32px -12px rgba(8, 127, 120, 0.4);
}

.btn-cta--primary:hover {
  color: #ffffff;
  background: var(--c-cta-hover);
  box-shadow: 0 20px 40px -12px rgba(8, 127, 120, 0.6);
}

.btn-cta--primary:hover .btn-cta__icon {
  background: rgba(255, 255, 255, 0.3);
}

.btn-cta--light {
  color: var(--c-navy);
  background: #ffffff;
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.1);
}

.btn-cta--light .btn-cta__icon {
  color: var(--c-navy);
  background: var(--c-bg-soft);
}

.btn-cta--light:hover {
  color: var(--c-navy);
  background: #f8fafc;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.15);
}

.btn-cta--light:hover .btn-cta__icon {
  color: #ffffff;
  background: var(--c-teal);
}

.btn-cta--outline {
  color: var(--c-navy);
  background: transparent;
  border-color: var(--c-border-strong);
}

.btn-cta--outline .btn-cta__icon {
  background: rgba(16, 43, 70, 0.05);
}

.btn-cta--outline:hover {
  color: var(--c-navy);
  background: var(--c-bg-soft);
  border-color: var(--c-navy);
}

.btn-cta--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.btn-cta--ghost .btn-cta__icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.btn-cta--ghost:hover {
  color: var(--c-navy);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.15);
}

.btn-cta--ghost:hover .btn-cta__icon {
  color: #ffffff;
  background: var(--c-teal);
}

.btn-cta--block {
  width: 100%;
}

@media (hover: hover) {
  .btn-cta:hover {
    transform: translateY(-4px);
  }

  .btn-cta:hover .btn-cta__icon {
    transform: translate(6px);
  }
}

@media (min-width: 576px) {
  .btn-cta--block {
    width: auto;
  }
}

/* ===========================================================
   4. ヒーローセクション (#top)
   =========================================================== */
#top {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85vh;
  max-height: 850px;
  padding-top: var(--header-h);
  background-color: var(--c-navy-deep);
  overflow: hidden;
}

.hero-mizuho-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-mizuho-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-mizuho-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 32, 54, 0.9) 0%, rgba(11, 32, 54, 0.4) 100%);
}

.hero-mizuho-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 140px 0 80px;
  color: #ffffff;
}

.hero-mizuho-title {
  margin-bottom: 0 !important;
  font-size: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-mizuho-lead {
  margin-top: 32px !important;
  margin-bottom: 40px;
  font-size: clamp(1rem, 0.9rem + 1vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-mizuho-points {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.hero-mizuho-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-mizuho-points li .icon {
  color: var(--c-teal-light);
}

.hero-mizuho-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pc-only-bg {
  display: none !important;
}

.mobile-only-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block !important;
}

.mobile-only-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991.98px) {
  #top {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 0 !important;
  }

  .hero-mizuho-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-mobile-bg-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 140px calc(50vw - 50% + var(--bs-gutter-x, 1.5rem) / 2) 40px;
  }

  .hero-mobile-bg-content {
    position: relative;
    z-index: 1;
  }

  .hero-mizuho-points {
    margin-bottom: 1rem !important;
  }

  .hero-mizuho-points li {
    gap: 6px !important;
    font-size: clamp(0.85rem, 4.3vw, 1.15rem) !important;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }

  .hero-mizuho-points li svg {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (min-width: 992px) {
  .mobile-only-bg {
    display: none !important;
  }

  .pc-only-bg {
    display: block !important;
  }

  .hero-mizuho-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* ===========================================================
   5. ニュース・事例セクション (#news)
   =========================================================== */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (hover: hover) {
  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
  overflow-x: hidden;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-card__tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-navy);
  background: rgba(16, 43, 70, 0.08);
  border-radius: 6px;
}

.news-card__date {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-muted);
}

.news-card__title {
  margin-bottom: 10px;
  font-size: 1.1875rem;
  line-height: 1.55;
}

.news-card__summary {
  margin-bottom: 16px;
}

.news-card__source {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.75rem !important;
  line-height: 1.6;
  color: var(--c-muted);
  border-top: 1px dashed var(--c-border);
}

.news-note {
  margin-top: 24px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--c-muted);
}

.news-close {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  padding: 28px 22px;
  background: #ffffff;
  border-left: 6px solid var(--c-navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.news-close__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: var(--c-navy);
  border-radius: 50%;
}

.news-close__title {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
}

.news-close__strong {
  font-weight: 700;
  color: var(--c-teal-dark);
}

@media (min-width: 768px) {
  .news-close {
    grid-template-columns: auto 1fr;
    gap: 28px;
    padding: 40px 48px;
  }
}

/* ===========================================================
   6. 課題提起セクション (#issue)
   =========================================================== */
.issue-intro__em {
  display: inline;
  font-weight: 700;
  color: var(--c-navy);
  background: linear-gradient(transparent 65%, rgba(19, 124, 134, 0.16) 65%);
}

@media (min-width: 992px) {
  .issue-intro p {
    font-size: 1.0625rem;
  }
}

.iceberg {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.iceberg__surface {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 20px;
  background: #ffffff;
}

.iceberg__browser {
  display: grid;
  flex: 0 0 132px;
  gap: 7px;
  padding: 10px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

.iceberg__dots {
  display: flex;
  gap: 4px;
}

.iceberg__dots i {
  width: 7px;
  height: 7px;
  background: var(--c-border-strong);
  border-radius: 50%;
}

.iceberg__bar {
  height: 34px;
  background: linear-gradient(135deg, rgba(19, 124, 134, 0.35), rgba(16, 43, 70, 0.25));
  border-radius: 6px;
}

.iceberg__line {
  height: 6px;
  background: var(--c-border);
  border-radius: 3px;
}

.iceberg__line--w70 { width: 70%; }
.iceberg__line--w90 { width: 90%; }
.iceberg__line--w50 { width: 50%; }

.iceberg__caption {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-navy);
}

.iceberg__caption b {
  display: block;
  font-size: 0.875rem;
  color: var(--c-teal-dark);
}

.iceberg__under {
  position: relative;
  padding: 26px 20px 24px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
}

.iceberg__under::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--c-teal-light) 0 10px, transparent 10px 16px);
  opacity: 0.6;
}

.iceberg__caption--under {
  margin-bottom: 14px;
  color: #ffffff;
}

.iceberg__caption--under b {
  color: var(--c-teal-light);
}

.iceberg__under ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.iceberg__under li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.iceberg__under li .icon {
  color: var(--c-teal-light);
}

.worry-title {
  margin: 72px 0 28px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  text-align: center;
}

.worry-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.worry-card p {
  margin: 0;
  font-weight: 600;
  line-height: 1.65;
  color: var(--c-navy);
}

.worry-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--c-teal);
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 50%;
}

@media (hover: hover) {
  .worry-card:hover {
    background: #ffffff;
    border-color: rgba(19, 124, 134, 0.5);
  }
}

.issue-answer {
  margin-top: 48px;
  text-align: center;
}

.issue-answer__arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: #ffffff;
  background: var(--c-teal);
  border-radius: 50%;
}

.issue-answer p {
  display: inline-block;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy);
  text-align: left;
}

@media (min-width: 992px) {
  .issue-answer p {
    display: block;
    text-align: center;
  }
}

/* ===========================================================
   7. 安全性の仕組み (#solution) & 特徴 (#features)
   =========================================================== */
.arch {
  align-items: stretch;
}

.arch-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 18px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.arch-panel--after {
  border: 2px solid var(--c-teal);
  box-shadow: 0 24px 48px -28px rgba(19, 124, 134, 0.55);
}

.arch-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 18px;
}

.arch-panel__badge {
  padding: 3px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy);
  background: #e9eef3;
  border-radius: 6px;
}

.arch-panel__badge--after {
  color: #ffffff;
  background: var(--c-teal);
}

.arch-panel__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-navy);
}

.arch-panel__desc {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-border);
}

.arch-flow {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arch-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-navy);
  background: #f7f9fb;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.arch-node + .arch-node {
  margin-top: 28px;
}

.arch-node + .arch-node::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 31px;
  width: 2px;
  height: 18px;
  background: var(--c-border-strong);
}

.arch-node + .arch-node::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 28px;
  border: 4px solid transparent;
  border-top: 6px solid var(--c-border-strong);
}

.arch-node--hl {
  background: #eef2f7;
  border-color: #b9c7d5;
}

.arch-node__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--c-teal-dark);
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

.arch-zone {
  position: relative;
  padding: 14px;
  border-radius: 14px;
}

.arch-zone--edit {
  background: #f1f4f8;
  border: 1.5px dashed #8ea2b5;
}

.arch-zone--public {
  background: var(--c-bg-tint);
  border: 1.5px solid rgba(19, 124, 134, 0.5);
}

.arch-zone__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-navy);
}

.arch-zone--public .arch-zone__label {
  color: var(--c-teal-dark);
}

.arch-zone .arch-node {
  background: #ffffff;
}

.arch-bridge {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.arch-bridge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--c-teal);
}

.arch-bridge__label {
  position: relative;
  z-index: 1;
  padding: 2px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-teal-dark);
  background: #ffffff;
  border: 1px solid var(--c-teal);
  border-radius: 999px;
}

.arch-bridge__dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: var(--c-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(19, 124, 134, 0.2);
  animation: flow-y 2.4s var(--ease) infinite;
}

@keyframes flow-y {
  0% { opacity: 0; top: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; top: calc(100% - 8px); }
}

.arch-mid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-teal-dark);
}

.arch-mid__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--c-teal);
  border-radius: 50%;
  transform: rotate(90deg);
}

.arch-mid__text br {
  display: none;
}

@media (min-width: 768px) {
  .arch-panel {
    padding: 28px 26px;
  }
}

@media (min-width: 992px) {
  .arch-mid {
    flex-direction: column;
    text-align: center;
  }

  .arch-mid__arrow {
    transform: none;
  }

  .arch-mid__text br {
    display: inline;
  }
}

/* メリットカード (#features) */
.merit-card {
  position: relative;
  height: 100%;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.merit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-navy));
}

@media (hover: hover) {
  .merit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.merit-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.merit-card__no {
  font-family: var(--font-num);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(19, 124, 134, 0.35);
}

.merit-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--c-teal-dark);
  background: var(--c-bg-tint);
  border-radius: 16px;
}

.merit-card__title {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.merit-card__note {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

@media (min-width: 992px) {
  .merit-card {
    padding: 36px 36px 32px;
  }
}

/* ===========================================================
   8. 比較表 (#compare) & メール・DNS図解 (#mail)
   =========================================================== */
.compare-wrap {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.compare-table {
  display: block;
  width: 100%;
  border-collapse: collapse;
}

.compare-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.compare-table tbody,
.compare-table tr,
.compare-table th,
.compare-table td {
  display: block;
}

.compare-table tbody tr {
  padding: 16px 18px;
  border-bottom: 1px solid var(--c-border);
}

.compare-table tbody tr:last-child {
  border-bottom: 0;
}

.compare-table tbody th {
  margin-bottom: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-navy);
  text-align: left;
}

.compare-table td {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 6px 10px;
  line-height: 1.6;
}

.compare-table td::before {
  content: attr(data-label);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-muted);
}

.compare-table td.compare-table__after {
  margin-top: 4px;
  font-weight: 700;
  color: var(--c-teal-dark);
  background: var(--c-bg-tint);
  border-radius: 8px;
}

.compare-table__mark {
  margin-left: 2px;
  font-size: 0.875em;
  color: var(--c-teal-dark);
}

.compare-note {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--c-muted);
}

@media (min-width: 768px) {
  .compare-table {
    display: table;
  }

  .compare-table thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
  }

  .compare-table tbody {
    display: table-row-group;
  }

  .compare-table tr,
  .compare-table tbody tr {
    display: table-row;
    padding: 0;
  }

  .compare-table th,
  .compare-table td,
  .compare-table tbody th {
    display: table-cell;
    margin: 0;
    padding: 18px 24px;
    font-size: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--c-border);
  }

  .compare-table tbody tr:last-child th,
  .compare-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .compare-table td::before {
    content: none;
  }

  .compare-table thead th {
    font-weight: 700;
    color: #ffffff;
    background: var(--c-navy);
    text-align: left;
  }

  .compare-table thead th.compare-table__after {
    background: var(--c-teal);
  }

  .compare-table tbody th {
    width: 26%;
    background: #f7f9fb;
  }

  .compare-table td.compare-table__after {
    margin: 0;
    background: rgba(19, 124, 134, 0.07);
    border-radius: 0;
  }
}

/* DNS・メール図解 (#mail) */
.dns-diagram {
  padding: 24px 14px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.dns-diagram__top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dns-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  line-height: 1.45;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.dns-diagram__top .dns-node {
  width: min(100%, 320px);
}

.dns-node b {
  display: block;
  color: var(--c-navy);
}

.dns-node small {
  display: block;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.dns-node__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--c-teal-dark);
  background: var(--c-bg-tint);
  border-radius: 10px;
}

.dns-node--domain .dns-node__icon {
  color: var(--c-navy);
  background: rgba(16, 43, 70, 0.08);
}

.dns-diagram__down {
  position: relative;
  width: 2px;
  height: 26px;
  background: var(--c-border-strong);
}

.dns-diagram__down::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -4px;
  border: 5px solid transparent;
  border-top: 6px solid var(--c-border-strong);
  border-bottom: 0;
}

.dns-diagram__split {
  position: relative;
  height: 34px;
}

.dns-diagram__split::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 16px;
  margin-left: -1px;
  background: var(--c-border-strong);
}

.dns-diagram__split span {
  position: absolute;
  top: 16px;
  left: 25%;
  right: 25%;
  height: 18px;
  border: 2px solid var(--c-border-strong);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.dns-diagram__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dns-dest {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 14px;
}

.dns-dest--web {
  background: var(--c-bg-tint);
  border: 1.5px solid rgba(19, 124, 134, 0.55);
}

.dns-dest--keep {
  background: #ffffff;
  border: 1.5px dashed #8ea2b5;
}

.dns-dest .dns-node {
  flex-direction: column;
  gap: 6px;
  padding: 10px 6px;
  text-align: center;
}

.dns-dest--keep .dns-node {
  background: var(--c-bg-soft);
}

.dns-dest__tag {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-navy);
  text-align: center;
}

.dns-dest--web .dns-dest__tag {
  color: var(--c-teal-dark);
}

.dns-dest__change,
.dns-dest__keep {
  margin: auto 0 0;
  padding: 4px 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  border-radius: 999px;
}

.dns-dest__change {
  background: var(--c-teal-dark);
}

.dns-dest__keep {
  background: var(--c-navy);
}

@media (min-width: 576px) {
  .dns-diagram {
    padding: 28px 24px;
  }

  .dns-dest {
    padding: 14px;
  }

  .dns-dest .dns-node {
    flex-direction: row;
    gap: 12px;
    padding: 12px 14px;
    text-align: left;
  }

  .dns-diagram__bottom {
    gap: 16px;
  }
}

.mail-points__title {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.mail-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  font-weight: 600;
  line-height: 1.65;
  color: var(--c-navy);
  border-bottom: 1px dashed var(--c-border);
}

.mail-points__icon {
  padding-top: 2px;
  line-height: 0;
  color: var(--c-teal);
}

.mail-tip {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--c-bg-tint);
  border-radius: 14px;
}

.mail-tip b {
  color: var(--c-navy);
}

.mail-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

/* ===========================================================
   9. 適性チェック (#fit)・導入の流れ (#flow)・料金 (#price)
   =========================================================== */
.fit-card {
  height: 100%;
  padding: 28px 22px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-top: 6px solid var(--c-teal);
  border-radius: var(--radius-lg);
}

.fit-card--check {
  border-top-color: #8ea2b5;
}

.fit-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.1875rem;
}

.fit-card__badge {
  line-height: 0;
  color: var(--c-teal);
}

.fit-card--check .fit-card__badge {
  color: var(--c-amber);
}

.fit-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  line-height: 1.6;
  border-bottom: 1px solid #eef2f6;
}

.fit-card li:last-child {
  border-bottom: 0;
}

.fit-card li .icon {
  color: var(--c-teal);
}

.fit-card--check li .icon {
  color: var(--c-muted);
}

.fit-message {
  margin-top: 32px;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
}

.fit-message b {
  font-size: 1.0625rem;
  color: var(--c-navy);
}

@media (min-width: 768px) {
  .fit-card {
    padding: 32px;
  }

  .fit-message {
    padding: 28px 36px;
    text-align: center;
  }
}

/* 導入の流れ (#flow) */
.flow-list > li {
  position: relative;
}

.flow-card {
  position: relative;
  height: 100%;
  padding: 24px 22px;
  background: #f7f9fb;
  border: 1px solid var(--c-border);
  border-radius: 18px;
}

.flow-card__step {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
  font-family: var(--font-num);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-teal-dark);
}

.flow-card__step span {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
}

.flow-card__title {
  margin-bottom: 8px;
  font-size: 1.1875rem;
}

.flow-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-right: 2px solid var(--c-teal);
  border-bottom: 2px solid var(--c-teal);
  transform: rotate(45deg);
}

@media (min-width: 768px) {
  .flow-list > li:not(:last-child)::after {
    content: none;
  }
}

.flow-notes {
  margin-top: 24px;
}

.flow-note {
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 20px;
  background: var(--c-bg-soft);
  border-radius: 14px;
}

.flow-note__icon {
  padding-top: 3px;
  line-height: 0;
  color: var(--c-teal);
}

.flow-note b {
  color: var(--c-navy);
}

.flow-cta {
  margin-top: 44px;
  text-align: center;
}

.flow-cta p {
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--c-navy);
}

/* 料金 (#price) */
.price-card {
  position: relative;
  height: 100%;
  padding: 32px 24px 28px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-navy));
}

.price-card__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--c-teal-dark);
  background: var(--c-bg-tint);
  border-radius: 50%;
}

.price-card__name {
  margin: 14px 0 6px;
  font-size: 1.25rem;
}

.price-card__price {
  margin: 6px 0 12px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--c-navy);
}

.price-box {
  height: 100%;
  padding: 26px 22px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.price-box--info {
  border-left: 5px solid var(--c-navy);
}

.price-box__title {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

.price-box__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  line-height: 1.65;
}

.price-box__list .icon {
  margin-top: 4px;
  color: var(--c-teal);
}

.price-faq {
  margin: 0;
}

.price-faq dt {
  position: relative;
  margin-top: 16px;
  padding-left: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy);
}

.price-faq dt:first-child {
  margin-top: 0;
}

.price-faq dt::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--c-teal);
  border-radius: 2px;
}

.price-faq dd {
  margin: 4px 0 0;
  padding-left: 16px;
}

@media (min-width: 992px) {
  .price-box {
    padding: 32px;
  }
}

/* ===========================================================
   10. よくある質問 (#faq)・制作案内 (#contact)・企業情報 (#company)
   =========================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item[open] {
  border-color: rgba(19, 124, 134, 0.6);
  box-shadow: var(--shadow-md);
}

.faq-item__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 16px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy);
  border-radius: 14px;
  list-style: none;
  cursor: pointer;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q:hover {
  background: #f7f9fb;
}

.faq-item__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  font-family: var(--font-num);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  background: var(--c-navy);
  border-radius: 50%;
}

.faq-item__mark--a {
  background: var(--c-teal-dark);
}

.faq-item__toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--c-teal-dark);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.faq-item[open] .faq-item__toggle {
  background: var(--c-bg-tint);
  transform: rotate(45deg);
}

.faq-item__a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 4px 16px 22px;
}

.faq-item__a p {
  margin: 0;
  padding-top: 2px;
}

@media (min-width: 768px) {
  .faq-item__q {
    padding: 18px 24px;
  }

  .faq-item__a {
    padding: 4px 24px 24px;
  }
}

/* ホームページ制作案内 (#contact) */
.final-cta {
  position: relative;
  padding: 52px 20px 36px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(19, 124, 134, 0.55), transparent 48%),
    radial-gradient(circle at 100% 100%, rgba(19, 124, 134, 0.35), transparent 45%),
    linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.final-cta > * {
  position: relative;
}

.final-cta__title {
  margin: 12px 0 24px;
  font-size: clamp(1.375rem, 1rem + 1.9vw, 2.375rem);
  line-height: 1.55;
  color: #ffffff;
}

.final-cta__action {
  margin-top: 28px;
}

.final-cta__guide {
  max-width: 680px;
  margin: 32px auto 0;
  padding: 20px;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
}

.final-cta__guide b {
  color: #ffffff;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 72px 56px 56px;
  }

  .final-cta__guide {
    padding: 24px 28px;
  }
}

/* 企業情報・会社概要 (#company) */
.company-photo {
  aspect-ratio: 3 / 2;
  background: #e6edf2;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-text p {
  line-height: 2;
}

@media (min-width: 992px) {
  .company-text p {
    font-size: 1.0625rem;
  }
}

.profile {
  margin-top: 40px;
  padding: 28px 22px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.profile__title {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.profile__list {
  margin: 0;
}

.profile__row {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f6;
}

.profile__row dt {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
}

.profile__row dd {
  margin: 0;
}

@media (min-width: 768px) {
  .profile {
    padding: 36px 44px;
  }

  .profile__row {
    grid-template-columns: 10em 1fr;
    gap: 16px;
  }
}

/* ===========================================================
   11. お問い合わせフォーム & 下層ページ用スタイル
   =========================================================== */
.form-label-custom {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--c-navy);
}

.req-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2em 0.6em;
  font-size: 0.7rem;
  font-weight: 400;
  vertical-align: middle;
  color: #ffffff;
  background-color: #e53e3e;
  border-radius: 4px;
}

.opt-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2em 0.6em;
  font-size: 0.7rem;
  font-weight: 400;
  vertical-align: middle;
  color: #ffffff;
  background-color: #718096;
  border-radius: 4px;
}

.form-control-custom {
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-custom:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(45, 147, 155, 0.15);
}

.btn-submit-teal {
  padding: 1rem 4rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  background-color: var(--c-teal);
  border-color: var(--c-teal);
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn-submit-teal:hover,
.btn-submit-teal:focus {
  color: #ffffff;
  background-color: var(--c-teal-dark);
  border-color: var(--c-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 147, 155, 0.3);
}

.btn-back-outline {
  padding: 0.8rem 3rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy);
  background-color: #ffffff;
  border: 2px solid var(--c-navy);
  border-radius: 50px;
  transition: all 0.2s;
}

.btn-back-outline:hover,
.btn-back-outline:focus {
  color: #ffffff;
  background-color: var(--c-navy);
}

#not-found {
  min-height: 70vh;
  padding-top: calc(var(--header-h) + 96px);
}

/* 制作事例 (web-works) ページネーション */
.custom-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-pagination ul.page-numbers a.page-numbers,
.custom-pagination ul.page-numbers span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  border: 1px solid var(--c-border);
  background-color: #ffffff;
  color: var(--c-navy);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.custom-pagination ul.page-numbers a.page-numbers:hover,
.custom-pagination ul.page-numbers span.current {
  background-color: var(--c-navy);
  border-color: var(--c-navy);
  color: #ffffff;
}

/* ===========================================================
   12. フッター (#site-footer) & モバイル追従CTA (#mobile-cta)
   =========================================================== */
#site-footer {
  display: grid;
  gap: 32px;
  padding: 56px max(20px, 50% - 560px) 32px;
  color: rgba(255, 255, 255, 0.88);
  background: var(--c-navy-deep);
}

#footer-logo {
  margin-bottom: 16px;
}

#footer-logo img {
  width: 170px;
  height: auto;
}

#footer-name {
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.6;
  color: #ffffff;
}

#footer-name span {
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.85;
}

#footer-company address {
  line-height: 1.9;
}

#footer-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

#footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#copyright {
  margin: 0;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#copyright small {
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  #site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
    padding-top: 72px;
  }

  #footer-nav ul {
    grid-template-columns: repeat(2, auto);
    gap: 0 40px;
  }

  #copyright {
    grid-column: 1 / -1;
  }
}

/* モバイル追従CTAバー (#mobile-cta) */
#mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(140%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0s linear 0.3s;
}

#mobile-cta[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0s;
}

html[data-menu-open] #mobile-cta {
  opacity: 0;
  visibility: hidden;
}

.mobile-cta-inner {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.mobile-cta-btn {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 8px 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: var(--c-teal);
  border-radius: 8px;
}

.mobile-cta-btn:hover {
  color: #ffffff;
  background-color: var(--c-teal-dark);
}

.mobile-cta-btn--light {
  color: var(--c-navy);
  background-color: #ffffff;
  border: 1px solid var(--c-border);
}

.mobile-cta-btn--light:hover {
  color: var(--c-navy);
  background-color: var(--c-bg-soft);
}

@media (min-width: 992px) {
  #mobile-cta {
    display: none !important;
  }
}

/* ===========================================================
   13. スクロールアニメーション & メディア調整
   =========================================================== */
.js-reveal [data-reveal],
.js-reveal .fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-reveal [data-reveal].is-visible,
.js-reveal .fade-up.visible {
  opacity: 1;
  transform: none;
}

.js-reveal [data-delay="1"] { transition-delay: 80ms; }
.js-reveal [data-delay="2"] { transition-delay: 160ms; }
.js-reveal [data-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .arch-bridge__dot {
    display: none;
  }

  .js-reveal [data-reveal],
  .js-reveal .fade-up {
    opacity: 1;
    transform: none;
  }
}

@media print {
  #site-header,
  #mobile-cta,
  #nav-backdrop {
    display: none !important;
  }

  #top {
    padding-top: 24px;
    background-color: var(--c-navy-deep);
  }
}

/* ===========================================================
   14. アーカイブページネーション & 記事本文補助スタイル
   =========================================================== */
.custom-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-pagination .page-numbers li a,
.custom-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background-color: #ffffff;
  color: var(--c-navy);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.custom-pagination .page-numbers li a:hover {
  border-color: var(--c-navy);
  background-color: var(--c-bg-soft);
}

.custom-pagination .page-numbers li span.current {
  background-color: var(--c-navy);
  border-color: var(--c-navy);
  color: #ffffff;
}

.entry-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-border);
}

.entry-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-teal-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.entry-body p {
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ===========================================================
   15. サンクスページ（お問い合わせ完了画面）用スタイル
   =========================================================== */
.thanks-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--c-bg-tint);
  color: var(--c-teal);
}

.thanks-info-box {
  background-color: #f0f7f9;
  border: 1px solid #cce5ef;
  color: var(--c-text);
  border-radius: 12px;
  padding: 1.25rem;
}

.thanks-note-box {
  background-color: #f8f9fa;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 1.25rem;
}

