/* ===== ベース ===== */
:root {
  --color-primary: #0068b0;
  --color-primary-dark: #00558e;
  --color-primary-light: #d9ebf8;
  --color-primary-lighter: #eef6fb;
  --color-text: #222;
  --color-border: #ccc;
  --color-gray: #999;
  --color-gray-dark: #777;
  --color-gray-light: #e0e0e0;
  --color-gray-bg: #fafafa;

  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-28: 28px;
  --fs-32: 32px;

  --icon-external-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    "Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", Meiryo, "メイリオ", sans-serif;
  color: var(--color-text);
  background: #fff;
  line-height: 1.7;
  font-size: var(--fs-18);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--color-primary);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* ===== レイアウト ===== */
.l-container {
  max-width: 1150px;
  margin-inline: auto;
  padding-inline: 90px;
  box-sizing: border-box;
}
@media (width <= 768px) {
  .l-container {
    padding-inline: 20px;
  }
}
.l-header {
  border-bottom: 1px solid var(--color-border);
  padding-block: 16px;
}
.l-header .logo {
  margin-inline: auto;
  height: auto;
}
.l-footer {
  margin-top: 48px;
  padding: 24px 0;
  text-align: center;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: var(--fs-14);
}
main {
  display: block;
  padding-block: 32px;
}
section {
  margin-bottom: 48px;
}
h1 {
  font-size: var(--fs-32);
  border-bottom: 3px solid var(--color-primary);
  padding-bottom: 12px;
  margin-bottom: 32px;
}
h2 {
  font-size: var(--fs-24);
  border-left: 6px solid var(--color-primary);
  padding-left: 12px;
  margin-bottom: 16px;
}
h3 {
  font-size: var(--fs-18);
  margin-bottom: 8px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 24px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
}
.btn:hover {
  background: var(--color-primary-dark);
}
.btn-primary {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 12px 22px;
}
.btn-secondary:hover {
  background: var(--color-primary-lighter);
}
.btn-break {
  display: none;
}
@media (width <= 768px) {
  .btn-break {
    display: inline;
  }
}

/* ===== 外部リンクアイコン ===== */
.btn-primary::after,
.btn-secondary::after,
.link-list a::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 5px;
  vertical-align: -0.1em;
  background-color: currentcolor;
  mask-image: var(--icon-external-link);
  mask-repeat: no-repeat;
  mask-size: contain;
}

/* ===== テーブル ===== */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
th,
td {
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  text-align: center;
  font-size: var(--fs-16);
}
thead th {
  background: var(--color-primary-light);
}
tbody th {
  background: var(--color-primary-lighter);
}
.schedule-table th,
.schedule-table td {
  white-space: nowrap;
}
.curriculum-table th,
.curriculum-table td {
  white-space: nowrap;
}
.curriculum-table td:last-child {
  white-space: normal;
}

/* ===== 受講料 ===== */
.price {
  font-size: var(--fs-28);
  font-weight: bold;
}

/* ===== 申込から受講までの流れ ===== */
.flow-period {
  display: inline-block;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 4px 16px;
  border-radius: 999px;
  font-weight: bold;
  margin-bottom: 16px;
}
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
}
.flow-step {
  flex: 1 1 180px;
  background: var(--color-primary-lighter);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--fs-14);
  font-weight: bold;
}
.flow-label {
  display: block;
  font-weight: bold;
}
.flow-desc {
  font-size: var(--fs-15);
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  font-size: var(--fs-20);
  color: var(--color-gray);
}
@media (width <= 768px) {
  .flow-steps {
    flex-direction: column;
  }
  .flow-arrow {
    width: auto;
    transform: rotate(90deg);
  }
}

/* ===== 申込方法ステップ ===== */
.step {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}
.qa {
  background: var(--color-primary-lighter);
  padding: 12px;
  border-radius: 4px;
  font-size: var(--fs-16);
}
.notice {
  border: 1px solid var(--color-gray);
  background: var(--color-gray-bg);
  padding: 12px 16px;
  font-size: var(--fs-15);
  margin-top: 16px;
}

/* ===== 研修会場 ===== */
.venue-item {
  margin-bottom: 32px;
}
.venue-item h3 {
  margin-bottom: 8px;
}
.venue-info p {
  margin: 0 0 8px;
}
.venue-map {
  background: var(--color-gray-light);
  border-radius: 6px;
  overflow: hidden;
}
.venue-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}
.venue-map .map-note {
  margin: 0;
  padding: 6px 10px;
  font-size: var(--fs-13);
  color: var(--color-gray-dark);
  background: #fff;
}
@media (width >= 769px) {
  .venue-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .venue-item h3 {
    grid-column: 1 / -1;
  }
}

/* ===== 研修概要等 ===== */
.link-list {
  padding-left: 20px;
}

/* ===== 申込準備中バナー ===== */
.notice-preparing {
  border: 1px solid var(--color-border);
  background: var(--color-gray-bg);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 32px;
  color: #555;
}
.notice-preparing__title {
  font-weight: bold;
  font-size: var(--fs-18);
  margin: 0 0 6px;
}
.notice-preparing p:last-child {
  margin: 0;
  font-size: var(--fs-16);
}

/* ===== 準備中オーバーレイ ===== */
.preparing-area {
  position: relative;
}
.preparing-area__overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 200, 200, 0.62);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.preparing-area__label {
  font-size: var(--fs-28);
  font-weight: bold;
  color: rgba(60, 60, 60, 0.65);
  letter-spacing: 0.15em;
  user-select: none;
  background: rgba(255, 255, 255, 0.6);
  padding: 12px 32px;
  border-radius: 4px;
}

/* ===== 非活性ボタン ===== */
.btn.is-disabled,
.btn.is-disabled:hover {
  background: var(--color-gray-light);
  color: var(--color-gray-dark);
  border-color: var(--color-gray-light);
  cursor: default;
  pointer-events: none;
}

/* ===== お問い合わせ ===== */
.contact-tel {
  font-size: var(--fs-28);
  font-weight: bold;
  margin-bottom: 8px;
}
.contact-tel a {
  color: var(--color-text);
  text-decoration: none;
}
.contact-tel a:hover {
  text-decoration: underline;
}
@media (width >= 769px) {
  .contact-tel a {
    pointer-events: none;
    cursor: text;
  }
}
