@charset "UTF-8";
body{
  font-size: unset;
  color: unset;
  line-height: unset;
  letter-spacing: unset;
  font-family: unset;
  width: 100%;
  max-width: 1400px;
}
header{
  height: 80px;
  background: white;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  z-index: 10000;
  display: block !important;
  padding: 0;
}
header a{
  position: static;
  width: auto;
  height: auto;
}
header div{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 0 30px;
  position: static;
}
header div img{
  height: 70px;
  margin-top: 5px;
}
header div a.cta{
  display: block;
  text-decoration: none;
  height: 50px;
  background: #4cb5a0;
  color: white;
  width: 200px;
  text-align: center;
  font-size: 20px;
  padding-top: 15px;
  font-family: serif;
  border-radius: 30px;
  border: 1px solid #4cb5a0;
  transition: color 0.7s, background 0.7s;
  height: 55px;
  padding-top: 17.5px;
}
header div a:hover{
  color: #4cb5a0;
  background: white;
}
main{
  margin-top: 80px;
  width: auto; 
}

/* FV */
.fv{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 600px;
}
.fv .text{
  width: 36%;
  padding-left: 15px;
}
.fv .text h1{
  margin: 0;
  width: 100%;
  font-family: serif;
  text-shadow: 2px 3px 16px black, -2px 2px 16px black, 2px -2px 16px black, -2px -2px 16px black;
  color: white;
  font-size: 36px;
  font-weight: bold;
  line-height: 1.6;
}
.fv .text p{
  margin: 0;
  margin-top: 30px;
  font-size: 24px;
  font-weight: bold;
  font-family: serif;
  color: #776f9e;
  padding: 6px 0;
}
.fv .image{
  position: relative;
  width: 60%;
  height: 600px;
  overflow: hidden;
}
.fv .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* 全て非表示 */
  transition: opacity 1s ease-in-out; /* フェード効果 */
}
.fv .image img:first-child {
  opacity: 1; /* 最初の画像を表示 */
}

/* 挨拶 */
.greeting{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.greeting img{
  display: block;
  width: 60%;
}
.greeting .text{
  width: 35%;
}
.greeting .text h2{
  margin: 0;
  font-size: 30px;
  font-family: serif;
  font-weight: bold;
}
.greeting .text p{
  margin-top: 15px;
  line-height: 2;
  font-family: serif;
}

/* 選ばれる理由 */
.strong{
  padding: 60px 0 10px;
  background-image:linear-gradient(to bottom, 
      rgba(255, 255, 255, 1) 30%, /* 上30%は完全に白 */
      rgba(255, 255, 255, 0.7) 80%, /* その後80%で透明度0.7 */
      rgba(255, 255, 255, 0) 100% /* 最後は完全に透明 */
    ),
    url(https://dymmedicalclinic.id/in/wp-content/themes/clinic/img/lp/strong_back.jpg); /* 背景画像 */;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.strong h2{
  margin: 0;
  text-align: center;
  font-family: serif;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 20px;
}
.strong ul.pc-only{
  padding: 0;
  margin: auto;
  width: 95%;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 3%;
}
.strong ul.pc-only li{
  width: 28%;
  position: relative;
  border: 3px solid #4cb5a0;
  border-radius: 30px;
  margin-bottom: 30px;
  padding: 30px 20px 10px;
  background: white;
  opacity: 0.95;
}
.strong ul.pc-only li > div{
  position: absolute;
  background: #4cb5a0;
  color: white;
  width: 32px;
  height: 32px;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  border-radius: 50%;
  padding-top: 2px;
  top: -10px;
  left: -10px;
  font-family: serif;
  padding-top: 7px;
}
.strong ul.pc-only li h3{
  margin: 0;
  text-align: center;
  color: #4cb5a0;
  font-weight: bold;
  font-family: serif;
  font-size: 20px;
  border-bottom: 1px solid;
  height: 110px;
  display: table;
  width: 100%;
  line-height: 1.5;
}
.strong ul.pc-only li h3 div{
  display: table-cell;
  vertical-align: middle;
}
.strong ul.pc-only li p{
  margin: 0;
  margin-top: 10px;
  line-height: 1.7;
  font-family: serif;
}

/* パッケージ */
.package{
  padding: 60px 0 0;
  background-image:linear-gradient(to bottom, 
      rgba(255, 255, 255, 1) 30%, /* 上30%は完全に白 */
      rgba(255, 255, 255, 0.7) 80%, /* その後80%で透明度0.7 */
      rgba(255, 255, 255, 0) 100% /* 最後は完全に透明 */
    ),
    url(https://dymmedicalclinic.id/in/wp-content/themes/clinic/img/lp/package_back.jpg); /* 背景画像 */;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.package h2{
  margin: 0;
  text-align: center;
  font-family: serif;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 30px;
}
.package > p{
  width: 80%;
  margin: 0 auto 40px;
  font-size: 18px;
  font-family: serif;
  line-height: 1.8;
}
.package ul.pc-only{
  padding: 0;
  margin: auto;
  width: 95%;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 3%;
}
.package ul.pc-only li{
  width: 28%;
  position: relative;
  border-radius: 30px;
  margin-bottom: 50px;
  padding: 35px 20px 20px;
  background: white;
  opacity: 0.95;
}
.package ul.pc-only li h3{
  margin: 0;
  text-align: center;
  width: 12em;
  color: white;
  position: absolute;
  top: -15px;
  font-size: 20px;
  padding: 8px 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  font-family: serif;
}
.package ul.pc-only li .desc{
  margin: 0;
  font-family: serif;
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.8;
}
.package ul.pc-only li .desc .none{
  display: none;
}
.package ul.pc-only li .ori{
  text-align: center;
  width: 8em;
  margin: auto;
  position: relative;
}
.package ul.pc-only li .ori::before{
  content: "";
  position: absolute;
  background: red;
  width: 100%;
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.package ul.pc-only li .dis{
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  font-family: serif;
  color: #242768;
}
.package ul.pc-only li.level1{
  border: 3px solid #4cb5a0;
}
.package ul.pc-only li.level1 h3{
  background: #4cb5a0;
}
.package ul.pc-only li.level2{
  border: 3px solid #eacaf3;
}
.package ul.pc-only li.level2 h3{
  background: #eacaf3;
}
.package ul.pc-only li.level3{
  border: 3px solid #b26f31;
}
.package ul.pc-only li.level3 h3{
  background: #b26f31;
}
.package ul.pc-only li.level4{
  border: 3px solid #e4e4e4;
}
.package ul.pc-only li.level4 h3{
  background: #e4e4e4;
  color: black;
}
.package ul.pc-only li.level5{
  border: 3px solid #f0ca63;
}
.package ul.pc-only li.level5 h3{
  background: #f0ca63;
  color: black;
}
.package ul.pc-only li .open,
.package ul.pc-only li .close{
  text-align: center;
  background: #2e316f;
  color: white;
  width: 15em;
  margin: 10px auto 0;
  padding: 2px 0;
  border-radius: 10px;
  cursor: pointer;
}
.package ul.pc-only li .open:hover,
.package ul.pc-only li .close:hover{
  opacity: 0.8;
}
/* 設備 */
.facility{
  padding: 60px 0 30px;
 }
.facility h2{
  margin: 0;
  text-align: center;
  font-family: serif;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 30px;
}
.facility .facility-slide,
.facility .facility-slide-sp{
   list-style: none;
   margin: 0;
   padding: 0;
}
.facility .facility-slide img,
.facility .facility-slide-sp img{
  width: 90%;
  object-fit: cover;
  height: 250px;
  display: block;
  margin: auto;
}
.facility .facility-slide button,
.facility .facility-slide-sp button{
  display: none !important;
}
.facility .facility-slide .slick-dots,
.facility .facility-slide-sp .slick-dots{
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  column-gap: 25px;
  margin-top: 15px;
  margin-left: 20px;
}
.facility .facility-slide .slick-dots li,
.facility .facility-slide-sp .slick-dots li{
  width: 8px;
  height: 8px;
  border: 0.5px solid black;
  background: white;
  border-radius: 50%;
}
.facility .facility-slide .slick-dots .slick-active,
.facility .facility-slide-sp .slick-dots .slick-active{
  background: #4cb5a0 !important;
  border: none;
}
.access{
  width: 90%;
  max-width: 1100px;
  margin: 70px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 30px;
  flex-wrap: wrap;
}
.access .text{
  font-family: serif;
  width: 45%;
}
.access .text .tit{
  display: flex;
  align-items: center;
  column-gap: 20px;
  margin-bottom: 20px;
}
.access .text .tit img{
  width: 30px;
}
.access .text .tit h3{
  font-size: 24px;
}
.access .text p{
  font-size: 18px;
  line-height: 1.5;
}
.access iframe{
  width: 50%;
}


/* お問い合わせ */
#form{
  padding: 60px 0 60px;
}
#form h2{
  margin: 0;
  text-align: center;
  font-family: serif;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 30px;
}
#form .tel{
  background: #f1f1f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin: auto;
  padding: 20px 40px;
  border-radius: 30px;
  flex-wrap: wrap;
}
#form .tel .text{
  font-size: 20px;
  font-family: serif;
  width: 45%;
  line-height: 1.5;
}
#form .tel a{
  width: 45%;
  background: #212e5f;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0px;
  border-radius: 50px;
  column-gap: 40px;
}
#form .tel a:hover{
  opacity: 0.8;
}
#form .tel a p{
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-family: serif;
  margin: 0;
}
#form .tel a img{
  filter: brightness(200%);
  width: 30px;
}
#form .contact{
  font-family: serif;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
}
#form .contact p{
  margin: 0;
}
#form .contact h3{
  margin: 0;
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}
#form .form .formpart{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
#form .form .formpart.radio,
#form .form .formpart.last{
  align-items: flex-start;
}
#form .form .formpart .formname{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 40%;
  font-size: 18px;
}
#form .form .formpart.radio .formname,
#form .form .formpart.last .formname{
  position: relative;
  top: 5px;
}
#form .form .formpart .formname .require{
  color: white;
  background: #ff0000;
  text-align: center;
  width: 5em;
  border-radius: 15px;
  padding: 5px 0;
}
#form .form .formpart .formname .require.nini{
  background: #36d962;
}
#form .form .formpart .forminput{
 width: 55%;
}
#form .form .formpart .forminput input[type="text"],
#form .form .formpart .forminput input[type="tel"],
#form .form .formpart .forminput input[type="email"],
#form .form .formpart .forminput select,
#form .form .formpart .forminput textarea{
  width: 100%;
  font-size: 18px;
  padding: 6px;
  font-family: serif;
  border: 1px solid #c1c1c1;
  border-radius: 10px;
}
#form .form .formpart .forminput select{
  padding: 10px 6px;
}
#form .form .formpart .forminput textarea{
  height: 6em;
}
#form .form .formpart .forminput .wpcf7-radio label{
  display: block;
  margin-bottom: 10px;
}
#form .form .formpart .forminput .wpcf7-radio span{
  margin-left: 0;
  margin-right: 2em;
}

#form .form .policy{
  text-align: center;
  font-size: 18px;
  margin: 30px 0 10px;
}
#form .form .policy a{
  color: #212E5F;
  text-decoration: underline;
}
#form .form .submit p{
  width: 20em;
  margin: auto;
}
#form .form .submit p input{
  cursor: pointer;
  border: 1px solid #212E5F;
  background: #212E5F;
  color: white;
  width: 100%;
  margin: 24px auto 0;
  font-size: 20px;
  padding: 15px 0;
  border-radius: 15px;
  text-align: center;
}
#form .form .submit p input:hover{
  color: #212E5F;
  background: white;
}

@media screen and (max-width: 768px){
  .pc-only{
    display: none !important;
  }
  header{
    height: 60px;
  }
  header div{
    padding: 0 15px;
  }
  header div img{
    height: 50px;
  }
  header div a.cta{
    height: 40px;
    font-size: 18px;
    padding-top: 10px;
    width: 170px;
  }
  main{
    margin-top: 60px;
  }
  .fv{
    display: block;
    height: auto;
    position: relative;
  }
  .fv .text{
    position: absolute;
    width: 100%;
    z-index: 100;
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    top: 24px;
  }
  .fv .text h1{
    font-size: 20px;
  }
  .fv .text p{
    margin-top: 80px;
    font-size: 20px;
    background: white;
  }
  .fv .image{
    width: 100%;
    height: 250px;
  }
  .greeting{
    margin-top: 30px;
  }
  .greeting img{
    width: 90%;
    margin: 0 auto 10px;
  }
  .greeting .text{
    width: 90%;
    margin: auto;
  }
  .greeting .text p{
    margin-bottom: 0;
  }

  .strong{
    padding: 30px 0 40px;
  }
  .strong h2{
    margin-bottom: 0;
  }
  .strong ul.strong-slide{
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .strong ul.strong-slide button{
    display: none !important;
  }
  .strong ul.strong-slide li.strongpart{
    width: 90%;
    margin: auto;
    padding-top: 20px;
  }
  .strong ul.strong-slide li.strongpart > div{
    position: relative;
    border: 3px solid #4cb5a0;
    border-radius: 30px;
    margin-bottom: 30px;
    padding: 20px 20px 10px;
    background: white;
    opacity: 0.95;
    width: 95%;
    margin: 0 auto;
    max-width: 500px;
  }
  .strong ul.strong-slide li.strongpart > div > div{
    position: absolute;
    background: #4cb5a0;
    color: white;
    width: 32px;
    height: 32px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
    padding-top: 7px;
    top: -10px;
    left: -10px;
    font-family: serif;
  }
  .strong ul.strong-slide li.strongpart > div h3{
    margin: 0;
    text-align: center;
    color: #4cb5a0;
    font-weight: bold;
    font-family: serif;
    font-size: 20px;
    border-bottom: 1px solid;
    height: 110px;
    display: table;
    width: 100%;
    line-height: 1.3;
  }
  .strong ul.strong-slide li.strongpart > div h3 div{
    display: table-cell;
    vertical-align: middle;
  }
  .strong ul.strong-slide li.strongpart > div p{
    margin: 0;
    margin-top: 10px;
    line-height: 1.7;
    font-family: serif;
  }
  .strong .slick-dots{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    column-gap: 25px;
    margin-top: 15px;
    margin-left: 20px;
  }
  .strong .slick-dots li{
    width: 8px;
    height: 8px;
    border: 0.5px solid black;
    background: transparent;
    border-radius: 50%;
  }
  .strong .slick-dots .slick-active{
    background: white !important;
    border: none;
  }
  .package{
    padding: 30px 0;
    background-position: bottom left;
  }
  .package h2{
    margin-bottom: 20px;
  }
  .package > p{
    width: 90%;
    margin: 20px auto;
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
  }

  .package ul.package-slide{
    padding: 0;
    margin: 0;
    display: block;
    list-style: none;
  }
  .package ul.package-slide li.packagepart{
    width: 90%;
    margin: auto;
    padding-top: 20px;
  }
  .package ul.package-slide li.packagepart > div{
    width: 95%;
    margin: auto;
    max-width: 500px;
    position: relative;
    border-radius: 30px;
    padding: 40px 20px 20px;
    background: white;
    opacity: 0.95;
  }
  .package ul.package-slide li.packagepart > div h3{
    margin: 0;
    text-align: center;
    width: 12em;
    color: white;
    position: absolute;
    top: -15px;
    font-size: 20px;
    padding: 10px 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    font-family: serif;
  }
  .package ul.package-slide li.packagepart > div .desc{
    margin: 0;
    font-family: serif;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
  }
  .package ul.package-slide li.packagepart > div .desc .none{
    display: none;
  }
  .package ul.package-slide li.packagepart > div .ori{
    text-align: center;
    width: 8em;
    margin: auto;
    position: relative;
  }
  .package ul.package-slide li.packagepart > div .ori::before{
    content: "";
    position: absolute;
    background: red;
    width: 100%;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .package ul.package-slide li.packagepart > div .dis{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    font-family: serif;
    color: #242768;
  }
  .package ul.package-slide li.packagepart > div.level1{
    border: 3px solid #4cb5a0;
  }
  .package ul.package-slide li.packagepart > div.level1 h3{
    background: #4cb5a0;
  }
  .package ul.package-slide li.packagepart > div.level2{
    border: 3px solid #eacaf3;
  }
  .package ul.package-slide li.packagepart > div.level2 h3{
    background: #eacaf3;
  }
  .package ul.package-slide li.packagepart > div.level3{
    border: 3px solid #b26f31;
  }
  .package ul.package-slide li.packagepart > div.level3 h3{
    background: #b26f31;
  }
  .package ul.package-slide li.packagepart > div.level4{
    border: 3px solid #e4e4e4;
  }
  .package ul.package-slide li.packagepart > div.level4 h3{
    background: #e4e4e4;
    color: black;
  }
  .package ul.package-slide li.packagepart > div.level5{
    border: 3px solid #f0ca63;
  }
  .package ul.package-slide li.packagepart > div.level5 h3{
    background: #f0ca63;
    color: black;
  }
  .package ul.package-slide li.packagepart > div .open,
  .package ul.package-slide li.packagepart > div .close{
    text-align: center;
    background: #2e316f;
    color: white;
    width: 15em;
    margin: 10px auto 0;
    padding: 2px 0;
    border-radius: 10px;
    cursor: pointer;
  }
  .package ul.package-slide li.packagepart > div .open:hover,
  .package ul.package-slide li.packagepart > div .close:hover{
    opacity: 0.8;
  }
  .package ul.package-slide button{
    display: none !important;
  }
  .package .slick-dots{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    column-gap: 25px;
    margin-top: 15px;
    margin-left: 20px;
  }
  .package .slick-dots li{
    width: 8px;
    height: 8px;
    border: 0.5px solid black;
    background: transparent;
    border-radius: 50%;
  }
  .package .slick-dots .slick-active{
    background: white !important;
    border: none;
  }
  .modal{
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
  }
  .modal .window{
    width: 90%;
    margin: 15% auto 0;
    height: 75%;
    max-width: 500px;
    background: white;
    border-radius: 30px;
    padding: 40px 20px 20px;
    position: relative;
  }
  .modal .window h3{
    margin: 0;
    text-align: center;
    width: 12em;
    color: white;
    position: absolute;
    top: -15px;
    font-size: 20px;
    padding: 10px 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    font-family: serif;
  }
  .modal .window .desc{
    margin: 0;
    font-family: serif;
    font-size: 16px;
    margin-bottom: 15px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #c1c1c1;
    padding: 10px;
    border-radius: 10px;
    line-height: 1.8;
  }
  .modal .window .ori{
    text-align: center;
    width: 8em;
    margin: auto;
    position: relative;
  }
  .modal .window .ori::before{
    content: "";
    position: absolute;
    background: red;
    width: 100%;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .modal .window .dis{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    font-family: serif;
    color: #242768;
  }
  .modal .window .close{
    text-align: center;
    background: #2e316f;
    color: white;
    width: 15em;
    margin: 10px auto 0;
    padding: 8px 0;
    border-radius: 10px;
    cursor: pointer;
    font-family: serif;
  }
  .modal.level1 .window{
    border: 3px solid #4cb5a0;
  }
  .modal.level1 .window h3{
    background: #4cb5a0;
  }
  .modal.level2 .window{
    border: 3px solid #eacaf3;
  }
  .modal.level2 .window h3{
    background: #eacaf3;
  }
  .modal.level3 .window{
    border: 3px solid #b26f31;
  }
  .modal.level3 .window h3{
    background: #b26f31;
  }
  .modal.level4 .window{
    border: 3px solid #e4e4e4;
  }
  .modal.level4 .window h3{
    background: #e4e4e4;
    color: black;
  }
  .modal.level5 .window{
    border: 3px solid #f0ca63;
  }
  .modal.level5 .window h3{
    background: #f0ca63;
    color: black;
  }
  .access{
    max-width: 500px;
  }
  .access .text{
    width: 100%;
    margin-bottom: 15px;
  }
  .access .text p{
    font-size: 18px;
    line-height: 1.5;
  }
  .access iframe{
    width: 100%;
  }
  .facility{
    padding: 30px 0;
  }
  .facility h2{
   margin-bottom: 15px; 
  }
  .facility .facility-slide-sp img{
    height: 200px;
  }
  #form{
    padding: 20px 0 40px;
  }
  #form h2{
    margin-bottom: 15px;
  }
  #form .tel{
    width: 90%;
    padding: 20px;
    max-width: 500px;
  }
  #form .tel .text{
    width: 100%;
    font-size: 18px;
    margin-bottom: 15px;
  }
  #form .tel a{
    width: 100%;
    column-gap: 30px;
    padding: 15px 0;
  }
  #form .contact{
    width: 90%;
    max-width: 500px;
  }
  #form .form .formpart{
    margin-bottom: 20px;
  }
  #form .form .formpart .formname{
    width: 100%;
    justify-content: flex-start;
    column-gap: 15px;
    margin-bottom: 10px;
  }
  #form .form .formpart .forminput{
    width: 100%;
  }
  #form .form .formpart .forminput input[type="text"], 
  #form .form .formpart .forminput input[type="tel"], 
  #form .form .formpart .forminput input[type="email"], 
  #form .form .formpart .forminput select, 
  #form .form .formpart .forminput textarea{
    width: 100%;
  }
  #form .form .formpart .forminput textarea{
    height: 9em;
  }
  #form .form .formpart.radio .formname, 
  #form .form .formpart.last .formname{
    position: static;
  }
}

@media screen and (min-width: 769px){
  .sp-only{
    display: none !important;
  }
}

/* wp_headで崩れた部分の対応 */
.addtoany_content{
  display: none;
}

main > p{
  font-family: serif;
  line-height: 1.5;
  font-size: 20px;
  text-align: center;
}
main > a{
  display: block;
  color: white;
  background: #1c2c59;
  text-align: center;
  font-size: 24px;
  font-family: serif;
  width: 15em;
  margin: 40px auto;
  padding: 20px 0;
  border-radius: 30px;
  border: 1px solid #1c2c59;
}
main > a:hover{
  color: #1c2c59;
  background: white;
}
@media screen and (max-width: 768px){
  main > p{
    width: 90%;
    margin: auto;
    text-align: left;
    max-width: 450px;
  }
  main > a{
    font-size: 18px;
  }

}
