/*
Theme Name:toki-child
Template:toki_tcd069
Version:1.14
*/

.pc #global_menu {
    margin-left: 180px;
}


#mobile_menu #global_menu a {
    color: #000;
}



/* Top Contents */

#special .wrap, #fun .wrap{
    width: 100%;
    margin: auto;
}

#special{
    width: 100%;
    padding: 0 0 40px 0 ;
    overflow: hidden;
	}
#special header h2 {
    font-size: 3em;
    margin-top: 0.5em;
    margin-bottom: 1em;
    font-weight: bold;
    padding: .2em 0 .2em .5em;
  border: 1px solid #EFEFEF;
    border-bottom: 2px solid #9a0000;
  background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%);
  background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 1) inset;
}
#special header h3.subject2 {
  padding: 0 0 .25em .75em;
  border-left: 7px solid #9a0000;
}
#special header span{
	font-size: 3em;
	}
#specialList{
	display: flex;
	flex-wrap: wrap;
	}
#specialList section{
	position: relative;	
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	padding: 0;
	}
#specialList section.hover h4{
	color: #9a0000;
	}
#specialList section > *{
	width: 100%;
	order: 1;
	}
#specialList section > div{
	order: 2;
	}
#specialList section > figure{
	order: 1;
	}
#specialList h4{
	font-weight: bold;
	transition: color 0.2s ease-out;
  padding: 0 0 .3em .75em;
  border-left: 2px dotted #9a0000;
	}
#specialList h4+div{
	margin-top: 0.5em;
	}
#specialList figure{
	order: 1;
	}
#specialList a{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: transparent;
	z-index: 1;
	}
#specialList p{
      padding: .3em 0 0 0;
}

#fun{
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
	}
#fun header h2 {
    font-size: 3em;
    margin-top: 0.5em;
    margin-bottom: 1em;
    font-weight: bold;
    padding: .2em 0 .2em .5em;
  border: 1px solid #EFEFEF;
    border-bottom: 2px solid #9a0000;
  background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%);
  background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 1) inset;
}
#fun header h3.subject2 {
  font-size: 22px;
  padding: 0 0 .25em .75em;
  border-left: 7px solid #9a0000;
}
#fun header span{
	font-size: 3em;
	}
#fun section{
	position: relative;
	width: 50%;
	padding: 0;
	z-index: 1;
　　margin:0;
	}
#fun section:hover h4,#fun section:active h4{
	background: none;
	color: #fff;
	}
#fun section:hover h4:before,#fun section:active h4:before{
	background: #fff;
	}
#fun section:hover h4+div,#fun section:active h4+div{
	opacity: 1;
	}
#fun section:hover figure,#fun section:active figure{
	opacity: 0.2;
	}
#fun section a{
        font-size:0.8em;
	margin: 0 auto;
	padding: calc(1em - 4px) 1em;
	background: transparent;
	border: 2px solid #fff;
	border-radius: 0;
	color: #fff;
	fill: #fff;
	}
#fun section a:hover,#fun section a:active{
	background: rgba(255,255,255,0.2);
	}
#fun h4{
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(255,255,255,0.9);
	padding: 1em;
	padding-left: 2.5em;
	font-weight: bold;
	line-height: 1.4em;
	transition: all 0.2s ease-out;
	z-index: 1;
	}
#fun h4:before{
	content: "";
	position: absolute;
	left: 1em;
	width: 1em;
	height: 3px;
	margin-top: calc(0.5em + 1px);
	background: #9a0000;
	transition: background 0.2s ease-out;
	}
#fun h4+div{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	position: relative;
	height: 8em;
	padding: 0 1.5em;
	padding-bottom: 2em;
	color: #fff;
	text-align: center;
	opacity: 0;
	transition: opacity 0.2s ease-out;
	z-index: 2;
	}
#fun figure{
	transition: opacity 0.2s ease-out;
box-sizing: border-box;
	}
#fun p{
	font-size: 1em;
	font-weight: bold;
	line-height: 1.3em;
	}
#fun .thumb{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
box-sizing: border-box;
	}
#fun .tabMenu li.select:before{
	border-top-color: #fff !important;
	}
#fun .tabContents{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
        margin-bottom:20px;
	}

#fun .tabMenu li.select,
#fun .tabContents section{
	background: #666666;
	}
#special .thumb:not(img) {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 100% 0 0 0;
        padding-top: 100%;
    background-color: #f5f3ee;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

/* for mobile */
@media (max-width: 767px) {
/*767px以下*/
#special .wrap, #fun .wrap{
	max-width: calc(100% - 2em);
	}
#special header h2 {
   font-size: 2em;
}
#special header h3.subject2 {
	font-size: 1.1em;
}
#special header span{
	font-size: 2em;
	}
#specialList{
	justify-content: space-between;
	}
#specialList section{
	width: calc(50% - 0.5em);
	}
#specialList section:nth-child(n+3){
	margin-top: 1.5em;
	}

#specialList h4{
	font-size: 1em;
	}
#specialList h4+div{
	margin-top: 0;
	}
#specialList p{
	display: flex;
	}
#specialList figure{
	margin-bottom: 0.5em;
	}
#fun header h2 {
   font-size: 2em;
}
#fun header h3.subject2 {
	font-size: 1.1em;
}
#fun header span{
	font-size: 2em;
	}
#fun h4{
	font-size: 1em;
	padding: 0.8em;
	padding-left: 2.3em;
	}
#fun p {
               margin-bottom: 1em;
}

}


@media (max-width: 767px) and (orientation:portrait) {
/*767px以下 縦向き*/

#fun section{
	width: 100%;
	}
#fun .tabContents{
	position: static;
	width: 100%;
	}
/*#fun section{
	margin-top: 0.5em;
	}
#fun section:nth-child(n+2){
	margin-top: 0.5em;
}*/
}

/* for TabletPC */
@media (min-width: 768px) {
/*768px以上*/

#specialList h4{
      margin-top: 10px !important ;
      font-size: 1.5em;
        margin: 0 5px;
	}
#specialList figure{
	margin-bottom: 1em;
	}
#specialList p{
	font-size: 1em;
	line-height: 1.5em;
        margin: 0 8px;
	}

#fun section{
	padding: 2em 0;
	}
#fun section a{
	font-size: 1em;
	}
#fun h4{
	font-size: 1.125em;
	}

}

@media (min-width: 768px) and (max-width: 991px) {
/*768px～991px*/
#special .wrap, #fun .wrap{
	max-width: 720px;
	}
}
@media (min-width: 768px) and (max-width: 1199px) {
/*768px～1199px*/

#specialList section{
	width: 33.33%;
	}
#specialList section:nth-child(n+4){
	margin-top: 2em;
	}
#specialList section > div{
	padding: 0 1em;
	}
body.home .index_cb_catch {
    padding: 10px 30px 10px !important;
}
}


/* for PC */
@media (min-width: 992px) {
/*992px以上*/
#special{
	position: relative;
	}
#special:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}
#special > *{
	position: relative;
	}
#fun h4+div p{
	font-size: 1.42em;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
/*992px～1200px*/
#special .wrap, #fun .wrap{
	max-width: 940px;
	}
}
@media (min-width: 1200px) {
/*1200px以上*/

#specialList section{
	width: calc(33.33% - 0.5em);
	}

#specialList section:nth-child(n+4){
	margin-top: 3em;
	}


#special .wrap, #fun .wrap{
	max-width: 1140px;
	}
}

.thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: inherit;
    object-position: inherit;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.min {
    font-family: "游明朝", YuMincho, 'Yu Mincho', "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "ＭＳ 明朝", serif;
}



body.home #index_blog_list {
    background: #fff;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: "游明朝", YuMincho, 'Yu Mincho', "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "ＭＳ 明朝", serif;
 }

body.home .index_cb_catch {
    text-align: left;
    padding: 10px 0 10px;
}

#index_blog_list .index_cb_catch .catch {
    color: #222;
font-family: "游明朝", YuMincho, 'Yu Mincho', "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "ＭＳ 明朝", serif;
   font-size: 3em;
    font-weight: bold;
    padding: .2em 0 .2em .5em;
  border: 1px solid #EFEFEF;
    border-bottom: 2px solid #9a0000;
  background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%);
  background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 1) inset;
}

body.home #blog_list .item {
    width: auto;
    height: 100px !important;
    float: none;
    position: static;
    margin: 0;
}

body.home #blog_list .item a {
    border: none;
    border-bottom: none;
    display: block;
    background: #fff;
    padding: 20px 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body.home #blog_list .title_area {
    border: none;
}

body.home #blog_list .title_area .title {
    font-size: 18px;
    border-left: 5px solid #9a0000;
    padding-left: 15px;
}
body.home #blog_list .title_area .date {
    font-size: 13px;
    line-height: 1;
    color:#999;
    position: absolute;
    bottom: 70px;
    left: 23px;
}

@media (max-width: 767px) {
#index_blog_list .index_cb_catch .catch{
   font-size: 2em;
}
body.home #blog_list .title_area .title {
    font-size: 16px;
}
}
@media (max-width: 991px) {
body.home #blog_list .item a {
    padding: 0;
}
body.home #blog_list .title_area .date {
    bottom: 40px;
}
}

#sb_instagram .sb_instagram_header a {
   color:#222;
}
#top_insta {
   max-width: 1140px;
   margin:0 auto;
   padding: 20px 0 ;
}
#top_insta h2{
    font-size: 3em;
    margin-top: 0.5em;
    font-weight: bold;
    padding: .2em 0 .2em .5em;
  border: 1px solid #EFEFEF;
    border-bottom: 2px solid #9a0000;
  background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%);
  background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 1) inset;
    font-weight: 500;
font-family: "游明朝", YuMincho, 'Yu Mincho', "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "ＭＳ 明朝", serif;
}
@media (max-width: 767px) {
#top_insta h2 {
   font-size: 2em;
}
#index_blog_list .index_cb_catch .catch{
   font-size: 2em !important;
}
body.home .index_cb_catch {
    padding: 10px 20px 10px;
}
}

#index_free_space {
    padding: 30px 0 30px;
}



.course h3 {
    margin: 60px 0 60px !important;
}

.well_green {
    color: #fff;
    padding: 1.1em 2em;
    border-radius: 6px;
    background: #1EB248;
}

.well_blue {
    color: #fff;
    padding: 1.1em 2em;
    border-radius: 6px;
    background: #219BD3;
}

.course p{
    margin: 10px;
}

.course p a{
    color:#fff;
    text-decoration:underline;
}

.arrow {
    font-size:2em;
    font-weight:bold;
    color:#F8CB33;
    padding: 0 40px 0 20px;
}

.well_red {
    color: #fff;
    padding: 1.1em 2em;
    border-radius: 6px;
    background: #ff3333;
}
