/* ============================================
   Kids Photo - Mincho / Monotone design
   (kidsphoto.info 参考)
   ============================================ */

:root {
  --text: #555555;
  --text-dim: #888888;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --accent: #c98a7a;       /* ごく控えめな差し色 */
  --accent-dark: #a8655a;
  --font-serif: "Noto Serif JP", "ten-mincho", "游明朝体", "Yu Mincho", YuMincho,
                "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", Georgia, serif;
  --container: 1100px;
}

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

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif);
  color: var(--text);
  letter-spacing: .04em;
}
.logo-main {
  font-size: 1.5rem;
  letter-spacing: .12em;
}
.logo-sub {
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .08em;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.nav-list a {
  color: var(--text);
  padding: 6px 0;
  letter-spacing: .08em;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover,
.nav-list a.active {
  border-bottom-color: var(--text);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none; border: none;
  width: 36px; height: 36px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--text); margin: 7px auto;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero Slider (3:2, Ken Burns zoom) ===== */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 760px;
  overflow: hidden;
  background: #efece8;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover; background-position: center;
  transform: scale(1);
  will-change: transform, opacity;
}
.hero-slide.is-active {
  opacity: 1;
  animation: kenburns 12s ease-out forwards;
  z-index: 1;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.hero-dots {
  position: absolute; bottom: 18px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px; z-index: 3;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.7);
  cursor: pointer; padding: 0;
}
.hero-dots button.is-active { background: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 38px;
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--text);
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .14em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover {
  background: var(--text);
  color: #fff !important;
  opacity: 1;
}
.btn-accent {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: .14em;
  margin: 0 0 10px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 30px; height: 1px;
  background: var(--text);
  margin: 18px auto 0;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: .25em;
  margin: 0 0 50px;
}

/* ===== Intro text block (used for 17年の実績) ===== */
.intro-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.intro-block p { line-height: 2.1; }
.intro-highlight {
  color: var(--accent);
  font-size: 1.4em;
  padding: 0 .1em;
  letter-spacing: .05em;
}

/* ===== Feature rows (5つのこだわり) - alternating image/text ===== */
.feature-list {
  max-width: 1100px;
  margin: 0 auto;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 420px;
}
.feature-row + .feature-row { margin-top: 40px; }
.feature-row .feature-img {
  background: var(--bg-alt);
  background-size: cover; background-position: center;
  min-height: 420px;
}
.feature-row .feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 56px;
  background: #fff;
}
.feature-row.is-reverse { direction: rtl; }
.feature-row.is-reverse > * { direction: ltr; }
.feature-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.2rem;
  letter-spacing: .05em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
  font-weight: 300;
}
.feature-row h3 {
  font-size: 1.4rem;
  letter-spacing: .12em;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.feature-row .feature-text p {
  font-size: 14px;
  line-height: 2.1;
  margin: 0;
}

/* ===== Menu plans (撮影メニュー) ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.plan-card {
  background: #fff;
  text-align: center;
  padding: 0 0 30px;
  transition: opacity .25s;
}
.plan-card:hover { opacity: .8; }
.plan-img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  background-size: cover; background-position: center;
  margin-bottom: 22px;
}
.plan-card h3 {
  font-size: 1.2rem;
  letter-spacing: .1em;
  margin: 0 0 10px;
}
.plan-card .plan-meta {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.plan-card p {
  font-size: 14px;
  color: var(--text);
  margin: 0 24px;
  line-height: 1.9;
}

/* ===== News list (お知らせ) ===== */
.news-list {
  max-width: 780px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.news-list li {
  display: flex;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px dotted var(--line);
  align-items: baseline;
}
.news-list li:first-child { border-top: 1px dotted var(--line); }
.news-list .news-date {
  flex: 0 0 100px;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .06em;
}
.news-list a {
  color: var(--text);
  flex: 1;
  font-size: 15px;
}
.news-list a:hover { color: var(--accent); opacity: 1; }

/* ===== Event banner (ロケーション撮影会) ===== */
.event-banner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: block;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  transition: opacity .25s;
}
.event-banner:hover { opacity: .85; }
.event-banner-img {
  aspect-ratio: 16/7;
  background: var(--bg-alt);
  background-size: cover; background-position: center;
  margin-bottom: 20px;
}
.event-banner h3 {
  font-size: 1.2rem;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.event-banner p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 16px;
}
.event-banner .more { font-size: 12px; letter-spacing: .2em; color: var(--accent); }

/* ===== Follow ===== */
.follow {
  text-align: center;
  padding: 60px 20px;
}
.follow h2 {
  font-size: 1.3rem;
  letter-spacing: .3em;
  margin-bottom: 24px;
}
.follow-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; justify-content: center; gap: 30px;
}
.follow-list a {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .2em;
  color: var(--text);
}
.follow-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--text);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px;
}

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  background: var(--bg-alt);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: .2em;
  margin: 0 0 6px;
}
.page-hero .en {
  display: block;
  color: var(--text-dim);
  letter-spacing: .3em;
  font-size: 11px;
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-dim);
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  letter-spacing: .06em;
}
.breadcrumb a { color: var(--text-dim); }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.gallery-item {
  aspect-ratio: 1/1;
  background: var(--bg-alt);
  background-size: cover; background-position: center;
  cursor: pointer;
  transition: opacity .3s;
}
.gallery-item:hover { opacity: .8; }

/* ===== Price ===== */
.price-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 28px;
  text-align: center;
  display: flex; flex-direction: column;
}
.price-card h3 {
  font-size: 1.2rem;
  letter-spacing: .12em;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.price-amount {
  font-size: 2rem;
  margin: 14px 0 6px;
  letter-spacing: .04em;
}
.price-amount small {
  font-size: .6em;
  color: var(--text-dim);
  margin-left: 4px;
}
.price-card ul {
  list-style: none; padding: 0; margin: 24px 0;
  text-align: left; font-size: 14px;
  flex: 1;
}
.price-card ul li {
  padding: 10px 0 10px 18px;
  border-bottom: 1px dotted var(--line);
  position: relative;
}
.price-card ul li::before {
  content: "・";
  position: absolute; left: 0;
  color: var(--accent);
}

/* ===== Q&A ===== */
.qa-list { max-width: 820px; margin: 0 auto; }
.qa-item {
  border-bottom: 1px solid var(--line);
}
.qa-question {
  padding: 22px 40px 22px 44px;
  cursor: pointer;
  position: relative;
  font-size: 15px;
}
.qa-question::before {
  content: "Q.";
  position: absolute; left: 10px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: .05em;
}
.qa-question::after {
  content: "+";
  position: absolute; right: 14px;
  font-size: 1.3rem;
  color: var(--text-dim);
  transition: transform .25s;
}
.qa-item.is-open .qa-question::after { transform: rotate(45deg); }
.qa-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.qa-answer-inner {
  padding: 0 20px 22px 44px;
  color: var(--text);
  font-size: 14px;
  line-height: 2;
  position: relative;
}
.qa-answer-inner::before {
  content: "A.";
  position: absolute; left: 10px; top: 0;
  color: var(--text);
}
.qa-item.is-open .qa-answer { max-height: 500px; }

/* ===== Contact form ===== */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
}
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  letter-spacing: .08em;
}
.form-row .required {
  color: var(--accent);
  font-size: 11px;
  margin-left: 8px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  background: #fff;
  color: var(--text);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--text);
}
.form-submit { text-align: center; margin-top: 36px; }

/* ===== About block ===== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.about-img {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  background-size: cover; background-position: center;
}
.about-block h2 {
  font-size: 1.6rem;
  letter-spacing: .1em;
  margin: 0 0 20px;
}
.about-block p { line-height: 2.1; }
.signature {
  margin-top: 24px;
  font-size: .95rem;
  letter-spacing: .1em;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  text-align: center;
  font-size: 13px;
  background: #fff;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.footer-nav a { color: var(--text); letter-spacing: .06em; font-size: 13px; }
.footer-copy {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: .12em;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .price-table { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-block { grid-template-columns: 1fr; gap: 30px; }
  .about-img { max-width: 320px; margin: 0 auto; }
  .nav-list { gap: 14px; font-size: 13px; }
  .feature-row, .feature-row.is-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: 0;
  }
  .feature-row .feature-img { min-height: 240px; aspect-ratio: 4/3; }
  .feature-row .feature-text { padding: 30px 28px; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { aspect-ratio: 4/5; max-height: none; }
  .menu-toggle { display: block; }
  .nav-wrap {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .3s;
    padding: 20px 24px;
    z-index: 40;
  }
  .nav-wrap.is-open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 14px 4px; font-size: 14px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list li { flex-direction: column; gap: 4px; }
  .footer-nav { gap: 14px; font-size: 12px; }
}
