@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
body {
  background-size: cover;
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-family: Raleway, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
  height:0;
  background: url(../images/top.jpeg) no-repeat fixed left bottom ;
  background-position: center top;
  background-size: contain; 
  
}
*, *::before, *::after {
  box-sizing: border-box;
}
.brack{
  background-color: rgba(143, 211, 250, 0.562);
}


/* --------------------------------
 * parts
 * -------------------------------- */
.heading {
  position: relative;
  display: inline-block;
  margin: 30px 0 15px;
  padding-bottom: 15px;
  letter-spacing: 2px;
  font-size: 4rem;
  color: rgb(78, 78, 78);
}
.heading::before,
.heading::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #999;
}
.heading::before {
  bottom: 5px;
}
.button {
  display: inline-block;
  width: 200px;
  padding: 20px;
  border-radius: 4px;
  background-color: #afa58d;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.button:hover {
  opacity: 0.9;
}
.button-showy {
  background-color: #D29E04;
}
.button-ghost {
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0.15);
}
.button_none{
  display: none;
}

.logo {
  width: 120px;
  height: 60px;
  /* top :10px; */
}

/* 2. headerArea styles
================================================== */
#header {
	height:76px;
	margin:0 ;
	padding:0;
	/* position:relative; */
	width:max-content;
	/* z-index:10; */
}

.title {
    height: 76px;
    margin: auto 0;
    padding: auto 0;
    position: fixed;
    left: 5%;
    list-style: none;
    top:7px;
}


/* 3. globalNaviArea styles
================================================== */
#gNavi{
  height: 76px;
  margin: auto 0;
  padding: auto 0;
  position: fixed;
  right: 5%;
  list-style: none;
}

#gNavi li {
  float: left;
  margin: 10px;
}

#gNavi a{
  height:21px;
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: rgb(78, 78, 78);

}

#gNavi a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: rgb(26, 31, 49);
  transform: scale(1, 1);

}

#gNavi a:hover::after {
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;

}

nav {
  /* top:0; */
  position: fixed;
  display: flex;
  padding: 0 50px;
  /* align-items: center; */
  width: 100%;
  /* height: var(--nav-height); */
  background: var(--nav-background);
  background-color: rgba(73, 75, 75, 0.562);
  z-index: 2;

}

nav.fixed{
  position: fixed;
  top: 0;
}


/* nav-links */

.nav-links {
  display: flex;
  height: var(--nav-height);
  align-items: center;
  margin-left: auto;
}

.nav-links li {
  list-style: none;
  margin: 0 15px;
  height: var(--nav-height);
  line-height: var(--nav-height);
  text-align: center;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(99, 99, 99);
  position: relative;
}

/* menu */

/* .menu {
  margin: 20px 0 0 auto;
  background-color: #383634;
  cursor: pointer;
  background: var(--nav-background);
  border: none;
  outline: none;
  display: none;
  z-index: 10000;
  float: right;
}

.menu .bar {
  margin: 0 0 0 auto;
  width: 20px;
  height: 2px;
  background: rgb(255, 255, 255);
  border-radius: 5px;
  opacity: 1;
  visibility: visible;
  transition: 0.5s ease;
  transform-origin: left;

}

.menu .bar1 {
  margin-bottom: 5px;
}

.menu .bar3 {
  margin-top: 5px;
}

.menu.toggle .bar1 {
  transform-origin: left;
  transform: rotate(45deg);
}

.menu.toggle .bar2 {
  opacity: 0;
  visibility: hidden;
}

.menu.toggle .bar3 {
  transform-origin: left;
  transform: rotate(-45deg);
} */

/* --------------------------------
 * MainBox
 * -------------------------------- */
.mainBox {
  

  padding: 160px 30px 160px;

 


}
.site-title-sub {
  margin: 0 0 30px;
  letter-spacing: 1px;
  font-size: 2.2rem;
}
.site-title-sub::before,
.site-title-sub::after {
  content: '';
  display: inline-block;
  width: 140px;
  height: 2px;
  margin: 0 30px;
  background-color: #fff;
  vertical-align: middle;
}
.site-title {
  margin: 100px 0 0px;
  font-size: 7.6rem;
  color: rgb(78, 78, 78);
  text-shadow: 0px 0px 13px #ffffff;
  font-family: 'Batang';
  
}
.site-description {
  margin-bottom: -35px;
  color: rgb(78, 78, 78);
  font-size: 1.6rem;
  text-shadow: 0px 0px 13px #ffffff;
  font-family: 'Batang';
}
.buttons .button {
  margin: 10px;
}


/* --------------------------------
 * even
 * -------------------------------- */
.evenBox {
  padding: 80px 30px;
  background-color: #fff;
  color: #333;
}
.even-text {
  margin: 30px 0;
  line-height: 2.5;
}


/* --------------------------------
 * odd
 * -------------------------------- */
.oddBox {
  padding: 40px 0;
  background-color: rgba(143, 211, 250, 0.562);
  font-family:arial
}

.kaisha {
  margin: 30px auto 0;
  width: 70%;
  font-family:arial
  }
  
  .kaisha th,
  .kaisha td {
  border: 1px solid rgb(78, 78, 78);
  padding: 20px;
  color: #333;
  background-color: #f3f3f3; 
  }
  
  .kaisha th {
  font-weight: bold;
  background-color: #f3f3f3; 
  }


/* --------------------------------
 * skills
 * -------------------------------- */
.skills {
  padding: 80px 0;
  background-color: #fff;
  color: #333;
}
.skills-wrapper {
  display: table;
  width: 90%;
  margin: 50px auto 0;
  table-layout: fixed;
}
.skill-box {
  display: table-cell;
  padding: auto 0;
}


/* .skill-box img {
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
  line-height: 142px;
  
} */

.skill-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
  border: 4px solid;
  border-radius: 50%;
  font-size: 8rem;
  line-height: 142px;
  color: rgb(162, 221, 255);
}
.skill-title {
  margin: 0 20px 20px;
  font-size: 2rem;
}
.skill-text {
  margin: 0 20px;
  line-height: 2;
  font-size: 87%;
}


/* --------------------------------
 * contact
 * -------------------------------- */
.contact {
  background-color: rgba(143, 211, 250, 0.562);
  padding: 80px 0 150px;

}
.contact-form {
  width: 50%;
  margin: 50px auto 0;
}
.contact-form input[type=text],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.5);
  color: rgb(78, 78, 78);
}
.contact-form input[type=text]:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px rgba(143, 211, 250, 0.562) inset;
}
.contact-form textarea {
  height: 150px;
}
.contact-form input[type=submit] {
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 15px;
  border: 1px solid rgba(59, 59, 59, 0.473);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.582);
  color: rgb(78, 78, 78);
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
  background-color: rgba(143, 211, 250, 0.562);
}


/* --------------------------------
 * footer
 * -------------------------------- */
.footer {
  padding: 12px 0;
  font-size: 1.3rem;
  background-color: rgba(0, 0, 0, 0.700);
}


/* --------------------------------
 * Tab and SmartPhone
 * -------------------------------- */

 @media (max-width: 768px) {

  body {
    font-size: 1.3rem;
    background: none ;
  }

  .mainBox-bg {
    background: url(../images/top.jpeg) no-repeat fixed left bottom ;
    background-position: center top;
    background-size: contain;    

}

  .mainBox-bgSmoke{
    background-color: rgba(143, 211, 250, 0.562);
  }

  #header{
    position: static;
    overflow: hidden;

  }

  .logo {
    width: 120px;
    height: 60px;
    margin: 0px 87% 0 0;
    overflow: hidden;
  }
  .title{
    position:relative;
    overflow: hidden;
    left:0;
  }


  #header{
    margin: 0 0 0 0;
  }
  nav {
    padding: 0;
    background-color: transparent;
    display:block;
    position:static;
    z-index:auto;
    overflow: hidden;
    
  }
  .nav-links {
       flex-direction: column;
       position: fixed;
       top: 90px;
       left: 100%;
       width: 300px;
       height: 100%;
       background: var(--nav-background);
       margin-top: var(--nav-height);
       transition: 0.5s ease-out;
  }
  .nav-links li {
       height: var(--nav-height);
       line-height: var(--nav-height);
       text-align: center;
       width: 100%;
       display: block;
  }
  /* .menu {
    padding: 6px 6px 0  0;
    height: 30px;
    width: 30px;
    right: 0;
    display: block;
    margin-right: auto;
    position: fixed;
    z-index: 100;
    background-color: #383634;
  }

  .menu.toggle   .nav-links {
    transform: translateX(-100%);
  } */
  
  #gNavi{
    height: 50vh;
    width: 50vh;
    margin-left: auto;
    margin-right: 0;
    top:0;
    padding: 50px 0 0;
    z-index: 1;
    font-size: 150%;
    background-color: #383735;
    display: none;
    position: fixed;
  }

  .heading {
    margin-top: 20px;
    font-size: 2.5rem;
    color: #000;
  }
  .button:hover {
    opacity: 1;
  } 

  /* --- MainBox --- */
  .mainBox {
    padding-top: 60px;
  }
  .site-title-sub {
    font-size: 1.7rem;
  }
  .site-title-sub::before,
  .site-title-sub::after {
    display: block;
    width: 80%;
    margin: 10px auto;
  }
  .site-title {
    margin-top: 35px;
    font-size: 3rem;
  } 

  /* --- even --- */
  /* .even-text {
    line-height: 1.8;
  } */

  /* --- works --- */
  /* .works-wrapper,
  .work-box {
    display: block;
  }
  .work-image {
    display: none;
  }
  .work-description {
    position: relative;
  }
  .work-box::after {
    top: 0;
    height: 100%;
    background-size: cover;
    transform: none;
  } */

  /* --- skills --- */
  .skills-wrapper,
  .skill-box {
    display: block;
  }
  .skill-box {
    margin: 40px auto;
  }
  .skill-icon {
    width: 100px;
    height: 100px;
    font-size: 5rem;
    line-height: 92px;
  }
  .skill-text {
    margin: 0;
  } 

  /* --- contact --- */
.contact {
    padding-bottom: 80px;
  }
  .contact-form {
    width: 80%;
  }
} 

/* --------------------------------
 * smart phone
 * -------------------------------- */


 @media (max-width: 572px) {

  .mainBox-bg {
    background: url(../images/top.jpeg) no-repeat fixed left bottom ;
    background-position: center top;
    background-size: 572px 394px;    

}

  .mainBox-bgSmoke{
    height:394px;    
  }
  
 }