
#key {
  background-image: url(../img/top.jpg);
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

#key-contents-wrap {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  padding: 10px;
  position: relative;
}

#key-contents-inner {
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  position: relative;
  overflow: hidden;
}

#key-catch {
  color: #fff;
  font-size: 48px;
  line-height: 1.45;
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  letter-spacing: 0.1em;
}

#logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 120px;
  z-index: 3;
}

#logo img{height:100%;}

.mainTtl{
  font-size: 44px;
  margin-bottom:10px;
}

.subTtl{
  font-size: 12px;
  text-align: center;
}

#btn-menu {
	background: none;
	display: inline-block;
	border: none;
	outline: none;
	-webkit-appearance: none;
	width: 50px;
	height: 50px;
	z-index: 4;
    position: fixed;
    right: 5px;
    top: 6px;
}

#btn-menu span {
	height: 1px;
  background: #fff;
	position: absolute;
	right: 14px;
	margin: auto;
	transition: all 200ms ease-in-out;
	transform: rotate(0);
}

.open #btn-menu span {
  background: #fff;
}

#btn-menu.red span{
  background: #180a0a;
}


.open #btn-menu.red span {
  background: #fff;
}

#btn-menu span:nth-child(1) {
	top: 16px;
  width: 14px;
}

#btn-menu span:nth-child(2) {
	top: 0;
	bottom: 0;
  width: 18px;
}

#btn-menu span:nth-child(3) {
	bottom: 16px;
  width: 22px;
}
.open #btn-menu span:nth-child(1),
.open #btn-menu span:nth-child(3) {
	top: 25px;
	bottom: 25px;
}

.open #btn-menu span:nth-child(1) {
	transform: rotate(45deg);
  width: 22px;
}

.open #btn-menu span:nth-child(3) {
	transform: rotate(-45deg);
}

.open #btn-menu span:nth-child(2) {
	width: 0;
	height: 0;
	overflow: hidden;
}

@media screen and (max-width: 767px) {

    #btn-menu {
      width: 42px;
      height: 42px;
      right: 12px;
    }
    #btn-menu span {
      right: 9px;
    }
    #btn-menu span:nth-child(1) {
      top: 14px;
    }
    #btn-menu span:nth-child(2) {
      top: 0;
      bottom: 0;
    }
    #btn-menu span:nth-child(3) {
      bottom: 13px;
    }
    .open #btn-menu span:nth-child(1),
    .open #btn-menu span:nth-child(3) {
      top: 20px;
    }
    
    .open #gNav {
        /* transform: translateX(0); */
    }

}

/* gNav */
#menu {
	height: 0;
	width: 0;
	overflow: hidden;
}

#gNav {
  background: #341a16;
	position: fixed;
	top: 0;
	right: 0;
	transition: all 300ms ease-out;
	opacity: 0;
  width: 100%;
  max-width:100%;
  height: 100vh;
  overflow: hidden;
	box-sizing: border-box;
	z-index: 2;
  transform: translateX(100%);
  display: block;
}

.open #gNav {
	opacity: 1;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-60px);
}

/* .open #loading {
    display: block!important;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
} */
/* .open #loading .loader {
    display: none!important;
} */

#gNav > ul {
	display: flex;
  flex-wrap: wrap;
	height: auto;
	padding-top: 20px;
}

#gNav > ul > li {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

#gNav > ul > li:nth-child(n+2) a {
	border-left: none;
}

#gNav > ul > li a {
	display: block;
	line-height: 1.7;
	padding: 6px 20px;
    color: #fff;
	text-align: left;
}

#gNav > ul > li > a {
	padding: 12px 20px;
	margin: 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

#gNav .sub-menu {
    background: rgba(255, 255, 255, 0.08);
}

#gNav > ul > li ul {
	padding-left: 15px;
	padding-bottom: 5px;
    padding-top: 5px;
}

#gNav .info {
	font-weight: 500;
}

#gNav .info > span {
	line-height: 40px;
	display: block;
	color: #fff;
	padding: 0 6%;
}

#gNav .info ul {
	padding: 15px 6vw;
}

#gNav .info ul li {
	line-height: 1.7;
}

#gNav .info ul li:nth-child(n+2) {
	margin-top: 8px;
}

.sub-menu {
	position: inherit;
	left: 0;
	max-height: none;
	overflow: visible;
}

.sub-menu li {
	background: none;
	border-top: none;
	width: auto;
    display: none;
}

#gNav .sub-menu li a {
	display: block;
	padding-left: 12px!important;
    padding-right: 12px!important;
	font-size: 13px;
	position: relative;
}

#gNav .sub-menu li a::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(50% - 1px);
	width: 6px;
	height: 1px;
	background: #bbb;
	display: block;
}

html .open {
  overflow: hidden;
  height: 100%;

}

body.open {
  overflow-y: hidden;
}

@media screen and (max-width: 767px) {

      .overlay {
        overflow: auto;
        height: 100%;
    }
    
    #gNav {
        padding-top: 48px;
    } 
    .open #gNav {
        transform: translateX(0);
    }
    #gNav > ul > li {
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        margin-bottom: 0;
    }
    #gNav > ul > li > a {
        border: none;
    }
    #gNav .sub-menu {
        border-top: 1px solid rgba(255, 255, 255, 0.09);
    }
}

@media screen and (max-width: 767px) {
  
  #key {
      background-position: left 20% center;
  }
  #key-contents-wrap {
      padding: 8px;
  }

  #key-catch {
      font-size: 32px;
      top:50%;
  }

  .mainTtl{
    font-size: 27px;
    margin-bottom:0;
  }

  .subTtl{
    font-size: 10px;
  }  

}

#logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 120px;
  z-index: 3;
}

#logo img{height:100%;}

.mainTtl{
  font-size: 44px;
  margin-bottom:10px;
}

.subTtl{
  font-size: 12px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  
  .mainTtl{
    font-size: 27px;
    margin-bottom:0;
  }

  .subTtl{
    font-size: 10px;
  }  

  #logo {
    width: 70px;
    height: 70px;
  }

}

/* menu */

.menu{
  position: absolute;
  margin: 0 auto;
  top:80%;
  left:50%;
  transform: translateX(-50%);
}

.menu ul{
  display: flex;
}

.menu li{
  position: relative;
  text-align: center;
  white-space:nowrap; 
}

.menu li.listB::after{
  content:"";
  width:1px;
  height:43px;
  background-color: #fff; 
  position: absolute;
  top:50%;
  right:0px;
  transform: translateY(-50%);
}

.menu ul a{
  color: #fff;
  display: block;
  padding-left:10px;
  padding-right:10px;
  margin:0 20px;
  padding-bottom:5px;
}

.menu ul a {
  background:
    linear-gradient(currentColor 0 0) 0    100%/var(--d, 0) 1px no-repeat,
    linear-gradient(currentColor 0 0) 100% 100%/var(--d, 0) 1px no-repeat;
  transition:1s;
}

.menu ul a span{
  font-size: 10px;
  display: block;
}

.menu ul a:hover {
  --d: 100%;
}

section{
  margin-top:60px!important;
  padding-top:60px;
}

.cntTtl{
  position: relative;
  text-align: center;
  text-align: center;
  margin: 0 auto 90px;
  padding-bottom:7px;
}

.cntTtl.type2{
  margin: 0 auto 35px;
}

h2{
  font-weight: bold;
  font-size: 26px;
}

.subEn{
  font-size: 12px;
  color: #ad8b8b;
  text-align: center;
}

.cntTtl::after{
  content:"";
  background-color: #351414;
  width:30px;
  height:2px;
  position: absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
}

@media only screen and (max-width: 640px){

  .cntTtl{
    margin:0 auto 40px;
  }

  h2{
    font-size: 24px;
    font-weight: normal;
  }

  section{
    /* margin-top:60px!important; */
  }

  .subEn{
    font-size: 10px;
    margin-top: -5px;
  }

}

/* SERVICE */

.serviceWrap{
  margin: auto 0;
  display: flex;
  flex-wrap: wrap;
}

.serBox{
  width: 360px;
  margin: 0 20px;
}

.serTtl{
  font-size: 20px;
  font-weight: bold;
  padding-bottom:10px;
  border-bottom:1px solid #351414;
  margin-bottom: 10px;
  text-align: center;
}

@media only screen and (max-width: 640px){

  .serviceWrap{
    width:100%;
  }
  
  .serBox{
    width:100%;
    margin:0;
  }

  .serTtl{
    font-size:18px;
  }
  
}

/* ATTORNEYS */

.nameBg{
  width:100%;
  position: relative;
  right:0;
  margin-top:50px;
  background-color: #351414;
  background-image: url(../img/law.jpg);
  background-position: center left;
  background-size: cover;
  height:100%;
  color: #fff;
  padding:50px 0;
  overflow: hidden;
}

.law{
  width:1170px;
  margin: 0 auto;
}

.nameEn{
  font-size: 20px;
  padding-top:10px;
  font-weight: normal;
  display: inline-block;
  margin-left:23px;
  position: relative;
  top:-4px;
}

.nameEn::after{
  position: absolute;
  left: 290px;
  height: 1px;
  width: 100vw;
  background-color: #fff;
  content: "";
  display: block;
  top: 25px;
  overflow: hidden;
}

.bel{
  font-size: 16px;
}

.name{
  font-size: 36px;
  font-weight: bold;
}

.nameCnt p{
  width:550px;
  float: right;
}

@media only screen and (max-width: 640px){

  .law{
    width:auto;
    min-width: 320px;
    padding:0 20px;
  }

  .nameCnt p{
    width:100%;
  }

  .name{
    margin-right:10px;
    font-size:24px;
  }

  .nameEn{
    margin-left:0;
    padding-top:0;
    font-size: 11px;
  }
  
  .nameEn::after{
    display: none;
  }

  .nameArea{
    margin-bottom:20px;
    border-bottom:1px solid #dadada;
    padding-bottom:20px;
  }

  
.bel{
  font-size: 13px;
}


}

/* ACCESS */

.access{
  width:900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.mapArea{
  width:420px;
  padding-top:15px;
}

.mapArea img{
  width:100%;
}

.officeName{
  font-size: 32px;
  font-weight: bold;
}

.acceccTtl2{
  margin-bottom: 22px;
  border-bottom: 1px solid #351414;
  padding-bottom: 23px;
  font-size: 12px;
}


@media only screen and (max-width: 640px){

  .access{
    width:auto;
    min-width: 320px;
    padding:0 20px;
    display: block;
  }

  .mapArea{
    width:100%;
    padding-top:0;
  }

  .officeName{
    font-size: 24px;
  }

  .acceccTtl2{
    font-size: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #351414;
    padding-bottom: 16px;
  }  

}

/* FEE PRIVACY */

.inner{
  margin: 0 auto;
  max-height:600px ;

}

.contSec{
  margin: 100px 0 100px;
}

.whiteBg{
  max-width:1220px;
  margin:0 auto;
  background-color: #fff;
  /* padding:40px 60px; */
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.whiteInner.type2{
  padding:100px 50px;
}

.whiteInner{
  padding:50px;
}

.privacyTtl{
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 25px;
  padding-top: 45px;
}

.privacySec{
  margin:20px auto 30px;
}

.pdf{
  position: relative;
  text-decoration: underline;
}

.pdf::after {
  position: absolute;
  display: block;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 24px;
  height: 25px;
  background: url(../img/pdf_icon.png) no-repeat left top / cover;
  content: "";
}

.accord-menu{
  /* height:40px; */
  background-color: #fff;
  font-size: 12px;
}

.accord-menu ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 30px 0;
  margin-right: 60px;
  background: #fff;
}

.accord-menu li{
  margin:0 25px;
}

@media only screen and (max-width: 640px){

  .contSec{
    width:100%;
    min-width: 320px;
    margin: 0 auto 80px;
    padding-top: 80px;
  }

  .inner{
    height:calc(100vh - 403px);
  }

  .whiteInner.type2{
    padding:50px 20px;
  }

  .whiteInner{
    padding:20px;
  }

  .privacyTtl{
  font-size: 16px;
  }

  .whiteBg{
  width:100%;
}

}

/* footer */

footer{
  font-size:16px;
  color: #fff;
  background-color: #351414;
  margin: 0 auto;
  width:100%;
  position: relative;
  right:0;
  margin-top:50px;
  background-image: url(../img/access.jpg);
  background-position: center left;
  background-size: cover;
  height:100%;
  padding:35px 0;
  overflow: hidden;
}

.footerArea{
  margin:0 auto;
  width:1170px;
  text-align: right;
}

.footerTtl{
  font-size: 30px;
  font-weight: bold;

}

.footerTtl2{
  font-size: 12px;
  margin-bottom:40px;
}

.footerAc{
  margin-bottom:20px;
}

.copyRight{
  font-size: 9px;
}

.privacy{
  margin-bottom:40px;
  font-size: 12px;
}

.privacy a{
  color: #fff;
}

.privacy a:hover{
  text-decoration: underline;
  color: #fff;
}

@media only screen and (max-width: 640px){

  footer{
    background-position: center right  70%;
    padding-top:30px;
    padding-bottom:30px;
  }

  .footerArea{
    width:100%;
    padding-right:20px;
    width:auto;
    min-width: 320px;
    padding:0 20px;
    text-align: left;
  }

  .footerTtl{
    font-size: 24px;
  }
  
  .footerTtl2{
    font-size: 10px;
    margin-bottom:20px;
  }

  .footerAc{
    margin-bottom:30px;
    font-size: 12px;
  }

  .copyRight{
    font-size: 8px;
  }

  .privacy{
    margin-bottom:10px;
    font-size: 10px;
  }

}
