﻿@charset "UTF-8";
/*
	Theme Name: miracle
	Description: 不登校・高校中退・引きこもりにお悩みのお母様のための相談サイト-miracle用テーマです。
	Theme URI:
	Author: Ten design
	Author URI: http://ten-design.net/
	Version: 2.0
	License: 
	License URI: 
	Tags: pink, one-columns

*/


/* ---------------------------------------------------------
 DEFAULT
------------------------------------------------------------ */
/* ALL
------------------------------------------------------------ */
html, 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, ins, kbd, q, s, samp, small, strike, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: normal;
}

html {
	font-style: normal;
	overflow-y: scroll;
	filter: expression(document.execCommand("BackgroundImageCache", false, true));
}

body {
	font-size: 100%;
	vertical-align: baseline;
	color: #643432;
	font-family: "メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	font-size: 95%;
	position: relative;
}

a img {
	border: none;
	text-decoration: none;
	vertical-align: text-bottom;
}

ul {
	list-style: none;
}


a {
	color: #643432;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* MAC and Clearfix
------------------------------------------------------------ */
.clearfix:after {
	display: block; 
	clear: both; 
	height: 0; 
	visibility: hidden;
	content: "."; 
}

.clearfix {
	display: inline-table;
	min-height: 1%;
}

/* Hides from IE-mac */
* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
/* End hide from IE-mac */


/* ---------------------------------------------------------
TEMPLATE
------------------------------------------------------------ */
/* ALL
------------------------------------------------------------ */
body {
	height: 100%;
	background-color: #FFF;
}

/* MAIN
------------------------------------------------------------ */
#contents {
	background-color: #FCF2F0;
}

main p {
	margin-bottom: 15px;
}

main h1 {
	padding: 50px 0 70px;
//	background: url(../img/bg_h1_top.jpg) center top no-repeat;
	text-align: center;
	font-size: 230%;
	font-weight: bold;
}
main div.h1 {
	margin-bottom: 30px;
//	background: url(../img/bg_h1_bottom.jpg) center bottom no-repeat;
}

main h2 {
	margin: 50px 0 20px;
	padding: 12px 0;
	background-color: #FFF;
	text-align: center;
	font-size: 150%;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border: 2px solid #845d42;
}

main h3 {
	margin-bottom: 20px;
	font-size: 130%;
}
main h3 img {
	margin-right: 5px;
	vertical-align: sub;
}

table {
	margin-bottom: 30px;
	border: 3px solid #845d42;
	background-color: #FFF;
	width: 100%;
}
table th,
table td {
	padding: 10px;
	border-bottom: 1px dotted #845d42;
}
table th {
	background-color: #f2f2f0;
	width: 27%;
}

ul li {
	list-style-type: disc;
	margin: 0 0 20px 30px;
}
header ul li,
nav ul li,
footer ul li {
	list-style-type: none;
	margin: 0;
}


/* TOP PAGE
------------------------------------------------------------ */
.home main h2 {
	margin: 0;
	padding: 30px 0;
	background-color: #FFF;
	font-size: 230%;
	text-align: center;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border: none;
	font-weight: bold;
}
.home main h2 span {
	font-size: 60%;
	line-height: 240%;
}

.home h1 {
	padding: 0;
	background: none;
}

.home #box {
	padding: 50px 0 50px 70px;
}

.home main #box dl {
	margin-bottom: 20px;
	margin-right: 20px;
	background-color: #FFF;
	float: left;
	width: 270px;
	border: 1px solid #998682;
	text-align: center;
}
.home main #box dl img {
	margin-top: 15px;
	max-width: 100%;
}
.home main #box dl dt p {
	padding: 10px;
	text-align: center;
}
.home main #box dl dd {
	margin: 10px 20px 20px;
	text-align: left;
}

.home section {
	padding: 10px 70px 40px;
	background-color: #FFF;
}
ul.setsumeikai {
	margin-bottom: 20px;
	padding-top: 30px;
//	background: url(../img/bg_setumeikai.png) center top no-repeat;
}
ul.setsumeikai li {
	margin-left: 0px;
	padding: 10px 0 20px 5px;
//	background: url(../img/bg_setumeikai.png) center bottom no-repeat;
	font-size: 130%;
	list-style: none;
}
p.setsumeikai_btn {
	text-align: center;
}
p.setsumeikai_btn img {
	margin: 0 30px;
}

.linebnr {
	padding: 10px 30px;
	float: left;
	margin: 0 80px;
	text-align: center;
	background-color: #fff;
}

/* ADVICE
------------------------------------------------------------ */
ul.setsumeikai li p img {
	float: right;
}
ul.setsumeikai li p {
	margin: 20px;
	font-size: 80%;
}

p.nittei {
	text-align: center;
	color: #CC0000;
	font-size: 120%;
}

div#moyou p {
	margin: 10px;
	float: left;
}


/* OB/OG
------------------------------------------------------------ */
div.obog {
//	background: url(../img/bg_report_center.jpg) center top repeat-y;
}
div.obog .obog2 {
//	background: url(../img/bg_report_top.jpg) center top no-repeat;
}
div.obog .obog3 {
	margin-bottom: 30px;
	padding: 70px 60px;
//	background: url(../img/bg_report_bottom.jpg) center bottom no-repeat;
}
div.obog img {
	float: left;
	margin: 0 20px 10px 0;
}
div.obog p.nofloat img {
	float: none;
	margin: 0;
}


/* COUNSELOR
------------------------------------------------------------ */
h3.counselor_name {
	margin: 0;
	padding: 13px 40px 0;
//	background: url(../img/bg_counselor_profile.jpg) center top no-repeat #e2e3dd;
	height: 52px;
	font-size: 180%;
}
.counselor {
	margin-bottom: 30px;
	padding: 20px;
	border: 3px solid #845d42;
}
.counselor img {
	float: left;
	margin: 0 20px 10px 0;
}


/* TENNYU
------------------------------------------------------------ */
.train {
	font-weight: bold;
}
#toku select{
	width: 100%;
    padding: 15px;
    font-size: 18px;
    border: 2px solid #845d42;
	background-color: #845d42;
	border-radius: 10px;
    color: #FFF;
    text-align: center;
}
@media screen and (max-width: 511px) {
	#toku select{
		font-size: 14px;
	}
}

table.tennyu {
	margin-bottom: 0px;
	border: 3px solid #845d42;
	background-color: #FFF;
	width: 480px;
	float: left;
}
.tennyu2 {
	float: none !important;
	margin: 50px auto !important;
}
table.tennyu td {
	padding: 5px;
	border: 1px solid #845d42;
}

ul.tennyu {
	margin-bottom: -20px;
}
ul.tennyu li {
	list-style-type: disc;
	margin: 0 15px 10px 30px;
	float: left;
}

main .tennyubotan {
	margin-top: 30px;
	margin-bottom: 0;
	text-align: center;
	font-size: 100%;
}
main .tennyubotan a {
	padding: 5px 50px;
	background-color: #845d42;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border: 3px solid #FFF;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}

/* QA
------------------------------------------------------------ */
dl.qa {
	padding: 30px 30px 10px;
	background-color: #FFF;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
dl.qa dd {
	margin-bottom: 20px;
}
dl.qa dt,
dl.qa dd {
	margin-left: 1.8em;
	text-indent: -1.8em;
}
dl.qa dt::before {
  content: "Q: ";
  font-size: 120%;
  font-weight: bold;
}
dl.qa dd::before {
  content: "A: ";
  font-size: 120%;
  font-weight: bold;
}


/* MAGAZINE
------------------------------------------------------------ */
div.pdf {
	margin: 20px 38px 30px;
	width: 200px;
	float: left;
}
div.pdf p {
	margin-bottom: 0;
	padding: 10px;
	border: 2px solid #f6b74d;
	background-color: #FFF;
	text-align: center;
	font-size: 160%;
	font-weight: bold;
}


/* NEWS
------------------------------------------------------------ */
dl.new dd {
	margin-bottom: 20px;
	margin-left: 30px;	
}

/* PAGE
------------------------------------------------------------ */
.date {
	text-align: right;
}
.adviceform {
	display: none;
}

.single-advice .date {
	display: none;
}
.single-advice .adviceform {
	text-align: center;
	display: inline;
}

.img {
	float: right;
	margin-left: 10px;
}

/* CONTACT
------------------------------------------------------------ */
.mw_wp_form .mwform-radio-field,
.mw_wp_form .mwform-checkbox-field {
	display: block;
	white-space: nowrap;
	float: left;
}
.mw_wp_form .mwform-radio-field label,
.mw_wp_form .mwform-checkbox-field label {
	margin: 0 10px 0 -10px;
}
.mw_wp_form .mwform-radio-field:nth-child(1) label,
.mw_wp_form .mwform-checkbox-field:nth-child(1) label {
	margin: 0 10px 0 0;
}


/* BASE
------------------------------------------------------------ */
.mb30 { margin-bottom: 30px !important;}
.mr50 { margin-right: 50px !important;}
.ml10 { margin-left: 10px !important;}

.txtC { text-align:center;}
.txtR { text-align: right;}
.txtL { text-align:left;}

.floatl,.alignleft {float: left; margin-right: 20px; margin-bottom: 10px;}
.floatr,.alignright {float: right; margin-left: 20px; margin-bottom: 10px;}

.txtsmall { font-size:80%;}

.clear { clear: both;}

.red { color: #cc0000;}


@media print {
	#subnav,#navigation,div#mainarea #menu,div#footer {
		display: none;
	}

  	div#mainarea #contents {
		width: 100%
	}
	.print_none {
		display:none;
	}
}


@media screen and (min-width: 511px) {
/* ---------------------------------------------------------
 WIDE
------------------------------------------------------------ */
/* ALL
------------------------------------------------------------ */
#wrapper {
	margin: 0 auto;
	width: 998px;
	border-left: 1px solid #EFEBE8;
	border-right: 1px solid #EFEBE8;
}

section {
	padding: 50px 85px;
}

/* HEADER
------------------------------------------------------------ */
#narrow_header {
	display: none;
}
#wide_header {
//	background: url(../img/bg_header.jpg) center top no-repeat;
	height: 129px;
}

header p {
	float: left;
	margin-top: 15px;
//	margin-left: 35px;
}
header ul {
	float: right;
	margin-right: 25px;
}
header ul li {
	float: left;
}

/* GLOBAL NAVI
------------------------------------------------------------ */
nav p {
	display: none;
}
nav ul {
	margin-left: 30px;
	position: absolute;
	top: 86px;
	width: 945px;
}
nav ul li {
	float: left;
}

/* TOP PAGE
------------------------------------------------------------ */
#narrow {
	display: none;
}

.home .mainbgal_btn {
	position: absolute;
	top: 350px;
	padding-left: 580px;
}

.home #info {
	padding: 40px 70px 30px;
}
.home #info #left {
	width: 570px;
	float: left;
	margin-right: 40px;
}
.home #info #right {
	width: 230px;
	float: left;
}
.home #right .fb-page {
	width: 100%;
}

.home #info #left .news {
//	background: url(../img/bg_info_center.jpg) center top repeat-y;
}
.home #info #left .news p {
	padding: 30px 30px 0;
	text-align: center;
	font-size: 110%;
//	background: url(../img/bg_info_top.jpg) center top no-repeat;
}
.home #info #left .news dl {
	margin-bottom: 30px;
	padding: 0 30px 10px;
//	background: url(../img/bg_info_bottom.jpg) center bottom no-repeat;
}
.home #info #left .news dl dd {
	margin: 0 0 20px 20px;
}

.home .line {
	padding: 10px 70px 30px;
}


/* CONTACT
------------------------------------------------------------ */
.mw_wp_form  input {
}
.mw_wp_form .fullform {
	width: 95%;
}
.mw_wp_form textarea {
	width: 98%;
}
.mw_wp_form .submit {
	padding: 10px 100px;
	background-color: #FFF;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border: 2px solid #845d42;
	color: #845d42;
	font-size: 120%;
	font-weight: bold;
	cursor:pointer;
}
main .linkbotan {
	margin-top: 70px;
	text-align: center;
	font-size: 120%;
}
main .linkbotan a {
	padding: 15px 80px;
	background-color: #845d42;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border: 3px solid #FFF;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}


/* FOOTER
------------------------------------------------------------ */
footer {
	padding: 100px 20px 20px;
	height: 200px;
//	background: url(../img/bg_footer.jpg) center top no-repeat;
	font-size: 90%;
}

footer ul {
	float: left;
	margin-right: 10px;
	text-align: center;
}
footer ul li {
	margin-bottom: 7px;
}

footer p.office {
	margin-top: 30px;

	text-align: center;
}
footer p.office img {
	margin-top: 20px;
}

address {
	padding-top: 10px;
	height: 50px;
	text-align: center;
	font-size: 82%;
//	background: url(../img/bg_address.jpg) center top no-repeat;
}

}


@media screen and (max-width: 510px) {
/* ---------------------------------------------------------
 NARROW
------------------------------------------------------------ */
/* ALL
------------------------------------------------------------ */
#wrapper {
	width: 100%;
	background-color: #FCF2F0;
	line-height: 1.4;
}

.floatl,.alignleft {float: none; margin-right: 0; margin-bottom: 10px;}
.floatr,.alignright {float: none; margin-left: 0; margin-bottom: 10px;}

table.narrowtable th,
table.narrowtable td{
	padding: 4% 2%;
	width: 96%;
	display: block;
	text-align: center;
	clear: both;
}
 table.narrowtable td:after {
	display: block; 
	clear: both; 
	height: 0; 
	visibility: hidden;
	content: "."; 
}


/* HEADER
------------------------------------------------------------ */
#wide_header {
	display: none;
}
#narrow_header {
	line-height: 0;
}
header p {
	float: left;
	width: 30%;
}
header p.logo {
//	width: 23.4375%;
	width: 100%;
}
header p.header_btn {
	width: 58.1%;
}

/* GLOBAL NAVI
------------------------------------------------------------ */
nav p {
	width: 18.75%;
 	position: absolute;
	top: 0px;
	right: 0px;
	cursor: pointer;
}
nav ul {
	display: none;
 	position: absolute;
	top: 60px;
	right: 0px;
	padding: 5px 0;
	background-color: #FFF;
	width: 70%;
}
nav ul li {
	margin: 10px;
	padding-top: 8px;
	border-top: 1px dashed #998682;
	font-size: 110%;
}
nav ul li:first-child {
	border-top: none;
}
nav ul li a {
	padding: 10px 10px 8px;
	display: block;
}

/* MAIN
------------------------------------------------------------ */
img {
	max-width: 100%;
}

section {
	padding: 30px 20px;
}


/* TOP PAGE
------------------------------------------------------------ */
#wide,
.mainbgal_btn {
	display: none;
}
.home main h1 {
	line-height: 0;
}
.home main h2 {
	padding: 20px;
}

.home main #box {
	float: none;
	padding: 20px;
}
.home main #box dl {
	width: 100%;
}

.home section {
	padding: 20px;
}

.home p.setsumeikai_btn img {
	margin: 0 0 30px;
}

.home #info {
	padding: 20px;
}
.home #info #left {
}
.home #info #right {
	text-align: center;
}

.home #info #left .news {
//	background: url(../img/bg_info_center.jpg) center top repeat-y;
	background-size: 100%;
}
.home #info #left .news p {
	padding: 30px 30px 0;
	text-align: center;
	font-size: 110%;
//	background: url(../img/bg_info_top.jpg) center top no-repeat;
	background-size: 100%;
}
.home #info #left .news dl {
	margin-bottom: 30px;
	padding: 0 20px 10px;
//	background: url(../img/bg_info_bottom.jpg) center bottom no-repeat;
	background-size: 100%;
}
.home #info #left .news dl dd {
	margin: 0 0 20px 20px;
}

.home .line {
	padding: 20px;
}

.linebnr {
	float: none;
	margin: 0 0 20px;
	text-align: center;
}


/* ADVICE
------------------------------------------------------------ */
ul.setsumeikai li p img {
	float: none;
	text-align: center;
}
ul.setsumeikai li p {
	margin: 20px;
	font-size: 80%;
}

div#moyou p {
	margin: 10px;
	float: none;
	text-align: center;
}


/* OB/OG
------------------------------------------------------------ */
div.obog {
	background-size: 100%;
}
div.obog .obog2 {
	background-size: 100%;
}
div.obog .obog3 {
	padding: 30px;
	background-size: 100%;
	text-align: center;
}
div.obog img {
	float: none;
	margin: 0;
}
div.obog p {
	text-align: left;
}

/* COUNSELOR
------------------------------------------------------------ */
h3 {
	margin-bottom: 20px;
	font-size: 20%;
}

/* QA
------------------------------------------------------------ */
dl.qa {
	padding: 20px 15px 10px 20px;
}
dl.qa dd {
	margin-bottom: 20px;
}

/* TENNYU
------------------------------------------------------------ */
table.tennyu {
	margin-bottom: 0px;
	border: 3px solid #845d42;
	background-color: #FFF;
	width: 100%;
	float: none;
}

main div.obog p.tennyubotan {
	margin-bottom: 10px;
	text-align: center;
}
main .tennyubotan a {
	padding: 5px 20px;
}


/* MAGAZINE
------------------------------------------------------------ */
div.pdf {
	margin: 20px auto 40px;
	width: 200px;
	float: none;
}

/* CONTACT
------------------------------------------------------------ */
.mw_wp_form th,
.mw_wp_form td {
	padding: 4% 2%;
	width: 96%;
	display: block;
	text-align: center;
	clear: both;
}
.mw_wp_form td:after {
	display: block; 
	clear: both; 
	height: 0; 
	visibility: hidden;
	content: "."; 
}

.mw_wp_form input {
}
.mw_wp_form .fullform {
	width: 86%;
}
.mw_wp_form textarea {
	width: 90%;
}
.mw_wp_form .submit {
	padding: 10px 0;
	width: 95%;
	text-align: center;
	background-color: #FFF;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border: 2px solid #845d42;
	color: #845d42;
	font-size: 120%;
	font-weight: bold;
	cursor:pointer;
}
main .linkbotan {
	margin-top: 50px;
	text-align: center;
	width: 90%;
	padding: 15px 5%;
	background-color: #845d42;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border: 3px solid #FFF;}
main .linkbotan a {
	padding: 0;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}


/* FOOTER
------------------------------------------------------------ */
footer {
	padding: 20px;
//	background: url(../img/narrow_bg_fotter.jpg) center bottom no-repeat;
	background-size: 100%;
}

footer ul {
	display: none;
}

footer p.office {
	margin: 70px 0 10px;
	text-align: center;
}
footer p.office img {
	margin-top: 20px;
}

address {
	padding: 10px 0;
	text-align: center;
	font-size: 82%;
//	background: url(../img/narrow_bg_address.jpg) center top no-repeat;
}

}



