/* =========================================================
   基本設定・カラーパレット（ガーリーテイスト）
   ========================================================= */
:root {
  --main-color: #f7d6e0;      /* 薄いピンク */
  --accent-color: #b5838d;    /* くすみローズピンク */
  --bg-color: #fff9fb;        /* ほんのりピンクがかったホワイト */
  --text-color: #4a3e3d;      /* 優しいダークブラウン */
  --border-color: #e8c5ce;    /* 丸枠用ピンクゴールド風 */
  --font-serif: 'Shippori Mincho', 'Hiragino Mincho ProN', Georgia, serif;
  --font-en: 'Cinzel', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   共通パーツ（見出し・丸枠ボックス）
   ========================================================= */
.section {
  padding: 80px 0;
  border-bottom: 1px dashed var(--border-color);
}

.section-title {
  font-family: var(--font-en);
  font-size: 2.2rem;
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* ワイヤーフレーム特有の丸みのある大型枠 */
.rounded-box {
  border: 2px solid var(--border-color);
  border-radius: 24px;
  background-color: #ffffff;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(181, 131, 141, 0.08);
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(5px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.logo a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #e5e5e5;
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: bold;
  font-size: 0.8rem;
  color: #666;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.site-nav a {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-color);
  transition: color 0.3s;
}

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

/* ハンバーガーボタン (SP用) */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  width: 25px;
  height: 2px;
  background-color: var(--accent-color);
  transition: 0.3s;
}

/* =========================================================
   TOP / メインビジュアル
   ========================================================= */
.section-top {
  padding-top: 75px; /* ヘッダー高さを考慮 */
}

.main-visual {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
}

.main-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.mv-title h1 {
  font-family: var(--font-en);
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.top-news {
  margin-top: 50px;
}

.news-list {
  list-style: none;
}

.news-list li {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px dashed #f0d5dd;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list .date {
  font-family: var(--font-en);
  color: var(--accent-color);
  font-weight: bold;
  white-space: nowrap;
}

/* PRODUCT INFO */
.product-info {
  margin-top: 50px;
}

.product-content {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   STORY / ABOUT
   ========================================================= */
.story-box, .about-box {
  text-align: center;
}

.story-box h3, .about-box h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* =========================================================
   CHARACTER
   ========================================================= */
.character-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.slider-arrow {
  background: none;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s;
}

.slider-arrow:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.chara-thumbnails {
  display: flex;
  gap: 15px;
}

.chara-thumb {
  width: 90px;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: 0.3s;
}

.chara-thumb.active, .chara-thumb:hover {
  opacity: 1;
  border-color: var(--accent-color);
}

.chara-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chara-detail-inner {
  display: flex;
  gap: 30px;
  align-items: center;
}

.chara-stand {
  width: 40%;
  border-radius: 16px;
  overflow: hidden;
}

.chara-info {
  width: 60%;
}

.chara-logo {
  width: 180px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.chara-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.more-btn-wrapper {
  text-align: center;
  margin: 20px 0;
}

.more-btn {
  background-color: #ffffff;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px 30px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-en);
  transition: 0.3s;
}

.more-btn:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.chara-sub-text {
  text-align: center;
  font-size: 0.95rem;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  font-size: 0.85rem;
  color: #888;
}

/* =========================================================
   レスポンシブ対応 (スマートフォン: 〜768px)
   ========================================================= */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 74px);
    background-color: rgba(255, 255, 255, 0.98);
    transition: 0.4s ease;
    padding: 40px 0;
  }

  .site-nav.active {
    right: 0;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .main-visual {
    height: 50vh;
  }

  .mv-title h1 {
    font-size: 2.2rem;
  }

  .news-list li {
    flex-direction: column;
    gap: 4px;
  }

  .product-content {
    flex-direction: column;
    text-align: center;
  }

  .chara-detail-inner {
    flex-direction: column;
  }

  .chara-stand, .chara-info {
    width: 100%;
  }

  .chara-logo {
    margin: 0 auto 20px auto;
  }

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

  .gallery-item img {
    height: 200px;
  }
}