@charset "utf-8";

:root{
  --content_width: 100vw;
}
@media screen and (min-width:640px) {
  :root{
    --content_width: 640px;
  }
}

* {
  background-repeat: no-repeat;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overscroll-behavior: none;
}
html, body{
  width: 100%;
  height: 100%;

  background-color: #fdbf34;
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  font-weight: 600;
  font-style: normal;
}

img{
  width: 100%;
}
h1, h2, h3{
  padding: 0;
  margin: 0;
}
a, button {
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  text-decoration: none;
}
*:focus{
  outline: none;
}
p {
  margin: 0;
}
ul, li{
  padding: 0;
  margin: 0;
}
button{
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
}
.btn{
  cursor: pointer;
}

.content_outer{
  width: 100%;
  height: 100%;
  overflow: auto;
}
.content_wrapper{
  position: relative;
  width: var(--content_width);
  min-height: 100%;
  margin: 0 auto;
}
@media screen and (min-width:640px) {
  .content_wrapper {
    box-shadow: 0 0 calc((30 * var(--content_width)) / 375) rgba(236, 155, 0, 0.8);
  }
}


#error_modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba( 0, 0, 0, 0.7 );
  z-index: 1000;
}
#error_modal.active{
  display: block;
}
#error_modal .error_wrapper{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#error_modal .error_wrapper .error_test{
  font-size: calc((12 * var(--content_width)) / 375);
  line-height: 1.5em;
  text-align: center;
  color: #fff;
}

footer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc((105 * var(--content_width)) / 375);
  padding: 0 calc((20 * var(--content_width)) / 375);
  border-top: calc((2 * var(--content_width)) / 375) solid #000000;
  background-color: #a4d6c1;
  color: #642800;
  gap: calc((20 * var(--content_width)) / 750);
}
footer .footer_inner{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: calc((35 * var(--content_width)) / 750);
}
footer .footer_inner .logo{
  width: calc((150 * var(--content_width)) / 750);
  line-height: 0;
}
footer .footer_inner .link_block{
  display: flex;
  flex-direction: column;
  gap: calc((10 * var(--content_width)) / 750);
}
footer .footer_inner .link_block .footer_link{
  display: flex;
  align-items: center;
  gap: calc((5 * var(--content_width)) / 750);
  color: #000000;
  font-size: calc((10 * var(--content_width)) / 375);
  line-height: 1.5em;
}
footer .footer_inner .link_block .footer_link::after{
  content: "";
  width: calc((24 * var(--content_width)) / 750);
  height: calc((24 * var(--content_width)) / 750);
  background-image: url(../images/icon_footer_link.png);
  background-size: 100% 100%;
}
footer .copyright{
  text-align: center;
  font-size: calc((10 * var(--content_width)) / 375);
  line-height: 1em;
}

.btn_to_top{
  display: none;
  position: fixed;
  bottom: calc((20 * var(--content_width)) / 375);
  left: calc(((100% - var(--content_width)) / 2) + ((15 * var(--content_width)) / 375));
  width: calc((106 * var(--content_width)) / 750);
  line-height: 0;
  z-index: 100;
}
.btn_to_top.active{
  display: block;
}
.btn_to_top.foot{
  position: absolute;
  bottom: calc((90 * var(--content_width)) / 375);
}