@charset "UTF-8";

/*-----------------------------------------------------------------------------------------------------
共通設定
--------------------------------------------------------------------------------------------------------*/
:root {
  --root-font-size: 16;
  --pc-max-window-size: 650px;
}
html {
  width: 100%;
  font-size: calc( 16 / var(--root-font-size) * 1rem );
  line-height: 1.2em;
  letter-spacing: 0.1em;
  scroll-behavior: smooth;
}
@media screen and (max-width: 760px) {
  html {
    font-size: calc( 8 / var(--root-font-size) * 1rem );
  }
}
body {
  font-family:'Noto Sans JP', sans-serif;
  /* font-family:'Noto Serif JP', serif; */
}
/*リンク文字の設定*/
a {
  text-decoration: underline;
}
a:link, a:visited {
  color: #39f;
}
a:hover, a:active {
  color: #f60;
}

/*-----------------------------------------------------------------------------------------------------
フォントサイズ指定
--------------------------------------------------------------------------------------------------------*/
h1 {
  font-size: calc( 32 / var(--root-font-size) * 1rem ); /* 200% */
}

h2 {
  font-size: calc( 24 / var(--root-font-size) * 1rem );
}

h3 {
  font-size: calc( 20 / var(--root-font-size) * 1rem );
}

h4 {
  font-size: calc( 16 / var(--root-font-size) * 1rem );
}

h5 {
  font-size: calc( 13 / var(--root-font-size) * 1rem );
}

h6 {
  font-size: calc( 11 / var(--root-font-size) * 1rem );
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

p {
  font-size: calc( 16 / var(--root-font-size) * 1rem );
}

/*-----------------------------------------------------------------------------------------------------
PC/Tab/SP表示切り替え
--------------------------------------------------------------------------------------------------------*/
.pc-only {
  display: block !important;
}
.tb-only {
  display: none !important;
}
.sp-only {
  display: none !important;
}
@media screen and (max-width: 760px) {
  .pc-only {
    display: none !important;
  }
  .tb-only {
    display: block !important;
  }
  .sp-only {
    display: none !important;
  }
}
@media screen and (max-width: 480px) {
  .pc-only {
    display: none !important;
  }
  .tb-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
}

/*-----------------------------------------------------------------------------------------------------
固定背景
--------------------------------------------------------------------------------------------------------*/
body::before {
  content: "";
  background-color: #6867FF;
  background-image: url("../images/murasaki_rvlpsd2.webp");
  background-repeat: no-repeat; /* 背景を繰り返さない */
  background-position: center; /* 背景画像の位置は画面中央 */
  background-size: cover;
  position:fixed;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100vh;
}

body::after {
  content: "";
  max-width: var(--pc-max-window-size);
  position:fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: -1;
  width: 100%;
  height: 100vh;
  box-shadow: 0px 5px 30px 5px rgba(0, 0, 0, .25);
}


/*-----------------------------------------------------------------------------------------------------
コンテナレイアウト
--------------------------------------------------------------------------------------------------------*/
.container {
  max-width: var(--pc-max-window-size);
  width: 100%;
  margin: 0 auto;
  background-color: white;
}
@media screen and (max-width: 760px) {
  .container {
    max-width: none;
  }
}
@media screen and (max-width: 480px) {
  .container {
    max-width: none;
  }
}
.container img {
  margin: 0 auto;
  width: 100%;
}
section#section-cta .container {
  padding: 0 0 5rem 0;
}

/*-----------------------------------------------------------------------------------------------------
チェックボックス
--------------------------------------------------------------------------------------------------------*/

p.question {
  font-size: 2rem;
  line-height: 1.5em;
  font-weight: 600;
  color: #333;
  text-align: center;
  padding-bottom: 1em;
}

p.question.withnote {
  padding-bottom: 0.5em;
}

p.note {
  font-size: 1rem;
  line-height: 1.5em;
  font-weight: 400;
  color: #333;
  text-align: center;
  padding-bottom: 2em;
}

@media screen and (max-width: 760px) {
  p.question {
    font-size: 4rem;
  }
  p.note {
    font-size: 2rem;
  }
}
@media screen and (max-width: 480px) {
  p.question {
    font-size: 2rem;
  }
  p.note {
    font-size: 1rem;
  }
}

/*-----------------------------------------------------------------------------------------------------
チェックボックス
--------------------------------------------------------------------------------------------------------*/
.checkbox-container-wrapper {
  background-color: white;
}
.checkbox-container {
  font-size: 2rem;
  width: fit-content;
  margin: 0 auto;
  padding: 2em 0 3em;
}

label {
  display: block;
}
label + label {
  margin: 0.4em 0 0 0;
}

input[type=radio],
input[type=checkbox] {
    appearance: none;
}

.check-box__text {
  display: inline-block;
  padding: 3px 0 3px 2em;
  cursor: pointer;
  position: relative;
  font-size: 1em;
  font-weight: 600;
  line-height: 1em;
}

/* チェックボックス */
.check-box__text::before {
  content: '';
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  top: calc((100% - 1em)/2);
  left: 0;
  border: 2px solid #FE0000;
}
.check-box__text::after {
  content: '';
  display: block;
  position: absolute;
  width: 0.8em;
  height: 0.5em;
  top: 0;
  left: 0;
  border-left: 3px solid #FE0000;
  border-bottom: 3px solid #FE0000;
  transform: translate(0.1em, 0.2em) rotate(-45deg);
  opacity: 0;
}
@media screen and (max-width: 760px) {
  .checkbox-container {
    font-size: 4rem;
  }
  .check-box__text::before {
    border: 1px solid #FE0000;
  }
  .check-box__text::after {
    border-left: 2px solid #FE0000;
    border-bottom: 2px solid #FE0000;
  }
}
@media screen and (max-width: 480px) {
  .checkbox-container {
    font-size: 2rem;
  }
}

input[type=radio]:checked + span::after,
input[type=checkbox]:checked + span::after {
    opacity: 1;
}

/*-----------------------------------------------------------------------------------------------------
ボタン
--------------------------------------------------------------------------------------------------------*/
a.img-button img {
  display: block;
  margin 10px auto;
  width: 90%;
  cursor: pointer;
  transition: transform .15s;
}
a.img-button:active img {
  transform: scale(.95);
}
/* アニメーション */
.animation{
  animation: dokundokun 1300ms ease infinite;
}
@keyframes dokundokun {
  0%  { transform: scale(1); }
  15% { transform: scale(1.04); }
  30% { transform: scale(1); }
  45% { transform: scale(1.06); }
  70% { transform: scale(1); }
}

/*-----------------------------------------------------------------------------------------------------
フッター
--------------------------------------------------------------------------------------------------------*/
footer {
  background-color: transparent;
  text-align: center;
  font-size: calc( 12 / var(--root-font-size) * 1rem );
}
footer .container {
  padding: 4em 0;
  color: white;
  background-color: black;
}
footer .footer-link {
  display: flex;
  margin: 1rem 0 0 0;
}
footer .footer-link-l {
  flex: 0 0 45%;
  text-align: right;
}
footer .footer-link-c {
  flex: 0 0 10%;
}
footer .footer-link-r {
  flex: 0 0 45%;
  text-align: left;
}
footer .footer-copyright {
  margin: 2rem 0 0 0;
}
footer a {
  text-decoration: none;
}
footer a:link, footer a:visited {
  color: white;
}
footer a:hover, footer a:active {
  color: #39f;
}

/*-----------------------------------------------------------------------------------------------------
上へ戻るボタン
--------------------------------------------------------------------------------------------------------*/
.go-to-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 1;
}
.go-to-top-button {
  background-color: #eee;
  color: #333;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  text-align: center;
  line-height: 1;
  border-radius: 5px;
  font-size: 22px;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-chevron-up:before {
  content: "\f077";
}
