/* style.css - マチログ公式サイト */
:root {
  --color-primary: #3498db;
  --color-accent: #4ecdc4;
  --color-bg: #fff;
  --color-text: #222;
  --color-subtle: #f5f7fa;
  --font-main: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --max-width: 1100px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header.hero {
  text-align: center;
  padding: 56px 16px 32px 16px;
  background: var(--color-bg);
}

.app-icon {
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(52,152,219,0.08);
  margin-bottom: 16px;
}

h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.store-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 0;
}

.store-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(52,152,219,0.08);
  transition: background 0.2s, transform 0.1s;
}
.store-btn:active {
  transform: scale(0.97);
}
.appstore { background: var(--color-primary); }
.googleplay { background: var(--color-accent); }

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

section {
  margin: 48px 0;
}

.features h2, .screenshots h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.features li {
  background: var(--color-subtle);
  border-radius: 16px;
  padding: 24px 32px;
  font-size: 1.1rem;
  min-width: 160px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(52,152,219,0.04);
}

.screenshots .screenshot-list {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.iphone-mock {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 32px rgba(52,152,219,0.10);
  padding: 16px 8px 8px 8px;
  min-width: 220px;
  max-width: 260px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.iphone-mock img {
  width: 200px;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(52,152,219,0.08);
}

footer {
  text-align: center;
  padding: 32px 8px 16px 8px;
  color: #888;
  font-size: 0.95rem;
  background: var(--color-bg);
  border-top: 1px solid #eee;
}
footer nav {
  margin-top: 8px;
}
footer a {
  color: var(--color-primary);
  text-decoration: none;
  margin: 0 8px;
}
footer a:hover {
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  .features ul { gap: 12px; }
  .features li { padding: 16px 8px; min-width: 120px; font-size: 1rem; }
  .iphone-mock { min-width: 140px; max-width: 180px; }
  .iphone-mock img { width: 120px; height: 250px; }
  section { margin: 32px 0; }
}
