/*-------------------------------------------

header

-------------------------------------------*/
.header {
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
  height: 9rem;
  position: fixed;
  top: 0;
  z-index: 999;
  box-sizing: border-box;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
}

.header__inner-cs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
}

.header__inner-right {
  margin-right: 1rem;
  margin-left: 1rem;
}

.header__title {
  width: 135px;
  margin-left: 1rem;
}

.header__title img {
  display: block;
  width: 100%;
  height: auto;
}
.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease 0.4s;
}


@media screen and (min-width: 1120px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    align-items: center;
  }
  .nav__items {
    display: flex;
    align-items: center;
    height: initial;
    justify-content: flex-end;
  }
    .nav-items__item {
    display: flex;
  }
  .nav-items__item:first-of-type {
    margin-right: 2rem;
  }
  .nav-items__item .link-to-application span {
    vertical-align: middle;
  }
  .separation {
    font-size: 2rem;
    color: var(--blue);
    border-right: 1px solid var(--blue);
    margin: 0 2rem 0 0.5rem;
  }
  .separation_header-cs {
    font-size: 1.5rem;
    color: var(--blue);
    border-right: 1px solid var(--blue);
    margin: 0 1rem 0 0.5rem;
  }
  .menu-bar {
    margin-left: calc(-2.8% - 11rem);
  }
  .shop-header_rl-balancer{
    margin: 0 2rem 0 4rem;
  }
}

@media screen and (max-width: 1119px) {
  .header__title img {
    width: 80%;
  }
}

.nav-items__item a {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-bar__list {
  width: fit-content;
  margin: auto;
  padding: 0.5rem 0;
}
.menu-bar__list ul {
  margin-top: 1rem;
}

.menu-bar__item a {
  width: 100%;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 1.5rem;
  padding: 0 0.5rem;
  color: white;
  vertical-align: sub;
  line-height: 1;
}

.menu-bar__item a.user-nav-inactive {
  color: #959595;
  cursor: default;
}

.nav-items__item a:not(.shop_application_btn, .top_btn, .user-header-flex, .user-base-btn_header) {
  color: var(--text-black);
}

.nav-items__item a.top_btn {
  color: white;
  background: var(--blue);
  padding: 0 20px;
  border-radius: 5px;
  width: fit-content;
  line-height: 2;
}

.nav-items__item .top-bt a {
  color: white;
}
.nav-items__item.base-btn {
  box-shadow: none;
  margin: unset;
}
.nav-items__item.base-btn a {
  line-height: 1;
  word-break: keep-all;
}

.nav-items__item .header-cs {
  text-align: center;
  color: var(--blue);
  font-size: 1rem;
  line-height: normal;
  margin: 0 1rem;
  font-weight: bold;
}
.nav-items__item .header-cs .header-cs-tel {
  font-size: 2.2rem;
}
.nav-items__item .header-cs .header-cs-reception {
  font-size: 1rem;
}

.nav-items__item.base-btn .fa-chevron-right {
  font-size: 1.4rem;
}
.nav-items__item img {
  vertical-align: middle;
  width: 35px;
  margin-right: 0.7rem;
  object-fit: contain;
}
.nav-items__item_top img {
  width: 28px;
}
.nav-items__item_eco img {
  width: 26px;
}
.nav-items__item_qa img {
  width: 30px;
}

.header-right-nav {
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  position: fixed;
  top: 150px;
  right: 0;
}

.header-right-nav img {
  width: 35px;
  margin-bottom: 7px;
}

.header-right-nav a {
  background: var(--red);
  border-radius: 7px 0 0 7px;
  box-shadow: 0 4px #d13e00;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  width: 100%;
  text-align: center;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.header-right-nav a:hover {
  opacity: 1;
  background-color: #F08059;
  box-shadow: 0 4px #E07B57;
}

.header-right-nav a:hover img {
  opacity: 0.5;
}

.nav-items-shop {
  display: none;
}

@media screen and (min-width: 1120px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 1119px) {
  .nav-items__item img {
    margin-right: 1.5rem;
  }

  .nav-items__item a {
    margin-bottom: 20px;
  }

  .menu-bar__item {
    padding: 0.5rem;
  }

  .menu-bar__item a {
    font-size: 1.3rem;
  }
  .menu-bar__item a:before {
    content: "-";
    font-weight: bold;
    margin-right: 1rem;
  }
  .nav-items__item .header-cs {
    font-size: 1.6rem;
  }
  .nav-items__item .header-cs .header-cs-tel {
    font-size: 3.5rem;
  }
  .nav-items__item .header-cs .header-cs-reception {
    font-size: 1.6rem;
  }
  .shop-header_rl-balancer{
    margin: auto;
  }
  .header-right-nav {
    display: none;
  }
  .nav-items-shop {
    display: block;
  }
}
.user-header-flex{
  display: flex;
  justify-content: center;
  margin: auto;
  align-items: center;
}

.nav-items__item .user-header-flex span{
  font-size: 1.7rem;
}
.user-nav-balancer_second-third{
  padding: 0 1.2rem;
  border-left: 1px solid var(--blue);
}
.user-nav-balancer_second-third.border-gray{
  border-left: 1px solid #959595;
}
.user-nav-shop-color{
  color: var(--red);
}
.user-nav-main-color{
  color: #00AED5;
}
.user-nav-inactive {
  color: #959595;
  cursor: default;
}
.user-nav-inactive:hover {
  opacity: 1;
}

.user-base-btn_header {
  background: #00AED5;
  color: #ffffff;
  border-radius: 5rem;
  font-weight: 600;
  max-width: 250px;
  width: fit-content;
  box-shadow: 0 6px #00A0C4;
  margin: auto 0 auto 1rem;
  cursor: pointer;
  font-size: 2.6rem;
  padding: 0.5rem 1rem;
}

.base-btn_header-cs {
  background: var(--red);
  color: #ffffff;
  border-radius: 5rem;
  font-weight: 600;
  max-width: 250px;
  width: fit-content;
  box-shadow: 0 6px #d13e00;
  margin: auto 0 auto 2.5rem;
  cursor: pointer;
  font-size: 2.6rem;
  padding: 0.5rem 1rem;
}

.base-btn_header-cs img {
  width: 30px;
}

@media screen and (max-width: 1119px) {
  .nav-items__item a.base-btn_header-cs {
    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: 0;
  }
  .user-base-btn_header {
    margin-left: 0;
  }
}

.base-btn_header a {
  background: var(--red);
  color: #ffffff;
}
.menu-bar {
  position: fixed;
  display: block;
  background: var(--blue);
  top: 9rem;
  width: 100%;
}
.menu-bar__list {
  display: flex;
  margin: 0.5rem auto;
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media screen and (min-width: 1120px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--blue);
  position: relative;
  transition: ease 0.4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

@media screen and (max-width: 1119px) {
  /* ハンバーガーメニュークリック後のスタイル */
  .header__nav.active {
    transform: translateX(0);
    overflow: hidden;
  }

  .header__nav ul {
    margin: 0 auto;
    width: fit-content;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 65%;
    width: 100%;
    margin: auto;
  }

  /* TOPのみ　ハンバーガーメニュークリック後のスタイル */

  .hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    top: -15px;
    transform: rotate(-45deg);
  }
  .nav-items__item.border-btn a {
    margin-bottom: 0;
  }
  .header__nav .nav-items__item {
    margin-right: 0;
    display: flex;
    justify-content: center;
  }
  .header-sp-height-fix.header__nav ul{
    top: 5%;
  }
    .header__nav ul.menu-bar__list {
    background: var(--blue);
    display: block;
    position: absolute;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    max-width: 300px;
    width: 90%;
    margin: auto;
    padding: 1.5rem;
    border-radius: 0.5rem;
  }
  .header__nav.active ul.menu-bar__list:before {
    content: "";
    position: absolute;
    top: -29px;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-bottom: 15px solid var(--blue);
  }
  main.header-add {
    padding-top: 10rem;
  }
  .header__hamburger {
    margin-right: 4rem;
  }
  .nav-items__item.margin-fix {
    margin-bottom: 26vw;
  }
  .header__nav ul.menu-bar__list {
    top: 110px;
  }
  .menu-bar {
    display: none;
  }
  .header__nav .menu-bar {
    display: block;
  }
  .header--top .header__nav .nav-items__item:first-of-type {
    margin-bottom: 150px;
  }
  .menu-bar {
    top: 6rem;
  }
}

@media screen and (max-height: 1000px) {
  .header__nav ul.menu-bar__list {
    top: 90px;
  }
}

@media screen and (max-height: 600px) {
  .header__nav ul.menu-bar__list {
    display: none;
  }
  .header--top .header__nav .nav-items__item:first-of-type {
    margin-bottom: 0;
  }
}
/*-------------------------------------------

footer

-------------------------------------------*/
footer {
  padding: 30px 0 0;
  background: var(--blue);
}
footer .flex {
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
}
.footer__inner .footer-text {
  color: #fff;
  font-weight: 500;
  text-align: center;
}
.footer__inner .footer-text h2 {
  margin: 0 0 5px 0;
  font-size: 2rem;
  font-weight: 600;
}
.footer-cover {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.footer-logo-container {
  background: #ffffff;
  color: #ffffff;
  border-radius: 1rem;
  font-weight: 600;
  width: 25%;
  /*margin: auto;*/
  cursor: pointer;
}
.footer-logo {
  width: 40%;
  background: #fff;
  padding: 1rem;
  border-radius: 1rem;
}
.footer-logo img {
  width: 50%;
}

.footer-logo .footer-logo__hiroshima {
  width: 50%;
}
.footer-logo .footer-logo__deco {
  width: 12%;
}
.footer-logo .footer-logo__zero-carbon {
  width: 16%;
}


.bottom-line {
  height: 30px;
  background: #00b2e2;
  text-align: center;
  margin-top: 30px;
}
.bottom-line p {
  line-height: 2.5em;
  font-size: 12px;
  color: white;
}
footer .tel {
  font-size: 5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 20px;
}
footer .flex-left p {
  margin: 0;
}
footer .tel .fa-phone {
  font-size: 1.6rem;
}
.copyright {
  color: #fff;
  margin: 3rem 0 0 0;
  padding: 1rem 0;
  border-top: 1px solid #ffffff;
  font-family: "Jost", "Noto Sans JP" , "Droid Sans" !important;
  font-weight: 600;
}
.fa-phone:before {
  font-size: 2.5rem;
}

.fff_border {
  border-bottom: #fff 1px solid;
  margin-bottom: 20px;
}

@media screen and (max-width: 959px) {
  footer {
    padding: 50px 0 0;
  }

  .footer-cover {
    display: block;
  }

  .footer-logo {
    /*width: 80%;*/
    margin: 0 20px 0 0;
  }
  .footer__inner .footer-text {
    text-align: left;
  }
  .cs-info {
    display: block;
  }
  footer .tel {
    margin-top: 10px;
  }
}
@media screen and (max-width: 600px) {
  .header__title {
    width: 90px;
  }
  .footer-logo {
    display: flex;
    width: 80%;
    margin: 0 auto 30px;
  }
  .footer__inner .mr_20 {
    margin-right: 0;
  }
  .footer__inner hr {
    margin: 20px 0;
  }
  footer .tel {
    margin-top: 2rem;
    color: #fff;
    line-height: 1;
  }
  .footer__inner .footer-text {
    text-align: center;
  }
  .base-btn_header {
    margin: 0;
  }
  main.header-add {
    padding-top: 9rem;
  }
  .header__title {
    margin-left: 3rem;
  }
  .header__hamburger {
    margin-right: 2rem;
  }
  .nav-items__item.margin-fix {
    margin-bottom: 42vw;
  }
}

.btn-height-fix {
  vertical-align: baseline;
  line-height: normal;
}
