@charset "utf-8";

/* CSS Document */

@media screen and (max-width: 640px) {

/* header */
#header_wrap {
	width: 100%;
    height: 35px;
    font-size: 16px;
    background: #77779e;
    position: relative;
}
#header_wrap p{
	display: inline-block;
    position: absolute;
    right: 0;
    bottom: 8%;
}
#header_wrap p a{
	border: 1px solid #fff;
    padding: 4px 10px 3px;
    border-radius: 5px;
    font-size: 12px;
    color: #fff;
}
#header_wrap p a:hover{
	background: #fff;
    color: #77779e;
}

.c3d_logo {
	display: inline-block;
    width: 45%;
    margin: 7% 0 20px;
}
.c3d_logo img{
	max-width: 300px;
    width: 100%;
}
.sunstar_logo {
	display: inline-block;
    width: 30%;
    float: right;
    margin-top: 12%;
}
.sunstar_logo img{
	max-width: 150px;
	width: 100%;
}


/* common */
h2{
    font-size: 16px;
    color: #006694;
	border: none;
    border-left: 5px solid #006694;
    font-weight: normal;
    padding-left: 10px;
    margin-bottom: 10px;
}
h5 {
    font-size: 16px;
    color: #006694;
	margin-bottom: 15px;
}

.contents_top {
    background: #fff;
    box-shadow: 0 0 5px #c5c5c5;
	width:100%;
    margin: 0 0 50px;
    padding: 0 15px 35px;
}
.contents_top #breadcrumb {
}
.contents_top #breadcrumb p,.contents_top #breadcrumb p a{
	font-size: 13px;
	font-weight: bold;
    vertical-align: top;
    letter-spacing: 1px;
	display: inline-block;
	position: relative;
	font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}
.contents_top #breadcrumb p{
	padding: 0 30px;
    margin: 10px 5px 25px;
	line-height: 1.3em;
	border-right: 1px solid #77779e;
	border-left: 1px solid #77779e;
	-webkit-transform: skewX(150deg);
	-moz-transform: skewX(150deg);
	transform: skewX(150deg);
}
.contents_top #breadcrumb p span{
	transform: skewX(-150deg);
    display: block;
}
.contents_top #breadcrumb p a{
	color: #77779e;
}
.contents_top #breadcrumb p a:hover {
	color: #FF5000;
}

.contents_top .sec_contents{
	margin: 10px 0 40px;
}
.contents_top .sec_contents:last-of-type{
	margin-bottom: 0;
}

article img{
	max-width:100%;
	margin-left:auto;
	margin-right:auto;
	display:block;
}
article p{
	margin-bottom:20px;
}
article p:last-of-type{
	margin-bottom:0px;
}

.text_bx01{
	border:rgba(244,64,67,1.00) 2px solid;
	color:rgba(244,64,67,1.00);
	padding:3px;
	display:inline-block;
	font-size:12px;
	margin:auto 10px;
	height:auto;
	line-height:1em;
	 font-family: "繝偵Λ繧ｮ繝手ｧ偵ざ Pro W3","Hiragino Kaku Gothic Pro","繝｡繧､繝ｪ繧ｪ",Meiryo,Osaka,"?ｭ?ｳ ?ｰ繧ｴ繧ｷ繝?け","MS PGothic",sans-serif;
	 background:rgba(244,244,244,0.7);
}

.link_dec01{
	color:#0044CC;
	text-decoration:underline;
}
.link_dec01:hover,.link_dec01:active{
	color:#FF5000;
	text-decoration:underline;
}
.link_dec01:visited {
	color:#2D0066;
	text-decoration:underline;
}

.link01{
    color: #fff;
	font-size: 16px;
    border-radius: 5px;
    background: #965961;
    border: 1px solid #965961;
    padding: 7px 25px;
}
.link01:hover,.link02:hover{
    border: 1px solid #FF5000;
 	background-color: #FF5000;
	color: #fff;
}
.link02{
    color: #965961;
	font-size: 16px;
    border-radius: 5px;
    border: 1px solid #965961;
    padding: 7px 25px;
}


.text_notice01{
    color: #555;
    font-size: 13px;
	position: relative;
    left: 14px;
}
.text_notice01:before{
	content:"※";
	margin-left: -13px;
}



/*tab */
#tab-box  {
	list-style: none;
	text-align: center;
	display: block;
}
#tab-box ul {
	list-style: none;
	margin-bottom: 0;
	line-height:0;
}
#tab-box ul li {
	display:inline;
	font-size:0;
}
#tab-box ul li a img{
outline:none;
border:none;
width:20%;
}
#tab-box div {
	display:none;
	margin-bottom:30px;
	background-color:#727171;
}
#tab-box div.dentistry_back {
	display:none;
	margin-bottom:30px;
	background-color:#006694;
}
#tab-box div.education_back {
	display:none;
	margin-bottom:30px;
	background-color:#965961;
}
#tab-box div.aid_back {
	display:none;
	margin-bottom:30px;
	background-color:#11979F;
}
#tab-box div.checkup_back {
	display:none;
	margin-bottom:30px;
	background-color:#77779e;
}
#tab-box div.foundation_back {
	display:none;
	margin-bottom:30px;
	background-color:#008cd6;
}
#tab-box p img{
	width:49%;
}

/* footer */
#footer_wrap{
	border-bottom:solid 1px #FF5000;
}


footer {
	width::100%;
	text-align:center;
}

footer ul li{
	font-size: 10px;
	display: inline;
	float:left;
	margin-left: 3%;
	width:47%;
	text-align:left;
	background-image: url(../images/common/list_tri.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left:10px;
}
footer ul:after{
	clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

#copy {
	font-size:10px;
	display: block;
	text-align: center;
	letter-spacing: 0.1em;
}

#back-top{
	right:0px;
	height:80px;
	position:fixed;
	bottom:210px;
}
#back-top_main{
    position: absolute;
    right: 10px;
}


/* contents_parts */
dl {
	line-height: 1.5em;
    padding-left: 17px;
}
dl dt{
	float: left;
    background: #cce0ea;
    border-left: 2px solid #006694;
    margin-right: 10px;
    padding: 0 15px;
}
dl dd{
	margin-bottom: 10px;
	margin-left: 85px;
}
dl dd:last-of-type{
	margin-bottom: 0;
}
dl dd:after{
    clear: both;
    content: "";
    display: block;
}


table{
    width: 100%;
	font-size: 14px;
    border-spacing: 0;
	border-collapse: collapse;
    margin: 0 0 20px;
}
table th,table td{
	padding: 15px 10px;
}
table th{
	background: #cce0ea;
}
table td{
    text-align: left;
}
table tr th:first-of-type {
	width: 38%;
	border-bottom: 1px solid #fff;
}


form div{
    font-size: 14px;
    line-height: 25px;
	margin-bottom: 35px;
}
form div h5 {
    margin: 0 0 10px;
}
form div p{
    margin-bottom: 15px;
    margin-left: 25px;
}
form div p span:first-of-type{
    display: inline-block;
    width: 25px;
    font-weight: bold;
    margin-left: -25px;
}
form div p span:first-of-type:after{
	content: "）";
    color: #22B9F1;
    position: relative;
    left: 3px;
}
form div input[type="radio"]{
	margin-right: 10px;
	margin-left: 2px;
}
form div > input[type="radio"] {
    margin-left: 8px;
}
form div input[type="checkbox"]{
    margin: 0 5px 0 10px;
    position: relative;
    top: 1px;
}
form table input[type="text"]{
	-webkit-appearance: none;
	padding: 6px;
    width: 100%;
	font-size: 14px;
    border-radius: 3px;
}
form table input[type="password"]{
	-webkit-appearance: none;
	padding: 6px;
    width: 100%;
	font-size: 14px;
    border-radius: 3px;
}
form table span.red{
    font-size: 12px;
    display: block;
    margin: 3px 5px 0;
}
form table select{
	font-size: 14px;
    margin: 0 5px 0 10px;
}
form table select:first-of-type{
	margin-left: 0;
	margin-bottom: 8px;
}

form .button{
    padding: 0;
	margin: 0;
	text-align: right;
}
form .button input[type="submit"]{
	-webkit-appearance: none;
	display: inline-block;
    color: #fff;
	font-size: 16px;
    border: 1px solid #006694;
    border-radius: 5px;
    background: #006694;
	margin: 0;
    padding: 7px 10px;
    cursor: pointer;
	transition: all .3s;
}
form .button input[type="submit"]:hover{
	border: 1px solid #2797c6;
 	background-color: #2797c6;
	color: #fff;
}
form .button input[type="submit"]{
	-webkit-appearance: none;
	display: inline-block;
}
form .button button,.contents_top > .button button{
	display: inline-block;
    color: #006694;
	font-size: 16px;
    background: #ececec;
    border-radius: 5px;
    border: 1px solid #006694;
	vertical-align: top;
    margin: 0 10px 0 0;
    padding: 7px 10px;
    cursor: pointer;
    transition: all .3s;
	opacity: 1;
}
form .button button:hover,.contents_top > .button button:hover{
	opacity:0.7;
}
.contents_top > .button {
    margin-top: 10px;
}
.contents_top > .button button{
    background: #fff;
}

/* contents */
.contents_top #topics {
	margin:0;
}
.contents_top #topics p{
    padding-left: 20px;
    position: relative;
}
.contents_top #topics > p:first-of-type{
	margin-top:10px;
}
.contents_top #topics > p:last-of-type{
	margin-bottom: 40px;
}
.contents_top #topics p::before {
    content: "";
    height: 2px;
    width: 8px;
    background: #006694;
    position: absolute;
    top: 50%;
    left: 5px;
}
.contents_top #member{
	border-bottom: 1px dotted;
    border-top: 1px dotted;
    background: #f2f2f2;
    padding: 15px 0;
    margin-bottom: 20px;
}


/* m_top */
#d_m_top .p_m_top{
	margin: 15px 0 0;
}
#d_m_top > .p_m_top::before {
    content: "";
    margin-right: 0;
}
#d_m_top .p_m_top span{
	margin-left: 5px;
}

#d_m_top .t_sp{
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    position: relative;
	margin: 20px 0;
}

#d_m_top table {
	width: auto;
    white-space: nowrap;
	border-bottom: 2px solid #eee;
	margin: 0 0 10px;
}
#d_m_top table th,#d_m_top table td{
	padding: 20px 15px;
}
#d_m_top table tr:nth-child(even) th{
	background: #fff;
}
#d_m_top table tr:nth-child(odd) th{
	background: #eee;
}
#d_m_top table tr:nth-of-type(1) th,
#d_m_meibo table tr:nth-of-type(1) th{
	border-right: 1px solid #fff;
	background: #cce0ea;
}
#d_m_top table td,
#d_m_meibo table td{
	text-align: center;
}
#d_m_top table tr:nth-of-type(n+2) th{
	font-weight: normal;
}
#d_m_top table tr th:first-of-type {
	border-bottom: none;
}

#d_m_top table span.blue{
	font-size: 10px;
	padding-bottom: 15px;
    background: url(../img/mark.png) no-repeat center bottom 5px/10px;
}

/* m_meibo */
#d_m_meibo table th,#d_m_meibo table td{
	padding: 15px 5px;
}
#d_m_meibo table td{
	padding: 10px;
    font-size: 12px;
}
#d_m_meibo table tr th:first-of-type , #d_m_meibo table tr td:first-of-type {
	border-bottom: none;
    color: #006694;
    font-weight: bold;
}
#d_m_meibo table tr:nth-of-type(1) th {
	width: 37%;
	font-size: 13px;
}
#d_m_meibo table tr th:nth-of-type(1){
	width: 5%;
}
#d_m_meibo table tr th:nth-of-type(2){
	width: 20%;
}


/* q_top */
#d_q_top > p {
    margin-bottom: 20px;
}

#d_q_kaku pre{
	word-break: break-all;
	white-space: pre;          
	white-space: pre-wrap;     
	white-space: pre-line;     
	white-space: -pre-wrap;    
	white-space: -o-pre-wrap;  
	white-space: -moz-pre-wrap;
	white-space: -hp-pre-wrap; 
	word-wrap: break-word;
	margin-bottom: 15px;
}

/* q_kaku */
#d_q_kaku section > p{
	margin-bottom: 20px;
}


/* i_end */
#d_i_end section{
	margin-bottom: 15px;
}
#d_i_end h3{
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: normal;
}
#d_i_end h3 span{
    font-size: 18px;
    color: #006694;
    margin-right: 10px;
    font-weight: bold;
}
#d_i_end > p{
	margin-bottom: 10px;
}
#d_i_end > p::before {
    content: "";
    margin-right: 0;
}

/* setting */
#setting form table tr:first-of-type th:first-of-type{
	border-right: 1px solid #fff;
}
#setting form table tr th{
	font-size: 13px;
	padding: 15px 5px;
}
#setting form table tr td{
	font-size: 12px;
	padding: 15px 5px;
}
#setting form table tr td input{
	margin-bottom: 3px;
}

.q_img img{
	max-width: 100%;
	height: atuo;
}
}
@media (orientation: landscape){
form table input[type="text"] {
    width: 100%;
				}
}