/* =======================================
   共通リセット
======================================= */
body, h1, h2, h3, h4, p, ul, li, figure {
  margin: 0; padding: 0; list-style: none;
}
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: var(--color-blue-light);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* =======================================
   ヒーロー
======================================= */
.tk-hero {
  margin-top: var(--header-h-sp);
  width: 100%;
}
@media (min-width: 768px) {
  .tk-hero { margin-top: var(--header-h-pc); }
}
.tk-hero img { width: 100%; }

/* =======================================
   パンくず
======================================= */
.tk-breadcrumb {
  max-width: 100rem;
  margin: 0 auto;
  padding: 1.2rem 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 1.2rem;
  color: #888;
}
.tk-breadcrumb li::after { content: ">"; margin-left: 0.8rem; }
.tk-breadcrumb li:last-child::after { content: ""; }
.tk-breadcrumb a:hover { text-decoration: underline; }

/* =======================================
   共通インナー
======================================= */
.tk-inner {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 1.6rem;
}
@media (min-width: 768px) {
  .tk-inner { padding: 0 4rem; }
}

/* =======================================
   特進コース 新時代へ！セクション
======================================= */
.tk-new-era {
  padding: 3.2rem 0 4rem;
}
.tk-new-era__heading {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto 3.2rem;
  padding: 0 1.6rem;
}
.tk-new-era__grid {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
/* SP: 縦二段 */
.tk-new-era__card {
  display: flex;
  flex-direction: column;
}
.tk-new-era__card-img {
  width: 60%;
  max-width: 24rem;
  position: relative;
  top: 2rem;
}
.tk-new-era__card-body {
  background-color: #fce4e6;
  border-radius: 1px;
  padding: 4rem 2.4rem 4.4rem;
}
.tk-new-era__card-body p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.9;
  color: #e8546a;
}
.tk-new-era__card-body .tk-new-era__card-subtitle {
  font-size: 1.9rem;
  font-weight: bold;
  color: #e8546a;
  margin-bottom: 1rem;
}
/* PC: 画像が左、テキストが右。画像がテキストブロックの上に重なる */
@media (min-width: 768px) {
  .tk-new-era__grid { flex-direction: column; gap: 4rem; }
  .tk-new-era__card {
    flex: 1;
    flex-direction: row;
    align-items: flex-start;
    position: relative;
  }
  .tk-new-era__card-img {
    flex-shrink: 0;
    width: 22rem;
    max-width: none;
    position: relative;
    top: 2.7rem;
    z-index: 2;
  }
  .tk-new-era__card-body {
    flex: 1;
    margin-left: -6rem;
    padding-left: 8rem;
    padding-top: 2.7rem;
    padding-right: 2.4rem;
    padding-bottom: 2.7rem;
    position: relative;
    z-index: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .tk-new-era__card-body .tk-new-era__card-subtitle { font-size: 2.195rem; }
  .tk-new-era__card-body p   { font-size: 1.6rem; }
}

/* =======================================
   難関大学を攻略セクション
======================================= */
.tk-attack {
  background-color: #fff;
  padding: 4rem 0 5rem;
}
.tk-attack__heading {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto 1.7rem;
}

/* ポイントカード */
.tk-points {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-bottom: 4rem;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .tk-points { max-width: none; margin-bottom: 2.8rem; }
}
@media (min-width: 768px) {
  .tk-points {
    flex-direction: row;
    gap: 2.4rem;
  }
  .tk-point { flex: 1; }
}
.tk-point__img {
  width: 100%;
  display: block;
}
.tk-points__note {
  margin-top: 2rem;
  font-size: 1.6rem;
  line-height: 1.8;
  font-weight: 500;
  padding: 0 2%;
}

/* 個別指導 */
.tk-guidance {
  margin-bottom: 3.6rem;
}
/* SP: heading(left内) → photo(sp-only) → text(left内) の縦並び */
.tk-guidance__left { width: 100%; }
.tk-guidance__photo { width: 100%; max-width: 36rem; margin-bottom: 2rem; }
@media (max-width: 767px) {
  .tk-guidance__photo { max-width: 70%; margin-left: auto; margin-right: auto; }
}
.tk-guidance__photo img { width: 100%; border-radius: 0.4rem; }
.tk-guidance__text p {
  font-size: 1.6rem;
  line-height: 1.9;
  padding: 0 2%;
}
/* PC: 左ブロック（heading+text） | 右ブロック（photo） */
@media (min-width: 768px) {
  .tk-guidance { display: flex; flex-direction: row; gap: 4rem; align-items: flex-start; }
  .tk-guidance__left { flex: 1; }
  .tk-guidance__photo { width: 32rem; flex-shrink: 0; margin-bottom: 0; }
  .tk-attack__heading { margin-bottom: 2rem; }
}

/* 部長の言葉 */
.tk-teacher {
  background-color: var(--color-blue-light);
  border-radius: 1.2rem;
  padding: 2.4rem 1.2rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .tk-teacher { padding: 2.4rem; }
}
.tk-teacher__photo {
  float: right;
  width: 35%;
  margin-left: 3.2rem;
  margin-bottom: 0.8rem;
}
@media (min-width: 768px) {
  .tk-teacher__photo { width: 20rem; }
}
.tk-teacher__photo img { width: 100%; border-radius: 0.8rem; }
.tk-teacher__text p.tk-teacher__name { font-size: 1.4rem; font-weight: bold; color: #333; margin-top: 0.8rem; text-align: center; line-height: 1.3; }
.tk-teacher__name-text { font-size: 1.9rem; }
.tk-teacher__title { font-size: 1.2rem; font-weight: normal; }
@media (min-width: 768px) {
  .tk-teacher__title { font-size: 1.3rem; }
  .tk-teacher__name { font-size: 1.9rem; text-align: center; font-weight: 500; }
}
.tk-teacher__text h3 {
  font-size: 1.7rem;
  color: var(--color-blue-dark);
  margin-bottom: 1.2rem;
  border-bottom: 0.2rem solid #5b8cbf;
  padding-bottom: 0.6rem;
}
.tk-teacher__text p {
  font-size: 1.6rem;
  line-height: 1.9;
}
@media (min-width: 768px) {
  .tk-teacher__text p { font-size: 1.5rem; }
}

/* =======================================
   進学実績セクション
======================================= */
.tk-results {
  background-color: var(--color-blue-light);
  padding: 4rem 0 5rem;
}
.tk-results__title {
  font-size: 2rem;
  color: #1c2b6b;
  text-align: center;
  font-weight: bold;
  margin-bottom: 3.2rem;
  padding-bottom: 1rem;
  border-bottom: 0.3rem solid #5b8cbf;
}
@media (min-width: 768px) {
  .tk-results__title { font-size: 2.4rem; }
}
.tk-results__layout {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  align-items: center;
}
.tk-results__chart { width: 100%; }
@media (min-width: 768px) {
  .tk-results__chart { max-width: none; }
  .tk-results__title { display: none; }
}
.tk-results__list h3 {
  font-size: 1.6rem;
  color: #1c2b6b;
  font-weight: bold;
  margin: 1.6rem 0 0.8rem;
}
.tk-results__list h3:first-child { margin-top: 0; }
.tk-results__list p {
  font-size: 1.4rem;
  line-height: 1.9;
}
.tk-results__note {
  font-size: 1.2rem;
  color: #888;
  margin-top: 1.2rem;
}

/* =======================================
   部長の言葉セクション（進学実績の下）
======================================= */
.tk-teacher-section {
  background-color: var(--color-blue-light);
  padding: 4rem 0 3rem;
}

/* =======================================
   授業写真セクション
======================================= */
.tk-classes {
  padding: 0 0 4rem;
}
.tk-classes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.tk-classes__grid > img {
  width: 100%;
  height: auto;
}
.tk-classes__img--full {
  grid-column: 1 / -1;
}
@media (max-width: 767px) {
  .tk-classes__grid {
    margin: 0 2%;
  }
}
@media (min-width: 768px) {
  .tk-classes__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    justify-items: center;
    overflow: hidden;
  }
  .tk-classes__grid > img {
    height: clamp(15rem, 20vw, 25rem);
    width: max-content;
  }
  .tk-classes__grid > .tk-classes__img--full {
    grid-column: auto;
  }
}

/* =======================================
   卒業生の声セクション
======================================= */
.tk-voice {
  background-color: var(--color-blue-light);
  padding: 4rem 0 5rem;
}
.tk-voice__layout {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
@media (min-width: 768px) {
  .tk-voice__layout { flex-direction: row; gap: 4rem; align-items: flex-start; }
  .tk-voice__left  { width: 26rem; flex-shrink: 0; }
  .tk-voice__right { flex: 1; }
}
.tk-voice__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.tk-voice__bubble { width: 100%; max-width: 24rem; }
.tk-voice__photo  { width: 100%; max-width: 20rem; margin: 0 auto; }
.tk-voice__photo img { width: 100%; }
.tk-voice__name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-top: 0.8rem;
  line-height: 1.7;
}
.tk-voice__name-highlight {
  font-size: 2.52rem;
}
.tk-voice__right h4 {
  font-size: 1.8rem;
  color: var(--color-blue-muted);
  font-weight: bold;
  margin: 2rem 0 0.8rem;
}
.tk-voice__right p {
  font-size: 1.6rem;
  line-height: 1.9;
  padding: 0 2%;
}
@media (min-width: 768px) {
  .tk-voice__right p { font-size: 1.5rem; }
}

/* =======================================
   生徒の1Dayセクション
======================================= */
.tk-1day {
  background-color: #fce6e4;
  padding: 4rem 0 5rem;
}
@media (min-width: 768px) {
  .tk-1day { margin-top: 6rem; }
  .tk-1day__all { position: relative; top: -8rem; }
}
.tk-1day__layout {
  text-align: center;
}
.tk-1day__layout img {
  width: 100%;
}

/* =======================================
   特進生徒会セクション
======================================= */
.tk-council {
  background-color: var(--color-blue-light);
  padding: 4rem 0 5rem;
}

.tk-council-pres__heading {
  height: 4.2rem;
  width: auto;
}
@media (min-width: 768px) {
  .tk-council-pres__heading { height: 5rem; margin-top: 1rem; margin-bottom: 0.2rem; }
}

.tk-bunkazai-heading {
  height: 4.2rem;
  width: auto;
  margin-bottom: 1.2rem;
}
@media (min-width: 768px) {
  .tk-bunkazai-heading { height: 5rem; }
}

/* 生徒会長挨拶 */
.tk-council-pres {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 4.8rem;
}
/* PC: テキスト左・画像右 */
@media (min-width: 768px) {
  .tk-council-pres { flex-direction: row; gap: 2.5rem; align-items: flex-start; }
  .tk-council-pres__text { flex: 1; }
  .tk-council-pres__photo { width: 27rem; flex-shrink: 0; }
  .tk-council-pres__photo img { width: 100%; position: relative; top: -4rem; }
}
/* SP: 通常表示 */
@media (max-width: 767px) {
  .tk-council-pres__photo { width: 100%; max-width: 32rem; }
  .tk-council-pres__photo img { width: 100%; }
}
.tk-council-pres__sp-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.6rem;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .tk-council-pres__sp-row { display: none; }
}
.tk-council-pres__sp-heading-wrap {
  flex: 1;
  margin-top: 2rem;
}
.tk-council-pres__sp-row .tk-council-pres__photo {
  width: 35%;
  flex-shrink: 0;
}
.tk-council-pres__sp-row .tk-council-pres__photo img {
  width: 100%;
  position: relative;
  top: -6.5rem;
  margin-bottom: -6.5rem;
}

.tk-council-pres__text h3 {
  font-size: 2rem;
  color: #1c2b6b;
  font-weight: bold;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.2rem solid #5b8cbf;
}
.tk-council-pres__text p {
  font-size: 1.6rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
@media (min-width: 768px) {
  .tk-council-pres__text p {
    font-size: 1.5rem;
    line-height: 1.625;
    margin-bottom: 0.6rem;
  }
}
.tk-council-pres__caption {
  font-size: 1.3rem;
  color: #555;
  font-weight: bold;
  text-align: left;
  padding-left: 2rem;
}
@media (min-width: 768px) {
  .tk-council-pres__caption {
    text-align: right;
    padding-left: 0;
  }
}

/* 活動紹介 */
.tk-activity__heading {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto 2.4rem;
}
.tk-activity__panorama {
  width: 100%;
  margin-bottom: 1.2rem;
}
.tk-activity__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media (min-width: 768px) {
  .tk-activity__panorama { margin-bottom: 1.6rem; }
  .tk-activity__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
  }
}
.tk-activity__grid img {
  width: 100%;
}

/* SP/PC 表示切り替え */
.u-sp-only { display: block; }
.u-pc-only { display: none; }
@media (min-width: 768px) {
  .u-sp-only { display: none; }
  .u-pc-only { display: block; }
}
