@charset "UTF-8";

/*　↓↓　リセットCSSここから　↓↓　*/
body, div,
dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6,
pre, form, fieldset, input, textarea,
p, blockquote, th, td {
	margin:0;
	padding:0;
}


table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset, img {
	border:0;
}
address, caption, cite, code, dfn, em, strong, th, var {
	font-style:normal;
	font-weight:normal;
}
ol, ul {
	list-style:none;
}
caption, th {
	text-align:left;
}
h1, h2, h3, h4, h5, h6 {
	font-size:100%;
	font-weight:normal;
}
q:before, q:after {
	content:'';
}
abbr, acronym {
	border:0;
}
/*　↑↑　リセットCSSここまで　↑↑　*/
/*　↓↓　共通CSSここかから　↓↓　*/
* {
    text-decoration: none;
	margin:0;
	padding:0;
    color: #2f2f2f;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body {
    width: 100%;
}

a:hover {
    opacity: 0.7;
}

p {
    font-size: 100%;
    line-height: 1.7;
}
/*　↑↑　共通CSSここまで　↑↑　*/
/*　↓↓　背景用ここから　↓↓　*/
body {  
  background-image:url(haikei.png);
}
/*　↑↑　背景用ここまで　↑↑　*/
/*　↓↓　メインここから　↓↓　*/

.wrapper { 
   width: 90%; 
   margin: auto;
}

.titlebox {
    max-width: 80%;
    margin: auto;
    background-color: #5c6d76;
    /*ガイド*/
    /*border: 3px solid #110085;*/
}

h1 {
    font-size: 35px;
    font-weight: bold;
	text-align: center;    
	color: #fff;
}

.mainbox {   
    max-width: 80%;
    margin: 28px auto 5px auto;
    padding: 10px 10px 10px 10px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    /*ガイド*/
    /*border: 3px solid #110085;*/
}

#summary {
    font-size: 1.1em;
}

.item-box {
    font-weight: bold;
    font-size: 1em;
    width: 48%;
    /*border: 3px solid #009900;*/
    text-align: right;
    padding-right: 20px;
    /*margin-right: 5%;*/
}

.blocks {
    /*border: 3px solid #ee2299;*/
    width: 48%;
    padding-left: 20px;
}

label {
    font-weight: bold;
}

#woman {
    margin-left: 20px;
}

/*必須表示*/
.required {
    background-color: #ff0000;
    color: #ffffff;
    margin-right: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
}

/*送信ボタンの上の文*/
.send-message {
    border-top: 6px dashed #888888;
    margin: 0px 0px 10px 0px;
    max-width: 100%;
}

.send-message p {
    margin-top: 15px;
}

input{    
	max-width: 80%;
}

#sub-button {
    margin: 0px auto 10px auto;
}

#sub-button {
    /*ガイド*/
    /*border: 3px solid #110085;*/
    width: 250px;
    margin: 0 auto 0 auto;
    display: flex;
}

#confirm {
    /*　↓↓　buttonのリセットCSS　↓↓*/
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    /*　↑↑　リセットCSSここまで　↑↑　*/
    width: 200px;
    height: 50px;
    font-size: 1.2em;
    font-weight: bold;
    padding: 2px 30px;
    border: 2px solid #167c1d;
    background-color: #167c1d;
    color: #ffffff;
    border-radius: 5px;
    margin: 10px auto 10px auto;
    justify-content: center;
}

/*.mainbox {
    display: flex;
    flex-wrap: wrap;
}*/

/*確認ボタンホバーアクション*/
#confirm:hover {
    background-color: #ffffff;
    color: #167c1d;
}

#inputName {
    width: 270px;
}

input#phoneNum {
    width: 270px;
}

input#mailAddress {
    width: 270px;
}

#inquiry {
    width: 80%;
}

/*　↑↑　メインここまで　↑↑　*/
/*　↓↓　レスポンシブここから　↓↓　*/
@media screen and (max-width: 500px){
    .mainbox {
        max-width: 100%;
        display: block;
    }
    
    select{
        font-size: 100%;
        max-width: 100%;
    }
    option{  
        font-size: 100%; 
  }
    input#date {
        font-size: 15px;
    }
        
    input {
        max-width: 99%;
        font-size: 100%;
    }
    
    #inputName {
        max-width: 100%;
    }
    
    textarea {
        max-width: 100%;
        width: 90%;
    }
    
    textarea#inquiry {
        font-size: 120%;
    }
    
    h1 {
        font-size: 1.5em;
    }
        
    #date {
        width: 50%;
    }
        
    /*.mainbox {
        display:flex;
        flex-wrap: wrap;
    }*/
    
    .item-box {
        width: 70%;
        text-align: left;
    }
    
    .blocks {
        width: 100%;
    }
    
    #inputName {
    width: 270px;
    }

    input#phoneNum {
    width: 270px;
    }

    input#mailAddress {
    width: 270px;
    }

}
/*　↑↑　レスポンシブここまで　↑↑　*/