/*
Theme Name: Kokoro Counseling
Author: Mitsuki Wakasa
Version: 1.0
*/

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

  :root {
    --ivory:    #ffffff;
    --cream:    #f9f7f5;
    --beige:    #ede8e0;
    --sand:     #b8a898;
    --moss:     #8a9b7e;
    --charcoal: #2c2825;
    --muted:    #7a7470;
    --accent:   #a07860;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--ivory);
    color: var(--charcoal);
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 3rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(180,168,152,0.2);
  }
  .nav-logo {
    font-family: 'Shippori Mincho', serif;
    font-size: 1rem;
    letter-spacing: 0.18em;
    color: var(--charcoal);
    text-decoration: none;
  }
  .nav-logo span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.8rem;
    color: var(--sand);
    display: block;
    letter-spacing: 0.12em;
  }
  .nav-links { display: flex; gap: 2.4rem; list-style: none; }
  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
  }
  .nav-links a:hover { color: var(--accent); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 80px;
    overflow: hidden;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem 6rem 6rem;
    animation: fadeUp 1.2s ease both;
  }
  .hero-eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--sand);
    letter-spacing: 0.2em;
    margin-bottom: 1.6rem;
  }
  .hero-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.06em;
    color: var(--charcoal);
    margin-bottom: 1.8rem;
  }
  .hero-title em {
    font-style: normal;
    color: var(--accent);
  }
  .hero-sub {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 2;
    max-width: 380px;
    margin-bottom: 3rem;
  }
  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--charcoal);
    color: var(--ivory);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    padding: 1rem 2.2rem;
    transition: background 0.3s, gap 0.3s;
    width: fit-content;
  }
  .hero-cta:hover { background: var(--accent); gap: 1.2rem; }
  .hero-cta-arrow { font-size: 1rem; }

  .hero-right {
    position: relative;
    background: var(--cream);
    overflow: hidden;
    animation: fadeIn 1.6s ease both 0.3s;
    border-left: 1px solid var(--beige);
  }
  .hero-img-wrap {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
  }
  /* 装飾的な背景テクスチャ（画像なしでも成立） */
  .hero-texture {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 40%, rgba(176,141,114,0.12) 0%, transparent 60%),
      radial-gradient(ellipse at 70% 70%, rgba(138,155,126,0.1) 0%, transparent 50%);
  }
  .hero-ornament {
    position: absolute;
    width: 340px; height: 440px;
    border: 1px solid rgba(201,185,158,0.5);
    transform: rotate(6deg);
  }
  .hero-ornament-2 {
    position: absolute;
    width: 300px; height: 400px;
    border: 1px solid rgba(176,141,114,0.3);
    transform: rotate(-3deg);
  }
  .hero-center-text {
    position: relative;
    text-align: center;
    z-index: 2;
  }
  .hero-center-text .kanji {
    font-family: 'Shippori Mincho', serif;
    font-size: 6rem;
    color: rgba(58,53,48,0.08);
    line-height: 1;
    letter-spacing: 0.1em;
    display: block;
  }
  .hero-center-text .sub-kanji {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    color: var(--sand);
    letter-spacing: 0.3em;
    margin-top: 1rem;
  }

  /* ── INTRO STRIP ── */
  .intro-strip {
    background: var(--cream);
    padding: 3rem 6rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    border-top: 1px solid var(--beige);
    border-bottom: 1px solid var(--beige);
    animation: fadeUp 1s ease both 0.6s;
  }
  .intro-strip-line {
    width: 60px; height: 1px;
    background: var(--sand);
    flex-shrink: 0;
  }
  .intro-strip p {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.05rem;
    color: var(--charcoal);
    letter-spacing: 0.1em;
    line-height: 1.9;
  }

  /* ── SECTION COMMON ── */
  section { padding: 7rem 6rem; }
  .section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 30px; height: 1px;
    background: var(--sand);
  }
  .section-label span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--sand);
    letter-spacing: 0.2em;
  }
  .section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    color: var(--charcoal);
  }

  /* ── ABOUT ── */
  .about {
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }
  .about-image-wrap {
    position: relative;
    height: 500px;
  }
  .about-img-bg {
    position: absolute;
    top: 2rem; left: 2rem; right: -2rem; bottom: -2rem;
    background: var(--cream);
    border: 1px solid var(--beige);
  }
  .about-img-main {
    position: absolute;
    inset: 0;
    background: var(--beige);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .about-img-placeholder {
    font-family: 'Shippori Mincho', serif;
    font-size: 4rem;
    color: rgba(201,185,158,0.6);
    letter-spacing: 0.1em;
  }
  .about-body { padding-right: 2rem; }
  .about-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
  }
  .about-name-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--sand);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
  }
  .about-text {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 2.2;
    margin-bottom: 2rem;
  }
  .about-tags {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
  }
  .tag {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--beige);
    color: var(--muted);
    padding: 0.3rem 0.9rem;
  }

  /* ── SERVICES ── */
  .services { background: var(--ivory); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 1rem;
    border: 1px solid var(--beige);
  }
  .service-card {
    background: var(--ivory);
    padding: 3rem 2.4rem;
    transition: background 0.3s;
    cursor: pointer;
    border-right: 1px solid var(--beige);
  }
  .service-card:last-child { border-right: none; }
  .service-card:hover { background: var(--charcoal); }
  .service-card:hover .service-icon,
  .service-card:hover .service-name,
  .service-card:hover .service-desc,
  .service-card:hover .service-price { color: var(--ivory); }
  .service-card:hover .service-line { background: var(--sand); }
  .service-icon {
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
    color: var(--sand);
    transition: color 0.3s;
  }
  .service-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--charcoal);
    transition: color 0.3s;
  }
  .service-line {
    width: 24px; height: 1px;
    background: var(--beige);
    margin-bottom: 1rem;
    transition: background 0.3s;
  }
  .service-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 2;
    margin-bottom: 1.6rem;
    transition: color 0.3s;
  }
  .service-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    color: var(--sand);
    letter-spacing: 0.1em;
    transition: color 0.3s;
  }

  /* ── MAIL COUNSELING CTA ── */
  .mail-cta {
    background: var(--charcoal);
    padding: 6rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4rem;
  }
  .mail-cta-text {}
  .mail-cta-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--sand);
    letter-spacing: 0.2em;
    margin-bottom: 1.2rem;
  }
  .mail-cta-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 500;
    color: var(--ivory);
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }
  .mail-cta-sub {
    font-size: 0.85rem;
    color: var(--sand);
    line-height: 2;
  }
  .mail-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: 1px solid rgba(201,185,158,0.4);
    color: var(--ivory);
    text-decoration: none;
    padding: 2rem 3rem;
    transition: border-color 0.3s, background 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mail-cta-btn:hover {
    border-color: var(--sand);
    background: rgba(201,185,158,0.1);
  }
  .mail-cta-btn .btn-label {
    font-family: 'Shippori Mincho', serif;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
  }
  .mail-cta-btn .btn-price {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.8rem;
    color: var(--sand);
    letter-spacing: 0.1em;
  }

 

  /* ── FOOTER ── */
  footer {
    background: var(--charcoal);
    color: var(--sand);
    padding: 4rem 6rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .footer-logo {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    color: var(--ivory);
    margin-bottom: 0.8rem;
  }
  .footer-copy {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(201,185,158,0.5);
  }
  .footer-links {
    display: flex; gap: 2rem; list-style: none;
    font-size: 0.75rem; letter-spacing: 0.12em;
  }
  .footer-links a { color: var(--sand); text-decoration: none; transition: color 0.3s; }
  .footer-links a:hover { color: var(--ivory); }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 1.2rem 1.6rem; }
    .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-right { min-height: 300px; }
    .hero-left { padding: 4rem 2rem; }
    section, .intro-strip, .mail-cta, footer { padding: 4rem 2rem; }
    .about, .mail-cta { grid-template-columns: 1fr; }
    .about-image-wrap { height: 300px; }
    .services-grid, { grid-template-columns: 1fr; }
  }
  
   /* ── BLOG ── */
  .blog { background: var(--cream); }
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    margin-top: 1rem;
  }
  .blog-card { cursor: pointer; }
  .blog-thumb {
    aspect-ratio: 4/3;
    background: var(--cream);
    margin-bottom: 1.4rem;
    overflow: hidden;
    position: relative;
  }
  .blog-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(58,53,48,0);
    transition: background 0.3s;
  }
  .blog-card:hover .blog-thumb::after {
    background: rgba(58,53,48,0.08);
  }
  .blog-thumb-inner {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
    display: flex; align-items: center; justify-content: center;
  }
  .blog-thumb-icon {
    font-size: 2rem;
    color: var(--sand);
    opacity: 0.5;
  }
  .blog-cat {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.75rem;
    color: var(--sand);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
  }
  .blog-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 0.6rem;
  }
  .blog-date {
    font-size: 0.72rem;
    color: var(--sand);
    letter-spacing: 0.1em;
  }
  
  .blog-title a {
    color: var(--charcoal);
    text-decoration: none;
    display: block;
}

a.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
}