@charset "utf-8";
/* リセットCSS */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #555;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

* {
  position: static;
  float: none;
  box-sizing: border-box;
  font-family: 'M PLUS 1p', sans-serif;
  color: rgb(243, 237, 237);
  letter-spacing: 0.2rem;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  font-family: 'Shippori Mincho B1', serif;
}

html {
  font-size: 62.5%;
  /*基準フォントサイズ10px */
}

body {
  font-size: 1.6rem;
  /*標準フォントサイズ16px*/
  line-height: 2;
  background-color: rgb(31, 26, 26);
}

h1, h2 {
  font-weight: 600;
}

p {
  line-height: 2;
}

a {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

nav {
  margin: 0 0 0 auto;
}

/*疑似要素(セクション間ボーダー)*/

#sec01::before, #sec02::before, #sec03::before, #sec04::before, #sec05::before, #footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 0;
  left: 0;
}

/* ヘッダー */

#header {
  padding: 0 4%;
  height: 7rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  line-height: 7rem;
  z-index: 100;
}

#header img {
  width: 4rem;
  height: 4rem;
  margin: 1rem 1rem 0 0;
}

.fa-moon {
  color: #ff9;
}

#header nav ul {
  list-style: none;
  margin: 0;
  display: flex;
}

#header nav ul li {
  margin-left: 2.5rem;
}

.sp-nav {
  display: none;
}

.pc-list:hover {
  opacity: 0.5;
  transition: .3s;
}

.sp-nav ul {
  padding: 10% 0 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.sp-nav li a, .sp-nav li span {
  display: block;
}

.sp-nav li span {
  margin-right: 1.5rem;
}

.sp-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 2.4rem;
  margin: 3% 2rem 10% 0;
  letter-spacing: 0.5rem;
}

/* セクション１　トップページ */

#sec01 {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 2;
}

#sec01 h1 {
  position: absolute;
  top: 40vh;
  left: 0;
  right: 0;
  z-index: 5;
}

@keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}

@-webkit-keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}

@-moz-keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}

@-ms-keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}

@keyframes move-clouds-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 0;
  }
}

@-webkit-keyframes move-clouds-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 0;
  }
}

@-moz-keyframes move-clouds-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 0;
  }
}

@-ms-keyframes move-clouds-back {
  from {
    background-position: 0;
  }
  to {
    background-position: 10000px 0;
  }
}

.stars, .twinkling, .clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.stars {
  background: #000 url(http://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
  z-index: 0;
}

.twinkling {
  background: transparent url(http://www.script-tutorials.com/demos/360/images/twinkling.png) repeat top center;
  z-index: 1;
  -moz-animation: move-twink-back 200s linear infinite;
  -ms-animation: move-twink-back 200s linear infinite;
  -o-animation: move-twink-back 200s linear infinite;
  -webkit-animation: move-twink-back 200s linear infinite;
  animation: move-twink-back 200s linear infinite;
}

.clouds {
  background: transparent url(http://www.script-tutorials.com/demos/360/images/clouds3.png) repeat top center;
  z-index: 3;
  -moz-animation: move-clouds-back 200s linear infinite;
  -ms-animation: move-clouds-back 200s linear infinite;
  -o-animation: move-clouds-back 200s linear infinite;
  -webkit-animation: move-clouds-back 200s linear infinite;
  animation: move-clouds-back 200s linear infinite;
}

/* セクション2  １．２．3カラム*/

#sec02 {
  width: 100%;
  padding: 7.5rem 7% 5%;
  position: relative;
}

.sec02-inner h1 {
  text-align: center;
  padding-bottom: 5%;
}

.sec02-contents {
  border-radius: 1.5rem;
  width: 100%;
  padding-bottom: 2%;
  display: flex;
  flex-wrap: wrap;
}

.sec02-contents-list {
  width: 100%;
  height: 100%;
}

.sec02-contents-list img {
  width: 100%;
}

.sec02-contents-list h2 {
  color: #ff9;
}

/* セクション3 アコーディオン*/

#sec03 {
  width: 100%;
  padding: 7.5rem 10% 5%;
  position: relative;
  background: url("../images/Q&A.webp") no-repeat top / cover;
}

#sec03 h1 {
  text-align: center;
}

#accordion {
  cursor: pointer;
  width: 100%;
}

.accordion-container {
  position: relative;
  width: 100%;
  border: 1px solid #999;
  outline: 0;
  box-shadow: 0 0 8px #999;
}

.accordion-container .accordion-title {
  display: block;
  position: relative;
  margin: 0;
  padding: 0.625em 0.625em 0.625em 2em;
  font-weight: normal;
  color: rgb(243, 237, 237);
  background: transparent;
}

.accordion-container .accordion-title:hover, .accordion-container .accordion-title:active, .accordion-container .content-entry.open .accordion-title {
  background-color: #999;
  color: white;
}

.accordion-container .accordion-title:hover i:before, .accordion-container .accordion-title:hover i:active, .accordion-container .content-entry.open i {
  color: white;
}

.accordion-title {
  position: relative;
}

.accordion-title:after {
  content: "";
  position: absolute;
  right: 25px;
  top: 38%;
  transition: all 0.2s ease-in-out;
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid 2px rgb(243, 237, 237);
  border-right: solid 2px rgb(243, 237, 237);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.accordion-title.open:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 45%;
}

.accordion-content {
  display: none;
  padding: 3%;
  border: 1px solid #999;
  box-shadow: 0 0 8px #999 inset;
}

.accordion-container {
  width: 300px;
  margin: 1.875em auto;
  border-bottom: 1px solid #999;
}

/* セクション4 フォーム*/

#sec04 {
  background: url("../images/free.jpg") no-repeat center / cover;
  min-height: 100vh;
  position: relative;
  width: 100%;
  padding-top: 7.5rem;
  padding-bottom: 1rem;
}

.sec04-inner {
  padding: 0 10%;
}

.sec04-inner h1 {
  text-align: center;
  padding-bottom: 5%;
}

.form-contents {
  width: 100%;
}

input[type="text"], input[type="email"], textarea, select {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #fff;
  border-radius: 5px;
  outline: none;
  padding: 1rem;
  color: rgb(31, 26, 26);
}

input::placeholder, textarea::placeholder {
  color: rgba(31, 26, 26, 0.7);
}

.checkbox {
  color: rgba(31, 26, 26, 0.5);
}

.label-size {
  font-size: 1.8rem;
  font-weight: bold;
}

.btn {
  border: none;
  cursor: pointer;
  background-color: #555;
  border-radius: 7px;
  line-height: 1;
  display: block;
  padding: 1rem;
  width: 20%;
  margin: 5% auto;
  text-align: center;
  outline: none;
  box-shadow: 3px 7px 5px #000;
}

.btn:active {
  box-shadow: none;
  position: relative;
  top: 0.7rem;
  left: 0.3rem;
}

.end-message {
  display: none;
  text-align: center;
  color: rgb(31, 26, 26);
  background-color: rgb(212, 207, 207);
  border: 2px double #555;
}

.false-message {
  display: none;
}

/* セクション5 SNS*/

#sec05 {
  width: 100%;
  height: 100vh;
  position: relative;
  padding: 7.5rem 7% 0;
  height: 100%;
  background: linear-gradient(rgb(46, 44, 44), rgb(58, 143, 223));
}

#sec05 h1 {
  text-align: center;
  padding-bottom: 6%;
}

.sns-inner {
  padding: 0 4%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sns-list {
  width: 32%;
  text-align: center;
  margin-bottom: 7%;
}

.sns-list h3 {
  font-weight: 600;
}

.sns-list h3 i {
  padding-right: 1rem;
}
.fa-youtube {
  color: rgb(249, 17, 2);
}

.fa-subway {
  color: rgb(117, 28, 28);
}

.sns-list a {
  display: inline-block;
  margin-right: 3%;
}

.sns-list iframe {
  width: 100%;
  height: 20rem;
}

/* フッター */

#footer {
  width: 100%;
  height: 70px;
  background-color: #000;
  position: relative;
}

.footer-inner {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-inner a {
  display: block;
  margin-left: 1rem;
  cursor: pointer;
}

.footer-inner p, .footer-inner a {
  line-height: 70px;
}

.fa-facebook-square {
  color: rgb(28, 142, 242);
}

.fa-twitter {
  color: rgb(34, 161, 242);
}

.footer-inner a:hover {
  opacity: 0.5;
}

.footer-inner a .fa-twitter, .footer-inner a .fa-facebook-square {
  font-size: 2rem;
}

/* トップへ戻る*/

.fa-arrow-circle-up {
  color: rgba(255, 255, 255, 0.8);
  font-size: 5rem;
}

.fa-arrow-circle-up:hover {
  opacity: 0.5;
}

#page-top {
  position: fixed;
  bottom: 7rem;
  right: 3.5rem;
}

#page-top a {
  border-radius: 50%;
}

/* メディアクエリ(300px以下で適用) */

@media (max-width: 300px) {
  #sec01 h1 {
    font-size: 1.4rem;
  }
  input[type="submit"] {
    font-size: 1rem;
  }
  .footer-inner p {
    display: none;
  }
}

/* メディアクエリ(600px以下で適用) */

@media (max-width: 600px) {
  h1 {
    /*16px~24px */
    font-size: calc(1.6rem + (2.4 - 1.6) * ((100vw - 30rem) / (60 - 30)));
  }
  h2 {
    /*16px~20px */
    font-size: calc(1.6rem + (2 - 1.6) * ((100vw - 30rem) / (60 - 30)));
  }
  h3 {
    font-size: 1.6rem;
  }
  .pc-nav {
    display: none;
  }
  .sp-nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    width: 100%;
    background: rgb(31, 26, 26);
    opacity: 0;
    transform: translateY(-100%);
    transition: all .2s ease-in-out;
  }
  #hamburger {
    position: relative;
    display: block;
    width: 30px;
    height: 25px;
    margin: 0 0 0 auto;
  }
  #hamburger span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 70%;
    height: 2px;
    background-color: #fff;
    transform: translateY(-50%);
  }
  #hamburger::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
  }
  #hamburger::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
  }
  .sp-nav .close {
    position: relative;
    padding-left: 3rem;
    top: 5%;
  }
  .sp-nav .close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate( 45deg);
  }
  .sp-nav .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate( -45deg);
  }
  .toggle {
    transform: translateY( 0);
    opacity: 1;
  }
  #sec01 h1 {
    left: calc(5rem + (15 - 5) * ((100vw - 30rem) / (60 - 30)));
  }
  .sec02-contents-list p:last-of-type {
    padding-bottom: 10%;
  }
  .checkbox {
    font-size: 1.2rem;
  }
  .label-size {
    font-size: 1.6rem;
  }
  .sns-list {
    width: 100%;
  }
  .sns-list a {
    font-size: calc(1.6rem + (2 - 1.6) * ((100vw - 30rem) / (60 - 30)));
  }
  .fa-arrow-circle-up {
    font-size: 3.5rem;
  }
  #page-top {
    bottom: 7rem;
    right: calc(0rem + (1.5 - 0) * ((100vw - 30rem) / (60 - 30)));
  }
  .footer-inner p, .footer-inner small {
    letter-spacing: 0;
    font-size: 1rem;
  }
  #footer a .fa-twitter, #footer a .fa-facebook-square {
    font-size: 1.5rem;
  }
}

/* 600px~1025pxまで */

@media (min-width: 600px) and (max-width:1025px) {
  h1 {
    /*24px~32px*/
    font-size: calc(2.4rem + (3.2 - 2.4) * ((100vw - 60rem) / (102.5 - 60)));
  }
  h2 {
    /*20px~24px*/
    font-size: calc(2rem + (2.4 - 2) * ((100vw - 60rem) / (102.5 - 60)));
  }
  h3 {
    /*16px~20px*/
    font-size: calc(1.6rem + (2 - 1.6) * ((100vw - 60rem) / (102.5 - 60)));
  }
  #sec01 h1 {
    left: calc(15rem + (30 - 15) * ((100vw - 60rem) / (102.5 - 60)));
  }
  .sec02-contents-list p:last-of-type {
    padding-bottom: 10%;
  }
  .sec02-contents {
    display: flex;
    justify-content: space-between;
  }
  .sec02-contents-list {
    width: 48%;
    height: 50%;
  }
  .sec02-contents-list:first-of-type {
    width: 100%;
    height: 50%;
  }
  .sns-list a {
    font-size: calc(2rem + (2.4 - 2) * ((100vw - 60rem) / (102.5 - 60)));
  }
  .sns-inner {
    justify-content: space-between;
  }
  .sns-list {
    width: 48%;
  }
  .footer-inner p {
    font-size: 1.3rem;
  }
  .fa-arrow-circle-up {
    font-size: 4.5rem;
  }
  #page-top {
    bottom: 7rem;
    right: 1.5rem;
  }
}

/* 1025px以上 */

@media (min-width:1025px) {
  h1 {
    font-size: calc(3.2rem + (4 - 3.2) * ((100vw - 102.5rem) / (150 - 102.5)));
  }
  h2 {
    font-size: 2.4rem;
    /*フォントサイズ24px*/
  }
  h3 {
    font-size: 2rem;
  }
  #sec01 h1 {
    left: calc(30rem + (50 - 30) * ((100vw - 102.5rem) / (150 - 102.5)));
  }
  .sec02-contents-list {
    width: calc(100% / 3);
  }
  .sec02-contents-list:nth-child(1), .sec02-contents-list:nth-child(2) {
    padding-right: 20px;
  }
  .sec02-contents-list img {
    height: calc(20rem + (30 - 20) * ((100vw - 102.5rem) / (150 - 102.5)));
  }
  .sec02-contents-list p {
    padding-bottom: 2%;
    line-height: 1.5;
  }
  .sec02-contents-list h2 {
    padding: 2% 0;
  }
  .sns-list a {
    font-size: 2.4rem;
  }
  .sns-list {
    width: 24%;
  }
}

/* 1500px以上 */

@media (min-width:1500px) {
  h1 {
    font-size: calc(4rem + (4.8 - 4) * ((100vw - 150rem) / (200 - 150)));
  }
  #sec01 h1 {
    left: calc(50rem + (75 - 50) * ((100vw - 150rem) / (200 - 150)));
  }
  .sec02-contents-list img {
    height: calc(30rem + (40 - 30) * ((100vw - 150rem) / (200 - 150)));
  }
}

@media (min-width:3000px) {
  #sec01 h1 {
    left: calc(80rem + (130 - 80) * ((100vw - 200rem) / (300 - 200)));
  }
  .sec02-contents-list img {
    height: calc(40rem + (60 - 40) * ((100vw - 200rem) / (300 - 200)));
  }
}