﻿@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: 200px;
}

.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;
}

.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: 600px;
    margin: 0 auto 40px;
}

.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);
}

.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;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 60px;
}

.gallery {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gallery-item {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    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;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item h3 {
    text-align: center;
    padding: 20px 10px;
    margin: 0;
    font-size: 1.1em;
}

.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.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;
}

.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;
}

.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;
}

/* ===============================================
   姉妹サイト紹介セクション
   =============================================== */
.sister-sites {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.sister-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.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 h3 {
    font-size: 1.3em;
    margin: 0 0 10px;
    color: var(--primary-dark);
}

.sister-site-item p {
    font-size: 0.9em;
    margin: 0;
    line-height: 1.6;
}

/* ===============================================
   利用規約ページ (terms.html)
   =============================================== */
.terms-content {
    padding: 80px 0;
    line-height: 1.8;
}

.terms-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.terms-content h2 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #007bff;
}

.terms-content p,
.terms-content li {
    font-size: 1rem;
    margin-bottom: 15px;
}

.terms-content ul {
    list-style: disc;
    padding-left: 25px;
}

.terms-content ol {
    list-style: decimal;
    padding-left: 25px;
}

.terms-content .update-date {
    text-align: right;
    margin-top: 30px;
    color: #555;
}

/* ===============================================
   使い方ガイドページ (guide.html)
   =============================================== */
.guide-content {
    padding: 80px 0;
    line-height: 1.9;
}

.guide-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.guide-content h2 {
    font-size: 1.8rem;
    margin-top: 60px;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
}

.guide-content h3 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px dotted var(--border-color);
    padding-bottom: 10px;
}

.guide-content p,
.guide-content li {
    font-size: 1rem;
    margin-bottom: 15px;
}

.guide-content ul {
    list-style: none;
    padding-left: 0;
}

.guide-content li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="%23007bff"><path d="M10 17l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat left center;
    padding-left: 35px;
    background-size: 24px;
}

.guide-content strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.guide-content .screen-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.guide-content .final-cta {
    margin-top: 60px;
}


/* ===============================================
   フッター
   =============================================== */
.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 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:nth-child(2) {
    transition-delay: 0.1s;
}
.gallery-item:nth-child(3) {
    transition-delay: 0.2s;
}
.gallery-item:nth-child(4) {
    transition-delay: 0.3s;
}
.feature-item:nth-child(2) {
    transition-delay: 0.1s;
}
.feature-item:nth-child(3) {
    transition-delay: 0.2s;
}
.guide-step:nth-child(2) {
    transition-delay: 0.1s;
}
.guide-step:nth-child(3) {
    transition-delay: 0.2s;
}

@media (max-width: 768px) {
    .main-catchcopy {
        font-size: 2.2em;
    }
    .section-title {
        font-size: 2em;
    }
    .features-grid,
    .guide-steps {
        grid-template-columns: 1fr;
    }
}

    .template-page-grid {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
        gap: 60px;
    }

    .template-page-grid .gallery-item img {
        aspect-ratio: 16 / 9;
        height: auto;
        object-fit: cover;
    }

    .template-page-grid.ig-grid .gallery-item img {
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: cover;
    }
        .template-page-grid.ig-p-grid .gallery-item img {
            aspect-ratio: 1080 / 1350;
            height: auto;
            object-fit: cover;
        }
        .template-page-grid.a4-grid .gallery-item img {
            aspect-ratio: 595 / 842;
            height: auto;
            object-fit: cover;
        }