/* =========================================================
   グリーンワークス 共通スタイル
   色を変えたい場合は、まず下の「基本カラー」を編集してください。
   ========================================================= */
:root {
  --green: #06c755;
  --green-dark: #087a3c;
  --green-soft: #eaf9f0;
  --ink: #173127;
  --text: #3d5048;
  --muted: #6d7d76;
  --line: #dbe8e0;
  --surface: #ffffff;
  --surface-alt: #f6faf7;
  --cream: #fbfaf6;
  --shadow: 0 18px 48px rgba(22, 61, 42, .1);
  --radius: 20px;
  --container: 1180px;
}

/* ===== リセット・共通設定 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--text); background: var(--surface); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 1rem; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.35; letter-spacing: .01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: 1.2rem; }
:focus-visible { outline: 3px solid #ffb000; outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 860px; }
.section { padding: 110px 0; }
.section-muted { background: var(--surface-alt); }
.section-tint { background: var(--cream); }
.center { margin-top: 42px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

/* ===== 見出し・ボタン ===== */
.eyebrow { margin-bottom: 12px; color: var(--green-dark); font-size: .9rem; font-weight: 800; letter-spacing: .1em; }
.section-heading { max-width: 780px; margin: 0 auto 54px; text-align: center; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading p:last-child { color: var(--muted); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 24px; border: 2px solid var(--green); border-radius: 999px; color: #fff; background: var(--green); box-shadow: 0 8px 22px rgba(6, 199, 85, .24); font-weight: 800; line-height: 1.4; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { color: #fff; background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6, 115, 61, .24); }
.button-small { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.button-large { min-height: 58px; padding: 15px 32px; }
.text-link { color: var(--green-dark); font-weight: 800; border-bottom: 1px solid currentColor; }

/* ===== ヘッダー ===== */
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(219,232,224,.9); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.08rem; font-weight: 900; }
.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--green); border-radius: 12px 12px 12px 4px; font-size: 1.25rem; }
.global-nav { display: flex; align-items: center; gap: 26px; font-size: .92rem; font-weight: 700; }
.global-nav > a:not(.button):hover { color: var(--green-dark); }
.menu-button { display: none; width: 46px; height: 46px; padding: 10px; background: transparent; border: 0; border-radius: 10px; }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s, opacity .2s; }

/* ===== ヒーロー ===== */
.hero { position: relative; min-height: 690px; overflow: hidden; background: #eef8f1; }
.hero-media { position: absolute; inset: 0; }
.hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.18) 67%, rgba(255,255,255,0) 100%); }
.hero-media img { height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 1; display: flex; min-height: 690px; max-width: var(--container); align-items: flex-start; justify-content: center; flex-direction: column; }
.hero h1 { max-width: 800px; margin-bottom: 24px; }
.hero-copy { max-width: 610px; margin-bottom: 30px; font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.assurance { margin: 18px 0 0; color: var(--green-dark); font-size: .9rem; font-weight: 700; }

/* ===== お悩み・ベネフィット ===== */
.card-grid, .benefit-grid, .usecase-grid, .pricing-grid { display: grid; gap: 24px; }
.card-grid-3, .usecase-grid, .pricing-grid { grid-template-columns: repeat(3, 1fr); }
.problem-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(31,69,49,.05); }
.problem-card h3 { margin: 20px 0 10px; }
.problem-card p { margin-bottom: 0; color: var(--muted); }
.icon-circle { display: grid; width: 50px; height: 50px; place-items: center; color: var(--green-dark); background: var(--green-soft); border-radius: 50%; font-size: 1.35rem; font-weight: 900; }
.section-bridge { margin: 42px 0 0; color: var(--green-dark); font-size: 1.2rem; font-weight: 800; text-align: center; }
.benefit-grid { grid-template-columns: repeat(4, 1fr); }
.benefit-grid article { padding: 10px 22px; text-align: center; }
.feature-icon { display: grid; width: 66px; height: 66px; margin: 0 auto 22px; place-items: center; color: #fff; background: var(--green); border-radius: 18px 18px 18px 5px; font-size: 1.45rem; }
.benefit-grid p { margin-bottom: 0; color: var(--muted); }

/* ===== サービス ===== */
.service-list { display: grid; gap: 42px; }
.service-card { display: grid; overflow: hidden; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.service-card-reverse .service-image { order: 2; }
.service-image img { height: 100%; min-height: 470px; object-fit: cover; }
.service-body { padding: clamp(36px, 5vw, 70px); }
.service-number { color: var(--green-dark); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.service-body h3 { margin-bottom: 16px; font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.check-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { position: absolute; top: .07em; left: 0; content: "✓"; color: #fff; background: var(--green); width: 21px; height: 21px; border-radius: 50%; font-size: .75rem; line-height: 21px; text-align: center; }

/* ===== 実績 ===== */
.case-card h3 { margin: 10px 0 12px; font-size: 1.25rem; }
.case-card > p { margin-bottom: 0; color: var(--muted); }
.case-card .check-list li { color: var(--text, #1f2d27); }
.case-card .pricing-note { margin-top: 22px; text-align: left; }

/* ===== 活用例 ===== */
.usecase-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(31,69,49,.08); }
.usecase-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.usecase-card div { padding: 26px; }
.usecase-card h3 { margin-bottom: 8px; font-size: 1.35rem; }
.usecase-card p { margin-bottom: 0; color: var(--muted); }

/* ===== 選ばれる理由 ===== */
.section-dark { color: rgba(255,255,255,.78); background: var(--ink); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #79eea8; }
.feature-layout { display: grid; align-items: center; gap: clamp(44px, 7vw, 90px); grid-template-columns: .88fr 1.12fr; }
.feature-photo { overflow: hidden; border-radius: 28px; }
.feature-photo img { min-height: 600px; object-fit: cover; }
.reason-list { display: grid; gap: 0; margin-top: 36px; }
.reason-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); }
.reason-list article > span { color: #79eea8; font-weight: 900; }
.reason-list h3 { margin-bottom: 5px; }
.reason-list p { margin-bottom: 0; }

/* ===== ご利用の流れ ===== */
.flow-list { display: grid; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(5, 1fr); }
.flow-list li { position: relative; padding: 0 20px; text-align: center; }
.flow-list li:not(:last-child)::after { position: absolute; top: 24px; right: -8px; content: "→"; color: var(--green); font-size: 1.4rem; font-weight: 900; }
.flow-list span { display: grid; width: 50px; height: 50px; margin: 0 auto 18px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 900; }
.flow-list h3 { margin-bottom: 8px; }
.flow-list p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

/* ===== 料金 ===== */
.price-card { position: relative; padding: 38px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.recommended { border: 2px solid var(--green); box-shadow: var(--shadow); transform: translateY(-10px); }
.badge { position: absolute; top: 0; left: 50%; margin: 0; padding: 5px 20px; color: #fff; background: var(--green); border-radius: 0 0 12px 12px; font-size: .78rem; font-weight: 800; transform: translateX(-50%); }
.price-card h3 { margin-bottom: 10px; }
.price-card > p:not(.price):not(.badge) { color: var(--muted); }
.price { margin: 25px 0; color: var(--green-dark); font-size: 1.7rem; font-weight: 900; }
.price-card ul { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.pricing-note { margin: 30px 0 0; color: var(--muted); font-size: .9rem; text-align: center; }

/* ===== 実績・FAQ ===== */
.voice-notice { display: flex; align-items: flex-start; gap: 20px; padding: 34px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.voice-notice > span { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-family: Georgia, serif; font-weight: 700; }
.voice-notice h3 { margin-bottom: 8px; }
.voice-notice p { margin-bottom: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq-list summary { position: relative; padding: 22px 60px 22px 26px; color: var(--ink); cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: 24px; content: "+"; color: var(--green-dark); font-size: 1.5rem; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* ===== 最終CTA・フッター ===== */
.contact-section { padding: 100px 0; color: #fff; background: var(--green-dark); text-align: center; }
.contact-inner { max-width: 820px; }
.contact-section .eyebrow { color: #9bf4bd; }
.contact-section h2 { color: #fff; }
.contact-section p { max-width: 680px; margin-right: auto; margin-left: auto; }
.button-white { margin-top: 18px; color: var(--green-dark); background: #fff; border-color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.16); }
.button-white:hover { color: var(--green-dark); background: #eafff1; border-color: #eafff1; }
.contact-note { margin-top: 18px; font-size: .88rem; opacity: .85; }
.site-footer { padding: 64px 0 24px; color: #68766f; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 60px; }
.footer-grid > div:first-child p { max-width: 390px; margin-top: 18px; }
.footer-grid nav { display: grid; align-content: start; gap: 9px; }
.footer-grid nav a:hover { color: var(--green-dark); }
.footer-title { margin-bottom: 8px; color: var(--ink); font-weight: 800; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.mobile-cta { display: none; }

/* ===== タブレット・スマホ ===== */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .menu-button { display: block; }
  .global-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 22px 20px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(31,69,49,.1); flex-direction: column; align-items: stretch; }
  .global-nav.is-open { display: flex; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero, .hero-content { min-height: 650px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.86) 55%, rgba(255,255,255,.36)); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
  .service-card, .feature-layout { grid-template-columns: 1fr; }
  .service-card-reverse .service-image { order: 0; }
  .service-image img { min-height: 320px; max-height: 460px; }
  .feature-photo img { min-height: 420px; max-height: 560px; }
  .flow-list { grid-template-columns: 1fr; gap: 0; }
  .flow-list li { display: grid; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 18px; padding: 18px 0; text-align: left; border-top: 1px solid var(--line); }
  .flow-list span { grid-row: 1 / 3; margin: 0; }
  .flow-list li:not(:last-child)::after { display: none; }
  .flow-list h3 { margin: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .price-card.recommended { transform: none; }
}

@media (max-width: 700px) {
  body { padding-bottom: 68px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 68px; }
  .hero { display: flex; min-height: auto; padding: 0 0 60px; flex-direction: column; background: #fff; }
  .hero-media { position: relative; height: 290px; order: 1; }
  .hero-media::after { background: linear-gradient(0deg, #fff 0%, transparent 30%); }
  .hero-media img { object-position: 63% center; }
  .hero-content { min-height: auto; padding-top: 42px; order: 2; }
  .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { width: 100%; align-items: stretch; flex-direction: column; gap: 20px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: center; }
  .card-grid-3, .usecase-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 28px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; }
  .feature-icon { width: 56px; height: 56px; grid-row: 1 / 3; margin: 0; }
  .benefit-grid h3 { margin: 0 0 6px; }
  .service-body { padding: 32px 24px; }
  .usecase-card { display: grid; grid-template-columns: 42% 58%; align-items: stretch; }
  .usecase-card img { height: 100%; aspect-ratio: auto; object-fit: cover; }
  .usecase-card div { padding: 22px 18px; }
  .usecase-card p { font-size: .9rem; }
  .feature-photo img { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .mobile-cta { position: fixed; z-index: 90; right: 12px; bottom: 10px; left: 12px; display: flex; height: 52px; align-items: center; justify-content: center; color: #fff; background: var(--green); border-radius: 999px; box-shadow: 0 8px 26px rgba(0,0,0,.22); font-weight: 900; }
}

/* 動きを減らす設定の方にはアニメーションを行いません */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
