/*
Theme Name: AIHQ Tools Sales
Theme URI: https://aihqtools.com/
Author: AIHQ Tools
Description: AIHQ Tools 外部AIスタッフサービス専用テーマ
Version: 1.1.0
Text Domain: aihqtools-sales
*/

:root {
  --ink: #14203a;
  --ink-soft: #56627a;
  --navy: #111d38;
  --blue: #2459dc;
  --blue-dark: #193fa8;
  --blue-light: #eef4ff;
  --sky: #e8f1ff;
  --mint: #e0f7ee;
  --cream: #fff7e4;
  --line: #dde4ef;
  --paper: #ffffff;
  --page: #f6f8fc;
  --radius: 22px;
  --shadow: 0 20px 54px rgba(25, 50, 94, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 999; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(221,228,239,.9); backdrop-filter: blur(14px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 19px; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border-radius: 11px; background: linear-gradient(145deg, var(--navy), var(--blue)); box-shadow: 0 8px 20px rgba(36,89,220,.24); font-size: 13px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 750; white-space: nowrap; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-cta { color: #fff; padding: 10px 17px; border-radius: 999px; background: var(--blue); }
.site-nav .nav-cta:hover { color: #fff; background: var(--blue-dark); }

.hero { position: relative; overflow: hidden; padding: 92px 0 82px; background: linear-gradient(145deg, #f4f7ff 0%, #fff 48%, #ebf8f3 100%); }
.hero::before { content: ""; position: absolute; width: 580px; height: 580px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(36,89,220,.18), rgba(36,89,220,0) 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 62px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1 { margin: 0; max-width: 760px; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.18; letter-spacing: -.052em; }
.accent-text { color: var(--blue); }
.hero-copy { margin: 25px 0 0; max-width: 660px; color: var(--ink-soft); font-size: clamp(17px, 1.8vw, 19px); }
.hero-offer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 26px 0 0; font-weight: 850; }
.hero-offer span { padding: 5px 10px; color: var(--blue); border-radius: 999px; background: var(--blue-light); font-size: 12px; }
.hero-offer strong { color: var(--navy); font-size: 23px; letter-spacing: -.02em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--blue); box-shadow: 0 10px 24px rgba(36,89,220,.22); color: #fff; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 14px 28px rgba(36,89,220,.27); }
.button.secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: none; }
.microcopy { margin: 12px 0 0; color: #6d778c; font-size: 13px; }
.hero-panel { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.92); border-radius: 28px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.staff-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
.staff-avatar { flex: 0 0 54px; width: 54px; height: 54px; display: grid; place-items: center; color: #fff; border-radius: 17px; background: linear-gradient(145deg, var(--navy), var(--blue)); font-weight: 900; }
.staff-heading .panel-label { margin: 0 0 2px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.staff-heading h2 { font-size: 23px; }
.staff-intro { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; }
.deliverable { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.deliverable:last-child { border-bottom: 0; }
.check { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: #0b714f; background: var(--mint); font-weight: 900; }
.deliverable strong { display: block; font-size: 15px; }
.deliverable small { display: block; margin-top: 1px; color: var(--ink-soft); }

.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 16px; }
.trust-item span { color: var(--ink-soft); font-size: 13px; }

section { padding: 92px 0; scroll-margin-top: 72px; }
.section-soft { background: var(--page); }
.section-head { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.section-kicker { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.section-kicker.light { color: #9db8ff; }
h2 { margin: 0; font-size: clamp(29px, 4vw, 44px); line-height: 1.35; letter-spacing: -.035em; }
.section-lead { margin: 16px auto 0; color: var(--ink-soft); font-size: 17px; }
.audience { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 60px; }
.audience-copy h2 { margin-bottom: 20px; }
.audience-copy p { color: var(--ink-soft); }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.check-list li::before { content: "✓"; color: #0b714f; font-weight: 900; }

.duty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.duty-card { position: relative; min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(25,50,94,.05); }
.duty-card span { display: inline-grid; min-width: 42px; height: 28px; place-items: center; margin-bottom: 28px; color: var(--blue); border-radius: 999px; background: var(--blue-light); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.duty-card h3 { margin: 0 0 10px; font-size: 20px; }
.duty-card p { margin: 0; color: var(--ink-soft); }
.duty-card:last-child { grid-column: 2 / 3; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 14px 38px rgba(25,50,94,.07); }
.pricing-card.featured { color: #fff; border-color: transparent; background: var(--navy); }
.pricing-label { width: max-content; margin: 0 0 18px; padding: 5px 11px; color: var(--blue); border-radius: 999px; background: var(--blue-light); font-size: 12px; font-weight: 900; }
.pricing-card.featured .pricing-label { color: #fff; background: rgba(255,255,255,.12); }
.pricing-card h3 { margin: 0; font-size: 27px; line-height: 1.4; }
.price { margin: 18px 0 8px; font-size: 48px; line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.price small { font-size: 14px; letter-spacing: 0; }
.quote-price { margin: 22px 0 12px; color: var(--blue); font-size: 36px; line-height: 1.15; font-weight: 900; letter-spacing: -.04em; }
.offer-note, .pricing-card > p { color: var(--ink-soft); }
.pricing-card.featured .offer-note { color: #c5cee1; }
.plain-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 16px; margin: 24px 0 28px; padding: 0; list-style: none; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 14px; }
.plain-list li::before { content: "✓"; margin-right: 8px; color: #83e5c4; font-weight: 900; }
.pricing-card .button { align-self: flex-start; margin-top: auto; }
.pricing-card.featured .button { color: var(--navy); background: #fff; box-shadow: none; }
.price-factors { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.price-factors strong { width: 100%; margin-bottom: 4px; }
.price-factors span { padding: 6px 10px; border-radius: 999px; background: var(--page); color: var(--ink-soft); font-size: 13px; }

.sample-section { background: #fff; }
.sample-notice { margin-bottom: 24px; padding: 14px 18px; border: 1px solid #f0d18a; border-radius: 12px; color: #6f4d00; background: var(--cream); }
.sample-company { margin-bottom: 22px; padding: 22px 24px; border-left: 5px solid var(--blue); border-radius: 14px; background: var(--sky); }
.sample-company h3 { margin: 2px 0 6px; font-size: 24px; }
.sample-company p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.sample-label { margin: 0 0 4px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.sample-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(25,50,94,.06); }
.sample-table { width: 100%; min-width: 920px; border-collapse: collapse; background: #fff; font-size: 14px; }
.sample-table th { padding: 14px 16px; color: #fff; background: var(--navy); text-align: left; white-space: nowrap; }
.sample-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.sample-table tbody tr:nth-child(even) { background: #fafbfe; }
.priority { display: inline-grid; min-width: 30px; height: 30px; place-items: center; border-radius: 50%; font-weight: 900; }
.priority.high { color: #fff; background: var(--blue); }
.priority.medium { color: #6f4d00; background: #ffe6a8; }
.priority.low { color: var(--ink-soft); background: #e9edf4; }
.sample-copy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.sample-copy-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.sample-copy-card h3 { margin: 4px 0 10px; font-size: 19px; }
.sample-copy-card p:last-child, .sample-copy-card ol { margin-bottom: 0; color: var(--ink-soft); }
.sample-copy-card ol { padding-left: 20px; }
.sample-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding: 24px; border-radius: 16px; color: #fff; background: var(--navy); }
.sample-cta p { margin: 0; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { counter-increment: step; position: relative; padding: 28px 22px; border-top: 3px solid var(--blue); background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 10px 30px rgba(25,50,94,.06); }
.step::before { content: "0" counter(step); display: block; margin-bottom: 24px; color: var(--blue); font-weight: 900; letter-spacing: .08em; }
.step h3 { margin: 0 0 9px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.human-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.human-card { padding: 32px; border-radius: var(--radius); }
.human-card.ai { background: var(--sky); }
.human-card.person { background: var(--mint); }
.human-card h3 { margin: 0 0 12px; font-size: 22px; }
.human-card p { margin: 0; color: var(--ink-soft); }
.policy-note { margin: 22px 0 0; padding: 20px 24px; border-left: 4px solid var(--blue); background: #fff; color: var(--ink-soft); }

.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.role-card.active { border-color: rgba(36,89,220,.45); box-shadow: 0 12px 30px rgba(36,89,220,.1); }
.role-card span { color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.role-card.active span { color: var(--blue); }
.role-card h3 { margin: 14px 0 9px; font-size: 19px; }
.role-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.roadmap-note { margin: 24px 0 0; color: var(--ink-soft); text-align: center; font-size: 13px; }

.faq { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq summary { position: relative; padding: 20px 54px 20px 22px; cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 17px; color: var(--blue); font-size: 24px; }
.faq details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 22px; color: var(--ink-soft); }
.faq-answer p { margin: 0; }
.final-cta { padding: 82px 0; color: #fff; background: linear-gradient(135deg, var(--navy), #1c3e84); text-align: center; }
.final-cta h2 { margin: 0 auto; max-width: 760px; }
.final-cta p:not(.section-kicker) { margin: 18px auto 0; max-width: 680px; color: #d4dced; }
.final-cta .button { margin-top: 28px; color: var(--navy); background: #fff; box-shadow: none; }

.page-hero { padding: 68px 0 42px; background: var(--page); text-align: center; }
.page-hero h1 { margin-inline: auto; font-size: clamp(32px, 4.5vw, 48px); }
.page-hero p { margin: 14px auto 0; max-width: 700px; color: var(--ink-soft); }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; align-items: start; }
.contact-info { position: sticky; top: 104px; }
.contact-info h2 { font-size: 28px; }
.contact-info p { color: var(--ink-soft); }
.contact-note { margin-top: 24px; padding: 18px; border-radius: 14px; background: var(--sky); font-size: 14px; }
.contact-note ul { margin: 10px 0 0; padding-left: 20px; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field label, .field legend { display: block; margin-bottom: 7px; font-weight: 800; }
.field .optional { margin-left: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbd4e2; border-radius: 10px; color: var(--ink); background: #fff; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,89,220,.12); }
.field textarea { min-height: 170px; resize: vertical; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 14px; }
.consent input { margin-top: 6px; }
.form-error { margin-bottom: 22px; padding: 14px 16px; border-radius: 10px; color: #8c1c27; background: #fff0f1; border: 1px solid #f3c8cd; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.thanks-card { max-width: 720px; margin: 0 auto; padding: 52px; border: 1px solid var(--line); border-radius: 26px; text-align: center; box-shadow: var(--shadow); }
.thanks-mark { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 22px; color: #0b714f; background: var(--mint); border-radius: 50%; font-size: 30px; font-weight: 900; }
.thanks-card h1 { font-size: 34px; }
.thanks-card p { color: var(--ink-soft); }
.content-page { padding: 70px 0; }
.entry-title { font-size: clamp(30px, 4vw, 46px); }
.entry-content h2 { margin-top: 2em; font-size: 28px; }
.entry-content h3 { margin-top: 1.8em; font-size: 22px; }
.entry-content a { color: var(--blue); }
.about-lead { padding: 22px 24px; border-left: 4px solid var(--blue); background: var(--blue-light); font-size: 18px; font-weight: 700; }
.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-size: 13px; }
.footer-tagline { margin: 9px 0 0; color: var(--ink-soft); font-size: 13px; }
.copyright { margin: 5px 0 0; color: #7b8497; font-size: 12px; }

@media (max-width: 1000px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-grid, .audience, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .duty-grid { grid-template-columns: repeat(2, 1fr); }
  .duty-card:last-child { grid-column: auto; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info { position: static; }
}
@media (max-width: 760px) {
  .pricing-grid, .human-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sample-copy-grid { grid-template-columns: 1fr; }
  .sample-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 64px; }
  .site-nav .nav-cta { padding: 9px 13px; font-size: 12px; }
  .hero { padding: 54px 0 56px; }
  .hero-grid { gap: 34px; }
  h1 { font-size: 39px; }
  .hero-panel, .contact-form { padding: 23px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  section { padding: 68px 0; }
  .duty-grid, .steps, .role-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 22px; }
  .plain-list { grid-template-columns: 1fr; }
  .price { font-size: 43px; }
  .sample-company, .sample-copy-card, .sample-cta { padding: 19px; }
  .sample-table { min-width: 820px; font-size: 13px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-nav { justify-content: flex-start; gap: 13px 18px; }
  .thanks-card { padding: 34px 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
