/* nibiiro.net 共通スタイル */
:root {
    --c-deep: #2b2e33;      /* 墨に近い濃灰 */
    --c-nibi: #727171;      /* 鈍色 */
    --c-silver: #b5b8bd;    /* 銀鼠 */
    --c-accent: #8a9ba8;    /* 青みがかった灰（アクセント） */
    --c-warm: #c9a66b;      /* 差し色・金茶 */
    --c-text: #2b2e33;
    --c-sub: #595d63;
    --c-muted: #8a8e94;
    --c-line: #e3e4e6;
    --c-bg: #f4f4f5;
    --c-chip-bg: #e8e9eb;
    --grad: linear-gradient(135deg, #2b2e33 0%, #5a5d62 60%, #9ea2a8 100%);
    --grad-btn: linear-gradient(135deg, #5a5d62, #8a9ba8);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: 'LINE Seed JP', sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

img { max-width: 100%; height: auto; }
a { color: var(--c-accent); }
button, input, select, textarea { font: inherit; color: inherit; }

/* --- ヒーロー --- */
.hero {
    background: var(--grad);
    color: #fff;
    text-align: center;
    padding: 56px 20px 48px;
}
.hero__mark { font-size: 3rem; line-height: 1; display: block; margin-bottom: 14px; }
.hero__name { font-size: 1.85rem; font-weight: 700; letter-spacing: 1px; text-shadow: 0 2px 8px rgba(43,46,51,0.35); }
.hero__en { font-size: 0.7rem; letter-spacing: 3px; opacity: 0.85; margin-top: 6px; }
.hero__tagline {
    display: inline-block;
    margin-top: 18px;
    padding: 6px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--c-nibi);
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- サブページ用ヘッダーバー --- */
.bar {
    background: var(--grad);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.bar a { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 1px; text-shadow: 0 2px 8px rgba(43,46,51,0.35); }
.bar__nav { display: flex; gap: 14px; font-size: 0.8rem; }
.bar__nav a { opacity: 0.9; }
.bar__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.page-head {
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    text-align: center;
    padding: 36px 20px 28px;
}
.page-head__mark { font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 10px; }
.page-head h1 { font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
.page-head__en { font-size: 0.7rem; letter-spacing: 3px; color: var(--c-muted); margin-top: 4px; }
.page-head__lead { font-size: 0.9rem; color: var(--c-sub); margin-top: 14px; }

/* --- 本文 --- */
main {
    flex: 1;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 36px 20px 48px;
}
.lead { font-size: 0.95rem; color: var(--c-sub); margin-bottom: 32px; }

h2.label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--c-muted);
    margin-bottom: 14px;
}

/* --- カード --- */
.card {
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 20px rgba(43, 46, 51, 0.07);
    border: 1px solid var(--c-line);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 14px;
}
a.card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(43, 46, 51, 0.12); }
a.card:active { transform: scale(0.99); }
.card--soon { opacity: 0.85; }

.card__head { display: flex; align-items: center; gap: 14px; }
.card__icon {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 13px;
    background: var(--grad-btn);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.card__meta { font-size: 0.78rem; color: var(--c-muted); margin-top: 2px; }
.card__arrow { margin-left: auto; color: #c3c6cb; font-size: 1.3rem; }
.card__badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--c-warm);
    border: 1px solid var(--c-warm);
    border-radius: 999px;
    padding: 2px 10px;
    white-space: nowrap;
}
.card__text { font-size: 0.86rem; color: #646870; margin-top: 12px; }

/* --- チップ --- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
    background: var(--c-chip-bg);
    color: var(--c-nibi);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 999px;
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    background: var(--grad-btn);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(90, 93, 98, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(90, 93, 98, 0.3); }
.btn:active { transform: scale(0.98); }
.btn--ghost { background: #fff; color: var(--c-nibi); border: 1px solid var(--c-line); box-shadow: none; }

/* --- フォーム --- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--c-sub); margin-bottom: 6px; }
.field input[type="date"], .field input[type="number"], .field input[type="text"], .field select, .field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
}
.field textarea { min-height: 90px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; border-color: transparent; }
.field__note { font-size: 0.74rem; color: var(--c-muted); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.note { font-size: 0.78rem; color: var(--c-muted); line-height: 1.7; }

/* --- フッター --- */
footer {
    background: var(--c-deep);
    color: #b5b8bd;
    text-align: center;
    padding: 26px 20px;
    font-size: 0.75rem;
}
footer a { color: #b5b8bd; text-decoration: none; margin: 0 8px; }
footer a:hover { text-decoration: underline; }
footer .foot-links { margin-bottom: 8px; }

@media (min-width: 700px) {
    .hero { padding: 72px 20px 64px; }
    .hero__name { font-size: 2.2rem; }
    .lead { font-size: 1rem; }
    .page-head h1 { font-size: 1.8rem; }
}
