:root {
    --accent: #10467c;
    --accent-light: #e4f0ff;
    --text-main: #222222;
    --text-sub: #555555;
    --border-soft: #e3e7ee;
    --bg-soft: #f6f8fb;
}

/* ベース
------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

/* レイアウト共通
------------------------------ */
.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ヘッダー
------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    text-decoration: none;
}

.brand-main {
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.brand-sub {
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
}

/* シンプルなナビ（NEWS用） */
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-sub);
    position: relative;
    padding-bottom: 0.1rem;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    width: 100%;
}

/* ヒーロー的余白 */
.news-article {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

/* dynamic line */
.dynamic-line {
    height: 2px;
    width: 100%;
    background-color: var(--accent);
    opacity: 0.6;
}

/* 記事ヘッダー
------------------------------ */
.article-header {
    margin-bottom: 2rem;
}

.article-label {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #999999;
    margin: 0 0 0.6rem;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.article-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background-color: var(--accent-light);
    color: var(--accent);
}

.article-date {
    font-size: 0.85rem;
    color: #777777;
}

.article-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1.4;
    margin: 0 0 1rem;
    color: var(--accent);
}

.article-lead {
    font-size: 0.98rem;
    color: var(--text-sub);
    margin: 0 0 1.8rem;
}

/* 記事本文
------------------------------ */
.article-body {
    padding-top: 2rem;
}

.article-section + .article-section {
    margin-top: 2.5rem;
}

.article-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.9rem;
    color: var(--text-main);
}

/* 定義リスト（概要） */
.info-list {
    margin: 0;
    padding: 0;
}

.info-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 1.5rem;
    row-gap: 0.4rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row dt {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-sub);
}

.info-row dd {
    margin: 0;
    font-size: 0.95rem;
}

/* 箇条書き */
.bullet-list {
    margin: 0.6rem 0 0;
    padding-left: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-sub);
}

.bullet-list li {
    margin-bottom: 0.3rem;
}

/* 申込フォーム周り */
.entry-form-embed {
    margin: 1.2rem 0;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px dashed var(--border-soft);
    background-color: #fafbff;
}

.entry-note {
    font-size: 0.85rem;
    color: #777777;
}

/* 戻るリンク */
.article-back {
    margin-top: 3rem;
    text-align: left;
}

.article-back-link {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    position: relative;
    padding-left: 0.3rem;
}

.article-back-link::before {
    content: "←";
    position: absolute;
    left: -0.9rem;
    top: 0;
}

/* フッター
------------------------------ */
.site-footer {
    border-top: 1px solid var(--border-soft);
    padding: 1.5rem 0 2rem;
    background-color: #ffffff;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #888888;
}

.footer-brand {
    font-weight: 700;
    color: var(--accent);
}

.footer-meta {
    margin: 0;
}

/* レスポンシブ
------------------------------ */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .site-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        font-size: 0.8rem;
    }

    .news-article {
        padding-top: 2.5rem;
        padding-bottom: 3rem;
    }

    .info-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .info-row dt {
        font-weight: 700;
    }
}


.entry-form {
    max-width: 640px;
    margin-top: 1.5rem;
}

.entry-form-row {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.entry-form label,
.entry-form .entry-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.entry-form input[type="text"],
.entry-form input[type="email"],
.entry-form textarea {
    padding: 0.55rem 0.75rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border-soft);
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: inherit;
}

.entry-form input[type="text"]:focus,
.entry-form input[type="email"]:focus,
.entry-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(16, 70, 124, 0.1);
}

.entry-form-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.entry-form-options label {
    font-weight: 400;
}

.entry-form-actions {
    margin-top: 1.5rem;
}

.required {
    margin-left: 0.25rem;
    font-size: 0.75rem;
    color: #c53030;
}

/* 記事キービジュアル
------------------------------ */
.article-kv {
    margin: 1.8rem auto 0rem;
}

.article-kv img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.25rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}


/* 申込ボタン（このページ用のトーンに合わせたデザイン）
-------------------------------------------------- */
.entry-form-actions {
    margin-top: 1.8rem;
    display: flex;

}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background-color: #ffffff;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.1s ease;
    box-shadow: 0 6px 14px rgba(16, 70, 124, 0.15);
}

/* hover / focus 時のフィードバック */
.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(16, 70, 124, 0.26);
    outline: none;
}

/* キーボード操作時のフォーカスリング（アクセシビリティ） */
.btn-primary:focus-visible {
    box-shadow:
        0 0 0 2px #ffffff,
        0 0 0 4px rgba(16, 70, 124, 0.8);
}

/* スマホでは横幅いっぱいにして押しやすく */
@media (max-width: 768px) {
    .entry-form-actions {
        justify-content: stretch;
    }

    .btn-primary {
        width: 100%;
    }
}
