/* Global light theme with header nav */
:root {
  --bg: #f5f5f7; /* Apple-like light gray */
  --fg: #1d1d1f; /* Apple-like black */
  --muted: #555;
  --accent: #000;
}
* { box-sizing: border-box; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* Header */
.header-content {
  display: flex;
  justify-content: center; /* ロゴを中央に */
  align-items: center;
  padding: 12px 24px;
  position: relative; /* position: absolute の基準点にする */
  background: rgba(245,245,247,0.9); /* var(--bg) の色に合わせた透明度付き背景 */
  z-index: 10;
  border-bottom: 1px solid #eee;
}
.logo { width: 192px; height: auto; mix-blend-mode: multiply; }

.header-nav {
  position: absolute;
  right: 20%; /* 右端から20%の位置に配置 */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 24px; /* リンク間のスペース */
}

.header-nav a {
  text-decoration: none;
  color: var(--fg);
  font-size: 1.1rem; /* フォントを少し大きく */
  font-weight: 500;
}

.header-nav a:hover {
  text-decoration: underline;
}

header h1 { text-align: center; margin: 8px 0 0; font-size: 2.5rem; font-weight: 600; }
header p.lead { text-align: center; font-size: 1.1rem; color: var(--muted); margin: 8px 0 0; }
.main {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px;
  text-align: left;
}
.main h2 {
  font-size: 1.8rem; /* Adjust as needed */
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.card { background: #f8f9fa; border: 1px solid #ddd; border-radius: 16px; padding: 20px; }
.card a { color: var(--fg); text-decoration: none; }
.card a:hover { text-decoration: underline; }


footer {
  text-align: center;
  color: var(--muted);
  padding: 32px 16px 48px;
  font-size: 0.9rem;
}
footer a {
  color: var(--muted); /* Muted color for footer links */
  text-decoration: none;
}
footer a:hover { text-decoration: underline; }
.footer-nav {
  margin-bottom: 12px;
  display: flex; /* gap を使うために flex にする */
  justify-content: center; /* 中央揃え */
  gap: 24px; /* ヘッダーと合わせる */
}

.footer-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.footer-lang, .footer-copy {
  margin-bottom: 12px;
}
.footer-copy {
  font-size: 0.8rem;
}
.section { display: flex; justify-content: center; flex-wrap: wrap; margin: 40px auto; max-width: 1100px; padding: 0 16px; }
/* Device frames */
.device-frame { background-color: #f8f9fa; border-radius: 40px; padding: 12px; display: inline-block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08); margin: 10px; }
.device-frame img { width: 300px; border-radius: 30px; display: block; }
.links { margin: 16px 0 0; }
.links a { margin: 0 12px; }

/* Showcase Section */
.showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 80px auto;
  max-width: 1100px;
  padding: 20px;
  text-align: left;
}
.showcase-images {
  position: relative;
  flex-shrink: 0;
}
.showcase-images {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Keep this */
}
.showcase-single-image {
  max-width: 480px; /* Adjusted size */
  display: block; /* For margin auto to work */
  margin: 0 auto; /* Center the image */
  height: auto;
  border-radius: 20px; /* Adjust as needed for the image */
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.showcase-text {
  max-width: 400px;
}
.showcase-text h2 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.main p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--fg);
}
.main li {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--fg);
}
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #007aff; /* Apple blue */
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.btn:hover {
  background: #005ecb;
}

/* Responsive for Showcase */
@media (max-width: 768px) {
  .showcase {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-top: 40px;
  }
  .showcase-text {
    padding-left: 0;
  }
  .showcase-images {
    margin-bottom: 20px;
  }
}
