@charset "UTF-8";

/*========================================
   General
  ========================================*/
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body{
    font-family: "Montserrat",'Noto Sans JP', sans-serif;
}


a{
    color: #000;
    text-decoration: none;
    cursor: pointer;    
}
img{vertical-align: middle;}


/*========================================
   header
  ========================================*/
header {
    width: 100%;
    height: 70px;
    background: #fff;
    position: fixed;
    z-index: 9999;
    top:0;
}
header .inner {
    height: 100%;
    margin: 0px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .inner img {
    width: 240px;
    height: auto;
}
header .inner nav ul {
    list-style: none;
    display: flex;
}
header .inner nav ul li {
    margin: 0 20px;
    font-size: 17px;
}
header .inner nav ul li a:hover{
    color:#931a1b;
}

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

#container #header-img img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}


/*========================================
   contents
  ========================================*/
#contents{margin-top: 65px;}
#keyvisual{
    width: 100%;
    min-height: 100vh;
    background:url(../images/key.jpg) no-repeat center / cover;
/*    position: relative;*/
}
#keyvisual h2{
    margin: 0;
    position: absolute;
    top: calc(50% - 2.5em);
    width: 100%;
    text-align: left;
    line-height: 1;
    font-size: 6vw;
    color:#fff;
    text-shadow: 5px 5px 10px #000;
    font-weight: bold;
    padding-left: 10%;
}

#intro,#protectionfilm,#dynoflex{
    color: #fff;
    background: #000;
}
#feature,#detail,#labo{
    color:#fff;
    background: #931a1b;
}

#intro,#protectionfilm{
    display: flex;
    padding: 40px 0;
}

#intro img,
#protectionfilm img{
    width: 50%;
}
#intro .text,
#protectionfilm .text{
    padding: 0 40px;
}
#intro h2,
#protectionfilm h2{
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 20px;
}
#intro p,
#protectionfilm p{
    margin-bottom: 20px;
}
#intro h3,
#protectionfilm h3{
    font-size: 1.75rem;
    margin-bottom: 10px;
}
#intro ul{
    margin-bottom: 20px;
}

#feature,.dynoflexbg{
    padding: 40px 0;
}
#feature ul,
#dynoflex ul{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#feature li,
#dynoflex li{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}
#feature li img,
#dynoflex li img{
    width: 15%;
    margin-bottom: 10px;
}
#feature li h2,
#dynoflex li h2{
    font-size: 1.5rem;
    font-weight: bold;
}
#dynoflex h2,
#dynoflex p{
    text-align: center;
}
#dynoflex{
    background: url(../images/dynoflex.png) no-repeat center/cover;
}
.dynoflexbg{background: rgba(0,0,0,0.5); }
#dynoflex h2{
    font-size: 2.5rem;
    font-weight: bold;
}
#dynoflex p{
    margin-bottom: 20px;
}
#protectionfilm{
    padding: 40px 0 0;
}
#protectionfilm ul{
    margin-bottom: 40px;
}

#labo .detail{
    width: 75%;
    margin: 0 auto 40px;
    display: flex; 
    align-items: flex-end;
    margin-top: -150px;
    box-shadow: 25px 15px 25px #000;
}
#labo .detail img{
    width: 50%;
    height: 490px;
    object-fit: cover;
}
#labo .detail .text{
    width: 50%;
    height: 250px;
    padding: 10px;
    background: #000;
}
#labo .detail h2{
    font-size: 1.5rem;
    font-weight: bold;
}
.labopic{
    object-fit: contain;
    width: 100%;
}
.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.button {
    text-align: right;
    margin-bottom: 40px;
}
.button a{
    background: #931a1b;
    color: #fff;
    padding: 10px 30px;
}

.modaal-content-container ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.modaal-content-container li{
    width: 45%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.modaal-content-container li img{
    margin-right: 10px;
}




/*========================================
   contact
  ========================================*/
dt{display:none;}
dd{margin-bottom: 10px;}
input[type="text"],
input[type="email"],
textarea{
    width: 100%;
    background: #f2f2f2;
    border: none;
    padding: 10px;
    cursor: pointer;
}
textarea{
    height: 100px;
}
input[type="button"]{
    border: none;
    background: #931a1b;
    padding: 10px 20px;
    color:#fff;
    cursor: pointer;
}


/*========================================
   footer
  ========================================*/
footer{
    color: #4d4d4d;
    text-align: center;
}
.flex{
    width: 90%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
}
.left,.right{
    width: 45%;
    text-align: left;
}

footer h2{
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
#location{
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.2;
}
#location a{color: #931a1b;}
#location p{margin-bottom: 20px;}
.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}
.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
.sns ul{
    display: flex;
}
.sns li{
    margin-right: 10px;
}
.sns li a{
    background: #931a1b;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
}
.sns svg{
    width: 30px;
    fill:#fff;
}
/*========================================
   Tablet/Smartphone
  ========================================*/

@media (max-width: 760px) {
header {
    top: 0;
}
header .inner {
      margin: 0 15px;
      justify-content: flex-start;
}
/*
header .inner img {
        height: 5vh; }
*/
      header .inner nav {
        position: fixed;
        top: 10vh;
        bottom: 0;
        right: 0;
        left: 0;
        visibility: hidden;
        opacity: 0;
        transition: 0.5s;
        background-color: rgba(0, 0, 0, 0.5); }
        header .inner nav ul {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          flex-direction: column;
          align-items: flex-start; }
          header .inner nav ul li {
            margin: 20px; }
            header .inner nav ul li a {
              font-size: 20px;
              color: white; }
  .btn-trigger {
    position: absolute;
    top: 33px;
    right: 20px;
    width: 34px;
    height: 28px;
    transform: translateY(-50%);
    cursor: pointer; }
  .btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #383838;
    border-radius: 4px; }
  .btn-trigger, .btn-trigger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box; }
  .btn-trigger span:nth-of-type(1) {
    top: 0; }
  .btn-trigger span:nth-of-type(2) {
    top: 12px; }
  .btn-trigger span:nth-of-type(3) {
    bottom: 0; }
  #btn.active span:nth-of-type(1) {
    transform: translateY(12px) rotate(-45deg); }
  #btn.active span:nth-of-type(2) {
    left: 50%;
    opacity: 0;
    animation: active-btn-bar02 .8s forwards; }
  @keyframes active-btn-bar02 {
    100% {
      height: 0; } }
  #btn.active span:nth-of-type(3) {
    transform: translateY(-12px) rotate(45deg); }

    
    #labo .detail{
        margin-top: -100px;
        flex-direction: column;
    }

    #labo .detail img{
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    #labo .detail .text{
        width: 100%;
    }

}



@media (min-width: 761px) {
  .btn-trigger {
    display: none; }
}

@media (max-width: 599px) {
    body{font-size: 12px;}
    #keyvisual h2 {
    top: calc(50% - 6.5em);
    font-size: 2rem;
    }
    #intro, #protectionfilm{
        flex-direction: column-reverse;
    }
    #intro img, #protectionfilm img{
        width: 100%;
    }
    #intro .text,
    #protectionfilm .text{
        padding: 10px;
    }
    #feature ul,
    #dynoflex ul{
        flex-direction: column;
    }
    #feature li,
    #dynoflex li{
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    #dynoflex li p{text-align: left;}
    #feature li img,
    #dynoflex li img{
        width: 15%;
        margin-bottom: 10px;
    }
    #feature li .text,
    #dynoflex li .text{
        margin-left: 20px;
    }
    
    
    .flex{
        flex-direction: column;
    }
    .left,.right{width: 100%;}
    .sns{margin-bottom: 40px;}
}