@charset "utf-8";

/*-------------------------------------------
TOPページ nav
-------------------------------------------*/
#header .navi {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  font-family: "Noto Sans", sans-serif;
  transition: all 0.3s ease;
  line-height: 1.5;
}
.fix {
  width: 100%;
  background: #fff;
  z-index: 1000;
  transition: all 0.3s ease;
  /* 中央寄せ＋余白調整 */
  display: flex;
  justify-content: flex-end;
  padding: 1rem 0;
}
.fix__list {
  width: 100%;
  display: flex;
  flex-direction: row; /* ←縦から横に */
  justify-content: center;
  gap: 2rem; /* row-gap → gap に変更して横方向にも間隔 */
  margin: 0;
  padding: 1rem 0;
}
.fix__item {
  overflow: hidden;
}
.fix__item img {
  display: block;
  height: auto;
  width: 100%;
}
/* 固定時に付加されるクラス */
.navi.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#header .navi .menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  font-size: 22px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0 30px;
  gap: 2rem;
}
#header .navi .menu li{
  text-align: center;
}
.header_igicon{
  width: 35px;
}
.nav_logo{
  width: 120px;
  padding-left: 20px;
  display: flex;
  align-items: center;
}
.menu li {
  padding-bottom: 5px;
}
.menu li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #1f1f1f;
}
.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #1f1f1f;
  transition: width 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.menu li:not(:last-child) a:hover::after {
  width: 100%;
}
#btn_open{
  display: none;
}
.hamburger{
  width: 100%;
  display: none;
}

/*【タブレット】
================= */
@media screen and (max-width: 900px) {
  #header .navi .menu > li {
    margin-left: 0;
  }
  #header .navi .menu {
    font-size: 16px;
  }
  .fix{
    padding: 0.5rem;
  }
  #header .navi .menu {
    padding: 0 15px;
    gap: 1.5rem;
  }
  .fix__list {
  width: 50%;
  gap: 1rem;
}
}

/*【スマホ】
================= */
@media screen and (max-width: 640px) {
  .fix{
    display: none;
  }
  .header_igicon{
    width: 40%;
    margin: 100px auto 0;
  }

  /*********ドロワーボタン ********/
  .nav1{
    display: none;
  }
  .hamburger{
    display: block;
  }
  .drawerNab{
    width: 100%;
  }
  .drawerNab ul{
    width: 100%;
    font-family: "Noto Sans", sans-serif;
  }
  .drawerNab .fix__item{
    width: 70%;
    margin: 0 auto;
    border-bottom: 2px solid #161616;
    text-align: center;
    font-size: 24px;
  }
  .drawerNab .fix__item{
    padding-top: 40px;
  }
  .drawerNab li:nth-child(1){
    border-bottom: none;
  }
  .drawerNab li:nth-child(6){
    border-bottom: none;
  }
  .drawerNab a{/* liと同じサイズで反応する */
    display: inline;
    color: #161616;
  }
  .drawerNab .insta_id{
    width: 50%;
    background-color: #A5B698;
    padding: 10px;
    margin: 30px auto 0;
    text-align: center;
    border-radius: 25px;
    line-height: 1.5;
  }
  .drawerNab .insta_id a{
    width: 100%;
    color: #fff;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .drawerNab .insta_id .insta_img{
    width: 25px;
  }
  .drawerNab .insta_p{
    padding-left: 10px;
    margin-top: 0;
    display: flex;
    align-items: center;
  }
  .btn_menu {
    display: block;
    width: 35px;
    height: 40px;
    position: absolute;
    position: fixed;
    z-index: 999;
    top: 20px;
    left: 20px;
    border-radius: 5px;
  }
  .btn_menu span{
    width: 80%;
    height: 1px;
    display: block;
    position: absolute;
    left: 0;
    background-color: #1f1f1f;
    border-radius: 5px;
    transition: 0.2s ease-in-out;
  }
  .btn_menu span:nth-of-type(1){
    top: 10px;
    transform: rotate(0);
  }
  .btn_menu span:nth-of-type(2){
    top: 19px;
    transform: scale(1);
  }
  .btn_menu span:nth-of-type(3){
    bottom: 10px;
    transform: rotate(0);
  }
  #btn_open:checked + .btn_menu span:nth-of-type(1){
    top: 18px;
    transform: rotate(-45deg);
  }
  #btn_open:checked + .btn_menu span:nth-of-type(2){
    transform: scale(0);
  }
  #btn_open:checked + .btn_menu span:nth-of-type(3){
    bottom: 21px;
    transform: rotate(45deg);
  }
  #gnav{
    width: 90%;
    height: 100vh;
    background-color: rgb(255 255 255 / 85%);
    overflow: hidden;
    position: fixed;
    z-index: 990;
    top: 0;
    left: -100%;
    transition: left .5s, right .5s,top .5s, bottom .5s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  #btn_open:checked ~ #gnav{
    left: 0;
  }
  .btn_menu{
    cursor: pointer;
  }
/*********ドロワーボタン終了 ********/
}