/* =========================================================
   DI-M LLC コーポレートサイト 共通スタイル
   ========================================================= */

:root {
    --navy-900: #0a1f38;
    --navy-800: #0f2d52;
    --navy-700: #163d6b;
    --blue-600: #1f6fd1;
    --blue-500: #2f86e8;
    --blue-100: #e7f0fc;
    --ink: #1d2733;
    --ink-soft: #4a5869;
    --ink-mute: #7a8796;
    --line: #e3e8ef;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;

    --care-green: #7aa33f;
    --care-green-dark: #5d8128;
    --care-green-soft: #eef5e4;
    --care-brown: #8a5a3b;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(15, 45, 82, 0.08);
    --shadow: 0 8px 24px rgba(15, 45, 82, 0.08);
    --shadow-lg: 0 20px 48px rgba(15, 45, 82, 0.14);

    --header-h: 72px;
    --container: 1160px;
    --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック体", YuGothic, "Yu Gothic", Meiryo, sans-serif;
    --font-en: "Montserrat", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.9;
    color: var(--ink);
    background: var(--bg);
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue-600);
}

ul,
ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 920px;
}

.section-flush-top {
    padding-top: 0 !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- ヘッダー ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy-800);
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-en {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.brand-ja {
    font-size: 0.72rem;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
}

.global-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.global-nav a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s, background-color 0.2s;
}

.global-nav a:hover {
    color: var(--blue-600);
    background: var(--blue-100);
}

.global-nav .nav-cta {
    margin-left: 8px;
    background: var(--navy-800);
    color: #fff;
    padding: 8px 20px;
}

.global-nav .nav-cta:hover {
    background: var(--blue-600);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: var(--navy-800);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, top 0.3s;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue-600);
    color: #fff;
    box-shadow: 0 8px 20px rgba(31, 111, 209, 0.3);
}

.btn-primary:hover {
    background: var(--blue-500);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-care {
    background: var(--care-green);
    color: #fff;
    box-shadow: 0 8px 20px rgba(122, 163, 63, 0.3);
}

.btn-care:hover {
    background: var(--care-green-dark);
}

.btn-outline {
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--ink-soft);
}

.btn .arrow {
    transition: transform 0.2s;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* ---------- ヒーロー ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + 120px) 0 140px;
    color: #fff;
    background:
        radial-gradient(ellipse 60% 70% at 85% 20%, rgba(47, 134, 232, 0.45), transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 100%, rgba(122, 163, 63, 0.25), transparent 60%),
        linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
    pointer-events: none;
}

.hero .container {
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #9cc6ff;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.hero h1 .accent {
    background: linear-gradient(90deg, #8fc3ff, #c6e59a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 640px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* 下層ページのヒーロー */
.page-hero {
    padding: calc(var(--header-h) + 64px) 0 64px;
    background:
        radial-gradient(ellipse 60% 80% at 90% 0%, rgba(47, 134, 232, 0.35), transparent 60%),
        linear-gradient(160deg, var(--navy-900), var(--navy-800));
    color: #fff;
}

.page-hero h1 {
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    line-height: 1.4;
    margin-top: 8px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.78);
    margin-top: 12px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    opacity: 0.6;
}

/* ---------- セクション共通 ---------- */
.section {
    padding: 112px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-head {
    margin-bottom: 56px;
}

.section-head.center {
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--blue-600);
    margin-bottom: 12px;
}

.section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.section-head.center .section-label::after {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.section-title {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    line-height: 1.45;
    font-weight: 700;
    color: var(--navy-800);
}

.section-desc {
    margin-top: 16px;
    color: var(--ink-soft);
    max-width: 720px;
}

.section-head.center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 私たちについて ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-message h3 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    line-height: 1.6;
    color: var(--navy-800);
    margin: 28px 0 24px;
}

.about-message p {
    color: var(--ink-soft);
}

.about-message p + p {
    margin-top: 16px;
}

.value-list {
    display: grid;
    gap: 16px;
}

.value-item {
    display: flex;
    gap: 20px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: box-shadow 0.3s, transform 0.3s;
}

.value-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.value-num {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--blue-600);
    min-width: 40px;
    padding-top: 4px;
}

.value-item h4 {
    font-size: 1.05rem;
    color: var(--navy-800);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.8;
}

/* ---------- 事業内容 ---------- */
.business-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.business-grid::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-800), var(--blue-500));
    z-index: 1;
}

.business-card {
    display: flex;
    flex-direction: column;
    padding: 48px 44px 40px;
    background: #fff;
    transition: background-color 0.3s;
}

.business-card + .business-card {
    border-left: 1px solid var(--line);
}

.business-card:hover {
    background: #f7faff;
}

.business-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.business-index {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: 0.06em;
    color: var(--blue-600);
    opacity: 0.28;
    padding-top: 4px;
}

.business-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--blue-100);
    color: var(--blue-600);
}

.business-icon svg {
    width: 28px;
    height: 28px;
}

.business-card h3 {
    font-size: 1.35rem;
    color: var(--navy-800);
    margin-bottom: 14px;
    line-height: 1.5;
}

.business-card p {
    flex: 1;
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.9;
}

.business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.business-tags li {
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink-soft);
    border: 1px solid var(--line);
}

.purpose-box {
    margin-top: 48px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.purpose-box summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 28px;
    font-weight: 700;
    color: var(--navy-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.purpose-box summary::-webkit-details-marker {
    display: none;
}

.purpose-box summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--blue-600);
    transition: transform 0.3s;
}

.purpose-box[open] summary::after {
    transform: rotate(45deg);
}

.purpose-box summary small {
    font-weight: 400;
    color: var(--ink-mute);
    font-size: 0.82rem;
    margin-left: 12px;
}

.purpose-list {
    counter-reset: purpose;
    padding: 0 28px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.purpose-list li {
    counter-increment: purpose;
    position: relative;
    padding-left: 36px;
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.8;
}

.purpose-list li::before {
    content: counter(purpose);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-600);
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
}

/* ---------- 製品情報（ケアタブレット） ---------- */
.product-feature {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding: 56px 48px 56px 56px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(122, 163, 63, 0.14), transparent 60%),
        linear-gradient(180deg, #fbfdf7, #f3f8ea);
    border: 1px solid #e1ebd0;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d6e5bf;
    color: var(--care-green-dark);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--care-green);
    box-shadow: 0 0 0 4px rgba(122, 163, 63, 0.2);
}

.product-logo {
    width: 260px;
    margin-bottom: 20px;
}

.product-catch {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    line-height: 1.6;
    color: var(--care-brown);
    font-weight: 700;
    margin-bottom: 16px;
}

.product-text p {
    color: var(--ink-soft);
}

.product-text p + p {
    margin-top: 12px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.product-visual {
    padding: 10px;
    box-sizing: border-box;
}

.product-visual img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 24px 40px rgba(60, 80, 30, 0.18));
}

.product-feature .product-visual img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
}

.product-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.product-meta div {
    background: #fff;
    border: 1px solid #e1ebd0;
    border-radius: var(--radius);
    padding: 14px 16px;
}

.product-meta dt {
    font-size: 0.75rem;
    color: var(--ink-mute);
}

.product-meta dd {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-meta dd small {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--ink-soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.feature-item {
    padding: 28px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    border-color: #cfe0b4;
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--care-green-soft);
    color: var(--care-green-dark);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item h4 {
    font-size: 1.02rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.8;
}

.feature-grid.is-flush {
    margin-top: 0;
}

.product-more {
    margin-top: 40px;
    text-align: center;
}

/* ---------- 会社概要 ---------- */
.company-table {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.company-table th,
.company-table td {
    text-align: left;
    vertical-align: top;
    padding: 22px 32px;
    border-bottom: 1px solid var(--line);
    font-size: 0.97rem;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    width: 220px;
    font-weight: 700;
    color: var(--navy-800);
    background: #fafbfd;
    white-space: nowrap;
}

.company-table td a {
    text-decoration: none;
}

.company-table td a:hover {
    text-decoration: underline;
}

/* ---------- お問い合わせ ---------- */
.contact-panel {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-main {
    padding: 64px 56px;
    color: #fff;
    background:
        radial-gradient(ellipse 70% 90% at 0% 100%, rgba(47, 134, 232, 0.45), transparent 60%),
        linear-gradient(160deg, var(--navy-900), var(--navy-700));
}

.contact-main .section-label {
    color: #9cc6ff;
}

.contact-main h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.5;
    margin-bottom: 16px;
}

.contact-main p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy-800);
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-en);
    letter-spacing: 0.02em;
    word-break: break-all;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-mail:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.contact-mail svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-sub {
    background: #fff;
    padding: 56px 48px;
    display: grid;
    gap: 28px;
    align-content: center;
}

.contact-sub h3 {
    font-size: 0.85rem;
    color: var(--ink-mute);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.contact-sub p {
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-sub .note {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

/* ---------- フッター ---------- */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.72);
    padding: 72px 0 32px;
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand {
    color: #fff;
    margin-bottom: 20px;
}

.site-footer .brand-ja {
    color: rgba(255, 255, 255, 0.55);
}

.footer-address {
    line-height: 1.9;
    font-style: normal;
}

.footer-address a {
    color: inherit;
    text-decoration: none;
}

.footer-address a:hover {
    color: #fff;
}

.footer-col h3 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.footer-col li + li {
    margin-top: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ---------- 製品詳細ページ ---------- */
.lead-block {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.lead-block h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    line-height: 1.55;
    color: var(--navy-800);
    margin-bottom: 20px;
}

.lead-block p {
    color: var(--ink-soft);
}

.lead-block p + p {
    margin-top: 14px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.problem-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    font-size: 0.93rem;
    color: var(--ink-soft);
    line-height: 1.8;
    position: relative;
}

.problem-card::before {
    content: "?";
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fdf1e8;
    color: var(--care-brown);
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-note {
    margin-top: 32px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--care-green-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step {
    counter-increment: step;
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--line);
    position: relative;
}

.step::before {
    content: "STEP " counter(step);
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
    background: var(--care-green);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 1.02rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.step p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.8;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.spec-table th,
.spec-table td {
    text-align: left;
    vertical-align: top;
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

.spec-table th {
    width: 220px;
    background: #f8fbf3;
    color: var(--care-green-dark);
    white-space: nowrap;
}

.cta-band {
    border-radius: 28px;
    padding: 56px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 90% at 50% 0%, rgba(255, 255, 255, 0.25), transparent 60%),
        linear-gradient(135deg, var(--care-green), var(--care-green-dark));
    color: #fff;
}

.cta-band img {
    width: 220px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 18px;
}

.cta-band h2 {
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    line-height: 1.5;
    margin-bottom: 12px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.cta-band .btn-white {
    background: #fff;
    color: var(--care-green-dark);
}

.cta-band .product-actions {
    justify-content: center;
}

/* ---------- 文書ページ（プライバシーポリシー等） ---------- */
.doc {
    max-width: 840px;
    margin: 0 auto;
    background: #fff;
    padding: 56px 64px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

.doc > p {
    color: var(--ink-soft);
}

.doc h2 {
    font-size: 1.2rem;
    color: var(--navy-800);
    margin: 48px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--blue-600);
    line-height: 1.5;
}

.doc p + p {
    margin-top: 12px;
}

.doc ul {
    margin: 12px 0;
    display: grid;
    gap: 10px;
}

.doc ul li {
    position: relative;
    padding-left: 20px;
    color: var(--ink-soft);
}

.doc ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.8em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-600);
}

.doc strong {
    color: var(--ink);
}

.doc .contact-block {
    margin-top: 16px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    color: var(--ink);
    line-height: 1.9;
}

.doc .doc-note {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--care-green-soft);
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.doc .date {
    margin-top: 48px;
    text-align: right;
    color: var(--ink-mute);
    font-size: 0.88rem;
}

/* ---------- 404 ---------- */
.notfound {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 120px 24px;
    background: var(--bg-soft);
}

.notfound .code {
    font-family: var(--font-en);
    font-size: 5rem;
    font-weight: 700;
    color: var(--blue-600);
    line-height: 1;
    margin-bottom: 16px;
}

.notfound p {
    color: var(--ink-soft);
    margin-bottom: 32px;
}

/* ---------- スクロールアニメーション ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

    .product-feature {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .product-visual {
        order: -1;
        padding: 10px;
    }

    .product-feature .product-visual img {
        width: 100%;
        margin-left: 0;
    }

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

@media (max-width: 860px) {
    :root {
        --header-h: 64px;
    }

    .nav-toggle {
        display: block;
    }

    .global-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: 12px 24px 24px;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    }

    .nav-open .global-nav {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .global-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .global-nav a {
        padding: 14px 8px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .global-nav .nav-cta {
        margin: 16px 0 0;
        border-radius: 999px;
        text-align: center;
        border-bottom: none;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding: calc(var(--header-h) + 72px) 0 96px;
    }

    .about-grid,
    .lead-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .business-card + .business-card {
        border-left: none;
        border-top: 1px solid var(--line);
    }

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

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-main,
    .contact-sub {
        padding: 44px 28px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .business-grid,
    .feature-grid,
    .problem-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .product-feature {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .product-visual {
        padding: 10px 8px;
    }

    .product-logo {
        width: 200px;
    }

    .product-meta {
        grid-template-columns: 1fr;
    }

    .business-card {
        padding: 36px 24px 32px;
    }

    .business-card + .business-card {
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .company-table th,
    .company-table td,
    .spec-table th,
    .spec-table td {
        display: block;
        width: 100%;
        padding: 14px 20px;
    }

    .company-table th,
    .spec-table th {
        border-bottom: none;
        padding-bottom: 4px;
        white-space: normal;
    }

    .company-table td,
    .spec-table td {
        padding-top: 4px;
    }

    .doc {
        padding: 36px 22px;
    }

    .cta-band {
        padding: 40px 22px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .product-actions .btn {
        width: 100%;
    }
}
