﻿@charset "utf-8";

/* # =================================================================
   # BASIC STYLE
   # ================================================================= */




/* # =================================================================
   # DEFAULT ( FOR SMARTPHONE )
   # ================================================================= */


.pc { display: none; }
.sp { display: inline; }

body {
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-align: left;
  font-size: 12px;
}
h1 {
  display: none;
}
h2 {
  text-align: center;
  font-size: 20px;
  margin: 0 0 30px 0;
}
.wrapper {
  width: 100%;
  overflow: hidden;
}
.contents {
  margin-top: 50px;
  padding-top: 20px;
}
header {
  width: 100%;
  padding: 10px 0;
  position: fixed;
  z-index: 30;
  background: #fff;
}
.logo {
  text-align: center;
}
.logo img {
  width: 100px;
}
/*
.icon_instagram {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 20px;
}
*/
.mv {
  margin: 47px 0 0 0;
  width: 100%;
}
.slider {
  transition: .4s;
}
.link-arrow {
  padding-left: 15px;
  background: url(../img/arrow.png) left center no-repeat;
  background-size: 10px;
  font-size: 14px;
}

/* SP nav */
#menuButton {
display: block;
width: 42px;
height:42px;
position: fixed;
top: 0;
left: 10px;
z-index: 200;
}
#menuButton span {
display: block;
background: #666;
width: 24px;
height: 2px;
position: absolute;
left: 9px;
transition: all 0.4s;
-webkit-transition: all 0.4s;
-moz-transition: all 0.4s;
}
#menuButton span:first-child {
top: 12px;
}
#menuButton span:nth-child(2) {
margin-top: -1px;
top: 50%;
}
#menuButton span:last-child {
bottom: 12px;
}
#menuButton.active span:first-child {
-webkit-transform: translateY(8px) rotate(45deg);
-moz-transform: translateY(8px) rotate(45deg);
-ms-transform: translateY(8px) rotate(45deg);
transform: translateY(8px) rotate(45deg);
}
#menuButton.active span:nth-child(2) {
opacity: 0;
}
#menuButton.active span:last-child {
-webkit-transform: translateY(-8px) rotate(-45deg);
-moz-transform: translateY(-8px) rotate(-45deg);
-ms-transform: translateY(-8px) rotate(-45deg);
transform: translateY(-8px) rotate(-45deg);
}

nav.sp_nav {
  width: 100%;
  margin: 45px 0 20px;
  text-align: center;
  border-top: 1px solid #eee;
  z-index: 200;
  display: none;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 29;
}
nav.sp_nav li {
  display: inline-block;
  width: 49.4%;
 /* width :-webkit-calc(100% / 2);
  width :calc(100% / 2);*/
}
nav.sp_nav a {
    color: #222;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
nav.sp_nav li.tel {
  width: 100%;
  background: #ff0;
  font-size: 14px;
  font-weight: bold;
}
nav.sp_nav li.tel a {
  padding: 20px 0;
}
nav.sp_nav li.tel span:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../img/icon_tel.png);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  padding-left: 5px;
}

.text {
  text-align: left;
  width: 80%;
  margin: 30px auto;
}



.news {
  padding: 0 10px;
  margin-bottom: 20px;
}
.news a {
  color: #999;
}
.banner {
  padding: 0;
}
.banner div {
  display: block;
  width: 100%;
  margin: 0 0 20px 0;
}
.banner span {
  display: block;
  padding: 10px;
  font-size: 12px;
}
.footer_contact {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  vertical-align: middle;
  background: #ffefef;
  background-size: cover;
  margin-top: 30px;
}
.footer_contact .contact_btn {
  display: inline-block;
  width: 80%;
  margin: 10px auto;
  background: #fd686a;
  color: #fff;
  padding: 10px 0;
  border-radius: 5px;
}
footer {
  margin: 20px 0;
}
#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}
#pagetop a {
    text-align: center;
    display: block;
}
.copyright {
  font-size: 10px;
  text-align: center;
   margin-bottom: 10px;
  display: block;
}


/* ABOUT */
.tb_companyinfo {
  width: 80%;
  margin: 30px auto;
}
.tb_companyinfo th {
  display: block;
  width: 100%;
}
.tb_companyinfo td {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

/* WORKS */
.ul_thumbnail {
  text-align: center;
}
.ul_thumbnail li {
  display: inline-block;
  border: 1px solid #666;
  margin: 30px;
}
.ul_thumbnail img {
  width: 100%;
}

.ul_category {
  text-align: center;
}
.ul_category li {
  display: inline-block;
  width: 60px;
  height: 60px;
  vertical-align: middle;
  background: #ccc;
  border-radius: 50px;
  position: relative;
  margin: 10px;
}
.ul_category li a {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 30%;
}
h3 {
  border-bottom: 1px solid #000;
  padding: 0;
  margin: 40px 0 20px;
  text-align: center;
}
h3 span {
  display: inline-block;
  width: 200px;
  background: #000;
  color: #fff;
  margin: 0;
  padding: 5px;
  text-align: center;
}
.box_works {
  width: 90%;
  margin: 0 auto;
}
.box_works div {
  display: inline-block;
  width: 43%;
  text-align: center;
  padding: 3%;
}

/* CARD DESIGN SAMPLE */
.red {
  color: #e24e74;
}
.box_sample {
  padding: 0 20px;
}
.box_sample div {
  margin-bottom: 20px;
}
.box_sample ul {
  width: 100%;
}
.box_sample ul.arrow li span {
  padding-left: 15px;
  background: url(../img/arrow.png) left center no-repeat;
  background-size: 10px;
  font-size: 15px;
  font-weight: bold;
}
.box_sample ul.arrow li img {
  margin: 20px 0;
}
.box_sample h4 {
  text-align: center;
  margin-bottom: 10px;
}
h3.box_category {
  border-bottom: none;
  margin: 10px 0;
  padding: 10px 10px;
  text-align: center;
}
h3.box_category span {
display: inline;
width: auto;
background: none;
margin: 0;
padding: 0;
}
h3.box_category .title {
 font-size: 12px;
 text-align: left;
 font-weight: normal;
 color: #999;
 padding: 0 10px 0 0;
}
h3.box_category .en {
  font-size: 20px;
  color: #000;
  padding: 0 5px 0 0;
}
h3.box_category .ja {
  font-size: 12px;
  color: #000;
}
.attention_pc {
  display: none;
}
.attention_sp {
  display: block;
  text-align: center;
  color: #e24e74;
  border: 2px solid #e24e74;
  padding: 10px 0;
  width: 100%;
  margin: 0 auto 20px;
  line-height: 1.6;
}
@media all and (min-width: 768px){
  h3.box_category {
    border-bottom: none;
    margin: 70px 0 30px;
    padding: 20px 24px;
    background: #eee;
    text-align: left;
    position: relative;
  }
  .attention_sp {
    display: none;
  }
  .attention_pc {
    display: block;
    position: absolute;
    color: #e24e74;
    right: 20px;
    top: 10%;
    font-size: 14px;
    /*padding: 10px 20px;
    width: 500px;*/
  }
}
.map iframe{
  display: block;
}
.map .popupCts{
  position: relative;
  display: block;
  box-sizing: border-box;
}
.map .popupCts img{
  width: 100%;
}
#popupInline img{
  width: 100%;
}
.map_btn{
  background:rgba(108,234,221, .8);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  position:absolute;
  height:60px;
  width:60px;
  border-radius: 1000px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  z-index: 10;
  animation: wave 1.5s linear infinite;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
          align-items: center;
}

@-webkit-keyframes wave {
  0% {transform: translate(-50%,-50%) scale(1, 1);}
  50% {opacity: 1;}
  100% {transform: translate(-50%,-50%) scale(2, 2); opacity: 0;}
}
@keyframes wave {
  0% {transform: translate(-50%,-50%) scale(1, 1);}
  50% {opacity: 1;}
  100% {transform: translate(-50%,-50%) scale(2, 2); opacity: 0;}
}

/* # =================================================================
   # FOR TABLET
   # ================================================================= */



/* # =================================================================
   # FOR PC
   # ================================================================= */

@media all and (min-width: 768px){
h1 {
  display: none;
}
.pc { display: inline; }
.sp { display: none; }

body {
  font-size: 14px;
}
.contents {
  margin-top: 0;
  padding-top: 0;
}
h1 {
  display: block;
  font-size: 11px;
  color: #ccc;
  letter-spacing: 0;
  position: absolute;
  right: 20px;
  top: 0;
  z-index: 10;
}
h2 {
  font-size: 36px;
  margin: 60px 0 60px 0;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
header {
  width: 100%;
  padding: 30px 0;
  position: static;
}
/*
.icon_instagram {
  position: absolute;
  top: 40px;
  right: 30px;
  width: 20px;
}
*/
.logo img {
  width: 180px;
}
.mv {
  margin: 0;
  width: 100%;
  max-width: 1200px;
}
.news {
  margin-bottom: 50px;
}
nav.pc_nav {
  display: block;
  margin: 0;
  padding: 40px 0;
  font-size: 14px;
  text-align: center;
  z-index: 200;
  background: #fff;
}
nav.pc_nav li {
  display: inline;
  padding: 0 25px;
}
nav.pc_nav a {
  display: inline;
  color: #222;
  text-decoration: none;
  padding-bottom: 5px;
  border: none;
}
nav.pc_nav a:hover {
  color: #999;
  text-decoration: none;
  border-bottom: 2px solid #eee;
}


/* スクロールで表示されるナビ */
nav.naviFix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.65s;
  display: block;
  margin: 0;
  padding: 20px 0;
  font-size: 14px;
  text-align: center;
  z-index: 200;
  background: #fff;
}
nav.naviFix li {
  display: inline;
  padding: 0 20px;
}
nav.naviFix a {
  display: inline;
  color: #222;
  text-decoration: none;
  padding-bottom: 5px;
  border: none;
}
nav.naviFix a:hover {
  color: #999;
  text-decoration: none;
  border-bottom: 2px solid #eee;
}
nav.naviFix.isActive {
  opacity: 1;
  transition: all 0.1s;
  pointer-events: auto;
}

.text {
  text-align: center;
}

.news {
  margin: 30px 0 40px;
  text-align: center;
}
.news a {
  color: #999;
}
.banner div {
  display: inline-block;
  width :31%;
  vertical-align: top;
  padding: 1.1%;
}
.banner span {
  padding: 10px 0;
}
.footer_contact .contact_btn {
    width: 40%;
    margin: 0px 5px 20px;
    padding: 15px 0;
    font-size: 16px;
}
.footer_contact .contact_btn:hover {
    opacity:0.8;
    filter:alpha(opacity=80);
    -ms-filter: “alpha( opacity=80 )”;
}
footer {
  margin: 50px 0 20px;
}
.copyright {
  font-size: 10px;
}


/* ABOUT */
.tb_companyinfo {
  width: 600px;
  margin: 100px auto;
}
.tb_companyinfo th {
  display: inline-block;
  width: 20%;
}
.tb_companyinfo td {
  display: inline-block;
  width: 79%;
}


/* WORKS */
.ul_thumbnail li {
  margin: 10px;
}
.ul_thumbnail img {
  width: 210px;
  height: 210px;
}


h3 {
  margin: 70px 0 30px;
}
.box_works {
  width: 100%;
}
.box_works div {
  display: inline-block;
  width: 27%;
}

/* CARD DESIGN SAMPLE */
.box_sample {
  padding: 0 20px;
}
.box_sample ul {
  width: 100%;
  max-width: 1200px;
}
.box_sample ul li {
display: -webkit-inline-box;
  width: 32%;
  max-width: 370px;
  vertical-align: top;
  margin: 5px;
}
.box_sample ul li .vcenter {
  padding-top: 50px;
}
.map{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
      align-items: stretch;
}
.map_btn{
  background:rgba(108,234,221, .8);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  position:absolute;
  height:100px;
  width:100px;
  animation: wave 1.2s linear infinite;
}
@-webkit-keyframes wave {
  0% {transform: translate(-50%,-50%) scale(1, 1);}
  50% {opacity: 1;}
  100% {transform: translate(-50%,-50%) scale(1.5, 1.5); opacity: 0;}
}
@keyframes wave {
  0% {transform: translate(-50%,-50%) scale(1, 1);}
  50% {opacity: 1;}
  100% {transform: translate(-50%,-50%) scale(1.5, 1.5); opacity: 0;}
}
.map .popupCts{
  margin-left: 40px;
  border: solid 2px #000;
}
.map .popupCts img{
  width: auto;
  max-height: 450px;
}
.map .popupCts:hover .map_btn{
  opacity: 0 !important;
}
.mfp-auto-cursor .mfp-content{
  max-width: 800px;
}
}
