@charset "UTF-8";

@-ms-viewport{width:device-width;}

/*
	Theme Name: medical-questionnaire
	Description: theme by D-Architects
	Theme URI: 
	Author: Masahiro Yamamoto
	Author URI: http://d-architects.com/
	Version: 1.0.1
	Tags: white, right-sidebar, two-columns

*/

/* CSS Document */

*{
margin : 0; padding : 0;
font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, "游ゴシック", YuGothic;
line-height:100%;
}

body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
}

address{
font-style: normal;
}

h1,h2,h3,h4,h5,h6{
font-style: normal;
font-weight: normal;
}

table{border-spacing:0; table-layout:fixed;}
* html table{border-collapse:collapse;}
*:first-child+html table{border-collapse:collapse;}
caption,th{text-align:left; font-weight:normal;}
table,th,td,img,p{border:0;}
img,input{vertical-align:middle;}
q:before,q:after{content:'';}
ul,ol{list-style: none;}

td{
vertical-align:top;
}

img{font-size:1px;
line-height:100%;
vertical-align: top;
}

/* --- link --- */
a {
color: #656565;
text-decoration:none;
}

a:visiteded {
color: #656565;
text-decoration:none;
}

a:hover {
color: #656565;
text-decoration:none;
}

/*LAYOUT */
body{
	background:#fff; color:#1a1a1a;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

header{padding:32px 0; border-bottom:solid 4px #0066cc;}

#contents{margin:0 auto; padding:64px 0px;}

footer{margin-top: auto; background:#1a1a1a;}

.inner{
	margin:0px auto;
	position:relative;
}

@media (min-width: 768px) {
	.inner {width:960px;}
}
@media (max-width: 767px) {
	.inner {padding:0px 15px;}
}

/*HEAD */
h1 {font-size:24px; text-align:center; line-height:1.0;}

@media (max-width: 767px) {
	
}


/*FOOTER */
.footer{padding:30px 0; border-bottom:#656565 solid 1px; font-size:12px; line-height:12px; color:#656565;}

.footer-copy{border-top:#fff solid 1px; background:#656565;}
.copyright{padding:23px 0px; font-size:12px; line-height:12px; color:#fff; text-align:center;}
.copyright a{font-size:12px; line-height:12px; color:#fff; text-decoration:none;}


@media (max-width: 767px) {

}


/*COMMON */
.pagetit{
	margin-bottom:32px; padding:23px 0;
	font-size:24px; line-height:1em; border-bottom:#1a1a1a solid 1px; font-weight: bold;
}
.pagetit span{padding:0 0 0 16px; border-left:#0066cc solid 4px;}

p.gotop{position: fixed; right: 5%; bottom:10%;}
p.gotop a{display: block; color:#0066cc; font-size:40px;}

.chaptit{margin-bottom:32px; font-size:24px; line-height:1em; color:#1a1a1a; text-align:center; font-weight: bold;}
.subtit{margin-bottom:32px; font-size:20px; line-height:1em; color:#1a1a1a; font-weight: bold;}
.item{margin-bottom:16px; font-size:16px; line-height:1.4em; color:#1a1a1a; font-weight: bold;}

.btm01{margin-bottom:64px;}
.btm02{margin-bottom:48px;}
.btm03{margin-bottom:16px;}

.prologue li{margin-bottom: 16px;}

.answer{margin-bottom: 32px; text-align: center;}
.other{margin-bottom: 8px; padding-top: 24px;}

.prologue{font-size: 16px; line-height:1.8em;}

.qa-select dt{margin-bottom:16px; font-weight: bold;}
.qa-select dd{margin-bottom:32px;}

@media (max-width: 767px) {

}

/*お問い合わせ */
.contact-form{
	margin-bottom:20px;
	width:100%; table-layout:fixed; border-collapse: collapse;
	}
.contact-form th,.contact-form td{
	padding:10px; vertical-align:middle; line-height:1.4;
	border: #ccc solid 1px;
}
.contact-form th{
	width:24%; background:#efefef; font-weight: bold;
}
.contact-form td{}

.contact-btn{text-align:center;}
.confirm-txt{margin-bottom:30px; line-height:1em; text-align:center;}
.comp-txt{margin-bottom:30px; line-height:1.4em;}

.box-btn{text-align: center;}

.box-btn li{display: inline-block; margin-right: 16px;}
.box-btn li:last-child{margin-right: 0px;}
.box-btn li a{
	border-radius: 4px;
	color: #fff;
	font-size: 16px; font-weight: bold;
	display: block; padding: 13px 16px;
	text-align: center; text-decoration: none;
}
.box-btn li a{
	border: solid 1px #0052a4;
	background: rgb(0,102,204); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(0,102,204,1) 0%, rgba(0,82,164,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,102,204,1) 0%,rgba(0,82,164,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,102,204,1) 0%,rgba(0,82,164,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0066cc', endColorstr='#0052a4',GradientType=0 ); /* IE6-9 */
}
.box-btn li a:hover {opacity: 0.6;}


@media (max-width: 767px) {
	.contact-form th,.contact-form td{padding:2%; width:96%; display:block;}
	.contact-form th{width:96%;}
}


/*Contact Form7用*/
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
	color: #333;
	width: 94%;
	border: 1px solid #ddd;
	font-size: 100%;
	padding: 0.5em;
	border-radius: 4px;
	box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
}
.wpcf7 input.age[type="text"]{
	width: 24%;
}
.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item{
    margin-top:16px;
    display: block;
}

.wpcf7 input[type="submit"] {
	font-size: 100%;
	margin:0 auto;
	padding:19px 0 17px 0;
	width:200px;
	background:#058ed9;
	color: #fff;
	cursor: pointer;
	border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
}

/*Contact Form7用*/
.wpcf7 input[type="submit"]:hover {
	box-shadow: 0 0 1px rgba(0,0,0,.2) inset;
}
.wpcf7 span.wpcf7-not-valid-tip {
	padding-top:5px;
	font-size: 80%;
}

.wpcf7 select {
	display: block;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: 700;
	color: #444;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%; 
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	  linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}
.wpcf7 select::-ms-expand {
	display: none;
}
.wpcf7 select:hover {
	border-color: #888;
}
.wpcf7 select:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222; 
	outline: none;
}
.wpcf7 select option {
	font-weight:normal;
}