@charset "UTF-8";
/*
Theme Name: Wajima Ligare
Description: 輪島復興支援団体リガーレ 公式ホームページ用カスタムテーマ
Version: 91.0
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;700;800;900&family=Shippori+Mincho:wght@400;600;700&display=swap');

/* ==========================================
   1. 変数定義 & リセット
   ========================================== */
:root {
    --color-bg: rgb(38, 38, 38);
    --color-card-bg: rgba(0, 0, 0, 0.25);
    --color-text: #ffffff;
    --color-text-muted: #d0d0d0;
    --color-accent-red: rgb(230, 31, 25);
    --color-accent-gold: rgb(243, 217, 37);
    --color-accent-blue: rgb(16, 141, 190);
    --color-border: rgba(255, 255, 255, 0.18);
}

html, body { 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
    background-color: var(--color-bg);
}

html { font-size: 14px; }

html, body, section, div, span, main, header, footer, h1, h2, h3, h4, h5, h6, p, a, img, ul, li, button, nav {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: "M PLUS 1p", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
}

/* ==========================================
   2. 背景ロゴ
   ========================================== */
.c-section-watermark {
    position: absolute;
    top: calc(55px + 55vh + 40px);
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 1600px;
    max-width: 90vw;
    background-image: url('https://wajimaligare.hyuga-yasuhito.com/wp-content/uploads/2026/09/ligare_rogo2_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.l-main {
    position: relative;
    z-index: 1;
}

.p-hero-wrapper,
.l-section,
.l-footer {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

/* ==========================================
   3. コンテンツ幅設定
   ========================================== */
.l-container,
.post-container,
.p-contact-wrapper { 
    max-width: 1100px; 
    width: 100%;
    margin: 0 auto; 
    padding: 0 20px; 
    position: relative; 
    z-index: 1;
    box-sizing: border-box;
}

/* ==========================================
   4. ヘッダー & ナビゲーション
   ========================================== */
.l-header {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 1200px;
    background: linear-gradient(135deg, #b31e23 0%, #590b11 100%);
    border-radius: 50px;
    z-index: 3000;
    padding: 6px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background 0.4s ease;
}

.l-header__inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}

.l-header__logo { 
    position: relative; 
    z-index: 3002; 
}

.l-header__logo a { 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    text-decoration: none; 
    color: #ffffff; 
    transition: opacity 0.4s ease; 
}

.l-header__logo-sub { 
    font-size: 0.6rem; 
    font-weight: 700; 
    line-height: 1; 
    margin-bottom: 2px; 
}

.l-header__logo-main { 
    font-size: 1.4rem; 
    font-weight: 800; 
    line-height: 1; 
}

.l-header__nav { 
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 1200px;
    height: 52px;
    padding: 0 30px;
    display: flex; 
    justify-content: flex-end;
    align-items: center; 
    gap: 25px; 
    z-index: 3001;
    pointer-events: none;
}

.l-header__nav a { 
    color: #ffffff; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.95rem; 
    transition: opacity 0.2s ease; 
    pointer-events: auto;
}

.l-header__nav a:hover { opacity: 0.7; }

.l-header__hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 3002;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.l-header__hamburger span {
    position: absolute;
    width: 100%;
    height: 2.5px;
    background-color: #ffffff;
    left: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.l-header__hamburger span:nth-child(1) { top: 2px; }
.l-header__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.l-header__hamburger span:nth-child(3) { bottom: 2px; }

.l-header__hamburger.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.l-header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.l-header__hamburger.is-active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ==========================================
   5. ファーストビュー
   既存状態をそのまま維持
   ========================================== */
.p-hero-wrapper { 
    padding-top: 55px; 
    padding-bottom: 40px; 
}

/* ログアウト時も、管理バー表示時と同じヒーロー開始位置に合わせる */
body:not(.admin-bar) .p-hero-wrapper {
    padding-top: 87px;
}

@media (max-width: 782px) {
    body:not(.admin-bar) .p-hero-wrapper {
        padding-top: 101px;
    }
}

.p-hero { 
    position: relative; 
    width: 96%; 
    max-width: 1200px; 
    height: 55vh; 
    min-height: 400px; 
    margin: 0 auto; 
    border-radius: 30px; 
    overflow: hidden; 
    z-index: 2; 
    background-color: #262626;
}

.p-hero-slider { 
    position: absolute; 
    inset: 0;
    width: 100%; 
    height: 100%; 
    z-index: 1; 
}

.p-hero-slide { 
    position: absolute; 
    inset: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    opacity: 0; 
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: block;
}

.p-hero-slide.is-active { 
    opacity: 1; 
    z-index: 2;
}

.p-hero-white-filter {
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    opacity: 0.25;
    z-index: 5;
    pointer-events: none;
}

.p-hero-indicator {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    pointer-events: none;
}

.p-hero-indicator__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.p-hero-indicator__dot.is-active {
    background-color: #38bdf8;
    transform: scale(1.15);
}

.p-hero::after {
    content: "";
    position: absolute;
    bottom: 25px;
    right: 35px;
    width: 160px;
    height: 90px;
    background-image: url('https://wajimaligare.hyuga-yasuhito.com/wp-content/uploads/2026/09/ligare_rogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    z-index: 101;
    pointer-events: none;
}

.p-hero__copy {
    position: absolute;
    top: 50%;
    left: 0; 
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 102;
    width: 100%;
    pointer-events: none;
}

.p-hero__copy-line {
    position: relative;
    color: #ffffff;
    padding: 12px 30px 12px 40px; 
    font-size: clamp(1.2rem, 3vw, 2rem); 
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.05em;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
}

.p-hero__copy-line--bracket .p-hero__copy-text { margin-left: -0.4em; }

.p-hero__copy-line::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: var(--color-bg); 
    z-index: -1;
    transform: translateX(-100%);
    animation: smoothSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.p-hero__copy-text { 
    display: inline-block; 
    opacity: 0; 
    animation: fadeTextOnly 0.4s ease forwards; 
}

.p-hero__copy-line:nth-child(1)::before { animation-delay: 0.2s; }
.p-hero__copy-line:nth-child(1) .p-hero__copy-text { animation-delay: 0.6s; }
.p-hero__copy-line:nth-child(2)::before { animation-delay: 0.5s; }
.p-hero__copy-line:nth-child(2) .p-hero__copy-text { animation-delay: 0.9s; }
.p-hero__copy-line:nth-child(3)::before { animation-delay: 0.8s; }
.p-hero__copy-line:nth-child(3) .p-hero__copy-text { animation-delay: 1.2s; }

@keyframes smoothSlideIn {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

@keyframes fadeTextOnly {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ==========================================
   6. 追従バナー
   ========================================== */
.c-floating-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-accent-red);
    border: 3px solid #ffffff;
    border-radius: 50px;
    display: flex;
    z-index: 1500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    overflow: hidden;
}

.c-floating-banner__item {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    min-width: 100px;
    background-color: transparent;
    border-right: 2px solid rgba(255,255,255,0.4);
    -webkit-tap-highlight-color: transparent;
    transition: none;
}

.c-floating-banner__item:last-child { border-right: none; }
.c-floating-banner__item i { font-size: 1.6rem; margin-bottom: 5px; }
.c-floating-banner__item span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; white-space: nowrap; }

.c-floating-banner__item:hover { background-color: rgba(0,0,0,0.2); }
.c-floating-banner__item:active { background-color: transparent !important; }
.c-floating-banner__item:focus { outline: none; }

/* ==========================================
   7. セクション共通見出し
   光彩は元のまま
   ========================================== */
.l-section { 
    padding: 85px 0; 
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.l-section--last {
    border-bottom: none;
}

.p-section-head--max-left { 
    width: 100%; 
    margin-bottom: 30px; 
}

.p-section-head--max-right { 
    width: 100%; 
    margin-bottom: 30px; 
    display: flex; 
    justify-content: flex-end; 
}

.p-section-title-custom {
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin: 0;
    position: relative;
    z-index: 3;
}

.p-section-title-custom .num { 
    font-size: clamp(2.5rem, 7vw, 4.5rem); 
    color: var(--color-accent-gold);
}

.p-section-title-custom .text { 
    font-size: clamp(1.3rem, 3.5vw, 2.2rem); 
    color: #000000;
    text-shadow: 
        0 0 10px rgba(243, 217, 37, 0.9),
        0 0 20px rgba(243, 217, 37, 0.6),
        0 0 30px rgba(243, 217, 37, 0.4);
}

.p-section-title-custom--right { 
    justify-content: flex-end; 
}

/* ==========================================
   8. セクション名アニメーション
   h2そのものを動かす
   光彩をクリップしない
   ========================================== */
.is-motion-enabled .js-section-title {
    --title-direction: 1;
    opacity: 0;
    transform: translateY(36px);
    will-change: transform, opacity;
}

.is-motion-enabled .js-section-title .num {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px) scale(1.22);
    will-change: transform, opacity;
}

.is-motion-enabled .js-section-title .text {
    display: inline-block;
    opacity: 0;
    transform: translateX(calc(48px * var(--title-direction))) skewX(-8deg);
    will-change: transform, opacity;
}

.is-motion-enabled .p-section-title-custom--right.js-section-title {
    --title-direction: -1;
}

.p-motion-section.is-visible .js-section-title {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.3s ease,
        transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.p-motion-section.is-visible .js-section-title .num {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: sectionNumberEnter 0.85s cubic-bezier(0.16,1,0.3,1) 0.04s both;
}

.p-motion-section.is-visible .js-section-title .text {
    opacity: 1;
    transform: translateX(0) skewX(0);
    animation:
        sectionNameEnter 0.85s cubic-bezier(0.16,1,0.3,1) 0.18s both,
        sectionGlowPunch 1.25s ease 0.55s 1;
}

@keyframes sectionNumberEnter {
    0% { opacity: 0; transform: translateY(24px) scale(1.22); }
    65% { opacity: 1; transform: translateY(-4px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sectionNameEnter {
    0% { opacity: 0; transform: translateX(calc(48px * var(--title-direction))) skewX(-8deg); }
    70% { opacity: 1; transform: translateX(calc(-4px * var(--title-direction))) skewX(2deg); }
    100% { opacity: 1; transform: translateX(0) skewX(0); }
}

@keyframes sectionGlowPunch {
    0% {
        text-shadow:
            0 0 10px rgba(243,217,37,0.9),
            0 0 20px rgba(243,217,37,0.6),
            0 0 30px rgba(243,217,37,0.4);
    }

    45% {
        text-shadow:
            0 0 16px rgba(243,217,37,1),
            0 0 34px rgba(243,217,37,1),
            0 0 64px rgba(243,217,37,0.8);
    }

    100% {
        text-shadow:
            0 0 10px rgba(243,217,37,0.9),
            0 0 20px rgba(243,217,37,0.6),
            0 0 30px rgba(243,217,37,0.4);
    }
}

/* ==========================================
   9. セクション単色ライン
   黄色 or 赤のみ
   ========================================== */
.p-section-entry-line {
    position: absolute;
    top: 0;
    width: 0;
    height: 3px;
    opacity: 0;
}

.p-motion-section--yellow .p-section-entry-line {
    left: 0;
    background-color: var(--color-accent-gold);
}

.p-motion-section--red .p-section-entry-line {
    right: 0;
    background-color: var(--color-accent-red);
}

.p-motion-section.is-visible .p-section-entry-line {
    width: 38%;
    opacity: 1;
    transition:
        width 1.1s cubic-bezier(0.16,1,0.3,1),
        opacity 0.25s ease;
}

/* ==========================================
   10. セクション内容表示
   ========================================== */
.is-motion-enabled .js-content-reveal {
    opacity: 0;
    transform: translateY(45px);
}

.is-motion-enabled .js-content-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.7s ease,
        transform 0.95s cubic-bezier(0.16,1,0.3,1);
}

/* ==========================================
   11. 固定ページタイトル
   ========================================== */
.entry-title,
.p-page-title,
h1.entry-title,
.p-contact-title,
.p-page-header-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    font-style: normal;
    color: #ffffff;
    text-shadow: none;
    margin: 110px auto 40px auto;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* ==========================================
   12. REPORTS セクション
   ========================================== */
.p-reports-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
}

.p-report-row {
    position: relative;
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 24px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    background: rgba(0,0,0,0.15);
    transition: background-color 0.2s;
    overflow: hidden;
}

.p-report-row:hover {
    background-color: rgba(255,255,255,0.08);
}

.p-report-row__title { 
    font-size: 1.15rem; 
    font-weight: 700; 
    color: #ffffff; 
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.p-report-row__excerpt { 
    position: absolute;
    left: 280px;
    right: 24px;
    top: 0;
    bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1;
}

.p-report-row__excerpt::after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    font-size: 0.95rem; 
    color: #d0d0d0;
    white-space: nowrap;
    animation: tickerRun 26s linear infinite;
}

.p-report-row:hover .p-report-row__excerpt::after {
    animation-play-state: paused;
}

@keyframes tickerRun {
    0% { transform: translate(0,-50%); }
    100% { transform: translate(calc(-100% - 100cqi),-50%); }
}

.p-reports-empty {
    padding: 20px;
    color: #bbb;
    text-align: center;
}

.p-insta-誘導-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px 35px;
    gap: 20px;
}

.p-insta-誘導-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.p-insta-誘導-icon {
    font-size: 2.2rem;
    color: var(--color-accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.p-insta-誘導-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
}

.p-insta-誘導-desc {
    font-size: 0.9rem;
    color: #d0d0d0;
}

.p-insta-誘導-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-accent-red);
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.p-insta-誘導-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ==========================================
   13. About セクション
   ========================================== */
.p-about { 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto; 
    position: relative; 
    padding-bottom: 50px; 
}

.p-about__text { 
    color: #ffffff; 
    font-size: 1.05rem; 
    line-height: 2.3; 
    font-weight: 500; 
}

.p-about__more-wrap { 
    position: absolute; 
    right: 0; 
    bottom: 0; 
}

.p-about__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-accent-red);
    color: #fff;
    border: none;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: opacity 0.2s, transform 0.2s;
}

.p-about__more-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ==========================================
   14. SUPPORT セクション
   ========================================== */
.p-support__lead {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
}

.p-support__box {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #ffffff;
}

.p-support-bank-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 30px;
}

.p-bank-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}

.p-bank-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.p-bank-item--holder {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

.p-bank-label {
    width: 70px;
    font-size: 0.85rem;
    color: #aaa;
}

.p-bank-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.p-copy-single-btn {
    background-color: var(--color-accent-blue);
    color: #ffffff;
    border: none;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.p-copy-single-btn:hover { opacity: 0.85; }
.p-copy-single-btn.is-copied { background-color: #28a745; }

.p-bank-all-wrap {
    display: flex;
    align-items: center;
}

.p-copy-all-btn {
    background-color: var(--color-accent-blue);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s, transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 12px rgba(16,141,190,0.35);
    white-space: nowrap;
}

.p-copy-all-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.p-copy-all-btn.is-copied {
    background-color: #28a745;
}

.p-support-online-wrap {
    text-align: center;
    padding-top: 10px;
}

.p-support-online-title {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 15px;
}

.p-support-online-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.p-support-paypay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255,255,255,0.1);
    color: #bbb;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    pointer-events: none;
}

/* ==========================================
   15. コンタクトフォーム
   ========================================== */
.page,
.single,
.archive,
.page-template-default,
main {
    background-color: var(--color-bg);
}

.wpcf7 {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 auto 80px auto;
    max-width: 1100px;
    width: 100%;
    box-shadow: none;
}

.wpcf7 form.wpcf7-form {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-sizing: border-box;
}

.wpcf7 form p {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 22px;
    line-height: 1.5;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    margin-top: 10px;
    background-color: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--color-accent-gold);
    outline: none;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #777777;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 35px auto 10px auto;
    background-color: var(--color-accent-red);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230,31,25,0.35);
    transition: opacity 0.2s, transform 0.2s;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.wpcf7-response-output {
    border-radius: 8px;
    padding: 12px 18px;
    margin-top: 25px;
    font-size: 0.9rem;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(40,167,69,0.2);
    border: 1px solid #28a745;
    color: #a3e635;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: rgba(220,53,69,0.2);
    border: 1px solid #dc3545;
    color: #f87171;
}

/* ==========================================
   16. モバイル・レスポンシブ
   ========================================== */
body.is-menu-open {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .l-header { padding: 10px 20px; }
    .l-header__hamburger { display: block; }
    
    .l-header__nav {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        background: linear-gradient(135deg, #b31e23 0%, #4a050b 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 35px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: none !important;
        z-index: 2999 !important;
        box-sizing: border-box !important;
    }

    .l-header__nav.is-active { 
        opacity: 1 !important;
        visibility: visible !important; 
        pointer-events: auto !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    .l-header__nav a { 
        color: #ffffff !important; 
        font-size: 1.5rem !important; 
        font-weight: 800 !important;
        padding: 0 !important; 
        display: block !important; 
        text-align: center !important; 
        letter-spacing: 0.05em !important;
        text-decoration: none !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    .c-section-watermark { 
        width: 95vw; 
        height: 1200px; 
    }
    
    .p-hero { 
        width: 100%; 
        border-radius: 0; 
        height: 50vh;
        min-height: 380px;
    }

    .p-hero__copy { 
        left: 0; 
        right: 0; 
    }

    .p-hero__copy-line { 
        padding-left: 20px; 
    }
    
    .p-hero-indicator {
        right: 15px;
        gap: 8px;
    }

    .p-hero-indicator__dot {
        width: 8px;
        height: 8px;
    }

    .p-motion-section.is-visible .p-section-entry-line {
        width: 55%;
    }

    .c-floating-banner { 
        bottom: 15px; 
        left: 15px; 
        right: 15px; 
        width: calc(100% - 30px); 
    }

    .c-floating-banner__item { 
        flex: 1; 
        min-width: 0; 
        padding: 12px 0; 
        background-color: transparent !important;
    }

    .c-floating-banner__item:hover,
    .c-floating-banner__item:active,
    .c-floating-banner__item:focus {
        background-color: transparent !important;
        color: #ffffff !important;
    }

    .p-report-row { 
        flex-direction: column; 
        align-items: flex-start;
        justify-content: flex-start;
        height: 84px;
        padding: 14px 18px; 
    }

    .p-report-row__title {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .p-report-row__excerpt {
        left: 18px;
        right: 18px;
        top: auto;
        bottom: 12px;
        height: 24px;
    }

    .p-report-row__excerpt::after {
        font-size: 0.85rem;
        animation: tickerRunMobile 20s linear infinite;
    }

    @keyframes tickerRunMobile {
        0% { transform: translate(0,-50%); }
        100% { transform: translate(calc(-100% - 100cqi),-50%); }
    }

    .p-insta-誘導-box { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 20px; 
        gap: 15px; 
    }

    .p-insta-誘導-btn { 
        width: 100%; 
        justify-content: center; 
    }

    .p-support-bank-grid { 
        flex-direction: column; 
        align-items: stretch; 
    }

    .p-bank-item { 
        justify-content: space-between; 
    }

    .p-copy-all-btn { 
        width: 100%; 
        justify-content: center; 
    }

    .wpcf7 form.wpcf7-form {
        padding: 25px 15px;
    }
}

/* ==========================================
   17. アニメーション軽減
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .is-motion-enabled .js-content-reveal {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .p-motion-section.is-visible .p-section-entry-line {
        width: 38%;
        opacity: 1;
    }
}