@charset "UTF-8";

/* ===== Base ===== */
body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Noto Sans JP", Meiryo, "メイリオ", sans-serif;
  font-size: 1.4rem;
  color: #404040;
  background: #fff;
  min-height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.clearfix::after {
  display: block;
  content: "";
  clear: both;
}

/* ===== ページヒーロー ===== */
.page-hero {
  background: #f5f5f3;
  padding: 0;
  margin-top: 76px;
  margin-left: calc(50% - 50vw);
  height: 152px;
  /* Figma: 202px × 0.75 scale */
  display: flex;
  align-items: center;
  width: 100vw;
}

.page-hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero-title {
  font-size: 2.7rem;
  /* Figma: 36px × 0.75 */
  font-weight: normal;
  color: #000;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ===== パンくず（ヒーロー下・白背景） ===== */
.page-breadcrumb-bar {
  background: #fff;
  padding: 12px 0;
  position: sticky;
  top: 76px;
  z-index: 950;

  width: 100%;
}

.page-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-breadcrumb {
  font-size: 1.3rem;
  color: #888;
}

.page-breadcrumb a {
  color: #888;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: #555;
  text-decoration: underline;
}

/* ===== ページ内サブナビ ===== */
.page-subnav {
  background: #fff;
  position: sticky;
  top: 120px; /* 76px(ヘッダー) + 44px(パンくず) */
  z-index: 900;
  padding: 8px 24px;
}

.page-subnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: wrap;
}

.subnav-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  font-size: 1.6rem;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  transition: background 0.15s, color 0.15s;
}
@media screen and (max-width: 768px) {
  .subnav-item {
    font-size: 1.4rem;
    padding: 6px 10px;
  }
}

.subnav-item:hover {
  background: #e8f5e9;
  color: #3A913F;
  border-color: #aacfaa;
}

.subnav-arrow {
  font-size: 0.8rem;
  line-height: 1;
  flex-shrink: 0;
  color: #888;
}

/* ===== CONTENT SECTIONS ===== */
main {
  /* margin-top は page-hero が担うため不要 */
}

/* ページ内リンクジャンプ用のオフセット調整（ヘッダー76px＋パンくず44px＋サブナビ約54px） */
.jump {
  padding-top: 174px;
  margin-top: -174px;
}
@media screen and (max-width: 768px) {
  .jump {
    padding-top: 215px;
    margin-top: -215px;
  }
}

/* 記事ブロック */
.kiji {
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin: 60px auto 40px;
  padding: 0 24px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .kiji {
    margin: 30px auto 0;
  }
}

/* セクション縦バー（緑） */
.section-bar {
  float: left;
  width: 4px;
  height: 52px;
  background: #3A913F;
  margin-right: 20px;
  border-radius: 2px;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .section-bar {
    height: 40px;
    margin-top: 8px;
  }
}

/* セクションタイトル */
.kiji .coltitle {
  display: block;
  overflow: hidden;
  font-size: 3.4rem;
  font-weight: bold;
  line-height: 52px;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0 0 20px;
  width: auto;
  text-align: left;
  position: static;
}
@media screen and (max-width: 768px) {
  .kiji .coltitle {
    font-size: 2.2rem;
    margin: 0 0 15px;
  }
}

/* 本文エリア */
.honbun {
  font-size: 1.8rem;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  clear: both;
  position: relative;
  line-height: 1.9;
}

.honbun p {
  font-size: 1.8rem;
  margin-top: 0;
  line-height: 1.9;
}
@media screen and (max-width: 768px) {
  .honbun p {
    font-size: 1.4rem;
  }
}

.honbun figcaption {
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.6;
  padding-top: 10px;
}
@media screen and (max-width: 768px) {
  .honbun figcaption {
    font-size: 1.3rem;
  }
}

.honbun a {
  color: #408e50;
}

/* 小見出し */
.komidashi {
  font-size: 1.8rem;
  font-weight: bold;
  color: #444;
  margin-bottom: 8px;
}
@media screen and (max-width: 768px) {
  .komidashi {
    font-size: 1.5rem !important;
  }
}

/* 中見出し（緑） */
.csr {
  text-align: center;
  color: #3A913F;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 20px 0 8px;
}

.csr_1 {
  text-align: center;
  color: #cd5c5c;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 20px 0 8px;
}

/* ページ上部リンク */
.toplink {
  text-align: right;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.toplink a {
  font-size: 1.3rem;
  color: #888;
  text-decoration: none;
}

.toplink a:hover {
  color: #333;
}

/* ===== テーブル ===== */
table {
  border-collapse: collapse;
  margin: 8px 0;
}

table th,
table td {
  vertical-align: top;
  border: none;
  font-size: 1.5rem;
  line-height: 1.8;
}

/* コース詳細テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 1.5rem;
}

.info-table th,
.info-table td {
  padding: 10px 14px;
  border: 1px solid #ddd;
  vertical-align: top;
  line-height: 1.7;
}

.info-table th {
  background: #f5f5f5;
  white-space: nowrap;
  font-weight: bold;
  width: 200px;
  font-size: 1.6rem;
  color: #444;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .info-table th {
    display: block;
    width: 100%;
    font-size: 1.4rem;
    margin-top: -1px;
  }
}

.info-table td {
  font-size: 1.6rem;
}
@media screen and (max-width: 768px) {
  .info-table td {
    display: block;
    width: 100%;
    font-size: 1.4rem;
    margin-top: -1px;
  }
}

/* ===== 経営理念 ===== */
.philosophy {
  text-align: center;
  margin: 8px auto;
}

.philosophy img {
  max-width: 100%;
}

.sphilosophy {
  text-align: center;
  font-weight: bold;
  font-size: 1.6rem;
}

.tphilosophy {
  text-align: center;
  font-weight: bold;
  font-size: 1.6rem;
  margin-top: 16px;
}

.tphilosophy-1 {
  padding-left: 1em;
  text-indent: -1em;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* 早川語録 */
.hayakawa {
  text-align: center;
  color: #3A913F;
  font-weight: bold;
  font-size: 1.6rem;
  margin: 12px 0 4px;
}

.hayakawa2 {
  background-color: #fff;
  max-width: 550px;
  width: 100%;
  text-align: center;
  margin: 0 auto 20px;
  font-size: 2rem !important;
  font-weight: bold;
  padding: 16px 30px;
  font-size: 1.5rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .hayakawa2 {
    font-size: 1.4rem !important;
    padding: 15px;
  }
}

/* リンク */
.csrlink {
  text-align: center;
  font-size: 1.5rem;
  margin: 30px 0 !important;
}
@media screen and (max-width: 768px) {
  .csrlink {
    margin-top: 20px !important;
  }
}

.csrlink a {
  display: inline-block;
  font-size: 1.6rem;
  color: #000;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 50px;
  padding: 8px 50px;
}
@media screen and (max-width: 768px) {
  .csrlink a {
    display: block;
    font-size: 1.3rem;
    padding: 8px 30px;
  }
}

.csrlink a:hover {
  background: #f5f5f5;
}

/* 注釈 */
.notes {
  font-size: 1.6rem !important;
  color: #555;
  padding-left: 1.5em;
  text-indent: -1.5em;
  line-height: 1.7;
  margin: 6px 0;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .notes {
    font-size: 1.3rem !important;
  }
}

small {
  position: relative;
  top: -.5em;
  font-size: 70%;
}

/* ===== 申込み・ダウンロード ===== */
.moushikomi {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.9;
  margin: 12px 0;
}

.download {
  color: #3A913F;
  text-align: center;
  margin: 12px 0;
}

.download a {
  display: inline-block;
  padding: 10px 28px;
  background: #3A913F;
  color: #fff;
  border-radius: 4px;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}

.download a:hover {
  background: #2d7a32;
}

.moushikomi2 {
  max-width: 780px;
  width: 100%;
  margin: 8px auto;
  font-size: 1.4rem;
  line-height: 1.9;
}

/* ===== お問い合わせ ===== */
.toiawase {
  text-align: center;
  margin: 8px auto;
}

.toiawase ul {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
  font-size: 1.5rem;
  line-height: 2;
}

/* ===== 声（引用） ===== */
.voice {
  background-color: #e6f4e7;
  width: 100%;
  padding: 20px 25px;
  margin: 20px auto;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .voice {
    font-size: 1.4rem;
    padding: 15px;
    margin: 15px auto;
  }
}

.voice_1 {
  background-color: #fff2df;
  width: 100%;
  padding: 20px 25px;
  margin: 20px auto;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .voice_1 {
    font-size: 1.4rem;
    padding: 15px;
    margin: 15px auto;
  }
}

/* ===== 写真グリッド ===== */
.demae {
  text-align: center;
  font-size: 1.3rem;
  color: #555;
  margin-top: 6px;
}

.demae2 {
  text-align: center;
  font-size: 1.3rem;
  color: #555;
  margin-top: 6px;
}

/* ===== 講演 ===== */
.kouen {
  text-align: center;
  font-size: 1.6rem;
  margin: 6px auto;
}

.left-center {
  text-align: center;
}

.left-center ul {
  display: inline-block;
  text-align: left;
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  font-size: 1.5rem;
  line-height: 2;
}

/* ===== サポートカンパニー ===== */
.sapocamimg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

/* ===== バックナンバー ===== */
.backnumber {
  text-align: right;
  margin: 8px 0;
  font-size: 1.4rem;
}

.backnumber a {
  text-decoration: none;
  color: royalblue;
}

.backnumber a:hover {
  text-decoration: underline;
}

/* ===== FOOTER 上書き（body の max-width を突き破る全幅処理） ===== */
footer {
  margin-left: calc(50% - 50vw);
  width: 100vw;
  margin-top: 40px;
}

/* ===== 点滅 ===== */
.blink {
  animation: blinkAnime 1.0s infinite alternate;
}

@keyframes blinkAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ===== お問い合わせボックス ===== */
.contact-boxes {
  display: flex;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.contact-box {
  flex: 1;
  min-width: 260px;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 18px 20px;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .contact-box {
    padding: 18px 15px;
  }
}

.contact-box-title {
  font-weight: bold;
  font-size: 1.6rem;
  color: #404040;
  padding: 15px;
  background-color: #eee;
  margin: -18px -20px 20px !important;
}
@media screen and (max-width: 768px) {
  .contact-box-title {
    padding: 7px 15px;
    margin: -18px -15px 15px !important;
  }
}

/* ===== 申込みフロー ===== */
.flow-step {
  margin-top: 30px;
}

.flow-step-header {
  font-size: 2rem;
  font-weight: 700;
  background-color: #eee;
  padding: 7px 15px;
  margin: 20px 0 15px;
}
@media screen and (max-width: 768px) {
  .flow-step-header {
    font-size: 1.5rem;
  }
}

.flow-img {
  text-align: center;
  padding: 12px;
}

.flow-img img {
  max-width: 100%;
}

.flow-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0 30px;
}
@media screen and (max-width: 768px) {
  .flow-col {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
}

@media screen and (max-width: 768px) {
  .flow-col .flow-img {
    margin: 0 auto;
  }
}

/* ===== オンライン授業カード ===== */
.online-course {
  margin-top: 30px;
}

.online-course-header {
  font-size: 2rem;
  font-weight: 700;
  background-color: #eee;
  padding: 7px 15px;
  margin: 20px 0 15px;
}
@media screen and (max-width: 768px) {
  .online-course-header {
    font-size: 1.5rem;
  }
}

.online-course-aim {
  padding: 0 18px;
  font-size: 1.5rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .online-course-aim {
    padding: 0 15px 0;
  }
}

/* ===== 写真グリッド ===== */
.photo-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 16px;
}
@media screen and (max-width: 768px) {
  .photo-grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.photo-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 16px;
}
@media screen and (max-width: 768px) {
  .photo-grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.photo-grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 30px 0 16px;
}
@media screen and (max-width: 768px) {
  .photo-grid5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-grid3 img,
.photo-grid4 img,
.photo-grid5 img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

/* ===== 見出しバリエーション ===== */
.csr-heading {
  text-align: left;
  color: #000;
  font-size: 2.6rem;
  font-weight: 700;
  margin: 70px 0 25px;
  border-bottom: 2px solid #399041;
  padding-bottom: 6px;
}
@media screen and (max-width: 768px) {
  .csr-heading {
    font-size: 1.8rem;
    margin: 30px 0 15px;
  }
}

.csr-heading-green {
  font-size: 2.0rem;
  font-weight: bold;
  color: #3A913F;
  margin: 20px 0 8px;
}

.komidashi-small {
  font-size: 2.1rem !important;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .komidashi-small {
    font-size: 1.6rem !important;
  }
}

.voice-label {
  font-size: 2rem !important;
  font-weight: bold;
  color: #404040;
  text-align: center;
  margin: 40px 0 10px !important;
}
@media screen and (max-width: 768px) {
  .voice-label {
    font-size: 1.6rem !important;
    margin: 30px 0 10px !important;
  }
}

/* ===== 早川ボックス ===== */
.hayakawa-box {
  background: #e8f5e9;
  padding: 30px;
  margin: 40px 0 15px;
}
@media screen and (max-width: 768px) {
  .hayakawa-box {
    padding: 15px;
    margin: 20px 0 15px;
  }
}

/* ===== セクションボックス ===== */
.section-box {
  margin: 16px 0;
  font-size: 1.5rem;
  line-height: 1.9;
}

.section-box-label {
  font-weight: bold;
  font-size: 2rem !important;
  text-align: center;
  background: #f5f5f5;
  padding: 14px 20px;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .section-box-label {
    font-size: 1.6rem !important;
  }
}

/* ===== ユーティリティ ===== */
@media screen and (min-width: 769px) {
  .none-pc {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .none-sp {
    display: none;
  }
}

.fw-bold {
  font-weight: bold !important;
}

.fs-xl {
  font-size: 2rem !important;
}
@media screen and (max-width: 768px) {
  .fs-xl {
    font-size: 1.6rem !important;
  }
}

.text-center {
  text-align: center !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-30 {
  margin-top: 30px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-50 {
  margin-top: 50px !important;
}

.mgb-line {
  margin-bottom: 20px;
}

.box {
  border: 1px solid #ccc;
  padding: 50px;
  margin-top: 70px;
}
@media screen and (max-width: 768px) {
  .box {
    padding: 20px;
    margin-top: 30px;
  }
}

.title-h4 {
  font-size: 2rem;
  background-color: #eee;
  padding: 7px 15px;
  margin: 30px 0 15px;
}
@media screen and (max-width: 768px) {
  .title-h4 {
    font-size: 1.5rem;
    margin: 20px 0 15px;
  }
}

.title-h4 strong {
  font-weight: 700;
}

.csr-list {
  list-style: disc;
  padding: 0 0 0 1.5em;
}

.csr-list li {
  font-size: 1.8rem;
  color: #3c8b4a;
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .csr-list li {
    font-size: 1.4rem;
  }
}

/* ===== Mobile: sticky位置をヘッダー80pxに合わせて調整 ===== */
@media screen and (max-width: 768px) {
  .page-hero {
    margin-top: 80px;
    margin-left: 0;
    width: 100%;
  }

  .page-breadcrumb-bar {
    top: 80px;
    margin-left: 0;
    width: 100%;
  }

  .page-subnav {
    top: 124px; /* 80px(ヘッダー) + 44px(パンくず) */
    margin-left: 0;
    width: 100%;
  }
}
