@charset "utf-8";
/* =============================================================
   M-Profix core.css
   - 文字サイズは clamp(rem, rem + vw, rem)。clamp() を使うルールには
     Safari の再計算対策として min-height:.001vw を必ず付ける（0vw は不可）
   - 16px未満は注記（パンくず・コピーライト）とグローバルメニューのみ
   - 予備値は同じルールに同じプロパティを2回書かず @supports で分ける
   - フォーム入力欄は iOS のズーム対策で 16px 固定
   ============================================================= */

/* ---------- 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: rgba(0, 0, 0, .85);
	background-color: #fff;
	font-family: "Zen Kaku Gothic Antique", sans-serif;
	font-size: clamp(1rem, .985rem + .065vw, 1.0625rem);
	font-variant: tabular-nums;
	font-feature-settings: "tnum";
	line-height: 1.5715;
	letter-spacing: .03em;
	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;
}

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.5rem;
	line-height: 1.7;
}

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;
}

.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, -.146rem + 4.861vw, 3.5rem);
	padding-bottom: clamp(1.75rem, -1.038rem + 6.713vw, 4rem);
	overflow-x: clip;
}

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

.site-body > .l-container {
	position: relative;
	z-index: 1;
}

/* 下層（会社概要・アクセス・グループ企業）左側のグレー帯 */
.site-body--deco::before {
	content: "";
	position: absolute;
	top: 0;
	left: 7%;
	z-index: 0;
	width: 390px;
	height: 100%;
	background-color: #f9f9f9;
}

@media (max-width: 1200px) {
	.site-body--deco::before { left: 2%; width: 350px; }
}

@media (max-width: 979px) {
	.site-body--deco::before { left: 1%; width: 300px; }
}

@media (max-width: 767px) {
	.site-body--deco::before { width: 250px; }
}

@media (max-width: 479px) {
	.site-body--deco::before { left: 10px; width: 150px; }
}

.main-section--home {
	margin-bottom: clamp(1.75rem, -.146rem + 4.861vw, 3rem);
}

/* ---------- Header ---------- */
.site-header {
	position: relative;
	z-index: 1000;
	background-color: #faf5f1;
}

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

.site-header__logo {
	min-height: .001vw;
	margin: 0;
	padding: 7px 0;
	font-size: clamp(1.3125rem, 1.227rem + .364vw, 1.5rem);
	line-height: 1;
}

.site-header__logo a {
	display: block;
}

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

.global-nav {
	display: none;
}

@media (max-width: 991px) {
	.site-header__inner {
		justify-content: center;
	}
}

@media (min-width: 992px) {
	.site-header__logo {
		padding: 1.1rem 0 1rem;
	}

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

	.global-nav {
		display: block;
	}

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

	.global-nav__list a {
		min-height: .001vw;
		display: block;
		padding: 14px 18px;
		color: #333;
		font-size: clamp(.875rem, .833rem + .067vw, .9rem);
		font-weight: 700;
		line-height: 1.4;
		text-align: center;
		text-decoration: none;
		transition: color .3s;
	}

	.global-nav__list a:hover,
	.global-nav__list .current-menu-item > a {
		color: #333;
	}

	.global-nav__list a:hover {
		color: #816d66;
	}

	/* スクロール後：ロゴを隠してメニュー中央の固定ヘッダー */
	.site-header-wrap {
		min-height: 93.6px;
	}

	.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;
	}
}

@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 #333;
	border-radius: 2px;
	background-color: rgba(255, 255, 255, .8);
}

.mobile-nav-btn__bar,
.mobile-nav-btn__bar::before,
.mobile-nav-btn__bar::after {
	position: absolute;
	left: 7px;
	width: 18px;
	height: 2px;
	background-color: #333;
	transition: transform .3s, opacity .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__bar { background-color: transparent; }
.is-mobile-nav-open .mobile-nav-btn__bar::before { transform: translateY(6px) rotate(45deg); }
.is-mobile-nav-open .mobile-nav-btn__bar::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	right: 0;
	bottom: 0;
	z-index: 2000;
	width: 100%;
	padding: 45px 10px;
	overflow-y: auto;
	background-color: #fff;
	visibility: hidden;
	transform: translateX(100%);
	transition: transform .5s ease, visibility 0s linear .5s;
}

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

.mobile-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #ccc;
}

.mobile-nav__list li {
	border-bottom: 1px solid #ccc;
}

.mobile-nav__list a {
	min-height: .001vw;
	display: block;
	padding: .7em .5em;
	color: #333;
	font-size: clamp(1rem, .985rem + .065vw, 1.0625rem);
	text-decoration: none;
}

.mobile-nav__list .current-menu-item > a {
	font-weight: 700;
}

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

/* ---------- Hero slider ---------- */
.hero {
	position: relative;
	overflow: hidden;
}

.hero__slides {
	display: grid;
}

.hero__slide {
	position: relative;
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 1.2s 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;
	transform: translateY(-50%);
}

.hero__title {
	min-height: .001vw;
	margin: 0;
	color: #fff;
	font-size: clamp(1.125rem, .443rem + 2.909vw, 2.625rem);
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
	text-shadow: 0 0 2px #333;
}

.hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	width: 27px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	background: transparent;
}

.hero__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
}

.hero__arrow--prev { left: 10px; }
.hero__arrow--next { right: 10px; }
.hero__arrow--prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.hero__arrow--next::before { transform: translate(-70%, -50%) rotate(135deg); }

@media (min-width: 768px) {
	.hero__arrow { display: block; }
}

.hero__pager {
	position: absolute;
	right: 0;
	bottom: 10px;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.hero__dot {
	width: 5px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background-color: #ccc;
}

.hero__dot.is-active {
	background-color: #333;
}

/* ---------- Home sections ---------- */
.p-section {
	position: relative;
	padding: clamp(1.5rem, .725rem + 3.704vw, 4rem) 15px;
}

.p-section + .p-section {
	margin-top: 50px;
}

.p-section--gray::before {
	content: "";
	position: absolute;
	top: 0;
	right: calc(50% - 50vw);
	bottom: 0;
	left: calc(50% - 50vw);
	z-index: -1;
	background-color: rgba(247, 247, 247, .8);
}

.p-section__title {
	min-height: .001vw;
	margin-bottom: 1em;
	font-size: clamp(1.5rem, 1.423rem + .327vw, 1.75rem);
	text-align: center;
}

.p-philosophy {
	max-width: 780px;
	margin: 0 auto;
	font-weight: 600;
	letter-spacing: 0;
}

.p-business,
.p-group {
	display: grid;
	margin: 0 -15px;
	padding: 0;
	list-style: none;
}

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

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

.p-business__body {
	padding: 1.25rem;
}

.p-business__title {
	min-height: .001vw;
	margin-bottom: 1em;
	font-size: clamp(1.05rem, 1.004rem + .196vw, 1.2rem);
	text-align: center;
}

@media (min-width: 576px) {
	.p-business { grid-template-columns: repeat(2, 1fr); }
	.p-group { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
	.p-business { grid-template-columns: repeat(3, 1fr); }
}

.p-group {
	row-gap: 10px;
}

.p-group__item {
	padding: 10px 15px;
	text-align: center;
}

.p-group__item a {
	display: inline-block;
	margin-bottom: 22px;
	vertical-align: top;
}

.p-group__item img {
	display: block;
	transition: all 1s;
}

.p-group__item a:hover img {
	opacity: .6;
	filter: brightness(110%);
}

/* ---------- Page header / breadcrumb ---------- */
.page-header {
	display: flex;
	align-items: center;
	color: #fff;
	background-image: linear-gradient(178.9deg, rgba(176, 57, 105, 1) 5.1%, rgba(229, 113, 159, 1) 109.3%);
}

@media (min-width: 992px) {
	.page-header { min-height: 6rem; }
}

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

.page-header__title {
	min-height: .001vw;
	margin: 0;
	font-size: clamp(1.75rem, 1.673rem + .327vw, 2rem);
	line-height: 1.4;
}

.breadcrumb__list {
	min-height: .001vw;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	font-size: clamp(.75rem, .735rem + .065vw, .8125rem);
}

.breadcrumb__item:not(:last-child)::after {
	content: "/";
	margin: 0 .5em;
	color: #999;
}

.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;
}

/* ---------- 下層の白い枠 ---------- */
.c-box {
	border: 1px solid #ddd;
	background-color: #fff;
}

.c-box--stack {
	margin-bottom: 50px;
}

.c-box--stack:last-child {
	margin-bottom: 0;
}

.c-box__inner {
	margin: 50px;
}

@media (max-width: 479px) {
	.c-box__inner { margin: 30px; }
}

.c-box__inner > :last-child {
	margin-bottom: 0;
}

/* 会社概要・アクセスの見出し */
.p-info__title {
	min-height: .001vw;
	position: relative;
	margin-bottom: 1em;
	padding-bottom: 10px;
	border-bottom: 2px solid #f2f2f2;
	font-size: clamp(1.3125rem, 1.255rem + .245vw, 1.5rem);
}

.p-info__title:not(:first-child) {
	margin-top: 2em;
}

.p-info__title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 30%;
	border-bottom: 2px solid #000;
}

.p-access-map {
	max-width: 443px;
	margin-bottom: 50px;
}

.p-access-map img {
	display: block;
	transition: all 1s;
}

/* グループ企業 */
.p-company__genre {
	min-height: .001vw;
	display: flex;
	align-items: center;
	margin-bottom: 1em;
	font-size: clamp(1.5rem, 1.423rem + .327vw, 1.75rem);
}

.p-company__genre::before,
.p-company__genre::after {
	content: "";
	flex-grow: 1;
	min-width: 40px;
	max-width: 40px;
	height: 4px;
	background-color: #000;
}

.p-company__genre::before { margin-right: 10px; }
.p-company__genre::after { margin-left: 10px; }

@media (max-width: 767px) {
	.p-company__genre {
		justify-content: center;
		text-align: center;
	}

	.p-company__genre::before,
	.p-company__genre::after {
		min-width: 20px;
		max-width: 20px;
	}

	.p-company__genre::before { margin-right: 3px; }
	.p-company__genre::after { margin-left: 3px; }
}

.p-company__name {
	min-height: .001vw;
	margin-bottom: 1em;
	font-size: clamp(1.3125rem, 1.255rem + .245vw, 1.5rem);
}

.p-company__desc,
.p-company__label {
	margin: 10px 0;
}

.p-company__label {
	font-weight: 600;
}

.p-company__data {
	margin: 10px 0;
}

.p-company__data dt {
	margin: 5px 0;
	font-weight: 700;
}

.p-company__data dd {
	margin: 5px 0;
	overflow-wrap: anywhere;
}

/* ---------- お問い合わせ（Contact Form 7） ---------- */
.p-form p {
	margin-bottom: 1.5rem;
}

.p-form label {
	display: block;
}

.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 input[type="url"],
.p-form input[type="number"],
.p-form textarea,
.p-form select {
	display: block;
	width: 100%;
	margin-bottom: 8px;
	padding: .8em 1em;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 5px;
	background-color: #fff;
	color: #333;
	line-height: 1.15;
}

.p-form textarea {
	height: 11.75rem;
	line-height: 1.5;
}

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

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

.p-form input[type="submit"] {
	min-width: 250px;
	padding: 8px 32px;
	border: 1px solid #816d66;
	border-radius: 5px;
	background-color: #a1887f;
	color: #fff;
	line-height: normal;
	cursor: pointer;
	transition: background-color .3s;
}

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

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

.p-form .wpcf7-not-valid-tip {
	min-height: .001vw;
	font-size: clamp(.875rem, .86rem + .065vw, .9375rem);
}

/* ---------- 投稿 ---------- */
.entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 8px;
}

.entry__title {
	min-height: .001vw;
	margin-bottom: 1.5rem;
	font-size: clamp(1.5rem, 1.423rem + .327vw, 1.75rem);
}

.entry__body img {
	height: auto;
}

.c-label {
	min-height: .001vw;
	display: inline-block;
	padding: 3px 1rem;
	border-radius: 2px;
	background-color: #a1887f;
	color: #fff;
	font-size: clamp(.75rem, .735rem + .065vw, .8125rem);
	line-height: 1.4;
	text-decoration: none;
}

.p-postlist {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #e5e5e5;
}

.p-postlist__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	padding: 16px 0;
	border-bottom: 1px solid #e5e5e5;
}

.p-postlist__date {
	min-height: .001vw;
	min-width: 133px;
	font-size: clamp(1rem, .9rem + .4vw, 1.125rem);
}

.p-postlist__title {
	min-height: .001vw;
	color: inherit;
	font-size: clamp(1rem, .9rem + .4vw, 1.125rem);
	text-decoration: none;
}

.p-postlist__title:hover {
	color: #63b5f7;
	text-decoration: underline;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 2rem;
}

.nav-links .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 6px 10px;
	border: 1px solid #ddd;
	color: #333;
	text-align: center;
	text-decoration: none;
}

.nav-links .current {
	background-color: #a1887f;
	color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
	display: flow-root;
	color: #333;
	background-color: #f3f3f3;
}

.site-footer__content {
	margin-top: 50px;
	margin-bottom: 50px;
	padding-top: clamp(2.625rem, 2.555rem + .3vw, 3rem);
}

.site-footer__links {
	display: grid;
	margin: 0 -15px;
	padding: 0;
	list-style: none;
}

.site-footer__links li {
	min-height: .001vw;
	margin: 12.8px 0 28px;
	padding: 0 15px 0 33px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: clamp(1rem, .985rem + .065vw, 1.0625rem);
	font-weight: 600;
	line-height: 1.5715;
}

.site-footer__links li.is-empty {
	display: none;
}

.site-footer__links a {
	color: #777;
	text-decoration: none;
}

.site-footer__links a:hover {
	color: #63b5f7;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	transition: 1s;
}

@media (min-width: 768px) {
	.site-footer__links { grid-template-columns: repeat(2, 1fr); }
	.site-footer__links li.is-empty { display: block; }
}

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

.site-footer__copyright {
	padding-top: 16px;
	padding-bottom: 16px;
}

.site-footer__copyright p {
	min-height: .001vw;
	margin: 8px 0;
	font-size: clamp(.75rem, .735rem + .065vw, .8125rem);
	line-height: 1.7;
	text-align: center;
}

/* ---------- Page top ---------- */
.page-top-btn {
	position: fixed;
	right: 2%;
	bottom: 3%;
	z-index: 1500;
	width: 45px;
	height: 45px;
	overflow: hidden;
	border-radius: 23px;
	background: rgba(255, 255, 255, 0) url(../../../../uploads/2021/10/top-up-1.png) no-repeat center / 50%;
	box-shadow: 0 0 0 1px rgba(125, 24, 58, .8), 0 0 0 2px rgba(124, 25, 58, .8);
	color: transparent;
	font-size: 0;
	text-decoration: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
}

.is-pagetop-visible .page-top-btn {
	opacity: 1;
	pointer-events: auto;
}

/* ---------- Fade-in（旧 su_animate fadeInUp 3s の置き換え） ---------- */
.js .js-fadein {
	opacity: 0;
}

.js .js-fadein.is-inview {
	animation: fadeInUp 3s both;
}

/* 旧サイトと同じ animate.css 3.1.1 の fadeInUp（20px 下から、3秒） */
@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

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

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

	html {
		scroll-behavior: auto;
	}
}
