﻿/* トップページ */
/* ファーストビュー */
.hero {
  min-height: 100vh;
  background: #ffffff;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 80% 50%,
      rgba(3, 105, 161, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 50% at 10% 80%,
      rgba(249, 115, 22, 0.05) 0%,
      transparent 60%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(3, 105, 161, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 105, 161, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 20;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: center;
  padding: 100px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-badge span {
  font-size: 10px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
}

.hero h1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  color: #0c2340;
  line-height: 1.35;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.stat-num {
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-num sup {
  font-size: 14px;
  color: var(--gold-light);
}

.stat-label {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.hero-btns {
  display: flex;
  gap: 14px;
}

/* ボタン差し替え */
.hero .btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}

.hero .btn-outline:hover,
.hero .btn-outline:focus-visible {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: none;
  outline: none;
}

.search-card {
  position: relative;
  z-index: 30;
  overflow: visible;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(3, 105, 161, 0.08);
}

.search-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #bae6fd;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--navy-mid);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 7px;
}

.form-group select,
.form-group input[type="text"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.form-group select option {
  background: white;
  color: var(--text);
}

.btn-search {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 15px;
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  margin-top: 6px;
}

.btn-search:hover,
.btn-search:focus-visible {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  border-color: #c2410c;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: none;
  outline: none;
}

.popular-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.popular-tag {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 100px;
  padding: 4px 11px;
  font-size: 10px;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}

.popular-tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* 特徴 */
.why-section {
  position: relative;
  z-index: 3;
  margin-top: -54px;
  padding-top: 104px;
  overflow: visible;
}

.why-section::before {
  content: "REASON";
  position: absolute;
  top: 42px;
  left: max(24px, calc((100vw - 1100px) / 2));
  z-index: 0;
  color: rgba(15, 39, 71, 0.035);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(68px, 10vw, 142px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
  white-space: nowrap;
}

.why-section .container {
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.why-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(2, 132, 199, 0.14);
  background: #ffffff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 26px 72px rgba(15, 39, 71, 0.075);
}

.why-card::before {
  position: absolute;
  right: 18px;
  bottom: 6px;
  z-index: 0;
  color: rgba(2, 132, 199, 0.045);
  font-family: "DM Sans", sans-serif;
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.why-card:nth-child(1)::before {
  content: "01";
}

.why-card:nth-child(2)::before {
  content: "02";
}

.why-card:nth-child(3)::before {
  content: "03";
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(15, 39, 71, 0.11);
  border-color: rgba(2, 132, 199, 0.22);
}

.why-media {
  aspect-ratio: 16 / 9;
  background: #f4faff;
  border-bottom: 1px solid rgba(2, 132, 199, 0.08);
  padding: 0;
}

.why-media-frame {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.why-body {
  position: relative;
  z-index: 1;
  padding: 24px 24px 26px;
}

.why-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff8ff;
  color: var(--navy-light);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.why-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
}

/* クイック検索 */
.quick-search-section {
  background: linear-gradient(145deg, #0369a1 0%, #025e8a 58%, #0f5b78 100%);
  padding: 90px 0;
  position: relative;
  z-index: 5;
  overflow: visible;
}

.quick-search-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.75;
}

.quick-search-section::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1160px) / 2));
  top: 82px;
  width: min(48vw, 560px);
  height: min(52vw, 620px);
  background: url("../images/map-japan.png") center / contain no-repeat;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.12;
  transform: rotate(8deg);
  pointer-events: none;
}

.quick-search-inner {
  position: relative;
  z-index: 1;
}

.quick-search-inner::before {
  content: "";
  position: absolute;
  right: -42px;
  top: 156px;
  z-index: -1;
  width: min(48vw, 520px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
    repeating-radial-gradient(
      circle,
      rgba(255, 255, 255, 0.14) 0 1px,
      transparent 1px 74px
    ),
    linear-gradient(
      90deg,
      transparent calc(50% - 1px),
      rgba(255, 255, 255, 0.08) calc(50% - 1px) calc(50% + 1px),
      transparent calc(50% + 1px)
    ),
    linear-gradient(
      0deg,
      transparent calc(50% - 1px),
      rgba(255, 255, 255, 0.08) calc(50% - 1px) calc(50% + 1px),
      transparent calc(50% + 1px)
    );
  border-radius: 50%;
  opacity: 0.65;
  pointer-events: none;
}

.tab-bar {
  display: flex;
  gap: 0;
  width: fit-content;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
}

.tab-btn {
  padding: 11px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", sans-serif;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.tab-panel {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 12px 12px 12px;
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 28px 80px rgba(15, 39, 71, 0.12);
}

.search-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
}

.search-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.search-item:hover,
.search-item:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 39, 71, 0.18);
}

/* 注目機関 */
.section-featured {
  position: relative;
  overflow: hidden;
}

.section-featured::before,
.section-featured::after,
.guide-section::before,
.guide-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.section-featured::before {
  top: 64px;
  left: -11%;
  width: min(45vw, 520px);
  height: 300px;
  background: rgba(2, 132, 199, 0.055);
  border-radius: 38% 62% 58% 42% / 46% 45% 55% 54%;
  transform: rotate(8deg);
}

.section-featured::after {
  right: 7%;
  bottom: 58px;
  color: rgba(15, 39, 71, 0.04);
  content: "FEATURED";
  font-family: "DM Sans", sans-serif;
  font-size: clamp(58px, 9vw, 128px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.section-featured .container,
.guide-section .container {
  position: relative;
  z-index: 1;
}

.listing-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: 0 24px 68px rgba(15, 39, 71, 0.06);
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 90px rgba(15, 39, 71, 0.1);
}

.listing-head {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.listing-badge-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 10px;
  color: white;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
}

.listing-logo {
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--navy);
  font-weight: 900;
  font-family: "DM Sans", sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  overflow: hidden;
}

.listing-logo.has-image {
  background: transparent;
  box-shadow: none;
}

.listing-body {
  padding: 22px;
}

.listing-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}

.listing-area {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.listing-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
}

.contact-link {
  font-size: 13px;
  color: var(--navy-light);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.05em;
}

/* カテゴリー */
.cat-card {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 18px 54px rgba(15, 39, 71, 0.045);
}

.cat-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 28px 72px rgba(15, 39, 71, 0.12);
}

.cat-card:hover .cat-name {
  color: white;
}

.cat-card:hover .cat-sub {
  color: rgba(255, 255, 255, 0.7);
}

.cat-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  transition: color 0.2s;
  line-height: 1.45;
}

.cat-sub {
  font-size: 13px;
  color: var(--text-light);
  transition: color 0.2s;
  line-height: 1.6;
}

/* ガイドカード */
.guide-section {
  position: relative;
  overflow: hidden;
}

.guide-section::before {
  top: 72px;
  right: -9%;
  width: min(48vw, 560px);
  height: 330px;
  background: rgba(249, 115, 22, 0.055);
  border-radius: 56% 44% 40% 60% / 45% 54% 46% 55%;
  transform: rotate(-9deg);
}

.guide-section::after {
  left: 6%;
  bottom: 42px;
  color: rgba(2, 132, 199, 0.04);
  content: "GUIDE";
  font-family: "DM Sans", sans-serif;
  font-size: clamp(62px, 9vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.guide-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 24px 68px rgba(15, 39, 71, 0.06);
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 90px rgba(15, 39, 71, 0.1);
}

.guide-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  position: relative;
}

.guide-cat-tag {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 0 0 0 4px;
  z-index: 1;
  font-family: "DM Sans", sans-serif;
}

.guide-body {
  padding: 18px;
}

.guide-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 8px;
}

.guide-meta {
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
}

.guide-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 記事内CTAバナー（ブロックパターン techro/publisher-cta-banner 用） */
.article-cta-banner {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border-radius: 16px;
  padding: 40px 28px;
  margin: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 50% 120%,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  pointer-events: none;
}

.article-cta-banner > * {
  position: relative;
  z-index: 1;
}

.article-cta-banner .article-cta-banner-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.4;
  border: none;
  padding: 0;
}

.article-cta-banner .article-cta-banner-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  line-height: 1.8;
}

.article-cta-banner .article-cta-banner-btn .wp-block-button__link {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 36px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.article-cta-banner .article-cta-banner-btn .wp-block-button__link:hover {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  transform: translateY(-1px);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 50% 120%,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  line-height: 1.4;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 42px;
  line-height: 1.8;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* 検索結果ページ */
.search-page {
  background: var(--off-white);
  overflow: visible;
}

.search-hero {
  background: var(--navy);
  padding: 50px 0 40px;
  position: relative;
  z-index: 20;
  overflow: visible;
}

.search-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

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

.search-hero h1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: white;
  margin-bottom: 22px;
}

.search-bar {
  display: flex;
  gap: 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.search-bar select {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 13px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--text);
  background: white;
  appearance: none;
  cursor: pointer;
  border-right: 1px solid var(--gray-light);
}

.search-bar button {
  background: var(--accent);
  border: none;
  padding: 14px 28px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.search-bar button:hover {
  background: var(--accent-light);
}

.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 11px;
  color: white;
  cursor: pointer;
}

.filter-chip span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1;
}

.results-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  padding: 36px 0;
}

.filter-group {
  margin-bottom: 22px;
}

.filter-group h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 12px;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 8px;
  cursor: pointer;
}

.filter-group label input {
  accent-color: var(--accent);
}

.filter-group label .count {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-light);
  background: var(--off-white);
  padding: 1px 7px;
  border-radius: 100px;
  font-family: "DM Sans", sans-serif;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.results-count {
  font-size: 14px;
  color: var(--text-light);
}

.results-count strong {
  color: var(--navy);
  font-size: 18px;
  font-family: "DM Sans", sans-serif;
}

.sort-select {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--text);
  cursor: pointer;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--gray-light);
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
  cursor: pointer;
  transition: all 0.2s;
}

.result-card:hover {
  box-shadow: 0 8px 32px rgba(3, 105, 161, 0.08);
  border-color: rgba(2, 132, 199, 0.4);
  transform: translateX(3px);
}

.result-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  font-weight: 900;
  font-family: "DM Sans", sans-serif;
  flex-shrink: 0;
  overflow: hidden;
}

.result-logo.has-image {
  background: transparent;
}

.result-info h2,
.result-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.result-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
}

.result-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 42px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 39, 71, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  box-shadow: 0 12px 28px rgba(15, 39, 71, 0.18);
}

.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  transform: translateY(-1px);
  box-shadow: none;
  outline: none;
}

.pagination .page-numbers.dots {
  min-width: auto;
  height: 38px;
  padding: 0 2px;
  border-color: transparent;
  background: transparent;
  color: #64748b;
  box-shadow: none;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  min-width: 64px;
  padding-inline: 16px;
}

@media (max-width: 640px) {
  .pagination {
    margin-top: 34px;
  }

  .pagination .nav-links {
    gap: 8px;
  }

  .pagination .page-numbers {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .pagination .page-numbers.prev,
  .pagination .page-numbers.next {
    min-width: 56px;
    padding-inline: 12px;
  }
}

.page-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.page-btn.active {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: white;
}

.page-btn:hover:not(.active) {
  border-color: var(--navy-light);
  color: var(--navy-light);
}

/* 詳細ページ */
.detail-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 60px 0 50px;
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 10px;
  color: white;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 16px;
}

.detail-hero h1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.detail-meta span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-rating-big {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-score {
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.rating-stars {
  color: var(--accent-light);
  font-size: 18px;
}

.rating-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 24px;
  width: 300px;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.contact-box h3 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 40px 0;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.detail-section {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--gray-light);
  padding: 28px;
  min-width: 0;
}

.detail-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-light);
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
}

.spec-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--gray-light);
}

.spec-table td {
  padding: 14px 16px;
  font-size: 13px;
  vertical-align: top;
}

.spec-table td:first-child {
  width: 180px;
  color: var(--navy);
  font-weight: 700;
  background: #f8fcff;
  border-right: 1px solid var(--gray-light);
}

.spec-table td:last-child {
  color: var(--text);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reviewer {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.review-date {
  font-size: 11px;
  color: var(--text-light);
}

.review-text {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

/* 相談ページ */
.contact-hero {
  background: var(--navy);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 60px 0;
}

.contact-form-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--gray-light);
  padding: 40px;
}

.contact-form-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-field label span {
  color: var(--red);
  margin-left: 3px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--text);
  transition: border-color 0.2s;
  background: white;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field select {
  appearance: none;
  cursor: pointer;
}

.form-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.6;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
}

.checkbox-item input {
  accent-color: var(--navy-light);
}

.submit-area {
  text-align: center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-light);
}

.submit-area p {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.flow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.flow-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  font-family: "DM Sans", sans-serif;
  flex-shrink: 0;
}

.flow-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.flow-text p {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ガイド一覧ページ */
.guide-hero {
  background: var(--navy);
  padding: 60px 0;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  padding: 50px 0;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  grid-template-columns: 160px 1fr;
}

.article-card:hover {
  box-shadow: 0 8px 32px rgba(3, 105, 161, 0.08);
  transform: translateY(-2px);
}

.article-thumb {
  height: 100%;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}

.article-body {
  padding: 22px;
}

.article-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 10px;
}

.article-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--text-light);
}

/* 費用ページ */
.cost-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 70px 0;
}

.cost-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.cost-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
}

.cost-card:hover,
.cost-card:focus {
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.cost-card-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 14px;
}

.cost-card-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cost-card-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.cost-card-head p {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
}

.cost-table th {
  background: var(--off-white);
  padding: 12px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-light);
}

.cost-table td {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: middle;
}

.cost-table td:last-child {
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

.cost-table tr:last-child td {
  border-bottom: none;
}

.cost-total {
  background: var(--off-white);
}

.cost-total td {
  font-size: 15px !important;
  color: var(--accent) !important;
  padding: 18px 20px !important;
}

.cost-range {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  font-family: "DM Sans", sans-serif;
}

.cost-range small {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}

.comparison-table th {
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td {
  padding: 13px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-light);
  text-align: center;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: var(--off-white);
}

.check {
  color: var(--green);
  font-size: 16px;
}

.cross {
  color: var(--gray);
  font-size: 16px;
}

.tilde {
  color: var(--gray);
}

/* 掲載案内ページ */
.publish-hero {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.publish-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 80% 50%,
    rgba(255, 255, 255, 0.15),
    transparent
  );
}

.publish-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.merit-card {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.2s;
  /* cursor: pointer; */
}

.merit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(3, 105, 161, 0.08);
  border-color: var(--navy-light);
}

.merit-num {
  font-family: "DM Sans", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.merit-num small {
  font-size: 16px;
}

.merit-label {
  font-size: 11px;
  color: var(--navy-light);
  font-weight: 700;
  margin-bottom: 14px;
}

.merit-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.merit-card p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

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

.plan-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--gray-light);
  padding: 32px 28px;
  position: relative;
  transition: all 0.2s;
}

.plan-card.featured {
  border-color: var(--navy-light);
  box-shadow:
    0 0 0 1px var(--navy-light),
    0 16px 48px rgba(2, 132, 199, 0.15);
}

.plan-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-light);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 10px;
}

.plan-price {
  font-family: "DM Sans", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}

.plan-price sup {
  font-size: 20px;
}

.plan-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 10px;
}

.plan-feature .check {
  color: var(--gold);
  font-size: 14px;
}

.plan-feature .cross {
  color: var(--gray);
  font-size: 14px;
}

.register-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.register-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--navy-light));
  z-index: 0;
}

.register-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.15);
}

.register-step h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.register-step p {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ご利用方法ページ */
.howto-hero {
  background: var(--navy);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.howto-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.howto-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.howto-flow::before {
  content: "";
  position: absolute;
  top: 56px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--navy-light));
  pointer-events: none;
  z-index: 0;
}

.howto-step {
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.howto-step-num {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--navy-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15);
}

.howto-step-num .num {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-light);
  letter-spacing: 0.1em;
}

.howto-step-num .emoji {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  min-height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  text-align: center;
}

.howto-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.howto-step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
}

@media (max-width: 1024px) {
  .howto-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .howto-flow::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .howto-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .howto-step {
    max-width: 360px;
    margin: 0 auto;
  }

  .howto-step-num {
    width: 104px;
    height: 104px;
    margin-bottom: 16px;
  }

  .howto-step h3 {
    font-size: 16px;
  }

  .howto-step p {
    font-size: 13px;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  gap: 16px;
  background: white;
  border: 0;
  text-align: left;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.faq-q-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.65;
  text-align: left;
  flex: 1 1 auto;
}

.faq-q-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
  margin-left: auto;
}

.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  display: none;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: left;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-prefix {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  color: var(--navy-light);
  margin-right: 8px;
  font-size: 15px;
  text-align: left;
  align-self: flex-start;
  flex-shrink: 0;
}

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

.voice-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--gray-light);
  padding: 28px;
  position: relative;
}

.voice-card::before {
  content: '"';
  font-size: 80px;
  color: var(--off-white);
  font-family: "DM Sans", sans-serif;
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.voice-company {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.voice-person {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.voice-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

.quick-search-inner {
  position: relative;
  z-index: 1;
}

.is-hidden {
  display: none;
}

.hero-popular-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.guide-thumb-blue {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}

.guide-thumb-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.guide-thumb-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.guide-cat-tag-purple {
  background: #8b5cf6;
}

.guide-cat-tag-gold {
  background: var(--gold);
}

.rating-count-sm {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 400;
}

.listing-logo-accent {
  color: var(--accent);
}

.listing-logo-gold {
  color: var(--gold);
}

.featured-more {
  text-align: center;
  margin-top: 36px;
}

.page-hero-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}

.page-hero-title-wide {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.4;
  margin-bottom: 18px;
}

.page-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.page-hero-desc-sm {
  font-size: 15px;
}

.page-hero-desc-long {
  line-height: 1.9;
  margin-bottom: 28px;
}

.page-hero-desc-narrow {
  max-width: 560px;
}

.howto-hero-inner-custom {
  position: relative;
  z-index: 1;
  text-align: center;
}

.section-space-xl {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-space-lg {
  padding-top: 50px;
  padding-bottom: 80px;
}

.cost-card-icon-blue {
  background: rgba(2, 132, 199, 0.1);
  color: var(--navy-light);
}

.cost-card-icon-accent {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
}

.cost-table-wrap {
  padding: 20px 0 0;
}

.cost-cta-box {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border-radius: 16px;
}

.cost-cta-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.cost-cta-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  line-height: 1.8;
}

.cost-cta-btn {
  background: white;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.publish-actions {
  display: flex;
  gap: 14px;
}

.publish-stats-panel {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

.publish-stats-label {
  font-size: 11px;
  color: white;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 16px;
}

.publish-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.publish-stat-card {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.publish-stat-value {
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.publish-stat-value sup {
  font-size: 14px;
  color: var(--accent-light);
}

.publish-stat-caption {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.article-cat-purple {
  color: #8b5cf6;
}

.guide-sidebar-accent-title {
  color: var(--accent);
}

.guide-sidebar-note {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.contact-submit-lg {
  font-size: 16px;
  padding: 18px 48px;
}

.info-card-highlight {
  background: var(--off-white);
}

.info-card-highlight-title {
  border: none;
  padding: 0;
  margin: 0;
  color: var(--navy-light);
}

.info-card-highlight-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 12px;
}

.search-active-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.result-meta-highlight {
  color: var(--gold);
}

.rating-lg {
  font-size: 14px;
}

.result-count-sm {
  font-size: 11px;
  color: var(--text-light);
}

.result-btn-offset {
  margin-top: 8px;
}

.result-logo-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.result-logo-red {
  background: linear-gradient(135deg, #f43f5e, #be123c);
}

.result-logo-indigo {
  background: linear-gradient(135deg, #6366f1, #4338ca);
}

.detail-back {
  margin-bottom: 12px;
}

.detail-back-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  cursor: pointer;
}

.detail-breadcrumb {
  margin-bottom: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.detail-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.detail-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.detail-breadcrumb-sep {
  margin: 0 6px;
  opacity: 0.6;
}

.detail-breadcrumb-current {
  color: #fff;
}

.detail-tags {
  margin-bottom: 16px;
}

.contact-box-input {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid transparent !important;
  color: var(--text) !important;
}

.detail-copy {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
}

.sidebar-hours {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.archive-intro {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.filter-term-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-term-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.filter-term-link:hover {
  color: var(--navy-light);
}

/* 都道府県ページ：市区町村ナビ */
.municipality-nav {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.municipality-nav-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.municipality-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.municipality-nav-list .filter-term-link {
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  padding: 6px 14px;
  gap: 8px;
}

.municipality-nav-list .filter-term-link .count {
  font-size: 12px;
  color: var(--text-light);
}

.municipality-nav-list .filter-term-link:hover {
  border-color: var(--navy-light);
}

.result-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.result-empty {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 32px;
  color: var(--text-light);
}

.contact-box-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 16px;
}

.detail-summary {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 20px;
}

.institution-points-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.institution-points-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(2, 132, 199, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.institution-points-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.institution-business-description {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-light);
}

.institution-business-description h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.entry-content p + p {
  margin-top: 1em;
}

.institution-archive-hero {
  position: relative;
  z-index: 30;
  overflow: visible;
  background:
    radial-gradient(
      ellipse 58% 70% at 88% 16%,
      rgba(255, 255, 255, 0.14),
      transparent 62%
    ),
    linear-gradient(145deg, #0369a1 0%, #025e8a 58%, #0f5b78 100%);
  padding-bottom: 48px;
  isolation: isolate;
}

.institution-archive-hero::after {
  content: none;
  position: absolute;
  right: max(20px, calc((100vw - 1260px) / 2));
  bottom: -108px;
  z-index: 0;
  width: min(42vw, 520px);
  height: min(46vw, 590px);
  background: url("../images/map-japan.png") center / contain no-repeat;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.1;
  transform: rotate(8deg);
  pointer-events: none;
}

.institution-archive-copy {
  position: relative;
}

.institution-archive-copy::before {
  content: "SEARCH";
  position: absolute;
  left: -4px;
  top: -40px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.075);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
  white-space: nowrap;
}

.institution-archive-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: start;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.7);
}

.institution-search-box {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(186, 230, 253, 0.95);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 90px rgba(15, 39, 71, 0.18);
}

.institution-search-box.institution-filter-form {
  overflow: visible;
}

.institution-search-box::before {
  content: "";
  position: absolute;
  right: -54px;
  top: -62px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.08);
  pointer-events: none;
}

.institution-search-box > * {
  position: relative;
  z-index: 1;
}

.institution-search-box .form-group {
  margin-bottom: 0;
}

.institution-search-box .form-group label {
  color: var(--navy);
}

.institution-search-box h3 {
  color: var(--navy);
  font-size: 20px;
  margin: 0 0 18px;
}

.institution-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.institution-search-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.institution-search-actions .btn-search {
  flex: 1 1 auto;
  width: auto;
  min-height: 52px;
}

.institution-reset-link {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  text-decoration: none;
}

.institution-reset-link:hover {
  color: var(--accent);
}

.institution-active-filters {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  margin-bottom: 0;
}

.institution-active-filters .filter-chip {
  color: var(--navy);
  background: #ffffff;
  border-color: #d6e0ea;
  padding: 6px 13px;
  font-size: 12px;
  box-shadow: 0 8px 22px rgba(15, 39, 71, 0.08);
  cursor: default;
}

.institution-active-filters .filter-chip--removable {
  cursor: pointer;
}

.institution-sidebar-copy {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.institution-sidebar {
  border-color: rgba(2, 132, 199, 0.14);
  box-shadow: 0 24px 68px rgba(15, 39, 71, 0.06);
}

.institution-sidebar h3 {
  font-size: 15px;
}

.institution-sidebar .filter-group {
  margin-bottom: 24px;
}

.institution-sidebar .filter-group:last-child {
  margin-bottom: 0;
}

.institution-sidebar .filter-term-link {
  min-height: 36px;
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(2, 132, 199, 0.1);
  border-radius: 999px;
  background: #f8fbff;
  color: #28465f;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.institution-sidebar .filter-term-link > span:first-child {
  min-width: 0;
}

.institution-sidebar .filter-term-link:hover,
.institution-sidebar .filter-term-link:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  transform: translateX(2px);
  outline: none;
}

.institution-sidebar .filter-term-link .count {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 3px 8px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: #f0f9ff;
  color: #0077b6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.institution-sidebar .filter-term-link:hover .count,
.institution-sidebar .filter-term-link:focus-visible .count {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.institution-results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(2, 132, 199, 0.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(15, 39, 71, 0.055);
}

.institution-results-note {
  max-width: 560px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 0;
}

.institution-results-grid {
  gap: 18px;
}

.institution-result-card {
  position: relative;
  grid-template-columns: 84px minmax(0, 1fr) 180px;
  gap: 22px;
  overflow: hidden;
  border-color: rgba(2, 132, 199, 0.12);
  box-shadow: 0 22px 64px rgba(15, 39, 71, 0.055);
}

.institution-result-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.institution-result-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -46px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.045);
  pointer-events: none;
}

.institution-result-card:hover,
.institution-result-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.28);
  box-shadow: 0 34px 90px rgba(15, 39, 71, 0.1);
  outline: none;
}

.institution-result-card:hover::before,
.institution-result-card:focus-visible::before {
  opacity: 1;
}

.institution-result-card > * {
  position: relative;
  z-index: 1;
}

.institution-result-card .result-logo {
  width: 84px;
  height: 84px;
  box-shadow: 0 18px 40px rgba(15, 39, 71, 0.1);
}

.result-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Imagify の WebP 配信で <img> が <picture> に置換された場合の対応 */
picture.result-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.institution-card-type {
  display: inline-flex;
  align-items: center;
  background: rgba(2, 132, 199, 0.08);
  color: var(--navy-light);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.institution-result-card .result-meta {
  gap: 8px;
  flex-wrap: wrap;
}

.institution-result-card .result-meta span {
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f9ff;
  color: #31566f;
  font-size: 12px;
  line-height: 1.5;
}

.institution-result-card .tags {
  gap: 8px;
}

.institution-result-card .tag {
  font-size: 12px;
  padding: 5px 11px;
}

.institution-contact-note {
  font-size: 11px;
  color: var(--navy-light);
  line-height: 1.7;
  margin-top: 12px;
}

.institution-result-actions {
  justify-content: center;
  min-height: 100%;
}

@media (max-width: 1024px) {
  .institution-archive-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .institution-result-card {
    grid-template-columns: 84px 1fr;
  }

  .institution-result-card .result-logo {
    width: 84px;
    height: 84px;
  }

  .institution-result-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .institution-archive-page .results-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0;
  }

  .institution-sidebar {
    position: static;
    order: 2;
  }

  .institution-results-header {
    display: block;
  }

  .institution-results-note {
    max-width: none;
    margin-top: 8px;
  }

  .institution-archive-page .results-layout > div {
    order: 1;
  }

  .institution-sidebar .filter-term-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .institution-sidebar .filter-term-link {
    justify-content: flex-start;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--gray-light);
    border-radius: 999px;
    background: #f8fcff;
  }

  .institution-sidebar .filter-term-link .count {
    min-width: 30px;
    margin-left: 2px;
    padding: 2px 7px;
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .institution-archive-hero {
    padding: 36px 0 30px;
  }

  .institution-archive-copy .section-label {
    margin-bottom: 10px;
  }

  .search-hero h1 {
    font-size: 26px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .archive-intro {
    font-size: 13px;
  }

  .institution-search-box {
    padding: 18px;
    border-radius: 14px;
  }

  .institution-search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .institution-search-box .form-group label {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .institution-search-box .form-group select {
    min-height: 48px;
    font-size: 15px;
  }

  .institution-search-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .institution-search-actions .btn-search,
  .institution-reset-link {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .institution-reset-link {
    display: inline-flex;
    align-items: center;
    color: var(--navy);
    border: 1px solid #bae6fd;
    border-radius: 8px;
  }

  .institution-active-filters {
    margin-top: 18px;
    margin-bottom: 0;
  }

  .institution-active-filters .filter-chip {
    color: var(--navy);
    background: #ffffff;
    border-color: #d6e0ea;
  }

  .institution-results-header {
    margin-bottom: 16px;
  }

  .institution-results-note {
    font-size: 11px;
  }

  .institution-result-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
  }

  .result-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }

  .institution-result-card .result-logo {
    width: 64px;
    height: 64px;
  }

  .result-info h2,
  .result-info h3 {
    font-size: 15px;
    line-height: 1.55;
  }

  .institution-card-type {
    margin-bottom: 7px;
  }

  .result-meta {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
  }

  .result-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .tags {
    gap: 5px;
  }

  .tag {
    padding: 4px 8px;
    font-size: 10px;
  }

  .institution-result-actions {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .institution-result-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .institution-sidebar {
    padding: 18px;
  }

  .institution-sidebar h3 {
    margin-bottom: 12px;
  }

  .institution-sidebar-copy {
    margin-bottom: 16px;
  }

  .filter-group {
    margin-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .institution-result-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .result-logo {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  .institution-result-card .result-logo {
    width: 54px;
    height: 54px;
  }

  .result-info h2,
  .result-info h3 {
    font-size: 14px;
  }
}

.institution-detail-hero {
  padding-bottom: 56px;
}

.institution-detail-hero-inner {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.detail-hero-copy {
  min-width: 0;
}

.detail-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  margin-bottom: 18px;
}

.institution-contact-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.institution-detail-layout {
  align-items: start;
}

.institution-detail-page > .container {
  max-width: 1180px;
}

.detail-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.detail-visual-card {
  overflow: hidden;
  border-radius: 14px;
  background: var(--off-white);
  min-height: 220px;
}

.detail-cover {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

/* Imagify の WebP 配信で <img> が <picture> に置換された場合の対応 */
picture.detail-cover img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.detail-info-card {
  min-width: 0;
}

.detail-section-sub {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 18px;
}

.detail-info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-info-item {
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  background: var(--off-white);
  padding: 18px;
}

.detail-info-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-light);
  margin-bottom: 10px;
}

.detail-info-value {
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}

.detail-side-list {
  margin: 18px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-side-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
}

.detail-side-label {
  font-size: 11px;
  color: var(--text-light);
}

.detail-side-value {
  font-size: 12px;
  color: var(--navy);
  font-weight: 700;
  text-align: right;
}

.detail-empty-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.institution-feature-section {
  display: grid;
  gap: 22px;
}

.institution-message-box {
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  padding: 24px;
}

.institution-message-box.is-paid {
  border-color: #dbeafe;
  background: #ffffff;
}

.institution-message-label,
.institution-slider-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.institution-message-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: 0;
}

.institution-pr-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.institution-message-box p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
}

.institution-slider {
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  background: white;
  padding: 24px;
}

.institution-slider-head {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.institution-slider-controls {
  display: flex;
  gap: 10px;
}

.institution-slider-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--gray-light);
  background: var(--off-white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.institution-slider-btn:hover,
.institution-slider-btn:focus {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.institution-slider-viewport {
  overflow: hidden;
}

.institution-slider-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.institution-slider-track::-webkit-scrollbar {
  height: 8px;
}

.institution-slider-track::-webkit-scrollbar-thumb {
  background: rgba(3, 105, 161, 0.18);
  border-radius: 999px;
}

.institution-slider-slide {
  flex: 0 0 82%;
  scroll-snap-align: start;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--gray-light);
}

.institution-slider-slide img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.institution-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.institution-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(3, 105, 161, 0.2);
  cursor: pointer;
  padding: 0;
}

.institution-slider-dot.is-active {
  width: 24px;
  background: var(--accent);
}

.institution-map-embed {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--gray-light);
  background: var(--off-white);
}

.institution-map-embed iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  .institution-detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .institution-contact-box,
  .contact-box {
    width: 100%;
  }

  .institution-detail-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .sticky-sidebar {
    position: static;
    top: auto;
  }

  .detail-overview-grid {
    grid-template-columns: 1fr;
  }

  .detail-info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .institution-slider-slide {
    flex-basis: 88%;
  }

  .institution-slider-slide img {
    height: 300px;
  }
}

.result-logo,
.result-logo:hover,
.result-logo:focus,
.result-logo:active,
.listing-logo,
.listing-logo:hover,
.listing-logo:focus,
.listing-logo:active,
.detail-visual-card a,
.detail-visual-card a:hover,
.detail-visual-card a:focus,
.detail-visual-card a:active {
  text-decoration: none;
}

.rating,
.rating-lg,
.rating-count-sm,
.detail-rating-big,
.rating-score,
.rating-stars,
.rating-count {
  display: none !important;
}

.detail-side-item {
  align-items: flex-start;
}

.detail-side-label {
  flex: 0 0 72px;
}

.detail-side-value {
  flex: 1 1 auto;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .institution-detail-hero,
  .detail-hero {
    padding: 36px 0 34px;
  }

  .detail-back {
    margin-bottom: 18px;
  }

  .detail-hero-inner {
    gap: 24px;
  }

  .detail-hero h1 {
    font-size: 25px;
    line-height: 1.45;
  }

  .detail-lead {
    font-size: 13px;
    line-height: 1.8;
  }

  .detail-meta {
    gap: 8px 14px;
    margin-bottom: 16px;
  }

  .detail-meta span {
    font-size: 12px;
  }

  .institution-detail-layout,
  .detail-layout {
    gap: 18px;
    padding: 24px 0;
  }

  .detail-main {
    gap: 18px;
  }

  .detail-section {
    padding: 20px;
    border-radius: 12px;
  }

  .detail-section h2 {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .detail-overview-grid {
    gap: 18px;
  }

  .detail-visual-card,
  .detail-cover {
    min-height: 190px;
  }

  .detail-info-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-info-item {
    padding: 15px;
  }

  .contact-box,
  .sidebar-card {
    padding: 20px;
    border-radius: 12px;
  }

  .detail-side-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
  }

  .detail-side-value {
    text-align: left;
    overflow-wrap: anywhere;
  }

  .spec-table td {
    padding: 12px;
  }

  .spec-table td:first-child {
    width: 42%;
  }

  .institution-points-list li {
    padding: 13px 14px 13px 38px;
    font-size: 13px;
  }

  .institution-points-list li::before {
    top: 21px;
    left: 16px;
  }

  .institution-message-box {
    border-radius: 12px;
  }

  .institution-pr-heading {
    font-size: 16px;
  }

  .institution-message-box p,
  .detail-copy,
  .detail-summary {
    font-size: 13px;
  }

  .institution-message-box,
  .institution-slider {
    padding: 18px;
  }

  .institution-slider-slide {
    flex-basis: 100%;
  }

  .institution-slider-slide img {
    height: 240px;
  }

  .institution-map-embed iframe {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .detail-hero h1 {
    font-size: 22px;
  }

  .detail-section {
    padding: 18px 16px;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table td:first-child {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 8px;
  }

  .spec-table td:last-child {
    padding-top: 10px;
  }

  .spec-table tr:not(:last-child) td:last-child {
    border-bottom: 1px solid var(--gray-light);
  }

  .spec-table tr:not(:last-child) td:first-child {
    border-bottom: 1px solid rgba(224, 242, 254, 0.65);
  }

  .institution-slider-slide {
    flex-basis: 100%;
  }

  .institution-slider-slide img {
    height: 220px;
  }
}

/* Institution detail visual tune */
.institution-detail-page {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 52%, #ffffff 100%);
  color: #1f3347;
  overflow-x: clip;
}

.institution-detail-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 58% 70% at 86% 18%,
      rgba(255, 255, 255, 0.16),
      transparent 62%
    ),
    linear-gradient(145deg, #0369a1 0%, #025e8a 56%, #0f5b78 100%);
  isolation: isolate;
}

.institution-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.institution-detail-hero::after {
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: -130px;
  z-index: 0;
  width: min(42vw, 520px);
  height: min(46vw, 590px);
  background: url("../images/map-japan.png") center / contain no-repeat;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.1;
  transform: rotate(8deg);
  pointer-events: none;
}

.institution-detail-hero .container {
  position: relative;
  z-index: 1;
}

.detail-hero-copy {
  position: relative;
}

.detail-hero-copy::before {
  content: "DETAIL";
  position: absolute;
  left: -4px;
  top: -42px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.075);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
  white-space: nowrap;
}

.institution-contact-box {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 90px rgba(15, 39, 71, 0.2);
}

.institution-contact-box::before {
  content: "";
  position: absolute;
  right: -46px;
  top: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.institution-contact-box > * {
  position: relative;
  z-index: 1;
}

.institution-contact-box .contact-box-note {
  color: rgba(255, 255, 255, 0.86);
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  background: #ffffff;
  color: var(--navy);
  outline: none;
}

.detail-tags .tag {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.detail-tags .tag-accent {
  background: rgba(249, 115, 22, 0.18);
  border-color: rgba(249, 115, 22, 0.28);
  color: #fff5ed;
}

.institution-detail-layout {
  position: relative;
}

.institution-detail-layout::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 110px;
  width: min(42vw, 500px);
  height: 320px;
  background: rgba(2, 132, 199, 0.045);
  border-radius: 44% 56% 50% 50% / 42% 48% 52% 58%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.detail-main,
.sticky-sidebar {
  position: relative;
  z-index: 1;
}

.detail-section,
.sidebar-card {
  border-color: rgba(2, 132, 199, 0.12);
  box-shadow: 0 24px 68px rgba(15, 39, 71, 0.06);
}

.detail-section {
  position: relative;
  overflow: hidden;
}

.detail-section::before {
  content: "";
  position: absolute;
  right: -44px;
  top: -52px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.045);
  pointer-events: none;
}

.detail-section > * {
  position: relative;
  z-index: 1;
}

.detail-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section h2::before {
  content: "";
  width: 8px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
}

.detail-visual-card {
  box-shadow: 0 22px 58px rgba(15, 39, 71, 0.08);
}

.detail-info-item {
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 18px 46px rgba(15, 39, 71, 0.045);
}

.detail-info-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.detail-info-value {
  color: #1f3347;
  font-size: 15px;
  line-height: 1.85;
}

.institution-detail-page .spec-table td {
  padding: 16px 18px;
  color: #1f3347;
  font-size: 15px;
}

.institution-detail-page .spec-table td:first-child {
  font-size: 14px;
  line-height: 1.7;
}

.institution-detail-page .spec-table td:last-child {
  color: #1f3347;
  line-height: 1.85;
}

.institution-detail-page .detail-info-value,
.institution-detail-page .detail-summary,
.institution-detail-page .detail-copy,
.institution-detail-page .detail-copy p,
.institution-detail-page .institution-message-box,
.institution-detail-page .institution-message-box p,
.institution-detail-page .institution-business-description,
.institution-detail-page .detail-side-value,
.institution-detail-page .sidebar-hours {
  color: #1f3347;
}

.institution-points-list li {
  color: #1f3347;
  font-size: 16px;
  line-height: 1.85;
  box-shadow: 0 18px 46px rgba(15, 39, 71, 0.045);
}

.institution-points-list li::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.institution-message-box,
.institution-slider {
  box-shadow: 0 22px 60px rgba(15, 39, 71, 0.06);
}

.institution-detail-page .institution-message-box .detail-copy,
.institution-detail-page .institution-message-box .detail-copy p,
.institution-detail-page .institution-message-box p {
  font-size: 16px;
  line-height: 1.95;
}

@media (max-width: 767px) {
  .institution-detail-page .institution-points-list li {
    font-size: 15px;
    line-height: 1.85;
  }

  .institution-detail-page .institution-message-box .detail-copy,
  .institution-detail-page .institution-message-box .detail-copy p,
  .institution-detail-page .institution-message-box p {
    font-size: 15px;
    line-height: 1.9;
  }
}

.detail-side-item {
  padding: 10px 0;
}

.detail-side-item:first-child {
  padding-top: 0;
}

.detail-side-label {
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .institution-detail-hero::after,
  .detail-hero-copy::before,
  .institution-detail-layout::before {
    opacity: 0.45;
  }

  .detail-section h2::before {
    height: 18px;
  }
}

.cat-card,
.cat-card:hover,
.cat-card:focus,
.cat-card:active,
.cat-card .cat-name,
.cat-card .cat-sub,
.cat-card .cat-name:hover,
.cat-card .cat-sub:hover {
  text-decoration: none;
}

.post-archive-hero {
  padding: 64px 0;
}

.post-archive-hero .container,
.post-layout {
  max-width: 1180px;
}

.post-layout {
  align-items: start;
  grid-template-columns: minmax(0, 824px) 320px;
  gap: 36px;
  margin: 0 auto;
}

.post-article-list {
  gap: 22px;
}

.post-article-card {
  grid-template-columns: 274px minmax(0, 1fr);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}

.post-article-thumb {
  min-height: 172px;
  overflow: hidden;
  background: #075f9f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.post-article-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.post-article-thumb picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-article-thumb picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.post-article-image-placeholder {
  object-fit: cover;
}

.post-article-title {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.post-article-title a {
  text-decoration: none;
}

.post-article-title a:hover {
  color: var(--navy-light);
}

.post-article-card:hover .post-article-title a,
.post-article-card:focus-within .post-article-title a {
  color: var(--navy-light);
}

.post-article-card .article-body {
  padding: 10px 20px 12px;
}

.post-article-card .article-cat {
  display: none;
}

.post-article-card .article-body p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-article-card .article-meta {
  gap: 10px;
  font-size: 12px;
  margin-bottom: 10px;
}

.post-article-card .article-meta span:not(:first-child) {
  display: none;
}

.post-article-card .guide-cat-tag {
  top: 0;
  right: 0;
  left: auto;
  background: var(--accent);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 7px 10px;
  border-radius: 0;
}

.post-single-hero {
  padding-bottom: 48px;
}

.post-single-hero .container {
  max-width: 1180px;
}

.post-single-hero-inner {
  max-width: 900px;
}

.post-single-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  color: white;
  line-height: 1.45;
  margin-bottom: 14px;
}

.post-single-meta {
  margin-bottom: 18px;
}

.post-single-layout {
  grid-template-columns: minmax(0, 824px) 320px;
}

.post-single-main {
  min-width: 0;
}

.post-single-section {
  padding: 34px;
}

.post-featured-image-wrap {
  margin-bottom: 28px;
  border-radius: 16px;
  overflow: hidden;
}

.post-featured-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Imagify の WebP 配信で <img> が <picture> に置換された場合の対応 */
picture.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-entry-content {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}

.post-entry-content h2,
.post-entry-content h3,
.post-entry-content h4 {
  color: var(--navy);
  margin-top: 1.8em;
  margin-bottom: 0.7em;
  line-height: 1.5;
}

.post-entry-content p + p {
  margin-top: 1em;
}

.post-entry-content ul,
.post-entry-content ol {
  margin-top: 1em;
  margin-left: 1.4em;
}

.post-entry-content li + li {
  margin-top: 0.4em;
}

.publisher-cta-banner,
.publisher-side-banner {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(3, 105, 161, 0.1);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
}

.publisher-cta-banner:hover,
.publisher-cta-banner:focus-visible,
.publisher-side-banner:hover,
.publisher-side-banner:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(3, 105, 161, 0.16);
  filter: brightness(1.02);
}

.publisher-cta-banner {
  margin: 30px 0;
}

.publisher-cta-banner-before-h2 {
  margin-top: 30px;
}

.publisher-cta-banner-after-content {
  margin-bottom: 0;
}

.publisher-cta-banner picture,
.publisher-cta-banner img,
.publisher-side-banner img {
  display: block;
  width: 100%;
}

.publisher-cta-banner img,
.publisher-side-banner img {
  height: auto;
  transition: transform 0.28s ease;
}

.publisher-cta-banner:hover img,
.publisher-cta-banner:focus-visible img,
.publisher-side-banner:hover img,
.publisher-side-banner:focus-visible img {
  transform: scale(1.015);
}

.publisher-side-banner {
  margin-bottom: 18px;
}

.post-side-tags {
  gap: 8px;
}

.post-side-tags .tag {
  text-decoration: none;
}

/* Guide media visual tune */
.guide-hero,
.post-single-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #0369a1 0%, #075985 58%, #0f4d72 100%);
  background-size: 64px 64px, 64px 64px, auto;
}

.guide-hero::after,
.post-single-hero::after {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: -28px;
  z-index: -1;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(72px, 12vw, 168px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.guide-hero::after {
  content: "GUIDE";
}

.post-single-hero::after {
  content: "ARTICLE";
}

.guide-hero .container,
.post-single-hero .container {
  position: relative;
  z-index: 1;
}

.post-layout {
  position: relative;
}

.post-article-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 18px;
  background: white;
  box-shadow: 0 24px 70px rgba(8, 47, 73, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.post-article-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.post-article-card:hover,
.post-article-card:focus-within {
  border-color: rgba(2, 132, 199, 0.34);
  box-shadow: 0 30px 86px rgba(8, 47, 73, 0.13);
  transform: translateY(-3px);
}

.post-article-card:hover::before,
.post-article-card:focus-within::before {
  opacity: 1;
}

.post-article-thumb {
  min-height: 190px;
}

.post-article-card .article-body {
  padding: 22px 24px 20px;
}

.post-article-card .guide-cat-tag {
  border-radius: 0 0 0 4px;
  box-shadow: none;
}

.post-article-card .article-meta {
  color: var(--text-light);
}

.guide-sidebar-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(186, 230, 253, 0.9);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(8, 47, 73, 0.07);
}

.guide-sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom-color: rgba(186, 230, 253, 0.85);
}

.guide-sidebar-card h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
}

.pop-article {
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.pop-article:hover,
.pop-article:focus-visible {
  background: #f0f9ff;
  transform: translateX(2px);
}

.pop-num {
  color: rgba(249, 115, 22, 0.44);
}

.cat-list li {
  border-bottom: 0;
}

.cat-list li + li {
  margin-top: 6px;
}

.cat-list li a {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cat-list li a:hover,
.cat-list li a:focus-visible {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.cat-list li a:hover span,
.cat-list li a:focus-visible span {
  color: var(--navy);
  background: white;
}

.post-single-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.86);
  box-shadow: 0 28px 86px rgba(8, 47, 73, 0.09);
}

.post-featured-image-wrap {
  box-shadow: 0 22px 60px rgba(8, 47, 73, 0.12);
}

.post-entry-content h3 {
  color: var(--navy-light);
}

.publisher-cta-banner,
.publisher-side-banner {
  box-shadow: 0 24px 70px rgba(8, 47, 73, 0.13);
}

.publisher-cta-banner:hover,
.publisher-cta-banner:focus-visible,
.publisher-side-banner:hover,
.publisher-side-banner:focus-visible {
  box-shadow: 0 30px 86px rgba(8, 47, 73, 0.18);
}

.post-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(240, 249, 255, 0.92) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(255, 247, 237, 0.86) 100%);
  box-shadow: 0 24px 70px rgba(8, 47, 73, 0.08);
}

.post-bottom-cta-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 5px 12px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 247, 237, 0.9);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-bottom-cta h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.5;
}

.post-bottom-cta p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.8;
}

.post-bottom-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.post-bottom-cta-actions .btn {
  min-width: 132px;
  justify-content: center;
}

@media (max-width: 900px) {
  .post-article-card {
    grid-template-columns: 1fr;
  }

  .post-single-layout {
    grid-template-columns: 1fr;
  }

  .publisher-side-banner {
    display: none;
  }

  .post-bottom-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .post-single-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .post-entry-content {
    font-size: 15px;
    line-height: 1.95;
  }

  .post-entry-content h2 {
    font-size: 22px;
  }

  .post-entry-content h3 {
    font-size: 19px;
  }

  .post-bottom-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .post-bottom-cta-actions .btn {
    width: 100%;
  }
}

.guide-sidebar a,
.guide-sidebar a:hover,
.guide-sidebar a:focus,
.guide-sidebar a:active,
.pop-article,
.pop-article:hover,
.pop-title,
.pop-title:hover,
.post-side-tags .tag,
.post-side-tags .tag:hover {
  text-decoration: none;
}

.guide-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.guide-card:hover,
.guide-card:focus,
.guide-card:active {
  text-decoration: none;
  color: inherit;
}

.guide-thumb.has-image {
  padding: 0;
  overflow: hidden;
  background: #075f9f;
}

.guide-thumb.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.guide-thumb.has-image picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-thumb.has-image picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.search-card a,
.search-card a:hover,
.search-card a:focus,
.search-card a:active,
.popular-tags a,
.popular-tags a:hover,
.popular-tags a:focus,
.popular-tags a:active,
.popular-tag,
.popular-tag:hover,
.popular-tag:focus,
.popular-tag:active {
  text-decoration: none;
}

.search-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
}

.search-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.search-item:hover,
.search-item:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 39, 71, 0.18);
}

.guide-more-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.guide-more-btn {
  min-width: 180px;
  justify-content: center;
}

.guide-more-wrap {
  margin-top: 32px;
}

.guide-more-btn {
  min-width: 220px;
  justify-content: center;
}

.guide-sidebar-card-sticky {
  position: sticky;
  top: 110px;
}

.guide-sidebar-card-sticky .guide-sidebar-note {
  margin-bottom: 18px;
}

.guide-sidebar-card-sticky {
  position: sticky;
  top: 110px;
}

.guide-sidebar-card-sticky .guide-sidebar-note {
  margin-bottom: 18px;
}

.hero {
  min-height: calc(100vh - 72px);
}

.hero-inner {
  padding: 72px 40px 48px;
}

@media (max-width: 1200px) {
  .hero-inner {
    padding: 56px 32px 40px;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 40px 24px 32px;
    gap: 32px;
  }
}

.hero.pt-header {
  padding-top: 0;
}

body.admin-bar .hero {
  min-height: calc(100vh - 100px);
}

body.admin-bar .hero-inner {
  padding-top: 40px;
}

.hero .hero-inner {
  padding-top: 28px;
}

@media (max-width: 1200px) {
  .hero .hero-inner {
    padding-top: 24px;
  }
}

@media (max-width: 900px) {
  .hero .hero-inner {
    padding-top: 20px;
  }
}

body.admin-bar .hero .hero-inner {
  padding-top: 20px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 20px 28px;
  }

  .hero h1 {
    font-size: clamp(28px, 10vw, 44px);
    line-height: 1.28;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
  }

  .stat-num {
    font-size: 24px;
  }

  .stat-label {
    font-size: 10px;
  }

  .hero-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-btns .btn {
    justify-content: center;
    width: 100%;
  }

  .search-card {
    width: 100%;
    max-width: none;
    padding: 22px 18px;
  }
}

@media (max-width: 640px) {
  .hero.pt-header {
    padding-top: 108px;
  }

  .hero .hero-inner {
    padding-top: 26px;
  }

  .hero-badge {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(32px, 9.2vw, 38px);
    line-height: 1.34;
    margin-bottom: 22px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-badge span {
    font-size: 9px;
    line-height: 1.5;
    white-space: normal;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }

  .hero-btns {
    grid-template-columns: 1fr;
  }

  .search-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 11px;
  }

  .form-group select,
  .form-group input[type="text"] {
    font-size: 14px;
    padding: 11px 12px;
  }
}

@media (max-width: 1024px) {
  .why-section {
    margin-top: -34px;
    padding-top: 88px;
  }

  .quick-search-section {
    padding: 90px 0;
  }

  .why-grid,
  .merit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .why-section {
    margin-top: -18px;
    padding-top: 74px;
  }

  .why-section::before {
    top: 28px;
    font-size: 54px;
    letter-spacing: 0.04em;
  }

  .why-card::before {
    font-size: 64px;
  }

  .quick-search-section {
    padding: 76px 0;
    overflow: hidden;
  }

  .quick-search-section::after {
    right: 0;
    bottom: 18px;
    width: min(72vw, 300px);
    height: 340px;
    opacity: 0.09;
  }

  .quick-search-inner::before {
    right: 0;
    top: 190px;
    width: min(76vw, 320px);
    opacity: 0.34;
  }

  .section-featured::after,
  .guide-section::after {
    display: none;
  }

  .why-grid,
  .merit-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

.cta-section {
  margin-bottom: 0;
  border-bottom: none;
}

.cta-section + footer {
  margin-top: -1px;
}

.front-page-main .container,
.institution-archive-page .container,
.guide-page > .container,
.guide-hero .container,
.guide-layout,
.post-single-page > .container,
.howto-hero:not(.privacy-policy-hero) .container,
.howto-hero:not(.privacy-policy-hero) + .container.section-space-xl {
  max-width: 1260px;
}

.article-card {
  display: grid;
}

.post-article-card {
  display: grid;
}

.post-article-card-link {
  cursor: pointer;
}

.post-article-card-link:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.28);
  outline-offset: 3px;
}

.guide-sidebar-card .btn-block-center {
  margin-top: 18px;
}

@media (max-width: 1024px) {
  .guide-layout,
  .post-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-sidebar,
  .guide-sidebar-card-sticky {
    position: static;
    top: auto;
  }
}

@media (max-width: 767px) {
  .post-article-card {
    grid-template-columns: 1fr;
  }

  .post-article-thumb {
    min-height: 200px;
  }
}

.hero {
  min-height: calc(100vh - 120px);
}

.hero .hero-inner {
  padding-bottom: 12px;
}

/* Front hero spacing tune */
.hero {
  min-height: calc(100vh - 170px);
}

.hero .hero-inner {
  padding-bottom: 0;
}

@media (max-width: 1200px) {
  .hero {
    min-height: 760px;
  }

  .hero .hero-inner {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

@media (max-height: 820px) and (min-width: 901px) {
  .hero {
    min-height: 820px;
  }
}

.publish-plans-section {
  padding-top: 64px;
}

.plan-action {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

.publish-plans-section .section-desc {
  margin-bottom: 28px;
}

.published-lp .container {
  max-width: 1180px;
}

.published-lp .section {
  padding: 104px 0;
}

.published-lp .section-header {
  max-width: 780px;
  margin-bottom: 52px;
}

.published-lp .section-title {
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.45;
}

.published-lp .section-desc {
  font-size: 16px;
  line-height: 1.95;
}

.published-lp .plan-card {
  padding: 34px 30px;
}

.published-lp .plan-desc {
  font-size: 14px;
  line-height: 1.9;
}

.published-lp .plan-feature {
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.75;
}

.published-lp .publish-hero-inner {
  grid-template-columns: minmax(0, 1fr) 360px;
  max-width: none;
}

.published-lp .publish-stats-panel {
  display: block;
}

.published-hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.16),
      transparent 32%
    ),
    linear-gradient(135deg, #0f2747 0%, #0b3f73 55%, #0c86c6 100%);
}

.published-hero-copy .page-hero-title-wide {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.4;
}

.published-hero-copy .page-hero-desc {
  max-width: 720px;
  font-size: 16px;
  line-height: 2;
}

.published-anchor-target {
  scroll-margin-top: 110px;
}

.published-page-nav {
  position: fixed;
  top: 152px;
  right: clamp(14px, 2vw, 28px);
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(180px, calc(100vw - 28px));
}

.published-page-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 39, 71, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(15, 39, 71, 0.12);
  backdrop-filter: blur(12px);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.published-page-nav-link::after {
  content: "→";
  color: var(--accent);
  font-size: 14px;
  flex: 0 0 auto;
}

.published-page-nav-link:hover,
.published-page-nav-link:focus-visible {
  transform: translateX(-4px);
  box-shadow: 0 20px 42px rgba(15, 39, 71, 0.16);
  border-color: rgba(12, 134, 198, 0.28);
  outline: none;
}

.published-page-nav-auth {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.published-page-nav-auth .btn {
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 10px;
}

.published-page-nav-mobile-wrap {
  display: none;
}

.published-lp > .published-page-nav-mobile-wrap {
  display: none;
  margin: 0;
  padding: 0;
}

.published-hero-points {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
}

.published-hero-points li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.75;
  padding-left: 18px;
  position: relative;
}

.published-hero-points li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.published-hero-actions {
  margin-top: 28px;
}

.published-hero-actions .btn-outline:hover,
.published-hero-actions .btn-outline:focus-visible {
  transform: translateY(-1px);
  box-shadow: none;
  outline: none;
}

.published-panel-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.7;
}

.published-problems-section {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.published-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.published-problem-card {
  background: white;
  border: 1px solid rgba(14, 116, 144, 0.12);
  border-radius: 18px;
  padding: 0 24px 24px;
  box-shadow: 0 18px 40px rgba(15, 39, 71, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.published-problem-icon {
  width: calc(100% + 48px);
  height: 164px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  margin: 0 -24px 22px;
  overflow: hidden;
}

.published-problem-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.published-problem-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.published-problem-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
}

.published-solution-band {
  position: relative;
  margin-top: 34px;
  padding: 40px 44px;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(15, 39, 71, 0.96) 0%,
      rgba(21, 94, 117, 0.96) 100%
    ),
    url("../images/published-problem-match.jpg") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(15, 39, 71, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 36px;
  align-items: center;
  overflow: hidden;
}

.published-solution-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 18% 16%,
    rgba(255, 255, 255, 0.16),
    transparent 28%
  );
  pointer-events: none;
}

.published-solution-copy,
.published-solution-action {
  position: relative;
  z-index: 1;
}

.published-solution-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.published-solution-band h3 {
  color: white;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 14px;
}

.published-solution-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.95;
}

.published-solution-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.published-solution-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.published-solution-action {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.published-solution-action .btn {
  justify-content: center;
  white-space: nowrap;
}

.published-solution-action span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.published-merits-section {
  background: #fffdf8;
}

.published-merit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.published-lp .merit-card {
  padding: 30px 26px;
}

.published-lp .merit-card h3 {
  font-size: 16px;
  line-height: 1.65;
}

.published-lp .merit-card p {
  font-size: 13px;
  line-height: 1.9;
}

.published-flow .howto-step-num {
  box-shadow: 0 8px 28px rgba(2, 132, 199, 0.12);
}

.published-plans-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.published-cost-section {
  background: #f8fbff;
}

.published-cost-cta {
  margin-top: 26px;
}

.published-plan-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 42px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
  box-shadow: 0 20px 54px rgba(15, 39, 71, 0.08);
}

.published-plan-download p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.published-plan-download .btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 13px 22px;
  border-color: var(--blue);
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
}

.published-plan-download .btn:hover,
.published-plan-download .btn:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff !important;
  box-shadow: none;
  transform: translateY(-1px);
  outline: none;
}

.published-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.published-guide-section {
  background: white;
}

.published-faq-section {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.published-lp .faq-list {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.published-lp .faq-q {
  padding: 26px 30px;
}

.published-lp .faq-q-text {
  font-size: 17px;
  line-height: 1.75;
}

.published-lp .faq-a {
  padding: 0 30px 26px;
  font-size: 16px;
  line-height: 2;
}

.published-cta-section .section-desc {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.published-cta-actions {
  margin-top: 24px;
  margin-bottom: 72px;
}

.published-cta-register-block {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn-outline-white {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}
.published-cta-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}
.published-cta-note a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

.published-form-placeholder {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 30px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}

.published-form-placeholder-label {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.published-form-placeholder h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
  line-height: 1.5;
}

.published-form-placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.85;
}

.published-form-placeholder.contact-form-card {
  max-width: 860px;
  padding: 34px;
  border: 1px solid var(--gray-light);
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 39, 71, 0.08);
}

.published-form-placeholder.contact-form-card
  .published-form-placeholder-label {
  color: var(--accent);
}

.published-form-placeholder.contact-form-card h3 {
  color: var(--navy);
  margin-bottom: 22px;
}

.published-form-placeholder.contact-form-card p {
  color: var(--text-light);
}

.published-form-placeholder .published-cta-actions {
  justify-content: flex-start;
  margin-top: 18px;
  margin-bottom: 24px;
}

/* Published LP depth tune */
.published-hero {
  isolation: isolate;
}

.published-hero::after {
  content: "MATCHING";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 24px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.08);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(72px, 10vw, 142px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.published-hero-panel {
  position: relative;
  box-shadow: 0 30px 90px rgba(15, 39, 71, 0.22);
}

.published-hero-panel::before {
  content: "";
  position: absolute;
  inset: -58px -42px auto auto;
  z-index: -1;
  width: 260px;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px),
    repeating-radial-gradient(
      circle,
      rgba(255, 255, 255, 0.14) 0 1px,
      transparent 1px 54px
    ),
    linear-gradient(
      90deg,
      transparent calc(50% - 1px),
      rgba(255, 255, 255, 0.08) calc(50% - 1px) calc(50% + 1px),
      transparent calc(50% + 1px)
    ),
    linear-gradient(
      0deg,
      transparent calc(50% - 1px),
      rgba(255, 255, 255, 0.08) calc(50% - 1px) calc(50% + 1px),
      transparent calc(50% + 1px)
    );
  border-radius: 50%;
  opacity: 0.75;
  pointer-events: none;
}

.published-problems-section,
.published-merits-section,
.published-flow-section,
.published-plans-wrap,
.published-faq-section {
  position: relative;
  overflow: hidden;
}

.published-problems-section::before {
  content: "PROBLEM";
  position: absolute;
  top: 46px;
  left: max(24px, calc((100vw - 1180px) / 2));
  color: rgba(15, 39, 71, 0.04);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.published-problems-section::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 98px;
  width: min(42vw, 520px);
  height: 330px;
  background: rgba(2, 132, 199, 0.055);
  border-radius: 44% 56% 50% 50% / 42% 48% 52% 58%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.published-problems-section .container,
.published-merits-section .container,
.published-flow-section .container,
.published-plans-wrap .container,
.published-faq-section .container {
  position: relative;
  z-index: 1;
}

.published-problem-card {
  position: relative;
  box-shadow: 0 28px 78px rgba(15, 39, 71, 0.075);
}

.published-problem-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.045);
  pointer-events: none;
}

.published-solution-band {
  margin-top: 22px;
  transform: translateY(34px);
}

.published-merits-section {
  padding-top: 136px;
}

.published-merits-section::before {
  content: "";
  position: absolute;
  left: -10%;
  bottom: 62px;
  width: min(42vw, 480px);
  height: 300px;
  background: rgba(249, 115, 22, 0.055);
  border-radius: 56% 44% 42% 58% / 42% 56% 44% 58%;
  transform: rotate(8deg);
  pointer-events: none;
}

.published-merits-section::after {
  content: "MERIT";
  position: absolute;
  right: 7%;
  top: 72px;
  color: rgba(15, 39, 71, 0.04);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(62px, 9vw, 130px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.published-lp .merit-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 68px rgba(15, 39, 71, 0.06);
}

.published-lp .merit-card::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.055);
  pointer-events: none;
}

.published-lp .merit-card:hover {
  box-shadow: 0 34px 90px rgba(15, 39, 71, 0.1);
}

.published-flow-section::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 92px;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  background: repeating-radial-gradient(
    circle,
    rgba(2, 132, 199, 0.08) 0 1px,
    transparent 1px 64px
  );
  border-radius: 50%;
  pointer-events: none;
}

.published-flow .howto-step-num {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(15, 39, 71, 0.08);
}

.published-plans-wrap::before {
  content: "PLAN";
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  top: 64px;
  color: rgba(15, 39, 71, 0.04);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.published-plans-wrap::after {
  content: "";
  position: absolute;
  right: -11%;
  bottom: 72px;
  width: min(44vw, 520px);
  height: 320px;
  background: rgba(2, 132, 199, 0.055);
  border-radius: 42% 58% 56% 44% / 52% 38% 62% 48%;
  transform: rotate(-7deg);
  pointer-events: none;
}

.published-lp .plan-card {
  overflow: hidden;
  box-shadow: 0 26px 74px rgba(15, 39, 71, 0.065);
}

.published-lp .plan-card::before {
  content: "";
  position: absolute;
  right: -44px;
  top: -46px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.06);
  pointer-events: none;
}

.published-lp .plan-card.featured {
  overflow: visible;
  transform: translateY(-12px);
  box-shadow:
    0 0 0 1px rgba(2, 132, 199, 0.18),
    0 34px 90px rgba(15, 39, 71, 0.12);
}

.published-lp .plan-card.featured::before {
  right: 16px;
  top: 16px;
  background: rgba(249, 115, 22, 0.08);
}

.published-lp .plan-card.featured .plan-popular {
  z-index: 2;
}

.published-faq-section::before {
  content: "";
  position: absolute;
  left: -9%;
  top: 86px;
  width: min(40vw, 460px);
  height: 290px;
  background: rgba(249, 115, 22, 0.05);
  border-radius: 52% 48% 42% 58% / 46% 54% 46% 54%;
  transform: rotate(9deg);
  pointer-events: none;
}

.published-lp .faq-item {
  box-shadow: 0 22px 62px rgba(15, 39, 71, 0.055);
}

.published-form-placeholder.contact-form-card {
  box-shadow: 0 34px 90px rgba(15, 39, 71, 0.12);
}

.publish-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

.publish-stats-panel {
  display: none;
}

@media (max-width: 1024px) {
  .published-page-nav {
    display: none;
  }

  .published-page-nav-mobile .published-page-nav-link::after {
    display: none;
  }

  .published-lp > .published-page-nav-mobile-wrap {
    position: relative;
    top: auto;
    z-index: 2;
    display: block;
    margin-top: 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(186, 230, 253, 0.72);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    overflow: hidden;
  }

  .published-page-nav-mobile-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 34px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92));
    pointer-events: none;
  }

  .published-page-nav-mobile {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .published-page-nav-mobile::-webkit-scrollbar {
    display: none;
  }

  .published-page-nav-mobile .published-page-nav-link {
    flex: 0 0 auto;
    min-width: max-content;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 39, 71, 0.08);
    font-size: 12px;
    white-space: nowrap;
  }

  .published-page-nav-mobile .btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 999px;
  }

  .published-lp .publish-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .published-problem-grid,
  .published-merit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .published-solution-band {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .published-lp .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 767px) {
  .published-anchor-target {
    scroll-margin-top: 168px;
  }

  .published-lp .section {
    padding: 72px 0;
  }

  .published-lp .section-header {
    margin-bottom: 36px;
  }

  .published-lp .section-desc {
    font-size: 15px;
    line-height: 1.9;
  }

  .published-page-nav-mobile-wrap {
    top: auto;
    margin-top: 0;
    padding: 6px 0;
  }

  .published-hero {
    padding: 76px 0 64px;
  }

  .published-hero::after {
    right: -28px;
    bottom: 18px;
    font-size: 52px;
    opacity: 0.55;
  }

  .published-hero-copy .page-hero-title-wide {
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.4;
  }

  .published-hero-copy .page-hero-desc {
    font-size: 15px;
    line-height: 1.9;
  }

  .published-problem-grid,
  .published-merit-grid {
    grid-template-columns: 1fr;
  }

  .published-problems-section::before,
  .published-merits-section::after,
  .published-plans-wrap::before {
    display: none;
  }

  .published-problems-section::after,
  .published-merits-section::before,
  .published-flow-section::before,
  .published-plans-wrap::after,
  .published-faq-section::before {
    opacity: 0.6;
  }

  .published-merits-section {
    padding-top: 88px;
  }

  .published-problem-card,
  .published-solution-band {
    border-radius: 16px;
  }

  .published-solution-band {
    transform: none;
  }

  .published-solution-band h3 {
    font-size: 24px;
  }

  .published-solution-band p {
    font-size: 14px;
    line-height: 1.9;
  }

  .published-solution-points {
    gap: 8px;
    margin-top: 18px;
  }

  .published-solution-points span {
    font-size: 12px;
  }

  .published-solution-action {
    justify-items: stretch;
  }

  .published-plan-download {
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
    text-align: center;
  }

  .published-inline-actions,
  .published-hero-actions,
  .published-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .published-cta-actions {
    margin-bottom: 44px;
  }

  .published-inline-actions .btn,
  .published-hero-actions .btn,
  .published-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .published-lp .publish-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .published-lp .howto-flow {
    gap: 28px;
  }

  .published-lp .faq-q {
    padding: 22px 20px;
  }

  .published-lp .faq-q-text {
    font-size: 16px;
  }

  .published-lp .faq-a {
    padding: 0 20px 22px;
    font-size: 15px;
    line-height: 1.9;
  }

  .published-form-placeholder {
    margin-top: 0;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .published-form-placeholder h3 {
    font-size: 21px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .published-anchor-target {
    scroll-margin-top: 214px;
  }

  body.admin-bar .published-page-nav-mobile-wrap {
    top: auto;
  }
}

@media (max-width: 420px) {
  .published-page-nav-mobile {
    gap: 7px;
  }

  .published-page-nav-mobile .published-page-nav-link {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 11.5px;
  }
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr);
}

.contact-form-card {
  max-width: 880px;
  margin: 0 auto;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.checkbox-item input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--navy-light);
}

@media (max-width: 767px) {
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

.contact-form-card {
  max-width: 1020px;
}

.checkbox-group-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .checkbox-group-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .contact-form-card {
    max-width: 100%;
  }

  .checkbox-group-wide {
    grid-template-columns: 1fr;
  }
}

/* PHP contact template tune */
.contact-layout {
  max-width: 1020px;
  margin: 0 auto;
  padding: 60px 0 72px;
}

.contact-form-card {
  width: 100%;
  max-width: none;
  padding: 48px 56px;
}

.contact-form-card h2 {
  margin-bottom: 34px;
}

.form-row {
  gap: 24px;
}

.form-field {
  margin-bottom: 24px;
}

.checkbox-group {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 22px;
}

.checkbox-group-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkbox-item {
  align-items: center;
  min-height: 24px;
}

.checkbox-item input {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .contact-form-card {
    padding: 40px 36px;
  }

  .checkbox-group,
  .checkbox-group-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .contact-form-card {
    padding: 28px 20px;
  }

  .checkbox-group,
  .checkbox-group-wide {
    grid-template-columns: 1fr;
  }
}

.checkbox-group-area {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .checkbox-group-area {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .checkbox-group-area {
    grid-template-columns: 1fr;
  }
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
}

.form-field > label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.checkbox-item {
  font-size: 13px;
  font-weight: 400;
}

.checkbox-item {
  color: var(--text);
}

.form-field label.checkbox-item {
  color: var(--text);
  display: flex;
}

/* Free consultation page visual tune */
.free-consultation-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
}

.free-consultation-page .contact-hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #0369a1 0%, #075985 58%, #0f4d72 100%);
  background-size: 64px 64px, 64px 64px, auto;
  isolation: isolate;
}

.free-consultation-page .contact-hero::before {
  background: none;
}

.free-consultation-page .contact-hero::after {
  content: "CONTACT";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: -30px;
  z-index: -1;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(72px, 12vw, 168px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.free-consultation-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 34px;
  max-width: 1180px;
  padding: 56px 0 82px;
}

.free-consultation-page .contact-form-card {
  position: relative;
  overflow: hidden;
  padding: 46px 52px;
  border: 1px solid rgba(186, 230, 253, 0.92);
  border-radius: 20px;
  box-shadow: 0 30px 92px rgba(8, 47, 73, 0.1);
}

.free-consultation-page .contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--navy-light));
}

.contact-form-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 12px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 247, 237, 0.92);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.free-consultation-page .contact-form-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.free-consultation-page .contact-form-card > .submit-area {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid rgba(186, 230, 253, 0.88);
  border-radius: 14px;
  background: #f0f9ff;
}

.free-consultation-page .contact-form-card > .submit-area p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

.inquiry-routing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.inquiry-routing-item {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.inquiry-routing-item.is-current {
  border-color: rgba(249, 115, 22, 0.42);
  background: #fff7ed;
}

.inquiry-routing-item span {
  color: var(--accent);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inquiry-routing-item strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5;
}

.inquiry-routing-item p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

a.inquiry-routing-item {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a.inquiry-routing-item:hover,
a.inquiry-routing-item:focus-visible {
  border-color: rgba(2, 132, 199, 0.32);
  box-shadow: 0 18px 42px rgba(15, 39, 71, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.free-consultation-page .form-field input,
.free-consultation-page .form-field select,
.free-consultation-page .form-field textarea {
  min-height: 48px;
  border-color: rgba(148, 163, 184, 0.38);
  border-radius: 10px;
  background: #fbfdff;
  font-size: 14px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.free-consultation-page .form-field textarea {
  min-height: 150px;
}

.free-consultation-page .form-field input:focus,
.free-consultation-page .form-field select:focus,
.free-consultation-page .form-field textarea:focus {
  background: white;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.13);
}

.free-consultation-page .contact-page-sidebar {
  position: sticky;
  top: 104px;
}

.contact-sidebar-card {
  border-color: rgba(186, 230, 253, 0.9);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(8, 47, 73, 0.07);
}

.contact-sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom-color: rgba(186, 230, 253, 0.85);
}

.contact-sidebar-card h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-flow-list {
  display: grid;
  gap: 16px;
  list-style: none;
}

.contact-flow-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
}

.contact-flow-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(255, 247, 237, 0.95);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.contact-flow-list h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.5;
}

.contact-flow-list p {
  margin: 0;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.7;
}

.contact-support-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.contact-support-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}

.contact-support-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

@media (max-width: 1024px) {
  .free-consultation-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .free-consultation-page .contact-page-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .free-consultation-page .contact-layout {
    padding: 36px 0 56px;
  }

  .free-consultation-page .contact-form-card {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .free-consultation-page .contact-form-card h2 {
    font-size: 24px;
  }

  .inquiry-routing {
    grid-template-columns: 1fr;
  }

  .free-consultation-page .contact-page-sidebar {
    grid-template-columns: 1fr;
  }
}

.privacy-policy-hero {
  padding: 70px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-policy-hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.privacy-policy-hero .page-hero-desc {
  margin-right: auto;
  margin-left: auto;
}

.terms-page .page-hero-title {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.45;
}

.privacy-policy-section {
  padding-top: 56px;
}

.privacy-policy-shell {
  display: grid;
  gap: 28px;
}

.privacy-policy-intro,
.privacy-content {
  background: #ffffff;
  border: 1px solid #d6e0ea;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(15, 39, 71, 0.08);
}

.privacy-policy-intro {
  padding: 28px 32px;
}

.privacy-policy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #0f5b78;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-content {
  padding: 40px 44px 48px;
  color: #213547;
  line-height: 1.95;
  font-size: 15px;
}

.privacy-content > *:first-child {
  margin-top: 0;
}

.privacy-content > *:last-child {
  margin-bottom: 0;
}

.privacy-content h2 {
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d6e0ea;
  color: #0f2747;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.45;
}

.privacy-content h3 {
  margin: 28px 0 10px;
  color: #0f5b78;
  font-size: 18px;
  line-height: 1.65;
}

.privacy-content p,
.privacy-content ul,
.privacy-content ol,
.privacy-content dl,
.privacy-content address {
  margin: 0 0 18px;
}

.privacy-content ul,
.privacy-content ol {
  padding-left: 1.4em;
}

.privacy-content li + li {
  margin-top: 8px;
}

.privacy-content dl {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 12px 20px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #f5f9fc;
  border: 1px solid #dbe7f0;
}

.privacy-content dt {
  font-weight: 700;
  color: #0f2747;
}

.privacy-content dd {
  margin: 0;
}

.privacy-content a {
  color: #0f5b78;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  word-break: break-word;
}

.privacy-content address {
  padding: 20px 24px;
  border-left: 4px solid #c2a15a;
  border-radius: 0 18px 18px 0;
  background: #fbf8ef;
  font-style: normal;
}

.privacy-content .policy-date {
  margin-top: 36px;
  margin-bottom: 12px;
  color: #5b6b7b;
  font-weight: 700;
}

.privacy-content .policy-company {
  margin-bottom: 0;
  color: #0f2747;
  font-weight: 700;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .privacy-policy-hero {
    padding: 64px 0;
  }

  .terms-page .page-hero-title {
    font-size: 25px;
  }

  .privacy-policy-intro {
    padding: 22px 20px;
  }

  .privacy-content {
    padding: 28px 20px 34px;
    font-size: 14px;
    line-height: 1.85;
  }

  .privacy-content h2 {
    margin-top: 32px;
    font-size: 21px;
  }

  .privacy-content h3 {
    font-size: 17px;
  }

  .privacy-content dl {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }

  .privacy-content address {
    padding: 18px 16px;
  }
}

.terms-section {
  padding-top: 56px;
}

.terms-page .privacy-content {
  max-width: 920px;
  margin: 0 auto;
}

.terms-page .privacy-content h2 {
  margin-top: 44px;
}

.terms-page .privacy-content ul ul,
.terms-page .privacy-content ol ul,
.terms-page .privacy-content ol ol,
.terms-page .privacy-content ul ol {
  margin-top: 12px;
}

@media (max-width: 767px) {
  .terms-section {
    padding-top: 36px;
  }
}

.plan-price {
  line-height: 1.05;
}

.plan-price-note {
  display: block;
  margin-top: 12px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-light);
}

/* Company page */
.company-page {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
}

.company-hero .page-hero-title {
  margin-right: auto;
  margin-left: auto;
}

.company-section {
  padding-top: 64px;
}

.company-shell {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 86px rgba(8, 47, 73, 0.09);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(186, 230, 253, 0.76);
  color: #1f3347;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  vertical-align: top;
}

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

.company-table th {
  width: 220px;
  color: var(--navy);
  background: #f0f9ff;
  font-weight: 700;
}

@media (max-width: 767px) {
  .company-section {
    padding-top: 40px;
  }

  .company-shell {
    border-radius: 16px;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding: 16px 18px 8px;
    border-bottom: 0;
  }

  .company-table td {
    padding: 0 18px 18px;
  }

.company-table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(186, 230, 253, 0.76);
  }
}

/* FV image backgrounds. Remove this block to restore gradient-only heroes. */
.front-page-main .hero-bg {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.42) 60%, rgba(255, 255, 255, 0.08) 100%),
    url("../images/home-fv.png") center right / cover no-repeat;
}

.front-page-main .hero-grid {
  opacity: 0.82;
}

.published-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(7, 89, 133, 0) 42%, rgba(7, 89, 133, 0.28) 70%, rgba(7, 89, 133, 0.34) 100%),
    linear-gradient(90deg, rgba(7, 89, 133, 0.9) 0%, rgba(7, 89, 133, 0.74) 38%, rgba(7, 89, 133, 0.36) 62%, rgba(7, 89, 133, 0.04) 100%),
    linear-gradient(180deg, rgba(15, 39, 71, 0.28), rgba(15, 39, 71, 0.18)),
    url("../images/for-publishers-fv.png") center right / cover no-repeat;
}

.published-lp .published-hero {
  margin-top: 0;
}

.published-hero-panel {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(186, 230, 253, 0.92);
  box-shadow: 0 30px 90px rgba(15, 39, 71, 0.28);
}

.published-hero-panel .publish-stats-label {
  color: var(--blue);
  text-shadow: none;
}

.published-hero-panel .publish-stat-value {
  color: var(--navy);
  text-shadow: none;
}

.published-hero-panel .publish-stat-caption,
.published-hero-panel .published-panel-note {
  color: #475569;
  text-shadow: none;
}

.published-hero-panel .publish-stat-card {
  background: rgba(240, 249, 255, 0.86);
  border: 1px solid rgba(186, 230, 253, 0.88);
  box-shadow: 0 14px 30px rgba(15, 39, 71, 0.08);
}

.published-hero-panel .published-panel-note {
  border-top-color: rgba(14, 165, 233, 0.18);
}

@media (min-width: 1025px) {
  .published-lp.pt-header {
    padding-top: 0;
  }

  .published-lp .published-hero {
    padding-top: 164px;
  }
}

.published-hero .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .front-page-main .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.78) 100%),
      url("../images/home-fv.png") 64% top / cover no-repeat;
  }

  .published-hero {
    background:
      linear-gradient(180deg, rgba(7, 89, 133, 0.16) 0%, rgba(7, 89, 133, 0.06) 48%, rgba(7, 89, 133, 0.16) 100%),
      linear-gradient(180deg, rgba(7, 89, 133, 0.88) 0%, rgba(7, 89, 133, 0.72) 54%, rgba(7, 89, 133, 0.58) 100%),
      url("../images/for-publishers-fv.png") 34% center / cover no-repeat;
  }
}

/* Download page */
.download-page {
  background:
    linear-gradient(180deg, #f4fbff 0%, #ffffff 44%),
    radial-gradient(circle at 12% 22%, rgba(14, 165, 233, 0.08), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 122, 24, 0.08), transparent 28%);
}

.download-page .section-label {
  border-color: rgba(255, 122, 24, 0.26);
  background: rgba(255, 247, 237, 0.82);
  color: var(--accent);
}

.download-page .page-hero-title {
  color: var(--navy);
}

.download-page .page-hero-desc {
  color: #475569;
}

.download-hero {
  padding: 34px 0 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(14, 165, 233, 0.16), transparent 34%),
    linear-gradient(135deg, var(--navy) 0%, #0b3f73 100%);
  text-align: center;
}

.download-hero .section-label {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.download-hero .page-hero-title {
  margin-top: 14px;
  color: #ffffff;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.45;
}

.download-hero-title {
  display: grid;
  gap: 4px;
  justify-items: center;
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.download-hero-title span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62em;
  font-weight: 700;
  line-height: 1.5;
}

.download-hero .page-hero-desc {
  max-width: 760px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.9;
}

.download-section {
  padding: 26px 0 96px;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.download-copy {
  padding: clamp(28px, 4vw, 48px) 0;
}

.download-kicker,
.download-form-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 122, 24, 0.26);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.82);
  color: var(--accent);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.download-copy h2 {
  max-width: 680px;
  margin: 14px 0 16px;
  color: var(--navy);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.45;
}

.download-copy > p {
  max-width: 680px;
  color: #475569;
  font-size: 16px;
  line-height: 2;
}

.download-audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.download-audience > div {
  padding: 22px;
  border: 1px solid rgba(186, 230, 253, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(15, 39, 71, 0.06);
}

.download-audience span {
  color: var(--accent);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-audience h2 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.5;
}

.download-audience p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
}

.download-points {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.download-point {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(186, 230, 253, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(15, 39, 71, 0.06);
}

.download-point > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
  color: var(--blue);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.download-point h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 17px;
}

.download-point p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
}

.download-form-card {
  position: sticky;
  top: 104px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(186, 230, 253, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(15, 39, 71, 0.12);
}

.download-form-card h2 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.45;
}

.download-form-card > p {
  margin: 0 0 24px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
}

.download-form-topics {
  display: grid;
  gap: 8px;
  margin: -8px 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(186, 230, 253, 0.86);
  border-radius: 8px;
  background: #f8fcff;
  list-style: none;
}

.download-form-topics li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}

.download-form-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hubspot-form-placeholder {
  min-height: 360px;
  padding: 18px;
  border: 1px dashed rgba(14, 165, 233, 0.38);
  border-radius: 8px;
  background: #f8fcff;
}

.hubspot-form-placeholder-inner {
  display: grid;
  place-items: center;
  min-height: 322px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(255, 122, 24, 0.06)),
    #ffffff;
  color: #64748b;
  text-align: center;
}

.hubspot-form-placeholder-inner span {
  color: var(--blue);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hubspot-form-placeholder-inner p {
  margin: 8px 0 0;
  font-size: 14px;
}

.hubspot-form-embed {
  min-height: 260px;
}

.contact-form-card .hubspot-form-embed,
.download-form-card .hubspot-form-embed,
.published-form-placeholder .hubspot-form-embed {
  margin-top: 18px;
}

.download-form-card .hubspot-form-embed {
  padding: 18px;
  border: 1px solid rgba(186, 230, 253, 0.86);
  border-radius: 8px;
  background: #f8fcff;
}

@media (max-width: 900px) {
  .download-layout {
    grid-template-columns: 1fr;
  }

  .download-copy {
    padding-bottom: 0;
  }

  .download-form-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .download-hero {
    padding: 26px 0 16px;
  }

  .download-hero .page-hero-title {
    font-size: clamp(25px, 7vw, 32px);
  }

  .download-hero .page-hero-desc {
    font-size: 14px;
  }

  .download-copy h2 {
    font-size: 24px;
  }

  .download-section {
    padding: 20px 0 72px;
  }

  .download-point {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .download-audience {
    grid-template-columns: 1fr;
  }

  .download-point > span {
    width: 42px;
    height: 42px;
  }

  .download-form-card {
    padding: 22px;
  }
}

/* Thanks pages */
.thanks-page {
  min-height: calc(100vh - 1px);
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.08), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(255, 122, 24, 0.08), transparent 28%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 62%);
}

.thanks-section {
  padding: 96px 0;
}

.thanks-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(186, 230, 253, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(15, 39, 71, 0.1);
  text-align: center;
}

.thanks-card .section-label {
  border-color: rgba(255, 122, 24, 0.26);
  background: rgba(255, 247, 237, 0.82);
  color: var(--accent);
}

.thanks-card h1 {
  margin: 22px 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.45;
}

.thanks-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 2;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.thanks-actions .btn {
  justify-content: center;
  min-width: 180px;
  text-align: center;
}

@media (max-width: 640px) {
  .thanks-section {
    padding: 64px 0;
  }

  .thanks-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thanks-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   掲載企業機能（institution auth / dashboard / edit）
   pages.css の末尾に追記してください
   ============================================================ */

/* --- 共通認証ページ --- */
.institution-auth-page { background: #f5f7fa; min-height: calc(100vh - 80px); }
.institution-auth-wrap { display: flex; justify-content: center; align-items: flex-start; padding: 60px 0 80px; }
.institution-auth-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 20px rgba(0,0,0,.08); padding: 48px 40px; width: 100%; max-width: 480px; }
.institution-auth-logo a { font-size: 13px; color: #666; text-decoration: none; }
.institution-auth-title { font-size: 22px; font-weight: 700; margin: 16px 0 6px; }
.institution-auth-desc { font-size: 14px; color: #666; margin-bottom: 28px; }
.institution-auth-form .form-group { margin-bottom: 20px; }
.institution-auth-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.institution-auth-form input[type="text"],
.institution-auth-form input[type="email"],
.institution-auth-form input[type="password"],
.institution-auth-form input[type="tel"],
.institution-auth-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; transition: border-color .2s; box-sizing: border-box; }
.institution-auth-form input:focus,
.institution-auth-form textarea:focus { border-color: #2563eb; outline: none; }
.institution-auth-form .form-agree { font-size: 13px; }
.institution-auth-footer { margin-top: 24px; text-align: center; font-size: 13px; color: #666; }
.institution-auth-footer a { color: #2563eb; }
.required { color: #ef4444; }
.form-desc { font-size: 12px; color: #888; margin-top: 4px; }
.btn-full { width: 100%; }

.institution-auth-message { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.institution-auth-message.is-success { background: #dcfce7; color: #166534; }
.institution-auth-message.is-error { background: #fee2e2; color: #991b1b; }

/* --- ダッシュボード --- */
.institution-dashboard-page { padding-bottom: 80px; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 32px 0 24px; border-bottom: 1px solid #eee; margin-bottom: 32px; }
.dashboard-header-right { display: flex; gap: 10px; flex-wrap: wrap; }
.dashboard-title { font-size: 24px; font-weight: 700; margin: 0 12px 0 0; }
.dashboard-plan-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.dashboard-plan-badge.plan-free { background: #f3f4f6; color: #374151; }
.dashboard-plan-badge.plan-standard { background: #dbeafe; color: #1e40af; }
.dashboard-plan-badge.plan-premium { background: #fef3c7; color: #92400e; }

.dashboard-section { margin-bottom: 48px; }
.dashboard-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.dashboard-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.lead-count-badge { background: #2563eb; color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 12px; }

.leads-table-wrap { overflow-x: auto; }
.leads-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.leads-table th { background: #f9fafb; padding: 10px 14px; text-align: left; font-weight: 600; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.leads-table td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.lead-date { color: #666; font-size: 13px; white-space: nowrap; }
.lead-fee { font-weight: 600; color: #ef4444; }
.lead-fee-free { color: #10b981; font-weight: 600; }
.lead-message-preview { color: #555; }

.lead-status { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.lead-status-new { background: #dbeafe; color: #1e40af; }
.lead-status-charged { background: #dcfce7; color: #166534; }
.lead-status-failed { background: #fee2e2; color: #991b1b; }

.lead-upgrade-notice { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px 20px; margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lead-upgrade-notice p { margin: 0; font-size: 14px; color: #1e40af; }
.dashboard-empty { text-align: center; padding: 48px; color: #888; }

/* ダッシュボード内プランカード */
.dashboard-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .dashboard-plan-grid { grid-template-columns: 1fr; } }
.plan-current-badge { display: inline-block; background: #2563eb; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
.plan-card.is-current { border: 2px solid #2563eb; }

/* カード情報 */
.card-current { display: flex; align-items: center; gap: 12px; padding: 16px; background: #f9fafb; border-radius: 8px; flex-wrap: wrap; }
.card-brand { font-weight: 700; color: #374151; }
.card-number, .card-exp { font-size: 14px; color: #555; }
.card-none-notice { color: #888; font-size: 14px; margin-bottom: 16px; }
.payjp-card-element { border: 1px solid #ddd; border-radius: 8px; padding: 14px; margin-bottom: 16px; min-height: 44px; background: #fff; }
#techro-card-form-wrap { margin-top: 16px; }

/* 課金履歴 */
.billing-status { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.billing-status-succeeded { background: #dcfce7; color: #166534; }
.billing-status-failed { background: #fee2e2; color: #991b1b; }

/* --- 編集ページ --- */
.institution-edit-page { padding-bottom: 80px; }
.institution-edit-form { max-width: 720px; }
.edit-section { background: #fff; border-radius: 12px; padding: 32px; margin-bottom: 24px; border: 1px solid #e5e7eb; }
.edit-section-title { font-size: 16px; font-weight: 700; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; gap: 10px; }
.edit-section-locked { opacity: 0.6; }
.locked-notice { background: #f9fafb; border-radius: 8px; padding: 20px; text-align: center; }
.locked-notice p { margin-bottom: 12px; font-size: 14px; color: #555; }
.institution-edit-form .form-group { margin-bottom: 20px; }
.institution-edit-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.institution-edit-form input[type="text"],
.institution-edit-form input[type="email"],
.institution-edit-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.institution-edit-form input:focus,
.institution-edit-form textarea:focus { border-color: #2563eb; outline: none; }
.edit-form-actions { display: flex; gap: 16px; align-items: center; margin-top: 8px; }
.plan-badge { display: inline-block; background: #dbeafe; color: #1e40af; font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* --- 直接問い合わせフォーム --- */
.direct-consultation-form .form-group { margin-bottom: 18px; }
.direct-consultation-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.direct-consultation-form input,
.direct-consultation-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.consultation-target-notice { background: #eff6ff; border-left: 3px solid #2563eb; padding: 10px 14px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }

/* ユーティリティ */
.btn-ghost { background: transparent; color: #666; border: none; cursor: pointer; font-size: 14px; }

/* アイキャッチ画像アップロード */
.thumbnail-upload-wrap { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.thumbnail-preview { position: relative; width: 240px; flex-shrink: 0; border: 2px dashed #ddd; border-radius: 8px; overflow: hidden; background: #f9fafb; min-height: 140px; display: flex; align-items: center; justify-content: center; }
.thumbnail-preview:not(.thumbnail-preview-empty) { border-style: solid; border-color: #e5e7eb; }
.thumbnail-current-img { width: 100%; height: auto; display: block; }
picture.thumbnail-current-img img { width: 100%; height: auto; display: block; }
.thumbnail-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 140px; color: #aaa; font-size: 13px; }
.thumbnail-remove-btn { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.55); color: #fff; border: none; border-radius: 4px; padding: 4px 8px; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; }
.thumbnail-remove-btn:hover { background: rgba(220,38,38,.8); }
.thumbnail-actions { flex: 1; min-width: 200px; }
.thumbnail-upload-label { display: inline-block; cursor: pointer; }
@media (max-width: 640px) { .thumbnail-upload-wrap { flex-direction: column; } .thumbnail-preview { width: 100%; } }

/* 掲載申請フォーム（拡張版） */
.institution-register-wrap { align-items: flex-start; padding: 40px 0 80px; }
.institution-register-card { max-width: 720px; }
.institution-register-form .form-group { margin-bottom: 20px; }
.institution-register-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.institution-register-form input[type="text"],
.institution-register-form input[type="email"],
.institution-register-form input[type="password"],
.institution-register-form select,
.institution-register-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; transition: border-color .2s; box-sizing: border-box; }
.institution-register-form input:focus,
.institution-register-form select:focus,
.institution-register-form textarea:focus { border-color: #2563eb; outline: none; }
.institution-register-form .form-desc { font-size: 12px; color: #888; margin-top: 4px; }
.institution-register-form .form-agree { font-size: 13px; }
.register-section { border: 1px solid #e5e7eb; border-radius: 10px; padding: 28px 28px 8px; margin-bottom: 24px; }
.register-section-title { font-size: 16px; font-weight: 700; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.register-step { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #2563eb; color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.register-agree-section { border: none; padding: 0; margin-bottom: 0; }
.checkbox-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.checkbox-group-narrow { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 400; cursor: pointer; padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 6px; transition: background .15s; }
.checkbox-label:hover { background: #f0f4ff; border-color: #93c5fd; }
.checkbox-label input[type="checkbox"] { width: auto; accent-color: #2563eb; }
.register-section-paid { border-color: #f97316; }
.register-section-paid .register-step { background: #f97316; }
.register-step-badge { font-size: 11px; font-weight: 600; color: #f97316; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 4px; padding: 2px 8px; }
.register-step-badge-optional { color: #6b7280; background: #f9fafb; border-color: #e5e7eb; }
.register-section-desc { font-size: 13px; color: #888; margin: -12px 0 20px; }
.checkbox-group-region { margin-bottom: 16px; }
.checkbox-group-region-name { font-size: 12px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
@media (max-width: 640px) {
  .institution-register-card { padding: 28px 20px; }
  .register-section { padding: 20px 16px 4px; }
  .checkbox-group { grid-template-columns: repeat(2, 1fr); }
}
.btn-ghost:hover { color: #333; }

/* ---- 複数選択フィルター（アコーディオン） ---- */
.institution-filter-form .filter-accordion { display: flex; flex-direction: column; gap: 0; border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.08); }
.filter-panel { border-bottom: 1px solid rgba(255,255,255,0.15); }
.filter-panel:last-of-type { border-bottom: none; }
.filter-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer; list-style: none; user-select: none; color: white; font-size: 14px; font-weight: 600; gap: 8px; }
.filter-panel-header::-webkit-details-marker { display: none; }
.filter-panel-header::after { content: '▾'; font-size: 12px; margin-left: auto; opacity: .7; transition: transform .2s; }
details[open] .filter-panel-header::after { transform: rotate(180deg); }
.filter-panel-label { flex: 1; }
.filter-panel-count { font-size: 11px; font-weight: 700; background: #f97316; color: #fff; border-radius: 100px; padding: 2px 8px; white-space: nowrap; }
.filter-panel-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; padding: 10px 16px 14px; background: rgba(255,255,255,0.05); }
.filter-panel-body--radio { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
.filter-checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.9); cursor: pointer; padding: 5px 8px; border-radius: 6px; transition: background .15s; }
.filter-checkbox-label:hover { background: rgba(255,255,255,0.12); }
.filter-checkbox-label input[type="checkbox"],
.filter-checkbox-label input[type="radio"] { width: 15px; height: 15px; accent-color: #f97316; flex-shrink: 0; cursor: pointer; }
.filter-checkbox-count { margin-left: auto; font-size: 11px; color: rgba(255,255,255,0.5); }
.filter-chip--removable { text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.filter-chip--removable:hover { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.filter-chip--removable span[aria-hidden] { color: currentColor; font-size: 14px; font-weight: 800; line-height: 1; margin-left: 4px; }
@media (max-width: 640px) {
  .filter-panel-body { grid-template-columns: repeat(2, 1fr); }
}

/* ---- セレクト風の複数選択ドロップダウン ---- */
.multi-select-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.institution-filter-form .multi-select-grid {
  z-index: 10;
}

.quick-multi-select-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-multi-select-grid {
  display: grid;
  gap: 12px;
}

.multi-select-dropdown {
  position: relative;
  min-width: 0;
}

.multi-select-dropdown[open] {
  z-index: 100;
}

.multi-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 0 42px 0 16px;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  position: relative;
}

.multi-select-trigger::-webkit-details-marker {
  display: none;
}

.multi-select-trigger::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: .72;
  transition: transform .2s ease;
}

.multi-select-dropdown[open] .multi-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.multi-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 100;
  display: grid;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(15, 39, 71, .18);
}

.multi-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  transition: background .15s ease, color .15s ease;
}

.multi-select-option input {
  width: 15px;
  height: 15px;
  accent-color: #f97316;
  flex: 0 0 auto;
}

.multi-select-option span:first-of-type {
  min-width: 0;
  overflow-wrap: anywhere;
}

.multi-select-count {
  margin-left: auto;
  font-size: 11px;
  opacity: .65;
}

.multi-select-dropdown--light .multi-select-trigger {
  border: 1px solid #bae6fd;
  background: #fff;
  color: var(--navy);
}

.multi-select-dropdown--light.has-selection .multi-select-trigger {
  border-color: #38bdf8;
  background: #f0f9ff;
}

.multi-select-dropdown--light .multi-select-menu {
  border: 1px solid #bae6fd;
  background: #fff;
}

.multi-select-dropdown--light .multi-select-option {
  color: var(--navy-mid, #334155);
}

.multi-select-dropdown--light .multi-select-option:hover,
.multi-select-dropdown--light .multi-select-option.is-checked {
  background: #e0f2fe;
}

.multi-select-dropdown--dark .multi-select-trigger {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  color: #fff;
}

.multi-select-dropdown--dark.has-selection .multi-select-trigger {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.18);
}

.multi-select-dropdown--dark .multi-select-menu {
  border: 1px solid rgba(15,39,71,.12);
  background: #fff;
}

.multi-select-dropdown--dark .multi-select-option {
  color: var(--navy);
}

.multi-select-dropdown--dark .multi-select-option:hover,
.multi-select-dropdown--dark .multi-select-option.is-checked {
  background: #eff6ff;
}

@media (max-width: 900px) {
  .multi-select-grid,
  .multi-select-grid--archive,
  .quick-multi-select-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .multi-select-grid,
  .multi-select-grid--archive,
  .quick-multi-select-grid {
    grid-template-columns: 1fr;
  }

  .multi-select-menu {
    position: static;
    margin-top: 8px;
    max-height: 240px;
  }
}

/* ---- ヒーローフォーム：ライト版フィルターアコーディオン ---- */
.filter-accordion--light { background: transparent; border: 1px solid #bae6fd; border-radius: 10px; overflow: hidden; }
.filter-accordion--light .filter-panel { border-bottom: 1px solid #bae6fd; }
.filter-accordion--light .filter-panel:last-of-type { border-bottom: none; }
.filter-accordion--light .filter-panel-header { color: var(--navy); background: transparent; padding: 10px 14px; font-size: 13px; }
.filter-accordion--light .filter-panel-header::after { color: var(--navy); }
.filter-accordion--light .filter-panel-body { background: #f8fbff; padding: 8px 14px 12px; }
.filter-accordion--light .filter-checkbox-label { color: var(--navy-mid, #334155); font-size: 13px; }
.filter-accordion--light .filter-checkbox-label:hover { background: #e0f2fe; }
.filter-accordion--light .filter-checkbox-count { color: #94a3b8; }

/* ---- カテゴリから探す：チェックボックス pill ---- */
.search-item--check { cursor: pointer; user-select: none; position: relative; }
.search-item--check input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.search-item--check.is-checked { background: #ffffff; border-color: #ffffff; color: var(--navy); font-weight: 700; box-shadow: 0 4px 12px rgba(15,39,71,0.18); }
.quick-search-submit { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.quick-search-hint { font-size: 13px; color: rgba(255,255,255,0.7); }
@media (max-width: 640px) {
  .quick-search-submit { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* プラン変更確認モーダル */
.plan-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 39, 71, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.plan-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(15, 39, 71, 0.2);
}

.plan-modal-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.plan-modal-desc {
  font-size: 14px;
  color: #374151;
  margin: 0 0 20px;
}

.plan-modal-notice {
  background: #fef9ec;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.7;
}

.plan-modal-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.plan-modal-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 24px;
  line-height: 1.5;
}

.plan-modal-agree-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.plan-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .plan-modal { padding: 24px 20px; }
  .plan-modal-actions { flex-direction: column-reverse; }
  .plan-modal-actions .btn { width: 100%; text-align: center; }
}
