/* Hoshu AI sample HP — nogic.co.jp inspired */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

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

:root {
    --bg: #ffffff;
    --bg-gray: #f6f6f6;
    --bg-dark: #040404;
    --surface: #ffffff;
    --text: #000000;
    --text-sub: #717071;
    --accent: #ff002d;
    --border: #e0e0e0;
    --radius: 4px;
    --container: 1200px;
}

body {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
                 "Hiragino Kaku Gothic ProN", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

h1, h2, h3 {
    font-family: "Poppins", "Noto Sans JP", sans-serif;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* ---- Site Header ---- */
.site-header {
    background: #ff0000;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 80px;
}

.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header__logo {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-header__logo:hover { color: var(--text); }

.site-header__nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8125rem;
    align-items: center;
}

.site-header__nav a {
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.site-header__nav a:hover { color: var(--accent); }

.site-header__nav--cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    height: 42px;
    background: var(--bg-dark) !important;
    color: #fff !important;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: background 0.25s;
    text-transform: uppercase;
}
.site-header__nav--cta:hover {
    background: var(--accent) !important;
    color: #fff !important;
}

/* ---- Hero (full-width dark) ---- */
.hero {
    background: var(--bg-dark);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(255,0,45,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero__inner {
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    font-family: "Poppins", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 520px;
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2.5rem;
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    font-family: "Noto Sans JP", sans-serif;
}
.hero__cta:hover {
    background: #cc0022;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,0,45,0.4);
}

/* ---- Page container ---- */
.page {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
}

/* ---- Sections ---- */
.section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }

.section__label {
    font-family: "Poppins", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}

.section h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    margin-bottom: 1.25rem;
    color: var(--text);
}

.section p {
    color: var(--text-sub);
    line-height: 1.85;
    max-width: 640px;
}

.section .hero__cta {
    margin-top: 1.5rem;
    background: var(--bg-dark);
}
.section .hero__cta:hover {
    background: var(--accent);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* ---- Cards ---- */
.cards {
    list-style: none; padding: 0; margin-top: 1.5rem;
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.card {
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: var(--accent);
}
.card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.card p { color: var(--text-sub); font-size: 0.9rem; }

/* ---- Site Footer ---- */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 3rem 1.5rem;
    font-size: 0.8rem;
}
.site-footer__nav { margin-bottom: 1rem; }
.site-footer__nav a { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.site-footer__nav a:hover { color: var(--accent); }

/* ---- Contact page ---- */
.contact-page {
    background: var(--bg-gray);
    min-height: calc(100vh - 80px);
    padding: 3rem 1.5rem 5rem;
    margin-top: 80px;
}
.contact-wrap { max-width: 760px; margin: 0 auto; }
.contact-lead { font-size: 1rem; line-height: 1.8; margin-bottom: 2.5rem; color: var(--text); }
.contact-success {
    background: #fff; border-radius: 8px; padding: 2rem;
    color: #16a34a; font-weight: 600; font-size: 1.05rem;
}
.contact-error {
    background: #fff1f1; border-left: 4px solid var(--accent);
    padding: 0.75rem 1rem; border-radius: var(--radius);
    color: #c0392b; font-size: 0.9rem; margin-bottom: 1.5rem;
}

/* Form */
.cf { display: flex; flex-direction: column; gap: 2rem; }
.cf__row { display: flex; flex-direction: column; gap: 0.6rem; }
.cf__row--submit { align-items: center; margin-top: 0.5rem; }
.cf__label { font-size: 1rem; font-weight: 700; color: var(--text); display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.cf__req { display: inline-block; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.15em 0.55em; border-radius: var(--radius); line-height: 1.6; }
.cf__note { font-size: 0.82rem; font-weight: 400; color: var(--text-sub); }
.cf__input, .cf__textarea {
    width: 100%; padding: 1rem 1.4rem; background: #fff;
    border: 1.5px solid var(--border); border-radius: 100px;
    font-size: 1rem; font-family: inherit; color: var(--text); line-height: 1.5;
    transition: border-color 0.15s;
}
.cf__input::placeholder, .cf__textarea::placeholder { color: #bbb; }
.cf__input:focus, .cf__textarea:focus { outline: none; border-color: #999; }
.cf__textarea { border-radius: 12px; resize: vertical; }
.cf__radio-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; padding: 0; }
.cf__radio-label { display: flex; align-items: center; gap: 0.65rem; font-size: 1rem; cursor: pointer; color: var(--text); }
.cf__radio-label input[type="radio"] { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.cf__submit {
    padding: 0.85rem 3rem; background: var(--bg-dark); color: #fff;
    border: none; border-radius: 100px; font-size: 1rem; font-weight: 700;
    cursor: pointer; letter-spacing: 0.04em;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    font-family: "Noto Sans JP", sans-serif;
}
.cf__submit:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,0,45,0.35); }

/* ---- Scroll animation ---- */
.animate { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Dark Services Section ---- */
.services-dark {
    display: flex;
    background: var(--bg-dark);
    color: #fff;
    overflow: hidden;
    margin: 0 -1.5rem;
    padding: 5rem 1.5rem;
}
.services-dark__left {
    flex: 0 0 40%;
    padding: 0 3rem 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.services-dark__watermark {
    font-family: "Poppins", sans-serif;
    font-size: 4rem; font-weight: 700;
    color: rgba(255,255,255,0.04);
    position: absolute; top: 0; left: 0;
    line-height: 1.1; pointer-events: none; user-select: none; letter-spacing: -0.03em;
}
.services-dark__label {
    font-family: "Poppins", sans-serif; font-size: 0.68rem;
    letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--accent); font-weight: 700; margin-bottom: 1rem; display: block;
}
.services-dark__headline { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.5; color: #fff; margin-bottom: 1.25rem; }
.services-dark__body { font-size: 0.875rem; line-height: 1.9; color: rgba(255,255,255,0.45); }
.services-dark__right { flex: 1; padding: 0 0 0 3rem; display: flex; flex-direction: column; gap: 0; }
.service-item { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 2rem 0; }
.service-item:first-child { padding-top: 0; }
.service-item:last-child { border-bottom: none; padding-bottom: 0; }
.service-item__label { font-family: "Poppins", sans-serif; font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 0.2rem; }
.service-item__num { font-family: "Poppins", sans-serif; font-size: 3rem; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.1); letter-spacing: -0.03em; margin-bottom: 1rem; }
.service-item__photo { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.service-item__photo img { width: 100%; height: 100%; object-fit: cover; }
.service-item__name { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.service-item__desc { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.85; }

/* ---- Build Info ---- */
.build-info {
    background: var(--bg-gray); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem; font-size: 0.78rem;
    color: var(--text-sub); text-align: center; margin-top: 3rem; margin-bottom: 1.5rem;
}
.build-info h3 { font-family: "Poppins", sans-serif; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-sub); margin-bottom: 0.5rem; }
.build-info ul { list-style: none; display: inline-flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .site-header { height: 60px; }
    .site-header__nav--small { display: none; }
    .hero { min-height: calc(100vh - 60px); margin-top: 60px; }
    .hero__inner { padding: 3rem 1.5rem; }
    .contact-page { margin-top: 60px; min-height: calc(100vh - 60px); }
    .services-dark { flex-direction: column; padding: 3rem 1.5rem; }
    .services-dark__left { flex: none; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 0 2.5rem 0; margin-bottom: 2.5rem; }
    .services-dark__right { padding: 0; }
}
@media (max-width: 480px) {
    .site-header__nav { gap: 0.75rem; }
    .site-header__nav a { font-size: 0.7rem; }
}
