*,
*:before,
*:after {
  box-sizing: border-box;
}


body{
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", serif;
}

a {
    text-decoration: none;
}

.mt-0{
    margin-top: 0px !important;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.header img {
  height: 40px;
}

.bg {
    background: #FFFFFF; /*関数処理で*/
    width: 100%;
    height: 100dvh;
  }
  
  .content {
    height: 85dvh;
    padding: 60px 20px 0;
    position: relative;
  }
  
  .cta {
    height: 15dvh;
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .headings {
    position: absolute;
    top: 50%;
    transform: translate(-100%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f7f7f7;
    box-shadow: 6px 10px 0px rgb(154 154 154);
    border: 2px solid #9a9a9a;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    z-index: 10;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    font-size: 12px;
    max-width: 180px;
    border-radius: 5px;
}

.heading {
    /*margin-bottom: 10px;*/
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    color: #555;
}

.heading.active {
    /*background-color: #555;*/
    color: #222222;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.heading:before{
    content: "";
}




  .swiper img {
    /*width: 100%;*/
    height: 100%;
    max-width: 1000px;
    object-fit: contain;
    border-radius: 8px;
  }
  
  .swiper {
    width: 100%;
    height: 100%;
  }
  
  .swiper-slide {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* ページネーションを配置するためにrelativeを追加 */
  }
  
  .swiper-pagination {
        /* background: #333; */
        /*padding: 10px 0;*/
        border-radius: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        position: absolute;
        bottom: 2px !important;
        top: unset !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
        /* width: auto !important; */
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #c9c9c9;
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(255, 255, 255, 0.61);
-moz-box-shadow: 0px 0px 6px 0px rgba(255, 255, 255, 0.61);
box-shadow: 0px 0px 6px 0px rgba(255, 255, 255, 0.61);
}
.swiper-pagination-bullet-active {
    width: 14px;
    height: 14px;
    opacity: 1;
}


/*///////////////////////////*/
/*CTA*/


  .cta-flex {
    display: flex;
    flex-wrap: wrap; /* 要素を折り返す */
    justify-content: center; /* 中央揃え */
    align-items: center; /* 縦方向の揃え */
    width: 100%;
    position: relative;
    z-index: 30;
  }


  .item-two{
    box-sizing: border-box;
    padding: 10px 0;
    margin: 0px;
    height: 7.5dvh;
    width: 100%;
  }


  .item {
    box-sizing: border-box;
    padding: 10px;
    margin: 0px;
    height: 7.5dvh;
    /*background-color: #007bff;
    color: white;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    */
  }


  /* 各アイテムのスタイル */
  .item:nth-child(1),
  .item:nth-child(2) {
    width: calc(50% - 20px); /* 上段のアイテム2つが均等に配置 */
  }

  .item:nth-child(3) {
    width: 100%; /* 下段のアイテム1つが全幅 */
  }


.cta-text{
    font-size: 20px;
    font-weight: 600;
}

.cta-text span{
    font-size: 12px;
    display: block;
}


/*///////////////////////////*/
/*MODAL*/


.modal-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0; /* 初期状態は非表示 */
    overflow: hidden;
    transition: height 0.3s ease-in-out; /* スムーズな表示/非表示 */
    z-index: 100;
  }
  
  .modal {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 90%; /* モーダルの高さを画面の90%に設定 */
    background-color: white;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    padding: 0; /* 内側の余白はコンテンツ内で指定 */
    box-sizing: border-box;
    overflow-y: auto; /* モーダル内で縦スクロールを有効化 */
    max-width: 650px;
  }
  
  .modal-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 101;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .modal-header h2 {
    margin: 0;
  }

  .modal-content{
    padding: 20px;
  }
  
  .modal-close {
    background: none;
    border: none;
    font-size: 33px;
    cursor: pointer;
    color: black;    /* 統一された色 */
    line-height: 1;  /* 高さの違いを防ぐ */
    padding: 0;      /* 不要な余白を削除 */
    appearance: none; /* ブラウザ独自のスタイルを削除 */
  }
  

  .open-modal-btn {
    font-family: "Noto Sans JP", serif;
    font-size: 18px;
    background-color: #029a31;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    min-height: 100%;
    font-weight: bold;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
  }



  .cta-table {
    border-collapse: collapse;
    margin: 0 0 15px 0;
    }
    
    .cta-table th,
    .cta-table td{
      border: 1px solid #222222;
      padding: 12px;
    }
    
    .cta-table th{
      font-size: 13px;
      white-space: nowrap;
      background: #f8f8f8;
    }
    
    .cta-table td{
      font-size: 13px;
    }
    
    .cta-table td span{
      font-size: 20px;
      font-weight: bold;
    }


    .register_link{
        width: 80%;
    }
    .member_register{
      width: 100%;
      border-radius: 3px;
      padding: 18px 15px 18px;
      background: #029a31;
      color: #ffffff;
      /*margin-bottom: 15px;*/
      text-align: center;
      font-weight: bold;
    }


.pc_img{
    display: block;
}

.sp_img{
    display: none;
}

.credit {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 11px;
  background: #ffffff;
  padding: 0 5px;
  z-index: 100;
}

  /*///////////////////////////////*/
 /*見出しアニメーション処理*/


  @media (min-width: 1041px) {
    .headings {
        transform: translate(0, -50%);
        opacity: 1;
    }
}

@media (max-width: 1040px) {
    .headings {
        transform: translate(-100%, -50%);
        opacity: 0;
    }
}
  

  @media (max-width: 600px) {

    .ptx-0{
        padding: 0px 15px 15px !important;
    }

    .pc_img{
        display: none;
    }
    
    .sp_img{
        display: block;
    }
    

    .content{
        height: 80dvh;
    }

    .cta{
        height: 20dvh;
    }
    .swiper img{
        width: 100%; /* ブラウザの横幅に合わせる */
  height: auto; /* ブラウザの高さに合わせる */
  object-fit: contain; /* アスペクト比を保ちながら全体を表示 */
  object-position: center; /* 画像を中央に配置 */
  /*padding: 0 20px;*/
}

  .swiper-slide {
    padding: 0px;
  }
    

  .swiper-pagination {
    bottom: 8px !important;
    gap: 0px;
}

    .swiper-pagination {
        /*position: absolute;
        bottom: 0px;
        right: 10px;
        width: 50px;
        text-align: center;
        font-size: 10px;
        color: white;
        background: rgba(0, 0, 0, 0.6);
        padding: 5px 0;
        /* border-radius: 5px; 
        display: block;*/
      }



/*///////////////////////////*/
/*CTA*/

  .item {
    box-sizing: border-box;
    padding: 10px;
    margin: 0px;
    height: 10dvh;
    /*background-color: #007bff;
    color: white;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    */
  }

  .item-two {
    box-sizing: border-box;
    /*padding: 10px 15px;*/
    margin: 0px;
    height: 10dvh;
    /*background-color: #007bff;
    color: white;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    */
  }

  .cta-table th{
    font-size: 10px;
    white-space: nowrap;
  }
  
  .cta-table td{
    font-size: 10px;
  }

  .cta-table td span{
    font-size: 18px;
    font-weight: bold;
  }

  .credit {
    font-size: 9px;
}
  
}