/*
Theme Name: Largelot
Theme URI:
Author:
Description: アクリルグッズ大ロット・法人向けメディア WordPressテーマ（ACF対応）
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: largelot
*/

html { scroll-behavior: smooth; }
body { font-family: "Noto Sans JP", sans-serif; overflow-x: hidden; }

/* ビジュアルパネル */
.visual-panel { position: relative; overflow: hidden; }
.visual-panel img { transition: transform .8s ease, filter .5s ease; }
.visual-panel:hover img { transform: scale(1.04) rotate(-1deg); filter: saturate(1.08); }

/* シャインアニメーション */
.shine::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 48%, transparent 60%);
    transform: translateX(-120%);
    animation: shineMove 5.8s ease-in-out infinite;
}

/* フロートアニメーション */
.float-slow { animation: floatSlow 7s ease-in-out infinite; }
.float-delay { animation-delay: 1.2s; }
.fade-in-up { animation: fadeInUp .8s ease-out both; }

/* ヒーローグリッド背景 */
.hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 記事カード */
.article-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 28px;
    overflow: hidden;
    transition: .25s ease;
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10); }
.card-cover { height: 200px; width: 100%; object-fit: cover; }

/* フィルターボタン */
.cat-btn {
    padding: 11px 18px;
    border-radius: 999px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    transition: .2s ease;
    cursor: pointer;
}
.cat-btn.active { background: var(--brand-cyan); color: white; border-color: var(--brand-cyan); }
.tag-btn {
    padding: 8px 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.07);
    font-size: 12px;
    color: var(--brand-gray);
    transition: .2s ease;
    cursor: pointer;
}
.tag-btn.active { background: rgba(28, 200, 255, 0.12); color: #0f172a; border-color: rgba(28, 200, 255, 0.4); }

/* ページネーション */
.page-btn {
    width: 42px; height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: white;
    font-weight: 700;
    cursor: pointer;
}
.page-btn.active { background: var(--brand-cyan); color: white; border-color: var(--brand-cyan); }
.page-btn:disabled { opacity: .35; pointer-events: none; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes shineMove {
    0%, 60% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

/* ── Contact Form 7 スタイル ────────────────────────────── */
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 0.5rem; }
.wpcf7 label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 0.25rem; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1rem;
    background: var(--brand-light);
    font-size: 0.875rem;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--brand-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(28, 200, 255, 0.15);
}
.wpcf7 textarea { min-height: 180px; resize: vertical; }
.wpcf7 p { margin-bottom: 1.5rem; }
.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 9999px;
    background: var(--brand-cyan);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(28, 200, 255, 0.3);
}
.wpcf7-response-output {
    margin-top: 1.5rem !important;
    padding: 1rem 1.5rem !important;
    border-radius: 1rem !important;
    font-size: 0.875rem;
}
.wpcf7 .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}
.wpcf7-acceptance label { font-weight: 400; font-size: 0.8125rem; color: var(--brand-gray); }
.wpcf7-acceptance input[type="checkbox"] { margin-right: 0.5rem; }
