@charset "Shift-JIS";

/* =========================================
   基本設定
========================================= */

:root {
  --navy: #002b58;
  --blue: #07599a;
  --light-blue: #eaf4fb;
  --red: #d71920;
  --text: #333333;
  --muted: #777777;
  --border: #d8dfe5;
  --background: #f6f8fa;
  --white: #ffffff;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans JP",
    "Yu Gothic",
    "YuGothic",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

.container {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

/* =========================================
   ヘッダー
========================================= */

.site-header {
  border-top: 5px solid var(--red);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 92px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 62px;
  height: 42px;

  color: var(--white);
  background: var(--red);

  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;

  transform: skew(-10deg);
}

.logo-text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 25px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.global-nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.global-nav a:hover {
  color: var(--red);
}

.menu-button {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid var(--border);
  background: var(--white);

  cursor: pointer;
}

.menu-button span {
  display: block;

  width: 22px;
  height: 2px;
  margin: 5px auto;

  background: var(--navy);
}

/* =========================================
   パンくず
========================================= */

.breadcrumb-wrap {
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.breadcrumb {
  padding: 13px 0;
  font-size: 13px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

/* =========================================
   ページタイトル
========================================= */

.page-heading {
  position: relative;
  overflow: hidden;

  padding: 70px 0 65px;

  color: var(--white);
  background:
    linear-gradient(
      110deg,
      rgba(0, 43, 88, 0.98),
      rgba(0, 74, 130, 0.9)
    );
}

.page-heading::after {
  content: "";

  position: absolute;
  right: -80px;
  bottom: -140px;

  width: 480px;
  height: 300px;

  border: 45px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;

  transform: rotate(-18deg);
}

.page-heading-en {
  position: relative;
  z-index: 1;

  margin: 0 0 10px;

  color: #b8d8f2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-heading h1 {
  position: relative;
  z-index: 1;

  margin: 0;

  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.sp-only {
  display: none;
}

/* =========================================
   メインレイアウト
========================================= */

.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 60px;

  padding-top: 70px;
  padding-bottom: 100px;
}

.content {
  min-width: 0;
}

/* =========================================
   サイドメニュー
========================================= */

.side-menu {
  align-self: start;
  position: sticky;
  top: 20px;

  border: 1px solid var(--border);
  background: var(--white);
}

.side-menu-title {
  padding: 17px 20px;

  color: var(--white);
  background: var(--navy);

  font-size: 17px;
  font-weight: 700;
}

.side-menu ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.side-menu li {
  border-bottom: 1px solid var(--border);
}

.side-menu li:last-child {
  border-bottom: none;
}

.side-menu a {
  display: block;

  padding: 13px 20px;

  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;

  transition: background-color 0.2s ease, color 0.2s ease;
}

.side-menu a::before {
  content: ">";

  margin-right: 8px;

  color: var(--red);
  font-weight: 700;
}

.side-menu a:hover {
  color: var(--blue);
  background: var(--light-blue);
}

/* =========================================
   本文共通
========================================= */

.content-section {
  margin-bottom: 80px;
  scroll-margin-top: 30px;
}

.content-section > h2 {
  position: relative;

  margin: 0 0 35px;
  padding: 17px 22px 17px 28px;

  color: var(--navy);
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--border);

  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.5;
}

.content-section > h2::before {
  content: "";

  position: absolute;
  top: -3px;
  left: 0;

  width: 7px;
  height: calc(100% + 3px);

  background: var(--red);
}

.content-section h3 {
  margin: 45px 0 18px;
  padding: 11px 15px;

  color: var(--navy);
  border-left: 5px solid var(--blue);
  background: #f1f5f8;

  font-size: 22px;
  line-height: 1.5;
}

.content-section h4 {
  margin: 30px 0 12px;

  color: var(--navy);
  font-size: 18px;
  line-height: 1.6;
}

.content-section p {
  margin: 0 0 20px;
}

.content-section ul,
.content-section ol {
  margin-top: 0;
  margin-bottom: 22px;
}

.intro-box {
  margin-bottom: 35px;
  padding: 25px 30px;

  border-left: 5px solid var(--red);
  background: var(--light-blue);
}

.intro-box p {
  margin: 0;

  color: var(--navy);
  font-weight: 700;
}

.note {
  color: var(--muted);
  font-size: 13px;
}

.date-note {
  margin: 0 0 25px;

  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

/* =========================================
   情報ボックス
========================================= */

.data-box {
  margin: 25px 0;
  padding: 22px 28px;

  border: 1px solid var(--border);
  background: #fbfcfd;
}

.data-box p {
  margin: 0;

  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

/* =========================================
   箇条書き
========================================= */

.bullet-list {
  padding-left: 1.5em;
}

.bullet-list li {
  margin: 12px 0;
  padding-left: 5px;
}

.bullet-list li::marker {
  color: var(--red);
  font-weight: 700;
}

/* 対応方針のリスト */

#response .bullet-list {
  margin: 0;
  padding: 25px 30px 25px 50px;

  border: 1px solid var(--border);
  background: #fbfcfd;
}

#response .bullet-list li {
  margin: 0 0 18px;
}

#response .bullet-list li:last-child {
  margin-bottom: 0;
}

/* 具体的な行為例 */

#examples .link-list {
  margin-top: 25px;
  padding: 22px 28px;

  border: 1px solid var(--border);
  background: #fbfcfd;
}

#examples .bullet-list {
  margin: 0;
}

/* =========================================
   公表日・末尾
========================================= */

.publication-date {
  margin-top: 45px;
  padding-top: 25px;

  border-top: 1px solid var(--border);
  text-align: right;
}

.publication-date p {
  margin: 0;
  font-weight: 700;
}

/* =========================================
   ページ上部へ戻る
========================================= */

.back-to-top {
  margin-top: 50px;
  text-align: right;
}

.back-to-top a {
  display: inline-block;

  padding: 10px 18px;

  color: var(--navy);
  border: 1px solid var(--border);

  font-size: 13px;
  text-decoration: none;
}

.back-to-top a::before {
  content: "↑ ";

  color: var(--red);
}

.back-to-top a:hover {
  background: var(--light-blue);
}

/* =========================================
   フッター
========================================= */

.site-footer {
  color: var(--white);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  padding: 45px 0;
}

.footer-company {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 40px;

  color: var(--white);
  background: var(--red);

  font-size: 22px;
  font-weight: 800;

  transform: skew(-10deg);
}

.footer-company p {
  margin: 0;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px 25px;
}

.footer-links a {
  color: var(--white);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #b8d8f2;
}

.copyright {
  padding: 18px 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.2);

  text-align: center;
}

.copyright p {
  margin: 0;

  color: #cbd9e5;
  font-size: 11px;
}

/* =========================================
   タブレット対応
========================================= */

@media screen and (max-width: 900px) {

  .header-inner {
    min-height: 74px;
  }

  .global-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 35px;

    padding-top: 40px;
  }

  .side-menu {
    position: static;
  }

  .side-menu ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .side-menu li {
    border-right: 1px solid var(--border);
  }

  .side-menu li:nth-child(2n) {
    border-right: none;
  }

  .side-menu li:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .side-menu a {
    height: 100%;
  }

  .page-heading {
    padding: 50px 0;
  }

  .content-section {
    margin-bottom: 60px;
  }
}

/* =========================================
   スマートフォン対応
========================================= */

@media screen and (max-width: 600px) {

  body {
    font-size: 15px;
    line-height: 1.8;
  }

  .container,
  .header-inner {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .logo-mark {
    width: 52px;
    height: 36px;

    font-size: 20px;
  }

  .logo-text {
    font-size: 16px;
  }

  .breadcrumb {
    font-size: 11px;
  }

  .page-heading {
    padding: 40px 0;
  }

  .page-heading h1 {
    font-size: 24px;
  }

  .sp-only {
    display: block;
  }

  .layout {
    padding-top: 30px;
    padding-bottom: 60px;
  }

  .content-section {
    margin-bottom: 55px;
  }

  .content-section > h2 {
    margin-bottom: 25px;
    padding: 13px 15px 13px 22px;

    font-size: 22px;
  }

  .content-section h3 {
    margin-top: 35px;
    font-size: 19px;
  }

  .intro-box {
    margin-bottom: 30px;
    padding: 18px 20px;
  }

  .data-box {
    padding: 18px 20px;
  }

  .data-box p {
    font-size: 16px;
  }

  #response .bullet-list {
    padding: 20px 20px 20px 38px;
  }

  #examples .link-list {
    padding: 18px 20px;
  }

  .side-menu ul {
    grid-template-columns: 1fr;
  }

  .side-menu li,
  .side-menu li:nth-child(2n) {
    border-right: none;
  }

  .side-menu li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .side-menu li:last-child {
    border-bottom: none;
  }

  .date-note {
    text-align: left;
  }

  .publication-date {
    text-align: left;
  }

  .footer-inner {
    display: block;
    padding: 35px 0;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 25px;
  }
}

/* =========================================
   印刷対応
========================================= */

@media print {

  .site-header,
  .side-menu,
  .back-to-top,
  .site-footer {
    display: none;
  }

  .breadcrumb-wrap {
    border: none;
  }

  .page-heading {
    padding: 25px 0;

    color: #000;
    background: none;
  }

  .page-heading-en {
    color: #555;
  }

  .page-heading h1 {
    font-size: 24px;
  }

  .layout {
    display: block;
    width: 100%;
    padding: 20px 0;
  }

  .content-section {
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}