@media screen and (max-width: 1024px) {
  .pc {display: none;}
  .sp {display: block;}

  h1 {
    position: absolute;
    top: 23px;
    left: 96px;
    margin-left: 10px;
    font-size: 14px;
  }

  .header_top {
    width: 100%;
    margin-left: 0;
    padding-bottom: 0;
  }

  .header_top img {
    width: 100px;
    height: auto;
  }

  .menu_btn {
    top: 13px;
    right: 12px;
    padding: 10px 15px;
    font-size: 13px;
    letter-spacing: 2px;
    border-radius: 5px;
  }

  .slider2 {
    width: 100%;
  }
  .slider2 img {
    width: 100%;
  }

  .top_copy {
    position: absolute;
    top: 130vw;
    left: 10px;
    font-size: 10vw;
    letter-spacing: 5px;
    line-height: 13vw;
    color: #fff;
    text-shadow:0px 6px 10px #000000;
    z-index: 60;
  }

  .cont01 {
    width: 120%;
    left: 0;
    margin-left: -5px;
  }
  .cont02,
  .cont03,
  .cont04,
  .cont05 {
    position: relative;
    width: 100%;
    left: 0;
    margin-left: 0;
  }

  .cont01 .cont_header .cont_header_box {
    width: 100%;
    padding: 40px 0 40px 30px;
    font-size: 40px;
  }

  .cont01_text {
    width: 100%;
    padding: 150px 0 200px 20px;
    font-size: 13px;
    line-height: 25px;
  }

  .cont_title {
    position: relative;
    left: 30px;
    right: 0;
    width: 100%;
    margin: auto;
    padding: 40px 0;
    z-index: 60;
  }
  .cont_title img {
    width: 190px;
  }
  .cont_subtitle {
    padding: 10px 0 20px;
    font-size: 14px;
    letter-spacing: 0;
  }
  .cont_subtitle p {
    text-decoration: underline;
  }
  .col2,
  .col3,
  .col4 {
    color: #303030;
  }
  .cont_text {
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0;
    color: #303030;
  }
  .cont02_main {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
    padding: 0px 0 150px;
    z-index: 60;
    text-align: center;
  }
  .group1 {
    position: relative;
    width: 250px;
    margin: auto;
  }
  .cont02_main select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 250px;
    margin: 0 auto 30px;
    padding: 10px 0 10px 40px;
    font-size: 18px;
    border-radius: 5px;
    background: #fff;
  }
  .cont02_main .icon1:before,
  .cont02_main .icon2:before {
    font-size: 25px;
  }
  .cont02_main .icon1:before,
  .cont02_main .icon2:before {
    display: none;
  }
  .cont02_main input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 250px;
    font-size: 18px;
    letter-spacing: 5px;
    border-radius: 5px;
    color: #fff;
    background: #FEB165;
  }

  /* cont03 */

  .cont03 {
    padding-bottom: 150px;
  }
  .link_area {
    margin: 25px 0;
  }
  .link_btn {
    width: 250px;
    padding: 10px 0;
    font-size: 18px;
    letter-spacing: 1px;
    color: #303030;
    border-radius: 5px;
    background: #fff;
  }

  .cont03_box {
    width: 90%;
    margin: auto;
    padding: 10px;
    border-radius: 5px;
    /* cursor: pointer; */
  }
  .cont03_box img {
    width: 117px;
    height: 113px;
  }
  .cont03_box_title {
    margin : 0 0 10px 10px;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #fff;
  }
  .cont03_box_inner {
    margin-left: 10px;
  }
  .cont03_inner_headline {
    font-size: 12px;
    font-weight: bold;
  }
  .cont03_inner_text {
    font-size: 12px;
    text-align: left;
  }
  /* cont03 */

  /* popup */
  .popup {
    width: 90%;
    margin: auto;
  }
  .close_btn {
    position: absolute;
    top: 13px;
    right: 7vw;
  }
  .popup img {
    width: 100%;
    height: auto;
  }
  .popup_headline {
    font-size: 13px;
  }
  .popup_text {
    width: 90%;
    font-size: 13px;
    line-height: 25px;
  }

  /* sp tab */
  .tab-wrap {
    position: relative;
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    z-index: 60;
  }
  .tab-label {
    width: 80px;
    color: #303030;
    background: #fff;
    margin-right: 5px;
    padding: 40px 10px;
    order: -1;
    border-radius: 100px;
    text-align: center;
  }
  .tab-content {
      width: 100%;
      margin: 30px 0;
      display: none;
  }
  /* アクティブなタブ */
  .tab-switch:checked+.tab-label {
    color: #fff;
    background: #6AA192;
  }
  .tab-switch:checked+.tab-label+.tab-content {
       display: block;
  }
  /* ラジオボタン非表示 */
  .tab-switch {
      display: none;
  }
  /* sp tab */


  .slider3 {
    width: 80%;
    margin: 0 auto 80px;
  }
  .slider3_headline {
    padding-top: 20px;
    font-size: 16px;
  }
  .slider3_text {
    font-size: 14px;
    line-height: 20px;
  }
  .slider3 li img {
    width: 310px;
    height: auto;
  }
  .prev-arrow {
    left: -8vw;
  ;}
  .next-arrow {
    right: -8vw;
  }

  .cont05_main {
    width: 100%;
    padding: 80px 0 50px;
    font-size: 14px;
    line-height: 30px;

  }
  .ret_btn {
    margin: 50px auto 0;
    padding: 10px 0;
    font-size: 20px;
    color: #fff;
    border-radius: 5px;
  }

  .menu ul {
    padding: 80px 0 0 50px;
  }
  .menu ul li {
    padding-bottom: 20px;
    font-size: 20px;
    line-height: 38px;

  }
  .menu ul li:not(:last-child) {
    margin-bottom: 15px;
  }

  #anchor01 {
    margin-top: -20px;
    padding-top: 20px;
  }
  #anchor02,
  #anchor03,
  #anchor04 {
    margin-top: -20px;
    padding-top: 20px;
  }

  /* back image */
  .back_img1 {
    top: 10px;
    left: 280px;
    width: 130px;
  }

  .back_img2 {
    top: 0;
    left: 280px;
    width: 130px;
  }
  .back_img3 {
    top: -30px;
    left: 180px;
    width: 200px;
    z-index: 50;
  }
  .back_img4 {
    position: absolute;
    left: 0px;
    bottom: 0;
    width:200px;
  }
  .back_img5 {
    top: 0;
    left: 0px;
    width: 200px;
    z-index: 50;
  }
  .back_img6 {
    left: 180px;
    bottom: 0;
    width: 200px;
    z-index: 50;
  }
  .back_img7 {
    top: 0;
    left:180px;
    width: 200px;
    z-index: 50;
  }
  .back_img8 {
    left: 0;
    bottom: 0;
    width: 200px;
    z-index: 50;
  }
  .back_img9 {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    z-index: 50;
    opacity: 0.3;
  }


}

@media screen and (max-width: 480px) {
  .slider3 li img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 1024px) {
  .pc {display: none;}
  .sp {display: block;}

  h1 {
    position: absolute;
    top: 23px;
    left: 96px;
    margin-left: 10px;
    font-size: 14px;
  }

  .header_top {
    width: 100%;
    margin-left: 0;
    padding-bottom: 0;
  }

  .header_top img {
    width: 100px;
    height: auto;
  }

  .menu_btn {
    top: 13px;
    right: 12px;
    padding: 10px 15px;
    font-size: 13px;
    letter-spacing: 2px;
    border-radius: 5px;
  }

  .slider2 {
    width: 100%;
  }
  .slider2 img {
    width: 100%;
  }

  .top_copy {
    position: absolute;
    top: 130vw;
    left: 10px;
    font-size: 10vw;
    letter-spacing: 5px;
    line-height: 13vw;
    color: #fff;
    text-shadow:0px 6px 10px #000000;
    z-index: 60;
  }

  .cont01 {
    width: 120%;
    left: 0;
    margin-left: -5px;
  }
  .cont02,
  .cont03,
  .cont04,
  .cont05 {
    position: relative;
    width: 100%;
    left: 0;
    margin-left: 0;
  }

  .cont01 .cont_header .cont_header_box {
    width: 100%;
    padding: 40px 0 40px 30px;
    font-size: 40px;
  }

  .cont01_text {
    width: 100%;
    padding: 150px 0 200px 20px;
    font-size: 13px;
    line-height: 25px;
  }

  .cont_title {
    position: relative;
    left: 30px;
    right: 0;
    width: 100%;
    margin: auto;
    padding: 40px 0;
    z-index: 60;
  }
  .cont_title img {
    width: 190px;
  }
  .cont_subtitle {
    padding: 10px 0 20px;
    font-size: 14px;
    letter-spacing: 0;
  }
  .cont_subtitle p {
    text-decoration: underline;
  }
  .col2,
  .col3,
  .col4 {
    color: #303030;
  }
  .cont_text {
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0;
    color: #303030;
  }
  .cont02_main {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
    padding: 0px 0 150px;
    z-index: 60;
    text-align: center;
  }
  .group1 {
    position: relative;
    width: 250px;
    margin: auto;
  }
  .cont02_main select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 250px;
    margin: 0 auto 30px;
    padding: 10px 0 10px 40px;
    font-size: 18px;
    border-radius: 5px;
    background: #fff;
  }
  .cont02_main .icon1:before,
  .cont02_main .icon2:before {
    font-size: 25px;
  }
  .cont02_main .icon1:before,
  .cont02_main .icon2:before {
    display: none;
  }
  .cont02_main input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 250px;
    font-size: 18px;
    letter-spacing: 5px;
    border-radius: 5px;
    color: #fff;
    background: #FEB165;
  }

  /* cont03 */

  .cont03 {
    padding-bottom: 150px;
  }
  .link_area {
    margin: 25px 0;
  }
  .link_btn {
    width: 250px;
    padding: 10px 0;
    font-size: 18px;
    letter-spacing: 1px;
    color: #303030;
    border-radius: 5px;
    background: #fff;
  }

  .cont03_box {
    width: 90%;
    margin: auto;
    padding: 10px;
    border-radius: 5px;
    /* cursor: pointer; */
  }
  .cont03_box img {
    width: 117px;
    height: 113px;
  }
  .cont03_box_title {
    margin : 0 0 10px 10px;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #fff;
  }
  .cont03_box_inner {
    margin-left: 10px;
  }
  .cont03_inner_headline {
    font-size: 12px;
    font-weight: bold;
  }
  .cont03_inner_text {
    font-size: 12px;
    text-align: left;
  }
  /* cont03 */

  /* popup */
  .popup {
    width: 90%;
    margin: auto;
  }
  .close_btn {
    position: absolute;
    top: 13px;
    right: 7vw;
  }
  .popup img {
    width: 100%;
    height: auto;
  }
  .popup_headline {
    font-size: 13px;
  }
  .popup_text {
    width: 90%;
    font-size: 13px;
    line-height: 25px;
  }

  /* sp tab */
  .tab-wrap {
    position: relative;
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    z-index: 60;
  }
  .tab-label {
    width: 80px;
    color: #303030;
    background: #fff;
    margin-right: 5px;
    padding: 40px 10px;
    order: -1;
    border-radius: 100px;
    text-align: center;
  }
  .tab-content {
      width: 100%;
      margin: 30px 0;
      display: none;
  }
  /* アクティブなタブ */
  .tab-switch:checked+.tab-label {
    color: #fff;
    background: #6AA192;
  }
  .tab-switch:checked+.tab-label+.tab-content {
       display: block;
  }
  /* ラジオボタン非表示 */
  .tab-switch {
      display: none;
  }
  /* sp tab */


  .slider3 {
    width: 80%;
    margin: 0 auto 80px;
  }
  .slider3_headline {
    padding-top: 20px;
    font-size: 16px;
  }
  .slider3_text {
    font-size: 14px;
    line-height: 20px;
  }
  .slider3 li img {
    width: 310px;
    height: auto;
  }
  .prev-arrow {
    left: -8vw;
  ;}
  .next-arrow {
    right: -8vw;
  }

  .cont05_main {
    width: 100%;
    padding: 80px 0 50px;
    font-size: 14px;
    line-height: 30px;

  }
  .ret_btn {
    margin: 50px auto 0;
    padding: 10px 0;
    font-size: 20px;
    color: #fff;
    border-radius: 5px;
  }

  .menu ul {
    padding: 80px 0 0 50px;
  }
  .menu ul li {
    padding-bottom: 20px;
    font-size: 20px;
    line-height: 38px;

  }
  .menu ul li:not(:last-child) {
    margin-bottom: 15px;
  }

  #anchor01 {
    margin-top: -20px;
    padding-top: 20px;
  }
  #anchor02,
  #anchor03,
  #anchor04 {
    margin-top: -20px;
    padding-top: 20px;
  }

  /* back image */
  .back_img1 {
    top: 10px;
    left: 280px;
    width: 130px;
  }

  .back_img2 {
    top: 0;
    left: 280px;
    width: 130px;
  }
  .back_img3 {
    top: -30px;
    left: 180px;
    width: 200px;
    z-index: 50;
  }
  .back_img4 {
    position: absolute;
    left: 0px;
    bottom: 0;
    width:200px;
  }
  .back_img5 {
    top: 0;
    left: 0px;
    width: 200px;
    z-index: 50;
  }
  .back_img6 {
    left: 180px;
    bottom: 0;
    width: 200px;
    z-index: 50;
  }
  .back_img7 {
    top: 0;
    left:180px;
    width: 200px;
    z-index: 50;
  }
  .back_img8 {
    left: 0;
    bottom: 0;
    width: 200px;
    z-index: 50;
  }
  .back_img9 {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    z-index: 50;
    opacity: 0.3;
  }


}

@media screen and (max-width: 480px) {
  .slider3 li img {
    width: 100%;
    height: auto;
  }
}

/* Dark background */
.modal-bg {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}

/* Modal window */
.modal-content {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  width: 620px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 18px;
  cursor: pointer;
}

/* Text content */
.modal-text {
  margin: 20px 0 30px;
  text-align: center;
}

/* Text content */
.modal-textinner {
  margin: 60px 0 0;
}

/* Text link */
.modal-textinner a{
  color: #fff;
  text-decoration: underline;
}
.modal-textinner a:hover{
  text-decoration: none;
}

/* Show modal when active */
.active {
  visibility: visible;
  opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
  .modal-content {
      width: 90%;
  }
}