.container {
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.footer_btn {
  position: relative;
  width: 170px;
  line-height: 80px;
  border-radius: 40px;
  background: #fff;
  border: 2px solid #d6d6d6;
  display: block;
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s;
}

.footer_btn:hover {
  text-decoration: none;
  opacity: 0.6;
}

.btn_text {
  position: relative;
  top: 5px;
  font-size: 15px;
}

.footer_content {
  background-color: #F5F5F5;
  font-weight: bold;
}

.footer_content a {
  color: #666;

}

.copyright {
  font-weight: 500;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  color: #333;
  padding: 10px;
}

.footer_links {
  font-weight: 500;
  font-size: 12px;
  line-height: 30px;
  text-align: left;
  color: #333;
  justify-content: space-around;
  margin-top: 30px;
}

.footer_links li {

  position: relative;
  padding-right: 0.75vw;
}

.footer_links li::before {
  content: "/";
  position: absolute;
  right: -0.1vw;
}

.footer_links li:last-child::before {
  content: none;
}

.logo_icon {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(100%, 0);
}

footer {
  margin-top: 100px;
  font-family: 'Noto Sans JP', "繝偵Λ繧ｮ繝手ｧ偵ざ Pro", "Hiragino Kaku Gothic Pro", "繝｡繧､繝ｪ繧ｪ", Meiryo, sans-serif;
}

.text-right {
  text-align: right;
}

.footer_content {
  padding: 30px;
  line-height: 30px;
  padding-bottom: 70px;
}

.footer_btn svg {
  fill: #686868;
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translate(-50%, 0);
  stroke: none;
}

footer .copyright p {
  line-height: 30px;
}

@media screen and (min-width: 1020px) and (max-width: 1470px) {
  .header_nav_lists>li.has_child>a {
    padding-right: 30px;
  }

  .header_nav_lists>li>a {
    width: auto;
    padding: 0 15px;
    font-size: 14px;
  }

  .logo_icon {
    bottom: 40px;
    transform: translate(0, 0);
  }

  .header_logobox img {
    max-height: 18px;
  }

  .nav_children li a {
    font-size: 12px;
    line-height: 18px;
    padding: 10px 10px;
    text-align: left;
    display: block;
  }
}

@media screen and (min-width: 768px) and (max-width: 1019px) {
  .header_nav_lists>li.has_child>a {
    padding-right: 30px;
  }

  .header_nav_lists>li>a {
    width: auto;
    padding: 0 6px;
    font-size: 10px;
  }

  .logo_icon {
    bottom: 40px;
    transform: translate(0, 0);
  }

  .header_logobox img {
    max-height: 15px;
  }

  .nav_children li a {
    font-size: 12px;
    line-height: 18px;
    padding: 10px 10px;
    text-align: left;
    display: block;
  }
}


@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .logo_icon {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;

  }

  .footer_btn .btn_text {
    display: none;
  }

  .footer_btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #D6D6D6;
  }

  .footer_btn svg {
    top: auto;
  }

  .footer_links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer_links li {
    width: 100%;
    padding: 20px 30px;
    border-top: 1px solid #C9C9C9;
    line-height: 30px;
  }

  .footer_links li:last-of-type {
    border-bottom: 1px solid #C9C9C9;

  }

  .footer_links li::before {
    content: none;
  }

  .logo_icon {
    margin-top: 30px;
    width: 100%;
    display: block;
    text-align: center;
  }

  .logo_icon img {
    margin: 0 auto;
  }

  footer {
    margin-top: 50px;
  }

  footer .copyright p {
    text-align: center;
  }

  .container {
    max-width: none;
  }
}


.btn2 {
  color: #333333;
  text-decoration: none;
}

.float_btn_wrap {
  margin-top: 30px;
  line-height: 3.0rem;
  clear: both;
  background: rgb(255, 255, 255, 0.5);
  display: flex;
  display: none;
  position: fixed;
  z-index: 10;
  width: 100%;
  bottom: 0;
}

.icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.icon:hover {
  cursor: pointer;
}

@media screen and (min-width: 768px) {

  .float_btn_wrap_group {
    position: relative;
    max-width: 530px;
    margin: 0 auto;
    font-size: 16px;
  }

  .icon {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    top: -16%;
    right: -30px;
  }

  .icon::before,
  .icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20%;
    height: 100%;
    background: #333;
  }

  .float_btn_wrap_block.float_btn_wrap_block_orange {
    position: relative;
    height: 70px;
    margin: 0 0 15px auto;
    background: #EB5505;
    border: 2px solid #FFFFFF;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 10vw;
    display: flex;
    align-items: center;
  }

  .float_btn_wrap_text {
    font-size: 24px;
    color: #FFFFFF;
    font-weight: 700;
    line-height: 5.8vw;
    padding-left: 29%;
  }

  .float_btn_wrap_block::before {
    content: "";
    position: absolute;
    width: 47px;
    height: 47px;
    background: #FFFFFF;
    border-radius: 50%;
    top: 50%;
    right: 3%;
    transform: translate(0, -50%);
  }

  .float_btn_wrap_block::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5.5%;
    transform: translate(0, -50%);
    border-top: 8px solid transparent;
    border-right: 0px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 20px solid #EB5505;
  }

  .annotation3 p {
    line-height: 3rem;
    font-size: 1.3rem;
    background-color: #fff;
    text-align: center;
    margin-top: -10px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {

  .icon {
    content: "";
    position: absolute;
    width: 5vw;
    height: 5vw;
    top: -10%;
    right: 1%;
  }

  .icon::before,
  .icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20%;
    height: 100%;
    background: #333;
  }

  .float_btn_wrap_block.float_btn_wrap_block_orange {
    position: relative;
    width: 90%;
    height: 12.8vw;
    margin: 0.5vw auto 2.56vw;
    background: #EB5505;
    border: 2px solid #FFFFFF;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 10vw;
    display: flex;
    align-items: center;
    margin-right: 8%;
  }

  .float_btn_wrap_text {
    font-size: 4.1vw;
    color: #FFFFFF;
    font-weight: 700;
    line-height: 5.8vw;
    padding-left: 29%;
  }

  .float_btn_wrap_block::before {
    content: "";
    position: absolute;
    width: 5.77vw;
    height: 5.77vw;
    background: #FFFFFF;
    border-radius: 50%;
    top: 50%;
    right: 3%;
    transform: translate(0, -50%);
  }

  .float_btn_wrap_block::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4.5%;
    transform: translate(0, -50%);
    border-top: 1.8vw solid transparent;
    border-right: 0px solid transparent;
    border-bottom: 1.8vw solid transparent;
    border-left: 2.56vw solid #EB5505;
  }

  .annotation3 p {
    line-height: 3rem;
    font-size: 1.3rem;
    background-color: #fff;
    text-align: center;
    margin-top: -10px;
    margin: 0 auto;
  }

}

/* 電子書籍　フロートボタン */

.e-book_wrap {
  margin-top: 30px;
  line-height: 3.0rem;
  clear: both;
  background: rgb(255, 255, 255, 0.5);
  display: flex;
  display: none;
  position: fixed;
  z-index: 10;
  width: 100%;
  bottom: 85px;
}

@media screen and (max-width: 767px) {
  .e-book_wrap {
    bottom: 15vw;
  }
}

.float_btn_wrap_block.e-book_wrap_block {
  position: relative;
  width: 90%;
  height: 13.8vw;
  margin: 6.56vw auto 2.56vw;
  background: #EB5505;;
  border: 2px solid #FFFFFF;
  box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
  border-radius: 10vw;
  display: flex;
  align-items: center;
  margin-right: 8%;
}

@media screen and (min-width: 768px) {
  .float_btn_wrap_block.e-book_wrap_block {
    width: 100%;
    height: 70px;
    margin: 35px auto 10px;
  }
}

.float_btn_wrap_text.e-book_wrap_text {
  font-size: 3.6vw;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 5.3vw;
  padding-left: 0%;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 1% 0;
  padding-right: 7%;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .float_btn_wrap_text.e-book_wrap_text {
    font-size: 18px;
    line-height: 5.8vw;
    padding-left: 0%;
    letter-spacing: 0.1em;
    padding-right: 11%;
  }
}

.float_btn_wrap_text.e-book_wrap_text span:nth-child(1),
.float_btn_wrap_text.e-book_wrap_text span:nth-child(2) {
  font-size: 3.5vw;
  color: #FFFF00;
}


@media screen and (min-width: 768px) {
  .float_btn_wrap_text.e-book_wrap_text span:nth-child(1),
  .float_btn_wrap_text.e-book_wrap_text span:nth-child(2) {
    font-size: 20px;
  }
}

.float_btn_wrap_text.e-book_wrap_text .e-b_border {
  border-top: 0.8px solid #fff;
  display: inline-block;
  margin-top: -5px;
  letter-spacing: -1px;
}
@media screen and (min-width: 768px) {
  .float_btn_wrap_text.e-book_wrap_text .e-b_border {
    letter-spacing: 0.4px;
  }
}
/* .float_btn_wrap_block.e-book_wrap_block::before {
  content: "";
  position: absolute;
  width: 7.77vw;
  height: 7.77vw;
  background: #FFFFFF;
  border-radius: 50%;
  top: 50%;
  right: 5%;
  transform: translate(0, -50%);
} */

.e-book_wrap_group {
  position: relative;
}

@media screen and (min-width: 768px) {
  .e-book_wrap_group {
    position: relative;
    max-width: 530px;
    margin: 0 auto;
    font-size: 16px;

  }
}

.e-book_wrap .modal-close {
  font-weight: 600;
  line-height: 1.8;
  position: absolute;
  top: -5vw;
  right: 17vw;
  font-size: 2.6vw;
  color: #fff;
  background: #e9520e;
  padding: 0px 8px 2px;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  border: 1px solid #e9520e;
}

@media screen and (min-width: 768px) {
  .e-book_wrap .modal-close {
    position: absolute;
    top: -25px;
    right: 128px;
    font-size: 13px;
    padding: 0px 9px 2px;
    line-height: 2;
  }
}






.e-book_wrap_block::before {
  content: "";
  position: absolute;
  width: 5.77vw;
  height: 5.77vw;
  background: #FFFFFF;
  border-radius: 50%;
  top: 50%;
  right: 3%;
  transform: translate(0, -50%);
}


@media screen and (min-width: 768px) {
  .e-book_wrap_block::before {

    width: 47px;
    height: 47px;
    background: #FFFFFF;
    border-radius: 50%;
    top: 50%;
    right: 3%;
    transform: translate(0, -50%);
  }
}



.e-book_wrap_block::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4.5%;
  transform: translate(0, -50%);
  border-top: 1.8vw solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 1.8vw solid transparent;
  border-left: 2.56vw solid #EB5505;
}


@media screen and (min-width: 768px) {
  .e-book_wrap_block::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5.5%;
    transform: translate(0, -50%);
    border-top: 8px solid transparent;
    border-right: 0px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 20px solid #EB5505;
  }
}

/* .float_btn_wrap, .e-book_wrap {
  display: none;
} */

/* 電気代が気になる方はこちら */

.float_btn_wrap_new_text {
  font-size: 24px;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 5.8vw;
  padding-left: 18%;
}

.float_btn_wrap_new {
  margin-top: 30px;
  line-height: 3.0rem;
  clear: both;
  background: rgb(255, 255, 255, 0.5);
  display: flex;
  display: none;
  position: fixed;
  z-index: 10;
  width: 100%;
  bottom: 0;
}

.float_btn_wrap_new .tooltip {
  position: absolute;
  transform: translateX(-50%);
  color: #EB5505;
  border: 2px solid #EB5505;
  background-color: #FFFFFF;
  display: flex;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.float_btn_wrap_new .tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-color: #EB5505 transparent transparent transparent;
}

/* PC */
@media screen and (min-width: 768px) {

  .float_btn_wrap_new{
    padding-top: 58px;
  }

  .float_btn_wrap_new .tooltip {
    top: -58px;
    left: 47%;
    width: 58%;
    height: 48px;
    font-size: 16px;
    padding: 10px 14px;
    border-radius: 24px;
  }

  .float_btn_wrap_new .tooltip::after {
    bottom: -21px;
    border-width: 10px;
  }
}

/* SP */
@media screen and (max-width: 767px) {

  .float_btn_wrap_new{
    padding-top: 9vw;
  }

  .icon.icon_new{
    content: "";
    position: absolute;
    width: 5vw;
    height: 5vw;
    top: 32%;
    right: 1%;
  }

  .float_btn_wrap_new_text {
    font-size: 4.1vw;
    color: #FFFFFF;
    font-weight: 700;
    line-height: 5.8vw;
    padding-left: 18%;
  }

  .float_btn_wrap_new .tooltip {
    top: 0;
    left: 44%;
    width: 60%;
    height: 8vw;
    font-size: 3.1vw;
    padding: 1.3vw 1.9vw;
    border-radius: 4.2vw;
  }

  .float_btn_wrap_new .tooltip::after {
    bottom: -2.9vw;
    border-width: 1.5vw;
  }
}
