:root {
    --lilac: #c7b5e9;
    --lilac-dark: #a892d6;
    --bg: #faf9ff;
    --text: #333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

/* ===== Header ===== */

.hero {
    background: var(--lilac);
    color: #fff;
    padding: 30px 0;
}

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

.header-links a {
    margin-left: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

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

.container {
    width: min(90%, 900px);
    margin: auto;
}

.section {
    margin-top: 40px;
}

/* ===== Language Switch ===== */
.lang-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.lang-switch a {
    color: var(--lilac-dark);
    text-decoration: none;
    margin: 0 4px;
}

.lang-switch .active {
    font-weight: bold;
    text-decoration: underline;
}

/* ===== App Header ===== */

.app-header {
    display: flex;
    gap: 20px;
    align-items: center;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 20%;
    background: #eee;
    object-fit: cover;
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hero-text {
    max-width: 480px;
}

.hero-text h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.hero-text p {
    margin-top: 10px;
    color: #666;
}

.hero-img img {
    width: 300px;
    border-radius: 20px;
}


/* ===== Features ===== */

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.features {
    padding: 80px 0;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-item {
    width: 650px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ===== Screenshots ===== */

.screenshot-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.screenshot-grid img {
    width: 100%;
    border-radius: 10px;
    background: #ddd;
}

/* ---How to use -- */
.feature2 {
  padding: 60px 20px;
  background: #eef3ff;
}

.feature-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-text {
  flex: 1 1 300px;
}

.feature-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.feature-image {
  flex: 1 1 300px;
  text-align: center;
}

/* ★ 画像を完全レスポンシブに */
.feature-image img {
  width: 100%;
  height: auto;
  max-width: 460px;        /* ←PC時の最大幅（お好みで調整可） */
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  display: block;
  margin: 0 auto;
}

.phone-wrapper {
  background-color: #eef3ff;   /* ← お好きな色に変更 */
  padding: 40px;
  border-radius: 30px;
  text-align: center;
}

.phone-wrapper img {
  width: 100%;
  max-width: 380px;  /* スマホ画像のサイズ調整 */
  height: auto;
  display: block;
  margin: 0 auto;
}




/* ===== Footer ===== */

footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    color: #777;
}


/* ===== Download ===== */

.download {
    padding: 80px 0;
    text-align: center;
}

.bar_download {
    margin: 20px 0;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #007aff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
}
