@charset "utf-8";
/*
Theme Name: boar_G_child
Version: 1.0
*/

/* ================================================
WordPress 基本機能のCSS
================================================ */

.entry img{
	height: auto;
	overflow: hidden;
}


img.centered {
	display: block;
	margin: 0 auto;
}

.img_nav{
	padding-top: 30px;
}


@media only screen and (min-width: 1200px){

img.alignright {
	margin: 0 0 15px 15px;
	display: inline;
}

img.alignleft {
	margin: 0 15px 15px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}

}

@media only screen and (min-width: 1079px){

img.alignright {
	display: block;
	padding: 0;
	margin: 0 auto 15px auto;
}

img.alignleft {
	display: block;
	padding: 0;
	margin: 0 auto 15px auto;
}

.alignright {
	padding: 0;
	margin: 0 auto 15px auto;
}

.alignleft {
	padding: 0;
	margin: 0 auto 15px auto;
}

}

.postmetadata {
	text-align: center;
}

h2 #comments {
	padding: 0;
	margin: auto 20px ;
}


.thread-alt {
	background-color: #f8f8f8;
	}

.thread-even {
	background-color: white;
	}

.depth-1 {
	border: 1px solid #ddd;
	}

.even, .alt {
	border-left: 1px solid #ddd;
	}

small {
	font-size: 0.9em;
	line-height: 1.5em;
	}

.entry p a:visited {
	}

.sticky {
	background: #f7f7f7;
	padding: 0 0 0 0;
	}

.sticky h2 {
	padding-top: 10px;
	}

.commentlist li, #commentform input, #commentform textarea {
	}

.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: 0.7em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: underline;
	}

#wp-calendar caption {
	text-align: left;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

.post hr {
	display: block;
	}


.postmetadata {
	margin: 30px 0;
	}

.smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.attachment {
	text-align: center!important;
	margin: 5px 0px;
	}

.postmetadata {
	clear: both;
	font-size: 0.9em;
}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

li.bypostauthor {
    background: mediumslateblue;
}

/* ------------------------------------------------
投稿や検索フォーム
------------------------------------------------ */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#columnLeft #searchform #s {
	padding: 2px;
	width: 70%;
	}

#columnLeft #searchsubmit {
	padding: 1px;
	}

.entry form {
	text-align:center;
	}


#commentform input {
	width: 170px!important;
	padding: 2px!important;
	margin: 5px 5px 1px 0!important;
	}

#commentform {
	margin: 5px 10px 0 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}

/* ------------------------------------------------
コメント表示
------------------------------------------------ */

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
/*	text-align: justify; */
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}

.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

/* ------------------------------------------------
カレンダー(ウィジェット)
------------------------------------------------ */

#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: left;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }

/* ------------------------------------------------
Tag関連
------------------------------------------------ */

acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}

/* ------------------------------------------------
キャプション
------------------------------------------------ */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.wp-caption,
.gallery-caption{
	width: 100%!important;	
}

.wp-caption img {
	max-width: 100%!important;	
	margin: 0;
	padding: 0;
	border: 0 none;
	}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
	}

/* ------------------------------------------------
Contact Form7
------------------------------------------------ */
.wpcf7-form textarea{
	width: 90% !important;
	}	 /*本文*/
	
.wpcf7-form .wpcf7-submit{
	width: 40% !important;
	margin:0 30% !important;
	} /*送信ボタン*/

    

/* ------------------------------------------------
Gutenberg
------------------------------------------------ */

@media screen and (min-width: 601px) and (max-width: 1079px){
  .wp-block-columns {
    flex-flow: nowrap!important;
  }
}

.conline{
	border-bottom:1px solid #ccc;
	padding:10px 0px 10px 0px;
	margin-bottom:10px 0px 10px 0px;
}


/* ------------------------------------------------
越智スタイル
------------------------------------------------ */

#swpm-paypal-payment-form-6128d59e61b1e {
    background: #00A3D9!important;
    color: #FFF!important;
    padding: 0 10px!important;
    border-radius: 5px!important;
}

.topkazu img{
	padding-top: 6px;
}

.topbotton{
overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  background: #FFFFFF;
  border-radius: 10px;
  font-family: SQ Market, SQ Market, Helvetica, Arial, sans-serif;
margin-bottom:-40px;
	clear: both;
}
.topbotton2{
display: inline-block;
    font-size: 18px;
    line-height: 48px;
    height: 48px;
    color: #ffffff;
    min-width: 212px;
    background-color: #00A3D9;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset;
    border-radius: 50px;
	clear: both;
}

.tred{font-weight: 600; color: #ff0000;}


.entry h3 h4{
	font-weight:600 !important;
	margin-bottom:10px !important;
	 color: #00A3D9 !important;
}

/*トップの仏検目訳*/
.toptable-wrap {
  overflow-x: scroll;
}

.toptable {
  border-collapse: collapse;
  border: solid 5px #ccc;/*表全体を線で囲う*/
	text-align: center;
	width:100%;
	min-width: 800px;
  border-collapse: collapse;
	font-size: 1em;
}
.toptable th, .toptable td {
  border: dashed 1px #ccc;
	padding:10px !important;
}
.toptable th {
	text-align: left;
	font-weight:100;
	width:40%;
    background-color: #0052d91f;
}

.clickable {
	text-align: center!important;
    cursor: pointer;
    border: dashed 1px #ccc;
    padding: 10px;
    margin: 0 auto 0;
	width:80%;
  }
.bot_style {
    display: inline-block;
    text-decoration: none;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}


/*PDFのサムネイル線*/
.thumb-of-pdf{
	border: dashed 1px #ccc;/
}

/*トップ説明のマージン*/
.topai{
	margin-top:40px;
}

/* トップ新着情報 */
.newslist a:hover{
	color: #fff;
	background-color:#00A3D9;
}

.list-container {
  display: flex;
  flex-wrap: wrap;
}

.newslist {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%; /* 必要に応じて親要素に幅を設定 */
}

.newslist li {
  border-bottom: 1px solid #ccc; /* 下部のみにボーダーを追加 */
  padding: 0 0 10px 0;
  width: calc(25% - 20px); /* 4つ横並びにするための幅調整 */
  margin-bottom: 20px; /* アイテム間の垂直マージン */
  box-sizing: border-box;
}

.new-icon{
  content: "NEW";
  background-color: #bf0000;
  color: #FFF;
  display: inline-block;
  line-height: 1em;
  padding: 3px 3px 2px 4px;
  font-size: 0.7rem;
  margin-right: 5px;
}
.newstime{
	font-size:0.7em;
	color: #00A3D9;
}

.mt60{
	margin-top:60px;
}

/* レスポンシブル対応 */
@media only screen and (max-width: 768px) {
  .newslist li {
    width: calc(50% - 10px); /* 幅を50%に調整して2つ横並びに */
  }
.mt60{
	margin-top:20px;
}
#keyvisual {
    padding: 0;
    margin: 20px auto 15px auto;
    position: relative;
}
}

.g-recaptcha div{
margin:0px auto;
}
.swpm-login-form-inner,.post_content{
text-align:center;
line-height:2;
}

.swpm-password-input,.swpm-username-input{
	width: 100%; /*親要素いっぱい広げる*/
	padding: 10px 15px; /*ボックスを大きくする*/
	border-radius: 3px; /*ボックス角の丸み*/
	box-sizing: border-box; /*横幅の解釈をpadding, borderまでとする*/
	outline: none;
}
.swpm-registration-username-row{
	margin:5px;
}

.content_list h3.bluetitle{
	background-color:#00A3D9;
	padding:5px 0px 3px 0px;
	color:#fff;
	text-align:center;align-content;
	margin-bottom:20px;
	font-size:1.2em;
	border-radius: 7px;
	font-weight:600;
	text-shadow: #00789F 1px 0 10px;
}
.content_list h3.redtitle{
	background-color:#B20000;
	padding:5px 0px 3px 0px;
	color:#fff;
	text-align:center;align-content;
	margin-bottom:20px;
	font-size:1.2em;
	border-radius: 7px;
	font-weight:600;
	text-shadow: #800000 1px 0 10px;
}

.content_list a{
	text-decoration: none;
}
.content_list a:hover {
  text-decoration: underline;
}

/* サイド上部バー（ロゴ ＋ 三本線アイコン） */
.sidebar_bar{
	text-align: center;   /* PC：ロゴ中央、アイコンは非表示 */
	padding-top: 16px;
}
.sidebar_logo{
	display: inline-block;
}
.sidebar_logo img{
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}
.sidebar_login{
	margin-bottom: 18px;
}
/* 新規会員登録ボタン（ログインの青と差別化して目立たせる） */
.sidebar_register_lead{
	margin: 16px 0 6px;
	font-size: 12px;
	color: #666;
	text-align: center;
}
.sidebar_register_btn{
	display: block;
	padding: 14px 16px;
	text-align: center;
	background: linear-gradient(135deg,#ff8a3d,#ff6a00);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(255,106,0,0.28);
	transition: transform 0.15s ease, opacity 0.2s ease;
}
.sidebar_register_btn:hover{
	transform: translateY(-2px);
	opacity: 0.95;
	color: #fff !important;
}

/* 三本線アイコン（PCでは非表示） */
.sidebar_menu_toggle{
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	flex: 0 0 auto;
}
.sidebar_menu_toggle .bars{
	position: relative;
	display: block;
	width: 26px;
	height: 18px;
	margin: 0 auto;
}
.sidebar_menu_toggle .bars span{
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #333;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.sidebar_menu_toggle .bars span:nth-child(1){ top: 0; }
.sidebar_menu_toggle .bars span:nth-child(2){ top: 8px; }
.sidebar_menu_toggle .bars span:nth-child(3){ top: 16px; }
/* 開いたら × 印に */
.sidebar_menu_toggle.open .bars span:nth-child(1){ top: 8px; transform: rotate(45deg); }
.sidebar_menu_toggle.open .bars span:nth-child(2){ opacity: 0; }
.sidebar_menu_toggle.open .bars span:nth-child(3){ top: 8px; transform: rotate(-45deg); }

/* スマホ〜タブレット：ヘッダー風バー＋メニュー収納 */
@media screen and (max-width: 1199px){
	.sidebar_bar{
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px 14px;
		background: #fff;
		border-bottom: 1px solid #e4e9f0;
	}
	.sidebar_logo img{
		width: auto;
		height: 40px;
		margin: 0;
	}
	.sidebar_menu_toggle{ display: block; }
	.sidebar_nav{ display: none; }
	.sidebar_nav.open{ display: block; }
}

/* サイドの共通ページナビ（ホーム・申込・利用規約 等） */
.sidebar_pagenav{
	margin: 14px 0 6px;
}
.sidebar_pagenav ul{
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}
.sidebar_pagenav li + li{
	border-top: 1px solid #e9eef4;
}
.sidebar_pagenav li a{
	display: block;
	padding: 11px 14px;
	font-size: 0.92em;
	color: #2f5fa7;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.sidebar_pagenav li a::before{
	content: '›';
	margin-right: 8px;
	color: #00A3D9;
	font-weight: 700;
}
.sidebar_pagenav li a:hover{
	background: #f2f9fc;
	color: #00789F;
	text-decoration: none;
}

/* カテゴリー一覧の直上：動画一覧に戻るボタン */
.sidebar_videolist_btn{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 18px 0 20px;
	padding: 13px 16px;
	background: linear-gradient(135deg, #0f1f6b, #1e3a8a);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-align: center;
	text-decoration: none !important;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(15,31,107,0.35);
	transition: transform 0.15s ease, opacity 0.2s ease;
}
.sidebar_videolist_btn::before{
	content: '▶';
	font-size: 10px;
}
.sidebar_videolist_btn:hover{
	transform: translateY(-2px);
	opacity: 0.92;
	color: #fff !important;
}

/* サイドメニュー グループ見出し */
.content_list .side_group{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 22px 0 8px;
	padding: 6px 10px;
	font-size: 1em;
	font-weight: 600;
	color: #fff;
	background-color: #00A3D9;
	border-radius: 6px;
	letter-spacing: 0.04em;
	cursor: pointer;
}
/* 開閉キャレット（JS有効時のみ表示） */
.content_list .side_group.toggle::after{
	content: '−';
	flex: 0 0 auto;
	margin-left: 8px;
	font-weight: 700;
	line-height: 1;
}
.content_list .side_group.toggle.closed::after{
	content: '＋';
}

/* 新着動画があるシリーズ／グループに付くNEWバッジ（投稿から7日間だけ自動表示） */
.new_badge{
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.6;
	color: #fff;
	background: linear-gradient(135deg,#ff5252,#ff8a3d);
	border-radius: 999px;
	letter-spacing: 0.02em;
	vertical-align: middle;
}

/* 旧サイトCSS（/css/style.css）の上書き ------------------------- */
/* 1) 各項目に付く "▶" マーカーを無効化（独自スタイルを使うため） */
.content_list li::before{
	content: none !important;
}
/* 2) 旧CSSは幅1199px以下でサイドメニューを display:none で隠すが、
      ヘッダー撤去でサイドが主ナビになったため常に表示する */
@media screen and (max-width: 1199px){
	.content_list{
		display: block !important;
	}
}
/* 3) スマホ(767px以下)ではサイド(#columnLeft)が本文の後ろに積まれて
      最下部に埋もれるため、本文より上に並び替えて主ナビとして使えるようにする */
@media screen and (max-width: 767px){
	#contents{
		display: flex;
		flex-direction: column;
	}
	#columnLeft{
		order: 1;
	}
	#mainContents_02{
		order: 2;
	}
}
/* ----------------------------------------------------------------- */

/* シリーズ項目のマーカー（ページナビと揃える） */
.content_list ul.mb20 li a::before{
	content: '›';
	margin-right: 8px;
	color: #00A3D9;
	font-weight: 700;
}
.content_list .side_group:first-child{
	margin-top: 4px;
}
.content_list ul.mb20{
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.content_list ul.mb20 li{
	border-bottom: 1px solid #e5e5e5;
}
.content_list ul.mb20 li a{
	display: block;
	padding: 8px 10px;
	font-size: 0.92em;
	line-height: 1.5;
	color: #333;
}
.content_list ul.mb20 li a:hover{
	text-decoration: none;
	background: #f2f9fc;
	color: #00A3D9;
}
/* 表示中のシリーズ */
.content_list ul.mb20 li a.current{
	background: #eaf6fb;
	color: #00789F;
	font-weight: 600;
	border-left: 3px solid #00A3D9;
}

/* PCグローバルナビ「動画一覧」メガメニュー（先生別の段組み） */
.dropContent_groups{
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
	padding: 6px 10px;
}
.dropContent_col{
	min-width: 180px;
}
.dropContent_head{
	margin: 0 0 6px;
	padding: 3px 8px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: #00A3D9;
	border-radius: 4px;
}
.dropContent_col ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.dropContent_col li{
	margin: 0;
}
.dropContent_col li a{
	display: block;
	padding: 4px 8px;
	font-size: 13px;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
}
.dropContent_col li a:hover{
	color: #00A3D9;
	text-decoration: underline;
}

/* パスワードリセットボタン */
form input[type="submit"],
form button,
form .button,
button[name="submit"],
input[name="submit"] {

    background: linear-gradient(135deg,#2f5fa7,#4b7ed6) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 25px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

/* ホバー */
form input[type="submit"]:hover,
form button:hover,
form .button:hover {

    background: linear-gradient(135deg,#244a84,#3d6cc0) !important;
}

/* ログインフォーム入力欄 修正版 */
.login input[type="text"],
.login input[type="password"],
input[type="text"],
input[type="password"],
input[type="email"] {

    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    border: 1px solid #d7dce5 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    font-size: 16px !important;
    margin: 0 !important;
}

/* フォーカス */
.login input[type="text"]:focus,
.login input[type="password"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {

    border-color: #4b7ed6 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(75,126,214,0.15) !important;
}

/* パスワードリセット画面 */

.swpm-password-reset-widget-form {
    text-align: center;
}

/* 入力欄中央 */
.swpm-password-reset-widget-form input[type="password"]{
    width: 260px !important;
    max-width: 90% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ボタン中央 */
.swpm-password-reset-widget-form input[type="submit"]{
    display: block !important;
    margin: 20px auto !important;
}

/* ワードプレス動画投稿（単体ページ） */
.video_wrap iframe{
width:100%;
max-width:1000px;
aspect-ratio:16/9;
height:auto;
border-radius:12px;
}

/* ワードプレス動画投稿アーカイブ */
.video_filter{
background:#fff;
padding:20px;
border-radius:14px;
margin-bottom:40px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.filter_block{
display:flex;
align-items:flex-start;
flex-wrap:wrap;
gap:10px 12px;
margin-bottom:22px;
padding-bottom:22px;
border-bottom:1px solid #eef2f7;
}

.filter_block:last-of-type{
margin-bottom:0;
padding-bottom:0;
border-bottom:none;
}

.filter_block h3{
width:100%;
margin:0 0 4px;
font-size:15px;
font-weight:700;
color:#2f5fa7;
padding-left:10px;
border-left:4px solid #4b7ed6;
}

/* 視聴状態 横並び（見出しをチップと同じ行に） */

.filter_block.status_block{
display:flex;
align-items:center;
gap:10px 14px;
flex-wrap:wrap;
}

.filter_block.status_block h3{
width:auto;
margin:0;
}

/* 選択肢をタップしやすいチップ（ボタン）風に統一 */
.filter_block label{
position:relative;
display:inline-flex;
align-items:center;
margin:0;
padding:9px 18px;
font-size:14px;
color:#3d5674;
background:#f4f7fb;
border:1.5px solid #dbe4ef;
border-radius:999px;
cursor:pointer;
user-select:none;
transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;
}

.filter_block label:hover{
border-color:#8fb0da;
}

.filter_block label:active{
transform:scale(.97);
}

/* ネイティブのチェック/ラジオは見た目上隠しつつ操作は残す */
.filter_block input[type="checkbox"],
.filter_block input[type="radio"]{
position:absolute;
opacity:0;
width:1px;
height:1px;
margin:0;
pointer-events:none;
}

/* 選択中はチップ全体を塗りつぶして分かりやすく */
.filter_block label:has(input:checked){
background:linear-gradient(135deg,#2f5fa7,#4b7ed6);
border-color:#2f5fa7;
color:#fff;
font-weight:700;
box-shadow:0 3px 10px rgba(47,95,167,.3);
}

/* キーボード操作時のフォーカスも見えるように */
.filter_block label:has(input:focus-visible){
outline:2px solid #2f5fa7;
outline-offset:2px;
}

/* 動画一覧 */

.video_grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.video_card{
background:#fff;
padding:10px;
border-radius:12px;
box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.video_card iframe{
width:100%;
aspect-ratio:16/9;
height:auto;
border-radius:8px;
}

.video_card h2{
font-size:14px;
margin-top:10px;
line-height:1.5;
}

/* ラベル */

.video_level,
.video_category{
display:inline-block;
padding:4px 10px;
margin:8px 4px 0 0;
border-radius:20px;
font-size:11px;
font-weight:bold;
background:#f3f3f3;
}

/* 視聴済み */

.viewed_badge{
display:inline-block;
padding:4px 10px;
margin-top:8px;
border-radius:20px;
font-size:11px;
font-weight:bold;
background:#4caf50;
color:#fff;
}

/* ボタン */

#viewed_btn{
padding:10px 20px;
border:none;
border-radius:10px;
background:#333;
color:#fff;
cursor:pointer;
}

#viewed_btn.viewed{
background:#4caf50;
}

/* 検索 */
.filter_submit_wrap{
display:flex;
align-items:center;
gap:20px;
margin-top:20px;
}

.video_count{
margin:0;
font-weight:bold;
font-size:16px;
}

/* スマホ */
@media(max-width:768px){
.video_grid{
grid-template-columns:repeat(2,1fr);
gap:15px;
}
.video_card h2{
font-size:12px;
}
.video_filter{
padding:15px;
}
}

/* ================================================
スマホ最適化（できるだけ使いやすく）
================================================ */

/* スマホメニュー内のグループ見出し（先生別） */
#gnav_mm .mean-group,
.mean-nav .mean-group{
	padding: 8px 5%;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	color: #00789F;
	background: #eaf6fb;
	letter-spacing: 0.04em;
	pointer-events: none;
}

@media only screen and (max-width: 768px){

	/* メニューのタップ領域を広めに */
	.mean-nav ul li a{
		padding: 12px 5% !important;
		font-size: 14px;
	}

	/* サイドメニュー：見出し・リンクをタップしやすく */
	.content_list .side_group{
		margin-top: 16px;
		font-size: 1.05em;
		padding: 10px 12px;
	}
	.content_list ul.mb20 li a{
		padding: 12px 12px;
		font-size: 1em;
	}

	/* 動画一覧トップ／一覧の「すべて見る」ボタンは全幅で押しやすく */
	.bot_style{
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 14px 16px;
		font-size: 16px;
		text-align: center;
	}

	/* 絞り込みフォームを縦に積んで見やすく */
	.video_filter{
		padding: 14px;
	}
	.filter_block{
		gap: 8px 10px;
		margin-bottom: 18px;
		padding-bottom: 18px;
	}
	.filter_block h3{
		min-width: 100%;
		margin-bottom: 6px;
	}
	/* 視聴状態の見出しもチップの上に積んでタップ領域を確保 */
	.filter_block.status_block h3{
		width: 100%;
		margin: 0 0 8px;
	}
	/* チップは指で押しやすい大きさに */
	.filter_block label{
		padding: 11px 18px;
		font-size: 14px;
		min-height: 44px;
		box-sizing: border-box;
	}
	.filter_submit_wrap{
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.filter_submit{
		width: 100%;
		padding: 14px 16px;
		font-size: 16px;
		border: none;
		border-radius: 8px;
		background: linear-gradient(135deg,#2f5fa7,#4b7ed6);
		color: #fff;
		font-weight: 700;
	}
	.video_count{
		text-align: center;
		font-size: 14px;
	}

	/* 個別ページ「視聴済み」ボタンを押しやすく */
	#viewed_btn{
		width: 100%;
		padding: 14px 16px;
		font-size: 16px;
	}

	/* ログインフォーム周りの余白を確保 */
	.sidebar_login_btn,
	#loginform input[type="submit"]{
		padding: 14px 16px;
		font-size: 16px;
	}
}

/* ================================================
全ページ共通：本文フォントサイズを統一
　メインコンテンツの基準サイズ・行間を揃える。
　（見出しや utility クラスで明示指定された箇所はそのまま）
================================================ */
#mainContents_02,
#mainContents_02 .entry,
#mainContents_02 .post{
	line-height: 1.85;
}
/* PCではサイドメニューと本文サイズを揃える（両方 0.9rem）。
   スマホは両方とも通常サイズなので指定しない（＝一致する）。 */
@media screen and (min-width: 768px){
	#mainContents_02,
	#mainContents_02 .entry,
	#mainContents_02 .post,
	#columnLeft{
		font-size: 0.9rem;
	}
}

/* ================================================
下層ページの見出し（タイトル）
================================================ */
#contents .title_type01{
	margin: 40px 0 30px;
	padding: 6px 0 14px 16px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.45;
	color: #1f3a5f;
	border-left: 6px solid #00A3D9;
	border-bottom: 2px solid #e6ecf3;
}
#contents .title_type01 a{
	color: inherit;
	text-decoration: none;
}
#contents .title_type01 a:hover{
	color: #00A3D9;
}

@media only screen and (max-width: 768px){
	#contents .title_type01{
		margin: 26px 0 22px;
		padding-left: 12px;
		font-size: 20px;
		border-left-width: 5px;
	}
}

/* ================================================
トップ 新着動画リスト
================================================ */
.top_news_ttl{
	margin: 0 0 14px;
	padding: 6px 0 12px 14px;
	font-size: 20px;
	font-weight: 700;
	color: #1f3a5f;
	border-left: 6px solid #00A3D9;
	border-bottom: 2px solid #e6ecf3;
}
.top_news_list{
	list-style: none;
	margin: 0;
	padding: 0;
}
.top_news_list li{
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 13px 4px;
	border-bottom: 1px dashed #d9e1ec;
}
.top_news_date{
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	color: #00A3D9;
	letter-spacing: 0.04em;
}
.top_news_link{
	color: #333;
	text-decoration: none;
}
.top_news_link:hover{
	color: #00A3D9;
	text-decoration: underline;
}
@media only screen and (max-width: 768px){
	.top_news_list li{
		flex-direction: column;
		gap: 3px;
		padding: 11px 2px;
	}
}

/* ================================================
CTAボタン（お申し込み・お問い合わせ）
================================================ */
.cta_buttons{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin: 10px 0;
}
.cta_btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 260px;
	max-width: 100%;
	padding: 17px 30px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	transition: transform 0.15s ease, opacity 0.2s ease;
}
.cta_btn:hover{
	transform: translateY(-2px);
	opacity: 0.95;
}
.cta_primary{
	background: linear-gradient(135deg,#2f5fa7,#4b7ed6);
	color: #fff;
}
.cta_secondary{
	background: #fff;
	color: #2f5fa7;
	border: 2px solid #2f5fa7;
}
@media only screen and (max-width: 768px){
	.cta_buttons{ flex-direction: column; }
	.cta_btn{ width: 100%; min-width: 0; }
}

/* ================================================
トップ 動画ラインナップ（本数表記なしで整理）
================================================ */
/* 外側のグレーの囲み枠を消す */
.lp_box{
	width: 100%;
	border: none !important;
	background: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}
.lp_box ul.lp_series_list{
	list-style: none;
	margin: 0;
	padding: 0 !important;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 26px;
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
}
/* 各項目の下のグレー横線は残す */
.lp_box ul.lp_series_list li{
	margin: 0;
	border-bottom: 1px solid #e6ecf3;
}
.lp_box ul.lp_series_list li a{
	display: block;
	padding: 7px 6px;
	font-size: 0.95em;
	color: #2f5fa7;
	text-decoration: none;
}
.lp_box ul.lp_series_list li a::before{
	content: '›';
	margin-right: 8px;
	color: #00A3D9;
	font-weight: 700;
}
.lp_box ul.lp_series_list li a:hover{
	color: #00A3D9;
	text-decoration: underline;
}
.lp_teacher{
	margin-left: 8px;
	font-size: 0.82em;
	color: #8a93a0;
}
/* トップのシンプルなセクション見出し */
.top_section_ttl{
	text-align: center;
	font-size: 1.4em;
	font-weight: 700;
	color: #1f3a5f;
	margin: 0 0 22px;
	padding: 0;
	line-height: 1.5;
}
.top_section_ttl::after{
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin: 12px auto 0;
	background: linear-gradient(90deg,#00A3D9,#4b7ed6);
	border-radius: 2px;
}
/* トップ本文のサイズを基準に統一（lp由来の大きめ指定を打ち消す） */
#mainContents_02 .text_contents,
#mainContents_02 .text_contents02{
	font-size: inherit;
	line-height: 1.9;
}
/* カテゴリー一覧：狭い画面は1列に */
@media only screen and (max-width: 600px){
	.lp_box ul.lp_series_list{
		grid-template-columns: 1fr;
	}
}

/* トップのカテゴリー一覧（サイドと同じ .content_list 表示）— トップは開閉しないのでカーソルは通常に */
.top_categories .side_group{
	cursor: default;
}

/* ================================================
トップ メインビジュアル
================================================ */
.top_keyvisual{
	margin-top: 10px;
}
.top_keyvisual img{
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}
@media only screen and (max-width: 768px){
	.top_keyvisual img{
		border-radius: 8px;
	}
}

/* ================================================
お問い合わせフォーム（.table_01）— レイアウトは既存のまま、点線の囲いだけ消す
================================================ */
.table_01,
.table_01 .tbody,
.table_01 dl,
.table_01 dl dt,
.table_01 dl dd{
	border: none !important;
}
.table_01 dl dt img{
	height: 16px;
	width: auto;
	vertical-align: middle;
}
/* 送信ボタン（中央・大きめ／色は既存のグラデを利用） */
.wpcf7 .wpcf7-submit,
.table_01 + p input[type="submit"]{
	display: block !important;
	width: auto !important;
	min-width: 260px !important;
	margin: 28px auto 0 !important;
}

/* ================================================
お問い合わせフォーム（刷新デザイン .amitie-form）
================================================ */
.amitie-form{
	max-width: 680px;
	margin: 0 auto;
}
.af-row{
	margin-bottom: 24px;
}
.af-label{
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 700;
	color: #1f3a5f;
}
.af-req{
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	background: #e2553b;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: 0.04em;
}
.af-name{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.af-sub{
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	color: #8a93a0;
}
.af-note{
	display: block;
	margin: 8px 0;
	font-size: 12px;
	color: #8a93a0;
}
.amitie-form input[type="text"],
.amitie-form input[type="email"],
.amitie-form input[type="tel"],
.amitie-form textarea,
.amitie-form select{
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 13px 15px !important;
	margin: 0 !important;
	border: 1px solid #dde3ec !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
	font-size: 16px !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.amitie-form input[type="text"]:focus,
.amitie-form input[type="email"]:focus,
.amitie-form input[type="tel"]:focus,
.amitie-form textarea:focus,
.amitie-form select:focus{
	border-color: #4b7ed6 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(75,126,214,0.15) !important;
	outline: none !important;
}
.amitie-form textarea{
	min-height: 160px !important;
}
.af-consent{
	text-align: center;
	background: #f4f7fb;
	border-radius: 10px;
	padding: 16px;
}
.af-submit{
	text-align: center;
	margin-top: 14px;
}
.amitie-form input[type="submit"]{
	min-width: 280px;
	padding: 16px 34px !important;
	border: none !important;
	border-radius: 50px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #fff !important;
	background: linear-gradient(135deg,#2f5fa7,#4b7ed6) !important;
	box-shadow: 0 6px 16px rgba(47,95,167,0.30) !important;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.2s ease;
}
.amitie-form input[type="submit"]:hover{
	transform: translateY(-2px);
	opacity: 0.95;
}
.wpcf7-not-valid-tip{
	font-size: 12px;
}
@media only screen and (max-width: 600px){
	.af-name{ grid-template-columns: 1fr; }
	.amitie-form input[type="submit"]{ width: 100%; min-width: 0; }
}

/* ================================================
新規会員登録フォーム（Simple Membership / SWPM）— お問い合わせと同じ今風デザイン
================================================ */
.page-membership-registration .swpm-registration-widget-form,
.swpm-registration-widget-form{
	max-width: 680px;
	margin: 0 auto;
}
/* 各行の余白 */
.page-membership-registration .swpm-registration-widget-form p,
.page-membership-registration .swpm-registration-widget-form > div,
.swpm-registration-widget-form p,
.swpm-registration-widget-form .swpm-registration-form-row{
	margin-bottom: 18px;
}
/* ラベル */
.page-membership-registration .swpm-registration-widget-form label,
.swpm-registration-widget-form label{
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 700;
	color: #1f3a5f;
}
/* 入力欄 */
.page-membership-registration input[type="text"],
.page-membership-registration input[type="email"],
.page-membership-registration input[type="password"],
.swpm-registration-widget-form input[type="text"],
.swpm-registration-widget-form input[type="email"],
.swpm-registration-widget-form input[type="password"]{
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 13px 15px !important;
	margin: 0 !important;
	border: 1px solid #dde3ec !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
	font-size: 16px !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.page-membership-registration input[type="text"]:focus,
.page-membership-registration input[type="email"]:focus,
.page-membership-registration input[type="password"]:focus,
.swpm-registration-widget-form input:focus{
	border-color: #4b7ed6 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(75,126,214,0.15) !important;
	outline: none !important;
}
/* 登録ボタン（中央・丸み・グラデ） */
.page-membership-registration .swpm-registration-submit,
.page-membership-registration input[type="submit"],
.swpm-registration-widget-form input[type="submit"]{
	display: block !important;
	min-width: 280px;
	margin: 26px auto 0 !important;
	padding: 16px 34px !important;
	border: none !important;
	border-radius: 50px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #fff !important;
	background: linear-gradient(135deg,#2f5fa7,#4b7ed6) !important;
	box-shadow: 0 6px 16px rgba(47,95,167,0.30) !important;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.2s ease;
}
.page-membership-registration .swpm-registration-submit:hover,
.page-membership-registration input[type="submit"]:hover,
.swpm-registration-widget-form input[type="submit"]:hover{
	transform: translateY(-2px);
	opacity: 0.95;
}
@media only screen and (max-width: 600px){
	.page-membership-registration input[type="submit"],
	.swpm-registration-widget-form input[type="submit"]{
		width: 100%;
		min-width: 0;
	}
}

/* ================================================
有料視聴のお申し込み — 料金カード（.price_cards）
　※ ページ本文に下記HTMLを貼ると、おしゃれなカードになります
================================================ */
.price_cards{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 30px 0;
	align-items: stretch;
}
.price_card{
	background: #fff;
	border: 1px solid #e6ecf3;
	border-radius: 16px;
	padding: 28px 24px 30px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(0,0,0,0.06);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price_card:hover{
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.price_card.is_recommend{
	border: 2px solid #00A3D9;
	box-shadow: 0 12px 28px rgba(0,163,217,0.18);
}
.price_card .plan_badge{
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: #00A3D9;
}
.price_card .plan_name{
	font-size: 18px;
	font-weight: 700;
	color: #1f3a5f;
	margin: 0 0 10px;
}
.price_card .plan_price{
	font-size: 30px;
	font-weight: 800;
	color: #2f5fa7;
	line-height: 1.2;
}
.price_card .plan_price small{
	font-size: 14px;
	font-weight: 600;
	color: #6b7280;
}
.price_card .plan_note{
	font-size: 13px;
	color: #6b7280;
	margin: 8px 0 20px;
	min-height: 38px;
}
.price_card .plan_btn{
	margin-top: auto;
	display: inline-block;
	padding: 14px 20px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(135deg,#2f5fa7,#4b7ed6);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	transition: opacity 0.2s ease, transform 0.15s ease;
}
.price_card .plan_btn:hover{
	opacity: 0.92;
	transform: translateY(-2px);
	color: #fff;
}

/* 新規会員に登録ボタン（SWPMプラグインの素のボタンをデザイン統一） */
.swpm-subscription-button-submit{
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	padding: 14px 28px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg,#2f5fa7,#4b7ed6);
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	transition: opacity 0.2s ease, transform 0.15s ease;
}
.swpm-subscription-button-submit:hover{
	opacity: 0.92;
	transform: translateY(-2px);
}
@media only screen and (max-width: 768px){
	.price_cards{ grid-template-columns: 1fr; }
}

/* ================================================
フッター
================================================ */
#footer{
	position: relative;
	margin-top: 70px;
	padding: 0;
	background: #fff;
	color: #555;
}
/* 上部のブランドカラー アクセントライン */
#footer::before{
	content: '';
	display: block;
	height: 4px;
	background: linear-gradient(90deg,#00A3D9,#2f5fa7,#4b7ed6);
}

#footer_inner{
	max-width: 1000px;
	margin: 0 auto;
	padding: 44px 20px 30px;
	text-align: center;
}

/* ロゴ・電話・営業時間のまとまり */
.footer_section{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 30px;
	margin-bottom: 26px;
	padding-bottom: 26px;
	border-bottom: 1px solid #e2e8f0;
}
.footer_section img{
	height: auto;
	max-width: 200px;
}
.footer_section span{
	display: inline-block;
	font-size: 13px;
	color: #6b7280;
	letter-spacing: 0.06em;
}

/* 関連サイトリンク・コピーライト */
#footer_inner p{
	line-height: 1.9;
}
#footer_inner p a{
	color: #2f5fa7;
	text-decoration: none;
	transition: color 0.2s ease;
}
#footer_inner p a:hover{
	color: #00A3D9;
	text-decoration: underline;
}
#footer_inner .recap{
	color: #9aa3af;
	font-size: 11px;
}

/* 最下部リンクバー（ログイン・お問い合わせ）
   ※ 表示/非表示・position は元CSS（スマホ固定バー、PCは非表示）に任せ、
      ここでは見た目のみ上書きする。display は指定しないこと。 */
.f_bottom{
	margin: 0;
	padding: 0;
	list-style: none;
	background: linear-gradient(135deg,#2f5fa7,#4b7ed6);
}
.f_bottom li{
	margin: 0;
}
.f_bottom li + li{
	border-left: 1px solid rgba(255,255,255,0.25);
}
.f_bottom li a{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background 0.2s ease;
}
.f_bottom li a:hover{
	background: rgba(255,255,255,0.14);
	color: #fff;
}

/* トップへ戻るボタン（display/position は外部CSSの制御を尊重し上書きしない） */
#pageTop{
	width: 46px;
	height: 46px;
	line-height: 46px;
	text-align: center;
	background: linear-gradient(135deg,#2f5fa7,#4b7ed6);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
#pageTop:hover{
	transform: translateY(-3px);
	opacity: 0.92;
}
#pageTop img{
	vertical-align: middle;
	filter: brightness(0) invert(1);
}

@media only screen and (max-width: 768px){
	#footer_inner{
		padding: 32px 16px 24px;
	}
	.footer_section{
		gap: 12px 20px;
	}
	.footer_section img{
		max-width: 150px;
	}
	.f_bottom li a{
		padding: 0 12px;
		font-size: 13px;
	}
}
