@charset "utf-8";
/* CSS Document */
.only_sp {
  display: none;
}
.mb_5vh {
  margin-bottom: 5vh;
}
.mv_container h2 {
  position: absolute;
  bottom: 45%;
  left: 10%;
  font-size: clamp(18px, 1.0vw + 11px, 30px);
  color: #ffffff;
  text-shadow: 1px 1px 1px rgb(78 113 47 / 50%);
}
.location_color {
  background-color: rgba(233, 244, 234, 0.3);
  padding-bottom: 0.2vh;
  margin-bottom: 10vh;
}
.location_color {
  position: relative;
}
.main_lead {
  position: absolute;
  top: 2%;
  right: 10%;
  white-space: nowrap;
  font-size: clamp(10px, 1.4vw, 27px);
  writing-mode: vertical-rl;
  line-height: 3em;
  letter-spacing: 0.12em;
}
.leadA {
  position: relative;
  background-color: #ffffff;
  padding: 0.4em 0 1.6em 0;
}
.leadA::after {
  content: "";
  width: clamp(10px, 1.6vw, 30px);
  height: clamp(10px, 1.6vw, 30px);
  background-image: url(../images/svg/onpu.svg);
  background-size: contain;
  position: absolute;
  bottom: 0.2em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background-repeat: no-repeat;
}
.leadB {
  background-color: #ffffff;
  padding: 0.4em 0;
}
.item_dd, .place {
  font-size: var(--16px);
  text-align: end;
}
.item_2 {
  display: flex;
  gap: 5px;
}
.loc_sec1, .loc_sec2 {
  background-color: rgba(233, 244, 234, 0.3);
}
.loc_sec1 {
  padding-bottom: 10vh;
}
.loc_sec_name {
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  font-size: var(--25px);
  text-align: center;
  padding: 0.4em 0;
  letter-spacing: 0.2em;
  border-top: solid 1px #333333;
  border-bottom: solid 1px #333333;
}
.loc_sec_name span {
  font-family: 'Shippori Mincho', serif;
  font-size: var(--20px);
  text-transform: lowercase;
  letter-spacing: 0;
}
.loc_sec_subname {
  display: inline-block;
  margin-bottom: 1.0em;
}
.loc_sec_lead {
  text-align: center;
  font-size: var(--20px);
  padding: 2.0em 0;
  margin-bottom: 1.0em;
}
.loc_text {
  font-size: var(--18px);
  padding: 0 1.6em 2.0em 1.6em;
  line-height: 1.6em;
  align-self: flex-end;
}
.h3_box {
  text-align: center;
}
.h3_box > .loc_text {
  text-align: start;
}
/*各種アクセス*/
.railway {
  font-size: var(--16px);
  line-height: 1.2em;
  margin-bottom: 0.6em;
}
.railway_list, .highway_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  row-gap: 3.0em;
}
.railway_list li {
  flex-basis: 23%;
}
.highway_list li {
  flex-basis: 45%;
}
.to_sta {
  font-size: clamp(15px, 1.6vw, 27px);
}
.to_st_min {
  font-family: "EB Garamond", serif;
  font-size: var(--35px);
  line-height: 1.2;
  /* margin-bottom: 0.5em;*/
}
.to_min {
  font-family: 'Shippori Mincho', serif;
  font-size: var(--27px);
  line-height: 1.2;
  margin-bottom: 0.5em;
}
.to_st_min span {
  font-size: clamp(50px, 5.5vw, 80px);
}
.to_min span {
  font-size: clamp(30px, 4.0vw, 60px);
}
.to_st_min .to_st_dr {
  font-family: 'Shippori Mincho', serif;
  font-size: var(--20px);
}
.TO_sta_item2 {
  text-align: center;
  background-color: #d6dadd;
  padding: 1.0em 0;
}
.loc_container {
  position: relative;
}
.loc_item2 {
  position: absolute;
  width: 45%;
  height: 100%;
  top: 0;
  left: 0;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
}
/*=======グリッド・フレックスボックス========*/
.loc_grid1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 1.5em;
  align-items: start;
  padding: 0 1.2em;
}
.loc_grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr 2.1fr;
  gap: 5px;
  margin-bottom: 8vh;
  align-items: start;
  padding: 0 1.2em;
}
.loc_grid3 {
  padding: 0 1.2em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: end;
}
.loc_grid4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: start;
}
.loc_grid5 {
  display: flex;
  gap: 25px;
  padding: 0 1.2em;
}
.loc_flex1 .loc_flex0 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}
.to_sta_flex {
  display: flex;
  justify-content: flex-start;
  column-gap: 1.0em;
  align-items: anchor-center;
  margin-bottom: 2.0em;
}
suv_v {
  height: 315px; /* ←維持したい縦幅 */
}
/*タブ表示*/
.content_area {
  width: 100%;
}
.Tab-container {
  display: flex;
  gap: 1.0em;
  margin-bottom: 1.5em;
  width: 100%;
}
.tab.active::before {
  filter: brightness(0) saturate(100%) invert(100%) sepia(99%) saturate(0%) hue-rotate(118deg) brightness(104%) contrast(100%);
}
.tab.active {
  color: #ffffff;
}
.tab1.active {
  background-color: #6aaa26;
  border: none;
}
.tab2.active {
  background-color: #f1bfaf;
  border: none;
}
.tab3.active {
  background-color: #f8c481;
  border: none;
}
.tab4.active {
  background-color: #e6c578;
  border: none;
}
.tab5.active {
  background-color: #aee2fa;
  border: none;
}
.tab {
  position: relative;
  font-family: "EB Garamond", serif;
  text-transform: capitalize;
  font-size: var(--30px);
  text-align: center;
  width: calc(95% / 5);
  padding: 0.5em 0;
  border: solid 1px #333333;
  cursor: pointer;
  text-indent: 2.0em;
}
.tab::before {
  position: absolute;
  top: 15%;
  left: 8%;
}
.tab3::before {
  position: absolute;
  top: 23%;
  left: 8%;
}
.tab1::before {
  content: '';
  display: inline-block;
  width: 26%;
  height: 100%;
  background-image: url("../images/svg/park.svg");
  background-size: contain;
  background-repeat: no-repeat;
  /*background-position: center;*/
  vertical-align: middle;
}
.tab2::before {
  content: '';
  display: inline-block;
  width: 25%;
  height: 100%;
  background-image: url("../images/svg/shopping.svg");
  background-size: contain;
  background-repeat: no-repeat;
  /*background-position: center;*/
  vertical-align: middle;
}
.tab3::before {
  content: '';
  display: inline-block;
  width: 28%;
  height: 100%;
  background-image: url("../images/svg/scool.svg");
  background-size: contain;
  background-repeat: no-repeat;
  /*background-position: center;*/
  vertical-align: middle;
}
.tab4::before {
  content: '';
  display: inline-block;
  width: 29%;
  height: 100%;
  background-image: url("../images/svg/lesson.svg");
  background-size: contain;
  background-repeat: no-repeat;
  /* background-position: center;*/
  vertical-align: middle;
}
.tab5::before {
  content: '';
  display: inline-block;
  width: 18%;
  height: 100%;
  background-image: url("../images/svg/others.svg");
  background-size: contain;
  background-repeat: no-repeat;
  /*  background-position: center;*/
  vertical-align: middle;
}
.content {
  display: none; /*必須*/
}
.content.show {
  display: block; /*必須*/
}
.t_textbox {
  display: flex;
  flex-direction: column;
  padding-left: 2.5em;
  font-family: "Zen Kaku Gothic New", sans-serif;
  flex-basis: 48%;
  align-self: self-start;
}
.flex_photo {
  flex-basis: 48%;
}
.flex_photo img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 8 / 5;
  max-height: 155px;
}
.t_place {
  font-size: var(--20px);
}
.t_range {
  font-size: 12px;
  margin-bottom: 1.5em;
}
.only_pc {
  font-size: var(--16px);
}
/*===========三角=============*/
.loc_tab {
  display: flex;
  justify-content: space-between;
  border-left: solid 1px #333333;
  border-right: solid 1px #333333;
  border-bottom: solid 1px #333333;
  position: relative;
  min-height: 125px;
  align-items: flex-end;
}
.num_triangle {
  position: absolute;
  top: 0;
  left: 0;
}
.triangle {
  position: relative;
  width: 2.5em;
  height: 2.5em;
  background: #333333;
  clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
}
/* 枠線用（後ろに置く） */
.triangle::before {
  content: "";
  position: absolute;
  width: 2.32em;
  height: 2.32em;
  top: 0.05em;
  left: 0.05em;
  background: #6aaa26;
  clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
  z-index: 1;
}
.triangle_p::before {
  background: #f1bfaf;
}
.triangle_or::before {
  background: #f8c481;
}
.triangle_bg::before {
  background: #e6c578;
}
.triangle_bl::before {
  background: #aee2fa;
}
/* 左辺70%だけ線を引く */
.triangle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 0.05em;
  height: 30%;
  background: #ffffff;
  z-index: 1;
}
.num_triangle::before {
  content: "1";
  font-family: "EB Garamond", serif;
  font-size: var(--25px);
  position: absolute;
  bottom: 25%;
  left: 16%;
  transform: translateX(-25%);
  z-index: 1;
}
.num2::before {
  content: "2";
}
.num3::before {
  content: "3";
}
.num4::before {
  content: "4";
}
.place_list {
  display: flex;
  flex-direction: column;
  row-gap: 1.0em;
  flex-basis: 46%;
  height: clamp(500px, 70vh, 750px);
  /*    max-height: 70vh;*/
}
.tab_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 1.5em;
  max-width: 1200px;
  margin: 0 auto;
}
.map {
  display: flex;
  flex: 1;
  border: solid 0.5px #333333;
}
.map img {
  width: 100%;
  object-fit: cover;
  height: clamp(500px, 70vh, 750px);
}
.highway_map img {
  width: 90%;
  aspect-ratio: 9 / 7; /* カンプに近い比率 */
  object-fit: cover;
  height: auto;
  margin-bottom: 1.5em;
}
.highway_map {
  text-align: center;
}
.highway_cap {
  margin-bottom: 10em;
}
.to_st_min span {
  font-size: var(--80px);
}
.to_min span {
  font-size: var(--60px);
}
.only_tab {
  display: none;
}
/*フェードインアニメーション--------------*/
/* 基本フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}
/* 表示されたら付くクラス */
.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* オプション：複数要素を順番に遅らせる（必要なら） */
.fade-in.delay-1 {
  transition-delay: 0.20s;
}
.fade-in.delay-2 {
  transition-delay: 0.40s;
}
.fade-in.delay-3 {
  transition-delay: 0.60s;
}
/* 表示されたら付くクラス */
.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}
/*=========レスポンシブ=====================

=======SP対応・ブレイクポイント768px=========*/
@media (max-width: 1000px) {
  .triangle {
    width: 2.2em;
    height: 2.2em;
  }
  .triangle::before {
    width: 2em;
    height: 2em;
  }
  .t_range {
    margin-bottom: 0;
  }
  .map img {
    width: 35vw;
    object-fit: cover;
    height: auto;
  }
  .only_pc {
    display: none;
  }
  .loc_tab {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: solid 1px #333333;
    border-right: solid 1px #333333;
    border-bottom: solid 1px #333333;
    position: relative;
  }
  .place_list {
    display: grid;
    gap: 1.0em;
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 5vh;
  }
  .t_place {
    margin-bottom: 0;
  }
  .t_place, .negishi {
    font-size: 14px;
    text-indent: -0.5em;
    letter-spacing: -0.05em;
  }
  .tab {
    font-size: 16px;
    padding: 0.2em;
  }
  .tab2 {
    font-size: clamp(16px, 2.0vw, 27px);
  }
  .only_tab {
    display: inline;
  }
  .tab5::before {
    position: absolute;
    top: 2%;
    left: 8%;
    width: 25%;
  }
  .tab2::before {
    position: absolute;
    top: 16%;
    left: 6%;
    width: 25%;
  }
  .tab1::before {
    position: absolute;
    top: 12%;
    left: 8%;
    width: 35%;
  }
  .tab3::before, .tab4::before {
    position: absolute;
    top: 13%;
    left: 7%;
    width: 35%;
  }
  .to_st_min span {
    font-size: var(--35px);
  }
  .to_min span {
    font-size: var(--30px);
  }
  .to_st_min {
    font-size: var(--27px);
  }
  .to_min {
    font-size: var(--16pxL);
  }
  .railway {
    font-size: 10px;
  }
  .to_sta {
    font-size: var(--16px);
  }
}
@media (max-width: 768px) {
  .only_sp {
    display: inline;
  }
  .only_ssp {
    display: none;
  }
  .mv_container h2 {
    position: absolute;
    bottom: 45%;
    left: 5vw;
    font-weight: normal;
    color: #ffffff;
    font-size: var(--27px);
  }
  .suv_v {
    height: 315px; /* ←維持したい縦幅 */
  }
  .suv_v img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .main_lead {
    position: absolute;
    top: 1%;
    right: 10%;
    white-space: nowrap;
    font-size: 15px;
    writing-mode: vertical-rl;
    line-height: 3em;
    letter-spacing: 0.12em;
  }
  .loc_flex0 {
    display: block;
  }
  .loc_grid1 {
    display: block;
    margin-bottom: 4.0em;
  }
  .loc_sec2 dd, .loc_sec4_5 dd {
    margin-bottom: 2.5em;
  }
  .loc_grid2 {
    grid-template-columns: 1fr 1fr;
  }
  .loc_text {
    grid-column: 1 / -1; /* 2列分使う */
  }
  .loc_grid3 {
    display: block;
  }
  .loc_sec3 dl, .loc_sec4 dl {
    margin-bottom: 2.5em;
  }
  .loc_grid5 {
    display: flex;
    gap: -10px;
    flex-direction: column;
  }
  .map img {
    width: 100%;
    height: auto;
  }
  .Tab-container {
    margin-bottom: 0.5em;
    gap: 0.5em;
  }
  .tab_list {
    display: flex;
    flex-direction: column-reverse;
  }
  .negishi {
    font-size: var(--23px);
  }
  .railway_list li {
    flex-basis: 46%;
  }
  .railway_list, .highway_list {
    row-gap: 2.0em;
  }
  .highway_list li {
    flex-basis: 48%;
  }
}
@media (max-width: 568px) {
  .tab1::before, .tab2::before, .tab3::before, .tab4::before, .tab5::before {
    display: none;
  }
  .negishi {
    font-size: 14px;
    text-indent: -0.5em;
    letter-spacing: -0.05em;
  }
  .tab {
    text-indent: 0;
  }
  .only_ssp {
    display: inline;
  }
  .railway_list li {
    flex-basis: 48%;
  }
  .to_min span {
    font-size: var(--35px);
  }
  .highway_list {
    display: block;
    width: 70vw;
    margin: 0 auto;
  }
  .highway_list li {
    margin-bottom: 1.0em;
  }
  .to_st_min span {
    font-size: var(--60px);
  }
  .to_st_min .to_st_dr {
    font-size: var(--16px);
    margin-bottom: 1.0em;
  }
  .to_sta {
    font-size: 15px;
    margin-bottom: 0;
  }
}