/*
Theme Name: N107 Electric Air Pump Guide
Theme URI: https://electric-air-pump.jp/
Author: electric-air-pump.jp
Description: 電動空気入れを用途と条件から選べる検索者優先テーマ
Version: 1.0.0
Text Domain: n107
*/

:root {
  --ink: #2b2825;
  --muted: #6d665f;
  --paper: #fffdf8;
  --cream: #f7f0df;
  --cream-2: #efe4cb;
  --coral: #d95f46;
  --coral-dark: #a73e2b;
  --teal: #237b75;
  --teal-dark: #165a56;
  --yellow: #f4bf4f;
  --line: #dfd3bd;
  --shadow: 0 16px 42px rgba(61, 49, 36, .12);
  --radius: 22px;
  --wrap: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
a { color: var(--teal-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--coral-dark); }
img, svg { max-width: 100%; height: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; padding: 10px 16px; background: #fff; color: var(--ink); border: 2px solid var(--coral); }
.skip-link:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(91,72,49,.12); background: rgba(255,253,248,.94); backdrop-filter: blur(12px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; text-decoration: none; letter-spacing: .02em; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: #fff; border-radius: 13px; background: var(--coral); box-shadow: 0 7px 16px rgba(217,95,70,.24); font-size: 21px; }
.site-nav ul { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--ink); font-size: .91rem; font-weight: 800; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus { color: var(--coral-dark); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: #fff; color: var(--ink); font: inherit; font-weight: 800; }
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff9eb 0%, #f7ead1 54%, #f2dcc7 100%); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: auto -80px -180px auto; width: 440px; height: 440px; border-radius: 50%; background: rgba(35,123,117,.10); }
.hero-grid { min-height: 540px; display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: 48px; padding-block: 68px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--teal-dark); font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--coral); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.35rem, 5.6vw, 4.75rem); line-height: 1.12; letter-spacing: -.035em; }
.hero h1 em { color: var(--coral-dark); font-style: normal; }
.hero-lead { max-width: 660px; margin: 24px 0 0; color: #514942; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; background: var(--coral); color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 10px 22px rgba(217,95,70,.22); }
.button:hover { background: var(--coral-dark); color: #fff; }
.button.secondary { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); box-shadow: none; }
.button.secondary:hover { background: var(--teal); color: #fff; }
.pump-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.pump-card { width: min(360px, 92%); aspect-ratio: 1 / .9; position: relative; border: 1px solid rgba(91,72,49,.16); border-radius: 38px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); transform: rotate(2deg); }
.pump-body { position: absolute; left: 23%; top: 16%; width: 48%; height: 64%; border-radius: 26px 26px 34px 34px; background: linear-gradient(165deg, #34302c 0%, #171513 100%); box-shadow: 0 22px 32px rgba(34,29,24,.24); }
.pump-display { position: absolute; left: 15%; right: 15%; top: 14%; height: 31%; border-radius: 14px; background: #dff9e9; color: #1b3f36; display: grid; place-items: center; font-family: ui-monospace, Consolas, monospace; font-weight: 900; font-size: 1.45rem; box-shadow: inset 0 0 0 5px #222; }
.pump-button { position: absolute; left: 50%; bottom: 19%; width: 54px; height: 54px; transform: translateX(-50%); border: 6px solid #4e4842; border-radius: 50%; background: var(--coral); }
.pump-hose { position: absolute; left: 67%; top: 48%; width: 31%; height: 31%; border-right: 8px solid #2f2c28; border-bottom: 8px solid #2f2c28; border-radius: 0 0 48px 0; }
.pump-nozzle { position: absolute; right: 1%; bottom: 12%; width: 13px; height: 42px; border-radius: 5px; background: var(--yellow); transform: rotate(16deg); }
.visual-note { position: absolute; right: 0; bottom: 7%; padding: 10px 15px; border-radius: 13px; background: var(--teal); color: #fff; font-size: .82rem; font-weight: 900; transform: rotate(-4deg); box-shadow: var(--shadow); }
.orientation { border-bottom: 1px solid var(--line); background: #fff; }
.orientation .wrap { display: flex; align-items: center; gap: 14px; min-height: 66px; color: var(--muted); font-size: .94rem; }
.orientation strong { color: var(--ink); }
.section { padding-block: 76px; }
.section.alt { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-kicker { margin: 0 0 8px; color: var(--coral-dark); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(1.75rem, 3.3vw, 2.65rem); line-height: 1.35; letter-spacing: -.025em; }
.section-intro { margin: 12px 0 0; color: var(--muted); }
.task-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.task-card { min-height: 245px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 8px 24px rgba(61,49,36,.07); transition: transform .18s ease, box-shadow .18s ease; }
.task-card:hover, .task-card:focus-visible { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.task-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 15px; background: var(--cream); color: var(--coral-dark); font-size: 1.45rem; }
.task-card h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.5; }
.task-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.task-more { margin-top: auto; padding-top: 18px; color: var(--teal-dark); font-size: .85rem; font-weight: 900; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.guide-card h3 { margin: 0 0 12px; font-size: 1.25rem; }
.guide-card ul { margin: 0; padding-left: 1.25em; }
.guide-card li + li { margin-top: 7px; }
.status-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; border: 1px dashed #b99e75; border-radius: var(--radius); padding: 24px; background: #fffdf8; }
.status-count { min-width: 76px; min-height: 76px; display: grid; place-items: center; border-radius: 20px; background: var(--teal); color: #fff; font-size: 1.8rem; font-weight: 900; }
.status-card h3, .status-card p { margin: 0; }
.status-card p { color: var(--muted); }
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare table { width: 100%; min-width: 700px; border-collapse: collapse; }
.compare th, .compare td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { background: #fbf4e7; font-size: .88rem; }
.compare tr:last-child td { border-bottom: 0; }
.notice { border-left: 6px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; background: #fff9e9; }
.content-shell { width: min(840px, calc(100% - 40px)); margin-inline: auto; padding-block: 68px 90px; }
.content-shell h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.3; }
.entry-content h2 { margin-top: 2.2em; padding-bottom: 10px; border-bottom: 3px solid var(--cream-2); font-size: 1.55rem; }
.entry-content h3 { margin-top: 1.8em; color: var(--teal-dark); }
.entry-content p, .entry-content li { color: #48423d; }
.entry-meta { color: var(--muted); font-size: .86rem; }
.contact-form { display: grid; gap: 18px; margin-top: 28px; }
.contact-form label { display: grid; gap: 7px; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #bfb19a; border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--ink); font: inherit; }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(35,123,117,.2); border-color: var(--teal); }
.form-status { border-radius: 12px; padding: 12px 15px; font-weight: 800; }
.form-status.success { background: #e6f6ed; color: #195c3c; }
.form-status.error { background: #fdecea; color: #8f3023; }
.site-footer { border-top: 1px solid var(--line); background: #302c28; color: #f8f1e6; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding-block: 54px 34px; }
.footer-brand { color: #fff; }
.footer-copy { max-width: 600px; color: #d9cfc3; font-size: .91rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; align-content: start; }
.footer-links a { color: #f7ead7; text-decoration: none; font-weight: 800; }
.footer-links a:hover { color: #ffc965; }
.copyright { margin: 0; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.12); color: #c5b9ac; font-size: .78rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 52px; }
  .pump-visual { min-height: 330px; }
  .task-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 68px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 620px) {
  :root { --wrap: min(100% - 28px, 1120px); }
  .header-inner { min-height: 64px; }
  .brand { font-size: .9rem; }
  .brand-mark { width: 35px; height: 35px; }
  .hero-grid { gap: 18px; padding-block: 38px 34px; }
  .hero h1 { font-size: clamp(2.15rem, 12vw, 3.25rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .pump-visual { min-height: 260px; }
  .pump-card { width: 270px; }
  .orientation .wrap { min-height: 74px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
  .section { padding-block: 54px; }
  .task-grid, .guide-grid, .footer-grid { grid-template-columns: 1fr; }
  .task-card { min-height: 0; }
  .status-card { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .footer-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

