@charset "utf-8";

/*
Theme Name: r_mystyle

*/

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
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, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}
img{vertical-align:top;}
a img:hover{opacity:.8;}
table {width:100%;border-collapse: separate;border-spacing: 0;}
td{vertical-align: middle;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;transition:all 0.3s;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

* {
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 -o-box-sizing: border-box;
 -ms-box-sizing: border-box;
  box-sizing: border-box;
}


body{
font-family: 'Noto Sans JP', serif;font-weight:400;font-style: normal;
font-size:18px;
color:#333;
-webkit-text-size-adjust: none;
background:#fff;
line-height:1.7;

}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
transition:all 0.3s;
}


a:hover, a:active{
outline: none;
color:#347CDA;
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li{zoom: 1;}


/* フォーム
------------------------------------------------------------*/


/* レイアウト
------------------------------------------------------------*/
#wrapper{
margin:0 auto 0;
width:100%;
overflow:hidden;
}

.inner{
margin:0 auto 0;
width:1000px;
}

.inner1200{
margin:0 auto 0;
width:1200px;
}

.inner900{
margin:0 auto 0;
width:900px;
}

.inner800{
margin:0 auto 0;
width:800px;
}

#header{
overflow:hidden;
background:#fff;
}

#content{
width:100%;
padding:0;
margin:0px auto 0;

}

#sidebar{
width:300px;
float:left;
margin:30px 20px 0 0;
}


#footer{clear:both;padding:0;font-size:14px;background:#037b8d;margin-top:50px;}
#footer_top{position: absolute;bottom:0;left: 50%;transform: translateX(-50%);z-index:1000000;font-size:14px;width:100%;}
.def_line{border-top:#a5a165 1px solid;padding-top:80px;margin-top:50px;}


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
header h1{position: absolute;top: 0;left: 50%;transform: translateX(-50%);z-index:1000000;font-family: 'Noto Sans JP', serif;font-weight:200;color:#333;width:100%;text-align:center;}
.concept{position: absolute;top: 30%;left: 50%;transform: translateX(-50%);z-index:1000000;text-align:center;font-family: 'Noto Sans JP', serif;font-weight:200;color:#333;width:100%;}


/* ロゴ (サイトタイトル)
----------------------------------*/

/* トップページ　メイン画像
----------------------------------*/
#mainphoto{position: relative;width: 100%;min-height: 100vh;background: url(/wp-content/uploads/2025/05/top.jpg) center / cover;margin-top:-84px;}
#mainphoto_contact{position: relative;width: 100%;min-height: 100vh;background: url(/wp-content/uploads/2025/05/contact.jpg) center / cover;margin-top:-84px;}
#mainphoto_staff{position: relative;width: 100%;min-height: 100vh;background: url(/wp-content/uploads/2025/05/staffimg.jpg) center / cover;margin-top:-84px;}
#mainphoto_course{position: relative;width: 100%;min-height: 100vh;background: url(/wp-content/uploads/2025/05/system.jpg) center / cover;margin-top:-84px;}

#topphoto{position: relative;width: 100%;min-height: 100vh;background: url(/wp-content/uploads/2025/06/recback.jpg) center / cover;}
.toptxt{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width:900px;}
#mainphoto img,.toptxt img{width:100%;}


.post{margin:0 auto;padding:0;}
.post_blog{float:right;width:680px;margin:30px 0;}
img.aligncenter { display: block; margin:30px auto!important;}
.post_blog img{margin:20px auto 20px;max-width:500px;border-top:1px dotted #ccc;border-bottom:1px dotted #ccc;padding:10px 0;text-align:center;}
.post_blog p{margin-bottom:1em;}



/* フッター
*****************************************************/
.foot_area{display:flex;justify-content:space-between;flex-wrap:wrap;}
.foot_add{width:380px;font-size:16px;}
.foot_map{width:580px;}
.foot_logo{width:234px;margin:0 auto 15px;}
.foot_logo img{width:100%;}

#footer p{line-height:1.5;}



#copyright{
font-size:14px;
padding:15px 0;
clear:both;
width:100%;
color:#fff;
text-align:center;
}
#copyright a{color:#fff;}
.sptel{display:none;}

/* 1100px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 999px){

div#wrapper{width:100%;}
body{font-size:16px;}
.post{margin:0 auto;padding:0 0;}
div.inner{width:90%;margin:0 auto;}
#content{clear:both;width:100%;padding:0;}
picture img{width:100%;}

.post_blog{width:100%;float:none;}
#sidebar{width:100%;float:none;margin:30px 0px 0 0;}
.toptxt{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width:90%;}
}



/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
#mainphoto,#mainphoto_contact,#mainphoto_staff,#mainphoto_course{margin-top:-60px;}


}	


