/*
Theme Name:the-beginning-4
*/

/* --------------------------------------
ブラウザスタイル初期化
--------------------------------------*/
*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
html, body {
    width: 100%;
}
img {
    vertical-align: bottom;
}

/* --------------------------------------
背景＆基本設定
--------------------------------------*/
html {
    overflow:auto;
}
body {
    font-size:1em;
    background-color: white;
    -webkit-text-size-adjust: none;
    min-width: 980px;
    /* background-image: url("img/bg.png"); */
    /*font-family: "MS PGothic", Arial, "Hiragino Kaku Gothic ProN", "Osaka", sans-serif;*/
    /* font-family:'MS UI 明朝','MS UI mincho','MS明 朝','MS mincho'; */
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',  Meiryo, メイリオ, sans-serif;
    overflow-x: hidden;
    position: relative;
}
img {
    border: none;
}
a {
    color: #000;
    text-decoration: underline;
}
a:link {
    color: #000;
}
a:hover {
    color: #000;
    text-decoration: none;
}
a:visited {
    color: #000;
    text-decoration: underline;
}
p {
    margin: 0;
    padding: 0;
}
ul {
    text-align: left;
    list-style: none;
    margin-bottom: 20px;
}
ol {
    margin-left: 25px;
}
dt {

}
dd {

}
hr {
    overflow: hidden;
    height: 0;
    border: #bdbdbd dotted 1px;
    margin: 5px 0 15px 0;
}

/* --------------------------------------
レイアウト定義
--------------------------------------*/
#base {
}
#bg {
}
.wrapper {
    padding: 0;
    z-index: 1;
    position: relative;
    padding-top: 0px;
    background-color: #ffffff;
}
/*トップページメイン画面*/
#ibox {
    width: 100%;
    height: 500px;
    /* margin-bottom: 60px; */
    position: relative;
    background: url(img/bg-main.jpg), #b2db59;
    background-repeat: no-repeat;
    background-position: center bottom;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
}
#ibox:before {
/*
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
	*/
}
#ibox-in {
    text-align: center;
}
#ibox-in p {
    color: #000000;
    font-size: 2em;
    line-height: 1.7;
    display: inline-block;
}
#ibox-in .ibox-big {
    font-size: 3em;
    background: rgb(255 255 255 / 70%);
    padding: 2px 10px;
}
/*キャッチを画像にする場合*/

#content {
    padding: 0 0;
    width: 1000px;
    margin: 0px auto 0px;
    z-index: 10;
    position: relative;
}
#content img {
}
.wrap-inner {
    padding: 0 0;
    width: 1000px;
    margin: 0 auto;
}
#pan {
    font-size: 0.8em;
    width: auto;
    margin: 10px auto 10px;
    text-align: center;
    color: #4b3416;
}
#pan a {
    text-decoration: none;
}
.breadcrumbs {
    display: inline-block;
}
.infobox {
    display: block;
    text-align: center;
    margin-bottom:20px;
}
.cat {
    font-size: 0.8em;
    font-family: 'Arial', 'Helvetica', sans-serif;
    display: inline-block;
}
.cat a {
    text-decoration: none;
    background: black;
    color: white;
    padding: 4px 10px;
    border-radius: 40px;
}
#content #main .cat p {
    margin-bottom:0;
}
.tags a {
     border: 1px solid #c7c7c7;
    padding: 3px 10px;
    font-size: 0.8em !important;
    margin: 3px;
    border-radius: 2px;
    background-color: white;
    color: black;
    text-decoration:none;
}
.tags a:before {

}

#content #main {
    width: 1000px;
    float: none;
    font-size: 1em;
    line-height: 1.8;
    margin: 0 auto;
    text-align: justify;
}

#content #main .post {
    margin-bottom: 40px;
    background-position: center;
    border: 2px solid #00000075;
}

#content #main.main-sm {
    width: 750px;
    margin: 0;
    order: 2;
}

#content.c-side-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 80px;
}


/* --------------------------------------
各ページタイトル
--------------------------------------*/

#content #main .singletitle a, #content #main .title a {
    color: #2c3b42;
    text-decoration: none;
}
/* --------------------------------------
マウスオーバー設定
--------------------------------------*/
#header .menu li a:hover {
    opacity: 0.60; /* opera  firefox safari */
    filter: alpha(opacity=60); /* ie */
    -ms-filter: "alpha( opacity=60 )";
}
#content #main a:hover img {
    opacity: 0.60; /* opera  firefox safari */
    filter: alpha(opacity=60); /* ie */
    -ms-filter: "alpha( opacity=60 )";
}
#content #side a:hover img {
    opacity: 0.60; /* opera  firefox safari */
    filter: alpha(opacity=60); /* ie */
    -ms-filter: "alpha( opacity=60 )";
}

/* --------------------------------------
ヘッダー定義
--------------------------------------*/
.wrapper_head {
    margin: 0px auto;
    width: 100%;
    z-index: 1000;
    position: relative;
    padding: 0 0 15px;
    background: url(img/bg-nav.png);
    background-repeat: repeat-x;
    background-position: bottom;
background-size: 1947px;
}
header {
    padding: 0 0 0 0;
    margin: 0 0 0;
    background-color: white;
}
#header {
    background-repeat: no-repeat;
    background-position: left top;
    z-index: 1000;
    height: auto;
    margin: 0px auto;
    position: relative;
    transition: all .3s ease-out;
    width: 1000px;
    padding: 0 0 0;
}
/*ロゴ　スクロール時非表示*/
.head-wrap {

}
.header_logo {
    text-align: center;
    position: relative;
}
.header_logo h1 {
    margin: 0 !important;
    line-height: 0;
}
.header_logo img {
    width: 103px;
}
.header_logo a {
    text-decoration: none;
    line-height: 1;
}
/*ロゴ左寄せ*/
.header_logo.logo_left {
    padding: 22px 0;
}
header .info_right {
    display: flex;
    align-items: center;
    background: url(img/bg-mame-h.png);
    background-repeat: no-repeat;
    background-position: top -10px center;
}
header .tel-zone {
    text-align: center;
}
span.tel-n {
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 4px;
}
span.tel-n img {
    margin-right: 5px;
}
span.tel-sub-txt {
    font-size: 0.7rem;
    display: inline-block;
    line-height: 1;
}
header .mail-zone {

}
header .mail-zone a {
    padding: 28px 0 0;
    display: block;
    background: gray;
    height: 108px;
    width: 120px;
    font-size: 0.9em;
    color: white;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
}
header .mail-zone img {
    display: block;
    width: 34px;
    margin: 0px auto 12px;
}

.h-sub {
    display: block;
    font-size: 0.9em;
    position: relative;
    font-family: 'Shippori Mincho', serif;
    font-weight: normal;
}

#pagetop {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
}
a#pagetop:hover {
    opacity: 0.6;
}

/*-------------------------------------
グローバルナビ定義（gnavi・グロナビ）
------------------------------------- */

#gnav {
    background: #ffffff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-size: auto;
    position: relative;
}
#pc-nav-inner {
    width: 1000px;
    margin: 0 auto;
}

#pc-nav {
    flex-wrap: wrap;
    justify-content: space-between;
    display: flex;
    margin: 0;
}
#pc-nav li {
    /* width: 20%; */
    width: auto;
    padding: 0;
    position: relative;
    /* flex: 1; */
}
#pc-nav li a {
    /* border-left: 1px solid; */
    width: 100%;
    height: 38px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    font-size: 1rem;
    padding: 10px 44px;
}
#pc-nav li:last-child a {
   /* border-right: 1px solid;*/
    border-color: #d5cec5;
}
#pc-nav li a:hover {
    /* opacity: 0.6; */
    background: #ecf6d8;
}
#pc-nav li a:hover:after {
    /* 下線を引きたい場合
    border-bottom: 2px solid green;
    position: absolute;
    content: "";
    height: 2px;
    width: 100%;
    bottom: -14px;
    */
}

#sp-nav {
    display:none;
}

#navbutton {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    /* transform: translate(-50%, -50%);*/
    height: auto;
    padding: 0;
    transition: all .5s ease;
    text-align: center;
}

#navbutton .lines {
    background: #009237;
    display: inline-block;
    width: 30px;
    height: 2px;
    position: relative;
    transition: .3s;
    margin: 0 9px 0;
}

#navbutton .lines:after, #navbutton .lines:before {
    background: #009237;
    position: absolute;
    display: inline-block;
    height: 2px;
    content: '';
    transition: .3s;
}

#navbutton .lines:before {
    top: 9px;
    right: 0;
    width: 30px;
}

#navbutton .lines:after {
top: -9px;
    right: 0px;
    width: 30px;
}
    
#navbutton span.menu-tx {
    font-size: 10px;
    display: block;
    margin-top: 6px;
    color: #222;
    font-weight: bold;
}

#navbutton a.xclose {
    display: block;
    position: relative;
    /*padding: 0 0;*/
    margin-top: 0px;
    z-index: 1020;
    cursor: pointer;
}

#navbutton .xclose .lines {
    background: 0 0;
}

#navbutton .xclose .lines:before {
    top: 0px;
    right: 0px;
    transform: rotate3d(0,0,1,45deg);
    transition: .3s;
    width: 30px;
}

#navbutton .xclose .lines:after {
    top: 0px;
    right: 0px;
    transform: rotate3d(0,0,1,-45deg);
    transition: .3s;
}

a#sidr-menu-button {
    display: block;
    position: relative;
    /* height: 80px; */
    /* width: 80px; */
    padding: 8px;
    margin-top: 0px;
    cursor: pointer;
    opacity: 1;
    transition: all .5s ease;
    text-decoration: none;
    /* border: 2px solid #c1e07b; */
    border-radius: 4px;
    background: #c1e07b;
}
#h-nav {
    display: none;
}
/*ハンバーガメニューcss*/
.ac-nav, .sidr-class-ac-nav {
    width: 100%;
    line-height: 1.2;
    margin-top: 10px;
}

.ac-child a, .sidr-class-ac-child a {
    text-decoration: none;
    padding: 14px 20px 14px 40px;
    display: block;
    font-size: 90%;
    position: relative;
}

.ac-child a:last-child, .sidr-class-ac-child a:last-child {
    /*border: none;*/
}

.ac-parent,
.sidr-class-ac-parent,
.ac-alone,
.sidr-class-ac-alone {
    position: relative;
    /* height: 50px; */
    /* border-bottom: 1px solid #fff; */
    /* background-color: #ffffff; */
    color: black;
    text-align: center;
    /* line-height: 50px; */
    cursor: pointer;
    width: 100%;
    float: none;
    clear: none;
    padding: 0;
    text-align: left;
}

.ac-alone a,
.sidr-class-ac-alone a,
.ac-parent,
.sidr-class-ac-parent {
    text-decoration: none;
    padding: 14px 10px 14px 30px;
    display: block;
   
}

.ac-alone a:hover,
.sidr-class-ac-alone a:hover,
.ac-parent:hover,
.sidr-class-ac-parent:hover,
.ac-child a:hover, .sidr-class-ac-child a:hover {
    opacity:0.6;
}


/* 擬似要素で三角形を作成 */
.ac-alone a:before, .sidr-class-ac-alone a:before, .ac-parent:before, .sidr-class-ac-parent:before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #06903b;
    border-right: 2px solid #06903b;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    position: absolute;
    top: 50%;
    left: 10px;
    transition: .3s;
}

.ac-parent:after, .sidr-class-ac-parent:after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #6a6a6a;
    border-right: 2px solid #6a6a6a;
    -webkit-transform: translate(0, -50%) rotate( 45deg);
    transform: translate(0, -50%) rotate( 135deg);
    position: absolute;
    top: 50%;
    right: 12px;
    transition: .3s;
}

/* オープン時にopenクラスを付与 */
.ac-parent.open:after, .sidr-class-ac-parent.open:after {
    transform: rotate(-45deg);
}
.ac-child, .sidr-class-ac-child {
    display: none;
    /* padding: 2em 1em; */
    background-color: white;
    text-align: left;
    padding: 0;
        border: none;
}
.ac-child a:before, .sidr-class-ac-child a:before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid #6a6a6a;
    border-right: 1px solid #6a6a6a;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    position: absolute;
    top: 50%;
    left: 20px;
    transition: .3s;
}


.sidr-class-nav-res {
    padding: 20px;
    background: white;
}
.sidr-class-nav-res a {
    display: block;
    margin: 0 0 10px;
}
.sidr-class-nav-res a img {
    width: 100%;
    height: auto;
}
p.sidr-class-nav-info {
    color: rgb(152, 152, 152);
    line-height: 1.4;
    display: block;
}
p.sidr-class-nav-info span {
    color: #0076c1;
}


/*--ここまで--*/


/* -------------------------------------
ドロップダウン
-------------------------------------*/  
ul.sub-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 48px;
    z-index: 9999;
    width: auto;
    /* background-color: #ffffff; */
    /* opacity: 0.8; */
}
   
ul.sub-menu li {
    float: none;
    position: static;
    background-image: none;
    width: auto;
    border: none;
    width: 100% !important;
    text-align: left;
    padding: 0 !important;
}
ul.sub-menu li:hover {
opacity:0.6;
}
  
ul.sub-menu li a {
    text-indent: 0px;
    font-size: 0.9em;
    padding: 13px 10px;
    color: #000000;
    display: block !important;
    width: 100% !important;
    border: none;
    border-bottom: 1px solid black !important;
    height: auto !important;
    /* text-align: left !important; */
}

ul.sub-menu li a:hover {
    opacity: 0.8;
    background: unset;
}

ul.sub-menu li:hover:before{
    content:none;
}

ul.sub-sub-menu {
    margin-bottom:0;
}
ul.sub-sub-menu li a {
    font-size: 90%;
    color: #3c3c3c;
    line-height: 1.3;
    padding-left: 30px;
    position: relative;
}

ul.sub-sub-menu li a:before {
    content: "∟";
    position: absolute;
    top: 9px;
    left: 7px;
}


/* --------------------------------------
サイドバー定義
--------------------------------------*/
#content #side {
    position: relative;
    float: right;
    /*width: 260px;*/
    width: 200px;
    font-size: 0.9em;
}

#content #side ul li {
    position: relative;
}

#content #side a {
    text-decoration: none;
    margin-left: 20px;
    display: block;
    line-height: 1.6;
    padding: 8px 0;
}

#content #side a:before {

}

/* --------------------------------------
フッター定義
--------------------------------------*/
footer {
  /*  margin-top:60px;  */
    background: white;
}
#footer {
    clear: both;
    text-align: center;
    font-size: 0.85em;
    padding-bottom: 0px;
    background: url(img/bg-nav.png);
    background-repeat: repeat-x;
    background-size: 1947px;
    background-position: center top;
}
/* フッター文字色定義 */
#footer, #footermenu ul a, #copyright a {
}

.footer_logo a {
    text-decoration: none;
    line-height: 1;
}
.footer_logo img {
    width: 103px;
    height: auto;
}
.footer_info {
    margin-top: 20px;
}
.footer_com {
    height: auto;
    /* padding-bottom: 60px;*/
    padding-top: 10px;
    /* background-color: rgb(245, 245, 233); */
}
.footer_com, .footer_com a:visited, .footer_com a:link {
    /*color: rgb(152, 152, 152);*/
}

.footer_top,.footer-nav-wrap {
    width: 1000px;
    margin: 0px auto 0px;
}
.footer_left {
    width: 50%;
    text-align:left;
}
.footer_right {
    width: 50%;
}


#footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 38px 0;
}
#footer-nav a {
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding: 0 28px;
}
#footer-nav a:before {

}
#footer-nav a:hover {
    opacity: 0.6;
}

#footer-nav-sub {
    margin-left: 10px;
}
#footer-nav-sub li {
    width: 100%;
    margin: 0;
}
#footer-nav-sub a {
    font-weight: normal;
    /* color: gray; */
    line-height: 1.4;
    display: block;
    margin: 10px 0;
    padding: 0 0 0 12px;
}
#footer-nav-sub a:before {
    content: "∟";
    color: gray !important;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #49a56f;
    font-size: 0.9em;
    margin-right: 6px;
}

.footer_btm {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 10px 0 30px;
}
.footer_btm_wrap {
    width: 1000px;
    margin: 0 auto;
}
#footermenu {
    margin: 0px 0px 20px 0;
    text-align: left;/* float: right; */
}
#footermenu ul {
    display: inline;
}
#footermenu ul li {
    display: inline-block;
    font-size: 0.85em;
    padding: 0 0 0 10px;
    width: auto;
    white-space: nowrap;
}
#footermenu ul li:first-child {
    padding: 0 0 0 0;
}
#footermenu ul a {
    text-decoration: none;
    font-size: 0.8em;
}
#footermenu ul a:hover {
    opacity: 0.60;
    filter: alpha(opacity=60);
    -ms-filter: "alpha( opacity=60 )";
}

.f-ta-box {
    width: 250px;
	text-align:center;
}
.f-map-box iframe {
    width: 300px;
    height: 200px;
}
.f-ta-box h3 {
    background: #ecf6d8;
    border-radius: 100px;
    color: #00913a;
    font-size: 1rem;
    padding: 9px;
    line-height: 1;
    margin-bottom: 20px;
}
.f-ta-box p {
    text-align: left;
    display: inline-block;
}
.f-ta-box p.acc-txt1 {
    /* font-weight: bold; */
    font-size: 1rem;
    margin-bottom: 16px;
}
.f-ta-box p.acc-txt1 .tkgreen {
    font-weight: bold;
}
.f-ta-box span.tel-n {
    margin-bottom: 16px;
}
span.tth-st {
    font-weight: bold;
    margin-right: 8px;
}

#copyright {
    padding: 0;
    font-size: 0.9em;
    text-align: center;
    /* color: white; */
    color: #333;
}
#copyright a {
    text-decoration: none;
color: #333;
}

/* --------------------------------------
コンテンツ共通パーツ
--------------------------------------*/

#content #main p {
    margin-bottom: 20px;
    padding: 0;
    line-height: 2;
	color:#222;
}
#content #main .singleline {
    overflow: hidden;
}
#submain {
    height: auto;
    position: relative;
    text-align: center;
    margin: 4px 0 0;
    padding: 70px 10px 50px;
    background: url(img/bg-main.jpg), #b2db59;
    background-repeat: no-repeat;
    background-position: center bottom;
}
#submain .h1wrap {
    width: auto;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 30px 50px;
    display: inline-block;
}
#submain h1 {
    color: #00913a;
    font-weight: bold;
    text-align: center;
    padding: 0px 0px 0px;
    font-size: 2rem;
    display: block;
    margin-top: 0px;
    /* font-family: 'Shippori Mincho', serif; */
    width: auto;
}
.dotted {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 15px;
}

.blog-eyecatch {
    margin: 0 0 0;
}
.blog-eyecatch img {
    width: 100%;
    height: auto;
}
.post_box {
    margin-bottom: 40px !important;
    position: relative;
}
.postslink {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
        z-index: 100;
}

.post_box:hover img, .post_box:hover p {
    opacity: 0.8;
}

.news-wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.news_box {
    width: 23%;
    position: relative;
}
.news_box a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.news-wrap:before,.news-wrap:after {
    content: "";
    display: block;
    width: 23%;
    order: 2;
}
.news_box:hover .blog-eyecatch img {
    opacity: 0.6;
}
.exc-wrap {
    font-size: 0.8em;
}
.entry {

}
.datetx {
    padding-top: 10px;
}
.datetx p {
    font-size: 0.9em;
    display: block;
    text-align: left;
    margin-bottom: 0px !important;
}
.e-title {
    text-align: left;
    line-height: 1.7;
    font-size: 1rem;
}



.moretext {
    text-align: center;
    margin-top: 20px;
}

.moretext a {
    display: inline-block;
    padding: 8px 30px;
    border: 1px solid gray;
    border-radius: 4px;
    font-size: 0.8em;
    color: #ffffff;
    text-decoration: none;
}

.moretext a:hover {
    background-color: gray;
    color: white;
}


/* --------------------------------------
コンテンツ背景
--------------------------------------*/

.bg-brown-wrap {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #f5f4e9;
}

.bg-white-wrap {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: url(img/.png),linear-gradient(90deg, #ffffff 0%,#ffffff 100%);
    /* background-image: url(img/.png);
    background-size: contain; */
}


/* --------------------------------------
見出し設定
--------------------------------------*/


/* h1共通部分 */

#toph1 {
    text-align:center;
    background-color: green;
    margin-bottom:20px;
}

.home #content h1 {
    clear: both;
    color: #ffffff;
    font-size: 0.9em;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    position: relative;
    z-index: 10;
    display: inline-block;
    padding: 4px;
}


#content #main h1.singletitle, #content #main h1 {
    clear: both;
    color: #2c3b42;
    font-size: 2em;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: normal;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0;
    margin-top: 18px;
}

#content #main h2 {
    clear: both;
    color: #222222;
    font-size: 1.8em;
    margin: 0 0 0 0;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    padding: 80px 10px 40px;
    text-align: center;
    background: url(img/bg-f-h.png);
    background-repeat: no-repeat;
    background-position: bottom 20px center;
}
#content #main h3 {
    clear: both;
    color: #00913a;
    font-size: 1.4rem;
    margin: 0 0 30px 0;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    padding: 60px 0px 24px;
    text-align: center;
    background: url(img/bg-h-green.png);
    background-position: bottom center;
    background-repeat: repeat-x;
    background-size: 800px;
}
#content #main h4 {
    clear: both;
    color: #222;
    font-size: 1.2rem;
    margin: 40px 0 20px 0;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    background: #ecf6d8;
    padding: 16px 30px;
    border-radius: 10px;
}


#side h3 {
clear: both;
    color: #7b7b7b;
    border-top: #e0e0e0 solid 1px;
    font-size: 1em;
    margin: 30px 0 10px 0;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: normal;
    padding: 12px 0 0;
}
#side h3:first-child {
    margin-top:0px;
}
/*special css*/


/*end special css*/

/* --------------------------------------
デバイスごとの表示
--------------------------------------*/
.sp_only {/* スマホにだけ表示させたいものに使用する */
    display: none;
}


/* --------------------------------------
WordPress FCKEditor table
--------------------------------------*/

table {
    border-collapse: collapse;
    width: 100%;
}
td {
    padding: 10px;
}
/* --------------------------------------
テーブル
--------------------------------------*/

.tablestyle {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
}
.tdstyle {
    background-color: #ffffff;
    padding: 8px 10px;
    width: 26%;
    text-align: center;
    font-weight: normal;
}
.tdstyle_none {
    background-color: #F5F3F3;
    border: 1px solid #d2d2d2;
    padding: 8px 10px;
    text-align: center;
}
.tablestyle td {
    padding: 40px 10px;
    border-bottom: 1px solid #d0d0d0;
}

/*special css*/
/*end special css*/


/* --------------------------------------
<div class="sq?"></div>での 飾り設定
--------------------------------------*/
.sq1, .sq2, .sq3, .sq4, .sqred {
    display: inline-block;
}
/* 色:グレー */
.sq1 {
    border: 1px solid #ECEBEB;
    background-color: #F3F3F3;
    margin: 0 0 20px 0;
    padding: 20px 20px 0 20px;
}
/* 囲み:グレー */
.sq2 {
    border: 5px solid #F3F3F3;
    background-color: #fff;
    margin: 0 0 20px 0;
    padding: 20px 20px 0 20px;
}
/* 色:ピンク */
.sq3 {
    border: 1px solid #FFE8E8;
    background-color: #fff1f4;
    margin: 10px 0;
    padding: 20px 20px 0 20px;
}
/* 囲み:ピンク */
.sq4 {
    border: 5px solid #fff1f4;
    background-color: #fff;
    margin: 10px 0;
    padding: 20px 20px 0 20px;
    ;
}
/* 囲み：赤 */
.sqred {
    border: 1px solid #f29e9e;
    background-color: #fffafa;
    margin: 10px 0;
    padding: 20px 20px 0 20px;
}

/*special css*/
/*end special css*/


/* --------------------------------------
テキスト飾り設定
--------------------------------------*/

.hosoku {
    color: #5a5a5a;
    font-size: 90%;
}
.nini {
    font-size: 0.8em;
    color: gray;
    margin-left: 10px;
}
.hissu {
    font-size: 0.7rem;
    color: white;
    margin-left: 10px;
    background: #f39a9a;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.2;
}
.fs70 {
    font-size: 70%;
}
.fs80 {
    font-size: 80%;
}
.fs90 {
    font-size: 90%;
}
.fs110 {
    font-size: 110%;
}
.fs120 {
    font-size: 120%;
}
.fs130 {
    font-size: 130%;
}
.fs160 {
    font-size: 160%;
}
.fs200 {
    font-size: 200%;
}
.mt0 {
    margin-top: 0px !important;
}
.mt10 {
    margin-top: 10px !important;
}
.mt20 {
    margin-top: 20px !important;
}
.mt30 {
    margin-top: 30px !important;
}
.mt40 {
    margin-top: 40px !important;
}
.mt50 {
    margin-top: 50px !important;
}
.mt60 {
    margin-top: 60px !important;
}
.mt70 {
    margin-top: 70px !important;
}
.mt80 {
    margin-top: 80px !important;
}
.mb0 {
    margin-bottom: 0px !important;
}
.mb10 {
    margin-bottom: 10px !important;
}
.mb20 {
    margin-bottom: 20px !important;
}
.mb30 {
    margin-bottom: 30px !important;
}
.mb40 {
    margin-bottom: 40px !important;
}
.mb50 {
    margin-bottom: 50px !important;
}
.mb60 {
    margin-bottom: 60px !important;
}
.mb70 {
    margin-bottom: 70px !important;
}
.mb80 {
    margin-bottom: 80px !important;
}
.ml10 {
    margin-left: 10px !important;
}
.ml15 {
    margin-left: 15px !important;
}
.ml20 {
    margin-left: 20px !important;
}
.ml25 {
    margin-left: 25px !important;
}
.ml30 {
    margin-left: 30px !important;
}
.pt10 {
    padding-top: 10px !important;
}
.pt20 {
    padding-top: 20px !important;
}

/*テキスト装飾*/
.tk1 {
    font-weight: bold;
    background: linear-gradient(transparent 70%, rgb(255 243 178) 30%);
    padding-bottom: 3px;
}
.tk2 {
    /* color: #e60000; */
    color: #eb7500;
    text-decoration: underline;
    font-weight: bold;
}
.tk3 {
  font-weight: bold;
  background: linear-gradient(transparent 70%, #ff3737 20%);
  padding-bottom: 3px;
}
.tkgreen {
    color: #00913a;
}
.tkora {
    color: #eb7500;
}
.star {
    display: inline-block;
    margin-right: 20px;
    color: #bda357;
}
/*電話番号装飾*/
.telarea {
  border: 1px solid #CECECE;
  margin: 0 0 10px 0;
  padding: 20px 20px 0 20px;
  display: inline-block;
}
.teltext {
  font-size: 2em;
}
.freedial {
  text-align: left;
}
.uline {
    color: #F00;
    text-decoration: underline;
    font-style: italic;
}

/*special css*/

/*end special css*/



/* --------------------------------------
Q&A
--------------------------------------*/
.q {
    background-color: #F3F3F3;
    color: #ff6000;
    padding: 4px;
    font-weight: bold;
}
.a {
    padding: 7px 4px;
    border-bottom: #CCC 1px dotted;
    margin: 5px 0 20px 1em;
    text-indent: -1em;
}
/* --------------------------------------
WordPress 画像貼付け用
--------------------------------------*/
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    float: right;
    margin: 0 0 20px 20px;
    display: inline;
}
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
    display: inline;
}
/* --------------------------------------
youtube・googlemap 埋め込み用
--------------------------------------*/
.yt {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.yt iframe,  
.yt object,  
.yt embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* --------------------------------------
汎用クラス定義
--------------------------------------*/
.clearfix:after {
    content: ".";  /* 新しい要素を作る */
    display: block;  /* ブロックレベル要素に */
    clear: both;
    height: 0;
    visibility: hidden;
}
.clearfix {
    min-height: 1px;
}
* html .clearfix {
    height: 1px;
}


/* --------------------------------------
中央寄せ・右寄せ
--------------------------------------*/
.ac {
    text-align: center;
}
.ar {
    text-align: right;
}
.al {
    text-align: left;
}
/* --------------------------------------
リスト
--------------------------------------*/
ul.ul_1 {
    margin-bottom: 20px;
}
ul.ul_1 li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 1.1rem;
    text-indent: -1.1rem;
}
ul.ul_1 li:before {
    content: "・";
    margin-right: 0.1rem;
}



/* --------------------------------------
レイアウトbox(2列・3列・4列)
--------------------------------------*/
.flexwrap {
  justify-content: space-between;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flexeven {
  justify-content: space-evenly;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#main div.flexwrap:after,#main div.flex-even:after {
    content: none;
}

.two_box {
    width: 48%;
    box-sizing: border-box;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}
.two_box:first-child {
}
.two_box img {
    max-width: 100%;
    height: auto;
}

.three_box {
    width: 31%;
    box-sizing: border-box;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}
.three_box:first-child {

}
.three_box p {

}
.four_box {
    width: 22%;
    box-sizing: border-box;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}
.four_box:first-child {
    margin-left: 0;
}


/* --------------------------------------
電話番号エリア
--------------------------------------*/
.responsedevise {
    border: 1px solid #c1c1c1;
    padding: 15px 5px 15px;
    text-align: center;
    width: 80%;
    margin: 80px auto 0;
    border-radius: 5px;
    position:relative;
    overflow:hidden;
}

/* --------------------------------------
リンクボタン
--------------------------------------*/
.link-t1 {
    text-align: left;
    background: none;
    /* color: #003461 !important; */
    display: inline-block;
    width: auto;
    padding: 6px 14px 6px 0px;
    margin: 0 0 20px;
    text-decoration: none !important;
    line-height: 1.2;
    position: relative;
}
.link-t1:after {

}
.link-t1:hover {
    opacity:0.6;
}
.btn-b {
    display: inline-block;
}

.btn-b a {
    display: inline-block;
    padding: 18px 60px 20px;
    background: black;
    color: white;
    text-decoration: none;
}

.btn-b a:hover {
    opacity: 0.6;
}

.btn-bs {
    display: inline-block;
}

.btn-bs a {
    display: inline-block;
    padding: 16px 40px 18px;
    background: black;
    color: white;
    text-decoration: none;
    font-size:90%;
    margin: 0 5px;
}

.btn-bs a:hover {
    opacity: 0.6;
}


/*  special css*/


/*end special css*/

/* ---------------------
H レスポンシブ用
------------------------*/

/* PC用とモバイル用のロゴを出し分ける */

#pc_logo {
    display: inline;
}
#pc_logo img {
    margin: 0 auto;
}

#content #main p.wp-caption-text {
    margin-top: 2px;
    font-size: 0.9em;
    text-align: center;
    margin-right: 10px;
    padding: 10px 10px 0;
    line-height: 17px;
}



/* --------------------------------------
フォームボタン
--------------------------------------*/

input.wpcf7-form-control {
    height: auto;
    line-height: 2;
    margin: 0px auto;
    border: 1px solid #d8d8d8;
    padding: 10px;
    width: 80%;
}
input.wpcf7-form-control.wpcf7-submit {
    height: auto;
    line-height: 2;
    margin: 40px auto 10px;
    border: none;
    padding: 10px;
    background-color: #00913a;
    width: 220px;
    font-weight: bold;
    font-size: 1.2em;
    color: white;
    cursor: pointer;
    display: block;
}

input.wpcf7-form-control.wpcf7-submit:hover {
    opacity: 0.6;
}
.wpcf7-form-control .wpcf7-list-item {
    display: inline-block;
    margin: 0 20px 0 0;
}
select.wpcf7-form-control {/*プルダウンメニュー*/
    width: auto;
    height: auto;
}
textarea.wpcf7-form-control {
    border: 1px solid #d8d8d8;
    padding: 10px;
    width: 80%;
    line-height: 2;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    /*bodyのフォント指定が効かないため設定*/
}
.s-button {
    text-align:center;
}
.s-button input {
    padding: 10px 40px;
    height: auto;
    margin-top: 50px;
    cursor: pointer;
    width: 200px;
    font-size: 1.2em;
    background-color: black;
    color: white;
    border: none;
}
.s-button input:hover {
    opacity:0.6;
}
/*MW form*/
table.table-form td, table.table-form th {
    vertical-align: middle;
    padding: 22px 0;
    border-bottom: 1px solid #bfbfbf;
}
table.table-form th {
    font-weight: normal;
    text-align: right;
    padding-right: 40px;
    width: 30%;
}
.table-form input[type="text"], .table-form input[type="email"], .table-form input[type="tel"] {
    height: auto;
    line-height: 2;
    margin: 0px auto;
    border: 0;
    padding: 10px 20px;
    width: 100%;
    background: white;
    border-radius: 4px;
border: 1px solid #d1cdc9;
}
table.table-form textarea {
    line-height: 2;
    margin: 0px auto;
    border: 0;
    padding: 10px 20px;
    width: 100%;
    background: white;
    border-radius: 4px;
    border: 1px solid #d1cdc9;
    display: block;
}
.form-btn input[type="submit"] {
    display: inline-block;
    padding: 14px 100px 16px;
    background: #123188;
    color: white;
    text-decoration: none;
    transition: 0.6s;
    font-size: 1.1rem;
    line-height: 1.4;
    border-radius: 100px;
        border: none;
        cursor: pointer;
}
.form-btn input[type="submit"]:hover {
    opacity: 0.6;
}
.form-btn {
    text-align: center;
}


/* --------------------------------------
ページナビ
--------------------------------------*/

.wp-pagenavi {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
#main .wp-pagenavi span.pages {
    display: none;
}
.wp-pagenavi a.page, .wp-pagenavi .current, .wp-pagenavi span {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #dddddd;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 5px;
    border-radius: 6px;
    color: #333333;
}
#main .wp-pagenavi .current {
    border: none !important;
    background: #1f1f1f;
    color: white;
    width: 60px;
}
#main .wp-pagenavi a, #main .wp-pagenavi span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    border: 1px solid #dddddd;
    font-weight: bold;
    position: relative;
    font-size: 0.9rem;
    margin: 5px;
    border-radius: 6px;
}
#main .wp-pagenavi span {
    border: none;
    width: auto;
}
#main .wp-pagenavi a.last,#main .wp-pagenavi a.first {
    font-weight: normal;
    font-size: 0.8rem;
}
.wp-pagenavi a:hover {
    opacity: 0.6;
    border: 1px solid #dddddd !important;
}
.wp-pagenavi a.nextpostslink:before {
    content: '';
    position: absolute;
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #7d7d7d;
    border-right: 2px solid #7d7d7d;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%) rotate(45deg);
}
.wp-pagenavi a.previouspostslink:before {
    content: '';
    position: absolute;
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #7d7d7d;
    border-right: 2px solid #7d7d7d;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
}



/*コンテンツ装飾
ここから*/

h2.features__title .tkgreen {
    font-size: 1.3em;
}
.features__grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 50px;
}
.feature-card {
    width: 48%;
    background: white;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 2px 2px 0 #dbd9c6;
}
.f-mame-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
#content #main .f-mame-wrap h3 {
    width: auto;
    display: inline-block;
    font-size: 1.6rem;
    color: #00913a;
    background: url(img/bg-green-u.png);
    background-repeat: repeat-x;
    background-position: bottom center;
    /* background-size: 263px; */
    padding: 0 0 8px 0;
}
span.f-mame {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 20px;
    background: url(img/f-mame.png);
    /* display: inline-block; */
    background-position: center;
    background-repeat: no-repeat;
    padding: 6px 0 0 0;
    width: 93px;
    height: 78px;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#content #main p.feature-card__text {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0 16px;
}

section.top-news-wrap {
    margin-bottom: 60px;
}
ul.news__list {
    text-align: center;
}

.info-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 40px;
    /* background: #f5f4e9; */
max-height: 200px;
    overflow-y: scroll;
    border-radius: 20px;
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(245, 244, 233, 0.9) 100%);
}
.info-in-box {
    /* max-width: 800px; */
    display: flex;
    align-items: flex-start;
}
#content #main .info-inner p {
    margin: 0 0 10px;
    line-height: 1.6;
}
span.info-datetx {
    margin-right: 20px;
    font-weight: bold;
    color: #06903b;
}

.recruit-box {
    /* border: 2px solid #038d39; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
    background: url(img/bnr-boshu.jpg);
    max-width: 720px;
    height: 210px;
    background-position: center bottom;
    background-size: cover;
    margin: 0 auto;
    /*border-radius: 20px;*/
}
#content #main .recruit-box p {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 1.5rem;
    /* color: #038d39; */
    background: rgb(255 255 255 / 71%);
    padding: 20px 40px;
    border-radius: 20px;
}

table.timetable-table__table td {
    border: 1px solid #d6cf8f;
    padding: 10px;
    font-size: 0.8rem;
}
table.timetable-table__table thead th {
    width: 10%;
    text-align: center;
    /* background: #ebf6d8; */
    border-radius: 100px;
    font-size: 0.9rem;
}
span.t-in-g {
    display: inline-block;
    background: #ebf6d8;
    padding: 10px;
    line-height: 1;
    border-radius: 100px;
    margin-bottom: 10px;
}
table.timetable-table__table tbody th {
    font-size: 0.9rem;
    text-align: center;
    /*color: #06903b;*/
}
table.timetable-table__table tbody td {
    border: 2px solid #bad48d;
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
    height: 78px;
}
td.tt-s-yellow {
    background: #ffffd5;
}
td.tt-s-blue {
    background: #dbf0ff;
}
td.tt-c-orange {
    background: #ffedcd;
}
td.tt-c-gray {
    background: #e8e8e8;
}
td.tt-c-blue {
    background: #cdd9f0;
}
td.tt-c-green {
    background: #dff0df;
}

.timetable-notes {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 20px auto 0;
}

.timetable-notes-box {
    width: 40%;
    text-align: center;
}
ul.timetable-notes__list {
    display: inline-block;
}
ul.timetable-notes__list li {
    position: relative;
    padding-left: 18px;
}
ul.timetable-notes__list li:before {
    content: "⚫︎";
    color: #06903b;
    position: absolute;
    left: 0;
    top: 0;
}


.timetable-notes__sub-box {
    background: #f2f2f2;
    padding: 15px 10px;
    border-radius: 6px;
    margin: 0 10px 10px;
}
#content #main p.timetable-notes__sub {
    margin: 0;
    font-size: 0.84rem;
line-height: 1.4;
}
span.tns-title {
    font-weight: bold;
    padding-bottom: 4px;
    display: block;
}


.price-table__wrap {
    margin-top: 10px;
}
table.price-table__table th {
    /* background: #71b357; */
    background: #e3f3dc;
    text-align: center;
    padding: 6px;
    font-size: 0.9rem;
    border: 2px solid #bad48d;
    color: #222;
}
table.price-table__table td {
    border: 2px solid #bad48d;
    padding: 10px;
	text-align:center;
}
.price-notes-box {
    margin-top: 10px;
}
ul.price-notes__list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.8rem;
    color: #4b4b4b;
}
ul.price-notes__list li:before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
}

.sfsw-wrap {
    padding-bottom: 30px;
}
.study-flow__step-wrap {
    flex-wrap: wrap;
    justify-content: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    max-width: 890px;
    margin: 0 auto;
}
.study-flow__step {
    width: 20%;
    position: relative;
    text-align: center;
}
.study-flow__step:after {
    content: '';
    position: absolute;
    right: 0px;
    top: 11px;
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #f69716;
    border-right: 2px solid #f69716;
    transform: translate(0, 0) rotate(45deg);
}
.study-flow__step:last-child:after {
	content:none;
}
#content #main h3.study-flow__step-title {
    padding-top: 0;
}

.price-info-box-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.info-box {
    width: 42%;
    background: white;
    padding: 40px 40px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}
#content #main h3.info-box__title {
    padding-top: 0;
}
.info-box__sub {
    text-align: center;
}
ul.info-box__list {
    list-style: disc;
    margin-left: 1rem;
}

section.parents-guide__section {
    text-align: center;
}
ul.parents-guide__list {
    list-style: disc;
    margin-left: 1rem;
    display: inline-block;
}
ul.parents-guide__list li {
	margin-bottom:10px;
}
ul.parents-guide__list li::marker {
    color: #00913a;
}


ul.parents-guide__sublist {
    list-style: disc;
    margin-left: 1rem;
    display: inline-block;
}
#content #main p.pgs-title {
    font-weight: bold;
    color: #06903b;
    margin-bottom: 0;
}
.gray-box-wrap {
	display:block;
	text-align:center;
}
.gray-box {
    display: inline-block;
    border: 2px solid #bfbfbf;
    padding: 30px 40px 10px;
    border-radius: 10px;
}
section.parents-guide__section .gray-box {
    font-size: 0.9em;
}
p.parents-guide__note {
    margin-top: 20px;
}


.teachers-intro .wrap-inner {
    padding-bottom: 80px;
}
.white-box {
    background: white;
    padding: 40px 50px 20px;
    border-radius: 20px;
}
.teachers-intro-box {
    display: flex;
    justify-content: right;
    align-items: center;
}
.teachers-intro-box img {
    width: 60px;
    height: auto;
    margin-right: 15px;
}
p.teachers-intro__sign {
    font-family: 'MS UI 明朝', 'MS UI mincho', 'MS明 朝', 'MS mincho';
    font-size: 1.1em;
}
span.tis-big {
    font-size: 1.1em;
    margin-left: 10px;
}
.teacher-profile-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
article.teacher-profile {
    width: 44%;
}
span.tpn-small {
    font-size: 0.8em;
}


dl.teacher-profile__dl {
    max-width: 400px;
    margin: 0 auto;
}
.teacher-profile__row {
    display: flex;
    text-align: left;
}
dt.teacher-profile__dt {
    width: 16%;
    /* text-align: center; */
    padding: 8px 0;
}
dd.teacher-profile__dd {
    border-bottom: 1px solid #bfbfbf;
    width: 84%;
    padding: 8px 0;
}
span.tpd-g {
    background: #ebf6d8;
    padding: 4px 10px;
    line-height: 1;
    border-radius: 100px;
    font-size: 0.8em;
}

.access__map {
    margin-bottom: 20px;
}
.access__map iframe {
    width: 100%;
    height: 400px;
}
.access__row {
    display: flex;
    text-align: left;
    max-width: 600px;
    margin: 0px auto;
}
dt.access__dt {
    width: 20%;
    /* text-align: center; */
    padding: 10px 0;
    border-bottom: 1px solid #8ec21f;
    text-align: center;
}
dd.access__dd {
    border-bottom: 1px solid #bfbfbf;
    width: 80%;
    padding: 10px 10px;
}

section.tel-con-wrap {
    text-align: center;
}
.tel-con-wrap .tel-zone {
    display: inline-block;
    padding: 30px 50px 20px;
    border: 2px solid #bad48d;
    border-radius: 20px;
}
#content #main .tel-con-wrap .tel-zone p {
    margin-bottom: 0;
}
.tel-con-wrap span.tel-n {
    justify-content: center;
    font-size: 1.5rem;
}

.form-wrap {
    max-width: 780px;
    margin: 0 auto;
}
#content #main .form-wrap p {
    margin: 0;
}
table.table-form tr:first-child {
    border-top: 2px solid #bad48d;
}
table.table-form tr:first-child th, table.table-form tr:first-child td {
    padding-top: 30px;
}
table.table-form tr:last-child {
    border-bottom: 2px solid #bad48d;
}
table.table-form tr:last-child th, table.table-form tr:last-child td {
    padding-bottom: 30px;
}

#content #main h3.teacher-profile__name {
    padding-top: 20px;
}

/*コンテンツボトム隙間調整*/
#main section:last-child {
    padding-bottom: 80px;
}

.ibox-in-sp {
	display:none;
}


/******************************
★ Media Queries タブレット・スマフォ表示の設定(1000px以下で読み込むcss)
******************************************************************************************************************************/

@media screen and (max-width: 1000px) {
/* 構造 */

body {
    min-width: 320px;
    overflow-x: hidden;
}
body, .home {
}
.wrapper {
    z-index: 10;
    width: 100%;
}
.wrapper_head {
        margin: 0px auto;
        width: 100%;
        z-index: 1000;
        position: relative;
        padding-bottom: 5px;
    }
#header .header_logo img {
        width: 90px;
}
.header_logo.logo_left {
    padding: 10px;
}
header .res-wrap {
    display: none;
}
header .info_right {
    margin-right: 100px;
}
.h-sub {
    font-size: 0.8em;
}

#submain .h1wrap {
    width: auto;
}
#content #side {/* スマホ用のサイドバー */
    display: block;
    width: 90%;
    margin: 50px auto 0;
    float: none;
    max-width: 700px;
}
#content #side h3 {
    width: 100%;
}

#pc-nav {
    display:none;
}

#sp-nav {
    display:block;
}

#navbutton {
top: 26px;
    }
    
#content #main,
#content #main.main-sm {
    margin:0 auto;
    width: 94%;
    float:none;
    order: 0;
}

#submain img {
    top: -250px;
}

#content img {
    max-width: 100%;
    height: auto;
}
#content {
padding-top: 0;
    width: auto;
}
#pan {
    width: auto;
    margin-left: 10px;
}
#content .sec {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

/* ヘッダー */    
#header {
    width: 100%;
}
#header .header_logo {
    display: block;
    position: relative;
    margin-bottom: 0;
}

#pc_button {
    display: none;
}
#mobile_side {
    display: block;
    width: 100%;
    margin: 0 auto;
}
.side_area img {
    display: block;
    margin: 0 auto;
}
#mobile_side .side_area h3 {
    width: 100%;
}
/* テーブル */

.tablestyle {
    border-collapse: collapse;
    width: 100% !important;
    border-top: none;
}
.tablestyle ul {
    text-align: center;     
}   
.tablestyle .tdstyle {
    background-color: #ffffff;
    padding: 8px 10px;
    width: 100%;
    text-align: center;
    font-weight: normal;
    padding-bottom: 10px;
    border-bottom: 1px solid #d0d0d0;
}
.tdstyle2 {
    border-bottom: none;
}
/* 固定ページ */

.alignright, .alignleft, .alignnone {
    float: none;
    display: block;
    margin: 10px auto;
}
.alignright.pc_only, .alignleft.pc_only, .alignnone.pc_only { /* caption分岐の際、余白防止 */
    display: none;
}
/* コンタクトフォーム */

textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
}
.wpcf7-text {
    width: 90%;
}
.k-year .wpcf7-form-control {/*年号のテキスト*/
    width: 5rem;
}
.wpcf7 td {/* フォームの行を縦に並べる */
  /*  display: block;
    width: 100%;
	*/
}
.wpcf7 .tdstyle {/* フォームの項目を左寄せ */
    text-align: left;
}

.footer_top,.footer-nav-wrap {
    width: 94%;
    margin: 0px auto 0px;
}
    
.footer_left {
    width: 100%;
text-align: center;
}
.footer_right {
    width: 100%;
    margin-top: 40px;
}
#footer-nav {
    justify-content: space-evenly;
    text-align: center;
}
#footer-nav li {

}
#footer-nav li#f-nav-sub-wrap {
    width: 20%;
}
ul#footer-nav-sub li {
    display:none;
}
.footer_btm_wrap {
    width: 100%;
    float: none;
}
.footer_com {
}
#logo_footer {
    float: none;
    display: inline-block;
}

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

#footermenu {
    text-align: center;
}
#copyright {
    text-align: center;
}


/*コンテンツ装飾
ここから*/  

#ibox {
    height: auto;
}
#ibox-in img {
    width: 100%;
    height: auto;
padding: 30px 10px;
}
.wrap-inner {
    width: 100%;
    padding: 0 20px;
}
#footer-nav a {
    font-size: 0.8rem;
    padding: 0;
}
.footer_top.flexwrap {
        width: 580px;
        justify-content: space-evenly;
    }
.footer_logo {
    width: 250px;
}
.f-ta-box {
    width: 250px;
    text-align: center;
    margin-bottom: 20px;
}
.f-map-box iframe {
    width: 250px;
    height: 200px;
}
	
#content #main h2 {
    font-size: 1.6rem;
}
#content #main h3 {
    font-size: 1.3rem;
    padding: 50px 0px 20px;
margin-bottom: 20px;
}
#content #main .f-mame-wrap h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
#content #main h4 {
    font-size: 1.1rem;
    padding: 13px 16px;
}
span.f-mame {
    font-size: 1rem;
    margin-right: 12px;
    background-size: contain;
}
#content #main p.feature-card__text {
    font-size: 1rem;
}
article.feature-card {
    margin-bottom: 20px;
}
	
#content #main .recruit-box p {
    font-size: 1.3rem;
}
	
	
.study-flow__step {
    width: 25%;
}
#content #main h3.study-flow__step-title {
    margin-bottom: 20px;
}
	
	
article.teacher-profile {
    width: 70%;
}
#content #main article.teacher-profile:last-child h3 {
    padding-top: 50px;
}
	
}/*end*/

/******************************
★ Media Queries スマフォ表示の設定(599px以下で読み込むcss)
******************************************************************************************************************************/
@media screen and (max-width: 599px) {

.sp_only {/* スマホにだけ表示させたいものに使用する */
    display: block;
}
.pc_only {/* pc・タブレットにだけ表示させたいものに使用する */
    display: none;
}

#navbutton {
        top: 6px;
    }
        
#content #main,
#content #main.main-sm {
    width: 94%;
}
#content #main h1.singletitle, #content #main h1 {
    font-size: 2em;
}
#content #main h2 {

}
#content #main h3 {

}
#submain {
    height: auto;
        background-size: 820px;
}

#submain .h1wrap {
        margin: 0;
        text-align: center;
        padding: 20px 40px;
    }
#submain h1 {
        font-size: 1.4em;
    }
    
.footer_tel {
    padding: 10px 0;
}
.f_telbtn {
    display: block;
}
#logo_footer {
    float: none;
    text-align: center;
    display: inline-block;
}
.footer_com {
}
#footer .footer_btm {
    margin-bottom: 0px;
}
.footer_btm_wrap {
    margin-top: 0px;
    float: none;
    /*padding-top: 25px;*/
    width: auto;
}
.telnum {
    display: none;
}
#footer-nav li {
    width: 40%;
}
    
#logo_footer img {
    margin-top: 40px;
}

.two_box,.three_box,.four_box {
  width: 100%;
  float: none;
  margin: 0 auto;
}
    
a.link, a.link2 {
    width: 90%;
}

.responsedevise {
    width: 100%;

}

#main .wp-pagenavi a, #main .wp-pagenavi span {
    font-size: 0.8rem;
}
#main .wp-pagenavi a.last, #main .wp-pagenavi a.first {
    font-size: 0.6rem;
    line-height: 1.3;
}
    
/*コンテンツ装飾
ここから*/  

#header .header_logo {
    padding: 7px 10px 5px;
}
#header .header_logo img {
    width: 56px;
	}
#header span.tel-n,footer span.tel-n {
    font-size: 1rem;
    margin: 0;
}
span.tel-n a {
        text-decoration: none;
}
#header span.tel-n img,footer span.tel-n img {
    width: 12px;
}
header .tel-zone {
    margin-top: 10px;
}
span.tel-sub-txt {
    font-size: 0.6rem;
}
	
.footer_top.flexwrap {
    width: 100%;
        margin-top: 40px;
margin-bottom: 20px;
}
.footer_logo {
        width: 100%;
        margin-bottom: 20px;
    }
.footer_logo img {
    width: 80px;
}
.footer-nav-wrap {
    display: none;
}
.f-ta-box p {
    font-size: 0.8rem;
}
.f-ta-box p.acc-txt1 {
    font-size: 0.9rem;
}
.f-ta-box h3 {
    font-size: 0.9rem;
    padding: 8px;
}
	
#content #main h2 {
        padding-top: 50px;
        font-size: 1.4rem;
        padding-bottom: 30px;
        /* background-position: bottom 10px center; */
        background-size: 150px;
    }
.feature-card {
    width: 94%;
    margin: 0 auto;
}
#content #main h3 {
    font-size: 1.2rem;
    padding: 40px 0px 18px;
}
#content #main .f-mame-wrap h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}
span.f-mame {
    width: 60px;
    font-size: 0.9rem;
}
.f-mame-wrap {
    margin-bottom: 0;
}
    
article.feature-card {
        margin-bottom: 12px;
        padding: 10px 20px 20px;
    }
.recruit-box {
    background-size: cover;
    background-repeat: no-repeat;
    height: 130px;
}
#content #main .recruit-box p {
    font-size: 1.1rem;
}
.info-in-box {
    flex-wrap: wrap;
	margin-bottom:10px;
}
#content #main .info-inner p {
    width: 100%;
	margin-bottom:0;
}
	
.timetable-table-wrap {
    overflow-x: scroll;
}
table.timetable-table__table {
    min-width: 600px;
}
table.timetable-table__table tbody th {
    padding: 0 6px 0 0;
}
p.sp_only.tt-sub-txt {
    font-size: 0.9rem;
}
.timetable-notes-box {
    width: 90%;
}
#content #main h4.timetable-notes__title {
    margin: 24px 0 10px;
}
	
.price-table__wrap.ptw-chugaku {
    overflow-x: scroll;
}
.price-table__wrap.ptw-chugaku table {
    min-width: 600px;
}

.study-flow__step-wrap {
    /* padding: 40px 20px; */
    flex-wrap: wrap;
}
.study-flow__step {
    width: 100%;
}
.study-flow__step:after {
    transform: translate(50%, 0) rotate(135deg);
    right: 50%;
    bottom: -6px;
    top: unset;
}
.study-flow__step {
    width: 100%;
    margin-bottom: 24px;
}
.study-flow__step:last-child {
    margin-bottom: 0;
}
.info-box {
    width: 100%;
    margin-bottom: 20px;
}
	
.white-box {
    padding: 30px 30px 20px;
}
article.teacher-profile {
    width: 94%;
}

span.tpn-small {
    display: block;
}
	
	
.tel-con-wrap span.tel-n {
    font-size: 1.3rem;
}
table.table-form th {
        padding: 14px 10px 0px ! IMPORTANT;
        border: none;
        width: 100%;
        text-align: left;
    }
table.table-form td {
    padding: 10px 10px 20px;
}
table.table-form tr:first-child th, table.table-form tr:first-child td {
    padding-top: 10px;
}
table.table-form td, table.table-form th {
    display: block;
}
#content #main .form-wrap p {
    font-size: 0.8rem;
}

#ibox {
    background-size: 790px;
}
.ibox-in-sp {
	display:block;
}
.ibox-in-pc {
	display:none;
}

	
	
}/*end*/
