/* サイト全体のカスタムスタイル */

/* ==================================================
   共通スタイル
================================================== */

html,
body {
	font-family: "Noto Sans JP", serif;
}

p {
	font-family: "Noto Sans JP", serif;
	font-size: 1.2rem;
	color: var(--vk-color-text-body);
	font-weight: 300;
}

li,
dt,
dd,
td {
	font-size: 1.2rem;
	font-weight: 300;
}

p a,
li a,
a {
	font-size: 1.2rem;
	text-decoration: none !important;
	font-weight: 400;
	color: var(--wp--preset--color--vk-color-primary);
}

p a:hover,
li a:hover,
a:hover {
	color: var(--wp--preset--color--vk-color-primary);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 2px;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
}

/* グローバルナビゲーション */
.global-nav-list > li .global-nav-name {
	font-size: 1rem;
	font-weight: 300;
}

.global-nav-list a {
	font-size: 1rem;
}

.global-nav-list .sub-menu li a:hover {
	background-color: #77a9c0;
}

/* フッター */
.widget_nav_menu a {
	color: #231e18;
}

.site-footer-copyright p:nth-child(2) {
	display: none !important;
}

/* ==================================================
   レイアウト
================================================== */

/* コンテンツ幅（広） */
.max-layout {
	max-width: 1000px;
	margin: 0 auto;
}

/* コンテンツ幅（中） */
.medium-width {
	max-width: 850px;
	margin: 0 auto;
}


/* ==================================================
   トップページ
================================================== */

/* お知らせセクション */
.front-news-category a {
	text-decoration: none;
	font-size: 0.875rem;
}

.news-meta {
	gap: 10px;
}

.news-area a {
	font-size: 1.2rem;
	text-decoration: none;
	color: var(--vk-color-text-body);
}

.news-area a:hover {
	color: var(--vk-color-text-body);
	text-decoration: underline;
	display: block;
	overflow: hidden;
}

.news-wrap-border hr {
	border-top: 1px solid;
}

/* レッスンセクション */
.top-lesson-disc-wrap {
	padding-right: 1rem;
	padding-left: 1rem;
}

/* お客様の声セクション　アイコン */
.vk_slider_item .is-layout-flex {
	gap: 0.5em;
}

/* プロフィールセクション */
.profile-max-layout {
	margin: 0 auto;
	max-width: 600px;
}

/* ==================================================
  お知らせページ
================================================== */

/* お知らせの投稿者名を非表示 */
.entry-meta-item-author {
	display: none;
}

/* カテゴリーラベルを非表示 */
.news .card-img-overlay .vk_post_imgOuter_singleTermLabel {
	display: none;
}

/* ==================================================
   レッスンページ
================================================== */

/* 表内テキストの補足 */
.lesson-info-text-sm {
  max-width: 100%;
  width: fit-content;
  display: block;
  margin-bottom: 0.8em;
  font-size: 14px;
  line-height: 1.4;
}

/* 表内テキストの補足　枠付き */
.lesson-info-text-sm-border {
  max-width: 100%;
  width: fit-content;
  display: block;
  margin-bottom: 0.8em;
  margin-left: 1em;
  padding: 0.1em 0.4em;
  font-size: 14px;
  line-height: 1.4;
  border: 0.7px solid #333
}


/* ==================================================
   固定ページ共通
================================================== */

/* ページヘッダーの背景 */
.page-header {
	background-color: transparent;
	font-family: serif;
	color: #422f22;
	background-image: url("../images/site-header-bg.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	height: 220px;
}

/* ページヘッダーのサブタイトル
 * contentは各固定ページのカスタムCSSで指定する
 */
.page-header-title::after {
	display: block;
	margin-top: -6px;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 300;
}

/* アコーディオンタイトル */
.wp-block-accordion-heading,
.wp-block-accordion-heading__toggle,
.wp-block-accordion-heading__toggle-title {
  font-size: 1.2rem;
  cursor: pointer;
}

/* Q&Aページ　アコーディオンタイトル */
.custom-tabs .wp-block-accordion-heading,
.custom-tabs .wp-block-accordion-heading__toggle,
.custom-tabs .wp-block-accordion-heading__toggle-title {
	font-family: serif;
	font-weight: 300;
}


/* アコーディオン回答 */
.wp-block-accordion-panel,
.wp-block-accordion-panel p,
.wp-block-accordion-panel li,
.wp-block-accordion-panel a {
	font-size: 1.2rem;
}

/* ==================================================
   レスポンシブ調整
================================================== */

/* トップページ */
/* メインビジュアル：タブレット・PCでの文字配置 */
@media screen and (min-width: 992px) {
	.home .hero {
		position: relative;
	}

	.home .hero > .hero-block {
		position: absolute;
		z-index: 2;
		top: 53%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}

/* メインビジュアル：PCでの画像サイズ調整 */
@media screen and (min-width: 1200px) {
	.home .hero {
		height: 70vh;
		height: 70svh;
		overflow: hidden;
	}

	.home .hero > .hero-img {
		width: 100%;
		height: 100%;
		max-width: none !important;
		margin: 0;
	}

	.home .hero > .hero-img img {
		display: block;
		width: 100%;
		height: 100% !important;
		max-width: none !important;
		object-fit: contain;
		object-position: center top;
	}
}

/* 中幅画面 */
@media screen and (max-width: 1024px) {
	.vk-menu-acc .acc-btn {
		width: 100%;
		border: none;
		background: var(--vk-menu-acc-icon-open-black-bg-src) right 50% no-repeat !important;
	}

	.vk-menu-acc .acc-btn-close {
		background: var(--vk-menu-acc-icon-close-black-bg-src) right 50% no-repeat !important;
	}
}

/* 小幅画面 */
@media screen and (max-width: 780px) {

	p {
		font-size: 17.2px;
	}

	a {
		font-size: 17.2px;
	}

	.news-area a {
		font-size: 17.2px;
	}

	li,
	dt,
	dd,
	td {
		font-size: 17.2px;
	}

	/* モバイルメニューボタン */
	.vk-mobile-nav-menu-btn {
		top: 16px;
	}

	/* トップページのレッスンカード */
	.top-lesson-disc-wrap {
		padding-right: 0;
		padding-left: 0;
	}

	/* ページヘッダー */
	.page-header {
		height: 180px;
	}

	.page-header-title,
	h1.page-header-title {
		font-size: 24px;
	}

  /* アコーディオン */
  .wp-block-accordion-heading,
  .wp-block-accordion-heading__toggle,
  .wp-block-accordion-heading__toggle-title {
	  font-size: 17.2px;
  }

  /* Google カレンダー */
	.google-calendar {
		height: 400px;
	}
}
