@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300&display=swap");

@charset "utf-8";
//3つ目以降

body.detail_view {
  overflow: hidden;
}
/* header */
@media all and (max-width: 767px) {
  .header {
    border-bottom: calc(2vw / 800 * 100) solid #eee;
    -webkit-transition: border 0s linear 0.3s;
    -moz-transition: border 0s linear 0.3s;
    -o-transition: border 0s linear 0.3s;
    transition: border 0s linear 0.3s;
  }
  body.menu_view .header {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    border-bottom: calc(2vw / 800 * 100) solid transparent;
  }
}
.area_wrap {
  margin-top: 96px;
  position: relative;
  /* opacity: 0; */
  will-change: opacity;
  transition: opacity 0.3s linear 1s;
}
.area_wrap.loaded {
  opacity: 1;
}

/* リスト */
.area_list {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  height: calc(100vh - 100px);
  /* opacity: 0; */
}
@media all and (max-width: 1280px) {
  .area_wrap {
    margin-top: calc(96vw / 1280 * 100);
  }
  .area_list {
    height: calc(100vh - 100vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .area_wrap {
    margin-top: calc(47vw / 375 * 100);
  }
  .area_list {
    height: calc(100vh - (47vw / 375 * 100));
    height: calc(100svh - (47vw / 375 * 100));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.pattern1,
.pattern2,
.pattern3,
.pattern4,
.pattern5,
.pattern6 {
  /* opacity: 1;
  transition: opacity .3s linear 0s; */
}

.pattern1 .area_li {
  width: 50%;
  height: 100%;
}

.area_li.order1 {
  order: 1;
}
.area_li.order2 {
  order: 2;
}
.area_li.order3 {
  order: 3;
}
.area_li.order4 {
  order: 4;
}
.area_li.order5 {
  order: 5;
}
.area_li.order6 {
  order: 6;
}
.area_li.order7 {
  order: 7;
}
.area_li.order8 {
  order: 8;
}

.pattern1 .area_li.order3,
.pattern1 .area_li.order4,
.pattern1 .area_li.order5,
.pattern1 .area_li.order6,
.pattern1 .area_li.order7,
.pattern1 .area_li.order8 {
  display: none;
}

@media all and (max-width: 767px) {
  .pattern1 .area_li.order1 {
    height: 100%;
  }
  .pattern1 .area_li.order2,
  .pattern1 .area_li.order3,
  .pattern1 .area_li.order4,
  .pattern1 .area_li.order5,
  .pattern1 .area_li.order6,
  .pattern1 .area_li.order7,
  .pattern1 .area_li.order8 {
    display: none;
  }
}

.pattern2 .area_li {
  width: 100%;
  height: 50%;
}

.pattern2 .area_li.order3,
.pattern2 .area_li.order4,
.pattern2 .area_li.order5,
.pattern2 .area_li.order6,
.pattern2 .area_li.order7,
.pattern2 .area_li.order8 {
  display: none;
}

@media all and (max-width: 767px) {
  .pattern2 .area_li.order1 {
    height: 100%;
  }
  .pattern2 .area_li.order2,
  .pattern2 .area_li.order3,
  .pattern2 .area_li.order4,
  .pattern2 .area_li.order5,
  .pattern2 .area_li.order6,
  .pattern2 .area_li.order7,
  .pattern2 .area_li.order8 {
    display: none;
  }
}

.pattern3 {
  flex-direction: column;
}

.pattern3 .area_li {
  width: 50%;
}

.pattern3 .area_li.order1 {
  height: 100%;
}
.pattern3 .area_li.order2,
.pattern3 .area_li.order3 {
  height: 50%;
}

.pattern3 .area_li.order4,
.pattern3 .area_li.order5,
.pattern3 .area_li.order6,
.pattern3 .area_li.order7,
.pattern3 .area_li.order8 {
  display: none;
}

@media all and (max-width: 767px) {
  /* 
  上下2カラムの場合
  .pattern3 .area_li.order1,
  .pattern3 .area_li.order2{
    height: 50%;
  }
  .pattern3 .area_li.order3,
  .pattern3 .area_li.order4,
  .pattern3 .area_li.order5,
  .pattern3 .area_li.order6,
  .pattern3 .area_li.order7,
  .pattern3 .area_li.order8{
    display: none;
  } 
  */
  .pattern3 .area_li.order1 {
    height: 100%;
  }
  .pattern3 .area_li.order2,
  .pattern3 .area_li.order3,
  .pattern3 .area_li.order4,
  .pattern3 .area_li.order5,
  .pattern3 .area_li.order6,
  .pattern3 .area_li.order7,
  .pattern3 .area_li.order8 {
    display: none;
  }
}

.pattern4 {
  flex-direction: column;
}
.pattern4 .area_li {
  width: 50%;
}

.pattern4 .area_li.order1,
.pattern4 .area_li.order2 {
  height: 50%;
}
.pattern4 .area_li.order3 {
  height: 100%;
}

.pattern4 .area_li.order4,
.pattern4 .area_li.order5,
.pattern4 .area_li.order6,
.pattern4 .area_li.order7,
.pattern4 .area_li.order8 {
  display: none;
}

@media all and (max-width: 767px) {
  .pattern4 .area_li.order1 {
    height: 100%;
  }
  .pattern4 .area_li.order2,
  .pattern4 .area_li.order3,
  .pattern4 .area_li.order4,
  .pattern4 .area_li.order5,
  .pattern4 .area_li.order6,
  .pattern4 .area_li.order7,
  .pattern4 .area_li.order8 {
    display: none;
  }
}

.pattern5 .area_li {
  width: 33.333%;
}

.pattern5 .area_li.order4,
.pattern5 .area_li.order5,
.pattern5 .area_li.order6,
.pattern5 .area_li.order7,
.pattern5 .area_li.order8 {
  display: none;
}

@media all and (max-width: 767px) {
  .pattern5 .area_li.order1 {
    height: 100%;
  }
  .pattern5 .area_li.order2,
  .pattern5 .area_li.order3,
  .pattern5 .area_li.order4,
  .pattern5 .area_li.order5,
  .pattern5 .area_li.order6,
  .pattern5 .area_li.order7,
  .pattern5 .area_li.order8 {
    display: none;
  }
}

.pattern6 .area_li {
  width: 50%;
  height: 50%;
}

.pattern6 .area_li.order5,
.pattern6 .area_li.order6,
.pattern6 .area_li.order7,
.pattern6 .area_li.order8 {
  display: none;
}

@media all and (max-width: 767px) {
  .pattern6 .area_li.order1 {
    height: 100%;
  }
  .pattern6 .area_li.order2,
  .pattern6 .area_li.order3,
  .pattern6 .area_li.order4,
  .pattern6 .area_li.order5,
  .pattern6 .area_li.order6,
  .pattern6 .area_li.order7,
  .pattern6 .area_li.order8 {
    display: none;
  }
}

.area_li {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  color: #ffffff;
}
/* .area_li::before{
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  background-color: #000;
  pointer-events: none;
  
} */
.fade-in .area_li::before {
  /* animation: fadeInOut 7.7s linear; */
  /* 検証用 */
  opacity: 0;
}
/*右余白の差分を割り当て*/

@media all and (max-width: 767px) {
  .area_list .area_li {
    /* margin-top: calc(16vw / 375 * 100); */
    width: 100%;
    /* height: 24% !important;
    padding-top: calc(24vw / 375 * 100);
    display: flex !important; */
    order: 1 !important;
  }
}

/* 地名 */
.category_header {
  top: 0;
  left: 0;
  padding: 28px 24px;
  width: 100%;
  z-index: 3;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  mix-blend-mode: screen;
}
.area_li:first-child .category_header {
  /* margin-left: 28px; */
}
.area_li:last-child .category_header {
  /* padding-right: 0;
  margin-right: 28px; */
}
@media all and (max-width: 1280px) {
  .category_header {
    padding: calc(33vw / 1280 * 100) calc((33vw / 1280 * 100) - 10px);
  }
  /* .category_header { padding: 0 calc(16vw / 1280 * 100); }
  .area_li:first-child .category_header {
    padding-left: 0;
    margin-left: calc(28vw / 1280 * 100);
  }
  .area_li:last-child .category_header {
    padding-right: 0;
    margin-right: calc(28vw / 1280 * 100);
  } */
}
@media all and (max-width: 767px) {
  .category_header {
    padding: calc(19vw / 375 * 100);
    /* display: flex;
    align-items: flex-end;
    justify-content: space-between; */
  }
  /* .area_li:first-child .category_header {
    padding: 0 calc(19vw / 375 * 100);
    margin-left: 0;
  }
  .area_li:last-child .category_header {
    padding: 0 calc(19vw / 375 * 100);
    margin-right: 0
  } */
}
@media all and (max-width: 767px) {
  /* .category_header {
    padding: 0 calc(19vw / 375 * 100);
  } */
}

/* .area_list .area_li:first-child .category_header {padding-left: 28px;}
.area_list .area_li:last-child .category_header {padding-right: 28px;}
@media all and (max-width: 1280px) {
  .area_list .area_li:first-child .category_header {padding-left: calc(28vw / 1280 * 100);}
  .area_list .area_li:last-child .category_header {padding-right: calc(28vw / 1280 * 100);}
}
@media all and (max-width: 767px) {
  .area_list .area_li:first-child .category_header{
    padding: 0 calc(16vw / 1280 * 100);
  }
}
@media all and (max-width: 375px) {
  .area_list .area_li:first-child .category_header {padding-left: calc(19vw / 375 * 100);}
  .area_list .area_li:last-child .category_header {padding-right: calc(19vw / 375 * 100);}
} */

/* 
ドバイとロンドンの文字色を変更
.area_li .category_header.term_dubai,
.area_li .category_header.term_london{
  color : #1e88e5;
} */

/* 地名__SVG */
.area_li .category_header p {
  /* text-indent: -100%; */
  background-position: left center;
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  overflow: hidden;
  /* width: 100%; */
  font-size: 60px;
  /* max-height: 34px; */
  height: auto;
  font-family: "Jost", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
@media all and (max-width: 767px) {
  .area_li .category_header p {
    /* width: calc(171 / 375 * 100%); */
    /* max-height: 25px; */
    font-size: 40px;
  }
}
/* .area_li:nth-child(1) .category_header p { background-image: url(./img/area_tokyo.png); }
.area_li:nth-child(2) .category_header p { background-image: url(./img/area_singapore.png); }
.area_li:nth-child(3) .category_header p { background-image: url(./img/area_dubai.png); }
.area_li:nth-child(4) .category_header p { background-image: url(./img/area_london.png); }
@media all and (max-width: 767px) {
  .area_li:nth-child(1) .category_header p { background-image: url(./img/area_tokyo_sp.png); }
  .area_li:nth-child(2) .category_header p { background-image: url(./img/area_singapore_sp.png); }
  .area_li:nth-child(3) .category_header p { background-image: url(./img/area_dubai_sp.png); }
  .area_li:nth-child(4) .category_header p { background-image: url(./img/area_london_sp.png); }
} */

.area_li:nth-child(n + 3) .view_switch,
.area_li:nth-child(n + 3) .fit_bounds {
  color: #1e88e5;
}

/*  LIST/MAPボタン */
.view_switch {
  color: #000;
  position: absolute;
  bottom: 5px;
  left: 16px;
  line-height: 1;
}
.area_li:first-child .view_switch {
  left: 0;
}
@media all and (max-width: 1280px) {
  .view_switch {
    line-height: 1;
  }
}
@media all and (max-width: 767px) {
  .view_switch {
    position: relative;
    font-size: calc(16vw / 375 * 100);
    margin-top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
}

.view_switch::after {
  content: "LIST";
}
.listview .view_switch::after {
  content: "MAP";
}

.view_switch:hover {
  border-bottom: 1px solid #000;
}
.area_li:not(:first-child) .view_switch:hover {
  border-bottom-color: #1e88e5;
}
@media all and (max-width: 767px) {
  .view_switch:hover {
    border-bottom: 0;
  }
}

/* 時間 */
.time {
  letter-spacing: 0.25px;
  line-height: 1;
  margin-top: 16px;
  display: block;
}
.area_li:last-child .time {
  right: 28px;
}
@media all and (max-width: 1280px) {
  .time {
    letter-spacing: calc(0.25vw / 1280 * 100);
    margin-top: calc(16vw / 1280 * 100);
  }
  .area_li:last-child .time {
    right: calc(28vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .time {
    margin-top: 10px;
  }
  .area_li:last-child .time {
    right: auto;
  }
}

/* 地図 */
.category_content {
  -webkit-flex: 1;
  flex: 1;
  position: relative;
  /* margin-top: 15px; */
}
@media all and (max-width: 1280px) {
  /* .category_content {
    margin-top: calc(15vw / 1280 * 100);
  } */
}
@media all and (min-width: 801px) {
  .category_content {
    height: auto !important;
  }
}
@media all and (max-width: 767px) {
  .category_content {
    /*  margin-top: calc(12vw / 375 * 100); */
    -webkit-transition: height 0.3s ease-in-out 0s;
    -moz-transition: height 0.3s ease-in-out 0s;
    -o-transition: height 0.3s ease-in-out 0s;
    transition: height 0.3s ease-in-out 0s;
    overflow: hidden;
    /* aspect-ratio: 2 / 1; */
  }
}

.category_content iframe {
  outline: none;
}

.category_content iframe:focus {
  outline: none;
}

/* MAP表示 */
.map_area,
.map {
  height: 100%;
}

.listview .map_area {
  visibility: hidden;
  opacity: 0;
  z-index: 0;
  -webkit-transition: opacity 0.3s linear 0s, visibility 0s linear 0.3s,
    z-index 0s linear 0.3s;
  -moz-transition: opacity 0.3s linear 0s, visibility 0s linear 0.3s,
    z-index 0s linear 0.3s;
  -o-transition: opacity 0.3s linear 0s, visibility 0s linear 0.3s,
    z-index 0s linear 0.3s;
  transition: opacity 0.3s linear 0s, visibility 0s linear 0.3s,
    z-index 0s linear 0.3s;
}

.map_area {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.3s linear 0s;
  -moz-transition: opacity 0.3s linear 0s;
  -o-transition: opacity 0.3s linear 0s;
  transition: opacity 0.3s linear 0s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #000;
}
@media all and (max-width: 767px) {
  .map_area {
    /* height: calc(250vw / 375 * 100);  */
  }
}
.map_area h2 {
  height: 30px;
  padding-top: 10px;
}
.map {
  /* opacity: 0;
  visibility: hidden; */
  opacity: 1;
  visibility: visible;
  position: relative;
}
.map::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgb(0, 0, 0);
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.2s linear 0.6s, visibility 0s linear 0.6s;
  -moz-transition: opacity 0.2s linear 0.6s, visibility 0s linear 0.6s;
  -o-transition: opacity 0.2s linear 0.6s, visibility 0s linear 0.6s;
  transition: opacity 0.2s linear 0.6s, visibility 0s linear 0.6s;
}

.map.view {
  opacity: 1;
  visibility: visible;
  /* -webkit-transition: opacity .2s linear .6s, visibility 0s linear .6s;
  -moz-transition: opacity .2s linear .6s, visibility 0s linear .6s;
  -o-transition: opacity .2s linear .6s, visibility 0s linear .6s;
  transition: opacity .2s linear .6s, visibility 0s linear .6s; */
}

.map.view::before {
  opacity: 0;
  visibility: hidden;
}

.map .plot {
  position: absolute;
  -webkit-transition: opacity 0.3s linear 0s, visibility 0s linear 0s;
  -moz-transition: opacity 0.3s linear 0s, visibility 0s linear 0s;
  -o-transition: opacity 0.3s linear 0s, visibility 0s linear 0s;
  transition: opacity 0.3s linear 0s, visibility 0s linear 0s;
  display: none;
}
.map .plot.map_osaka[id*="map_osaka"],
.map .plot.map_nagoya[id*="map_nagoya"],
.map .plot.map_taiwan[id*="map_taiwan"],
.map .plot.map_london[id*="map_london"],
.map .plot.map_dubai[id*="map_dubai"],
.map .plot.map_singapore[id*="map_singapore"],
.map .plot.map_tokyo[id*="map_tokyo"],
.map .plot.map_tokyo-2nd[id*="map_tokyo-2nd"] {
  display: block;
}
.map.zoom14 .plot.close,
.map.zoom15 .plot.close,
.map.zoom16 .plot.close,
.map.zoom17 .plot.close,
.map.zoom18 .plot.close,
.map.zoom19 .plot.close,
.map.zoom20 .plot.close,
.map.zoom21 .plot.close,
.map.zoom22 .plot.close {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.8s linear 0s, visibility 0s linear 0.8s;
  -moz-transition: opacity 0.8s linear 0s, visibility 0s linear 0.8s;
  -o-transition: opacity 0.8s linear 0s, visibility 0s linear 0.8s;
  transition: opacity 0.8s linear 0s, visibility 0s linear 0.8s;
}
/*大阪、名古屋、台湾のオフィスの表示は消す*/
.plot.map_osaka.office .icon,
.plot.map_osaka.office .hover {
  display: none;
}
.plot.map_nagoya.office .icon,
.plot.map_nagoya.office .hover {
  display: none;
}
.plot.map_taiwan.office .icon,
.plot.map_taiwan.office .hover {
  display: none;
}
/*シンガポールのオフィスの表示は消す*/
.plot.map_singapore.office .icon,
.plot.map_singapore.office .hover {
  display: none;
}
.map .icon {
  display: block;
  position: absolute;
  top: -7px;
  left: -7px;
  width: 15px;
  height: 15px;
}
.map .plot .icon {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}
.map .plot.open .icon {
  display: block;
}
.map .icon::before {
  content: "";
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  -webkit-animation: plot_anim 1.2s ease-out 0s infinite normal;
  -moz-animation: plot_anim 1.2s ease-out 0s infinite normal;
  -o-animation: plot_anim 1.2s ease-out 0s infinite normal;
  animation: plot_anim 1.2s ease-out 0s infinite normal;
  width: 14px;
  height: 14px;
  position: absolute;
  top: -1px;
  left: -1px;
}
.map .plot.open[class*="hoshino"] .icon,
.map .plot.office[id*="hoshino"] .icon {
  background-color: #fff;
  border: 2px solid #fff;
}
.map .plot.progress[class*="hoshino"] .icon::before {
  background-color: rgba(255, 255, 255, 0.3);
}
.map .plot.open[class*="hopkins"] .icon,
.map .plot.office[id*="hopkins"] .icon {
  background-color: #1e88e5;
  border: solid 2px #fff;
  width: 12px;
  height: 12px;
}
.map .plot.progress[class*="hopkins"] .icon::before {
  /*background-color: rgba(47,76,153,.25);*/
  background-color: rgba(255, 255, 255, 0.3);
}
@-webkit-keyframes plot_anim {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale3d(5, 5, 1);
    opacity: 0;
  }
}
@-moz-keyframes plot_anim {
  0% {
    -moz-transform: scale3d(1, 1, 1);
    opacity: 1;
  }
  100% {
    -moz-transform: scale3d(5, 5, 1);
    opacity: 0;
  }
}
@-o-keyframes plot_anim {
  0% {
    -o-transform: scale3d(1, 1, 1);
    opacity: 1;
  }
  100% {
    -o-transform: scale3d(5, 5, 1);
    opacity: 0;
  }
}
@keyframes plot_anim {
  0% {
    transform: scale3d(1, 1, 1);
    opacity: 1;
  }
  100% {
    transform: scale3d(5, 5, 1);
    opacity: 0;
  }
}
.map .balloon {
  position: absolute;
  font-size: 15px;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s linear 0s, visibility 0s linear 0.3s;
  -moz-transition: opacity 0.3s linear 0s, visibility 0s linear 0.3s;
  -o-transition: opacity 0.3s linear 0s, visibility 0s linear 0.3s;
  transition: opacity 0.3s linear 0s, visibility 0s linear 0.3s;
  z-index: 20;
  bottom: 17px;
  margin: 0 auto;
  max-width: 200px;
  /*
  -webkit-box-shadow: 0 8px 10px rgba(0,0,0,.2);
  -moz-box-shadow: 0 8px 10px rgba(0,0,0,.2);
  -o-box-shadow: 0 8px 10px rgba(0,0,0,.2);
  box-shadow: 0 8px 10px rgba(0,0,0,.2);
*/
}
.map .plot.open[class*="hopkins"] .balloon,
.map .plot.close[class*="hopkins"] .balloon,
.map .plot.office[id*="hopkins"] .balloon {
  background-color: #1e88e5;
}
.map .balloon::before {
  display: none;
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top: 5px solid #ccc;
}
.map .balloon::after {
  display: none;
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top: 5px solid #fff;
}
.map .plot.open[class*="hopkins"] .balloon::after,
.map .plot.office[id*="hopkins"] .balloon::after {
  border-top: 5px solid #1e88e5;
}
.map .balloon .name {
  padding: 5px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
}
.map .plot.open[class*="hopkins"] .name,
.map .plot.close[class*="hopkins"] .name,
.map .plot.office[id*="hopkins"] .name {
  color: #fff;
}

.map .plot.office .balloon .address {
  padding: 0 10px 10px;
  width: 180px;
}
.map .hover {
  display: block;
  position: absolute;
  top: -8px;
  left: -8px;
  width: 16px;
  height: 16px;
  z-index: 10;
}
.map .plot .hover {
  cursor: pointer;
}
.map .hover:hover + .balloon {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.05s linear 0s;
  -moz-transition: opacity 0.05s linear 0s;
  -o-transition: opacity 0.05s linear 0s;
  transition: opacity 0.05s linear 0s;
}

/* LIST表示 */

/* office-address */
.post_area {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 1;
  background-color: #fff;
  padding: 0 16px;
}
@media all and (max-width: 1280px) {
  .post_area {
    padding: 0 calc(16vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .post_area {
    height: auto;
    padding: 0 calc(19vw / 375 * 100) !important;
    top: 1px;
  }
}

/* .area_li:first-child .post_area{ padding-left: 28px;}
.area_li:first-child .view_switch{ left: 28px;}
.area_li:last-child .post_area{ padding-right: 28px;}
@media all and (max-width: 1280px) {
  .area_li:first-child .post_area{ padding-left: calc(28vw / 1280 * 100);}
  .area_li:first-child .view_switch{ left: calc(28vw / 1280 * 100);}
  .area_li:last-child .post_area{ padding-right: calc(28vw / 1280 * 100);}
} */

.post_area .address {
  height: 200px;
  border-bottom: 1px solid #1e88e5;
  border-top: 1px solid #1e88e5;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 8px; /* lineまで15px */
}
.post_area .address a {
  color: #1e88e5;
}
.post_area .address a:hover {
  border-color: #1e88e5;
}
@media all and (max-width: 1280px) {
  .post_area .address {
    height: calc(200vw / 1280 * 100);
    padding-top: calc(8vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .post_area .address {
    line-height: calc(22vw / 375 * 100);
    height: auto;
    padding: calc(8vw / 375 * 100) 0 calc(20vw / 375 * 100);
  }
  .area_list .area_li:last-child .post_area .address {
    border-bottom: 0;
  }
}

.area_li:first-child .address {
  border-color: #000;
}
.area_li:first-child .address a {
  color: #000;
}
.area_li:first-child .address a:hover {
  border-color: #000;
}

.post_area .address .bold {
  font-weight: bold;
  display: block;
}

.post_area .address .address_en {
  white-space: pre-wrap;
}

.post_area .address .address_tokyo {
  color: #1e88e5;
  font-weight: bold;
}

/* projects-list */
.post_list {
  max-height: calc(100% - 200px);
  overflow-y: auto;
  padding-top: 8px;
  display: none;
}
@media all and (max-width: 1280px) {
  .post_list {
    max-height: calc(100% - 200vw / 1280 * 100);
    padding-top: calc(8vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .post_list {
    padding-top: 0;
    padding-bottom: calc(8vw / 375 * 100);
  }
}

.post_list li {
  margin-bottom: 18px; /* margin-bottom: 32px;*/
}
@media all and (max-width: 1280px) {
  .post_list li {
    margin-bottom: calc(18vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .post_list li {
    padding-top: calc(16vw / 375 * 100);
    margin-bottom: 0;
  }
  .post_list li:first-child {
    padding-top: calc(8vw / 375 * 100);
  }
}

.post_list li.hopkins a {
  color: #1e88e5;
}

.post_list .map_2_list {
  display: inline-block;
}
@media all and (max-width: 767px) {
  .post_list .map_2_list {
    line-height: calc(22vw / 375 * 100);
  }
}

.post_list .map_2_list:hover {
  border-bottom: 1px solid transparent;
}
.area_li:not(:first-child) .map_2_list {
  color: #1e88e5;
}

.post_list .title,
.post_list .office_and_area {
  display: block;
  border-bottom: 1px solid transparent;
}
.post_list .title {
  font-weight: bold;
}
@media all and (max-width: 767px) {
  .post_list .office_and_area {
    opacity: 0.5;
  }
}

.post_list .map_2_list:hover .title span,
.post_list .map_2_list:hover .office_and_area span {
  border-bottom: 1px solid #000;
}
.post_list .hopkins .map_2_list:hover .title span,
.post_list .hopkins .map_2_list:hover .office_and_area span,
.area_li:not(:first-child) .map_2_list:hover .title span,
.area_li:not(:first-child) .map_2_list:hover .office_and_area span {
  border-bottom: 1px solid #1e88e5;
}

/* projects-detail */
.detail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  visibility: hidden;
  -webkit-transition: visibility 0s linear 0.3s;
  -moz-transition: visibility 0s linear 0.3s;
  -o-transition: visibility 0s linear 0.3s;
  transition: visibility 0s linear 0.3s;
}
.detail.view {
  visibility: visible;
  -webkit-transition: visibility 0s linear 0s;
  -moz-transition: visibility 0s linear 0s;
  -o-transition: visibility 0s linear 0s;
  transition: visibility 0s linear 0s;
}
.detail .inner {
  width: 50%;
  background-color: #fff;
  z-index: 2;
  height: 100%;
  display: block;
  position: absolute;
  overflow-y: auto;
  overflow-x: hidden;
  top: 0;
  left: 0;
  -webkit-transform: translate3d(-100%, 0, 0);
  -moz-transform: translate3d(-100%, 0, 0);
  -o-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  -webkit-transition: -webkit-transform 0.3s ease-in-out 0s;
  -moz-transition: -moz-transform 0.3s ease-in-out 0s;
  -o-transition: -o-transform 0.3s ease-in-out 0s;
  transition: transform 0.3s ease-in-out 0s;
}
.detail.tokyo .inner {
  left: auto;
  right: 0;
  -webkit-transform: translate3d(100%, 0, 0);
  -moz-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}
@media all and (max-width: 767px) {
  .detail .inner,
  .detail.tokyo .inner {
    -webkit-transform: translate3d(0, -100%, 0);
    -moz-transform: translate3d(0, -100%, 0);
    -o-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    width: 100%;
    height: calc(100% - 60vw / 375 * 100);
  }
}

.detail.view .inner,
.detail.view.tokyo .inner {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  background-color: #000;
  color: #fff;
}

.detail::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  -webkit-transition: opacity 0.3s linear 0s;
  -moz-transition: opacity 0.3s linear 0s;
  -o-transition: opacity 0.3s linear 0s;
  transition: opacity 0.3s linear 0s;
}
.detail.view::after {
  opacity: 1;
}

.detail .imagebox {
  max-height: 50vh;
  position: relative;
  overflow: hidden;
  clear: both;
}

.detail .imagebox img {
  width: 100%;
  position: absolute;
  margin: auto 0;
  top: -100%;
  bottom: -100%;
}

.detail .textarea {
  margin: 0 0 48px;
  clear: both;
}
@media all and (max-width: 1280px) {
  .detail .textarea {
    margin: 0 0 calc(48vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .textarea {
    margin: calc(36vw / 375 * 100) 0 0;
    width: auto;
    position: relative;
  }
}

.detail .textarea .close {
}
.detail .textarea .close span {
}
@media all and (max-width: 767px) {
  .detail .textarea .close {
    display: block;
    margin: calc(36vw / 375 * 100) auto;
    text-align: center;
    border-bottom: none;
  }
  .detail .textarea .close span {
    border-bottom: 1px solid #fff;
    color: #fff;
  }
}

.detail .switches {
  float: right;
  z-index: 10;
  margin: 24px 16px;
  display: none;
}
@media all and (max-width: 1280px) {
  .detail .switches {
    margin: calc(24vw / 1280 * 100) calc(16vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .switches {
    height: calc(47vw / 375 * 100);
    padding: 0;
    margin: 0 calc(19vw / 375 * 100);
  }
}

.detail .switches li {
  float: left;
}
.detail .switches li:not(:last-child) {
  margin-right: 10px;
}
@media all and (max-width: 1280px) {
  .detail .switches li:not(:last-child) {
    margin-right: calc(10vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .switches li {
    margin-top: calc(16vw / 375 * 100);
  }
  .detail .switches li:not(:last-child) {
    margin-right: calc(10vw / 375 * 100);
  }
}

.detail .switches li a {
  color: #fff;
  display: block;
}
.detail .switches li a:hover {
  border-bottom: 1px solid #fff;
}
@media all and (max-width: 767px) {
  .detail .switches li a:hover {
    border-bottom: 0;
  }
}

.detail .lang {
  clear: both;
  margin: 48px 16px 0px;
  padding-bottom: 1px; /*事務所詳細のアドレスのリンクのborder-bottomが見切れるため*/
}
@media all and (max-width: 1280px) {
  .detail .lang {
    margin: calc(48vw / 1280 * 100) calc(16vw / 1280 * 100) 0;
  }
}
@media all and (max-width: 767px) {
  .detail .lang {
    margin: 0 calc(19vw / 375 * 100);
  }
}
.detail .flex {
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
@media all and (max-width: 767px) {
  .detail .flex {
    display: block;
  }
}
.detail .detail_header {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: -6px;
}
@media all and (max-width: 1280px) {
  .detail .detail_header {
    margin-top: calc(-6vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .detail_header {
    width: auto;
    padding: 0;
    margin-top: 0;
  }
}

.detail .detail_office,
.detail .detail_title {
  letter-spacing: 0.1px;
  margin-bottom: -6px;
}
.detail .hopkins .detail_office,
.detail .hopkins .detail_title {
  color: #1e88e5;
}
@media all and (max-width: 1280px) {
  .detail .detail_office,
  .detail .detail_title {
    letter-spacing: calc(0.1vw / 1280 * 100);
    margin-bottom: calc(-6vw / 1280 * 100);
  }
}

.detail .detail_office {
  line-height: 26px;
}
.detail .detail_title {
}
@media all and (max-width: 767px) {
  .detail .detail_office {
    margin-top: calc(-4vw / 375 * 100);
    font-size: calc(14vw / 375 * 100);
    line-height: calc(22vw / 375 * 100);
  }
  .detail .detail_title {
    margin-top: calc(-1vw / 375 * 100);
    font-size: calc(20vw / 375 * 100);
    line-height: calc(22vw / 375 * 100);
  }
}
.detail_office + .detail_title {
  margin-top: 10px;
}
@media all and (max-width: 1280px) {
  .detail_office + .detail_title {
    margin-top: calc(10vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail_office + .detail_title {
    margin-top: calc(14vw / 375 * 100);
  }
}

.detail .detail_sub {
  margin-top: 9px;
  margin-bottom: -7px;
}
.detail .hopkins .detail_sub {
  color: #1e88e5;
}
@media all and (max-width: 1280px) {
  .detail .detail_sub {
    margin-top: calc(9vw / 1280 * 100);
    margin-bottom: calc(-7vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .detail_sub {
    margin-top: calc(12vw / 375 * 100);
  }
}

.detail .detail_area {
  margin-top: 9px;
  color: #999;
}
.detail .hopkins .detail_area {
  color: #1e88e5;
}
@media all and (max-width: 1280px) {
  .detail .detail_area {
    margin-bottom: calc(-9vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .detail_area {
    margin-top: calc(18vw / 375 * 100);
    margin-bottom: 0;
  }
}

.detail .detail_text {
  -webkit-flex: 1;
  flex: 1;
  letter-spacing: 0.5px;
  white-space: pre-wrap;
  text-align: justify;
  margin-top: 38px;
  margin-bottom: -7px;
}
.detail .en .detail_text {
  text-align: left;
}
@media all and (max-width: 1280px) {
  .detail .detail_text {
    letter-spacing: calc(0.5vw / 1280 * 100);
    margin-top: calc(38vw / 1280 * 100);
    margin-bottom: calc(-7vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .detail_text {
    margin-top: calc(30vw / 375 * 100);
    line-height: calc(26vw / 375 * 100);
    margin-bottom: 0;
  }
}

.detail .detail_text > span {
  text-align: left;
  display: inline-block;
}
.detail .detail_text > a {
  color: #fff;
}
.detail .detail_text > a:hover {
  border-bottom: 1px solid #fff;
}

.detail .image {
  margin-top: 48px;
}
.loop .image:first-child {
  margin-top: 41px;
}
@media all and (max-width: 1280px) {
  .detail .image {
    margin-top: calc(48vw / 1280 * 100);
  }
  .loop .image:first-child {
    margin-top: calc(41vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .image {
    margin: calc(12vw / 375 * 100) 0 0;
  }
  .loop .image:first-child {
    margin-top: calc(30vw / 375 * 100);
  }
}

.detail .image img {
  width: 100%;
}

/*
.detail .image figcaption {
  margin-top: 8px;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 24px;
}
@media all and (max-width: 1280px) {
  .detail .image figcaption {
    margin-top: calc(8vw / 1280 * 100);
    font-size: calc(15vw / 1280 * 100);
    letter-spacing: calc(1vw / 1280 * 100);
    line-height: calc(24vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .image figcaption {
    font-size: calc(24vw / 800 * 100);
    letter-spacing: calc(.5vw / 800 * 100);
    line-height: calc(32vw / 800 * 100);
    margin-top: calc(28vw / 800 * 100);
  }
}
*/

.detail .detail_title2 {
  letter-spacing: 0.5px;
  padding-left: 33.5%;
  margin-top: -6px;
}
@media all and (max-width: 1280px) {
  .detail .detail_title2 {
    letter-spacing: calc(0.5vw / 1280 * 100);
    padding-left: 33.5%;
    margin-top: calc(-6vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .detail_title2 {
    margin: calc(35vw / 375 * 100) 0 0;
    padding-left: 0;
    font-size: calc(20vw / 375 * 100);
    line-height: calc(22vw / 375 * 100);
  }
}

.detail .detail_text2 {
  letter-spacing: 0.5px;
  white-space: pre-wrap;
  padding-left: 33.5%;
  text-align: justify;
  margin-top: 11px;
}
@media all and (max-width: 1280px) {
  .detail .detail_text2 {
    letter-spacing: calc(0.5vw / 1280 * 100);
    padding-left: 33.5%;
    margin-top: calc(11vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .detail_text2 {
    padding-left: 0;
    margin-top: calc(20vw / 375 * 100);
    line-height: calc(26vw / 375 * 100);
  }
}

.detail .fields {
  margin-top: 8px;
  display: -webkit-flex;
  display: flex;
  align-items: start;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.detail .lang + .fields {
  margin-top: 17px;
}
@media all and (max-width: 1280px) {
  .detail .fields {
    margin-top: calc(8vw / 1280 * 100);
  }
  .detail .lang + .fields {
    margin-top: calc(17vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .fields {
    margin: calc(12vw / 375 * 100) 0 0;
  }
  .detail .lang + .fields {
    margin-top: calc(30vw / 375 * 100);
  }
}

.detail .fields:first-child {
  margin-top: 48px;
}
@media all and (max-width: 1280px) {
  .detail .fields:first-child {
    margin-top: calc(48vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .fields:first-child {
    margin: calc(30vw / 375 * 100) 0 0;
  }
}

.detail .fields figure {
  -webkit-flex: 1;
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}
.detail .fields figure:not(:last-child) {
  margin-right: 8px;
}
@media all and (max-width: 1280px) {
  .detail .fields figure:not(:last-child) {
    margin-right: calc(8vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .fields figure {
    width: 100%;
  }
  .detail .fields.col2 figure {
    -webkit-flex: 0 0 calc(184vw / 375 * 100);
    flex: 0 0 calc(184vw / 375 * 100);
    margin: 0;
  }
}

.detail .fields figure .bg {
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.detail .fields figure .bg img {
  width: 100%;
}

.detail .fields figure figcaption {
  display: none;
  margin-top: 8px;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 24px;
}
@media all and (max-width: 1280px) {
  .detail .fields figure figcaption {
    margin-top: calc(8vw / 1280 * 100);
    font-size: calc(15vw / 1280 * 100);
    letter-spacing: calc(1vw / 1280 * 100);
    line-height: calc(24vw / 1280 * 100);
  }
}
@media all and (max-width: 767px) {
  .detail .fields figure figcaption {
  }
  .detail .fields.col4 figure {
    width: calc(50% - 25vw / 800 * 100);
  }
  .detail .fields.col4 figure:nth-child(2) {
    margin-top: 0;
  }
  .detail .fields.col4 figure:nth-child(2n-1) {
    margin-right: calc(12.5vw / 800 * 100);
  }
  .detail .fields.col4 figure:nth-child(2n) {
    margin-left: calc(12.5vw / 800 * 100);
  }
}

/* 181112 yamaguchi レイアウト確定まで display none */
.detail .project_data {
  display: none;
}

.area_list {
  background-color: #000;
}

.area {
  position: relative;
}

.area_list {
  transition: opacity 1s linear 0s;
}

.area_list.fade-in {
  opacity: 1;
}

.area_wrap {
  position: relative;
}
.area_wrap:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 1;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.5s linear 0s;
}

.area_wrap:has(.fade-in):before {
  opacity: 0;
  transition: opacity 0.5s linear 0.5s;
}
