/* bg */

.page-bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #dbe7ff;
  background-image: url("../img/bg_logo.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 1080px auto;
}


/* layout */

.layout{
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100vh;
  min-height: 0;
  display: grid;
  grid-template-columns:
    minmax(0, var(--side-nav-lane))
    minmax(0, 1fr);
  grid-template-rows: 1fr;

  position: relative;
  z-index: 1;
}

.side-nav,
.main-scroll{
  min-width: 0;
}


/* side-nav (PC) */

.side-nav{
  grid-column: 1;
  position: sticky;
  top: 0;
  height: 100%;

  display: flex;
  justify-content: center;
}

.side-nav__inner{
  width: var(--side-nav-inner);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.side-nav__header{
  display: flex;
  justify-content: center;
  margin: 60px 0 48px;
}

.side-nav__logo{
  display: block;
  max-width: 100%;
  height: auto;
}

.side-nav__nav{
  margin-bottom: 80px;
}

.side-nav__list{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  gap: 22px;
  justify-items: center;
}

.side-nav__item a{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
}


/* notice / footer */

.side-nav__footer{
  margin: 14px auto 40px;
  width: 290px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 16px 24px;
  border-radius: 16px;
  background: #2437c8;
  color: #fff;
}

.side-nav__notice{
  width: 350px;
  margin: 12px auto 0;

  text-align: center;
  color: #2437c8;
  font-size: 16px;
  font-weight: 600;

  transform: translateX(-10px);
}

.side-nav_notice_icon_l,
.side-nav_notice_icon_r{
  height: 22px;
  vertical-align: middle;
}
.side-nav_notice_icon_l{ margin-right: 15px; }
.side-nav_notice_icon_r{ margin-left: 15px; }

.side-nav__cta{
  margin-top: auto;
  padding-top: 24px;

  display: grid;
  justify-items: center;
  gap: 12px;
}

.side-nav__cta-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.side-nav__qr{
  width: 76px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}


/* NAV LIST */

.nav-list{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  gap: 8px;
}

.nav-list__item{
  margin: 0;
}

.nav-list__link{
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 16px;

  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;

  font-family:
    "Zen Kaku Gothic New",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
}


/*  MAIN SCROLL / CONTENT */

.main-scroll{
  grid-column: 2;

  height: 100%;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  
  touch-action: pan-y;
}
.main-scroll::-webkit-scrollbar{
  width: 0;
  height: 0;
}

.main-shell{
  width: var(--main-fixed);
  max-width: var(--main-fixed);
  margin-inline: auto;

  background: #fff;
  padding: 0;

  display: flex;
  justify-content: center;
}

.main-content{
  width: 100%;
  padding:  0;
  background: transparent;
}

.hero.hero_top{
  margin: 0 16px;
  
}


.main-content > section{
  margin-bottom: 24px;
}

.page-lower .main-content{
  padding-inline: var(--gutter-sp);
}


/* FOOTER */

.footer{
  padding: 40px 12px 0;
  background: #fff;
  text-align: center;
  color: #111;
}

.contact__title{
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 18px!important;
  position: relative;
}



.contact__title::after{
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: #2437c8;
  margin: 8px auto 0;
}
.contact__tel{
  margin: 18px 0 4px;
  font-weight: 500;
  line-height: 1.6;
}

.contact__tel br{
  display: block;
}

.contact__tel-org{
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.contact__tel-number{
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact__hours{
  margin: 6px 0 22px;
  font-size: 12px;
  color: #111;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.footer__links-item{
  color: #767F95;

}

.footer__links{
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.footer__links-item{
  margin: 0;
  padding: 0;
}

.footer__links a{
  display: inline-block;
  margin: 6px 0;
  font-size: 13px;
  color: #767F95;
  text-decoration: none;
  line-height: 1.6;
}

.footer__links a:hover{
  text-decoration: underline;
}
.footer__link{
  position: relative;
  top: -0.06em;
}
.footer__dot{
  display: inline-block;
  transform: translateY(1px);
}

.footer .copyright, .footer .copyright_app{
  display: block;
  margin: 24px 4px 0;
  font-size: 11px;
  line-height: 1.6;
  color: #767F95;
  letter-spacing: 0.08em;
  font-weight: 300;
}
.footer .copyright_app{
  text-align:left;
  font-weight: 500;

}
.footer .copyright:last-of-type{
  margin-top: 16px;
  font-size: 11px;
  color: #767F95;
}

.footer .copyright{
  font-family: "Akshar",
    "Zen Kaku Gothic New",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
}


/* SP MENU */

.sp-menu{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;

  background: #D9E9FF;
  padding-block:
    calc(env(safe-area-inset-top, 0px))
    calc(env(safe-area-inset-bottom, 0px));
}
.sp-menu.is-open{ display: block; }

.sp-menu__inner{
  width: 390px;
  max-width: 100%;
  height: 100%;
  margin-inline: auto;
  padding-top: 72px;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ×ボタン */
.sp-menu__close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #111;
  -webkit-tap-highlight-color: transparent;
}

/* nav */
.sp-menu__nav{
  text-align: center;
}

.sp-menu__list{
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
}

/* stores */
.sp-menu__stores{
  width: 390px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 40px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sp-menu__store{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sp-menu__store img{
  max-width: 100%;
  height: auto;
}


.sp-menu__item{
  width: 100%;
}
.sp-menu__item a{
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 10px 14px;
  font-weight: 600;

}

/* lower 
.page-lower .hero__header-inner{
  margin-top: 0;
  transform: none;
  padding-top: 0;
}*/

/* 下層ページ：ロゴを左寄せ */
.page-lower .hero__header-inner{
  justify-content: flex-start;
}

/* ロゴと端の余白 
.page-lower .hero__logo{
  margin-left: 12px;
}*/

.page-lower .hero__logo img{
  padding-left: 2px;
  padding-top: 0;
}







/* RESPONSIVE */

/* ～985px */
@media (max-width: 985px){
  .side-nav{ display: none; }

  .layout{
    grid-template-columns: 1fr;
    max-width: none;
    margin: 0;
  }

  .page-bg{
    background-image: none;
  }

  .main-shell{
    width: 100%;
    max-width: none;
  }

  .hero__menu-trigger{
    display: inline-flex;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
  }
/* SPのみ青 */
  .hero__header.page_header.is-scrolled .hero__menu-icon{
    content: url("../img/humberger_blue.png");
  }
}
  
}

/* ～768px */
@media (max-width: 768px){
  .main-scroll{
    display: block;
    padding: 0 var(--gutter-sp);
    overflow-x: hidden;
      touch-action: pan-y;

  }

  .main-shell{
    width: 100%;
  }

  .page-lower .main-content{
    width: 100%;
    padding-inline: 16px;
  }
}

/* 769–985px */
@media (min-width: 769px) and (max-width: 985px){
  .main-scroll{
    grid-column: 1;
    justify-content: center;
    padding: 0;
    overflow-x: hidden;
      touch-action: pan-y;

  }

  .main-shell{
    width: var(--main-fixed);
  }

  .page-lower .main-content{
    width: 390px;
    padding-inline: 16px;
  }
}

/* ～390px */
@media (max-width: 390px){
  .point__list{
    padding-inline: 12px;
  }
}
