@charset "UTF-8";
html { font-family: "Avenir Next LT Pro Ultra Light",'Hind', sans-serif; font-weight: 100; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; font-size: 62.5%;}
body { font-family: "Avenir Next LT Pro Ultra Light","Yu Gothic", YuGothic, sans-serif; font-weight: 100; padding-top: 100px; letter-spacing: 0.5rem;}

h1 {
    text-align: center;
    font-weight: 400;
}

h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    margin-top: 5rem;
}

.container {
    text-align: center;
    position: relative;
    min-height: 100%;
}

header {
    width: 100%;
    height: 100px;
    background: #FFF;
    padding: 1rem 1.8rem;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
}

main {
    padding-bottom: 15rem;
}

img.menulogo {
    text-align: center;
    width: 135px;
}

@media screen and (max-width: 1080px) { 
#g-nav li a{
	font-size: 1.2rem;
}
}

#g-nav{
    position:fixed;
    z-index: 3;
    bottom:-120%;
    left:0;
    width:100%;
    height: 40vh;
    background: #000;
    opacity: 0.7;
    transition: all 0.6s;
}

#g-nav.panelactive{
    bottom: 0;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 3; 
    width: 100%;
    height: 40vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    position: absolute;
    z-index: 3;
    top:40%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav li{
    list-style: none;
    text-align: center; 
}

#g-nav li a{
    color: #FFF;
    text-decoration: none;
    padding: 1rem;
    display: block;
    text-transform: uppercase;
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

.loop_wrap:hover ul {
  animation-play-state: paused;
}

.loop_wrap {
  display: flex;
  width: 100vw;
  overflow: hidden;
}

.loop_wrap img {
  width: auto;
  height: 450px;
}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

.loop_wrap img:first-child {
  animation: loop 100s -50s linear infinite;
}

.loop_wrap img:last-child {
  animation: loop2 100s linear infinite;
}

p.copyright {
    bottom: 0;
    position: absolute;
    color: #fff;
    font-size: 1rem;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0.5rem 0;
    letter-spacing: 0.2rem;
}

ul {
    padding: 0;
}

.openbtn {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 5;
}

.headerlogo {
    height: 60px;
    width: auto;
}

.inner {
    text-align: center;
    margin-top: 5rem;
}

a.mail {
    font-size: 1.5rem;
    color: #000;
    text-decoration: underline;
}

p.mail_info {
    margin-top: 2rem;
}

img.portfolio {
    width: 80%;
    max-width: 500px;
    box-shadow: 0 0 12px gray;
}

.button {
    display: grid;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    margin: 3rem auto;
    border-radius:0;
    letter-spacing: 0.2rem;
}

input[type="button"] {
    display: grid;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    margin: 3rem auto;
    border-radius:0;
}

table {
    font-size: 1.2rem;
    margin: 4rem auto;
    letter-spacing: 0.2rem;
}

button.button.map {
    margin: 0;
}

td {
    padding: 1rem 0.5rem 0;
}

.inner.company {
    padding-bottom: 5rem;
    border-bottom: 1px solid;
    display: inline-block;
    width: 350px;
}

.inner.profile {
    display: inline-block;
    text-align: left;
    margin-bottom: 5rem;
}

p.name {
    font-size: 1.4rem;
    margin: 0 .5rem;
}

p.name_en {
    font-size: 1.2rem;
    margin:1.2rem 0 1.5rem .5rem;
}

.profile_text {
    margin: 3rem .5rem;
}

.profile_text p {
    font-size: 1.2rem;
}

a {
    text-decoration: none;
}

@media screen and (min-width: 1080px) {
.container {
    max-width: 1600px;
    margin: 0 auto;
}

img.menulogo {
    bottom: 5rem;
    right: 5rem;
}

#g-nav {
    height: 20vh;
}

#g-nav.panelactive #g-nav-list {
    height: 20vh;
}

#g-nav ul {
    display: flex;
    font-size: 1.8rem;
}

#g-nav li a {
    line-height: 3rem 2rem;
    position: relative;
    margin: 1rem;
}

p.copyright {
    font-size: 1.5rem;
    margin: 1rem 0;
}

#g-nav li a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 1px;
background: #fff;
bottom: 0;
transform: scale(0, 1);
transform-origin: left top;
transition: transform 0.3s;
}

#g-nav li a:hover::after {
transform: scale(1, 1);
}
}

@media screen and (min-width: 800px) {
#g-nav ul {
    display: flex;
    top: 30%;
}

#g-nav {
    height: 25vh;
}

#g-nav.panelactive #g-nav-list {
    height: 25vh;
}
}

.container-inner {
    margin: auto;
    max-width: 800px;
}

@media screen and (max-width: 1080px) {
.container-inner {
    max-width: 90%;
}
}

h2.about-title {
    font-size: 1.6rem;
    padding: 1.5rem 0;
    border-top: 1px solid #121212;
    border-bottom: 1px solid #121212;
}

p.about-text {
    font-size: 1.6rem;
    padding: 2rem 0 0;
}

p.about-text.identity {
    max-width: 255px;
    margin: auto;
    text-align-last: justify;
}

p.about-sub-text {
    font-size: 1.4rem;
}

h2.service-title {
    font-size: 1.6rem;
}

.service-inner {
    border-bottom: 1.5px dotted #121212;
}

h2.service-title {
    font-size: 1.6rem;
    margin: 5rem 0;
}

h2.service-title.link {
    border-top: 1.5px dotted;
    margin: 5rem 0 2rem 0;
    padding-top: 5rem;
}

span.service-jp {
    display: block;
    font-size: 1.4rem;
    margin: 1rem 0;
}

button.button.service {
    margin-bottom: 5rem;
}

.reflection-mask{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url('/img/b3-logo-icon.png'); mask-image: url('/img/b3-logo-icon.png');
  -webkit-mask-size: 100% auto; mask-size: 100% auto;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: left top; mask-position: left top;
}

.reflection {
    position: absolute;
    top: 0%;
    left: -100%;
    width: 100%;
    padding: 100% 0 0;
    background-image: radial-gradient(circle, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 80%);
    transform: skewX(30deg);
    animation-name: reflection;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes reflection{
  100%{
    left: 100%;
  }
}

p.copyright.page {
    color: #121212;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #fff;
}

@media screen and (min-width: 1080px) {
footer {
    height: 60px;
}
}

a.mail {
    letter-spacing: 0.2rem;
}

p.mail_info {
    letter-spacing: 0.2rem;
}