@charset "UTF-8";

/*---------- ページ全体の指定 ----------*/

body {
  margin: 0;
  padding: 0;
  font-size: 100%;
  color: #333;
  font-family: "Noto Sans Japanese";
  background: #fff;
}

p {
  font-size: calc(100vw / 20);
}

@media screen and (min-width:769px) {
  body {
    background-image: url(../images/yohaku-background.jpg);
    background-position: bottom center;
    background-repeat: repeat-x;
    background-attachment: fixed;
  }
  p {
    font-size: calc(100vw / 80);
  }
.checkbox-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 1.5%;
    line-height: 1;
}
        .checkbox-container input[type="checkbox"] {
            width: 2rem;
            height: 2rem;
            margin-right: 10px;
            accent-color: #fff;
            color: #000;
            line-height: 1;
        }
        .checkbox-container label {
    font-size: 1vw;
    color: #fff;
    line-height: 1.4;
}
}

a:link {
  color: #333;
  text-decoration: underline;
}

a:visited {
  color: #333;
  text-decoration: underline;
}

a:hover {
  color: #666;
  text-decoration: none;
}

a img {
  border-style: none;
}

img {
  vertical-align: bottom;
  image-rendering: -webkit-optimize-contrast;
}

a:hover img {
  opacity: .7;
}

a img {
  border-style: none;
  -webkit-transition: all .3s;
  transition: all .3s;
}

#wrapper {
  margin: 0;
  padding: 0;
}

#container {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
}

.table-area h4 {
  font-size: calc(100vw / 10);
  margin-bottom: 3%;
  font-weight: bold;
  text-align: center;
}

.result-data-heading-scroll {
  margin: 0 auto;
  width: 100%;
  height: calc(100vw / 2);
  overflow-y: scroll;
  position: relative;
}

.result-data-heading-scroll li{
  margin-bottom: 0;
}

.result-data-heading-scroll h4 {
  padding: 0 !important;
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: none !important;
}

.result-data-heading-scroll h4 img {
    animation: move-y .8s infinite alternate ease-in-out;
}

.table-area h4 {
  font-size: 4.5rem;
  margin-bottom: 1%;
  font-weight: bold;
  text-align: center;
}

.table-area table {
  margin-bottom: 3%;
  width: 100%;
  border-collapse: collapse;
}
.table-area table th {
  width: 20%;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: #52c2d0;
  border-right: none;
  border-bottom: 1px solid #fff;
  font-size: calc(100vw / 25);
}
.table-area table th:last-child {
  border-bottom: none;
}
.table-area table td {
  width: 80%;
  text-align: left;
  background: #eee;
  border-right: none;
  border-bottom: 1px solid #aaa;
  font-size: calc(100vw / 30);
}
.table-area table tr:last-child td {
  border-bottom: none;
}

@media screen and (min-width:769px) {
  #wrapper {
    width: 770px;
    margin: 0 auto;
    background: #fff;
  }

  #container {
      background: #fff;
      border-left: 2px solid rgb(125 125 125 / 90%);
      border-right: 2px solid rgb(125 125 125 / 90%);
      box-shadow: 0 0 7px #7d7d7d;
  }

  .result-data-heading-scroll {
      width: 100%;
      height: calc(100vw / 5);
      overflow-y: scroll;
      position: relative;
  }

  .result-data-heading-scroll li {
    margin-bottom: 0%;
  }

  .result-data-heading-scroll h4 {
      width: 80%;
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 2;
      transform: translate(-50%, -50%);
  }

  .result-data-heading-scroll h4 img {
    animation: move-y .8s infinite alternate ease-in-out;
  }

  .table-area h4 {
    font-size: 4.5rem;
    margin-bottom: 1%;
    font-weight: bold;
    text-align: center;
  }

  .table-area table {
    margin-bottom: 3%;
    width: 100%;
    border-collapse: collapse;
  }
  .table-area table th {
    width: 20%;
    padding: 2% 0;
    font-size: 13px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    background: #52c2d0;
    border-right: none;
    border-bottom: 1px solid #fff;
  }
  .table-area table th:last-child {
    border-bottom: none;
  }
  .table-area table td {
    width: 80%;
    font-size: 13px;
    font-size: 1.8rem;
    text-align: left;
    background: #eee;
    border-right: none;
    border-bottom: 1px solid #aaa;
  }
  .table-area table tr:last-child td {
    border-bottom: none;
  }
}

@media screen and (max-width:768px) {
  .pc {
    display: none!important;
  }
  .sp {
    display: block!important;
  }
}

@media screen and (min-width:769px) {
  .pc {
    display: block!important;
  }
  .sp {
    display: none!important;
  }
}

@media screen and (max-width:768px) {
  span.pc {
    display: none!important;
  }
  span.sp {
    display: inline!important;
  }
}

@media screen and (min-width:769px) {
  span.pc {
    display: inline!important;
  }
  span.sp {
    display: none!important;
  }
}

.fuyofuyo {
  animation: move-y .8s infinite alternate ease-in-out;
}

.special-box {
    /* background: #eee; */
    border: 2px solid #b50000;
}

@media screen and (min-width: 769px){
  .special-box p {
    font-size: 1.8rem;
    margin-bottom: 1em;
  }
}

@media screen and (min-width: 769px) {
  #profile .name {
    text-align: right;
  }
  #profile .name img {
    width: 40%;
  }
}

@media screen and (max-width: 768px) {
  #profile .name {
    text-align: right;
  }
  #profile .name img {
    width: 60%;
  }
  .special-box p {
    font-size: 3.8vw;
  }
  .checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4% 0 0;
    line-height: 1;
  }
  .checkbox-container input[type="checkbox"] {
      width: 2rem;
      height: 2rem;
      margin-right: 10px;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      border: 1px solid #fff;
      border-radius: 2px;
      position: relative;
      cursor: pointer;
      line-height: 1;
  }
  .checkbox-container input[type="checkbox"].mt-5 {
    margin-top: 0!important;
  }
  input[type="checkbox"]:checked::before {
      content: '\f00c';
      font-family: "Font Awesome 6 Free";
      font-size: 1.2rem;
      font-weight: bold;
      color: #000;
      text-align: center;
      display: block;
      line-height: 1.6;
      background-color: #fff;
      /* border-radius: 2px; */
      position: absolute;
      left: 0;
      width: 100%;
      height: 100%;
  }
  .checkbox-container label {
      font-size: 1.2rem;
      color: #fff;
      line-height: 1;
  }
  #form-header input[type=text], .form input[type=text], .form textarea , .form input[type=tel]{
    margin: 0px auto 3%;
    padding: 0.4em 3%;
    width: 100%;
    font-size: 4.8vw;
    color: rgb(39, 47, 107);
    line-height: 160%;
    border: 3px solid rgb(39, 47, 107);
    background: rgb(255, 255, 255);
  }
}

body {
  display: flex; /* フレックスボックスに有効に */
  flex-flow: column; /* 要素を縦に並べる */
  min-height: 100vh; /* 最小でも画面の高さ分のbodyの高さを担保する */
}
#wrapper {
  flex: 1; /* 画面の高さから他の同レイヤーの要素の高さを引いた値に */
}

#container {
    padding-bottom: 5%;
}

@media screen and (min-width: 769px){
  .fs-24 {
      font-size: 3.5rem;
  }
}

.feature {
    border: 7px double #b50000;
}

.prediction {
    /* background: #eee; */
    border: 2px solid #1a1a1a;
    /* border-radius: 11px; */
}

.trade-point {
    border: 7px double #b50000;
    border-radius: 11px;
}