@charset "utf-8";

#contact {
}

#contact article h3 {
    background-color:#000000;
    color:#FFF;
    text-align:center;
    line-height:30px;
    font-size:14px;
    margin:0 0 20px 0;
    font-weight:bold;
}


#contact article#tel{
    margin-bottom:20px;
}

#price p {
    text-align:center;
    font-size:120%;
    border-top:solid #000000 5px;
    line-height:1.0;
    padding:30px 0;
    margin:0;
}

#price p em {
    font-weight:bold;
    font-size:140%;
    vertical-align:baseline;
    color:#940002;
}

#price p span {
    font-size:80%;
}

#tel p {
    text-align:center;
    margin-bottom:10px;
    line-height:1.5;
}

#tel p em {
    font-weight:bold;
    font-size:150%;
    vertical-align:baseline;
}

#form p.caution {
    text-align:left;
}

/*===============================================
PC・タブレット用　画面の横幅が600px以上
===============================================*/
@media screen and (min-width: 600px){
    h2 {
    color:#fff;
    font-size:110%;
    line-height:70px;
    text-align:center;
}

    #contact article {
    width:700px;
    margin:0 auto; 
}
}

/*===============================================
スマホ用　画面の横幅が599px未満
===============================================*/
@media screen and (max-width: 599px){
#contact {
    padding-bottom:50px;
}
h2 {
color:#fff;
font-size:1rem;
line-height:50px;
text-align:center;
}

#contact article {
width:90%;
margin:0 auto; 
}

#price p {
border-top: none;
}

#thanks {
    padding-top: 50px;
    text-align: left;
}
}
