/* ========================================
Mayumi Branding Override CSS
======================================== */

/* --- Reset Layout --- */

body {
  background: #ffffff !important;
  font-family: "Noto Sans JP", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #222 !important;
}

/* 幅制限解除 */
#container,
.layout-one-column #container {
  width: auto !important;
  max-width: 1080px;
  margin: 0 auto;
}

/* 内部余白 */
#alpha-inner {
  padding: 30px 20px !important;
}

/* --- Banner Override --- */

#banner {
  background: #ffffff !important;
  color: #222 !important;
  border-bottom: 3px solid #b7412e !important;
}

/* 旧スタイル無効化 */
#banner-header,
#banner-description {
  display: none;
}

/* --- Typography --- */

a {
  color: #b7412e !important;
  text-decoration: none !important;
}

a:hover {
  color: #8f3324 !important;
}

/* 見出し */
h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
  border-left: 4px solid #b7412e;
  padding-left: 10px;
}

h3 {
  font-size: 18px;
}

/* --- Entry (ブログ感除去) --- */

.entry {
  border-bottom: 1px solid #e5e5e5 !important;
  margin-bottom: 40px !important;
  padding-bottom: 20px !important;
}

.entry-header {
  font-size: 20px !important;
}

/* --- 不要モジュール無効化 --- */

.module-calendar,
.module-powered,
.module-archives,
.module-categories {
  display: none !important;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  #container {
    padding: 0 10px;
}
}

/* ========================================
Site Header / Branding
======================================== */

.site-header {
  background: #ffffff !important;
  border-bottom: 3px solid #b7412e !important;
}

.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 18px;
}

.site-brand {
  margin-bottom: 18px;
}

.site-label {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7412e;
  font-weight: 600;
}

.site-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
}

.site-title a {
  color: #222222 !important;
  text-decoration: none !important;
}

.site-title a:hover {
  color: #b7412e !important;
}

.site-description {
  margin: 8px 0 0;
  color: #666666;
  font-size: 15px;
}

.global-nav {
  border-top: 1px solid #eee2d4;
  padding-top: 12px;
}

.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.global-nav li {
  margin: 0;
  padding: 0;
}

.global-nav a {
  color: #333333 !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
}

.global-nav a:hover {
  color: #b7412e !important;
}

@media (max-width: 640px) {
  .site-header-inner {
    padding: 22px 18px 16px;
}

.site-title {
  font-size: 26px;
}

.global-nav ul {
  gap: 12px 16px;
}

.global-nav a {
  font-size: 14px;
}
}

/* ========================================
Top Page
======================================== */

.hero-section {
  background: #fff4e6;
  border-left: 6px solid #b7412e;
  padding: 36px 34px;
  margin: 20px 0 34px;
}

.hero-label {
  margin: 0 0 10px;
  color: #b7412e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-section h2 {
  margin: 0 0 16px;
  border-left: none;
  padding-left: 0;
  font-size: 26px;
  line-height: 1.5;
}

.hero-section p {
  margin: 0;
  font-size: 16px;
}

.top-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 42px;
}

.top-card {
  display: block;
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid #eee2d4;
  border-top: 4px solid #b7412e;
  text-decoration: none !important;
}

.top-card:hover {
  background: #fff9f1;
}

.top-card span {
  display: block;
  margin-bottom: 6px;
  color: #b7412e;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-card strong {
  display: block;
  margin-bottom: 8px;
  color: #222222;
  font-size: 20px;
}

.top-card p {
  margin: 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
}

.latest-news {
  margin: 36px 0 20px;
}

.latest-news h2 {
  margin-bottom: 18px;
}

.news-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 14px 0;
}

.news-date {
  margin: 0 0 4px;
  color: #777777;
  font-size: 13px;
}

.news-item h3 {
  margin: 0;
  font-size: 17px;
}

@media (max-width: 900px) {
  .top-links {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 640px) {
  .hero-section {
    padding: 26px 22px;
}

.hero-section h2 {
  font-size: 21px;
}

.top-links {
  grid-template-columns: 1fr;
}
}

/* Homeのカード：3列×2段 */
.top-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* スマートフォンでは1列 */
@media screen and (max-width: 600px) {
  .top-links {
    grid-template-columns: 1fr;
}
}

#mm-home {color:#191719;background:#fff;font:normal 16px/1.85 "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;max-width:1250px;margin:auto;}
#mm-home * {box-sizing:border-box;}
#mm-home a {color:#76152e;text-decoration:underline;text-underline-offset:.2em;}
#mm-home a:focus-visible {outline:3px solid #a93e12;outline-offset:3px;}
#mm-home header,#mm-home footer,#mm-home nav,#mm-home .actions {display:flex;flex-wrap:wrap;align-items:center;gap:.6em 1.3em;}
#mm-home header,#mm-home footer {justify-content:space-between;padding:1em 4%;border-block:1px solid #ddc5c5;}
#mm-home .wordmark {font:600 1.7em Georgia,serif;text-decoration:none;}
#mm-home .hero {display:flex;flex-wrap:wrap;background:#fff;}
#mm-home .intro {flex:1 1 20em;padding:clamp(1.3em,4vw,3.2em);}
#mm-home .visual {flex:1 1 18em;min-height:10em;background:#fff6ef url("/home/waves-akane.jpg") center/cover no-repeat;}
#mm-home h1,#mm-home h2,#mm-home h3 {color:#191719;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:700;line-height:1.45;background:transparent;border:0;padding:0;margin:0 0 .5em;}
#mm-home h1 {font-size:clamp(2.3em,5vw,4.6em);line-height:1.28;}
#mm-home h2 {font-size:clamp(1.6em,3vw,2.6em);}
#mm-home h3 {font-size:1.35em;}
#mm-home p {margin:0 0 1em;}
#mm-home .eyebrow {font-weight:600;}
#mm-home .eyebrow span {display:inline-block;width:2em;margin:0 .65em;vertical-align:middle;border-top:1px solid #ae421b;}
#mm-home .lead-en {line-height:1.5;}
#mm-home .editions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7em;max-width:20em;}
#mm-home .button {display:inline-block;background:#76152e;color:white;text-align:center;font-weight:600;text-decoration:none;padding:.65em 1em;}
#mm-home .button:hover {background:#570f23;}
#mm-home .profile,#mm-home .chapter,#mm-home .media,#mm-home .reach {padding:clamp(1.5em,4vw,3em) 4%;}
#mm-home .profile {background:#fffafa;}
#mm-home .media {background:#fff6ee;}
#mm-home .bio,#mm-home .reach,#mm-home .columns {display:flex;flex-wrap:wrap;gap:1em 4%;}
#mm-home .bio>div:first-child,#mm-home .reach>div:first-child {flex:1 1 15em;}
#mm-home .bio>div:last-child,#mm-home .reach>div:last-child {flex:2 1 23em;}
#mm-home .columns article {flex:1 1 19em;border-top:2px solid #76152e;padding-top:1em;}
#mm-home .kicker {font:italic 1.06em Georgia,serif;color:#76152e;margin:0 0 .55em;}
#mm-home .resources {padding:0;margin:1em 0;list-style:none;}
#mm-home .resources li {border-bottom:1px solid #ddc5c5;padding:.45em 0;}

#mm-home a.button {
  color: #fff !important;
}

/* 新しいHOMEを表示するときだけ、コピー元の共通ヘッダーを隠す */
#container-inner:has(#mm-home) > .site-header {
  display: none;
}

/* 左上に表示されるウェブページタイトル「HOME」を非表示にする */
#entry-60105255 > h3.entry-header {
  display: none;
}

#mm-home .intro {
  container-type: inline-size;
}

#mm-home #mm-hero-title {
  font-size: min(4.6rem, 9.5cqi);
  white-space: nowrap;
}
