@charset "utf-8";

/* header 共通 */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 2px #50c8f6;
  padding: 0 30px 0 20px;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
}
.top_img img {
  width: 200px;
  height: auto;
  margin-left: auto;
}
header ul img {
  width: 60px;
  height: 60px;
}
header nav ul {
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 40px;
}
header li {
  font-size: 25px;
  display: block;
  margin-bottom: 10px;
  color: #50c8f6;
  font-weight: bold;
}
header a:hover {
  opacity: 0.65;
}
/* header 共通 スマホサイズ */
@media screen and (max-width: 750px) {
  header {
    padding: 0 25px 0 10px;
  }
  .top_img img {
    width: 200px;
  }
  header nav {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
  }
  header nav ul {
    gap: 25px 0;
    flex-wrap: wrap;
  }
  header nav li {
    width: 100%;
    text-align: center;
  }
  .h-btn {
    width: 46px;
    height: 35px;
    position: relative;
  }
  .h-btn span {
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    background-color: #707070;
    transition: 0.5s;
  }
  .h-btn span:first-of-type {
    top: 0;
  }
  .h-btn span:nth-of-type(2) {
    top: 50%;
  }
  .h-btn span:last-of-type {
    top: 100%;
  }
  .h-btn.active span:first-of-type {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .h-btn.h-btn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .h-btn.active span:last-of-type {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
}

/* index.html set */
.set img {
  width: 100%;
  height: auto;
  padding: 100px 0 0 0;
  margin-bottom: 20px;
}

/* index.html main */
#index_main {
  padding: 20px 20px;
}
#index_main section {
  border: 3px double #50c8f6;
}
#index_main h2 {
  color: #50c8f6;
  font-size: 1.6em;
  margin-bottom: 10px;
}

/* index.html 無料体験モーダル */
/* モーダルの背景（オーバーレイ） */
.modal-overlay {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
  z-index: 1000;
}
/* モーダルのコンテンツ */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 500px;
}
#link_free {
  text-align: center;
}
#link_free h2 {
  font-size: 40px;
  margin: 0;
}
#link_free a {
  color: #50c8f6;
  font-size: 22px;
}
#free_link a {
  border-bottom: 1px solid #333;
  color: #333;
}
#link_free a:hover,
#free_link a:hover {
  border-bottom: 1px solid #841ec7;
  color: #841ec7;
}
/* モーダルを閉じるボタン */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #50c8f6;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}
/* モーダルを表示するボタン */
.open-modal-btn {
  color: white;
  border: none;
  cursor: pointer;
}
@media screen and (max-width: 750px) {
  #index_main {
    padding: 0px 20px 20px 20px;
  }
  .set img {
    margin-bottom: 20px;
  }
  #link_free h2 {
    font-size: 36px;
  }
  .modal-overlay{
    display: none;
  }
}

/* result.html main 共通 */
.content-section {
  margin-bottom: 20px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.content-section p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
}
.content-section h2 {
  font-size: 1.8em;
  color: #333;
}

/* menu.html #main */
#menu_main {
  padding: 100px 50px 50px 50px;
}
.menu_title {
  padding: 20px 0 0 0;
  border-bottom: 5px double #50c8f6;
  font-weight: bold;
  font-size: 28px;
  display: inline-block;
}
.menu_table img {
  float: right;
  width: 700px;
  height: 450px;
  margin-right: 50px;
}
/* menu.html 各コース料金表 */
tr > *:empty {
  background-image: linear-gradient(
    to right top,
    transparent calc(50% - 1px),
    #333 50%,
    #333 calc(50% + 1px),
    transparent calc(50% + 1.5px)
  ) !important;
}
.menu_table {
  padding: 20px 0 0 0;
}
.menu_table h2 {
  font-size: 24px;
  padding: 0;
  border-bottom: 2px solid #50c8f6;
  display: inline-block;
  font-weight: bold;
}
.menu_table1 {
  border: 3px solid #333;
  margin: 10px 0 20px 10px;
}
.menu_table2 {
  border: 3px solid #333;
  margin: 10px 0 0 10px;
}
.menu_table th {
  font-size: 20px;
  padding: 5px;
  text-align: center;
  border-bottom: 2px solid #333;
  background-color: #50c8f6;
}
.menu_table td {
  font-size: 20px;
  padding: 10px;
  text-align: right;
  border-bottom: 2px solid #333;
}
.menu_table td:nth-child(3) {
  border: 2px solid #333;
}
.menu_table p {
  font-size: 18px;
  padding: 5px 0 0 10px;
}
.menu_table_1 {
  border-bottom: 3px solid #333;
}
.menu_table_1 th:first-child {
  border-right: 3px solid #333;
}
.menu_table_1 th:nth-child(2) {
  border-right: 2px solid #333;
}
.menu_table_1 th:nth-child(3) {
  border-right: 2px solid #333;
}
.menu_table_2 {
  border-right: 3px solid #333;
}
/* menu.html 主な活動予定 */
.menu_active {
  font-size: 28px;
  font-weight: bold;
  border-bottom: 3px double #50c8f6;
  padding-top: 20px;
  display: inline-block;
}
.menu_yotei_1 h2,
.menu_yotei_2 h2 {
  padding-top: 20px;
  font-size: 28px;
  border-bottom: 3px solid #50c8f6;
  display: inline-block;
}
.menu_yotei_1 {
  padding-right: 75px;
}
.menu_yotei_1 ul,
.menu_yotei_2 ul,
.menu_table_3 ul {
  padding-top: 10px;
  list-style: square;
}
.menu_yotei_1 li,
.menu_yotei_2 li,
.menu_table_3 li {
  font-size: 18px;
}
/* menu.html 入会条件又はその他 */
.menu_table_3 h2 {
  font-size: 28px;
  padding: 0;
  border-bottom: 5px double #50c8f6;
  display: inline-block;
  font-weight: bold;
}
.menu_table_3 {
  padding-top: 10px;
}
.menu_table_3 h2 {
  padding: 20px 0 0 0;
}
.menu_table_3 ul {
  padding: 10px 0 10px 0;
}
@media screen and (max-width: 750px) {
  #menu_main {
    padding: 100px 30px 20px 30px;
  }
  .menu_title,
  .menu_active,
  .menu_table_3 h2,
  .menu_yotei_1 h2,
  .menu_yotei_2 h2 {
    text-align: center;
    width: 100%;
  }
  .menu_table {
    padding-top: 30px;
  }
  .menu_table p {
    padding-right: 10px;
  }
  .menu_table img {
    display: none;
  }
  .menu_yotei {
    display: grid;
  }
  .menu_yotei_1,
  .menu_yotei_2 {
    padding: 0;
  }
}

/* vision.html .set */
.vision_set {
  padding: 100px 0 20px 20px;
}
.vision_set img {
  width: 400px;
  height: 280px;
  float: left;
  padding-right: 15px;
}
.vision_set div {
  padding: 20px 120px 0 20px;
}
.vision_set h1 {
  font-size: 28px;
  font-weight: bold;
  border-bottom: 5px double #50c8f6;
}
.vision_set p {
  font-size: 20px;
  padding-top: 10px;
}

/* vision.html #main */
.vision_main {
  padding: 20px 0 50px 20px;
}
.vision_main img {
  width: 400px;
  height: 280px;
  float: right;
  padding-left: 15px;
}
.vision_main div {
  padding: 20px 120px 0 20px;
}
.vision_main h1 {
  font-size: 28px;
  font-weight: bold;
  border-bottom: 5px double #50c8f6;
}
.vision_main p {
  font-size: 20px;
  padding-top: 10px;
}
@media screen and (max-width: 750px) {
  .vision_set div,
  .vision_main div {
    padding: 20px 20px 0 0;
  }
  .vision_set img,
  .vision_main img {
    width: 210px;
    height: auto;
  }
}

/* question.html お問い合わせフォーム */
#question_main {
  padding: 120px 20px 20px 20px;
}
.question_main h2 {
  border-bottom: 5px double #50c8f6;
  font-size: 28px;
  font-weight: bold;
  width: 100%;
}
.question_main p {
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 18px;
}
.question_main iframe{
  width: 650px;
  height: 850px;
}

@media screen and (max-width:750px){
  #question_main{
    text-align: center;
  }
  .question_main iframe{
    width: 280px;
  }
}

/* result.html main */
#result_main {
  padding: 120px 20px;
}
#result_main h2 {
  color: #50c8f6;
  font-size: 1.6em;
  margin-bottom: 10px;
}
#result_main section {
  border: 3px double #50c8f6;
}

/* footer 会員規約　共通 */
.modal-1__wrap {
  display: inline-block;
}

.modal-1__wrap input {
  display: none;
}

.modal-1__open-label,
.modal-1__close-label {
  cursor: pointer;
}

.modal-1__open-label {
  color: #fff;
  font-size: 0.95em;
}

.modal-1__open-label:hover {
  text-decoration: underline;
  cursor: pointer;
  color: #841ec7;
}

.modal-1 {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.modal-1__open-input:checked + label + input + .modal-1 {
  display: block;
  animation: modal-1-animation 0.6s;
}

.modal-1__content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 650px;
  background-color: #fefefe;
  z-index: 2;
  border-radius: 5px;
}

.modal-1__close-label {
  background-color: #777;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 20px;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  text-align: center;
  display: table-cell;
  position: fixed;
  top: -15px;
  right: -2%;
  z-index: 99999;
  font-size: 1.4em;
}

.modal-1__content {
  max-height: 50vh;
  overflow-y: auto;
  padding: 39px 45px 40px;
  color: #333;
}
.modal-1__content h1{
  font-weight: bold;
  font-size: large;
  text-align: center;
}

.modal-1__background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

@keyframes modal-1-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media only screen and (max-width: 520px) {
  .modal-1__open-label {
    max-width: 90%;
    padding: 0.94em 2.1em 0.94em 2.6em;
  }

  .modal-1__close-label {
    top: -17px;
    right: -4%;
  }

  .modal-1__content-wrap {
    width: 90vw;
  }

  .modal-1__content {
    padding: 33px 21px 35px;
    max-width: 100%;
  }
}
/* footer プライバシーポリシー 共通 */
.modal-2__wrap {
  display: inline-block;
}
.modal-2__wrap input {
  display: none;
}
.modal-2__open-label,
.modal-2__close-label {
  cursor: pointer;
}
.modal-2__open-label {
  color: #fff;
  font-size: 0.95em;
}
.modal-2__open-label:hover {
  text-decoration: underline;
  cursor: pointer;
  color: #841ec7;
}
.modal-2 {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}
.modal-2__open-input:checked + label + input + .modal-2 {
  display: block;
  animation: modal-1-animation 0.6s;
}
.modal-2__content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 650px;
  background-color: #fefefe;
  z-index: 2;
  border-radius: 5px;
}
.modal-2__close-label {
  background-color: #777;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 20px;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  text-align: center;
  display: table-cell;
  position: fixed;
  top: -15px;
  right: -2%;
  z-index: 99999;
  font-size: 1.4em;
}
.modal-2__content {
  max-height: 50vh;
  overflow-y: auto;
  padding: 39px 45px 40px;
  color: #333;
}
.modal-2__content h1{
  font-weight: bold;
  font-size: large;
  text-align: center;
}
.modal-2__background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
@keyframes modal-2-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media only screen and (max-width: 750px) {
  .modal-2__open-label {
    max-width: 90%;
    padding: 0.94em 2.1em 0.94em 2.6em;
  }

  .modal-2__close-label {
    top: -17px;
    right: -4%;
  }

  .modal-2__content-wrap {
    width: 90vw;
  }

  .modal-2__content {
    padding: 33px 21px 35px;
    max-width: 100%;
  }
}
/* フッター 共通 */
.footer-001 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 25px 10px 10px;
  background-color: #50c8f6;
}
.footer-001__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 1.5em;
  list-style-type: none;
  margin: 0 0 0.5em;
  padding: 0.5em;
}
.footer-001__link {
  color: #fff;
  font-weight: 200;
  text-decoration: none;
}
.footer-001__copyright {
  margin: 0;
  color: #ffffffb3;
  font-weight: 200;
  font-size: 0.8em;
}
.footer_media {
  display: none;
}
#topButton {
  background-color: #50c8f6;
  color: #fff;
  border: 1px solid #333;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  display: none;

  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* フッター内のボタン */
footer #topButton {
  margin-bottom: 10px;
  left: 50%;
}
#topButton:hover {
  color: #841ec7;
}

@media screen and (max-width: 750px) {
  .footer_media {
    display: block;
  }
  .footer_media a:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #841ec7;
  }
  .footer-001__list {
    display: block;
    text-align: center;
    padding: 10px 0;
  }
  #topButton {
    left: 50%;
  }
}
