@charset 'utf-8';
li {
  display: list-item;
  unicode-bidi: isolate;
}
a {
  text-decoration: none;
  color: #000000;
}
/* メインボタン */
.layout_2column {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3.75rem;
}
.layout_2column li {
  flex: 1;
  text-align: center;
  border: 0.125rem solid #DFDFDF;
  border-radius: 0.625rem;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-weight: 700;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.6);
}
.layout_2column li a {
  padding: 1.25rem 1.8rem 1.25rem 1.25rem;
  font-size: 1.75rem;
  line-height: 2;
  position: relative;
  display: flex;
  justify-content: center;
}
.features_btn.layout_2column li a {
  line-height: 1.4;
}
.layout_2column li a:after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  border-right: 4px solid #009fc9;
  border-bottom: 4px solid #009fc9;
  transform: rotate(-45deg);
}
.main_btn.layout_2column li a img {
  height: 56px;
  margin-right: 0.75rem;
}
.features_btn.layout_2column li a img {
  height: 40px;
  margin-right: 0.75rem;
}
.h_type02 {
  border-bottom: none;
  padding-bottom: 1.25rem;
  margin-bottom: 0;
}
@media (max-width: 1080px) {
  .main_btn.layout_2column li a img {
    height: 50px;
  }
  .sp_main_btn {
    font-size: 1.5rem;
  }
}
@media (max-width: 767px) {
  .layout_2column li {
    border-radius: 0.25rem;
  }
  .layout_2column li a, .features_btn.layout_2column li a {
    line-height: 1.4;
    padding: 1rem 1.625rem 1rem 1rem;
    font-size: 1rem;
  }
  .layout_2column li a:after {
    width: 6px;
    height: 6px;
    border-right: 2px solid #009fc9;
    border-bottom: 2px solid #009fc9;
    right: 10px;
  }
  .main_btn.layout_2column li a img {
    height: 42px;
  }
  .features_btn.layout_2column li a img {
    height: 24px;
  }
  .sp_main_btn {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 1rem;
  }
}
/* 条件から探す（タブ切り替え） */
.search-section {
  margin-bottom: 3.75rem;
}
.link-list {
  display: grid;
  line-height: 2;
}
.link-list li a {
  color: #333;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.2s;
}
input[name="search-tab"] {
  display: none;
}
@media (min-width: 768px) {
  .search-container {
    background: #fff;
    border: 0.125rem solid #DFDFDF;
    border-radius: 0.625rem;
    padding: 1.25rem;
  }
  .tab-labels {
    display: none;
  }
  .content-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.4rem;
  }
  .category-box {
    flex: 1;
  }
  .category-title {
    font-size: 1.125rem;
    font-weight: bold;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #009fc9;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
  }
  .category-title img {
    height: 24px;
  }
  .link-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* --- スマホ版のデザイン (767px以下) --- */
@media (max-width: 767px) {
  .pc-title {
    display: none;
  }
  .tab-labels {
    display: flex;
    width: 100%;
  }
  .tab-labels label {
    flex: 1;
    background: #fff;
    border: 1px solid #DFDFDF;
    border-bottom: none;
    padding: 0.75rem 0.375rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0.25rem 0.25rem 0 0;
    margin-right: 0.125rem;
  }
  .tab-labels label:last-child {
    margin-right: 0;
  }
  .content-inner {
    background: #fff;
    border: 2px solid #009fc9;
    padding: 1.25rem;
    border-radius: 0 0 0.25rem 0.25rem;
  }
  .link-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-box {
    display: none;
  }
  #tab-rent:checked ~ .tab-labels .label-rent, #tab-size:checked ~ .tab-labels .label-size, #tab-floor:checked ~ .tab-labels .label-floor {
    background: #009fc9;
    color: #fff;
    border-color: #009fc9;
  }
  #tab-rent:checked ~ .content-inner .rent-content, #tab-size:checked ~ .content-inner .size-content, #tab-floor:checked ~ .content-inner .floor-content {
    display: block;
  }
}
/* 人気ランキングから探す（タブ切り替え） */
input[name="popular-tab"] {
  display: none;
}
/* --- PC版 (768px以上) --- */
@media (min-width: 768px) {
  .tab-nav {
    display: none;
  }
  .flex-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
  .category-card {
    flex: 1;
    background: #fff;
    border: 0.125rem solid #DFDFDF;
    border-radius: 0.625rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
  .cat-header {
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    padding: 1.25rem 0;
    border-bottom: 3px solid #009fc9;
    margin: 0;
  }
  .ranking-item:last-child {
    border-bottom: none;
  }
}
/* --- スマホ版 (767px以下) --- */
@media (max-width: 767px) {
  .tab-nav {
    display: flex;
  }
  .tab-nav label {
    flex: 1;
    background: #fff;
    border: 1px solid #DFDFDF;
    border-bottom: none;
    padding: 0.75rem 0.375rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0.25rem 0.25rem 0 0;
    margin-right: 0.125rem;
  }
  .tab-nav label:last-child {
    margin-right: 0;
  }
  .flex-wrapper {
    border: 2px solid #009fc9;
    background: #fff;
    padding: 0.625rem;
    border-radius: 0 0 0.25rem 0.25rem;
  }
  .pc-header {
    display: none;
  }
  .ranking-item {
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    margin-bottom: 0.625rem;
  }
  .category-card {
    display: none;
  }
  #pop-area:checked ~ .tab-nav .label-area, #pop-line:checked ~ .tab-nav .label-line, #pop-station:checked ~ .tab-nav .label-station {
    background: #009fc9;
    color: #fff;
    border-color: #009fc9;
  }
  #pop-area:checked ~ .flex-wrapper .area-card, #pop-line:checked ~ .flex-wrapper .line-card, #pop-station:checked ~ .flex-wrapper .station-card {
    display: block;
  }
}
.ranking_list2 {
  padding: 0 0.8rem;
}
.ranking_list2 li:not(:last-child) {
  border-bottom: .1rem solid #DFDFDF;
}
.ranking_list2 li a {
  text-align: center;
  border-radius: 0.25rem;
  position: relative;
  display: block;
  padding: .8rem;
  text-decoration: none;
  color: #000000;
}
.ranking_list2 li a:after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  border-right: 2px solid #009fc9;
  border-bottom: 2px solid #009fc9;
  transform: rotate(-45deg);
}
.ranking_list2 li a:before {
  position: absolute;
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.ranking_list2 li:nth-child(1) a:before {
  background: url("../../sch/img/icon_star01.svg") 50% / contain no-repeat;
}
.ranking_list2 li:nth-child(2) a:before {
  background: url("../../sch/img/icon_star02.svg") 50% / contain no-repeat;
}
.ranking_list2 li:nth-child(3) a:before {
  background: url("../../sch/img/icon_star03.svg") 50% / contain no-repeat;
}
.ranking_list2 li:nth-child(4) a:before {
  background: url("../../sch/img/icon_star04.svg") 50% / contain no-repeat;
}
.ranking_list2 li:nth-child(5) a:before {
  background: url("../../sch/img/icon_star05.svg") 50% / contain no-repeat;
}
.search_block {
  margin-bottom: 2.5rem;
}
/*エリア・路線切り替え*/
.search_checkbox {
  margin-top: 6.25rem;
}
.area_list h4 {
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.area_list h4 .area_name {
  color: #009FC9;
  font-size: 1.5rem;
}
.search_box_btn a {
  border: 1px solid #009FC9;
  border-radius: 0.625rem;
  font-size: 1rem;
  color: #009FC9;
  width: 100%;
}
.button a {
  text-decoration: none;
}
.search_box_btn_w a {
  border-radius: 0.625rem;
  font-size: 1rem;
  width: 100%;
}
.search_box_btn a::after {
  border-right: 2px solid #009FC9;
  border-bottom: 2px solid #009FC9;
}
/* ボタン切り替え */
input[name="search-method"] {
  display: none;
}
.tab_buttons {
  display: flex;
  gap: .6rem;
  border-bottom: 2px solid #009FC9;
  padding: 0 2rem
}
.tab_button {
  padding: 1.2rem 1rem;
  cursor: pointer;
  background: #f0f0f0;
  margin-right: 0.3125rem;
  border-radius: .4rem .4rem 0 0;
  transition: 0.3s;
  text-align: center;
  font-size: 1.25rem;
  flex: 1;
  font-weight: 600;
}
.tab_content {
  display: none;
  padding: 1.25rem;
  border-top: none;
}
#tab_area:checked ~ .tab_buttons label[for="tab_area"], #tab_station:checked ~ .tab_buttons label[for="tab_station"] {
  background: #009FC9; 
  color: #fff;
  font-weight: bold;
}
#tab_area:checked ~ .tab_content_wrapper #content_area, #tab_station:checked ~ .tab_content_wrapper #content_station {
  display: block;
}
@media screen and (max-width:1200px) {
  .search_block input {
    margin-right: 0.1875rem;
  }
  .radio_change .change_tool .label {
    font-size: 0.75rem;
    line-height: 1.25rem;
    padding: 0.3125rem 0.75rem;
    margin-right: 0.625rem;
  }
  .radio_change .change_tool ul li {
    font-size: 0.875rem;
    margin-right: 0.625rem;
  }
  .search_list dd a {
    font-size: 0.8125rem;
  }
  .search_list2 {
    flex-wrap: wrap;
  }
  .search_list2 dl {
    border-right: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1.625rem;
    padding-left: 0;
  }
  .search_list2 dl.train {
    width: 100%;
  }
  .search_list2 dl.size {
    width: 100%;
  }
  .search_list2 dl.price {
    width: 100%;
  }
  .search_list2 dl.height {
    width: 100%;
  }
  .search_list2 dd {
    height: auto;
    margin-bottom: 30px;
  }
  .search_list2 li {
    width: 20%;
  }
  .search_list2 dl:last-child li {
    width: 20%;
  }
}
@media screen and (max-width:767px) {
  .tab_content {
    padding: 1.25rem 0;
  }
  .tab_buttons {
    padding: 0 0.625rem;
  }
  .tab_button {
    font-size: 0.875rem;
    padding: 0.75rem 0.375rem;
  }
  .area_list h4 .area_name {
    font-size: 1.125rem;
  }
  .search_list dl {
    flex-wrap: wrap;
  }
  .search_list dt {
    margin-bottom: 0;
    margin-right: 0;
    width: 100%;
    flex-basis: 100%;
    border: none;
  }
  .search_list dt a {
    font-size: 17px;
  }
  .search_list dd {
    margin-bottom: 1.25rem;
  }
  .search_list2 dt, .search_list2 dt a {
    margin-bottom: 0.5rem;
  }
  .search_list2 ul {
    justify-content: flex-start;
  }
  .search_list2 li a {
    font-size: 0.8125rem;
  }
  .search_list2 li {
    flex-basis: 33%;
  }
}