/* 100per.net 共通スタイル */
:root {
    --c-deep: #0b495d;
    --c-teal: #17799c;
    --c-select: #1d72b3;   /* 選択中の背景色 */
    --c-green: #45d987;
    --c-red: #eb5569;
    --c-yellow: #fcbe2c;
    --c-text: #233640;
    --c-sub: #4d5f68;
    --c-muted: #7d8f9b;
    --c-line: #dfeae6;
    --c-bg: #f3f8f6;
    --c-chip-bg: #e3f3ec;
    --grad: linear-gradient(135deg, #2c3645 0%, #1f6fb0 50%, #00c6ff 100%);
    --grad-btn: linear-gradient(135deg, #2c3645 0%, #1f6fb0 50%, #00c6ff 100%);
}

* { 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-teal); }
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(11,73,93,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-teal);
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- サブページ用ヘッダーバー --- */
.bar {
    background: #2c3645;
    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(11,73,93,0.35); }
.bar__logo { white-space: nowrap; }
.bar__nav { display: flex; gap: 14px; font-size: 0.8rem; white-space: nowrap; }
.bar__nav a { opacity: 0.85; }
.bar__nav a:hover { opacity: 1; }
.bar__nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.bar__nav .short { display: none; }
@media (max-width: 520px) {
    .bar { padding: 12px 14px; }
    .bar__nav { gap: 10px; font-size: 0.78rem; }
    .bar__nav .full { display: none; }
    .bar__nav .short { display: inline; }
    .bar__right { gap: 10px; }
}

.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(11, 73, 93, 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(11, 73, 93, 0.12); }
a.card:active { transform: scale(0.99); }

.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: #b6c6d0; font-size: 1.3rem; }
.card__text { font-size: 0.86rem; color: #5a6b76; margin-top: 12px; }

/* --- チップ --- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
    background: var(--c-chip-bg);
    color: var(--c-teal);
    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(31, 111, 176, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(31, 111, 176, 0.34); }
.btn:active { transform: scale(0.98); }
.btn--ghost { background: #fff; color: var(--c-teal); 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 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-green); 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; }

/* --- ログイン表示（ヘッダー右端） --- */
.auth-slot { display: inline-flex; align-items: center; min-width: 28px; }
.auth-user img { width: 28px; height: 28px; border-radius: 50%; display: block; border: 2px solid rgba(255,255,255,0.7); }
.auth-user { font-size: 1.2rem; line-height: 1; }
.auth-login { font-size: 0.76rem; background: rgba(255,255,255,0.18); padding: 5px 11px; border-radius: 999px; }
.bar__right { display: flex; align-items: center; gap: 14px; }

/* --- トースト --- */
.p-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--c-deep); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 50; box-shadow: 0 8px 24px rgba(11,73,93,0.3); white-space: nowrap; }
.p-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* --- フッター --- */
footer {
    background: #2c3645;
    color: #8a9bb0;
    text-align: center;
    padding: 26px 20px;
    font-size: 0.75rem;
}
footer a { color: #e6ebf0; 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; }
}
