/**
 * 旧 minnanoseikotu から移行した見た目用スタイル
 * 見出し / ユーティリティナビ / LINE・Instagram / fixed-contact
 */

:root {
	--hamajiaki-green: #88b943;
	--hamajiaki-green-dark: #80ae3f;
	--hamajiaki-brown: #3c2310;
	--hamajiaki-yellow: #e5d53c;
}

/*-------------------------------------------
  ユーティリティ（PCのみ表示）
-------------------------------------------*/
.pc-only {
	display: none;
}

@media screen and (min-width: 769px) {
	.pc-only {
		display: block;
	}
}

.sp-only {
	display: block;
}

@media screen and (min-width: 769px) {
	.sp-only {
		display: none !important;
	}
}

/*-------------------------------------------
  見出し（.section-title）
-------------------------------------------*/
.section-title {
	margin-top: 2rem;
	margin-bottom: 1.5rem;
	font-weight: 100;
	font-size: 1.4rem;
	line-height: 1.6rem;
	text-align: center;
	text-transform: uppercase;
	position: relative;
}

.section-title > span {
	display: block;
	color: var(--hamajiaki-brown);
	font-size: 0.85em;
	letter-spacing: 0.08em;
}

@media screen and (max-width: 768px) {
	.section-title {
		margin-top: 2rem;
		font-size: 1rem;
		line-height: 1.2rem;
	}
}

.section-title .element {
	display: inline-block;
	margin-top: 0.1rem;
	margin-right: 0.25rem;
	font-size: 0.6rem;
	font-weight: 300;
	line-height: 1.2rem;
	color: #fff;
	padding: 0 0.5rem;
	background: var(--hamajiaki-brown);
	border-radius: 0.6rem;
}

.section-title .element:last-child {
	margin-right: 0;
}

@media screen and (max-width: 768px) {
	.section-title .element {
		font-weight: 500;
		font-size: 0.45rem;
	}
}

.section-title .element a {
	color: #fff;
	text-decoration: none;
}

.section-title .blog-cat-nav .element {
	background: var(--hamajiaki-green);
}

.section-title .blog-cat-nav .element:hover {
	background: #a0c867;
}

/* ブロックエディタ向け：見出し下ライン */
.hamajiaki-heading-line,
.is-style-hamajiaki-line {
	position: relative;
	padding-bottom: 0.6em;
}

.hamajiaki-heading-line::after,
.is-style-hamajiaki-line::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 20%;
	min-width: 48px;
	height: 2px;
	background: var(--hamajiaki-green);
}

.hamajiaki-heading-line.is-center::after,
.is-style-hamajiaki-line.has-text-align-center::after {
	left: 50%;
	transform: translateX(-50%);
}

/*-------------------------------------------
  ヘッダー ユーティリティナビ
-------------------------------------------*/
.l-header {
	position: relative;
}

.hamajiaki-utility-nav {
	display: none;
}

@media screen and (min-width: 960px) {
	.hamajiaki-utility-nav {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 0.5rem;
		position: absolute;
		top: 0.25rem;
		right: 1rem;
		z-index: 5;
		pointer-events: none;
	}

	.hamajiaki-utility-nav ul {
		pointer-events: auto;
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		align-items: center;
	}

	.hamajiaki-utility-nav__links {
		background: var(--hamajiaki-green);
		padding-left: 0.35rem;
		height: 30px;
	}

	.hamajiaki-utility-nav__links li {
		display: flex;
		align-items: center;
		height: 30px;
		padding: 0 0.35rem 0 0.15rem;
		color: #fff;
		font-size: 0.7rem;
		line-height: 1;
	}

	.hamajiaki-utility-nav__links li::before {
		font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
		font-weight: 900;
		font-size: 0.65rem;
		margin-right: 0.2rem;
		color: #fff;
	}

	.hamajiaki-utility-nav__links li.is-access::before {
		content: '\f3c5';
	}

	.hamajiaki-utility-nav__links li.is-blog::before {
		content: '\f304';
	}

	.hamajiaki-utility-nav__links li.is-voice::before {
		content: '\f075';
	}

	.hamajiaki-utility-nav__links li.is-yoyaku::before {
		content: '\f0e0';
	}

	.hamajiaki-utility-nav__links a {
		color: #fff;
		text-decoration: none;
		line-height: 30px;
		white-space: nowrap;
	}

	.hamajiaki-utility-nav__links a:hover {
		text-decoration: underline;
	}

	.hamajiaki-utility-nav__sns {
		height: 30px;
		gap: 0.15rem;
	}

	.hamajiaki-utility-nav__sns a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 30px;
		color: var(--hamajiaki-green);
		text-decoration: none;
	}

	.hamajiaki-utility-nav__sns a:hover {
		opacity: 0.75;
	}

	/* ヘッダー本体が被らないよう余白 */
	.l-header__inner {
		padding-top: 1.75rem;
	}
}

/*-------------------------------------------
  fixed-contact
-------------------------------------------*/
.atsign::before {
	content: '@';
}

.fixed-contact {
	text-align: center;
	box-shadow: 0 0 10px -5px #000;
	color: #fff;
}

@media screen and (min-width: 769px) {
	.fixed-contact.pc-only {
		position: fixed;
		right: 2rem;
		bottom: 3rem;
		z-index: 100;
		width: 220px;
	}
}

@media screen and (max-width: 768px) {
	.fixed-contact.pc-only {
		display: none !important;
	}
}

.fixed-contact p {
	margin-top: 0;
	margin-bottom: 0;
	letter-spacing: 0.028em;
}

.fixed-contact .tel {
	font-weight: 900;
	font-size: 0.84rem;
	color: var(--hamajiaki-yellow);
	margin-top: 0.25rem;
}

.fixed-contact .tel a {
	color: var(--hamajiaki-yellow);
	text-decoration: none;
}

.fixed-contact .mail {
	font-size: 0.57rem;
	line-height: 1;
	margin-top: 0.15rem;
}

.fixed-contact .upper a {
	display: block;
	padding: 0.5rem;
	line-height: 1.4;
	background: var(--hamajiaki-green-dark);
	font-weight: 500;
	color: #fff;
	text-decoration: none;
}

.fixed-contact .upper a:hover {
	background: rgba(136, 185, 67, 0.85);
}

.fixed-contact .lower {
	padding: 0.5rem;
	background: var(--hamajiaki-brown);
}

.fixed-contact .info p small {
	font-size: 0.525rem;
	line-height: 1.2;
	display: block;
}

.fixed-contact .info ul {
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	font-size: 0.525rem;
	gap: 2px;
}

.fixed-contact .info li {
	width: calc(50% - 1px);
	line-height: 1.2;
	padding: 2px;
	background: #fff;
	color: var(--hamajiaki-brown);
	font-weight: 400;
	text-align: center;
}

.fixed-contact__arrow {
	display: inline-block;
	margin-right: 0.15em;
}
