﻿@charset "utf-8";

/* ===============================================
   基本設定 & 変数
   =============================================== */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --text-color: #343a40;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-white);
}

.lp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===============================================
   ヘッダー
   =============================================== */
.lp-header {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.lp-header .lp-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    margin: 0;
    padding: 0;
    padding-left: 10px;
}

#logo img {
    display: block;
    width: 280px;
}

.header-cta {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background-color: var(--primary-dark);
}

/* ===============================================
   トップページ (LP) セクション共通
   =============================================== */
.hero {
    background-color: var(--bg-white);
    text-align: center;
    padding: 140px 0 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 60px;
}

/* ユーティリティクラス (背景色など) */
.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

.text-center-btn {
    text-align: center;
    margin-top: 50px;
}

/* ===============================================
   ヒーローエリア要素
   =============================================== */
.main-catchcopy {
    font-size: 3.2em;
    font-weight: 900;
    margin: 0 0 20px;
    line-height: 1.4;
    color: #111;
}

.main-catchcopy .highlight {
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.1em;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center; /* 中央揃えを強制 */
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
}

.cta-subtext {
    font-size: 1.1em;
    line-height: 1.8;
    margin: 20px 0 30px;
}

.app-showcase {
    width: 100%;
    max-width: 900px;
    margin: 80px auto 0;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.image-caption {
    font-size: 0.8em;
    color: #aaa;
    margin-top: 10px;
    text-align: center;
}

/* ===============================================
   機能・特徴 (Features)
   =============================================== */
.features {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-item h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

/* ===============================================
   活用シーン & テンプレートギャラリー
   =============================================== */
.gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gallery-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block; /* アンカータグ用にブロック化 */
    color: var(--text-color);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover h3 {
    color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* テンプレート画像の個別調整（contain） */
.gallery-item img.template-preview {
    height: 250px;
    object-fit: contain;
    background-color: #f8f9fa;
}

.gallery-item h3 {
    text-align: center;
    padding: 20px 10px;
    margin: 0;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

/* ===============================================
   人気のテーマセクション (新設)
   =============================================== */
#popular-themes {
    background-color: var(--bg-light);
    padding: 80px 0 120px 0;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    column-gap: 30px;
    row-gap: 90px;
}

.theme-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    z-index: 1;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 2;
}

.emoji-icon {
    display: block;
    font-size: 60px !important; /* 強制サイズ指定 */
    line-height: 1;
    margin-bottom: 20px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.theme-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}

.theme-desc {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.theme-link {
    font-weight: bold;
    font-size: 0.9em;
    margin-top: auto;
    color: inherit;
}

/* ===============================================
   使い方ガイド (Steps)
   =============================================== */
.how-to-use {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.guide-step h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #007bff, #00c6ff);
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ===============================================
   FAQ & 詳細ページ関連
   =============================================== */
.faq-item {
    border: 1px solid #ddd;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #fff;
}

.faq-item summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1em;
}

.faq-item p {
    margin-top: 10px;
    line-height: 1.6;
}

/* 詳細ページ (guide.html等) 用 */
.guide-content, .terms-content {
    padding: 80px 0;
}

.guide-content h1, .terms-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

/* ===============================================
   姉妹サイト紹介
   =============================================== */
.sister-sites {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.sister-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-content: center; /* 中央寄せ */
}

.sister-site-item {
    display: block;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.sister-site-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.sister-site-item .icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.sister-site-item .icon img {
    /* ロゴ画像用 */
    width: 100%;
    max-width: 300px;
    height: auto;
}

.sister-site-item h3 {
    font-size: 1.3em;
    margin: 0 0 10px;
    color: var(--primary-dark);
}

.grid-single-limit {
    display: grid;
    grid-template-columns: minmax(280px, 480px);
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

/* ===============================================
   CTA & フッター
   =============================================== */
.final-cta {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.final-cta h2 {
    font-size: 2.2em;
    font-weight: 900;
    margin: 0 0 30px;
}

.lp-footer {
    background-color: #212529;
    color: #adb5bd;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

.lp-footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.lp-footer a:hover {
    text-decoration: underline;
}

/* ===============================================
   アニメーション設定 (Fade-in & Stagger)
   =============================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 遅延用クラス */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ===============================================
   レスポンシブ設定
   =============================================== */
@media (max-width: 768px) {
    .main-catchcopy {
        font-size: 2.2em;
    }
    .section-title {
        font-size: 2em;
    }
    .features-grid,
    .guide-steps {
        grid-template-columns: 1fr;
    }
    .theme-grid {
        row-gap: 40px; /* スマホ時は間隔を少し詰める */
    }
    .emoji-icon {
        font-size: 50px !important;
    }
}

/* ===============================================
   14. コラム・豆知識セクション (New!)
   =============================================== */
/* セクション個別の調整（HTMLのstyle属性を排除） */
#popular-themes, 
#columns-section {
    padding: 80px 0 120px 0;
}

/* コラムカードのサムネイル（グラデーション背景） */
.column-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 5rem;
    transition: transform 0.3s ease;
}

/* 各記事ごとのグラデーション定義 */
.thumb-secret { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.thumb-cost   { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.thumb-color  { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); }
.thumb-kamon  { background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%); }

/* コラムカードのテキストエリア */
.column-content {
    padding: 25px;
    text-align: left;
}

.column-content h3 {
    margin: 0 0 10px;
    font-size: 1.3em;
    color: var(--text-color);
    text-align: left;
}

.column-content p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    text-align: left;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.gallery-item:hover .column-thumb {
    transform: scale(1.05);
}

#columns-section .gallery-grid {
    justify-content: center;
}