/*========================================
共通
========================================*/

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

.c-section2__inner {
  max-width: 1020px;
  margin: 0 auto;
}

.c-section3__inner {
  max-width: 1020px;
  margin: 0 auto;
}

* + .c-section3__inner {
  margin-top: 36px;
}


/*========================================
ヘッダー
========================================*/

.l-header {
  position: fixed;
  top: 0;
  z-index: 20;
  padding: 1.6rem 1.2rem;
  width: 100%;
  height: 90px;
  background-color: #ffffff;
  border-bottom: solid 2px var(--accent-color);
}

.l-header__contents .c-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.c-company-logo {
  align-content: center;
  width: 200px;
}

.c-company-logo figure {
  text-align: left;
}

.p-global-navigation {
  /*margin: 108px auto 0;*/
  margin: 90px auto 0;
  width: 100%;
}

.p-global-navigation.is-fixed {
  position: fixed;
  top: 90px;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  margin-top: 0;
  padding: 12px 0 24px;
  background-color: rgba(255,255,255,0.8)
}

.p-global-navigation__list {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 600px;
}

.p-global-navigation__list-item {
  position: relative;
  width: calc(100% / 3);
  text-align: center;
}

.p-global-navigation__list-item a::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.4rem;
  height: 1.2rem;
  background-color: #c3c0c0;
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
}

.p-global-navigation__list-item + .p-global-navigation__list-item {
  border-left: solid 2px #dbdbdb;
}

.p-global-navigation__list-item a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
}

.p-header-sub-navigation__list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding-left: 0;
  font-size: 1.2rem;
  line-height: 1.25;
  list-style-type: none;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.16);
}

.p-header-sub-navigation__list-item a {
  display: flex;
  justify-content: center;
  gap: 3px;
  position: relative;
  padding: 0.4rem 1.2rem 0.6rem;
  width: 200px;
  color: var(--text-base-color);
  font-size: 1.6rem;
  border: solid 2px rgba(243,144,0,0.5);
  border-radius: 6px;
  text-decoration: none;
}

.p-header-sub-navigation__list-item a::before {
  content: "";
  display: inline-block;
  position: relative;
  top: 13px;
  margin-right: 6px;
  width: 12px;
  height: 18px;
  background: url(../img/bullet_narl-marl.png) no-repeat;
  background-size: 12px 18px;
}

.p-header-sub-navigation__list-item a:hover {
  color: var(--accent-color);
}

@media (min-width: 640px) {
  .c-hamburger-button,
  .c-drawer-navigation {
    display: none;
  }
  .p-global-navigation {
    margin-bottom: 36px;
  }
}

@media (max-width: 639px) {
  .l-header {
    padding: 0.6rem 1.2rem;
    height: 45px;
  }
  .c-company-logo {
    width: 80px;
  }
  .c-company-logo figure {
    margin-top: 6px;
  }
  .c-site-branding__title {
    width: 100px;
  }
  .p-global-navigation,
  .p-header-sub-navigation {
    display: none;
  }
  .p-global-navigation.is-fixed {
    top: 123px;
  }
  .c-hamburger-button {
    z-index: 30;
    width: 80px;
  }
  .c-hamburger-button__bars {
    position: absolute;
    top: 6px;
    right: 12px;
    display: flex;
    justify-content: center;
    width: 30px;
    height: 36px;
    background-color: transparent;
    border: none;
  }
  .c-hamburger-button__bars::after {
    content: "MENU";
    position: relative;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: #707070;
    font-size: 1rem;
    line-height: 1;
  }
  .c-hamburger-button__bar {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: #707070;
    border-radius: 3px;
    transition: 0.2s ease-out;
  }
  .c-hamburger-button__bar:nth-of-type(1) {
  }
  .c-hamburger-button__bar:nth-of-type(2) {
    margin-top: 8px;
  }
  .c-hamburger-button__bar:nth-of-type(3) {
    margin-top: 16px;
  }
  .c-hamburger-button__bars.active .c-hamburger-button__bar:nth-of-type(1) {
    transform: translateY(8px) rotate(45deg);
    transition: 0.2s ease-out;
    /*top: 12px;*/
  }
  .c-hamburger-button__bars.active .c-hamburger-button__bar:nth-of-type(2) {
    opacity: 0;
    transition: none;
  }
  .c-hamburger-button__bars.active .c-hamburger-button__bar:nth-of-type(3) {
    transform: translateY(-8px) rotate(-45deg);
    transition: 0.2s ease-out;
    /*top: -14px;*/
  }
  .c-drawer-navigation {
    display: none;
  }
  .c-drawer-navigation.open {
    display: block;
    position: fixed;
    z-index: 10;
    padding: 24px 18px 36px;
    width: 100%;
    background-color: #eeeeee;
    box-shadow: 0 6px 12px rgba(0,0,0,0.16);
  }
  .c-drawer-menu__item:not(:last-child) {
    padding-left: 12px;
    height: 36px;
    font-size: 1.6rem;
    border-left: solid 3px var(--text-base-color);
  }
  .c-drawer-menu__item + .c-drawer-menu__item {
    margin-top: 12px;
  }
  .c-drawer-menu__item span {
    font-size: 1.2rem;
  }
  .c-drawer-menu__item a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 36px;
    color: var(--text-base-color);
    font-size: 1.8rem;
    line-height: 1.1;
    text-decoration: none;
  }
  .c-drawer-menu__item:last-child {
    margin-top: 24px;
  }
  .c-drawer-menu__item:last-child a {
    display: block;
    position: relative;
    padding: 0.4rem;
    max-width: 348px;
    color: var(--text-base-color);
    font-size: 1.6rem;
    text-align: center;
    letter-spacing: -0.5px;
    background-color: #ffffff;
    border: solid 2px rgba(243,144,0,0.7);
    border-radius: 6px;
    text-decoration: none;
  }
  .c-drawer-menu__item:last-child a::before {
    content: "";
    display: inline-block;
    position: relative;
    top: 3px;
    margin-right: 6px;
    width: 12px;
    height: 18px;
    background: url(../img/bullet_narl-marl.png) no-repeat;
    background-size: 12px 18px;
  }
  .c-drawer-menu__item:last-child a:hover {
    color: var(--accent-color);
  }
}

@media (max-width: 369px) {
  .c-drawer-menu__item:last-child a {
    font-size: 1.5rem;
    letter-spacing: -0.8px;
  }
}


/*========================================
メインコンテンツ
========================================*/

.l-contents {
  margin-top: 90px;
  overflow-x: hidden;
}

@media (max-width: 639px) {
  .l-contents {
    margin-top: 45px;
    overflow-y: hidden;
  }
}



/*========================================
フッター
========================================*/

.l-footer {
  
}

.l-footer__contents {
  padding: 5.4rem 1.2rem 1.8rem
}

.l-footer__contents .c-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
}

.p-footer-navigation {
  font-size: 1.4rem;
  font-weight: 300;
}

.p-footer-navigation__list {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  line-height: 1;
}

.p-footer-navigation__list-item + .p-footer-navigation__list-item {
  padding-left: 0.6rem;
  border-left: solid 1px var(--text-base-color);
}

.p-footer-navigation__list-item a {
  color: var(--text-base-color);
  text-decoration: none;
}

.p-footer-navigation__list-item a:hover {
  text-decoration: underline;
}

.c-copyright {
  padding: 0.9rem 0;
  color: #ffffff;
  text-align: center;
  background-color: var(--accent-color);
}

.c-copyright small {
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 639px) {
  .l-footer__contents {
    padding: 4.8rem 1.2rem 2.4rem;
  }
  .l-footer__contents .c-container {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
  .l-footer__site-branding {
    width: 100%;
    font-size: 1.2rem;
  }
  .p-footer-navigation {
    width: 100%;
    font-size: 1.2rem;
  }
  .p-footer-navigation__list {
    justify-content: center;
  }
}

@media (max-width: 369px) {
  .p-footer-navigation {
    font-size: 1.1rem;
  }
}



/*========================================
ページトップへ戻る
========================================*/

.p-page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.p-page-top.scroll-page-top {
  opacity: 1;
  visibility: visible;
  transition: all 0.5s;
}

