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

:root {
    --blue: #0e28e5;
    --blue-light: #2a3eff;
    --blue-dim: rgba(14,40,229,0.08);
    --bg-main: #ffffff;
    --bg-sub: #f4f5f7;
    --text-main: #111111;
    --text-muted: #555555;
    --border: rgba(0,0,0,0.1);
    --border-blue: rgba(14,40,229,0.2);
    --pure-white: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── Grid pattern ─── */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

/* ─── Header ─── */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    justify-content: space-between;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.logo img {
    height: 36px;
    width: auto;
    filter: brightness(0);
}

nav { display: flex; align-items: center; gap: 36px; }
nav a {
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
nav a:hover, nav a.active { color: var(--text-main); }
nav .btn-nav {
    background: var(--blue);
    color: var(--pure-white);
    padding: 9px 22px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.1s;
}
nav .btn-nav:hover { background: var(--blue-light); transform: translateY(-1px); }

/* ─── Mobile menu ─── */
#hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}
#hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-nav {
    display: none;
    position: fixed;
    inset: 72px 0 0;
    background: var(--bg-sub);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    transition: opacity 0.3s;
}
#mobile-nav.open { display: flex; opacity: 1; }
#mobile-nav a {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 0.05em;
}
#mobile-nav a:hover, #mobile-nav a.active { color: var(--blue); }
#mobile-nav .btn-mobile {
    background: var(--blue);
    padding: 14px 40px;
    border-radius: 4px;
    margin-top: 8px;
    color: var(--pure-white) !important;
}

@media (max-width: 900px) {
    #header { padding: 0 24px; }
    nav { display: none; }
    #hamburger { display: flex; }
}

/* ─── Sections shared ─── */
section { position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

.label {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
}

/* ─── Fade-up animation ─── */
.fu {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fu.on { opacity: 1; transform: translateY(0); }
.fu.d1 { transition-delay: 0.1s; }
.fu.d2 { transition-delay: 0.2s; }
.fu.d3 { transition-delay: 0.3s; }
.fu.d4 { transition-delay: 0.4s; }

/* ─── News List ─── */
#news {
    padding: 60px 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border);
}
.news-list-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media (min-width: 768px) {
    .news-list-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 64px;
    }
}
.news-header {
    flex-shrink: 0;
    min-width: 180px;
}
.news-header h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.news-header p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
}
.news-items {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-list-item {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-main);
    transition: background 0.3s, padding-left 0.3s, border-radius 0.3s;
    position: relative;
}
.news-list-item:first-child {
    border-top: 1px solid var(--border);
}
.news-list-item:hover {
    background: var(--bg-sub);
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 -20px;
    border-radius: 8px;
    border-color: transparent;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 140px;
    flex-shrink: 0;
}
.news-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}
.news-category {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px;
    letter-spacing: 0.05em;
}
.tag-blue {
    background: var(--blue-dim);
    color: var(--blue);
}
.tag-green {
    background: rgba(74,222,128,0.15);
    color: #1D9E75;
}
.news-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    flex-grow: 1;
}
.news-arrow {
    color: var(--border);
    font-size: 14px;
    transition: color 0.3s, transform 0.3s;
    margin-left: 16px;
}
.news-list-item:hover .news-arrow {
    color: var(--blue);
    transform: translateX(4px);
}
@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .news-meta {
        min-width: auto;
    }
    .news-arrow {
        display: none;
    }
    .news-list-item:hover {
        padding-left: 16px;
        padding-right: 16px;
        margin: 0 -16px;
        background: var(--bg-sub);
        border-color: transparent;
    }
}

/* ─── Hero ─── */
#hero {
    min-height: 100vh;
    padding-top: 112px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-main);
}
.hero-inner {
    width: 100%;
    position: relative;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--blue);
}
.hero-h1 {
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
    font-size: clamp(52px, 8vw, 110px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    color: var(--text-main);
}
.hero-h1 em { font-style: normal; color: var(--blue); }
.hero-h1 .outline {
    -webkit-text-stroke: 2px var(--text-main);
    color: transparent;
}
.hero-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 52px;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: var(--pure-white);
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14,40,229,0.2);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); }
.btn-email {
    background: var(--bg-sub);
    color: var(--text-main);
    border: 1px solid var(--border);
}
.btn-email i { color: var(--blue); }

.hero-bg-number {
    position: absolute;
    right: -20px;
    top: -40px;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(200px, 30vw, 420px);
    font-weight: 900;
    color: rgba(14,40,229,0.03);
    letter-spacing: -0.05em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* ─── Services ─── */
#services {
    padding: 120px 0;
    background: var(--bg-sub);
    border-top: 1px solid var(--border);
}
.section-header { margin-bottom: 72px; }
.section-header h2 {
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 16px;
    color: var(--text-main);
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
    background: var(--bg-main);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0;
    background: var(--blue);
    transition: height 0.4s ease;
}
.service-card:hover::before { height: 4px; }
.service-icon {
    width: 52px;
    height: 52px;
    background: var(--blue-dim);
    border: 1px solid var(--border-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 32px;
}
.service-icon--soft {
    background: rgba(14,40,229,0.05);
    border-color: rgba(14,40,229,0.1);
}
.service-card h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--text-main);
}
.service-card p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}
.service-list li {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.service-list li::before {
    content: '—';
    color: var(--blue);
    flex-shrink: 0;
    font-weight: bold;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: gap 0.2s;
}
.service-link:hover { gap: 12px; }
.service-num {
    position: absolute;
    bottom: 24px;
    right: 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    pointer-events: none;
}

/* ─── Product: ドコなう & みんカレ ─── */
#product, #product-mincale {
    padding: 120px 0;
    background: var(--bg-main);
    border-top: 1px solid var(--border);
}
#product .grid-bg, #product-mincale .grid-bg { opacity: 0.5; }
#product .container,
#product-mincale .container,
#contact .container { position: relative; z-index: 1; }
.product-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
@media (max-width: 900px) { .product-inner { grid-template-columns: 1fr; gap: 48px; } }
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-dim);
    border: 1px solid var(--border-blue);
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 24px;
}
.product-badge-dot { font-size: 7px; color: #4ade80; }
.product-h2 {
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-main);
}
.product-h2 .app-name { color: var(--blue); display: block; }
.product-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}
.pf-item {
    padding: 20px;
    background: var(--bg-sub);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.pf-item h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}
.pf-item h4 i { color: var(--blue); font-size: 12px; }
.pf-item p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.product-price { font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* ─── Phone mockup ─── */
.phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14,40,229,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.phone-mock {
    position: relative;
    width: 260px;
    background: #ffffff;
    border-radius: 36px;
    border: 2px solid rgba(0,0,0,0.08);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
}
.phone-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #080808;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}
.phone-screen {
    padding: 44px 16px 24px;
    min-height: 500px;
    color: #111111;
}
.phone-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(0,0,0,0.4);
    margin-bottom: 10px;
    padding-top: 4px;
}
.map-area {
    background: #f4f5f7;
    border-radius: 12px;
    height: 220px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}
.map-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14,40,229,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,40,229,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
}
.map-pin {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.map-pin.a { width: 32px; height: 32px; background: var(--blue); top: 40px; left: 50px; box-shadow: 0 0 0 8px rgba(14,40,229,0.2); }
.map-pin.b { width: 24px; height: 24px; background: #1D9E75; top: 80px; left: 140px; box-shadow: 0 0 0 6px rgba(29,158,117,0.2); }
.map-pin.c { width: 24px; height: 24px; background: #E24B4A; top: 130px; left: 80px; box-shadow: 0 0 0 6px rgba(226,75,74,0.2); }
.map-pin.d { width: 20px; height: 20px; background: #BA7517; top: 60px; left: 190px; box-shadow: 0 0 0 5px rgba(186,117,23,0.2); }
.status-list { display: flex; flex-direction: column; gap: 6px; }
.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot--blue  { background: var(--blue-light); }
.status-dot--green { background: #4ade80; }
.status-dot--red   { background: #f87171; }
.status-name { font-size: 11px; font-weight: 700; flex: 1; }
.status-badge { font-size: 9px; padding: 2px 7px; border-radius: 20px; font-weight: 700; }
.status-badge--blue  { background: rgba(14,40,229,0.2);     color: var(--blue-light); }
.status-badge--green { background: rgba(74,222,128,0.15);   color: #4ade80; }
.status-badge--red   { background: rgba(248,113,113,0.15);  color: #f87171; }

/* ─── Why OZ ─── */
#why { padding: 120px 0; border-top: 1px solid var(--border); background: var(--bg-main); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
    background: var(--bg-main);
    padding: 48px 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.why-num { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--blue); margin-bottom: 20px; }
.why-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 14px; line-height: 1.4; color: var(--text-main); }
.why-card p { font-size: 13px; line-height: 1.9; color: var(--text-muted); }

/* ─── About ─── */
#about { padding: 120px 0; background: var(--bg-sub); border-top: 1px solid var(--border); }
.about-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .about-inner { grid-template-columns: 1fr; gap: 48px; } }
.about-left h2 {
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 16px;
    margin-bottom: 24px;
    color: var(--text-main);
}
.about-left p { font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.about-body-text {
    font-size: 15px;
    line-height: 2.0;
    color: var(--text-muted);
    margin-bottom: 48px;
    border-left: 2px solid var(--blue);
    padding-left: 24px;
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table th {
    padding: 18px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-align: left;
    width: 30%;
    vertical-align: top;
}
.company-table td { padding: 18px 0; font-size: 14px; color: var(--text-main); line-height: 1.7; }
.tel-link { color: var(--text-main); text-decoration: none; }
.tel-hours { font-size: 12px; color: var(--text-muted); }

/* ─── Contact ─── */
#contact { padding: 120px 0; border-top: 1px solid var(--border); overflow: hidden; background: var(--bg-main); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; gap: 56px; } }
.contact-left h2 {
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 16px;
    margin-bottom: 24px;
    color: var(--text-main);
}
.contact-left p { font-size: 15px; line-height: 1.9; color: var(--text-muted); }
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.contact-hours { font-size: 12px; color: var(--text-muted); margin-top: 16px; }

/* ─── Footer ─── */
footer { background: var(--bg-sub); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.footer-logo { height: 28px; width: auto; filter: brightness(0); opacity: 0.8; }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.copyright { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; }
.footer-sns { display: flex; gap: 16px; }
.footer-sns a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: border-color 0.2s, color 0.2s;
}
.footer-sns a:hover { border-color: var(--blue); color: var(--blue); }
