/*
Theme Name: 香香麻辣湯
Theme URI: https://xiangxiang.kyoto/
Author: TINO
Author URI: https://tino.co.jp/
Description: 京都駅徒歩5分の本格麻辣湯専門店「香香麻辣湯」のWordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xiangxiang
*/

/* ===================================
   香香麻辣湯 - 共通スタイル
   カラー: 黒ベース + 赤 + 白
=================================== */

:root {
  --color-black: #0a0a0a;
  --color-dark: #1a1a1a;
  --color-red: #c41e3a;
  --color-red-dark: #a01830;
  --color-white: #ffffff;
  --color-gray: #888888;
  --color-light-gray: #cccccc;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-accent: "Noto Serif JP", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.8;
  font-size: 16px;
}

a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-red);
}

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

/* ===================================
   ヘッダー
=================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--color-dark);
}

/* WordPress管理バー対応 */
.admin-bar header {
  top: 32px;
}

.admin-bar .page-header {
  padding-top: 182px; /* 150px + 32px */
}

@media screen and (max-width: 782px) {
  .admin-bar header {
    top: 46px;
  }

  .admin-bar .page-header {
    padding-top: 196px; /* 150px + 46px */
  }
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: bold;
  color: var(--color-white);
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: color 0.5s ease;
}

.logo:hover {
  color: var(--color-white);
}

.logo:hover span {
  color: var(--color-red);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 5px 0;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-red);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after,
nav .current-menu-item a::after {
  width: 100%;
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  transition: 0.3s;
}

/* ===================================
   メインビジュアル
=================================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    rgba(10, 10, 10, 0.7),
    rgba(10, 10, 10, 0.7)
  ), url('images/soup01.jpg') center/cover;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--font-accent);
  font-size: 64px;
  margin-bottom: 20px;
  letter-spacing: 0.2em;
}

.hero-content h1 span {
  color: var(--color-red);
}

.hero-logo {
  max-height: 150px;
  max-width: 300px;
  width: auto;
  height: auto;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-logo {
    max-height: 100px;
    max-width: 200px;
  }
}

.hero-content .subtitle {
  font-size: 18px;
  color: var(--color-light-gray);
  margin-bottom: 10px;
  letter-spacing: 0.3em;
}

.hero-content .catchphrase {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 2;
}

/* ===================================
   ページヘッダー（下層ページ用）
=================================== */
.page-header {
  padding: 150px 20px 80px;
  text-align: center;
  background: linear-gradient(
    rgba(10, 10, 10, 0.85),
    rgba(10, 10, 10, 0.85)
  ), url('images/soup01.jpg') center/cover;
}

.page-header h1 {
  font-family: var(--font-accent);
  font-size: 48px;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
}

.page-header h1 span {
  color: var(--color-red);
}

.page-header p {
  color: var(--color-gray);
  font-size: 14px;
  letter-spacing: 0.2em;
}

/* ===================================
   セクション共通
=================================== */
section {
  padding: 100px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-accent);
  font-size: 36px;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.section-title h2 span {
  color: var(--color-red);
}

.section-title p {
  color: var(--color-gray);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ===================================
   ボタン
=================================== */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid var(--color-red);
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

.btn-primary {
  background-color: var(--color-red);
}

.btn-primary:hover {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

/* ===================================
   スープカード
=================================== */
.soup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.soup-card {
  background-color: var(--color-dark);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.soup-card:hover {
  transform: translateY(-5px);
}

.soup-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.soup-card-content {
  padding: 25px;
}

.soup-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--color-red);
}

.soup-card p {
  font-size: 14px;
  color: var(--color-light-gray);
  line-height: 1.8;
}

.soup-card .price {
  margin-top: 15px;
  font-size: 18px;
  color: var(--color-white);
}

/* ===================================
   こだわりセクション
=================================== */
.kodawari-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.kodawari-item {
  display: flex;
  gap: 25px;
  padding: 30px;
  background-color: var(--color-dark);
  border-left: 4px solid var(--color-red);
}

.kodawari-item .icon {
  font-size: 40px;
  color: var(--color-red);
  flex-shrink: 0;
}

.kodawari-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.kodawari-item p {
  font-size: 14px;
  color: var(--color-light-gray);
}

/* ===================================
   メニュー詳細
=================================== */
.menu-detail {
  margin-bottom: 80px;
}

.menu-detail:last-child {
  margin-bottom: 0;
}

.menu-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.menu-detail:nth-child(even) .menu-detail-inner {
  direction: rtl;
}

.menu-detail:nth-child(even) .menu-detail-inner > * {
  direction: ltr;
}

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

.menu-detail-content h3 {
  font-family: var(--font-accent);
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--color-red);
}

.menu-detail-content p {
  margin-bottom: 15px;
  color: var(--color-light-gray);
}

.menu-detail-content .price {
  font-size: 24px;
  color: var(--color-white);
  margin-top: 20px;
}

.spicy-level {
  display: flex;
  gap: 5px;
  margin-top: 15px;
}

.spicy-level span {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: var(--color-dark);
  border: 1px solid var(--color-red);
  border-radius: 4px;
  text-align: center;
  line-height: 28px;
  font-size: 12px;
}

.spicy-level span.active {
  background-color: var(--color-red);
}

/* ===================================
   こだわり詳細ページ
=================================== */
.kodawari-detail {
  margin-bottom: 100px;
}

.kodawari-detail:last-child {
  margin-bottom: 0;
}

.kodawari-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.kodawari-detail:nth-child(even) .kodawari-detail-inner {
  direction: rtl;
}

.kodawari-detail:nth-child(even) .kodawari-detail-inner > * {
  direction: ltr;
}

.kodawari-detail-img {
  position: relative;
}

.kodawari-detail-img img {
  border-radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.kodawari-detail-img::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--color-red);
  border-radius: 8px;
  z-index: -1;
}

.kodawari-detail-content h3 {
  font-family: var(--font-accent);
  font-size: 32px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.kodawari-detail-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-red);
}

.kodawari-detail-content p {
  color: var(--color-light-gray);
  line-height: 2;
  margin-bottom: 15px;
}

/* ===================================
   アクセスページ
=================================== */
.access-section {
  padding: 100px 20px;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.info-container h2 {
  font-family: var(--font-accent);
  font-size: 36px;
  margin-bottom: 40px;
}

.info-container h2 span {
  color: var(--color-red);
}

.info-item {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-dark);
}

.info-item:last-of-type {
  border-bottom: none;
}

.info-item dt {
  color: var(--color-red);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.info-item dd {
  font-size: 18px;
  line-height: 1.8;
}

.info-item dd small {
  display: block;
  color: var(--color-gray);
  font-size: 14px;
  margin-top: 5px;
}

.hours-table {
  width: 100%;
  font-size: 15px;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-dark);
}

.hours-table td {
  padding: 12px 0;
}

.hours-table td:first-child {
  color: var(--color-gray);
  width: 80px;
}

.hours-table .closed {
  color: var(--color-red);
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 35px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 8px;
  color: var(--color-white);
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(188, 24, 136, 0.3);
  color: var(--color-white);
}

.instagram-btn svg {
  width: 24px;
  height: 24px;
}

/* ===================================
   会社概要ページ
=================================== */
.company-section {
  padding: 80px 20px;
}

.company-table {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-dark);
  border-radius: 8px;
  overflow: hidden;
}

.company-table dl {
  display: grid;
  grid-template-columns: 150px 1fr;
}

.company-table dt,
.company-table dd {
  padding: 25px 30px;
  border-bottom: 1px solid var(--color-black);
}

.company-table dt {
  background-color: rgba(196, 30, 58, 0.1);
  color: var(--color-red);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.company-table dd {
  color: var(--color-light-gray);
}

.company-table dl > dt:last-of-type,
.company-table dl > dd:last-of-type {
  border-bottom: none;
}

/* ===================================
   404ページ
=================================== */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

.error-404-content h2 {
  font-family: var(--font-accent);
  font-size: 120px;
  color: var(--color-red);
  margin-bottom: 20px;
  line-height: 1;
}

.error-404-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.error-404-content p {
  color: var(--color-light-gray);
  margin-bottom: 40px;
}

/* ===================================
   汎用固定ページ
=================================== */
.page-content {
  padding: 80px 20px;
}

.page-content .section-inner {
  max-width: 800px;
}

.page-content h2 {
  font-family: var(--font-accent);
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--color-red);
}

.page-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  margin-top: 40px;
}

.page-content p {
  margin-bottom: 20px;
  color: var(--color-light-gray);
  line-height: 2;
}

.page-content ul,
.page-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
  color: var(--color-light-gray);
}

.page-content li {
  margin-bottom: 10px;
}

/* ===================================
   フッター
=================================== */
footer {
  background-color: var(--color-dark);
  padding: 60px 20px 30px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-accent);
  font-size: 28px;
  margin-bottom: 30px;
}

.footer-logo span {
  color: var(--color-red);
}

footer nav {
  position: static;
  display: block;
  background-color: transparent;
  padding: 0;
  margin-bottom: 30px;
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  flex-direction: row;
}

footer nav ul li a {
  font-size: 14px;
  color: var(--color-light-gray);
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--color-red);
}

.copyright {
  color: var(--color-gray);
  font-size: 12px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--color-black);
}

/* フッター スマホ対応 */
@media (max-width: 768px) {
  footer {
    padding: 50px 20px 25px;
  }

  .footer-logo {
    margin-bottom: 25px;
  }

  .footer-logo img {
    max-height: 50px;
    max-width: 120px;
  }

  footer nav {
    position: static;
    display: block;
    background-color: transparent;
    padding: 0;
  }

  footer nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px;
    text-align: center;
    flex-direction: row;
  }

  footer nav ul li {
    padding: 10px 0;
    background-color: var(--color-black);
    border-radius: 6px;
  }

  footer nav ul li a {
    font-size: 13px;
    display: block;
  }

  .copyright {
    font-size: 11px;
    margin-top: 25px;
    padding-top: 25px;
  }
}

/* ===================================
   レスポンシブ
=================================== */
@media (max-width: 900px) {
  .soup-grid {
    grid-template-columns: 1fr;
  }

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

  .menu-detail-inner {
    grid-template-columns: 1fr;
  }

  .menu-detail:nth-child(even) .menu-detail-inner {
    direction: ltr;
  }

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

  .map-container iframe {
    height: 350px;
  }

  .kodawari-detail-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .kodawari-detail:nth-child(even) .kodawari-detail-inner {
    direction: ltr;
  }

  .kodawari-detail-img::before {
    display: none;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .company-table dl {
    grid-template-columns: 1fr;
  }

  .company-table dt {
    border-bottom: none;
    padding-bottom: 10px;
  }

  .company-table dd {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 16px;
    gap: 8px;
  }

  .logo img {
    height: 32px;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.98);
    padding: 20px;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 0.1em;
  }

  .hero-content .catchphrase {
    font-size: 16px;
  }

  section {
    padding: 60px 15px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .kodawari-item {
    flex-direction: column;
    text-align: center;
  }

  .error-404-content h2 {
    font-size: 80px;
  }
}
