@charset "shift_jis";

.wrapper {
  box-sizing: border-box;
}

/* メインビジュアル画像の設定 */
.mainVisual {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-image: url('/jalan/doc/furusato/images/pc/todofukentop_mainvisual_pc.png');
  background-size: 100%;
  object-fit: cover;
}

.mainVisual__container {
  display: flex;
  justify-content: flex-end;
  width: 950px;
  margin: 50px auto;
}

.headingContent {
  width: fit-content;
  padding: 20px;
}

.headingContent__heading {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.headingContent__subheading {
  margin-top: 16px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.searchPrefecture {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  background-color: #f7f5f2;
}

.searchPrefecture__selection {
  position: relative;
}

.openDropdownButton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 320px;
  padding: 8px;
  font-size: 16px;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #bcb6b3;
  border-radius: 4px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 700;
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: transparent;
}

.dropdown {
  position: absolute;
  z-index: 700;
  width: 100%;
  height: 500px;
  padding: 0;
  background-color: #fff;
  border: 1px solid #bcb6b3;
  border-radius: 8px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.dropdown[open] {
  display: flex;
  flex-direction: column;
}

.is-open {
  display: block;
}

.dropdown__list {
  overflow-y: scroll;
  border-radius: 8px 8px 0 0;
}

.dropdown__item {
  color: #3b1800;
}

.prefectureItem {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 28px;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.prefectureItem:hover {
  background-color: #fef5d8;
}

.prefectureItem--selected {
  padding-left: 4px;
}

.selectedIcon {
  font-size: 24px;
  color: #e77611;
}

.dropdown__item:not(:last-child) {
  border-bottom: 1px solid #e0dbd7;
}

.dropdown__footer {
  width: 100%;
  padding: 12px;
  text-align: end;
  border-top: 1px solid #e0dbd7;
}

.dropdown__closeButton {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 0;
  font-size: 12px;
  font-weight: bold;
  color: #1558ce;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.dropdown__closeButton:hover {
  color: #e77611;
}

.searchPrefecture__submit {
  width: 100px;
  height: 40px;
  cursor: pointer;
}

.recommendArea {
  width: 950px;
  margin: 24px auto 70px;
  color: #3b1800;
}

.recommendArea__note {
  font-size: 12px;
  color: #918b8a;
}

.recommendArea__note::before {
  content: '※';
}

.recommendArea__heading {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
}

.recommendArea__content {
  margin-top: 40px;
}

.recommendArea__content:first-of-type {
  margin-top: 20px;
}

.recommendArea__subheading {
  font-size: 20px;
  font-weight: bold;
}

.recommendArea__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.areaCard {
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  grid-row: span 2;
  row-gap: 0;
  width: 100%;
  border: 1px solid #bcb6b3;
}

.areaCard--closed {
  position: relative;
}

.areaCard__imageCaption {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 147px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
}

.areaCard__image {
  width: 100%;
  object-fit: cover;
}

.areaCard__text {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px 12px;
}

.areaCard__name {
  width: fit-content;
  font-size: 16px;
  font-weight: bold;
}

.areaCard__description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 4px 0 12px;
  overflow: hidden;
  font-size: 12px;
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: pre-line;
}

.areaCard__hotelLink {
  padding-top: 8px;
  margin-top: auto;
  font-size: 12px;
  text-align: center;
  border-top: 1px solid #e0dbd7;
}

.areaCard__hotelCount {
  font-size: 16px;
}