/*
 Theme Name:   Neve Child
 Author:       トボ　tobo
 Author URI:   https://www.u-tobo.com
 Template:     neve
*/
hr {height: 0;margin: 0; padding: 0; border: 0 !important;border-top: 1px solid #ccc !important;}
hr.hr01 {height: 0;margin: 3% 0; padding: 0; border: 0 !important;border-top: 1px dashed #ccc !important;}
hr.hr02 {height: 0;margin: 5% 0; padding: 0; border: 0 !important;border-top: 1px solid #fff !important;}
hr.hr03 {height: 0;margin: 5% 0; padding: 0; border: 0 !important;border-top: 1px solid #CCC !important;}
hr.hr04 {height: 0;margin: 5% 0; padding: 0; border: 0 !important;border-top: 1px solid #CCC !important;}
.center {text-align:center;}
.right {text-align:right;}
#nv-primary-navigation-bottom {margin-bottom:3em !important;}
.hfg_header.site-header {box-shadow: none !important;}
.header-menu-sidebar .nav-ul.dropdowns-expanded>li>.sub-menu {padding-left: 20px !important;}
.header-menu-sidebar .nav-ul li:not([class*=block])>a {padding:8px 0 !important;}
.neve-main > .archive-container .nv-index-posts.col {max-width:100% !important;}
.neve-main {margin:0 !important;}
.nv-page-title-wrap {margin-top:10px;}
.nv-page-title h1 {margin:0 0 5% 0 !important; padding:0 !important;text-align:center;}
.neve-main > .archive-container .nv-sidebar-wrap {max-width:100% !important; padding:0 !important;}
.neve-main > .single-post-container .nv-sidebar-wrap {max-width:100% !important; padding:0 !important;}
ul#menu-blogcategory {display: flex; justify-content: center;flex-wrap: wrap;}
#menu-blogcategory li {list-style: none;  padding: 0 5px; font-size:0.9em;}
#menu-blogcategory li+ li {border-left:1px solid #ccc;}
 /*Footer地図*/
.builder-item {padding:0 !important;}
.gmap {margin-bottom:-16px;}
.dis_smp {display:none;}
.point {display: -webkit-box; /*Android4.3*/
  display: -moz-box;    /*Firefox21*/  display: -ms-flexbox; /*IE10*/
  display: -webkit-flex; /*PC-Safari,iOS8.4*/
  display: flex; flex-direction:row;
  flex-wrap:wrap; padding:0 2%;}
.box_point {width:43%; padding:2% 2% 1%; margin:3% auto 2%; vertical-align:top;}
.bg_washi01 {background:url("https://motomachi.bokurei.com/images/bg_washi01.jpg");}
.bg_beige {background:#f2f0e7;}
.bg_wht {background:#fff;}
.tate01 {-ms-writing-mode: tb-rl;writing-mode: vertical-rl;margin:0 auto; background:#fff; box-shadow: 5px 5px 0 #9a9b9b;}
.tate01 h2 {padding: 30px 10px;}
.h2_01 {display:flex; align-items:center;}
.h2_01:after {margin-left:15px; padding:5px; border-top:1px solid #ccc; content:""; flex-grow:1; content: attr(data-en); display: block; color: #ccc;	font-size: 16px;
}
.h2_02 {position: relative;	padding-top: 45px;	padding-left: 30px;	font-size: 26px;}
.h2_02 span {position: relative; z-index: 2;}
.h2_02::before {content: attr(data-en);
	position: absolute;
	transform: rotate(-5deg);
	top: -10px;	left: 0;
	color: rgba(235,130,150,0.5); font-size: 80px;	font-weight: 400; font-family: Open Baskerville,Times New Roman; font-style: italic;
}
.btn_back h3 {background:#333; font-size:1em !important; width:50%; margin:5% auto; padding:5% 2%;}
.btn_back a {color:#fff;}
.txt_ylw {color:#eaac0b;}
.txt_wht {color:#fff;}
.txt_pnk {color:#f78ca2;}
.txt_sdw {text-shadow: 3px 3px 3px #fff, -3px -3px 3px #fff,
           -3px 3px 3px #fff,  3px -3px 3px #fff,
            3px 0px 3px #fff, -3px -0px 3px #fff,
            0px 3px 3px #fff,  0px -3px 3px #fff;}
.txt_yu {font-family: "Noto Serif JP", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;}
.txt_m1 {background: linear-gradient(transparent 60%, #f2eca4 60%);background: linear-gradient(#ffffff 60%, #f2eca4 60%);}
.txt_m2 {font-size:1.4em; font-weight:800;}
.block100 {display: flex;}
.block100rp {display: flex;}
.block90 {width:90%;}
.block80 {width:80%;}
.block75 {width:75%;}
.block70-80 {width:70%;}
.block70-90 {width:70%;}
.block70 {width:70%;}
.block70rp {width:70%;}
.block60rp {width:60%;}
.block60 {width:60%;}
.block40 {width:40%;}
.block40rp {width:40%;}
.block35 {width:35%;}
.block30rp {width:30%;}
.block30 {width:30%;}
.block25 {width:25%;}
.block20 {width:20%;}
.block30-20 {width:30%;}
.block50rp {width:50%;}
.block50 {width:50%;}
.block_half {width:50%;}
img.photo80 {width:80%}
.photo50, .photo40, .photo30 {display:flex; width:100%;justify-content: space-around;}
.photo50 img {width:50%;align-self: flex-start;}
.photo40 img {width:40%;align-self: flex-start;}
.photo30 img {width:30%;align-self: flex-start;}
.kasane01 {position: relative;}
.kasane01 div {position: absolute; top:-15px; right: 20px; background:rgba(255,255,255,0.8);}
.mrg_1p {margin:1%;}
.mrg_0_1p {margin:0 1%;}
.mrg_tm5p {margin:-5% 0 0 0;}
.mrg_2p {margin:2%;}
.mrg_2p_a {margin:2% auto;}
.mrg_0_2p {margin:0 2%;}
.mrg_left5p {margin-left:5%;}
.mrg_top10p {margin-top:10%;}
.mrg_top5p {margin-top:5%;}
.mrg_top3p {margin-top:3%;}
.mrg_5p_0 {margin:5% 0;}
.mrg_5p_12p {margin:5% 12%;}
.mrg_10p {margin:10%;}
.mrg_10p_0 {margin:10% 0;}
.pdg_5p_15p {padding:5% 15%;}
.pdg_0_15p {padding:0 15%;}
.pdg_0_10p {padding:0 10%;}
.pdg_0_6p {padding:0 6%;}
.pdg_0_5p {padding:0 5%;}
.pdg_8p {padding:8%;}
.pdg_5p {padding:5%;}
.pdg_5p_3p {padding:5% 3%;}
.pdg_2p {padding:2%;}
.pdg_0_5p {padding:0 5%;}
.pdg_left10p {padding:0 0 0 10%;}
.pdg_left5p {padding:0 0 0 5%;}
.table01 {width: 100%; text-align: center; border-collapse: collapse; border-spacing: 0;}
.table01 th {padding: 2%; width:30%; background: #fcf6e4; border:2px solid #fff;}
.table01 td {padding: 2%; background:#f5f5f4; border:2px solid #fff;}
.ul01 {
  list-style-type: none;
}
.ul01 li {
  position: relative;
  line-height: 1.8;
}
.ul01 li::after {
  content: '';
  display: block;
  position: absolute;
  top: .5em;
  left: -1.5em;
  width: 10px;
  height: 5px;
  border-left: 3px solid #9c9c9c;
  border-bottom: 3px solid #9c9c9c;
  transform: rotate(-45deg);
}
ol {
  counter-reset:num;
  list-style-type: none!important;
  padding:0;
  margin:0;
}
ol li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
}

ol li:before {
  position: absolute;  counter-increment: num;
  content: counter(num);  display:inline-block;
  background: #f69;  color: #FFF;
  font-family: 'Arial',sans-serif;
  font-weight:bold;  font-size: 14px;
  border-radius: 50%;  left: 0;
  width: 22px;  height: 22px;
  line-height: 22px;  text-align: center;  top: 10px;
}
.button01 {margin:10% auto; padding:5%;}
.button01 a { text-decoration: none; justify-content: space-between; align-items: center; color: #333; font-size: 18px;  font-weight: 700; background-color: #ccc; color:#000; %transition: 0.3s; padding:0.5em;
}
.button01 a:hover {text-decoration: none; background-color: #bbbbbb;}
#profile {font-family: "Noto Serif JP", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;}
#lectureprofile img {width:70%;}
#message {font-weight:800;}
#message2 {line-height:2; background:#a59989; color:#fff;}
.profile_video {margin:0 15%;}
.bg_gr {background:#ccc;}
.bg_kids {background: url("https://motomachi.bokurei.com/images/class_kids2.jpg") no-repeat; background-position: center; background-size: cover; background-color:rgba(255,255,255,0.6);
background-blend-mode:lighten;}
.bg_adults {background: url("https://motomachi.bokurei.com/images/class_adults.jpg") no-repeat; background-position: center; background-size: cover; background-color:rgba(255,255,255,0.6);
background-blend-mode:lighten;}
.h2_01 span {font-size:1em;}
.nv-post-thumbnail-wrap amp-img, .nv-post-thumbnail-wrap img {height: 220px; object-fit: cover !important; /*アイキャッチ画像縦横比変更*/}
.blog-entry-title {font-size:1.2em !important;}
.article-content-col {padding:5%;}
.blockvoice {display:flex;}
.voice {background:#fff; padding:2%; margin:2%;flex: 1;}
/* 動画全体の横幅を指定するためのdiv */
.video-wrap {
	max-width: 90%; /* ここに動画の横幅を指定 */
	margin:0 auto;background:#ccc;
}
/* 動画を囲うdiv */
.video {
  position: relative;
  width:100%; /* 横幅は100%で固定 */
  height:0; /* 高さは0にしておく(padding-topで高さを指定するため) */
  padding-top: 56.25%; /* 高さを指定(16:9) */
}
/* YouTube埋め込み用のiframe */
.video iframe{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
/* FAQ矢印を消すChrome、Safari以外 */
summary { display: block;}
summary h3 {font-size:1em;}
/* FAQ矢印を消すChrome、Safari */
summary::-webkit-details-marker {display: none;}
@media (min-width: 960px){
	.row {	display:block !important;}
	.neve-main>.container>.row {flex-wrap: wrap !important;}
.nv-post-thumbnail-wrap amp-img, .nv-post-thumbnail-wrap {width:auto; height:auto;}
}
@media screen and (max-width:768px){
.dis_pc {display:none;}
.dis_smp {display:block;}
.nv-page-title h1 {font-size:1.7em;}
.point {flex-direction: column;
	align-content:space-around;}
.box_point {width:94%; margin:2% auto;}
.block100rp {display: block;}
.block70rp {width:100%;}
.block60rp {width:100%;}
.block50rp {width:100%;}
.block40rp {width:100%;}
.block30rp {width:100%;}
.block70-80 {width:80%;}
.block70-90 {width:90%;}
.block30-20 {width:20%;}
.tate01 {left:0; box-shadow: 2px 2px 0 #9a9b9b;}
.tate01 h2 {font-size:1.3em !important;}
.neve-main {margin:1em 0 0 !important;}
#profile img {width:80%;}
#message {font-weight:600;}
.profile_video {margin:0;}
.blockvoice {display:block;} 
.voice {width:96%; padding:2%; margin:2%;}
.kasane01 div {top:-15px; right: -5px; margin:0; width:20%;}
.kasane02 div {top:-5px; right: 5px; margin:0; width:20%;}
#post-grid-686 {margin:0 -30px;}
.nv-post-thumbnail-wrap amp-img, .nv-post-thumbnail-wrap img {height: 130px !important; /*アイキャッチ画像縦横比変更*/}
}
@media only screen and (min-width: 0px) and (max-width: 767px) {
#post-grid-828 .item {margin:0; padding:0;}
}
body:not(.nv-blog-default) .posts-wrapper article {padding: 0 calc(var(--gridSpacing,10px)/ 2) !important;margin-bottom:0 !important;}
}