@charset "UTF-8";

/* =========================================================================
   公開トップページ

   旧システムは template/pc/index_20190415.php と template/sp/index_20190415.php に
   同じページを2つ持ち、UA判定で出し分けていた。ここでは1枚に統合し、
   ブレークポイントは 900px の1点のみとする。
   ========================================================================= */

:root {
  --blue: #0075c2;
  --blue-dark: #005a96;
  --pale: #f2fcff;
  --green: #e2f0d9;
  --red: #dc5041;
  --teal: #009688;
  --orange: #fc8c04;
  --yellow: #f9bc05;
  --text: #333;
  --muted: #6b7280;
  --line: #dfe4e8;
  --radius: 6px;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); }

.inner { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ------------------------------------------------------------------ ボタン */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
}
.btn:hover { opacity: .88; }
.btn--cta { background: var(--orange); color: #fff; }
.btn--login { background: var(--blue); color: #fff; width: 100%; padding: 14px; font-size: 16px; }
.btn--lg { padding: 16px 40px; font-size: 17px; }

/* ------------------------------------------------------------------ ヘッダ */
.lp-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.lp-header__inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.lp-header__logo { display: inline-flex; }
.lp-header__logo img { width: auto; height: 40px; }
.lp-header__cta { margin-left: auto; padding: 9px 16px; font-size: 13px; }

/* ------------------------------------------------------------------ ヒーロー */
.hero {
  background: var(--blue) url("../images/mobile_bg.webp") center/cover no-repeat;
  color: #fff;
  padding: 32px 0 40px;
}
.hero__meta { font-size: 12px; margin: 0 0 6px; text-shadow: 0 1px 3px rgb(0 0 0 / 45%); }
.hero__title { font-size: 26px; margin: 0 0 24px; text-shadow: 0 1px 4px rgb(0 0 0 / 45%); }

/* ログインボックス */
.loginbox {
  background: rgb(255 255 255 / 96%);
  border-radius: var(--radius);
  padding: 20px 18px;
  color: var(--text);
  box-shadow: 0 6px 20px rgb(0 0 0 / 22%);
  max-width: 420px;
}
.loginbox__title { font-size: 15px; margin: 0 0 14px; text-align: center; color: var(--blue-dark); }
.loginbox input[type="tel"],
.loginbox input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 16px; /* iOSの自動ズームを防ぐ */
  font-family: inherit;
  border: 1px solid #c8ccd0;
  border-radius: var(--radius);
}
.loginbox input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(0 117 194 / 18%); }
.loginbox__error {
  background: #fdecec; border: 1px solid #f3b6b6; color: #a11;
  border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; font-size: 13px;
}
.loginbox__error p { margin: 2px 0; }
.loginbox__notice {
  background: #eaf6ec; border: 1px solid #b6dcbe; color: #1c6b2c;
  border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; font-size: 13px;
}
.loginbox__links { font-size: 13px; text-align: center; margin: 12px 0 0; }
.loginbox__links .sep { color: var(--muted); margin: 0 6px; }

/* ------------------------------------------------------------- 各セクション */
.content { padding: 40px 0; }
.content--blue { background: var(--blue); color: #fff; }
.content--pale { background: var(--pale); }
.content--green { background: var(--green); }
.content__heading {
  font-size: 21px;
  text-align: center;
  margin: 0 0 28px;
  line-height: 1.5;
}
.content--blue a { color: #fff; }

.description {
  background: #fff;
  color: var(--text);
  border-left: 10px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 18px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 10%);
}
.description--red { border-left-color: var(--red); }
.description--teal { border-left-color: var(--teal); }
.description__title {
  font-size: 16px; font-weight: 700; color: var(--blue-dark);
  margin: 22px 0 8px; line-height: 1.6;
}
.description__title:first-child { margin-top: 0; }
.description__text { font-size: 14px; margin: 0; }

/* 装飾イラストは狭い画面では出さない（内容ではないため） */
.description__img { display: none; }

/* ------------------------------------------------------------ 満足度調査 */
.survey {
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfdff;
}
.survey figcaption { display: block; margin-bottom: 10px; }
.survey__title { display: block; font-weight: 700; font-size: 14px; }
.survey__note { display: block; font-size: 11px; color: var(--muted); line-height: 1.6; }
.survey__body { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.survey__body img { width: 160px; }
.survey__legend { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.survey__legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; border-radius: 2px; flex: 0 0 auto; }

/* ------------------------------------------------------------- 受講の流れ */
.flow { list-style: none; margin: 0 0 20px; padding: 0; }
.flow li {
  position: relative;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}
.flow li:last-child { margin-bottom: 0; }
.flow li:not(:last-child)::after {
  content: "";
  position: absolute; left: 50%; bottom: -18px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--teal);
}
.flow-detail { margin: 0; font-size: 13px; }
.flow-detail dt { font-weight: 700; color: var(--blue-dark); margin-top: 14px; }
.flow-detail dt:first-child { margin-top: 0; }
.flow-detail dd { margin: 4px 0 0; }

/* --------------------------------------------------------------- 研修情報 */
.training-card {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgb(0 0 0 / 12%);
}
.training-card__summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.training-card__summary::-webkit-details-marker { display: none; }
.training-card__summary::after {
  content: "▼"; margin-left: auto; font-size: 11px; color: var(--muted);
}
details[open] > .training-card__summary::after { content: "▲"; }
.training-card__name { font-size: 15px; }
.training-card__term { font-size: 12px; color: var(--muted); font-weight: 400; width: 100%; }
.training-card__body { padding: 0 16px 18px; }
.training-card__action { margin: 16px 0 0; text-align: center; }

.badge {
  display: inline-block; padding: 3px 9px; border-radius: 3px;
  font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap;
}
.badge--open { background: #4caf50; }
.badge--closed { background: #9aa0a6; }

.spec { margin: 0; font-size: 13px; border-top: 1px solid var(--line); }
.spec > div { border-bottom: 1px solid var(--line); padding: 10px 2px; }
.spec dt { font-size: 11px; color: var(--muted); font-weight: 700; }
.spec dd { margin: 3px 0 0; }
.spec__long { line-height: 1.85; }
.spec__caption { font-weight: 700; font-size: 14px; margin: 18px 0 8px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.schedule { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.schedule th, .schedule td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.schedule thead th { background: #eef2f5; font-size: 12px; white-space: nowrap; }
.schedule .nowrap { white-space: nowrap; }
.schedule small { color: var(--muted); }

.training-empty { text-align: center; background: #fff; color: var(--text); padding: 24px; border-radius: var(--radius); }

/* --------------------------------------------------------- レポート抜粋 */
.report-sample { margin: 12px 0 0; }
.report-sample summary { cursor: pointer; font-weight: 700; color: var(--blue-dark); font-size: 14px; }
.report-sample .description__text { margin-top: 12px; }

/* ------------------------------------------------------------------ FAQ */
.faq details {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 14px; line-height: 1.6;
}
.faq p { margin: 0; padding: 0 16px 16px; font-size: 14px; }

/* ------------------------------------------------------------ 運営者情報 */
.operator { max-width: 640px; margin: 0 auto; font-size: 14px; border-top: 1px solid var(--line); }
.operator > div { border-bottom: 1px solid var(--line); padding: 12px 2px; }
.operator dt { font-size: 11px; color: var(--muted); font-weight: 700; }
.operator dd { margin: 3px 0 0; }

/* ------------------------------------------------------------------ CTA */
.cta { background: var(--yellow); text-align: center; padding: 36px 0; }
.cta__title { font-size: 18px; margin: 0 0 20px; line-height: 1.6; }

/* ------------------------------------------------------------------ フッタ */
.lp-footer { background: #333; color: #ddd; text-align: center; font-size: 12px; padding: 20px 0; }
.lp-footer p { margin: 0; }

/* =========================================================================
   900px 以上：2カラム化と装飾イラストの表示
   旧 template/pc と template/sp を分けていた唯一の分岐点
   ========================================================================= */
@media (min-width: 900px) {
  body { font-size: 15px; }

  .lp-header__logo img { height: 48px; }
  .lp-header__cta { padding: 11px 20px; font-size: 14px; }

  .hero {
    background-image: url("../images/desktop_bg2.jpg");
    padding: 64px 0 72px;
  }
  .hero__inner { display: flex; align-items: center; gap: 40px; }
  .hero__lead { flex: 1 1 auto; }
  .hero__meta { font-size: 14px; }
  .hero__title { font-size: 40px; margin-bottom: 0; }
  .loginbox { flex: 0 0 380px; padding: 26px 24px; }

  .content { padding: 64px 0; }
  .content__heading { font-size: 27px; margin-bottom: 40px; }

  /* 本文とイラストを横に並べる */
  .content__body { display: flex; align-items: flex-start; gap: 28px; }
  .description { flex: 1 1 auto; padding: 28px 30px; }
  .description__text { font-size: 15px; }

  .description__img { display: block; flex: 0 0 300px; align-self: center; }
  .description__img--sm { flex-basis: 240px; }

  /* 流れは横に並べる */
  .flow { display: flex; gap: 30px; }
  .flow li { flex: 1; margin-bottom: 0; }
  .flow li:not(:last-child)::after {
    left: auto; right: -22px; bottom: auto; top: 50%;
    transform: translateY(-50%);
    border-top-color: transparent;
    border-left-color: var(--teal);
  }

  .training-card__name { font-size: 16px; }
  .training-card__term { width: auto; margin-left: 4px; }

  /* 定義リストをラベル＋値の2カラムに */
  .spec { display: grid; grid-template-columns: 170px 1fr; border-top: 0; }
  .spec > div { display: contents; }
  .spec dt {
    border-bottom: 1px solid var(--line); background: #fafbfc;
    padding: 12px 14px; font-size: 12px;
  }
  .spec dd { border-bottom: 1px solid var(--line); padding: 12px 14px; margin: 0; }

  .operator { display: grid; grid-template-columns: 200px 1fr; border-top: 0; }
  .operator > div { display: contents; }
  .operator dt { border-bottom: 1px solid var(--line); background: #fafbfc; padding: 14px; }
  .operator dd { border-bottom: 1px solid var(--line); padding: 14px; margin: 0; }

  .cta__title { font-size: 24px; }
}

/* =========================================================================
   未ログインで表示するフォーム画面（新規会員登録・パスワード再発行）
   mypage.css の .panel / .field 等と併用する
   ========================================================================= */
.public-page { background: #f2f4f6; }
.public-main { padding: 24px 0 60px; }
.public-inner { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.public-page .page-title { font-size: 21px; font-weight: 800; color: var(--blue-dark); margin: 0 0 6px; }
.public-page .page-lead { font-size: 13px; color: var(--muted); margin: 0 0 18px; }

/* 「再送信する」のようなリンク風ボタン */
.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 13px; color: var(--blue-dark); text-decoration: underline;
}
.resend { margin-top: 16px; text-align: center; }

@media (min-width: 900px) {
  .public-main { padding: 40px 0 80px; }
  .public-page .page-title { font-size: 24px; }
}
