@charset "utf-8";

.obi {
  background-color: #f5b452;
  width: 890px;
  height: 40px;
  margin: 0;
  padding: 0;
}

/*-----------------------パソコン時ハンバーガーメニュー関連*/
.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  /*leftの値を変更してメニューを画面外へ*/
  z-index: 80;
  background-color: #3584bb;
  transition: all 0.5s;
  /*アニメーション設定*/
}

#menu-btn-check:checked~.menu-content {
  left: 0;
  /*メニューを画面内へ*/
}

#menu-btn-check:checked~.menu-content {
  left: 0;
  /*メニューを画面内へ*/
}

#menu-btn-check {
  display: none;
}

/*チェックボックス消し*/

/*----------------------------パソコン時ハンバーガーメニュー*/


/* 背景画像 */


header {
  width: 890px;
  background-image: url('./photo/1.jpg');
  background-size: cover;
  background-position: center;
  height: 300px;
  /* 適切な高さを指定してください */
  margin: 0 auto;
  padding: 0;
  /* 上下左右にパディングを追加 */
}

h1 {

  margin: 0 3px 2px 0;
  color: #f9fc6a;
}

/* -----------デバイスレスポンシブ表示 */
.device {
  text-align: right;
  margin: 0 0 2px 0;
}

/*レスポンシブセレクトを右に*/

.pc {
  background-color: red;
}

.tablet {
  background-color: #f5b452;
}

.smart {
  background-color: #f5b452;
}

/*pcのときはパソコンと言う文字の背景赤*/

/* -----------デバイスレスポンシブ表示 */

body {
  width: 900px;
  margin: 0 auto;
  padding: 0;
}

footer {
  height: auto;
  width: 890px;
  background-image: url('./photo/2.jpg');
  background-size: cover;
  background-position: center;
  height: 500px;
  /* 適切な高さを指定してください */
  margin: 0 auto;
  padding: 0;
  /* 上下左右にパディングを追加 */
}

.main {
  background-color: #f5b452;
  width: 890px;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}

.main>p {
  text-align: left;
}

.bigimg {
  text-align: center;
}

.row-1 {
  color: #ffffff;
}

.koushin {
  float: right;
  padding: 10px 2% 0 0;
  margin: 0;
  font-size: 2vh;
}

.scroll {
  background-color: #fad6ff;
  margin: 0 0;
  padding: 0 0;
  overflow-y: scroll;
  height: 20vh;
  width: 95%;
  border: 2mm ridge rgba(237, 240, 178, 0.6);
}

.min1 {
  border: 1px solid #86146a;
  border-radius: 8px;
  background-color: rgb(167, 248, 85);
}

.min2 {
  background-color: rgb(128, 255, 0);
  border-radius: 8px;
}

.spe1 {
  border: 1px solid #86146a;
  border-radius: 8px;
  background-color: rgb(245, 248, 85);
}

.spe2 {
  background-color: rgb(224, 208, 61);
  border-radius: 8px;
}

.newicon {
  margin: 0;
  padding: 0;
  height: 13px;
  width: 35px;
}

@media screen and (max-width:835px) {
  /*------------------------------------------------------------------画面サイズが768pxからはここを読み込む*/

  /*デバイスレスポンシブ表示*/
  .tablet {
    background-color: greenyellow;
  }

  .pc {
    background-color: #f5b452;
  }

  /*デバイスレスポンシブ表示*/

  /*-----------------------------ハンバーガーメニュー*/
  .menu-btn {
    position: fixed;
    top: 0px;
    right: 10%;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #f5b452;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #86146a;
    position: absolute;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
  }

  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  /*バツボタン*/
  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /*バツボタン*/

  /*メニュー内*/
  .menu-content {
    width: 100%;
    height: 60%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    background-color: #f5b452;
  }

  .menu-content ul {
    padding: 30px 10px 0;
  }

  .menu-content ul li {
    border-bottom: solid 1px #b142f5;
    list-style: none;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 15px 10px 0;
    position: relative;
  }

  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }

  /*↓メニュー内*/

  .menu-content {
    width: 100%;
    height: 60%;
    position: fixed;
    top: 0;
    left: 100%;
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 20;
    background-color: #f5b452;
    transition: all 0.5s;
    /*アニメーション設定*/
  }

  #menu-btn-check:checked~.menu-content {
    left: 0;
    /*メニューを画面内へ*/
  }

  /*----------------------------ここまで-ハンバーガーメニューとメニュー内*/


  .obi {
    display: none;
  }

  header {
    width: 95%;
    background-size: cover;
    background-position: center;
    height: 300px;
    /* 適切な高さを指定してください */
    margin: 0 auto;
    padding: 0;
  }

  footer {
    width: 95%;
    height: 400px;
    margin: 0 auto;
    padding: 0;
  }

  body {
    width: 100%;
    margin: 0 0;
    padding: 0 0;
  }

  .main {
    font-size: 4vw;
    width: 95%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .newicon {
    margin: 0;
    padding: 0;
    height: 18px;
    width: 40px;
  }
  

}




@media screen and (max-width:480px) {
  /*----------------------------------------------------画面サイズが480pxからはここを読み込む*/

  /*デバイスレスポンシブ表示*/
  .smart {
    background-color: blue;
  }

  .tablet {
    background-color: #f5b452;
  }

  .pc {
    background-color: #f5b452;
  }

  /*デバイスレスポンシブ表示*/

  .obi {
    display: none;
  }

  header {
    width: 95%;
    background-size: cover;
    background-position: center;
    height: 140px;
    /* 適切な高さを指定してください */
    margin: 0 auto;
    padding: 0;
  }

  footer {
    width: 95%;
    height: 280px;
    margin: 0 auto;
    padding: 0;
  }

  body {
    width: 100%;
    margin: 0 0;
    padding: 0 0;
  }

  .main {
    font-size: 4vw;
    width: 95%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
  }

  h1, h2, h3, h4 {
    font-size: 1em;
  }

  .plan {
    font-size: 12px;
  }

  .new {
    margin: 0 0;
    padding: 0 0;
    height: 40px;
  }

  .scroll {
    font-size: 12px;
    height: 14vh;
  }

  .newicon {
    margin: 0;
    padding: 0;
    height: 10px;
    width: 26px;
  }

}