@charset "UTF-8";

/***************
    header
*****************/
header {
  position:sticky;
  left: 0;
  top: 0;
  width: 100%;
  height:158px;
  z-index: 100;
  background-color:white;
  filter: drop-shadow(0px 5px 10px #00000010);
}
header .header_inner {
  position:relative;
  width:100%;
  max-width:none;
  height:68px;
  display: flex; 
  justify-content: space-between;
  align-items: center;
  padding:0 var(--size40);
  background-color: white;
}
header .header_inner .logo_tokyo {
  width:min(12.7%,184px);
}
header .header_inner .logo_tokyo img {
  width:min(59.7%,110px);
}
header .header_inner .logo_tokyo img,header .header_inner h1 img {
  display: block;
  margin-top:0;
}
header .header_inner h1 {
  width:min(23.75%,342px);
  padding-top:0;
}
header .header_inner h1 img {
  filter: drop-shadow(0px 4px 4px #00000025);
}
header .fontcontrol {
  padding-top:0;
  align-items: center;
  display: flex;
}
.fontcontrol .text  {
  margin-bottom:0;
  margin-right:var(--size20);
  font-size:12px;
}
.fontcontrol .mod_headerbox_size ul {
  gap:var(--size10);
  display: flex;
}
.fontcontrol .mod_headerbox_size ul li {
  width:28px;
  height:28px;
  margin:0;
  background-color: #6D6E71;
  border-radius: 4px;
  font-size:16px;
  text-align: center;
}
.fontcontrol .mod_headerbox_size ul li span {
  color:white;
}
.fontcontrol .mod_headerbox_size ul li.active {
  background-color: var(--keygreen);
}
.fontcontrol .mod_headerbox_size ul li.active span {
  margin-top:0;
}

@media (max-width: 1025px) {
  header .header_inner .logo_tokyo {
    width:  156px;
  }
  header .header_inner .logo_tokyo img {
    width: 110px;
  }
  .fontcontrol .text {
    margin-right: var(--size10);
  }
  .fontcontrol .mod_headerbox_size ul {
    gap: 8px;
}
.fontcontrol .mod_headerbox_size ul li {
  line-height: 24px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-size: 14px;
}
header .header_inner h1 {
  width: min(40%, 342px);
}

}



.hamburger {
  display: flex;
  justify-content: center; 
  align-items: center;
  flex-flow: column;
  width:68px;
  height:68px;
  padding-top:20px;
  z-index: 102;
  cursor: pointer;
  background-color: transparent;
  transition:all .3s var(--ease);
  position:fixed;
  border: none;
  right:0;
  top:0;
}
.hamburger span {
  background-color: var(--black);
  width: 30px;
  height:2px;
  display: block;
  transform-origin: center;
  transition:all .3s var(--easeout);
  position:relative;
}
.hamburger span:nth-child(1) { top: -9px;}
.hamburger span:nth-child(2) { top: 0;}
.hamburger span:nth-child(3) { top: 9px;}
.hamburger.active {
  justify-content: center;
}
.hamburger.active span:nth-of-type(1) {
  top: 1px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-of-type(3) {
  top: 0;
  transform: rotate(-45deg);
}
.hamburger.active span:nth-of-type(2) {
  display: none;
}
.menutxt {
  font-size:10px;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin-top:12px;
}

@media (min-width: 769px) {

  
}
@media (min-width: 1025px) {

}
@media (min-width: 1441px) {

}
.globalMenu {
  background-color: var(--bg_gley);
  position: relative;
  height: 90px;
}
.globalMenu .contentsWrap > ul {
  display: flex;
  height: 90px;
}
.globalMenu .contentsWrap > ul li {
  flex:1;
  padding:var(--size10) 0;
  font-size:var(--fsize12);
  text-align: center;
  line-height: 1.2;
}
.globalMenu .contentsWrap > ul > li > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width:100%;
  height:100%;
  border-right:1px dotted #999a9e;
}
.globalMenu ul li:last-child > a {
  border-right:none;
}
.globalMenu .contentsWrap > ul li img {
  width:min(23%,40px);
  height:auto;
  display: block;
}

.child-nav {
  position: absolute;
  left:0;
  top:100%;
  width:100%;
  background-color: #EEEEEE;
  padding-top:var(--size40);
  padding-bottom:var(--size40);
  opacity:0;
  transform: translateY(-100%);
  transition:all .5s var(--easeout);
  z-index: -1;
}
.globalMenu .contentsWrap > ul li.has_child-nav:hover .child-nav {
  transform: translateY(0);
  opacity:1;
}
.child-nav dl {
  display: flex;
}
.child-nav dl dt {
  flex:1;
  font-size:calc(1.1*var(--fsize20));
}
.child-nav dl dt:before {
  content:"";
  display: inline-block;
  vertical-align: middle;
  width:15px;
  height:1px;
  background-color: var(--black);
  margin-right:var(--size10);
} 
.child-nav dl dd {
  width:min(81.6%,980px);
}
.child-nav-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap:var(--size20);
}
.contentsWrap > ul li.sub-nav-item {
  padding:0;
}
.child-nav-list li a {
  background-color: white;
  border-radius: 10px;
  width:100%;
  height:100%;
  display: block;
  filter: drop-shadow(4px 40x 10px #00000010);
}
.child-nav-list li a .txt {
  font-size:var(--fsize12);
  padding:var(--size10);
}

.globalMenu .contentsWrap > ul li.sub-nav-item figure {
  width:100%;
  height:auto;
  aspect-ratio:90/41;
  display: block;
  border-radius: 10px 10px 0 0;
  overflow-y: hidden;
}
.globalMenu .contentsWrap > ul li.sub-nav-item figure img {
  width:100%;
  height:100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  header,.header_inner,.globalMenu,.globalMenu > .contentsWrap > ul {
    height:auto;
  }
  header .header_inner {
    padding-right:68px;
    flex-direction: column;
    gap:4px;
    align-items: flex-start;
    justify-content: center;
    position:relative;
    padding:0 68px 0 20px;
  }
  header .header_inner .logo_tokyo {
    width:  auto
  }
  header .header_inner .logo_tokyo img {
    width: auto;
    height:20px;
  }
  header .header_inner h1 {
    width:  auto;
    margin:0;
  }
  header .header_inner h1 img{
    width:  auto;
    height:25px;
  }
  nav.globalMenu {
    position: fixed;
    z-index : 2;
    top  : 0;
    left : 0;
    text-align: center;
    width: 100%;
    transform: translateY(-100%);
    transition: all 0.6s;
      padding-top:20px;
    padding-bottom:40px;
  }
  nav.globalMenu.active {
    opacity: 1;
    display: block;
    transform: translateY(0%);
    height:100svh;
    overflow: auto;
  }
  .globalMenu .contentsWrap > ul {
      display:flex;
      flex-direction: column;
      margin-top:20px;
      margin-bottom:40px;
  }
  .globalMenu .contentsWrap > ul > li {
    border-bottom:1px dotted #999a9e;
    padding:0;
      font-size:1em;
  }
  .globalMenu .contentsWrap > ul > li > a {
    height:48px;
      border-right: 0;
      flex-direction: row;
      justify-content: flex-start;
      gap:20px;
  }
  .globalMenu .contentsWrap > ul li img {
    width: min(10%, 28px);
}
  .globalMenu .contentsWrap > ul > li.has_child-nav{
    grid-column-start: 1;
    grid-column-end: 3;
    position:relative;
  }
  .globalMenu .contentsWrap > ul > li.has_child-nav > a {
    pointer-events: none;
    position:relative
  }
  .globalMenu .contentsWrap > ul > li.has_child-nav > a:after {
    content:"＋";
    color:var(--black);
    position:absolute;
    right:10px;
    top:calc(50% - 7px);
    font-weight:500;
    width:14px;
    height:14px;
      line-height: 14px;
    font-size:var(--fsize14);
  }
  .globalMenu .contentsWrap > ul > li.has_child-nav.on > a:after {
    content:"";
      width:14px;
      height:2px;
      background-color: var(--black);
      top:calc(50% - 1px);
  }
  .globalMenu .contentsWrap > ul > li:nth-of-type(even) a{
    border-right:none;
  }
  .child-nav {
    position:relative;
    left: auto;
    top: auto;
    width: 100%;
    padding-top:0;
    padding-bottom:0;
    opacity: 0;
    transform: none;
    transition: all .5s var(--easeout);
    z-index: -1;
    height:0;
    overflow: hidden;
}
.on .child-nav {
  height:auto;
  opacity:1;
  padding-left: calc(min(10%, 28px) + 20px);
    background-color: transparent
}
    .on .child-nav .contentsWrap {
        padding:0;
    }
.child-nav dl {
  margin:var(--size10) 0;
  flex-direction: column;
}
.child-nav dl dd, .child-nav dl dt {
  width:100%;
}
.child-nav dl dt:before {
  content:none;
}
.child-nav dl dt a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:8px;
  margin-bottom:var(--size10);
}
.child-nav dl dt a img {
  width:16px !important;
  height:16px!important;
}
.child-nav-list {
  display: flex;
  flex-direction: column;
  gap:0;
}
header .fontcontrol{
  justify-content: flex-start
}
    .globalMenu .contentsWrap > ul li.sub-nav-item figure {
        display: none;
    }
    .contentsWrap > ul li.sub-nav-item {
        height:auto;
        text-align: left;
        border-bottom:1px dotted var(--li_gley);
    }
    .contentsWrap > ul li.sub-nav-item a {
        display: flex;
        align-items: center;
        gap:8px;
    }
    .contentsWrap > ul li.sub-nav-item a:before {
        content:"";
        width:6px;
        height:6px;
        background-color: var(--red);
        border-radius: 50%;
    }
    .contentsWrap > ul.child-nav-list > li.sub-nav-item:last-child {
        border-bottom:none;
    }
    .child-nav-list li a {
        background-color: transparent;
        border-radius: 0;
    }
    .child-nav-list li a .txt {
        padding:10px 0;
    }

}
