/* =========================================================
   MITSUMARU 共通スタイル（Studio の実測値で再現）
   画面幅の切り替え：Studio と同じ 1140（メニュー → ≡） / 840 / 540（スマホ） / 320
   ページごとのスタイルは assets/css/page-○○.css
   ========================================================= */
:root {
	/* 文字：Studio はモリサワの秀英角ゴシック銀（L・M・B）とゴシックMB101。Zen Kaku Gothic New で置き換え */
	--gin: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
	--w-l: 400;   /* 秀英角ゴシック銀 L */
	--w-m: 500;   /* 秀英角ゴシック銀 M・ゴシックMB101 M */
	--w-b: 700;   /* 秀英角ゴシック銀 B・ゴシックMB101 B */
	--lato: "Lato", sans-serif;
	--mont: "Montserrat", sans-serif;
	--black: #000;
	--text: #333;
	--gray: #7b7b7b;
	--line-green: #06c755;
	--head: 70px; /* 上の帯の高さ（固定） */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head); }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--gin); font-weight: var(--w-l); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mm-page { position: relative; overflow-x: clip; min-height: 100vh; }
.mm-main { display: block; }
.material-icons { font-family: "Material Icons"; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; }

/* ---------- 上の帯（固定・高さ70px。トップと車検は黒、ほかは白） ---------- */
.mm-head { position: fixed; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: space-between; align-items: center; height: var(--head); padding: 0 40px; }
.mm-head--dark { background: #000; color: #fff; }
.mm-head--light { background: #fff; color: #000; }
.mm-head__h1 { display: flex; margin: 0; font-size: inherit; }
.mm-head__logo { display: flex; width: 200px; }
.mm-head__logo img { width: 200px; height: auto; }
.mm-nav { display: flex; justify-content: center; align-items: center; gap: 15px; }
.mm-nav__link { display: flex; align-items: center; font-family: var(--gin); font-weight: var(--w-m); font-size: 20px; line-height: 1.4; white-space: nowrap; transition: color .3s; }
button.mm-nav__link { letter-spacing: .05em; }
.mm-head--dark .mm-nav__link { color: #fff; }
.mm-head--light .mm-nav__link { color: #000; }
@media (hover: hover) { .mm-nav__link:hover { color: #a6a6a6 !important; } }
.mm-burger { display: none; width: 32px; height: 32px; font-size: 32px; }
.mm-head--dark .mm-burger { color: #fff; }
.mm-head--light .mm-burger { color: #000; }

/* 子メニュー（ヘッダー・フッター共通）：黒い箱が下に開く */
.mm-nav__drop, .mm-fnav__drop { position: relative; display: flex; flex-direction: column; align-items: center; }
.mm-nav__sub, .mm-fnav__sub { position: absolute; top: 35px; left: 0; z-index: 3; display: flex; flex-direction: column; width: 180%; max-height: 0; overflow: hidden; background: #000; transition: max-height .3s; }
.mm-nav__drop:last-child .mm-nav__sub, .mm-fnav__drop:last-child .mm-fnav__sub { left: auto; right: 0; }
.mm-nav__sub a, .mm-fnav__sub a { display: block; padding: 6px 13px; color: #fff; font-family: var(--gin); font-weight: var(--w-m); font-size: 18px; line-height: 1.4; letter-spacing: .1em; transition: color .3s; }
@media (hover: hover) {
	.mm-nav__drop:hover .mm-nav__sub, .mm-fnav__drop:hover .mm-fnav__sub { max-height: 240px; }
	.mm-nav__sub a:hover, .mm-fnav__sub a:hover { color: rgba(123, 123, 123, .6); }
}
.mm-nav__drop.is-open .mm-nav__sub, .mm-fnav__drop.is-open .mm-fnav__sub { max-height: 240px; }

/* ---------- スマホのメニュー（黒い角丸の箱・2列） ---------- */
.mm-spmenu { position: fixed; inset: 0; z-index: 10; background: rgba(0, 0, 0, .2); }
.mm-spmenu[hidden] { display: none; }
.mm-spmenu__box { position: absolute; top: 20px; left: 20px; right: 20px; max-width: 520px; margin: 0 auto; padding: 50px 20px 40px 57px; border-radius: 12px; background: #000; color: #fff; }
.mm-spmenu__close { position: absolute; top: 16px; right: 24px; font-size: 24px; color: #fff; }
.mm-spmenu__cols { display: flex; gap: 20px; }
.mm-spmenu__col { flex: 0 0 124px; display: flex; flex-direction: column; gap: 12px; }
.mm-spmenu__col a { display: block; font-family: var(--gin); font-weight: var(--w-l); font-size: 16px; line-height: 22px; white-space: nowrap; }
body.is-menu-open { overflow: hidden; }

/* ---------- フッター（黒） ---------- */
.mm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; padding: 48px 40px; background: #000; color: #fff; }
.mm-foot__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mm-foot__logo { display: flex; width: 200px; margin-bottom: 6px; }
.mm-foot__info p { font-weight: var(--w-l); font-size: 14px; line-height: 1.4; letter-spacing: .05em; }
.mm-foot__nav { display: flex; justify-content: center; align-items: center; gap: 15px; }
.mm-fnav__link { display: flex; align-items: center; color: #fff; font-family: var(--gin); font-weight: var(--w-m); font-size: 16px; line-height: 1.4; white-space: nowrap; transition: color .3s; }
button.mm-fnav__link { letter-spacing: .05em; }
.mm-fnav__sub { width: 180%; }
.mm-fnav__sub a { font-size: 16px; }
@media (hover: hover) { .mm-fnav__link:hover { color: #a6a6a6; } }

/* ---------- 右下の「車検・修理のご相談はこちら」（押すと LINE・電話・フォームが上に出る） ---------- */
.mm-consult { position: fixed; right: 0; bottom: 90px; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; }
.mm-consult__btn { display: flex; justify-content: center; align-items: center; width: 334px; height: 62px; padding: 20px 36px; border: 1px solid #000; background: #000; color: #fff; font-family: var(--gin); font-weight: var(--w-b); font-size: 20px; line-height: 1; letter-spacing: .05em; white-space: nowrap; box-shadow: 10px 10px 5px rgba(0, 0, 0, .2); transition: background .3s, color .3s; }
@media (hover: hover) { .mm-consult__btn:hover { background: #fff; color: #000; } }
.mm-consult__panel { position: absolute; left: 0; bottom: calc(100% + 15px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; visibility: hidden; opacity: 0; translate: 0 10px; transition: opacity .3s, translate .3s, visibility .3s; }
.mm-consult.is-open .mm-consult__panel { visibility: visible; opacity: 1; translate: 0 0; }
.mm-consult__panel a { display: flex; align-items: center; gap: 5px; padding: 12px; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); font-family: var(--gin); font-weight: var(--w-b); font-size: 20px; line-height: 1.4; white-space: nowrap; transition: translate .3s; }
@media (hover: hover) { .mm-consult__panel a:hover { translate: 8px 0; } }
.mm-consult__line { background: var(--line-green); color: #fff; }
.mm-consult__line img { width: 24px; height: auto; }
.mm-consult__tel { background: #fff; color: #000; }
.mm-consult__tel .material-icons { font-size: 24px; }
.mm-consult__form { padding: 12px 10px !important; background: #fff; color: #000; font-size: 17px !important; }
.mm-consult__form .material-icons { font-size: 20px; }

/* ---------- 予備のページ・404 ---------- */
.mm-plain { max-width: 960px; margin: 0 auto; padding: 180px 24px 140px; }
.mm-plain__en { font-family: var(--lato); font-size: 48px; letter-spacing: .25em; }
.mm-plain__title { margin-top: 12px; font-weight: var(--w-m); font-size: 24px; letter-spacing: .1em; }
.mm-plain__body { margin-top: 24px; line-height: 1.8; }
.mm-plain__links { margin-top: 32px; }
.mm-plain__links a { text-decoration: underline; }

/* ---------- 表示アニメーション（Studio の appear） ----------
   .ap を付けた要素が画面に入ると .is-in が付いて、下から20pxふわっと出る。
   遅れは data-ap="200"（ms）。.ap-fade は位置を動かさず 1.2秒かけて出す。 */
.ap { opacity: 0; translate: 0 20px; transition: opacity .8s, translate .8s; }
.ap-fade { opacity: 0; transition: opacity 1.2s cubic-bezier(.445, .05, .55, .95); }
.ap.is-in { opacity: 1; translate: 0 0; }
.ap-fade.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ap, .ap-fade { opacity: 1; translate: none; transition: none; } }

/* ---------- 共通の部品（各ページで使う） ----------
   .mm-ttl：小さい日本語＋大きい英字の見出し（「コンセプト／CONCEPT」）
   .mm-more：枠線の「詳しくはこちら ＞」ボタン */
.mm-ttl { display: flex; flex-direction: column; align-items: flex-start; }
.mm-ttl__ja { font-weight: var(--w-l); font-size: 16px; line-height: 1.4; letter-spacing: .05em; }
.mm-ttl__en { font-weight: var(--w-m); font-size: 40px; line-height: 1.4; letter-spacing: .25em; }
.mm-more { display: inline-flex; justify-content: center; align-items: center; gap: 4px; padding: 6px 20px; border: 1px solid currentColor; font-weight: var(--w-m); font-size: 16px; line-height: 1.4; letter-spacing: .1em; white-space: nowrap; transition: background .3s, color .3s; }
.mm-more .material-icons { font-size: 20px; }
@media (hover: hover) { .mm-more:hover { background: #000; color: #fff; border-color: #000; } }

/* =========================================================
   1140px 以下：メニューを ≡ に
   ========================================================= */
@media (max-width: 1140px) {
	.mm-nav { display: none; }
	.mm-burger { display: flex; justify-content: center; align-items: center; }
	.mm-foot { flex-direction: column; flex-wrap: nowrap; gap: 20px; }
	.mm-foot__nav { display: none; }
}

/* =========================================================
   840px 以下
   ========================================================= */
@media (max-width: 840px) {
	.mm-consult { bottom: 60px; }
	.mm-foot { gap: 32px; padding: 48px 24px; }
	.mm-foot__info p { font-size: 18px; }
	.mm-ttl__en { font-size: 32px; }
}

/* =========================================================
   540px 以下：スマホ
   ========================================================= */
@media (max-width: 540px) {
	.mm-head { padding: 0 24px; }
	.mm-head--light .mm-head__logo, .mm-head--light .mm-head__logo img { width: 194px; }
	.mm-foot { gap: 35px; }
	.mm-foot__info p { font-size: 13px; }
	.mm-consult { bottom: 30px; }
	.mm-consult__btn { width: 282px; height: 58px; padding: 20px 24px; font-size: 16px; }
	.mm-consult__panel a { font-size: 15px; }
	.mm-consult__form { font-size: 15px !important; }
	.mm-consult__tel .material-icons { font-size: 18px; }
	.mm-consult__line img { width: 16px; }
	.mm-ttl__en { font-size: 28px; }
	.mm-plain { padding: 120px 20px 100px; }
}
