:root {
  --tomato: #e63946;
  --tomato-dark: #c1121f;
  --gold: #ffb703;
  --cream: #fff8ef;
  --navy: #1d3557;
  --sky-top: #8ecae6;
  --sky-bottom: #ffe9c7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ヘッダー */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 2px solid var(--tomato);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tomato-dark);
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--tomato);
}

/* ヒーロー */

.hero {
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
}

.hero-scene {
  min-height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background-image:
    linear-gradient(90deg, rgba(255, 252, 240, 0.96) 0%, rgba(255, 252, 240, 0.82) 32%, rgba(255, 252, 240, 0) 58%),
    url("images/tomato-king-reading-hero.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 40px rgba(99, 48, 18, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 46%;
  padding: 48px;
  text-align: left;
}

.hero-title {
  font-size: 2.6rem;
  margin: 0 0 18px;
  color: var(--tomato-dark);
  letter-spacing: 0.03em;
  text-shadow: 0 2px 0 #fff;
}

.hero-catch {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.12em;
}

.hero-copy {
  font-size: 1.05rem;
  margin: 0 0 28px;
  color: var(--navy);
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  background: var(--tomato);
  color: #fff;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(230, 57, 70, 0.35);
}

.hero-cta:hover {
  background: var(--tomato-dark);
}

.hero-disclosure {
  margin: 18px 0 0;
  padding: 12px 18px;
  color: var(--navy);
  background: #fff3cd;
  border: 2px solid var(--gold);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 720px) {
  .hero {
    padding: 18px 14px;
  }

  .hero-scene {
    min-height: 600px;
    align-items: flex-end;
    background-image:
      linear-gradient(0deg, rgba(255, 252, 240, 0.98) 0%, rgba(255, 252, 240, 0.9) 43%, rgba(255, 252, 240, 0) 70%),
      url("images/tomato-king-reading-hero.jpg");
    background-position: 68% center;
    border-radius: 20px;
  }

  .hero-content {
    width: 100%;
    padding: 28px 20px 32px;
    text-align: left;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-catch {
    font-size: 2.5rem;
    line-height: 1.4;
  }

  .hero-cta {
    padding: 14px 30px;
    font-size: 1.05rem;
  }

  .hero-copy {
    font-size: 0.92rem;
  }
}

/* セクション共通 */

section {
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.6rem;
  text-align: center;
  color: var(--tomato-dark);
  margin: 0 0 12px;
}

.section-title-light {
  color: #fff;
}

.section-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  color: #555;
}

/* 書籍一覧 */

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.book-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(29, 53, 87, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(29, 53, 87, 0.15);
}

.book-cover {
  width: 100%;
  height: 360px;
  border-radius: 10px;
  object-fit: contain;
  background: #f7f3eb;
  margin-bottom: 16px;
}

.friend-book-grid {
  text-align: left;
}

.book-title {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--navy);
  line-height: 1.5;
}

.book-author {
  font-size: 0.85rem;
  color: #666;
  margin: auto 0 4px;
}

.book-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tomato-dark);
  margin: 0;
  text-align: right;
}

@media (max-width: 820px) {
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .book-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .book-card {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
  }
}

/* Kindle Unlimited */

.unlimited {
  max-width: none;
  background: var(--navy);
  text-align: center;
  padding: 60px 24px;
}

.unlimited-copy {
  color: #dce4ee;
  max-width: 520px;
  margin: 0 auto 28px;
}

.unlimited-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
}

.unlimited-cta:hover {
  background: #ffcc4d;
}

/* ニュースレター／仲間の作家 */

.newsletter, .friends {
  text-align: center;
}

.newsletter-cta {
  display: inline-block;
  border: 2px solid var(--tomato);
  background: var(--tomato);
  color: #fff;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(230, 57, 70, 0.3);
}

.newsletter-cta:hover {
  background: var(--tomato-dark);
  border-color: var(--tomato-dark);
  color: #fff;
}

/* フッター */

.site-footer {
  text-align: center;
  padding: 30px 24px 50px;
  color: #777;
  font-size: 0.8rem;
}

.disclosure {
  margin: 0 0 6px;
}

.copyright {
  margin: 0;
}
