/* html, body {
  overflow-x: hidden;
}  */

 /* * { outline: 1px solid red; } */


/* -------------------------------------- 
        font 
------------------------------------- */
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background: #FFFAF0;
    color: #734C29;
    font-family:"YakuHanRP", "Zen Maru Gothic", sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    letter-spacing: 0.05em;
    line-height: 1.9em;
}


p,dt,dd,span {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

svg {
  transform: translateZ(0);
}

@media only screen and (max-width: 767px) {
    body {
       font-size: 1.5rem;
    }
}



/* ハンバーガーメニュー ----------------*/

.hamburger-window__title {
    font-weight: 300;
}

.hamburger-window__title_small {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
}


/* 後で消す部分 ここから-----------------------------------*/
.zen-maru-gothic-regular {
  font-family: "YakuHanRP","Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-medium {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-maru-gothic-bold {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}


.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-new-medium {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-kaku-gothic-new-bold {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}


/* 後で消す部分 ここまで-----------------------------------*/


/* 初期化・共通部分 */

.pc,
.pc_960 {
  display: block;
}

@media only screen and (max-width: 960px) {
    .pc_960 {
      display: none;
    }
}

@media only screen and (max-width: 767px) {
    .pc {
      display: none;
    }
}

.sp {
  display: none;
}

@media only screen and (max-width: 767px) {
    .sp{
      display: block;
    }
}



html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body,p {
    margin: 0;
}

a {
    color: #734C29;
    text-decoration: none;
}

a:hover {
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

li {
    list-style: none;
}

ul {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

@media only screen and (max-width: 1100px) {
    .container {
       max-width: 80vw;
       margin: 0 auto;
    }
}

@media only screen and (max-width: 767px) {
    .container {
       max-width: 95vw;
       margin: 0 auto;
    }
}

h1 {
  margin: 0;
}

h2,h3,h4 {
    font-family:"YakuHanRP", "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.08em;
    margin: 0;
}

h2 {
  font-size: 3rem;
}

.title {
  text-align: center;
}

@media only screen and (max-width: 767px) {
  h2 {
    font-size: 2.3rem;
  }
}



/* ---　ロゴ　------------------------------ */
#logo {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2100;
}

#logo img {
    width: 80px;
}

@media only screen and (max-width: 767px) {
  #logo {
    position: fixed;
    top: 7px;
    left: 7px;
  }

  #logo img {
      width: 60px;
  }
}


/* ---  右上のボタンコンテナ（ハンバーガー＋バナー）------------------------------ */
.header-buttons {
  position: fixed;
  top: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  /*gap: 20px;  ハンバーガーとバナーの間隔 */
  z-index: 2100;
}

/* ---　バナーボタン　------------------------------ */
.banner {
  display: flex;
  align-items: center;
  background: #EA5858; 
  color: #fff;
  text-decoration: none;
  padding: 26px 28px;
  font-size: 1.5rem;
  font-weight: 600;
  transition:  0.3s;
  z-index: 2100;
  height: 82.4px;
}

.banner img {
  width: 29px;
  height: auto;
  margin-left: 20px;
}

@media only screen and (max-width: 767px) {
  .banner {
      padding: 17px 12px;
      font-size: 1.3rem;
      height: 62.5px;
  }

  .banner img {
    width: 20px;
    height: auto;
    margin-left: 8px;
  }
}


/* ---- ハンバーガーアイコン　------------------------------ */

.hamburger {
    width: 82.4px;             
    height: 82.4px;
    position: relative;
    cursor: pointer;
    position: relative;
    background-color: #F29999;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100; /* メニューより前面 */
    border-bottom-left-radius: 15px; /* ← 左下だけ丸くする */
}

.hamburger:hover {
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.hamburger span {
    position: absolute;
    width: 30%;               /* 中の線の長さを少し短く */
    height: 2px;
    background: #fff;
    top: 20%;
    transition: 0.3s;
    border-radius: 2px;
    margin: 30px;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* ×印に変化 */
.hamburger.active span:nth-child(1) {
  transform: rotate(27deg);
  top: 9px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-27deg);
  top: 9px;
}

@media only screen and (max-width: 767px) {
  .hamburger {
      width: 62.5px;             
      height: 62.5px;
  }

  .hamburger span {
      margin: 22px;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 8px; }
  .hamburger span:nth-child(3) { top: 16px; }

}

/* ---　スライドメニュー本体　------------------ */
.menu {
  position: fixed;
  top: 0;
  right: -45%;
  width: 45%;
  height: 100vh;
  background: #FEF3F0;
  transition: right 0.4s ease;
  z-index: 1000;
  
  display: flex;
  align-items: center;       /* 上下中央 */
  justify-content: flex-start; /* 左寄せ */
  padding-left: 10%;
}

.menu.active {
  right: 0;
}

@media only screen and (max-width: 767px) {
  .menu {
    right: -100%;
    width: 100%;
    padding-left: 20%;
  }

}


/* ---　メニュー項目　------------------- */

.menu ul {
    list-style: none;
}

.menu li {
  margin-bottom: 4rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: #734C29;
  cursor: pointer;
  transition: 0.3s;
}

.menu li:hover {
  color: #0078ff;
}

/* 最後の2つだけ横並びに */
.menu ul .last-two ul {
  display: flex;
  gap: 18px;
  margin-top: 48px;
}

.menu ul .last-two li {
    margin: 0;
}

.menu ul .insta_top {
    margin-top: 48px;
    margin-bottom: 32px;
}

.menu li img {
    height: 25px;
    margin-right: 12px;
}

@media only screen and (max-width: 767px) {

  .menu ul {
      margin-top: 61px;
  }

  .menu li {
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }

  .menu ul .last-two {
    margin-top: 2.8rem;
  }

  .menu ul .insta_top {
    margin-bottom: 2.8rem;
  }

}




/* ----　オーバーレイ（背景の半透明）　-------------- */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ----　footer　------------------------------ */

footer {
    background-color: #FEF3F0;
    padding: 5em;
}

.footer_container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer_info {
  display: flex;
}

.footer_info img {
  width: 80px;
  margin-right: 1.2em;
}

.footer_info p {
  font-family: "YakuHanRP","Zen Maru Gothic", sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
}

@media only screen and (max-width: 960px) {
    footer {
      padding: 6rem 3rem 5px 3rem;
    }


    .footer_container{
      display: block;
    }

    .footer_info {
      justify-content: center;
    }

    .copyright {
      text-align: right;
      margin-top: 6.5rem;
    }
}

@media only screen and (max-width: 767px) {
  footer {
      padding: 6rem 1rem 5px 1rem;
    }

    .footer_info p {
      font-size: 1.3rem;
    }

    .copyright {
      font-size: 1.3rem;
    }
}


/* ----　共通ボタン　-------------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F29999; 
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  padding: 15px 25px;
  height: 56px;
}

.btn span {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
}

@media only screen and (max-width: 767px) {
    .btn {
      height: 54px;
    }
  }

/* ----　topへ戻るボタン　------------------------------ */






/* 支援企業・団体一覧　----------------------------------------------*/
.partner {
  background-color: #fff;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.partner_title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 5rem;
}

.partner_txt-area {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.partner_img {
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;     /* 縦中央寄せ */
  flex-wrap: wrap;         /* はみ出す場合に改行 */
  margin-bottom: 5rem;
  gap: 5rem;
}

.partner_img img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.partner_big {
  gap: 7rem;
}

.partner_big img {
  max-height: 137px;
}

.partner_middle img {
  max-height: 80px;
}

.partner_small img {
  max-height: 53px;
}

@media only screen and (max-width: 767px) {
    .partner_big {
    gap: 4rem;
  }
}

/* ----　下層ページ共通　-------------- */



/* --　下層トップ部分　--- */
.sub-head {
  background-image: url(../img/bg_sp.png);
}

.sub-head .container {
  display: flex;
  align-items: center;
  height: 34.5rem;
}

.sub-head h1 {
  font-size: 3.5rem;
}

.subpage h2 {
  font-size: 3rem;
}

@media only screen and (max-width: 767px) {
  .sub-head {
    background-image: url(../img/bg_pc.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .sub-head .container {
    display: flex;
    align-items: center;
    height: 20rem;
    padding-left: 20px;
  }

  .sub-head h1 {
    font-size: 2.5rem;
    padding-top: 5rem;
  }

  .subpage h2 {
    font-size: 2.3rem;
  }
}

/* お問い合わせ　----------------------*/
#sub-contact {
    padding-top: 11rem;
    padding-bottom: 13rem;
    background-color: #ECFAFC;
}

.sub-contact_wrapper {
    text-align: center;
    margin-top: 8rem;
    margin-bottom: 5rem;
}

#sub-contact .btn {
    width: 305px;
    margin: 0 auto;
}

.sub_contact_illust {
    position: relative;
}

.sub_contact_illust img {
    position: absolute;
    left: 20%;
    top: 2.5rem;
}

@media only screen and (max-width: 767px) {
    #sub-contact {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .sub-contact_wrapper {
        text-align: left;
        margin: 4.6rem 1rem 3.6rem;
    }

    #sub-contact .btn {
        width: 288px;
    }

    .sub_contact_illust {
      position: relative;
  }

    .sub_contact_illust img {
        position: relative;
        left: calc(50% - 27px);
        top: 4rem;
        width: 5.4rem;
  }
}

/* アニメーション　　　　 -----------------*/

/* ふわっと表示（画像用）*/
.fade-in {
  opacity: 0;
  transition: opacity 2s ease-out;
}
.fade-in.active {
  opacity: 1;
}

/* 下からふわっと（文章用）*/
.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}


/* TOPへ戻るボタン　　　　 -----------------*/

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 999;
  outline: none;
  border: none; 
  background: transparent;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top:focus,
.back-to-top:focus-visible,
.back-to-top:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.back-to-top img {
  display: block;
}

/* 表示時 */
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

@media only screen and (max-width: 767px) {
   .back-to-top  {
    right: 15px;
    bottom: 15px;
   }
}

/*-------------- パンくずリスト　　　　 -----------------*/

#breadcrumb {
    position: absolute;
    z-index: 10;
    font-family: "YakuHanRP","Zen Maru Gothic", sans-serif;
    margin-top: 0.5rem;
    color: #8E5F34;
}

#breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    /* margin-left: 10rem; */
    padding-left: 0;
    /* margin-top: 1rem; */
    list-style: none;
}

#breadcrumb ol li:not(:last-of-type)::after {
    content: ">";
    margin-left: 1rem;
}

#breadcrumb ol li:last-child,
#breadcrumb ol a {
    margin-left: 0.6rem;
    font-size: 1.4rem;
    transition: .3s;
}

#breadcrumb ol a:hover {
    color: #F29999;
}