@charset "UTF-8";

/* ===============================
   変数・リセット
   =============================== */
:root {
  --color-accent: #2d5a4a;
  --color-accent-dark: #234436;
  --color-accent-light: #4a8570;
  --color-text: #24312c;
  --color-text-muted: #5d6b65;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9f8;
  --color-border: #e2e8e5;

  --content-width: 1080px;
  --header-height: 64px;

  --font-base: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
               "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "Yu Gothic",
               "Noto Sans JP", "Meiryo", "メイリオ", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}

h1, h2, h3, p, dl, dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===============================
   ヘッダー・ナビ
   =============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: var(--header-height);
  padding-block: 10px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.global-nav a {
  display: inline-block;
  padding: 4px 2px;
  font-size: 0.95rem;
  color: var(--color-text);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.global-nav a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* ===============================
   ヒーロー
   =============================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 80px 24px;
  text-align: center;
  color: #ffffff;
  background-image:
    linear-gradient(rgba(45, 90, 74, 0.55), rgba(35, 68, 54, 0.65)),
    url("images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.75rem, 9vw, 5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  margin-top: 20px;
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* ===============================
   セクション共通
   =============================== */
.section {
  padding-block: 88px;
  scroll-margin-top: var(--header-height);
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  margin-bottom: 48px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px auto 0;
  background-color: var(--color-accent);
}

/* ===============================
   会社について
   =============================== */
.about-body {
  max-width: 760px;
  margin-inline: auto;
}

.about-body p + p {
  margin-top: 16px;
}

/* ===============================
   製品
   =============================== */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(45, 90, 74, 0.12);
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #ffffff;
  background-color: var(--color-accent);
  border-radius: 999px;
}

.product-name {
  margin-top: 16px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.product-text {
  margin-top: 20px;
}

/* ===============================
   サービス
   =============================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-text {
  padding: 24px;
  font-size: 0.95rem;
}

/* ===============================
   住所・営業時間
   =============================== */
.info-list {
  max-width: 760px;
  margin-inline: auto;
}

.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--color-border);
}

.info-row:first-child {
  border-top: 1px solid var(--color-border);
}

.info-row dt {
  font-weight: 700;
  color: var(--color-accent);
}

.info-note {
  margin-left: 4px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===============================
   フッター
   =============================== */
.site-footer {
  padding-block: 40px;
  color: #ffffff;
  background-color: var(--color-accent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-copyright {
  font-size: 0.85rem;
}

/* ===============================
   レスポンシブ
   =============================== */
@media (max-width: 768px) {
  body {
    line-height: 1.85;
  }

  .container {
    padding-inline: 20px;
  }

  .brand {
    font-size: 1.15rem;
  }

  .global-nav ul {
    gap: 6px 16px;
  }

  .global-nav a {
    font-size: 0.85rem;
  }

  .hero {
    min-height: 60vh;
    padding: 64px 20px;
  }

  .section {
    padding-block: 56px;
    /* スマホではナビが2行になりヘッダーが高くなるため余裕を持たせる */
    scroll-margin-top: 100px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===============================
   LP制作サービスへの導線（2026-08-14 追加・決定W-09-A）
   =============================== */
.lp-cta {
  color: #ffffff;
  background-color: var(--color-accent-dark);
}

.lp-cta-in {
  max-width: 760px;
  text-align: center;
}

.lp-cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.66);
}

.lp-cta-title {
  margin-top: 12px;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lp-cta-text {
  margin-top: 20px;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
}

.lp-cta-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  font-weight: 700;
  color: #ffffff;
  background-color: #b8442e;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.lp-cta-btn:hover { background-color: #9e3927; }
