@charset "utf-8";

/* ==========================================================================
   Header
========================================================================== */
.header {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: -0.5px;
  right: -0.5px;
  width: calc(100vw + 1px);
  max-width: 1680px;
  margin: 0 auto;
}
.header__inner {
  position: relative;
  z-index: 10000;
  padding: 1.5rem 2.5rem;
  border-radius: 0 0 2.5rem 2.5rem;
  background: #fff;
}
.header__logo {
  position: relative;
  width: 6.61rem;
  line-height: 1;
}
.header__logo-link {
  display: block;
  text-decoration: none;
}
.header__logo-img {
  width: 100%;
}
@media screen and (min-width: 1350px) {
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem 1.2rem 5rem;
  }
  .header__logo {
    margin-top: 0.2rem;
    width: 9.5625rem;
  }
}

/* ==========================================================================
   Toggle Button
========================================================================== */
.header__toggle {
  position: absolute;
  z-index: 10000;
  top: 1.75rem;
  right: 2.5rem;
  width: 3.75rem;
  height: 1rem;
  cursor: pointer;
}
.header__toggle .toggle__btn {
  width: 100%;
  height: 100%;
}
.header__toggle .toggle__btn span {
  position: absolute;
  right: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: #0d0f68;
  transition: all 0.3s ease-out;
}
.header__toggle .toggle__btn span:nth-of-type(1) {
  top: 0;
}
.header__toggle .toggle__btn span:nth-of-type(2) {
  top: 7px;
}
.header__toggle .toggle__btn span:nth-of-type(3) {
  bottom: 0;
}
.header__toggle.active .toggle__btn span:nth-of-type(1) {
  transform: translateY(7px) rotate(-15deg);
}
.header__toggle.active .toggle__btn span:nth-of-type(2) {
  opacity: 0;
}
.header__toggle.active .toggle__btn span:nth-of-type(3) {
  transform: translateY(-7px) rotate(15deg);
}
@media screen and (min-width: 1350px) {
  .header__toggle {
    display: none;
  }
}

/* ==========================================================================
   Mobile Navigation (sp-nav)
========================================================================== */
.header__sp-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 100vw;
  padding: 80px 40px 80px;
  border-radius: 0 0 40px 40px;
  background: #fff;
  overflow-y: scroll;
  transform: translateY(-100vh);
  transition: all 0.6s ease-out;
}
.header__sp-nav.active {
  transform: translateY(0%);
}
.sp-nav__list {
  margin: 0 auto;
}
.sp-nav__list li {
  margin-bottom: 0;
}
.sp-nav__list li a,
.sp-nav__list li span {
  position: relative;
  display: block;
  color: var(--color-text);
  font-size: 1.125em;
  text-decoration: none;
}
.sp-nav__list li a strong,
.sp-nav__list li span strong {
  font-weight: 600;
}
.sp-nav__list > li > a,
.sp-nav__list > li > span {
  padding: 0.8em 0em;
}

/* 階層メニュー（sub-menu）
----------------------------------------------- */
.sp-nav__list .sub-menu {
  width: 97%;
  padding: 0;
  margin: 0 0 0 3%;
}
.sp-nav__list .sub-menu li a {
  padding: 0.6em 1em 0.6em 1.2em;
  background-position: right 0.9em;
  font-size: 0.9em;
}
.sp-nav__list .sub-menu li a::before {
  content: "";
  position: absolute;
  top: 1.4em;
  left: 0.2em;
  display: block;
  width: 0.5em;
  height: 1px;
  background: var(--color-border);
}
.sp-nav__btns {
  margin: 2em auto 0;
  max-width: 360px;
  text-align: center;
}
.sp-nav__btn {
  margin-bottom: 1.2em;
}
.sp-nav__btn a {
  display: block;
  width: 100%;
  text-decoration: none;
  transition: all 0.3s ease-out;
}
@media screen and (min-width: 1350px) {
  .header__sp-nav {
    display: none;
  }
}
/* ==========================================================================
   PC Navigation (pc-nav)
========================================================================== */
.header__pc-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 12px;
  height: 100%;
  padding-left: 12px;
}
.pc-nav__menu {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
.pc-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
.pc-nav__list > li {
  position: relative;
}
.pc-nav__list li a,
.pc-nav__list li span {
  position: relative;
  display: block;
  color: var(--color-text);
  font-size: 0.9em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.pc-nav__list li a:hover,
.pc-nav__list li span:hover {
  color: var(--color-main);
}
.pc-nav__list li a strong,
.pc-nav__list li span strong {
  font-weight: 600;
}
.pc-nav__list > li > a,
.pc-nav__list > li > span {
  margin: 0;
  padding: 0 7px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}

@media screen and (max-width: 1349px) {
  .header__pc-nav {
    display: none;
  }
}
@media screen and (min-width: 1540px) {
  .pc-nav__list > li > a,
  .pc-nav__list > li > span {
    padding: 0 12px;
  }
  .pc-nav__list li a,
  .pc-nav__list li span {
    font-size: 15px;
  }
}
/* 階層メニュー（sub-menu）
----------------------------------------------- */
.pc-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.pc-nav__list > li:hover > .sub-menu {
  display: block;
}
.pc-nav__list .sub-menu li a {
  display: block;
  width: 100%;
  padding: 0.8em 1em 0.8em 1.2em;
  font-size: 0.9em;
  border-bottom: solid 1px var(--color-border);
}
.pc-nav__list .sub-menu li:last-child a {
  border: none;
}
.pc-nav__list .sub-menu li:hover > a {
  background-color: var(--color-main-light);
}
.pc-nav__list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* 右側ボタンエリア
----------------------------------------------- */
.pc-nav__btns {
  width: 360px;
  position: static;
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}
@media screen and (min-width: 1440px) {
  .pc-nav__btns {
    width: 430px;
  }
}
/* ==========================================================================
   Breadcrumb パンくず
========================================================================== */
#breadcrumb {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1em 5% 1.2em;
  overflow: auto;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.8);
}
#breadcrumb ul {
  max-width: 1240px;
  margin: 0 auto;
}
#breadcrumb ul li {
  display: inline-block;
  margin: 0 0.2em 0 0;
  padding: 0 0 0 1em;
  font-size: 0.9em;
  background: url(../images/common/icon-arrow03.png) no-repeat left 0.4em;
  background-size: 1em;
}
#breadcrumb ul li.home {
  padding-left: 0;
  background: none;
}
#breadcrumb ul li a {
  display: block;
  color: #888;
  text-decoration: none;
}
#breadcrumb ul li a:hover {
  color: #aaa;
}
#breadcrumb br {
  display: none;
}
@media screen and (min-width: 768px) {
  #breadcrumb {
    padding: 1.5em 60px;
  }
}

/* ==========================================================================
   Layout
========================================================================== */
.container {
  position: relative;
  max-width: var(--s-inner);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--s-inner-lr);
  padding-right: var(--s-inner-lr);
}
.container.is-narrow {
  max-width: var(--s-inner-narrow);
}
.container.is-wide {
  max-width: var(--s-inner-wide);
}
.section {
  position: relative;
}
.section.-MT {
  margin-top: var(--s-inner-top);
}
.section.-MB {
  margin-bottom: var(--s-inner-bottom);
}
.section.-PT {
  padding-top: var(--s-inner-top);
}
.section.-PB {
  padding-bottom: var(--s-inner-bottom);
}
/* ==========================================================================
   Pagetop
========================================================================== */
.pagetop {
  position: fixed;
  bottom: 30px;
  right: 15px;
  z-index: 999;
  width: 70px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease-out,
    visibility 0.3s ease-out;
}
.pagetop.pagetop--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pagetop a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 992px) {
  .pagetop {
    bottom: 20px;
    right: 20px;
    width: 80px;
  }
}
