@charset "UTF-8";
/* 変数 */
:root{
    /* 色 */
    --primary: #6fa86f;
    --darkgray: #222222;
    --midgray: #414141;
    --gray: #888888;
    --white: #ffffff;
    /* 左右の余白 */
    --side: 6vw;
}
/* サイズの基準: 1rem = 100px */
:root{
    font-size: 100px;
}
/* テキストの基本設定 */
body{
    color: #ffffff;
    font-size: 0.16rem;
    font-family: sans-serif;
    line-height: 1.8;
}                                                             
/* リセット / ノーマライズ / サニタイズ */
body, h1, h2, h3, h4, h5, h6, p, ul, figure{
    margin: 0;
    padding: 0;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a{
    color: inherit;
    text-decoration: none;
}
a:hover{
    opacity: 0.8;
}
.sr-only{
    border:0;
    clip:rect(0 0 0 0);
    height: 1px;
    margin: -1px;
  /*  overflow: hidden; */
    padding: 0;
    position: absolute;
    width: 1px;
}
/* ヒーロー */
.hero{
    background-image: url(img/001.png);
    background-position: center;
    background-size: cover;
    background-color: #222222;
}
html, body{
    height: 100%;
}
/* ヘッダー */
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222222;
    box-sizing: border-box;
    height:6vh;
    padding-left: 6vw;
    padding-right: 6vw;
}
/* ナビゲーションボタン */
.nav-button{
    position:absolute;
    right:6vw;
    box-sizing: content-box;
    padding: 0;
    outline: none;
    background: none;
    width: 29px;
    height: 20px;
    cursor: pointer;
    color: #ffffff;
    border: none;
}
.nav-button::before,
.nav-button::after{
    content:'';
    display: block;
    height: 1px;
    background-color: currentColor;
    transform: translateY(10px);
}
.nav-button::before{
    transform: translateY(-10px);
    box-shadow: 0 10px currentColor;
}
@media (max-width: 767px){
/* ナビゲーションボタン(閉じるボタン) */
.open .nav-button{
    z-index:10000; 
    position: absolute;
    top:0;
    right:0;
}
.open .nav-button::before{
    transform: rotate(-45deg);
    box-shadow: none;
}
.open .nav-button::after{
    transform: rotate(45deg);
    box-shadow: none;
}
/* ナビゲーションメニュー:(開いた状態) */
.header.fixed{
    position: fixed; /*stickyで上部に固定*/
    top:  0px; /*スクロール前の要素の高さ分引くと画面外に消えてくれる*/
    left: 0;
    width:100%;
    z-index: 9999; /*重ね順を一番上に*/
}
html.open, .open body{
    height: 100%;
}
.open .nav{
   top:50vw;
    left:0;
   position:relative;
    width:100vw;
    height:100vh;
    background: rgba(0,0,0,0.8);
    color:#ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.open .nav ul{
    margin-bottom: 10vh;
    list-style:none;
}
.open .nav li::not(:last-child){
    margin-bottom:20px;
}
}
/* ナビゲーションメニュ－(閉じた状態) */
.nav{
    width: 0;
    height: 0;
    position: absolute;
    left: 100%;
    overflow: hidden;
    color:transparent;
    transition: left 0.5s; 
}
/* ナビゲーションメニュー(PC) */
@media (min-width:768px){
    .nav-button{
        display:none;
    }
    .nav{
        position: relative;
        margin: 0 auto;
        width: auto;
        left:auto;
        height: auto;
        color: #ffffff;
  
    }
    .nav ul{
        display:flex;
        list-style-type:none;
    }
    .nav li{
        margin-left:20px;
    }
}
/* ----- コンテンツ ----- */
/* コンテナ */
.container{
    padding:0.68rem 6vw;
}
.container h2{
    font-family:sans-serif;
    font-size: 0.26rem;
    letter-spacing: 0.179em;
    line-height:1;
}
.container.menu h2 + p,
.container.about h2 + p,
.container.contact h2 + p{
    font-size:0.13rem;
}
.container.about h2 + p,
.container.contact h2{
    color:#ffffff;
    letter-spacing:0.156em;
}
@media(min-width:768px){
 .containter h2{
    font-size:0.42rem;
 }   
 .container.about h2{
    font-size:0.32rem;
 }
.container.menu h2 + p,
.container.about h2 + p,
.container.contact h2 +p{
    font-size:0.2rem;
    margin-bottom:0.75rem;
}
 .conatiner.menu h2::after,
 .container.about h2::after,
 .container.contact h2::after{
    width: 0.85rem;
    margin-top: 0.23rem;
    margin-bottom: 0.14rem;
 }
}

.container.menu h2::after,
.container.about h2::after,
.container.contact h2::after{
    content:'';
    display:block;
    width:2rem;
    height:1px;
    margin-top: 0.17rem;
    margin-bottom: 0.1rem;
    background-color:#ffffff;
}
/* 製品 */
.container.menu{
    background-image: url(img/DefaultMaterial_Metallic.png);
    background-color:#222222;
}
/* 製品名アニメ */
.anim-box.zoomin.is-animate:hover {
    animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
   
  @keyframes zoomIn {
    0% {
      transform: scale(0.8);
      opacity: 0;
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
/* 略歴 */
.about{
    background-image:url(img/Eu_yZiOVcAEY_Gg.png);
    background-position: center;
    background-size: cover;
    color: #ffffff;
}
/* お問い合わせ */
.contact{
    background-image:url(img/DefaultMaterial_2D_View.png);
    background-color:#222222;
    color:#ffffff;
}
.contact a{
    text-decoration:underline;
}
/* footer */
.footer{
    height: 89px;
    background-color:#222222;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center; 
}
/* pagetop */
.space {
    height: 5000px;
  }
  .pagetop {
    cursor: pointer;
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: 0.3s;
    color: #222222;
    background: #fff;
    
  /*   デフォルトは非表示 */
    opacity: 0;
  }
  .pagetop:hover {
      box-shadow: 0 0 10px #222222;
  }
  /* ul list2 */
  a.button {
    margin:0 auto;
    display: block;
    padding: 8px;
    width:50%;
    background-color: #ffffff;
    color: #222222;
    text-align: center;
}
  .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top:0.75rem;
  }

  .item h3,.item2 h3{
    color:currentColor;
    text-align:center;
    margin-bottom:17px;
    font-size:20px;
    line-height: 1.75;
  }

  .item p,.item2 p{
    max-width: 264px;
    margin: 0 auto 25px;
    font-size: 12px;
    line-height:2;
}
  
  .item {
    display:flex;
    flex-direction:column;
    flex-grow:1;
    width: calc((100% - 30px * 2) / 3);
    background-color:rgba(255,255,255,0.1);
    padding-bottom:30px;
  }

.item2 {
    display:flex;
    flex-direction:column;
    flex-shrink:1;
    width: calc((100% - 30px * 2) / 3);
    background-color:rgba(255,255,255,0.1);
    padding-bottom:30px;
}
  .link{
    margin-top:auto;
  }
  
  @media not all and (min-width: 768px) {
    .item,.item2 {
      width: 100%;
    }
    a.button {
        margin-top: auto;
        display: block;
        padding: 8px;
        width:50%;
        background-color: #ffffff;
        color: #222222;
        text-align: center;
      }
  }
  