:root {
  --cream: #fdf6ec;
  --brown: #6b4f3a;
  --brown-light: #a08268;
  --orange: #e8a05d;
  --orange-dark: #d18742;
  --pink: #f5d5c8;
  --pink-light: #fbeae2;
  --white: #ffffff;
}

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

body {
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.8;
}

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

/* ヘッダー */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(107, 79, 58, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--brown);
  text-decoration: none;
}

nav a {
  color: var(--brown);
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--orange-dark);
}

/* ヒーロー */
.hero {
  background:
    linear-gradient(rgba(45, 30, 20, 0.55), rgba(45, 30, 20, 0.45)),
    url("images/hero-bg.jpg") center / cover no-repeat;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* セクション共通 */
section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.section-sub {
  text-align: center;
  color: var(--brown-light);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

/* ねこ紹介カード */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.cat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(107, 79, 58, 0.08);
  transition: transform 0.2s;
}

.cat-card:hover {
  transform: translateY(-5px) rotate(-1deg);
}

.cat-card .photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 5px solid var(--pink);
}

.cat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.cat-card .breed {
  color: var(--orange-dark);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.cat-card p {
  font-size: 0.9rem;
  color: var(--brown-light);
}

/* 店内のようす */
.gallery-section {
  background: var(--pink-light);
  max-width: none;
}

.gallery-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 180px;
  gap: 20px;
}

/* 1枚目だけ大きく（2列 × 2段） */
.gallery-grid img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 5px solid var(--white);
  box-shadow: 0 6px 20px rgba(107, 79, 58, 0.12);
}

.gallery-caption {
  text-align: center;
  margin-top: 18px;
  color: var(--brown-light);
  font-size: 0.95rem;
}

/* 料金表 */
.price-section {
  background: var(--white);
  max-width: none;
}

.price-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.price-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--pink);
  text-align: left;
}

.price-table th {
  color: var(--brown);
  font-size: 1rem;
  font-weight: normal;
}

.price-table td {
  text-align: right;
  font-weight: bold;
  color: var(--orange-dark);
}

.price-note {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 0.85rem;
  color: var(--brown-light);
}

/* メニュー */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.menu-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(107, 79, 58, 0.08);
  transition: transform 0.2s;
}

.menu-item:hover {
  transform: translateY(-4px);
}

.menu-item .photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.menu-item .menu-body {
  padding: 18px 15px 22px;
}

.menu-item h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.menu-item p {
  font-size: 0.9rem;
  color: var(--orange-dark);
  font-weight: bold;
}

/* 写真クリックで詳細ページへ */
.photo-link {
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.cat-card .photo-link {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 5px solid var(--pink);
}

.cat-card .photo-link .photo {
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  transition: transform 0.3s;
}

.cat-card .photo-link:hover .photo,
.menu-item .photo-link:hover .photo {
  transform: scale(1.08);
}

.menu-item .photo-link .photo {
  transition: transform 0.3s;
}

.detail-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: bold;
  text-decoration: none;
}

.detail-link:hover {
  text-decoration: underline;
}

/* ご利用の流れ・注意事項 */
.rules {
  background:
    linear-gradient(rgba(245, 213, 200, 0.88), rgba(245, 213, 200, 0.9)),
    url("images/rules-bg.jpg") center 65% / cover no-repeat;
  border-radius: 20px;
  padding: 35px 30px;
}

.rules h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.rules ul {
  list-style: none;
}

.rules li {
  padding-left: 1.8em;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.rules li::before {
  content: "🐾";
  position: absolute;
  left: 0;
}

/* 店舗情報 */
.info-section {
  background: var(--white);
  max-width: none;
}

.info-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.info-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--pink);
  text-align: left;
  font-size: 0.95rem;
  vertical-align: top;
}

.info-table th {
  width: 30%;
  color: var(--brown-light);
  white-space: nowrap;
}

/* 地図 */
.map-wrap {
  max-width: 600px;
  margin: 35px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid var(--pink);
  box-shadow: 0 6px 20px rgba(107, 79, 58, 0.12);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.map-note {
  max-width: 600px;
  margin: 12px auto 0;
  font-size: 0.8rem;
  color: var(--brown-light);
}

.map-note a {
  color: var(--orange-dark);
  font-weight: bold;
  text-decoration: none;
}

.map-note a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .map-wrap iframe {
    height: 260px;
  }
}

/* フッター */
footer {
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.85rem;
}

footer .paw {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 10px;
}

footer .credit {
  margin-top: 8px;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* =========================
   詳細ページ（menu.html / cat-*.html）
   ========================= */

/* 戻るリンク */
.back-link {
  display: inline-block;
  color: var(--brown-light);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--orange-dark);
}

.page-head {
  background: var(--pink-light);
  max-width: none;
  padding: 40px 20px;
}

.page-head-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.page-head h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.page-head p {
  color: var(--brown-light);
  font-size: 0.95rem;
}

/* メニュー詳細 */
.menu-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 35px;
  box-shadow: 0 4px 15px rgba(107, 79, 58, 0.08);
  scroll-margin-top: 90px;
}

.menu-detail img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
}

.menu-detail h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.menu-detail .price {
  color: var(--orange-dark);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.menu-detail .desc {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.menu-detail h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.menu-detail ul {
  list-style: none;
}

.menu-detail li {
  padding-left: 1.6em;
  position: relative;
  font-size: 0.9rem;
  color: var(--brown-light);
  margin-bottom: 6px;
}

.menu-detail li::before {
  content: "🐾";
  position: absolute;
  left: 0;
}

/* ねこ詳細 */
.cat-detail {
  text-align: center;
}

.cat-detail .main-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 8px solid var(--pink);
  box-shadow: 0 8px 25px rgba(107, 79, 58, 0.15);
}

.cat-detail h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.cat-detail .breed {
  color: var(--orange-dark);
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.profile-table {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 40px;
  border-collapse: collapse;
  text-align: left;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(107, 79, 58, 0.08);
}

.profile-table th,
.profile-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--pink);
  font-size: 0.95rem;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

.profile-table th {
  width: 35%;
  color: var(--brown-light);
  font-weight: normal;
  white-space: nowrap;
}

.cat-story {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: left;
}

.cat-story h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pink);
}

.cat-story p {
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.cat-story .staff-note {
  background: var(--pink-light);
  border-radius: 15px;
  padding: 20px 25px;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ほかの子を見る */
.other-cats {
  background: var(--white);
  max-width: none;
}

.other-cats-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.other-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 620px;
  margin: 0 auto;
}

.other-cat {
  text-decoration: none;
  color: var(--brown);
  transition: transform 0.2s;
}

.other-cat:hover {
  transform: translateY(-4px);
}

.other-cat img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 4px solid var(--pink);
}

.other-cat span {
  display: block;
  font-size: 0.95rem;
  font-weight: bold;
}

.page-bottom {
  text-align: center;
  padding-bottom: 60px;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .header-inner {
    justify-content: center;
  }

  nav {
    margin-top: 8px;
  }

  nav a {
    margin: 0 8px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  section {
    padding: 45px 20px;
  }

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

  .gallery-grid img:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid img {
    height: 220px;
  }

  .menu-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .menu-detail img {
    height: 220px;
  }

  .cat-detail .main-photo {
    width: 180px;
    height: 180px;
  }

  .cat-detail h1 {
    font-size: 1.6rem;
  }
}
