@charset "utf-8";

/* 共通 */
*, *:before, *:after {box-sizing: border-box;}
html{scroll-behavior: smooth;}
a{text-decoration: none;}
p{margin-block-start: 0; margin-block-end: 0;}
table,tbody,th,td{display: inline-block;}
tr{display: flex;}
.pc{display: block;}
.sp{display: none;}
.mb5{margin-bottom: 5px !important;}
.mb10{margin-bottom: 10px !important;}
.mb20{margin-bottom: 20px !important;}
.mb30{margin-bottom: 30px !important;}

@media screen and (max-width:700px) {
    .pc{display: none;}
    .sp{display: block;}
    tr{flex-wrap: wrap;}
}

/* /共通 */

/* form */
header{
    width: 100%;
    max-width: 850px;
    margin: 10px auto 30px;
}
header img{
    max-width: 200px;
    margin: 15px 0 30px 20px;
}
#member_form{
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 20px;
    font-family: '游ゴシック体', 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, 'MS PGothic', 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #000;
}
#member_form .top{
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}
#member_form .top span{
    font-size: 20px;
}
#member_form p.lead{
    font-size: 15px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
#member_form ul.indent{
    list-style: none;
    padding-inline-start: 0;
    max-width: 800px;
    margin: 20px auto 0;
}
#member_form ul.indent li{
    text-indent: -1em;
    margin-left: 1em;
    text-decoration: none;
    font-size: 14px;
}
#member_form .form{
    width: 95%;
    max-width: 860px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}
#member_form p.small{
    font-size: 14px;
    color: #777;
}
#member_form input.submit {
    display: block;
    width: 150px !important;
    margin: 30px auto;
    padding: 10px;
    background-color: #BBB;
    border: 1px solid #999;
    box-shadow: 2px 2px 2px #AAA;
}
#member_form input.submit:active {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  border-bottom: none;
}

#member_form .form table{
    width: 95%;
    max-width: 990px;
    margin: 20px auto;
    border-spacing: 0;
}
#member_form .form table th{
    width: 25%;
    max-width: 250px;
    text-align: left;
    font-weight: normal;
    background-color: #efefef;
    color: #333;
    border: #ccc 1px solid;
    line-height: 1.6;
    padding: 1.7rem 1rem;
}
#member_form .form table td{
    width: 75%;
    border: #ccc 1px solid;
    padding: 1.5em;
    line-height: 1.6;
    text-align: left !important;
    font-size: 15px;
}
#member_form .form input {
    margin-bottom: 7px;
    width: 500px;
    max-width: 100%;
    padding: 10px;
    margin-top: 10px;
}
#member_form .form input.submit:hover{
    background-color: #CCC;
    color: #fff !important;
    font-weight: 600;
}
#member_form .form label {
    display: block;
}
#member_form .form input:focus {
    outline: none;
}
#member_form .form input.error {
    border: 2px solid red !important;
}
#member_form .form .agree-wrapper input{
    width: 25px !important;
}

#member_form .form .agree-wrapper a,
#member_form .form .agree-wrapper a:visited{
    color: #000 ;
    border-bottom: dotted 1px #666;
}
#member_form .form .agree-wrapper .agree-label {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  border: 2px solid transparent;
}
#member_form .form .agree-wrapper .agree-label.error {
  border-color: red;
}
.footer{
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}
.footer p{
    color: #908d8d;
    font-size: 13px;
    text-align: right;
}
/* /form */

@media only screen and (max-width: 700px){
    header {
        margin: 0 auto;
    }
    header img {
        max-width: 150px;
        margin: 0px 0 15px 0;
    }
    #member_form .top, #member_form .top span {
        font-size: 20px;
    }
    #member_form .top span{
        font-size: 20px;
    }
    #member_form {
        margin: 20px auto;
    }
    #member_form .form{
        width: 100%;
        padding: 0;
    }
    #member_form .form table th{
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
    #member_form .form table td{
        width: 100%;
    }
    #member_form .form input {
        width: 100%;
    }
    .footer p{
        text-align: left;
    }
}
@media only screen and (max-width: 500px){
        #member_form .top, #member_form .top span {
        font-size: 4.8vw;
    }
}