/* ================================================================
   システムサポートT — styles.css  (light edition)
   Palette: white base + teal #00b0a2 + vermillion #e83214
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Zen+Kaku+Gothic+New:wght@900&family=Share+Tech+Mono&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
    --bg:           #ffffff;
    --bg-alt:       #f2faf8;
    --bg-card:      #ffffff;
    --navy:         #0c2035;
    --navy-mid:     #1a3a58;
    --teal:         #00b0a2;
    --teal-light:   #00ccc0;
    --teal-dark:    #008f84;
    --teal-pale:    #e6f7f6;
    --vermillion:   #e83214;
    --text:         #1e3d58;
    --text-mid:     #4a6880;
    --text-dim:     #8aaabb;
    --border:       #cce8e4;
    --shadow-sm:    0 2px 12px rgba(0,80,90,.07);
    --shadow-md:    0 6px 28px rgba(0,80,90,.11);
    --shadow-lg:    0 12px 48px rgba(0,80,90,.14);
    --radius:       8px;
    --radius-lg:    14px;
    --font-body:    'Noto Sans JP', sans-serif;
    --font-head:    'Zen Kaku Gothic New', sans-serif;
    --font-mono:    'Share Tech Mono', monospace;
}

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

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* ── Layout ────────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 96px 0; }

/* ── Header ────────────────────────────────────────────── */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 200;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s;
}

.site-header.scrolled {
    box-shadow: 0 3px 24px rgba(0,100,90,.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.logo, .footer-logo {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: .03em;
    white-space: nowrap;
}

.logo-main { color: var(--navy); }
.logo-t    { color: var(--vermillion); font-size: 120%; }

/* Desktop nav */
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: .87rem;
    color: var(--text-mid);
    text-decoration: none;
    letter-spacing: .07em;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}

.nav-links a:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.nav-mobile a {
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: .92rem;
    color: var(--text-mid);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color .2s, background .2s;
}

.nav-mobile a:hover { color: var(--teal); background: var(--teal-pale); }
.nav-mobile.open    { display: flex; }

/* ── Hero (photo) ──────────────────────────────────────── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/IMG_0161.jpg') center center / cover no-repeat;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

/* Gradient overlay — dark at bottom, lighter at top for sky */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(10, 25, 45, .10) 0%,
            rgba(10, 25, 45, .25) 50%,
            rgba(5, 15, 30, .45) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 88px;
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: rgba(200,240,236,.85);
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 7.5vw, 5.8rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.02em;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.hero-title .t-main   { color: #ffffff; }
.hero-title .t-accent { color: #ff6047; font-size: 120%; }  /* brighter on dark overlay */

.hero-sub {
    font-size: 1.1rem;
    color: rgba(220,240,248,.88);
    margin-bottom: 32px;
    letter-spacing: .05em;
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.hero-motto {
    font-family: var(--font-mono);
    font-size: clamp(.92rem, 2vw, 1.18rem);
    color: rgba(180,240,234,.9);
    margin-bottom: 48px;
    min-height: 2em;
    text-shadow: 0 1px 8px rgba(0,0,0,.25);
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--teal-light);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* Caption credit */
.hero-caption {
    position: absolute;
    bottom: 12px;
    right: 16px;
    z-index: 2;
    font-size: .68rem;
    color: rgba(255,255,255,.45);
    font-family: var(--font-mono);
}

.hero-caption a { color: inherit; text-decoration: underline; }

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: .68rem;
    color: rgba(200,240,236,.6);
    letter-spacing: .2em;
    animation: scrollBounce 2.2s ease-in-out infinite;
    z-index: 2;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(0,196,180,.6), transparent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 13px 38px;
    font-family: var(--font-mono);
    font-size: .88rem;
    letter-spacing: .1em;
    text-decoration: none;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid var(--teal);
    color: var(--teal);
    background: transparent;
    transition: background .22s, color .22s, box-shadow .22s;
}

.btn:hover {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,176,162,.28);
}

.btn-hero {
    border-color: rgba(255,255,255,.8);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn-hero:hover {
    background: rgba(255,255,255,.18);
    border-color: #fff;
    box-shadow: 0 4px 24px rgba(255,255,255,.15);
}

.btn-primary {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.btn-primary:hover {
    background: var(--teal-light);
    border-color: var(--teal-light);
    box-shadow: 0 4px 24px rgba(0,176,162,.3);
}

/* ── Section header ────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: .76rem;
    color: var(--teal);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -.01em;
    line-height: 1.2;
}

.section-title .accent { color: var(--teal); }

/* ── Services ──────────────────────────────────────────── */
#services { background: var(--bg-alt); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    color: var(--teal);
}

.service-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
}

.service-desc {
    font-size: .88rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 14px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-family: var(--font-mono);
    font-size: .7rem;
    background: var(--teal-pale);
    color: var(--teal-dark);
    border: 1px solid #b8e8e3;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ── Staff ─────────────────────────────────────────────── */
#staff { background: var(--bg); }

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.staff-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.staff-avatar {
    width: 66px;
    height: 66px;
    margin: 0 auto 16px;
    background: var(--teal-pale);
    border: 2px solid var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--teal-dark);
}

.staff-name {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 4px;
}

.staff-role {
    font-family: var(--font-mono);
    font-size: .76rem;
    color: var(--teal);
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.staff-skills {
    font-size: .86rem;
    color: var(--text-mid);
    line-height: 1.75;
    list-style: disc;
    display: inline-block;
    text-align: left;
    padding-left: 1.2em;
    margin: 0 auto;
}
.staff-skills li + li {
    margin-top: .25em;
}

/* ── Contact ───────────────────────────────────────────── */
#contact { background: var(--bg-alt); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
}

.contact-info-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 12px;
}

.contact-info p {
    font-size: .92rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-detail svg { flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.contact-detail span { font-size: .9rem; color: var(--text); }
.contact-detail a { color: var(--teal); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

/* Form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--text-mid);
    margin-bottom: 6px;
    letter-spacing: .04em;
}

.form-label .req { color: var(--vermillion); margin-left: 3px; }

.form-control {
    width: 100%;
    background: #f9fefe;
    border: 1.5px solid var(--border);
    color: var(--text);
    padding: 11px 14px;
    font-size: .93rem;
    font-family: var(--font-body);
    border-radius: var(--radius);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,176,162,.1);
}

.form-control::placeholder { color: var(--text-dim); }

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--teal);
    border: none;
    color: #fff;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .06em;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background .22s, box-shadow .22s, transform .15s;
}

.form-submit:hover {
    background: var(--teal-light);
    box-shadow: 0 4px 24px rgba(0,176,162,.28);
}

.form-submit:active { transform: scale(.98); }

.form-message {
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.form-message.success {
    background: #e8f8f6;
    border: 1px solid #a8e0d8;
    color: #006e65;
}

.form-message.error {
    background: #fff0ee;
    border: 1px solid #f8b8a8;
    color: #c03010;
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
    background: var(--navy);
    border-top: 3px solid var(--teal);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-logo .logo-main { color: #ffffff; }
.footer-logo .logo-t    { color: #ff6047; }

.footer-address {
    font-size: .84rem;
    color: rgba(200,220,240,.6);
    line-height: 1.8;
}

.footer-address a { color: var(--teal-light); text-decoration: none; }
.footer-address a:hover { text-decoration: underline; }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    list-style: none;
}

.footer-nav a {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: rgba(200,220,240,.55);
    text-decoration: none;
    transition: color .2s;
}

.footer-nav a:hover { color: var(--teal-light); }

.footer-copy {
    font-family: var(--font-mono);
    font-size: .76rem;
    color: rgba(200,220,240,.35);
    margin-top: 6px;
}

/* ── Policy pages ──────────────────────────────────────── */
.page-hero {
    padding: 120px 0 52px;
    background: linear-gradient(135deg, var(--teal-pale) 0%, #ffffff 60%);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-hero-label {
    font-family: var(--font-mono);
    font-size: .76rem;
    color: var(--teal);
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-hero-title {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--navy);
}

.policy-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.policy-lead {
    font-size: .97rem;
    color: var(--text);
    line-height: 1.95;
    margin-bottom: 48px;
    padding: 24px 28px;
    background: var(--teal-pale);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.policy-section { margin-bottom: 44px; }

.policy-section-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.policy-section p {
    font-size: .93rem;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 10px;
}

.policy-list { list-style: none; padding: 0; }

.policy-list li {
    font-size: .93rem;
    color: var(--text-mid);
    line-height: 1.8;
    padding: 10px 0 10px 22px;
    border-bottom: 1px solid #eaf4f2;
    position: relative;
}

.policy-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    line-height: 1.6;
}

.policy-date {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--text-dim);
    text-align: right;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.policy-back {
    margin-top: 36px;
    text-align: center;
}

/* ── Reveal animations ─────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

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

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── Divider ───────────────────────────────────────────── */
.section-divider {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
    section { padding: 68px 0; }
    .nav-links  { display: none; }
    .hamburger  { display: flex; }
    .services-grid,
    .staff-grid { grid-template-columns: 1fr; }
    .form-row   { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.4rem; }
    .container  { padding: 0 18px; }
}

/* ── Honeypot (spam bot trap) ──────────────────────────── */
.visually-hidden-trap { position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden; }
