body {
    font-size: 0.8rem;
}

.selectbox {
    width: 30%;
    margin: 0.7em;
    position: relative;
    clear: both;
}

.radiobox{
    width: 50%;
    margin: 0.8em 0.7em 1em 0.7em;
    clear: both;
}
.radiobox_3{
    width: 50%;
    margin: 0.8em 0.7em 1em 0.7em;
    clear: both;
}
select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    padding: 3px 3px 3px 10px;
    box-sizing: border-box;
    font-size: 0.9rem;
    border: #006DD9 1.5px solid;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    height: 30px;
}

.before_select{
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    padding: 3px 3px 3px 10px;
    box-sizing: border-box;
    font-size: 0.9rem;
    border: #006DD9 1.5px solid;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    height: 30px;
}

.selectbox::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    right: 5%;
    top: 55%;
    border-bottom: #333 2px solid;
    border-right: #333 2px solid;
    transform: rotate(45deg)translateY(-30%);
}

input[type="radio"] {
    display: none;
}
input[type="radio"]:checked+label {
    background: #31A9EE;
    color: #ffffff;
}

input[type="radio"]:checked+.label_new_3{
    background: 31A9EE;
    color: #ffffff;
}

.label:hover {
    background-color: #E2EDF9;
}

.label {
    display: block;
    float: left;
    margin: 3px 5px 8px;
    width: 20%;
    padding-left: 5px;
    padding-right: 5px;
    color: #000;
    text-align: center;
    cursor: pointer;
    border: 1.5px solid #006DD9;
    border-radius: 5px;
    line-height : 2em;         /* 1行の高さ  */

}
.label_2 {
    display: inline-block;
    border-radius: 5%;
    font-size: 13pt;
    text-align: center;
    cursor: pointer;
    padding: 10px 24px;
    background: #ffffff;
    color: #ff7671;
    line-height: 1em;
    -webkit-transition: .3s;
    transition: .3s;
    border: 2px solid #ff7671;
  }
  
  .active {
    background: #ffdedd;
    color: #ff7671;
    border: 2px solid #ff7671;
  }
  

.label:hover {
    background-color: #E2EDF9;
}

.label_3 {
    display: block;
    float: left;
    margin: 3px 5px 8px;
    width: 20%;
    padding-left: 5px;
    padding-right: 5px;
    color: #000;
    text-align: center;
    cursor: pointer;
    border: 1.5px solid #006DD9;
    border-radius: 5px;
    line-height : 2em;         /* 1行の高さ  */
}

.label_3:hover {
    background-color: #E2EDF9;
}

.buttonbox {
    width: 30%;
    margin: 0.8em 0.7em 1em 0.7em;
}

.button {
    display       : block;
    border-radius : 5%;          /* 角丸       */
    font-size     : 13pt;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    margin: 0 auto;
    cursor        : pointer;     /* カーソル   */
    padding       : 10px 24px;   /* 余白       */
    background    : #006dd9;     /* 背景色     */
    color         : #ffffff;     /* 文字色     */
    line-height   : 1em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
    box-shadow    : 1px 1px #666666;  /* 影の設定 */
    border        : 2px solid #006dd9;    /* 枠の指定 */
  }
.button:hover {
    box-shadow    : none;        /* カーソル時の影消去 */
    color         : #006dd9;     /* 背景色     */
    background    : #ffffff;     /* 文字色     */
  }

  .button_link {
    width: 70%;
    display       : block;
    border-radius : 5px;          /* 角丸       */
    font-size     : 13pt;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    margin: 0 auto;
    cursor        : pointer;     /* カーソル   */
    padding       : 10px 24px;   /* 余白       */
    background    : #3684d3;     /* 背景色     */
    color         : #ffffff;     /* 文字色     */
    line-height   : 1em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
    border        : 2px solid #3684d3;    /* 枠の指定 */
    text-decoration: none;
  }
.button_link:hover {
    box-shadow    : none;        /* カーソル時の影消去 */
    color         : #3684d3;     /* 背景色     */
    background    : #ffffff;     /* 文字色     */
  }

  .button_link_gentei{
    width: 70%;
    display       : block;
    border-radius : 5px;          /* 角丸       */
    font-size     : 13pt;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    margin: 0 auto;
    cursor        : pointer;     /* カーソル   */
    padding       : 10px 24px;   /* 余白       */
    background    : #ffffff;     /* 背景色     */
    color         : #3684d3;     /* 文字色     */
    line-height   : 1.3em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
    border        : 2px solid #3684d3;    /* 枠の指定 */
    text-decoration: none;
}
.button_link_gentei:hover {
    box-shadow    : none;        /* カーソル時の影消去 */
    color         : #ffffff;     /* 背景色     */
    background    : #3684d3;     /* 文字色     */
  }

  .button_link_gentei{
    width: 70%;
    display       : block;
    border-radius : 5px;          /* 角丸       */
    font-size     : 13pt;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    margin: 0 auto;
    cursor        : pointer;     /* カーソル   */
    padding       : 10px 24px;   /* 余白       */
    background    : #ffffff;     /* 背景色     */
    color         : #3684d3;     /* 文字色     */
    line-height   : 1.3em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
    border        : 2px solid #3684d3;    /* 枠の指定 */
    text-decoration: none;
}
.button_link_gentei:hover {
    box-shadow    : none;        /* カーソル時の影消去 */
    color         : #ffffff;     /* 背景色     */
    background    : #3684d3;     /* 文字色     */
  }

@media screen and (max-width: 768px) {
    /* 768pxまでの幅の場合に適応される */

    .selectbox {
        width: 95%;
    }

    .radiobox {
        width: 95%;
    }
    .radiobox_3{
        width: 95%;
        margin: 0 auto;
    }
    .buttonbox {
        width: 95%;
    }
    .label {
        width: 40%;
    }
    .label_3 {
        width: 25%;
    }
}

@media screen and (max-width: 480px) {
    /* 480pxまでの幅の場合に適応される */

    .selectbox {
        width: 95%;
    }

    .radiobox {
        width: 95%;
    }
    .radiobox_3{
        width: 95%;
        margin: 0 auto;
    }
    .buttonbox {
        width: 95%;
    }
    .label {
        width: 40%;
    }
    .label_3 {
        width: 25%;
    }

}
