/***** 全体 *****/

/* 見出し装飾 */
.pb-widget-editor h2,
.p-entry__body .wp-block-heading:is(h2) {
	padding: 0.36em 0.54em;
	background: #2f8ca3; /* #2f8ca3 */
	color: #ffffff;
	border: 2px solid #2f8ca3;
}

.pb-widget-editor h3,
.p-entry__body .wp-block-heading:is(h3) {
	padding: 0.5em 0;
	border-bottom: 2px solid #2f8ca3;
}

.pb-widget-editor h4,
.p-entry__body .wp-block-heading:is(h4) {
	padding: 0.5em 0;
	border-bottom: 1px dashed #2f8ca3;
}

/* スラッグ名が「faq」のページにのみ適用 */
body.page-id-2783 .pb-widget-editor h2, 
body.page-id-2783 .pb-widget-editor h3,
body.page-id-2783 .pb-widget-editor h4,
body.page-id-2783 .pb-widget-editor h5,
body.page-id-2783 .pb-widget-editor h6 {
  padding: 0;
  border-left: 0;
}

/* ヘッダー画像を全体表示 */
.p-cover {
	background-size: contain;
}

/* カテゴリー表示 */
.p-blog__list-item {
	opacity: unset;
}

.p-cat-list__list-item {
  opacity: unset;
}

/* reCAPTCHA 非表示 */
.grecaptcha-badge { 
	visibility: hidden; 
}

/***** メニュー *****/

/* ヘッダー調整 */
.p-global-nav {
	line-height: 25px;
}
.p-global-nav > li > a {
	padding: 0px;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 1199px) { 
	.p-global-nav a { 
		line-height: 25px;
	}
}

/***** セミナーページ *****/
.seminar-header-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.seminar-header-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/***** 共通カスタム投稿 *****/

/*** カラム ***/

/* 
 * WordPress Gutenberg Blocks
 * SPだと画像がはみ出るので調整
 */
figure {
	margin: auto;
}

/* キャプションの行間を調整 */
figcaption {
	line-height: 1.5;
}

/* 矢印の画像調整 */
.wp-image-1957 {
	width: 20px!important;
	height: 20px!important;
	vertical-align: text-bottom;
}

/*** お問合せ・ご相談はこちら ***/

/* 画像幅調整 */
.insert-page-1951 figure {
	margin: 0px;
}

/* 電話アイコンとテキストのライン調整 */
.insert-page-1951 .wp-image-1990 {
	vertical-align: middle;
}

/***** プラグイン *****/

/*** Word Balloon 行間調整 ***/
.w_b_quote {
	line-height: 1.6;
}

/*** WP Logo Showcase Responsive Slider and Carousel ***/

/* リンク無効化 */
.wpls-logo-showcase a {
    pointer-events: none;
    cursor: default;
}

/*** Smart Slider 3 ***/

/* SPスライドでも全体表示 */
.n2-ss-slider [data-mode=center] .n2-ss-slide-background-image img {
    object-fit: contain!important;
}

/*** Contact Form 7 ***/
table.CF7_table{
	width:80%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

.wpcf7 .wpcf7-list-item{
	margin-left:0px;
}

.wpcf7 .wpcf7-list-item{
	margin-left:0px;
}

.consultation .wpcf7-list-item{
	display:inline;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: red;
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* ラベル位置調整 */
.CF7_table td,
.CF7_table th {
  vertical-align: middle;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
		width:30%;/*横幅*/
		background-color:#e3f0f5;
		text-align: left;
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
		width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
		display: block;
		width: 100%;
		line-height:2.5em;
	}
	.CF7_table th{
		background-color:#ebedf5;
		text-align:left;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:red;
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	transition: box-shadow 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.wpcf7 .wpcf7-submit:hover, .wpcf7 .wpcf7-previous:hover {
	background-color:red;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
	cursor: pointer;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

.wpcf7 .wpcf7-previous {
	margin-top:0px;
}

.wpcf7 input.wpcf7-submit {
	margin-top: 30px;
}

/* 面談場所の「指定なし」を非表示 */
.your-place .wpcf7-list-item.first {
    display: none;
}

/* ラジオボタン・チェックボックスを横並び表示させる */
.your-way .wpcf7-list-item {
    display: inline;
}

.your-management .wpcf7-list-item {
    display: inline;
}

.your-hasEntity .wpcf7-list-item {
    display: inline;
}

/* 全体幅とデザイン調整 */
table.CF7_table {
	width:100%;
}

.wpcf7 {
	background:none;
	border:none;
}

/* white-space を normal に戻す */
.wpcf7-form .s_table {
    white-space: normal !important; 
}

/* ndc */
.p-cover {
	width: 100%;
	height: 300px; /* 元は450px */
	background-color: #F3FBFD;
	background-image: url("./assets/img/page-fv-pc.png");
	background-position: 50%, 0 0;
	background-size: cover, auto;
	background-repeat: no-repeat, repeat;

	@media (width < 768px) {
		background-image: url("./assets/img/page-fv-sp.png");
		height: 216px;
	}
}

.p-cover__inner {
	max-width: 1100px;
	width: 100%;
	margin-inline: auto;
	padding-inline: 16px;
	gap: 10px;
	align-items: flex-start;
}

.p-cover__title {
	margin-bottom: 0 !important;
	color: #2F8CA3;
	text-align: center;
	font-size: 40px;
	font-weight: 700;
	font-family: "Noto Sans JP", sans-serif !important;
	line-height: 1.5;
	letter-spacing: 0.05em;

	@media (width < 768px) {
		font-size: 24px;
	}
}

.p-cover__sub {
	color: #2F8CA3;
}

/* 下層ページのレイアウト調整 */
.l-contents {
	margin-bottom: 50px;
}

.l-contents--no-border .l-contents__inner {
	margin-top: -50px;
}
