/* hiroppe3rd ポータルページスタイル */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --eyedrops: #0284c7;
  --eyedrops-hover: #0369a1;
  --stillbell: #0f766e;
  --stillbell-hover: #115e59;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-brand {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.header-nav a {
  text-decoration: none;
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: var(--text);
}

/* メイン */
.main-content {
  padding-top: 40px;
  padding-bottom: 56px;
}

.hero {
  text-align: center;
  margin-bottom: 36px;
}

.hero-eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eyedrops);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.35;
}

.hero-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* 開発ストーリー */
.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}

.story-card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.story-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.story-card p:last-child {
  margin-bottom: 0;
}

/* アプリ一覧 */
.section-title {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

@media (min-width: 720px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.app-icon {
  border-radius: 12px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.app-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-muted);
  margin-bottom: 4px;
}

.app-card-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.app-desc {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.app-features {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.app-features li + li {
  margin-top: 4px;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn-eyedrops {
  background: var(--eyedrops);
  color: #ffffff;
  flex: 1 1 160px;
}

.btn-eyedrops:hover {
  background: var(--eyedrops-hover);
}

.btn-stillbell {
  background: var(--stillbell);
  color: #ffffff;
  flex: 1 1 160px;
}

.btn-stillbell:hover {
  background: var(--stillbell-hover);
}

.btn-outline {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}

.btn-outline:hover {
  background: var(--surface-soft);
  color: var(--text);
}

/* 注意書き */
.note-box {
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.note-box p {
  margin: 0 0 6px;
}

.note-box p:last-child {
  margin-bottom: 0;
}

/* フッター */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copyright {
  margin: 0;
}

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

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
