/* ==========================================================================
   Mermaid Child – main.css
   モバイルファースト / ブレークポイント: 768px（タブレット）・1080px（PC）
   ========================================================================== */

:root {
	--mm-text: #37474f;
	--mm-sub: #6b7f89;
	--mm-primary: #1d97a5;
	--mm-primary-d: #137783;
	--mm-primary-l: #e4f4f6;
	--mm-accent: #c2578a;
	--mm-accent-d: #a3426f;
	--mm-accent-l: #fbedf3;
	--mm-beige: #f7f4f0;
	--mm-line: #e2e8ea;
	--mm-white: #fff;
	--mm-navy: #22313f;
	--mm-radius: 14px;
	--mm-radius-s: 8px;
	--mm-shadow: 0 6px 24px rgba(31, 60, 70, .08);
	--mm-font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--mm-font-round: "Zen Maru Gothic", var(--mm-font);
	--mm-font-en: "Cormorant Garamond", "Times New Roman", serif;
	--mm-header-h: 64px;
	--mm-fixbar-h: 60px;
}

/* ---------- Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mm-header-h) + 12px); }
body.mm {
	margin: 0;
	font-family: var(--mm-font);
	font-size: 15px;
	line-height: 1.85;
	color: var(--mm-text);
	background: var(--mm-white);
	letter-spacing: .02em;
	overflow-x: hidden;            /* 古いブラウザ向けの保険 */
	overflow-x: clip;              /* 横はみ出しで画面が縮小されるのを防止 */
	-webkit-font-smoothing: antialiased;
	padding-bottom: var(--mm-fixbar-h);
}
body.mm.is-drawer-open { overflow: hidden; }
.mm img { max-width: 100%; height: auto; vertical-align: middle; }
.mm a { color: var(--mm-primary-d); text-decoration: none; transition: color .2s, background-color .2s, opacity .2s, border-color .2s; }
.mm a:hover { color: var(--mm-primary); }
.mm :focus-visible { outline: 3px solid rgba(29, 151, 165, .45); outline-offset: 2px; border-radius: 4px; }
.mm button { font: inherit; color: inherit; }
.mm h1, .mm h2, .mm h3, .mm h4 { line-height: 1.5; margin: 0; font-weight: 700; }
.mm p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mm-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 8px 16px; }
.mm-skip:focus { left: 8px; top: 8px; }
.mm-pc { display: none; }

.mm-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.mm-container--narrow { max-width: 880px; }
.mm-section { padding: 56px 0; }
.mm-section--page { padding: 32px 0 64px; }
.mm-bg-beige { background: var(--mm-beige); }

.mm-icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Buttons ---------- */
.mm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 10px 22px; border-radius: 999px;
	font-weight: 700; font-size: 15px; line-height: 1.4; text-align: center;
	border: 2px solid transparent; cursor: pointer;
}
.mm .mm-btn--cta { background: var(--mm-accent); color: #fff; box-shadow: 0 4px 14px rgba(194, 87, 138, .28); }
.mm .mm-btn--cta:hover { background: var(--mm-accent-d); color: #fff; }
.mm .mm-btn--primary { background: var(--mm-primary); color: #fff; }
.mm .mm-btn--primary:hover { background: var(--mm-primary-d); color: #fff; }
.mm .mm-btn--ghost { background: #fff; color: var(--mm-primary-d); border-color: var(--mm-primary); }
.mm .mm-btn--ghost:hover { background: var(--mm-primary-l); }
.mm-btn--block { display: flex; width: 100%; }
.mm-btn--lg { min-height: 58px; padding: 12px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.mm-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--mm-line); }
.admin-bar .mm-header { top: 46px; }
.mm-header__top { display: none; }
.mm-header__inner { display: flex; align-items: center; gap: 12px; height: var(--mm-header-h); }

.mm-logo { margin: 0; line-height: 1; flex: none; }
.mm-logo img, .mm-logo .custom-logo { width: auto; max-width: 200px; max-height: 44px; }
.mm-logo__text { display: inline-grid; grid-template-columns: auto auto; align-items: end; column-gap: 8px; color: var(--mm-text) !important; }
.mm-logo__sub { grid-column: 1 / -1; font-size: 10px; letter-spacing: .12em; color: var(--mm-sub); margin-bottom: 2px; font-weight: 500; }
.mm-logo__main { font-family: var(--mm-font-en); font-style: italic; font-weight: 600; font-size: 30px; line-height: .95; color: var(--mm-primary-d); letter-spacing: .01em; }
.mm-logo__kana { font-size: 10px; color: var(--mm-accent); letter-spacing: .2em; padding-bottom: 3px; font-weight: 700; }

.mm-gnav { display: none; }
.mm-header__cta { display: none; }

.mm-burger {
	margin-left: auto; position: relative; width: 52px; height: 52px; border: 0; background: transparent; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.mm-burger__bar { display: block; width: 26px; height: 2px; border-radius: 2px; background: var(--mm-primary-d); transition: transform .25s, opacity .25s; }
.mm-burger__label { font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--mm-primary-d); line-height: 1; margin-top: 2px; }

/* ---------- Drawer (SP menu) ---------- */
.mm-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mm-drawer.is-open { visibility: visible; pointer-events: auto; }
.mm-drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 40, 50, .45); opacity: 0; transition: opacity .3s; }
.mm-drawer.is-open .mm-drawer__backdrop { opacity: 1; }
.mm-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; width: min(88vw, 400px);
	background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	transform: translateX(100%); transition: transform .3s ease;
}
.mm-drawer.is-open .mm-drawer__panel { transform: none; }
.mm-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--mm-line); min-height: var(--mm-header-h); }
.mm-drawer__close { width: 48px; height: 48px; border: 0; background: var(--mm-beige); border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--mm-primary-d); }
.mm-dnav { padding: 8px 0; }
.mm-dnav__home, .mm-dnav__list a { display: flex; align-items: center; gap: 10px; padding: 14px 20px; color: var(--mm-text) !important; font-weight: 700; font-size: 15px; }
.mm-dnav__home .mm-icon { color: var(--mm-primary); }
.mm-dnav__list, .mm-dnav__list ul { list-style: none; margin: 0; padding: 0; }
.mm-dnav__list > li { border-top: 1px solid var(--mm-line); position: relative; }
.mm-dnav__list > li.menu-item-has-children > a { padding-right: 64px; }
.mm-dnav__list .sub-menu { display: none; background: var(--mm-beige); padding: 4px 0; }
.mm-dnav__list li.is-open > .sub-menu { display: block; }
.mm-dnav__list .sub-menu a { font-weight: 500; font-size: 14px; padding: 11px 20px 11px 36px; position: relative; }
.mm-dnav__list .sub-menu a::before { content: ""; position: absolute; left: 20px; top: 50%; width: 6px; height: 6px; border-top: 2px solid var(--mm-primary); border-right: 2px solid var(--mm-primary); transform: translateY(-50%) rotate(45deg); }
.mm-subtoggle {
	position: absolute; right: 8px; top: 4px; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
	display: grid; place-items: center; color: var(--mm-primary-d);
}
.mm-subtoggle .mm-icon { transition: transform .25s; }
li.is-open > .mm-subtoggle .mm-icon { transform: rotate(180deg); }
.mm-drawer__foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--mm-line); background: var(--mm-beige); }
.mm-drawer__small { font-size: 12px; color: var(--mm-sub); margin: 12px 0 8px; }

/* ---------- SNS ---------- */
.mm-sns { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.mm-sns a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--mm-primary-d) !important; border: 1px solid var(--mm-line); }
.mm-sns a:hover { background: var(--mm-primary); color: #fff !important; border-color: var(--mm-primary); }
.mm-sns .mm-icon { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.mm-hero { background: linear-gradient(180deg, var(--mm-primary-l), #fff); }
.mm-hero__stage { position: relative; width: 100%; max-width: min(1240px, calc(min(70vh, 640px) * 16 / 9)); margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; }
@media (max-width: 767px) { .mm-hero__stage { max-width: none; } }
.mm-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.mm-hero__slide.is-active { opacity: 1; z-index: 1; }
.mm-hero__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mm-hero__slide a { display: block; height: 100%; }
.mm-hero__dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; }
.mm-hero__dots button { width: 28px; height: 28px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.mm-hero__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: all .3s; }
.mm-hero__dots button[aria-selected="true"]::before { width: 22px; border-radius: 4px; background: var(--mm-primary); }

/* ---------- Intro + quick links ---------- */
.mm-intro { padding: 36px 0 20px; background: #fff; }
.mm-intro + .mm-section, .mm-intro + .mm-front-content { padding-top: 40px; }
.mm-intro__copy { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.mm-intro__catch { font-family: var(--mm-font-round); font-size: 22px; font-weight: 700; color: var(--mm-primary-d); margin-bottom: .5em; line-height: 1.5; }
.mm-intro__text { font-size: 14px; color: var(--mm-text); text-align: left; }
.mm-quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mm-quick a {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%;
	padding: 16px 6px 14px; border-radius: var(--mm-radius); background: #fff; border: 1px solid var(--mm-line);
	box-shadow: var(--mm-shadow); color: var(--mm-text) !important; text-align: center;
}
.mm-quick a:hover { border-color: var(--mm-primary); transform: translateY(-2px); }
.mm-quick__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mm-primary-l); color: var(--mm-primary-d); }
.mm-quick__icon .mm-icon { width: 24px; height: 24px; }
.mm-quick__label { font-size: 12.5px; font-weight: 700; line-height: 1.4; }

/* ---------- Section head（merhalsa風：アイコン＋見出し＋点線） ---------- */
.mm-sec-head { position: relative; text-align: center; padding-bottom: 18px; margin-bottom: 28px; }
.mm-sec-head::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background-image: radial-gradient(circle, var(--mm-primary) 1.2px, transparent 1.6px);
	background-size: 8px 3px; background-repeat: repeat-x; opacity: .8;
}
.mm-sec-head__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; color: var(--mm-primary); margin-bottom: 4px; }
.mm-sec-head__icon .mm-icon { width: 40px; height: 40px; stroke-width: 1.4; }
.mm-sec-head__en { display: block; font-family: var(--mm-font-en); font-style: italic; font-size: 15px; letter-spacing: .14em; color: var(--mm-accent); line-height: 1.2; }
.mm-sec-head__title { font-family: var(--mm-font-round); font-size: 23px; color: var(--mm-text); letter-spacing: .06em; }
.mm-more { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--mm-text) !important; }
.mm-more .mm-icon { width: 16px; height: 16px; color: var(--mm-primary); }
.mm-sec-lead { text-align: left; max-width: 760px; margin: -8px auto 28px; font-size: 14px; }

/* ---------- Tags ---------- */
.mm-tag { display: inline-block; padding: 1px 10px; border-radius: 4px; font-size: 11.5px; font-weight: 700; line-height: 1.8; color: #fff; background: var(--mm-primary); white-space: nowrap; }
.mm-tag--news { background: #8fb31d; }
.mm-tag--cat-1, .mm-tag--mermaid { background: var(--mm-primary); }
.mm-tag--seminar, .mm-tag--e3-82-bb-e3-83-9f-e3-83-8a-e3-83-bc { background: var(--mm-accent); }

/* ---------- News list ---------- */
.mm-newslist { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; }
.mm-newslist__item { border-bottom: 1px dotted #c9d3d6; }
.mm-newslist__item a {
	display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "thumb meta" "thumb title";
	column-gap: 14px; row-gap: 2px; padding: 14px 4px; color: var(--mm-text) !important; align-items: start;
}
.mm-newslist__item a:hover { background: var(--mm-beige); }
.mm-newslist__thumb { grid-area: thumb; width: 64px; height: 64px; border-radius: var(--mm-radius-s); overflow: hidden; background: var(--mm-primary-l); }
.mm-newslist__thumb img, .mm-newslist__thumb .mm-thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.mm-newslist__meta { grid-area: meta; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mm-sub); }
.mm-newslist__title { grid-area: title; font-weight: 500; font-size: 14.5px; line-height: 1.6; }

.mm-thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 64px; color: var(--mm-primary); background: linear-gradient(135deg, var(--mm-primary-l), var(--mm-accent-l)); }
.mm-thumb-ph .mm-icon { width: 40%; height: 40%; max-width: 56px; opacity: .7; }

/* ---------- Course cards（丸写真） ---------- */
.mm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
.mm-card a { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--mm-text) !important; height: 100%; }
.mm-card__img {
	display: block; width: 100%; max-width: 200px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 14px;
	border: 5px solid #fff; box-shadow: var(--mm-shadow); background: #fff;
}
.mm-card__img img, .mm-card__img .mm-thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mm-card a:hover .mm-card__img img { transform: scale(1.06); }
.mm-card__en { font-family: var(--mm-font-en); font-style: italic; font-size: 13px; letter-spacing: .12em; color: var(--mm-accent); line-height: 1.3; }
.mm-card__title { font-family: var(--mm-font-round); font-weight: 700; font-size: 15.5px; line-height: 1.5; margin: 2px 0 8px; color: var(--mm-primary-d); }
.mm-card__text { display: none; font-size: 13px; line-height: 1.75; text-align: left; margin-bottom: 10px; }
.mm-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--mm-primary-d); }
.mm-card__more .mm-icon { width: 15px; height: 15px; }

/* ---------- Features ---------- */
.mm-features__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: f; }
.mm-feature { position: relative; background: #fff; border: 1px solid var(--mm-line); border-radius: var(--mm-radius); padding: 22px 20px 20px 20px; box-shadow: var(--mm-shadow); }
.mm-feature__num { position: absolute; top: 14px; right: 18px; font-family: var(--mm-font-en); font-style: italic; font-size: 28px; color: var(--mm-primary-l); line-height: 1; font-weight: 600; }
.mm-feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mm-accent-l); color: var(--mm-accent); margin-bottom: 10px; }
.mm-feature__icon .mm-icon { width: 26px; height: 26px; }
.mm-feature__title { font-family: var(--mm-font-round); font-size: 17px; color: var(--mm-primary-d); margin-bottom: 6px; }
.mm-feature__text { font-size: 13.5px; margin: 0; line-height: 1.8; }

/* ---------- Price ---------- */
.mm-price__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mm-price__item a {
	display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label price" "unit unit" "note note";
	gap: 2px 12px; padding: 18px 20px; background: #fff; border-radius: var(--mm-radius); border-top: 4px solid var(--mm-primary);
	box-shadow: var(--mm-shadow); color: var(--mm-text) !important; height: 100%;
}
.mm-price__item:nth-child(2) a { border-top-color: var(--mm-accent); }
.mm-price__item:nth-child(3) a { border-top-color: #8fb31d; }
.mm-price__label { grid-area: label; font-weight: 700; font-size: 15px; align-self: center; }
.mm-price__price { grid-area: price; font-family: var(--mm-font-round); font-weight: 700; font-size: 24px; color: var(--mm-primary-d); line-height: 1.3; }
.mm-price__unit { grid-area: unit; font-size: 12.5px; color: var(--mm-sub); text-align: right; }
.mm-price__note { grid-area: note; font-size: 13px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--mm-line); }
.mm-price__caution { font-size: 12.5px; color: var(--mm-sub); margin: 14px 0 28px; }
.mm-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.mm-flow li { position: relative; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--mm-radius-s); padding: 10px 14px; font-weight: 700; font-size: 14px; line-height: 1.4; }
.mm-flow li small { font-weight: 400; color: var(--mm-sub); }
.mm-flow li br { display: none; }
.mm-flow span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mm-primary); color: #fff; font-family: var(--mm-font-en); font-style: italic; font-size: 17px; }

/* ---------- Pickup（メディア・声） ---------- */
.mm-pickup__grid { display: grid; gap: 20px; }
.mm-pickup__item { display: block; background: #fff; border-radius: var(--mm-radius); overflow: hidden; box-shadow: var(--mm-shadow); border: 1px solid var(--mm-line); color: var(--mm-text) !important; }
.mm-pickup__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mm-primary-l); }
.mm-pickup__img img, .mm-pickup__img .mm-thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mm-pickup__item:hover img { transform: scale(1.04); }
.mm-pickup__body { display: flex; flex-direction: column; padding: 18px 20px 20px; }
.mm-pickup__title { font-family: var(--mm-font-round); font-weight: 700; font-size: 17px; color: var(--mm-primary-d); margin-bottom: 6px; }
.mm-pickup__text { font-size: 13.5px; margin-bottom: 10px; }

/* ---------- Recruit ---------- */
.mm-recruit { padding: 8px 0 56px; }
.mm-recruit__box { display: grid; border-radius: calc(var(--mm-radius) + 4px); overflow: hidden; background: linear-gradient(135deg, var(--mm-primary-d), var(--mm-primary)); color: #fff !important; box-shadow: var(--mm-shadow); }
.mm-recruit__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.mm-recruit__img img, .mm-recruit__img .mm-thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.mm-recruit__body { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px 26px; }
.mm-recruit__en { font-family: var(--mm-font-en); font-style: italic; letter-spacing: .16em; font-size: 15px; opacity: .85; }
.mm-recruit__title { font-family: var(--mm-font-round); font-weight: 700; font-size: 21px; line-height: 1.5; margin: 2px 0 10px; }
.mm-recruit__text { font-size: 13.5px; margin-bottom: 18px; opacity: .95; }
.mm .mm-recruit__box .mm-btn--primary { background: #fff; color: var(--mm-primary-d); }

/* ---------- CTA band ---------- */
.mm-cta { background: linear-gradient(135deg, #fdf3f7 0%, var(--mm-primary-l) 100%); padding: 44px 0; }
.mm-cta__inner { display: grid; gap: 20px; text-align: center; }
.mm-cta__en { font-family: var(--mm-font-en); font-style: italic; letter-spacing: .18em; color: var(--mm-accent); margin: 0; }
.mm-cta__title { font-family: var(--mm-font-round); font-size: 22px; color: var(--mm-primary-d); margin-bottom: 8px; }
.mm-cta__text p { font-size: 14px; margin: 0; }
.mm-cta__actions { display: grid; gap: 10px; justify-items: center; }
.mm-cta__actions .mm-btn { width: 100%; max-width: 380px; }

/* ---------- Footer ---------- */
.mm-footer { background: var(--mm-navy); color: #d6dee2; padding: 44px 0 20px; font-size: 13.5px; }
.mm-footer a { color: #e7eef1 !important; }
.mm-footer a:hover { color: #fff !important; text-decoration: underline; }
.mm-footer .mm-logo__main { color: #fff; }
.mm-footer .mm-logo__sub { color: #a9b8bf; }
.mm-footer .mm-logo__kana { color: #f2a9cb; }
.mm-footer .mm-logo__text { color: #fff !important; }
.mm-footer__top { display: grid; gap: 28px; }
.mm-footer__desc { margin: 10px 0 14px; color: #a9b8bf; font-size: 12.5px; }
.mm-footer .mm-sns a { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff !important; }
.mm-fnav__list, .mm-fnav__list ul { list-style: none; margin: 0; padding: 0; }
.mm-fnav__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
.mm-fnav__list > li > a { font-weight: 700; display: inline-block; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); margin-bottom: 6px; }
.mm-fnav__list .sub-menu a { display: inline-block; padding: 4px 0; font-size: 12.5px; color: #c4d0d6 !important; }
.mm-footer__widgets { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); }
.mm-footer__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; gap: 8px; text-align: center; }
.mm-footer__links { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 20px; }
.mm-footer__copy { margin: 0; color: #93a4ac; }

.mm-pagetop {
	position: fixed; right: 14px; bottom: calc(var(--mm-fixbar-h) + 14px); z-index: 90; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center; background: #fff; color: var(--mm-primary-d) !important; box-shadow: var(--mm-shadow); border: 1px solid var(--mm-line);
	opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mm-pagetop.is-show { opacity: 1; visibility: visible; }

/* ---------- SP fixed bar ---------- */
.mm-fixbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.3fr;
	height: calc(var(--mm-fixbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
	background: #fff; border-top: 1px solid var(--mm-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .05);
}
.mm-fixbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--mm-primary-d) !important; }
.mm-fixbar a + a { border-left: 1px solid var(--mm-line); }
.mm-fixbar .mm-icon { width: 22px; height: 22px; }
.mm-fixbar a.is-cta { background: var(--mm-accent); color: #fff !important; font-size: 12px; }

/* ---------- Page head ---------- */
.mm-pagehead { background: var(--mm-beige); padding: 18px 0 26px; border-bottom: 1px solid var(--mm-line); }
.mm-pagehead__en { font-family: var(--mm-font-en); font-style: italic; color: var(--mm-accent); letter-spacing: .16em; margin: 10px 0 0; font-size: 14px; }
.mm-pagehead__title { font-family: var(--mm-font-round); font-size: 22px; color: var(--mm-text); margin-top: 4px; overflow-wrap: anywhere; }
.mm-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 12px; color: var(--mm-sub); }
.mm-breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #b5c1c6; }
.mm-breadcrumb li:last-child span { display: inline-block; max-width: 18em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.mm-breadcrumb a { color: var(--mm-sub) !important; }

/* ---------- Article / entry content ---------- */
.mm-layout { display: grid; gap: 40px; }
.mm-article { min-width: 0; }
.mm-article__meta { display: flex; align-items: center; gap: 12px; color: var(--mm-sub); font-size: 13px; margin-bottom: 14px; }
.mm-article__meta time { display: inline-flex; align-items: center; gap: 4px; }
.mm-article__eyecatch { margin: 0 0 24px; border-radius: var(--mm-radius); overflow: hidden; }
.mm-article__eyecatch img { width: 100%; }

.entry-content { font-size: 15.5px; line-height: 1.95; overflow-wrap: anywhere; word-break: normal; }
.entry-content > * { max-width: 100%; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
	font-family: var(--mm-font-round); font-size: 20px; margin: 2.2em 0 1em; padding: 12px 16px; line-height: 1.5;
	background: var(--mm-primary-l); border-left: 5px solid var(--mm-primary); border-radius: 0 var(--mm-radius-s) var(--mm-radius-s) 0; color: var(--mm-text);
}
.entry-content h3 { font-family: var(--mm-font-round); font-size: 18px; margin: 2em 0 .8em; padding-bottom: 8px; border-bottom: 2px solid var(--mm-primary-l); position: relative; color: var(--mm-primary-d); }
.entry-content h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--mm-primary); }
.entry-content h4 { font-size: 16px; margin: 1.6em 0 .6em; padding-left: 12px; border-left: 3px solid var(--mm-accent); }
.entry-content p { margin: 0 0 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: .3em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 6px; }
.entry-content figure { margin: 0 0 1.6em; }
.entry-content figcaption { font-size: 12.5px; color: var(--mm-sub); text-align: center; }
.entry-content blockquote { margin: 0 0 1.6em; padding: 16px 18px; background: var(--mm-beige); border-left: 4px solid var(--mm-accent); border-radius: 0 var(--mm-radius-s) var(--mm-radius-s) 0; }
.entry-content hr { border: 0; border-top: 1px dotted #c9d3d6; margin: 2.4em 0; }
.entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; margin: 0 0 1.6em; font-size: 14px; }
.entry-content table th, .entry-content table td { border: 1px solid var(--mm-line); padding: 10px 12px; vertical-align: top; min-width: 6em; }
.entry-content table th { background: var(--mm-primary-l); text-align: left; }
.entry-content .wp-block-table table { display: table; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="youtu.be"], .entry-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.entry-content .wp-block-button__link { border-radius: 999px; padding: 12px 28px; font-weight: 700; text-decoration: none; }
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { background: var(--mm-primary); color: #fff; }
.entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 auto 1.4em; display: block; }
.entry-content .wp-block-columns { gap: 20px; }
.entry-content pre { overflow-x: auto; white-space: pre-wrap; }
/* Elementor・各種ブロックのはみ出し防止 */
.entry-content .elementor-section, .entry-content .e-con { max-width: 100%; }
.entry-content [style*="width"] { max-width: 100% !important; }

/* Contact Form 7 */
.mm .wpcf7 { margin-top: 1em; }
.mm .wpcf7 p { margin-bottom: 1.2em; }
.mm .wpcf7 input[type="text"], .mm .wpcf7 input[type="email"], .mm .wpcf7 input[type="tel"], .mm .wpcf7 input[type="url"], .mm .wpcf7 input[type="date"], .mm .wpcf7 input[type="number"], .mm .wpcf7 select, .mm .wpcf7 textarea {
	width: 100%; max-width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cdd7db; border-radius: var(--mm-radius-s);
	font: inherit; font-size: 16px; background: #fff; color: var(--mm-text);
}
.mm .wpcf7 textarea { min-height: 160px; }
.mm .wpcf7 input:focus, .mm .wpcf7 select:focus, .mm .wpcf7 textarea:focus { outline: none; border-color: var(--mm-primary); box-shadow: 0 0 0 3px rgba(29, 151, 165, .18); }
.mm .wpcf7 .wpcf7-list-item { display: inline-flex; align-items: center; margin: 0 16px 8px 0; }
.mm .wpcf7 input[type="submit"], .mm .wpcf7 input[type="button"], .mm .wpcf7 button {
	display: block; width: 100%; max-width: 360px; margin: 10px auto 0; min-height: 56px; border: 0; border-radius: 999px;
	background: var(--mm-accent); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.mm .wpcf7 input[type="submit"]:hover { background: var(--mm-accent-d); }
.mm .wpcf7-not-valid-tip { font-size: 13px; }

/* Post navigation */
.mm-pn { margin-top: 48px; }
.mm-pn .nav-links { display: grid; gap: 12px; }
.mm-pn a { display: block; padding: 14px 16px; border: 1px solid var(--mm-line); border-radius: var(--mm-radius-s); color: var(--mm-text) !important; }
.mm-pn a:hover { border-color: var(--mm-primary); background: var(--mm-beige); }
.mm-pn__label { display: block; font-size: 12px; color: var(--mm-primary-d); font-weight: 700; }
.mm-pn__title { display: block; font-size: 14px; }
.mm-pagelinks { margin: 2em 0; font-weight: 700; }

/* ---------- Sidebar widgets（親テーマのウィジェット） ---------- */
.mm-sidebar { min-width: 0; display: grid; gap: 24px; align-content: start; }
.mm-sidebar .widget_content, .mm-sidebar > div { background: var(--mm-beige); border-radius: var(--mm-radius); padding: 20px; }
.mm-sidebar h2, .mm-sidebar h3, .mm-sidebar .widget_headline, .mm-sidebar .widgettitle { font-family: var(--mm-font-round); font-size: 16px; color: var(--mm-primary-d); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--mm-primary-l); }
.mm-sidebar ul { list-style: none; margin: 0; padding: 0; }
.mm-sidebar li a { display: block; padding: 8px 0; border-bottom: 1px dotted #d3dcdf; color: var(--mm-text) !important; font-size: 14px; }
.mm-sidebar li a:hover { color: var(--mm-primary-d) !important; }
.mm-sidebar img { border-radius: 6px; }
.mm-sidebar table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; }
.mm-sidebar caption { font-weight: 700; margin-bottom: 6px; }
.mm-sidebar th, .mm-sidebar td { padding: 4px 0; }
.mm-sidebar td a { display: inline; padding: 0; border: 0; color: var(--mm-accent) !important; font-weight: 700; }
.mm-sidebar .veu_contact .btn, .mm-sidebar .contact_bt { display: flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 52px; border-radius: 999px; background: var(--mm-accent) !important; border: 0 !important; color: #fff !important; font-weight: 700; padding: 10px 16px; }
.mm-footer__widgets .widget_content { margin-bottom: 16px; }

/* ---------- Post grid（一覧） ---------- */
.mm-postgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mm-postcard a { display: grid; grid-template-columns: 112px 1fr; gap: 14px; color: var(--mm-text) !important; padding-bottom: 16px; border-bottom: 1px dotted #c9d3d6; height: 100%; }
.mm-postcard__img { display: block; aspect-ratio: 1; border-radius: var(--mm-radius-s); overflow: hidden; background: var(--mm-primary-l); }
.mm-postcard__img img, .mm-postcard__img .mm-thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mm-postcard a:hover img { transform: scale(1.05); }
.mm-postcard__body { display: flex; flex-direction: column; min-width: 0; }
.mm-postcard__meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mm-sub); }
.mm-postcard__title { font-weight: 700; font-size: 14.5px; line-height: 1.55; margin: 4px 0; }
.mm-postcard__text { display: none; font-size: 13px; color: var(--mm-sub); line-height: 1.7; }
.mm-pagination { margin-top: 36px; }
.mm-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.mm-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 50%; border: 1px solid var(--mm-line); color: var(--mm-text) !important; font-weight: 700; }
.mm-pagination .page-numbers.current { background: var(--mm-primary); border-color: var(--mm-primary); color: #fff !important; }
.mm-empty { text-align: center; padding: 20px 0; }
.mm .search-form { display: flex; gap: 8px; max-width: 420px; margin: 16px auto 0; }
.mm .search-form label { flex: 1; }
.mm .search-field { width: 100%; min-height: 46px; padding: 8px 14px; border: 1px solid #cdd7db; border-radius: 999px; font-size: 16px; }
.mm .search-submit { min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--mm-primary); color: #fff; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   Tablet 768px〜
   ========================================================================== */
@media (min-width: 768px) {
	body.mm { font-size: 16px; }
	.mm-pc { display: inline; }
	.mm-container { padding: 0 32px; }
	.mm-section { padding: 80px 0; }
	.mm-section--page { padding: 48px 0 88px; }

	.mm-intro { padding: 48px 0 24px; }
	.mm-intro + .mm-section { padding-top: 64px; }
	.mm-intro__catch { font-size: 28px; }
	.mm-intro__text { text-align: center; font-size: 15px; }
	.mm-quick { grid-template-columns: repeat(6, 1fr); gap: 14px; }
	.mm-quick__label { font-size: 13.5px; }

	.mm-sec-head__title { font-size: 28px; }
	.mm-more { position: absolute; right: 0; bottom: 12px; margin: 0; }
	.mm-sec-lead { text-align: center; }

	.mm-newslist__item a { grid-template-columns: 72px 190px 1fr; grid-template-areas: "thumb meta title"; align-items: center; padding: 16px 12px; }
	.mm-newslist__thumb { width: 72px; height: 54px; }
	.mm-newslist__meta { font-size: 14px; gap: 16px; }
	.mm-newslist__title { font-size: 15px; }

	.mm-cards { grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
	.mm-card__text { display: block; }
	.mm-card__title { font-size: 17px; }

	.mm-features__list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.mm-price__list { grid-template-columns: repeat(3, 1fr); }
	.mm-price__item a { grid-template-columns: 1fr; grid-template-areas: "label" "price" "unit" "note"; text-align: center; padding: 26px 22px; }
	.mm-price__unit { text-align: center; }
	.mm-price__price { font-size: 30px; }
	.mm-price__note { text-align: left; }
	.mm-price__caution { text-align: center; }
	.mm-flow { grid-template-columns: repeat(5, 1fr); gap: 0; }
	.mm-flow li { flex-direction: column; text-align: center; justify-content: flex-start; gap: 8px; padding: 18px 8px; border-radius: 0; margin-right: 14px; }
	.mm-flow li br { display: inline; }
	.mm-flow li:first-child { border-radius: var(--mm-radius-s) 0 0 var(--mm-radius-s); }
	.mm-flow li:last-child { border-radius: 0 var(--mm-radius-s) var(--mm-radius-s) 0; margin-right: 0; }
	.mm-flow li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
	.mm-flow span { width: 36px; height: 36px; font-size: 20px; }

	.mm-pickup__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

	.mm-recruit { padding: 0 0 80px; }
	.mm-recruit__box { grid-template-columns: 1fr 1fr; }
	.mm-recruit__img { aspect-ratio: auto; min-height: 100%; }
	.mm-recruit__body { padding: 40px 44px; justify-content: center; }
	.mm-recruit__title { font-size: 26px; }

	.mm-cta { padding: 64px 0; }
	.mm-cta__inner { grid-template-columns: 1.2fr 1fr; align-items: center; text-align: left; gap: 40px; }
	.mm-cta__title { font-size: 26px; }

	.mm-footer__top { grid-template-columns: 260px 1fr; gap: 48px; }
	.mm-fnav__list { grid-template-columns: repeat(3, 1fr); }
	.mm-footer__bottom { grid-template-columns: 1fr auto; text-align: left; align-items: center; }
	.mm-footer__links { justify-content: flex-start; }

	.mm-pagehead { padding: 24px 0 40px; }
	.mm-pagehead__title { font-size: 30px; }
	.mm-breadcrumb li:last-child span { max-width: 30em; }

	.entry-content h2 { font-size: 23px; padding: 14px 20px; }
	.entry-content h3 { font-size: 20px; }
	.entry-content .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
	.entry-content .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
	.entry-content table { display: table; }

	.mm-pn .nav-links { grid-template-columns: 1fr 1fr; }
	.mm-pn .nav-next { text-align: right; grid-column: 2; }

	.mm-postgrid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
	.mm-postcard a { grid-template-columns: 1fr; gap: 0; padding: 0; border: 1px solid var(--mm-line); border-radius: var(--mm-radius); overflow: hidden; background: #fff; box-shadow: var(--mm-shadow); }
	.mm-postcard__img { aspect-ratio: 16 / 9; border-radius: 0; }
	.mm-postcard__body { padding: 16px 18px 20px; }
	.mm-postcard__text { display: block; }
}

/* ==========================================================================
   PC 1080px〜
   ========================================================================== */
@media (min-width: 1080px) {
	:root { --mm-header-h: 76px; }
	body.mm { padding-bottom: 0; }
	.mm-fixbar { display: none; }
	.mm-pagetop { bottom: 24px; right: 24px; }
	.admin-bar .mm-header { top: 32px; }

	.mm-header__top { display: block; background: var(--mm-beige); font-size: 12px; color: var(--mm-sub); }
	.mm-header__top .mm-container { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
	.mm-header__tagline { margin: 0; letter-spacing: .08em; }
	.mm-header__top .mm-sns a { width: 26px; height: 26px; border: 0; background: transparent; }
	.mm-header__top .mm-sns .mm-icon { width: 15px; height: 15px; }

	.mm-header__inner { gap: 20px; }
	.mm-logo__main { font-size: 34px; }
	.mm-burger { display: none; }
	.mm-header__cta { display: inline-flex; min-height: 46px; padding: 8px 20px; font-size: 14px; margin-left: 4px; flex: none; }

	.mm-gnav { display: block; margin-left: auto; }
	.mm-gnav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
	.mm-gnav__list > li { position: relative; }
	.mm-gnav__list > li > a {
		display: flex; align-items: center; gap: 4px; height: var(--mm-header-h); padding: 0 13px; font-weight: 700; font-size: 14.5px;
		color: var(--mm-text) !important; position: relative; white-space: nowrap;
	}
	.mm-gnav__list > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 16px; height: 2px; background: var(--mm-primary); transform: scaleX(0); transition: transform .25s; }
	.mm-gnav__list > li:hover > a::after, .mm-gnav__list > li:focus-within > a::after, .mm-gnav__list > li.current-menu-item > a::after, .mm-gnav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); }
	.mm-gnav__list > li.menu-item-has-children > a { padding-right: 24px; }
	.mm-gnav__list > li.menu-item-has-children > a::before {
		content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
		border-right: 2px solid var(--mm-primary); border-bottom: 2px solid var(--mm-primary); transform: rotate(45deg);
	}
	.mm-gnav__list .sub-menu {
		list-style: none; margin: 0; padding: 10px 0; position: absolute; top: calc(100% - 8px); left: 50%; min-width: 250px;
		background: #fff; border-radius: var(--mm-radius); box-shadow: 0 12px 36px rgba(31, 60, 70, .16); border: 1px solid var(--mm-line);
		opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .2s;
	}
	.mm-gnav__list > li:hover > .sub-menu, .mm-gnav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	.mm-gnav__list .sub-menu a { display: block; padding: 10px 22px 10px 34px; font-size: 14px; color: var(--mm-text) !important; position: relative; }
	.mm-gnav__list .sub-menu a::before { content: ""; position: absolute; left: 18px; top: 50%; width: 5px; height: 5px; border-top: 2px solid var(--mm-primary); border-right: 2px solid var(--mm-primary); transform: translateY(-50%) rotate(45deg); }
	.mm-gnav__list .sub-menu a:hover { background: var(--mm-primary-l); color: var(--mm-primary-d) !important; }
	.mm-gnav .mm-subtoggle { display: none; }

	.mm-section { padding: 96px 0; }
	.mm-cards { gap: 52px 48px; }
	.mm-features__list { grid-template-columns: repeat(4, 1fr); }
	.mm-feature { padding: 28px 22px 24px; }

	.mm-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
	.mm-layout.has-sidebar .mm-sidebar { position: sticky; top: calc(var(--mm-header-h) + 24px); }
	.mm-postgrid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1080px) and (max-width: 1240px) {
	.mm-gnav__list > li > a { padding: 0 9px; font-size: 13.5px; }
	.mm-gnav__list > li.menu-item-has-children > a { padding-right: 20px; }
	.mm-gnav__list > li.menu-item-has-children > a::before { right: 7px; }
	.mm-header__cta span { font-size: 13px; }
}

@media (max-width: 782px) {
	.admin-bar .mm-header { top: 0; }
}

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

/* ---------- Comments ---------- */
.mm .comments-area, .mm #comments { margin-top: 48px; }
.mm .comment-form input[type="text"], .mm .comment-form input[type="email"], .mm .comment-form input[type="url"], .mm .comment-form textarea {
	width: 100%; max-width: 100%; padding: 10px 14px; border: 1px solid #cdd7db; border-radius: var(--mm-radius-s); font: inherit; font-size: 16px;
}
.mm .comment-form .submit { min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--mm-primary); color: #fff; font-weight: 700; cursor: pointer; }
.mm .comment-list { list-style: none; padding: 0; }
.mm-article input, .mm-article select, .mm-article textarea { max-width: 100%; }
