/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;700&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #faf9f7;
  --bg-beige: #f0ebe3;
  --brown:    #8b7355;
  --brown-dark: #6b5840;
  --green:    #5a7a5a;
  --text:     #2c2c2c;
  --text-mid: #555;
  --text-light: #888;
  --white:    #fff;
  --border:   #e2d9ce;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  padding-bottom: 72px; /* bottom bar height */
}

a { color: var(--brown); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brown-dark); }

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

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .08em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.logo .logo-en { color: var(--green); }
.logo .logo-sub { font-family: 'Noto Sans JP', sans-serif; font-size: .72rem; font-weight: 300; color: var(--text-light); letter-spacing: .05em; }

nav { display: flex; gap: 40px; }
nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: .1em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all .2s;
}
nav a:hover,
nav a.active { color: var(--brown); border-bottom-color: var(--brown); }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(44,36,28,.42), rgba(90,90,90,.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero-en {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: .25em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  letter-spacing: .2em;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .12em;
  margin-bottom: 40px;
}

/* Hero diagonal deco line */
.hero-deco {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  color: rgba(255,255,255,.55);
}
.hero-deco::before,
.hero-deco::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,.45);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--brown);
  color: var(--white);
  padding: 14px 40px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .15em;
  border: 1px solid var(--brown);
  transition: background .25s, color .25s;
}

.btn:hover { background: var(--brown-dark); border-color: var(--brown-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--brown);
}
.btn-outline:hover { background: var(--brown); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
}
.btn-white:hover { background: var(--bg-beige); color: var(--brown-dark); border-color: var(--bg-beige); }

/* ===== Section common ===== */
.section {
  padding: 96px 32px;
}

.section--beige { background: var(--bg-beige); }
.section--white { background: var(--white); }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Section heading with deco line */
.section-heading {
  text-align: center;
  margin-bottom: 64px;
}

.section-heading .en {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: .2em;
  color: var(--text);
  margin-bottom: 12px;
}

.section-heading .deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 12px 0 16px;
  color: var(--brown);
}
.section-heading .deco::before,
.section-heading .deco::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--brown);
  opacity: .5;
}

.section-heading .ja {
  display: block;
  font-size: .82rem;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: .15em;
}

/* ===== Concept section ===== */
.concept {
  padding: 96px 32px;
  background: var(--white);
  text-align: center;
}

.concept-inner {
  max-width: 680px;
  margin: 0 auto;
}

.concept-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 2;
  color: var(--text);
  letter-spacing: .08em;
  margin-bottom: 32px;
}

.concept-body {
  font-size: .9rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2.1;
  letter-spacing: .05em;
}

/* ===== Features (Why Kapire) ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
}

.feature-card {
  background: var(--white);
  padding: 48px 36px;
  text-align: center;
  position: relative;
}

.feature-num {
  font-family: 'Noto Serif JP', serif;
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--brown);
  opacity: .7;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: .05em;
  line-height: 1.6;
}

.feature-card p {
  font-size: .85rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2;
}

/* ===== Services (photo cards) ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

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

.facial-img {
  object-fit: cover !important;
  object-position: center 25%;
  transform: scale(0.88) !important;
  filter: blur(0.6px);
}
.service-card:hover .facial-img { transform: scale(0.92) !important; filter: blur(0.2px) brightness(1.05); }

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,22,15,.68) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.service-overlay .en {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: .18em;
  color: var(--white);
  margin-bottom: 4px;
}

.service-overlay .ja {
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .12em;
  color: rgba(255,255,255,.72);
}

/* ===== Line CTA ===== */
.line-cta {
  padding: 96px 32px;
  background: var(--brown);
  text-align: center;
}

.line-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.line-cta h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: .08em;
  line-height: 1.8;
  margin-bottom: 16px;
}

.line-cta p {
  font-size: .9rem;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  line-height: 1.9;
  letter-spacing: .05em;
  margin-bottom: 40px;
}

.line-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #06C755;
  color: var(--white);
  padding: 16px 48px;
  border-radius: 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  transition: background .25s, transform .15s;
}

.line-cta-button:hover {
  background: #05a352;
  transform: translateY(-2px);
}

.line-cta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== Trial CTA ===== */
.trial {
  padding: 96px 32px;
  background: var(--bg-beige);
  text-align: center;
}

.trial-inner {
  max-width: 680px;
  margin: 0 auto;
}

.trial-label {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--brown);
  border: 1px solid var(--brown);
  padding: 5px 20px;
  margin-bottom: 32px;
}

.trial-inner h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: .08em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.trial-inner p {
  font-size: .88rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 40px;
}

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.blog-card {
  display: block;
  color: inherit;
  transition: opacity .2s;
}
.blog-card:hover { opacity: .8; }

.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 20px;
  background: var(--bg-beige);
}

/* placeholder when no image */
.blog-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.blog-card-date {
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.blog-card-excerpt {
  font-size: .83rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.9;
}

.blog-card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--brown);
  border-bottom: 1px solid var(--brown);
  padding-bottom: 2px;
}

/* ===== Page header (inner pages) ===== */
.page-header {
  padding: 80px 32px 64px;
  background: var(--white);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header .en {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: .2em;
  color: var(--text);
  margin-bottom: 12px;
}

.page-header .deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 12px 0 20px;
  color: var(--brown);
  font-size: .72rem;
  letter-spacing: .2em;
}
.page-header .deco::before,
.page-header .deco::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--brown);
  opacity: .5;
}

.page-header .ja {
  font-size: .85rem;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: .12em;
}

/* ===== Price Table ===== */
.price-section {
  padding: 80px 32px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.price-card {
  background: var(--white);
  overflow: hidden;
}

.price-card-header {
  background: var(--brown);
  color: var(--white);
  padding: 18px 28px;
  font-family: 'Noto Serif JP', serif;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .1em;
}

.price-card table { width: 100%; border-collapse: collapse; }
.price-card td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 300;
  color: var(--text);
}
.price-card td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--brown-dark);
  white-space: nowrap;
}
.price-card tr:last-child td { border-bottom: none; }

.price-note {
  border-left: 2px solid var(--brown);
  padding: 14px 20px;
  font-size: .82rem;
  font-weight: 300;
  color: var(--text-mid);
  background: var(--bg-beige);
  margin-top: 24px;
}

/* Trial box on price page */
.trial-box {
  background: var(--text);
  color: var(--white);
  padding: 56px 40px;
  text-align: center;
}

.trial-box .trial-label {
  border-color: rgba(255,255,255,.4);
  color: rgba(255,255,255,.7);
}

.trial-box h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--white);
}

.trial-box p {
  font-size: .88rem;
  font-weight: 300;
  color: rgba(255,255,255,.75);
  line-height: 2;
  margin-bottom: 36px;
}

/* ===== Article ===== */
.article-header {
  padding: 80px 32px 64px;
  background: var(--white);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.article-header .category {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--brown);
  border: 1px solid var(--brown);
  padding: 4px 16px;
  margin-bottom: 28px;
}

.article-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.65;
  letter-spacing: .05em;
}

.article-header .meta {
  font-size: .78rem;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: .1em;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.article-body h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  border-left: 2px solid var(--brown);
  padding-left: 20px;
  margin: 56px 0 20px;
  letter-spacing: .06em;
}

.article-body p {
  font-size: .9rem;
  font-weight: 300;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 24px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5em;
  margin-bottom: 24px;
}

.article-body li {
  font-size: .9rem;
  font-weight: 300;
  line-height: 2;
  color: var(--text);
  margin-bottom: 6px;
}

.article-cta {
  background: var(--bg-beige);
  padding: 40px;
  text-align: center;
  margin-top: 64px;
}

.article-cta h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: .05em;
}

.article-cta p {
  font-size: .85rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 28px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 14px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: .76rem;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: .06em;
}

.breadcrumb a { color: var(--text-mid); }
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb span { margin: 0 10px; opacity: .5; }

/* ===== Footer ===== */
footer {
  background: var(--text);
  color: rgba(255,255,255,.6);
  padding: 64px 32px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.footer-logo .green { color: #7aaa7a; }

.footer-desc {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
  margin-bottom: 40px;
  line-height: 1.9;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-links a {
  font-size: .8rem;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  letter-spacing: .06em;
}

/* ===== Fixed Bottom Bar ===== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  height: 72px;
  border-top: 1px solid var(--border);
}

.bottom-bar-line {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-decoration: none;
  transition: background .2s;
}
.bottom-bar-line:hover { background: #4a6a4a; color: var(--white); }

.bottom-bar-price {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-beige);
  color: var(--brown);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-decoration: none;
  border-left: 1px solid var(--border);
  transition: background .2s;
}
.bottom-bar-price:hover { background: #e2d8cc; color: var(--brown-dark); }

.bottom-bar-icon {
  width: 20px;
  height: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header { padding: 0 20px; }
  .header-inner { height: 60px; }
  .logo { font-size: 1rem; }
  .logo .logo-sub { display: none; }
  nav { gap: 24px; }
  nav a { font-size: .78rem; }

  .hero { height: 80vh; }
  .hero-en { letter-spacing: .12em; }

  .section { padding: 72px 20px; }
  .concept { padding: 72px 20px; }
  .trial { padding: 72px 20px; }
  .price-section { padding: 56px 20px; }
  .article-body { padding: 48px 20px 80px; }
  .article-header { padding: 56px 20px 40px; }
  .page-header { padding: 56px 20px 40px; }
  .breadcrumb { padding: 12px 20px; }
  footer { padding: 48px 20px 24px; }

  .features { grid-template-columns: 1fr 1fr; gap: 2px; }
  .feature-card { padding: 36px 24px; }
  .services { grid-template-columns: 1fr; }

  .trial-box { padding: 40px 24px; }
  .article-cta { padding: 32px 24px; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  nav { gap: 18px; }
  .hero-en { font-size: 2rem; }
}
