/* ===== リセット & ベース ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #1a3a5c;
  background-color: #fff;
}

a {
  text-decoration: none;
}

/* ===== カラー変数 ===== */
:root {
  --teal: #29b8a8;
  --teal-dark: #1e9688;
  --teal-light: #e0f7f4;
  --navy: #1a3a5c;
  --white: #fff;
}

/* ===== ヘッダー ===== */
.header {
  background-color: var(--white);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.logo:hover .logo-text {
  color: var(--teal);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-dark);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--teal);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--teal);
  color: var(--white);
}

/* ===== ヒーロー ===== */
.hero {
  background-color: var(--teal);
  width: 100%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* ===== 特徴セクション ===== */
.features {
  background: var(--white);
  padding: 72px 24px;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.features-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: var(--teal-dark);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

.features-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--teal);
  margin: 12px auto 0;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--teal-light);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13px;
  color: #3a5a7c;
  line-height: 1.8;
}

/* ===== CTAセクション ===== */
.cta {
  background: var(--teal);
  padding: 80px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-store:hover {
  opacity: 0.85;
}

.store-badge {
  height: 48px;
  width: auto;
}

/* ===== フッター ===== */
.footer {
  background: var(--navy);
  padding: 40px 24px 24px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img-sm {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .features-title { font-size: 20px; }
  .cta-title { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .nav-link { padding: 5px 10px; font-size: 12px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .nav { gap: 4px; }
}