/*
Theme Name: Sihna Theme Child
Theme URI: https://github.com/ESORA-SAWADA/client-sihna
Description: Sihna 用子テーマ（TailPress + Tailwind CSS + Alpine.js）
Author: ESORA
Author URI: https://github.com/ESORA-SAWADA
Template: tailpress
Version: 0.1.0
License: MIT
Text Domain: sihna-theme-child
*/

/* ========================================
   しまみらい デザインシステム — 柔らかく温かい雰囲気
   ======================================== */
:root {
  --shima-cream: #FFFDF9;
  --shima-cream-bg: #f5f5f5;
  --shima-sage: #008b8b;
  --shima-sage-light: #e0f2f2;
  --shima-teal: #007a7a;
  --shima-peach: #E8B89A;
  --shima-peach-light: #f5f5f5;
  --shima-amber: #C9A86C;
  --shima-text: #3D3832;
  --shima-text-muted: #5C554D;
  --shima-radius: 1rem;
  --shima-shadow: 0 4px 20px rgba(61, 56, 50, 0.06);
  --shima-shadow-hover: 0 8px 28px rgba(61, 56, 50, 0.08);
}

/* --- フォント: Noto Serif JP / Noto Sans JP（親テーマの上書きを優先） --- */
body,
.shima-theme,
.site-content,
p,
span,
a {
  font-family: "Noto Sans JP", sans-serif !important;
}
.font-serif,
h1, h2, h3, h4, h5, h6,
.shima-hero h1,
.shima-hero p,
.shima-prose h2 {
  font-family: "Noto Serif JP", serif !important;
}

/* --- サイト全体 --- */
body,
.shima-theme {
  background-color: #f5f5f5 !important;
  color: var(--shima-text) !important;
}

/* --- ヘッダー --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(61, 56, 50, 0.08);
}
.site-header .shima-site-title { color: var(--shima-text) !important; }
.shima-nav a {
  color: var(--shima-text) !important;
  padding: 0.35rem 0.5rem;
  border-radius: var(--shima-radius);
  transition: background 0.2s, color 0.2s;
}
.shima-nav a:hover {
  background: var(--shima-sage) !important;
  color: #fff !important;
}

/* --- ヒーロー（メインビジュアル） --- */
.shima-hero {
  background-color: var(--shima-cream);
  color: var(--shima-text);
}

/* --- クイックアクセス（3カード） --- */
.shima-quick-access {
  background: #f5f5f5 !important;
}

/* --- お知らせ・活動報告 --- */
.shima-topics {
  background: #f5f5f5 !important;
}
.shima-topics h2 { color: var(--shima-text) !important; }
.shima-topics a { color: var(--shima-text) !important; }
.shima-topics .date { color: var(--shima-text-muted) !important; }
.shima-topics .more { color: var(--shima-sage) !important; }

/* --- しまみらいとは --- */
.shima-intro {
  background: #f5f5f5 !important;
}
.shima-intro h2 { color: var(--shima-text) !important; }
.shima-intro .btn-about {
  background: var(--shima-sage) !important;
  color: #fff !important;
  box-shadow: var(--shima-shadow);
}

/* イメージ写真プレースホルダー（余計なテキスト感をなくす） */
.shima-image-placeholder {
  background: linear-gradient(135deg, var(--shima-cream-bg) 0%, var(--shima-sage-light) 100%);
  border: 2px dashed rgba(91, 138, 114, 0.35);
  color: var(--shima-text-muted);
  font-size: 0.875rem;
  font-family: "Noto Sans JP", sans-serif !important;
}

/* --- フッター --- */
#colophon.shima-footer {
  background-color: #008b8b !important;
  animation: footer-color-shift 8s ease-in-out infinite alternate;
  color: #ffffff !important;
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
  border-top: none;
}
@keyframes footer-color-shift {
  0%   { background-color: #008b8b; }
  100% { background-color: #d2b48c; }
}
.shima-footer-inner {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 68rem;
    margin: 0 auto;
}
.shima-footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}
@media (min-width: 768px) {
    .shima-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}
.shima-footer-col-info {
    max-width: 28rem;
}
.shima-footer-title {
    font-family: 'Noto Serif JP', serif !important;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff !important;
}
.shima-footer-desc {
    font-size: 0.8125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #fff !important;
}
.shima-footer-icons {
    display: flex;
    gap: 1rem;
}
.shima-footer-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    color: #fff !important;
    transition: background-color 0.2s;
}
.shima-footer-icon-link:hover {
    background-color: rgba(255,255,255,0.3);
}
.shima-footer-icon-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.shima-footer-col-title {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff !important;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.shima-footer-col-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}
.shima-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.shima-footer-nav a {
    color: #fff !important;
    font-size: 0.875rem;
    text-decoration: none !important;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.shima-footer-nav a:hover {
    opacity: 0.7;
}
.shima-footer-nav .external-icon {
    width: 0.875rem;
    height: 0.875rem;
}

/* ===== 発行物ダウンロード グリッド ===== */
.shima-pub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .shima-pub-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .shima-pub-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
}

/* ===== フッター ===== */
.shima-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 1.5rem;
    text-align: center;
}
.shima-footer-bottom p {
    font-size: 0.75rem;
    color: #fff !important;
    opacity: 0.9;
    margin: 0;
}

/* --- 本文の行間・読みやすさ --- */
.shima-prose p { line-height: 1.8; }
.shima-prose p + p { margin-top: 1rem; }

/* --- 事業ナビリンク（ページ内） --- */
.shima-nav-link:hover { background: var(--shima-sage) !important; color: #fff !important; }

/* 管理バーを非表示にしたい場合は以下を有効にしてください */
/* body.shima-theme #wpadminbar { display: none !important; } */

/* ========================================
   カスタムレイアウト（Tailwind依存脱却用）
   ======================================== */

/* --- クイックアクセス --- */
.shima-qa-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    max-width: 68rem;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}
@media (min-width: 768px) {
    .shima-qa-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}
.shima-qa-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background-color: #ffffff !important;
    color: var(--shima-text) !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.shima-qa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.shima-qa-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 2;
}
.shima-qa-bg-circle {
    position: absolute;
    top: -3rem;
    right: -3rem;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}
.shima-qa-card h3 {
    font-family: 'Noto Serif JP', serif !important;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--shima-text) !important;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}
.shima-qa-card p {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 0.8125rem;
    margin-bottom: 2rem;
    color: var(--shima-text-muted) !important;
    line-height: 1.6;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}
.shima-qa-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--shima-text) !important;
    position: relative;
    z-index: 2;
    transition: opacity 0.2s;
}
.shima-qa-card:hover .shima-qa-link {
    opacity: 0.7;
}
.shima-qa-link .arrow {
    width: 1rem;
    height: 1rem;
    color: var(--shima-text-muted);
}

/* --- お知らせ・活動報告 --- */
.shima-topics-container {
    max-width: 68rem;
    margin: 0 auto;
}
.shima-news-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.shima-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important;
}
.shima-news-card:hover .title {
    color: var(--shima-sage) !important;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.shima-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}
.shima-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
}
.shima-pagination a,
.shima-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    background-color: #fff;
    color: var(--shima-text);
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.shima-pagination a:hover {
    background-color: var(--shima-sage);
    color: #fff;
}
.shima-pagination .current {
    background-color: var(--shima-sage);
    color: #fff;
}
.shima-pagination .screen-reader-text {
    display: none;
}
.shima-topics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.shima-topics-header h2 {
    font-family: 'Noto Serif JP', serif !important;
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--shima-text) !important;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .shima-topics-header h2 {
        font-size: 2rem;
    }
}
.shima-topics-lead {
    font-size: 0.875rem;
    color: var(--shima-text-muted);
}
.shima-topics-more {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--shima-text) !important;
    text-decoration: none !important;
    transition: opacity 0.2s;
}
.shima-topics-more:hover {
    opacity: 0.7;
}
.shima-topics-box {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    padding: 1rem 0;
}
.shima-topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.shima-topic-item {
    border-bottom: 1px solid rgba(61,56,50,0.08);
}
.shima-topic-item:last-child {
    border-bottom: none;
}
.shima-topic-link {
    display: flex;
    align-items: center;
    padding: 1.25rem 2rem;
    text-decoration: none !important;
    transition: background-color 0.2s;
}
.shima-topic-link:hover {
    background-color: rgba(250,247,242,0.5);
}
.shima-topic-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 240px;
    flex-shrink: 0;
}
.shima-topic-date {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 0.875rem;
    color: #9ca3af !important; /* light gray */
    letter-spacing: 0.05em;
}
.shima-topic-badge {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}
.badge-normal {
    background-color: var(--shima-sage-light);
    color: var(--shima-sage);
}
.badge-important {
    background-color: #fee2e2;
    color: #dc2626;
}
.badge-pro {
    background-color: #eff6ff;
    color: #1d4ed8;
}
.badge-citizen {
    background-color: #f0fdf4;
    color: #16a34a;
}
.shima-topic-title {
    font-weight: 500;
    color: var(--shima-text) !important;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    transition: color 0.2s;
    padding-right: 1rem;
}
.shima-topic-link:hover .title {
    color: var(--shima-sage) !important;
}
.shima-topic-arrow {
    width: 1rem;
    height: 1rem;
    color: #d1d5db; /* gray-300 */
    flex-shrink: 0;
    margin-left: auto;
}
@media (max-width: 767px) {
    .shima-topic-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.5rem;
        position: relative;
    }
    .shima-topic-meta {
        margin-bottom: 0.75rem;
    }
    .shima-topic-title {
        padding-right: 1.5rem;
    }
    .shima-topic-arrow {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* --- しまみらいとは --- */
.shima-intro-grid {
    display: grid;
    gap: 3rem;
    max-width: 68rem;
    margin: 0 auto;
    align-items: center;
}
@media (min-width: 768px) {
    .shima-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}
.shima-intro-image {
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
    box-shadow: 0 15px 40px rgba(61,56,50,0.1);
}
.shima-intro-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.shima-intro-grid:hover .shima-intro-image img {
    transform: scale(1.03);
}
.shima-intro-content h2 {
    font-family: 'Noto Serif JP', serif !important;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--shima-text) !important;
    line-height: 1.5;
}
@media (min-width: 768px) {
    .shima-intro-content h2 {
        font-size: 1.75rem;
    }
}
.shima-intro-btn {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    border-radius: 9999px;
    font-weight: bold;
    background-color: var(--shima-sage) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-shadow: 0 8px 20px rgba(91, 138, 114, 0.3);
    margin-top: 2rem;
}
.shima-intro-btn:hover {
    background-color: var(--shima-teal) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(91, 138, 114, 0.4);
}

/* ========================================
   下層ページ Tailwind Shim (代替クラス群)
   ======================================== */
.container { width: 100%; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-none { max-width: none; }

/* Spacing */
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.md\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mt-12 { margin-top: 3rem; }
.mt-8 { margin-top: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.gap-2 { gap: 0.5rem; }
.gap-5 { gap: 1.25rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.pl-8 { padding-left: 2rem; }
.border-white { border-color: #ffffff !important; }
.w-\[18px\] { width: 18px; }
.h-\[18px\] { height: 18px; }
.border-\[3px\] { border-width: 3px; border-style: solid; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2\.5 { row-gap: 0.625rem; }

/* Typography */
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-slate-900 { color: var(--shima-text) !important; }
.text-3xl { font-size: 1.875rem; line-height: 1.2; }
.md\:text-4xl { font-size: 2.25rem; line-height: 1.2; }
.text-2xl { font-size: 1.5rem; line-height: 1.2; }
.md\:text-3xl { font-size: 1.875rem; line-height: 1.2; }
.text-xl { font-size: 1.25rem; line-height: 1.2; }
.md\:text-2xl { font-size: 1.5rem; line-height: 1.2; }
.text-lg { font-size: 1.125rem; line-height: 1.2; }
.text-sm { font-size: 0.875rem; line-height: 1.25; }
.text-xs { font-size: 0.75rem; line-height: 1.25; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.625; }
.text-white { color: #fff !important; }

/* Flexbox & Grid */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.inline-flex { display: inline-flex; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-3 { gap: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.pl-6 { padding-left: 1.5rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.aspect-square { aspect-ratio: 1 / 1; }
.shrink-0 { flex-shrink: 0; }
.w-36 { width: 9rem; }
.text-stone-800 { color: #292524 !important; }
.text-stone-500 { color: #78716c !important; }
.text-stone-400 { color: #a8a29e !important; }
.text-gray-900 { color: #111827 !important; }
.text-gray-600 { color: #4b5563 !important; }
.bg-stone-200\/60 { background-color: rgba(61,56,50,0.1); }
.bg-amber-500 { background-color: #f59e0b !important; }
.hover\:underline:hover { text-decoration: underline; }
.text-base { font-size: 1rem; line-height: 1.5; }
.overflow-x-auto { overflow-x: auto; }
.min-w-max { min-width: max-content; }
.inline-block { display: inline-block; }

/* Borders & Backgrounds & Others */
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-stone-200 { border-color: rgba(61,56,50,0.15); }
.last\:border-0:last-child { border-bottom-width: 0; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.bg-stone-50 { background-color: var(--shima-cream-bg); }
.bg-stone-100 { background-color: var(--shima-sage-light); }
.bg-stone-200 { background-color: rgba(61,56,50,0.1); }
.hover\:bg-stone-200:hover { background-color: rgba(61,56,50,0.15); }
.text-stone-700 { color: var(--shima-text-muted) !important; }
.hover\:text-stone-900:hover { color: var(--shima-text) !important; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.aspect-video { aspect-ratio: 16 / 9; }
.object-cover { object-fit: cover; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.block { display: block; }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.overflow-hidden { overflow: hidden; }

/* Layout & Position */
.order-1 { order: 1; }
.order-2 { order: 2; }
@media (min-width: 768px) {
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:w-full { width: 100%; }
  .md\:h-auto { height: auto; }
  .md\:aspect-square { aspect-ratio: 1 / 1; }
  .md\:max-w-\[16rem\] { max-width: 16rem; }
  .md\:rounded-\[2rem\] { border-radius: 2rem; }
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:gap-16 { gap: 4rem; }
  .md\:aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
}
@media (min-width: 1024px) {
  .lg\:px-16 { padding-left: 4rem; padding-right: 4rem; }
}

.leading-loose { line-height: 2; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[2rem\] { border-radius: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.w-48 { width: 12rem; }
.h-48 { height: 12rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.opacity-50 { opacity: 0.5; }
.opacity-20 { opacity: 0.2; }
.border-4 { border-width: 4px; border-style: solid; }
.border-white { border-color: #fff; }
.bg-white { background-color: #fff; }
.relative { position: relative; }
.absolute { position: absolute; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.rotate-45 { --tw-rotate: 45deg; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.hidden { display: none; }
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:bg-transparent { background-color: transparent; }
  .md\:border-none { border-style: none; }
  .md\:p-0 { padding: 0; }
  .md\:-mx-4 { margin-left: -1rem; margin-right: -1rem; }
  .md\:mx-4 { margin-left: 1rem; margin-right: 1rem; }
}
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-36 { width: 9rem; }
  .sm\:gap-5 { gap: 1.25rem; }
}
@media (min-width: 768px) {
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:p-8 { padding: 2rem; }
  .md\:min-w-0 { min-width: 0; }
  .md\:gap-3 { gap: 0.75rem; }
  .md\:flex-wrap { flex-wrap: wrap; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 1.2; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 1.2; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 1.2; }
}
.w-40 { width: 10rem; }
.h-40 { height: 10rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.mb-16 { margin-bottom: 4rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

@media (min-width: 640px) {
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:w-40 { width: 10rem; }
}
@media (min-width: 768px) {
  .md\:max-w-\[14rem\] { max-width: 14rem; }
  .md\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .md\:gap-10 { gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ========================================
   ページバナー（下層ページ共通ヘッダー）
   ======================================== */
.shima-page-banner {
    background: linear-gradient(135deg, var(--shima-sage-light) 0%, #f5f5f5 70%);
    border-bottom: 2px solid rgba(0,139,139,0.12);
    padding: 3rem 0 2.5rem;
}
.shima-page-banner-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: 0.06em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}
.shima-page-banner-title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    background: var(--shima-sage);
    border-radius: 9999px;
    margin-top: 0.75rem;
}
.shima-page-banner-subtitle {
    margin-top: 0.875rem;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/* ========================================
   事業紹介 活動カード
   ======================================== */
.shima-activity-card {
    background: #ffffff;
    border-radius: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
    overflow: hidden;
}
.shima-activity-card:hover {
    box-shadow: 0 6px 24px rgba(0,139,139,0.10);
}
.shima-activity-inner {
    display: flex;
    gap: 0;
}
.shima-activity-num-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.75rem 1rem;
    flex-shrink: 0;
    width: 4.5rem;
    background: linear-gradient(160deg, var(--shima-sage-light) 0%, #f5f5f5 100%);
}
.shima-activity-num {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--shima-sage);
    letter-spacing: 0.02em;
    line-height: 1;
    writing-mode: horizontal-tb;
}
.shima-activity-body {
    padding: 1.5rem 1.75rem;
    flex: 1;
    min-width: 0;
}
.shima-activity-title {
    font-size: 1.125rem;
    color: var(--shima-text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
}
@media (min-width: 768px) {
    .shima-activity-title { font-size: 1.3125rem; }
}
.shima-activity-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9375rem;
    color: var(--shima-text-muted);
    line-height: 1.8;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}
.shima-activity-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 9999px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: 0.04em;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.shima-activity-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ========================================
   会員一覧
   ======================================== */
.shima-members-note {
    font-size: 0.875rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}
.shima-members-category {
    margin-bottom: 3rem;
}
.shima-members-cat-title {
    font-size: 1.0625rem;
    color: var(--shima-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: #ffffff;
    border-left: 4px solid var(--shima-sage);
    border-radius: 0 0.75rem 0.75rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
@media (min-width: 768px) {
    .shima-members-cat-title { font-size: 1.1875rem; }
}
.shima-members-count {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--shima-sage);
    background: var(--shima-sage-light);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}
.shima-members-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 640px) {
    .shima-members-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .shima-members-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.shima-members-item {
    background: #ffffff;
    border: 1px solid rgba(0,139,139,0.12);
    border-radius: 0.625rem;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    color: var(--shima-text-muted);
    letter-spacing: 0.04em;
    line-height: 1.5;
    transition: border-color 0.2s, background 0.2s;
}
.shima-members-item:hover {
    border-color: var(--shima-sage);
    background: var(--shima-sage-light);
    color: var(--shima-text);
}

/* ========================================
   お問い合わせ
   ======================================== */
.shima-contact-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--shima-sage);
}
@media (min-width: 768px) {
    .shima-contact-card { padding: 2.5rem 2.75rem; }
}
.shima-contact-org {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,139,139,0.1);
}
.shima-contact-org-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.875rem;
    background: var(--shima-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.shima-contact-dl {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.shima-contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
@media (min-width: 640px) {
    .shima-contact-row {
        flex-direction: row;
        align-items: baseline;
        gap: 1.5rem;
    }
}
.shima-contact-dt {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--shima-text);
    letter-spacing: 0.05em;
    min-width: 4.5rem;
    flex-shrink: 0;
}
.shima-contact-dd {
    font-size: 0.9375rem;
    color: var(--shima-text-muted);
    line-height: 1.6;
    letter-spacing: 0.04em;
}
.shima-contact-section-title {
    font-size: 1.125rem;
    color: var(--shima-text);
    margin-bottom: 1rem;
    padding-left: 0.875rem;
    border-left: 3px solid var(--shima-sage);
    letter-spacing: 0.05em;
}
.shima-contact-map-wrap {
    margin-bottom: 2.5rem;
}
.shima-contact-map {
    border-radius: 1rem;
    overflow: hidden;
    height: 18rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.shima-contact-form-wrap {
    margin-bottom: 1rem;
}
.shima-contact-form-placeholder {
    background: #ffffff;
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    border: 2px dashed rgba(0,139,139,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* ===== Contact Form 7 スタイリング ===== */
.shima-cf7-wrap {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.cf7-field-group {
    margin-bottom: 1.5rem;
}
.cf7-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--shima-text);
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.cf7-required {
    color: #e05555;
    margin-left: 0.25rem;
    font-size: 0.8rem;
}
.cf7-privacy-note {
    font-size: 0.8125rem;
    color: var(--shima-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.cf7-privacy-note a {
    color: var(--shima-sage);
    text-decoration: underline;
}
/* CF7 入力フィールド共通 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--shima-text);
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--shima-sage);
    box-shadow: 0 0 0 3px rgba(0,139,139,0.1);
    background: #ffffff;
}
.wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23008b8b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.wpcf7-form textarea {
    resize: vertical;
    min-height: 8rem;
}
/* 送信ボタン */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--shima-sage);
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,139,139,0.25);
}
.wpcf7-form input[type="submit"]:hover {
    background: var(--shima-teal);
    box-shadow: 0 6px 20px rgba(0,139,139,0.35);
    transform: translateY(-1px);
}
/* バリデーションエラー */
.wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: #e05555;
    margin-top: 0.25rem;
    display: block;
}
.wpcf7-form .wpcf7-not-valid input,
.wpcf7-form .wpcf7-not-valid select,
.wpcf7-form .wpcf7-not-valid textarea {
    border-color: #e05555;
}
/* 送信完了メッセージ */
.wpcf7-mail-sent-ok {
    background: #e8f5f5;
    border: 1px solid var(--shima-sage);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--shima-sage);
    font-weight: 600;
    font-size: 0.9375rem;
}
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
    background: #fff0f0;
    border: 1px solid #e05555;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    color: #e05555;
    font-size: 0.9375rem;
}

.shima-activities-nav {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 1.5rem;
}
.shima-activities-nav .shima-nav-link:hover {
    background: var(--shima-sage) !important;
    color: #fff !important;
}


