@charset "UTF-8";
/*
 * school.scss — 校舎詳細ページ共通スタイルの正本(W4-D)
 *
 * 旧 minamiurawa/urawatakasago/urawatokiwa の 3 CSS(97〜99.4% 同一・計約25KB)を統合。
 * 校舎固有分(MV 背景画像・南浦和の school-list 調整)は同ディレクトリの {slug}.scss が担う。
 * 出力: assets/css/page/school/school.css(inc/assets.php が校舎ページで先行ロード)
 * 由来の正本: 旧 urawatokiwa.css(統合時に全角スペース入り閉じ括弧の不正 CSS を修正)
 */
.p-naraigoto {
  position: relative;
  display: block;
  margin-top: 62px;
  margin-bottom: 100px;
  height: auto;
  min-height: 100vh;
}

.p-naraigoto-bg {
  /* background-image は校舎別 CSS が supplies する(W4-D) */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.p-sec01 {
  padding-bottom: 100px;
}

.p-content {
  margin: 0 auto 20px;
  border-radius: 0;
  overflow: hidden;
}

.p-lead {
  font-size: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.025em;
  line-height: 2rem;
}

.p-table th:first-child {
  width: 180px;
  background: #00479D;
  color: #fff;
  vertical-align: middle;
}

.p-table {
  width: 100%;
  font-size: 18px;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

.p-table th:nth-child(n+2) {
  background: #B2C8E2;
  color: #00479D;
  vertical-align: middle;
  border-right: solid 1px #80A3CE;
}

.p-table th:nth-child(6) {
  border: none;
}

.p-table tr {
  border-bottom: solid 1px #80A3CE;
}

.p-table th {
  text-align: center;
  vertical-align: middle;
}

.p-table tr:first-child th {
  height: 70px;
}

.p-table tr:first-child th:nth-child(3) {
  width: 130px;
}

.p-table td {
  padding: 20px;
  text-align: center;
  vertical-align: middle;
  color: #00479D;
  background: #F2F6FA;
  border-right: solid 1px #80A3CE;
}

.p-table td:nth-child(2) {
  text-align: left;
  width: 290px;
}

.p-table tr:last-child,
.p-table td:last-child {
  border: none;
}

.p-map {
  margin: 0 auto 60px;
  overflow: hidden;
  border-radius: 16px;
  height: 600px;
}

.p-map iframe {
  width: 100%;
  height: 100%;
}

.p-scholl {
  text-align: center;
  margin: 0 auto 100px;
}

.p-head {
  color: #00479D;
  font-size: 25px;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  line-height: 1;
  padding-bottom: 20px;
}

/*------習い事の詳細/ｱｺｰﾃﾞｨｵﾝの内部------*/
.p-block {
  margin-bottom: 1.5rem;
  background: #f5f5f5;
  overflow: hidden;
}

.p-block-head {
  position: relative;
  background: #797979;
  color: #fff;
  padding: 1rem 4rem;
  font-size: 2rem;
  cursor: pointer;
}

.p-block-head::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: url("../../../images/page/school/accordion.svg") no-repeat center;
  background-size: contain;
  transform: translateY(-50%) rotate(180deg);
  transition: transform 0.3s ease;
}

.p-block-head.is-open::before {
  transform: translateY(-50%) rotate(0deg);
}

.p-accordion {
  display: none;
  padding: 0;
  background: #fff;
  border-radius: 0;
}

.p-sp {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.8rem;
}

.p-sp th {
  width: 80px;
  background: #AAAAAA;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  padding: 0.6rem;
}

.p-sp td {
  padding: 1.6rem;
  text-align: left;
  color: #616161;
  background: #f9f9f9;
}

.p-sp tr {
  border-bottom: dashed 1px #797979;
}

.p-sp tr:last-child {
  border: none;
}

/*------習い事の詳細/ｱｺｰﾃﾞｨｵﾝ------*/
.lesson-block {
  margin-bottom: 2rem;
}

.lesson-toggle {
  display: block;
  width: 280px;
  margin: 30px auto 0;
  padding: 0.6rem;
  font-size: 2.4rem;
  background: #fff;
  color: #444;
  border: 1px solid #444; /* ← 線の太さと色 */
  cursor: pointer;
}

.lesson-toggle:hover {
  background: #444;
  color: #fff;
  border-color: #444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.lesson-detail {
  display: none;
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1.6;
}

@media screen and (max-width: 1079px) {
  .p-sec01 {
    padding-bottom: 100px;
  }
  .p-table {
    font-size: 1.4rem;
  }
  .p-table td:nth-child(2) {
    width: 270px;
  }
  .p-table td {
    padding: 15px;
  }
  .p-table tr:first-child th {
    height: 50px;
  }
  .p-content {
    border-radius: 0;
    margin: 0 auto 40px;
  }
  .p-map {
    height: 300px;
    margin: 0 auto 40px;
  }
  .p-head {
    font-size: 2.2rem;
    padding-bottom: 10px;
  }
  .p-scholl {
    margin: 0 auto 60px;
  }
}
@media screen and (max-width: 767px) {
  .lesson-toggle {
    width: 140px;
    font-size: 1.4rem;
  }
  .p-naraigoto {
    margin-top: 64px;
  }
  .p-lead {
    font-size: 10px;
    font-size: 1rem;
    line-height: 1.4rem;
  }
  .p-naraigoto-bg {
    /* background-image は校舎別 CSS が supplies する(W4-D) */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  .p-sec01 {
    padding-bottom: 20px;
  }
  .p-content {
    overflow: hidden;
    margin: 0 auto 20px;
    border-radius: 0;
  }
  .p-sp td br {
    display: none;
  }
  .p-block {
    overflow: hidden;
    margin: 0 auto 15px;
    border-radius: 0;
    z-index: 1;
  }
  .p-block:last-child {
    margin: 0 auto;
  }
  .p-block-head {
    display: flex;
    align-items: center;
    position: relative;
    text-align: left;
    color: #fff;
    background: #797979;
    min-height: 50px;
    padding: 10px 45px;
    font-size: 1.4rem;
  }
  .p-block-head::before {
    position: absolute;
    content: "";
    background: url("../../../images/page/urawatakasago/accordion.svg") no-repeat center center;
    background-size: contain;
    width: 28px;
    height: 28px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg); /* 中央揃え＋回転 */
    transition: 0.3s ease;
  }
  .p-block-head.is-open::before {
    transform: translateY(-50%) rotate(0deg);
  }
  .p-accordion {
    display: none;
  }
  .p-sp {
    width: 100%;
    letter-spacing: 0.05em;
    line-height: 1.3;
  }
  .p-sp th {
    width: 60px;
    background: #AAAAAA;
    color: #fff;
    font-size: 1.1rem;
    vertical-align: middle;
    text-align: center;
    padding: 10px 0;
  }
  .p-sp td {
    padding: 15px;
    color: #616161;
    font-size: 12px;
    font-size: 1.2rem;
    text-align: left;
  }
  .p-sp tr {
    border-bottom: dashed 1px #797979;
  }
  .p-sp tr:last-child {
    border: none;
  }
  .p-map {
    height: 400px;
    margin: 0 auto 20px;
    border-radius: 20px;
  }
  .p-head {
    font-size: 2rem;
  }
  .p-scholl {
    text-align: left;
    margin: 0 auto 20px;
  }
}
.schedule-section {
  width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .schedule-section {
    width: 94%;
    margin: 0 auto;
  }
}
/* ========== 対象小学校 ========== */
.school-area {
  text-align: center;
  margin: 4rem auto;
}

/* ========== 対象小学校リスト ========== */
.school-list {
  list-style: none;
  padding: 0 120px;
  margin: 0 auto;
  max-width: 480px;
}

.school-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2.4rem;
  color: #333;
  margin: 6rem 0;
  justify-content: left;
}

.school-list img {
  width: 24px;
  height: auto;
}

/* ========== お知らせリスト ========== */
.school-news {
  width: 900px;
  padding: 40px 20px;
  margin: 40px auto 0;
  background: #fff;
}

.school-news__title {
  font-size: 2rem;
  color: #595757;
  text-align: center;
  margin-bottom: 30px;
}

.school-news__list {
  border-top: 1px dashed #595757;
}

.school-news__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 25px 0;
  border-bottom: 1px dashed #595757;
  font-size: 2rem;
  color: #595757;
}

.school-news__date {
  width: 110px;
  flex-shrink: 0;
}

/* [W4-A2a] .school-news__item(flex)の子のため width を明示(旧 div グローバル依存の解消) */
.school-news__text {
  width: 100%;
}

.school-news__text a {
  color: #595757;
  text-decoration: none;
}

.school-news__button-wrap {
  text-align: right;
  margin-top: 20px;
}

.school-news__button {
  display: inline-block;
  background-color: #595757;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.school-news__button:hover {
  background-color: #444444;
}

@media screen and (max-width: 767px) {
  .school-list {
    padding: 0 150px;
  }
  .school-list li {
    font-size: 1.2rem;
    margin: 3rem 0;
  }
  /* == お知らせリスト == */
  .school-news {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  .school-news__title {
    font-size: 1.6rem;
  }
  .school-news__item {
    font-size: 1.4rem;
  }
  .school-news__button {
    font-size: 1.3rem;
    padding: 8px 18px;
  }
  .school-news__date {
    width: 80px !important;
  }
}
/* =========================================================
   [W4-C3] 旧 assets/scss/common/_components.scss から全量移設
   (section-title 系・facility-* — 全クラスが page-school.php +
    fit-crosslink.php(page-school からのみ include)に閉じることを実証済み。
    全ページ配信 → 校舎3ページ局所配信へ。クラス名不変)
   ========================================================= */
/* =========================================================
   Common components: Section Title (for fixed pages)
   ========================================================= */
/* 見出しブロック（PC） */
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20rem;
}

.section-title img {
  width: 60px;
  height: auto;
  margin-bottom: 0.5rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-family: "秀英丸ゴシック B", sans-serif;
  color: #444;
  font-size: 3.4rem;
  width: auto;
  background: linear-gradient(to top, #d9eef9 50%, transparent 50%);
  padding: 0;
  margin: 0 auto;
}

.section-line-dots {
  display: flex;
  /* [W4-A2a] 親 .section-title(flex)の子のため width を明示(旧 div グローバル依存の解消) */
  width: 100%;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.section-line-dots span {
  display: block;
  width: 10px;
  height: 4px;
  background-color: #444;
  border-radius: 2px;
}

/* =========================================================
   Common components: Facility Intro (for school pages)
   ========================================================= */
/* ========== 施設詳細（PC） ========== */
.facility-intro-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  margin: 10rem auto;
  padding: 0 30px;
  width: 1100px;
}

.facility-description {
  flex: 1 1 48%;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.facility-lead {
  color: #767676;
  margin: 40px 0;
  font-size: 22px;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.facility-table {
  flex: 1 1 48%;
  background-color: #eaf8ff;
  border-radius: 20px;
  padding: 0 2rem 1rem;
}

.facility-table table {
  width: 100%;
  border-collapse: collapse;
}

.facility-table .table-title {
  color: #767676;
  font-size: 18px;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.facility-table th {
  color: #767676;
  text-align: center;
  width: 95px;
  font-size: 18px;
  font-size: 1.8rem;
  vertical-align: middle;
  height: 80px;
}

.facility-table td {
  color: #767676;
  font-size: 18px;
  font-size: 1.8rem;
  vertical-align: middle;
  text-align: left;
  letter-spacing: -0.02em;
  padding-left: 3.2rem;
  line-height: 3.2rem;
  height: 80px;
}

.facility-table tr {
  border-top: dashed 1px #6acdff;
  border-bottom: dashed 1px #6acdff;
}

.facility-table tr.table-title-row {
  border-top: none;
}

.facility-table a {
  color: #6fba2c;
  text-decoration: underline;
}

/* =========================================================
   Responsive overrides (max-width: $bp-sp-max)
   ========================================================= */
@media screen and (max-width: 767px) {
  /* 見出しブロック（SP） */
  .section-title {
    margin-top: 60px;
  }
  .section-title img {
    width: 40px;
  }
  .section-heading {
    font-size: 1.8rem;
  }
  .section-line-dots {
    gap: 4px;
  }
  .section-line-dots span {
    width: 5px;
    height: 2px;
    border-radius: 2px;
  }
  /* 施設詳細（SP） */
  .facility-intro-container {
    flex-direction: column;
    margin: 6rem auto;
    width: 100%;
    gap: 0rem;
  }
  .facility-description,
  .facility-table {
    flex: 1 1 100%;
  }
  .facility-lead {
    font-size: 15px;
    font-size: 1.5rem;
    margin: 0 auto 40px;
  }
  .facility-table .table-title {
    font-size: 13px;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  .facility-table th {
    font-size: 13px;
    font-size: 1.3rem;
    height: 50px;
    width: 55px;
  }
  .facility-table td {
    font-size: 13px;
    font-size: 1.3rem;
    height: 50px;
    line-height: 1.6rem;
  }
}

/*# sourceMappingURL=school.css.map */
