/*
 * 加盟店向けページ専用スタイルシート
 * fukuoka-oshiro-theme / member-style.css
 */

/* ===========================
   CSS Variables
=========================== */
:root {
  --mem-header-bg:    #3d6b72;
  --mem-accent:       #e05a2b;
  --mem-accent-hover: #c44e22;
  --mem-bg:           #f5f0e8;
  --mem-text:         #333333;
  --mem-text-light:   #666666;
  --mem-white:        #ffffff;
  --mem-border:       #ddd5c5;
  --mem-shadow:       0 2px 12px rgba(0,0,0,.10);
  --mem-radius:       6px;
}

/* ===========================
   Base
=========================== */
.mem-body {
	padding-top: 0 !important;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-size: 1rem;
  line-height: 2;
  color: #333333;
  background: #F5F0E8;
  -webkit-font-smoothing: antialiased;
}
.member-page {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--mem-bg);
  color: var(--mem-text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.member-page * {
  box-sizing: border-box;
}

.member-page a {
  color: inherit;
  text-decoration: none;
}

.member-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   Header
=========================== */
.mem-header {
  background: var(--mem-header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.mem-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}



.mem-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.mem-logo img {
    width: 200px;
	margin: 0 auto;
    padding: 10px 0;
    display: block;
}


.mem-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mem-nav a {
  color: #fff;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: var(--mem-radius);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .18s;
  white-space: nowrap;
}

.mem-nav a:hover {
  background: rgba(255,255,255,.15);
  color: var(--mem-white);
}

.mem-nav .mem-nav-logout {
  background: rgba(224,90,43,.25);
  border: 1px solid rgba(224,90,43,.5);
  color: var(--mem-white);
}

.mem-nav .mem-nav-logout:hover {
  background: var(--mem-accent);
}

/* ===========================
   Hero
=========================== */
.mem-hero {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #c5d8db;
}

.mem-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* ===========================
   Main
=========================== */
.mem-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ===========================
   Section Title
=========================== */
.mem-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
  color: var(--mem-text);
}

.mem-section-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: var(--mem-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}
.mem-section-lead {
  text-align: center;
  font-size: 1rem;
  margin-top: 20px;
  color: var(--mem-text);
}
.mem-section-lead > a {
	text-decoration: underline;
}
/* ===========================
   News / Activity List
=========================== */

.mem-news-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--mem-border);
}

.mem-news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mem-border);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.mem-news-date {
  color: #333;
  white-space: nowrap;
  min-width: 90px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.mem-news-tag {
  background: var(--mem-header-bg);
  color: var(--mem-white);
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mem-news-title {
  flex: 1;
  min-width: 160px;
}

.mem-news-title a:hover {
  color: var(--mem-accent);
  text-decoration: underline;
}

.mem-badge-up,
.mem-badge-new {
  background: var(--mem-accent);
  color: var(--mem-white);
  font-size: 0.8rem;
	line-height:1;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ===========================
   Subsidy Cards
=========================== */
.mem-subsidy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.mem-subsidy-card {
  background: var(--mem-white);
  border: 1px solid var(--mem-border);
  border-radius: var(--mem-radius);
  padding: 24px 20px;
  transition: transform .2s, box-shadow .2s;
}

.mem-subsidy-card:hover {
  transform: translateY(-3px);
}


.mem-subsidy-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mem-subsidy-card-desc {
  font-size: 1rem;
  color: var(--mem-text-light);
  line-height: 1.6;
}

.mem-subsidy-card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--mem-accent);
  font-weight: 600;
}

.mem-subsidy-card-link:hover {
  text-decoration: underline;
}

/* ===========================
   Promo
=========================== */
.mem-promo-desc {
  text-align: center;
  font-size: 14px;
  margin: 16px 0 20px;
}

.mem-promo-center {
  text-align: center;
  margin-bottom: 24px;
}

.mem-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mem-header-bg);
  color: var(--mem-white);
	margin-top:20px;
  padding: 10px 24px;
  border-radius: var(--mem-radius);
  font-size: 1rem;
  font-weight: 600;
  transition: background .18s;
}

.mem-promo-btn:hover {
  background: #2f545b;
  color: var(--mem-white);
}

.mem-promo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.mem-promo-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--mem-radius);
  border: 1px solid var(--mem-border);
}

/* 広告ラック dl */
.mem-rack-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  font-size: 1rem;
  line-height: 1.8;
}
.mem-rack-dl dt {
  font-weight: 700;
  color: var(--mem-header-bg);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 2px;
}
.mem-rack-dl dd {
  margin: 0;
  color: var(--mem-text);
}
 
/* レンタル費用 */
.mem-rack-price {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--mem-header-bg);
  border-radius: var(--mem-radius);
  color: #fff;
  font-weight: 700;
}
.mem-rack-price__label {
  font-size: 0.85rem;
  white-space: nowrap;
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.mem-rack-price__value {
  font-size: 1rem;
  line-height: 1.6;
}
.mem-rack-price__value strong {
  font-size: 1.3rem;
  margin: 0 2px;
}
 
@media (max-width: 600px) {
  .mem-rack-dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .mem-rack-dl dt {
    margin-top: 12px;
  }
  .mem-rack-dl dt:first-child {
    margin-top: 0;
  }
  .mem-rack-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
 
/* レンタル費用 注記 */
.mem-rack-price-note {
  font-size: 0.85rem;
  color: var(--mem-text-light);
  margin-top: 8px;
  padding-left: 4px;
}
 
/* 事務局情報 カード */
.mem-jn-cards {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.mem-jn-card {
  background: var(--mem-white);
  border: 1px solid var(--mem-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.mem-jn-card:hover {
  box-shadow: var(--mem-shadow);
  transform: translateY(-3px);
}
.mem-jn-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.mem-jn-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}
.mem-jn-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.mem-jn-card:hover .mem-jn-card__thumb img {
  transform: scale(1.04);
}
.mem-jn-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e2d8;
  color: #bbb;
  font-size: 2rem;
}
.mem-jn-card__new {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--mem-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  line-height: 1.6;
}
.mem-jn-card__body {
  padding: 12px 14px 8px;
  flex: 1;
}
.mem-jn-card__date {
  display: block;
  font-size: 0.8rem;
  color: var(--mem-text-light);
  margin-bottom: 6px;
}
.mem-jn-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--mem-text);
  margin: 0;
}
.mem-jn-card__footer {
  padding: 10px 14px 14px;
}
.mem-jn-card__btn {
  display: block;
  text-align: center;
  border: 1.5px solid var(--mem-header-bg);
  border-radius: 20px;
  color: var(--mem-header-bg);
  font-size: 0.85rem;
  padding: 6px 0;
  transition: background 0.18s, color 0.18s;
}
.mem-jn-card:hover .mem-jn-card__btn {
  background: var(--mem-header-bg);
  color: #fff;
}
 
@media (max-width: 600px) {
  .mem-jn-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
/* メインラッパー */
.mem-single-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
 
/* 一覧に戻るリンク */
.jn-back-nav {
  margin-bottom: 24px;
}
.jn-back-nav__link {
  font-size: 0.9rem;
  color: var(--mem-header-bg);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: opacity 0.18s;
}
.jn-back-nav__link:hover {
  opacity: 0.7;
}
.jn-back-nav__link i {
  font-size: 12px;
}
 
/* メタ情報（日付・カテゴリ・NEW） */
.jn-single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
 
/* タイトル */
.jn-single-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--mem-text);
  margin: 0 0 24px;
  padding-bottom: 10px;
  text-align: left;
  border-bottom: 1px solid var(--mem-border);	
}
.jn-single-title::after {
  display: none;
}
.jn-single-body > h2 {
	font-size: 1rem;
	margin-bottom: 10px;
}
/* アイキャッチ画像 */
.jn-single-thumb {
  margin: 0 0 32px;
}
.jn-single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
 
/* 本文 */
.jn-single-body {
  font-size: 1rem;
  line-height: 2;
  color: var(--mem-text);
}
.jn-single-body p {
  margin-bottom: 1.2em;
}
.jn-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
 
/* 前後ナビ */
.jn-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--mem-border);
  gap: 8px;
}
.jn-post-nav__prev,
.jn-post-nav__next {
  flex: 1;
}
.jn-post-nav__next {
  text-align: right;
}
.jn-post-nav__link {
  font-size: 0.9rem;
  color: var(--mem-header-bg);
  text-decoration: none;
  display: inline-block;
  line-height: 1.5;
  transition: opacity 0.18s;
}
.jn-post-nav__link:hover {
  opacity: 0.7;
}
.jn-post-nav__list {
  font-size: 0.9rem;
  color: var(--mem-header-bg);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 12px;
  border: 1px solid var(--mem-header-bg);
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
}
.jn-post-nav__list:hover {
  background: var(--mem-header-bg);
  color: #fff;
}
 
@media (max-width: 600px) {
  .mem-single-main {
    padding: 24px 16px 60px;
  }
  .jn-single-title {
    font-size: 1.2rem;
  }
  .jn-post-nav__link {
    font-size: 0.8rem;
  }
}
/* ===========================
   Org
=========================== */
.mem-org-box {
  font-size: 1rem;
  line-height: 2;
  margin-top: 24px;
}
.mem-org-box > .wp-block-heading {
    font-size: 1.2rem;	
	margin-bottom: 20px;
}
.mem-org-chart {
  background: var(--mem-white);
  border: 1px solid var(--mem-border);
  border-radius: var(--mem-radius);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  overflow: hidden;
}

.mem-org-chart img {
  width: 100%;
  object-fit: contain;
}

.mem-org-caption {
  text-align: right;
  font-size: 12px;
  color: var(--mem-text-light);
  margin-top: 6px;
}

.wp-block-file__button {
	padding: 2px 20px;
    background: var(--mem-header-bg)!inportant;
    color: #fff;
    text-decoration: none;
}
/* ===========================
   Footer
=========================== */
.mem-footer {
  background: var(--mem-header-bg);
  color: rgba(255,255,255,.8);
  padding: 48px 24px 24px;
}

.mem-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.mem-footer-logo {
	width: 90%;
  max-width: 280px;
  opacity: .5;
  margin: 0 auto 20px;
}



.mem-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.mem-footer-nav a {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  transition: color .18s;
}

.mem-footer-nav a:hover {
  color: var(--mem-white);
}

.mem-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin: 0;
}

/* ===========================
   Login Page
=========================== */
.mem-login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--mem-bg);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.mem-login-page * {
  box-sizing: border-box;
}

.mem-login-header {
  background: var(--mem-header-bg);
  text-align: center;
}

.mem-login-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 10px;
}

.mem-login-header-logo img {
  width: 250px;
}



.mem-login-header-sub {
  color: #fff;
  font-size: 1rem;
  padding-bottom: 20px;
  letter-spacing: .08em;
}

.mem-login-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.mem-login-card {
  background: var(--mem-white);
  border: 1px solid var(--mem-border);
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
}

.mem-login-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
  color: var(--mem-text);
}

.mem-login-card-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--mem-accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.mem-login-card-desc {
  text-align: center;
  font-size: 0.9rem;
  color: var(--mem-text-light);
  margin: 16px 0 28px;
}

.mem-login-error {
  background: #fdecea;
  border: 1px solid #f5c6c0;
  border-radius: var(--mem-radius);
  color: #c0392b;
  font-size: 13px;
  padding: 10px 14px;
  margin-bottom: 20px;
  text-align: center;
}

.mem-login-field {
  margin-bottom: 20px;
}

.mem-login-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--mem-text);
}

.mem-login-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--mem-border);
  border-radius: var(--mem-radius);
  font-size: 15px;
  font-family: inherit;
  background: #faf8f4;
  color: var(--mem-text);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.mem-login-input:focus {
  border-color: var(--mem-header-bg);
  box-shadow: 0 0 0 3px rgba(61,107,114,.15);
}

.mem-login-btn {
  width: 100%;
  padding: 13px;
  background: var(--mem-accent);
  color: var(--mem-white);
  border: none;
  border-radius: var(--mem-radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s;
  margin-top: 8px;
}

.mem-login-btn:hover {
  background: var(--mem-accent-hover);
}

.mem-login-footer {
  background: var(--mem-header-bg);
  padding: 20px 24px;
  text-align: center;
}
.mem-login-back {
  text-align: center;
  margin-top: 20px;
}

.mem-login-back a {
  font-size: 0.9rem;
  color: var(--mem-text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .18s;
}

.mem-login-back a:hover {
  color: var(--mem-header-bg);
}

.mem-login-footer p {
  color: rgba(255,255,255,.45);
  font-size: 12px;
  margin: 0;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .mem-header-inner {
    flex-wrap: wrap;
    padding: 10px;
    min-height: unset;
    gap: 5px;
  }
  .mem-logo { justify-content: flex-start; flex: 1; gap:0; }
  .mem-logo img { width: 180px; padding: 0;}
  .mem-logo-text { font-size: 12px; }
  .mem-nav {
    width: 100%;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 3px;
  }
  .mem-nav a { font-size: 12px; padding: 3px 5px; }
  .mem-hero { height: 180px; }
  .mem-main { padding: 36px 16px 60px; gap: 60px; }
  .mem-section-title { font-size: 22px; }
  .mem-subsidy-grid { grid-template-columns: 1fr; }
  .mem-promo-gallery { grid-template-columns: repeat(2, 1fr); }
  .mem-login-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .mem-promo-gallery { grid-template-columns: 1fr; }
  .mem-news-date { width: 100%; min-width: unset; }
}
.kaisoku_link {
	text-align: center;
}