/* ========================================
   Variables
======================================== */
:root {
  --color-main: #0760a7;
  --color-main-dark: #054a81;
  --color-main-soft: #2b79b9;
  --color-sub: #7f98ad;

  --color-accent: #d9eefb;
  --color-accent-soft: #f1f9fe;

  --color-bg-blue: #f7fbfe;
  --color-gray: #f7f9fb;
  --color-white: #fff;

  --color-text: #2b3138;
  --color-text-light: #6f7b86;

  --color-border: #d7e2ea;
  --color-border-strong: #bdd3e2;

  --color-tel: #2f7b63;
  --color-alert: #c94d44;

  --content-width-sm: 760px;
  --content-width-md: 1000px;
  --content-width-lg: 1200px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 10px;

  --shadow: 0 4px 12px rgba(7, 96, 167, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

/* ========================================
   Layout
======================================== */
.l-container,
.l-container--sm,
.l-container--md,
.l-container--lg {
  margin-inline: auto;
}

.l-container {
  width: min(100% - 32px, var(--content-width-lg));
}

.l-container--sm {
  width: min(100% - 32px, var(--content-width-sm));
}

.l-container--md {
  width: min(100% - 32px, var(--content-width-md));
}

.l-container--lg {
  width: min(100% - 32px, var(--content-width-lg));
}

/* ========================================
   Section
======================================== */
.c-section {
  padding: var(--space-xl) 0;
}

.c-section--white {
  background: var(--color-white);
}

.c-section--gray,
.c-section--blue {
  background: var(--color-gray);
}

.c-section__head {
  margin-bottom: 40px;
  text-align: center;
}

.c-section__head-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.c-section__title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 12px;
  font-size: clamp(1.5rem, 1.2rem + 0.55vw, 2rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #075792 0%, #0760a7 55%, #1a6fb1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.c-section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0760a7 0%, #3a89bf 100%);
  transform: translateX(-50%);
}

.c-section__lead {
  max-width: 48em;
  margin: 14px auto 0;
  color: var(--color-text-light);
  font-size: 0.97rem;
  line-height: 1.9;
  text-align: center;
}

.c-section__head--split {
  text-align: left;
}

.c-section__head--split .c-section__head-top {
  justify-content: space-between;
}

.c-section__head--split .c-section__title::after {
  left: 0;
  transform: none;
}

.c-section__head--split .c-section__lead {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

@media (max-width: 640px) {
  .c-section {
    padding: 56px 0;
  }

  .c-section__head {
    margin-bottom: 28px;
  }

  .c-section__head-top {
    flex-direction: column;
    gap: 12px;
  }

  .c-section__title {
    padding-bottom: 10px;
    font-size: 1.38rem;
  }

  .c-section__title::after {
    width: 48px;
  }

  .c-section__lead {
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.82;
  }
}

/* ========================================
   Note
======================================== */
.c-note {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f7fafc;
}

.c-note__title {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2f5;
  color: #52616f;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.c-note p {
  margin: 0;
  line-height: 1.85;
}

.c-note p + p {
  margin-top: 0.7em;
}

.c-note strong,
.c-note a {
  color: var(--color-main);
  font-weight: 700;
}

.c-note a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.c-note__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-note__list li {
  position: relative;
  padding-left: 1.15em;
  line-height: 1.85;
}

.c-note__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #52616f;
  font-weight: 700;
}

.c-note__list li + li {
  margin-top: 0.45em;
}
/* ========================================
   Table
======================================== */
.c-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.c-table {
  width: 100%;
  /*min-width: 640px;*/
  border-collapse: collapse;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  background: #fff;
}

.c-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.c-table th,
.c-table td {
  padding: 16px 18px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.8;
  vertical-align: top;
}

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

.c-table tbody th {
  width: 28%;
  background: #eef7fa;
  color: var(--color-main);
  font-weight: 700;
  text-align: left;
}

.c-table td {
  color: var(--color-text);
}

.c-table--compact th,
.c-table--compact td {
  padding: 13px 15px;
}

.c-table--center th,
.c-table--center td {
  text-align: center;
  vertical-align: middle;
}

.c-table__note {
  color: var(--color-text-light);
  font-size: 0.9em;
}

/* ========================================
   Entry table
======================================== */
.c-entry-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.c-entry-table table {
  width: 100%;
  min-width: 520px;
  margin-top: 18px;
  border-collapse: collapse;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  background: #fff;
}

.c-entry-table th,
.c-entry-table td {
  padding: 16px 18px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.8;
  text-align: center;
  vertical-align: middle;
}

.c-entry-table thead th {
  background: #f8fafb;
  color: var(--color-text);
  font-weight: 700;
}

.c-entry-table tbody th {
  background: #eef7fa;
  color: var(--color-main);
  font-weight: 700;
}

.c-entry-table td {
  color: var(--color-text);
}
/* ========================================
   Arrow link（一覧を見るなど）
======================================== */
.c-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s ease;
}

/* デフォルト（白背景系） */
.c-link--arrow {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
}

/* hover */
.c-link--arrow:hover {
  border-color: var(--color-main);
  color: var(--color-main);
  background: #f7fafc;
}

/* テキスト */
.c-link__text {
  font-size: 0.95rem;
}

/* アイコン枠 */
.c-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef2f5;
  color: var(--color-main);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* SVG */
.c-link__icon-svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* hover時アイコン */
.c-link--arrow:hover .c-link__icon {
  background: var(--color-main);
  color: #fff;
}

/* ========================================
   強調バージョン（CTAっぽくしたい時）
======================================== */
.c-link--arrow.is-primary {
  border-color: var(--color-main);
  background: var(--color-main);
  color: #fff;
}

.c-link--arrow.is-primary .c-link__icon {
  background: #fff;
  color: var(--color-main);
}

.c-link--arrow.is-primary:hover {
  background: #1f5c73;
  border-color: #1f5c73;
}

.c-link-wrap--right {
  margin-top: 24px;
  text-align: right;
}

/* ========================================
   スマホ
======================================== */
@media (max-width: 767px) {
  .c-link {
    width: 100%;
    justify-content: space-between;
    padding: 0 16px;
  }

  .c-link__text {
    font-size: 0.92rem;
  }
}

/* ========================================
   Horizontal Scroll Hint
======================================== */
.c-horizontal-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.c-scroll-hint {
  display: none;
}

@media (max-width: 900px) {
  .c-horizontal-scroll {
    padding-bottom: 4px;
  }

  .c-scroll-hint {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 156px;
    min-height: 94px;
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(24, 52, 77, 0.28);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .c-scroll-hint::before {
    content: "☝";
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1;
    animation: cScrollHintHand 1.2s ease-in-out infinite;
  }

  .c-scroll-hint.is-hidden {
    opacity: 0;
    visibility: hidden;
  }

  @keyframes cScrollHintHand {
    0%, 100% {
      transform: translateX(-5px);
    }

    50% {
      transform: translateX(7px);
    }
  }
}

/* ========================================
   Text content
   下層ページ共通の説明文・本文
======================================== */
.c-text-content {
  color: var(--color-text);
}

.c-text-content a {
  color: var(--color-main);
  font-weight: 700;
  text-decoration: none;
}

.c-text-content a:hover {
  text-decoration: underline;
}

.c-text-content ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.c-text-content li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.8;
}

.c-text-content li + li {
  margin-top: 0.3em;
}

.c-text-content li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-main);
  font-weight: 700;
}

/* ========================================
   Note box
   下層ページ共通の補足・注意ボックス
======================================== */
.c-text-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #c9dce7;
  border-radius: 12px;
  background: #f4f9fb;
}

.c-text-note > *:first-child {
  margin-top: 0;
}

.c-text-note > *:last-child {
  margin-bottom: 0;
}
