@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

[data-template="custom-murayama"] {
  --mu-primary: #494087;
  --mu-bg: #ffffff;
  --mu-text: #1a1a2e;
  --mu-gray: #f4f4f8;

  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 21px;
  background: var(--mu-bg);
  color: var(--mu-text);
  line-height: 1.6;
}

/* ════════════════════════════════
   スクロールアニメーション
════════════════════════════════ */
[data-template="custom-murayama"] [data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-template="custom-murayama"] [data-animate][data-delay="1"] {
  transition-delay: 0.1s;
}
[data-template="custom-murayama"] [data-animate][data-delay="2"] {
  transition-delay: 0.2s;
}
[data-template="custom-murayama"] [data-animate][data-delay="3"] {
  transition-delay: 0.3s;
}
[data-template="custom-murayama"] [data-animate].mu-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════
   アニメーション
════════════════════════════════ */
@keyframes mu-fadein {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════
   ヘッダー
════════════════════════════════ */
[data-template="custom-murayama"] .mu-header {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 2.5em 0 2em;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1em;
}
[data-template="custom-murayama"] .mu-logo {
  font-size: 1.05em;
  font-weight: 900;
  color: var(--mu-primary);
  white-space: nowrap;
  letter-spacing: 0.02em;
  animation: mu-fadein 0.7s ease both;
  display: flex;
  align-items: center;
}
[data-template="custom-murayama"] .mu-logo-icon-slot {
  display: inline-block;
  width: 0;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-template="custom-murayama"] .mu-hero-fly {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
[data-template="custom-murayama"] .mu-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0;
}
[data-template="custom-murayama"] .mu-nav-item {
  display: flex;
  align-items: center;
  gap: 0.18em;
  font-size: 0.63em;
  font-weight: 700;
  color: var(--mu-text);
  padding: 0.3em 0.3em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s, transform 0.18s;
  animation: mu-fadein 0.7s ease both;
}
[data-template="custom-murayama"] .mu-nav-item:nth-child(1) { animation-delay: 0.05s; }
[data-template="custom-murayama"] .mu-nav-item:nth-child(2) { animation-delay: 0.12s; }
[data-template="custom-murayama"] .mu-nav-item:nth-child(3) { animation-delay: 0.19s; }
[data-template="custom-murayama"] .mu-nav-item:nth-child(4) { animation-delay: 0.26s; }
[data-template="custom-murayama"] .mu-nav-item:nth-child(5) { animation-delay: 0.33s; }
[data-template="custom-murayama"] .mu-nav-item:nth-child(6) { animation-delay: 0.40s; }
[data-template="custom-murayama"] .mu-nav-item:hover {
  color: var(--mu-primary);
  transform: translateX(3px);
}
[data-template="custom-murayama"] .mu-nav-item:active {
  transform: translateX(3px) scale(0.95);
  opacity: 0.8;
}
[data-template="custom-murayama"] .mu-nav-arrow {
  color: var(--mu-primary);
  font-size: 0.66em;
  line-height: 1;
}
[data-template="custom-murayama"] .mu-index-btn {
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22em;
  background: none;
  border: none;
  padding: 0.2em 0.4em;
}
[data-template="custom-murayama"] .mu-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
[data-template="custom-murayama"] .mu-hamburger span {
  display: block;
  width: 34px;
  height: 3px;
  background: var(--mu-primary);
  border-radius: 1px;
}
[data-template="custom-murayama"] .mu-index-label {
  font-size: 0.52em;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--mu-primary);
  line-height: 1;
}

/* ════════════════════════════════
   ヒーロー
════════════════════════════════ */
[data-template="custom-murayama"] .mu-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5em 1em 3em;
  background: #fff;
  position: relative;
}
[data-template="custom-murayama"] .mu-hero-logo-wrap {
  position: relative;
  /* 横幅と縦の余裕の両方で小さい方に合わせる */
  width: min(70vw, calc(100vh - 220px));
  height: min(70vw, calc(100vh - 220px));
  max-width: 600px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
}
/* 縦が特に短いPC（ノートPC等）向け */
@media (max-height: 750px) and (min-width: 681px) {
  [data-template="custom-murayama"] .mu-hero { padding: 1.5em 1em; }
}
[data-template="custom-murayama"] .mu-hero-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: mu-spin 35s linear infinite;
}
@keyframes mu-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
[data-template="custom-murayama"] .mu-hero-core {
  position: absolute;
  width: 50%;
  height: 50%;
  object-fit: contain;
  animation: mu-s-flip 5s ease-in-out infinite;
}
@keyframes mu-s-flip {
  0%   { transform: rotateY(0deg); }
  20%  { transform: rotateY(360deg); }
  100% { transform: rotateY(360deg); }
}
[data-template="custom-murayama"] .mu-chat-fab-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* ════════════════════════════════
   セクション共通
════════════════════════════════ */
[data-template="custom-murayama"] .mu-section {
  padding: 1.1em 1.8em;
  width: 80%;
  margin: 0 auto;
}

/* セクション見出し：テキスト + 右延伸ライン */
[data-template="custom-murayama"] .mu-section-heading {
  display: flex;
  align-items: center;
  margin-bottom: 1.4em;
}
[data-template="custom-murayama"] .mu-section-heading-text {
  font-size: 1.15em;
  font-weight: 900;
  letter-spacing: 0.55em;
  color: var(--mu-primary);
  white-space: nowrap;
  padding-right: 0.6em;
}
[data-template="custom-murayama"] .mu-section-heading-line {
  flex: 1;
  height: 2px;
  background: var(--mu-primary);
}

/* ════════════════════════════════
   お知らせ
════════════════════════════════ */
[data-template="custom-murayama"] .mu-tabs {
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin-bottom: 0.9em;
  flex-wrap: wrap;
}
[data-template="custom-murayama"] .mu-tab {
  padding: 0.5em 1.1em;
  font-size: 0.63em;
  font-weight: 700;
  font-family: "Zen Maru Gothic", sans-serif;
  border: 1.5px solid #b0b5d8;
  background: #fff;
  color: var(--mu-text);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}
[data-template="custom-murayama"] .mu-tab.active {
  background: #494087;
  color: #fff;
  border-color: #494087;
}
[data-template="custom-murayama"] .mu-tab:hover:not(.active) {
  background: var(--mu-gray);
}
[data-template="custom-murayama"] .mu-view-toggle {
  margin-left: auto;
  display: flex;
  gap: 0.6em;
}
[data-template="custom-murayama"] .mu-view-toggle button { padding: 0; border: 0; background: transparent; color: #888; cursor: pointer; font-family: inherit; font-size: 0.68em; font-weight: 700; }
[data-template="custom-murayama"] .mu-view-toggle button.active { color: var(--mu-primary); }

/* 記事ボックス */
[data-template="custom-murayama"] .mu-posts-box {
  border: 1.5px solid #c8cce8;
  border-radius: 4px;
  padding: 0 1.1em;
  max-height: 22em;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c8cce8 transparent;
}
[data-template="custom-murayama"] .mu-post-row {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.72em 0;
  border-bottom: 1px solid #e8eaf4;
  font-size: 0.82em;
  font-weight: 500;
  text-decoration: none;
  color: var(--mu-text);
  transition: color 0.15s;
}
[data-template="custom-murayama"] .mu-post-row:last-child { border-bottom: none; }
[data-template="custom-murayama"] .mu-post-row:hover { color: var(--mu-primary); }
[data-template="custom-murayama"] .mu-post-arrow {
  color: var(--mu-primary);
  font-size: 0.64em;
  flex-shrink: 0;
  line-height: 1;
}
[data-template="custom-murayama"] .mu-post-date {
  color: #555;
  white-space: nowrap;
  font-size: 0.78em;
  font-weight: 400;
  letter-spacing: 0.02em;
}
[data-template="custom-murayama"] .mu-more-link {
  display: block;
  text-align: right;
  font-size: 0.75em;
  color: var(--mu-primary);
  margin-top: 0.7em;
  text-decoration: none;
  font-weight: 500;
}
[data-template="custom-murayama"] .mu-more-link:hover { text-decoration: underline; }
[data-template="custom-murayama"] .mu-no-posts {
  padding: 2em;
  text-align: center;
  color: #aaa;
  font-size: 0.8em;
}
[data-template="custom-murayama"] .mu-home-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8em; max-height: 26em; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c8cce8 transparent; }
[data-template="custom-murayama"] .mu-home-gallery-card { display: flex; flex-direction: column; min-height: 8.8em; padding: 1em; border: 1.5px solid #c8cce8; border-radius: 4px; background: #fff; color: var(--mu-text); text-decoration: none; transition: transform .18s, box-shadow .18s; }
[data-template="custom-murayama"] .mu-home-gallery-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(73, 64, 135, .14); }
[data-template="custom-murayama"] .mu-home-gallery-icon { display: grid; place-items: center; height: 3em; color: var(--mu-primary); font-size: 1.1em; }
[data-template="custom-murayama"] .mu-home-gallery-title { display: -webkit-box; overflow: hidden; font-size: .72em; font-weight: 900; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
[data-template="custom-murayama"] .mu-home-gallery-date { margin-top: auto; padding-top: .7em; color: #777; font-size: .6em; }

/* ════════════════════════════════
   目的別に探す
════════════════════════════════ */
[data-template="custom-murayama"] .mu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6em;
}
[data-template="custom-murayama"] .mu-card {
  display: flex;
  align-items: center;
  padding: 1.1em 2.25em 1.1em 1.25em;
  border-top:    1px solid var(--mu-primary);
  border-right:  1px solid var(--mu-primary);
  border-bottom: 1px solid var(--mu-primary);
  border-left:   5px solid var(--mu-primary);
  border-radius: 4px;
  background: #fff;
  font-size: 0.88em;
  font-weight: 700;
  color: var(--mu-text);
  text-decoration: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
[data-template="custom-murayama"] .mu-card:hover {
  background: #eef0f8;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(73, 64, 135, 0.14);
}
[data-template="custom-murayama"] .mu-card:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
  background: #e0e3f4;
}

/* ════════════════════════════════
   AI チャット FAB
════════════════════════════════ */
[data-template="custom-murayama"] .mu-chat-fab {
  position: fixed;
  top: 80px;
  right: 2.1em;
  z-index: 200;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18em;
}
[data-template="custom-murayama"] .mu-chat-fab:hover {
  transform: scale(1.06);
}
[data-template="custom-murayama"] .mu-chat-fab-circle {
  width: 69px;
  height: 69px;
  border-radius: 50%;
  background: var(--mu-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(73, 64, 135, 0.45);
}
[data-template="custom-murayama"] .mu-chat-fab-label {
  font-size: 0.62em;
  font-weight: 700;
  color: var(--mu-primary);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ════════════════════════════════
   ドロワーメニュー
════════════════════════════════ */
[data-template="custom-murayama"] .mu-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.25s;
}
[data-template="custom-murayama"] .mu-drawer-overlay.open {
  display: block;
  opacity: 1;
}
[data-template="custom-murayama"] .mu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100dvh;
  background: #fff;
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(73, 64, 135, 0.18);
  display: flex;
  flex-direction: column;
}
[data-template="custom-murayama"] .mu-drawer.open {
  transform: translateX(0);
}
[data-template="custom-murayama"] .mu-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2em 1.4em;
  border-bottom: 2px solid var(--mu-primary);
  flex-shrink: 0;
}
[data-template="custom-murayama"] .mu-drawer-title {
  font-size: 0.75em;
  font-weight: 900;
  letter-spacing: 0.25em;
  color: var(--mu-primary);
}
[data-template="custom-murayama"] .mu-drawer-close {
  width: 32px;
  height: 32px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
[data-template="custom-murayama"] .mu-drawer-close span {
  display: block;
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--mu-primary);
  top: 50%;
  left: 50%;
}
[data-template="custom-murayama"] .mu-drawer-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
[data-template="custom-murayama"] .mu-drawer-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
[data-template="custom-murayama"] .mu-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0.6em 0 2em;
  flex: 1;
}
[data-template="custom-murayama"] .mu-drawer-item {
  border-bottom: 1px solid #eceef8;
}
[data-template="custom-murayama"] .mu-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.4em;
  font-size: 0.82em;
  font-weight: 700;
  color: var(--mu-text);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
[data-template="custom-murayama"] .mu-drawer-link:hover {
  color: var(--mu-primary);
  background: #f5f5fb;
}
[data-template="custom-murayama"] .mu-drawer-arrow {
  color: var(--mu-primary);
  font-size: 0.72em;
  flex-shrink: 0;
}
[data-template="custom-murayama"] .mu-drawer-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5em;
  background: #f8f8fd;
}
[data-template="custom-murayama"] .mu-drawer-sub-link {
  display: flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.55em 1.4em 0.55em 2.2em;
  font-size: 0.76em;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: color 0.15s;
}
[data-template="custom-murayama"] .mu-drawer-sub-link:hover {
  color: var(--mu-primary);
}
[data-template="custom-murayama"] .mu-drawer-dot {
  color: var(--mu-primary);
  font-size: 1em;
  flex-shrink: 0;
}

/* ════════════════════════════════
   PC（681px以上）：ヘッダー文字
════════════════════════════════ */
@media (min-width: 681px) {
  [data-template="custom-murayama"] .mu-logo     { font-size: 1.48em; }
  [data-template="custom-murayama"] .mu-nav-item { font-size: 0.86em; }
}

/* ════════════════════════════════
   ページ下部の余白（FABと重ならないよう）
════════════════════════════════ */
[data-template="custom-murayama"] .mu-page-footer {
  height: 5em;
}

/* ════════════════════════════════
   第二階層ページ（お問い合わせ / お知らせ）
════════════════════════════════ */
[data-template="custom-murayama"].mu-subpage-shell { min-height: 100vh; }
[data-template="custom-murayama"] .mu-subpage { min-height: calc(100vh - 80px); }
[data-template="custom-murayama"] .mu-links-body { width: 80%; margin: 1.5em auto 5em; }
[data-template="custom-murayama"] .mu-links-empty { text-align: center; padding: 4em 1em; color: #9090a8; font-size: 0.72em; }
[data-template="custom-murayama"] .mu-subpage-heading { text-align: center; padding: 4.2em 1.5em 1.5em; }
[data-template="custom-murayama"] .mu-subpage-heading p,
[data-template="custom-murayama"] .mu-blog-heading p { margin: 0 0 0.35em; color: var(--mu-primary); font-size: 0.55em; font-weight: 900; letter-spacing: 0.22em; }
[data-template="custom-murayama"] .mu-subpage-heading h1,
[data-template="custom-murayama"] .mu-blog-heading h1 { margin: 0; color: var(--mu-text); font-size: 1.65em; font-weight: 900; letter-spacing: 0.08em; }
[data-template="custom-murayama"] .mu-contact-description { max-width: 560px; margin: 0 auto 1.4em; padding: 0 1.5em; color: #626273; font-size: 0.7em; text-align: center; }
[data-template="custom-murayama"] .mu-contact-form { width: 80%; margin: 1.1em auto 6em; }
[data-template="custom-murayama"] .mu-contact-form form { display: flex; flex-direction: column; gap: 1em; }
[data-template="custom-murayama"] .mu-contact-form form > div { margin: 0 !important; }
[data-template="custom-murayama"] .mu-contact-form label { display: block; margin-bottom: 0.45em; color: var(--mu-text) !important; font-family: inherit; font-size: 0.65em !important; font-weight: 700 !important; }
[data-template="custom-murayama"] .mu-contact-form input:not([type="checkbox"]),
[data-template="custom-murayama"] .mu-contact-form textarea,
[data-template="custom-murayama"] .mu-contact-form select { width: 100%; border: 1px solid #dedee5 !important; border-radius: 13px !important; background: #fff !important; color: var(--mu-text) !important; font-family: inherit; font-size: 0.72em !important; box-shadow: none !important; }
[data-template="custom-murayama"] .mu-contact-form input:not([type="checkbox"]),
[data-template="custom-murayama"] .mu-contact-form select { min-height: 48px; }
[data-template="custom-murayama"] .mu-contact-form textarea { min-height: 148px; }
[data-template="custom-murayama"] .mu-contact-form input:focus,
[data-template="custom-murayama"] .mu-contact-form textarea:focus,
[data-template="custom-murayama"] .mu-contact-form select:focus { border-color: var(--mu-primary) !important; box-shadow: 0 0 0 3px rgba(73, 64, 135, 0.13) !important; }
[data-template="custom-murayama"] .mu-contact-form button[type="submit"] { width: 100%; min-height: 52px; margin-top: 0.25em; border: 0; border-radius: 999px; background: var(--mu-primary) !important; color: #fff !important; font-family: inherit; font-size: 0.72em; font-weight: 900; transition: transform .18s, background .18s; }
[data-template="custom-murayama"] .mu-contact-form button[type="submit"]:hover { background: #38316d !important; transform: translateY(-2px); }
@media (min-width: 681px) {
  [data-template="custom-murayama"] .mu-contact-form form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5em; row-gap: 1em; }
  [data-template="custom-murayama"] .mu-contact-form [data-field-id="message"],
  [data-template="custom-murayama"] .mu-contact-form form > div:not([data-field-id]),
  [data-template="custom-murayama"] .mu-contact-form form > button[type="submit"] { grid-column: 1 / -1; }
}
[data-template="custom-murayama"] .mu-blog-heading { padding: 2.3em 10%; background: #fff; }
[data-template="custom-murayama"] .mu-blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1em; width: 80%; margin: 1.8em auto 0; }
[data-template="custom-murayama"] .mu-blog-purpose-header { width: 80%; margin: 1.8em auto 0; }
[data-template="custom-murayama"] .mu-blog-purpose-back { display: inline-block; margin-bottom: 0.6em; color: var(--mu-primary); font-size: 0.72em; font-weight: 700; text-decoration: none; }
[data-template="custom-murayama"] .mu-blog-purpose-back:hover { text-decoration: underline; }
[data-template="custom-murayama"] .mu-blog-purpose-label { margin: 0; font-size: 1em; font-weight: 900; color: var(--mu-text); border-left: 4px solid var(--mu-primary); padding-left: 0.6em; }
[data-template="custom-murayama"] .mu-blog-purpose-fallback { width: 80%; margin: 1em auto; padding: 0.75em 1em; background: #f8f8fd; border-left: 3px solid #b7b9d8; border-radius: 0 4px 4px 0; font-size: 0.72em; color: #6060758; }
[data-template="custom-murayama"] .mu-blog-tabs { display: flex; flex-wrap: wrap; gap: 0.45em; }
[data-template="custom-murayama"] .mu-blog-tab { min-width: 7em; padding: 0.68em 1.1em; border: 1.5px solid #b7b9d8; border-radius: 4px; background: #fff; color: var(--mu-text); cursor: pointer; font-family: inherit; font-size: 0.68em; font-weight: 900; transition: background .18s, color .18s; }
[data-template="custom-murayama"] .mu-blog-tab:hover { background: #f7f7fb; }
[data-template="custom-murayama"] .mu-blog-tab.active { border-color: var(--mu-primary); background: var(--mu-primary); color: #fff; }
[data-template="custom-murayama"] .mu-view-switch { display: flex; flex-shrink: 0; gap: 0.7em; color: #898994; }
[data-template="custom-murayama"] .mu-view-switch button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-family: inherit; font-size: 0.62em; font-weight: 700; }
[data-template="custom-murayama"] .mu-view-switch button.active { color: var(--mu-primary); }
[data-template="custom-murayama"] .mu-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15em; width: 80%; margin: 1.2em auto 5em; }
[data-template="custom-murayama"] .mu-blog-grid.mu-blog-list { display: block; border: 1.5px solid #c8cce8; border-radius: 4px; overflow: hidden; }
[data-template="custom-murayama"] .mu-blog-card { overflow: hidden; border: 1px solid #e0e0e6; border-radius: 16px; background: #fff; color: var(--mu-text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
[data-template="custom-murayama"] .mu-blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(55, 48, 105, .13); }
[data-template="custom-murayama"] .mu-blog-card-image { position: relative; display: grid; min-height: 7.25em; place-items: center; overflow: hidden; background: #fff; font-size: 1.2em; }
[data-template="custom-murayama"] .mu-blog-card-body { padding: 0.85em; }
[data-template="custom-murayama"] .mu-blog-category { display: inline-block; margin-bottom: 0.55em; padding: 0.18em 0.55em; border-radius: 999px; background: #eeefff; color: var(--mu-primary); font-size: 0.53em; font-weight: 700; }
[data-template="custom-murayama"] .mu-blog-card h2 { display: -webkit-box; margin: 0 0 0.5em; overflow: hidden; font-size: 0.72em; font-weight: 900; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
[data-template="custom-murayama"] .mu-blog-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #5e5e69; font-size: 0.6em; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
[data-template="custom-murayama"] .mu-blog-card time { display: block; margin-top: 0.8em; color: #8c8c9a; font-size: 0.55em; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card { display: grid; grid-template-columns: auto 8.5em 1fr; align-items: center; min-height: 3.2em; border: 0; border-bottom: 1px solid #e2e4ee; border-radius: 0; box-shadow: none; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card:last-child { border-bottom: 0; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card::before { content: '▶'; padding-left: 1.15em; color: var(--mu-primary); font-size: 0.58em; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card:hover { transform: none; box-shadow: none; background: #fafaff; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card-image { display: none; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card-body { display: contents; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-category,
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card p { display: none; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card h2 { grid-column: 3; grid-row: 1; display: block; margin: 0; overflow: visible; font-size: 0.74em; white-space: nowrap; -webkit-line-clamp: unset; }
[data-template="custom-murayama"] .mu-blog-list .mu-blog-card time { grid-column: 2; grid-row: 1; margin: 0; color: #777; font-size: 0.62em; }
[data-template="custom-murayama"] .mu-blog-empty { margin: 4em auto; color: #747482; text-align: center; font-size: 0.75em; }
[data-template="custom-murayama"] .mu-blog-pager { display: flex; justify-content: center; align-items: center; gap: 1em; margin: -2.5em 0 5em; color: var(--mu-primary); font-size: 0.65em; font-weight: 700; }
[data-template="custom-murayama"] .mu-blog-pager a { color: var(--mu-primary); text-decoration: none; }
[data-template="custom-murayama"] .mu-generator-lead { max-width: 42em; margin: 0 auto 1.8em; padding: 0 1.5em; color: #626273; font-size: .7em; text-align: center; }
[data-template="custom-murayama"] .mu-faq-generator,
[data-template="custom-murayama"] .mu-calendar-generator { --color-brand: var(--mu-primary); --color-brand-light: #eeefff; --color-border: #dedee8; --color-surface: #fff; --color-surface-muted: #f8f8fc; --color-bg: #fff; --color-text-primary: var(--mu-text); --color-text-secondary: #5e5e69; --color-text-muted: #858590; width: 80%; margin: 0 auto 5em; }
[data-template="custom-murayama"] .mu-faq-tabs { display: flex; flex-wrap: wrap; gap: .45em; margin-bottom: 1.2em; }
[data-template="custom-murayama"] .mu-faq-tab { min-width: 7em; padding: .68em 1.1em; border: 1.5px solid #b7b9d8; border-radius: 4px; background: #fff; color: var(--mu-text); cursor: pointer; font-family: inherit; font-size: .68em; font-weight: 900; transition: background .18s, color .18s; }
[data-template="custom-murayama"] .mu-faq-tab:hover { background: #f7f7fb; }
[data-template="custom-murayama"] .mu-faq-tab.active { border-color: var(--mu-primary); background: var(--mu-primary); color: #fff; }
[data-template="custom-murayama"] .mu-faq-generator details { border-color: #dedee8 !important; border-radius: 5px !important; }
[data-template="custom-murayama"] .mu-faq-generator summary { padding: 1em 1.2em !important; }
[data-template="custom-murayama"] .mu-faq-generator .faq-answer { font-family: inherit; }
[data-template="custom-murayama"] .mu-faq-empty { padding: 2.6em; border: 1px solid #dedee8; border-radius: 5px; color: #858590; font-size: .72em; text-align: center; }
[data-template="custom-murayama"] .mu-calendar-generator > div > div:first-child { border-color: #dedee8 !important; border-radius: 5px !important; }
[data-template="custom-murayama"] .mu-calendar-generator button { font-family: inherit; }
@media (min-width: 681px) {
  [data-template="custom-murayama"] .mu-calendar-generator { font-size: calc(1em + 3px); }
}
[data-template="custom-murayama"] .mu-profile-content { --color-brand: var(--mu-primary); --color-brand-light: #eeefff; --color-border: #dedee8; --color-surface: #fff; --color-surface-muted: #f8f8fc; --color-bg: #fff; --color-text-primary: var(--mu-text); --color-text-secondary: #5e5e69; --color-text-muted: #858590; width: 80%; margin: 0 auto 5em; }
[data-template="custom-murayama"] .mu-profile-intro { padding: 2.2em 1.5em; border: 1px solid #dedee8; border-radius: 5px; text-align: center; }
[data-template="custom-murayama"] .mu-profile-avatar,
[data-template="custom-murayama"] .mu-profile-symbol { position: relative; display: grid; width: 6.2em; height: 6.2em; margin: 0 auto 1em; place-items: center; overflow: hidden; border: 4px solid var(--mu-primary); border-radius: 50%; background: #eeefff; color: var(--mu-primary); font-size: 1.9em; font-weight: 900; }
[data-template="custom-murayama"] .mu-profile-intro h2 { margin: 0 0 .8em; color: var(--mu-text); font-size: 1.05em; font-weight: 900; }
[data-template="custom-murayama"] .mu-profile-bio { color: #5e5e69; font-size: .72em; line-height: 2; text-align: left; }
[data-template="custom-murayama"] .mu-profile-bio > *:first-child { margin-top: 0; }
[data-template="custom-murayama"] .mu-profile-bio > *:last-child { margin-bottom: 0; }
[data-template="custom-murayama"] .mu-profile-placeholder { margin: 0; color: #626273; font-size: .72em; }
[data-template="custom-murayama"] .mu-profile-links { margin-top: 2em; }
[data-template="custom-murayama"] .mu-profile-links h2 { margin: 0 0 .8em; color: var(--mu-primary); font-size: .62em; font-weight: 900; letter-spacing: .16em; }
[data-template="custom-murayama"] .mu-profile-links a { display: flex; align-items: center; gap: .8em; margin-top: .55em; padding: .85em 1em; border: 1px solid #dedee8; border-radius: 5px; color: var(--mu-text); font-size: .68em; text-decoration: none; transition: background .18s; }
[data-template="custom-murayama"] .mu-profile-links a:hover { background: #fafaff; }
[data-template="custom-murayama"] .mu-profile-link-icon { display: grid; width: 2.2em; height: 2.2em; place-items: center; border-radius: 4px; color: #fff; font-weight: 900; }
[data-template="custom-murayama"] .mu-profile-links a span:nth-child(2) { display: flex; flex: 1; flex-direction: column; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-template="custom-murayama"] .mu-profile-links small { margin-bottom: .2em; color: #858590; font-size: .78em; }
[data-template="custom-murayama"] .mu-profile-links b { color: var(--mu-primary); font-size: 1.1em; }
[data-template="custom-murayama"] .mu-profile-sections { margin: 2em -1.5em; }

/* ════════════════════════════════
   商工会のご案内（カンパニーページ）
════════════════════════════════ */
[data-template="custom-murayama"] .mu-company-wrap {
  width: 80%;
  margin: 0 auto 5em;
}
[data-template="custom-murayama"] .mu-company-section {
  margin-bottom: 3.2em;
}
/* 挨拶：写真 + テキスト横並び */
[data-template="custom-murayama"] .mu-company-greeting {
  display: flex;
  gap: 2.2em;
  align-items: flex-start;
}
[data-template="custom-murayama"] .mu-company-photo {
  flex-shrink: 0;
  width: 19.5em;
  height: 13em;
  border-radius: 4px;
  overflow: hidden;
  background: #eeefff;
}
[data-template="custom-murayama"] .mu-company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-template="custom-murayama"] .mu-company-photo--sym {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mu-primary);
  font-size: 2em;
  font-weight: 900;
}
[data-template="custom-murayama"] .mu-company-greeting-body {
  flex: 1;
  font-size: 0.8em;
  line-height: 2;
  color: #4a4a5e;
}
[data-template="custom-murayama"] .mu-company-greeting-body p { margin: 0 0 0.8em; }

/* 概要テーブル */
[data-template="custom-murayama"] .mu-company-table {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--mu-primary);
}
[data-template="custom-murayama"] .mu-company-row {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid #dde0f0;
  padding: 0.9em 0;
}
[data-template="custom-murayama"] .mu-company-row dt {
  flex-shrink: 0;
  width: 6.5em;
  font-size: 0.72em;
  font-weight: 900;
  color: var(--mu-primary);
  letter-spacing: 0.06em;
  padding-right: 1em;
}
[data-template="custom-murayama"] .mu-company-row dd {
  flex: 1;
  font-size: 0.78em;
  color: var(--mu-text);
  line-height: 1.75;
  margin: 0;
}
[data-template="custom-murayama"] .mu-company-row dd a {
  color: var(--mu-primary);
  text-decoration: none;
}
[data-template="custom-murayama"] .mu-company-row dd a:hover { text-decoration: underline; }

/* アクセスマップ */
[data-template="custom-murayama"] .mu-company-map {
  border: 1.5px solid #dde0f0;
  border-radius: 4px;
  overflow: hidden;
}
[data-template="custom-murayama"] .mu-company-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}
[data-template="custom-murayama"] .mu-company-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.85em 1.1em;
  background: #f8f8fd;
  border-top: 1px solid #dde0f0;
  font-size: 0.73em;
  color: #4a4a5e;
}
[data-template="custom-murayama"] .mu-company-map-footer a {
  color: var(--mu-primary);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
[data-template="custom-murayama"] .mu-company-map-footer a:hover { text-decoration: underline; }
[data-template="custom-murayama"] .mu-company-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  color: #9090a8;
  font-size: 0.72em;
  background: #f4f4f8;
  border-radius: 4px;
}

/* モバイル */
@media (max-width: 680px) {
  [data-template="custom-murayama"] .mu-company-wrap { width: 92%; }
  [data-template="custom-murayama"] .mu-company-greeting { flex-direction: column; align-items: center; }
  [data-template="custom-murayama"] .mu-company-photo { width: 100%; height: 16.9em; }
  [data-template="custom-murayama"] .mu-company-row { flex-direction: column; gap: 0.25em; }
  [data-template="custom-murayama"] .mu-company-row dt { width: auto; }
  [data-template="custom-murayama"] .mu-company-map iframe { height: 260px; }
  [data-template="custom-murayama"] .mu-company-map-footer { flex-direction: column; align-items: flex-start; gap: 0.4em; }
}

[data-template="custom-murayama"] .mu-article-heading { padding: 2.6em 10%; background: #fff; }
[data-template="custom-murayama"] .mu-article-heading nav { display: flex; flex-wrap: wrap; gap: .35em; margin-bottom: 1.35em; color: #858590; font-size: .6em; }
[data-template="custom-murayama"] .mu-article-heading nav a { color: var(--mu-primary); text-decoration: none; }
[data-template="custom-murayama"] .mu-article-category { display: inline-block; margin-bottom: .8em; padding: .2em .65em; border-radius: 999px; background: #eeefff; color: var(--mu-primary); font-size: .58em; font-weight: 900; }
[data-template="custom-murayama"] .mu-article-heading h1 { max-width: 42em; margin: 0; color: var(--mu-text); font-size: 1.55em; font-weight: 900; line-height: 1.55; letter-spacing: .04em; }
[data-template="custom-murayama"] .mu-article-heading time { display: block; margin-top: 1em; color: #858590; font-size: .62em; }
[data-template="custom-murayama"] .mu-article-content { --color-brand: var(--mu-primary); --color-brand-light: #eeefff; --color-border: #dedee8; --color-surface: #fff; --color-surface-muted: #f8f8fc; --color-bg: #fff; --color-text-primary: var(--mu-text); --color-text-secondary: #5e5e69; --color-text-muted: #858590; width: 80%; margin: 2.2em auto 5em; }
[data-template="custom-murayama"] .mu-article-image { overflow: hidden; margin-bottom: 2em; border: 1px solid #dedee8; border-radius: 5px; }
[data-template="custom-murayama"] .mu-article-points { margin-bottom: 2em; padding: 1.25em 1.4em; border: 1px solid #dedee8; border-radius: 5px; background: #fafaff; }
[data-template="custom-murayama"] .mu-article-points h2,
[data-template="custom-murayama"] .mu-article-files h2 { margin: 0 0 .65em; color: var(--mu-primary); font-size: .78em; font-weight: 900; }
[data-template="custom-murayama"] .mu-article-points p { margin: 0; color: #5e5e69; font-size: .7em; line-height: 1.9; white-space: pre-wrap; }
[data-template="custom-murayama"] .mu-article-body { color: var(--mu-text); font-size: .75em; line-height: 2; }
[data-template="custom-murayama"] .mu-article-body h2 { margin-top: 2em; padding-left: .75em; border-left: 4px solid var(--mu-primary); color: var(--mu-text); font-size: 1.35em; }
[data-template="custom-murayama"] .mu-article-body h3 { margin-top: 1.8em; color: var(--mu-primary); font-size: 1.15em; }
[data-template="custom-murayama"] .mu-article-files { margin-top: 2.5em; padding: 1.3em; border: 1px solid #dedee8; border-radius: 5px; background: #fafaff; }
[data-template="custom-murayama"] .mu-article-files ul { display: grid; gap: .6em; margin: 0; padding: 0; list-style: none; }
[data-template="custom-murayama"] .mu-article-files a { display: flex; align-items: center; gap: .8em; padding: .9em; border: 1px solid #dedee8; border-radius: 4px; background: #fff; color: var(--mu-text); font-size: .68em; text-decoration: none; }
[data-template="custom-murayama"] .mu-article-files a > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; min-width: 0; }
[data-template="custom-murayama"] .mu-article-files strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-template="custom-murayama"] .mu-article-files small { margin-top: .25em; color: #858590; }
[data-template="custom-murayama"] .mu-article-files b { color: var(--mu-primary); font-size: .85em; white-space: nowrap; }
[data-template="custom-murayama"] .mu-article-back { display: flex; justify-content: space-between; gap: 1em; margin-top: 3em; padding-top: 1.4em; border-top: 1px solid #dedee8; font-size: .66em; }
[data-template="custom-murayama"] .mu-article-back a { color: var(--mu-primary); text-decoration: none; }

/* ════════════════════════════════
   モバイル
════════════════════════════════ */
@media (max-width: 680px) {
  [data-template="custom-murayama"] {
    font-size: 16px;
  }
  [data-template="custom-murayama"] .mu-nav { display: none; }

  /* ハンバーガーを右上に固定 */
  [data-template="custom-murayama"] .mu-index-btn {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 250;
    background: rgba(255,255,255,0.94);
    padding: 6px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(73,64,135,0.18);
  }

  [data-template="custom-murayama"] .mu-drawer {
    width: min(280px, 72vw);
  }
  [data-template="custom-murayama"] .mu-header {
    height: 60px;
    padding: 0 1.2em;
    padding-right: 5rem; /* MENU ボタン(fixed)との重なり防止 */
  }
  [data-template="custom-murayama"] .mu-logo {
    font-size: 0.92em;
    min-width: 0;
    overflow: hidden;
  }
  [data-template="custom-murayama"] .mu-logo-icon-slot {
    height: 34px;
  }
  [data-template="custom-murayama"] .mu-hero {
    padding: 1.8em 1em 2em;
  }

  [data-template="custom-murayama"] .mu-section {
    width: 92%;
    padding: 0.8em 0;
  }

  [data-template="custom-murayama"] .mu-section-heading-text {
    font-size: 1.05em;
    letter-spacing: 0.35em;
  }

  [data-template="custom-murayama"] .mu-tab {
    padding: 0.38em 0.7em;
    font-size: 0.6em;
  }

  [data-template="custom-murayama"] .mu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4em;
  }
  [data-template="custom-murayama"] .mu-card {
    padding: 0.9em 0.8em 0.9em 0.4em;
    font-size: 0.78em;
  }

  [data-template="custom-murayama"] .mu-posts-box {
    padding: 0 0.7em;
  }
  [data-template="custom-murayama"] .mu-post-row {
    font-size: 0.78em;
    gap: 0.4em 0.5em;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  [data-template="custom-murayama"] .mu-post-title-wrap {
    flex: 0 0 100% !important;
    padding-left: 1.3em;
    margin-top: 0.1em;
  }
  [data-template="custom-murayama"] .mu-home-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.5em; }
  [data-template="custom-murayama"] .mu-home-gallery-card { min-height: 8em; padding: .8em; }

  [data-template="custom-murayama"] .mu-chat-fab-label {
    font-size: 0.7em;
  }
  [data-template="custom-murayama"] .mu-chat-fab {
    top: auto;
    bottom: 1.4em;
  }

  [data-template="custom-murayama"] .mu-subpage { min-height: calc(100vh - 60px); }
  [data-template="custom-murayama"] .mu-subpage-heading { padding: 3.3em 1.25em 1.25em; }
  [data-template="custom-murayama"] .mu-subpage-heading h1,
  [data-template="custom-murayama"] .mu-blog-heading h1 { font-size: 1.5em; }
  [data-template="custom-murayama"] .mu-contact-form { width: 92%; margin-bottom: 5em; }
  [data-template="custom-murayama"] .mu-blog-heading { padding: 2em 1.25em; }
  [data-template="custom-murayama"] .mu-blog-toolbar { align-items: flex-start; flex-direction: column; width: 92%; margin-top: 1.25em; }
  [data-template="custom-murayama"] .mu-blog-tabs { gap: 0.35em; }
  [data-template="custom-murayama"] .mu-blog-tab { flex: 1 1 30%; min-width: 0; padding: 0.62em 0.4em; font-size: 0.64em; }
  [data-template="custom-murayama"] .mu-blog-grid { grid-template-columns: 1fr; gap: 0.85em; width: 92%; margin: 1.5em auto 4.5em; }
  [data-template="custom-murayama"] .mu-blog-card { display: grid; grid-template-columns: 7.4em 1fr; }
  [data-template="custom-murayama"] .mu-blog-card-image { min-height: 100%; }
  [data-template="custom-murayama"] .mu-blog-card-body { padding: 0.8em; }
  [data-template="custom-murayama"] .mu-blog-list .mu-blog-card { grid-template-columns: auto 6.7em minmax(0, 1fr); min-height: 4.1em; }
  [data-template="custom-murayama"] .mu-blog-list .mu-blog-card::before { padding-left: 0.85em; }
  [data-template="custom-murayama"] .mu-blog-list .mu-blog-card h2 { overflow: hidden; font-size: 0.68em; text-overflow: ellipsis; }
  [data-template="custom-murayama"] .mu-blog-list .mu-blog-card time { font-size: 0.55em; }
  [data-template="custom-murayama"] .mu-faq-generator,
  [data-template="custom-murayama"] .mu-calendar-generator,
  [data-template="custom-murayama"] .mu-profile-content,
  [data-template="custom-murayama"] .mu-article-content { width: 92%; margin-bottom: 4em; }
  [data-template="custom-murayama"] .mu-article-heading { padding: 2em 1.25em; }
  [data-template="custom-murayama"] .mu-article-heading h1 { font-size: 1.35em; }
  [data-template="custom-murayama"] .mu-faq-tabs { gap: .35em; }
  [data-template="custom-murayama"] .mu-faq-tab { flex: 1 1 30%; min-width: 0; padding: .62em .4em; font-size: .64em; }
}

/* ════════════════════════════════
   北村山雇用対策協議会ページ
════════════════════════════════ */
[data-template="custom-murayama"] .mu-kotaikyou-body {
  width: 80%;
  margin: 1.5em auto 5em;
  display: flex;
  flex-direction: column;
  gap: 2.5em;
}

[data-template="custom-murayama"] .mu-kotaikyou-section {
  background: var(--mu-gray);
  border-radius: 1em;
  padding: 1.8em 2em;
}

[data-template="custom-murayama"] .mu-kotaikyou-section .mu-kotaikyou-lead {
  font-weight: 700;
  font-size: 28px;
  color: var(--mu-primary);
  margin-bottom: 1em;
  line-height: 1.8;
}
@media (max-width: 680px) {
  [data-template="custom-murayama"] .mu-kotaikyou-section .mu-kotaikyou-lead {
    font-size: 20px;
  }
}

[data-template="custom-murayama"] .mu-kotaikyou-section p {
  margin-bottom: 0.8em;
  font-size: 0.82em;
  line-height: 1.9;
}

[data-template="custom-murayama"] .mu-kotaikyou-link {
  display: inline-block;
  margin-top: 0.5em;
  font-size: 0.78em;
  color: var(--mu-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-template="custom-murayama"] .mu-kotaikyou-h2 {
  font-size: 24px !important;
  font-weight: 900;
  color: var(--mu-primary);
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--mu-primary);
}

[data-template="custom-murayama"] .mu-kotaikyou-table-wrap {
  overflow-x: auto;
}

[data-template="custom-murayama"] .mu-kotaikyou-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78em;
}

[data-template="custom-murayama"] .mu-kotaikyou-table td {
  padding: 0.7em 1em;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

[data-template="custom-murayama"] .mu-kotaikyou-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
  width: 12em;
}

[data-template="custom-murayama"] .mu-kotaikyou-table a {
  color: var(--mu-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

[data-template="custom-murayama"] .mu-kotaikyou-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

[data-template="custom-murayama"] .mu-kotaikyou-list li {
  font-size: 0.82em;
  font-weight: 700;
  padding-left: 1.2em;
  position: relative;
}

[data-template="custom-murayama"] .mu-kotaikyou-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5em;
  height: 0.5em;
  background: var(--mu-primary);
  border-radius: 50%;
}

[data-template="custom-murayama"] .mu-kotaikyou-contact p {
  font-size: 0.82em;
}

[data-template="custom-murayama"] .mu-kotaikyou-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 32px;
  font-weight: 900;
  color: var(--mu-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
}

@media (max-width: 680px) {
  [data-template="custom-murayama"] .mu-kotaikyou-body {
    width: 92%;
    gap: 1.8em;
  }

  [data-template="custom-murayama"] .mu-kotaikyou-section {
    padding: 1.3em 1.25em;
  }

  [data-template="custom-murayama"] .mu-kotaikyou-table td:first-child {
    width: 8em;
  }
}

[data-template="custom-murayama"] .mu-kotaikyou-companies {
  display: flex;
  flex-direction: column;
  gap: 1.4em;
}

[data-template="custom-murayama"] .mu-kotaikyou-city-block {
  border-left: 3px solid var(--mu-primary);
  padding-left: 1em;
}

[data-template="custom-murayama"] .mu-kotaikyou-city {
  font-size: 0.8em;
  font-weight: 700;
  color: var(--mu-primary);
  margin-bottom: 0.4em;
}

[data-template="custom-murayama"] .mu-kotaikyou-city-block p {
  font-size: 0.72em;
  line-height: 2;
  color: #444;
  margin: 0;
}

/* ════════════════════════════════
   ヒーロースライドショー
════════════════════════════════ */
[data-template="custom-murayama"] .mu-hero-slideshow {
  width: 80%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 1.2em;
  animation: mu-fadein 0.8s ease both;
  box-shadow: 0 8px 40px rgba(73,64,135,0.15);
}

[data-template="custom-murayama"] .mu-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: block;
  text-decoration: none;
}

[data-template="custom-murayama"] .mu-hero-slide.active {
  opacity: 1;
}

[data-template="custom-murayama"] .mu-hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

[data-template="custom-murayama"] .mu-hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4em 1.2em 1em;
  background: linear-gradient(transparent, rgba(10,8,30,0.65));
  color: #fff;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.5;
}

[data-template="custom-murayama"] .mu-hero-slide-dots {
  position: absolute;
  bottom: 0.7em;
  right: 0.9em;
  display: flex;
  gap: 0.35em;
  z-index: 2;
}

[data-template="custom-murayama"] .mu-hero-slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.45);
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

[data-template="custom-murayama"] .mu-hero-slide-dot.active {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 680px) {
  [data-template="custom-murayama"] .mu-hero-slideshow {
    width: 98%;
    border-radius: 0.8em;
  }
}

[data-template="custom-murayama"] .mu-post-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex: 1;
  min-width: 0;
}
[data-template="custom-murayama"] .mu-new-badge {
  display: inline-block;
  font-size: 0.52em;
  font-weight: 900;
  color: #fff;
  background: #e53e3e;
  border-radius: 3px;
  padding: 0.1em 0.5em 0.15em;
  vertical-align: middle;
  margin-left: 0.3em;
  letter-spacing: 0.04em;
  line-height: 1.6;
  flex-shrink: 0;
}

/* ════════════════════════════════
   フッター
════════════════════════════════ */
[data-template="custom-murayama"] .mu-footer {
  background: #fff;
  color: var(--mu-text);
  border-top: 1px solid #dde0f0;
  padding: 2em 2.5em;
  font-size: 0.68em;
  line-height: 2;
  margin-top: auto;
}
[data-template="custom-murayama"] .mu-footer address {
  font-style: normal;
  margin-bottom: 0.3em;
}
[data-template="custom-murayama"] .mu-footer small {
  display: block;
  color: #888;
  font-size: 0.9em;
  margin-top: 0.4em;
}

/* ════════════════════════════════
   カテゴリコーナーページ
════════════════════════════════ */
[data-template="custom-murayama"] .mu-corner-body {
  width: 80%;
  margin: 1.5em auto 5em;
}
[data-template="custom-murayama"] .mu-corner-empty {
  color: #888;
  font-size: 0.8em;
  padding: 3em 0;
  text-align: center;
}
[data-template="custom-murayama"] .mu-corner-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
[data-template="custom-murayama"] .mu-corner-item {
  border-bottom: 1px solid #e8eaf2;
}
[data-template="custom-murayama"] .mu-corner-item:first-child {
  border-top: 1px solid #e8eaf2;
}
[data-template="custom-murayama"] .mu-corner-link {
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 1em 0.4em;
  text-decoration: none;
  color: var(--mu-text);
  transition: background 0.15s;
}
[data-template="custom-murayama"] .mu-corner-link:hover {
  background: var(--mu-gray);
}
[data-template="custom-murayama"] .mu-corner-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: 0.4em;
  overflow: hidden;
}
[data-template="custom-murayama"] .mu-corner-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
[data-template="custom-murayama"] .mu-corner-text {
  flex: 1;
  min-width: 0;
}
[data-template="custom-murayama"] .mu-corner-date {
  display: block;
  font-size: 0.6em;
  color: #888;
  margin-bottom: 0.3em;
}
[data-template="custom-murayama"] .mu-corner-title {
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.5;
}
[data-template="custom-murayama"] .mu-corner-excerpt {
  font-size: 0.65em;
  color: #666;
  margin-top: 0.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-template="custom-murayama"] .mu-corner-arrow {
  font-size: 1.2em;
  color: var(--mu-primary);
  flex-shrink: 0;
}

/* ════════════════════════════════
   コーナーギャラリー（会報など）
════════════════════════════════ */
[data-template="custom-murayama"] .mu-corner-gallery {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4em;
}
@media (max-width: 860px) {
  [data-template="custom-murayama"] .mu-corner-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  [data-template="custom-murayama"] .mu-corner-gallery {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 681px) and (max-width: 1024px) {
  [data-template="custom-murayama"] .mu-nav-item {
    font-size: 0.53em;
  }
}
[data-template="custom-murayama"] .mu-corner-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.8em;
  overflow: hidden;
  border: 1px solid #e0e3f0;
  text-decoration: none;
  color: var(--mu-text);
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
}
[data-template="custom-murayama"] .mu-corner-card:hover {
  box-shadow: 0 6px 24px rgba(73,64,135,0.13);
  transform: translateY(-3px);
}
[data-template="custom-murayama"] .mu-corner-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mu-gray);
}
[data-template="custom-murayama"] .mu-corner-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
[data-template="custom-murayama"] .mu-corner-card:hover .mu-corner-card-img img {
  transform: scale(1.04);
}
[data-template="custom-murayama"] .mu-corner-card-noimg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8eaf2 0%, #d0d4ec 100%);
}
[data-template="custom-murayama"] .mu-corner-card-body {
  padding: 0.9em 1em 1.1em;
  flex: 1;
}
[data-template="custom-murayama"] .mu-corner-card-title {
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0.3em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════
   北村山雇用対策協議会 別サイト風
════════════════════════════════ */
[data-template="custom-murayama"].mu-kotaikyou-shell {
  background: #f7f3ee;
  --mu-primary: #1b5c38;
}
[data-template="custom-murayama"].mu-kotaikyou-shell .mu-header {
  background: #fff;
  border-bottom: 1px solid #e0d8cf;
}
[data-template="custom-murayama"].mu-kotaikyou-shell .mu-subpage-heading {
  background: #f7f3ee;
}
[data-template="custom-murayama"].mu-kotaikyou-shell .mu-kotaikyou-section {
  background: #fff;
}
[data-template="custom-murayama"].mu-kotaikyou-shell .mu-footer {
  background: #1b5c38;
  border-top-color: #164d2f;
  color: #fff;
}
[data-template="custom-murayama"].mu-kotaikyou-shell .mu-footer small {
  color: #fff;
}
[data-template="custom-murayama"].mu-kotaikyou-shell .mu-footer a {
  color: #a8d5b5;
}

/* ════════════════════════════════
   北村山雇用対策協議会 ヒーロースライドショー
════════════════════════════════ */
[data-template="custom-murayama"] .mu-kt-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  background: #1a1a2e;
}
@media (max-width: 680px) {
  [data-template="custom-murayama"] .mu-kt-hero {
    aspect-ratio: 4/3;
  }
}
[data-template="custom-murayama"] .mu-kt-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
[data-template="custom-murayama"] .mu-kt-hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
[data-template="custom-murayama"] .mu-kt-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
[data-template="custom-murayama"] .mu-kt-hero-label {
  position: absolute;
  bottom: 2.6em;
  right: 2.8em;
  font-size: 2.6em;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
[data-template="custom-murayama"] .mu-kt-hero-slide.active .mu-kt-hero-label {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 680px) {
  [data-template="custom-murayama"] .mu-kt-hero-label {
    font-size: 1.6em;
    bottom: 1.8em;
    right: 1.4em;
  }
}
[data-template="custom-murayama"] .mu-kt-hero-dots {
  position: absolute;
  bottom: 1.2em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5em;
  z-index: 2;
}
[data-template="custom-murayama"] .mu-kt-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
[data-template="custom-murayama"] .mu-kt-hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ════════════════════════════════
   お問合せページ
════════════════════════════════ */
[data-template="custom-murayama"] .mu-contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  width: 80%;
  margin: 0 auto 1.8em;
}
[data-template="custom-murayama"] .mu-contact-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  padding: 1.4em 0.8em 1.2em;
  border: 1.5px solid #c8cce8;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: var(--mu-text);
  transition: box-shadow 0.18s, transform 0.18s;
}
[data-template="custom-murayama"] .mu-contact-channel--link:hover {
  box-shadow: 0 6px 18px rgba(73, 64, 135, 0.14);
  transform: translateY(-3px);
}
[data-template="custom-murayama"] .mu-contact-channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eeefff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mu-primary);
  margin-bottom: 0.2em;
}
[data-template="custom-murayama"] .mu-contact-channel--line .mu-contact-channel-icon {
  background: #eeefff;
  color: var(--mu-primary);
}
[data-template="custom-murayama"] .mu-contact-channel-label {
  font-size: 0.85em;
  font-weight: 900;
  color: var(--mu-text);
}
[data-template="custom-murayama"] .mu-contact-channel-tel {
  font-size: 1em;
  font-weight: 900;
  color: var(--mu-primary);
  letter-spacing: 0.03em;
}
[data-template="custom-murayama"] .mu-contact-channel-note {
  font-size: 0.62em;
  color: #777;
}

[data-template="custom-murayama"] .mu-contact-faq-banner {
  display: flex;
  align-items: center;
  gap: 0.7em;
  width: 80%;
  margin: 0 auto 1.8em;
  padding: 0.9em 1.2em;
  border: 1px solid #b0b5d8;
  border-radius: 8px;
  background: #f8f8fd;
  color: var(--mu-text);
  text-decoration: none;
  font-size: 0.72em;
  transition: background 0.15s;
}
[data-template="custom-murayama"] .mu-contact-faq-banner:hover {
  background: #eef0f8;
}
[data-template="custom-murayama"] .mu-contact-faq-banner strong {
  color: var(--mu-primary);
}
[data-template="custom-murayama"] .mu-contact-faq-arrow {
  margin-left: auto;
  font-weight: 700;
  color: var(--mu-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

[data-template="custom-murayama"] .mu-contact-privacy {
  width: 80%;
  margin: 1.6em auto 3em;
  font-size: 0.62em;
  color: #777;
  line-height: 1.9;
  text-align: center;
}
[data-template="custom-murayama"] .mu-contact-privacy a {
  color: var(--mu-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 680px) {
  [data-template="custom-murayama"] .mu-contact-channels {
    grid-template-columns: 1fr;
    gap: 0.65em;
    width: 92%;
  }
  [data-template="custom-murayama"] .mu-contact-channel {
    flex-direction: row;
    padding: 0.9em 1.1em;
    gap: 0.9em;
    align-items: center;
  }
  [data-template="custom-murayama"] .mu-contact-channel-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  [data-template="custom-murayama"] .mu-contact-channel-label { font-size: 0.82em; }
  [data-template="custom-murayama"] .mu-contact-faq-banner {
    width: 92%;
    font-size: 0.68em;
  }
  [data-template="custom-murayama"] .mu-contact-privacy {
    width: 92%;
    text-align: left;
  }
}

/* ════════════════════════════════
   AIチャット リンク色（テーマカラーに上書き）
════════════════════════════════ */
[data-template="custom-murayama"] .chat-aurora-link {
  background-image: none;
  -webkit-text-fill-color: #1a5eef;
  color: #1a5eef;
  border-image: none;
  border-bottom: 2px solid #1a5eef;
}
