@charset "utf-8";
/* -------------------------------------
     sp CSS
 (c) Copyright 2020 Sketches of Design
     version 2020-12-26
------------------------------------- */

/* 1280
--------------------------------------*/
@media screen and (max-width: 1280px) {
  header {
    padding: 0;
  }
  header #b-logo img {
    width: auto;
    height: 60px;
  }
  #hdmenu nav{
    font-size: 1.4rem;
  }
  #contact-area div h2{
    margin: 20px 0 20px 0;
    line-height: 1.6;
  }
  #contact-area .more{
    margin: 0 auto 40px auto;
    font-size: 1.8rem;
  }



}
/*  1024
--------------------------------------*/
@media screen and (max-width: 1024px) {
  body#home #service-area ul li a,
  body#home #about-area ul li a{
    font-size: 2.0rem;
  }
  body#home #mainpic-area{
    padding: 100px 20px 140px 20px;
  }
  body#services-idx #content .col2,
  main section .inner{
    padding: 40px 20px;
  }
  #content ol.bc{
    margin: 10px 20px !important;
    width: auto;
  }
  body#home #news-area{
    margin: 0 20px;
    width: auto;
  }
  footer .inner{
    padding: 60px 20px;
  }
  #content .content-menu{
    margin: 20px;
  }


}
/*  960
--------------------------------------*/
@media screen and (max-width: 960px) {

/* font */
body#home #mainpic-area h1{
  font-size: 5.0rem;
}
h1{
  font-size: 4.0rem;
}
body#services-idx #content .col2 h2,
h2{
  font-size: 2.5rem;
}
h3{
  font-size: 2.0rem;
}
body#about-idx #content #lv02-03 h3{
  font-size: 1.6rem; 
}
h2,h3{
  font-weight: 700;
}
main p,
main dl,
main table,
main ul,
#hdmenu nav ul li{
  font-size: 1.3rem;
}


/**/
#hdmenu ul li a{
  padding: 20px 10px;
}
body#home #mainpic-area {
  padding: 60px 20px 100px 20px;
}
body#home #service-area ul li,
body#home #about-area ul li{
  margin: 0 0 20px 0;
  width: calc(50% - 10px);
}
body#home #profile-area ul li {
  width: 25%;
}
#contact-area .more{
  width: 250px;
  font-size: 1.6rem;
}



}
/*  768
--------------------------------------*/
@media screen and (max-width: 768px) {

  h1{
    font-size: 3.0rem;
  }
  h1 span:not(#home h1 span){
    font-size: 1.6rem;
  }
  h2 {
    font-size: 2.0rem;
  }
img{
  max-width: 100%;
  height: auto;
  width /***/:auto;
}

/* diagram */
.diagram .sp{
  display: block !important;
}
.diagram .image{
  display: none;
}
.diagram{
  position: relative;
}
.diagram span{
  display: block;
  position: absolute;
  width: 30px !important;
  height: 30px !important;
  right: 10px;
  margin: -40px 0 0 0;
}
.diagram img{
  max-width: 100%;
  height: auto;
  width /***/:100%;
}

/* menu */
#hdmenu{
  position: fixed;
  top: 0;
  margin-top: 0;
  padding: 0;
  width: 100%;
}
#hdmenu #b-logo{
  position: relative;
  margin: 10px 20px;
  z-index: 1000;
}
header #b-logo img{
  height: 40px !important;
}
#mobile-head{
  position: absolute;
  top: 0;
  background: #fff;
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
  width: 100%;
  height: 60px;
  z-index: 999;
}
#hdmenu nav{
  position: absolute;
  top: -896px;
  border-top: 1px solid #ccc;
  width: 100%;
  padding: 0;
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}
#hdmenu nav ul,
#hdmenu nav ul li{
  position: static;
}
#hdmenu nav ul{
  list-style: none;
  right: 0;
  bottom: 0;
}
#hdmenu nav ul li{
  margin: 0;
  width: 50%;
  background: rgba(255,255,255,.9);
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
#hdmenu nav ul li:last-child{
  width: 100%;
}
#hdmenu.fixed {
  padding-top: 0;
  background: transparent;
}
#hdmenu.fixed nav ul{
  right: 0;
  height: auto;
}
#hdmenu nav ul li a,
#hdmenu.fixed nav ul li a {
  width: 100%;
  display: block;
  padding: 10px;
  line-height: 1.5;
}
#nav-toggle,
#nav-toggle span {
  position: absolute;
}
#nav-toggle {
  display: block;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 101;
    border: 2px solid #C6B099;
    border-radius: 100px;
}
#nav-toggle div {
  position: relative;
}
#nav-toggle span {
    display: block;
    height: 2px;
    width: 60%;
    background: #C6B099;
    left: 0;
    right: 0;
    margin: auto;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
  top: 11px;
}
#nav-toggle span:nth-child(2) {
  top: 17px;
}
#nav-toggle span:nth-child(3) {
  top: 23px;
}
.open #nav-toggle span:nth-child(1) {
  top: 17px;
  -webkit-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
  transform: rotate(315deg);
}
.open #nav-toggle span:nth-child(2) {
  width: 0;
  left: 50%;
}
.open #nav-toggle span:nth-child(3) {
  top: 17px;
  -webkit-transform: rotate(-315deg);
  -moz-transform: rotate(-315deg);
  transform: rotate(-315deg);
}
.open nav {
  -moz-transform: translateY(956px);
  -webkit-transform: translateY(956px);
  transform: translateY(956px);
}
#hdmenu nav ul li .active{
  padding: 10px 10px 10px 25px !important;
  color: #662C00;
  font-weight: 700;
}
#hdmenu .active::before{
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  margin: auto;
  width: 15px;
}

/**/
footer .lang-menu,
br.sp{
  display: block;
}
footer .sub{
  display: none;
}
body#home #mainpic-area h1,
body#home #mainpic-area p{
  text-align: center;
}
h2 {
  margin: 40px 0 20px 0;
}
#content .lead,
h2 span{
  font-size: 1.6rem;
}
body#home #mainpic-area p,
body#home #service-area ul li a,
body#home #about-area ul li a {
  font-size: 1.8rem;
}
body#home #mainpic-area h1 {
  margin: 0;
/*  font-size: 4.0rem;*/
}
footer .parent:first-child,
#contact-area .inquiry,
#contact-area .careers,
body#home #profile-area ul li{
  width: 100%;
}
footer .lang-menu{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
footer .lang-menu p{
  margin: 0 20px 0 0;
  color: #999;
}
footer .lang-menu li{
  margin: 0 20px 0 0;
  font-size: 1.4rem;
}
footer .lang-menu li a{
  color: #999;
}
body.en footer .lang-menu .en a,
body.cn footer .lang-menu .cn a,
body.ja footer .lang-menu .ja a{
  color: #000;
}
footer .inner{
  padding: 40px 20px 20px 20px;
}
footer ul:not(.sub){
  justify-content: flex-start;
}
footer .parent{
  width: auto;
  margin: 0 30px 0 0;
}
footer .parent:first-child{
  margin: 0 0 20px 0;
}
footer .parent:first-child .sub{
  display: flex;
  flex-wrap: wrap;
}
footer .parent:first-child .sub li{
  width: 50%;
}
footer .parent:first-child > a{
  margin: 0 0 10px 0;
}
#mainpic-area{
  padding: 100px 0 50px 0;
}


body#home #mainpic-area {
  padding: 90px 20px;
}
body#home #news-area h2{
  width: 80px;
}
body#home #news-area dl {
  width: calc(100% - 80px);
}
body#home #about-area .feature{
  margin: 50px 0 0 0;
  justify-content: space-between;
}
body#home #about-area .feature div{
  margin: 0 0 40px 0;
  width: calc(50% - 10px);
}
body#home #service-area .globalaw img{
  width: 204px;
  height: auto;
}
body#home #profile-area ul{
  display: block;
}
body#home #profile-area ul li{
  margin: 0 0 10px 0;
}
body#home #profile-area ul li.blank {
  padding-top: 0;
}
body#home #profile-area ul a{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
body#home #profile-area ul .image{
  width: 150px;
  object-fit: cover;
}
body#home #profile-area ul .image img{
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: 100% 0;
}
body#home #profile-area ul .name{
  width: calc(100% - 150px);
  text-align: left;
  font-size: 1.6rem;
}
body#home #profile-area ul small {
  display: inline;
}
body#about-idx #content #lv02-03 .feature-list div{
  margin: 0 0 10px 0;
  width: 100%;
}
body#about-idx #content #lv02-04 dt{
  padding-bottom: 20px;
  width: 90px;
  line-height: 1.4;
}
body#about-idx #content #lv02-04 dt::before{
  right: -4px;
  width: 6px;
  height: 6px;
}
body#about-idx #content #lv02-04 dt br{
  display: block;
}
body#about-idx #content #lv02-04 dd{
  margin: 0px 0 20px 0;
  width: calc(100% - 100px);
}
body#about-idx #content #access h3{
  margin: 20px 0;
}
body#profile-idx #content table th{
  width: 5em;
}


}
/*  667
--------------------------------------*/
@media screen and (max-width: 667px) {
  body#home #mainpic-area h1{
    font-size: 7vw;
  }
  body#home #mainpic-area h1 span{
    font-size: 5vw;
  }
  footer .copy{
    font-size: 1.0rem;
  }
  footer .parent:first-child .sub{
    font-size: 1.2rem;
  }
  body#home #service-area .globalaw .text{
    font-size: 1.3rem;
  }
  #content .lead,
  footer .lang-menu,
  footer .parent{
    font-size: 1.4rem;
  }
  body#home #mainpic-area p{
    font-size: 1.6rem;
    font-weight: 700;
  }
  body#home #about-area .feature div p br{
    display: none;
  }
  #btt{
    width: 40px;
    height: 40px;
    right: 10px;
    bottom: 10px;
  }
  #btt a{
    background-size: 40px 40px !important;
  }
  #hdmenu .b-tagline{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 150px;
    height: 28px;
    z-index: 9999;
  }
  #hdmenu .b-tagline img{
    margin: 0;
  }
  h2 {
    margin: 20px 0 15px 0;
  }
  body#profile-idx #content h2{
    margin: 10px 0 15px 0;
  
  }
  body#home #mainpic-area {
    padding: 90px 20px 70px 20px;
  }
  body#home #news-area dl,
  body#home #news-area h2,
  body#home #news-area dl dd,
  body#home #news-area dl dt{
    width: 100%;
    padding: 0;
  }
  body#home #news-area h2{
    border: none;
  }
  body#home #news-area{
    padding: 10px;
  }
  body#home #about-area .inner {
    padding: 80px 20px 40px 20px;
  }
  body#home #about-area .feature {
    margin: 20px 0;
  }
  body#home #about-area .feature div{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: none;
    margin: 0 0 10px 0;
    padding: 0;
    width: 100%;
  }
  body#home #about-area .feature div p{
    margin: 0;
    text-align: left;
  }
  body#home #about-area .feature div span{
    margin: 0 5px 0 0;
    width: 24px;
    height: 24px;
    line-height: 20px;
  }
  body#home #about-area ul li {
    margin: 0 0 10px 0;
    width: calc(50% - 5px);
  }
  body#home #service-area ul li a,
  body#home #about-area ul li a{
    font-size: 1.4rem;
  }
  body#home #service-area ul li{
    margin: 0 0 5px 0;
    width: 100%;
  }
  body#home #service-area ul li a,
  body#home #about-area ul li a{
    padding: 10px;
  }
  body#home #service-area ul li a::before,
  body#home #about-area ul li a::before{
    background-size: 6px 12px !important;
    right: 10px;
  }
  body#home #service-area .globalaw .logo{
    margin: 0 auto;
  }
  body#home #service-area .globalaw .text{
    margin: 20px 0 0 0;
    width: 100%;
  }
  body#home #profile-area ul .name{
    width: calc(100% - 120px);
  }
  body#home #profile-area ul .image{
    width: 120px;
  }
  body#home #profile-area ul .image img{
    height: 100px;
  }
  
  body#services-idx #content .col2{
    display: block;
  }
  body#services-idx #content .col2 > * {
    width: 100%;
  }
  body#services-idx #content .col2 > * .inner{
    padding: 20px;
  }
  body#services-idx #content .col2 h2{
    margin-bottom: 20px;
  }

  
body#profile-idx #content section .inner div{
  width: calc(100% - 180px);
}
body#profile-idx #content section .inner .image{
  width: 160px;
}

}
/*  480
--------------------------------------*/
@media screen and (max-width: 480px) {

  body#home #mainpic-area p{
    font-size: 1.4rem;
  }
  body#home #profile-area ul .image{
    width: 80px;
  }
  body#home #profile-area ul .name{
    width: calc(100% - 80px);
  }
  body#home #profile-area ul .image img{
    height: 80px;
  }
  #contact-area .inquiry img{
    width: 100%;
    height: 100%;
  }
  #contact-area .more{
    padding: 10px;
  }

body#about-idx #content table{
  margin-top: 20px;
}
body#profile-idx #content table tr th,
body#profile-idx #content table tr td,
body#about-idx #content table tr th,
body#about-idx #content table tr td{
  display: block;
  border-bottom: none;
}
body#profile-idx #content table tr th,
body#about-idx #content table tr th{
  padding: 1em 0 0 0;
  font-weight: bold;
}
body#profile-idx #content table th{
  width: auto;
}
body#profile-idx #content table tr td,
body#about-idx #content table tr td{
  padding: 0.5em 0 1em 0;
}

body#profile-idx #content section .inner{
  display: block;
}
body#profile-idx #content section .inner div{
  width: 100%;
}
body#profile-idx #content section .inner .image{
  width: 66.666%;
  margin: 0 auto;
}


body#sitemap-idx #content ul ul li{
  font-size: 1.3rem;
  width: 100%;
}



}


/*  375
--------------------------------------*/
@media screen and (max-width: 375px) {


}
