.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}
html{
  scroll-behavior: smooth;
}
.header_welfare_corporative {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 2.3rem;
  line-height: calc(36em / 23);
  letter-spacing: calc(2.76em / 23);
  width: 15.5rem;
}

.header_kenjukai {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 3.3rem;
  line-height: calc(36em / 33);
  letter-spacing: calc(3.96em / 33);
  width: 13.8rem;
}

.link_wrap {
  display: flex;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(24em / 16);
  gap: 2rem;
  margin-left: 6.9rem;
  align-items: center;


}

.takatihoen,
.onoda,
.tigusano,
.karatu {
  background-color: #F2F2F2;

  height: 4rem;
  border-radius: 20rem;
  color: #000;
  text-align: center;
  line-height: calc(39em / 16);

  padding: 0.8rem 1.2rem;
}

.takatihoen:hover,
.takatihoen.active,
.onoda:hover,
.onoda.active,
.tigusano:hover,
.tigusano.active,
.karatu:hover,
.karatu.active,
.header_news:hover,
.header_news.active,
.header_works:hover,
.header_works.active,
.header_contact:hover,
.header_contact.active {
  background-color: #F4A805;
  color: #FFFFFF;
}

.header_news,
.header_works,
.header_contact {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(24em / 16);
  letter-spacing: calc(0em / 16);
  border-radius: 2rem;
  color: #F4A805;
  background-color: #FFF7E2;
  padding: 0.8rem 1.2rem;
}

.header_contact {
  display: flex;
}
.header_contact_text{
  padding-left: 1rem;
}
.header_flex {
  margin-left: 3rem;
}

.header_contact {
  display: flex;
}

.header_mail_img {
  width: 3.5rem;
  height: 2.289rem;
  object-fit: cover;
  
}
.header_mail_img_wrap{
  width: 3.5rem;
  height: 2.289rem;
  background-color: #FFF7E2;
}

.header {
display: flex;
  width: 100%;
  height: 10rem;
  background-color: #FFFFFF;
  position: fixed;
  z-index: 9999;
}

.header_logo{
  display: block;
}

.header_hamburger {
  display: none;
}

@media screen and (max-width:699.98px) {

  
  .link_wrap {
    display: none;
  }
  .header{
    height: 7rem;
  }
  .header_logo{
    padding-top: 1.3rem;
  }
  .header_hamburger_margin{
    height: 1.5rem;
    width: 100%;
    background-color: #FFF7E2;
  }
  .header_welfare_corporative {
    font-size: 1.5rem;
    line-height: calc(26em / 15);
  }

  .header_kenjukai {
    font-size: 2.3rem;
    line-height: calc(26em / 23);

  }

  .header_flex {
    margin-left: 1.5rem;
  }


  .header_hamburger {
    display: block;
    margin-left: 13.7rem;
    margin-top: 1.4rem;
  }

 .hamburger {
  width: 5rem;
  height: 5.2rem;
  background: #F4A805;
  border-radius: 0.6rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;

  position: relative;
}

.hamburger span {
  width: 60%;
  height: 0.2rem;
  background: #fff;
  transition: 0.3s;
}
.hamburger span {
  transform-origin: center;
}
/* 上 */
.hamburger span:nth-child(1) {
  top: 35%;
  transform: translateY(-0.3rem);
}

/* 真ん中 */
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translate(0%, -50%);
}

/* 下 */
.hamburger span:nth-child(3) {
  top: 65%;
}
  .nav {
    position: fixed;
    top: 8rem;
    /* ← ヘッダー高さ */
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 999;
  }

  

  /* ✨ 開いた時（×になる） */
  .hamburger.active span:nth-child(1) {
  transform: translateY(0.8rem) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-0.8rem) rotate(-45deg);
}
  /* メニュー側 */
  /* 背景オーバーレイ */
  .nav {
    position: fixed;
    top: 7rem;
    /* ← ヘッダー高さ */
    left: 0;
    right: 0;
    bottom: -1rem;

    background: #F4A805;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1000;
  }

  /* メニュー本体 */
  .nav_wrap {
    width: 100%;
    background: #FFFCF5;
    height: calc(100vh - 8rem + 1rem);
    transform: translateX(100%);

    transform: translateY(-100%);
    /* ← 上に隠す */
    transition: transform .35s ease;
  }
 

  /* 開いた状態 */
  .nav.active {
    opacity: 1;
    visibility: visible;
  }

  .nav.active .nav_wrap {
    transform: translateY(0);
    background-color: #FFF7E2;
    border-radius: 0 0 10rem;
    /* ← 上から降りる */
  }

  /* トグル */
  .accordion_toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.6rem;
    padding: 1.5rem 0;
    cursor: pointer;
    position: relative;
    padding-right: 4rem;
    padding-left: 1.5rem;
  }

  /* ▼アイコン */
  .accordion_toggle::after {
  content: "↑";
  position: absolute;
  right: 5rem;
  top: 50%;
  font-size: 1.6rem;
  color: #FFF7E2;
  border-radius: 1.7rem;
  transform: translateY(-50%) rotate(180deg); /* ← 上向き */
  transition: transform .3s; 
  z-index: 1;
}
.accordion_toggle.active::after{
  color: #F4A805;
}

.accordion_toggle::before {
  content: "";
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);

  width: 6rem;     /* ← 横長サイズ */
  height: 3rem;

  background: #F4A805;
  border-radius: 999px; /* ← 楕円 */

  z-index: 0;
}
.accordion_toggle.active::before{
  background-color: #FFF7E2;

}

  /* 開いたら回転 */
  .accordion_toggle.active::after {
    transform: translateY(-50%) rotate(360deg);
  }

  /* 中身（閉じ状態） */
  .accordion_menu {
    height: 0;
    overflow: hidden;
    transition: height .35s cubic-bezier(.22, .61, .36, 1);
    padding-left: 1rem;
    background: #FFFCF5;
  }

  /* 開いた状態 */
  .accordion_menu.active {
    max-height: 50rem;
    /* 十分大きければOK */
  }

.accordion_toggle.active {
  background: #F4A805; 
  color: #fff;
}

/* アコーディオン中身 */
.accordion_menu{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(24em / 16);
  letter-spacing: calc(0em / 16);
  color: #F4A805;
  
}
.accordion_bar{
  padding: 0.695rem 0;
  position: relative;
}
.accordion_bar::after{
  content: "";
  width: 34.5rem;
  height: 0.1rem;
  background-color: #F4A805;
  position: absolute;
  bottom: 0rem;
  left: 0rem;
}
.accordion_menu li:last-child::after{
  content: none;
}


}