.SP {
  display: none;
}
.favorite {
  display: block;
  background-image: url(/assets/img/ico/ico_favorite01.svg);
  background-repeat: no-repeat;
  height: 18px;
  width: 15px;
  cursor: pointer;
}
.favorite.is-favorite {
  background-image: url(/assets/img/ico/ico_favorite02.svg);
}
.info-link {
  color: #333;
}
.info-link:hover {
  color: #333;
}
.info-link:visited {
  color: #333;
}

.school-detail__info-left {
  width: 460px;
  order: 1;
}
.school-detail__info-right {
  width: 460px;
  order: 2;
}
.school-detail__section {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.school-detail__image-img {
  width: 460px;
  height: auto;
  overflow: hidden;
}
.school-detail__image-img img {
  transform: scale(1.1);
  object-fit: cover;
}
.school-detail__image-text {
  font-size: 1.2rem;
  text-align: center;
}
.main-swiper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px;
}
.main-swiper .swiper-slide img {
  width: 100%;
  height: auto;
}
/* 共通のスタイル */
.swiper-button-prev,
.swiper-button-next {
  width: 38px;
  height: 38px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* デフォルトアイコンを非表示にする */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* 左矢印の背景画像 */
.swiper-button-prev {
  background-image: url("/assets/img/ico/ico_arrow-left-circle.svg");
}
/* 右矢印の背景画像 */
.swiper-button-next {
  background-image: url("/assets/img/ico/ico_arrow-right-circle.svg");
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.5;
}

.thumbs-container {
  display: grid;
  position: relative;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  justify-content: center;
}

.thumb-wrap {
  width: 50px;
  height: auto;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}
.thumb-wrap.active {
  border: 2px solid orange;
}
.thumb {
  width: 100%;
  object-fit: cover;
  transform: scale(1.2); /* 常時拡大 */
}

h2.movie-section__title {
  font-size: 1.6rem;
  margin: 60px 0 20px 0;
}
.movie-section__list {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  gap: 4px;
  justify-content: start;
}
.movie-section__caption {
  font-size: 1.2rem;
  font-weight: 300;
}
.movie-section__item {
  width: 110px;
}
.nearby-schools__list {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  gap: 4px;
  justify-content: start;
}

.nearby-schools__item {
  width: 110px;
}
.nearby-schools__image {
  width: 110px;
  position: relative;
  overflow: hidden;
}
.nearby-schools__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.1);
}
.nearby-schools__name {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.5;
  font-weight: 300;
}
.nearby-schools__name a {
  color: #333;
}

h2.nearby-schools__title {
  font-size: 1.6rem;
  margin: 60px 0 20px 0;
}

/* ─────────────── ランキング見出し ─────────────── */
.school-ranking__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

h2.school-ranking__title {
  font-size: 1.6rem;
  margin: 60px 0 8px 0;
}

.school-ranking__link {
}

.school-ranking__link:hover {
  text-decoration: underline;
}

/* ─────────────── 日付・種別 ─────────────── */
.school-ranking__meta {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* ─────────────── ランキングリスト ─────────────── */
.school-ranking__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  counter-reset: ranking;
}

.school-ranking__item {
  width: 110px;
}

.school-ranking__image {
  width: 110px;
  position: relative;
  overflow: hidden;
}

.location {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.5;
}
.school-name {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.5;
}
.price {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.5;
}

/* ランキング番号の黒帯 */
.school-ranking__image::before {
  counter-increment: ranking;
  content: counter(ranking);
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.6rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-ranking__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.1);
}
.school-ranking__name {
  font-size: 1.2rem;
  /*margin: 4px 0 0 0;*/
  margin: 0;
}
.school-ranking__name a {
  color: #333;
}
.school-ranking__price {
  font-size: 1.2rem;
  margin: 0 0 4px 0;
}

.recently-viewed-schools {
  background-color: #ececec;
  padding: 0 20px;
  margin: 60px 0 20px 0;
}
h2.recently-viewed-schools__title {
  font-size: 1.6rem;
  padding: 30px 0 20px 0;
  margin: 0;
}
h2.recently-viewed-schools__title::before {
  content: unset;
}
.recently-viewed__image {
  width: 110px;
  height: 70px;
  overflow: hidden;
}
.recently-viewed__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.1);
}
.recently-viewed__name {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.5;
}
.recently-viewed-swiper-button-prev.swiper-button-prev.swiper-button-disabled,
.recently-viewed-swiper-button-next.swiper-button-next.swiper-button-disabled {
  opacity: 0;
}

.recently-viewed-swiper-button-prev.swiper-button-prev,
.recently-viewed-swiper-button-next.swiper-button-next {
  top: var(--swiper-navigation-top-offset, 40%);
}
/* 共通のスタイル */
.swiper-button-prev,
.swiper-button-next {
  width: 38px;
  height: 38px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 右側コンテンツ */
.school-card {
  max-width: 460px;
}
.school-card .school-detail__title {
  font-weight: 600;
  padding: 0 !important;
  margin: 0 !important;
}
.school-card .school-detail__price {
  font-size: 2.2rem;
  margin: 0 0 32px 0;
}
.school-card .school-detail__price span {
  font-size: 1.4rem;
}

.school-detail__campaign-link {
  text-decoration: none;
}
.school-detail__campaign-link:hover {
  text-decoration: none;
}
.school-card .school-detail__campaign {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f5f5f5;
  margin: 0 0 32px 0;
}
.school-card .school-detail__campaign::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 4px;
  background-image: url(/assets/img/ico/ico_chevron-right-grey.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.school-card .school-detail__campaign .school-detail__campaign-icon {
  width: 30px;
  height: 30px;
  border: 1px solid #909090;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #909090;
}
.school-card .school-detail__campaign .school-detail__campaign-text {
  font-size: 1.2rem;
  color: #909090;
  width: 80%;
}

.school-card .school-detail__catch {
  margin-bottom: 32px;
}
.school-card .school-detail__catch .school-detail__lead {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}
.school-card .school-detail__catch .school-detail__lead::before {
  content: unset !important;
}
.school-card .school-detail__point {
  border-top: 1px solid #ffc523;
  border-bottom: 1px solid #ffc523;
  margin-bottom: 32px;
  font-size: 1.4rem;
  padding-bottom: 20px;
}

.school-card .school-detail__point-label {
  display: inline-block;
  background-color: #ffc523;
  color: white;
  font-weight: 600;
  padding: 0 20px;
  border-radius: 0px 0px 8px 8px;
  margin-bottom: 8px;
}

.school-card .school-detail__point-text p {
  margin: 4px 0;
  font-size: 14px;
  color: #333;
}

.school-card .school-detail__tabs {
  display: flex;
  gap: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  border-bottom: 2px solid #ccc;
}

.school-card .school-detail__tab {
  width: 33%;
  font-size: 2rem;
  text-align: center;
  padding: 4px 8px;
  margin-bottom: -2px;
  cursor: pointer;
  color: #909090;
  border-bottom: 4px solid transparent;
}

.school-card .school-detail__tab.active {
  border-color: #000;
  color: #333333;
  font-weight: 600;
}

.school-card .school-detail__tab-content {
  display: none;
  padding: 10px 0;
}

.school-card .school-detail__tab-content.active {
  display: block;
}
.school-card .school-detail__select-wrap {
  width: 100%;
  margin-bottom: 60px;
}

.school-card .school-detail__select-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.school-card .school-detail__select-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.school-card .school-detail__select-box:nth-child(odd) {
  border-right: 1px solid;
}

.school-card .school-detail__select-box label {
  padding-left: 4px;
  color: #909090;
}

.school-card .school-detail__select-box select {
  width: 200px;
  appearance: auto;
  font-size: 1.4rem;
}

/* 選択結果ボックス */
.school-card .school-detail__box {
  background: #fff8d2;
  padding: 20px;
  border-radius: 8px;
  position: relative;
}
.school-card .school-detail__box::before {
  content: "";
  width: 68px;
  height: 74px;
  top: -15px;
  right: 36px;
  position: absolute;
  z-index: 1;
  margin-right: 4px;
  background-image: url(/assets/img/ponta.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

/* 宿泊施設紹介 */
.school-card .school-detail__facility {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  margin-bottom: 40px;
  justify-content: space-between;
  align-items: start;
  background-color: #fff;
  padding: 32px 12px 32px 12px;
  margin-top: 26px;
}

.school-card .school-detail__facility-img {
  width: 180px;
  height: auto;
  overflow: hidden;
}
.school-card .school-detail__facility-img img {
  width: 100%;
  transform: scale(1.1);
  object-fit: cover;
}
.school-card .school-detail__facility-text {
  width: 50%;
}
.school-card .school-detail__facility-text h3 {
  margin: 0 0 6px 0;
  background-color: unset;
  padding: 0;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid #d1d1d1;
}

.school-card .school-detail__facility-text p {
  font-size: 1.2rem;
}

/* カレンダー */
.school-card .school-detail__calendar {
  padding-bottom: 16px;
}
.school-card .school-detail__calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-weight: 600;
  font-size: 1.6rem;
}
.school-card .school-detail__calendar-header .prev-month,
.school-card .school-detail__calendar-header .next-month {
  width: 7px;
  height: 12px;
  cursor: pointer;
}

.school-card .school-detail__calendar-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.school-card .school-detail__calendar-item {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0;
  position: relative;
}

.school-card .school-detail__calendar-item .school-detail__calendar-date {
  width: 30%;
  background-color: #f5f5f5;
  text-align: center;
  padding: 4px 0 4px;
}
.school-card .school-detail__calendar-item .school-detail__calendar-date p {
  margin: 0;
}
.school-card .school-detail__calendar-item .school-detail__calendar-date .date {
  font-size: 2rem;
}
.school-card .school-detail__calendar-item .school-detail__calendar-date .week {
  font-size: 1.2rem;
}
.school-card
  .school-detail__calendar-item
  .school-detail__calendar-date
  .min-date {
  font-size: 1.2rem;
}

.school-card .school-detail__calendar-item .school-detail__calendar-price {
  font-size: 2rem;
  font-weight: 600;
  width: 38%;
}
.school-card .school-detail__calendar-item .school-detail__calendar-price span {
  font-size: 1.2rem;
  margin-left: 4px;
}
.school-card .school-detail__calendar-item .school-detail__calendar-price.sale {
  color: #ff0000;
}
.school-card
  .school-detail__calendar-item
  .school-detail__calendar-price
  .sale-label {
  background: #ff0000;
  border-radius: 0 0 4px 4px;
  color: #fff;
  padding: 0 8px;
  position: absolute;
  top: 0;
  margin-bottom: 4px;
}

.school-card .school-detail__calendar-item .school-detail__calendar-actions {
  width: 27%;
  display: flex;
  gap: 8px;
  align-items: center;
}

.school-card .school-detail__calendar-item .school-detail__apply-btn {
  font-size: 1.2rem;
  color: #ff9123;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.school-card .school-detail__calendar-item .school-detail__apply-btn::after {
  content: "";
  display: block;
  background-image: url(/assets/img/btn/btn02.svg);
  background-repeat: no-repeat;
  height: 13px;
  width: 13px;
  cursor: pointer;
  margin-left: 4px;
}
.school-card .school-detail__calendar-item .school-detail__apply-btn:visited {
  color: #ff9123;
}
.school-card .school-detail__calendar-item .school-detail__apply-btn:hover {
  color: #ff9123;
  text-decoration: none;
}

.school-card
  .school-detail__calendar-item
  .school-detail__calendar-actions
  .school-detail__favorite {
  display: block;
  background-image: url(/assets/img/ico/ico_favorite01.svg);
  background-repeat: no-repeat;
  height: 13px;
  width: 15px;
  cursor: pointer;
}
.school-card
  .school-detail__calendar-item
  .school-detail__calendar-actions
  .school-detail__favorite.is-favorite {
  background-image: url(/assets/img/ico/ico_favorite02.svg);
}

/* 注意文 */
.school-card .school-detail__note {
  list-style: disc;
  padding-left: 16px;
}
.school-card .school-detail__note li {
  margin: 0;
}
.school-card .school-detail__note li::marker {
  font-size: 0.8rem;
}

/* アコーディオン */
.accordion__toggle {
  cursor: pointer;
  position: relative;
  border-top: 1px solid #333;
  margin: 0;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
h3.accordion__toggle {
  margin: 0;
}
.accordion__icon {
  position: absolute;
  top: 40%;
  right: 32px;
  width: 16px;
  height: 16px;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background-color: #333;
  transition: transform 0.3s ease;
}
.accordion__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.accordion__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
.accordion__toggle.open .accordion__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.accordion__content {
  display: none;
  transition: all 0.3s ease;
  padding-bottom: 24px;
}
.accordion__content.open {
  display: block;
}

.accordion__content-heading {
  background: #ff9123;
  color: white;
  font-size: 1.6rem;
  font-weight: 600;
}
h4.accordion__content-heading {
  margin: 20px 0 12px 0;
  padding: 8px 0 8px 12px;
}
h4.accordion__content-heading::before {
  content: unset;
}

.accordion__content-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 10px 0;
}
.accordion__content-title::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: #ff9123; /* オレンジ色 */
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 4px;
}
.accordion__content-tag {
  margin: 10px 0;
}
.tag {
  font-size: 1.6rem;
  padding: 0px 16px;
  border: 1px solid #ff9123;
  border-radius: 20px 20px 20px 20px;
  color: #ff9123;
}
.updated {
  font-size: 1.2rem;
  color: #ff0000;
  font-weight: initial;
  margin-left: 12px;
}
.highlight {
  font-weight: 600;
  font-size: 15px;
  margin: 8px 0;
}
.code {
  background: white;
  font-size: 1.4rem;
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 4px;
}
.accordion__content-img-txt {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 40px;
}
.accordion__content-img-txt img {
  width: 48%;
}
.accordion__content-img-txt p {
  width: 48%;
  font-size: 1.2rem;
}

.accordion__content-description {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.accordion__content-description dt {
  width: 100%;
  font-size: 1.4rem;
  background: #eeeeee;
  text-align: center;
  padding: 12px 20px;
}
.accordion__content-description dd {
  width: 100%;
  font-size: 1.4rem;
  background: #fff;
  padding: 12px 20px;
}

.school-detail__accordion details {
  border-top: 1px solid #ccc;
  padding: 10px 0;
  font-size: 14px;
}

.room-area {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 30px;
}
.room-detail {
  width: 200px;
  background: #fff;
  padding: 2px;
}
.room-detail img {
  width: 100%;
  height: auto;
}
.room-detail p {
  color: #333;
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.room-detail p::after {
  content: "";
  width: 8px;
  height: 10px;
  background-image: url(/assets/img/ico/ico_chevron-right.svg);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  margin-right: 4px;
}
.room-detail p a {
  color: #333;
}
.room-detail p a:visited {
  color: #333;
}
.room-detail p a:hover {
  text-decoration: none;
}
.rest-room-detail {
  width: 420px;
  height: auto;
}
.accordion__content-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 30px 0 0 0;
}
/* テーブル */
.school-detail__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 40px 0;
}
.school-detail__table th,
.school-detail__table td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  vertical-align: top;
}

.school-detail__table th {
  background: #eee;
  text-align: center;
  vertical-align: middle;
}
.school-detail__table td {
  background: #fff;
  padding-left: 20px;
  vertical-align: middle;
}
.school-detail__table.amenities th {
  width: 110px;
  text-align: center;
}
.school-detail__table.amenities td {
  width: 100px;
  text-align: center;
  padding: 6px 0;
}
.access-name {
  font-size: 1.6rem;
}
.access-zip,
.access-address {
  font-size: 1.4rem;
}
.access-map {
  width: 100%;
  height: auto;
}
.area-map {
  width: 420px;
}
.area-map img {
  width: 100%;
  height: auto;
}

/* share */
.share-box {
  text-align: center;
  margin-top: 24px;
  padding-bottom: 30px;
  border: 2px solid #ff9123;
}

.share-box__label {
  background-color: #ff9123;
  color: #fff;
  font-weight: 600;
  font-size: 1.6rem;
  padding: 6px 10px;
  position: relative;
}
.share-box__label::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  bottom: -4px;
  right: 50%;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #ff9123;
}
.share-box__title {
  font-size: 1.6rem;
  margin: 12px 0 16px;
}
.share-box__icons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: nowrap;
}

.share-box__icon {
  display: inline-block;
}
.share-box__icon img {
  width: 40px;
  height: auto;
}
.share-box__icon:hover {
  transform: scale(1.1);
}

/* 大型用料金表 */
.school-detail__truck-calendar {
  padding-bottom: 16px;
}
.school-card
  .school-detail__truck-calendar-item
  .school-detail__truck-calendar-price.sale {
  color: #ff0000;
  position: relative;
}
.school-card
  .school-detail__truck-calendar-item
  .school-detail__truck-calendar-price
  .sale-label {
  background: #ff0000;
  border-radius: 0 0 4px 4px;
  color: #fff;
  padding: 0 8px;
  position: absolute;
  top: 0;
  margin-bottom: 4px;
}
.school-detail__truck-calendar-header {
  gap: 16px;
  display: flex;
  margin-bottom: 20px;
  font-size: 1.6rem;
  flex-wrap: nowrap;
  justify-content: start;
}

.school-detail__truck-calendar-entry,
.school-detail__truck-calendar-short {
  display: flex;
  align-items: center;
  gap: 4px;
}

.entry-headline,
.short-headline {
  padding: 0 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #333;
  font-weight: 600;
}

.entry-day {
  font-weight: normal;
  font-size: 1.6rem;
}

/* カレンダーリスト */
.school-detail__truck-calendar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

/* カレンダー項目 */
.school-detail__truck-calendar-item {
  border-radius: 4px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
}

/* 日付表示部分 */
.school-detail__truck-calendar-date {
  width: 100%;
  background-color: #eee;
  text-align: center;
}
.school-detail__truck-calendar-date p {
  font-weight: 600;
  font-size: 1.6rem;
}
/* 金額 */
.school-detail__truck-calendar-price {
  width: 50%;
  padding: 12px 0;
  background-color: #fff;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.school-detail__truck-calendar-price span {
  font-size: 1.2rem;
  margin-left: 4px;
}

/* 申込ボタンとお気に入り */
.school-detail__truck-calendar-actions {
  width: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.school-card
  .school-detail__calendar-item
  .school-detail__truck-calendar-actions
  .school-detail__apply-btn {
  font-size: 1.2rem;
  color: #ff9123;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.school-card
  .school-detail__truck-calendar-list
  .school-detail__truck-calendar-actions
  .school-detail__truck-apply-btn {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff9123;
  text-decoration: none;
  display: flex;
  align-items: center;
  align-items: center;
}
.school-card
  .school-detail__truck-calendar-list
  .school-detail__truck-calendar-actions
  .school-detail__truck-apply-btn::after {
  content: "";
  display: block;
  background-image: url(/assets/img/btn/btn02.svg);
  background-repeat: no-repeat;
  height: 13px;
  width: 13px;
  cursor: pointer;
  margin-left: 4px;
}
.school-card
  .school-detail__truck-calendar-list
  .school-detail__truck-calendar-actions
  .school-detail__truck-apply-btn:visited {
  color: #ff9123;
}
.school-card
  .school-detail__truck-calendar-list
  .school-detail__truck-calendar-actions
  .school-detail__truck-apply-btn:hover {
  color: #ff9123;
  text-decoration: none;
}

.school-card
  .school-detail__truck-calendar-list
  .school-detail__truck-calendar-actions
  .school-detail__favorite {
  display: block;
  background-image: url(/assets/img/ico/ico_favorite01.svg);
  background-repeat: no-repeat;
  height: 13px;
  width: 15px;
  margin-left: 4px;
  cursor: pointer;
}
.school-card
  .school-detail__truck-calendar-list
  .school-detail__truck-calendar-actions
  .school-detail__favorite.is-favorite {
  background-image: url(/assets/img/ico/ico_favorite02.svg);
}
/* PC向けのスタイル */
@media (min-width: 768px) {
  .gallery-overlay {
    display: none;
  }
}

/* スマートフォン向けのスタイル */
@media (max-width: 767.9px) {
  .PC {
    display: none !important;
  }
  .SP {
    display: block;
  }
  .favorite {
    margin-left: 8px;
  }
  .school-detail__info-right {
    order: 1;
  }
  .school-detail__info-left {
    order: 2;
  }

  main .wrapper {
    padding: 0 !important;
  }
  .school-detail__section {
    flex-wrap: wrap;
  }

  .info-toggle {
    border-top: 1px solid #eee;
  }

  .info-toggle__item {
    border-bottom: 1px solid #eee;
    background-color: #fff5cc;
  }

  .info-toggle__header {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    font-size: 1.6rem;
    font-weight: 600;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
  }

  .info-toggle__header::after {
    content: "";
    position: absolute;
    right: 16px;
    content: "";
    width: 12px;
    height: 12px;
    background-image: url(/assets/img/ico/ico_chevron-down.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .info-toggle__header.active::after {
    content: "";
    width: 12px;
    height: 12px;
    background-image: url(/assets/img/ico/ico_chevron-up.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .info-toggle__content {
    display: none;
    font-size: 1.4rem;
    background-color: #fff;
  }
  .school-info {
    padding: 4px 20px;
  }
  .info-wrapper {
    margin-bottom: 40px;
  }
  .school-card .school-detail__title {
    font-size: 1.8rem;
  }
  .school-card .school-detail__price {
    font-size: 1.6rem;
  }
  .school-card .school-detail__campaign .school-detail__campaign-text {
    font-size: 1rem;
  }
  .school-card .school-detail__point p {
    padding: 0 12px;
  }
  .school-card .school-detail__point-label {
    margin-bottom: 0;
  }
  .school-card .school-detail__point {
    padding-bottom: 8px;
  }
  .school-card .school-detail__select-box label {
    font-size: 1rem;
  }
  .school-card .school-detail__catch {
    margin: 12px 0;
  }
  .school-card .school-detail__catch .school-detail__lead {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
  }
  .school-card .school-detail__select-wrap {
    padding: 12px 16px;
  }
  .school-card .school-detail__select-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 0 8px 0;
    gap: 8px;
    border-bottom: none;
  }
  .school-card .school-detail__select-box {
    width: 100%;
    flex: none;
    font-size: 1.3rem;
    border-bottom: 1px solid #ddd;
  }
  .school-card .school-detail__select-box select {
    width: 100%;
  }
  .school-card .school-detail__select-box:nth-child(odd) {
    border-right: none;
  }
  .school-card .school-detail__select-wrap {
    margin-bottom: 40px;
  }
  .school-card .school-detail__facility-img {
    /*width: 150px;*/
    width: 40%;
  }
  .school-card .school-detail__facility-text {
    width: 55%;
  }
  .school-card .school-detail__facility-text h3 {
    font-size: 1.3rem;
  }
  .school-card .school-detail__facility-text p {
    font-size: 1.3rem;
  }
  .school-card .school-detail__calendar-header {
    margin-bottom: 12px;
  }
  .school-card
    .school-detail__calendar-item
    .school-detail__calendar-date
    .date {
    font-size: 1.6rem;
  }
  .school-card
    .school-detail__calendar-item
    .school-detail__calendar-date
    .week {
    font-size: 0.9rem;
  }
  .school-card
    .school-detail__calendar-item
    .school-detail__calendar-date
    .min-date {
    font-size: 1rem;
  }
  .school-card .school-detail__calendar-item .school-detail__calendar-price {
    font-size: 1.6rem;
    width: 35%;
  }
  .school-card
    .school-detail__calendar-item
    .school-detail__calendar-price
    span {
    font-size: 1rem;
  }
  .school-card .school-detail__calendar-item .school-detail__apply-btn {
    font-size: 1rem;
  }
  .school-card .school-detail__calendar-item .school-detail__calendar-date {
    width: 25%;
  }
  .school-card .school-detail__calendar-item .school-detail__calendar-actions {
    width: 35%;
  }
  .school-card .school-detail__calendar-item .school-detail__apply-btn::after {
    margin-left: 4px;
  }
  .school-card
    .school-detail__calendar-item
    .school-detail__calendar-actions
    .school-detail__favorite {
    margin-left: 12px;
  }
  .accordion__content-img-txt {
    margin-bottom: 0;
  }
  .accordion__content-description {
    margin-bottom: 20px;
  }
  h4.accordion__content-heading {
    font-size: 1.5rem;
  }
  .accordion__content-title {
    font-size: 1.4rem;
  }
  h3.accordion__toggle {
    font-size: 1.6rem;
  }
  .tag {
    font-size: 1.3rem;
  }
  .code {
    font-size: 1.3rem;
  }
  .updated {
    font-size: 1rem;
  }
  .room-detail {
    width: 48%;
  }
  .rest-room-detail {
    width: 100%;
  }
  .school-detail__table th {
    font-weight: 300;
  }
  .accordion__content-subtitle {
    font-size: 1.3rem;
  }
  .accordion__content-description dd {
    font-size: 1.3rem;
    padding: 8px 20px;
  }
  .accordion__content-description dt {
    font-size: 1.3rem;
    padding: 8px 20px;
  }
  .access-name {
    font-size: 1.3rem;
  }
  .access-zip,
  .access-address {
    font-size: 1.2rem;
  }
  .area-map {
    width: 100%;
  }
  .share-box {
    margin: 20px;
    padding-bottom: 20px;
  }
  .share-box__label {
    font-size: 1.2rem;
  }
  .share-box__title {
    font-size: 1.2rem;
    margin: 8px 0 12px;
  }
  .share-box__icon img {
    width: 30px;
    height: auto;
  }
  h2.movie-section__title {
    font-size: 1.5rem;
    margin: 8px 0 24px 20px;
  }
  .movie-section__item {
    width: 33%;
    margin-bottom: 8px;
  }
  .movie-section__list {
    gap: 0;
  }
  .nearby-schools {
    margin-bottom: 20px;
  }
  h2.nearby-schools__title {
    font-size: 1.5rem;
    margin: 12px 0 14px 20px;
  }
  .school-ranking {
    margin-bottom: 20px;
  }
  h2.school-ranking__title {
    font-size: 1.5rem;
    margin: 12px 0 14px 20px;
  }
  h2.recently-viewed-schools__title {
    font-size: 1.5rem;
    margin: 12px 0 14px 20px;
  }
  .recently-viewed-schools {
    padding: 0 20px 20px;
    margin: 12px 0 0px 0;
  }
  .school-card .school-detail__box {
    padding: 32px 20px 0;
  }
  /* スマホ下部の教習所リスト */
  .school-data-cards {
    display: flex;
    flex-wrap: nowrap;
  }
  .school-data-card {
    width: 33.3%;
    position: relative;
    overflow: hidden;
  }
  a.school-data-card__image {
    position: relative;
  }
  .school-data-card__image span {
    position: absolute;
    bottom: 0;
    left: 0px;
    text-align: center;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 32px;
    color: #fff;
  }
  .data-box {
    padding: 0 8px;
  }
  .data-box a {
    color: #333;
  }

  .school-image {
    width: 100%;
    height: 155px;
    object-fit: cover;
  }
  .location {
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
  }
  .school-name {
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
  }
  .price {
    font-size: 1.4rem;
    margin: 0;
  }
  .school-data-favorite::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 15px;
    margin-left: 8px;
    background-image: url(/assets/img/ico/ico_favorite01.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
  .more-link {
    text-align: right;
    margin-right: 20px;
    font-size: 1.3rem;
    font-weight: 600;
  }

  /* お気に入り */
  .main-favorite {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(/assets/img/ico/ico_favorite01.svg) no-repeat center center;
    background-size: 50% 50%;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    position: absolute;
    z-index: 1;
    bottom: 45px;
    right: 20px;
  }
  .main-favorite.is-favorite {
    background: url(/assets/img/ico/ico_favorite02.svg) no-repeat center center;
    background-size: 50% 50%;
    border-radius: 50%;
    background-color: #fff;
  }
  /* ギャラリー */
  .gallery {
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-left: 8px;
    background-image: url(/assets/img/ico/ico_photolist.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    bottom: 45px;
    left: 20px;
    cursor: pointer;
  }

  /* モーダル背景 */
  .gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: none;
    overflow-y: auto;
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
  }
  .gallery-list {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    overflow: auto;
  }
  /* モーダル表示用 */
  .gallery-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  /* ヘッダー */
  .gallery-list__header {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    height: auto;
  }
  .gallery-list__header-back {
    flex-shrink: 0;
    z-index: 1;
    font-size: 1.2rem;
    padding-left: 20px;
  }
  .gallery-list__header-back::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    width: 12px;
    height: 13px;
    background-image: url(/assets/img/ico/ico_chevron-left.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
  .gallery-list__header-title {
    font-size: 1.3rem;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* グリッド表示 */
  .gallery-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
  .gallery-content a img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
  }
  /* キャプション表示 */
  .pswp__custom-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.3rem;
  }

  /* 大型料金表 */
  .school-detail__truck-calendar-price {
    font-size: 1.6rem;
  }
  .school-detail__truck-calendar-header {
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .school-card
    .school-detail__truck-calendar-list
    .school-detail__truck-calendar-actions
    .school-detail__truck-apply-btn {
    font-size: 1rem;
  }
  .school-detail__truck-calendar-entry,
  .school-detail__truck-calendar-short {
    display: block;
  }
  .entry-headline,
  .short-headline {
    width: 100%;
  }
  .entry-day {
    font-weight: ini;
  }
  .school-card
    .school-detail__truck-calendar-list
    .school-detail__truck-calendar-actions
    .school-detail__truck-apply-btn::after {
    margin-left: 4px;
  }
  .school-card
    .school-detail__truck-calendar-list
    .school-detail__truck-calendar-actions
    .school-detail__favorite {
    margin-left: 0px;
  }
  .school-detail__truck-calendar {
    padding-bottom: 0;
  }
}
