/* mito/style.css */

html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, whitesmoke, gainsboro);
    background-color: whitesmoke;
    color: #222;
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
}

* {
    box-sizing: border-box;
}

/* ── レイアウト ── */
.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── ヘッダー ── */
.site-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #ddd;
}

.site-header a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
}

.site-header a:hover {
    color: #222;
}

/* ── ヒーロー ── */
.hero {
    padding: 4rem 1.5rem 3rem;
    text-align: center;
}

.hero-appname {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    margin: 0 0 0.5rem;
    color: #333;
}

.hero-tagline {
    font-size: 1.15rem;
    color: #555;
    margin: 0 0 0.8rem;
    font-weight: 400;
}

.hero-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin: 0 auto 2rem;
    max-width: 520px;
}

.hero-btn {
    display: inline-block;
    padding: 0.75rem 2.6rem;
    background-color: #444;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    transition: background-color 0.2s;
}

.hero-btn:hover {
    background-color: #222;
}

/* ── セクション共通 ── */
.section {
    padding: 3rem 1.5rem;
}

.section-title {
    font-size: 0.72rem;
    letter-spacing: 0.4em;
    color: #999;
    text-transform: uppercase;
    margin: 0 0 1.8rem;
    text-align: center;
}

/* ── ブロック ── */
.block {
    background-color: #fffde7;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.15);
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    line-break: strict;
}

.block h2 {
    font-size: 1.05rem;
    font-weight: bold;
    margin: 0 0 1rem;
    color: #333;
}

.block p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* ── 機能グリッド ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.feature-card {
    background-color: #ffeef3;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
}

.feature-num {
    font-size: 0.7rem;
    color: #aaa;
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem;
}

.feature-title {
    font-size: 0.92rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 0.5rem;
}

.feature-desc {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ── チュートリアル ── */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.steps-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.step {
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
}

.steps .step { background-color: #fffde7; }
.steps-5 .step { background-color: #eaf8ec; }

.step-num {
    font-size: 1.6rem;
    font-weight: 300;
    color: #ccc;
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0 0 0.5rem;
    line-height: 1;
}

.step-title {
    font-size: 0.88rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 0.4rem;
}

.step-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.step-desc a {
    color: #555;
}

/* ── サンプル ── */
.samples-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.sample-card {
    background-color: #fff;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
}

.sample-label {
    font-size: 0.7rem;
    color: #aaa;
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 0.12em;
    margin: 0 0 0.4rem;
}

.sample-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 0.4rem;
}

.sample-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 0.8rem;
}

.sample-dl {
    display: inline-block;
    font-size: 0.78rem;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.1em;
}

.sample-dl:hover {
    color: #222;
    border-bottom-color: #222;
}

/* ── CTA ── */
.cta {
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.cta-text {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1.5rem;
}

/* ── フッター ── */
.site-footer {
    border-top: 1px solid #ddd;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

.site-footer a {
    color: #aaa;
    text-decoration: none;
}

.site-footer a:hover {
    color: #555;
}

.footer-sep {
    margin: 0 0.6em;
}

/* ── レスポンシブ ── */
@media (max-width: 720px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps,
    .steps-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .samples-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-appname {
        font-size: 2.2rem;
    }

    .features-grid,
    .steps,
    .steps-5 {
        grid-template-columns: 1fr;
    }
}
