/*
Theme Name: み・らいず２ 学生ボランティア
Theme URI: https://volunteer.me-rise.com/
Author: NPO法人み・らいず２
Description: み・らいず２ 大学生ボランティア募集サイトのオリジナルテーマ。ボランティア活動（分野・エリアで絞り込み）、先輩の声、お知らせ、固定ページのテンプレートを備えています。色は法人サイトと同じ黄色×黒です。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: merise-volunteer
*/

/* ================================================================
   Tokens
   ================================================================ */
:root {
	--mv-yellow: #FFE100;
	--mv-ink: #1A1A1A;
	--mv-cream: #FFF9CC;
	--mv-foot: #FFFBEA;
	--mv-gray: #F6F6F6;
	--mv-white: #ffffff;
	--mv-muted: #4a4a4a;
	--mv-ph-ink: #5A5200;
	--mv-line: 2px solid var(--mv-ink);
	--mv-r-lg: 24px;
	--mv-r-md: 16px;
	--mv-font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	--mv-maru: "Zen Maru Gothic", "Zen Kaku Gothic New", "Hiragino Maru Gothic ProN", sans-serif;
	--mv-en: "Open Sans", sans-serif;
	--mv-gutter: clamp(16px, 5vw, 96px);
	--mv-sec: clamp(64px, 9vw, 120px);
	--mv-header: 88px;
}

/* ================================================================
   Base
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mv-header) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--mv-font); font-size: 16px; line-height: 1.9; color: var(--mv-ink); background: var(--mv-white); font-feature-settings: "palt" 0; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mv-ink); text-underline-offset: 4px; }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--mv-ink); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--mv-maru); font-weight: 900; line-height: 1.45; margin: 0; letter-spacing: .02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mv-skip:focus { position: fixed !important; left: 16px; top: 16px; width: auto; height: auto; clip: auto; padding: 12px 20px; background: var(--mv-yellow); border: var(--mv-line); border-radius: 999px; z-index: 1000; font-weight: 700; }

.mv-container { width: 100%; max-width: calc(1248px + var(--mv-gutter) * 2); margin: 0 auto; padding: 0 var(--mv-gutter); }
.mv-container--narrow { max-width: calc(920px + var(--mv-gutter) * 2); }
.mv-en { display: inline-block; font-family: var(--mv-en); font-weight: 800; font-size: 14px; letter-spacing: .12em; line-height: 1.4; }

/* 画像がないときの枠 */
.mv-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px; background-color: var(--mv-cream); background-image: radial-gradient(circle at 20% 30%, rgba(255,225,0,.55) 0 18%, transparent 18.5%), radial-gradient(circle at 78% 72%, rgba(255,225,0,.4) 0 22%, transparent 22.5%); color: var(--mv-ph-ink); font-size: 14px; font-weight: 700; }

/* ================================================================
   Buttons / chips / tags
   ================================================================ */
.mv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: var(--mv-line); font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; text-align: center; transition: transform .15s ease, box-shadow .15s ease, background-color .15s; }
.mv-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--mv-ink); }
.mv-btn:active { transform: translateY(0); box-shadow: none; }
.mv-btn--dark { background: var(--mv-ink); color: var(--mv-white); }
.mv-btn--dark:hover { color: var(--mv-white); box-shadow: 0 4px 0 var(--mv-yellow), 0 4px 0 2px var(--mv-ink); }
.mv-btn--light { background: var(--mv-white); color: var(--mv-ink); }
.mv-btn--yellow { background: var(--mv-yellow); color: var(--mv-ink); }
.mv-btn--lg { min-height: 64px; padding: 0 36px; font-size: 18px; }
.mv-btn--block { display: flex; width: 100%; }
.mv-btnwrap { margin: 24px 0; }
.mv-btnrow { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; }

.mv-textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.mv-textlink:hover { text-decoration: underline; }

.mv-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.mv-pills li { padding: 4px 14px; border: var(--mv-line); border-radius: 999px; background: var(--mv-white); font-size: 14px; font-weight: 700; }

.mv-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.mv-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: var(--mv-line); background: var(--mv-white); color: var(--mv-ink); font-size: 15px; font-weight: 700; text-decoration: none; line-height: 1.3; transition: background-color .15s; }
.mv-chip:hover { background: var(--mv-cream); }
.mv-chip[aria-pressed="true"], .mv-chip[aria-current="page"] { background: var(--mv-ink); color: var(--mv-white); }

.mv-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.mv-tags li { padding: 2px 10px; border-radius: 999px; background: var(--mv-yellow); font-size: 12px; font-weight: 700; line-height: 1.7; }
.mv-tags a { text-decoration: none; }

.mv-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.mv-badges li { display: inline-flex; align-items: center; gap: 4px; padding: 8px 18px; border-radius: 12px; border: var(--mv-line); font-size: 15px; font-weight: 700; line-height: 1.4; background: var(--mv-white); }
.mv-badges li.is-yellow { background: var(--mv-yellow); border-color: var(--mv-yellow); }
.mv-badges li.is-dark { background: var(--mv-ink); color: var(--mv-white); }
.mv-badges li.is-dark a { color: var(--mv-white); }
.mv-badges a { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }

.mv-circle-arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: var(--mv-line); background: var(--mv-white); transition: background-color .15s; }

/* ================================================================
   Header
   ================================================================ */
.mv-header { position: sticky; top: 0; z-index: 100; background: var(--mv-white); border-bottom: var(--mv-line); }
.admin-bar .mv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mv-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .mv-header { top: 0; } }
.mv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--mv-header); padding: 0 clamp(16px, 4vw, 56px); max-width: 1600px; margin: 0 auto; }
.mv-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--mv-ink); flex-shrink: 0; }
.mv-brand__logo { max-height: 56px; width: auto; }
.mv-brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.mv-brand__name { font-family: var(--mv-maru); font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.mv-brand__sub { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.mv-nav { display: flex; align-items: center; gap: 28px; }
.mv-nav__list { list-style: none; display: flex; align-items: center; gap: 28px; }
.mv-nav__list a { font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.mv-nav__list a:hover, .mv-nav__list .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.mv-nav__cta { min-height: 48px; padding: 0 22px; font-size: 15px; white-space: nowrap; }
.mv-menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: var(--mv-line); background: var(--mv-yellow); align-items: center; justify-content: center; padding: 0; }
.mv-menu-btn__close { display: none; }
.is-menu-open .mv-menu-btn__open { display: none; }
.is-menu-open .mv-menu-btn__close { display: inline-flex; }

@media (max-width: 1239px) {
	:root { --mv-header: 68px; }
	.mv-brand .mv-mark { width: 46px; height: 28px; }
	.mv-brand__name { font-size: 17px; }
	.mv-brand__sub { font-size: 11px; }
	.mv-menu-btn { display: inline-flex; }
	.mv-nav { position: fixed; inset: var(--mv-header) 0 0 0; flex-direction: column; align-items: stretch; gap: 24px; padding: 24px 20px 120px; background: var(--mv-white); border-top: var(--mv-line); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
	.admin-bar .mv-nav { top: calc(var(--mv-header) + 46px); }
	.is-menu-open .mv-nav { visibility: visible; opacity: 1; transform: none; }
	.is-menu-open { overflow: hidden; }
	.mv-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.mv-nav__list li { border-bottom: 1.5px dashed var(--mv-ink); }
	.mv-nav__list a { display: block; padding: 18px 4px; font-size: 17px; }
	.mv-nav__cta { min-height: 60px; font-size: 17px; }
}

/* ================================================================
   Sections
   ================================================================ */
.mv-sec { padding: var(--mv-sec) 0; }
.mv-sec--tight { padding: clamp(40px, 6vw, 72px) 0; }
.mv-sec--gray { background: var(--mv-gray); }
.mv-sec--cream { background: var(--mv-cream); }
.mv-sec--line { border-top: var(--mv-line); border-bottom: var(--mv-line); }
.mv-sec--line + .mv-sec--line { border-top: 0; }

.mv-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.mv-sechead__titles { display: flex; flex-direction: column; gap: 10px; }
.mv-sechead__title { font-size: clamp(28px, 3.4vw, 44px); }
.mv-sechead__lead { max-width: 460px; }
.mv-sechead--center { justify-content: center; text-align: center; }
.mv-sechead--center .mv-sechead__titles { align-items: center; }

.mv-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .mv-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 640px) { .mv-grid3 { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ================================================================
   Hero (top)
   ================================================================ */
.mv-hero { position: relative; background: var(--mv-yellow); border-bottom: var(--mv-line); overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 5vw, 56px); }
.mv-hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.mv-hero__text { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 1; }
.mv-hero__title { font-size: clamp(30px, 4.3vw, 62px); line-height: 1.34; word-break: keep-all; overflow-wrap: anywhere; }
.mv-hero__lead { font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; line-height: 2; max-width: 560px; }
.mv-hero__btns { display: flex; flex-wrap: wrap; gap: 16px; }
.mv-hero__visual { position: relative; aspect-ratio: 1 / .86; }
.mv-hero__c { position: absolute; border-radius: 50%; border: var(--mv-line); overflow: hidden; background: var(--mv-cream); }
.mv-hero__c img, .mv-hero__c .mv-ph { width: 100%; height: 100%; object-fit: cover; }
.mv-hero__c1 { left: 0; top: 8%; width: 62%; aspect-ratio: 1; }
.mv-hero__c2 { right: 0; top: 0; width: 42%; aspect-ratio: 1; }
.mv-hero__c3 { right: 6%; bottom: 0; width: 36%; aspect-ratio: 1; }
.mv-hero__ring { position: absolute; left: -6%; bottom: -2%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: var(--mv-line); }
.mv-stats { display: inline-grid; grid-template-columns: repeat(3, auto); margin: clamp(32px, 5vw, 56px) 0 0; background: var(--mv-white); border: var(--mv-line); border-radius: 20px; }
.mv-stats > div { padding: 18px clamp(18px, 3vw, 36px); display: flex; flex-direction: column; gap: 2px; }
.mv-stats > div + div { border-left: var(--mv-line); }
.mv-stats dt { font-size: 13px; font-weight: 700; }
.mv-stats dd { margin: 0; font-family: var(--mv-maru); font-weight: 900; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }
.mv-stats small { font-size: 15px; margin-left: 2px; }
@media (max-width: 900px) {
	.mv-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.mv-hero__visual { order: -1; width: min(100%, 440px); }
	.mv-stats { display: grid; width: 100%; }
	.mv-stats > div { padding: 12px 8px; text-align: center; }
	.mv-stats dt { font-size: 11px; }
	.mv-stats small { font-size: 12px; }
}

/* ================================================================
   Steps / points / split
   ================================================================ */
.mv-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: none; }
.mv-step { border: var(--mv-line); border-radius: var(--mv-r-lg); padding: clamp(24px, 3vw, 40px); background: var(--mv-cream); display: grid; grid-template-columns: auto 1fr; gap: 16px 16px; align-items: center; }
.mv-step__num { width: 56px; height: 56px; border-radius: 50%; background: var(--mv-yellow); border: var(--mv-line); display: inline-flex; align-items: center; justify-content: center; font-family: var(--mv-en); font-weight: 800; font-size: 20px; }
.mv-step__title { font-size: clamp(20px, 2vw, 26px); }
.mv-step p { grid-column: 1 / -1; }
@media (max-width: 900px) { .mv-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; } .mv-step { padding: 18px 20px; } .mv-step p { grid-column: 2; font-size: 14px; line-height: 1.7; } .mv-step__num { width: 44px; height: 44px; font-size: 15px; grid-row: span 2; } }

.mv-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.mv-point { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.mv-point__img { width: min(260px, 70%); aspect-ratio: 1; border-radius: 50%; border: var(--mv-line); overflow: hidden; }
.mv-point__img img, .mv-point__img .mv-ph { width: 100%; height: 100%; object-fit: cover; }
.mv-point h3 { font-size: clamp(19px, 1.8vw, 24px); }
@media (max-width: 900px) {
	.mv-points { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.mv-point { display: grid; grid-template-columns: 96px 1fr; text-align: left; align-items: center; gap: 4px 16px; }
	.mv-point__img { width: 96px; grid-row: span 2; }
	.mv-point h3 br { display: none; }
	.mv-point p { font-size: 14px; line-height: 1.75; }
}

.mv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mv-split__img { border: var(--mv-line); border-radius: var(--mv-r-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.mv-split__img img, .mv-split__img .mv-ph { width: 100%; height: 100%; object-fit: cover; }
.mv-split__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.mv-split__title { font-size: clamp(26px, 3vw, 40px); }
.mv-split--rev .mv-split__img { order: 2; }
.mv-split__img--contain { background: var(--mv-white); }
.mv-split__img--contain img { object-fit: contain; padding: 8%; }
@media (max-width: 900px) { .mv-split { grid-template-columns: minmax(0, 1fr); } .mv-split--rev .mv-split__img { order: 0; } }

/* ================================================================
   Cards
   ================================================================ */
.mv-acard[hidden] { display: none; }
.mv-acard__link, .mv-pcard__link { display: flex; flex-direction: column; height: 100%; background: var(--mv-white); border: var(--mv-line); border-radius: var(--mv-r-lg); overflow: hidden; text-decoration: none; color: var(--mv-ink); transition: transform .15s ease, box-shadow .15s ease; }
.mv-acard__link:hover, .mv-pcard__link:hover { transform: translateY(-4px); box-shadow: 0 6px 0 var(--mv-ink); color: var(--mv-ink); }
.mv-acard__link:hover .mv-circle-arrow { background: var(--mv-yellow); }
.mv-acard__img, .mv-pcard__img { position: relative; aspect-ratio: 16 / 10; border-bottom: var(--mv-line); overflow: hidden; background: var(--mv-cream); }
.mv-acard__img img, .mv-acard__img .mv-ph, .mv-pcard__img img, .mv-pcard__img .mv-ph { width: 100%; height: 100%; object-fit: cover; }
.mv-acard__field { position: absolute; left: 14px; top: 14px; padding: 4px 14px; border-radius: 999px; background: var(--mv-ink); color: var(--mv-white); font-size: 13px; font-weight: 700; line-height: 1.6; }
.mv-acard__body, .mv-pcard__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.mv-acard__area { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.mv-acard__title { font-size: 22px; }
.mv-acard__sub { font-size: 14px; font-weight: 700; line-height: 1.6; }
.mv-acard__text, .mv-pcard__text { font-size: 14px; line-height: 1.8; flex-grow: 1; }
.mv-acard__more { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-top: 4px; }
.mv-pcard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--mv-en); font-weight: 700; font-size: 14px; }
.mv-pcard__title { font-size: 19px; line-height: 1.55; }

.mv-voice { background: var(--mv-white); border: var(--mv-line); border-radius: var(--mv-r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.mv-voice__head { display: flex; align-items: center; gap: 16px; }
.mv-voice__img { width: 72px; height: 72px; border-radius: 50%; border: var(--mv-line); overflow: hidden; flex-shrink: 0; background: var(--mv-cream); }
.mv-voice__img img, .mv-voice__img .mv-ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.mv-voice__name { font-weight: 700; font-size: 17px; line-height: 1.5; }
.mv-voice__school { font-size: 13px; line-height: 1.6; }
.mv-voice__title { font-size: 20px; line-height: 1.6; }
.mv-voice__text { font-size: 15px; line-height: 1.9; }
.mv-voice__text p + p { margin-top: 1em; }

/* ================================================================
   News
   ================================================================ */
.mv-news { list-style: none; border-top: var(--mv-line); }
.mv-news__item { border-bottom: var(--mv-line); }
.mv-news__item a { display: grid; grid-template-columns: auto auto 1fr auto; gap: 8px 24px; align-items: center; padding: 22px 8px; text-decoration: none; }
.mv-news__item a:hover { background: var(--mv-white); }
.mv-news__item time { font-family: var(--mv-en); font-weight: 700; }
.mv-news__cat { display: inline-block; padding: 2px 12px; border-radius: 999px; border: 1.5px solid var(--mv-ink); font-size: 12px; font-weight: 700; line-height: 1.7; text-decoration: none; white-space: nowrap; background: var(--mv-white); }
.mv-news__title { font-weight: 700; }
@media (max-width: 640px) { .mv-news__item a { grid-template-columns: auto 1fr; } .mv-news__title { grid-column: 1 / -1; } .mv-news__item .mv-icon { display: none; } }

/* ================================================================
   CTA
   ================================================================ */
.mv-cta { padding: 0 0 var(--mv-sec); }
.mv-sec + .mv-cta, .mv-sec--gray + .mv-cta, .mv-sec--cream + .mv-cta { padding-top: var(--mv-sec); }
.mv-cta__box { display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap; padding: clamp(32px, 6vw, 80px); border-radius: clamp(28px, 3vw, 40px); background: var(--mv-yellow); border: var(--mv-line); }
.mv-cta__box--small { padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px); }
.mv-cta__text { display: flex; flex-direction: column; gap: 16px; flex: 1 1 420px; min-width: 0; }
.mv-cta__btns { flex: 0 0 auto; }
.mv-cta__title { font-size: clamp(24px, 3.4vw, 48px); line-height: 1.4; }
.mv-cta__box--small .mv-cta__title { font-size: clamp(22px, 2.6vw, 34px); }
.mv-cta__btns { display: flex; flex-direction: column; gap: 16px; width: min(100%, 380px); }
.mv-cta__btns--row { flex-direction: row; flex-wrap: wrap; width: auto; }
@media (max-width: 640px) { .mv-cta__title br { display: none; } .mv-cta__btns--row { flex-direction: column; width: 100%; } }

/* ================================================================
   Footer
   ================================================================ */
.mv-footer { background: var(--mv-foot); border-top: var(--mv-line); padding: clamp(48px, 6vw, 72px) 0 32px; }
.mv-footer__inner { display: flex; justify-content: space-between; gap: 40px 64px; flex-wrap: wrap; }
.mv-footer__org { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.mv-footer__addr, .mv-footer__note { font-size: 14px; line-height: 2; }
.mv-footer__sns { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.mv-footer__sns a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.mv-footer__sns a:hover { text-decoration: underline; }
.mv-footer__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 14px 56px; align-content: start; }
.mv-footer__list a { font-size: 14px; font-weight: 700; text-decoration: none; }
.mv-footer__list a:hover { text-decoration: underline; }
.mv-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1.5px dashed var(--mv-ink); font-size: 13px; }
.mv-totop { font-weight: 700; }

.mv-fixcta { display: none; }
@media (max-width: 900px) {
	.mv-fixcta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: var(--mv-white); border: var(--mv-line); box-shadow: 0 6px 0 var(--mv-ink); }
	.mv-fixcta .mv-btn { min-height: 48px; padding: 0 14px; font-size: 15px; border-width: 0; }
	.mv-fixcta .mv-btn:hover { transform: none; box-shadow: none; }
	.mv-fixcta__main { flex-grow: 1; }
	.mv-fixcta__sub { width: 110px; }
	.mv-footer { padding-bottom: 120px; }
	.is-menu-open .mv-fixcta { display: none; }
}

/* ================================================================
   Page hero (下層)
   ================================================================ */
.mv-pagehero { position: relative; overflow: hidden; background: var(--mv-yellow); border-bottom: var(--mv-line); padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.mv-pagehero .mv-container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mv-pagehero__title { font-size: clamp(30px, 4.4vw, 56px); }
.mv-pagehero__title--post { font-size: clamp(24px, 3vw, 38px); line-height: 1.5; }
.mv-pagehero__lead { max-width: 760px; font-size: clamp(15px, 1.3vw, 17px); }
.mv-pagehero__c1, .mv-pagehero__c2 { position: absolute; border-radius: 50%; border: var(--mv-line); }
.mv-pagehero__c1 { right: 8%; top: 20%; width: clamp(120px, 17vw, 240px); aspect-ratio: 1; }
.mv-pagehero__c2 { right: 2%; top: 52%; width: clamp(90px, 12vw, 170px); aspect-ratio: 1; background: var(--mv-white); }
.mv-pagehero--post .mv-pagehero__c1 { opacity: .5; }
@media (max-width: 900px) { .mv-pagehero__c1 { right: -40px; top: -30px; } .mv-pagehero__c2 { display: none; } }

.mv-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; font-weight: 700; }
.mv-crumb li + li::before { content: "／"; margin-right: 4px; }
.mv-crumb a { text-decoration: none; }
.mv-crumb a:hover { text-decoration: underline; }

/* ================================================================
   Activity list filter
   ================================================================ */
.mv-filter { border: var(--mv-line); border-radius: var(--mv-r-lg); padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 40px); background: var(--mv-gray); }
.mv-filter__row { border: 0; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: 12px 24px; min-width: 0; }
.mv-filter__row + .mv-filter__row { margin-top: 20px; padding-top: 20px; border-top: 1.5px dashed var(--mv-ink); }
.mv-filter__label { float: left; width: 88px; padding: 10px 0 0; font-weight: 900; flex-shrink: 0; }
.mv-filter__chips { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .mv-filter__row { flex-direction: column; } .mv-filter__label { float: none; padding: 0; width: auto; } .mv-filter__chips { gap: 8px; } .mv-filter .mv-chip { padding: 0 16px; font-size: 14px; } }
.mv-result { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 28px 0 24px; font-weight: 700; }
.mv-result strong { font-family: var(--mv-maru); font-size: 32px; font-weight: 900; }
.mv-result__reset { font-weight: 700; }
.mv-empty { border: 2px dashed var(--mv-ink); border-radius: var(--mv-r-lg); padding: clamp(32px, 6vw, 64px); text-align: center; display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.mv-empty[hidden] { display: none; }
.mv-empty__title { font-family: var(--mv-maru); font-weight: 900; font-size: 22px; }

/* ================================================================
   Activity detail
   ================================================================ */
.mv-ahero { background: var(--mv-yellow); border-bottom: var(--mv-line); padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.mv-ahero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 24px; }
.mv-ahero__img { border: var(--mv-line); border-radius: var(--mv-r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mv-cream); }
.mv-ahero__img img, .mv-ahero__img .mv-ph { width: 100%; height: 100%; object-fit: cover; }
.mv-ahero__body { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mv-ahero__title { font-size: clamp(30px, 4vw, 52px); }
.mv-ahero__sub { font-family: var(--mv-maru); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); }
.mv-ahero__lead { font-size: 16px; }
@media (max-width: 900px) { .mv-ahero__inner { grid-template-columns: minmax(0, 1fr); } }

.mv-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.mv-detail__side { position: sticky; top: calc(var(--mv-header) + 24px); display: flex; flex-direction: column; gap: 20px; }
.mv-sidebox { border: var(--mv-line); border-radius: var(--mv-r-lg); padding: 28px; background: var(--mv-cream); display: flex; flex-direction: column; gap: 14px; }
.mv-sidebox__title { font-family: var(--mv-maru); font-weight: 900; font-size: 20px; }
.mv-sidebox p:not(.mv-sidebox__title) { font-size: 14px; line-height: 1.8; }
@media (max-width: 960px) { .mv-detail { grid-template-columns: minmax(0, 1fr); } .mv-detail__side { position: static; } }

/* ================================================================
   Prose（本文）
   ================================================================ */
.mv-prose { font-size: 16px; line-height: 2; }
.mv-prose > * + * { margin-top: 1.1em; }
.mv-prose > h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 2.4em; padding-bottom: 12px; border-bottom: var(--mv-line); }
.mv-prose > h3 { font-size: clamp(20px, 2vw, 24px); margin-top: 2em; padding-left: 18px; position: relative; }
.mv-prose > h3::before { content: ""; position: absolute; left: 0; top: .35em; width: 8px; height: 1.1em; border-radius: 4px; background: var(--mv-yellow); box-shadow: 0 0 0 2px var(--mv-ink); }
.mv-prose > h4 { font-size: 19px; margin-top: 2em; }
.mv-prose > :first-child { margin-top: 0; }
.mv-prose > ul, .mv-prose > ol, .mv-box ul { padding-left: 1.5em; }
.mv-prose li + li { margin-top: .3em; }
.mv-prose > img, .mv-prose > p > img, .mv-prose figure img, .mv-prose--post img { border-radius: var(--mv-r-md); border: var(--mv-line); margin: 8px 0; }
.mv-prose > p a, .mv-prose li a, .mv-prose td a { font-weight: 700; }
.mv-prose table { width: 100%; border: var(--mv-line); border-radius: var(--mv-r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 15px; line-height: 1.8; }
.mv-prose th, .mv-prose td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1.5px solid var(--mv-ink); }
.mv-prose tr:last-child > * { border-bottom: 0; }
.mv-prose th { width: 26%; background: var(--mv-cream); font-weight: 700; border-right: 1.5px solid var(--mv-ink); }
.mv-prose td p + p { margin-top: .4em; }
@media (max-width: 640px) { .mv-prose table, .mv-prose tbody, .mv-prose tr, .mv-prose th, .mv-prose td { display: block; width: 100%; } .mv-prose th { border-right: 0; } }
.mv-prose blockquote { margin-left: 0; margin-right: 0; padding: 20px 24px; border-radius: var(--mv-r-md); background: var(--mv-cream); border: var(--mv-line); }
.mv-prose hr { border: 0; border-top: 1.5px dashed var(--mv-ink); margin: 3em 0; }
.mv-prose .wp-block-image, .mv-prose figure { margin-left: 0; margin-right: 0; }
.mv-prose .aligncenter { margin-left: auto; margin-right: auto; }
.mv-prose .mv-grid3, .mv-prose .mv-btnrow { margin-top: 32px; }

/* 活動詳細の本文：h4（旧サイトの小見出し）をブロック見出しに */
.mv-prose--activity > h4 { display: flex; align-items: center; gap: 12px; margin-top: 2.2em; padding: 10px 18px; border-radius: 12px; background: var(--mv-yellow); font-size: 18px; }
.mv-prose--activity h4 + p, .mv-prose--activity h4 + ul { margin-top: .9em; }
.mv-prose--activity > div:first-child { font-size: 17px; font-weight: 500; padding: 24px 28px; border: var(--mv-line); border-radius: var(--mv-r-lg); background: var(--mv-cream); }
.mv-prose--activity > div:first-child p + p { margin-top: .6em; }

/* 固定ページ用パーツ */
.mv-lead { font-size: clamp(16px, 1.5vw, 18px); font-weight: 500; }
.mv-box { padding: clamp(20px, 3vw, 32px); border: var(--mv-line); border-radius: var(--mv-r-lg); background: var(--mv-cream); }
.mv-box--yellow { background: var(--mv-yellow); }
.mv-box > * + * { margin-top: .8em; }
.mv-price { font-family: var(--mv-maru); font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); }
.mv-flow { list-style: none; padding: 0 !important; counter-reset: flow; display: grid; gap: 12px; }
.mv-flow li { counter-increment: flow; position: relative; padding: 18px 20px 18px 76px; border: var(--mv-line); border-radius: var(--mv-r-md); background: var(--mv-white); margin: 0 !important; }
.mv-flow li::before { content: counter(flow, decimal-leading-zero); position: absolute; left: 18px; top: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--mv-yellow); border: var(--mv-line); display: flex; align-items: center; justify-content: center; font-family: var(--mv-en); font-weight: 800; font-size: 15px; }
.mv-flow strong { display: block; font-family: var(--mv-maru); font-size: 17px; }
.mv-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0 !important; list-style: none; }
.mv-offices li { margin: 0 !important; padding: 24px; border: var(--mv-line); border-radius: var(--mv-r-lg); background: var(--mv-white); }
.mv-offices h3 { margin: 0 0 8px !important; }
.mv-offices p { font-size: 14px; line-height: 1.8; }
.mv-offices p + p { margin-top: 8px; }
@media (max-width: 760px) { .mv-offices { grid-template-columns: minmax(0, 1fr); } }
.mv-access-embed .mv-offices { margin-top: 24px; }

/* 投稿 */
.mv-post-eye { margin: 0 0 32px; border: var(--mv-line); border-radius: var(--mv-r-lg); overflow: hidden; }
.mv-post-eye img { width: 100%; }
.mv-postnav { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1.5px dashed var(--mv-ink); font-weight: 700; font-size: 14px; }
.mv-postnav div:last-child { text-align: right; }
.mv-chips--nav { margin-bottom: 32px; }
.mv-pager { margin-top: 48px; }
.mv-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mv-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: var(--mv-line); font-weight: 700; text-decoration: none; background: var(--mv-white); }
.mv-pager .page-numbers.current { background: var(--mv-ink); color: var(--mv-white); }

/* WordPress 標準 */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--mv-muted); margin-top: 8px; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

/* 調整 */
.mv-ahero .mv-tags li { background: var(--mv-white); border: 1.5px solid var(--mv-ink); }
.mv-prose--activity > p + p { margin-top: .35em; }
.mv-prose--post p + p { margin-top: .8em; }
.mv-container--narrow .mv-prose .mv-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .mv-container--narrow .mv-prose .mv-grid3 { grid-template-columns: minmax(0, 1fr); } }
.mv-offices h3 { font-size: 18px; }

/* ロゴ＋「大学生ボランティア募集サイト」 */
.mv-brand__inner { display: flex; align-items: center; gap: 16px; }
.mv-brand .mv-brand__logo { height: 50px; width: auto; max-height: none; }
.mv-brand__label { display: flex; flex-direction: column; justify-content: center; padding-left: 16px; border-left: 2px solid var(--mv-ink); line-height: 1.3; font-family: var(--mv-maru); font-weight: 900; }
.mv-brand__label-main { font-size: 17px; letter-spacing: .04em; }
.mv-brand__label-sub { align-self: flex-start; margin-top: 3px; padding: 1px 10px; border-radius: 999px; background: var(--mv-yellow); font-size: 12px; letter-spacing: .08em; }
.mv-brand--footer .mv-brand__logo { height: 56px; }
.mv-footer__orgname { font-weight: 700; font-size: 15px; }
@media (max-width: 1239px) {
	.mv-brand .mv-brand__logo { height: 36px; }
	.mv-brand__inner { gap: 10px; }
	.mv-brand__label { padding-left: 10px; }
	.mv-brand__label-main { font-size: 13px; }
	.mv-brand__label-sub { font-size: 10px; padding: 0 8px; }
}
@media (max-width: 380px) {
	.mv-brand .mv-brand__logo { height: 30px; }
	.mv-brand__label-main { font-size: 12px; }
}
.mv-voice__img { background: var(--mv-white); width: 88px; height: 88px; }
.mv-voice__img img { object-position: center 20%; }

/* 掲載日・開催日 */
.mv-date { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mv-date__label { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 6px; background: var(--mv-gray); border: 1px solid #c9c9c9; font-family: var(--mv-font); font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.mv-date__value { font-family: var(--mv-en); font-weight: 700; }
.mv-date--event .mv-date__label { background: var(--mv-yellow); border-color: var(--mv-ink); }
.mv-date--event .mv-date__value { font-family: var(--mv-font); font-weight: 900; }
.mv-news__dates { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mv-news__item a { grid-template-columns: 170px auto 1fr auto; }
.mv-pcard__meta { gap: 8px 12px; }
.mv-pagehero--post .mv-date__label { background: var(--mv-white); }
.mv-pagehero--post .mv-date--event .mv-date__label { background: var(--mv-ink); color: var(--mv-white); }
@media (max-width: 640px) { .mv-news__item a { grid-template-columns: 1fr auto; } .mv-news__dates { flex-direction: row; flex-wrap: wrap; gap: 6px 12px; } }
.mv-date { white-space: normal; flex-wrap: wrap; row-gap: 2px; }
.mv-date__label { white-space: nowrap; flex-shrink: 0; }
.mv-news__item a { grid-template-columns: minmax(0, 290px) auto 1fr auto; column-gap: 20px; }
.mv-news__dates { min-width: 0; }
.mv-pcard__meta .mv-date { max-width: 100%; }
@media (max-width: 900px) { .mv-news__item a { grid-template-columns: minmax(0, 1fr) auto; } .mv-news__title { grid-column: 1 / -1; } .mv-news__item .mv-icon--arrow { display: none; } }
@media (max-width: 640px) { .mv-news__item a { grid-template-columns: minmax(0, 1fr) auto; } .mv-news__dates { flex-direction: column; } }

/* ヘッダー：パソコン幅でメニューがはみ出さないよう段階的に詰める */
.mv-header__inner { max-width: none; gap: 20px; }
.mv-nav { min-width: 0; }
.mv-nav__list li { flex-shrink: 0; }
@media (min-width: 1240px) and (max-width: 1439px) {
	.mv-header__inner { padding: 0 24px; }
	.mv-nav, .mv-nav__list { gap: 18px; }
	.mv-nav__list a { font-size: 14px; }
	.mv-nav__cta { min-height: 44px; padding: 0 18px; font-size: 14px; }
	.mv-brand .mv-brand__logo { height: 42px; }
	.mv-brand__inner { gap: 12px; }
	.mv-brand__label { padding-left: 12px; }
	.mv-brand__label-main { font-size: 15px; }
	.mv-brand__label-sub { font-size: 11px; }
}
@media (min-width: 1240px) and (max-width: 1319px) {
	.mv-nav, .mv-nav__list { gap: 14px; }
	.mv-nav__list a { font-size: 13px; }
	.mv-nav__cta .mv-icon { display: none; }
}
