@charset "utf-8";
/* =============================================================
   Profix I.Berry core.css
   - 文字サイズは clamp(rem, rem + vw, rem)。clamp() を使うルールには
     Safari の再計算対策として min-height:.001vw を必ず付ける（0 の vw は圧縮で単位が消えるため不可）
   - 16px未満はヘッダー・フッター・サイドバー・グローバルメニュー・注記のみ
     （旧サイトの大きさを保つ）
   - 予備値は同じルールに同じプロパティを2回書かず @supports で分ける
   - フォーム入力欄は iOS のズーム対策で 16px 固定
   - Profix Farm のランディングページ専用の CSS は farm.css
   ============================================================= */

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--wp-admin--admin-bar--height, 0px);
}

body {
	min-height: .001vw;
	position: relative;
	margin: 0;
	color: #333;
	background-color: #fff;
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: clamp(.875rem, .799rem + .324vw, 1rem);
	font-weight: 400;
	font-variant: tabular-nums;
	font-feature-settings: "tnum";
	line-height: 1.5715;
	overflow-wrap: break-word;
	animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0 0 1em;
}

a {
	color: #1e73be;
}

a:hover {
	color: #63b5f7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	font-weight: 700;
	line-height: 1.4;
}

p {
	margin-top: 0;
	margin-bottom: 1.5em;
}

ul,
ol,
dl {
	margin-top: 0;
}

input,
textarea,
select,
button {
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
}

button {
	cursor: pointer;
}

.ib {
	display: inline-block;
}

.fw600 {
	font-weight: 600;
}

.mar_t40 {
	margin-top: 40px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 8px 16px;
	clip: auto;
	background: #fff;
	color: #333;
}

.u-anchor {
	position: absolute;
	top: 0;
}

/* ---------- Layout ---------- */
.l-container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

@media (min-width: 576px) {
	.l-container { max-width: 540px; }
}

@media (min-width: 768px) {
	.l-container { max-width: 720px; }
}

@media (min-width: 992px) {
	.l-container { max-width: 960px; }
}

@media (min-width: 1200px) {
	.l-container { max-width: 1140px; }
}

.site-body {
	position: relative;
	padding-top: clamp(1.75rem, .954rem + 3.394vw, 3.5rem);
	padding-bottom: clamp(1.75rem, .7273rem + 4.364vw, 4rem);
}

.site-body--home {
	padding-top: 0;
	padding-bottom: 0;
	overflow-x: clip;
}

@supports not (overflow-x: clip) {
	.site-body--home { overflow-x: hidden; }
}

/* 2カラム（本文＋右メニュー） */
.l-two-col > .sub-section {
	margin-top: 50px;
}

@media (min-width: 992px) {
	.l-two-col {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
	}

	.l-two-col > .main-section {
		width: 66.6%;
	}

	.l-two-col > .sub-section {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px);
		width: 27.8%;
		margin-top: 0;
	}
}

/* ---------- Header ---------- */
.site-header {
	position: relative;
	z-index: 1000;
	background-color: #131313;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-header__logo {
	margin: 0 0 7px;
	padding: 7px 0 0;
	font-size: 1rem;
	line-height: 1;
}

.site-header__logo a {
	display: block;
}

.site-header__logo-img {
	display: block;
	width: auto;
	height: 50px;
}

.global-nav {
	display: none;
}

@media (min-width: 992px) {
	.site-header-wrap {
		min-height: 94px;
	}

	.site-header__inner {
		justify-content: flex-start;
	}

	.site-header__logo {
		margin: 0 48px 16px 0;
		padding-top: 17.6px;
	}

	.site-header__logo-img {
		height: 60px;
	}

	.global-nav {
		display: block;
		margin-left: auto;
	}

	.global-nav__list {
		display: flex;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.global-nav__list > li {
		position: relative;
	}

	.global-nav__list > li > a {
		display: block;
		padding: 14px 18px;
		color: rgba(255, 255, 255, .95);
		line-height: 1.4;
		text-align: center;
		text-decoration: none;
	}

	.global-nav__name {
		display: block;
		font-size: .875rem;
		font-weight: 700;
	}

	.global-nav__desc {
		display: block;
		font-size: .625rem;
		opacity: .6;
	}

	/* サブメニュー */
	.global-nav__list .sub-menu {
		position: absolute;
		top: 100%;
		left: 4px;
		z-index: 10;
		width: 240px;
		margin: 0;
		padding: 0;
		list-style: none;
		background-color: #cfd8dc;
		visibility: hidden;
		opacity: 0;
		transition: opacity .3s, visibility 0s linear .3s;
	}

	/* 画面が狭いときは右側のメニューのサブメニューを右寄せ（はみ出し防止） */
	@media (max-width: 1199px) {
		.global-nav__list > li:nth-last-child(-n+2) > .sub-menu {
			right: 4px;
			left: auto;
		}
	}

	.global-nav__list > li:hover > .sub-menu,
	.global-nav__list > li:focus-within > .sub-menu {
		visibility: visible;
		opacity: 1;
		transition: opacity .3s, visibility 0s;
	}

	.global-nav__list .sub-menu li + li {
		border-top: 1px solid rgba(255, 255, 255, .3);
	}

	.global-nav__list .sub-menu a {
		display: block;
		padding: 10px 16px;
		color: #000;
		font-size: .875rem;
		line-height: 1.4;
		text-decoration: none;
		transition: background-color .3s;
	}

	.global-nav__list .sub-menu a:hover {
		color: #000;
		background-color: #a6adb0;
	}

	/* スクロール後：ロゴを隠してメニュー中央の固定ヘッダー（旧 Lightning と同じ） */
	.is-header-scrolled .site-header {
		position: fixed;
		top: var(--wp-admin--admin-bar--height, 0px);
		right: 0;
		left: 0;
		box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
		animation: headerDown .3s ease-out;
	}

	.is-header-scrolled .site-header__inner {
		justify-content: center;
	}

	.is-header-scrolled .site-header__logo {
		display: none;
	}

	.is-header-scrolled .global-nav {
		margin-left: 0;
	}
}

@keyframes headerDown {
	0% { transform: translateY(-100%); }
	100% { transform: translateY(0); }
}

/* ---------- Mobile nav ---------- */
.mobile-nav-btn {
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 5px);
	left: 5px;
	z-index: 2100;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 2px;
	background-color: rgba(0, 0, 0, .2);
}

.mobile-nav-btn__bar,
.mobile-nav-btn__bar::before,
.mobile-nav-btn__bar::after {
	position: absolute;
	left: 7px;
	width: 18px;
	height: 2px;
	background-color: #fff;
	transition: transform .3s, background-color .3s;
}

.mobile-nav-btn__bar {
	top: 15px;
}

.mobile-nav-btn__bar::before,
.mobile-nav-btn__bar::after {
	content: "";
	left: 0;
}

.mobile-nav-btn__bar::before { top: -6px; }
.mobile-nav-btn__bar::after { top: 6px; }

.is-mobile-nav-open .mobile-nav-btn {
	border-color: #333;
	background-color: #fff;
}

.is-mobile-nav-open .mobile-nav-btn__bar { background-color: transparent; }
.is-mobile-nav-open .mobile-nav-btn__bar::before { background-color: #333; transform: translateY(6px) rotate(45deg); }
.is-mobile-nav-open .mobile-nav-btn__bar::after { background-color: #333; transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	right: 0;
	left: 0;
	z-index: 2000;
	max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	padding: 45px 10px;
	overflow-y: auto;
	background-color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
	visibility: hidden;
	transform: translateY(-100%);
	transition: transform .5s ease, visibility 0s linear .5s;
}

@supports (max-height: 100dvh) {
	.mobile-nav { max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px)); }
}

.is-mobile-nav-open .mobile-nav {
	visibility: visible;
	transform: translateY(0);
	transition: transform .5s ease, visibility 0s;
}

.mobile-nav__list,
.mobile-nav__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav__list {
	border-top: 1px solid rgba(0, 0, 0, .1);
}

.mobile-nav__list li {
	position: relative;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.mobile-nav__list .sub-menu li:last-child {
	border-bottom: 0;
}

.mobile-nav__list .sub-menu {
	border-top: 1px solid rgba(0, 0, 0, .1);
}

.mobile-nav__list a {
	display: block;
	padding: .7em .5em;
	color: #333;
	font-size: .875rem;
	line-height: 1.65;
	text-decoration: none;
}

.mobile-nav__list .sub-menu a {
	padding-left: 1.5em;
}

/* サブメニューの開閉ボタン（JS で追加） */
.mobile-nav__acc {
	position: absolute;
	top: 7px;
	right: 5px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #333;
	border-radius: 2px;
	background: transparent;
}

.mobile-nav__acc::before,
.mobile-nav__acc::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background-color: #333;
	transform: translate(-50%, -50%);
	transition: transform .3s;
}

.mobile-nav__acc::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-nav__acc[aria-expanded="true"]::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.js .mobile-nav__list .sub-menu {
	display: none;
}

.js .mobile-nav__list .is-open > .sub-menu {
	display: block;
}

@media (min-width: 992px) {
	.mobile-nav-btn,
	.mobile-nav {
		display: none;
	}
}

/* ---------- スマホ下部の固定メニュー ---------- */
.mobile-fix-nav {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	background-color: #000;
}

.mobile-fix-nav__list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-fix-nav__list li {
	flex: 1 1 0;
}

.mobile-fix-nav__list a {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 62px;
	padding-top: 13px;
	color: #fff;
	font-size: .625rem;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

.mobile-fix-nav__icon {
	display: block;
	width: auto;
	height: 16px;
	margin-bottom: 6px;
}

@media (max-width: 991px) {
	body {
		padding-bottom: 62px;
	}
}

@media (min-width: 992px) {
	.mobile-fix-nav {
		display: none;
	}
}

/* ---------- ページトップ ---------- */
.page-top-btn {
	position: fixed;
	right: 10px;
	bottom: 72px;
	z-index: 99;
	width: 40px;
	height: 38px;
	background-color: rgba(0, 0, 0, .8);
	visibility: hidden;
	opacity: 0;
	transition: opacity .3s, visibility 0s linear .3s;
}

.page-top-btn::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: translateX(-50%) rotate(45deg);
}

.is-pagetop-visible .page-top-btn {
	visibility: visible;
	opacity: 1;
	transition: opacity .3s, visibility 0s;
}

@media (min-width: 992px) {
	.page-top-btn {
		right: 2%;
		bottom: 30px;
	}
}

/* ---------- スライダー（共通の矢印・ページ送り） ---------- */
.c-slider-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 27px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	background: transparent;
}

.c-slider-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	border-top: 3px solid #fff;
	border-left: 3px solid #fff;
}

@media (max-width: 767px) {
	.c-slider-arrow { display: none; }
}

.c-slider-arrow--prev { left: 10px; }
.c-slider-arrow--next { right: 10px; }
.c-slider-arrow--prev::before { transform: translate(-25%, -50%) rotate(-45deg); }
.c-slider-arrow--next::before { transform: translate(-75%, -50%) rotate(135deg); }

.c-slider-pager {
	position: absolute;
	right: 0;
	bottom: 10px;
	left: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
}

.c-slider-pager__dot {
	position: relative;
	width: 40px;
	height: 25px;
	padding: 0;
	border: 0;
	background: transparent;
}

.c-slider-pager__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 5px;
	width: 30px;
	height: 5px;
	margin-top: -2px;
	background-color: #fff;
	opacity: .2;
	transition: opacity .3s;
}

.c-slider-pager__dot.is-active::before {
	opacity: 1;
}

/* ---------- Home：スライダー ---------- */
.hero {
	position: relative;
	overflow: hidden;
}

.hero__slides {
	display: grid;
}

.hero__slide {
	position: relative;
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 3s ease;
}

.hero__slide.is-active {
	z-index: 1;
	opacity: 1;
}

.hero__img {
	display: block;
	width: 100%;
	height: auto;
}

.hero__cover {
	position: absolute;
	inset: 0;
}

.hero__text {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	color: #fff;
	text-align: left;
	text-shadow: 0 0 2px #333;
	transform: translateY(-50%);
}

.hero__title {
	min-height: .001vw;
	margin: 0;
	font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "メイリオ", Meiryo, serif;
	font-size: clamp(1.125rem, .7445rem + 1.623vw, 1.75rem);
	font-weight: 600;
	line-height: 1.4;
}

@media (min-width: 992px) {
	.hero__title {
		min-height: .001vw;
		font-size: clamp(1.75rem, -1.2639rem + 4.861vw, 2.625rem);
	}
}

.hero__caption {
	min-height: .001vw;
	margin: clamp(.5rem, .4rem + .4vw, .875rem) 0 0;
	font-size: clamp(.75rem, .6359rem + .487vw, .9375rem);
	line-height: 1.5715;
}

@media (min-width: 992px) {
	.hero__caption {
		min-height: .001vw;
		font-size: clamp(1.125rem, .9914rem + .216vw, 1.25rem);
	}
}

/* ---------- Home：3つの入口 ---------- */
.p-entry-cards {
	display: grid;
	gap: 20px;
	margin: 50px 0 40px;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.p-entry-cards {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
		margin-bottom: 50px;
	}
}

.p-entry-cards__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid rgba(0, 0, 0, .125);
	color: #333;
	text-decoration: none;
	transition: opacity .3s;
}

.p-entry-cards__link:hover {
	color: #1e73be;
	opacity: .8;
}

.p-entry-cards__img {
	display: block;
	aspect-ratio: 1.6 / 1;
	background-position: center;
	background-size: cover;
}

@supports not (aspect-ratio: 1 / 1) {
	.p-entry-cards__img { padding-top: 62.5%; }
}

.p-entry-cards__body {
	display: block;
	flex-grow: 1;
	padding: 1.25em 1.25em 0;
	background-color: #efedee;
}

.p-entry-cards__title {
	display: block;
	color: inherit;
	font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "メイリオ", Meiryo, serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
}

.p-entry-cards__text {
	min-height: .001vw;
	display: block;
	margin: clamp(.7rem, .639rem + .259vw, .8rem) 0;
	color: inherit;
	font-size: 1rem;
	line-height: 1.6;
}

/* ---------- Home：社名の由来 ---------- */
.p-about {
	padding: clamp(3.9375rem, 3.6187rem + 1.36vw, 4.5rem) 0 clamp(2.625rem, 1.869rem + 3.226vw, 4rem);
	background-position: center;
	background-size: cover;
}

.p-about__row {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.p-about__img,
.p-about__txt {
	padding: 0 30px;
}

.p-about__img img {
	display: block;
	width: 100%;
	height: auto;
}

.p-about__title {
	margin-bottom: .8em;
	color: #eee;
	font-size: 1.75rem;
	line-height: 1.5;
}

.p-about__text {
	min-height: .001vw;
	margin: 0 0 1.5em;
	color: #eee;
	font-size: clamp(.875rem, .799rem + .324vw, 1rem);
	line-height: 1.8;
}

@media (min-width: 576px) {
	.p-about__row {
		flex-direction: row-reverse;
		gap: 0;
	}

	.p-about__img,
	.p-about__txt {
		width: 50%;
		padding: 0 15px 0 30px;
	}
}

/* ---------- Home：新着情報 ---------- */
.p-news {
	padding: clamp(3.0625rem, 2.3523rem + 3.03vw, 6rem) 0 clamp(1.75rem, 1.1214rem + 2.682vw, 4.4375rem);
	background-color: rgba(239, 237, 238, .5);
}

.p-news__inner {
	padding: 0 15px;
}

.p-news__title {
	min-height: .001vw;
	margin-bottom: 1em;
	color: #000;
	font-size: clamp(1.75rem, 1.5981rem + .648vw, 2rem);
	font-weight: 600;
	text-align: center;
}

.p-news__more {
	margin: 14px 0 0;
	text-align: right;
}

.p-news__more a {
	color: #313131;
	text-decoration: none;
}

.p-news__more a:hover {
	color: #313131;
	text-decoration: underline;
}

.p-news__more-icon::after {
	content: "\00bb";
	margin-left: .5em;
	font-size: 1.2em;
	line-height: 1;
}

/* ---------- Home：Profix Farm 追従バナー ---------- */
.p-farm-banner {
	position: fixed;
	right: 8px;
	bottom: 130px;
	z-index: 3;
	width: 80px;
}

.p-farm-banner a,
.p-farm-banner img {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 992px) {
	.p-farm-banner {
		right: 1%;
		bottom: 10%;
		width: 90px;
	}
}

/* ---------- お知らせの一覧 ---------- */
.c-post-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-post-list__item {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding: .8em 0 .7em;
	border-bottom: 1px dotted #ccc;
}

.c-post-list__date {
	min-width: 115px;
	margin-right: 14px;
	font-size: .875rem;
	line-height: 1.5715;
}

.c-post-list__label {
	margin-top: 2px;
	line-height: 16px;
}

.c-post-list__label a {
	display: block;
	width: 150px;
	padding: 0 1em;
	border-radius: 2px;
	color: #fff;
	font-size: .75rem;
	line-height: 16px;
	text-align: center;
	text-decoration: none;
}

.c-post-list__label a:hover {
	color: #fff;
	opacity: .8;
}

.c-post-list__title {
	flex-basis: 100%;
	margin: 0;
	font-size: .875rem;
	line-height: 1.6;
}

.c-post-list__title a {
	color: #333;
	text-decoration: underline dotted rgba(0, 0, 0, .3);
	text-underline-offset: 2px;
}

.c-post-list__title a:hover {
	color: #1e73be;
}

@media (min-width: 992px) {
	.c-post-list__label {
		margin-right: 16px;
	}

	.c-post-list__title {
		flex: 1 1 0;
		line-height: 1.5715;
	}
}

/* ページ送り */
.pagination {
	margin-top: 2em;
}

.pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
	display: block;
	min-width: 2.2em;
	padding: .4em .6em;
	color: #333;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

.pagination span.page-numbers.current {
	color: #fff;
	background-color: #cfd8dc;
}

.pagination a.page-numbers:hover {
	background-color: rgba(0, 0, 0, .05);
}

/* ---------- Page header / breadcrumb ---------- */
.page-header {
	display: flex;
	align-items: center;
	min-height: 6em;
	background-color: transparent;
	background-image: var(--page-header-bg-sp, none);
	background-position: center;
	background-size: cover;
}

.page-header--page {
	min-height: 9em;
}

@media (min-width: 768px) {
	.page-header {
		background-image: var(--page-header-bg, none);
	}
}

.page-header__inner {
	margin-top: 24px;
	margin-bottom: 24px;
}

.page-header__title {
	min-height: .001vw;
	margin: 0;
	color: #fff;
	font-size: clamp(1.75rem, 1.5981rem + .648vw, 2rem);
	line-height: 1.4;
}

.page-header--page .page-header__title {
	color: #000;
	font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "メイリオ", Meiryo, serif;
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	font-size: .75rem;
	line-height: 1.5715;
}

.breadcrumb__item:not(:last-child)::after {
	content: "/";
	margin: 0 6px;
}

.breadcrumb__list a {
	color: #666;
	text-decoration: none;
}

.breadcrumb__list a:hover {
	text-decoration: underline;
}

.breadcrumb__home-icon {
	width: 1.25em;
	height: 1em;
	margin-right: .2em;
	vertical-align: -.125em;
}

/* ---------- 右メニュー ---------- */
.widget {
	margin-bottom: 2rem;
}

.widget__title {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #000;
	color: #333;
	font-size: 1.125rem;
	line-height: 1.4;
}

.widget-pages__list,
.widget-pages__list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget-pages__list a {
	min-height: .001vw;
	display: block;
	padding: .7em 0 .7em 1em;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	color: #666;
	font-size: clamp(.7656rem, .6991rem + .284vw, .875rem);
	line-height: 1.5715;
	text-decoration: none;
}

.widget-pages__list .children a {
	padding-left: 2em;
}

.widget-pages__list a:hover {
	color: #333;
	background-color: rgba(0, 0, 0, .02);
}

.widget-pages__list .current_page_item > a {
	background-color: rgba(0, 0, 0, .02);
}

/* ---------- 本文（下層ページ・投稿） ---------- */
.c-content p {
	margin: 10px 0;
	line-height: 1.7;
}

.c-content a {
	color: #1e73be;
	text-decoration: underline dotted rgba(0, 0, 0, .3);
	text-underline-offset: 2px;
}

.c-content a:hover {
	color: #63b5f7;
}

.c-block {
	margin-bottom: 50px;
}

.c-content h2:not([class]),
.c-content .c-h2 {
	min-height: .001vw;
	position: relative;
	margin-bottom: 1em;
	border-bottom: 3px solid #e5e5e5;
	font-size: clamp(1.5312rem, 1.3983rem + .567vw, 1.75rem);
}

.c-content h2:not([class])::after,
.c-content .c-h2::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 15%;
	border-bottom: 3px solid #333;
}

.c-content h3:not([class]),
.c-content .c-h3 {
	min-height: .001vw;
	margin-bottom: 1em;
	padding: 5px 20px;
	border-bottom: 1px solid #333;
	border-left: 10px solid #ccc;
	font-size: clamp(1.3125rem, 1.1985rem + .486vw, 1.5rem);
}

.c-content h4:not([class]),
.c-content .c-h4 {
	min-height: .001vw;
	margin-top: 2em;
	margin-bottom: 1em;
	border-bottom: 2px solid #000;
	font-size: clamp(1.1638rem, 1.0627rem + .431vw, 1.33rem);
}

.c-content > h4:first-child,
.c-content > .c-h4:first-child,
.c-block > h4:first-of-type,
.c-block > .c-h4:first-of-type,
.c-content .c-h3 + .c-h4 {
	margin-top: 0;
}

.c-content h5:not([class]),
.c-content .c-h5 {
	min-height: .001vw;
	margin-top: 2em;
	margin-bottom: 1em;
	font-size: clamp(1.05rem, .9588rem + .389vw, 1.2rem);
}

.c-content .c-h4 + .c-h5,
.c-content h4 + h5 {
	margin-top: 0;
}

.c-content .mar_t40 {
	margin-top: 40px;
}

.c-content ul {
	margin: 1em 0 1.5em;
	padding-left: 1.5em;
}

.c-content li {
	margin: .5em 0;
}

.c-content img {
	vertical-align: bottom;
}

.c-data {
	margin: 10px 0;
}

.c-data dt {
	margin: 5px 0;
	font-weight: 700;
}

.c-data dd {
	margin: 5px 0;
	overflow-wrap: anywhere;
}

/* 投稿の本文（旧「田んぼの様子」「お知らせ」の書式をそのまま使う） */
.XbmLvBRw .DjKSFEVa .hJHcKBjT {
	margin: 0 0 1.5em;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.7;
}

.XbmLvBRw .JzVpCnQU .FySfZQcD {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px 20px;
}

.XbmLvBRw .JzVpCnQU .FySfZQcD .GpWzeUak {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

.XbmLvBRw .JzVpCnQU .FySfZQcD .GpWzeUak .eJQSETtA {
	width: 100%;
	border-radius: 10px;
	box-shadow: rgba(0, 0, 0, .15) 1.95px 1.95px 2.6px;
}

/* 投稿下のカテゴリー表示 */
.entry__footer {
	margin: 0 0 3em;
}

.entry__meta {
	display: flex;
	align-items: center;
	margin: 0;
	padding-top: 3px;
}

.entry__meta dt {
	width: 100px;
	margin-right: 10px;
	padding: 4px 8px;
	color: #fff;
	background-color: #666;
	font-size: .625rem;
	font-weight: 400;
	line-height: 1.1;
}

.entry__meta dd {
	margin: 0;
	font-size: .75rem;
}

/* ---------- お問い合わせ（Contact Form 7） ---------- */
.p-form label {
	display: block;
}

.p-form p {
	margin: 0 0 1.5em;
}

.p-form input,
.p-form textarea,
.p-form select {
	font-size: 16px;
}

.p-form input[type="text"],
.p-form input[type="email"],
.p-form input[type="tel"],
.p-form textarea {
	display: block;
	width: 100%;
	padding: .8em 1em;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 5px;
	color: #333;
	background-color: #fff;
	line-height: normal;
}

.p-form input:focus,
.p-form textarea:focus {
	border-color: #a1887f;
	outline: 2px solid rgba(161, 136, 127, .3);
	outline-offset: 0;
}

.p-form .text-danger {
	color: #dc3545;
}

.p-form .contact-inner-submit {
	text-align: center;
}

.p-form input[type="submit"] {
	min-width: 250px;
	padding: 9px 36px;
	border: 1px solid #a6adb0;
	border-radius: 5px;
	color: #fff;
	background-color: #a1887f;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.5;
	cursor: pointer;
	transition: background-color .3s;
}

.p-form input[type="submit"]:hover {
	background-color: #816d66;
}

.p-form .wpcf7-spinner {
	display: none;
}

.p-form .wpcf7-not-valid-tip {
	margin-top: .3em;
	font-size: .875rem;
}

/* ---------- Footer ---------- */
.site-footer {
	color: #fff;
	background-color: #000;
	font-size: .75rem;
	line-height: 1.5715;
}

.site-footer__content {
	padding-top: clamp(2.625rem, 2.397rem + .972vw, 3rem);
}

.site-footer__cols {
	display: grid;
	margin: 0 -15px;
}

.site-footer__col {
	padding: 0 15px clamp(1.75rem, 1.6233rem + .54vw, 2rem);
}

@media (min-width: 992px) {
	.site-footer {
		padding-bottom: 64px;
	}
}

@media (min-width: 768px) {
	.site-footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
	.site-footer__cols { grid-template-columns: repeat(3, 1fr); }
}

.site-footer__logo {
	display: block;
	width: 176px;
	height: auto;
	margin-top: 10px;
}

.site-footer__info,
.site-footer__links {
	min-height: .001vw;
	margin-bottom: clamp(1.3125rem, 1.1985rem + .486vw, 1.5rem);
}

.site-footer__info {
	margin-top: 18px;
	line-height: 1.7;
}

.site-footer__links {
	margin-top: 12px;
	padding-left: 18px;
	list-style: none;
}

.site-footer__links li {
	margin-bottom: 6px;
}

.site-footer__links a {
	position: relative;
	display: inline-block;
	color: #fff;
	text-decoration: none;
}

.site-footer__links a::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .5s;
}

.site-footer__links a:hover::after {
	transform: scale(1, 1);
}

.site-footer__copyright {
	padding-top: 1rem;
	padding-bottom: 1rem;
	text-align: center;
}

.site-footer__copyright p {
	min-height: .001vw;
	margin: 8px;
	font-size: clamp(.6562rem, .5993rem + .243vw, .75rem);
	line-height: 1.7;
}

/* ---------- フェードイン（旧 Shortcodes Ultimate の fadeIn 3秒） ---------- */
.js .js-fadein {
	opacity: 0;
	transition: opacity 3s ease;
}

.js .js-fadein.is-inview {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	body,
	.js .js-fadein,
	.hero__slide {
		animation: none;
		transition: none;
	}

	.js .js-fadein {
		opacity: 1;
	}
}
