@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
body {
  background:#003466 ;
  background-size: cover;
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-family: Raleway, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}


/* --------------------------------
 * parts
 * -------------------------------- */
.heading {
  position: relative;
  display: inline-block;
  margin: 30px 0 15px;
  padding-bottom: 15px;
  letter-spacing: 2px;
  font-size: 4rem;
}
.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: 220px;
  
}
.buttonpc {
  display: inline-block;

  
}
.button-logo {
 margin-top: 20px;
 
 }
 .button-logow {
 margin-top: 20px;
 width: 110px;
 }
.button:hover {
  opacity: 0.9;
}
.button2:hover {
  opacity: 0.9;
}
.button-showy2 {
  padding: 10px;
  border-radius: 4px;
  background-color: #003466;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.button-showy {
  border-radius: 4px;
  background-color: #D6BA73;
  width: 100px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.2rem;
}

.button-ghost {
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0.15);
}


/* --------------------------------
 * header
 * -------------------------------- */
.header {
  padding: 30px 30px 80px;
  color: #333;
  background-color: #fff;
}
.site-title-sub {
  margin: 30px 0 30px;
  letter-spacing: 1px;
  font-size: 2.2rem;
}
.site-title-sub::before,
.site-title-sub::after {
  content: '';
  display: inline-block;
  width: 120px;
  height: 2px;
  margin: 0 30px;
  background-color: #333;
  vertical-align: middle;
}
.site-title {
  margin: 20px 0 ;
  width:70%;
  max-width: 1200px;
    margin-bottom: 10px;
}

.buttons .button {
  margin: 10px;
}
.tel {
 margin:auto;
}

/* --------------------------------
 * about
 * -------------------------------- */
.about {
  padding: 50px 0;
  }


.about-text {
  margin: 30px 0;
  line-height: 2.5;
}
.law  {
  margin: 2px 0;
  width:100%;
  max-width: 1020px;
  }
 







/* --------------------------------
 * works
 * -------------------------------- */
.works {
  padding: 20px 0;
  background-color: #fff;
  color: #333;
}



/* --------------------------------
 * skills
 * -------------------------------- */
input {
  display: none;
}
label {
  cursor: pointer;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 4px;
  background: #003466;
  color: #FFF;
  -webkit-transition: 0.1s;
  transition: 0.1s;
  font-size: small;
 
}
label:hover {
  background: #0090aa;
 
 
}
.panel {
  -webkit-transition: .3s ease;
  transition: .3s ease;
  height: 0;
  overflow: hidden;
  background: #F5F0CF;
  margin-top: 10px;
  padding: 0;
  border-radius: 5px;
}
input:checked + .panel {
  height: auto;
  padding: 15px;
}
.skills {
  padding: 40px 0;

}
.skills-wrapper {
  display: table;
  width: 80%;
  margin: 50px auto 0;
  table-layout: fixed;
}
.skill-box {
  display: table-cell;
}
.skill-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
  border: 4px solid;
  border-radius: 50%;
  color: #f1b400;
  font-size: 8rem;
  line-height: 142px;
}
.skill-title {
  margin: 0 20px 20px;
  font-size: 2rem;
}
.skill-text {
  margin: 0 20px;
  line-height: 2;
}


/* --------------------------------
 * contact
 * -------------------------------- */
.contact {
  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.05);
  color: #fff;
}
.contact-form input[type=text]:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) 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(255, 255, 255, 0.4);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* --------------------------------
 * map
 * -------------------------------- */
.ggmap {
margin: 10px auto 0;
width: 100%;
max-width: 1020px;

height: 40%;
}
.ggmapsp {
margin: 10px auto 20px;
width: 100%;
max-width: 768px;

height: 40%;
}
.table-ul {
  display: table;
  table-layout: fixed;
  text-align: center;
  width: 100%;
}
.table-ul li {
  display: table-cell;
  vertical-align: middle;
}
/* --------------------------------
 * footer
 * -------------------------------- */
.footer {
  padding: 12px 0;
  font-size: 1.3rem;
}


/* --------------------------------
 * smart phone
 * -------------------------------- */
@media (min-width: 769px) {
.sphead {
 display: none;
  }
 .ggmapsp {
display: none;
}
.spfoot {
  display: none;
  }

  
}
}
@media (max-width: 1024px)and (min-width: 769px) {
  body {
    background-image: none;
  }
  .button-logow{
   display: none;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 1.3rem;
  }
  .header {
  padding: 30px 0 80px;
  color: #333;
  background-color: #fff;
}
  .heading {
    margin-top: 20px;
    font-size: 2.5rem;
  }
  .site-title {
  margin: 20px 0 ;
  width:100%;
    margin-bottom: 10px;
}
  .button {
  display: none;
 }
.logotop {
  display: none;
 }
.sphead {
   background: url('../images/telmail.png')no-repeat;
   float: left;
    position: fixed;
    top: 0;
    left:0;
    box-shadow: 0px 9px 3px -3px rgba(0,0,0,0.4);
  -webkit-box-shadow: 0px 9px 3px -3px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 9px 3px -3px rgba(0,0,0,0.4);

} 
.splogo{
  width: 36%;
  }
.sptel{
  width: 47%;
  }
  .spmail{
  width: 15%;
  }


  /* --- header --- */
  .header {
    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: 5rem;
  }

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


  

  /* --- 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;
  }
.buttonpc{
display: none ;
}
.ggmap {
display: none;
}
  /* --- contact --- */
  .contact {
    padding-bottom: 80px;
  }
  .contact-form {
    width: 80%;
  }
}
.spfoot {
   background: url('../images/telmail.png')no-repeat;
   float: left;
   margin-bottom: 10px;
   }
.sptt{
  width: 48%;
  }
.sptm{
  width: 48%;
  }

/* --------------------------------
 * challenge
 *
 * 31行目からの.heading::before, .heading::afterの
 * スタイルをコメントアウトしてから適用してください。
 * -------------------------------- */
/*
.heading::before,
.heading::after {
  content: '';
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  margin: 0 0.5em;
  border: 1px solid;
  vertical-align: 0.2em;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.work-box {
  overflow: hidden;
}
.work-image {
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
}
.work-box:nth-child(odd) .work-image {
  -webkit-transform-origin: top center;
  transform-origin: top center;
}
.work-box:nth-child(even) .work-image {
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.work-box:hover .work-image {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
*/
