@charset "UTF-8";

/* ==========================================================================
   Base
   ========================================================================== */
:root {
    --primary: #2563EB;   /* 信頼感のある青 */
    --accent: #F59E0B;    /* コンバージョン用の黄色 */
    --dark: #1F2937;
    --gray: #F3F4F6;
    --white: #FFFFFF;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
    background-color: var(--gray);
}

a { text-decoration: none; transition: 0.3s; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    margin: 0;
    color: var(--dark);
}
.logo-sub { font-weight: 400; font-size: 14px; color: #666; }

.btn-header {
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}
.btn-header:hover { opacity: 0.8; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.tag-hero {
    background: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    margin: 0 0 20px;
    line-height: 1.3;
}
.hero-title .highlight {
    background: linear-gradient(transparent 60%, var(--accent) 60%);
}

.hero-desc {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-title { font-size: 28px; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 10px;
}
.section-sub {
    text-align: center;
    color: #666;
    margin: 0 0 40px;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    background: white;
    border: 2px solid #ddd;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-link { color: inherit; display: block; height: 100%; }

.card-thumb {
    position: relative;
    aspect-ratio: 1.91 / 1;
    background: #eee;
    overflow: hidden;
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.card:hover .card-thumb img { transform: scale(1.05); }

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin: 0 0 5px;
    font-weight: 700;
}

.card-desc {
    font-size: 13px;
    color: #777;
    margin: 0 0 15px;
}

.card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-title { font-size: 32px; margin-bottom: 20px; }
.cta-desc { opacity: 0.8; margin-bottom: 40px; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    min-width: 200px;
}

.btn-note { background: #2CB696; color: white; } /* Note Color */
.btn-brain { background: #FF9900; color: white; } /* Brain Colorish */

.btn-cta:hover { transform: scale(1.05); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #111;
    color: #666;
    text-align: center;
    padding: 30px 0;
    font-size: 12px;
}