#recommend {
  padding-bottom: 68px;
}

@media screen and (max-width: 999px) {
  #recommend {
    padding-bottom: 30px;
  }
}
.recommend__top {
  padding-top: 50px;
  background: url(../img/recommend-bg.png) center center / cover no-repeat;
  border-bottom: 10px solid #ec572e;
}

.recommend__topContainer {
  max-width: 840px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 999px) {
  .recommend__topContainer {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.recommend__topHead {
  display: flex;
  flex-direction: column;
}

.recommend__topHead h2 {
  font-family: "Noto Serif JP";
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-align: center;
  color: #fdfdfd;
}

.recommend__topHead p {
  font-family: "Cormorant Garamond";
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0.15em;
  text-align: center;
  color: #fff;
  margin-top: -7px;
  margin-bottom: 14px;
}

@media screen and (max-width: 999px) {
  .recommend__topHead p {
    font-size: 20px;
    margin-top: 0;
  }
}
.recommend__topItemsWrapper {
}

.recommend__topItems {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 999px) {
  .recommend__topItems {
    flex-direction: column;
    gap: 30px;
  }
}

.recommend__topItem {
  width: 33.3334%;
}

.recommend__topItem:first-child,
.recommend__topItem:first-child img {
  border-radius: 15px 0 0 0;
}

.recommend__topItem:last-child,
.recommend__topItem:last-child img {
  border-radius: 0 15px 0 0;
}

@media screen and (max-width: 999px) {
  .recommend__topItem {
    width: 100%;
    border-radius: 15px 15px 0 0;
  }
  .recommend__topItem img {
    border-radius: 15px 15px 0 0;
  }
}

.recommend__topItemImage {
  width: 100%;
}

.recommend__topItemImage img {
  width: 100%;
}

.recommend__topItemText {
  background-color: #fff;
  font-family: "Noto Serif JP";
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  color: #101010;
  line-height: 1.4285714286;
  padding: 15px 41px;
}
@media screen and (max-width: 999px) {
  .recommend__topItemText {
    padding: 15px 20px;
  }
}

.recommend__topTab {
  display: flex;
  justify-content: center;
  margin-top: 53px;
  gap: 20px;
}

.recommend__topTabItem {
  padding: 16px 0 13px;
  width: 32.3334%;
  text-align: center;
  font-family: "Noto Serif JP";
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-align: center;
  background-color: #fff;
  color: #000;
  border-radius: 10px 10px 0 0;
}

@media screen and (max-width: 999px) {
  .recommend__topTabItem {
    font-size: 13px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.recommend__topTabItem--active {
  color: #fff;
  background-color: #ec572e;
}

.recommend__bottom {
  padding-top: 60px;
}

.recommend__bottomContainer {
  max-width: 1000px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 999px) {
  .recommend__bottomContainer {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.recommend__bottomItem {
  display: flex;
  justify-content: space-between;
}

.recommend__bottomText {
  width: 51.835%;
  margin-top: -5px;
}

@media screen and (max-width: 999px) {
  .recommend__bottomText {
    width: 100%;
  }
}

.recommend__bottomHead {
  font-family: "Noto Serif JP";
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-align: left;
  color: #333231;
  border-bottom: 1px solid #333231;
  padding-left: 12px;
  padding-bottom: 8px;
  position: relative;
}

.recommend__bottomHead::before {
  position: absolute;
  display: block;
  content: "";
  width: 3px;
  height: 55%;
  left: -3px;
  top: 41%;
  background-color: #ec572e;
  transform: translateY(-50%);
}

.recommend__bottomSchedule {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 22px;
  position: relative;
}

.recommend__bottomSchedule::before {
  position: absolute;
  display: block;
  content: "";
  width: 1px;
  height: 90%;
  background-color: #000000;
  left: 6%;
  top: 6%;
}

.recommend__bottomScheduleItem {
  font-family: "Noto Serif JP";
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-align: left;
  color: #333231;
  background-color: #f2f2f2;
  padding: 8px 54px 12px;
  position: relative;
}

@media screen and (max-width: 999px) {
  .recommend__bottomScheduleItem {
    padding: 8px 15px 12px 54px;
  }
}

.recommend__bottomScheduleItem::before {
  position: absolute;
  display: block;
  content: "";
  width: 19px;
  height: 19px;
  background: url(../img/icon-double-circle.svg) center center / contain
    no-repeat;
  left: 4.3%;
  top: 50%;
  transform: translateY(-50%);
}

.recommend__bottomImages {
  width: 41.985%;
}

@media screen and (max-width: 999px) {
  .recommend__bottomImages {
    width: 100%;
  }
}

.recommend__bottomTopImage {
  width: 100%;
}

.recommend__bottomSubImages {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
}

.recommend__bottomSubImage {
  width: 23.6%;
}

/* タブ切り替え機能のCSS */
.recommend__topTabItem {
  cursor: pointer;
  transition: all 0.3s ease;
}

.recommend__topTabItem:hover {
  opacity: 0.8;
}

.recommend__tabContent {
  display: none;
}

.recommend__tabContent--active {
  display: flex;
}

@media screen and (max-width: 999px) {
  .recommend__tabContent--active {
    flex-direction: column;
    gap: 30px;
  }
}
