/*
Theme Name: K-2 Salon
Theme URI: https://k-2.salon/
Author: K-2 SALON
Author URI: https://k-2.salon/
Description: K-2 SALON 公式テーマ。複合サロン向けのナチュラル系オリジナルデザイン。
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: k2-salon
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --bg-base: #F5EFE6;
  --bg-soft: #EFE6D9;
  --bg-warm: #E8DCC8;
  --text-main: #3D2E20;
  --text-sub: #6B5640;
  --text-light: #9A8770;
  --brown-deep: #4A3520;
  --brown-mid: #8B6F4E;
  --brown-light: #C4A57B;
  --beige: #D4B896;
  --accent: #B08D5B;
  --line: rgba(74, 53, 32, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif JP', serif;
  background: var(--bg-base);
  color: var(--text-main);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 28px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.6s ease;
}

.site-header.scrolled {
  background: rgba(245, 239, 230, 0.96);
  backdrop-filter: blur(10px);
  padding: 18px 50px;
  box-shadow: 0 1px 30px rgba(74, 53, 32, 0.06);
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #fff;
  transition: color 0.6s;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.site-header.scrolled .site-logo {
  color: var(--brown-deep);
  text-shadow: none;
}

.site-logo small {
  display: block;
  font-family: 'Shippori Mincho', serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  margin-top: 4px;
  opacity: 0.8;
}

.menu-btn {
  width: 56px; height: 56px;
  background: var(--brown-deep);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s;
  border: none;
}

.menu-btn:hover { transform: scale(1.08); background: var(--accent); }
.menu-btn span {
  width: 18px; height: 1px;
  background: var(--bg-base);
  margin: 3px 0;
  transition: all 0.4s;
}

/* ========== FULL MENU OVERLAY ========== */
.menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--brown-deep);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.77, 0, 0.18, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-overlay.active { opacity: 1; visibility: visible; }
.menu-overlay nav { text-align: center; }
.menu-overlay ul { list-style: none; }
.menu-overlay li {
  margin: 18px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s;
}
.menu-overlay.active li { opacity: 1; transform: translateY(0); }
.menu-overlay.active li:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active li:nth-child(2) { transition-delay: 0.15s; }
.menu-overlay.active li:nth-child(3) { transition-delay: 0.2s; }
.menu-overlay.active li:nth-child(4) { transition-delay: 0.25s; }
.menu-overlay.active li:nth-child(5) { transition-delay: 0.3s; }
.menu-overlay.active li:nth-child(6) { transition-delay: 0.35s; }
.menu-overlay.active li:nth-child(7) { transition-delay: 0.4s; }
.menu-overlay.active li:nth-child(8) { transition-delay: 0.45s; }

.menu-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: var(--bg-base);
  letter-spacing: 0.2em;
  display: inline-block;
  padding: 6px 0;
  transition: color 0.3s;
}
.menu-overlay a:hover { color: var(--brown-light); }
.menu-overlay a small {
  display: block;
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-top: 2px;
  opacity: 0.6;
}

.close-btn {
  position: absolute;
  top: 28px; right: 50px;
  width: 56px; height: 56px;
  background: var(--bg-base);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--brown-deep);
  transition: all 0.3s;
}
.close-btn:hover { transform: rotate(90deg); }

/* ========== HERO ========== */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}

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

.hero-tagline {
  font-family: 'Shippori Mincho', serif;
  writing-mode: vertical-rl;
  position: absolute;
  top: -180px;
  right: -80px;
  font-size: 13px;
  letter-spacing: 1em;
  opacity: 0;
  animation: fadeInDown 1.4s 0.6s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1.1;
  opacity: 0;
  animation: fadeInUp 1.4s 0.3s forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brown-light);
}

.hero-sub {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  letter-spacing: 0.6em;
  margin-top: 30px;
  opacity: 0;
  animation: fadeInUp 1.4s 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  opacity: 0;
  animation: fadeIn 1.4s 1.2s forwards;
  z-index: 2;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.6);
  margin: 12px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== COMMON ========== */
.section {
  padding: 140px 50px;
  position: relative;
}

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}
.section-label::before { content: '— '; letter-spacing: normal; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--brown-deep);
  line-height: 1.2;
  margin-bottom: 30px;
}

.section-title em { font-style: italic; color: var(--brown-mid); }

.section-subtitle {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--text-sub);
  margin-bottom: 60px;
}

/* ========== CONCEPT ========== */
.concept-section .concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.concept-img {
  position: relative;
  height: 600px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.concept-img::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  right: 30px; bottom: 30px;
  border: 1px solid var(--brown-mid);
  z-index: -1;
}

.concept-text p {
  font-size: 15px;
  line-height: 2.4;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.concept-sign {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  margin-top: 40px;
}

/* ========== MENU ========== */
.menu-section { background: var(--bg-soft); }

.menu-section .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.menu-tab {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 0.3em;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.menu-tab.active { color: var(--brown-deep); }

.menu-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0;
  height: 1px;
  background: var(--brown-deep);
  transition: all 0.4s;
  transform: translateX(-50%);
}

.menu-tab.active::after { width: 100%; }

.menu-list { display: none; text-align: left; }

.menu-list.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 80px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}

.menu-item-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  color: var(--text-main);
}

.menu-item-name small {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-style: italic;
  color: var(--text-light);
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.menu-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--accent);
  white-space: nowrap;
  padding-left: 20px;
}

.menu-item-price small { font-size: 11px; color: var(--text-light); }

/* ========== STAFF ========== */
.staff-section .staff-wrap {
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.staff-card {
  text-align: center;
  transition: transform 0.4s;
}

.staff-card:hover { transform: translateY(-8px); }

.staff-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
  border-radius: 2px;
  filter: grayscale(20%);
  transition: filter 0.4s;
}

.staff-card:hover .staff-img { filter: grayscale(0%); }

.staff-position {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.staff-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  color: var(--brown-deep);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.staff-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-bottom: 14px;
}

.staff-bio {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.9;
}

/* ========== GALLERY ========== */
.gallery-section {
  background: var(--bg-warm);
  padding: 140px 0;
}

.gallery-header {
  text-align: center;
  padding: 0 50px;
  margin-bottom: 70px;
}

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

.gallery-item {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(74, 53, 32, 0);
  transition: background 0.4s;
}

.gallery-item:hover::after { background: rgba(74, 53, 32, 0.2); }
.gallery-item:hover { transform: scale(1.02); z-index: 2; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1/2; }

/* ========== BLOG ========== */
.blog-section .blog-wrap {
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.blog-card { transition: transform 0.4s; text-align: left; }
.blog-card:hover { transform: translateY(-6px); }

.blog-img {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-warm);
  margin-bottom: 24px;
  border-radius: 2px;
}

.blog-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 12px;
}

.blog-category {
  display: inline-block;
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--bg-base);
  background: var(--brown-mid);
  padding: 3px 12px;
  margin-left: 10px;
}

.blog-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.7;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ========== INFO ========== */
.info-section {
  background: var(--brown-deep);
  color: var(--bg-base);
  padding: 140px 50px;
}

.info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.info-section .section-label { color: var(--brown-light); }
.info-section .section-title { color: var(--bg-base); }
.info-section .section-subtitle { color: var(--brown-light); }

.info-list { list-style: none; }

.info-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(245, 239, 230, 0.15);
  font-size: 14px;
}

.info-list dt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--brown-light);
  text-transform: uppercase;
}

.info-list dd { color: var(--bg-base); line-height: 1.9; }

.map-container {
  height: 500px;
  overflow: hidden;
  border-radius: 4px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) sepia(20%);
}

/* ========== CONTACT ========== */
.contact-section {
  text-align: center;
  padding: 140px 50px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.contact-container { max-width: 800px; margin: 0 auto; }

.contact-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  line-height: 2.4;
  color: var(--text-sub);
  margin-bottom: 60px;
}

.contact-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 24px 54px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.3em;
  border: 1px solid var(--brown-deep);
  background: transparent;
  color: var(--brown-deep);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--brown-deep);
  transition: left 0.4s;
  z-index: -1;
}

.btn:hover { color: var(--bg-base); }
.btn:hover::before { left: 0; }

.btn-primary { background: var(--brown-deep); color: var(--bg-base); }
.btn-primary::before { background: var(--accent); }
.btn-primary:hover { border-color: var(--accent); }

.btn-arrow { display: inline-block; transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ========== FOOTER ========== */
.site-footer {
  background: #2A1D11;
  color: var(--bg-base);
  padding: 80px 50px 30px;
  text-align: center;
}

.site-footer .site-logo { color: var(--bg-base); margin-bottom: 30px; text-shadow: none; }

.footer-tagline {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--brown-light);
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.footer-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--brown-light);
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--bg-base); }

.copyright {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--brown-mid);
  padding-top: 30px;
  border-top: 1px solid rgba(245, 239, 230, 0.1);
}

/* ========== SINGLE / PAGE ========== */
.single-content, .page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 180px 24px 100px;
}

.single-content h1, .page-content h1 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--brown-deep);
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.entry-meta {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 40px;
}

.entry-content {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-sub);
}

.entry-content p { margin-bottom: 1.5em; }
.entry-content h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  color: var(--brown-deep);
  margin: 2em 0 1em;
  padding-left: 15px;
  border-left: 3px solid var(--accent);
}
.entry-content h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  color: var(--brown-mid);
  margin: 1.8em 0 0.8em;
}
.entry-content a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.entry-content img { margin: 1.5em 0; border-radius: 2px; }
.entry-content ul, .entry-content ol { margin: 1em 0 1.5em 2em; }
.entry-content blockquote {
  border-left: 3px solid var(--brown-light);
  padding: 0.5em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-light);
  background: var(--bg-soft);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 60px 0;
  font-family: 'Cormorant Garamond', serif;
}

.pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--text-sub);
  transition: all 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--brown-deep);
  color: var(--bg-base);
  border-color: var(--brown-deep);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .site-header { padding: 20px 24px; }
  .site-header.scrolled { padding: 14px 24px; }
  .section { padding: 90px 24px; }
  .concept-section .concept { grid-template-columns: 1fr; gap: 50px; }
  .concept-img { height: 400px; }
  .staff-grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: 1fr; }
  .menu-list.active { grid-template-columns: 1fr; gap: 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .info-container { grid-template-columns: 1fr; gap: 50px; }
  .map-container { height: 350px; }
  .info-section { padding: 90px 24px; }
  .gallery-section { padding: 90px 0; }
  .gallery-header { padding: 0 24px; }
  .hero-tagline { display: none; }
  .menu-overlay a { font-size: 26px; }
  .close-btn { right: 24px; }
  .info-list li { grid-template-columns: 100px 1fr; gap: 12px; }
  .btn { padding: 20px 36px; font-size: 13px; }
  .contact-section { background-attachment: scroll; }
}
