@media screen and (max-width: 1024px) {
  .wrapper {
    margin-top: 60px;
  }

  .top_title {
    font-size: 2.5rem;
  }

  .top_text {
    width: 100%;
  }
}

.top_text h2 {
  margin: 0 auto;
}

/* タブ部分 */
/*タブ切り替え全体のスタイル*/
.tabs {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  margin: 60px auto 40px;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/3);
  height: 60px;
  border-bottom: 8px solid #101317;
  background-color: #d9d9d9;
  line-height: 62px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}

.tab_item span {
  font-size: 33px;
}

.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/
#pet:checked~#pet_content,
#family:checked~#family_content,
#couple:checked~#couple_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {
  background-color: #5f9fd8;
  color: #fff;
}

.tab_content_description {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
}

/*Smartphone*/
@media screen and (max-width:896px) {
  .tabs {
    width: 96%;
  }

  /*タブ切り替えの中身のスタイル*/
  .tab_content {
    padding: 40px 10px 0;
  }

  .tab_content_description {
    flex-wrap: wrap;
  }
}

/*Smartphone END*/
/* #spend .tab_item[for="couple"] {
  background-color: #f9c9d5;
}

#spend .tab_item[for="family"] {
  background-color: #b8e2b8;
}  

#spend .tab_item[for="pet"] {
  background-color: #fbc490;
} */
#spend .tab_item[for="family"] {
  border-left: 0.1px solid #101317;
  border-right: 0.1px solid #101317;
}

/*選択されているタブのスタイルを変える*/
#spend .tabs input:checked+.tab_item {
  filter: saturate(1.5);
}

#spend .tab_content_description {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
}

@media screen and (max-width:896px) {
  #spend .tab_item span {
    font-size: 25px;
  }
}

/* タブ部分 END */

/* 過ごし方部分 */
.spend_ex_area {
  display: flex;
  width: 100%;
  padding: 0 15px;
  max-width: 1300px;
  box-sizing: border-box;
  justify-content: center;
  margin: 60px auto;
}

.spend_day p {
  font-size: 2.8rem;
  padding-left: 20px;
}

.spend_ex_box {
  width: 50%;
}

.spend_ex {
  display: flex;
  padding: 20px 0px;
}

.spend_img {
  width: 80%;
  height: auto;
  padding: 10px;
  margin-top: 20px;
}

.spend_img img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  height: auto;
}

.spend_time p {
  font-size: 1.7rem;
}

.dli-arrow-down {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  position: relative;
  width: 0.15em;
  height: 22em;
  background: currentColor;
  margin-left: 18px;
}

.dli-arrow-down::before {
  content: '';
  width: 0.65em;
  height: 0.65em;
  border: 0.18em solid currentColor;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  transform-origin: bottom left;
  position: absolute;
  left: 50%;
  bottom: -0.05em;
  box-sizing: border-box;
  color: #333;
}

.spend_textbox {
  padding: 0 10px;
  width: 90%;
}

.spend_title {
  width: 100%;
  font-weight: bold;
  font-size: 1.7rem;
  display: inline-block;
  margin-bottom: 5px;
  padding-bottom: 3px;
  border-bottom: 1px dotted #333;
}

@media screen and (max-width:767px) {
  .spend_ex_box {
    width: 100%;
  }

  .spend_ex_area {
    flex-wrap: wrap;
    margin: 20px auto;
  }

  .spend_day p {
    padding-left: 0px;
    text-align: center;
  }

  .spend_ex {
    margin: 10px;
    padding: 10px 0;
  }

  .spend_time p {
    font-size: 1.6rem;
  }

  .dli-arrow-down {
    height: 17em;
  }

  .spend_title {
    margin-bottom: 5px;
  }

  .spend_ex {
    display: flex;
    margin: 0;
    margin-bottom: 40px;
  }

  .spend_textbox {
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
  }

  .spend_img {
    width: 100%;
    max-width: 300px;
    padding: 0;
  }

  .spend_contents {
    display: block;
    width: 80%;
    padding-left: 15px;
  }
}

#spend .btn_link_color p a {
  color: #333;
}

#spend .btn_link_color p a:hover {
  color: #fff;
}

/* 過ごし方部分 END */