@charset "UTF-8";

/*----------------------------------------フォント----------------------------------------*/
body {
  /******ゴシック******/
  font-family: "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN W3",
    "Arial", "Yu Gothic", "Meiryo", sans-serif;
  /* font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif; */
  /******明朝体******/
  /* font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN W3", "Yu Mincho", "MS PMincho", serif; */
  /* font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif; */
  color: var(--font-color);
  font-size: var(--font-size);
  line-height: var(--line-height);
}

h1 {
  font-size: calc(var(--font-size) * 2.25);
}

h2 {
  font-size: calc(var(--font-size) * 1.75);
}

h3 {
  font-size: calc(var(--font-size) * 1.5);
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: calc(var(--font-size) * 2);
  }

  h2 {
    font-size: calc(var(--font-size) * 1.5);
  }

  h3 {
    font-size: calc(var(--font-size) * 1.25);
  }
}

/*----------------------------------------共通----------------------------------------*/
.container {
  min-height: 100vh;
  position: relative;
  box-sizing: border-box;
}

.inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

section {
  padding: 5em var(--side-padding);
  overflow: hidden;
}

body {
  background: url(../img/common/back.svg);
  background-size: 100%;
}

a.link_bar {
  position: relative;
  color: #0000ff;
}

a.link_bar:before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #0000ff;
  transition: ease-in 0.3s;
}

a.link_bar:hover:before {
  width: 100%;
}

.box {
  padding: var(--box-padding);
  background: rgb(from var(--color-white) r g b / 90%);
  border-radius: 1em;
}

.box.green {
  border: 3px solid var(--theme-color);
}

.box.orange {
  border: 3px solid var(--orange);
}

.box h2 {
  position: absolute;
  top: 0%;
  left: 50%;
  height: 0.6em;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: var(--color-white);
  border-radius: 50px;
}

.box h2.img {
  width: 50%;
  max-width: 450px;
  min-width: 250px;
}

.box h2.img span {
  position: relative;
}

.box h2.normal {
  height: auto;
  padding: 0.3em 3em 0.2em;
}

.box.green h2 {
  background: var(--theme-color);
}

.box.orange h2 {
  background: var(--orange);
}

.box h2 img {
  position: relative;
  padding: 0 15%;
}

.box .check {
  font-weight: bold;
  padding: 2em;
  margin: 4em auto;
  background: #fffbc8;
  border-radius: 1em;
}

.box .check .under_line {
}

.box .check .under_line p {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.box .check .under_line p:before {
  content: "";
  position: absolute;
  width: 104%;
  height: 1em;
  bottom: 0;
  right: 0;
  margin: auto;
  background: #ffe30b;
  z-index: -1;
}

.box .check ul {
  text-indent: -1em;
  padding: 0 0 0 1em;
}

.btn {
  margin: 4em 0 0;
}

.btn a,
.btn button {
  display: block;
  position: relative;
  width: 80%;
  max-width: 350px;
  margin: 0 auto;
  font-size: calc(var(--font-size) * 1.5);
  font-weight: bold;
  color: var(--color-white);
  background: var(--orange);
  padding: 0.5em 3em;
  text-align: center;
  border-radius: 0.5em;
  transition: ease-in 0.1s;
}

.btn a:hover,
.btn button:enabled:hover {
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px #333;
}

.btn button:disabled {
  background: #666;
}

.btn.back a {
  max-width: 250px;
  font-size: calc(var(--font-size) * 1.2);
  background: var(--theme-color);
  padding: 1em 2em;
}

.bar_icon {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  bottom: 0;
  right: 0.5em;
  margin: auto;
}

.bar_icon span {
  position: relative;
  display: block;
}

.bar_icon span:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 3px;
  background: var(--color-white);
  border-radius: 10px;
}

.bar_icon span:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 7px);
  height: 3px;
  background: var(--color-white);
  border-radius: 10px;
}

.fukidashi:after {
  content: "";
  position: absolute;
  top: 99%;
  left: 0;
  right: 0;
  margin: auto;
  height: calc(tan(60deg) * 2em / 2);
  width: 2em;
  clip-path: polygon(0 0, 100% 0%, 50% 0%);
  transition: ease-in 0.3s 0.9s;
}

.active .fukidashi:after {
  clip-path: polygon(0 0, 100% 0%, 50% 75%);
}

.fukidashi.orange:after {
  background: var(--orange);
}

.fukidashi.character1:after {
  background: var(--character1);
}

.fukidashi.character3:after {
  background: var(--character3);
}

label[role="radio"],
label[role="checkbox"] {
  display: inline-block;
  padding: 0.5em 0;
  cursor: pointer;
  transition: ease-in 0.1s;
}

label[role="radio"]:hover,
label[role="checkbox"]:hover {
  transform: translate(-2px, -2px);
}

.youtube_box {
  max-width: 500px;
  margin: 0 auto;
}

.youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin: 3% auto;
}

.youtube img {
  width: 100%;
}

.youtube iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 768px) {
  .bar_icon {
    width: 25px;
    height: 25px;
  }

  .btn a {
    width: 100%;
    border-radius: 0.5em;
  }

  .btn a,
  .btn button {
    font-size: calc(var(--font-size) * 1.2);
    padding: 1em;
  }

  .box .check {
    margin: 2em auto;
  }

  .box .check .under_line p {
    padding: 1em;
    margin: 0 auto 2em;
    background: #ffe30b;
    border-radius: 0.5em;
  }

  .box .check .under_line p:before {
    display: none;
  }
}

/*----------------------------------------header----------------------------------------*/
header {
}

header .logo {
  width: 45%;
  max-width: 200px;
  padding: 1em;
}

header .logo img {
  width: 100%;
}

/*----------------------------------------footer----------------------------------------*/
footer {
  /* background: var(--theme-color); */
  background: #000;
  padding: 8em 0;
}

footer h1 {
  color: var(--color-white);
  text-align: center;
}

footer h1 img {
  width: 40%;
  max-width: 200px;
  margin: 0 auto;
}

footer .link {
  top: -100px;
  right: 1em;
  width: 100px;
  height: 100px;
  z-index: 10;
  transition: ease-in 0.2s;
}

footer .link.fixed {
  position: fixed;
  top: 1em;
  right: 1em;
}

footer .link a {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--color-white);
  font-size: min(2.5vw, 1.4rem);
  font-weight: bold;
  background: var(--orange);
  border-radius: 100px;
  transition: ease-in 0.1s;
}

footer .link a:hover {
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px #333;
}

footer .link a span {
  width: auto;
  top: 40%;
}

footer .link .bar_icon {
  top: inherit;
  bottom: 2em;
  right: 0;
  left: 0;
  margin: auto;
}

footer .scroll_top {
  position: fixed;
  bottom: -15%;
  right: 1em;
  width: 15%;
  max-width: 78px;
  opacity: 0;
  transition: ease-in 0.3s;
}

footer .scroll_top.active {
  bottom: 1em;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  footer .link {
    width: 80px;
    height: 80px;
  }

  footer .link a {
    font-size: 1.2rem;
  }
}
