@charset "UTF-8";
/* =========================================================
   MASAMAX Child  main.css
   参考デザイン：TCD GENESIS (tcd103)
   ・大きな英字見出し ＋ アクセントカラーの日本語サブタイトル
   ・白基調 / グレー背景セクションの交互配置
   ・丸矢印ボタン / オープニングアニメーション / inview
   ========================================================= */

:root {
	--mm-accent: #0b94e2;
	--mm-text: #111;
	--mm-sub: #666;
	--mm-line: #ddd;
	--mm-gray: #f6f6f6;
	--mm-dark: #0d0d10;
	--mm-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--mm-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
	--mm-header-h: 80px;
	--mm-gutter: 40px;
	--mm-ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 1000px) { :root { --mm-header-h: 64px; --mm-gutter: 20px; } }

/* ---------- ベース（GeneratePress の上書き） ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mm-header-h) + 20px); }
body.mm-site { background: #fff; color: var(--mm-text); font-family: var(--mm-ja); font-size: 16px; line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.mm-site .site.mm-page, body.mm-site #page { max-width: none; padding: 0; margin: 0; background: transparent; }
body.mm-site .site-content { display: block; padding: 0; }
:where(body.mm-site) a { color: inherit; text-decoration: none; }
body.mm-site img { max-width: 100%; height: auto; vertical-align: middle; }
:where(body.mm-site) :where(h1, h2, h3, h4) { font-family: var(--mm-ja); color: var(--mm-text); letter-spacing: .04em; }
.screen-reader-text:focus { background: #fff; color: var(--mm-text); }
:focus-visible { outline: 2px solid var(--mm-accent); outline-offset: 3px; }

.mm-container { width: 100%; max-width: calc(1200px + var(--mm-gutter) * 2); margin: 0 auto; padding: 0 var(--mm-gutter); }
.mm-section { padding: 140px 0; position: relative; }
.mm-section.is-gray { background: var(--mm-gray); }
.mm-section.is-dark { background: var(--mm-dark); color: #fff; }
.mm-section.is-dark .mm-heading__en, .mm-section.is-dark h3 { color: #fff; }
@media (max-width: 800px) { .mm-section { padding: 80px 0; } }

/* 行ごとのせり上がり */
.mm-line { display: block; overflow: hidden; }
.mm-line__inner { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--mm-ease); }
html.mm-ready .mm-line__inner, html:not(.mm-js) .mm-line__inner { transform: none; }
.mm-hero__desc .mm-line__inner { transition-delay: .2s; }

/* ---------- オープニング ---------- */
.mm-loader { display: none; }
html.mm-js .mm-loader { display: block; position: fixed; inset: 0; z-index: 9999; background: #000; pointer-events: none; transition: transform 1s var(--mm-ease) .1s; }
html.mm-loaded-before .mm-loader { display: none !important; }
.mm-loader__catch { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; color: #fff; font-size: clamp(18px, 2.4vw, 28px); font-weight: 500; letter-spacing: .12em; text-align: center; }
.mm-loader__catch span { opacity: 0; filter: blur(8px); animation: mmLoaderText 1.4s var(--mm-ease) .2s forwards; }
.mm-loader__panel { position: absolute; inset: 0; background: var(--mm-accent); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--mm-ease); }
.mm-loader.is-step2 .mm-loader__panel { transform: scaleY(1); }
.mm-loader.is-done { transform: translateY(-100%); }
@keyframes mmLoaderText { to { opacity: 1; filter: blur(0); } }

/* ---------- ヘッダー ---------- */
.mm-header { position: sticky; top: 0; z-index: 900; height: var(--mm-header-h); background: #fff; transition: box-shadow .3s; }
.admin-bar .mm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mm-header { top: 0; } }
.mm-header.is-scrolled { box-shadow: 0 1px 0 var(--mm-line), 0 8px 30px rgba(0, 0, 0, .04); }
.mm-header__inner { display: flex; align-items: center; height: 100%; padding: 0 0 0 var(--mm-gutter); }
.mm-header__logo { flex: 0 0 auto; margin-right: auto; }
.mm-header__site { margin: 0; font-size: inherit; line-height: 1; }
.mm-logo { display: inline-flex; align-items: center; }
.mm-logo__text { font-family: var(--mm-en); font-weight: 700; font-size: 24px; letter-spacing: .18em; color: var(--mm-text); }
body.mm-site .mm-logo__img { display: block; height: 55px; width: auto; max-width: none; }
@media (max-width: 1000px) { body.mm-site .mm-header .mm-logo__img { height: 45px; } }

.mm-gnav { height: 100%; }
.mm-gnav__list { display: flex; height: 100%; margin: 0; padding: 0 20px 0 0; list-style: none; }
.mm-gnav__item { position: relative; height: 100%; margin: 0; }
.mm-gnav__item a { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 0 20px; color: var(--mm-text); transition: color .3s; }
.mm-gnav__en { font-family: var(--mm-en); font-weight: 600; font-size: 15px; letter-spacing: .08em; line-height: 1; transition: transform .35s var(--mm-ease), opacity .35s; }
.mm-gnav__ja { position: absolute; font-size: 12px; line-height: 1; color: var(--mm-accent); opacity: 0; transform: translateY(10px); transition: transform .35s var(--mm-ease), opacity .35s; white-space: nowrap; }
.mm-gnav__item a:hover .mm-gnav__en, .mm-gnav__item a:focus-visible .mm-gnav__en { opacity: 0; transform: translateY(-10px); }
.mm-gnav__item a:hover .mm-gnav__ja, .mm-gnav__item a:focus-visible .mm-gnav__ja { opacity: 1; transform: none; }
.mm-gnav__item.is-current a { color: var(--mm-accent); }
.mm-gnav__item a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: var(--mm-accent); transform: scaleX(0); transition: transform .35s var(--mm-ease); }
.mm-gnav__item.is-current a::after { transform: scaleX(1); }
.mm-gnav__item:last-child a { background: var(--mm-accent); color: #fff; padding: 0 34px; margin-left: 10px; }
.mm-gnav__item:last-child a::after { display: none; }
.mm-gnav__item:last-child .mm-gnav__ja { color: #fff; }
.mm-gnav__list { padding-right: 0; }

body.mm-site .mm-menu-btn { display: none; position: relative; width: var(--mm-header-h); height: var(--mm-header-h); background: var(--mm-text); border: 0; padding: 0; cursor: pointer; z-index: 1001; }
.mm-menu-btn span { position: absolute; left: 50%; width: 24px; height: 2px; margin-left: -12px; background: #fff; transition: transform .4s var(--mm-ease), opacity .3s, top .3s; }
.mm-menu-btn span:nth-child(1) { top: calc(50% - 8px); }
.mm-menu-btn span:nth-child(2) { top: 50%; }
.mm-menu-btn span:nth-child(3) { top: calc(50% + 8px); }
body.mm-site .mm-menu-btn:focus { background: var(--mm-text); }
body.mm-site .mm-menu-btn:focus-visible { background: var(--mm-accent); }
@media (hover: hover) { body.mm-site .mm-menu-btn:hover { background: var(--mm-accent); } }
html.mm-drawer-open body.mm-site .mm-menu-btn { background: var(--mm-accent); }
html.mm-drawer-open .mm-menu-btn span:nth-child(1) { top: 50%; transform: rotate(45deg); }
html.mm-drawer-open .mm-menu-btn span:nth-child(2) { opacity: 0; }
html.mm-drawer-open .mm-menu-btn span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

@media (max-width: 1200px) {
	.mm-gnav__item a { padding: 0 13px; }
	.mm-gnav__item:last-child a { padding: 0 24px; }
}
@media (max-width: 1000px) {
	.mm-gnav { display: none; }
	body.mm-site .mm-menu-btn { display: block; }
	.mm-logo__text { font-size: 20px; }
}

/* ---------- ドロワー ---------- */
.mm-drawer { position: fixed; inset: 0; z-index: 950; background: #000; color: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .5s var(--mm-ease), visibility .5s; }
html.mm-drawer-open { overflow: hidden; }
html.mm-drawer-open .mm-drawer { visibility: visible; opacity: 1; }
body.mm-site .mm-drawer__close { position: fixed; top: 0; right: 0; z-index: 2; width: var(--mm-header-h); height: var(--mm-header-h); padding: 0; border: 0; border-radius: 0; background: var(--mm-accent); cursor: pointer; }
body.admin-bar.mm-site .mm-drawer__close { top: 32px; }
@media (max-width: 782px) { body.admin-bar.mm-site .mm-drawer__close { top: 46px; } }
.mm-drawer__close span { position: absolute; top: 50%; left: 50%; width: 26px; height: 2px; margin: -1px 0 0 -13px; background: #fff; transition: transform .3s var(--mm-ease); }
.mm-drawer__close span:nth-child(1) { transform: rotate(45deg); }
.mm-drawer__close span:nth-child(2) { transform: rotate(-45deg); }
body.mm-site .mm-drawer__close:focus { background: var(--mm-accent); }
body.mm-site .mm-drawer__close:focus-visible { background: #fff; }
.mm-drawer__close:focus-visible span { background: var(--mm-accent); }
@media (hover: hover) {
	body.mm-site .mm-drawer__close:hover { background: #fff; }
	.mm-drawer__close:hover span { background: var(--mm-accent); }
	.mm-drawer__close:hover span:nth-child(1) { transform: rotate(135deg); }
	.mm-drawer__close:hover span:nth-child(2) { transform: rotate(45deg); }
}
.mm-drawer__inner { padding: calc(var(--mm-header-h) + 30px) 30px 60px; max-width: 640px; margin: 0 auto; }
.mm-drawer__list { list-style: none; margin: 0; padding: 0; }
.mm-drawer__list li { border-bottom: 1px solid rgba(255, 255, 255, .15); margin: 0; opacity: 0; transform: translateX(30px); transition: opacity .5s, transform .6s var(--mm-ease); }
html.mm-drawer-open .mm-drawer__list li { opacity: 1; transform: none; }
.mm-drawer__list li:nth-child(2) { transition-delay: .05s; } .mm-drawer__list li:nth-child(3) { transition-delay: .1s; } .mm-drawer__list li:nth-child(4) { transition-delay: .15s; } .mm-drawer__list li:nth-child(5) { transition-delay: .2s; } .mm-drawer__list li:nth-child(6) { transition-delay: .25s; } .mm-drawer__list li:nth-child(7) { transition-delay: .3s; } .mm-drawer__list li:nth-child(8) { transition-delay: .35s; }
.mm-drawer__list a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; color: #fff; }
.mm-drawer__en { font-family: var(--mm-en); font-weight: 700; font-size: 26px; letter-spacing: .06em; }
.mm-drawer__ja { font-size: 13px; color: rgba(255, 255, 255, .6); }
.mm-drawer__list a:hover .mm-drawer__en { color: var(--mm-accent); }
.mm-drawer__info { margin-top: 40px; }
.mm-drawer__tel a { font-family: var(--mm-en); font-size: 22px; color: #fff; }

/* ---------- メインビジュアル ---------- */
.mm-hero { position: relative; }
.mm-hero__text { padding-top: clamp(60px, 9vw, 130px); padding-bottom: clamp(40px, 5vw, 70px); }
.mm-hero__catch { margin: 0; font-family: var(--mm-en); font-weight: 700; font-size: clamp(44px, 7.4vw, 104px); line-height: 1.08; letter-spacing: .01em; }
.mm-hero__desc { margin: 22px 0 0; font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; }
.mm-hero__media { position: relative; height: clamp(360px, 62vh, 680px); overflow: hidden; background: var(--mm-dark); }
/* キャッチ非表示時：メインビジュアルを画面いっぱいに（ヘッダー分を除く） */
.mm-hero.is-no-text .mm-hero__media { height: calc(100vh - var(--mm-header-h)); min-height: 75vh; }
.mm-hero__video, .mm-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-hero__overlay { position: absolute; inset: 0; background: rgba(0, 30, 70, .2); }
.mm-hero__visual { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 70% 40%, #1c1c28 0%, var(--mm-dark) 70%); }
.mm-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; mix-blend-mode: screen; animation: mmBlob 18s ease-in-out infinite alternate; }
.mm-blob.is-1 { width: 46vw; height: 46vw; left: -8vw; top: -14vw; background: var(--mm-accent); }
.mm-blob.is-2 { width: 38vw; height: 38vw; right: -6vw; top: 0; background: #1e3a8a; animation-duration: 22s; animation-delay: -6s; }
.mm-blob.is-3 { width: 30vw; height: 30vw; left: 38%; bottom: -16vw; background: #0f766e; animation-duration: 26s; animation-delay: -12s; }
@keyframes mmBlob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vw) scale(1.15); } 100% { transform: translate(-4vw, 2vw) scale(.9); } }
.mm-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); }
.mm-hero__words { position: absolute; left: var(--mm-gutter); bottom: 90px; display: flex; flex-direction: column; font-family: var(--mm-en); font-weight: 700; font-size: clamp(40px, 7vw, 110px); line-height: .98; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.mm-hero__words span { opacity: 0; transform: translateX(-40px); animation: mmWord 1s var(--mm-ease) forwards; }
.mm-hero__words span:nth-child(1) { animation-delay: .6s; }
.mm-hero__words span:nth-child(2) { animation-delay: .8s; -webkit-text-stroke-color: transparent; color: #fff; }
.mm-hero__words span:nth-child(3) { animation-delay: 1s; }
html.mm-js:not(.mm-ready) .mm-hero__words span { animation-play-state: paused; }
@keyframes mmWord { to { opacity: 1; transform: none; } }
.mm-hero__code { position: absolute; right: calc(var(--mm-gutter) + 20px); top: 50%; transform: translateY(-60%); padding: 26px 30px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); letter-spacing: 0; }
.mm-hero__code::before { content: ""; display: block; width: 52px; height: 10px; margin-bottom: 16px; background: radial-gradient(circle, #ff5f57 4px, transparent 4.5px) 0 0 / 18px 10px repeat-x; opacity: .9; }
.mm-hero__code .c-dim { color: rgba(255, 255, 255, .45); }
.mm-hero__code .c-key { color: #7cc8f5; }
.mm-hero__code .c-str { color: #9be7c4; }
.mm-hero__code .c-fn { color: #9ec5ff; }
@media (max-width: 800px) { .mm-hero__code { display: none; } .mm-hero__words { bottom: 80px; } }

.mm-marquee { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 0; overflow: hidden; background: rgba(0, 0, 0, .35); border-top: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px); }
.mm-marquee__track { display: flex; width: max-content; animation: mmMarquee 40s linear infinite; }
.mm-marquee__group { display: flex; }
.mm-marquee__group span { font-family: var(--mm-en); font-weight: 600; font-size: 14px; letter-spacing: .2em; color: rgba(255, 255, 255, .8); padding: 0 28px; white-space: nowrap; }
.mm-marquee__group span::after { content: "/"; margin-left: 56px; color: var(--mm-accent); }
@keyframes mmMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mm-marquee__track, .mm-blob { animation: none; } }

.mm-hero__scroll { position: absolute; right: var(--mm-gutter); top: clamp(60px, 9vw, 130px); writing-mode: vertical-rl; font-family: var(--mm-en); font-size: 12px; letter-spacing: .3em; color: var(--mm-text); padding-bottom: 80px; }
.mm-hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: var(--mm-line); }
.mm-hero__scroll::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: var(--mm-accent); z-index: 1; animation: mmScroll 2s var(--mm-ease) infinite; transform-origin: top; }
@keyframes mmScroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* キャッチ非表示時：SCROLL をビジュアル右下に白で表示 */
.mm-hero.is-no-text .mm-hero__scroll { top: auto; bottom: 90px; color: #fff; z-index: 2; }
.mm-hero.is-no-text .mm-hero__scroll::after { background: rgba(255, 255, 255, .35); }
.mm-hero.is-no-text .mm-hero__scroll::before { background: #fff; }
@media (max-width: 800px) { .mm-hero__scroll { display: none; } }

/* ---------- WHO WE ARE ---------- */
.mm-about__row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.mm-about__catch { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.7; font-weight: 700; }
.mm-about__text p { margin: 0 0 1.4em; line-height: 2.2; }
@media (max-width: 900px) { .mm-about__row { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- FEATURE ---------- */
.mm-feature { padding-top: 0; }
.mm-feature__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--mm-text); }
.mm-feature__item { position: relative; margin: 0; padding: 50px 40px 40px; border-right: 1px solid var(--mm-line); }
.mm-feature__item:last-child { border-right: 0; }
.mm-feature__num { display: block; font-family: var(--mm-en); font-weight: 700; font-size: 64px; line-height: 1; color: var(--mm-accent); }
.mm-feature__en { display: block; margin-top: 18px; font-family: var(--mm-en); font-weight: 600; font-size: 12px; letter-spacing: .25em; color: var(--mm-sub); }
.mm-feature__title { font-size: 22px; margin: 8px 0 16px; line-height: 1.5; }
.mm-feature__text { margin: 0; font-size: 15px; line-height: 2; color: #333; }
@media (max-width: 900px) {
	.mm-feature__list { grid-template-columns: 1fr; }
	.mm-feature__item { border-right: 0; border-bottom: 1px solid var(--mm-line); padding: 36px 0; }
	.mm-feature__num { font-size: 48px; }
}

/* ---------- PRICE ダイジェスト（ダーク） ---------- */
.mm-price .mm-heading__desc { color: rgba(255, 255, 255, .8); }
.mm-price-digest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .15); }
.mm-price-digest__item { margin: 0; padding: 40px; background: var(--mm-dark); transition: background .4s; }
.mm-price-digest__item:hover { background: #17171d; }
.mm-price-digest__num { font-family: var(--mm-en); font-weight: 700; color: var(--mm-accent); font-size: 14px; letter-spacing: .1em; }
.mm-price-digest__title { font-size: 20px; margin: 10px 0 24px; color: #fff; }
.mm-price-digest__price { margin: 0; font-family: var(--mm-en); font-weight: 700; font-size: 40px; line-height: 1.1; color: #fff; }
.mm-price-digest__period { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .6); }
.mm-price .mm-arrow-btn { color: #fff; }
@media (max-width: 1000px) { .mm-price-digest { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mm-price-digest { grid-template-columns: 1fr; } .mm-price-digest__item { padding: 30px 24px; } .mm-price-digest__price { font-size: 32px; } }

/* ---------- COMPANY ---------- */
.mm-company__row { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.mm-company__lead { font-size: 22px; font-weight: 700; line-height: 1.8; margin: -10px 0 0; }
.mm-company .mm-arrow-btn-wrap { margin-top: 30px; }
@media (max-width: 1000px) { .mm-company__row { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- フッターバナー ---------- */
.mm-footer-banner { display: grid; grid-template-columns: 1fr 1fr; }
.mm-footer-banner__item { position: relative; display: flex; align-items: center; min-height: 300px; padding: 60px clamp(24px, 6vw, 100px); overflow: hidden; color: #fff; }
.mm-footer-banner__item:hover { color: #fff; }
.mm-footer-banner__bg { position: absolute; inset: 0; transition: transform 1.2s var(--mm-ease); }
.mm-footer-banner__item.is-contact .mm-footer-banner__bg { background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 26px), linear-gradient(135deg, var(--mm-accent) 0%, #06466e 130%); }
.mm-footer-banner__item.is-price .mm-footer-banner__bg { background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12) 0 14%, transparent 14.5%), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px), linear-gradient(135deg, #1c1c24 0%, #000 100%); }
.mm-footer-banner__item:hover .mm-footer-banner__bg { transform: scale(1.06); }
.mm-footer-banner__content { position: relative; z-index: 1; }
.mm-footer-banner__title { display: flex; align-items: center; gap: 24px; }
.mm-footer-banner__en { font-family: var(--mm-en); font-weight: 700; font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: .02em; }
.mm-footer-banner__ja { display: block; margin-top: 14px; font-size: 16px; }
.mm-footer-banner .mm-arrow-btn__icon { background: #fff; }
.mm-footer-banner .mm-arrow-btn__icon::before, .mm-footer-banner .mm-arrow-btn__icon::after { filter: invert(1); }
.mm-footer-banner__item.is-contact .mm-arrow-btn__icon::before, .mm-footer-banner__item.is-contact .mm-arrow-btn__icon::after { filter: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b94e2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12h16M13 5l7 7-7 7'/></svg>"); }
.mm-footer-banner__item:hover .mm-arrow-btn__icon::before { transform: translateX(40px); }
.mm-footer-banner__item:hover .mm-arrow-btn__icon::after { transform: translateX(0); }
@media (max-width: 800px) { .mm-footer-banner { grid-template-columns: 1fr; } .mm-footer-banner__item { min-height: 200px; } }

/* ---------- フッター ---------- */
.site-footer, body.mm-site .site-footer { background: #fff; }
.mm-footer { padding: 80px 0 0; background: #fff; }
.mm-footer__top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 60px; }
.mm-footer__name { margin: 20px 0 6px; font-weight: 700; }
.mm-footer__address { margin: 0 0 20px; font-size: 14px; line-height: 1.9; color: var(--mm-sub); }
.mm-footer__address a { color: inherit; }
.mm-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 14px 60px; }
.mm-footer__nav li { margin: 0; }
.mm-footer__nav a { font-family: var(--mm-en); font-weight: 600; font-size: 15px; letter-spacing: .08em; transition: color .3s; }
.mm-footer__nav a:hover { color: var(--mm-accent); }
.mm-footer__copy { margin: 0; padding: 14px var(--mm-gutter); background: var(--mm-accent); color: #fff; font-family: var(--mm-en); font-size: 12px; letter-spacing: .08em; }
@media (max-width: 800px) {
	.mm-footer { padding: 60px 0 0; }
	.mm-footer__top { flex-direction: column; gap: 40px; }
	.mm-footer__nav ul { gap: 14px 30px; }
}

/* ページトップ */
.mm-return-top { position: fixed; right: 24px; bottom: 24px; z-index: 800; width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--mm-ease); }
.mm-return-top.is-show { opacity: 1; visibility: visible; transform: none; }
.mm-return-top span { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -3px 0 0 -6px; border-top: 2px solid var(--mm-text); border-left: 2px solid var(--mm-text); transform: rotate(45deg); }
.mm-return-top:hover { background: var(--mm-accent); }
.mm-return-top:hover span { border-color: #fff; }

/* ---------- 下層ページヘッダー ---------- */
.mm-page-header { position: relative; padding: 50px 0 90px; overflow: hidden; border-bottom: 1px solid var(--mm-line); }
.mm-page-header__title { margin: 70px 0 0; position: relative; z-index: 1; }
.mm-page-header__en { display: block; font-family: var(--mm-en); font-weight: 700; font-size: clamp(44px, 6.5vw, 86px); line-height: 1.05; letter-spacing: .01em; }
.mm-page-header__ja { display: block; margin-top: 14px; font-size: 17px; font-weight: 500; color: var(--mm-accent); }
.mm-page-header__deco { position: absolute; right: -0.05em; bottom: -0.22em; font-family: var(--mm-en); font-weight: 700; font-size: clamp(90px, 16vw, 240px); line-height: 1; color: var(--mm-gray); white-space: nowrap; pointer-events: none; user-select: none; }
.mm-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 12px; color: var(--mm-sub); }
.mm-breadcrumb li { margin: 0; }
.mm-breadcrumb li + li::before { content: ""; display: inline-block; width: 16px; height: 1px; margin: 0 10px; vertical-align: middle; background: var(--mm-line); }
.mm-breadcrumb a:hover { color: var(--mm-accent); }
@media (max-width: 800px) { .mm-page-header { padding: 30px 0 60px; } .mm-page-header__title { margin-top: 40px; } }

/* ---------- 下層コンテンツ ---------- */
.mm-content { padding-top: 100px; padding-bottom: 140px; }
.mm-content.is-narrow { max-width: calc(960px + var(--mm-gutter) * 2); }
@media (max-width: 800px) { .mm-content { padding-top: 60px; padding-bottom: 80px; } }
.mm-lead { font-size: 18px; line-height: 2.1; margin: 0 0 80px; }

.mm-entry { line-height: 2.1; }
.mm-entry > * + * { margin-top: 1.5em; }
.mm-entry p { margin-bottom: 0; }
.mm-entry h2:not(.mm-heading__en) { font-size: 28px; margin: 2.4em 0 1em; padding-bottom: .6em; border-bottom: 1px solid var(--mm-line); position: relative; }
.mm-entry h2:not(.mm-heading__en)::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 2px; background: var(--mm-accent); }
.mm-entry h3:not([class]) , .mm-entry h3.wp-block-heading { font-size: 21px; margin: 2em 0 .8em; padding-left: 18px; border-left: 4px solid var(--mm-accent); line-height: 1.5; }
.mm-entry ul:not([class]), .mm-entry ol:not([class]) { padding-left: 1.4em; margin-left: 0; }
.mm-entry a:not([class]) { color: var(--mm-accent); text-decoration: underline; }
.mm-entry .mm-heading { margin-top: 120px; }
.mm-entry > .mm-heading:first-child, .mm-entry > .masamax-shortcode-wrap:first-child .mm-heading, .mm-entry > p:first-child + .mm-heading { margin-top: 0; }
.mm-entry__thumb { margin-bottom: 60px; }
.mm-entry table { border-collapse: collapse; width: 100%; }
.mm-entry th, .mm-entry td { border: 1px solid var(--mm-line); padding: 14px 18px; }
.mm-entry th { background: var(--mm-gray); }

/* お知らせ詳細 */
.mm-single__header { padding-bottom: 30px; border-bottom: 1px solid var(--mm-line); margin-bottom: 50px; }
.mm-single__meta { display: flex; gap: 16px; align-items: center; font-family: var(--mm-en); color: var(--mm-sub); font-size: 14px; }
.mm-single__title { font-size: clamp(24px, 3vw, 32px); line-height: 1.6; margin: 16px 0 0; }
.mm-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 80px; border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); }
.mm-post-nav a { display: block; padding: 26px 0; font-size: 14px; line-height: 1.7; transition: color .3s; }
.mm-post-nav a:hover { color: var(--mm-accent); }
.mm-post-nav a span { display: block; font-family: var(--mm-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--mm-accent); margin-bottom: 4px; }
.mm-post-nav__next { text-align: right; }

/* タブ（リンク版） */
.mm-news-tabs.is-link a { display: inline-block; font-size: 15px; background: #fff; color: var(--mm-text); border: 1px solid var(--mm-line); border-radius: 50px; padding: 12px 26px; transition: all .3s; line-height: 1.4; }
.mm-news-tabs.is-link a:hover { border-color: var(--mm-accent); color: var(--mm-accent); }
.mm-news-tabs.is-link a.is-active { background: var(--mm-accent); border-color: var(--mm-accent); color: #fff; }
.mm-news-tabs.is-link { margin-bottom: 50px; }

/* ページネーション */
.mm-pagination { margin-top: 60px; }
.mm-pagination ul { list-style: none; display: flex; justify-content: center; gap: 10px; margin: 0; padding: 0; }
.mm-pagination li { margin: 0; }
.mm-pagination a, .mm-pagination span { display: flex; align-items: center; justify-content: center; min-width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--mm-line); font-family: var(--mm-en); font-weight: 600; transition: all .3s; }
.mm-pagination .current { background: var(--mm-accent); border-color: var(--mm-accent); color: #fff; }
.mm-pagination a:hover { border-color: var(--mm-accent); color: var(--mm-accent); }

/* サービス一覧 */
.mm-service-archive { display: grid; gap: 100px; }
.mm-service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.mm-service-row:nth-child(even) .mm-service-row__visual { order: 2; }
.mm-service-row__visual { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.mm-service-row__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--mm-ease); }
.mm-service-row__visual:hover img, .mm-service-row__visual:hover .mm-service-card__pattern { transform: scale(1.06); }
.mm-service-row__en { position: absolute; left: 36px; bottom: 26px; font-family: var(--mm-en); font-weight: 700; font-size: clamp(44px, 6vw, 84px); line-height: 1; color: #fff; }
.mm-service-row__num { font-family: var(--mm-en); font-weight: 700; font-size: 16px; color: var(--mm-card); letter-spacing: .1em; }
.mm-service-row__title { font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 20px; }
.mm-service-row__title a:hover { color: var(--mm-card); }
.mm-service-row__excerpt { margin: 0 0 20px; line-height: 2; }
.mm-service-row .mm-check-list li::before, .mm-related-list .mm-check-list li::before { border-color: var(--mm-card); }
.mm-service-row .mm-arrow-btn { color: var(--mm-card); }
.mm-service-row .mm-arrow-btn__icon { background: var(--mm-card); }
@media (max-width: 900px) { .mm-service-row { grid-template-columns: 1fr; gap: 30px; } .mm-service-row:nth-child(even) .mm-service-row__visual { order: 0; } .mm-service-archive { gap: 70px; } }

/* サービス詳細 */
.mm-service-hero { position: relative; height: clamp(260px, 42vh, 460px); overflow: hidden; background: #111; display: flex; align-items: flex-end; }
.mm-service-hero__img, .mm-service-hero .mm-service-card__pattern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-service-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 70%); }
.mm-service-hero .mm-container { position: relative; z-index: 1; padding-bottom: 50px; }
.mm-service-hero__catch { margin: 0; color: #fff; font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; line-height: 1.8; max-width: 800px; }
.mm-related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mm-related-list li { margin: 0; }
.mm-related-list a { display: flex; align-items: center; gap: 20px; padding: 34px 30px; background: #fff; border-left: 4px solid var(--mm-card); transition: all .3s; }
.mm-related-list a:hover { color: var(--mm-card); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.mm-related-list__en { font-family: var(--mm-en); font-weight: 700; font-size: 26px; }
.mm-related-list__ja { flex: 1; font-size: 15px; }

/* 制作実績詳細 */
.mm-works-single__visual { aspect-ratio: 16 / 8; overflow: hidden; background: var(--mm-gray); }
.mm-works-single__visual img, .mm-works-single__visual .mm-ph { width: 100%; height: 100%; object-fit: cover; }
.mm-works-single__body { display: grid; grid-template-columns: 1fr 340px; gap: 70px; margin-top: 60px; }
.mm-works-single__title { font-size: clamp(28px, 3.4vw, 40px); margin: 16px 0 30px; }
.mm-works-single__data { margin: 0; border-top: 1px solid var(--mm-text); align-self: start; }
.mm-works-single__data div { padding: 20px 0; border-bottom: 1px solid var(--mm-line); }
.mm-works-single__data dt { font-family: var(--mm-en); font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--mm-accent); }
.mm-works-single__data dd { margin: 6px 0 0; word-break: break-all; }
.mm-works-single__data a { text-decoration: underline; }
@media (max-width: 900px) { .mm-works-single__body { grid-template-columns: 1fr; gap: 40px; } }

/* お問い合わせページ */
.page-contact .mm-content { max-width: calc(960px + var(--mm-gutter) * 2); }

/* 検索フォーム */
.mm-404 .search-form { display: flex; gap: 10px; margin: 40px 0; }
.mm-404 .search-field { flex: 1; padding: 14px; border: 1px solid var(--mm-line); }
.mm-404 .search-submit { background: var(--mm-text); color: #fff; border: 0; padding: 0 24px; }

/* フロントの自由編集エリア */
.mm-free { padding-top: 0; }

/* WordPress ブロック調整 */
.mm-entry .wp-block-button__link { background: var(--mm-accent); border-radius: 50px; padding: 14px 34px; color: #fff; text-decoration: none; }
.mm-entry .wp-block-image { margin-top: 2em; margin-bottom: 2em; }
