

/* =========================================
   トップページ全体
   ========================================= */

/* ▼ ishikawa-front 全体の和紙背景をオフにする */
.ishikawa-front {
    background-image: none !important;
    background-color: #f3f6fb;
}

/* ===== HERO ===== */

.hero-section {
    margin: 32px 0 16px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.hero-media {
    position: relative;
    max-height: 420px;
    overflow: hidden;
}

/* hero だけは高さ 100% を維持 */
.hero-image {
  height: 100% !important;
}

/* 左下に白いカードとしてタイトルを載せる */

.hero-inner {
    position: absolute;
    left: 8%;
    bottom: 14%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    text-align: left;
}

.hero-topline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.hero-icon {
    width: 44px;
    height: auto;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.9);
}

.hero-label-en {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6b7280;
}

.hero-title-main {
    font-size: clamp(2.3rem, 4vw, 2.8rem);
    margin: 4px 0;
    letter-spacing: 0.16em;
}

.hero-lead {
    margin: 0;
    font-size: 0.98rem;
    color: var(--color-text-sub);
}

/* モバイルではカードを画像の下に移動させる */

@media (max-width: 768px) {
    .hero-section {
        margin: 16px 0;
        border-radius: 0;
    }

    .hero-inner {
        position: static;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 18px 16px 22px;
    }
}

/* ===== INTRO：加賀友禅背景 ===== */

.intro-section {
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.96),
            rgba(255, 255, 255, 0.96)
        ),
        url("../images/bg-section-1.webp") center/cover no-repeat;
}

.intro-inner {
    max-width: 840px;
    margin: 0 auto;
    padding: 22px 22px 26px;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

.intro-inner h2 {
    margin-bottom: 0.5rem;
}

.intro-inner p {
    line-height: 1.9;
    color: var(--color-text-sub);
}

/* ===== MAP SECTION（動画を小さなカードで使用） ===== */

.map-section {
    background: var(--color-surface);
}

.map-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

@media (max-width: 768px) {
    .map-inner {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
}

.map-text h2 {
    margin-bottom: 0.6rem;
}

.map-text p {
    line-height: 1.9;
    color: var(--color-text-sub);
}

.map-card {
    background: #f3f4ff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-soft);
}

.map-video {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* ===== MEMBERS：金箔背景＋リンクカード ===== */

.members-section {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.96),
            rgba(255, 255, 255, 0.96)
        ),
        url("../images/bg-section-2.webp") center/cover no-repeat;
}

.members-link-card {
    max-width: 840px;
    margin: 18px auto 0;
    padding: 18px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--color-text-sub);
}

.members-link-button {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.members-link-button:hover {
    background: #115e59;
}

/* 旧 member-highlight や note は念のため残しておく */

.member-highlight {
    max-width: 720px;
    margin: 0 auto 32px;
    padding: 16px 20px 18px;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.member-highlight-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.member-highlight-role {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.member-highlight-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.8;
}

.member-note {
    max-width: 720px;
    margin: 0.5rem auto 0;
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.7;
    text-align: left;
}

/* ===== NEWS：アイキャッチ付きカード ===== */

.news-section {
    background: var(--color-surface-soft);
}

.news-list {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 960px) {
    .news-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.news-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 18px 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.news-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.news-thumb {
    margin-bottom: 8px;
}

.news-thumb img {
    width: 100%;
    max-height: 180px; /* トップページのアイキャッチは控えめサイズ */
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.news-date {
    font-size: 0.8rem;
    color: #9ca3af;
}

.news-title {
    font-size: 1rem;
    margin: 4px 0 6px;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-sub);
}

.news-empty {
    text-align: center;
    color: #6b7280;
}

/* ===== CTA ===== */

.cta-section {
    background: var(--color-surface);
}

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.cta-inner h2 {
    margin-bottom: 0.6rem;
}

.cta-inner p {
    color: var(--color-text-sub);
    margin-bottom: 1.4rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2.4rem;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease,
        background 0.12s ease;
}

.cta-button:hover {
    background: #115e59;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}


/* =========================================
   ベース設定
   ========================================= */

:root {
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-surface-soft: #f9fafb;
    --color-text-main: #111827;
    --color-text-sub: #4b5563;
    --color-accent: #0f766e;       /* 深めのグリーン系アクセント */
    --color-accent-soft: #ecfdf3;
    --color-border: #e5e7eb;
    --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius-card: 16px;
    --radius-pill: 999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* サイト全体の横幅（固定＋両端余白） */

.site-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 共通コンテナ（必要箇所で使用） */

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 見出しの基本（全体のバランス） */

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 0.4em;
}

h1 {
    font-size: clamp(2rem, 3vw, 2.4rem);
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.1rem;
}

/* セクションの共通余白 */

.section-padding {
    padding: 56px 0;
}

@media (min-width: 960px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* セクション見出し＋下線アニメーション */

.section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.section-heading h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 6px;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-out;
}

/* hover した時だけ下線がスッと伸びる */

.section-heading h2:hover::after {
    transform: scaleX(1);
}

.section-lead {
    max-width: 640px;
    margin: 10px auto 0;
    color: var(--color-text-sub);
    line-height: 1.9;
    font-size: 0.95rem;
}

/* intro・map・CTA・固定ページ見出しにも同じ下線スタイルを適用 */

.map-text h2,
.intro-inner h2,
.cta-inner h2,
.page-title,
.alumni-heading,
.page .entry-content .join-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.map-text h2::after,
.intro-inner h2::after,
.cta-inner h2::after,
.page-title::after,
.alumni-heading::after,
.page .entry-content .join-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-out;
}

.map-text h2:hover::after,
.intro-inner h2:hover::after,
.cta-inner h2:hover::after,
.page-title:hover::after,
.alumni-heading:hover::after,
.page .entry-content .join-heading:hover::after {
    transform: scaleX(1);
}

/* =========================================
   フッター
   ========================================= */

.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 16px 30px;
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
}

.footer-menu {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-menu a {
    text-decoration: none;
    color: #6b7280;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 2px;
}

.footer-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease-out;
}

.footer-menu a:hover::after {
    transform: scaleX(1);
}

.footer-copy {
    margin-top: 4px;
}



/* ===== CTA ===== */

.cta-section {
    background: var(--color-surface);
}

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.cta-inner h2 {
    margin-bottom: 0.6rem;
}

.cta-inner p {
    color: var(--color-text-sub);
    margin-bottom: 1.4rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2.4rem;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease,
        background 0.12s ease;
}

.cta-button:hover {
    background: #115e59;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

/* =========================================
   単一投稿ページ
   ========================================= */

.single-post .site-main {
    max-width: 760px;
    margin: 32px auto 60px;
    padding: 24px 20px 32px;
    background: #ffffff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.single-post .entry-header {
    margin-bottom: 18px;
}

.single-post .entry-title {
    font-size: 1.9rem;
    margin-bottom: 6px;
}

.single-post .entry-meta {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 12px;
}

.single-post .entry-content {
    font-size: 0.98rem;
    line-height: 1.9;
    color: #374151;
}

.single-post .entry-content p {
    margin-bottom: 1.1rem;
}

.single-post .entry-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 1.2rem;
    margin-bottom: 1.1rem;
}

.single-post .entry-content li {
    margin-bottom: 0.3rem;
}

/* =========================================
   「参加のご案内」ページ
   ========================================= */

.page .entry-content .join-lead {
    font-size: 1.02rem;
    line-height: 1.9;
    margin-bottom: 1.6rem;
    padding: 12px 14px;
    border-left: 4px solid var(--color-accent);
    background: #f6f7fb;
}

.page .entry-content .join-list {
    margin-left: 1.2rem;
    margin-bottom: 1.3rem;
}

.page .entry-content .join-list li {
    margin-bottom: 0.35rem;
}

.page .entry-content .join-form-placeholder {
    margin: 1.4rem 0 1.8rem;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
    border: 1px solid #e7e8f0;
    font-size: 0.95rem;
}

.page .entry-content .join-note {
    margin-top: 1.4rem;
    font-size: 0.9rem;
    line-height: 1.9;
    color: #555;
    padding-top: 0.9rem;
    border-top: 1px dashed #d4d6de;
}

/* =========================================
   アルムナイ紹介ページ
   ========================================= */

.page .entry-content .alumni-intro {
    margin-bottom: 1.8rem;
}

.page .entry-content .alumni-intro-lead {
    font-size: 1.02rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    padding: 12px 14px;
    border-left: 4px solid var(--color-accent);
    background: #f6f7fb;
}

.page .entry-content .alumni-section {
    margin-top: 2rem;
}

.page .entry-content .alumni-card {
    margin-bottom: 1.8rem;
    padding: 16px 18px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7f0;
}

.page .entry-content .alumni-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.page .entry-content .alumni-role {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.page .entry-content .alumni-text {
    font-size: 0.92rem;
    line-height: 1.9;
    color: #444;
}

/* =========================================
   固定ページ共通レイアウト
   ========================================= */

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* アイキャッチ（固定ページ） */

.page-hero {
    margin-bottom: 16px;
}

.page-hero-inner img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* 固定ページタイトル */

.page-header {
    margin-bottom: 18px;
}

.page-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* =========================================
   スクロールでふわっと現れる演出
   ========================================= */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease-out,
        transform 0.7s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll.is-visible:nth-of-type(2) {
    transition-delay: 0.06s;
}

.reveal-on-scroll.is-visible:nth-of-type(3) {
    transition-delay: 0.12s;
}


/* =========================================
   見出しと本文まわりの余白 最適化
   ========================================= */

/* グローバル：h2/h3 は少しゆったり */
h2,
h3 {
    margin-top: 1.6rem;
    margin-bottom: 0.7rem;
}

/* セクション見出し（トップページ） */
.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    margin-bottom: 0.8rem;
}

/* intro / map / CTA の見出しも少し余裕を持たせる */
.intro-inner h2,
.map-text h2,
.cta-inner h2 {
    margin-top: 0;
    margin-bottom: 0.9rem;
}

/* 固定ページ・投稿本文の見出しと段落の間隔 */
.page .entry-content h2,
.page .entry-content h3,
.single-post .entry-content h2,
.single-post .entry-content h3 {
    margin-top: 2rem;        /* 見出しの前にしっかり空ける */
    margin-bottom: 0.8rem;   /* 見出し直後も少し余裕 */
}

/* 固定ページ・投稿本文の段落は、下にやや広めの余白 */
.page .entry-content p,
.single-post .entry-content p {
    margin-top: 0;
    margin-bottom: 1.3rem;
}

/* アルムナイ紹介ページの見出しとカードの間隔 */
.alumni-heading {
    margin-top: 0;
    margin-bottom: 1.1rem;
}

.page .entry-content .alumni-section {
    margin-top: 2.2rem;
}

.page .entry-content .alumni-card {
    margin-bottom: 2rem;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* 参加案内ページの見出しも少し余裕を持たせる */
.page .entry-content .join-heading {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
}

/* 固定ページタイトル（上部の余白も少し広げる） */
.page-header {
    margin-bottom: 22px;
}

.page-title {
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
}

/* =========================================
   石川県アルムナイ お問い合わせフォーム
   ========================================= */

.ishikawa-contact-form {
    max-width: 680px;
    margin: 24px auto 40px;
    padding: 20px 18px 24px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.ishikawa-contact-intro {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #4b5563;
    margin: 0 0 1.4rem;
}

.ishikawa-field {
    margin-bottom: 1.1rem;
}

.ishikawa-label {
    display: block;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.35rem;
}

.ishikawa-required {
    color: #b91c1c;
    font-size: 0.82rem;
    margin-left: 2px;
}

/* テキスト入力・メール・題名 */

.ishikawa-input {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #111827;
    background-color: #f9fafb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease,
                background-color 0.15s ease;
}

.ishikawa-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.15),
                0 0 0 4px rgba(15, 118, 110, 0.06);
}

/* テキストエリア */

.ishikawa-textarea {
    width: 100%;
    min-height: 140px;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #111827;
    background-color: #f9fafb;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease,
                background-color 0.15s ease;
}

.ishikawa-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.15),
                0 0 0 4px rgba(15, 118, 110, 0.06);
}

/* 送信ボタン */

.ishikawa-submit-wrap {
    text-align: center;
    margin-top: 1.6rem;
}

.ishikawa-submit {
    display: inline-block;
    padding: 0.7rem 2.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease,
                background 0.12s ease;
}

.ishikawa-submit:hover {
    background: #115e59;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
}

.ishikawa-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* スマホ時は余白を少しタイトに */

@media (max-width: 768px) {
    .ishikawa-contact-form {
        margin: 16px auto 32px;
        padding: 16px 14px 22px;
    }
}


/* 共通ボタン風スタイル */
.header-sns-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}




/* ヘッダーの横並び調整 */
.site-header .header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
}

/* ロゴ部分 */
.site-header .site-branding {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* メインメニューをロゴの右側に */
.site-header .site-nav {
    margin-left: 2rem;
}

/* SNS アイコンを一番右に寄せる */
.site-header .header-sns {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 共通：丸いロゴボタン風 */
.site-header .header-sns-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background: #6b7280;
    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.site-header .header-sns-icon span {
    line-height: 1;
}

/* X のカラー */
.site-header .header-sns-x {
    background: #000000;
}

/* Instagram っぽいグラデーション */
.site-header .header-sns-instagram {
    background: radial-gradient(circle at 30% 30%, #fdf497 0, #fdf497 20%, #fd5949 45%, #d6249f 70%, #285AEB 100%);
}

/* ホバー時 */
.site-header .header-sns-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

/* スマホ：折り返し調整 */
@media (max-width: 768px) {
    .site-header .header-inner {
        flex-wrap: wrap;
    }

    .site-header .site-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .site-header .header-sns {
        order: 2;
        margin-left: auto;
        margin-top: 0.25rem;
    }
}




/* ▼ SNS共有セクションの背景を白に統一して和紙背景を消す */
.share-section {
    background: #ffffff !important;
    padding: 2rem 0;
}

/* 子要素にも Kadence の背景が当たる可能性があるため念のため */
.share-section .container,
.share-section .cute-share-inner,
.share-section .scriptlesssocialsharing--site {
    background: #ffffff !important;
}



/* CTAとSNSセクションを確実に分離 */
.cta-section {
    margin-bottom: 80px !important;
}

/* ▼ SNS共有セクションの帯っぽい背景をオフにする */
.share-section.cute-share {
    background-color: transparent !important;
    background-image: none !important;
}

/* 念のため、疑似要素で帯を出している場合も殺しておく */
.share-section.cute-share::before,
.share-section.cute-share::after {
    content: none !important;
    background-image: none !important;
}

.scriptlesssocialsharing__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}




/* 共通ボタン */
.scriptlesssocialsharing--site .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff !important;
    border: none;
}

/* ブランドカラー */
.button.twitter { background: #000000 !important; }
.button.facebook { background: #1877f2 !important; }
.button.pinterest { background: #e60023 !important; }
.button.linkedin { background: #0a66c2 !important; }
.button.email { background: #6b7280 !important; }
.button.line { background: #06c755 !important; }

/* ==========================================================
   各ブランドカラー
========================================================== */

/* X（黒） */
.button.twitter {
    background: #000 !important;
    border: 1px solid #000 !important;
}

/* X のラベルを非表示にする */
.button.twitter .sss-name {
    display: none !important;
}


.button.twitter:hover {
    background: #111 !important;
}

/* Facebook（青） */
.button.facebook {
    background: #1877F2 !important;
    border: 1px solid #1877F2 !important;
}
.button.facebook:hover {
    background: #145bbd !important;
}

/* Pinterest（赤） */
.button.pinterest {
    background: #E60023 !important;
    border: 1px solid #E60023 !important;
}
.button.pinterest:hover {
    background: #b0001b !important;
}

/* LinkedIn（濃青） */
.button.linkedin {
    background: #0A66C2 !important;
    border: 1px solid #0A66C2 !important;
}
.button.linkedin:hover {
    background: #084f96 !important;
}

/* Email（濃グレー） */
.button.email {
    background: #555 !important;
    border: 1px solid #555 !important;
}
.button.email:hover {
    background: #333 !important;
}

/* LINE（LINEグリーン） */
.button.line {
    background: #06C755 !important;
    border: 1px solid #06C755 !important;
    color: #fff !important;
}
.button.line:hover {
    background: #049d43 !important;
}

/* ----------------------------------------------------------
   LINE のアイコンが無いので文字だけ → カプセル化
---------------------------------------------------------- */
.button.line .scriptlesssocialsharing__icon {
    display: none !important;
}



.scriptlesssocialsharing__buttons .button .sss-name {
    color: #fff !important;
    margin-left: 6px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

.scriptlesssocialsharing__buttons .button {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* CTA のすぐ下にある和紙背景だけ薄くする */
.cta-section + section {
    position: relative;
}

.cta-section + section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.65); /* ← SNS カードに影響しない白フィルター */
    pointer-events: none;
    z-index: 0;
}

.cta-section {
    margin-bottom: 70px !important;
}

/* ▼ SNS共有セクション全体 */
.share-section.cute-share {
    padding: 32px 16px 64px;
}

/* ▼ 中央のカード部分をしっかり丸める */
.cute-share-inner {
    max-width: 840px;
    margin: 0 auto;
    padding: 24px 28px 20px;
    background: #ffffff;
    border-radius: 24px; /* ここを大きめに */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* ▼ 霞みを消す：疑似要素の白い膜をオフ */
.cta-section + section::before,
.cute-share-inner::after {
    content: none !important;
}


/* CTA セクションを白いカードにする */
.cta-section {
    padding: 60px 0 !important;
}

.cta-inner {
    background: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}


/* ==============================
   CTA（参加案内）をカード化＆背景の和紙オフ
   ============================== */
/* ▼ CTA＆SNSセクションの後ろの和紙をオフにする */
.ishikawa-front .cta-section,
.ishikawa-front .share-section {
    background-color: #f9fafb;      /* サイト全体の背景色と合わせる */
    background-image: none !important;
}


/* ▼ ボタンの並び（今のままでよさそうならそのままで） */
.share-section.cute-share .scriptlesssocialsharing__buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
}

/* ▼ 共通ボタンスタイル：白ベース＋グレー枠のピル型 */
.share-section.cute-share .scriptlesssocialsharing__buttons .button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    min-height: 34px !important;
    border-radius: 999px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06) !important;

    transform: translateY(0) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

/* ホバー時はほんのりグレーに */
.share-section.cute-share .scriptlesssocialsharing__buttons .button:hover {
    background: #f3f4f6 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* ▼ 以前付けたブランドごとの背景色を打ち消す */
.share-section.cute-share .button.twitter,
.share-section.cute-share .button.facebook,
.share-section.cute-share .button.pinterest,
.share-section.cute-share .button.linkedin,
.share-section.cute-share .button.email,
.share-section.cute-share .button.line {
    background: #ffffff !important;
    border-color: #d1d5db !important;
}

/* ▼ アイコン：色味を薄くしてなじませる */
.share-section.cute-share .scriptlesssocialsharing__icon {
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;

    filter: grayscale(100%);
    opacity: 0.8;
}

/* EmailのSVGだけは塗りをグレーに */
.share-section.cute-share .scriptlesssocialsharing__icon.email path {
    fill: #4b5563 !important;
}

/* ラベル文字 */
.share-section.cute-share .scriptlesssocialsharing__buttons .button .sss-name {
    margin-left: 4px !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    color: #111827 !important;
}

/* X だけラベルを「X」に簡略化したい場合（不要なら削除してOK） */
.share-section.cute-share .button.twitter .sss-name {
    font-size: 0 !important;
    margin-left: 0 !important;
}
.share-section.cute-share .button.twitter .sss-name::before {
    content: "X";
    font-size: 0.85rem;
    margin-left: 4px;
    color: #111827;
}


/* ▼ ishikawa-front 全体の和紙背景をオフにする */
.ishikawa-front {
    background-image: none !important;
    background-color: #f3f6fb; /* 他セクションと同じ下地に合わせる */
}

/* 念のため、疑似要素で帯を出している場合も消す */
.ishikawa-front::before,
.ishikawa-front::after {
    content: none !important;
    background-image: none !important;
}

/* 共通：アニメーション */
.share-section.cute-share .scriptlesssocialsharing__buttons .button {
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        color 0.18s ease;
}

/* 共通：ホバーでちょっとだけ浮かせる */
.share-section.cute-share .scriptlesssocialsharing__buttons .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10);
}

/* ホバー時はアイコンのグレースケール解除 */
.share-section.cute-share .scriptlesssocialsharing__buttons .button:hover .scriptlesssocialsharing__icon {
    filter: none;
    opacity: 1;
}

/* X（ベースが黒なので、ほんのりグレー） */
.share-section.cute-share .button.twitter:hover {
    background-color: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.30);
}

/* Facebook #1877F2 */
.share-section.cute-share .button.facebook:hover {
    background-color: rgba(24, 119, 242, 0.08);
    border-color: rgba(24, 119, 242, 0.35);
    color: #1d4ed8;
}

/* Pinterest #E60023 */
.share-section.cute-share .button.pinterest:hover {
    background-color: rgba(230, 0, 35, 0.08);
    border-color: rgba(230, 0, 35, 0.35);
    color: #b91c1c;
}

/* LinkedIn #0A66C2 */
.share-section.cute-share .button.linkedin:hover {
    background-color: rgba(10, 102, 194, 0.08);
    border-color: rgba(10, 102, 194, 0.35);
    color: #1d4ed8;
}

/* Email（ニュートラルグレー） */
.share-section.cute-share .button.email:hover {
    background-color: rgba(55, 65, 81, 0.06);
    border-color: rgba(55, 65, 81, 0.35);
    color: #111827;
}
.share-section.cute-share .button.email:hover .scriptlesssocialsharing__icon.email path {
    fill: #374151;
}

/* LINE #06C755 */
.share-section.cute-share .button.line:hover {
    background-color: rgba(6, 199, 85, 0.08);
    border-color: rgba(6, 199, 85, 0.35);
    color: #059669;
}



/* hero 巨大化防止 */
img {
  max-width: 100%;
  height: auto;
}




/* ===== HERO 右下の SNS アイコン ===== */


/* 右下に固定するコンテナ */
.hero-sns {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    gap: 0.75rem;
    z-index: 20; /* hero-inner より前面 */
}

/* 丸いボタン */
.hero-sns-link {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* 中のアイコン固定サイズ */
.hero-sns-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: block !important;
    object-fit: contain !important;
}

/* ホバー時のちょい浮き */
.hero-sns-link:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
}

/* スマホ時 */
@media (max-width: 768px) {
    .hero-sns {
        right: 1rem;
        bottom: 1rem;
        gap: 0.5rem;
    }

    .hero-sns-link {
        width: 34px;
        height: 34px;
    }

    .hero-sns-icon {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
    }
}


/* 全体を上質なカードに */
.ia-article {
  max-width: 840px;
  margin: 40px auto 0;
  padding: 32px 28px 36px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* 本文エリア */
.ia-body p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #374151;
}

/* リード文だけ少し大きめ＋間をあける */
.ia-body .ia-lead {
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 500;
  color: #111827;
  margin-bottom: 14px;
}

/* 情報提供のカード */
.ia-section.ia-cta {
  margin-top: 28px;
  padding: 20px 20px 22px;
  border-radius: 14px;
  background: #f5faf9;
  border: 1px solid #d1fae5;
}

/* リード（説明1段目） */
.ia-cta__lead {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #065f46;
}

/* 説明段落 */
.ia-cta p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #374151;
}

/* 箇条書き */
.ia-cta__points {
  margin: 8px 0 14px 1.2em;
  padding: 0;
  font-size: 0.9rem;
  color: #374151;
}

.ia-cta__points li {
  margin-bottom: 4px;
}

/* ボタン */
.ia-actions {
  margin-top: 6px;
}

.ia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

/* 緑のアクセントボタン */
.ia-btn--primary {
  background-color: #10b981;
  color: white;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.ia-btn--primary:hover {
  background-color: #059669;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}