:root {
    --ht-blue: #0d7fd5;
    --ht-blue2: #179be8;
    --ht-blue-dark: #003b70;
    --ht-sky: #eaf7ff;
    --ht-sky-2: #f4fbff;
    --ht-text: #112236;
    --ht-muted: #5c7084;
    --ht-line: #cfe3f1;
    --ht-white: #ffffff;
    --ht-yellow: #ffd24d;
    --ht-radius: 16px;
    --ht-shadow: 0 12px 32px rgba(0, 80, 140, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    color: var(--ht-text);
    background: #fff;
    line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.ht-container { width: min(1180px, calc(100% - 34px)); margin-inline: auto; }

.ht-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #ddecf6;
}
.ht-header__top {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.ht-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.36rem; white-space: nowrap; }
.ht-brand__mark { width: 38px; height: 38px; color: var(--ht-blue); }
.ht-brand__mark svg { width: 38px; height: 38px; }
.ht-brand__name { letter-spacing: -.02em; }
.ht-header-contact { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ht-tel { display: flex; align-items: center; gap: 10px; color: var(--ht-blue); }
.ht-tel strong { display: block; font-size: 1.35rem; line-height: 1; }
.ht-tel small { display: block; color: #4a5d70; font-size: .76rem; margin-top: 4px; }
.ht-tel__icon { font-size: 1.6rem; }
.ht-photo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 156px;
    min-height: 56px;
    padding: 9px 15px;
    color: #fff;
    background: linear-gradient(135deg, #148fe4, #075fc1);
    border-radius: 10px;
    font-weight: 900;
    line-height: 1.25;
    box-shadow: 0 8px 18px rgba(5, 94, 188, .25);
}
.ht-header__navrow { border-top: 1px solid #eef5fb; }
.ht-nav__list { display: flex; justify-content: center; gap: 34px; list-style: none; margin: 0; padding: 11px 0; font-size: .86rem; font-weight: 800; }
.ht-nav__list a:hover { color: var(--ht-blue); }

.ht-nav-toggle { display: none; background: transparent; border: 0; margin-left: auto; }
.ht-nav-toggle span { display: block; width: 28px; height: 2px; margin: 6px 0; background: var(--ht-text); }
.ht-nav-toggle em { font-style: normal; font-size: .65rem; }

.ht-main { overflow: hidden; }
.ht-hero {
    position: relative;
    background:
        radial-gradient(circle at 68% 15%, rgba(255,255,255,.96) 0 18%, transparent 28%),
        linear-gradient(180deg, #eaf8ff 0%, #f6fcff 72%, #fff 100%);
}
.ht-hero__skyline {
    position: absolute;
    inset: auto 0 0;
    height: 170px;
    background: url("../img/hero-city.svg") center bottom / cover no-repeat;
    opacity: .9;
}
.ht-hero__grid {
    position: relative;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    align-items: center;
    gap: 24px;
    padding: 52px 0 34px;
    z-index: 1;
}
.ht-kicker { margin: 0 0 10px; color: var(--ht-blue); font-weight: 900; font-size: .9rem; letter-spacing: .03em; }
.ht-hero h1 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 4.9rem); line-height: 1.08; letter-spacing: -.07em; font-weight: 950; }
.ht-hero h1 span { color: var(--ht-blue); }
.ht-hero__lead { max-width: 760px; margin: 22px 0 10px; font-size: 1.14rem; font-weight: 900; line-height: 1.75; }
.ht-hero__text { max-width: 700px; margin: 0; color: #23384f; font-weight: 650; }
.ht-hero-actions { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 16px; margin-top: 26px; max-width: 790px; }
.ht-hero-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 12px 16px;
    background: rgba(255,255,255,.92);
    border: 1px solid #c8e2f2;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 80, 140, .10);
    color: var(--ht-blue-dark);
    font-weight: 900;
}
.ht-hero-btn--primary { color: #fff; background: linear-gradient(135deg, #1597e5, #075fc1); border-color: transparent; }
.ht-hero-btn__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(13,127,213,.12); font-size: 1.2rem; }
.ht-hero-btn--primary .ht-hero-btn__icon { background: rgba(255,255,255,.2); }
.ht-hero-btn strong { display: block; line-height: 1.2; }
.ht-hero-btn small { display: block; margin-top: 3px; color: inherit; opacity: .8; font-size: .74rem; font-weight: 700; }

.ht-hero__visual { position: relative; align-self: end; }
.ht-hero__visual img { width: min(100%, 520px); margin-left: auto; filter: drop-shadow(0 18px 22px rgba(0, 64, 120, .12)); }
.ht-speech {
    position: absolute;
    top: 42px;
    right: 6px;
    z-index: 2;
    width: 176px;
    min-height: 128px;
    display: grid;
    place-items: center;
    padding: 22px;
    text-align: center;
    background: #fff;
    border: 1px solid #cfe3f1;
    border-radius: 50%;
    box-shadow: var(--ht-shadow);
    font-weight: 900;
    line-height: 1.45;
}
.ht-speech::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: 4px;
    width: 22px;
    height: 18px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 30% 100%);
}

.ht-section { padding: 48px 0; background: var(--ht-sky-2); }
.ht-section--white { background: #fff; }
.ht-section-title { margin: 0 0 24px; text-align: center; font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 950; letter-spacing: -.03em; }
.ht-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.ht-section-head .ht-section-title, .ht-section-head h2 { margin: 0; text-align: left; }
.ht-section-head a { color: var(--ht-blue); font-weight: 900; }

.ht-trouble-section { padding-top: 34px; }
.ht-trouble-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ht-trouble-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--ht-line);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 80, 140, .06);
    font-weight: 900;
    line-height: 1.45;
}
.ht-svgicon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--ht-blue);
}
.ht-svgicon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.ht-services { background: linear-gradient(180deg, #eef9ff, #f7fcff); }
.ht-service-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.ht-service-card {
    min-height: 160px;
    padding: 16px 12px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ht-line);
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(0, 80, 140, .09);
}
.ht-service-card .ht-svgicon { margin: 0 auto 8px; }
.ht-service-card h3 { margin: 0 0 8px; font-size: .96rem; line-height: 1.4; }
.ht-service-card p { margin: 0; color: var(--ht-muted); font-size: .78rem; line-height: 1.45; font-weight: 700; }

.ht-consult-works-row { background: #eef9ff; }
.ht-consult-works-grid { display: grid; grid-template-columns: .93fr 1.07fr; gap: 18px; align-items: stretch; }
.ht-photo-consult-card,
.ht-mini-works,
.ht-card,
.ht-area-card,
.ht-company-card,
.ht-faq article {
    background: #fff;
    border: 1px solid var(--ht-line);
    border-radius: 16px;
    box-shadow: var(--ht-shadow);
}
.ht-photo-consult-card { position: relative; min-height: 310px; padding: 26px 190px 24px 28px; overflow: hidden; }
.ht-photo-consult-card h2 { margin: 0 0 14px; color: var(--ht-blue); font-size: 1.35rem; }
.ht-photo-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 18px 0 16px; }
.ht-photo-steps div { text-align: center; color: var(--ht-blue-dark); font-weight: 900; font-size: .78rem; line-height: 1.35; }
.ht-photo-steps .ht-svgicon { margin: 0 auto 5px; }
.ht-photo-consult-card p { font-size: .88rem; color: var(--ht-muted); margin: 0; font-weight: 700; }
.ht-consult-cat { position: absolute; right: 18px; bottom: 6px; width: 150px; }

.ht-mini-works { padding: 22px; }
.ht-mini-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ht-mini-work-card h3 { margin: 0 0 10px; font-size: 1rem; }
.ht-mini-work-card p { margin: 10px 0 0; font-size: .83rem; color: var(--ht-muted); line-height: 1.55; font-weight: 700; }

.ht-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ht-ba figure { position: relative; margin: 0; overflow: hidden; border-radius: 9px; background: #eef7ff; }
.ht-ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ht-ba span { position: absolute; left: 6px; top: 6px; z-index: 1; padding: 2px 7px; background: rgba(20,34,53,.76); color: #fff; border-radius: 999px; font-size: .66rem; font-weight: 900; }
.ht-ba--large img { aspect-ratio: 16 / 10; }

.ht-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ht-work-card { overflow: hidden; background: #fff; border: 1px solid var(--ht-line); border-radius: 16px; box-shadow: var(--ht-shadow); }
.ht-work-card__body { padding: 16px 18px 20px; }
.ht-work-card h3 { margin: 8px 0 8px; font-size: 1.04rem; line-height: 1.45; }
.ht-work-card p { margin: 0; color: var(--ht-muted); font-size: .9rem; line-height: 1.65; font-weight: 700; }
.ht-label { display: inline-block; padding: 4px 9px; color: var(--ht-blue-dark); background: #e8f6ff; border-radius: 999px; font-size: .72rem; font-weight: 900; }

.ht-two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.ht-card { padding: 26px; }
.ht-card h2 { margin-top: 0; }
.ht-card--accent { background: linear-gradient(135deg, #fff, #effaff); }
.ht-chip-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.ht-chip-list li { padding: 8px 13px; color: var(--ht-blue-dark); background: #e8f6ff; border: 1px solid #c6e4f7; border-radius: 999px; font-weight: 900; }

.ht-flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.ht-flow__item {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 116px;
    padding: 12px 8px;
    text-align: center;
    background: #f7fcff;
    border: 1px solid var(--ht-line);
    border-radius: 13px;
    color: var(--ht-blue-dark);
    font-weight: 900;
    line-height: 1.35;
    font-size: .8rem;
}
.ht-flow__item b { position: absolute; top: -13px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--ht-blue); background: #fff; border: 2px solid var(--ht-blue); border-radius: 50%; }
.ht-flow__item .ht-svgicon { width: 34px; height: 34px; margin-top: 8px; }
.ht-flow__item .ht-svgicon svg { width: 30px; height: 30px; }

.ht-reasons { padding-top: 42px; }
.ht-reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ht-reason-card { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--ht-line); border-radius: 14px; box-shadow: 0 8px 24px rgba(0,80,140,.07); }
.ht-reason-card .ht-svgicon { grid-row: span 2; width: 56px; height: 56px; }
.ht-reason-card h3 { margin: 0; color: var(--ht-blue-dark); font-size: 1rem; }
.ht-reason-card p { grid-column: 2; margin: 0; color: var(--ht-muted); font-size: .82rem; line-height: 1.6; font-weight: 700; }

.ht-area-company { background: #eef9ff; }
.ht-area-company-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 18px; }
.ht-area-card { padding: 26px; min-height: 230px; background: #fff url("../img/hero-city.svg") center bottom / cover no-repeat; }
.ht-area-card h2,
.ht-company-card h2 { margin-top: 0; }
.ht-area-card p { font-weight: 900; color: var(--ht-blue-dark); }
.ht-area-card small { color: var(--ht-muted); font-weight: 700; }
.ht-company-card { display: grid; grid-template-columns: 1fr 240px; align-items: end; gap: 22px; padding: 26px 26px 0; overflow: hidden; }
.ht-company-card img { align-self: end; max-height: 260px; object-fit: contain; object-position: bottom; }

.ht-faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ht-faq article { padding: 20px; }
.ht-faq h3 { margin: 0 0 10px; color: var(--ht-blue); font-size: 1rem; }
.ht-faq p { margin: 0; color: var(--ht-muted); font-size: .9rem; font-weight: 700; }

.ht-final-cta { position: relative; padding: 44px 0; color: #fff; background: linear-gradient(135deg, #008ee0, #003b70); overflow: hidden; }
.ht-final-cta__inner { position: relative; min-height: 140px; display: grid; grid-template-columns: 1fr auto 160px; align-items: center; gap: 24px; }
.ht-final-cta h2 { margin: 0 0 8px; font-size: 1.8rem; }
.ht-final-cta p { margin: 0; opacity: .92; font-weight: 700; }
.ht-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ht-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px 24px; border-radius: 10px; font-weight: 950; line-height: 1.25; border: 1px solid transparent; }
.ht-btn--yellow { color: #003b70; background: var(--ht-yellow); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.ht-btn--white { color: var(--ht-blue-dark); background: #fff; }
.ht-final-cat { position: absolute; right: 0; bottom: -24px; width: 150px; }

.ht-page-title { padding: 70px 0; background: linear-gradient(135deg, #eef8ff, #ffffff); }
.ht-page-title h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.ht-content { max-width: 860px; }
.ht-content a { color: var(--ht-blue); text-decoration: underline; }
.ht-single-thumb { width: 100%; border-radius: 20px; margin-bottom: 24px; }

.ht-footer { padding: 38px 0 90px; color: #dcecf7; background: #0e2236; }
.ht-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.ht-footer p { margin: 8px 0 0; color: #bcd2e5; }

.ht-mobile-cta { display: none; }

@media (max-width: 1100px) {
    .ht-nav__list { gap: 18px; font-size: .82rem; }
    .ht-service-grid { grid-template-columns: repeat(4, 1fr); }
    .ht-hero-actions { grid-template-columns: 1fr; max-width: 430px; }
}
@media (max-width: 920px) {
    .ht-header__navrow { display: none; }
    .ht-header-contact { display: none; }
    .ht-nav-toggle { display: block; }
    .ht-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        background: #fff;
        border-bottom: 1px solid var(--ht-line);
    }
    .ht-nav.is-open { display: block; }
    .ht-nav.is-open .ht-nav__list { display: grid; gap: 0; padding: 10px 20px; }
    .ht-nav.is-open a { display: block; padding: 12px; border-bottom: 1px solid var(--ht-line); }
    .ht-hero__grid,
    .ht-consult-works-grid,
    .ht-two-col,
    .ht-area-company-grid,
    .ht-company-card,
    .ht-final-cta__inner { grid-template-columns: 1fr; }
    .ht-hero__grid { padding-top: 36px; }
    .ht-hero__visual img { margin-inline: auto; max-height: 420px; }
    .ht-trouble-grid,
    .ht-work-grid,
    .ht-reason-grid,
    .ht-faq-grid { grid-template-columns: repeat(2, 1fr); }
    .ht-flow { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
    .ht-photo-consult-card { padding-right: 28px; padding-bottom: 140px; }
    .ht-consult-cat { width: 130px; }
    .ht-final-cat { position: static; width: 130px; }
    .ht-footer__inner { grid-template-columns: 1fr; }
    .ht-mobile-cta {
        position: fixed;
        z-index: 200;
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: hidden;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0,0,0,.18);
    }
    .ht-mobile-cta a,
    .ht-mobile-cta button {
        display: grid;
        place-items: center;
        min-height: 52px;
        border: 0;
        color: #fff;
        background: var(--ht-blue);
        font: inherit;
        font-weight: 900;
    }
    .ht-mobile-cta a:first-child { background: var(--ht-blue-dark); }
    .ht-mobile-cta button { background: #0a5fa0; }
}
@media (max-width: 640px) {
    .ht-container { width: min(100% - 24px, 1180px); }
    .ht-brand { font-size: 1.05rem; }
    .ht-hero h1 { font-size: 2.45rem; }
    .ht-hero__lead { font-size: 1rem; }
    .ht-speech { position: relative; top: auto; right: auto; width: auto; min-height: auto; border-radius: 18px; margin: 0 0 10px; }
    .ht-trouble-grid,
    .ht-service-grid,
    .ht-work-grid,
    .ht-reason-grid,
    .ht-faq-grid,
    .ht-mini-work-grid { grid-template-columns: 1fr; }
    .ht-service-card { min-height: 130px; }
    .ht-photo-steps { grid-template-columns: repeat(2, 1fr); }
    .ht-flow { grid-template-columns: repeat(2, 1fr); }
    .ht-company-card { padding-bottom: 0; }
    .ht-company-card img { max-height: 220px; margin-inline: auto; }
}


/* v0.3 scene-specific mascot additions retained for assets and thanks page. */
.ht-page-thanks {
    padding: 78px 0;
    background: linear-gradient(135deg, #eef9ff, #ffffff);
}
.ht-page-thanks__inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 34px;
    align-items: center;
    padding: 42px;
    background: #fff;
    border: 1px solid var(--ht-line);
    border-radius: 22px;
    box-shadow: var(--ht-shadow);
}
.ht-page-thanks h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.25;
}
.ht-page-thanks p {
    color: var(--ht-muted);
    font-weight: 700;
}
.ht-page-thanks__mascot img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}
@media (max-width: 820px) {
    .ht-page-thanks__inner {
        grid-template-columns: 1fr;
        padding: 26px;
    }
    .ht-page-thanks__mascot img {
        max-height: 320px;
    }
}
