@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* =========================================
   Base Variables & Reset
   ========================================= */
:root {
  /* Colors: 落ち着いた緑（OGPの濃い緑に寄せる） */
  --bg-body: #F5F7FA;
  --bg-card: #FFFFFF;
  --text-main: #2D3748;
  --text-muted: #718096;

  --accent: #4A6B5A;        /* 濃い緑 */
  --accent-deep: #3E5C4E;   /* hover用：少し濃い緑 */
  --accent-light: #EAF3EF;  /* 薄い緑背景 */
  --border: #E2E8F0;

  /* Spacing & Layout */
  --maxw: 1100px;           /* ヘッダー・フッター用 */
  --pad: 24px;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: 0.2s; }
a:hover { opacity: 0.8; }

html, body { overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }

/* =========================================
   Layout Containers
   ========================================= */
.container {
  max-width: var(--maxw);   /* 1100px */
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* 本文は読みやすさ優先で少し細く */
.container-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* =========================================
   Header & Nav
   ========================================= */
header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0; /* 左右は .container の padding に任せる */
}

/* ブランド */
.brand { line-height: 1.15; }
.brand a {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ナビ */
nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 8px;
  flex-wrap: nowrap;         /* PCは折り返さない */
  white-space: nowrap;
  padding-bottom: 2px;       /* スクロールバーが出た時の見切れ防止 */
}

nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;        /* 下線演出用 */
}

nav a:hover {
  background: var(--bg-body);
  color: var(--accent);
}

nav a[aria-current="page"] {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
}

/* ホバーと現在地を“下線”でロゴサイトっぽく */
nav a::after{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: transparent;
  border-radius: 2px;
}

nav a:hover::after{
  background: var(--accent);
  opacity: 0.35;
}

nav a[aria-current="page"]::after{
  background: var(--accent);
  opacity: 0.65;
}

/* =========================================
   Main Content
   ========================================= */
main {
  padding: 40px var(--pad) 80px;
}

/* Hero Area */
.hero {
  text-align: center;
  padding: 52px 0 34px;
}
.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 24px;
  color: var(--text-main);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-visual { margin: 28px auto 0; max-width: 760px; }
.hero-visual img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* Sections as Cards */
.section {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius);
  margin-bottom: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.section p{
  margin: 0 0 1.2em;
}

.section ul,
.section ol{
  margin: 0 0 1.2em;
}

/* カード同士の“段落感”だけ足す（heroには影響させない） */
main .section + .section{
  margin-top: 0px;
}

.section h2 {
  font-size: 1.5rem;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-light);
  color: var(--accent);
}

.section h3 {
  font-size: 1.2rem;
  margin: 32px 0 16px;
  font-weight: 700;
}


/* Section-visual */
.section-visual{
  margin: 24px auto 16px;
  max-width: 860px;
}

.section-visual img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-visual figcaption{
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   Components (Box, Button, Lists)
   ========================================= */

/* KV / Box Style */
.kv {
  background: var(--bg-body);
  border: none;
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}
.kv p { margin: 0; }
.kv p + p { margin-top: 1em; }

/* Lists */
.list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.8em;
}
.list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Note（補足トーン） */
.note {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Table */
.kv-table {
  width: 100%;
  border-collapse: collapse;
}
.kv-table th, .kv-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.kv-table th {
  width: 30%;
  color: var(--text-muted);
  font-weight: 500;
}
.kv-table tr:last-child th,
.kv-table tr:last-child td { border-bottom: none; }

/* Buttons */
.cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button.primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* =========================================
   Contact-form
   ========================================= */
.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* =========================================
   Footer
   ========================================= */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-inner a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================
   Mobile Optimization
   ========================================= */
@media (max-width: 600px) {
  /* mainの左右paddingが二重に効いて見えやすいので、スマホは少し詰める */
  main {
    padding: 28px 16px 56px;
  }

  .hero h1 { font-size: 1.8rem; }
  .section { padding: 24px; }

  .header-inner {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  nav ul {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
  }

  /* CTA（ボタン群）をスマホは縦並び＆幅100% */
  .cta {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    width: 100%;
  }

  /* 会社概要の表がスマホで“縦に潰れる”のを防ぐ（まずは確実に積む） */
  .kv-table, .kv-table tbody, .kv-table tr, .kv-table th, .kv-table td {
    display: block;
    width: 100%;
  }
  .kv-table th {
    padding: 12px 0 6px;
    border-bottom: none;
    white-space: nowrap;
  }
  .kv-table td {
    padding: 0 0 12px;
    border-bottom: 1px solid var(--border);
  }
  .kv-table tr:last-child td {
    border-bottom: none;
  }

  /* 長いメールアドレス等は折り返す（はみ出し対策） */
  .kv-table td,
  .kv-table td a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* フォーム送信ボタンが飛び出すケースの保険 */
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}