/*
Theme Name: AIDMA Holistic Academy
Theme URI: https://aidma-holistic.jp
Author: AIDMA
Author URI: https://aidma-holistic.jp
Description: AIDMA Holistic Academy 公式サイト用 WordPress テーマ
Version: 1.0.0
License: Private
Text Domain: aidma
*/

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

:root {
  --cream: #faf8f5;
  --warm-white: #f5f2ed;
  --dark: #1a1a1a;
  --mid: #555;
  --light-border: #ddd;
  --accent: #8b7355;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 14px;
  line-height: 1.8;
}

/* ── HEADER ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: #fff;
  border-bottom: 1px solid var(--light-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--dark);
  font-size: 13px;
  letter-spacing: 0.05em;
}

nav a svg { width: 16px; height: 16px; fill: var(--dark); }

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: var(--warm-white);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245,238,225,0.38);
}

.hero::after { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-logo {
  margin-bottom: 24px;
}

.hero-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--dark);
  line-height: 1;
}

.hero-logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--dark);
  font-weight: 400;
  margin-top: 2px;
}

.hero-notice {
  font-size: 16px;
  color: var(--dark);
  line-height: 2;
  margin-top: 20px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
}

.hero-cta {
  margin-top: 20px;
  font-size: 15px;
  color: var(--dark);
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
}

/* Botanical decoration */
.botanical {
  position: absolute;
  opacity: 0.35;
  pointer-events: none;
}
.botanical-tl { top: 20px; left: 30px; width: 80px; }
.botanical-br { bottom: 20px; right: 30px; width: 70px; transform: rotate(180deg); }

/* ── MAIN CONTENT ── */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 40px 60px;
}

h1.shop-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.tagline {
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 36px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.address-block {
  line-height: 2;
  font-size: 13.5px;
}

.address-block p { margin-bottom: 4px; }

.address-block a {
  color: var(--dark);
}

/* ── HOURS TABLE ── */
.hours-wrap {
  min-width: 280px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12.5px;
}

thead th {
  background: #f0ebe3;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid #ccc;
  font-weight: 400;
  font-size: 12px;
}

thead th:first-child {
  text-align: left;
  min-width: 90px;
}

tbody td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: center;
  vertical-align: middle;
}

tbody td:first-child {
  text-align: left;
  background: #faf8f5;
}

.circle { font-size: 14px; }

.slash-cell {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 3px,
    #ccc 3px,
    #ccc 4px
  ) !important;
}

.hours-note {
  font-size: 11px;
  color: var(--mid);
  margin-top: 6px;
  text-align: right;
}

/* ── ACCESS ── */
.access-block {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 2;
}

/* ── MAP ── */
.map-container {
  width: 100%;
  margin-top: 40px;
  position: relative;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
  background: #e8e4dc;
  filter: grayscale(20%);
}

.map-card {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  max-width: 180px;
}

.map-card .card-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.map-card .stars { color: #e8a900; font-size: 11px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--light-border);
  padding: 32px 20px 28px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-links a:hover { opacity: 0.75; }

.social-links svg { width: 20px; height: 20px; }

.yt  { background: #FF0000; }
.ig  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fb  { background: #1877F2; }
.tw  { background: #000; }
.am  { background: #00b900; }

.copyright {
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.03em;
}

/* ── DIVIDER ── */
hr.section-divider {
  border: none;
  border-top: 1px solid var(--light-border);
  margin: 40px 0;
}

/* ── RESPONSIVE ── */

/* タブレット (〜768px) */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }

  .logo-img {
    height: 38px;
  }

  .hero {
    height: auto;
    min-height: 320px;
    padding: 40px 20px;
  }

  .hero-logo img {
    height: 90px !important;
  }

  .hero-notice {
    font-size: 14px;
  }

  .hero-cta {
    font-size: 13px;
  }

  .botanical-tl { width: 55px; left: 16px; }
  .botanical-br { width: 50px; right: 16px; }

  main {
    padding: 40px 24px 48px;
  }

  h1.shop-name {
    font-size: 22px;
  }

  .tagline {
    font-size: 13px;
  }

  /* 住所と営業時間を縦積みに */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hours-wrap {
    min-width: unset;
    width: 100%;
    overflow-x: auto;
  }

  table {
    font-size: 12px;
    min-width: 320px;
  }

  thead th, tbody td {
    padding: 5px 7px;
  }

  .map-frame,
  iframe[title="香り考房アイドーマ Googleマップ"] {
    height: 220px !important;
  }
}

/* スマートフォン (〜480px) */
@media (max-width: 480px) {
  header {
    padding: 10px 16px;
  }

  .logo-img {
    height: 32px;
  }

  nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 280px;
    padding: 32px 16px;
  }

  .hero-logo img {
    height: 72px !important;
  }

  .hero-notice {
    font-size: 13px;
    line-height: 1.9;
  }

  .botanical-tl,
  .botanical-br {
    display: none;
  }

  main {
    padding: 32px 16px 40px;
  }

  h1.shop-name {
    font-size: 20px;
  }

  .address-block {
    font-size: 13px;
  }

  .access-block {
    font-size: 13px;
  }

  .hours-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hours-wrap::after {
    content: '← 横にスクロールできます';
    display: block;
    font-size: 10px;
    color: var(--mid);
    margin-top: 4px;
    text-align: right;
  }

  table {
    font-size: 11px;
    min-width: 300px;
  }

  thead th, tbody td {
    padding: 4px 6px;
  }

  thead th:first-child {
    min-width: 76px;
  }

  iframe[title="香り考房アイドーマ Googleマップ"] {
    height: 200px !important;
  }

  .social-links {
    gap: 14px;
  }

  .social-links a {
    width: 32px;
    height: 32px;
  }

  .social-links svg {
    width: 17px;
    height: 17px;
  }

  .social-links img {
    width: 32px !important;
    height: 32px !important;
  }

  footer {
    padding: 24px 16px 20px;
  }

  .copyright {
    font-size: 11px;
  }
}
