@charset "UTF-8";
/* MGK Media（/media/・WordPress SWELL）を jp v2（黒×金×クリーム）に揃える CSS。
   子テーマ swell_child の functions.php から style.css のあとに読み込む。
   - ヘッダー・フッターは mgk-v2/header.php・footer.php の静的 HTML（.mgk2-*）
   - SWELL の標準ヘッダー・フッターと、「追加 CSS」（DB）の旧ヘッダー用の指定は、ここで隠す・打ち消す
   - 色の基準: 黒 #0c0a08 / #1a1a1a、金 #e0c14a→#b98f25、濃い金（リンク）#8a6d1d、クリーム #f5f0de / #f6f4ee */

:root {
	--color_main: #b98f25;
	--color_main_thin: rgba(185, 143, 37, 0.07);
	--color_main_dark: #8a6d1d;
	--color_htag: #1a1a1a;
	--color_link: #8a6d1d;
	--color_text: #2b2926;
	--color_bg: #fff;
	--color_list_check: #b98f25;
	--color_list_num: #b98f25;
	--color_gradient1: #f5f0de;
	--color_gradient2: #e0c14a;
	--color_header_bg: #0c0a08;
	--color_header_text: #fff;
	--color_footer_bg: #333;
	--color_footer_text: #fff;
	--mgk2-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Source Han Serif JP", serif;
	--mgk2-gold: linear-gradient(90deg, #e0c14a, #b98f25);
}

/* ---------- SWELL 標準のヘッダー・フッターを隠す（追加 CSS の固定ヘッダー用の余白も戻す） ---------- */
html body #header.l-header,
html body #fix_header,
html body #sp_menu,
html body #footer.l-footer,
html body #before_footer_widget {
	display: none !important;
}
html body {
	padding-top: 0 !important;
	color: var(--color_text);
	background: #fff;
}

/* ---------- ヘッダー ---------- */
.mgk2-hd {
	position: relative;
	z-index: 9990;
	background: #0c0a08 url("https://mgk-global.com/jp/v2/images/sub_hero.jpg") center / cover no-repeat;
	color: #fff;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}
.mgk2-hd *, .mgk2-hd *::before, .mgk2-hd *::after { box-sizing: border-box; }
.mgk2-hd :where(ul) { list-style: none; margin: 0; padding: 0; }
.mgk2-hd a { text-decoration: none; }
.mgk2-hd button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.mgk2-hd a:focus-visible, .mgk2-hd button:focus-visible, .mgk2-hd summary:focus-visible { outline: 2px solid #e0c14a; outline-offset: 2px; }
.mgk2-hd__in { position: relative; height: 60px; max-width: 1280px; margin: 0 auto; }
.mgk2-logo { position: absolute; left: 16px; top: 17px; display: block; width: 210px; height: 26px; background: url("https://mgk-global.com/jp/v2/images/logo.png") left center / contain no-repeat; }
.mgk2-logo span { position: absolute; left: -9999px; }
.mgk2-nav { display: none; }
.mgk2-burger { position: absolute; right: 16px; top: 12px; width: 36px; height: 36px; }
.mgk2-burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px auto; transition: transform .2s, opacity .2s; }
.mgk2-sp { display: none; }
body.mgk2-open .mgk2-sp { display: block; position: absolute; left: 0; right: 0; top: 60px; z-index: 20; background: #0c0a08; color: #fff; padding: 6px 20px 24px; border-top: 1px solid #8a6d1d; max-height: calc(100vh - 60px); overflow-y: auto; }
body.mgk2-open .mgk2-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.mgk2-open .mgk2-burger span:nth-child(2) { opacity: 0; }
body.mgk2-open .mgk2-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mgk2-sp summary { list-style: none; display: flex; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; cursor: pointer; color: #fff; }
.mgk2-sp summary::-webkit-details-marker { display: none; }
.mgk2-sp s { text-decoration: none; color: #d9b84a; }
.mgk2-sp details[open] > summary s { display: none; }
.mgk2-sp details[open] > summary::after { content: "－"; color: #d9b84a; }
.mgk2-sp .mgk2-sub a { display: block; padding: 13px 16px; font-size: 14px; color: #e8e2d0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mgk2-sp .mgk2-medialink { display: block; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; color: #fff; }
.mgk2-spbtns { display: flex; gap: 12px; margin: 20px 0 14px; }
.mgk2-spbtns a { flex: 1; text-align: center; padding: 12px 0; border-radius: 4px; font-size: 14px; }
.mgk2-spbtns .mgk2-login { border: 1px solid #bbb; color: #fff; }
.mgk2-spbtns .mgk2-open { background: var(--mgk2-gold); color: #1a1a1a; font-weight: 700; }
.mgk2-splinks { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 0 4px; text-align: center; font-size: 12px; color: #ccc; }
.mgk2-splinks a, .mgk2-splinks summary { color: #ccc; font-size: 12px; padding: 6px 8px; display: block; cursor: pointer; }
.mgk2-splinks i { font-style: normal; padding-top: 6px; color: #888; }
.mgk2-splinks summary { list-style: none; }
.mgk2-splinks summary::-webkit-details-marker { display: none; }
.mgk2-splinks .mgk2-splang[open] { flex-basis: 100%; order: 9; }
.mgk2-splinks .mgk2-splang .mgk2-sub { margin-top: 8px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; }
.mgk2-splinks .mgk2-splang summary { margin: 0 auto; width: max-content; }

@media screen and (min-width: 1200px) {
	.mgk2-hd__in { height: 96px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
	.mgk2-logo { position: static; flex: 0 0 220px; width: 220px; height: 30px; }
	.mgk2-burger, .mgk2-sp, body.mgk2-open .mgk2-sp { display: none; }
	.mgk2-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1; }
	.mgk2-nav ul { display: flex; align-items: center; }
	.mgk2-nav a, .mgk2-nav .mgk2-top { color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1.6; }
	.mgk2-main > li { margin-left: 13px; flex: none; }
	.mgk2-main > li:first-child { margin-left: 0; }
	.mgk2-main s { text-decoration: none; font-size: 10px; margin-left: 4px; color: #d9b84a; }
	.mgk2-side { margin-left: 22px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.28); }
	.mgk2-side > li { margin-left: 14px; }
	.mgk2-side > li:first-child { margin-left: 0; }
	.mgk2-lang i { font-style: normal; opacity: .9; font-size: 15px; }
	.mgk2-lang i + span { margin-left: 5px; }
	.mgk2-side a.mgk2-login { display: inline-block; border: 1px solid #bbb; border-radius: 4px; padding: 8px 12px; background: rgba(255,255,255,.06); font-size: 12.5px; }
	.mgk2-side a.mgk2-open { display: inline-block; border-radius: 4px; padding: 9px 18px; font-weight: 700; color: #1a1a1a; background: var(--mgk2-gold); font-size: 12.5px; }
	.mgk2-has { position: relative; }
	.mgk2-nav .mgk2-top { display: block; padding: 14px 0; }
	.mgk2-dd { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 190px; background: rgba(12,10,8,.96); border-top: 2px solid #d9b84a; padding: 6px 0; z-index: 30; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
	.mgk2-dd-r { left: auto; right: 0; transform: none; min-width: 150px; }
	.mgk2-dd a { display: block; padding: 12px 22px; font-size: 13px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
	.mgk2-dd a:last-child { border-bottom: 0; }
	.mgk2-dd a:hover, .mgk2-dd a:focus-visible { color: #e0c14a; background: rgba(255,255,255,.06); }
	.mgk2-has:hover > .mgk2-dd, .mgk2-has:focus-within > .mgk2-dd, .mgk2-has.is-open > .mgk2-dd { display: block; }
	.mgk2-has:hover > .mgk2-top, .mgk2-has:focus-within > .mgk2-top { color: #e0c14a; }
	.mgk2-esc .mgk2-dd { display: none !important; }
}

/* ---------- 本文の器・見出し・部品（旧: 青 → 金・黒） ---------- */
.l-content { color: var(--color_text); }
.post_content a:not(.swell-block-button__link):not(.wp-block-button__link):not(.c-blogLink) { color: #8a6d1d; }
.post_content a:hover { color: #b98f25; }

/* h2: 黒の帯＋金の左線（SWELL の二重線の飾りは外す）。明朝 */
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
	background: #1a1a1a;
	color: #fff;
	font-family: var(--mgk2-serif);
	font-weight: 700;
	letter-spacing: .02em;
	padding: .8em 1em .8em 1.1em;
	border-left: 5px solid #b98f25;
}
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
	display: none;
}
/* h3: 明朝＋下線（金のアクセント） */
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
	font-family: var(--mgk2-serif);
	padding: 0 .3em .55em;
	color: #1a1a1a;
}
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
	height: 3px;
	background: linear-gradient(90deg, #e0c14a 0, #b98f25 80px, #d9d4c4 80px, #d9d4c4 100%);
}
/* h4: 金の左線 */
.post_content h4:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
	font-family: var(--mgk2-serif);
	border-left: 4px solid #b98f25;
}
/* 記事タイトル・サイドバー・カテゴリ */
.c-postTitle__ttl, .p-articleHead .c-postTitle__ttl { font-family: var(--mgk2-serif); color: #1a1a1a; }
.c-widget__title.-side { font-family: var(--mgk2-serif); }
.c-widget__title.-side::before, .c-widget__title.-footer::before { background: var(--mgk2-gold); }
.c-secTitle { border-left-color: #b98f25; font-family: var(--mgk2-serif); }
.c-postThumb__cat { background-color: #1a1a1a; background-image: none; color: #e0c14a; }
.p-postList__title, .p-postList__link { color: #1a1a1a; }
.p-postList__link:hover .p-postList__title { color: #8a6d1d; }
.p-breadcrumb, .p-breadcrumb.-bg-on { background: #f6f4ee; }
.p-breadcrumb__text { color: #5a564c; }
.p-profileBox, .c-widget .p-profileBox { border-color: #e3ddc9; }
.-type-list2 .p-postList__body::after, .-type-big .p-postList__body::after { color: #8a6d1d; }
.p-toc.-double { border-top-color: #b98f25; border-bottom-color: #b98f25; background-color: #f6f4ee; background-image: none; }
.p-toc__ttl { font-family: var(--mgk2-serif); }
[class*="page-numbers"] { background-color: #ece6d3; color: #1a1a1a; }
.page-numbers.current, [class*="page-numbers"].current { background-color: #1a1a1a; color: #e0c14a; }
.swell-block-button .swell-block-button__link, .is-style-btn_normal a, .is-style-btn_shiny a {
	background: var(--mgk2-gold);
	color: #1a1a1a;
	border-radius: 4px;
}
.is-style-btn_solid a { background: #1a1a1a; color: #e0c14a; box-shadow: 0 4px 0 #8a6d1d; }
.is-style-btn_line a { border-color: #b98f25; color: #8a6d1d; }
.post_content table th { background: #f6f4ee; }
/* 見出し行（thead）の文字は黒。SWELL 既定の白文字がクリーム背景に溶けるのを防ぐ（#531） */
.post_content thead th, .post_content thead td { color: #1a1a1a; }
.post_content table th, .post_content table td { border-color: #d9d4c4; }
.post_content blockquote::before { border-color: #b98f25; }
[data-col="blue"] .c-balloon__text { background: #f6f4ee; border-color: #d9d4c4; }
[data-col="blue"] .c-balloon__before { border-right-color: #f6f4ee; }
#pagetop, .c-fixBtn { background: #1a1a1a; color: #e0c14a; }

/* ---------- フッター ---------- */
.mgk2-ft { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; line-height: 1.6; color: #fff; }
.mgk2-ft *, .mgk2-ft *::before, .mgk2-ft *::after { box-sizing: border-box; }
.mgk2-ft :where(ul) { list-style: none; margin: 0; padding: 0; }
.mgk2-ft a { text-decoration: none; color: #fff; }
.mgk2-cta { text-align: center; color: #fff; background: #0c0a08 url("https://mgk-global.com/jp/v2/images/sub_hero.jpg") center / cover no-repeat; padding: 44px 15px 36px; }
.mgk2-ctabtn { display: block; max-width: 500px; margin: 0 auto 8px; padding: 14px 0 12px; border: 1px solid #9a741e; border-radius: 100px; background: linear-gradient(90deg, #e2ca4b, #9a741e); color: #fff !important; font-family: var(--mgk2-serif); transition: opacity .2s; }
.mgk2-ctabtn:hover { opacity: .88; }
.mgk2-ctabtn__s { display: block; font-size: 14px; line-height: 1.5; }
.mgk2-ctabtn strong { display: block; font-size: 26px; line-height: 1.4; letter-spacing: .04em; }
.mgk2-ctalink { margin: 0; font-size: 14px; }
.mgk2-bottom { background: #333; }
.mgk2-bottom__in { max-width: 1160px; margin: 0 auto; padding: 25px 15px 30px; }
.mgk2-flinks { margin: 0 0 25px; border-top: 1px solid #666; }
.mgk2-flinks li { line-height: 50px; border-bottom: 1px solid #666; margin: 0; }
.mgk2-flinks li a { display: block; padding: 0 15px; font-size: 14px; background: url("https://mgk-global.com/jp/v2/images/icon_arrow.svg") no-repeat right 15px center / 10px 16px; }
.mgk2-caution { margin: 0; padding: 15px 20px; color: #ccc; border: 1px solid #666; }
.mgk2-caution h3 { margin: 0 0 10px; font-weight: 400; font-size: 16px; color: #ccc; border: 0; padding: 0; background: none; }
.mgk2-caution h3::before, .mgk2-caution h3::after { display: none; }
.mgk2-caution p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; }
.mgk2-caution p:last-child { margin-bottom: 0; }
.mgk2-caution a { color: #fff; text-decoration: underline; }
.mgk2-foot { background: #fff; text-align: center; padding: 22px 15px 20px; color: #333; }
.mgk2-flogo { margin: 0 0 10px; line-height: 1; }
.mgk2-flogo img { max-width: 100%; height: auto; width: 260px; }
.mgk2-copy { margin: 0; font-size: 13px; color: #333; }
@media screen and (min-width: 768px) {
	.mgk2-cta { padding: 84px 15px 60px; }
	.mgk2-ctabtn { padding: 16px 0 14px; }
	.mgk2-ctabtn__s { font-size: 16px; }
	.mgk2-ctabtn strong { font-size: 30px; }
	.mgk2-flinks { text-align: center; border-top: 0; margin-bottom: 25px; }
	.mgk2-flinks li { display: inline-block; padding: 0 20px 0 0; line-height: 16px; border-bottom: 0; position: relative; }
	.mgk2-flinks li::after { position: absolute; top: 0; right: 7px; content: ""; width: 1px; height: 17px; background: #fff; }
	.mgk2-flinks li:last-child { padding: 0; }
	.mgk2-flinks li:last-child::after { display: none; }
	.mgk2-flinks li a { display: inline-block; background: none; padding: 0; }
	.mgk2-caution { padding: 20px 15px; }
	.mgk2-caution p { font-size: 14px; }
	.mgk2-foot { padding: 35px 15px; }
	.mgk2-flogo img { width: 386px; }
	.mgk2-copy { font-size: 16px; }
}
