/*
 Theme Name: kawamotohari
 Description: kawamotohari
 Author: WebScale
 Author URI: https: //www.w-scale.com
 Version: 1.0
*/


html,body {
	/*height: 100%;*/
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-size: 1em;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background-color: #f5fae7;
	-webkit-text-size-adjust: 100%;
	font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
*, *:after, *:before {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#container {
	width: 100%;
	min-width: 1024px;
}

.nl:before {
	content: '　';
}

/* ---------------------------------------------------------- */
/*   共通のStyling                         　　　             */
/* ---------------------------------------------------------- */
/* 共通：配置 */
.left {
	float: left;
}

.right {
	float: right;
}

.clearboth {
	clear: both;
}

.clearfix:after {/* clearfix */
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.clearfix{/* clearfix for ie7 */
	display: inline-block;
}

.clearfix {
	display: block;
}


/* 共通：フォント */
h1.site-title {
	text-align: left;
	float: left;
	font-size: 1em;
	color: #ffffff;
}

h2.site-description {
	font-family: georgia, 'times new roman', serif;
	float: left;
	font-size: 1em;
}

h2 {
	font-family: georgia, 'times new roman', serif;
	font-size: 1.5em;
	line-height: 1.5em;
	color: #5B330B;
}

h3 {
	font-family: georgia, 'times new roman', serif;
	font-size: 3em;
	line-height: 1.5em;
	color: #5B330B;
}

h4 {
	font-family: georgia, 'times new roman', serif;
	font-size: 1.5em;
	line-height: 1.1em;
	color: #5B330B;
}

strong.point {
	background-color: #FFFF8D;
}

.more {
	float: right;
}

.more p {
	width: 150px;
	padding: 5px;
	background-color: #182F5D;
	text-align: center;
}

.more p a {
	color: #ffffff;
}


/* 共通：画像 */
img {
	border: none;
	max-width: 100%;
	height: auto;
}


/* 共通：リスト */
ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}


/* 共通：表 */
.table1, .table2 {
	width: 85%;
	margin: 0px auto 50px auto;
}

.table1 tr th, .table1 tr td, .table2 tr th, .table2 tr td {
	padding: 10px;
}

.table1 tr th, .table2 tr th {
	background-color: #EDE9E8;
}

.table1 tr td, .table2 tr td {
	background-color: #ffffff;
}

.table1 tr th {
	width: 50%;
}

.table2 tr th {
	width: 20%;
}


/* 共通：ヘッダー */
#header {
	width: 100%;
	min-width: 1024px;
	background-color: #205e26;
	text-align: center;
	margin: 0px 0px 0px 0px;
	//position: fixed;
	top: 0;
	z-index: 1000;
}

#header p {
	color: #ffffff;
	font-size: 1.2em;
	padding: 5px;
	margin: 5px 0px -5px 0px;
}

#header p a {
	color: #ffffff;
}

#header-inner {
	width: 1024px;
	margin: auto;
}


/* 共通：フッター */
#footer {
	width: 100%;
	min-width: 1024px;
	margin-top: 30px;
	text-align: right;
	background-color: #205e26;
}

#footer-inner {
	width: 1024px;
	margin: 20px auto;
	padding: 15px;
	z-index: 1000;
}

#footer p {
	color: #ffffff;
	font-size: 0.9em;
	margin: 0px;
}

#footer a {
	color: #ffffff;
}


/* 共通：ホームへ */
#to-top {
	width: 110px;
	height: 150px;
	position: fixed;
	padding-top: 20px;
	bottom: 50px;
	right: 0px;
	color: #722f03;
	background-image: url(img/ic_to-top.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	z-index: 1001;
}

#to-top a {
	color: #722f03;
	width: 100px;
	text-align: center;
	display: block;
	border-radius: 5px;
}

#to-top a:hover {
}

/* 共通：ボタン */
.button {
	color: #ffffff;
	background-color: #000000;
	font-family: inherit;
	font-size: 1.5em;
	padding: 30px 15px;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
}

.button a {
	color: #ffffff;
	text-decoration: none;
}

.button a : focus {
	outline: none;
}

/* ---------------------------------------------------------- */
/*   ページ別Styling                                          */
/* ---------------------------------------------------------- */
/*ログインページ*/
#wpg-login {
	margin: auto;
}

.large {
	width: 100%;
	max-width: 500px;
	font-weight: bold;
	font-size: 1.5em;
	margin: auto;
}

.link {
	width: 30%;
	padding: 10px;
	font-size: 1em;
	margin: auto;
	border: 1px solid #746d2f;
	background-color: #ffffff;
	color: #746d2f;
}

.link a {
	color: #746d2f;
}

/* トップページ */
#contents {
	width: 100%;
	min-width: 1024px;
	margin: 0px;
}

#contents-inner {
	width: 1024px;
	margin: auto;
}

.button-premium,
.button-free {
	width: 40%;
	margin: 30px 5%;
	float: left;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
}

.button-premium a,
.button-free a{
	display: block;
	height: 100%;
	width: 100%;
}

.button-premium {
	background-color: #de8c7c;
}

.button-free {
	background-color: #689cad;
}


/*記事詳細*/
#entry {
	width: 100%;
	min-width: 1024px;
}

#entry-inner {
	width: 1024px;
	margin: 20px auto;
	padding: 10px;
}

#entry-content {
	margin-left: 50px;
}

/*動画埋め込み*/
#movie-iframe {
    width: 100%; 
}

#movie-iframe-inner {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 56%;/* 16:9 */
}

#movie-iframe-inner iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid #000000;
}

/*動画一覧*/
.movie-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.movie-list button {
	width: 46%;
	margin : 2%;
	float: left;
	font-size: 1.2em;
	text-align: center;
	padding: 10px 0px;
	color: #ffffff;
}

.movie-list span {
	font-size: 1.2em;
}

.movie-list img {
	/*max-width: 98%;*/
	/*height: auto;*/
	display: none;
}


/*先生用全動画リスト*/
#mokuji {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

#mokuji a {
	width: 30%;
	padding: 10px 1%;
	border: 1px solid #000000;
	border-radius: 10px;
	margin: 10px 0.5%;
}

#all_movie_list {
	width: 100%;
	margin-top: 0;
	border-top: 3px solid #000000;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

#all_movie_list div {
	position: relative;
	width: 46%;
	padding-top: 30%; /* 56.25%= height ÷ width × 100 */
	margin: 0 2%;
}

#all_movie_list div iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*トップへ戻るボタン*/
#page-top {
    position: fixed;
    right: 2px;
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #ffbf70;
    padding: 0 0 0 35px;
    border-top: solid 1px;
}
#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}
