/*
Theme Name: ease Theme
Theme URI: https://ease.salonweb.works/
Description: ease（イーズ）美容室 カスタムWordPressテーマ
Version: 1.0
Author: graciauto
Text Domain: ease-theme
*/

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-text: #1a1a1a;
  --color-text-sub: #6b6b6b;
  --color-line: #e5e5e5;
  --color-accent: #a08968;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  line-height: 1.8;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* Typography utilities */
.font-serif-ja { font-family: "Noto Serif JP", serif; font-weight: 400; }
.font-en { font-family: "Inter", sans-serif; }
.tracking-wider-en { letter-spacing: 0.18em; }
.tracking-widest-en { letter-spacing: 0.28em; }
.text-accent { color: var(--color-accent); }
.bg-accent { background: var(--color-accent); }

/* Section header */
.section-divider {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--color-text);
  margin: 1.5rem auto;
}

/* Fade-in */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Image hover */
.img-hover { transition: transform .8s ease; }
.img-hover:hover { transform: scale(1.04); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}
.site-logo {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--color-text);
}
.site-logo:hover { opacity: 0.7; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
}
.site-nav a { color: var(--color-text); transition: color .2s; }
.site-nav a:hover,
.site-nav a.current { color: var(--color-accent); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: #a9a9a3;
  transition: opacity .2s;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: #7a7e62;
  transition: opacity .2s;
}
.btn-tel:hover, .btn-line:hover { opacity: 0.85; }

@media (max-width: 1023px) {
  .site-nav { display: none; }
  .btn-tel span, .btn-line span { display: none; }
  .site-header .inner { padding: 0 1.5rem; }
}

/* Page hero (blog top) */
.page-hero {
  padding-top: 72px;
  background: var(--color-bg-alt);
  padding-bottom: 5rem;
  text-align: center;
}
.page-hero-inner {
  padding-top: 5rem;
}
.page-hero .en-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--color-text-sub);
}
.page-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-top: 1.5rem;
}

/* Post grid */
.post-grid-section {
  padding: 6rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-grid-section { padding: 4rem 1.5rem; }
}

.post-card { display: block; }
.post-card-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--color-bg-alt);
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-meta {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--color-text-sub);
  margin-bottom: 0.5rem;
}
.post-card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  transition: color .2s;
}
.post-card:hover .post-card-title { color: var(--color-accent); }

/* No posts */
.no-posts {
  text-align: center;
  padding: 4rem 0;
  color: var(--color-text-sub);
  font-size: 14px;
}

/* Pagination */
.pagination {
  text-align: center;
  padding: 3rem 0 6rem;
}
.pagination .nav-links {
  display: inline-flex;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.pagination .page-numbers {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  transition: all .2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Single post */
.single-post {
  padding-top: 72px;
}
.single-hero {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 2.5rem 8rem;
}
.single-meta {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--color-text-sub);
  margin-bottom: 1.5rem;
}
.single-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}

/* Post body typography */
.post-body {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}
.post-body p { margin-bottom: 1.8em; }
.post-body h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 3em 0 1em;
  padding-left: 1em;
  border-left: 2px solid var(--color-accent);
}
.post-body h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 2.5em 0 0.8em;
}
.post-body ul, .post-body ol {
  margin: 1em 0 2em 1.5em;
}
.post-body li { margin-bottom: 0.5em; }
.post-body img {
  width: 100%;
  height: auto;
  margin: 2em 0;
}
.post-body a { color: var(--color-accent); text-decoration: underline; }
.post-body strong { font-weight: 600; }
.post-body blockquote {
  border-left: 2px solid var(--color-line);
  padding-left: 1.5em;
  color: var(--color-text-sub);
  margin: 2em 0;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-top: 4rem;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--color-text-sub);
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.back-link:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* Footer */
.site-footer {
  background: #000;
  color: #fff;
  padding: 5rem 2.5rem 2.5rem;
}
.site-footer .inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 4rem 1.5rem 2rem; }
}

.footer-brand {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  letter-spacing: 0.28em;
  margin-bottom: 1.5rem;
}
.footer-address {
  font-size: 12px;
  line-height: 2;
  color: rgba(255,255,255,0.7);
}
.footer-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-btn-line {
  background: var(--color-accent);
  color: #fff;
  padding: 10px 20px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  transition: opacity .2s;
}
.footer-btn-tel {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 10px 20px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  transition: all .2s;
}
.footer-btn-line:hover { opacity: 0.85; }
.footer-btn-tel:hover { background: #fff; color: #000; }

.footer-col-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 12px;
}
.footer-col ul a { transition: color .2s; }
.footer-col ul a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-copy {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.4);
}
.footer-sns {
  display: flex;
  gap: 1rem;
}
.footer-sns a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.footer-sns a:hover { border-color: var(--color-accent); color: var(--color-accent); }

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 1rem; }
}
