/*-------------------全体----------------------*/

body{
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0px;
  width: 100%;
  max-width: 2000px;
  /* min-width: 550px; */
  /*transform: scaleY(0.9);*/
  transform-origin: top center;
  margin: 0 auto;
  /* padding: 0 10px; */
 }
 .body-box{
  display: flex;
  justify-content: center;
  position: relative;
  max-width: 2000px;
 }
a {
   color:#0000FF;
  text-decoration:none;
 }
  ul,
  li {
    padding: 0;
    margin: 0;
  }
  li {
    list-style: none;
  }
 /*-------------------ヘッダー----------------------*/

header{
  width: 100%;
}
.menu{
  display: flex;
  align-items: flex-end;
  height: 80px;
}
.menu h1{
  font-size: 30px;
  float: left;
  width: 300px;
  color: #000080;
}
.menu1{
  display: flex;
  align-items: center;
  width: 500px;
  height: 80px;
}
.menu2{
  display: flex;
  margin-left: 60px;
  padding-bottom: 10px;
}
.menu3{
  display: flex;
  margin-left: 50px;
  padding-bottom: 5px;
}
.menu p{
  display: flex;
  align-items: center;
  margin-top: 25px;
  justify-content: center;
  font-size: 16px;
  margin-left: 0px;
}
img.toggle-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-left: 100px;
}
.menu2 a{
  height: 55px;
}

.menu2 p{
  height: 55px;
}

.setting{
  width: 50px;
}

.button-main-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button2-header-off {
  width: 180px;
  height: 58px;
  background-color: #fff;
  border: 2px solid #28C0D4;
  border-radius: 10px;
}

.button2-header-on {
  width: 180px;
  height: 60px;
  background-color: #28C0D4;
  border-radius: 10px;
  height: 60px;
}

.button2-header-on  p{
  text-align: center;
  line-height: 60px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.button2-header-setting {
  width: 180px;
  height: 60px;
  background-color: #fff;
  border: 2px solid #28C0D4;
  border-radius: 10px;
  margin-left: 20px;
}

.button2-header-setting  p{
  text-align: center;
  line-height: 60px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}


.button2-header-off p {
  line-height: 60px;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  color: #28C0D4;
  margin: 0;
}

.button1-header-on {
  width: 180px;
  height: 60px;
  background-color: #FD9A35;
  /* border: 2px solid #FD9A35; */
  border-radius: 10px;
}

.button1-header-on p {
  line-height: 60px;
  font-size: 36px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.button1-header-off p{
text-align: center;
line-height: 60px;
font-size: 24px;
font-weight: bold;
color: #FD9A35;
margin: 0;
}

.button1-header-off {
  width: 180px;
    height: 60px;
    background-color: fff;
    border: 1px solid #FD9A35;
    border-radius: 10px;

  }
  .button1-header-setting {
    width: 200px;
    height: 60px;
    background-color: #6B8E23;
    margin-right: 20px;
    /* border: 2px solid #FD9A35; */
    border-radius: 10px;
  }
  .button1-header-setting p {
    line-height: 60px;
    font-size: 36px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin: 0;
  }

/*----------------------フッター-----------------------*/
footer{
  margin-top: 120px;
  font-size: 16px;
  border-top: 1px solid #000080;
  color: #000080;
  box-sizing: content-box;
    height: 160px;
 }
 footer a:link, a:visited, a:hover, a:active {
  color: #000080;
}
 .inquiry {
  display: flex;
  justify-content: center;
}
.inquiry p{
  margin-top: 20px;
  margin-bottom: 15px;
}
.inquiry1{
  margin-right: 10px;
}
.terms {
  display: flex;
  justify-content: center;
}
.terms p{
  margin-top: 15px;
  margin-bottom: 15px;
}
.terms1{
  margin-right: 100px;
}
.copyright {
  text-align: center;
  margin: auto 0;
  display: block;
  margin-bottom: 10px;
}



/*--メディアクエリ-----------------------------------------
------------------------------------------------------*/
@media screen and (max-width:10000px) {
  .tabbox{
    display: flex;
    justify-content: center;
  }
  .button1-header-setting,.button2-header-off,.button1-header-off,.button2-header-on,.button1-header-on{
    width: clamp(170px,16vw,270px);
  }
  .button1-header-setting p,.button2-header-off p,.button1-header-off p,.button2-header-on p,.button1-header-on p{
    width: clamp(170px,16vw,270px);
    font-size: clamp(18px,2.2vw,23px);
  }
  .menu2{
    margin-left: clamp(10px,3vw,60px);
  }

  .menuPCbox{
    display: flex;
    flex-direction: column;
    height: 80px;
    justify-content: center;
  }
    /*　画面サイズが1500px以下はここを読み込む　*/


    .menu{
      height: 80px;
      width: 100%;
      max-width: 2000px;

    }

    .menu h1{
      margin-top: 10px;
      padding-top: 10px;
      font-size: 30px;
      float: left;
      /* transform: translateX(-400px); */
      color: #000080;

    }

   .menu1{
    display: flex;
    align-items: center;
    margin-right: auto;
   }
    .menu2{
      display: flex;
      margin-right: 0px;
      margin-right: 0px;
    }
}
  @media screen and  (min-width:800px){
    .menu21sp{
      display: none;
      margin-right: 15px;
    }
  }

  @media screen and  (max-width:799px){
    .tabbox{
      display: none;
    }
    .menu21{
    display: none;
    }
    .menuPCbox {
      display: none;
    }
    .terms1{
      margin-right: 10px;
      font-size: 10px;
    }
    .inquiry {
      display: grid;
      justify-items: center;
    }
    .inquiry p{
      margin-top: 5px;
      margin-bottom: 5px;
    }

    .hamburger {
      margin-right: 10px;
      font-size: 30px;
      cursor: pointer;
      display: none; /* 初期状態では非表示 */
      margin-left: auto;
    }
    .menu21spmenu {
      list-style-type: none;
      padding: 0;
      margin: 0;
      transform: translateY(100px);
    }
    .close-btn {
      position: absolute;
      top: 10px; /* 上から10pxの位置 */
      right: 10px; /* 右から10pxの位置 */
      font-size: 24px; /* バツ印のサイズ */
      cursor: pointer;
      z-index: 1000; /* 他の要素よりも前面に表示されるように */
    }
    .menu21spmenu li {
      padding: 10px;
      background: #f0f0f0;
      border-bottom: 1px solid #ccc;
      width: 100px;
    }
    .menu21spmenu li:hover {
      background: #ddd;
    }
    .menu21spsubmenu {
      list-style-type: none;
      padding-left: 20px;
      display: none; /* 初期状態では非表示 */
      transform: translateY(100px);
    }
    .menu21spmenu li:hover .submenu {
      display: block; /* 親要素をホバーするとサブメニューを表示 */
    }
    p.hum-menu {
      font-size: 12px;
      margin: 0;
    }
    * ハンバーガーアイコン */
    .hamburger {
        font-size: 30px;
        cursor: pointer;
        z-index: 2000; /* モーダルよりも上に表示されないように調整 */
    }

    /* モーダルメニュー（初期状態は非表示） */
    .menu-modal {
        position: fixed;
        top: 0;
        right: 0;
        width: 50%;
        height: 30%;
        background-color: rgba(0, 0, 0, 0.9); /* 半透明の背景 */
        display: none; /* 初期状態で非表示 */
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        z-index: 1500; /* メニューが他の要素より前面に表示される */
        opacity: 0; /* フェードイン/アウト用 */
        transition: opacity 0.3s ease-in-out; /* モダンなアニメーション */
    }

    /* モーダルが表示されているとき */
    .menu-modal.active {
        display: flex; /* Flexboxで中央に配置 */
        opacity: 1; /* モーダルが表示されたときの透明度 */
    }

    /* 閉じるボタン */
    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: rgb(255, 255, 255);
        cursor: pointer;
    }

    /* モーダル内のメニュー */
    .modal-menu {
        list-style: none;
        padding: 0;
    }

    .modal-menu li {
        margin: 20px 0;
        border-bottom: solid 1px #d1d1d1;
    }

    .modal-menu a {
        color: rgb(255, 255, 255);
        padding: 12px;
        font-size: 22px;
        font-weight: bold;
        text-decoration: none;
        /* border-bottom: solid 1px #727272; */
    }
  }

  @media (max-width: 800px) {
    body{
      margin: 0px;
      width: 100%;
      padding: 0;
    }
    .hamburger {
        display: block; /* スマホ画面のときのみ表示 */
    }
    .menu21sp{
      margin-left: auto;
    }
    .menu21spmenu {
        display: none; /* 初期状態では非表示 */
    }
    .menu21spmenu.show {
        display: block; /* メニューを表示 */
    }
    .menu21spmenu li:hover .submenu {
        display: none; /* スマホ画面のときはホバーで表示しない */
    }
    .menu21spsubmenu.show {
        display: block; /* サブメニューを表示 */
    }
    .terms {
      align-items: center;
    }
    .terms p {
      display: flex;
    }
    a {
      font-size: 10px;
    }

  }


