/* リセット（簡易） */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}

:root {
  --pink: #ffbfd8; /* ヘッダー／フッターのピンク */
  --pale: #ecf2b0; /* 背景の淡い黄緑 */
  --text: #111;
  --accent: #ffd84d;
  --max-width: 768px;
  --gutter: 16px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--pale);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

p {
  text-align: center;
}
h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* ヘッダー */
.site-header {
  background: var(--pink);
  padding: 10px 8px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
  position: relative;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.company-logo img {
  width: 200px;
}
.company-logo {
  margin: 0 auto;
  
}

.header-contact p {
  font-size: 5px;
  position: absolute;
  right: 0;
  text-align: end;
}

.header_inner > a {
  display: inline-block;
  position: absolute;
  top: 0%;
  left: 50%;
  z-index: 9999;
}

.header_site_menu {
  color: #000000;
  background-color: #fffd82;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding-top: 30px;
  padding-bottom: 50px;
  display: none;
}

.header_site_menu.is-show {
  display: block;
}

/* ここからハンバーガーメニュー */


.hamburger_menu li {
  margin: 30px 0;
  border: 1px solid #ccc;
  left: 0;
}
.title {
  position: relative;
  padding: 5px 50px;
  cursor: pointer;
  color: #000000;
}

.title::before {
  top: 48%;
  left: 15px;
  transform: rotate(0deg);
}

.title::after {
  top: 48%;
  left: 15px;
  transform: rotate(90deg);
}

/*closeというクラスがついたら×に変化*/

.box {
  display: none; /*はじめは非表示*/
  margin: 0 20px 20px;
  padding: 20px;
  background: #f4f4f4;
  line-height: 30px;
}

/* ページ全体ラップ */
.page-wrap {
  display: grid;
  max-width: var(--max-width);
  margin: 12px auto;
  padding: 0 var(--gutter);
  gap: 12px;
  align-items: flex-start;
}

/* サイドナビ */
.side-nav {
  width: 72px;
  min-width: 72px;
  display: none; /* デフォルトは非表示（モバイル） */
  flex-direction: column;
  /* align-items: center; */
  background: transparent;
  position: relative;
  
}
.side-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 200px;
  position: fixed;
  float: left;
}
.side-nav a {
  text-decoration: none;
  font-size: 24px;
  color: #333;
  opacity: 0.9;
}
.yuakari img {
  width: 100px;
}

/* コンテンツ（メインコラム） */
.content {
  flex: 1 1 auto;
  background: transparent;
}

/* セクション共通 */
.section-block {
  margin-top: 0px;
  background: white;
  padding: 14px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.section-title {
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 12px;
  text-align: center;
  width: 200px;
}

/* 画像グリッド（縦に大きく見せる） */
.photo-grid {
  display: flex;
  grid-template-columns: 1fr;
  gap: 12px;
}
.photo-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

.space{
  height: 100px;
}

/* ヒーローセクション (メイン表示) */

.hero-content {
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.hero-content img{
  width: 50%;
}

.character-main-image {
  width: 300px; /* 画像サイズ調整 */
  height: auto;
  border-radius: 8px;
  border: 5px solid #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.character-summary {
  text-align: center;
}



/* 詳細情報セクション */
.details-grid {
  display: flex;
  gap: 30px;
  padding: 0 50px;
  justify-content: center;
  
}

.detail-card {
  width: 70%;
  border-radius: 15px;
  
}
.detail-card img {
  width: 500px;
  border-radius: 7px;
}

/* ギャラリーセクション */
.gallery-images {
  display: grid;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 300px;
  height: 300px;
  object-fit: cover; /* 画像をクロップして均一に表示 */
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.character-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* フッター */
.site-footer {
  background: var(--pink);
  padding: 18px 8px;
  z-index: 9999;
  position: relative;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-contact {
  margin: 0 auto;
  font-size: 20px;
  text-align: center;
}

.sns {
  width: 100px;
  position: absolute;
  right: 10px;
}

.tel {
  font-weight: 700;
  font-size: 30px;
}

small {
  display: flex;
  justify-content: center;
}

.reserve-btn {
  display: inline-block;
  padding: 10px 14px;
  background-color: #fffb00;
  border-radius: 22px;
  text-decoration: none;
  color: #111;
  font-weight: 700;
}
.hana img {
  width: 50px;
}
.text {
  display: flex;
  justify-content: center;
  align-items: center;
}



/* 画像の基本スタイル */
.image-to-rotate {
  width: 150px;
  display: block;
  margin: 0 auto;
}

/* 🌀 アニメーションの定義 */
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* アニメーションを適用するためのクラス */
.rotating {
  animation: spin 30s linear infinite;
}







/* 大きい画面の調整（タブ〜デスクトップ） */
@media (min-width: 768px) {
  .page-wrap {
    padding: 0;
  }
  .side-nav {
    display: flex;
  }
  .hero-image {
    height: 100%;
  }
  .photo-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .toggle_menu_button {
    display: none;
  }
}

/* さらに広いレイアウト時、ナビを固定 */
@media (min-width: 1000px) {
  .page-wrap {
    max-width: 980px;
    gap: 20px;
  }
  .side-nav {
    width: 86px;
    min-width: 86px;
  }
}

/* モバイル用オーバーレイメニュー（開閉時） */
.side-nav {
  position: sticky;
  left: 0;
  top: 0;
  height: 100vh;
  padding-top: 72px;
  background: rgba(255, 255, 255, 0.98);
  z-index: 60;
  transform: translateX(-110%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.25, 1);
  box-shadow: 6px 0 18px rgba(0, 0, 0, 0.08);
}
.side-nav.open {
  transform: translateX(0);
}

/* デスクトップでは固定位置に戻す */
@media (min-width: 768px) {
  .side-nav {
    position: static;
    transform: none;
    height: auto;
    padding-top: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* アクセシビリティ補助 */
a:focus,
button:focus {
  outline: 3px solid rgba(255, 191, 216, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}
