@charset "UTF-8";
/* ==========================================================================
   Mantsu Corporate — main stylesheet
   配色・サイズは下の :root 変数で一括変更できます。
   ========================================================================== */

:root {
	--c-primary: #394695;        /* メインの紺 */
	--c-primary-dark: #192259;   /* 見出しの濃紺 */
	--c-primary-text: #3b4a9f;   /* 表見出しの文字色 */
	--c-lavender: #e6e6fa;       /* 表見出しの背景 */
	--c-bg-start: #edeef5;       /* 背景グラデーション（左） */
	--c-bg-end: #aabaff;         /* 背景グラデーション（右） */
	--c-accent: #d6262c;         /* アクセント（ロゴの赤） */
	--c-text: #333;
	--c-text-sub: #666;
	--c-muted: #767676;
	--c-line: #ebebeb;
	--c-card-edge: #e9e9e9;
	--c-tab: #e3e6f2;            /* タブ（非選択）の背景 */
	--c-tab-text: #3b4a9f;       /* タブ（非選択）の文字 */
	--c-footer: #262b28;
	--c-footer-accent: #aabaff;
	--container: 1080px;
	--gutter: 20px;
	--font-base: "Helvetica Neue", "Noto Sans JP", Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
	--font-num: Impact, Haettenschweiler, "Arial Narrow Bold", "Helvetica Neue", sans-serif;
	--ease: cubic-bezier(.25, .8, .25, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	min-width: 320px;
	font-family: var(--font-base);
	font-size: 14px;
	line-height: 1.8;
	color: var(--c-text);
	background: linear-gradient(to right, var(--c-bg-start), var(--c-bg-end));
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
	overflow-x: clip;
}

/* 翻訳表示時のフォント（中国語・韓国語の字形で表示） */
html:lang(zh-CN) body { font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif; }
html:lang(zh-TW) body { font-family: "Helvetica Neue", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
html:lang(ko) body { font-family: "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }

img,
svg { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--c-primary); text-decoration: none; transition: color .2s, opacity .2s, background-color .2s; }
a:hover { color: var(--c-primary-dark); }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.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: 1000;
	width: auto; height: auto;
	padding: 10px 16px;
	clip: auto;
	background: #fff;
	color: var(--c-primary-dark);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 100;
	background: #fff;
	border-top: 4px solid var(--c-primary);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(var(--container) + var(--gutter) * 2);
	min-height: 102px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.site-logo { flex-shrink: 0; margin: 0; font-size: inherit; line-height: 1; }
.site-logo a { display: inline-block; }
.site-logo img,
.site-logo .custom-logo { display: block; width: auto; max-width: 260px; max-height: 64px; }
.site-logo__text { font-size: 24px; font-weight: 700; letter-spacing: .06em; color: var(--c-primary-dark); }

.site-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
	min-width: 0;
	padding-top: 10px;
}

/* Language switcher */
.header-utility { min-height: 20px; font-size: 12px; line-height: 20px; color: var(--c-muted); }
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-switcher a { padding: 0 10px; font-size: 13px; color: var(--c-muted); }
.lang-switcher a + a { border-left: 1px solid #ddd; }
.lang-switcher a:hover,
.lang-switcher .gt-current-lang { color: var(--c-primary); }
.lang-switcher img { width: 16px; height: auto; margin-right: 4px; vertical-align: -2px; }
.lang-switcher select { padding: 2px 6px; font-size: 12px; border: 1px solid #ddd; border-radius: 3px; color: var(--c-text-sub); background: #fff; }
.lang-switcher button {
	padding: 0 10px;
	border: 0;
	background: none;
	font-size: 13px;
	line-height: 20px;
	color: var(--c-muted);
	cursor: pointer;
	transition: color .2s;
}
.lang-switcher button + button { border-left: 1px solid #ddd; }
.lang-switcher button:hover,
.lang-switcher button:focus-visible { color: var(--c-primary); }
.lang-switcher button.is-current { font-weight: 700; color: var(--c-primary); }
.is-translating .lang-switcher { opacity: .55; cursor: progress; }
.is-translating .lang-switcher button { cursor: progress; }
.lang-switcher__hint { font-size: 11px; color: #c33; }

/* Global navigation (desktop) */
.global-nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; margin: 0; padding: 0; list-style: none; }
.global-nav__list > li { position: relative; }
.global-nav__list > li > a {
	position: relative;
	display: block;
	padding: 4px 22px 12px;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: .08em;
	color: var(--c-text);
	white-space: nowrap;
}
.global-nav__list > li + li > a::after {
	content: "";
	position: absolute;
	top: 6px; left: 0;
	width: 1px; height: 16px;
	background: #e6e6e6;
}
.global-nav__list > li > a::before {
	content: "";
	position: absolute;
	left: 22px; right: 22px; bottom: 0;
	height: 3px;
	background: var(--c-primary);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .3s, transform .3s;
}
.global-nav__list > li > a:hover::before,
.global-nav__list > li > a:focus-visible::before,
.global-nav__list > li:hover > a::before { opacity: 1; transform: translateY(0); }
.global-nav__list > .current-menu-item > a,
.global-nav__list > .current-menu-ancestor > a,
.global-nav__list > .current-menu-parent > a,
.global-nav__list > .current_page_item > a,
.global-nav__list > .current_page_parent > a,
.global-nav__list > .current_page_ancestor > a { font-weight: 700; color: var(--c-primary-dark); }
.global-nav__list > .current-menu-item > a::before,
.global-nav__list > .current-menu-ancestor > a::before,
.global-nav__list > .current-menu-parent > a::before,
.global-nav__list > .current_page_item > a::before,
.global-nav__list > .current_page_parent > a::before,
.global-nav__list > .current_page_ancestor > a::before { opacity: 1; transform: none; background: var(--c-primary-dark); }

/* Dropdown */
.global-nav__list ul {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	z-index: 60;
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: rgba(25, 34, 89, .93);
	box-shadow: 0 12px 28px rgba(25, 34, 89, .28);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.global-nav__list ul::before {
	content: "";
	position: absolute;
	top: -8px; left: 50%;
	margin-left: -8px;
	border: 8px solid transparent;
	border-top: 0;
	border-bottom-color: rgba(25, 34, 89, .93);
}
.global-nav__list ul::after {
	content: "";
	position: absolute;
	top: -16px; left: 0; right: 0;
	height: 16px;
}
.global-nav__list li:hover > ul,
.global-nav__list li:focus-within > ul { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* 右端の項目はドロップダウンを右揃えにして画面外にはみ出さないようにする */
.global-nav__list > li:last-child > ul { left: auto; right: 0; transform: translate(0, 10px); }
.global-nav__list > li:last-child:hover > ul,
.global-nav__list > li:last-child:focus-within > ul { transform: translate(0, 0); }
.global-nav__list > li:last-child > ul::before { left: auto; right: 34px; margin-left: 0; }
.global-nav__list ul a {
	display: block;
	padding: 9px 24px;
	font-size: 14px;
	letter-spacing: .05em;
	color: #fff;
	white-space: nowrap;
	transition: background-color .2s, padding-left .2s;
}
.global-nav__list ul a:hover,
.global-nav__list ul a:focus-visible { padding-left: 30px; color: #fff; background: rgba(255, 255, 255, .14); }
.global-nav__list ul .current-menu-item > a,
.global-nav__list ul .current_page_item > a { background: rgba(255, 255, 255, .1); }

.nav-toggle,
.submenu-toggle { display: none; }

/* --------------------------------------------------------------------------
   Shared parts
   -------------------------------------------------------------------------- */
.card { background: #fff; border-bottom: 3px solid var(--c-card-edge); }

.section-title {
	margin: 0;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .04em;
	color: var(--c-primary-dark);
}
.section-title > span { display: inline-block; padding-bottom: 1px; border-bottom: 3px solid var(--c-primary-dark); }
.section-title--center { flex: 1; text-align: center; }

.btn-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 148px;
	padding: 7px 16px 7px 26px;
	border: 1px solid var(--c-primary-dark);
	border-radius: 999px;
	background: var(--c-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.5;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .16);
	transition: transform .3s var(--ease), background-color .3s;
}
.btn-more:hover,
.btn-more:focus-visible { color: #fff; background: var(--c-primary-dark); transform: scale(1.05); }
.btn-more__icon {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
	border: 2px solid #fff;
	border-radius: 50%;
}
.btn-more__icon::before {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 7px; height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translate(-65%, -50%) rotate(45deg);
}

.btn-outline {
	display: inline-block;
	padding: 6px 32px;
	border: 1px solid var(--c-primary-dark);
	border-radius: 999px;
	background: #fff;
	color: var(--c-primary-text);
	font-weight: 700;
	line-height: 1.6;
	transition: box-shadow .3s, border-color .3s;
}
.btn-outline:hover { border-color: var(--c-primary-text); box-shadow: 0 4px 12px rgba(0, 0, 0, .24); color: var(--c-primary-text); }

.link-arrow { position: relative; padding-right: 16px; font-size: 13px; color: var(--c-primary); }
.link-arrow::after {
	content: "";
	position: absolute;
	top: 50%; right: 2px;
	width: 6px; height: 6px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
	transition: right .2s;
}
.link-arrow:hover::after { right: -2px; }

.circle-arrow {
	position: relative;
	flex: none;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #c8c8c8;
	border-radius: 50%;
	background: #fff;
	color: #b3b3b3;
	cursor: pointer;
	transition: border-color .2s, color .2s, background-color .2s;
}
.circle-arrow::before {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	border-style: solid;
	border-color: transparent;
}
.circle-arrow--prev::before { margin: -6px 0 0 -5px; border-width: 6px 8px 6px 0; border-right-color: currentColor; }
.circle-arrow--next::before { margin: -6px 0 0 -3px; border-width: 6px 0 6px 8px; border-left-color: currentColor; }
.circle-arrow:hover,
.circle-arrow:focus-visible { border-color: var(--c-primary); color: var(--c-primary); }
.circle-arrow[hidden] { visibility: hidden; display: block; }

.slider-dots { display: flex; justify-content: center; gap: 10px; }
.slider-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}
.slider-dots button[aria-current="true"] { background: var(--c-accent); transform: scale(1.15); }
.slider-dots--dark button { background: #d4d8ea; }
.slider-dots--dark button[aria-current="true"] { background: var(--c-primary); }

/* Generic slider track */
[data-slider-viewport] { overflow: hidden; touch-action: pan-y; }
[data-slider-track] { display: flex; transition: transform .7s var(--ease); will-change: transform; }

/* --------------------------------------------------------------------------
   Front: hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--c-primary-dark); }
.hero__slide { position: relative; flex: 0 0 100%; height: 450px; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide.has-caption::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(25, 34, 89, .72) 0%, rgba(25, 34, 89, .35) 45%, rgba(25, 34, 89, 0) 75%);
}
.hero__caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; pointer-events: none; }
.hero__caption-inner {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
	color: #fff;
}
.hero__title {
	max-width: 640px;
	margin: 0;
	word-break: auto-phrase;
	font-size: clamp(22px, 3.1vw, 40px);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: .06em;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.hero__text {
	max-width: 560px;
	word-break: auto-phrase;
	margin: 16px 0 0;
	font-size: clamp(13px, 1.25vw, 17px);
	line-height: 1.9;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.hero__link { position: absolute; inset: 0; z-index: 3; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 4; }
.hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	width: 46px;
	height: 46px;
	margin-top: -23px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .28);
	cursor: pointer;
	opacity: 0;
	transition: opacity .3s, background-color .2s;
}
.hero__arrow::before {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 12px; height: 12px;
	border-top: 3px solid #fff;
	border-left: 3px solid #fff;
}
.hero__arrow--prev { left: 24px; }
.hero__arrow--prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.hero__arrow--next { right: 24px; }
.hero__arrow--next::before { transform: translate(-70%, -50%) rotate(135deg); }
.hero:hover .hero__arrow,
.hero__arrow:focus-visible { opacity: 1; }
.hero__arrow:hover { background: rgba(0, 0, 0, .5); }

.hero--fallback .hero__slide { background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary) 60%, #6f80d8); }

/* --------------------------------------------------------------------------
   Front: services
   -------------------------------------------------------------------------- */
.home-services { padding-top: 16px; }
.card__title { padding: 13px 20px 12px; border-bottom: 1px solid var(--c-line); }
.service-tiles { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.service-tiles a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	width: 160px;
	height: 168px;
	padding: 0 10px 28px;
	border-right: 1px solid var(--c-line);
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
	color: var(--c-primary);
	transition: background-color .3s;
}
.service-tiles__icon { display: block; width: 62px; height: 62px; margin-bottom: 20px; transition: transform .35s var(--ease); }
.service-tiles__icon svg { display: block; width: 100%; height: 100%; }
.service-tiles a:hover,
.service-tiles a:focus-visible { background: #f6f7fd; color: var(--c-primary-dark); }
.service-tiles a:hover .service-tiles__icon { transform: translateY(-5px) scale(1.08); }

/* --------------------------------------------------------------------------
   Front: solutions
   -------------------------------------------------------------------------- */
.home-solutions {
	margin: 27px 0;
	padding-bottom: 40px;
	background: #fff linear-gradient(180deg, #fff 0%, #fff 60%, #f6f7fd 100%);
	border-bottom: 3px solid var(--c-card-edge);
}
.home-solutions__head { display: flex; align-items: center; justify-content: space-between; min-height: 90px; padding: 0 20px; }
.home-solutions .solution-slider__viewport { margin: 0 20px; }
.slider-arrows { display: flex; gap: 10px; }
.solution-slide {
	flex: 0 0 100%;
	display: grid;
	padding: 4px 0 18px; /* MOREボタンの影が切れないように */
	grid-template-columns: 380px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}
.solution-slide__img { display: block; aspect-ratio: 380 / 180; overflow: hidden; border: 1px solid #eee; background: #f2f3f8; }
.solution-slide__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.solution-slide__img:hover img { transform: scale(1.06); }
.solution-slide__title { margin: 2px 0 0; font-size: 20px; font-weight: 500; line-height: 1.5; }
.solution-slide__title a { color: var(--c-primary); }
.solution-slide__title a:hover { color: var(--c-primary-dark); }
.solution-slide__text {
	display: -webkit-box;
	margin: 22px 0 26px;
	overflow: hidden;
	font-size: 13.5px;
	line-height: 26px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.home-solutions .slider-dots { margin-top: 10px; }

/* --------------------------------------------------------------------------
   Front: news
   -------------------------------------------------------------------------- */
.card--news { --per-view: 1; --gap: 20px; padding: 20px 20px 30px; }
.home-news__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 3px 0 24px; }
.news-slider__track { gap: var(--gap); }
.news-card {
	flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
	display: flex;
	gap: 20px;
	min-width: 0;
}
.news-card__img { flex: 0 0 220px; height: 135px; overflow: hidden; background: #f2f3f8; }
.news-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card__img:hover img { transform: scale(1.06); }
.news-card__body { flex: 1; min-width: 0; }
.news-card__title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.news-card__title a { color: var(--c-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.news-card__title a:hover { color: var(--c-primary); }
.news-card__date {
	display: block;
	margin: 6px 0 4px;
	padding-left: 18px;
	font-size: 12px;
	color: var(--c-muted);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='28' fill='%23b3b3b3'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round' d='M32 15v18l11 7'/%3E%3C/svg%3E") no-repeat 0 50% / 12px 12px;
}
.news-card__text {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 12.5px;
	line-height: 24px;
	color: var(--c-text-sub);
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.home-news__more { margin: 18px 0 0; text-align: right; }
.home-news__empty { margin: 0; padding: 20px 0; text-align: center; color: var(--c-text-sub); }

/* --------------------------------------------------------------------------
   Front: info cards
   -------------------------------------------------------------------------- */
.home-cards { margin: 27px 0 0; }
.home-cards__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.info-card { padding: 19px 28px 30px 20px; background: #fff; border-bottom: 3px solid var(--c-card-edge); }
.info-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.info-card__arrow {
	position: relative;
	flex: none;
	width: 26px;
	height: 26px;
	border: 2px solid var(--c-primary-dark);
	border-radius: 50%;
	transition: background-color .2s;
}
.info-card__arrow::before {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 7px; height: 7px;
	border-top: 2px solid var(--c-primary-dark);
	border-right: 2px solid var(--c-primary-dark);
	transform: translate(-65%, -50%) rotate(45deg);
}
.info-card__arrow:hover { background: var(--c-primary-dark); }
.info-card__arrow:hover::before { border-color: #fff; }
.info-card__body { display: flex; gap: 22px; }
.info-card__img {
	flex: 0 0 218px;
	height: 148px;
	overflow: hidden;
	border: 1px solid #eee;
	background: #f2f3f8;
	transition: box-shadow .3s, transform .3s var(--ease);
}
.info-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.info-card__img:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .16); transform: scale(1.04); }
.info-card__text { margin: 0; font-size: 13.5px; line-height: 28px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	margin-top: 27px;
	color: rgba(255, 255, 255, .5);
	background: var(--c-footer) radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, .06), transparent 60%);
}
.site-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 40px var(--gutter) 26px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 10px; }
.footer-nav__col { width: 160px; }
.footer-title {
	margin: 0 0 18px;
	padding-left: 12px;
	border-left: 3px solid var(--c-accent);
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
	color: #fff;
}
.footer-title a { color: #fff; }
.footer-title a:hover { color: var(--c-footer-accent); }
.footer-nav__col ul { margin: 0; padding: 0 0 0 15px; list-style: none; }
.footer-nav__col li a { font-size: 13px; line-height: 26px; color: rgba(255, 255, 255, .5); }
.footer-nav__col li a:hover { color: #fff; }
.footer-contact { flex: 0 0 360px; }
.footer-contact__tel { margin: 0; padding-left: 12px; font-family: var(--font-num); font-size: 35px; line-height: 70px; letter-spacing: .03em; color: var(--c-footer-accent); }
.footer-contact__tel a { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.footer-contact__tel .icon { width: 30px; height: 30px; }
.footer-contact__tel a:hover { color: #fff; }
.footer-contact__btn { margin: 14px 0 6px 12px; }
.footer-contact__sub { margin: 0 0 0 12px; font-size: 12px; line-height: 1.9; }
.footer-sns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0 12px; padding: 0; list-style: none; }
.footer-sns a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	font-size: 12px;
	color: #fff;
	transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.footer-sns a.footer-sns__icon { width: 42px; padding: 0; }
.footer-sns a:hover,
.footer-sns a:focus-visible { border-color: #fff; background: #fff; color: var(--c-footer); transform: translateY(-2px); }
.footer-sns .sns-icon { width: auto; height: auto; background: none; color: inherit; }
.footer-sns .sns-icon svg { width: 20px; height: 20px; }
.site-footer__bottom {
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter) 22px;
	text-align: right;
	font-size: 12px;
}

/* Page top */
.pagetop {
	position: fixed;
	right: 40px;
	bottom: 20px;
	z-index: 90;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 4px;
	background: rgba(0, 0, 0, .5);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s, visibility .5s, background-color .2s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; }
.pagetop:hover { background: rgba(25, 34, 89, .85); }
.pagetop span {
	position: absolute;
	top: 50%; left: 50%;
	width: 16px; height: 16px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: translate(-50%, -25%) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Sub pages
   -------------------------------------------------------------------------- */
.page-hero {
	position: relative;
	height: 300px;
	overflow: hidden;
	color: #fff;
	background: var(--c-primary-dark) url("../img/banner-pattern.svg") center / cover no-repeat;
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(25, 34, 89, .2) 0%, rgba(25, 34, 89, .45) 45%, rgba(25, 34, 89, .7) 100%);
}
.page-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	/* 52% は画面全体の幅が基準になるため、横幅の広い画面で見出し欄が細くなりすぎないよう上限を設ける */
	padding: 0 var(--gutter) 0 calc(var(--gutter) + min(52%, 680px));
}
.page-hero__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .12em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.page-hero__mark { flex: none; width: 10px; height: 10px; background: #fff; }
.page-hero__en {
	margin: 6px 0 0 26px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-style: italic;
	letter-spacing: .1em;
	opacity: .9;
}

/* Tabs */
.page-tabs { margin-top: 25px; margin-bottom: 25px; }
.page-tabs__list { display: flex; gap: 1px; margin: 0; padding: 0; list-style: none; }
.page-tabs__list li { flex: 1 1 0; min-width: 0; }
.page-tabs__link {
	display: block;
	height: 45px;
	padding: 0 10px;
	overflow: hidden;
	font-size: 17px;
	line-height: 45px;
	letter-spacing: .06em;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--c-tab-text);
	background: var(--c-tab);
	transition: background-color .25s, color .25s;
}
.page-tabs__link:hover,
.page-tabs__link:focus-visible,
.page-tabs__link.is-current { color: #fff; background: var(--c-primary); }
.page-hero + .page-main { padding-top: 25px; }

/* Content card */
.content-card { margin-bottom: 0; padding: 15px 40px 45px; background: #fff; border-bottom: 3px solid var(--c-card-edge); }
.content-card__head {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 20px;
	min-height: 70px;
	margin-bottom: 32px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e3e3e3;
}
.content-card__head::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 120px; height: 3px;
	background: var(--c-primary-dark);
}
.content-card__title { margin: 0; word-break: auto-phrase; font-size: 25px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; color: var(--c-primary-dark); }
.content-card__bar { display: flex; justify-content: flex-end; padding: 8px 0; }

/* Breadcrumb */
.breadcrumb { font-size: 12px; line-height: 1.6; color: var(--c-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin: 0 7px; color: #bbb; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb__home { width: 12px; height: 12px; margin: -2px 4px 0 0; color: #aaa; }
.breadcrumb [aria-current="page"] { color: var(--c-text-sub); }

/* --------------------------------------------------------------------------
   Entry content
   -------------------------------------------------------------------------- */
.entry-content { font-size: 15px; line-height: 2; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content h2 {
	position: relative;
	margin: 2.4em 0 1em;
	padding: 4px 0 10px 26px;
	border-bottom: 1px dashed #cfd4ee;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--c-primary);
}
.entry-content h2::before {
	content: "";
	position: absolute;
	top: 13px; left: 4px;
	width: 11px; height: 11px;
	background: var(--c-primary);
	box-shadow: 4px 4px 0 var(--c-bg-end);
}
.entry-content h3 {
	margin: 2em 0 .8em;
	padding-left: 12px;
	border-left: 4px solid var(--c-primary);
	font-size: 17px;
	line-height: 1.6;
	color: var(--c-primary-dark);
}
.entry-content h4 { margin: 1.6em 0 .6em; font-size: 15px; color: var(--c-primary-dark); }
.entry-content ul,
.entry-content ol { margin: 0 0 1.5em; padding-left: 1.6em; }
.entry-content li { margin-bottom: .3em; }
.entry-content ul li::marker { color: var(--c-primary); }
.entry-content ol li::marker { font-weight: 700; color: var(--c-primary); }
.entry-content a:not(.wp-block-button__link):not(.btn-more):not(.btn-outline):not(.sns-link) { text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong { color: var(--c-primary-dark); }
.entry-content .has-text-align-right { text-align: right; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content blockquote,
.entry-content .wp-block-quote { margin: 0 0 1.6em; padding: 1em 1.4em; border-left: 4px solid var(--c-primary); background: #f5f6fc; }
.entry-content hr,
.entry-content .wp-block-separator { margin: 2.4em 0; border: 0; border-top: 1px dashed #cfd4ee; }
.entry-content figure { margin: 0 0 1.8em; }
.entry-content img { height: auto; }
.entry-content figcaption { margin-top: .5em; font-size: 12px; color: var(--c-muted); text-align: center; }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-columns { gap: 2em; margin-bottom: 1.6em; }

/* Tables */
.entry-content .wp-block-table { overflow-x: auto; margin: 0 0 2em; }
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	box-shadow: 0 0 15px -6px rgba(0, 0, 0, .45);
	font-size: 14.5px;
	line-height: 1.8;
}
.entry-content table th,
.entry-content table td,
.entry-content .wp-block-table th,
.entry-content .wp-block-table td { padding: .75em 1.2em; border: 0; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content table th { background: var(--c-lavender); color: var(--c-primary-text); font-weight: 700; }
.entry-content table thead th { background: var(--c-primary); color: #fff; }
.entry-content .is-style-profile td:first-child { width: 26%; background: var(--c-lavender); color: var(--c-primary-text); font-weight: 700; }
.entry-content .is-style-profile thead th:first-child { width: 26%; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #f6f7fd; }

/* 商品一覧（ギャラリーブロックのスタイル「商品一覧」、追加CSSクラス「mantsu-products」、[mantsu_materials]）
   サムネイルは縦長 3:4 の枠に画像全体を収め、商品名（キャプション）を画像の下に表示。
   クリックで拡大は WordPress 標準のライトボックス（inc/materials.php で画像全体を拡大表示する設定にしています）。 */
.entry-content .wp-block-gallery:is(.mantsu-products, .is-style-products) { gap: 24px 20px; margin: 0 0 2em; }
.entry-content .wp-block-gallery:is(.mantsu-products, .is-style-products) figure.wp-block-image {
	flex-grow: 0;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	overflow: hidden;
	border: 1px solid #e1e5f2;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(25, 34, 89, .07);
	transition: box-shadow .3s, transform .3s var(--ease);
}
.entry-content .wp-block-gallery:is(.mantsu-products, .is-style-products) figure.wp-block-image:hover { box-shadow: 0 6px 18px rgba(25, 34, 89, .16); transform: translateY(-3px); }
.entry-content .wp-block-gallery:is(.mantsu-products, .is-style-products) figure.wp-block-image::before { content: none !important; }
.entry-content .wp-block-gallery:is(.mantsu-products, .is-style-products) figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: contain;
	object-position: center;
	background: #f2f4fb;
}
.entry-content .wp-block-gallery:is(.mantsu-products, .is-style-products) figure.wp-block-image figcaption {
	position: static;
	flex: none;
	width: auto;
	max-height: none;
	margin: 0;
	padding: 12px 14px 14px;
	overflow: visible;
	border-top: 1px solid #eef0f7;
	background: none;
	font-size: 12.5px;
	line-height: 1.6;
	text-align: left;
	text-shadow: none;
	color: var(--c-text-sub);
}
.entry-content .wp-block-gallery:is(.mantsu-products, .is-style-products) figcaption strong { font-size: 15px; color: var(--c-primary-dark); }
.entry-content .wp-block-gallery:is(.mantsu-products, .is-style-products) .lightbox-trigger { opacity: 1; }

/* 画像の拡大表示（WordPress 標準ライトボックス）：背景を濃紺に。
   拡大ボタンの重なり順を下げ、スマホのメニューやドロップダウンの上に出ないようにする。 */
.entry-content .wp-lightbox-container button { z-index: 2; }
.wp-lightbox-overlay .scrim { background-color: #0e122e !important; }
.wp-lightbox-overlay .wp-lightbox-close-button,
.wp-lightbox-overlay .wp-lightbox-navigation-button { fill: #fff !important; color: #fff; }

/* SNS アイコン（WordPress 標準のソーシャルアイコンを使用） */
.sns-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--c-primary);
	color: #fff;
	transition: transform .25s var(--ease);
}
.sns-icon svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.sns-icon--x,
.sns-icon--tiktok { background: #000; }
.sns-icon--youtube { background: #f00; }
.sns-icon--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.sns-icon--facebook { background: #1877f2; }
.sns-icon--line { background: #06c755; }
.entry-content a.sns-link { display: inline-flex; align-items: center; gap: 8px; margin: 3px 0; font-weight: 700; color: var(--c-text); text-decoration: none; vertical-align: middle; }
.entry-content a.sns-link:hover { color: var(--c-primary); }
.entry-content a.sns-link:hover .sns-icon { transform: scale(1.1); }
.entry-content a.sns-link:hover .sns-link__label { text-decoration: underline; text-underline-offset: 3px; }

/* Buttons (core/button) */
.entry-content .wp-block-buttons { margin: 0 0 1.8em; }
.entry-content .wp-block-button__link {
	display: inline-block;
	padding: .55em 2.4em;
	border: 1px solid var(--c-primary-dark);
	border-radius: 999px;
	background: var(--c-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
	transition: transform .3s var(--ease), background-color .3s;
}
.entry-content .wp-block-button__link:hover { color: #fff; background: var(--c-primary-dark); transform: scale(1.04); }
.entry-content .is-style-outline .wp-block-button__link { background: #fff; color: var(--c-primary-text); }
.entry-content .is-style-outline .wp-block-button__link:hover { color: var(--c-primary-text); background: #f6f7fd; }

/* Contact list & map (shortcodes) */
.contact-list { margin: 0 0 2em; padding: 0; border-top: 1px dashed #cfd4ee; }
.contact-list__row { display: flex; gap: 12px 0; padding: 14px 4px; border-bottom: 1px dashed #cfd4ee; }
.contact-list dt { display: flex; flex: 0 0 160px; align-items: center; gap: 10px; font-weight: 700; color: var(--c-primary); }
.contact-list dt .icon { flex: none; width: 20px; height: 20px; }
.contact-list dd { flex: 1; margin: 0; min-width: 0; }
.entry-content .contact-list__tel { font-family: var(--font-num); font-size: 26px; line-height: 1.3; letter-spacing: .04em; color: var(--c-primary-dark); text-decoration: none !important; }
.mantsu-map { position: relative; margin: 0 0 2em; overflow: hidden; background: #f2f3f8; box-shadow: 0 0 15px -6px rgba(0, 0, 0, .45); }
.mantsu-map iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: #f2f3f8; }
.mantsu-map__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: linear-gradient(135deg, #f1f3fb, #dfe4fb);
	text-align: center;
}
.mantsu-map__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mantsu-map__info { position: relative; z-index: 1; max-width: 560px; padding: 18px 22px; border-radius: 6px; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 20px rgba(25, 34, 89, .12); }
.mantsu-map__address { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 0 0 12px; font-weight: 700; color: var(--c-primary-dark); line-height: 1.7; }
.mantsu-map__address .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--c-primary); }
.mantsu-map__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.entry-content .mantsu-map__links a {
	display: inline-block;
	padding: 4px 18px;
	border: 1px solid var(--c-primary);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	color: var(--c-primary);
	text-decoration: none !important;
}
.entry-content .mantsu-map__links a:hover { background: var(--c-primary); color: #fff; }
.mantsu-notice { padding: 1.2em 1.4em; border: 1px dashed var(--c-accent); background: #fff6f6; color: #a33; font-size: 13px; line-height: 1.8; }

/* WPForms (Lite) — buttons and fields in theme colors */
.entry-content .wpforms-container { margin: 0 0 1.5em; }
.entry-content .wpforms-container input[type="text"],
.entry-content .wpforms-container input[type="email"],
.entry-content .wpforms-container input[type="tel"],
.entry-content .wpforms-container textarea,
.entry-content .wpforms-container select { max-width: 100%; border: 1px solid #ccd1e6; border-radius: 4px; }
.entry-content .wpforms-container input:focus,
.entry-content .wpforms-container textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(57, 70, 149, .15); outline: 0; }
.entry-content .wpforms-container button[type="submit"],
.entry-content .wpforms-container .wpforms-submit {
	min-width: 200px;
	padding: 10px 36px;
	border: 1px solid var(--c-primary-dark);
	border-radius: 999px;
	background: var(--c-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .1em;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
	transition: background-color .3s, transform .3s var(--ease);
}
.entry-content .wpforms-container button[type="submit"]:hover { background: var(--c-primary-dark); transform: scale(1.03); }

/* --------------------------------------------------------------------------
   お問い合わせフォーム（Contact Form 7 ＋ テーマのレイアウト .mantsu-form）
   -------------------------------------------------------------------------- */
.wpcf7 { margin: 0 0 2em; }
.mantsu-form { margin: 0; border-top: 1px solid #dfe3f1; }
.mantsu-form__row {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 8px 36px;
	align-items: start;
	padding: 20px 6px;
	border-bottom: 1px solid #dfe3f1;
}
.mantsu-form__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--c-primary-dark);
}
.mantsu-form__label label { cursor: pointer; }
.mantsu-form__badge {
	flex: none;
	min-width: 44px;
	padding: 2px 8px;
	border-radius: 3px;
	background: var(--c-accent);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .08em;
	text-align: center;
	color: #fff;
}
.mantsu-form__badge.is-optional { background: #767b91; }
.mantsu-form__field { min-width: 0; }
.mantsu-form__field .wpcf7-form-control-wrap,
.mantsu-form__robot .wpcf7-form-control-wrap,
.mantsu-form__consent .wpcf7-form-control-wrap { display: block; }
.mantsu-form__note { margin: 6px 0 0; font-size: 12px; line-height: 1.7; color: var(--c-muted); }

.mantsu-form input[type="text"],
.mantsu-form input[type="email"],
.mantsu-form input[type="tel"],
.mantsu-form select,
.mantsu-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #c3c9e2;
	border-radius: 4px;
	background-color: #fff;
	font: inherit;
	font-size: 16px; /* 16px 未満だと iPhone で入力時に拡大される */
	line-height: 1.6;
	color: var(--c-text);
	transition: border-color .2s, box-shadow .2s;
}
.mantsu-form textarea { min-height: 220px; resize: vertical; }
.mantsu-form select {
	padding-right: 42px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23394695' stroke-width='2' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
	cursor: pointer;
}
.mantsu-form ::placeholder { color: #9aa0b5; opacity: 1; }
.mantsu-form input:focus,
.mantsu-form select:focus,
.mantsu-form textarea:focus { border-color: var(--c-primary); outline: 0; box-shadow: 0 0 0 3px rgba(57, 70, 149, .18); }
.mantsu-form .wpcf7-not-valid:not(.wpcf7-radio):not(.wpcf7-acceptance) { border-color: var(--c-accent); background-color: #fff8f8; }

/* 選択肢（ご希望の連絡方法） */
.mantsu-form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px 12px; padding-top: 4px; }
.mantsu-form .wpcf7-radio .wpcf7-list-item { margin: 0; }
.mantsu-form .wpcf7-radio label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 6px 18px 6px 14px;
	border: 1px solid #c3c9e2;
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	cursor: pointer;
	transition: border-color .2s, background-color .2s, color .2s;
}
.mantsu-form .wpcf7-radio label:hover { border-color: var(--c-primary); }
.mantsu-form .wpcf7-radio label:has(input:checked) { border-color: var(--c-primary); background: #eef0fb; font-weight: 700; color: var(--c-primary-dark); }
.mantsu-form input[type="radio"],
.mantsu-form input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--c-primary); cursor: pointer; }

/* ファイル添付 */
.mantsu-form input[type="file"] {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 12px;
	border: 1px dashed #b3bad8;
	border-radius: 4px;
	background: #f8f9fe;
	font: inherit;
	font-size: 14px;
	color: var(--c-text-sub);
}
.mantsu-form input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 6px 18px;
	border: 1px solid var(--c-primary);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	color: var(--c-primary);
	cursor: pointer;
}

/* 個人情報の取扱い・同意 */
.mantsu-form__privacy {
	margin: 32px 0 0;
	padding: 18px 24px;
	border: 1px solid #dfe3f1;
	border-radius: 6px;
	background: #f6f7fc;
	font-size: 13px;
	line-height: 1.9;
	color: var(--c-text-sub);
}
.mantsu-form__privacy p { margin: 0; }
.mantsu-form__privacy .mantsu-form__privacy-title { margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--c-primary-dark); }
.mantsu-form__consent { margin: 20px 0 0; text-align: center; }
.mantsu-form__consent .wpcf7-list-item { margin: 0; }
.mantsu-form__consent label { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; cursor: pointer; }
.mantsu-form__consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--c-primary); cursor: pointer; }

/* ロボットチェック */
.mantsu-form__robot { display: flex; justify-content: center; margin: 22px 0 0; }
.mantsu-form__robot .wpcf7-form-control-wrap { max-width: 100%; }
.robot-check {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0 12px;
	width: 340px;
	max-width: 100%;
	min-height: 74px;
	margin: 0 auto;
	padding: 12px 14px 12px 16px;
	border: 1px solid #d0d5e8;
	border-radius: 6px;
	background: #fafbff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
	text-align: left;
}
.robot-check__label { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--c-text); cursor: pointer; }
.robot-check__box { position: absolute; top: 23px; left: 16px; width: 28px !important; height: 28px !important; margin: 0; opacity: 0; cursor: pointer; }
.robot-check__mark {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	border: 2px solid #8e95b1;
	border-radius: 4px;
	background: #fff;
	transition: border-color .2s, background-color .2s;
}
.robot-check__label:hover .robot-check__mark { border-color: var(--c-primary); }
.robot-check__box:focus-visible + .robot-check__mark { outline: 3px solid rgba(57, 70, 149, .4); outline-offset: 2px; }
.robot-check.is-verifying .robot-check__mark { border: 3px solid #d5d9ef; border-top-color: var(--c-primary); border-radius: 50%; background: transparent; animation: robot-spin .8s linear infinite; }
.robot-check.is-verified .robot-check__mark { border-color: #198754; background: #198754; }
.robot-check.is-verified .robot-check__mark::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 8px;
	width: 8px;
	height: 15px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
.robot-check.is-error .robot-check__mark { border-color: var(--c-accent); }
.robot-check .wpcf7-not-valid + .robot-check__mark { border-color: var(--c-accent); }
.robot-check__status { grid-column: 1; padding-left: 40px; font-size: 12px; line-height: 1.5; color: var(--c-muted); }
.robot-check__status:empty { display: none; }
.robot-check.is-verified .robot-check__status { color: #198754; }
.robot-check.is-error .robot-check__status { color: var(--c-accent); }
.robot-check__brand { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; line-height: 1.3; color: #767b91; }
.robot-check__brand .icon { width: 26px; height: 26px; color: var(--c-primary); }
.robot-check__trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.robot-check__noscript { grid-column: 1 / -1; margin-top: 6px; font-size: 12px; color: var(--c-accent); }
@keyframes robot-spin { to { transform: rotate(360deg); } }

/* 送信ボタン */
.mantsu-form__submit { position: relative; display: flex; justify-content: center; align-items: center; margin: 26px 0 0; }
.mantsu-form__submit .wpcf7-submit {
	min-width: 280px;
	min-height: 54px;
	padding: 12px 48px;
	border: 1px solid var(--c-primary-dark);
	border-radius: 999px;
	background: var(--c-primary);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .3s, transform .3s var(--ease);
}
.mantsu-form__submit .wpcf7-submit:hover,
.mantsu-form__submit .wpcf7-submit:focus-visible { background: var(--c-primary-dark); transform: scale(1.03); }
.mantsu-form__submit .wpcf7-submit:focus-visible { outline: 3px solid rgba(57, 70, 149, .4); outline-offset: 3px; }
.mantsu-form__submit .wpcf7-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.mantsu-form__submit .wpcf7-spinner { position: absolute; top: 50%; left: calc(50% + 156px); margin: 0; transform: translateY(-50%); }

/* 入力エラー・送信結果 */
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--c-accent); }
.mantsu-form__consent .wpcf7-not-valid-tip,
.mantsu-form__robot .wpcf7-not-valid-tip { text-align: center; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border: 2px solid #e0a100; border-radius: 6px; background: #fffaf0; font-size: 14px; line-height: 1.8; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #198754; background: #f0faf4; color: #14532d; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: var(--c-accent); background: #fff5f5; }

/* News list */
.news-list { margin: -10px 0 0; padding: 0; list-style: none; }
.news-list__item { border-bottom: 1px solid #eaeaea; }
.news-list__link { display: flex; gap: 30px; padding: 28px 10px; color: var(--c-text); }
.news-list__link:hover { color: var(--c-text); background: #f9f9fd; }
.news-list__img { flex: 0 0 264px; height: 162px; overflow: hidden; background: #f2f3f8; }
.news-list__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-list__link:hover .news-list__img img { transform: scale(1.05); }
.news-list__body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.news-list__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-muted); }
.news-list__cat { display: inline-block; padding: 0 10px; border-radius: 2px; font-size: 11px; line-height: 20px; color: #fff; background: var(--c-primary); }
a.news-list__cat:hover { color: #fff; background: var(--c-primary-dark); }
.news-list__title { margin: 6px 0 0; font-size: 18px; font-weight: 700; line-height: 1.5; }
.news-list__link:hover .news-list__title { color: var(--c-primary); }
.news-list__excerpt {
	display: -webkit-box;
	margin-top: 8px;
	overflow: hidden;
	font-size: 13.5px;
	line-height: 26px;
	color: var(--c-text-sub);
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.news-list__empty { margin: 0; padding: 30px 0; text-align: center; color: var(--c-text-sub); }

.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-block;
	min-width: 36px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #e3e3e3;
	border-radius: 3px;
	font-size: 13px;
	line-height: 32px;
	text-align: center;
	color: var(--c-text);
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover { border-color: var(--c-primary); color: #fff; background: var(--c-primary); }
.pagination .page-numbers.dots { border: 0; }

/* Single post */
.post-head { padding: 26px 0 24px; margin-bottom: 30px; border-bottom: 1px dashed #dbdbdb; text-align: center; }
.post-head__title { margin: 0; word-break: auto-phrase; font-size: 25px; font-weight: 700; line-height: 1.5; color: var(--c-primary); }
.post-head__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin: 12px 0 0; font-size: 13px; color: var(--c-muted); }
.post-head__meta time { display: inline-flex; align-items: center; gap: 6px; }
.post-head__meta .icon { width: 13px; height: 13px; color: #b3b3b3; }
.post-thumb { margin: 0 0 30px; text-align: center; }
.post-thumb img { max-height: 520px; width: auto; }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid #eaeaea; font-size: 13px; }
.post-nav a { color: var(--c-text); }
.post-nav a:hover { color: var(--c-primary); }
.post-nav__next { text-align: right; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.global-nav__list > li > a { padding-left: 16px; padding-right: 16px; font-size: 14px; }
	.global-nav__list > li > a::before { left: 16px; right: 16px; }
	.footer-contact { flex-basis: 320px; }
	.footer-nav__col { width: 140px; }
}

/* メニュー項目が7つでも1行に収まるよう、狭めの画面では余白を詰める。
   フッターもメニュー列が4つになると横に収まらないため、お問合せ欄を下に回す（タブレットと同じ配置）。 */
@media (min-width: 901px) and (max-width: 1000px) {
	.global-nav__list > li > a { padding-left: 11px; padding-right: 11px; letter-spacing: .04em; }
	.global-nav__list > li > a::before { left: 11px; right: 11px; }
	.site-footer__inner { flex-direction: column; gap: 10px; }
	.footer-contact { flex-basis: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 900px) {
	body.is-nav-open { overflow: hidden; }
	.site-header__inner { min-height: 66px; padding: 0 16px; }
	.site-logo img,
	.site-logo .custom-logo { max-width: 200px; max-height: 44px; }

	.nav-toggle {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 0;
		border-radius: 4px;
		background: var(--c-primary);
		cursor: pointer;
	}
	.nav-toggle__bar,
	.nav-toggle__bar::before,
	.nav-toggle__bar::after {
		display: block;
		width: 22px;
		height: 2px;
		border-radius: 2px;
		background: #fff;
		transition: transform .3s, background-color .3s;
	}
	.nav-toggle__bar { position: relative; }
	.nav-toggle__bar::before,
	.nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bar::before { top: -7px; }
	.nav-toggle__bar::after { top: 7px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - 70px);
		max-height: calc(100dvh - 70px);
		padding: 0;
		overflow-y: auto;
		background: #fff;
		border-top: 1px solid var(--c-line);
		box-shadow: 0 16px 30px rgba(25, 34, 89, .18);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .3s, transform .3s, visibility .3s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.header-utility { order: 2; padding: 16px 20px; border-top: 1px solid var(--c-line); background: #f7f8fd; }
	.lang-switcher { justify-content: center; }

	.global-nav__list { flex-direction: column; }
	.global-nav__list > li { border-bottom: 1px solid var(--c-line); }
	.global-nav__list > li > a { padding: 16px 60px 16px 20px; font-size: 15px; }
	.global-nav__list > li + li > a::after,
	.global-nav__list > li > a::before { display: none; }
	.global-nav__list > .current-menu-item > a,
	.global-nav__list > .current-menu-ancestor > a,
	.global-nav__list > .current_page_item > a,
	.global-nav__list > .current_page_parent > a,
	.global-nav__list > .current_page_ancestor > a { box-shadow: inset 4px 0 0 var(--c-primary); }

	.global-nav__list ul {
		position: static;
		display: none;
		min-width: 0;
		padding: 0;
		background: #f4f5fb;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.global-nav__list ul::before,
	.global-nav__list ul::after { display: none; }
	.global-nav__list li:hover > ul,
	.global-nav__list li:focus-within > ul,
	.global-nav__list > li:last-child > ul,
	.global-nav__list > li:last-child:hover > ul,
	.global-nav__list > li:last-child:focus-within > ul { transform: none; }
	.global-nav__list li.is-sub-open > ul { display: block; }
	.global-nav__list ul a { padding: 13px 20px 13px 38px; border-top: 1px solid #e4e6f3; font-size: 14px; color: var(--c-text); white-space: normal; }
	.global-nav__list ul a:hover,
	.global-nav__list ul a:focus-visible { padding-left: 38px; color: var(--c-primary); background: #eceefa; }
	.global-nav__list ul .current-menu-item > a,
	.global-nav__list ul .current_page_item > a { font-weight: 700; color: var(--c-primary); background: #e9ecfa; }

	.submenu-toggle {
		position: absolute;
		top: 6px;
		right: 8px;
		display: block;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}
	.submenu-toggle::before,
	.submenu-toggle::after {
		content: "";
		position: absolute;
		top: 50%; left: 50%;
		width: 14px; height: 2px;
		margin: -1px 0 0 -7px;
		background: var(--c-primary);
		transition: transform .3s;
	}
	.submenu-toggle::after { transform: rotate(90deg); }
	.submenu-toggle[aria-expanded="true"]::after { transform: rotate(0deg); }

	.hero__slide { height: 360px; }

	.solution-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; }

	.site-footer__inner { flex-direction: column; gap: 10px; }
	.footer-contact { flex-basis: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
	.page-hero__inner { padding-left: calc(var(--gutter) + 40%); }
}

@media (max-width: 767px) {
	.card--news { --per-view: 1 !important; }
}

@media (max-width: 700px) {
	:root { --gutter: 14px; }
	body { font-size: 14px; }
	.section-title { font-size: 21px; }

	.hero__slide { height: 280px; }
	.hero__slide.has-caption::after { background: linear-gradient(180deg, rgba(25, 34, 89, .35) 0%, rgba(25, 34, 89, .62) 100%); }
	.hero__arrow { display: none; }
	.hero__title { font-size: 21px; }
	.hero__text { margin-top: 10px; font-size: 12.5px; line-height: 1.8; }

	.home-services { padding-top: 12px; }
	.service-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.service-tiles a { width: auto; height: 132px; padding-bottom: 20px; border-bottom: 1px solid var(--c-line); }
	.service-tiles li:nth-child(2n) a { border-right: 0; }
	.service-tiles__icon { width: 50px; height: 50px; margin-bottom: 14px; }

	.home-solutions { margin: 16px 0; padding-bottom: 28px; }
	.home-solutions__head { min-height: 72px; padding: 0 4px; }
	.home-solutions .solution-slider__viewport { margin: 0 4px; }
	.solution-slide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.solution-slide__text { margin: 12px 0 18px; -webkit-line-clamp: 3; }

	.card--news { padding: 16px 14px 24px; }
	.home-news__head { margin-bottom: 18px; }
	.news-card { flex-direction: column; gap: 12px; }
	.news-card__img { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; }

	.home-cards { margin-top: 16px; }
	.home-cards__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.info-card { padding: 16px 16px 22px; }
	.info-card__body { flex-direction: column; gap: 14px; }
	.info-card__img { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 218 / 148; }

	.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
	.footer-nav__col { width: auto; margin-bottom: 14px; }
	.footer-contact__tel { font-size: 30px; padding-left: 0; }
	.footer-contact__sub,
	.footer-sns { margin-left: 0; }
	.site-footer__bottom { text-align: center; }
	.pagetop { right: 14px; bottom: 14px; }

	.page-hero { height: 180px; }
	.page-hero__inner { padding-left: var(--gutter); }
	.page-hero__title { font-size: 22px; gap: 12px; }
	.page-hero__en { margin-left: 22px; font-size: 14px; }

	.page-tabs { margin-top: 14px; margin-bottom: 14px; }
	.page-tabs__list { flex-wrap: wrap; }
	.page-tabs__list li { flex: 1 1 calc(50% - 1px); }
	.page-tabs__link { height: 42px; font-size: 14px; line-height: 42px; }

	.content-card { padding: 8px 16px 32px; }
	.content-card__head { flex-direction: column-reverse; align-items: flex-start; min-height: 0; padding-top: 8px; margin-bottom: 24px; }
	.content-card__title { font-size: 21px; }
	.entry-content { font-size: 14.5px; line-height: 1.95; }
	.entry-content h2 { font-size: 17px; }
	.entry-content table { font-size: 13.5px; }
	.entry-content table th,
	.entry-content table td,
	.entry-content .wp-block-table th,
	.entry-content .wp-block-table td { padding: .65em .8em; }
	.entry-content .is-style-profile td:first-child { width: 32%; }

	.contact-list__row { flex-direction: column; }
	.contact-list dt { flex-basis: auto; }

	.news-list__link { flex-direction: column; gap: 14px; padding: 22px 0; }
	.news-list__img { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 264 / 162; }
	.news-list__title { font-size: 16px; }

	.post-head__title { font-size: 20px; }
	.post-nav { grid-template-columns: 1fr 1fr; }
	.post-nav__back { grid-column: 1 / -1; grid-row: 2; text-align: center; }

	.mantsu-form__row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; }
	.mantsu-form__label { justify-content: flex-start; min-height: 0; }
	.mantsu-form__privacy { padding: 16px; }
	.mantsu-form__consent label { align-items: flex-start; text-align: left; }
	.mantsu-form__robot .wpcf7-form-control-wrap { width: 100%; }
	.robot-check { width: 100%; }
	.mantsu-form__submit .wpcf7-submit { width: 100%; min-width: 0; }
	.mantsu-form__submit .wpcf7-spinner { left: auto; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
