@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  background-color: #F0F0F0;
  color: #000;
  font-family:'meiryo', serif;
}
a {
  color: #000;
  text-decoration: none;
}
a:hover{
    opacity: 0.6;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
#nav{
    color: #000;
    padding:10px;
}
ul{
    display: flex;
}
.wrapper {
  width: 100%;
  max-width: 1032px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.inner{
  display: flex;
  padding:20px 0 30px 0;
}
.site-title{
  width: 100px;
  margin-right: 40px;
}
#header{
  background-color: #fff;
  height:80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header ul{
  display: flex;
}
#nav li{
  margin-right: 40px;
}
.info{
  display: inline-block;
  background-color: #000;
  color: #F0F0F0;
  width: 200px;
  height: 80px;
  text-align: center;
  padding:20px 0;
}
.section-title .en {
    display: block;
    font-size: 2.25rem;
    letter-spacing: 0.3em;
  }
  .section-title .ja {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 10px;
  }

/* mainvisual */
#mainvisual{
    margin-bottom: 120px;
}
#mainvisual img{
    width: 100%;
}

/* news */
.section-title{
    margin-bottom: 50px;
}
.section-title::after{
    content: "";
    width: 40px;
    height: 1px;
    background-color: #000;
    display: block;
}

  #news {
    margin-bottom: 120px;
  }
  #news .list {
    display: flex;
    justify-content: space-between;
  }
  #news .list li {
    width: calc(100%/3);
    border-right: solid 1px #000;
    padding: 10px 20px;
  }

  /* ニュースの最初の部分の線 */
  #news .list li:first-child {
    padding-left: 0;
  }

  /* ニュースの最後の部分の線なし */
  #news .list li:last-child {
    border-right: none;
    padding-right: 0;
  }

  /* ニュースの日付下のマージン */
  #news .list li .date-area {
    margin-bottom: 16px;
  }

  /* ニュースのカテゴリ部分の色 */
  #news .list li .date-area  span {
    width: 50px;
    height: 20px;
    line-height: 20px;
    background-color: #000;
    color: #fff;
    display: inline-block;
    font-size: 0.75rem;
    margin-left: 10px;
    text-align: center;
  }
  




/* about */
#about{
    display: flex;
    margin-bottom: 120px;
}
#about .img img{
    width: 100%;
    height: 400px;
    object-fit: cover;
}
#about .img{
    width: 55%;
}
#about .text{
    padding-left:3%;
    padding-top:8%;
}

/* business */
#business .inner{
    padding:0 5%;
}
#business{
    margin-bottom: 120px;
}
#business .left{
    margin-right:50px;
}
#business .right{
    margin-top: 50px;
}
#business .photo{
    margin-bottom: 50px;
}
#bussiness img{
    width: 45%;
}

h3::before{
    content: "";
    width: 20px;
    height: 1px;
    background-color: #000;
    display: flex;
    margin-right: 10px;
    margin-top: 10px;
} 
h3{
    font-size:0.8rem;
    display: flex;
    
}

/* COMPANY */
#company {
    height: 750px;
    display: flex;
    align-items: center;
    position: relative;
  }
  #company .text {
    width: 55%;
    background-color: #fff;
    padding: 100px 8% 100px 6%;
    position: absolute;
    top: 0;
    left: 0;
  }
  #company .img {
    width: 53%;
    position: absolute;
    top: 115px;
    right: 0;
  }
  #company .img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
#company .buss {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  #company .buss dt {
    width: 20%;
    margin-top: 10px;
    font-weight: bold;
  }
  /*
  1つめのdtにはmargin-topを設定しない
  */
  #company .buss dt:first-of-type {
    margin-top: 0;
  }
  #company .buss dd {
    width: 80%;
    margin-top: 10px;
  }
  /*
  1つめのddにはmargin-topを設定しない
  */
  #company .buss dd:first-of-type {
    margin-top: 0;
  }
  #company .buss .add {
    margin-left:20%
  }
  


/* footer */
#footer{
    padding:50px 180px;
    background-color: #fff;
}
.footer-title{
    width: 100px;
}
.flex{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
#footer p{
    text-align: left;
    font-size: small;
}

@media screen and (max-width: 900px) {
    .logo{
        width: 80px;
        margin:8px 0;
    }
    .inner{
        padding:10px;
    }
    #nav{
        padding: 0;
    }
    #nav li:first-of-type {
        margin-left: 0;
    }
    #nav li{
        margin-left:30px;
        margin-right:0;
    }
    #header{
        display: block;
        margin-bottom: 20px;
    }
    .section-title{
        margin-bottom:34px;
    }
    .section-title .ja{
        margin-bottom: ;
    }
    .wrapper{
        display: block;
    }

    /* ハンバーガーメニュー */
    #nav{
    width: 300px;
    background: #fff;
    padding: 25px;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    opacity: 0;
    overflow-y: auto;
    transition: 0.5s;
    z-index: 20;
    }
    #nav li:first-of-type {
        margin-left: 30px;
    }

    .open #nav {
        left: 0;
        opacity: 1;
      }
      #nav ul.nav-menu {
        margin-bottom: 30px;
      }
      #nav ul{
        display: block;
      }
      #nav ul li {
        padding: 10px 0;
      }
      .hamburger {
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: fixed;
        top: 22px;
        right: 18px;
        transition: 0.5s;
        z-index: 20;
      }
      .hamburger span {
        width: 30px;
        height: 2px;
        background-color: #121212;
        border-radius: 4px;
        display: block;
        position: absolute;
        left: 0;
        transition: 0.5s;
      }
      .hamburger span:nth-child(1) {
        top: 4px;
      }
      .hamburger span:nth-child(2) {
        top: 14px;
      }
      .hamburger span:nth-child(3) {
        bottom: 4px;
      }
      .open .hamburger span {
        background-color: #fff;
      }
      .open .hamburger span:nth-child(1) {
        transform: translateY(10px) rotate(-315deg);
      }
      .open .hamburger span:nth-child(2) {
        opacity: 0;
      }
      .open .hamburger span:nth-child(3) {
        transform: translateY(-10px) rotate(315deg);
      }
      #mask {
        display: none;
        transition: 0.5s;
      }
      .open #mask {
        width: 100%;
        height: 100%;
        background-color: #000;
        cursor: pointer;
        display: block;
        opacity: 0.8;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
      }


    /* mainvisual */

    #mainvisual {
        width: 100%;
        margin-bottom: 10px;
    }
 

    #about .img {
        width: 100%;
    }
    /* /* 
    「flex-direction: column;」で縦並びにする
    */
    .info{
        display: none;
    }

    /* section news */
    #news{
        margin-bottom: 20px;
    }
    #news .time{
        flex-direction: column;
    }
    #news li{
        border: none;
        margin-bottom: 30px;
    } 
    #news .list{
        display: block;
    }
    #news .list li{
        border: none;
        padding: 0;
        width: 100%;
    }
    #news ul{
        display: block;
    }
    #news .date-area{
        display: flex;
        margin: 0;
    }
    #news .list li .date-area {
        margin-bottom: 0;
    }
    #footer{
        padding:30px 0;
    }

    #about,
    #business,
    .left,
    .right,
    .inner,
    .flex{
        flex-direction: column;
    }
    #business{
        margin-bottom: 10px;
    }
    #business .left{
        margin-right:0;
    }
    #business .right{
        margin:0;
    }
    #bussiness img{
        width: 100%;
    }
    #business .inner{
        padding:0;
    }
    #company{
        flex-direction: column;
        height: auto;
    }
    #company .text{
        width: 100%;
        position: static;
        padding:30px 10px;
        margin-bottom: 10px;
    }
    #company .img{
        position: static;
        width: 100%;
    }

    #company .buss {
        display: block;
    }
    #company .buss dt{
        width: 100%;
    }
    #company .buss dd{
        margin: 0;
        width: 100%;
    }
    #company .buss  .add{
        margin-left:0;
    }
}
    
