/*
Theme Name: Nippon Club
Theme URI:
Author:
Author URI:
Description:
Version: 1.0
editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/


/*
 * カルチャー講座 トップページ
 */
#culture-title-wrap {
    padding: 0 1%;
    margin-bottom: 2%;
    overflow: hidden;
}
.culture-title {
    width: 100%;
    min-width: 500px;
}

/* ピックアップ枠 */
.pickup {
/* ブロック全体用 */
}

.pickup .item {
	float: left;
	position: relative;
    width: 31.3%;
    margin: 0 1% 20px;
    overflow: hidden;
    background-color: #fff;
}

.pickup .item:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.pickup .item img {
    position: absolute;
    top: -100%;
    left: -100%;
    right: -100%;
    bottom: -100%;
    width: 100%;
    height: auto;
    margin: auto;
    vertical-align: middle;
}

.pickup .item p {
	width: 100%;
    box-sizing: border-box;
	padding: 10px;
	font-weight: bold;
	color: #FFF;
	bottom: 0;
    left: 0;
	position: absolute;
	background: #000;
	opacity: 0.6; 
}

/* フルターム講座 / 一日講座枠 */
.menu-list {
	margin-bottom: 40px;
}


.menu-list li {
	float: left;
	margin: 0 10px 10px 0;
}

.menu-list li a {
	border-radius: 14px;
	border: 1px solid #CCCCCC;
	color: #555;
	padding: 10px;
	font-weight: bold;
	text-decoration: none;
	vertical-align: middle;
	display: inline-block;
}

.menu-list li a:hover {
	background: #c69542;
}

.menu-list li a:hover {
	border: 1px solid #c69542;
	background: #c69542;
	color: #FFFFFF;
}

.menu-list li:nth-child(3n),
.menu-list li:last-child {
}

/* 講座一覧 */
.class-list {
	margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
}

.class-list .item {
    width: 31.3%;
    margin: 0 1% 20px;
    overflow: hidden;
    background-color: #fff;
}

.class-list .item .image {
	width: 100%;
    box-sizing: border-box;
	position: relative;
	display: block;
	overflow: hidden;
}

.class-list .item .image:before {
    content: "";
    display: block;
    padding-top: 70%;
}

.class-list .item .image img {
    position: absolute;
    top: -100%;
    left: -100%;
    right: -100%;
    bottom: -100%;
    width: 100%;
    height: auto;
    margin: auto;
    vertical-align: middle;
}

.class-list .item .image p {
	width: 100%;
    box-sizing: border-box;
	padding: 10px;
	font-weight: bold;
	color: #FFF;
    left: 0;
	bottom: 0;
	position: absolute;
	background: #000;
	opacity: 0.6;
}

.class-list .item .info {
	font-size: 12px;
}

.class-list .item .info dl {
	margin-top: 15px;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 15px;
}

.class-list .item .button {
	margin: 0 10px 0 2px;
}

.class-list .item .button a {
	border-radius: 3px;
	margin-left: 8px;
	margin-bottom: 8px;
	padding: 6px 4px;
	float: left;
	color: #FFF;
	background: #BE984C;
	text-decoration: none;
	text-align: center;
}

.class-list dt {
	float: left;
	margin-bottom: 10px;
}


.class-list dd {
	margin-left: 3em;
	margin-bottom: 10px;
}

/* トップページ お知らせ枠 */
.news-list h3 a {
    display: inline-block;
    margin-bottom: 10px;
	text-decoration: none;
	color: #454545;
}

.news-list .item {
	border-bottom: 1px dotted #000000;
	margin-bottom: 20px;
}

.news-list .item .date {
    display: inline-block;
    margin-bottom: 10px;
	margin-right: 20px;
	padding: 5px 15px;
	color: #FFF;
	background: #454545;
}

.news-list .item p {
	margin: 20px 0;
	font-size: 14px;
	line-height: 1.2em;
}

.class-title {
	border-bottom: 2px solid #af5e4e; 
	margin: 0 0 30px 0;
	padding: 0 0 14px 0 ;
	color: #af5e4e;
	font-size: 130%;
	font-weight: bold;
}

.class-info {
	margin: 0 0 30px 0;
}

.class-slide {
	width: 40%;
    height: 100%;
	float: left;
}


.class-slide .bx-wrapper {
	margin: 0 !important;
}

.class-slide .bx-wrapper img {
	margin: auto;
}

.class-text-box {
	width: 57%;
	float: right;
}

.class-icon {
	margin: 0 0 20px 0 ;
}

.class-icon span {
	padding: 3px 10px;
	margin: 0 10px 5px 0;
    display: inline-block;
	background: #c69542;
	color: #FFFFFF;
	font-weight: bold;
}

.class-description {
    margin-bottom: 30px;
	font-size: 110%;
	line-height: 1.7em;
}

table.class-table {
	border-collapse: collapse;
	margin: 0 0 30px 0;
	width: 100%;
	font-size: 120%;
    table-layout: fixed;
}

table.class-table th,
table.class-table td {
	border: 1px solid #CCC;
	padding: 15px 10px;
	vertical-align: top;
}

table.class-table th {
    width: 6.5em;
	font-weight: bold;
	background: #c69542;
	color: #FFF;
}

table.class-table td {
	background: #FFFFFF;
}

table.class-table td .tutor-name {
	margin: 0 0 15px 0;
	font-weight: bold;
}

.class-button {
	text-align: center;
	margin: 0 0 30px 0;
}

.class-button a {
	border-radius: 3px;
	border: 2px solid #c69542;
	padding: 10px 80px;
	text-align: center;
	background: #FFF;
	color: #c69542;
	text-decoration: none;
	font-weight: bold;
	font-size: 120%;
	position: relative;
}


.class-button a:hover {
	background: #c69542;
	color: #FFF;
}

.class-button a:after {
	content: '>';
	position: absolute;
	right: 20px;
}

.culture-blog .genre_day {
    color: #999;
    font-weight: bold;
}

.wp-pagenavi {
    text-align: center;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    color: #fff;
    border-color: #c89932;
    background-color: #c89932;
}

/* スライダーについて、
最後の画像が最初に表示されてしまうバグ対策のため$(window).load()に修正。
それにより一時的に表示される画像を初回非表示に*/
.top_bxslider li { display: none; }
.bx-viewport .top_bxslider li { display: block; }
.mod-bxslider li { display: none; }
.bx-viewport .mod-bxslider li { display: block; }
.culture-top-bxslider li { display: none; }
.bx-viewport .culture-top-bxslider li { display: block; }
.culture-sub-bxslider li { display: none; }
.bx-viewport .culture-sub-bxslider li { display: block; }
#slide-image li { display: none; }
.bx-viewport #slide-image li { display: block; }

/* CultureBlog post helper classes */
.culture.entry-content .alignleft {
    float: left;
    margin-right: 15px;
    margin-bottom: 20px;
}
.culture.entry-content .alignright {
    float: right;
    margin-left: 15px;
    margin-bottom: 20px;
}
.culture.entry-content .alignleft:after,
.culture.entry-content .alignright:after {
    content: "";
    clear: both;
}
.culture.entry-content .aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 20px;
    text-align: center;
}
.culture.entry-content .wp-caption {
    max-width: 100%;
}
.culture.entry-content .wp-caption img {
    margin: 0 auto;
    vertical-align: bottom;
}
.culture.entry-content .wp-caption .wp-caption-text {
    background: #f4f4f4;
    margin: 0;
    padding: 10px 15px;
}
.culture.entry-content a {
    text-decoration: underline;
}
.culture.entry-content a:hover {
    text-decoration: none;
}
.culture.entry-content img {
    max-width: 100%;
    height: auto;
}
.culture.entry-content strong,
.culture.entry-content b {
    font-weight: bold;
    font-style: normal;
}
.culture.entry-content i,
.culture.entry-content em {
    font-style: italic;
}
.culture.entry-content small {
    font-size: 70%;
}
.culture.entry-content hr {
    clear: both;
    height: 1px;
    margin: 20px 0;
    color: #ffffff;
    border: none;
    border-top: 1px solid #979797;
}
.culture.entry-content blockquote {
    position: relative;
    margin-top: 23px;
    margin-right: 0;
    margin-left: 0;
    padding: 50px 25px 10px;
    background-color: #f3f3f3;
    border-top: 1px dotted #b2b2b2;
    border-bottom: 1px dotted #b2b2b2;
}
.culture.entry-content blockquote:before {
    content: "”";
    position: absolute;
    z-index: 0;
    top: 7px;
    left: 25px;
    color: #7d7d7d;
    font-size: 80px;
    line-height: 1;
}
.culture.entry-content blockquote:after {
    content: "";
    display: table;
    clear: both;
}
.culture.entry-content table {
    width: 100%;
    margin: 45px 0;
    border-collapse: collapse;
}
.culture.entry-content table th,
.culture.entry-content table td {
    padding: 20px;
    border: 1px solid #CCC;
}
.culture.entry-content table th {
    width: 25%;
    text-align: left;
    vertical-align: top;
    color: #FFF;
    font-weight: bold;
    background-color: #c69542;
}
.culture.entry-content table td {
    width: 75%;
    background-color: #fff;
}
.culture.entry-content ul {
    margin: 18px 0;
}
.culture.entry-content ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 5px;
}
.culture.entry-content ul li:before {
    position: absolute;
    display: inline-block;
    content: "・";
    top: 0;
    left: 0;
}
.culture.entry-content li ul {
    margin: 10px 0;
}
.culture.entry-content ol {
    margin: 18px 0 18px 0.2em;
    display: table;
    counter-reset: entrynumber;
}
.culture.entry-content ol > li {
    display: table-row;
}
.culture.entry-content ol > li:before {
    display: table-cell;
    padding-right: 0.6em;
    font-size: 12px;
    text-align: right;
    counter-increment: entrynumber;
    content: counter(entrynumber) ".";
}
.culture.entry-content ol > li:after {
    content: "";
    display: block;
    margin-bottom: 0.5em;
}
.culture.entry-content li ol {
    margin: 10px 0;
}
.culture.entry-content dl {
    margin: 18px 0;
}
.culture.entry-content dt {
    padding-bottom: 5px;
    color: #c69542;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #CCC;
}
.culture.entry-content dd {
    margin-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
}
.attend-list li {
    padding: 5px 0;
}


.payment-list th {
    background-color: #c89932;
    color: white;
    padding: 3px 10px;
}
.payment-list td {
    padding: 3px 10px;
}
.payment-list td.amount {
    text-align: right;
}
.class-closed,
.registed-message {
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
    background-color: white;
    border: solid 1px #c89932;
    padding: 10px;
}
.class-closed {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
.full-term-notify {
    line-height: 1.5;
    margin-top: 0.5em;
    margin-bottom: 1em;
}
.off-form .stripe-button-el {
    display: none;
}

.pay_method_box {
    margin-bottom: 1em;
}
.bannerBlog {
}

.contact-form {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.contact-form th,
.contact-form td {
    padding: 5px 10px;
    border: solid 1px #c89932;
}
.contact-form th {
    text-align: left;
    color: #af5e4e;
    vertical-align: top;
//    border-left: solid 3px #c89932;
}
.contact-form textarea,
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="email"] {
    padding: 5px;
    width: 97%;
}
#viza-type-other {
    width: 8em;
}
.contact-form textarea {
    height: 8em;
}
.contact-form .wpcf7-list-item {
    line-height: 2;
}
.require {
    padding-left: 5px;
    color: red;
}

@media (max-width: 667px) {
	.pickup .item {
        width: 48%;
        margin: 0 1% 20px;
	}

} /* @media (max-width: 667px) */

@media (max-width: 480px) {
	.class-list .item {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.class-list .item .image {
		display: block;
		width: 100%;
		height: auto;
        padding-left: 10px;
	}

    .class-list .item .image:before {
        padding-top: 0;
    }

    .class-list .item .image img {
        float: left;
        position: static;
        width: 30%;
        padding-top: 10px;
    }

	.class-list .item .image p {
        float: left;
		position: static;
		background: none;
        width: 70%;
		height: auto;
		color: #333333;
	}

    .class-slide {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .class-text-box {
        float: none;
        width: 100%;
    }

    .culture.entry-content .alignleft,
    .culture.entry-content .alignright {
        clear: both;
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .class-closed {
        width: auto;
    }

    .contact-form th,
    .contact-form td {
        display: block;
        border: none;
        border-left: solid 3px #c89932;
    }
    .contact-form th {
        margin-top: 5px;
    }
} /* @media (max-width: 480px) */




