/* ========== 基本 ========== */
:root {
  --primary: #9DB899;
  --primary-dark: #6F8B6B;
  --primary-darker: #4F6B4B;
  --primary-soft: #EAF1E8;
  --bg: #FFFFFF;
  --bg-alt: #F8F9F7;
  --text: #1F2A1E;
  --text-soft: #5A655A;
  --text-muted: #8B928A;
  --border: #E2E8DF;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-darker);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.brand-name {
  font-size: 19px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.5px;
}
.nav {
  display: flex;
  gap: 22px;
}
.nav a {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover {
  color: var(--primary-darker);
  text-decoration: none;
}

/* 日本語の途中で不自然に折り返さないユニット。
   ブラウザは span 間で改行するので、文単位で改行が起こる */
.phrase {
  display: inline-block;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #FFF 100%);
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(closest-side, rgba(157,184,153,0.45), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text);
  /* 句読点や英単語・数字を含めても綺麗に折り返す */
  text-wrap: pretty;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 28px;
  text-wrap: pretty;
}
.hero-desc strong {
  color: var(--primary-darker);
  font-weight: 700;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid transparent;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}
.btn-store {
  background: #1F2A1E;
  color: #fff;
}
.btn-store svg {
  width: 18px;
  height: 18px;
}
.btn-x {
  background: #000;
  color: #fff;
}
.hero-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-screenshot {
  display: flex;
  justify-content: center;
}
.hero-screenshot img {
  max-width: 320px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  border: 6px solid #1F2A1E;
}

/* ========== Section 共通 ========== */
.section {
  padding: 80px 0;
}
.section-about {
  background: var(--bg-alt);
}
.section-features {
  background: #fff;
}
.section-media {
  background: var(--bg-alt);
}
.section-news {
  background: #fff;
}
.section-contact {
  background: #fff;
}
.section-title {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 18px;
  color: var(--text);
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}
.section-lead {
  text-align: center;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 15px;
}

/* ========== About cards ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}
.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-darker);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 1.5px;
}
.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.card p {
  font-size: 13px;
  color: var(--text-soft);
}

/* ========== Features ========== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}
.feature-row.reverse .feature-text {
  order: 2;
}
.feature-row.reverse .feature-image {
  order: 1;
}
.feature-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}
.feature-text h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--primary-darker);
}
.feature-text p {
  font-size: 15px;
  color: var(--text-soft);
}
.feature-image {
  display: flex;
  justify-content: center;
}
.feature-image img {
  max-width: 280px;
  border-radius: 24px;
  border: 5px solid #1F2A1E;
  box-shadow: 0 14px 36px rgba(0,0,0,0.16);
}

/* ========== News (お知らせ) ========== */
.news-list {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.news-item {
  border-bottom: 1px solid var(--border);
}
.news-link {
  display: grid;
  grid-template-columns: 110px 110px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  color: var(--text);
  transition: background 0.15s ease;
}
.news-link:hover {
  background: var(--bg-alt);
  text-decoration: none;
}
.news-date {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.news-tag {
  display: inline-block;
  text-align: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.news-tag-press {
  background: var(--primary-soft);
  color: var(--primary-darker);
}
.news-tag-update {
  background: #FEF3E0;
  color: #B97A12;
}
.news-tag-info {
  background: #E8EFF6;
  color: #3F6489;
}
.news-title {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}
.news-link:hover .news-title {
  color: var(--primary-darker);
}
.news-arrow {
  color: var(--text-muted);
  font-size: 14px;
  transition: transform 0.15s ease, color 0.15s ease;
}
.news-link:hover .news-arrow {
  color: var(--primary-darker);
  transform: translate(2px, -2px);
}

@media (max-width: 720px) {
  .news-link {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 16px 4px;
  }
  .news-date {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
  }
  .news-tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .news-title {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
  }
  .news-arrow {
    display: none;
  }
}

/* ========== Media section ========== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.media-item {
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.media-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.media-item p {
  font-size: 13.5px;
  color: var(--text-soft);
}
.media-summary {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.media-summary h3 {
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--primary-darker);
}
.info-list {
  list-style: none;
}
.info-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.info-list li:last-child {
  border-bottom: 0;
}
.info-list strong {
  color: var(--text);
  margin-right: 8px;
}

/* ========== Contact ========== */
.contact-card {
  background: var(--bg-alt);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.contact-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}
.contact-form-wrap {
  width: 100%;
  min-height: 720px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.contact-form-wrap iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
}
.contact-alt {
  text-align: center;
  margin-top: 20px;
}
.contact-alt p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-soft);
}

/* ========== Footer ========== */
.footer {
  background: #1F2A1E;
  color: #fff;
  padding: 36px 0 28px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.footer-name {
  font-weight: 800;
  font-size: 16px;
}
.footer-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  margin-top: 12px;
}

/* ========== Responsive ========== */
@media (max-width: 880px) {
  .nav {
    display: none;
  }
  .hero {
    padding: 56px 0 64px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-screenshot img {
    max-width: 240px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .feature-row.reverse .feature-text,
  .feature-row.reverse .feature-image {
    order: initial;
  }
  .feature-text h3 {
    font-size: 18px;
  }
  .feature-image img {
    max-width: 220px;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .btn {
    flex: 1;
    justify-content: center;
  }
  .hero-title {
    font-size: 26px;
  }
}
