/* 作成者名　坂井 */

/* 共通設定 */
/* 使用カラー */
:root {
  --black: #333333;
  --purple: #634b6d;
  --red: #bb4747;
}
/* 使用フォント */
:root {
  --ZenKaku: "Zen Kaku Gothic New", serif;
}
:root {
  /* font-weight */
  --thin: 100;
  --extralight: 200;
  --light: 300;
  --regular: 400;
  --medium: 500;
  --semibold: 600;
  --bold: 700;
  --extrabold: 800;
  --black: 900;
}

.facility_wrap {
  font-family: var(--ZenKaku);
  /* background-color: #fff; */
  margin-bottom: 10rem;
}

/* 施設紹介セクション */
.facility_introduction {
  /* width: 18rem; */
  margin-top: 8rem;
  /* margin-inline: auto; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.facility_titleitem {
  position: relative;
}
.facility_title {
  font-size: 4.5rem;
  line-height: 6.5rem;
  text-align: center;
  color: var(--purple);
  font-weight: var(--bold);
}

.facility_line {
  width: 20.5rem;
  margin-top: 1.05rem;
  border: solid 0.2rem var(--purple);
}

.facility_image {
  width: 19.9rem;
  height: 19.4rem;
  position: absolute;
  top: -4rem;
  right: -20rem;
}

/* メイン画像 */
.main_image {
  width: 107.9rem;
  height: 52.9rem;
  margin: 0 auto 0;
}

/* テキストセクション */
.textSec {
  margin-top: 7.8rem;
}

.textSec_title {
  margin: 0 auto;
  width: 106.6rem;
  /* height: 10.8rem; */
  position: relative;
  padding: 2.5rem 2rem 4.3rem 2rem;
  border: 0.3rem solid #fbedf5;
  background-color: #fbedf5;
  font-size: 2.8rem;
  font-weight: var(--bold);
  color: var(--purple);
}

.textSec_title::before {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100%;
  height: 100%;
  border: 0.3rem solid var(--purple);
  content: "";
}

.textSec_subtitle {
  position: relative;
  /* height: 4rem; */
  margin: 4.8rem 10rem 0 10rem;
  overflow: hidden;
  color: var(--purple);
  font-weight: var(--bold);
  font-size: 2rem;
  line-height: 2.9rem;
}

.textSec_subtitle:before,
.textSec_subtitle:after {
  position: absolute;
  width: 100%;
  bottom: 0rem;
  content: "";
}

.textSec_subtitle:before {
  border-bottom: 0.3rem solid var(--purple);
}

.textSec_subtitle:after {
  border-bottom: 0.3rem solid #c2c2c2;
}

.textSec_text {
  font-size: 1.7rem;
  line-height: 3.5rem;
  font-weight: var(--bold);
  color: #454545;
}

.textSec_con1 {
  width: 101.4rem;
  margin: 2rem auto 0;
}

.textSec_image_text {
  width: 101.4rem;
  margin: 4.8rem auto 0;
  display: flex;
  gap: 3.9rem;
}

.textSec_image {
  width: 40.8rem;
  height: 28.8rem;
}

.textSec_con2 {
  width: 56.7rem;
}

/* ボタンリンクセクション */
.btnSec {
  margin-top: 10.55rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btnSec_con {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btnSec_link {
  font-size: 2.5rem;
  line-height: 3.5rem;
  color: var(--purple);
  font-weight: var(--bold);
}

.btnSec_line {
  width: 25.95rem;
  margin-top: 1.05rem;
  border: solid 0.2rem #707070;
}

.btnSec_button {
  display: flex;
  align-items: center;
}

.btnSec_button_image {
  width: 4.55rem;
  height: 4.55rem;
  margin-left: 1.45rem;
}

/* テーブルセクション */
.tableSec {
  margin: 10.5rem 13.3rem 0 13.3rem;
}

.tableSec_table {
  width: 100%;
  border-collapse: collapse;
}

.tableSec_title,
.tableSec_text {
  font-size: 1.8rem;
  line-height: 3.5rem;
  font-weight: var(--bold);
  color: #454545;
  padding: 1.6rem;
  border: 0.1rem solid #707070;
}

.tableSec_title {
  width: 37rem;
  background-color: #fbedf5;
  text-align: center;
}

.tableSec_text {
  background-color: #ffffff;
}

/* タイムテーブルセクション */
.time_tableSec {
  margin: 11.5rem 13.3rem 12rem 13.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.timetable_entry {
  display: flex;
  align-items: start;
  gap: 3.2rem;
  position: relative;
}

.timetable_time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.time {
  font-size: 2rem;
  font-weight: var(--bold);
  color: var(--purple);
  letter-spacing: 0.18rem;
}

.timetable_line {
  width: 0;
  position: absolute;
  top: 3.8rem;
  bottom: 0; /* 下端に合わせる */
  left: 2.3rem;
  border-left: 0.2rem solid #634b6d;
}

.timetable_details {
  width: 100%;
}

.timetable_title {
  font-size: 2rem;
  font-weight: var(--bold);
  color: #454545;
}

.timetable_text {
  margin-top: 1.2rem;
  font-size: 1.7rem;
  line-height: 3.5rem;
  font-weight: var(--bold);
  color: #454545;
  padding-bottom: 3.1rem;
}

@media screen and (max-width: 699.98px) {
  /* 施設紹介セクション */
  .facility_introduction {
    margin-top: 0.9rem;
  }

  .facility_title {
    font-size: 3.4rem;
    line-height: 4.9rem;
  }

  .facility_line {
    width: 20.5rem;
    margin-top: 0.575rem;
  }

  .facility_image {
    width: 6.5rem;
    height: 6.6rem;
    top: 3rem;
    right: -6rem;
  }

  /* メイン画像 */
  .main_image {
    width: 100%;
    height: 25rem;
    margin-top: 4.125rem;
  }

  /* テキストセクション */
  .textSec {
    margin-top: 4rem;
  }

  .textSec_title {
    margin: 0 auto;
    width: 33.5rem;
    /* height: 3.9rem; */
    position: relative;
    padding: 0.1rem 0.8rem 0.9rem 0.8rem;
    border: 0.1rem solid #fbedf5;
    background-color: #fbedf5;
    font-size: 2rem;
    line-height: 2.9rem;
  }

  .textSec_title::before {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    width: 100%;
    height: 100%;
    border: 0.1rem solid var(--purple);
    content: "";
  }

  .textSec_subtitle {
    position: relative;
    /* height: 4rem; */
    margin: 1.5rem 2rem 0 2rem;
    overflow: hidden;
    color: var(--purple);
    font-weight: var(--bold);
    font-size: 1.8rem;
    line-height: 2.6rem;
  }

  .textSec_subtitle:before,
  .textSec_subtitle:after {
    position: absolute;
    width: 100%;
    bottom: 0rem;
    content: "";
  }

  .textSec_subtitle:before {
    border-bottom: 0.2rem solid var(--purple);
  }

  .textSec_subtitle:after {
    border-bottom: 0.2rem solid #c2c2c2;
  }

  .textSec_text {
    font-size: 1.6rem;
    line-height: 2.5rem;
    font-weight: var(--medium);
  }

  .textSec_con1 {
    width: 32rem;
    margin: 1.5rem auto 0;
  }

  .textSec_image_text {
    width: 32rem;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

  .textSec_image {
    width: 100%;
    height: 25rem;
  }

  .textSec_con2 {
    width: 100%;
  }

  /* ボタンリンクセクション */
  .btnSec {
    margin-top: 4rem;
    padding-right: 2.744rem;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
  }

  .btnSec_link {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .btnSec_line {
    width: 12.7rem;
    margin-top: 0.398rem;
    border: solid 0.1rem #707070;
  }

  .btnSec_button_image {
    width: 2.121rem;
    height: 2.121rem;
    margin-left: 1.184rem;
  }

  /* テーブルセクション */
  .tableSec {
    margin: 4rem 2.7rem 0 2.7rem;
  }

  .tableSec_table {
    width: 100%;
    border-collapse: collapse;
  }

  .tableSec_title,
  .tableSec_text {
    font-size: 1.2rem;
    line-height: 1.8rem;
    padding: 1.1rem 0.9rem;
    text-align: left; /* 左揃え */
    vertical-align: top; /* 上揃え */
  }

  .tableSec_title {
    width: 12.65rem;
    background-color: #fbedf5;
  }

  .tableSec_text {
    background-color: #ffffff;
  }

  /* タイムテーブルセクション */
  .time_tableSec {
    margin: 4.055rem 2.75rem 4.845rem 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .timetable_line {
    position: absolute;
    top: 3.8rem;
    bottom: 0; /* 下端に合わせる */
    left: 2.4rem;
    border-left: 0.2rem solid #634b6d;
  }

  .timetable_text {
    margin-top: 1.2rem;
    font-size: 1.5rem;
    line-height: 2.8rem;
    padding-bottom: 4.2rem;
  }
}
