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

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

.c-section__inner {
  /*max-width: 1020px;*/
  max-width: 900px;
  margin: 0 auto;
}



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

.l-header {
  position: absolute;
  z-index: 220;
  width: 100%;
  height: 86px;
  background-color: transparent;
}

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

.c-site-branding__title {
  position: absolute;
  top: 0;
  left: 50px;
}

/*.p-global-navigation {
  margin-top: 12px;
  width: 100%;
}

.p-global-navigation__list {
  display: flex;
  justify-content: space-between;
  background-color: #eeeeee;
}

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

.p-global-navigation__list-item a {
  display: block;
  padding: 12px;
  text-decoration: none;
}*/


.c-hamburger-button {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 220;
  width: 64px;
  height: 64px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.c-hamburger-button__bars {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  justify-content: center;
  width: 40px;
  height: 36px;
  background-color: transparent;
  border: none;
}

.c-hamburger-button__bars::after {
  content: "MENU";
  position: relative;
  top: 32px;
  color: #ffffff;
  font-size: 1.2rem;
}

.c-hamburger-button__bar {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: 0.2s ease-out;
}

.c-hamburger-button__bar:nth-of-type(1) {
  margin-top: 6px;
}

.c-hamburger-button__bar:nth-of-type(2) {
  margin-top: 16px;
}

.c-hamburger-button__bar:nth-of-type(3) {
  margin-top: 26px;
}

.c-hamburger-button__bars.active .c-hamburger-button__bar:nth-of-type(1) {
  transform: translateY(8px) rotate(30deg);
	transition: 0.2s ease-out;
}

.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(-12px) rotate(-30deg);
	transition: 0.2s ease-out;
}

@media (max-width: 1023px) {
  .c-site-branding__title {
    left: 20px;
    width: 280px;
  }
}

@media (max-width: 767px) and (min-width: 640px){
  .c-drawer-navigation.open {
    overflow-y: scroll;
    height: 100vh;
  }
}

@media (max-width: 639px) {
  .l-header {
    height: 90px;
  }
  .c-hamburger-button {
    top: 0;
    right: 0;
    border-radius: 0;
    border-bottom-left-radius: 12px;
  }
}

@media (max-width: 429px) {
  .l-header {
    height: 70px;
  }
}

.c-drawer-navigation {
  /*display: none;*/
  position: fixed;
  bottom: 0;
  z-index: 200;
  width: 100%;
  transform: translateY(150%);
  transition: 0.2s ease-out;
}

.c-drawer-navigation.open {
  /*display: block;*/
  transform: translateY(0);
  transition: 0.3s ease-out;
}

.c-drawer-navigation::before {
  content: "";
  display: block;
  position: relative;
  top: 60px;
  height: 100px;
  margin: 0 -70px;
  background-color: rgba(2,155,49,0.95);
  border-top-left-radius: 50% 90%;
  border-top-right-radius: 50% 90%;
  /*top: 11px;
  height: 100px;
  background-image: url(../img/ellipse.png);
  background-position: 0;
  background-size: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-repeat: no-repeat;*/
}

.c-drawer-navigation__inner {
  position: relative;
  z-index: 10;
  padding: 0 24px 12px;
  background-color: rgba(2,155,49,0.95);
}

.c-drawer-navigation__inner::before {
  content: "";
  display: block;
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: url("../img/family.svg") no-repeat;
  background-size: contain;
}

.c-drawer-menu {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
  list-style-type: none;
}

.c-drawer-menu__item {
  display: flex;
  align-items: center;
  padding: 9px 0 3px;
  border-bottom: dashed 2px #4eb96f;
}

.c-drawer-menu__item::before {
  content: "";
  display: inline-block;
  margin-right: 3px;
  width: 14px;
  height: 20px;
  background: url(../img/brett_arrow01.png) no-repeat;
  background-size: contain;
}

.c-drawer-menu a {
  display: block;
  width: 100%;
  color: #ffffff;
  text-decoration: none;
  transition: 0.2s ease;
}

.c-drawer-menu a:hover {
  opacity: 0.8;
  transition: 0.2s ease;
}

.c-drawer-menu__item--point {
  margin-left: 6px;
}

.c-drawer-navigation .c-cta01 {
  margin: 0 auto;
  padding: 12px 0 0;
  max-width: 60%;
}

.c-drawer-navigation .c-cta04 {
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .c-drawer-navigation {
    right: 0;
    width: 480px;
    overflow: hidden;
  }
}

@media (max-width: 639px) {
.c-drawer-navigation__inner::before {
  top: -50px;
  width: 160px;
  height: 70px;
}
  .c-drawer-menu__item {
    /*padding: 9px 0 3px;*/
  }
  .c-drawer-menu__item::before {
    margin-right: 3px;
    width: 14px;
    height: 20px;
  }
  .c-drawer-navigation .c-cta01 {
    max-width: 70%;
  }
}

@media (max-width: 379px) {
  .c-drawer-menu {
    font-size: 1.6rem;
  }
}



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

.l-contents {
  overflow: hidden;
}



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

.l-footer__contents {
  padding: 24px 12px;
  height: 120px;
}

.l-footer__contents .c-container {
  display: flex;
  gap: 24px;
}

.l-footer__site-branding {
  width: 30%;
  font-size: 1.4rem;
}

.p-footer-navigation {
  width: 70%;
  font-size: 1.4rem;
}

.p-footer-navigation__list {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.c-copyright {
  padding: 3px 6px;
  text-align: center;
  color: #ffffff;
  background-color: var(--sub-color2);
}

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

@media (max-width: 639px) {
  .l-footer__contents {
    height: auto;
    padding: 18px 12px;
  }
  .l-footer__site-branding__logo img {
    width: 200px;
  }
  .l-footer__contents .c-container {
    flex-direction: column;
    align-items: center;
  }
  .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;
  }
}



/*========================================
資料請求ボタン
========================================*/

.p-cta-download {
  position: fixed;
  bottom: 72px;
  right: 0;
  z-index: 120;
  border-radius: 10px;
  box-shadow: 0 1px 4px 2px rgba(0,0,0,0.3);
  transform: translateX(150%);
  transition: all 0.5s ease;
}

.p-cta-download.display-cta-download {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.5s ease;
}

.p-cta-download a {
  transition: 0.2s ease;
}

.p-cta-download a:hover {
  opacity: 0.8;
  transition: 0.2s ease;
}



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

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

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

.p-page-top a {
  transition: 0.2s ease;
}

.p-page-top a:hover {
  opacity: 0.8;
  transition: 0.2s ease;
}
