/*
Theme Name: Twenty Twenty-Four Child
Template: twentytwentyfour
Version: 2.0.0
Description: mimosa. EyeDesign custom child theme
*/

/* ============================================
   Google Fonts は functions.php で読み込み
   ============================================ */

/* ============================================
   CSS 変数（カラーシステム）
   ============================================ */
:root {
  --green:   #273A34;
  --sage:    #819E97;
  --beige:   #FDEDE4;
  --yellow:  #F9C158;
  --white:   #ffffff;
  --border:  rgba(129,158,151,0.2);
  --text-sub: rgba(129,158,151,0.9);
}

/* ============================================
   リセット・ベース
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--green);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }

/* ============================================
   Cocoon デフォルト上書き
   ============================================ */
#header { display: none; }   /* 独自ヘッダー使用のため非表示 */
#footer { display: none; }   /* 独自フッター使用のため非表示 */
#sidebar { display: none; }
.entry-title { display: none; }
.breadcrumb { display: none; }
#main { padding: 0 !important; }
.wrap { max-width: 100% !important; padding: 0 !important; }
.singular #main .entry { padding: 0 !important; margin: 0 !important; box-shadow: none !important; }

/* ============================================
   サイトヘッダー（独自）
   ============================================ */
.mms-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: .5px solid var(--border);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mms-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--green);
  line-height: 1;
}
.mms-logo span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--sage);
  margin-top: 3px;
}

.mms-nav {
  display: flex;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--sage);
}
.mms-nav a { color: var(--sage); }
.mms-nav a:hover { color: var(--green); opacity: 1; }

/* ハンバーガー（SP用） */
.mms-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.mms-hamburger span {
  display: block;
  width: 22px;
  height: .5px;
  background: var(--green);
  transition: transform .3s;
}

/* SPドロワー */
.mms-drawer {
  display: none;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 0; right: 0;
  width: 240px;
  height: 100vh;
  background: var(--green);
  z-index: 200;
  padding: 64px 32px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mms-drawer.open { transform: translateX(0); }
.mms-drawer a {
  color: rgba(255,255,255,.7);
  font-size: 11px;
  letter-spacing: 3px;
  padding: 16px 0;
  border-bottom: .5px solid rgba(255,255,255,.1);
}
.mms-drawer a:hover { color: #fff; opacity: 1; }
.mms-drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 18px;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  background: none;
  border: none;
}
.mms-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 190;
}
.mms-overlay.open { display: block; }

/* ============================================
   共通セクションスタイル
   ============================================ */
.mms-section {
  padding: 64px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.mms-section-sm {
  padding: 48px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.mms-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mms-eyebrow::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.mms-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--green);
  letter-spacing: 2px;
  border-bottom: .5px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.mms-divider {
  width: 32px;
  height: .5px;
  background: var(--border);
  margin: 0 auto 32px;
}

/* ============================================
   ボタン
   ============================================ */
.btn-dark {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  font-size: 11px;
  letter-spacing: 3px;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.btn-dark:hover { opacity: .8; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green) !important;
  font-size: 11px;
  letter-spacing: 3px;
  padding: 13px 30px;
  border: .5px solid var(--green);
  cursor: pointer;
  transition: all .2s;
}
.btn-outline:hover { background: var(--green); color: #fff !important; }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #fff !important;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 13px 28px;
}
.btn-line:hover { opacity: .85; }

/* ============================================
   固定フローティングボタン（全ページ共通）
   ============================================ */
.mms-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mms-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  transition: transform .2s, opacity .2s;
}
.mms-float-btn:hover { transform: scale(1.08); opacity: 1; }

.mms-float-line {
  background: #06C755;
  color: #fff;
}
.mms-float-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: #fff;
}

/* ============================================
   サイトフッター（独自）
   ============================================ */
.mms-footer {
  background: var(--green);
  color: rgba(255,255,255,.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-align: center;
  padding: 28px 20px;
  line-height: 1.9;
}
.mms-footer a { color: rgba(255,255,255,.5); }
.mms-footer a:hover { color: #fff; opacity: 1; }
.mms-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  font-size: 10px;
}
.mms-yellow-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  margin: 0 8px;
  vertical-align: middle;
}

/* ============================================
   TOP — ヒーロー
   ============================================ */
.mms-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  gap: 0;
}

.mms-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 40px 64px 24px;
}

.mms-hero-en {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.mms-hero-en::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.mms-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--green);
  margin-bottom: 16px;
}

.mms-hero-sub {
  font-size: 12px;
  color: var(--sage);
  line-height: 2;
  margin-bottom: 32px;
}

.mms-hero-img {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0b8b4;
  font-size: 11px;
  letter-spacing: 2px;
  min-height: 400px;
  overflow: hidden;
}
.mms-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   TOP — メニューカード
   ============================================ */
.mms-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: .5px solid var(--border);
  margin-bottom: 32px;
}

.mms-menu-card {
  background: #fff;
  padding: 28px 24px;
  transition: background .2s;
}
.mms-menu-card:hover { background: #fafaf9; }

.mms-menu-card-tag {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--sage);
  margin-bottom: 10px;
}

.mms-menu-card-name {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 12px;
  font-weight: 400;
}

.mms-menu-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--green);
  margin-bottom: 10px;
}
.mms-menu-card-price span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--sage);
}

.mms-menu-card-desc {
  font-size: 11px;
  color: var(--sage);
  line-height: 1.8;
}

/* ============================================
   TOP — プロフィール帯
   ============================================ */
.mms-profile-band {
  background: var(--green);
  padding: 52px 24px;
}
.mms-profile-band-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 36px;
  align-items: center;
}

.mms-profile-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(129,158,151,.3);
  border: .5px solid rgba(129,158,151,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(253,237,228,.6);
  font-size: 10px;
  letter-spacing: 1px;
}
.mms-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mms-profile-band-text { color: #fff; }

.mms-profile-band-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 4px;
}

.mms-profile-band-role {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--sage);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mms-profile-band-role::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--yellow);
}

.mms-profile-band-desc {
  font-size: 12px;
  line-height: 2;
  color: rgba(255,255,255,.65);
}

/* ============================================
   TOP — Instagramギャラリー
   ============================================ */
.mms-ig-section {
  background: #faf9f8;
  padding: 52px 24px;
}
.mms-ig-section-inner { max-width: 900px; margin: 0 auto; }

.mms-ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 20px;
}

.mms-ig-item {
  aspect-ratio: 1;
  background: #e8e4e0;
  border-radius: 2px;
  overflow: hidden;
}
.mms-ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   TOP — CTA帯
   ============================================ */
.mms-cta {
  border-top: .5px solid var(--border);
  padding: 72px 24px;
  text-align: center;
}

.mms-cta-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mms-cta-line {
  width: 32px;
  height: .5px;
  background: rgba(129,158,151,.4);
}

.mms-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--green);
  margin-bottom: 8px;
}

.mms-cta-sub {
  font-size: 11px;
  color: var(--sage);
  letter-spacing: 1px;
  margin-bottom: 28px;
}

/* ============================================
   MENU ページ
   ============================================ */
.mms-price-block { margin-bottom: 52px; }

.mms-price-block-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 4px;
}

.mms-price-block-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--green);
}

.mms-price-block-en {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--sage);
}

.mms-price-block-note {
  font-size: 11px;
  color: var(--sage);
  margin-bottom: 16px;
  line-height: 1.8;
}

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

.mms-price-table tr {
  border-bottom: .5px solid var(--border);
}

.mms-price-table td {
  padding: 14px 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--green);
}

.mms-price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--green);
  width: 120px;
}

.mms-price-table .sub {
  font-size: 11px;
  color: var(--sage);
  display: block;
  margin-top: 2px;
}

.mms-price-option td:last-child {
  font-size: 14px;
}

.mms-notice-box {
  background: var(--beige);
  border-left: 2px solid var(--yellow);
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--green);
  margin-bottom: 32px;
  border-radius: 0 2px 2px 0;
}

.mms-badge-first {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 8px;
}

/* ============================================
   来店前・アフターケア — アコーディオン
   ============================================ */
.mms-accordion-item {
  border-bottom: .5px solid var(--border);
}

.mms-accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--green);
  font-family: 'Noto Sans JP', sans-serif;
}

.mms-accordion-trigger::after {
  content: '+';
  font-size: 18px;
  color: var(--sage);
  transition: transform .3s;
  line-height: 1;
}

.mms-accordion-trigger.active::after {
  transform: rotate(45deg);
}

.mms-accordion-body {
  display: none;
  padding: 0 8px 24px;
}

.mms-accordion-body.open { display: block; }

.mms-accordion-body ul {
  list-style: none;
  padding: 0; margin: 0;
}

.mms-accordion-body li {
  padding: 10px 0 10px 16px;
  border-bottom: .5px solid var(--border);
  font-size: 12px;
  line-height: 1.9;
  color: #444;
  position: relative;
}

.mms-accordion-body li:last-child { border-bottom: none; }

.mms-accordion-body li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* 共通注意事項 */
.mms-notice-list {
  list-style: none;
  padding: 0; margin: 0 0 32px;
}

.mms-notice-list li {
  padding: 16px 0 16px 20px;
  border-bottom: .5px solid var(--border);
  font-size: 12px;
  line-height: 1.9;
  color: #444;
  position: relative;
}

.mms-notice-list li:last-child { border-bottom: none; }

.mms-notice-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: 11px;
}

.mms-notice-list strong {
  color: var(--green);
  font-weight: 500;
}

.mms-notice-section-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--green);
  border-left: 2px solid var(--yellow);
  padding-left: 12px;
  margin: 40px 0 16px;
}

/* ============================================
   ACCESS ページ
   ============================================ */
.mms-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.mms-access-table tr { border-bottom: .5px solid var(--border); }

.mms-access-table th {
  padding: 14px 8px;
  text-align: left;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--sage);
  width: 80px;
  vertical-align: top;
}

.mms-access-table td {
  padding: 14px 8px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--green);
}

.mms-access-map {
  border-radius: 2px;
  overflow: hidden;
  background: #e8e4e0;
  height: 280px;
}

.mms-access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   RESERVE ページ
   ============================================ */
.mms-reserve-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 24px;
}

.mms-reserve-step {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0;
  text-align: left;
}

.mms-reserve-step-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: .5px solid var(--border);
  align-items: flex-start;
}

.mms-reserve-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--sage);
  flex-shrink: 0;
  width: 32px;
  line-height: 1;
}

.mms-reserve-step-text {
  font-size: 12px;
  line-height: 1.9;
  color: var(--green);
}

.mms-reserve-step-text strong {
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}

/* ============================================
   PROFILE ページ
   ============================================ */
.mms-profile-page-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--beige);
  margin: 0 auto 32px;
  border: .5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 10px;
  letter-spacing: 1px;
}
.mms-profile-page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mms-profile-career {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mms-profile-career-item {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: .5px solid var(--border);
  font-size: 12px;
}

.mms-profile-career-label {
  color: var(--sage);
  font-size: 10px;
  letter-spacing: 2px;
  width: 60px;
  flex-shrink: 0;
  padding-top: 2px;
}

.mms-profile-career-val {
  color: var(--green);
  line-height: 1.8;
}

.mms-thought-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: .5px solid var(--border);
  margin-top: 32px;
}

.mms-thought-card {
  background: #fff;
  padding: 28px 20px;
}

.mms-thought-icon {
  font-size: 20px;
  margin-bottom: 12px;
}

.mms-thought-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 10px;
}

.mms-thought-desc {
  font-size: 11px;
  color: var(--sage);
  line-height: 1.9;
}

/* ============================================
   LP テンプレート
   ============================================ */
#lp-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  font-size: 1.02em;
  line-height: 1.9;
}

#lp-wrap h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  border-bottom: .5px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

#lp-wrap h2 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 40px 0 16px;
  padding-left: 12px;
  border-left: 2px solid var(--yellow);
}

/* ============================================
   レスポンシブ（スマホファースト）
   ============================================ */
@media (max-width: 768px) {
  .mms-nav { display: none; }
  .mms-hamburger { display: flex; }

  .mms-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .mms-hero-img { min-height: 260px; order: -1; }
  .mms-hero-text { padding: 40px 24px; }
  .mms-hero-title { font-size: 30px; }

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

  .mms-profile-band-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .mms-profile-band-role { justify-content: center; }

  .mms-ig-grid { grid-template-columns: repeat(2, 1fr); }

  .mms-access-grid { grid-template-columns: 1fr; }
  .mms-access-map { height: 220px; }

  .mms-thought-grid { grid-template-columns: 1fr; }

  .mms-section { padding: 48px 20px; }
  .mms-heading { font-size: 22px; }

  .mms-float { bottom: 16px; right: 16px; }
  .mms-float-btn { width: 48px; height: 48px; font-size: 20px; }
}
