/* =========================================================
   TOKENS / BASE
   ========================================================= */
:root {
	--bg: #ffffff;
	--text: #505050;
	--section-text: #ffffff;
	--line: rgba(80, 80, 80, .08);
	--card: #f7f7f7;
	--radius: 4px;
	/* shadow を段階化（共通化） */
	--shadow-sm: 0 12px 20px rgba(80, 80, 80, .06);
	--shadow: 0 14px 20px rgba(80, 80, 80, .06);
	--shadow-lg: 0 18px 20px rgba(80, 80, 80, .06);

	/* レイアウト用 */
	--container: 48em;
	--gutter: 16px;
	--section-pad: clamp(56px, 7vw, 96px);
	--header-h: 96px;
}

* {
	box-sizing: border-box;
}

/* フォント指定 */
body,
button,
input,
select,
textarea {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: .06em;
}

html,
body {
	height: 100%;
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--text);
	background: var(--bg);
}

img,
svg {
	max-width: 100%;
	width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	margin-inline: auto;
	padding: 5%;
}

.cases .container {
	margin-bottom: 5%;
}

.page-contents .container {
	max-width: 68rem;
}

.section::before,
.section::after {
	pointer-events: none;
}


/* =========================================================
   UTIL / LAYOUT（共通化・互換）
   ========================================================= */
.grid {
	display: grid;
	gap: 2.5vw;
}

.grid--2 {
	grid-template-columns: 1fr 1fr;
	align-items: start;
	position: relative;
}

.grid--2.align-center {
	align-items: center;
}

.grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1%;
}

.card {
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.card--hover {
	transition: transform .25s ease, box-shadow .25s ease;
}

.card--hover:hover,
{
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
}

.navigation.pagination {
	position: relative;
	z-index: 20;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	position: fixed;
	z-index: 99;
	width: 100%;
	color: var(--section-text);
}

.site-header.is-scrolled {
	top: 0;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	border-bottom-color: rgba(0, 0, 0, .08);
	color: var(--text);
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	align-items: center;
	gap: 1em;
	padding: 1em 5%;
}

.brand__logo {
	font-weight: 900;
	letter-spacing: .04em;
	line-height: 1.2;
	display: inline-block;
}

.site-header .brand__logo svg {
	fill: #fff;
	margin: 2% 0;
	width: 12.5em;
}

.site-header.is-scrolled .brand__logo svg {
	fill: #505050;
}

.brand__logo span {
	font-size: 1em;
}

.site-nav ul {
	display: flex;
	gap: 2em;
	align-items: center;
	list-style: none;
	padding-right: 2em;
}

.site-nav__link {
	font-weight: 800;
	letter-spacing: .06em;
	color: #2a2f2c;
	padding: 10px 12px;
	border-radius: 999px;
	transition: background .2s ease, transform .2s ease;
}

.site-nav__link:hover {
	background: rgba(95, 179, 111, .10);
	transform: translateY(-1px);
}

.site-nav__link.is-active {
	background: rgba(95, 179, 111, .18);
	color: var(--brand-2);
}

.tel {
	font-weight: 900;
	letter-spacing: .04em;
	color: var(--section-text);
	padding: 1em 2em;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;

	background: rgba(255, 255, 255, .10);
}

.site-header.is-scrolled .tel {
	color: var(--text);
	border: 1px solid rgba(0, 0, 0, .25);
}

/* Mobile nav */
.nav-toggle {
	display: none;
	width: 3em;
	height: 3em;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	padding: 0.5em;
}

.nav-toggle span {
	display: block;
	height: 1px;
	background: #222;
	margin: 6px 0;
	border-radius: 1px;
}

.mobile-nav {
	background: #fff;
	padding: 5%;
}

.mobile-nav ul {
	border-top: 1px solid var(--line);
	padding: 0;
}

.mobile-nav li {
	list-style: none;
}

.mobile-nav a {
	display: block;
	padding: 1em;
	font-weight: 800;
	letter-spacing: .06em;
	color: var(--text);
	border-bottom: 1px solid #e9efe9;
}

/* =========================================================
   HERO / PARALLAX
   ========================================================= */
.hero {
	position: relative;
	min-height: 70vh;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	height: 100vh;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .50), rgba(0, 0, 0, .10)),
		url("../img/hero.jpg");
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
}

.hero__inner {
	position: relative;
	padding: 120px 0;
	color: #fff;
	text-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.hero__title {
	margin: 0 0 12px;
	font-size: clamp(34px, 4.5vw, 52px);
	line-height: 1.12;
	font-weight: 900;
	letter-spacing: .08em;
	text-align: center;
}

.hero__name {
	margin: 0;
	font-weight: 900;
	font-size: 18px;
	opacity: .95;
}

.page-hero {
	padding: 5%;
}

.js-parallax {
	position: relative;
	overflow: hidden;
	background-color: #000;
}

.js-parallax::before {
	content: "";
	position: absolute;
	top: -120px;
	bottom: -120px;
	left: 0;
	right: 0;
	z-index: 0;
	background: var(--p-overlay, none), var(--p-bg, none);
	background-size: cover;
	background-position: center;
	transform: translate3d(0, var(--parallax-y, 0px), 0);
	will-change: transform;
}

.js-parallax>.container,
.js-parallax>.hero__inner {
	position: relative;
	z-index: 1;
}

.cta.js-parallax {
	padding: 56px 0;
	min-height: 220px;
}

/* =========================================================
   SECTIONS / TITLES
   ========================================================= */
.home .js-parallax {
	background-size: cover;
	background-position: center;
}

.home .section-link {
	padding: 5%;
	color: var(--section-text);
	min-height: 50vh;
	display: block;
	position: relative;
}

.section-title {
	font-size: 2rem;
	line-height: 1.4;
	font-weight: bold;
	margin: 0;
	display: flex;
	align-items: flex-end;
}

.section-title::after {
	content: "";
	width: 0.8em;
	height: 0.8em;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNyIgaGVpZ2h0PSIyNyIgdmlld0JveD0iMCAwIDI3IDI3Ij4gPGcgaWQ9IuOCsOODq+ODvOODl18zNyIgZGF0YS1uYW1lPSLjgrDjg6vjg7zjg5cgMzciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ4OSAtMTI3MCkiPiA8Y2lyY2xlIGlkPSLmpZXlhoblvaJfMSIgZGF0YS1uYW1lPSLmpZXlhoblvaIgMSIgY3g9IjEzLjUiIGN5PSIxMy41IiByPSIxMy41IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDg5IDEyNzApIiBmaWxsPSIjZmZmIi8+IDxwYXRoIGlkPSJJY29uX2lvbmljLW1kLWFycm93LWZvcndhcmQiIGRhdGEtbmFtZT0iSWNvbiBpb25pYy1tZC1hcnJvdy1mb3J3YXJkIiBkPSJNNS45NzcsMTIuNzI3aDkuMTEybC00LjIsNC4yLDEuMDg4LDEuMDUsNi02LTYtNi0xLjA1LDEuMDUsNC4xNjIsNC4ySDUuOTc3WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ4Ni45NzcgMTI3Mi4wMjMpIiBvcGFjaXR5PSIwLjM2MiIvPiA8L2c+PC9zdmc+");
	display: inline-block;
	background-position: center;
	background-size: cover;
	opacity: 0.8;
	margin-left: auto;
	transition: transform .25s ease, opacity .25s ease;
}

.top-section-link:hover .section-title::after {
	position: relative;
	transform: translateX(2px);
	right: 0;
	opacity: 1;
}

.top-section-link.black .section-title {
	color: var(--text);
}

.top-section-link {
	position: relative;
	transition: all .3s ease;
	padding: 2.5% 0;
	display: inline-block;
	min-width: 40vw;
}

.top-section-link::after {
	position: absolute;
	content: "";
	display: block;
	width: 5em;
	height: 2px;
	margin-top: 1rem;
	background: #fff;
	border-radius: 2px;
	bottom: 1px;
	transition: width .3s ease;
}

.top-section-link::before {
	position: absolute;
	bottom: 1px;
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, .4);
	border-radius: 2px;
}

.top-section-link.black::after {
	background: rgba(0, 0, 0, .5);
}

.top-section-link.black::before {
	background: rgba(80, 80, 80, .5);
}

.home .section-link:hover .top-section-link::after {
	background: rgba(255, 255, 255, 1);
}

.home .section-link:hover .top-section-link::after,
.top-section-link.black:hover::after {
	width: 100%;
}

.section-desc {
	padding: 2.5% 0;
}

.lead {
	margin: 0 0 18px;
}

.note {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 16px 18px;
	color: var(--muted);
	margin-bottom: 18px;
	box-shadow: var(--shadow-sm);
}

.content-title {
	letter-spacing: 0.08em;
}

.content-title.white {
	color: var(--card);
}

.content-title.center {
	text-align: center;
}

.content-title span,
.section-title span {
	display: block;
	font-size: 0.8rem;
}

.content-title::after {
	display: block;
	width: 4rem;
	height: 2px;
	content: "";
	background: var(--text);
	margin-top: 0.5em;
}

.content-title.center::after {
	margin: 0.5em auto;
}

.content-title.white::after {
	background: var(--bg);
}

/* =========================================================
   LINK CARDS（将来は .card に寄せられる）
   ========================================================= */
.link-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.link-card {
	border: 1px solid var(--line);
	border-radius: 26px;
	padding: 16px 16px;
	box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}

.link-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 35px 70px rgba(0, 0, 0, .10);
}

.link-card__title {
	font-weight: 900;
	display: block;
}

.link-card__sub {
	font-size: 12px;
	color: var(--muted);
	display: block;
	margin-top: 2px;
}

.about__media img {
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.thumb-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 12px;
}

.thumb {
	border: 1px dashed #dbe6de;
	border-radius: 18px;
	padding: 12px;
	text-align: center;
	color: #6a766f;
	background: #fff;
}

/* =========================================================
   SERVICE
   ========================================================= */
.service {
	background: var(--soft);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.service-card {
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: 26px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.service-card__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: .04em;
}

.service-card__desc {
	margin: 0;
	color: var(--muted);
}

.service-card__media img {
	border-radius: 24px;
	height: 100%;
	object-fit: cover;
}

/* =========================================================
   CASES / SWIPER
   ========================================================= */
.cases-head {
	display: flex;
	gap: 16px;
	align-items: end;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 22px;
	color: var(--text);
}

.cases-slider {
	width: 90%;
	margin: 5% auto;
}

.case__list,
.cases-slider .swiper-slide {
	border-radius: 2px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
	position: relative;
	display: flex;
	align-items: end;
}

.case__list:hover {
	box-shadow: var(--shadow-lg);
}

.case__list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	z-index: 0;
}

.case__list:hover img {
	transform: scale(1.06);
}

.case__body {
	padding: 5%;
	z-index: 1;
	position: absolute;
	color: var(--bg);
}

.case__cats span {
	margin: 0;
	background: rgba(255, 255, 255, .2);
	color: var(--bg);
	box-shadow: var(--shadow);
	padding: 0.5em 1em;
	font-size: 0.85em;
	border-radius: 40px;
	text-align: center;
}

.case__cats span+span {
	margin-left: 1em;
}

.swiper-backface-hidden .swiper-slide::after,
.case__list::after {
	content: "";
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(to bottom,
			rgba(28, 24, 28, 0) 0%,
			rgba(28, 24, 28, 0.3) 50%,
			rgba(28, 24, 28, .6) 100%);
}

.case__title {
	margin: 1em 0;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: .04em;
}

.case__list {
	margin: 0;
	color: var(--muted);
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: flex-end;
}

.cases-slider {
	position: relative;
}

.cases-nav {
	position: absolute;
	top: -2em;
	right: 0;
	display: flex;
	gap: 10px;
	z-index: 10;
}

.swiper-button-prev::after,
.swiper-button-next::after {
	display: none;
}

.cases-nav .swiper-button-prev,
.cases-nav .swiper-button-next {
	position: static;
	width: 2em;
	height: 2em;
	background-size: contain;
}

.cases-nav .swiper-button-prev {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MSIgaGVpZ2h0PSI1MSIgdmlld0JveD0iMCAwIDUxIDUxIj4gPGcgaWQ9IuOCsOODq+ODvOODl18yMCIgZGF0YS1uYW1lPSLjgrDjg6vjg7zjg5cgMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDYzNyAxNjY1KSByb3RhdGUoMTgwKSI+IDxjaXJjbGUgaWQ9IualleWGhuW9ol8xIiBkYXRhLW5hbWU9IualleWGhuW9oiAxIiBjeD0iMjUuNSIgY3k9IjI1LjUiIHI9IjI1LjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU4NiAxNjE0KSIgZmlsbD0iI2ZmZiIgb3BhY2l0eT0iMC4zNjgiLz4gPHBhdGggaWQ9Ikljb25faW9uaWMtbWQtYXJyb3ctZm9yd2FyZCIgZGF0YS1uYW1lPSJJY29uIGlvbmljLW1kLWFycm93LWZvcndhcmQiIGQ9Ik01Ljk3NywxOC42SDIzLjAybC03Ljg1Niw3Ljg1NkwxNy4yLDI4LjQyMSwyOC40MjEsMTcuMiwxNy4yLDUuOTc3LDE1LjIzNSw3Ljk0LDIzLjAyLDE1LjhINS45NzdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1OTQuOTg2IDE2MjIuOTg2KSIgb3BhY2l0eT0iMC4zNjIiLz4gPC9nPjwvc3ZnPg==");
}

.cases-nav .swiper-button-next {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MSIgaGVpZ2h0PSI1MSIgdmlld0JveD0iMCAwIDUxIDUxIj4gPGcgaWQ9IuOCsOODq+ODvOODl18xOSIgZGF0YS1uYW1lPSLjgrDjg6vjg7zjg5cgMTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODYgLTE2MTQpIj4gPGNpcmNsZSBpZD0i5qWV5YaG5b2iXzEiIGRhdGEtbmFtZT0i5qWV5YaG5b2iIDEiIGN4PSIyNS41IiBjeT0iMjUuNSIgcj0iMjUuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTg2IDE2MTQpIiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIwLjM2OCIvPiA8cGF0aCBpZD0iSWNvbl9pb25pYy1tZC1hcnJvdy1mb3J3YXJkIiBkYXRhLW5hbWU9Ikljb24gaW9uaWMtbWQtYXJyb3ctZm9yd2FyZCIgZD0iTTUuOTc3LDE4LjZIMjMuMDJsLTcuODU2LDcuODU2TDE3LjIsMjguNDIxLDI4LjQyMSwxNy4yLDE3LjIsNS45NzcsMTUuMjM1LDcuOTQsMjMuMDIsMTUuOEg1Ljk3N1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU5NC45ODYgMTYyMi45ODYpIiBvcGFjaXR5PSIwLjM2MiIvPiA8L2c+PC9zdmc+");
}

.cases-swiper {
	overflow: hidden;
}

.cases-slider .swiper .swiper-pagination {
	position: static;
}

/* 事業案内 */

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	border-radius: 999px;
	padding: 0.5em 2em;
	font-weight: 900;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	letter-spacing: .06em;
	font-size: 1.2em;
	s
}

.btn.black {
	display: block;
	color: var(--text);
	border: var(--text) 1px solid;
	width: fit-content;
	margin: 1em auto;
}

.btn.black.mobile {
	margin: 1em auto;
	display: block;
}

.btn--primary {
	background: rgba(255, 255, 255, .1);
	color: var(--bg);
	box-shadow: var(--shadow);
	border: 1px solid var(--bg);
}

.btn--primary:hover {
	filter: brightness(.97);
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
	padding: 10%;
	background: var(--soft);
	border-top: 1px solid var(--line);
}

.cta-inner {
	text-align: center;
}

.cta__lead {
	margin: 5% auto;
	font-weight: 600;
	letter-spacing: .03em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-top {
	padding: 2.5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-name {
	font-weight: 900;
	font-size: 1em;
	letter-spacing: 0.095em;
}

.footer-nav {
	display: flex;
	gap: 2em;
}

.footer-nav a {
	color: var(--text);
}

.footer-nav a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	padding: 2.5%;
	border-top: 1px solid rgba(80, 80, 80, .08);
}

.footer-brand {
	width: 13.5em;
}

/* =========================================================
   ANCHOR NAV / SCROLL OFFSET
   ========================================================= */
.anchor-nav {
	display: flex;
	justify-content: center;
}

.anchor-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 2em;
	padding: 1em;
	color: var(--bg);
	font-weight: 900;
	letter-spacing: .04em;
	border-top: 1px solid #fff;
}

.anchor-nav__link::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s ease, opacity .3s ease;
	opacity: .4;
}

.anchor-nav__link:hover::before {
	transform: scaleX(1);
	opacity: 1;
}

.anchor-nav__link::after {
	content: "";
	width: 1.2em;
	height: 1.2em;
	opacity: 0.6;
	background-size: cover;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOSIgaGVpZ2h0PSIxOSIgdmlld0JveD0iMCAwIDE5IDE5Ij4gPGcgaWQ9IuOCsOODq+ODvOODl180MCIgZGF0YS1uYW1lPSLjgrDjg6vjg7zjg5cgNDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2MzMuMTcgLTU4Nikgcm90YXRlKDkwKSI+IDxjaXJjbGUgaWQ9IualleWGhuW9ol8xIiBkYXRhLW5hbWU9IualleWGhuW9oiAxIiBjeD0iOS41IiBjeT0iOS41IiByPSI5LjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU4NiAxNjE0LjE3KSIgZmlsbD0iI2ZmZiIvPiA8cGF0aCBpZD0iSWNvbl9pb25pYy1tZC1hcnJvdy1mb3J3YXJkIiBkYXRhLW5hbWU9Ikljb24gaW9uaWMtbWQtYXJyb3ctZm9yd2FyZCIgZD0iTTUuOTc3LDEwLjc2OWg2LjQ3TDkuNDY0LDEzLjc1MWwuNzcyLjc0NSw0LjI2LTQuMjYtNC4yNi00LjI2LS43NDUuNzQ1TDEyLjQ0Niw5LjdINS45NzdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1ODUuNzAzIDE2MTMuNzAzKSIgb3BhY2l0eT0iMC4zNjIiLz4gPC9nPjwvc3ZnPg==");
}

.anchor-section {
	scroll-margin-top: var(--header-h);
}

/* jf-challenge 内で container を二重にしてるので保険 */
.jf-challenge .container {
	width: 100%;
	margin-inline: 0;
}

/* =========================================================
   FLOW
   ========================================================= */
.flow {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.flow__step {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	align-items: center;
	padding: 1em;
	border-bottom: 1px solid var(--line);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.flow__num {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 40px;
	font-weight: 900;
}

.flow__text {
	font-weight: 800;
	color: #2b2f2d;
}

/* =========================================================
   JF CHALLENGE
   ========================================================= */
.jf-challenge {
	padding: 96px 0;
	background: var(--soft, #f6faf7);
}

.jf-challenge__head {
	display: grid;
	gap: 10px;
	margin-bottom: 28px;
}

.jf-challenge__title {
	margin-bottom: 0;
}

.jf-challenge__desc {
	margin: 0;
	max-width: 720px;
}

.jf-challenge__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.jf-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line, #e6efe8);
	border-radius: 28px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
	padding: 22px;
	transition: transform .25s ease, box-shadow .25s ease;
	overflow: hidden;
}

.jf-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px 200px at 10% 0%, rgba(95, 179, 111, .14), transparent 60%),
		radial-gradient(600px 200px at 100% 100%, rgba(95, 179, 111, .08), transparent 60%);
	pointer-events: none;
}

.jf-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.jf-card__icon {
	width: 64px;
	height: 64px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(95, 179, 111, .25);
	background: rgba(95, 179, 111, .10);
	margin-bottom: 14px;
	position: relative;
	z-index: 1;
}

.jf-icon {
	width: 44px;
	height: 44px;
	color: var(--brand, #5fb36f);
}

.jf-card__meta {
	position: relative;
	z-index: 1;
}

.jf-card__badge {
	display: inline-block;
	font-weight: 900;
	font-size: 12px;
	letter-spacing: .12em;
	color: var(--brand-2, #2f7d4a);
	background: rgba(95, 179, 111, .12);
	border: 1px solid rgba(95, 179, 111, .22);
	padding: 6px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}

.jf-card__title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: .04em;
	line-height: 1.35;
	color: #243129;
}

.jf-card__text {
	margin: 0;
	color: var(--muted, #5f6b63);
}

.jf-card:nth-child(1)::after,
.jf-card:nth-child(2)::after,
.jf-card:nth-child(3)::after {
	position: absolute;
	right: 16px;
	top: 10px;
	font-weight: 900;
	font-size: 64px;
	letter-spacing: .06em;
	color: rgba(95, 179, 111, .12);
	content: "01";
	pointer-events: none;
}

.jf-card:nth-child(2)::after {
	content: "02";
}

.jf-card:nth-child(3)::after {
	content: "03";
}

/* =========================================================
   PAGES（WP想定）
   ========================================================= */
/* 企業理念 */
.philosophy {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 5% 0;
}

.philosophy__img {
	display: block;
	margin: 5% auto;
	max-width: 40%;
}


/* 会社概要 */
.profile {
	background-image: url(../img/bg-profile.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.profile .contents {
	background-color: var(--bg);
	padding: 5%;
	max-width: 48rem;
	margin: 0 auto;
	border-radius: var(--radius);
}

.profile dl {
	margin: 0;
}

.profile__row {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.profile__row dt {
	font-weight: 900;
	color: #2b2f2d;
}

.profile__row dd {
	margin: 0;
	color: var(--muted);
}

.ceo-name {
	text-align: right;
	padding-top: 1em;
}

/* 沿革 */
.history .grid--2 {
	position: relative;
	margin-bottom: 5vw;
}

.history ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 5%;
}

.history li {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 2em;
	padding: 1em;
	border-bottom: 1px solid var(--line);
}

.history li .history__date {
	text-align: right;
	padding-right: 2em;
}

.history .image {
	position: absolute;
	right: -6%;
	bottom: 0;
	height: 100%;
	width: 40%;
}

.history .image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
	border-radius: var(--radius) 0 0 var(--radius);
}

.history__date {
	font-weight: 900;
}

.history__text {
	color: var(--muted);
}

/* 固定ページ */
.page-title {
	color: var(--bg);
	text-align: center;
	font-size: 2em;
}

.page-title span {
	display: block;
	font-size: 0.8rem;
}

/* 取扱商品 */
.lineup {
	background-image: url(../img/bg-lineup.jpg);
	background-attachment: fixed;
	background-size: cover;
}

.lineup .contents {
	background-color: var(--bg);
	padding: 5%;
	max-width: 48rem;
	margin: 0 auto;
}

.item-list {
	list-style: none;
	padding: 0;
}

.item-list li {
	padding: 1em;
	border-bottom: 1px solid var(--line);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

/* 投稿 */
.nav-links {
	display: flex;
	justify-content: center;
	margin: 1rem auto;
	gap: 0.25rem;
}

.navigation.pagination {
	padding: 5%;
}

.next.page-numbers,
.prev.page-numbers {
	display: flex;
	align-items: center;
}

.prev.page-numbers::before,
.next.page-numbers::after {
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	background-size: contain;
	background-repeat: no-repeat;
}

.prev.page-numbers::before {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MSIgaGVpZ2h0PSI1MSIgdmlld0JveD0iMCAwIDUxIDUxIj4gPGcgaWQ9IuOCsOODq+ODvOODl18yMCIgZGF0YS1uYW1lPSLjgrDjg6vjg7zjg5cgMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDYzNyAxNjY1KSByb3RhdGUoMTgwKSI+IDxjaXJjbGUgaWQ9IualleWGhuW9ol8xIiBkYXRhLW5hbWU9IualleWGhuW9oiAxIiBjeD0iMjUuNSIgY3k9IjI1LjUiIHI9IjI1LjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU4NiAxNjE0KSIgZmlsbD0iI2ZmZiIgb3BhY2l0eT0iMC4zNjgiLz4gPHBhdGggaWQ9Ikljb25faW9uaWMtbWQtYXJyb3ctZm9yd2FyZCIgZGF0YS1uYW1lPSJJY29uIGlvbmljLW1kLWFycm93LWZvcndhcmQiIGQ9Ik01Ljk3NywxOC42SDIzLjAybC03Ljg1Niw3Ljg1NkwxNy4yLDI4LjQyMSwyOC40MjEsMTcuMiwxNy4yLDUuOTc3LDE1LjIzNSw3Ljk0LDIzLjAyLDE1LjhINS45NzdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1OTQuOTg2IDE2MjIuOTg2KSIgb3BhY2l0eT0iMC4zNjIiLz4gPC9nPjwvc3ZnPg==");
}



.next.page-numbers::after {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MSIgaGVpZ2h0PSI1MSIgdmlld0JveD0iMCAwIDUxIDUxIj4gPGcgaWQ9IuOCsOODq+ODvOODl18xOSIgZGF0YS1uYW1lPSLjgrDjg6vjg7zjg5cgMTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODYgLTE2MTQpIj4gPGNpcmNsZSBpZD0i5qWV5YaG5b2iXzEiIGRhdGEtbmFtZT0i5qWV5YaG5b2iIDEiIGN4PSIyNS41IiBjeT0iMjUuNSIgcj0iMjUuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTg2IDE2MTQpIiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIwLjM2OCIvPiA8cGF0aCBpZD0iSWNvbl9pb25pYy1tZC1hcnJvdy1mb3J3YXJkIiBkYXRhLW5hbWU9Ikljb24gaW9uaWMtbWQtYXJyb3ctZm9yd2FyZCIgZD0iTTUuOTc3LDE4LjZIMjMuMDJsLTcuODU2LDcuODU2TDE3LjIsMjguNDIxLDI4LjQyMSwxNy4yLDE3LjIsNS45NzcsMTUuMjM1LDcuOTQsMjMuMDIsMTUuOEg1Ljk3N1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU5NC45ODYgMTYyMi45ODYpIiBvcGFjaXR5PSIwLjM2MiIvPiA8L2c+PC9zdmc+");
}

.page-numbers {
	border: 1px solid #a3a3a3;
	color: var(--text);
	border-radius: 100px;
	padding: 0.25rem 1rem;
}

/* .post-navigation .nav-previous,
.post-navigation .nav-next {
	text-decoration: none;
	border: 1px solid #ddd;
	padding: 20px;
	display: block;
	width: 48%;
} */

/* .nav-label {
	font-size: 12px;
	color: #888;
	display: block;
	margin-bottom: 6px;
}

.nav-title {
	font-size: 16px;
	font-weight: bold;
} */

.related-cases {
	padding: 5% 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 920px) {
	.header-inner {
		grid-template-columns: 1fr auto auto;
	}

	.site-nav {
		display: none;
	}

	.tel {
		display: none;
	}

	.nav-toggle {
		display: inline-block;
	}

	.hero {
		min-height: 56vh;
	}

	.section {
		padding: 5% 0;
	}

	.jf-challenge__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.jf-card {
		padding: 20px;
	}

	.footer-bottom {
		flex-direction: column-reverse;
	}

	.footer-top {
		flex-direction: column;
	}
}

@media (max-width: 680px) {

	.page-hero {
		height: 30vh;
		display: flex;
		align-items: end;
	}

	.grid--2,
	.grid--3 {
		grid-template-columns: 1fr;
	}

	.profile__row {
		grid-template-columns: 1fr;
	}

	.history ul {
		gap: 0;
	}

	.history li {
		grid-template-columns: 1fr;
	}

	.flow__step {
		grid-template-columns: 1fr;
	}

	.flow__num {
		width: fit-content;
		padding: 0 14px;
	}

	.anchor-nav {
		justify-content: flex-start;
		/* ←centerを上書き */
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-padding-left: .75rem;
		/* ←これ */
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		/* Firefox */
	}

	.anchor-nav::-webkit-scrollbar {
		display: none;
	}

	/* Chrome/Safari */

	.anchor-nav>a {

		text-decoration: none;
		white-space: nowrap;

		scroll-snap-align: start;
	}

	.history .image {
		position: static;
		width: 100%;
		height: auto;
		right: auto;
		bottom: auto;
	}

	.history .image img {
		height: auto;
	}

	.site-header .brand__logo svg {
		margin: 1% 0;
		width: 9em;
	}

	.page-title {
		font-size: 1.2em;
	}

	.brand__logo span {
		font-size: 0.75em;
	}

	.history li .history__date {
		text-align: left;
	}
}