/* PC用のスタイル */
.pc-only {
    display: none;
}

/* スマホ用のスタイル */
.sp-only {
    display: none;
}

/* スクリーンサイズが640px以上の場合、PC用画像を表示 */
@media (min-width: 640px) {
    .pc-only {
        display: block;
    }
}

/* スクリーンサイズが640px未満の場合、スマホ用画像を表示 */
@media (max-width: 639px) {
    .sp-only {
        display: block;
    }
}

.mark-red {
    margin-right: 0.5rem;
    display: inline-block;
    color: #fff;
    padding: 0.4rem 0.6rem;
    border-radius: 0.7rem;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
    background-color: red;
}
.mark-blue {
    margin-right: 0.5rem;
    display: inline-block;
    color: #fff;
    padding: 0.4rem 0.6rem;
    border-radius: 0.7rem;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
    background-color: rgb(29, 89, 209);
}
.up-photo{
    margin-bottom: 1rem;
    max-width: 75%;
}
    @media only screen and (max-device-width: 640px) {
        .up-photo{
        max-width: 95%;
    }
}

@media only screen and (max-width: 640px) {
    .hidden {
        display: none;
    }
    .inline {
        display: inline;
    }
}
@media only screen and (min-width: 641px) {
    .sm\:inline {
        display: inline;
    }
    .sm\:hidden {
        display: none;
    }
}

.formtitle {
    font-weight: bold;
    position: relative;
    color: #292929;
    font-size: 1.6rem;
    padding: 10px 0;
    text-align: center;
    margin: 1.5em 0 2em;
  }
  .formtitle:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 130px;
    height: 80px;
    border-radius: 100%;
    border: 9px solid #ffa700;
    border-left-color: transparent;
    border-right-color: transparent;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
    @media only screen and (max-width: 640px) {
    .formtitle:before {
        top: -23px;
        width: 170px;
        height: 140px;
        border-radius: 70%;
    }
  }
  .subtitle {
    font-weight: bold;
    position: relative;
    color: #292929;
    font-size: 1.6rem;
    padding: 10px 0;
    text-align: center;
    margin: 1.5em 0 2em;
  }
  .subtitle:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 130px;
    height: 80px;
    border-radius: 100%;
    border: 9px solid #ffa700;
    border-left-color: transparent;
    border-right-color: transparent;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }