/*
 * 今風デザイン(配色・ロゴ・写真・文章は現行のまま、レイアウトと動きを刷新)
 * - pages.css(現行の再現)/ refine.css(細部の調整)の後に読み込む
 * - このファイルを読み込まなければ、現行に近い見た目に戻る
 */
:root {
	--mc-olive: #495338;
	--mc-olive-dark: #3a4229;
	--mc-ink: #1d1d1b;
	--mc-line: #e7dfd7;
	--mc-radius: 24px;
	--mc-radius-sm: 14px;
	--mc-en: "Montserrat", "Noto Sans JP", sans-serif;
	--mc-ease: cubic-bezier(.22, .61, .36, 1);
}
body { color: var(--mc-ink); background: #fff; }
::selection { background: var(--mc-red); color: #fff; }

/* =========================================================
   ヘッダー: 浮かぶ角丸のバー
   ========================================================= */
.mc-con.site-head {
	background: rgba(242, 234, 227, .9);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	transition: box-shadow .3s, background .3s;
}
.mc-con.site-head > .mc-inner { max-width: 1240px; }
.site-head.is-scrolled { background: rgba(242, 234, 227, .97); box-shadow: 0 6px 24px rgba(29, 29, 27, .10); }
.head-logo img { width: 120px; height: 58px; }
.gnav { --gap-item: 40px; }
.gnav a { font-family: var(--mc-en); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mc-ink); }
.gnav a:hover, .gnav .current-menu-item > a, .gnav .current-menu-ancestor > a { color: var(--mc-red); }
.gnav > ul > li > a { padding: 8px 0; }
.gnav > ul > li > a::after { opacity: 1; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--mc-ease); }
.gnav > ul > li > a:hover::after, .gnav > ul > li.current-menu-item > a::after, .gnav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.gnav .sub-menu { top: calc(100% + 14px); padding: 8px; border: 0; border-radius: 0; background: #fff; box-shadow: 0 18px 40px rgba(29, 29, 27, .14); transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s; }
.gnav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.gnav li:hover > .sub-menu, .gnav li:focus-within > .sub-menu { transform: none; }
.gnav .sub-menu li:not(:last-child) { border-bottom: 0; }
.gnav .sub-menu a { padding: 12px 16px; font-size: 12px; }
.gnav .sub-menu a:hover { background: var(--mc-beige); }
.mc-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 26px; font-family: var(--mc-en); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.mc-btn::after { content: "→"; display: inline-block; transition: transform .3s var(--mc-ease); }
.mc-btn:hover::after { transform: translateX(4px); }

@media (max-width: 1024px) { .gnav { --gap-item: 22px; } .gnav a { font-size: 12px; } }
@media (max-width: 767px) {
	.mc-con.site-head > .mc-inner { gap: 6px; }
	.head-logo img { width: 92px; height: 46px; }
	.gnav { top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 18px 30px rgba(29, 29, 27, .12); }
	.gnav.is-open { border-bottom: 0; padding: 8px; }
	.gnav li:not(:last-child) { border-bottom: 1px solid var(--mc-line); }
	.gnav a { padding: 16px 14px; font-size: 13px; }
	.gnav .sub-menu { box-shadow: none; padding: 0 0 8px; transform: none; border-top: 0; background: transparent; }
	.gnav .sub-menu a { padding-left: 28px; }
	.mc-btn { padding: 10px 14px 10px 16px; font-size: 12px; gap: 6px; }
}

/* =========================================================
   トップ
   ========================================================= */
/* ヒーロー: 角丸のフレーム+ゆっくり寄る写真+グラデーション */
.mc-8bb5754 {
	overflow: hidden; isolation: isolate; background-image: none !important;
}
.mc-8bb5754::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: url("../img/mainimg01.webp") center / cover no-repeat;
	animation: mcHeroZoom 18s var(--mc-ease) both;
}
.mc-8bb5754::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(29, 29, 27, .35) 0%, rgba(29, 29, 27, .05) 35%, rgba(29, 29, 27, .55) 100%);
}
@keyframes mcHeroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.mc-8bb5754 > .mc-inner { gap: 14px; }
.mc-905ec73, .mc-5346ab6 { font-size: clamp(30px, 4.2vw, 60px) !important; letter-spacing: .28em !important; font-weight: 700 !important; line-height: 1.25 !important; }
.mc-02f8456, .mc-2a2ec1b { font-family: var(--mc-en) !important; font-size: clamp(14px, 1.5vw, 20px) !important; font-weight: 500 !important; letter-spacing: .32em !important; text-transform: uppercase; opacity: .9; }
.mc-02f8456 { margin-top: 18px !important; }
.mc-8bb5754 .mc-heading { animation: mcRise 1.1s var(--mc-ease) both; }
.mc-5346ab6 { animation-delay: .15s !important; }
.mc-02f8456 { animation-delay: .35s !important; }
.mc-2a2ec1b { animation-delay: .45s !important; }
@keyframes mcRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
/* スクロールの合図 */
.mc-8bb5754 > .mc-inner::after {
	content: "SCROLL"; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
	padding-bottom: 46px; font-family: var(--mc-en); font-size: 11px; font-weight: 600; letter-spacing: .3em; color: #fff;
	background: linear-gradient(#fff, #fff) center bottom / 1px 36px no-repeat;
	animation: mcScroll 2.4s ease-in-out infinite;
}
@keyframes mcScroll { 0%, 100% { background-size: 1px 36px; opacity: 1; } 50% { background-size: 1px 12px; opacity: .6; } }

/* About Us */
.mc-21d308e0 { --padding-top: clamp(80px, 9vw, 140px); --padding-bottom: clamp(80px, 9vw, 140px); --column-gap: 0px; position: relative; }
.mc-1c8df639 { --padding-left: max(5%, calc((100% - 1240px) / 2 + 24px)); --padding-right: 5%; --gap: 26px; --row-gap: 26px; }
.mc-441754e5 { font-family: var(--mc-en) !important; font-size: clamp(40px, 4.6vw, 72px) !important; font-weight: 700 !important; letter-spacing: -.02em !important; text-transform: none !important; color: #fff !important; }
.mc-441754e5::before { content: "ABOUT"; display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .3em; color: #e8b9a0; }
.mc-219c9dc3 { font-size: 16px !important; line-height: 2 !important; letter-spacing: .06em !important; }
.mc-4463c234 { font-size: 15px !important; line-height: 1.9 !important; opacity: .82; }
.mc-2075e3ff img { border-radius: var(--mc-radius-sm); }
@media (max-width: 767px) {
	.mc-1c8df639 { --padding-left: 6%; --padding-right: 6%; }
}

/* セクション見出し(PRODUCTS) */
.mc-c8c569a { --padding-top: clamp(80px, 9vw, 130px); --padding-bottom: 24px; }
.mc-bf3f434 { padding: 0 !important; font-family: var(--mc-en) !important; font-size: clamp(40px, 5vw, 76px) !important; font-weight: 700 !important; letter-spacing: -.02em; line-height: 1 !important; }
.mc-bf3f434::before { content: "OUR PRODUCTS"; display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .3em; color: var(--mc-red); }
.mc-bf3f434::after { content: "取り扱い製品"; display: block; margin-top: 18px; font-family: "Noto Sans JP", sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .2em; color: var(--mc-text); }

/* 製品カード */
.mc-3c9e336, .mc-6aceae7 { --padding-top: 16px; --padding-bottom: 16px; --row-gap: 28px; --column-gap: 28px; --gap: 28px; background-color: #fff !important; }
.mc-3c9e336 { --padding-top: 40px; }
.mc-6aceae7 { --margin-bottom: clamp(70px, 8vw, 120px); }
:is(.mc-3c9e336, .mc-6aceae7) > .mc-inner > .mc-con {
	--flex-direction: column-reverse; --gap: 0px; --row-gap: 0px;
	background: var(--mc-beige); border-radius: var(--mc-radius); overflow: hidden;
	transition: transform .45s var(--mc-ease), box-shadow .45s var(--mc-ease);
}
:is(.mc-3c9e336, .mc-6aceae7) > .mc-inner > .mc-con:has(a[href^="/"]):hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(73, 83, 56, .16); }
:is(.mc-3c9e336, .mc-6aceae7) .mc-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s var(--mc-ease); }
:is(.mc-3c9e336, .mc-6aceae7) > .mc-inner > .mc-con:hover .mc-image img { transform: scale(1.06); }
:is(.mc-3c9e336, .mc-6aceae7) .mc-image, :is(.mc-3c9e336, .mc-6aceae7) .mc-image a { display: block; overflow: hidden; }
:is(.mc-3c9e336, .mc-6aceae7) .mc-heading {
	position: relative; padding: 22px 64px 24px 26px !important; text-align: left !important;
	font-family: var(--mc-en); font-size: 17px !important; font-weight: 700; letter-spacing: .04em; line-height: 1.35 !important;
}
:is(.mc-3c9e336, .mc-6aceae7) .mc-heading:has(a)::after {
	content: "→"; position: absolute; right: 22px; top: 50%; width: 36px; height: 36px; margin-top: -18px;
	display: grid; place-items: center; border-radius: 50%; background: var(--mc-red); color: #fff; font-size: 15px;
	transition: transform .35s var(--mc-ease);
}
:is(.mc-3c9e336, .mc-6aceae7) > .mc-inner > .mc-con:hover .mc-heading::after { transform: translateX(4px); }
:is(.mc-3c9e336, .mc-6aceae7) .mc-heading a::before { content: ""; position: absolute; inset: -400px 0 0 0; }
:is(.mc-3c9e336, .mc-6aceae7) .mc-heading a:hover { color: var(--mc-red); }

/* ブランドロゴの帯 */
.mc-ba0702f { --padding-top: 36px; --padding-bottom: 36px; }
.mc-ba0702f .mc-image img { transition: transform .4s var(--mc-ease), opacity .3s; }
.mc-ba0702f .mc-image a:hover img { transform: translateY(-3px); }

/* =========================================================
   下層ページ
   ========================================================= */
/* ページの見出し: 赤い角丸パネルに大きな英字 */
body:not(.home) .mc-page > .mc-con:first-child {
	--margin-top: -90px; --margin-bottom: clamp(60px, 7vw, 100px);
	--padding-top: 180px; --padding-bottom: 70px; --padding-left: 24px; --padding-right: 24px;
	overflow: hidden; position: relative; isolation: isolate;
}
body:not(.home) .mc-page > .mc-con:first-child::after {
	content: ""; position: absolute; right: -80px; bottom: -160px; z-index: -1; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%);
}
body:not(.home) .mc-page > .mc-con:first-child > .mc-inner { max-width: 1140px; }
body:not(.home) .mc-page > .mc-con:first-child .mc-heading {
	text-align: left !important; font-family: var(--mc-en); font-size: clamp(36px, 6vw, 84px) !important; font-weight: 700 !important;
	letter-spacing: -.02em !important; line-height: 1 !important; animation: mcRise 1s var(--mc-ease) both;
}
body:not(.home) .mc-page > .mc-con:first-child .mc-heading::before {
	content: "MAST CORPORATION"; display: block; margin-bottom: 20px; font-size: 12px; font-weight: 600; letter-spacing: .3em; opacity: .85;
}
@media (max-width: 767px) {
	body:not(.home) .mc-page > .mc-con:first-child { --margin-top: -70px; --padding-top: 120px; --padding-bottom: 46px; --margin-bottom: 50px; }
}

/* 本文中の赤帯の見出し → 左寄せ+赤い短線 */
.mc-26799d4, .mc-286176d, .mc-bfb08ab {
	position: relative; background: none !important; color: var(--mc-ink) !important; text-align: left !important;
	padding: 0 0 22px !important; border-bottom: 1px solid var(--mc-line);
	font-size: clamp(24px, 2.6vw, 34px) !important; font-weight: 700 !important; letter-spacing: .02em; line-height: 1.4 !important;
}
.mc-26799d4::after, .mc-286176d::after, .mc-bfb08ab::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; background: var(--mc-red); }
:is(.mc-26799d4, .mc-286176d, .mc-bfb08ab) + .mc-text { margin-top: 28px !important; }
.mc-5becaf6 { font-family: var(--mc-en); letter-spacing: .3em; color: var(--mc-red) !important; }
.mc-933f9bb { font-family: var(--mc-en); font-size: clamp(32px, 3.6vw, 52px) !important; font-weight: 700 !important; }

/* 本文 */
body:not(.home) .mc-text { color: #333; }
body:not(.home) .mc-text p { line-height: 1.95; letter-spacing: .03em; }
/* 写真・動画は角丸 */
body:not(.home) .mc-image img:not([src$=".svg"]):not([src*="logo"]):not([src*="Logo"]) { border-radius: var(--mc-radius-sm); }
.mc-video video, .mc-video iframe { border-radius: var(--mc-radius-sm); }
.mc-video .wp-block-embed__wrapper { border-radius: var(--mc-radius-sm); overflow: hidden; }
.mc-gallery .wp-block-image { border-radius: 10px; }
.mc-gallery .wp-block-image a::after { background: linear-gradient(180deg, rgba(29, 29, 27, 0), rgba(29, 29, 27, .45)); }
.mc-gallery .wp-block-image a:hover img { transform: scale(1.05); }
/* ロゴの黒い帯 */

/* 会社概要: 表をカードに */
.page-company .mc-page > .mc-con:not(:first-child) { --content-width: 820px; }
.page-company .mc-page > .mc-con:nth-child(2) > .mc-inner { border-top: 1px solid var(--mc-line); padding-top: 26px; }
.page-company .mc-page > .mc-con:not(:first-child) > .mc-inner > .mc-con:last-child { border-bottom-style: solid !important; border-color: var(--mc-line) !important; }
.page-company .mc-page > .mc-con:not(:first-child) > .mc-inner > .mc-con:first-child .mc-heading { color: var(--mc-red); font-size: 14px !important; letter-spacing: .12em; }
.page-company .mc-page > .mc-con:not(:first-child) > .mc-inner > .mc-con:last-child .mc-heading { font-weight: 500 !important; font-size: 17px !important; line-height: 1.8 !important; }

/* プライバシーポリシー */
.page-privacy-policy .mc-text h3 { margin: 2.2em 0 .8em; padding-left: 16px; border-left: 4px solid var(--mc-red); font-size: 20px; font-weight: 700; line-height: 1.5; }

/* お問い合わせ: フォームをカードに */
.page-contact .wpcf7 { max-width: 640px; padding: clamp(28px, 4vw, 48px); background: var(--mc-beige); }
.page-contact .wpcf7 input[type=text], .page-contact .wpcf7 input[type=email], .page-contact .wpcf7 textarea { border-color: transparent; border-radius: 12px; }

/* =========================================================
   お問い合わせ帯・フッター
   ========================================================= */
.mc-con.foot-cta { --margin-top: clamp(80px, 9vw, 130px); }
.cta__content { padding: clamp(48px, 6vw, 90px) 8% clamp(48px, 6vw, 90px) 8%; }
.cta__desc { font-family: var(--mc-en); font-size: clamp(28px, 3.2vw, 46px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; text-transform: none; color: var(--mc-olive); }
.cta__desc::before { content: "CONTACT"; display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .3em; color: var(--mc-red); }
.cta__btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; border-color: var(--mc-red); background: var(--mc-red); color: #fff; font-family: var(--mc-en); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.cta__btn::after { content: "→"; transition: transform .3s var(--mc-ease); }
.cta__btn:hover, .cta__btn:focus { background: var(--mc-pink); color: var(--mc-red); }
.cta__btn:hover::after { transform: translateX(4px); }

.site-foot { margin-top: 0; }
.foot-logo a { display: inline-block; padding: 14px 18px; background: var(--mc-beige); transition: transform .3s var(--mc-ease); }
.foot-logo a:hover { transform: translateY(-3px); }
.foot-logo img { width: 120px; }
.foot-name, .foot-addr, .foot-mail { font-family: "Noto Sans JP", sans-serif; font-weight: 400; }
.foot-name { font-size: 18px; font-weight: 500; }
.mc-con.foot-main { background: var(--mc-olive); }
.foot-main > .mc-inner { padding-top: 64px; padding-bottom: 56px; }
.foot-name, .foot-addr, .foot-mail { color: #efe8df; }
.foot-addr span, .foot-mail span { color: #c9c2a8 !important; }
.foot-mail a { color: #fff; }
.foot-mail a:hover { color: var(--mc-pink); }
.foot-nav a { padding: 8px 0; font-family: var(--mc-en); font-size: 13px; letter-spacing: .12em; color: #efe8df; }
.foot-nav a:hover, .foot-nav .current-menu-item > a { color: #fff; }
.foot-nav > ul > li > a::after { background: var(--mc-red); width: 24px; }
.foot-nav .sub-menu a { font-size: 12px; color: #d6cfbf; }
.mc-con.foot-copy { background: var(--mc-olive-dark); }
.foot-copy p { color: #c9c2a8; font-family: var(--mc-en); font-size: 11px; letter-spacing: .1em; }

/* =========================================================
   表示されたときの動き
   ========================================================= */
.mc-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--mc-ease), transform .9s var(--mc-ease); }
.mc-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.mc-8bb5754::before, .mc-8bb5754 .mc-heading, body:not(.home) .mc-page > .mc-con:first-child .mc-heading, .mc-8bb5754 > .mc-inner::after { animation: none; }
	.mc-reveal { opacity: 1; transform: none; }
}


/* =========================================================
   かっこよく(シャープに): 角を立てる・透明ヘッダー・写真タイル・番号付き見出し
   ========================================================= */
:root { --mc-radius: 2px; --mc-radius-sm: 2px; }

/* ---- ヘッダー: いちばん上では透明+白文字、スクロールでベージュ ---- */
.mc-con.site-head { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .4s, box-shadow .4s; }
.site-head:not(.is-scrolled) .gnav > ul > li > a { color: #fff; }
.site-head:not(.is-scrolled) .gnav > ul > li > a::after { background: #fff; }
.site-head:not(.is-scrolled) .head-logo img { filter: brightness(0) invert(1); }
.site-head:not(.is-scrolled) .menu-toggle { color: #fff; }
.site-head.is-scrolled { background: rgba(242, 234, 227, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(29, 29, 27, .08); }
.head-logo img { transition: filter .4s, opacity .2s; }
.gnav a { transition: color .3s; }
@media (max-width: 767px) {
	.site-head:not(.is-scrolled) .gnav.is-open > ul > li > a { color: var(--mc-ink); }
	.gnav { border-radius: 0; }
}
/* ボタンは角を立てる */
.mc-btn, .cta__btn { border-radius: 0; }
.mc-btn { padding: 14px 22px; letter-spacing: .08em; }
.site-head:not(.is-scrolled) .mc-btn { background: transparent; border-color: #fff; color: #fff; }
.site-head:not(.is-scrolled) .mc-btn:hover { background: #fff; color: var(--mc-red); }
.cta__btn { padding: 18px 30px; letter-spacing: .1em; }
.wpcf7 input[type=submit] { border-radius: 0; letter-spacing: .14em; }
.page-contact .wpcf7 input[type=text], .page-contact .wpcf7 input[type=email], .page-contact .wpcf7 textarea { border-radius: 0; }

/* ---- ヒーロー: 暗めの映画的トーン、文字は左下に大きく ---- */
.mc-8bb5754::after { background: linear-gradient(180deg, rgba(10, 12, 8, .45) 0%, rgba(10, 12, 8, .1) 40%, rgba(10, 12, 8, .7) 100%); }
.mc-8bb5754 { --justify-content: flex-end; }
.mc-8bb5754 > .mc-inner { max-width: 1240px; padding: 0 24px clamp(90px, 12vh, 140px); gap: 10px; }
.mc-8bb5754 .mc-heading { text-align: left !important; }
.mc-905ec73, .mc-5346ab6 { font-size: clamp(34px, 5.4vw, 84px) !important; letter-spacing: .12em !important; line-height: 1.15 !important; }
.mc-02f8456 { margin-top: 26px !important; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .35); max-width: 520px; }
.mc-02f8456, .mc-2a2ec1b { letter-spacing: .38em !important; font-size: clamp(12px, 1.1vw, 15px) !important; }
.mc-8bb5754 > .mc-inner::after { left: auto; right: 24px; transform: none; }

/* ---- 番号付きの小見出し ---- */
.mc-441754e5::before { content: "01 — ABOUT"; color: #e8b9a0; }
.mc-bf3f434::before { content: "02 — OUR PRODUCTS"; }
.cta__desc::before { content: "03 — CONTACT"; }
.mc-c8c569a > .mc-inner { max-width: 1140px; }
.mc-bf3f434 { text-align: left !important; }
.mc-bf3f434::after { display: inline-block; margin: 0 0 0 20px; vertical-align: middle; }

/* ---- About: 写真パネルに細い枠線のアクセント ---- */
.mc-2075e3ff img { border-radius: 0; }
.mc-3d19afee { position: relative; }
.mc-3d19afee::after { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; }

/* ---- 製品: 写真タイル(番号+名前を写真の上に) ---- */
.mc-3c9e336, .mc-6aceae7 { --row-gap: 20px; --column-gap: 20px; --gap: 20px; counter-reset: none; }
.mc-3c9e336 > .mc-inner, .mc-6aceae7 > .mc-inner { counter-reset: none; }
.mc-page { counter-reset: mcprod; }
:is(.mc-3c9e336, .mc-6aceae7) > .mc-inner > .mc-con {
	counter-increment: mcprod; position: relative; background: #111; border-radius: 0; box-shadow: none !important; transform: none !important;
}
:is(.mc-3c9e336, .mc-6aceae7) .mc-image img { aspect-ratio: 4 / 3; filter: saturate(.9); }
:is(.mc-3c9e336, .mc-6aceae7) > .mc-inner > .mc-con::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(10, 12, 8, 0) 35%, rgba(10, 12, 8, .78) 100%); transition: background .5s;
}
:is(.mc-3c9e336, .mc-6aceae7) > .mc-inner > .mc-con:hover::after { background: linear-gradient(180deg, rgba(10, 12, 8, .1) 0%, rgba(10, 12, 8, .85) 100%); }
:is(.mc-3c9e336, .mc-6aceae7) .mc-heading {
	position: absolute !important; left: 0; right: 0; bottom: 0; z-index: 2;
	padding: 0 70px 24px 26px !important; color: #fff !important; font-size: 19px !important; letter-spacing: .06em;
}
:is(.mc-3c9e336, .mc-6aceae7) .mc-heading::before {
	content: counter(mcprod, decimal-leading-zero); display: block; margin-bottom: 10px;
	font-size: 12px; font-weight: 600; letter-spacing: .3em; color: #e8b9a0;
}
:is(.mc-3c9e336, .mc-6aceae7) .mc-heading a { color: #fff !important; }
:is(.mc-3c9e336, .mc-6aceae7) .mc-heading:has(a)::after {
	top: auto; bottom: 24px; margin-top: 0; width: 40px; height: 40px; border-radius: 0;
	background: transparent; border: 1px solid rgba(255, 255, 255, .6); transition: background .3s, border-color .3s, transform .35s var(--mc-ease);
}
:is(.mc-3c9e336, .mc-6aceae7) > .mc-inner > .mc-con:hover .mc-heading::after { background: var(--mc-red); border-color: var(--mc-red); }

/* ---- ブランド帯: 細い区切り線 ---- */
.mc-ba0702f > .mc-inner > .mc-con + .mc-con { border-left: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 767px) { .mc-ba0702f > .mc-inner > .mc-con + .mc-con { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); } }

/* ---- 下層のページ見出し: 細い罫線と大きな透かし文字 ---- */
body:not(.home) .mc-page > .mc-con:first-child::after { display: none; }
body:not(.home) .mc-page > .mc-con:first-child { --padding-bottom: 60px; }
body:not(.home) .mc-page > .mc-con:first-child .mc-heading::before { content: "MAST CORPORATION  /  PRODUCTS & COMPANY"; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .35); white-space: pre; }
/* 本文中の見出し */
.mc-26799d4, .mc-286176d, .mc-bfb08ab { border-bottom-color: var(--mc-ink); }
.mc-26799d4::after, .mc-286176d::after, .mc-bfb08ab::after { width: 100%; height: 1px; background: var(--mc-ink); display: none; }
.mc-26799d4::before, .mc-286176d::before, .mc-bfb08ab::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 14px; background: var(--mc-red); vertical-align: .08em; }
.mc-gallery .wp-block-image { border-radius: 0; }

/* =========================================================
   フッター(コンパクト版)
   ========================================================= */
html { scroll-behavior: smooth; }
.sf { background: var(--mc-olive); color: #efe8df; font-family: "Noto Sans JP", sans-serif; }
.sf a { color: inherit; }
.sf__inner {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 48px;
	max-width: 1240px; margin: 0 auto; padding: 52px 24px 40px;
}
.sf__brand { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; row-gap: 14px; align-items: center; }
.sf__logo { grid-row: span 2; display: block; padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .18); transition: opacity .3s; }
.sf__logo:hover { opacity: .75; }
.sf__logo img { display: block; width: 78px; height: auto; filter: brightness(0) invert(1); }
.sf__name { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: .08em; line-height: 1.4; }
.sf__name span { display: inline-block; margin-left: 12px; font-family: var(--mc-en); font-size: 10px; font-weight: 600; letter-spacing: .28em; color: #c9c2a8; }
.sf__info { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.sf__info div { display: flex; gap: 10px; }
.sf__info dt { margin: 0; padding-top: 3px; font-family: var(--mc-en); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #e8b9a0; white-space: nowrap; }
.sf__info dd { margin: 0; font-family: var(--mc-en); font-size: 12.5px; line-height: 1.7; letter-spacing: .02em; }
.sf__info dd br { display: none; }
.sf__info a { background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; padding-bottom: 1px; transition: background-size .35s var(--mc-ease); }
.sf__info a:hover { background-size: 0 1px; background-position: right bottom; color: #fff; }

.sf__nav { display: grid; grid-template-columns: auto auto; justify-content: end; gap: 56px; }
.sf__head { margin: 0 0 12px; font-family: var(--mc-en); font-size: 10px; font-weight: 600; letter-spacing: .3em; color: #c9c2a8; }
.sf__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sf__col a { position: relative; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mc-en); font-size: 12px; font-weight: 600; letter-spacing: .1em; transition: color .25s; }
.sf__col a:hover, .sf__col li.is-current a { color: #fff; }
.sf__col a::before { content: ""; width: 0; height: 1px; background: var(--mc-red); transition: width .3s var(--mc-ease); }
.sf__col a:hover::before { width: 12px; }
.sf__col li.is-current a::before { width: 12px; height: 2px; }

.sf__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(24px, calc((100% - 1240px) / 2 + 24px)); background: var(--mc-olive-dark); }
.sf__copy { margin: 0; font-family: var(--mc-en); font-size: 10.5px; letter-spacing: .1em; color: #c9c2a8; }
.sf__top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mc-en); font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #efe8df; }
.sf__top span { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, .35); transition: background .3s, border-color .3s, transform .3s var(--mc-ease); }
.sf__top:hover span { background: var(--mc-red); border-color: var(--mc-red); transform: translateY(-2px); }

@media (max-width: 900px) {
	.sf__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
	.sf__nav { justify-content: start; gap: 48px; }
}
@media (max-width: 560px) {
	.sf__brand { grid-template-columns: 1fr; }
	.sf__logo { grid-row: auto; padding: 0; border: 0; }
	.sf__name span { display: block; margin: 4px 0 0; }
	.sf__info { flex-direction: column; }
	.sf__bottom { padding: 14px 20px; }
	.sf__copy { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* スマホの細部 */
.sf__top { white-space: nowrap; }
@media (max-width: 767px) {
	.mc-8bb5754 > .mc-inner::after { display: none; }
	.mc-btn { padding: 10px 12px; font-size: 11px; letter-spacing: .04em; }
	.head-logo img { width: 80px; height: 40px; }
}

/* =========================================================
   2026-10-17 クライアント指示: PRODUCTS を先に、ABOUT US は明るく
   ========================================================= */
/* 見出しの番号を新しい順番に */
.mc-bf3f434::before { content: "01 — OUR PRODUCTS"; }
.mc-441754e5::before { content: "02 — ABOUT"; color: var(--mc-red); }

/* ABOUT US: 明るい背景・濃い文字 */
.mc-21d308e0 { background-color: var(--mc-beige) !important; }
.mc-441754e5 { color: var(--mc-ink) !important; }
.mc-219c9dc3 { color: var(--mc-ink) !important; font-size: clamp(17px, 1.5vw, 20px) !important; font-weight: 500 !important; line-height: 2 !important; letter-spacing: .06em !important; }
.mc-219c9dc3 p { margin: 0; padding-left: 18px; border-left: 3px solid var(--mc-red); }
.mc-4463c234 { color: #5b5b55 !important; opacity: 1; }
/* 右側: シルバー・ゴールドの写真をやめ、明るいパネル+ロゴ */
.mc-3d19afee {
	background-image: none !important;
	background:
		linear-gradient(rgba(208, 66, 50, .06) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(208, 66, 50, .06) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(140deg, #ffffff 0%, #fbf7f3 55%, #f6ece4 100%) !important;
	min-height: 420px;
}
.mc-3d19afee::before {
	content: ""; position: absolute; inset: 0;
	background: url("../img/logo-1.svg") center 48% / min(58%, 360px) auto no-repeat;
}
.mc-3d19afee::after { inset: 28px; border-color: rgba(208, 66, 50, .28); }
@media (max-width: 767px) { .mc-3d19afee { min-height: 300px; } }
