@charset "UTF-8";
#sub_class{
	background-color: #fefab6;
}
.try{
	width: 100%;
	background-color: #FFF;
	margin: 0 0 50px;
}
.sub_photo {
    height: 44vh;
    width: 100%;
    object-fit: cover;
}
.class li.title {
    width: 100%;
    background-color: #fbbb55;
    color: #FFF;
    padding-left: 10px;
	margin-bottom: 30px;
	font-weight: bold;
}
.sub_col {
    width: 100%;
    display: block;
    margin: 0 auto;
    clear: both;
    line-height: 2em;
    overflow: hidden;
    padding: 20px 0 50px 0;
}
.f_l {
    float: left;
}
.f_r {
    float: right;
}
.class {
    width: 46%;
    padding: 0;
}
.class li {
    list-style: none;
    padding-left: 10px;
}
.class iframe {
    width: 100%;
    height: 380px;
}

.heiyou{
	color: #fbbb55;
	font-weight: bold;
}

.taiken_kikan{
	list-style: none;
	padding: 0;
	display: flex;
    margin: 2em auto;
}
.taiken_kikan li.m_t{
	width: 22%
}
.taiken_kikan li.m_t strong{
	font-size: 20px;
}
.taiken_kikan li.flex01{
	flex: 1;
}
.m_t_80{
	margin-top: 80px;
}
@media screen and (max-width: 767px){
	.class{
		width: 100%;
	}
	.try{
	margin: 0 0 30px;
	}
	.sub_col{
		padding: 0;
	}
	.taiken_kikan{
		margin: 0;
		padding: 0;
	}
	.sub_photo{
		height: auto;
	}
	.taiken_kikan li.m_t{
		margin-top: 2em;
		width: auto;
	}
	.taiken_kikan{
		display: block;
	}
}

/* 体験授業日程テーブルのスタイル */
.taiken_schedule {
    display: grid;
    grid-template-columns:auto auto;
    width: fit-content;
    /* border: 2px solid #fafafa; */
    border-radius: 4px;
    overflow: hidden;
	gap: 2px;
}

.taiken_schedule div {
    padding: 6px 12px;
	/* white-space: nowrap; */
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.taiken_schedule .header {
    background: #fafafa;
    /* border-bottom: 2px solid #fafafa; */
    font-weight: 600;
}

.taiken_schedule .header:nth-child(odd) {
    background: #ffe8c3;
    /* border-right: 2px solid #fafafa; */
}

.taiken_schedule .row {
    /* border-bottom: 2px solid #fafafa; */
	padding: 6px 12px;
	background-color: #fffde1;
}

.taiken_schedule .row:nth-child(odd) {
    /* border-right: 2px solid #fafafa; */
	background-color: #fbbb55;
	font-weight: bold;
	/* color: white; */
}

.taiken_schedule .row span{
	display: block;
}

/* スマートフォン画面で一列表示にする */
@media screen and (max-width: 767px) {
    .taiken_schedule {
        grid-template-columns: auto; /* 一列表示に変更 */
        width: 100%; /* 幅を画面いっぱいにする */
    }

    .taiken_schedule .header:nth-child(odd),
    .taiken_schedule .row:nth-child(odd) {
        border-right: none; /* 右側の境界線を削除 */
    }
}