/* ========================================================================== */
/* 全体レイアウト初期設定関連 */
/* ========================================================================== */

a,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

body {
  margin: 0;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
}

/* ========================================================================== */
/* 文字色関連 */
/* ========================================================================== */

/* 🔵 情報メッセージ（info） */
.alert-info {
  background-color: #e8f7fb;
  /* 明るい青系 */
  color: #0b4f60;
  border: 1px solid #b9e3ec;
  padding: 1em;
  border-radius: 4px;
  margin: 1em 0;
}

/* 🔶 警告メッセージ（warning） */
.alert-warning {
  background-color: #fff3cd;
  /* 明るい黄色系 */
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 1em;
  border-radius: 4px;
  margin: 1em 0;
}

/* 🔴 エラーメッセージ（error） */
.alert-error {
  background-color: #f8d7da;
  /* 明るい赤系 */
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 1em;
  border-radius: 4px;
  margin: 1em 0;
}

/* 🟢 成功メッセージ（success） */
.alert-success {
  background-color: #d4edda;
  /* 明るい緑系 */
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 1em;
  border-radius: 4px;
  margin: 1em 0;
}

/* 「必須」文字スタイル */
.form-required {
  color: #FF0000;
  font-weight: bold;
}

.grey {
  color: #A7A7A7;
}

.red {
  color: #FF0000 !important;
}

.blue {
  color: #0B318F !important;
}

.white {
  color: #FFF;
}

/* ========================================================================== */
/* 変数定義（全体で使う場合は :root に置く） */
/* ========================================================================== */

:root {
  --sky-blue: #009CE2;
  --dark-blue: #0B318F;

  --title-text-light-blue: #009CE2;
  --title-text-dark-blue: #0B318F;
  --title-weight: 600;
  --heading-weight: 500;
  --border-color-Primary-Blue: #0B318F;
  --button-background-color-light-blue: #009CE2;
  --button-background-color-dark-blue: #0B318F;
  --table-background-color-dark-blue: #0B318F;
  --table-border-color-white: #FFF;
  --table-border-color-dark-blue: #0B318F;
  --table-text-color-white: #FFF;
  --link-text-dark-blue: #0B318F;
  --point-fill-dark-blue: #0B318F;
}

/* ========================================================================== */
/* レイアウト関連 */
/* ========================================================================== */

/* =====================================
   管理画面関連
===================================== */

.admin_preview_link {
  font-size: 20px;
}

/* ================================== */
/* 説明関連 */
/* ================================== */

.explanation-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.explanation-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.explanation-headline {
  font-size: 20px;
  line-height: 28px;
  /* 140% */
  letter-spacing: 0.8px;
}

.explanation-headline-small {
  font-size: 16px;
  line-height: 28px;
  /* 140% */
  letter-spacing: 0.64px;
}

.explanation-body {
  line-height: 30px;
  /* 187.5% */
  letter-spacing: 0.64px;
  align-self: stretch;
}

.explanation-body-small {
  font-size: 12px;
  letter-spacing: 0.48px;
}

.explanation-body-right {
  text-align: right;
  line-height: 30px;
  /* 187.5% */
  letter-spacing: 0.64px;
  align-self: stretch;
}

.explanation-body-link {
  color: var(--link-text-dark-blue);
  line-height: 32px;
  /* 200% */
  letter-spacing: 0.64px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.explanation-body-supplement {
  line-height: 32px;
  /* 200% */
  letter-spacing: 0.64px;
}

.explanation-body-margin {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

/* ================================== */
/* 掲載ドキュメント関連 */
/* ================================== */

/* 見出し */
.document-heading {
  color: #000;
  text-align: center;
  font-weight: var(--heading-weight);
  line-height: 32px;
  /* 200% */
  padding: 80px 0px 80px 0px;
}

/* レイアウト */
.document-layout {
  display: flex;
  padding: 0px 100px 195px 100px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* タイトル */
.document-layout-title {
  display: flex;
  height: 48px;
  padding: 8px 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-left: 4px solid var(--border-color-Primary-Blue);
  background: #EDF0F5;
  color: #0B318F;
  font-size: 24px;
  font-weight: var(--title-weight);
  line-height: 32px;
  /* 133.333% */
  letter-spacing: 0.96px;
}

/* 説明 */
.document-layout-exposition {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

/* 説明：段落 */
.document-layout-exposition-paragraph,
.document-layout-exposition-paragraph-gap8,
.document-layout-exposition-paragraph-gap16,
.document-layout-exposition-paragraph-gap24 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
}

/* 説明：段落（gap:8） */
.document-layout-exposition-paragraph-gap8 {
  gap: 8px;
}

/* 説明：段落（gap:16） */
.document-layout-exposition-paragraph-gap16 {
  gap: 16px;
}

/* 説明：段落（gap:24） */
.document-layout-exposition-paragraph-gap24 {
  gap: 24px;
}

/* 説明：本文（タイトル） */
.document-layout-exposition-text-title {
  font-size: 20px;
  line-height: 32px;
  /* 160% */
  letter-spacing: 0.8px;
}

/* 説明：本文 */
.document-layout-exposition-text {
  font-size: 16px;
  line-height: 32px;
  /* 200% */
  letter-spacing: 0.64px;
}

/* 説明：本文（1段階小文字） */
.document-layout-exposition-text-small {
  font-size: 12px;
  line-height: 24px;
  /* 200% */
  letter-spacing: 0.48px;
}

/* 説明：リンク */
.document-layout-exposition-href {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 説明：リンク色 */
.document-layout-exposition-href-color {
  color: var(--title-text-dark-blue);
}

/* ファイル本体 */
.document-layout-body {
  padding: 8px 0px;
  width: 100%;
}

.document-layout-body-file-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-self: stretch;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .document-layout-body-file-box {
    grid-template-columns: 1fr;
  }
}

.document-layout-body-file {
  display: flex;
  height: 80px;
  padding: 16px 24px;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color-Primary-Blue);
  box-sizing: border-box;
  width: 100%;
}

.document-layout-body-file-dummy {
  display: flex;
  padding: 0px 24px;
  gap: 16px;
  border-radius: 8px;
  box-sizing: border-box;
  width: 100%;
}

.document-layout-body-file-text {
  display: flex;
  flex: 1 0 0;
  color: var(--border-color-Primary-Blue);
  line-height: 32px;
}

.document-layout-file {
  display: flex;
  height: 80px;
  padding: 16px 24px;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color-Primary-Blue);
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 295px;
  max-width: 984px;
  width: 100%;
}

.document-layout-file-text {
  display: flex;
  flex: 1 0 0;
  color: var(--border-color-Primary-Blue);
  line-height: 32px;
  /* 200% */
}

.document-layout-footer {
  padding: 0px 0px 0px 0px;
}

/* ================================== */
/* 戻るボタン関連 */
/* ================================== */

.back-button {
  display: flex;
  width: 220px;
  padding: 16px 40px;
  justify-content: space-between;
  align-items: center;
  border-radius: 40px;
  background: var(--button-background-color-dark-blue);
}

.back-button-icon {
  display: flex;
  width: 16px;
  height: 17px;
  padding: 5px;
  align-items: center;
  gap: 5.333px;
  flex-shrink: 0;
}

.back-button-text {
  color: #FFF;
  line-height: 24px;
  /* 150% */
  letter-spacing: 0.64px;
}

.back-button-space {
  display: flex;
  width: 16px;
  height: 17px;
  padding: 5px;
  align-items: center;
  gap: 5.333px;
  flex-shrink: 0;
}

/* ================================== */
/* レスポンシブ表示・非表示 */
/* ================================== */

.pc {
  display: flex;
}

.tb {
  display: none;
}

.sp {
  display: none;
}

.pc-br {
  display: flex;
}

.tb-br {
  display: none;
}

.sp-br {
  display: none;
}

.pctb-br {
  display: flex;
}

.center {
  margin: 0 auto;
  width: fit-content;
  /* or 任意のwidth */
}

/* ========================================================================== */
/* @media */
/* ========================================================================== */

@media (min-width: 1024px) {

  /* ================================== */
  /* レスポンシブ表示・非表示 */
  /* ================================== */

  .pc {
    display: flex !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {

  /* ================================== */
  /* 掲載ドキュメント関連 */
  /* ================================== */

  /* レイアウト */
  .document-layout {
    gap: 24px;
    padding: 0px 64px;
  }

  /* タイトル */
  .document-layout-title {
    font-size: 18px;
    line-height: 26px;
    /* 144.444% */
    letter-spacing: 0.72px;
  }

  /* 説明 */
  .document-layout-exposition {
    gap: 16px;
  }

  /* 説明：本文（タイトル） */
  .document-layout-exposition-text-title {
    font-size: 18px;
    line-height: 28px;
    /* 155.556% */
    letter-spacing: 0.72px;
  }

  /* 説明：本文 */
  .document-layout-exposition-text {
    font-size: 14px;
    line-height: 24px;
    /* 171.429% */
    letter-spacing: 0.56px;
  }

  /* 説明：本文（1段階小文字） */
  .document-layout-exposition-text-small {
    font-size: 10px;
    line-height: 18px;
    /* 180% */
    letter-spacing: 0.4px;
  }

  /* ================================== */
  /* レスポンシブ表示・非表示 */
  /* ================================== */

  .pc {
    display: none;
  }

  .tb {
    display: flex !important;
  }

  .tb-br {
    display: flex;
  }
}

@media (max-width: 767px) {

  /* ================================== */
  /* 掲載ドキュメント関連 */
  /* ================================== */

  /* 見出し */
  .document-heading {
    padding: 64px 24px 40px 24px;
  }

  /* レイアウト */
  .document-layout {
    padding: 0px 24px;
  }

  /* タイトル */
  .document-layout-title {
    font-size: 18px;
    line-height: 26px;
    /* 144.444% */
    letter-spacing: 0.72px;
  }

  /* 説明 */
  .document-layout-exposition {
    gap: 24px;
  }

  .document-layout-body-file-text {
    flex: 1 1 0;
    min-width: 0;
  }

  .document-layout-body-file-text .caption {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 24px;
    margin: 0;
  }

  .document-layout-body-file-text p:empty {
    display: none;
  }

  /* ================================== */
  /* レスポンシブ表示・非表示 */
  /* ================================== */

  .pc {
    display: none;
  }

  .tb {
    display: none;
  }

  .sp {
    display: flex !important;
  }

  .pc-br {
    display: none;
  }

  .tb-br {
    display: none;
  }

  .sp-br {
    display: flex !important;
  }

  .pctb-br {
    display: none;
  }

  .sp-text-left {
    text-align: left !important;
  }
}