﻿/* --- 基本設定 --- */
:root {
  --bg-base: #E8E4D9;
  --text-color: #3e3a36;
  --accent-color: #6FAE8E;
  --font-serif: "Shippori Mincho", "YuMincho", serif;
  --font-eng: "Cinzel", serif;
}


body {
  color: var(--text-color);
  font-family: var(--font-serif);
  margin: 0;
  line-height: 2.2;
  letter-spacing: 0.12em;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-base);
  position: relative;
  overflow-x: hidden;
  width: 100%;
}


/* --- モバイル改行・表示制御クラス --- */
.pc-br { display: inline; }
.sp-only { display: none; }


@media (max-width: 768px) {
  .pc-br { display: none; }
  .sp-only { display: inline; }
  br { content: " "; }
  
  body {
    font-size: 14.5px;
    letter-spacing: 0.08em;
    line-height: 2.0;
  }
  
  .container {
    padding: 80px 20px !important;
  }
}


@media (max-width: 400px) {
  body { font-size: 14px; }
  .container { padding: 60px 15px !important; }
}


/* --- テクスチャレイヤー --- */
#texture-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
}


a {
  text-decoration: none;
  color: var(--text-color);
  transition: opacity 0.3s;
}


a:hover { opacity: 0.6; }


/* --- レイアウト共通 --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}


.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 40px;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  font-family: var(--font-eng);
  font-weight: 400;
}


/* --- 背景・パララックス --- */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--bg-base);
  height: 85vh;
  width: 100%;
  position: relative;
  z-index: 1;
  /* 画像全体の色調補正 */
  filter: grayscale(30%) contrast(90%);
}


/* ▼▼▼ 画像拡張子を .jpg に変更しました ▼▼▼ */
.bg-1 {
  background-image: 
    linear-gradient(rgba(62, 58, 54, 0.2), rgba(62, 58, 54, 0.2)),
    url('main-visual.jpg');
}


.bg-2 {
  background-image: 
    linear-gradient(rgba(62, 58, 54, 0.2), rgba(62, 58, 54, 0.2)),
    url('bg-sub.jpg');
}


/* iOS/モバイル向けの表示崩れ対策 */
@media (max-width: 1024px) {
  .parallax-section {
    background-attachment: scroll;
    height: 50vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
  }
  
  .bg-2 {
    background-size: cover, contain;
  }
}


/* --- ヘッダー --- */
header {
  text-align: center;
  padding: 40px 0 20px;
}


.logo {
  display: inline-block;
  background-color: var(--accent-color);
  padding: 15px 30px;
}


.logo img {
  width: 180px;
  height: auto;
  max-width: 100%;
  display: block;
}


nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin-top: 30px;
  gap: 20px;
  flex-wrap: wrap;
}


nav li {
  font-size: 0.8rem;
  font-family: var(--font-eng);
  letter-spacing: 0.1em;
  white-space: nowrap;
}


/* --- Concept --- */
.concept-sub {
  text-align: center;
  font-family: var(--font-eng);
  color: #8C8880;
  font-size: 1.1rem;
  margin-top: -30px;
  margin-bottom: 40px;
  font-style: italic;
}


.concept-text {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 40px;
  word-wrap: break-word;
}


@media (max-width: 768px) {
  .concept-text {
    font-size: 0.85rem;
    text-align: justify;
    text-align-last: center;
  }
}


/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}


.gallery-item {
  aspect-ratio: 1 / 1;
  background-color: #ddd;
  overflow: hidden;
  position: relative;
}


.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
  filter: sepia(0.25) saturate(0.85) contrast(1.05);
}


.gallery-item:hover img {
  transform: scale(1.1);
  filter: sepia(0.1) saturate(1) contrast(1.1);
}


/* ▼▼▼ 画像拡張子を .jpg に変更しました ▼▼▼ */
.gallery-item img[src*="gallery-01.jpg"] { object-position: 45% 50%; }
.gallery-item img[src*="gallery-02.jpg"] { object-position: 48% 52%; }
.gallery-item img[src*="gallery-03.jpg"] { object-position: 45% 40%; }
.gallery-item img[src*="gallery-04.jpg"] { object-position: 52% 48%; }
.gallery-item img[src*="gallery-05.jpg"] { object-position: 50% 50%; }
.gallery-item img[src*="gallery-06.jpg"] { object-position: 50% 35%; }


.gallery-link {
  text-align: center;
  font-family: var(--font-eng);
  font-size: 0.85rem;
  margin-top: 20px;
}


.gallery-link a {
  border-bottom: 1px solid var(--text-color);
  padding-bottom: 2px;
}


@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}


/* --- Menu --- */
.menu-section {
  margin-bottom: 70px;
  text-align: center;
}


.menu-cat {
  font-family: var(--font-eng);
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  display: inline-block;
  border-bottom: 1px solid var(--accent-color);
}


.menu-desc {
  font-size: 0.9rem;
  width: 90%;
  margin: 0 auto;
  text-align: justify;
  text-align-last: center;
}


/* 価格表示用クラス */
.menu-price {
  font-family: var(--font-eng);
  color: var(--accent-color);
  font-size: 1.0rem;
  margin-top: 15px;
  letter-spacing: 0.05em;
  display: block;
}


@media (max-width: 768px) {
  .menu-desc {
    font-size: 0.85rem;
    width: 100%;
  }
}


.specialite-box {
  margin: 60px 0;
  padding: 30px;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: rgba(255,255,255,0.3);
  max-width: 100%;
  box-sizing: border-box;
}


.specialite-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background-color: #ccc;
  margin-bottom: 20px;
  object-fit: cover;
  filter: brightness(1.15) contrast(1.15) sepia(0.1) saturate(1.05);
  object-position: 40% 32%;
  transition: filter 0.3s ease;
}


/* --- Information & Buttons --- */
.info-block {
  text-align: center;
  margin-bottom: 60px;
}


.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}


/* 共通ボタンデザイン */
.btn-link {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  padding: 14px 0;
  border: 1px solid var(--text-color);
  font-family: var(--font-eng);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-align: center;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}


.btn-link:hover {
  background-color: var(--text-color);
  color: #fff;
  opacity: 1;
}


.btn-link.tel-btn {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}


/* --- Access --- */
.access-container {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 60px;
}


.access-data-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
}


.access-row {
  display: flex;
  width: 100%;
  max-width: 500px;
  margin-bottom: 15px;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
  padding-bottom: 5px;
  font-size: 0.9rem;
}


.access-label {
  width: 80px;
  font-size: 0.8rem;
  font-family: var(--font-eng);
  opacity: 0.7;
  flex-shrink: 0;
}


.access-val {
  flex: 1;
}


.time-label {
  display: inline-block;
  width: 65px;
}


footer {
  background-color: var(--accent-color);
  color: #fff;
  padding: 20px;
  text-align: center;
  font-family: var(--font-eng);
  font-size: 0.7rem;
}