/* headerのサイズ調整 */
#header {
  /* height: 55px; */
  /* padding: 14px 15px; */
}

.header-menu {
  width: fit-content;
}

#header.layout {
  align-items: center;
  justify-content: flex-end;
}


/* ロゴサイズ調整 */
#logo {
  z-index: 10000;
  padding: 0;
}

#logo img {
  zoom: normal;
  width: 100%;
  height: auto;
}

/* ハンバーガーメニュー調整 */
#toggle {
  background-color: transparent;
  /* width: 86px; */
  /* padding: 28px; */
}

.logged-in #header {
  margin-top: 0;
}

#toggle #sp-menu {
  width: 32px;
  height: 20px;
  z-index: 999;
}

#toggle span {
  height: 2px;
  background: #1F73E2;
}

#toggle span:nth-of-type(2) {
  top: 9px;
}

.header-menu-list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  height: calc(100svh - 60px);
  -webkit-transition: all .6s;
  transition: all .6s;
  /* margin-top: 60px; */
  background: #fff;
  /* overflow-y: auto; */
}

.header-menu-list.layout {
  opacity: 0;
  display: none;
  flex-wrap: wrap;
  justify-content: flex-start;
  /* align-content: center; */
  background: none;
  max-width: none;
  z-index: 0;
}

.header-menu-list.layout>li {
  width: 100%;
  margin: 0;
  background: #fff;
}

.header-menu-list li a:hover {
  border: none;
}

.header-menu-list li a {
  height: auto;
  line-height: 1.5;
  padding: 0 0 20px 0;
}

.header-menu-list li.link-entry a {
  width: 100%;
}

.header-menu-list li .child-list>li a {
  width: auto;
  display: block;
}

.header-menu-list>li {
  border-right: none;
  border-bottom: 1px solid #C2C2C2;
}

.header-menu-list>li.haschild-list>a {
  padding: 0;
}

/* SP-アコーディオン */
.accordion .child-list {
  display: none;
}

.accordion-open .child-list {
  display: block;
}

/* SPメニュー幅指定クラス */
.header-menu-list li.sp-list-w-50 {
  width: 100%;
}

/* .header-menu-list li.sp-list-w-100 {
    width: 100%;
  } */

.header-menu-list li.link-entry:last-child {
  display: block;
  width: 100%;
}

.header-menu-list li.link-entry:last-child>a {
  display: block;
}

.header-menu-list li.link-entry:last-child .child-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-direction: row;
  overflow: hidden;
  background: none;
  max-width: none;
  z-index: 0;
  width: 100%;
  padding-bottom: 0;
}

.header-menu-list li.link-entry:last-child .child-list>li {
  display: block;
  padding-left: 0;
  width: 50%;
  margin: 0;
  background: #fff;
}

.header-menu-list li.link-entry:last-child .child-list li:first-child {
  margin-top: 0px;
}

.header-menu-list li.link-entry:last-child .child-list li:last-child {
  margin-bottom: 0px;
}

.header-menu-list li.link-entry:last-child .child-list li:first-child {
  margin-top: 0;
  margin-left: 50%;
}

.header-menu-list li.link-entry:last-child .child-list li:first-child a {
  background: #12c6ff;
  color: #ffffff;
}

.header-menu-list li.link-entry:last-child .child-list li:nth-child(2) a {
  border-right: 1px solid #FFFFFF;
}

.header-menu-list li.link-entry:last-child .child-list li>a {
  width: 100%;
  line-height: 61px;
  background-color: #1F73E2;
  color: #ffffff;
  text-align: center;
}

.header-menu-list li.link-entry:last-child .child-list li>a:hover {
  transition: .6s;
  color: #ffffff;
  background: #14314d;
}

.header-menu-list li.link-entry.tour {
  z-index: 1;
  margin-bottom: 0;
}

.header-menu-list li.link-entry.tour a {
  border-right: 1px solid #FFFFFF;
  padding-top: 0;
}

.header-menu-list li.link-entry.tour a>span.sub-txt {
  display: none;
}

.header-menu-list li.link-entry.tour a>span.main-txt {
  line-height: 1.5;
}

.header-menu-list li .child-list li:first-child {
  margin: 0;
}

.header-menu-list li .child-list li a:hover {
  background: none;
  color: #1F73E2;
}

.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 990;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .6s;
  transition: all .6s;
  cursor: pointer;
}

.haschild-list::after {}

.menu-container {
  opacity: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.nav-open .header-menu-list.layout {
  opacity: 1;
  display: flex;
  flex-direction: row;
  gap: 20px 60px;
  padding: 30px;
  margin: 0 auto;
  margin-top: 55px;
  z-index: 995;
  overflow-y: auto;
  background-color: #fff;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
}

.nav-open .black-bg {
  opacity: .8;
  visibility: visible;
}

.child-list {
  display: block;
}

.header-menu-list li .child-list li a {
  padding: 0;
  line-height: 35px;
  display: block;
}

.header-menu-list li .child-list li:first-child,
.header-menu-list li .child-list li:last-child {
  margin: 0;
}

.header-menu-list li .child-list li {
  padding-left: 0;
  position: relative;
  border-bottom: none;
  display: inline-block;
}

.header-menu-list li {
  width: 100%;
  -ms-flex-item-align: start;
  align-self: flex-start;
}

.header-menu-list li.link-entry {
  border: none;
}

.header-menu-list li:last-child {
  border: none;
}

.header-menu {
  /* width: 30%; */
  /*width: 15%;*/
}

.header-menu-list li .child-list {
  position: static;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;

  overflow: hidden;
  transition: max-height 0.3s, padding-bottom 0.3s;
  /* アコーディオンアニメーションの追加 */
}


.header-menu-list li .child-list li,
.header-menu-list li .child-list li a {
  width: fit-content;
  line-height: 1.5;
}


.header-menu-list li .child-list li {
  visibility: visible;
  height: auto;
  opacity: 1;
  max-width: 214px;
  min-width: 130px;
  margin: 0;
}

.header-menu-list li:hover .child-list li {
  height: auto;
}

.header-menu-list li .child-list li a {
  border: none;
}

.breadcrumbs span {
  font-size: 12px;
}

.breadcrumbs>span {
  margin: 0 16px;
}

.breadcrumbs>span:first-child {
  margin: 0 16px 0 0;
}

/* ヘッダーボタン */
.header-list li span {
  display: block;
  color: #fff;
  font-weight: 800;
}

.header-list li span.main-txt {
  text-align: center;
  font-size: 14px;
}

.header-list li span.sub-txt {
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
  text-align: center;
}

.entry-button a {
  display: block;
  padding: 21px 15px 16px;
  background-color: #12C6FF;
  transition: .6s;
}

.dark-blue a,
.header-menu-list li.link-entry.tour.dark-blue a {
  background-color: #1F73E2;
}

.entry-button.dark-blue {
  width: 100%;
  min-width: 150px;
}

/* headerをハンバーガーメニューへ */

#toggle {
  display: grid;
}

.header-list {
  display: flex;
  max-height: fit-content;
  width: fit-content;
}

/* ハンバーガーの中身設定 */

/* .header-menu-list li.underline {
  max-width: 312px;
} */
/* .header-menu-list li.underline{

} */
/* snsiconの設定 */
.sns-list {
  display: none;
}

.sns-list li {
  width: fit-content;
  height: 35px;
}

/* メニューの矢印 */
.header-menu-list li.after-arrow {
  position: relative;
}

.after-arrow::before {
  content: "";
  position: absolute;
  background-image: url(../img/menu-arrow.png);
  top: 5px;
  right: -5px;
  display: inline;
  width: 10px;
  height: 15px;
  background-repeat: no-repeat;
  background-size: 5px 12.8px;
}

/* エントリーボタン */
.header-menu-list li.link-entry {
  width: 100%
}

/* .header-menu-list li.link-entry.tour{
  width: 330px;
} */
.header-menu-list li.link-entry a {
  display: block;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 18px 0;
  font-size: 16px;
  line-height: 1.5;
  color: white;
  width: fit-content;
  background-color: unset;
  margin: 0 auto;
  padding-left: 24px;
  position: relative;

}

.header-menu-list li.link-entry a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../img/icon_mail.png);
  background-position: center;
  background-size: cover;
  width: 20px;
  height: 20px;
}

/* .header-menu-list li.link-entry.tour a {
  max-width: 330px;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 18px;
} */

/* hoverデザイン */
.header-menu-list.layout .link-entry.tour a:hover,
.entry-button a:hover {
  transition: .6s;
  background: #14314d;
}

/* トピックスページの修正 */
.sidebar-title-sns {
  font-size: 14px;
  margin-bottom: 10px;
}


/* @media (max-width:1200px) { */
@media (min-width:1025px) {

  .header-menu-list {
    margin-top: 0;
  }

  .header-menu-list li.underline {
    border-right: none;
  }

  .nav-open .header-menu-list.layout {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow: auto;
    justify-content: left;
    align-items: center;
    padding: 70px 190px 142px 180px;
    margin-top: 0;
    height: 100vh;
  }

  .header-menu-list.layout>li {
    width: 310px;
  }

  /* エントリーボタン PC */
  .header-menu-list li.link-entry, .header-menu-list li.link-entry.tour {
    width: 100%;
    max-width: 330px;
  }

  .header-menu-list li.link-entry a {
    max-width: 330px;
    display: flex;
    background-color: unset;
  }

  .header-menu-list li.link-entry a:hover {
    background-color: unset;
  }

  .header-menu-list li.link-entry.tour a {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 18px;
  }

  .sns-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
}





/* PC調整：ハンバーガーデザイン */
#logo {
  width: fit-content;
}

#header .before_scroll {
  display: none;
}

#header .after_scroll {
  display: block;
  width: 184px;
  height: auto;
  position: absolute;
  left: 15px;
  top: 12px;
}

#header .entry-button {
  display: none;
}

#header {
  height: fit-content;
}

#toggle {
  width: 65px;
  height: 55px;
  padding: 0
}

#header #toggle span {
  width: 25px;
}

#toggle #sp-menu {
  width: 25px;
  height: 16px;
  margin: auto;
}

.nav-open #toggle #sp-menu {
  height: 20px;
}

#toggle span:nth-of-type(2) {
  top: 7px;
}

#header.no_scroll {
  border: none;
}

@media (min-width:1025px) {
  #header.no_scroll {
    height: fit-content;
    background-color: unset;
    justify-content: flex-end;
    border: none;
    transition: .6s;
  }

  #header.no_scroll .before_scroll {
    display: block;
    position: absolute;
    top: 50px;
    left: 50px;
    transition: all .3s;
    width: 194px;
  }

  #header.no_scroll .after_scroll {
    display: none;
    transition: all .3s;
  }

  #header .before_scroll {
    display: none;
    transition: all .3s;
  }

  #header .after_scroll {
    display: block;
    transition: all .3s;
    position: absolute;
    top: 23px;
    left: 30px;
    width: 184px;
    height: 32px;
    transition: all .3s;
  }



  #header .after_scroll img {
    width: 184px;
    height: 32px;
  }

  #header.no_scroll #toggle {
    padding: 0;
    width: 86px;
    height: 96px;
    transition: .6s;
  }

  #header #toggle {
    padding: 0;
    width: 86px;
    height: 76px;
    transition: .6s;
    cursor: pointer;
  }

  #header #sp-menu, #header.no_scroll #sp-menu {
    margin: auto;
    width: 32px;
    height: 20.7px;
  }

  #header #toggle span, #header.no_scroll #toggle span {
    width: 32px;
  }

  #toggle span:nth-of-type(2) {
    top: 9px;
  }

  #header .entry-button, #header.no_scroll .entry-button {
    display: block;
  }

  #header.no_scroll .entry-button a {
    padding: 28px 15px;
    display: grid;
    gap: 1px;
  }

  #header .entry-button a {
    padding: 19px 15px;
    display: grid;
    gap: 1px;
  }

}

.nav-open .header-list {
  border-bottom: 1px solid #D1D1D1;
  width: 100%;
  justify-content: flex-end;
}

.nav-open #header .before_scroll {
  display: none;
}

.nav-open .header-menu {
  width: 100%;
}

.nav-open .header-menu-list.layout {
  max-width: 400px;
  max-height: none;
  margin: 0 auto;
  padding: 30px 30px 60px;
  width: 100%;
  column-gap: 10px;

  /*センタリング*/
  position: absolute;
  right: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.nav-open .menu-head_nav-container {
  width: 100%;
  height: 100vh;
  position: relative;
}

.nav-open .header-menu-list.layout>li {
  max-width: 331px;
  margin: 0 auto;
}

.nav-open .header-menu-list li.link-entry.tour {
  max-width: 160px;
  width: 100%;
  margin: 0;
}

.nav-open .header-menu-list li.link-entry.tour.sp-list-order-1 {
  margin-left: auto;
  display: inline-block;
  background-color: #12C6FF;
  transition: .3s;
  border: none;
}

.nav-open .header-menu-list li.link-entry.tour.sp-list-order-2 {
  margin-right: auto;
  display: inline-block;
  background-color: #12C6FF;
  transition: .3s;
}

.nav-open .header-menu-list li.link-entry.tour.sp-list-order-1:hover,
.nav-open .header-menu-list li.link-entry.tour.sp-list-order-2:hover,
.nav-open .header-menu-list li.link-entry.sp-list-order-3:hover {
  background-color: #14314d;
}


.nav-open .header-menu-list li.link-entry.sp-list-order-3 {
  display: inline-block;
  background-color: #1F73E2;
  transition: .3s;
  margin-top: -10px;
  border: none;
}


.nav-open .header-menu-list li.link-entry.tour.sp-list-order-1 a,
.nav-open .header-menu-list li.link-entry.tour.sp-list-order-2 a {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 18px 0;
  font-size: 16px;
  line-height: 1.5;
  color: white;
  padding-left: 24px;
  position: relative;
  background: none;
  border: none;
}

.nav-open .header-menu-list li.link-entry.tour.sp-list-order-1 a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../img/icon_building.png);
  background-position: center;
  background-size: cover;
  width: 20px;
  height: 20px;
}

.nav-open .header-menu-list li.link-entry.tour.sp-list-order-2 a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../img/icon_archive.png);
  background-position: center;
  background-size: cover;
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  opacity: 0.5;
}


li.underline.sp-list-w-100.after-arrow.sp-list-order-9 a, li.underline.sp-list-w-100.after-arrow.sp-list-order-7 a {
  font-size: 16px;
  line-height: 1.5;
}

li.haschild-list.sp-list-order-4 {
  margin-top: 20px !important;
}

@media (max-width:376px) {
  .nav-open .header-menu-list li.link-entry.tour {
    max-width: 152px;
  }
}

@media (min-width:1025px) {
  .nav-open #header {
    position: fixed;
    background: white;
  }

  .nav-open #header .entry-button {
    display: none;
  }

  .nav-open .menu-head_nav-container {
    width: 100%;
    height: 92vh;
    position: relative;
  }

  .nav-open .header-menu-list.layout {
    width: 100%;
    margin: 67px auto 0;
    padding: 0;
    max-width: 1070px;
    max-height: 576px;
    flex-direction: column;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    right: 0;
    column-gap: 60px;
    background: none;
  }

  .header-menu-list.layout>li {
    max-width: 310px;
    background: none;
  }



  .header-menu-list li .child-list li a {
    background: none;
  }

  li.haschild-list.sp-list-order-4 {
    margin-top: 0;
  }


  .nav-open #header.no_scroll #toggle {
    height: 75px;
  }

  .nav-open .header-menu.layout {
    max-height: fit-content;
    width: 100%;
    overflow-y: scroll;
  }

  .nav-open #header .after_scroll {
    display: block;
  }

  .nav-open .header-menu-list.layout>li {
    max-width: 310px;
  }

  .nav-open .header-menu-list li.link-entry.tour {
    width: 100%;
    max-width: 330px;
  }

  .nav-open .header-menu-list li.link-entry.sp-list-order-3 {
    width: 100%;
    max-width: 330px;
    margin-top: 0;
  }

  .nav-open .header-menu-list li.link-entry.tour.sp-list-order-1 {
    margin-left: unset;
    display: inline-block;
  }

  .nav-open .header-menu-list li.link-entry.tour.sp-list-order-2 {
    margin-right: unset;
    display: inline-block;
  }



  .nav-open .header-list {
    border-bottom: 0;
  }

  .social-icon img {
    width: 35px;
    height: auto;
  }

  .sns-list li {
    margin: 0;
  }

  li.haschild-list.sp-list-order-4 {
    margin-top: 0 !important;
  }
}

.header-menu-list>li, .header-menu-list>li:nth-child(2n - 1), .header-menu-list>li.sp-no-bdr-b:nth-child(2n), .header-menu-list>li.sp-no-bdr-b:nth-child(2n - 1) {
  border-bottom: 1px solid #D1D1D1;
}

.haschild-list.accordion>a::after {
  content: "";
  background-image: url(../img/icon_plus.png);
  width: 10px;
  height: 10px;
  background-size: cover;
  position: absolute;
  top: 8px;
  right: 0;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.haschild-list.accordion>a::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0);
  cursor: pointer;
  z-index: 1;
}

.haschild-list.accordion.open>a::after {
  transform: rotate(45deg);
}

@media (min-width:1025px) {
  .haschild-list.accordion>a:after {
    content: none;
  }
}

#header .detail-link.icon_window a {
  position: relative;
}

#header .detail-link.icon_window a::after {
  content: "";
  background-image: url(../img/icon_window-g.png);
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  top: 6px;
  right: -20px;
}

.header-menu-list li a {
  font-weight: 600;
}

.header-menu-list li.list-title a, .header-menu-list>li.haschild-list>a {
  transition: .4s;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.header-menu-list li.list-title a:hover, .header-menu-list>li.haschild-list>a:hover {
  color: #1F73E2;
}

@media (max-width:1024px) {

  /* SPメニュー並び替えクラス */
  .header-menu-list li.sp-list-order-1 {
    order: 1;
  }

  .header-menu-list li.sp-list-order-2 {
    order: 2;
  }

  .header-menu-list li.sp-list-order-3 {
    order: 3;
  }

  .header-menu-list li.sp-list-order-4 {
    order: 4;
  }

  .header-menu-list li.sp-list-order-5 {
    order: 5;
  }

  .header-menu-list li.sp-list-order-6 {
    order: 6;
  }

  .header-menu-list li.sp-list-order-7 {
    order: 7;
  }

  .header-menu-list li.sp-list-order-8 {
    order: 8;
  }

  .header-menu-list li.sp-list-order-9 {
    order: 9;
  }

  .header-menu-list li.sp-list-order-10 {
    order: 10;
  }

  .header-menu-list li.sp-list-order-11 {
    order: 11;
  }

  .header-menu-list li.sp-list-order-12 {
    order: 12;
  }

  .header-menu-list li.sp-list-order-13 {
    order: 13;
  }
}