@charset "UTF-8";

/*-----------------------------------------------------*/
/* PC用 */
/*-----------------------------------------------------*/
@media only screen and (min-width: 1025px) {


  .container {
    width: 800px;
    margin: 0 auto;
  }

  .header {
    width: 100%;
    height: 200px;
    background-image: url(../img/mosya1header.png);
    background-size: cover;
    background-position: center;
  }

  .header h1 {
    padding-top: 50px;
    padding-left: 50px;
    font-size: 38px;
    color: white;
  }

  .header p {
    padding-left: 50px;
    color: white;
  }

  .navi {
    width: 100%;
    margin-top: 30px;
  }

  .navi ul {
    display: flex;
    padding-right: 10px;
    justify-content: space-around;
    list-style: none;
  }

  .btn {
    display: none;
  }

  .main {
    width: 100%;
    display: flex;
  }

  .contents {
    width: 70%;
    margin-top: 30px;
    text-align: justify;
  }

  .contents h2 {
    padding-left: 10px;
  }

  .contents img {
    width: 95%;
    padding-top: 10px;
  }

  .contents p {
    padding-top: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .menu {
    width: 30%;
  }

  .main h2 {
    padding-top: 30px;
  }

  .menu ul {
    padding-top: 20px;
    padding-left: 20px;
  }

  .footer {
    width: 100%;
    height: 60px;
    margin-top: 30px;
    background-color: rgb(53, 117, 34);
  }

  .footer p {
    padding-top: 35px;
    padding-left: 40px;
    color: white;
  }

}









/*-----------------------------------------------------*/
/* タブレット用のCSS */
/*-----------------------------------------------------*/
@media only screen and (min-width:600px) and (max-width:1024px) {
  .container {
    width: 800px;
    margin: 0 auto;
  }

  .header {
    width: 100%;
    height: 200px;
    background-image: url(../img/mosya1header.png);
    background-size: cover;
    background-position: center;
  }

  .header h1 {
    padding-top: 50px;
    padding-left: 50px;
    font-size: 38px;
    color: white;
  }

  .header p {
    padding-left: 50px;
    color: white;
  }

  .navi {
    width: 100%;
    margin-top: 30px;
  }

  .navi ul {
    display: flex;
    padding-right: 10px;
    justify-content: space-around;
    list-style: none;
  }

  .btn {
    display: none;
  }

  .main {
    width: 100%;
    display: flex;
  }

  .contents {
    width: 70%;
    margin-top: 30px;
    text-align: justify;
  }

  .contents h2 {
    padding-left: 10px;
  }

  .contents img {
    width: 95%;
    padding-top: 10px;
  }

  .contents p {
    padding-top: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .menu {
    width: 30%;
  }

  .main h2 {
    padding-top: 30px;
  }

  .menu ul {
    padding-top: 20px;
    padding-left: 20px;
  }

  .footer {
    width: 100%;
    height: 60px;
    margin-top: 30px;
    background-color: rgb(53, 117, 34);
  }

  .footer p {
    padding-top: 35px;
    padding-left: 40px;
    color: white;
  }

}









/*-----------------------------------------------------*/
/* スマホ用のCSS */
/*-----------------------------------------------------*/
@media only screen and (max-width: 599px) {
  .container {
    width: 100%;
    margin: 0 auto;
  }

  .header {
    width: 100%;
    height: 150px;
    background-image: url(../img/mosya1header.png);
    background-size: cover;
    background-position: center;
  }

  .header h1 {
    padding-top: 50px;
    padding-left: 50px;
    font-size: 38px;
    color: white;
  }

  .header p {
    padding-left: 50px;
    color: white;
  }

  .navi {
    display: none;
    width: 100%;
    margin-top: 30px;
  }

  .navi ul {
    display: flex;
    padding-right: 10px;
    justify-content: space-around;
    list-style: none;
  }




  /*========= ナビゲーションのためのCSS ===============*/

  /*アクティブになったエリア*/
  #g-nav.panelactive {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    height: 100vh;
  }

  /*丸の拡大*/
  .circle-bg {
    position: fixed;
    z-index: 3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #999;
    /*丸のスタート位置と形状*/
    transform: scale(0);
    /*scaleをはじめは0に*/
    right: -50px;
    top: -50px;
    transition: all .6s;
    /*0.6秒かけてアニメーション*/
  }

  .circle-bg.circleactive {
    transform: scale(50);
    /*クラスが付与されたらscaleを拡大*/
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav-list {
    display: none;
    /*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #g-nav.panelactive #g-nav-list {
    display: block;
    /*クラスが付与されたら出現*/
  }

  /*ナビゲーション*/
  #g-nav ul {
    opacity: 0;
    /*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /*背景が出現後にナビゲーションを表示*/
  #g-nav.panelactive ul {
    opacity: 1;
  }

  /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
  #g-nav.panelactive ul li {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: .2s;
    /*0.2 秒遅らせて出現*/
    animation-fill-mode: forwards;
    opacity: 0;
  }

  @keyframes gnaviAnime {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }


  /*リストのレイアウト設定*/
  #g-nav li {
    text-align: center;
    list-style: none;
  }

  #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }


  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    /*ボタンを最前面に*/
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }







  .main {
    width: 100%;
  }

  .contents {
    width: 90%;
    margin: 0 auto;
  }

  .contents h2 {
    padding-left: 10px;
  }

  .contents img {
    width: 95%;
    padding-top: 10px;
  }

  .contents p {
    padding-top: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .menu {
    width: 90%;
    margin: 0 auto;
  }

  .main h2 {
    padding-top: 30px;
  }

  .menu ul {
    padding-top: 20px;
    padding-left: 20px;
  }

  .footer {
    width: 100%;
    height: 60px;
    margin-top: 30px;
    background-color: rgb(53, 117, 34);
  }

  .footer p {
    padding-top: 35px;
    padding-left: 40px;
    color: white;
  }

}