@charset "UTF-8";

/*!
Theme Name: CliniQ
Description: Cocoonの子テーマ
Theme URI: https://clini-q.com/
Author: 株式会社アスタ
Author URI: https://clini-q.com/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
body {
	overflow-x: hidden;
}

.sp {
	display: none;
}

.article h1 {
	position: relative;
	margin-bottom: 40px;
	padding-left: 24px;
	color: #ff8040;
	font-size: 0.9em;
}

.article h1::before {
	position: absolute;
	left: 0;
	font-family: "Material Icons";
	content: "\e147";
}

.post h1 {
	padding-left: 64px;
	font-size: 1.4em;
}

.post h1::before {
	content: "\f8ea";
	top: -32px;
	font-size: 4rem;
}

.article h2 {
	margin-bottom: 40px;
	padding: 0;
	color: #666666;
	background-color: transparent;
	font-size: 2.4rem;
}

/* ヘッダーメニューの余白 */
.header-container {
	padding: 8px;
}

/*フッターモバイルボタンからサイドバーを消す*/
.mobile-menu-buttons .sidebar-menu-button {
	display: none;
}

/*ヘッダーの「お悩み一覧」の装飾*/
#menu-item-242 {
	width: 178px;
	margin-left: 2.4em;
	border-radius: 8px;
	background-color: #FDAC70;
	font-weight: bold;
}

#menu-item-242 a {
	position: relative;
	color: #fff;
}

#menu-item-242 a:hover {
	border-radius: 8px;
	background-color: #fcc397;
	color: #777;
}

#menu-item-242 a::before {
	position: absolute;
	right: 4px;
	font-family: "Material Icons";
	content: "\e5e1";
}

/* =====================
 トップページ
 ===================== */
.home .appeal {
	position: relative;
}

.home .appeal-content {
	background-color: transparent;
}

.home .appeal-message {
	position: absolute;
	top: 1em;
	left: 1em;
	font-size: 4em;
	font-weight: bold;
	text-align: left;
	color: #FFA500;
	text-shadow:
        2px 0px 0px #fff,  /* 右 */
        -2px 0px 0px #fff, /* 左 */
        0px -2px 0px #fff, /* 上 */
        0px 2px 0px #fff,  /* 下 */
        2px 2px 0px #fff,  /* 右下 */
        -2px 2px 0px #fff, /* 左下 */
        2px -2px 0px #fff, /* 右上 */
        -2px -2px 0px #fff,/* 左上 */
        1px 2px 0px #fff,  /* 右下（少し小さく） */
        -1px 2px 0px #fff, /* 左下（少し小さく） */
        1px -2px 0px #fff, /* 右上（少し小さく） */
        -1px -2px 0px #fff,/* 左上（少し小さく） */
        2px 1px 0px #fff,  /* 右下（少し小さく） */
        -2px 1px 0px #fff, /* 左下（少し小さく） */
        2px -1px 0px #fff, /* 右上（少し小さく） */
        -2px -1px 0px #fff;/* 左上（少し小さく） */
}

.home h2 {
	margin-bottom: 40px;
	color: #666666;
	background-color: transparent;
	text-align: center;
	font-size: 2.4rem;
}

/*こんなお悩みはありませんか？*/
.home .worries {
	width: calc(100% - 84px);
	margin-bottom: 240px;
	padding: 80px 24px;
	background-color: #d3f2ff;
	border-radius: 80px;
}

.home .worries .column-right {
	position: relative;
}

.home .worries figure {
	position: absolute;
	top: 0;
	left: -40PX;
	width: 50vw;
	padding: 8px;
	background-color: #fefefe;
	border-radius: 400px;
	box-shadow: 1rem 1rem 1.5rem rgb(230 231 233 / 30%);
}

.home .worries figure img {
	margin: auto;
}

.home .worries ul li {
	font-size: 1.2em;
}

/*先生のお悩みが開業医の未来を作ります*/
.home .database {
	width: calc(100% - 84px);
	margin-top: 120px;
	margin-bottom: 40px;
	padding: 80px 24px;
	background-color: #fff6d3;
	border-radius: 80px;
}

.home .database .column-left {
	position: relative;
}

.home .database figure {
	position: absolute;
	bottom: 0;
	right: 40px;
	width: 44vw;
	padding: 32px;
	background-color: #fefefe;
	border-radius: 160px;
	box-shadow: 1rem 1rem 1.5rem rgb(230 231 233 / 30%);
}

.home .database figure img {
	margin: auto;
}

.home .database .column-right {
	padding: 0 16px;
}

/*無料プレゼント*/
.home .present {
	position: relative;
	padding: 80px 24px;
	background-color: #fff0f1;
	border-radius: 80px;
}

.home .present figure {
	margin: 0 auto 40px;
	padding: 64px;
	background-color: #fff;
	border-radius: 40px;
}

/*コンバージョンボタン*/
.conversion a {
	margin-bottom: 160px;
	padding: 24px 48px;
	border-style: none;
	border-radius: 16px;
	background: linear-gradient(to bottom right, #fecaca, #fca5a5, #fde68a);
	color: #5c2a01;
	font-size: 1.6em;
}

/*利用方法ページ最後のボタン*/
.last a {
	padding: 28px 64px;
	font-size: 1.2em;
}

/* =====================
 クリニッＱについて
 ===================== */
/*山本先生*/
.page-id-98 .yamamoto .column-right {
	position: relative;
}

.page-id-98 .yamamoto figure {
	position: absolute;
	top: 0;
	left: 0;
	width: 50vw;
	padding: 8px;
}

.page-id-98 .yamamoto figure img {
	border-radius: 500px 10px 10px 500px;
}

/*アスタ*/
.page-id-98 .astha {
	gap: 24px;
}

.page-id-98 .astha .column-left {
	max-width: 320px;
}

.page-id-98 .astha .column-right {
	width: 100%;
}

.page-id-98 .astha figure img {
	border-radius: 50%;
	height: 360px;
	object-fit: cover;
}


/* =====================
 ご利用方法
 ===================== */
.page-id-111 .step .column-left {
	width: 120px;
}

.page-id-111 .step .column-right {
	width: 100%;
}

.page-id-111 .title {
	margin-bottom: 0;
	padding: 0 0 0 32px;
	font-weight: bold;
}

.page-id-111 .step {
	position: relative;
	margin-bottom: 80px;
	padding: 32px;
	border: 4px solid #D3F2FF;
	border-radius: 16px;
}

.page-id-111 .step::before {
	content: "";
	position: absolute;
	bottom: -63px;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-left: 80px solid transparent;
	border-right: 80px solid transparent;
	border-top: 40px solid #D3F2FF;
}

.page-id-111 .hidden::before,
.page-id-111 .hidden::before {
	content: none;
}

.page-id-111 .step .column-left {
	width: 120px;
	padding-right: 32px;
	border-right: 1px solid #D3F2FF;
	font-family: "Noto Sans JP", sans-serif;
	text-align: center;
}

.page-id-111 .step .column-left p {
	margin-bottom: 0;
}

.page-id-111 .step .column-left .number {
	font-size: 2em;
	font-weight: 900;
}

.page-id-111 .service-list {
	margin-bottom: 80px;
	padding: 0;
}

/* =====================
 お問い合わせフォーム
 ===================== */
.content-container {
	margin-top: 5em;
}

.content-container dl {
	max-width: 720px;
}

.content-container p {
	margin-bottom: 0.5em;
}

/* コンタクトフォームの送信ボタン */
input[type='submit'] {
	width: 200px;
	margin: 16px 0 0 16px;
}

/* コンタクトフォームの必須ラベル */
.required-label {
	margin-right: 8px;
	padding: 4px;
	border-radius: 4px;
	background: #00189E;
	color: #ffffff;
	font-size: 0.8rem;
}

/*必須がすべて埋まっている時のフォームのボタンスタイル*/
input[type='submit'].enabled {
	background-color: #2699FB; /* チェックされたときの背景色 */
	color: #fff; /* チェックされたときの文字色 */
	cursor: pointer; /* ポインターに変更 */
	opacity: 1; /* 透明度を戻す */
}

/* =====================
 投稿ページ一覧
 ===================== */
.entry-card-content {
	padding: 16px;
	border: 1px solid #eee;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.entry-card-thumb img {
	display: none;
}

.entry-card-thumb .cat-label {
	top: 16px;
	left: 16px;
	line-height: 1.8;
	font-size: 0.7em;
	font-weight: 500;
	padding: 0.4em 1em;
	background-image: linear-gradient(to right, #fc8a32 0%, #fcb57e 100%);
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ect-vertical-card .entry-card-wrap .entry-card-content {
	padding: 64px 16px;
}



/*768px以下*/
@media screen and (max-width: 768px){
	.sp {
		display: block;
	}

	.md-text-left,
	.md-text-left p {
		text-align: left;
	}

	.article h2,
	.home h2 {
		margin-bottom: 16px;
		font-size: 1.8rem;
	}

	.appeal-in {
		min-height: 400px;
	}

	.home .appeal-message {
		width: 100%;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		font-size: 2em;
		text-align: center;
		line-height: 1.2;
	}

	.home .worries,
	.home .database,
	.home .present {
		padding: 24px;
		border-radius: 16px;
	}

	.home .wp-block-cocoon-blocks-button-1 {
		text-align: center; /*スマホでは中央寄せ*/
	}

	.home .wp-block-cocoon-blocks-button-1 a {
		margin-bottom: 40px;
	}

	/*こんなお悩みはありませんか？*/
	.home .worries {
		margin-bottom: 80px;
	}

	.home .fz-36px {
		font-size: 1.6em;
	}

	/* =====================
     ご利用方法
     ===================== */
	.page-id-111 .step .column-left {
		width: 100%;
		border-right: none;
	}

	/*コンバージョンボタン*/
	.conversion a {
		padding: 16px 32px;
		font-size: 1.2em;
	}

	/*利用方法ページ最後のボタン*/
	.last a {
		padding: 16px 32px;
		font-size: 1em;
	}
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
	/*こんなお悩みはありませんか？*/
	.home .worries {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.home .worries .column-left,
	.home .worries .column-right {
		width: 100%;
	}

	.home .worries figure {
		position: static;
		width: 100%;
	}

	/*先生のお悩みが開業医の未来を作ります*/
	.home .database {
		display: flex;
		margin-top: 0;
		flex-direction: column-reverse !important;
		align-items: center;
		width: 100%;
	}

	.home .database .column-left,
	.home .database .column-right {
		width: 100%;
	}

	.home .database figure,
	.home .present figure {
		position: static;
		width: 100%;
		border-radius: 16px;
	}

	/*無料プレゼント*/
	.home .present figure {
		padding: 16px;
	}

	/* =====================
     クリニッＱについて
     ===================== */
	/*山本先生*/
	.page-id-98 .yamamoto figure,
	.page-id-98 .astha figure {
		position: static;
		width: 100%;
		padding: 0;
	}

	.yamamoto {
		flex-direction: column-reverse !important;
	}

	/*アスタ*/
	.page-id-98 .astha .column-left {
		margin: auto;
	}

	.page-id-98 .astha figure img {
		border-radius: 50%;
		height: 360px;
		object-fit: cover;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


