/* ========================================
   アトリエセザール - 共通スタイル
   ======================================== */

/* リセット・基本設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
}

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

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

ul {
  list-style: none;
}

/* コンテナ */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

/* ナビゲーション */
.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #c9a86c;
  transition: width 0.3s;
}

.nav-list a:hover,
.nav-list a.current {
  color: #c9a86c;
}

.nav-list a:hover::after,
.nav-list a.current::after {
  width: 100%;
}

/* モバイルメニューボタン */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.main {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
}

/* ページタイトル */
.page-title {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.page-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background-color: #c9a86c;
  margin: 20px auto 0;
}

/* ========================================
   コンセプトページ
   ======================================== */
.concept-section {
  background-color: #faf9f7;
  padding: 50px;
  border-radius: 4px;
}

.concept-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.concept-text {
  flex: 1;
}

.concept-lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: #c9a86c;
  margin-bottom: 30px;
  line-height: 1.6;
}

.concept-text p {
  margin-bottom: 1.5em;
}

.concept-text p:last-child {
  margin-bottom: 0;
}

.concept-image {
  flex-shrink: 0;
  width: 250px;
}


/* ========================================
   トップページ
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: #c9a86c;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 2;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.main-top {
  padding-top: 0;
}

/* セクションタイトル */
.section-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: #c9a86c;
  margin: 15px auto 0;
}

/* サービスカード */
.services {
  padding: 60px 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  display: block;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 40px 25px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  max-width: 100%;
  max-height: 100%;
}

.service-name {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  color: #c9a86c;
}

.service-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* 画像付きサービスカード */
.service-card-img {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-img:hover img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  color: #fff;
  text-align: center;
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* イントロセクション */
.intro-section {
  padding: 60px 0;
  border-top: 1px solid #eee;
  text-align: center;
}

.intro-text {
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 2;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid #c9a86c;
  color: #c9a86c;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
  background-color: #c9a86c;
  color: #fff;
}

.access-info {
  margin-bottom: 30px;
}

.access-info p {
  margin-bottom: 5px;
}

.access-info a {
  color: #c9a86c;
}

/* 画像付きイントロセクション */
.intro-with-image {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.intro-image {
  flex-shrink: 0;
  width: 280px;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0.9;
}

.intro-content {
  flex: 1;
}

.intro-content .section-title {
  text-align: left;
}

.intro-content .section-title::after {
  margin: 15px 0 0;
}

.intro-content .intro-text {
  margin: 0 0 30px;
}

/* ========================================
   メニューページ共通
   ======================================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.menu-section {
  background-color: #faf9f7;
  padding: 30px;
  border-radius: 4px;
}

.menu-section-wide {
  grid-column: 1 / -1;
}

.menu-category {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #c9a86c;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0d9cf;
}

.menu-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: -15px;
  margin-bottom: 15px;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dotted #ddd;
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item dt {
  font-size: 0.95rem;
}

.menu-item .price {
  font-size: 0.95rem;
  color: #c9a86c;
  font-weight: 500;
}

.item-note {
  display: block;
  font-size: 0.8rem;
  color: #888;
  font-weight: normal;
}

.item-time {
  font-size: 0.8rem;
  color: #888;
  margin-left: 8px;
}

.menu-item-detail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
}

.menu-item-detail dt {
  grid-column: 1;
  grid-row: 1;
}

.menu-item-detail .price {
  grid-column: 2;
  grid-row: 1;
}

.item-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   サンプル画像付きメニュー
   ======================================== */
.menu-item-with-sample {
  cursor: pointer;
  transition: background-color 0.2s;
}

.menu-item-with-sample:hover {
  background-color: rgba(201, 168, 108, 0.1);
  margin: -5px;
  padding: 5px;
  border-radius: 4px;
}

.sample-icon {
  display: inline-block;
  font-size: 0.65rem;
  background-color: #c9a86c;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

/* ========================================
   モーダル
   ======================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal.is-open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-title {
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* ========================================
   SPAページ
   ======================================== */
.spa-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.spa-item {
  display: flex;
  gap: 30px;
  background-color: #faf9f7;
  padding: 30px;
  border-radius: 8px;
}

.spa-item:nth-child(even) {
  flex-direction: row-reverse;
}

.spa-image {
  flex-shrink: 0;
  width: 300px;
}

.spa-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.spa-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spa-name {
  font-size: 1.3rem;
  font-weight: 500;
  color: #c9a86c;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

/* SPAとは セクション */
.spa-intro {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px;
  background-color: #faf9f7;
  border-radius: 8px;
}

.spa-intro-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #c9a86c;
  margin-bottom: 25px;
  letter-spacing: 0.1em;
}

.spa-intro-text {
  font-size: 1rem;
  line-height: 2;
  color: #555;
  margin-bottom: 15px;
}

.spa-intro-text:last-child {
  margin-bottom: 0;
}

/* こんな方へ… */
.spa-for {
  margin-bottom: 20px;
}

.spa-for-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #c9a86c;
  margin-bottom: 10px;
}

.spa-for-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
}

/* ケア方法 */
.spa-care {
  margin-top: 15px;
}

.spa-care-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #c9a86c;
  margin-bottom: 10px;
}

.spa-care p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
}

.spa-care p:last-child {
  margin-bottom: 0;
}

/* スパとはリンク（HEAD SPAセクション内） */
.spa-link-inline {
  margin-top: 20px;
  text-align: right;
}

.btn-small {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #c9a86c;
  color: #c9a86c;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 3px;
}

.btn-small:hover {
  background-color: #c9a86c;
  color: #fff;
}

/* ========================================
   ギャラリー
   ======================================== */
.gallery-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #eee;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ========================================
   ヒストリーページ
   ======================================== */
.history-section {
  max-width: 900px;
  margin: 0 auto;
}

.history-message {
  text-align: center;
}

.history-message-img {
  max-width: 100%;
  width: 700px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-message-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.history-hint {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #999;
}

/* ライトボックス */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* ========================================
   アクセスページ
   ======================================== */
.access-section {
  max-width: 900px;
  margin: 0 auto;
}

.access-content {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
}

.access-detail {
  flex: 1;
}

.access-name {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 25px;
  color: #333;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 100px;
  font-weight: 500;
  color: #666;
}

.tel-link {
  color: #c9a86c;
  font-size: 1.2rem;
  font-weight: 500;
}

.access-map {
  flex-shrink: 0;
  width: 350px;
}

.access-map img {
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.google-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background-color: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.copyright {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
  /* ヘッダー */
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid #eee;
  }

  .nav-list a {
    display: block;
    padding: 15px 0;
  }

  /* メニューボタン アクティブ状態 */
  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* メイン */
  .main {
    padding: 40px 0;
  }

  .page-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  /* コンセプト */
  .concept-section {
    padding: 30px 20px;
  }

  .concept-content {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .concept-image {
    width: 180px;
  }

  .concept-lead {
    font-size: 1.1rem;
    text-align: center;
  }

  /* トップページ */
  .hero {
    min-height: 80vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-card-img {
    aspect-ratio: 16 / 9;
  }

  .service-card-title {
    font-size: 1.3rem;
  }

  .intro-section {
    padding: 40px 0;
  }

  .intro-text br {
    display: none;
  }

  .intro-with-image {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .intro-image {
    width: 200px;
  }

  .intro-content .section-title {
    text-align: center;
  }

  .intro-content .section-title::after {
    margin: 15px auto 0;
  }

  /* メニューページ */
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .menu-section {
    padding: 25px 20px;
  }

  /* ギャラリー */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* ヒストリー */
  .history-message-img {
    width: 100%;
  }

  /* アクセス */
  .access-content {
    flex-direction: column;
    gap: 30px;
  }

  .access-map {
    width: 100%;
  }

  /* SPAページ */
  .spa-item,
  .spa-item:nth-child(even) {
    flex-direction: column;
  }

  .spa-image {
    width: 100%;
  }

  .spa-name {
    font-size: 1.1rem;
  }
}
