/* ====================================================================================================
   0. 基本設定・リセット
   ==================================================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0284c7;
  background-color: #e0f2fe;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background-color: #0369a1;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: #0f172a;
  border: 2px solid #cbd5e1;
}

.btn-outline:hover {
  border-color: #0284c7;
  color: #0284c7;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* ====================================================================================================
   1. ヘッダー
   ==================================================================================================== */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.header-sub {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.header-main {
  font-size: 1.25rem;
  color: #0f172a;
  line-height: 1.2;
}

.header-main strong {
  color: #0284c7;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-tel {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.tel-label {
  font-size: 0.6875rem;
  color: #64748b;
}

.tel-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
}

.header-btn {
  background-color: #0284c7;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
}

.header-btn:hover {
  background-color: #0369a1;
}

/* ====================================================================================================
   2. ヒーロー
   ==================================================================================================== */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  padding: 60px 0 70px;
  border-bottom: 1px solid #e2e8f0;
}

.hero-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.375rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero-title span {
  color: #0284c7;
  border-bottom: 4px solid #bae6fd;
}

.hero-domain-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border: 2px solid #0284c7;
  padding: 20px 20px;
  border-radius: 9999px;
  margin: 30px 0 45px 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.12);
}

.domain-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: #e11d48;
}

.domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
}

.domain-tag {
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.domain-url {
  font-size: 1.125rem;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: 0.04em;
  text-decoration: underline;
}

.hero-lead {
  font-size: 1.0625rem;
  color: #475569;
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 840px;
  margin: 0 auto 16px;
}

.metric-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.metric-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  color: #0284c7;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-num small {
  font-size: 1rem;
  font-weight: 700;
}

.metric-text {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 600;
}

.metric-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ====================================================================================================
   3. 事務所の識別・誤認防止ガイド
   ==================================================================================================== */
.identification {
  padding: 80px 0;
  background-color: #ffffff;
}

.id-table-box {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  margin-bottom: 32px;
}

.id-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.id-table th, .id-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9375rem;
  vertical-align: middle;
}

.id-table thead th {
  background-color: #f8fafc;
  font-weight: 800;
  color: #0f172a;
}

.id-table thead th.highlight-col {
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 1rem;
}

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

.item-title {
  font-weight: 700;
  color: #334155;
  width: 22%;
  background-color: #fbfcfe;
}

.highlight-col {
  background-color: #f0f9ff;
  color: #0f172a;
  width: 44%;
}

.highlight-col strong {
  color: #0369a1;
}

.id-callout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 24px;
}

.callout-icon {
  flex-shrink: 0;
}

.callout-text h4 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 6px;
}

.callout-text p {
  font-size: 0.9375rem;
  color: #78350f;
  line-height: 1.6;
}

/* ====================================================================================================
   4. 当事務所の3大専門領域
   ==================================================================================================== */
.services {
  padding: 80px 0;
  background-color: #f8fafc;
}

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

.service-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.highlight-card {
  border: 2px solid #0284c7;
  position: relative;
}

.service-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.service-icon img {
  border-radius: 8px;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: cover;
}

.service-no {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.service-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}

.service-lead {
  font-size: 0.9375rem;
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-points {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.service-points li {
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.service-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0284c7;
  font-weight: 800;
}

/* ====================================================================================================
   5. 代表プロフィールと技術的バックボーン
   ==================================================================================================== */
.profile {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.profile-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}

.profile-visual {
  text-align: center;
}

.profile-photo {
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  background-color: #e2e8f0;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.profile-caption strong {
  display: block;
  font-size: 1.25rem;
  color: #0f172a;
}

.profile-caption span {
  font-size: 0.875rem;
  color: #64748b;
}

.profile-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 20px;
}

.profile-bio {
  font-size: 0.9375rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.8;
}

.profile-meta-list {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
}

.profile-meta-item {
  display: flex;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.profile-meta-item:last-child {
  margin-bottom: 0;
}

.meta-label {
  width: 120px;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}

.meta-val {
  color: #0f172a;
  font-weight: 600;
}

/* ====================================================================================================
   6. 主な実績・改善事例ハイライト
   ==================================================================================================== */
.case-study {
  padding: 80px 0;
  background-color: #f1f5f9;
}

.case-highlight-card {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 40px;
  box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.05);
}

.case-badge {
  display: inline-block;
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.case-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  background-color: #f8fafc;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.timeline-step {
  text-align: center;
  flex: 1;
}

.timeline-step.active .step-num {
  color: #e11d48;
}

.step-label {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 6px;
}

.step-status {
  font-size: 0.75rem;
  color: #475569;
}

.timeline-arrow {
  font-size: 1.5rem;
  color: #94a3b8;
  padding: 0 12px;
}

.case-body h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.case-body p {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
}

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

.voice-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
}

.voice-role {
  display: inline-block;
  font-size: 0.75rem;
  color: #0284c7;
  font-weight: 700;
  margin-bottom: 10px;
}

.voice-headline {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 10px;
}

.voice-text {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

/* ====================================================================================================
   7. 事務所概要・公式情報
   ==================================================================================================== */
.overview {
  padding: 80px 0;
  background-color: #ffffff;
}

.overview-box {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 36px;
  max-width: 860px;
  margin: 0 auto;
}

.overview-dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 16px;
  column-gap: 24px;
}

.overview-dl dt {
  font-weight: 800;
  color: #334155;
  font-size: 0.9375rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.overview-dl dd {
  color: #0f172a;
  font-size: 0.9375rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.overview-dl dd a {
  color: #0284c7;
  font-weight: 600;
}

.overview-dl dd a:hover {
  text-decoration: underline;
}

/* ====================================================================================================
   8. よくある誤認・ご相談FAQ
   ==================================================================================================== */
.faq {
  padding: 80px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

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

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
}

.faq-q {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.faq-q span {
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.8125rem;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-a {
  padding-left: 36px;
}

.faq-a p {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
}

/* ====================================================================================================
   9. 公式サイト・直通ご相談案内
   ==================================================================================================== */
.contact {
  padding: 80px 0;
  background-color: #0f172a;
  color: #ffffff;
}

.contact-box {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.contact-sub {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.contact-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.method-card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.method-label {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.method-tel {
  font-size: 2rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.method-time {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.method-status {
  font-size: 0.875rem;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.contact-security-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ====================================================================================================
   10. プライバシーポリシー
   ==================================================================================================== */
.privacy {
  padding: 40px 0;
  background-color: #0b1120;
  border-top: 1px solid #1e293b;
}

.privacy-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 10px;
}

.privacy-text {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.7;
}

/* ====================================================================================================
   11. フッター
   ==================================================================================================== */
.footer {
  background-color: #020617;
  color: #64748b;
  padding: 48px 0 24px;
}

.footer-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 32px;
  margin-bottom: 24px;
}

.footer-title {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 6px;
}

.footer-address {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.footer-group {
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-bottom {
  text-align: center;
}

.copyright {
  font-size: 0.75rem;
  color: #475569;
}

/* ====================================================================================================
   12. レスポンシブ設計（1080px以下）
   ==================================================================================================== */
@media screen and (max-width: 1080px) {
  .section-container {
    max-width: 100%;
  }

  .header-container {
    max-width: 100%;
  }

  .hero-container {
    max-width: 100%;
  }

  .profile-layout {
    grid-template-columns: 320px 1fr;
    gap: 36px;
  }
}

/* ====================================================================================================
   13. レスポンシブ設計（768px以下）
   ==================================================================================================== */
@media screen and (max-width: 768px) {
  .header-nav .header-tel {
    display: none;
  }

  .hero-title {
    font-size: 1.875rem;
  }

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

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .id-table th, .id-table td {
    padding: 12px 14px;
    font-size: 0.875rem;
  }

  .item-title {
    width: 30%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .profile-visual {
    max-width: 300px;
    margin: 0 auto;
  }

  .case-timeline {
    flex-direction: column;
    gap: 16px;
  }

  .timeline-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .voice-slider-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .overview-dl {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .overview-dl dt {
    border-bottom: none;
    padding-bottom: 0;
    color: #0284c7;
  }

  .overview-dl dd {
    padding-bottom: 12px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
}

/* ====================================================================================================
   14. レスポンシブ設計（450px以下）
   ==================================================================================================== */
@media screen and (max-width: 450px) {
  .header-container {
    padding: 10px 16px;
  }

  .logo-img {
    width: 34px;
    height: 34px;
  }

  .header-sub {
    font-size: 0.62rem;
  }

  .header-main {
    font-size: 1.0625rem;
  }

  .header-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .hero {
    padding: 40px 0 50px;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .hero-domain-check {
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 12px;
  }

  .domain-url {
    font-size: 1rem;
  }

  .hero-lead {
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .id-table-box {
    overflow-x: auto;
  }

  .id-table {
    min-width: 500px;
  }

  .case-highlight-card {
    padding: 20px 16px;
  }

  .step-num {
    font-size: 1.5rem;
  }

  .overview-box {
    padding: 20px 16px;
  }

  .method-tel {
    font-size: 1.625rem;
  }

  .btn-large {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.9375rem;
  }

  .contact-security-badge {
    border-radius: 8px;
    padding: 10px;
    text-align: left;
  }
}