@charset "utf-8";

@media screen and (min-width: 769px){
	.staff_item{
		position: relative;
		padding-bottom: 75px !important;
	}
	.staff_item .wp-block-uagb-buttons{
		position: absolute !important;
		bottom: 0;
	}
}
@media screen and (max-width: 1024px){
	.uagb-buttons-repeater{
		padding: 5px 10px !important;
	}
	.staff_item .wp-block-uagb-buttons{
		font-size: 14px !important;
	}
}

/*ポップアップplugin
************************************************************************************/
.pum-content{
    color: #000 !important;
}
.pum-content a{
	color: #1295BC;
	text-decoration: underline;
}
.pum-content p{
	padding-bottom: 1em;
}
.pum-content ul{
	list-style: disc;
	margin-left: 3em;
}
.pum-content ul.ar{
	list-style: none;
}
.pum-content ol{
	list-style: decimal;
	margin-left: 3em;
}
.pum-content ol li,
.pum-content ul li{
	margin-bottom: .7em;
}

.post-content h1,
.post-content h2,
.pum-content h1,
.pum-content h2{
	border-top: 1px solid var(--cararra);
	margin: 20px 0 2em;
	display: block;
	position: relative;
	padding: 1.2em 0 0 0;
}
.post-content h1:before, .post-content h2:before,
.pum-content h1:before, .pum-content h2:before{
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	width: 5em;
	height: 3px;
	background: var(--fountain-blue);;
}
.post-content h1,
.pum-content h1 {
	font-size: var(--font-size-l);
	font-weight: 700;
	color: var(--black);
	background: #f5f5f5;
	padding: 1.2em 1em 1em;
}
.post-content h2,
.pum-content h2{
	font-size: 18px;
	font-weight: 700;
	color: var(--black);
}
.post-content h3,
.pum-content h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 20px 0 1.5em;
	font-size: var(--font-size-m);
	font-weight: 700;
	color: var(--black);
	background: url("../img/ar_blue_cr.svg") no-repeat left 0;
	line-height: 30px;
	padding: 0 0 0 35px;
}
.post-content h4,
.pum-content h4 {
	font-size: var(--font-size-m);
	font-weight: 700;
	color: var(--fountain-blue);
	margin-top: 10px;
}
.post-content .btn,
.pum-content .btn{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(90deg, rgba(34, 147, 196, 1) 0%, rgba(58, 77, 196, 1) 100%);
	padding: 15px 20px;
	border-radius: 5px;
	text-decoration: none;
	color: var(--white);
	font-family: var(--font-family-gothic);
	font-size: var(--font-size-m);
	white-space: nowrap;
	justify-content: center;
	margin: 50px auto 0;
}
.post-content .btn a,
.pum-content .btn a{
	color: #FFF;
}

@media screen and (min-width: 769px){
	.pum-content .staffWrap{
		display: flex;
		flex-wrap: wrap;
	}
	.pum-content .staffWrap .textarea{
		width: calc(100% - 300px);
	}
}
.pum-container .pum-title{
	margin-bottom: 2em;
}

/*faq　よくある質問
************************************************************************************/
dl.faq_wrap dt{
	background: #ecf3f8;
	border-radius: 5px 5px 0 0;
	margin: 0;
	padding: 30px 30px 15px 30px;
	font-weight: bold;
	font-size: 1.313em;
}
dl.faq_wrap dt:before{
	content: "Q.";
	color: #264699;
}
dl.faq_wrap dd{
	background: #ecf3f8;
	border-radius: 0 0 5px 5px;
	margin: 0 0 1em;
	padding: 15px 30px 30px 60px;
}
dl.faq_wrap dd:before{
	content: "A.";
	font-weight: bold;
	font-size: 1.313em;
	color: #D0171B;
	float: left;
	width: 30px;
	margin-left: -30px;
}
dl.faq_wrap dd p{
	padding-bottom: .7em;
}
dl.faq_wrap dd p:last-child{
	padding-bottom: 0;
}

/*voice 入局者の声
************************************************************************************/
/* ========== Voices (入局者の声) ========== */

/* 任意：サイトに合わせて調整してください */
.container {
	width: min(1100px, 92%);
	margin: 0 auto;
}

/* セクション */
.voices {
	padding: 40px 0;
}
.voices-heading {
	font-size: clamp(20px, 2.2vw, 28px);
	margin: 0 0 24px;
}

/* グリッド（PC: 2カラム / SP: 1カラム） */
.voices-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 28px) clamp(20px, 3vw, 40px);
	list-style: none;
	margin: 0!important;
	padding: 0;
}
@media (max-width: 1280px) {
	.voices-grid {
		grid-template-columns: 1fr;
	}
}

/* カード */
.voice-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.voice-card.is-reverse {
	flex-direction: row-reverse; /* PCでは左右交互 */
}

/* SPでは左右を統一（アバター左） */
@media (max-width: 1280px) {
	.voice-card,
	.voice-card.is-reverse {
		flex-direction: row;
	}
}

/* アバター：長方形でも円形トリミング */
.voice-avatar {
	width: clamp(72px, 8vw, 96px);
	aspect-ratio: 1 / 1;        /* 正方形を強制 */
	border-radius: 50%;         /* 円形 */
	overflow: hidden;
	flex: 0 0 auto;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.voice-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;          /* はみ出しをトリミング */
	object-position: center;
	display: block;
}

/* 吹き出し */
.voice-content {
	flex: 1 1 auto;
}
.voice-quote {
	background: #F6F8F7;
	border-radius: 12px;
	padding: clamp(14px, 1.6vw, 18px) clamp(16px, 2vw, 22px);
	margin: 0 0 10px;
	line-height: 1.7;
	position: relative;
	font-size: clamp(14px, 1.6vw, 16px);
}
.voice-quote::before {
	content: "";
	position: absolute;
	top: 16px;
	left: -8px;                 /* is-reverse時に反転 */
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-right-color: #F6F8F7;
}
.voice-card.is-reverse .voice-quote::before {
	left: auto;
	right: -8px;
	border-right-color: transparent;
	border-left-color: #F6F8F7;
}
/* SPでは矢印も左側に統一 */
@media (max-width: 1280px) {
	.voice-card.is-reverse .voice-quote::before {
		left: -8px;
		right: auto;
		border-left-color: transparent;
		border-right-color: #F6F8F7;
	}
}

/* the_content() の段落余白を調整（任意） */
.voice-quote p:first-child { margin-top: 0; }
.voice-quote p:last-child  { margin-bottom: 0; }

/* 強調（緑） */
.hl {
	color: #2BB673;
	font-weight: 700;
}

/* メタ情報 */
.voice-meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 10px;
	margin: 0;
	font-size: 13px;
	color: #54606A;
}
.voice-meta dt { font-weight: 600; }
.voice-meta dd { margin: 0; }
.voice-meta > div { display: contents; } /* dt/ddをグリッドに収める */
