/*
Theme Name: 有田圏域自立支援協議会
Theme URI: https://arida-shurobukai.net/
Description: 有田圏域自立支援協議会
Author: webleaf
Version: 1.5.4
*/

/* =========================================================
   デザイントークン（モックアップの配色をCSS変数化）
   ========================================================= */
:root {
  --bg: #FBF6EE;
  --ink: #2E2A24;
  --ink-2: #5C5445;
  --ink-3: #8A7F6E;
  --muted: #A69C8A;
  --line: rgba(46, 42, 36, .08);
  --orange: #E4762E;
  --orange-2: #F0993E;
  --orange-ink: #C96A1E;
  --teal: #2F8175;
  --teal-2: #3E9B8A;
  --card: #fff;
  --grad-orange: linear-gradient(135deg, #F0993E, #E4762E);
  --grad-teal: linear-gradient(135deg, #3E9B8A, #2F8175);
  --shadow-sm: 0 6px 18px rgba(90, 70, 40, .07);
  --shadow-md: 0 8px 24px rgba(90, 70, 40, .10);
  --shadow-lg: 0 18px 40px rgba(90, 70, 40, .18);
  --font-round: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.entry a,
.page-content a {
  text-decoration: underline;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-round);
}

/* 汎用ラッパ */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.wrap-wide {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.wrap-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* スクロールイン演出 */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes floaty2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand-mark span,
.brand-mark img {
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 22px;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.brand-en {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .06em;
}

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

.nav-desktop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}

.nav-desktop a:hover {
  background: #F3E7D6;
  color: var(--ink);
}

.nav-desktop .current-menu-item>a,
.nav-desktop .current_page_item>a,
.nav-desktop .current-menu-parent>a {
  color: var(--orange);
  background: #FCEBD3;
}

.btn-member {
  margin-left: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  background: var(--grad-teal);
  box-shadow: 0 4px 12px rgba(47, 129, 117, .3);
}

.btn-member:hover {
  filter: brightness(1.05);
  background: var(--grad-teal) !important;
}

.nav-toggle {
  display: none;
  border: none;
  background: #F3E7D6;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile .inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 20px 18px;
}

.nav-mobile a {
  padding: 13px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
}

.nav-mobile a:hover {
  background: #F3E7D6;
}

.nav-mobile .btn-member {
  margin-top: 8px;
  text-align: center;
}

/* =========================================================
   ボタン類
   ========================================================= */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}

.btn-primary {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(228, 118, 46, .34);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #EADFCE;
}

.btn-ghost:hover {
  border-color: var(--orange-2);
}

.pill-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid #C8E4DB;
}

.pill-link:hover {
  background: #E7F4EF;
}

/* =========================================================
   ホーム：ヒーロー
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 24px clamp(60px, 8vw, 96px);
}

.hero .blob1 {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FBD9A6, #F5B45E);
  opacity: .5;
  filter: blur(6px);
  animation: floaty 9s ease-in-out infinite;
}

.hero .blob2 {
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #BFE3D6, #8FCCBB);
  opacity: .45;
  filter: blur(4px);
  animation: floaty2 11s ease-in-out infinite;
}

.hero .inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #FCEBD3;
  color: var(--orange-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(30px, 5.2vw, 54px);
  line-height: 1.32;
  margin: 20px 0 0;
  letter-spacing: .01em;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-2);
  margin: 22px 0 0;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
}

.hero-visual .frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(90, 70, 40, .18);
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #FDEBCF 0%, #F6D3A2 55%, #EFC183 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual .placeholder {
  text-align: center;
  color: #B47B33;
}

.hero-visual .placeholder .em {
  font-size: 54px;
}

.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 16px 36px rgba(90, 70, 40, .16);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge .ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #E7F4EF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hero-badge .num {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 20px;
  color: var(--teal);
}

.hero-badge .cap {
  font-size: 12px;
  color: var(--ink-3);
}

/* セクション見出し */
.sec {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) 24px;
}

.sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.sec-kicker {
  font-family: var(--font-round);
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
}

.sec-title {
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 4px 0 0;
}

.sec-title-c {
  font-weight: 900;
  font-size: clamp(24px, 3vw, 32px);
  text-align: center;
  margin: 0 0 8px;
}

.sec-sub-c {
  text-align: center;
  color: var(--ink-3);
  margin: 0 0 34px;
}

/* バナー3枚 */
.banners {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px 20px;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 26px 24px;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 26px rgba(90, 70, 40, .1);
  transition: transform .3s ease, box-shadow .3s ease;
}

.banner:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.banner .icon {
  font-size: 34px;
}

.banner .t {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 20px;
}

.banner .d {
  font-size: 13px;
  margin-top: 4px;
}

/* ニュースカード（ホーム） */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(90, 70, 40, .08);
  transition: transform .3s, box-shadow .3s;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(90, 70, 40, .16);
}

.news-card .thumb {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .9);
  font-size: 30px;
  overflow: hidden;
}

.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FCE4D0;
  color: var(--orange-ink);
}

.news-date {
  font-size: 12px;
  color: var(--muted);
}

.news-card .title {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

/* ミッション帯 */
.mission {
  background: var(--grad-teal);
  color: #fff;
  padding: clamp(48px, 7vw, 84px) 24px;
  position: relative;
  overflow: hidden;
}

.mission .deco {
  position: absolute;
  top: -40px;
  right: 6%;
  font-size: 200px;
  opacity: .07;
}

.mission .inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.mission .kicker {
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 13px;
  opacity: .8;
}

.mission .lead {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.6;
  margin: 16px 0 0;
}

.mission .sub {
  font-size: 15px;
  opacity: .9;
  margin: 20px auto 0;
  max-width: 560px;
}

/* クイックリンク */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}

.quick:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(90, 70, 40, .14);
}

.quick .ic {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.quick .t {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16px;
}

.quick .s {
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================
   下層ページ共通ヒーロー
   ========================================================= */
.page-hero {
  padding: clamp(48px, 7vw, 88px) 24px;
}

.page-hero.orange {
  background: linear-gradient(135deg, #FCEBD3, #F8DBB0);
}

.page-hero.teal {
  background: linear-gradient(135deg, #E7F4EF, #CDE8DF);
}

.page-hero .inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero .kicker {
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 13px;
}

.page-hero.orange .kicker {
  color: var(--orange-ink);
}

.page-hero.teal .kicker {
  color: var(--teal);
}

.page-hero h1 {
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 46px);
  margin: 10px 0 0;
}

.page-hero p {
  font-size: 16px;
  margin: 18px 0 0;
  max-width: 640px;
}

.page-hero.orange p {
  color: #6B5F4C;
}

.page-hero.teal p {
  color: #4C5A55;
}

/* 協議会とは */
.about-body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px;
}

.about-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 10px 30px rgba(90, 70, 40, .08);
}

.about-card h2 {
  font-weight: 700;
  font-size: 22px;
  color: var(--teal);
  margin: 0 0 12px;
}

.about-card p {
  color: #4A4335;
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about-point {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.about-point .ic {
  font-size: 32px;
}

.about-point .t {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 17px;
  margin: 12px 0 6px;
}

.about-point .d {
  font-size: 13px;
  color: #7A7060;
}

.page-content {
  margin-top: 24px;
  color: #4A4335;
}

.page-content h2 {
  font-size: 20px;
  color: var(--teal);
  margin: 28px 0 10px;
}

.page-content img {
  border-radius: 16px;
  margin: 16px 0;
}

/* 部会紹介 */
.bukai-body {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px;
  display: grid;
  gap: 20px;
}

.bukai-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  align-items: center;
}

.bukai-row .ic {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.bukai-row .t {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 22px;
}

.bukai-row p {
  color: var(--ink-2);
  margin: 8px 0 0;
  font-size: 14px;
}

/* =========================================================
   お知らせ一覧（投稿）
   ========================================================= */
.news-list-body {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 24px;
}

.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.cat-filter a {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  color: var(--ink-2);
}

.cat-filter a.active {
  background: var(--orange);
  color: #fff;
}

.news-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  transition: box-shadow .25s, transform .25s;
}

.news-row:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(90, 70, 40, .14);
}

.news-row .thumb {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: rgba(255, 255, 255, .9);
  overflow: hidden;
}

.news-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-row .body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-row .title {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}

/* ページネーション */
.pagination {
  margin-top: 36px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  padding: 9px 15px;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.pagination .page-numbers.current {
  background: var(--orange);
  color: #fff;
}

/* =========================================================
   投稿詳細
   ========================================================= */
article.single {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 24px;
}

/* 本文を白いカードに（固定ページの about-card と同じトーン） */
article.single .single-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

/* 見出し帯の中のカテゴリ・日付 */
.page-hero .news-meta {
  margin-top: 16px;
}

article.single .thumb {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

article.single h1 {
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.4;
  margin: 14px 0 0;
}

article.single .entry {
  margin-top: 28px;
  color: #3F3A30;
  font-size: 16px;
}

article.single .entry p {
  margin: 0 0 1.2em;
}

article.single .entry h2 {
  font-weight: 700;
  font-size: 22px;
  color: var(--teal);
  margin: 32px 0 12px;
}

article.single .entry h3 {
  font-weight: 700;
  font-size: 18px;
  margin: 26px 0 10px;
}

article.single .entry img {
  border-radius: 16px;
  margin: 18px 0;
}

/* 投稿本文の画像・図表を整える（figureの既定余白除去・中央寄せ・はみ出し対策） */
article.single .entry figure,
.page-content figure {
  margin: 22px 0;
  text-align: center;
}

article.single .entry figure img,
.page-content figure img {
  margin: 0 auto;
  border-radius: 16px;
}

/* 本文画像はコンテナ幅まで表示（縦横比は維持） */
article.single .entry img,
.page-content img {
  max-width: 100%;
  height: auto;
}

/* キャプション */
article.single .entry figcaption,
.page-content figcaption {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
}

/* 埋め込み動画・地図を16:9で流動化 */
article.single .entry iframe,
.page-content iframe {
  max-width: 100%;
}

article.single .entry .wp-block-embed__wrapper,
.page-content .wp-block-embed__wrapper {
  position: relative;
  padding-top: 56.25%;
}

article.single .entry .wp-block-embed__wrapper iframe,
.page-content .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 表は横スクロールで救済 */
article.single .entry table,
.page-content table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

article.single .entry a {
  color: var(--orange);
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  font-weight: 700;
  color: var(--teal);
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid #C8E4DB;
}

.back-link:hover {
  background: #E7F4EF;
}

/* =========================================================
   会員専用ページ：パスワード入力フォーム
   ========================================================= */
.member-lock {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) 24px;
  background: radial-gradient(1100px 500px at 50% -10%, #FCEBD3 0%, rgba(252, 235, 211, 0) 60%);
}

.member-lock__card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 28px;
  padding: clamp(30px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(90, 70, 40, .16);
  border: 1px solid var(--line);
}

.member-lock__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 34px;
  background: linear-gradient(135deg, #E7F4EF, #CDE8DF);
  box-shadow: 0 10px 24px rgba(47, 129, 117, .18);
}

.member-lock__kicker {
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--teal);
  margin-top: 20px;
}

.member-lock__title {
  font-weight: 900;
  font-size: clamp(22px, 3vw, 28px);
  margin: 6px 0 0;
}

.member-lock__lead {
  font-size: 14px;
  color: var(--ink-2);
  margin: 14px 0 0;
}

.member-lock__form {
  margin-top: 26px;
}

.member-lock__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.member-lock__field input[type="password"] {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1.5px solid #EADFCE;
  background: #FBF6EE;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

.member-lock__field input[type="password"]::placeholder {
  color: #B7AC98;
}

.member-lock__field input[type="password"]:focus {
  outline: none;
  border-color: var(--orange-2);
  box-shadow: 0 0 0 4px rgba(240, 153, 62, .18);
  background: #fff;
}

.member-lock__field button {
  padding: 15px 18px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  background: var(--grad-teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(47, 129, 117, .3);
  transition: filter .2s, transform .15s;
}

.member-lock__field button:hover {
  filter: brightness(1.05);
}

.member-lock__field button:active {
  transform: translateY(1px);
}

.member-lock__note {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
  line-height: 1.7;
}

@media (min-width:520px) {
  .member-lock__field {
    flex-direction: row;
  }

  .member-lock__field input[type="password"] {
    flex: 1;
  }

  .member-lock__field button {
    flex: none;
    white-space: nowrap;
  }
}

/* =========================================================
   ファイルブロックのダウンロードボタンをアイコン化
   （コアが出力する .wp-block-file__button を CSS で上書き）
   ========================================================= */
.entry .wp-block-file,
.page-content .wp-block-file {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #FCF3E7;
  border: 1px solid #EADFCE;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 14px 0;
}

.entry .wp-block-file a:first-child,
.page-content .wp-block-file a:first-child {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.entry .wp-block-file__button,
.page-content .wp-block-file__button {
  margin-left: auto;
  /* ファイル名の右端へ寄せる */
  font-size: 0;
  /* 既定の「ダウンロード」テキストを隠す */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  background: var(--grad-orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(228, 118, 46, .28);
  transition: filter .2s;
}

.entry .wp-block-file__button:hover,
.page-content .wp-block-file__button:hover {
  filter: brightness(1.05);
}

.entry .wp-block-file__button::before,
.page-content .wp-block-file__button::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  /* font-size:0 のため固定単位で指定 */
  background-color: currentColor;
  /* ボタン文字色（白）のアイコン */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  background: #2A2620;
  color: #E6DDCD;
  padding: clamp(44px, 6vw, 68px) 24px 32px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-brand .row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .mark span {
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 22px;
}

.footer-brand .name {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.footer-brand p {
  font-size: 13px;
  color: #A99E8B;
  margin: 18px 0 0;
  max-width: 320px;
}

.footer-col h3 {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: #C9BEAA;
}

.footer-col a:hover {
  color: var(--orange-2);
}

.footer-col p {
  font-size: 13px;
  color: #C9BEAA;
  margin: 0;
}

.footer-bottom {
  max-width: 1100px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
  color: #8C8271;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width:860px) {
  .nav-desktop {
    display: none !important;
  }

  .nav-toggle {
    display: flex !important;
  }

  .hero .inner {
    grid-template-columns: 1fr !important;
  }

  .banner-grid,
  .news-grid,
  .quick-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

@media (max-width:560px) {

  .banner-grid,
  .news-grid,
  .quick-grid,
  .about-grid {
    grid-template-columns: 1fr !important;
  }

  .bukai-row {
    grid-template-columns: 1fr !important;
  }

  .bukai-row .ic {
    width: 84px !important;
    height: 84px !important;
    font-size: 36px !important;
  }

  .news-row {
    grid-template-columns: 72px 1fr !important;
  }

  .news-row .thumb {
    width: 72px !important;
    height: 72px !important;
  }

  .sec-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   ページトップへ戻るボタン
   ========================================================= */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 52px;
  height: 52px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-teal);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(47, 129, 117, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, filter .2s;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  filter: brightness(1.06);
}

.to-top svg {
  width: 24px;
  height: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: opacity .3s ease, visibility .3s;
    transform: none;
  }
}