/*
Theme Name: AFFINGER7 Child
Template: affinger
Description: AFFINGER7 child theme recreated from AFFINGER5 child customizations
Version: 20260630.24
*/



/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}

/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {
header .smanone ul.menu li {
	width:150px;
}
.kanren .clearfix dd h5:not(.st-css-no2) a {
    font-size: 14px;
    line-height: 23px;
}

	/*お知らせSideBar*/
	#topnews-box {
    padding: 0px 0;
}

	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {


	/*-- ここまで --*/
}


/* org */



/*.mainbox{font-family:"Helvetica Neue,Hiragino Kaku Gothic ProN","メイリオ",meiryo,sans-serif;}*/

/*見出しのフォント*/
.entry-title:not(.st-css-no2), .post .entry-title:not(.st-css-no2),h2{	font-family: 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif !important;}

.entry-title:not(.st-css-no2), .post .entry-title:not(.st-css-no2), dd h3:not(.st-css-no2) a{
	font-family: 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif !important;
	color:#545353; font-weight:normal !important;}

dd h5 a, .kanren-t h5,.h2-top,.h2modoki, .h2modoki span, .post h2:not(.st-css-no), .post h2:not(.st-css-no) span
{font-weight:normal !important;}

.kanren .clearfix dd h5 a, kanren h3 a {
	 color:#545353;}

#st_toc_container .st_toc_title{font-family:san-serif;}

/* H3 */
.h3modoki, .post h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(#reply-title) {
font-weight:normal;
font-size:18px;}

/* Categoryスライダー*/
.content-post-slider .post-slide-title a, .post-card-list .post-card-title a {
    color: #333;
	font-size:0.8em;
    font-weight: normal;
}


/* H2 style, mokuji
------------- */
.h2modoki, .h2modoki span, .post h2:not(.st-css-no), .post h2:not(.st-css-no) span,
#toc_container ul a,
.h2modoki, .h2modoki span, .post h2:not(.st-css-no), .post h2:not(.st-css-no) span,
#toc_container ul a, .no-thumbitiran h5 a{font-family:serif;}

.pink{color: #ff007f; font-weight:bold;}
.pink-normal{color: #ff007f; font-weight:normal;}

/* Mokuji */

#st_toc_container .st_toc_title {
     font-weight: 500;
	border-bottom: 1px dashed #afa8a6 !important;
 padding: 10px 55px;
font-family:serif;
font-size:100%;}

#st_toc_container .st_toc_list li a {
		border-bottom: 1px dashed #ccc !important;
color:#5b5a59;
font-weight:normal;}

/* post category top */

.page div.kanren  h3{background-color:#ff0000;}


/* Side Navi */
aside p.side-copy{font-size:.80em; color:#665A60; line-height:1.35em;}
#side aside .st-pagelists ul li a{
    border-bottom: 1px solid #e5d9c5;
}
img.sbanner-size{min-width:280px; min-height: 148px;}
@media only screen and (max-width: 599px) {img.sbanner-size{min-width:350px; min-height: 149px;}}

/***グローバルナビ マウスオーバ設定***/
#st-menuwide nav ul li:hover,
#st-menuwide nav ul li .sub-menu li a:hover{
	background-color: #ffffff;	 color:#d1c3b3; /* メイン、サブメニューのマウスオーバ時の背景色 */
}

aside  h4.menu_underh2{color:#C1A78A; font-weight:bold;}
.mt30{margin-top:30px;}

/* Side Menu*/

#side aside .st-pagelists .sub-menu{
    padding-left: 10px !important;
}
#side aside #search{margin-bottom:30px;}

/* side button*/
#side aside .st-mybtn.st-mybtn-mini a.sidebutton {
    padding: 2px 15px !important;
}

/* side お知らせ */

div#stnews_widget-2{color:#888; padding-bottom:3px; }
div#stnews_widget-2 #topnews-box div.rss-bar { margin-top:30px; margin-bottom: 15px; color:#fff; background-color:#D1BEA9; padding:5px 5px 5px 10px; border-radius:7px;}
om{background-color:#fffdf6; padding:0; }

/* FOOTER */
#footer a {
    text-decoration: none;
    color: #212121;
    /*font-family: 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;*/
}

/* TOP Visual */
@media only screen and (min-width: 960px) {#top-visual{position:relative; left:503px; top:120px; margin-bottom:25px;    max-width: 500px;}.top-visual-txt{font-size:95%;line-height:1.55em;margin-bottom:30px;margin-top:23px;} }
@media only screen and (min-width: 801px) and (max-width: 959px) {#top-visual{position:relative; left:440px; top:120px;  max-width: 283px;} .top-visual-txt{font-size:95%;line-height:1.55em;margin-bottom:25px;} img.top-button{max-width:400px; text-align: center;}}
@media only screen and (min-width: 768px) and (max-width: 800px) {#top-visual{position:relative; left:400px; top:100px;  max-width: 283px;} .top-visual-txt{font-size:95%;line-height:1.55em;margin-bottom:25px;} img.top-button{max-width:400px; text-align: center;}}
@media only screen and (min-width: 600px) and (max-width: 767px) {#top-visual{position:relative; left:297px; top:90px; margin-bottom:25px;max-width: 350px;} .top-visual-txt{font-size:90%;line-height:1.55em;} img.top-button{max-width:380px; text-align: center;}}
@media only screen and (max-width: 599px) {#top-visual{position:relative; left:86px; top:90px;max-width: 290px;} .top-visual-txt{font-size:95%; line-height:1.45em;margin-bottom:20px;} img.top-button{max-width:230px; text-align: center;}}


/* TOP */

#topnews-box div.rss-bar {
    text-align: center;
    background: /*#eeebe7*/;
		border-radius:5px;
}
.top-border{border:1px solid #e5e4e4;}
p.top-txt{font-size:85%; text-align:center; margin:15px 0 0 0;}
img.top-button{text-align: center;}

.top-mailmagazine{/*max-width:348px; */}

/* TOP flex boxes */

*, *:before, *:after {
	box-sizing: border-box;
}
.box-side{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
background:#fef8f1;
padding:20px;
}
.box-side > div{
	width: 50%;
	padding: 10px;
}
@media screen and (max-width: 768px) {
	.box-side > div{
		width: 100%;
	}
}
.box-side ..st-mybtn.st-mybtn-mini{font-size:95%;   margin: 0 3px 0px;}
.box-side .box-side-txt{font-size:95%; color:#333; padding-top:15px;}
.box-side .button-s{margin-top:15px; margin-bottom:0px;}

h1.entry-title:not(h1.single),.home > h2, .page > h2:not(.single){font-weight:normal; text-align:center !important;}

/*#st-page h2{font-size:24px; font-weight:bold; text-align:center; background-color:#fff; border:none;}*/

h2.top-h2{text-align: center; font-family:游ゴシック,serif;
background-color:#ffffff!important;color:#b79e83;}
h2.top-h2:before{content:' ';
display:block;
width:188px;
height:64px;
background-image: url(https://megu.norwayblue.com/wp-content/uploads/2019/09/swirl-divider.svg);
background-size:contain;
background-repeat: none;
viertical-align:top;
margin-left: auto;margin-right: auto;}

@media only screen and (min-width: 960px)
.post .entry-content h2:not(.st-css-no2), .post .entry-content .h2modoki {
    font-size: 22px !important;}

@media only screen and (max-width: 959px) and (min-width: 600px)
.post .entry-content h2:not(.st-css-no2), .post .entry-content .h2modoki {
    font-size: 22px;}

/*コース紹介*/
.class-title{color:#9c9188;text-align:center; margin-bottom:0; font-family:serif; }
.class-name{font-family:serif; color:#454545;
margin: 0px 0px 25px 0; font-size:32px; text-align:center;}
.course-schedule{background-color:#f3e9de !important; padding:8px 5px; text-align:center;
line-height:1.35em; color:#454545; margin-bottom:20px; border-radius:8px;}
.class-txt{line-height:1.45em; margin-bottom:33px; font-size:15px;}
.class-button{text-allign:center; margin:10px 0 30px 0;}
.st-mybtn.st-mybtn-mini {    font-size: 90%;}
.class-border{border-top:2px dashed #eae1d4; padding-top:40px; margin-top:10px;}



/*TOP Instagram*/

#sb_instagram .sbi_header_text h3{
background-image: none;
    background-color: #ffffff !important;
    border: none;}

/* Slide show buttons*/
.slick-prev, .slick-next, .slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
background-color: #957348;
border-radius: 5px;
}

/* Side Bar SNS */

/*Linkボタン*/
.sns-links {
padding: 15px 0 20px;
text-align: center;
}

.sns-links a {
width:40px;
height:40px;
display: inline-flex;
align-items: center;
justify-content: center;
margin: 5px;
text-decoration: none;
vertical-align: top;
}

.sns-links a.facebook{
border-radius: 50%;
background: #3b5998;
color: #fff;
}

.sns-links a.instagram{
border-radius: 50%;
/*background: #d72b7e;*/
background-image: linear-gradient(-135deg,#4933f7,#ef1837,#fbd980);
color: #fff;
/*padding: 11px 13px;*/
}


