:root {
  --stox-primary: #000000;
  --stox-background: #ffffff;
  --stox-accent: #ff007f;
  /* Vivid Pink */
  --stox-text: #1c160d;
  --stox-border: #e0e0e0;
  --stox-card-bg: #ffffff;
  --stox-sub-text: #757575;
  --stox-banner-bg: #f5f5f5;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  background-color: var(--stox-background);
  color: var(--stox-text);
  line-height: 1.6;
}

header {
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--stox-border);
}

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

.logo-icon {
  height: 32px;
  width: auto;
}

.logo-text {
  height: 24px;
  width: auto;
}

.logo-reading {
  font-size: 14px;
  color: var(--stox-sub-text);
  font-weight: 500;
}

.hero {
  background-color: var(--stox-banner-bg);
  padding: 60px 5%;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.hero p {
  color: var(--stox-sub-text);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-button {
  display: inline-block;
  background-color: var(--stox-accent);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: opacity 0.3s;
}

.cta-button:hover {
  opacity: 0.8;
}

.features {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

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

.feature-text p {
  color: var(--stox-sub-text);
}

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

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--stox-border);
}

.app-mockup img {
  max-width: 300px;
  /* スマホ画面のサイズ感に調整 */
}

.contact-section {
  background-color: var(--stox-banner-bg);
  padding: 80px 5%;
  text-align: center;
  border-top: 1px solid var(--stox-border);
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.contact-section p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--stox-sub-text);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ffffff;
  border: 1px solid var(--stox-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--stox-text);
  font-weight: bold;
  transition: all 0.3s;
}

.contact-link:hover {
  border-color: var(--stox-accent);
  color: var(--stox-accent);
}

/* Additional Features Grid */
.additional-features {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--stox-border);
}

.additional-features h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--stox-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--stox-accent);
}

.feature-card .icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 20px;
  margin: 0;
}

.feature-card p {
  color: var(--stox-sub-text);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid var(--stox-border);
  color: var(--stox-sub-text);
  font-size: 14px;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--stox-sub-text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--stox-accent);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* 水玉背景のCSS指定 */
.dot-background {
  /* 背景のベースカラー（必要に応じて変更してください） */
  background-color: #ffffff;

  /* 水玉の描画: #F5F5F5 の色で半径1.5pxの円を描き、その外側は透明にする */
  background-image: radial-gradient(#f5f5f5 1.5px, transparent 1.5px);

  /* 16pxごとに水玉を繰り返す */
  background-size: 16px 16px;

  /* パターンの開始位置の微調整（必要に応じて） */
  background-position: 0 0;
}

/* Cookie Consent */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-size: 14px;
  display: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
#cookie-consent p {
  color: white;
  margin: 0;
  padding-right: 20px;
  flex: 1;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
}
#cookie-consent button {
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
  transition: opacity 0.2s;
}
#accept-cookies {
  background: #FF007F;
  color: white;
}
#reject-cookies {
  background: #444;
  color: white;
}
#cookie-consent button:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  #cookie-consent {
    flex-direction: column;
    text-align: center;
  }
  #cookie-consent p {
    margin-bottom: 15px;
    padding-right: 0;
  }
}
