@charset "utf-8";

/* ============================================
   inquiry page styles
   ※font-sizeは基本的にlibraryのCSSから継承
   ============================================ */

/* --- icon navigation --- */
.inq-iconNav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 0 50px;
	padding: 0;
	list-style: none;
}
/* .contentsWrap a { border-bottom } の上書きリセット */
.inq-iconNav a,
.inq-iconNav a:link,
.inq-iconNav a:visited,
.inq-iconNav a:hover,
.inq-iconNav a:active {
	text-decoration: none !important;
	border-bottom: none !important;
	color: #666666 !important;
}
.inq-iconNav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 25%;
	padding: 2rem 1rem 2.5rem;
	color: #666666;
	line-height: 1.4;
	text-align: center;
	box-sizing: border-box;
	transition: opacity 0.3s;
	/* アイテム間の縦の境界線 */
	border-right: 1px solid #cccccc;
}
/* 各行の右端・全体の最後は境界線なし */
.inq-iconNav a:nth-child(4n),
.inq-iconNav a:last-child {
	border-right: none;
}
/* 2行目（採用〜その他）の上に余白 */
.inq-iconNav a:nth-child(n+5) {
	margin-top: 3rem;
}
.inq-iconNav a:hover {
	opacity: 0.7;
}
/* span内のテキスト下線も確実に消去 */
.inq-iconNav a span {
	text-decoration: none !important;
}
.inq-iconNav a .inq-iconNav__label {
	font-weight: 900;
	line-height: 1.5;
	color: #666666;
	order: 1;
}
.inq-iconNav a .inq-iconNav__sublabel {
	font-size: 1.2rem;
	color: #999999;
	line-height: 1.4;
	order: 2;
	margin-bottom: 1.2rem;
}
.inq-iconNav a .inq-iconNav__icon {
	width: 70px;
	height: 70px;
	order: 3;
}
.inq-iconNav a.inq-iconNav--wide .inq-iconNav__icon {
	width: 94px;
	height: 94px;
}
.inq-iconNav a .inq-iconNav__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* --- section common --- */
.inq-section {
	margin-top: 10rem;
	margin-bottom: 50px;
}
.inq-section__title {
	font-weight: 900;
	color: #044181;
	text-align: center;
	margin-bottom: 2rem;
	line-height: 1.5;
	font-size: 3.5rem; /* ≈35px */
}
.inq-section__subtitle {
	font-weight: bold;
	color: #044181;
	text-align: center;
	display: block;
	font-size: 3.0rem; /* ≈30px */
	padding-bottom: 0.8rem;
}
.inq-section__subtitle::after {
	content: "";
	display: block;
	width: 200px;
	height: 2px;
	background: #044181;
	margin: 0.8rem auto 0;
}
.inq-section__subtitleWrap {
	text-align: center;
	margin-bottom: 2rem;
}
/* サブセクション（医療関係者・取引先など）の上余白を大きく */
.inq-section__subtitleWrap--mt {
	margin-top: 8rem;
}

/* --- card (gray box) --- */
.inq-card {
	background: #f2f2f2;
	border-radius: 8px;
	padding: 3rem 3rem 2.5rem;
	margin-bottom: 2.5rem;
}
.inq-card--half {
	display: flex;
	gap: 2rem;
}
.inq-card--half .inq-card__col {
	flex: 1;
	background: #f2f2f2;
	border-radius: 8px;
	padding: 2.5rem 2rem 2rem;
}
/* 一枚グレー枠の中で境界線で区切るレイアウト */
.inq-card--split {
	display: flex;
	gap: 0;
	background: #f2f2f2;
	border-radius: 8px;
	margin-bottom: 2.5rem;
	overflow: hidden;
}
.inq-card--split .inq-card__col {
	flex: 1;
	background: transparent;
	border-radius: 0;
	padding: 3rem 2rem;
	border-right: 1px solid #044181;
	box-sizing: border-box;
	margin: 30px 0;
}
.inq-card--split .inq-card__col:last-child {
	border-right: none;
}

/* --- contact form button --- */
.inq-formBtn,
.inq-formBtn:link,
.inq-formBtn:visited,
.inq-formBtn:hover,
.inq-formBtn:active {
	color: #fff !important;
	border-bottom: none !important;
	text-decoration: none !important;
}
.inq-formBtn {
	display: inline-block;
	background: #044181;
	padding: 1.2rem 2rem 1.2rem 1.6rem;
	border-radius: 6px;
	line-height: 1.5;
	position: relative;
	transition: opacity 0.3s;
	margin-bottom: 1.5rem;
}
.inq-formBtn:hover {
	opacity: 0.8;
}
.inq-formBtn::before {
	content: "";
	display: inline-block;
	width: 0.8rem;
	height: 0.8rem;
	background: url(../img/arrow-w.webp) no-repeat center center;
	background-size: contain;
	margin-right: 0.8rem;
	vertical-align: middle;
}
.inq-formBtn::after {
	content: none;
}
.inq-formBtnWrap {
	text-align: center;
	margin-bottom: 1.5rem;
}

/* --- contact info --- */
.inq-contactInfo {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
	text-align: center;
}
.inq-contactInfo__item {
	flex: 1;
	text-align: center;
	padding: 1.5rem 2rem;
	border-right: 1px solid #cccccc;
	box-sizing: border-box;
}
.inq-contactInfo__item:last-child {
	border-right: none;
}
.inq-contactInfo__label {
	font-weight: normal;
	color: #044181;
	margin-bottom: 0.2rem;
}
.inq-contactInfo__hours {
	font-weight: normal;
	color: #044181;
	margin-bottom: 0.4rem;
}
.inq-contactInfo__number {
	font-size: 2.4rem;
	font-weight: normal;
	color: #044181;
	line-height: 1.3;
	white-space: nowrap;
}
.inq-contactInfo__number img {
	width: 2rem;
	height: 2rem;
	vertical-align: middle;
	margin-right: 0.6rem;
}
.inq-contactInfo__note {
	color: #044181;
	font-size: 1.2rem;
	margin-top: 0.4rem;
}

/* --- external link --- */
.inq-externalLink {
	text-align: center;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}
.inq-externalLink a,
.inq-externalLink a:link,
.inq-externalLink a:visited,
.inq-externalLink a:hover,
.inq-externalLink a:active {
	color: #044181;
	text-decoration: none !important;
	border-bottom: none !important;
}
.inq-externalLink a::after {
	content: "";
	display: inline-block;
	width: 1.4rem;
	height: 1.4rem;
	background: url(../img/ico-window.webp) no-repeat center center;
	background-size: contain;
	margin-left: 0.5rem;
	vertical-align: middle;
}

/* --- note --- */
.inq-note {
	color: #666;
	line-height: 1.8;
	margin-top: 1rem;
	text-align: center;
}
.inq-note a {
	color: #044181;
	text-decoration: underline;
	border-bottom: none !important;
}
/* 医療関係者向けサイト案内テキスト：青文字・一回り小さく */
.inq-note--blue {
	color: #044181;
	font-size: 1.4rem;
}

/* --- section card column title --- */
.inq-card__colTitle {
	font-weight: bold;
	color: #044181;
	text-align: center;
	margin-bottom: 1.5rem;
	line-height: 1.5;
}
.inq-card__colTitle::after {
	content: "";
	display: block;
	width: 140px;
	border-top: 2px solid #044181;
	margin: 1rem auto 0;
}
.inq-subcategoryTitleWrap {
	text-align: center;
	margin-bottom: 1.8rem;
}
.inq-subcategoryTitleWrap--mt {
	margin-top: 4rem;
}
.inq-subcategoryTitle {
	display: inline-block;
	font-weight: bold;
	color: #044181;
	text-align: center;
	line-height: 1.5;
	margin: 0;
}
#medical .inq-subcategoryTitle {
	font-size: 2.4rem;
}
#food .inq-subcategoryTitle {
	font-size: 2.4rem;
}
.inq-subcategoryTitle::after {
	content: none;
}

/* 医療用医薬品：患者さん・一般の皆さまの連絡先を少し寄せる */
#medical .inq-section__subtitleWrap + .inq-card .inq-contactInfo {
	max-width: 700px;
	margin: 0 auto;
}
#medical .inq-section__subtitleWrap + .inq-card .inq-contactInfo__item {
	flex: 0 1 290px;
	padding-left: 1.4rem;
	padding-right: 1.4rem;
}

/* 医療用医薬品：医療関係者向けカードの見た目調整 */
#medical .inq-subcategoryTitleWrap + .inq-card .inq-formBtnWrap {
	margin-bottom: 1.5rem;
}
#medical .inq-subcategoryTitleWrap + .inq-card .inq-formBtn {
	margin-bottom: 0;
}
#medical .inq-subcategoryTitleWrap + .inq-card .inq-contactInfo {
	flex-wrap: nowrap;
	justify-content: space-between;
	max-width: 100%;
}
#medical .inq-subcategoryTitleWrap + .inq-card .inq-contactInfo__item {
	flex: 1 1 0;
	min-width: 0;
	padding-left: 2.4rem;
	padding-right: 2.4rem;
}

/* 機能食品：一般向けの公式ショップリンクを電話情報に近づける */
#food .inq-subcategoryTitleWrap + .inq-card .inq-externalLink {
	margin-top: 0.75rem;
}

/* 機能食品：電話情報をボタンに少し寄せる */
#food .inq-card .inq-formBtnWrap {
	margin-bottom: 0.8rem;
}
#food .inq-card .inq-formBtn {
	margin-bottom: 0;
}

/* 株式・IR：電話情報をボタンに少し近づける */
#ir .inq-card .inq-formBtnWrap {
	margin-bottom: 0.8rem;
}
#ir .inq-card .inq-formBtn {
	margin-bottom: 0;
}

/* 採用以降：電話情報をボタンに少し近づける */
#recruit .inq-card .inq-formBtnWrap,
#botanical .inq-card .inq-formBtnWrap,
#other .inq-card .inq-formBtnWrap {
	margin-bottom: 0.8rem;
}
#recruit .inq-card .inq-formBtn,
#botanical .inq-card .inq-formBtn,
#other .inq-card .inq-formBtn {
	margin-bottom: 0;
}

/* 人権・コンプライアンス見出し下の余白 */
#compliance .inq-section__title {
	margin-bottom: 3.5rem;
}

/* --- compliance buttons --- */
.inq-complianceLinks {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: flex-start;
	margin-bottom: 1.5rem;
}
.inq-complianceLinks a,
.inq-complianceLinks a:link,
.inq-complianceLinks a:visited,
.inq-complianceLinks a:hover,
.inq-complianceLinks a:active {
	color: #fff !important;
	border-bottom: none !important;
	text-decoration: none !important;
}
.inq-complianceLinks a {
	display: flex;
	align-items: center;
	flex: 0 1 calc(50% - 1rem);
	box-sizing: border-box;
	background: #044181;
	padding: 1.4rem 2.4rem 1.4rem 1.8rem;
	border-radius: 6px;
	line-height: 1.5;
	transition: opacity 0.3s;
	position: relative;
	min-width: 24rem;
	text-align: left;
}
.inq-complianceLinks__disabled {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 calc(50% - 1rem);
	box-sizing: border-box;
	min-height: 82px;
	min-width: 24rem;
	padding: 1.4rem 2.4rem;
	border: 1px solid #cccccc;
	border-radius: 6px;
	background: #f7f7f7;
	color: #888888;
	line-height: 1.6;
	text-align: center;
}
.inq-complianceLinks a:hover {
	opacity: 0.8;
	color: #fff;
}
.inq-complianceLinks a::before {
	content: "";
	display: inline-block;
	width: 0.8rem;
	height: 0.8rem;
	background: url(../img/arrow-w.webp) no-repeat center center;
	background-size: contain;
	margin-right: 0.8rem;
	vertical-align: middle;
	flex-shrink: 0;
}
.inq-complianceLinks a::after {
	content: none;
}

/* --- bottom note --- */
.inq-bottomNote {
	color: #666;
	font-size: 1.4rem;
	line-height: 2;
	margin-top: 1rem;
	text-align: left;
}
.inq-bottomNote--intro {
	max-width: 760px;
	margin: 0 auto 4rem;
}
.inq-bottomNote--medical {
	margin: 1.2rem 0 0;
}
.inq-bottomNote a,
.inq-bottomNote a:link,
.inq-bottomNote a:visited,
.inq-bottomNote a:hover,
.inq-bottomNote a:active {
	color: #044181;
	text-decoration: none !important;
	border-bottom: none !important;
}

/* --- hr --- */
.inq-hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 4rem 0;
}

/* ============================================
   SP (max-width: 970px)
   ============================================ */
@media screen and (max-width: 970px) {
	.inq-iconNav {
		margin-bottom: 3rem;
	}
	.inq-iconNav a {
		width: 33.333%;
		padding: 1rem 0.5rem 1.5rem;
	}
	.inq-iconNav a .inq-iconNav__icon {
		width: 48px;
		height: 48px;
	}
	.inq-iconNav a.inq-iconNav--wide .inq-iconNav__icon {
		width: 60px;
		height: 60px;
	}
	.inq-card {
		padding: 2rem 1.5rem;
	}
	.inq-card--half {
		flex-direction: column;
		gap: 1.5rem;
	}
	.inq-card--split {
		flex-direction: column;
	}
	.inq-card--split .inq-card__col {
		border-right: none;
		border-bottom: 1px solid #cccccc;
	}
	.inq-card--split .inq-card__col:last-child {
		border-bottom: none;
	}
	.inq-contactInfo {
		flex-direction: column;
	}
	.inq-contactInfo__item {
		border-right: none;
		border-bottom: 1px solid #cccccc;
		padding: 1.2rem 1rem;
	}
	.inq-contactInfo__item:last-child {
		border-bottom: none;
	}
	.inq-contactInfo__number {
		font-size: 2.0rem;
	}
	#medical .inq-section__subtitleWrap + .inq-card .inq-contactInfo {
		max-width: none;
	}
	#medical .inq-section__subtitleWrap + .inq-card .inq-contactInfo__item {
		flex: 1 1 auto;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	#medical .inq-subcategoryTitleWrap + .inq-card .inq-contactInfo {
		flex-wrap: wrap;
	}
	#medical .inq-subcategoryTitleWrap + .inq-card .inq-contactInfo__item {
		flex: 1 1 auto;
		min-width: auto;
	}
	.inq-complianceLinks {
		flex-direction: column;
		align-items: center;
	}
	.inq-complianceLinks a {
		width: 100%;
		max-width: 34rem;
	}
	.inq-complianceLinks__disabled {
		width: 100%;
		max-width: 34rem;
	}
}
