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

:root {
  --brown:     #8B6F47;
  --brown-dk:  #6B5230;
  --brown-lt:  #C4A882;
  --cream:     #FAF7F2;
  --cream-dk:  #F0EAE0;
  --white:     #FFFFFF;
  --text:      #2C2218;
  --text-sub:  #6B5B4A;
  --border:    #E5DDD3;
  --radius:    8px;
  --shadow:    0 4px 20px rgba(139,111,71,.12);
  --transition: .3s ease;
  --container: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 15px;
}

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

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

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header--left { text-align: left; }

.section-header__en {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--brown-lt);
  margin-bottom: 10px;
}

.section-header__ja {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

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

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn--ghost:hover { background: rgba(255,255,255,.15); }

.btn--outline {
  background: transparent;
  color: var(--brown);
  border-color: 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(--cream); }

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--ghost-white:hover { background: rgba(255,255,255,.1); }

.btn--full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header__inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header__logo-en {
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--brown-lt);
  font-family: 'Noto Serif JP', serif;
}
.header__logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav-list a {
  font-size: 13px;
  color: var(--text-sub);
  transition: color var(--transition);
  font-weight: 500;
}
.header__nav-list a:hover { color: var(--brown); }

.header__nav-cta {
  background: var(--brown) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: 700 !important;
}
.header__nav-cta:hover { background: var(--brown-dk) !important; }

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,34,24,.72) 0%, rgba(44,34,24,.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 24px 80px;
  width: 100%;
}

.hero__label {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--brown-lt);
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}

.hero__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  color: var(--brown-lt);
}

.hero__sub {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255,255,255,.82);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 2;
}

.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.6);
  font-size: 10px;
  letter-spacing: .2em;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.4);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--cream);
}

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

.features__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.features__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(139,111,71,.18);
}

.features__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--brown);
}
.features__icon svg { width: 100%; height: 100%; }

.features__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

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

/* ===== MESSAGE ===== */
.message {
  padding: 100px 0;
  background: var(--white);
}

.message__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}

.message__img-wrap {
  position: relative;
}
.message__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream-dk);
}
.message__img-label {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--brown);
  color: var(--white);
  padding: 12px 20px;
  font-size: 13px;
  border-radius: var(--radius);
  font-weight: 500;
}

.message__text {
  color: var(--text-sub);
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 2;
}

.message__sign {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-sub);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.message__sign strong { color: var(--text); }

/* ===== WORKS ===== */
.works {
  padding: 100px 0;
  background: var(--cream);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.works__card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.works__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(139,111,71,.18);
}

.works__card-img-wrap {
  position: relative;
  overflow: hidden;
}
.works__card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--cream-dk);
  transition: transform .5s ease;
}
.works__card:hover .works__card-img { transform: scale(1.05); }

.works__card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brown);
  color: var(--white);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: .05em;
}

.works__card-body { padding: 24px; }

.works__card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.works__card-meta {
  font-size: 12px;
  color: var(--brown-lt);
  margin-bottom: 10px;
}
.works__card-text { font-size: 13px; color: var(--text-sub); }

.works__more { text-align: center; }

/* ===== PROCESS ===== */
.process {
  padding: 100px 0;
  background: var(--white);
}

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

.process__step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-left: 4px solid var(--brown);
}

.process__step-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brown);
  min-width: 48px;
  line-height: 1.2;
}

.process__step-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.process__step-text { font-size: 13px; color: var(--text-sub); }

.process__arrow {
  text-align: center;
  color: var(--brown-lt);
  font-size: 20px;
  padding: 8px 0;
}

/* ===== VOICE ===== */
.voice {
  padding: 100px 0;
  background: var(--cream);
}

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

.voice__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.voice__card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--cream-dk);
  line-height: 1;
}

.voice__card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.voice__card-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.voice__card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.voice__card-type {
  font-size: 11px;
  color: var(--brown-lt);
  margin-top: 2px;
}

.voice__card-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 2;
  position: relative;
  z-index: 1;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--brown-dk) 0%, var(--brown) 100%);
  text-align: center;
}

.cta-banner__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}
.cta-banner__sub {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  margin-bottom: 36px;
}
.cta-banner__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
}

.contact__info-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brown);
}

.contact__info-list { display: flex; flex-direction: column; gap: 16px; }
.contact__info-list li {
  display: flex;
  gap: 20px;
  font-size: 14px;
  align-items: flex-start;
}

.contact__info-label {
  min-width: 80px;
  font-weight: 700;
  color: var(--brown);
  font-size: 12px;
  padding-top: 2px;
}
.contact__info-list a { color: var(--brown); }

.contact__map {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact__map-placeholder {
  height: 200px;
  background: var(--cream-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 13px;
  letter-spacing: .1em;
}

/* FORM */
.contact__form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.required {
  background: var(--brown);
  color: var(--white);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brown);
}
.form-textarea { resize: vertical; }

.contact__form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  padding: 60px 0 24px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 16px;
}
.footer__logo-en {
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--brown-lt);
  font-family: 'Noto Serif JP', serif;
}
.footer__logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}
.footer__address { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.9; }

.footer__nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--brown-lt); }

.footer__copy {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.3);
}

/* ===== IMAGE PLACEHOLDER (before real images) ===== */
.hero__bg-img:not([src$=".jpg"]):not([src$=".png"]):not([src$=".webp"]),
.hero__bg-img[src="images/hero.jpg"] {
  background: linear-gradient(135deg, #4a3520 0%, #2c2218 100%);
}
img[src^="images/"] {
  background: var(--cream-dk);
  min-height: 200px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .message__inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__nav.is-open {
    display: block;
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--white);
    padding: 32px 24px;
    z-index: 99;
    overflow-y: auto;
  }
  .header__nav.is-open .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .header__nav.is-open .header__nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .header__nav.is-open .header__nav-list a {
    display: block;
    padding: 18px 0;
    font-size: 16px;
  }
  .header__nav.is-open .header__nav-cta {
    display: inline-flex;
    margin-top: 20px;
    padding: 14px 28px;
  }
  .header__hamburger { display: flex; }

  .features__grid { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .voice__grid { grid-template-columns: 1fr; }
  .message__inner { grid-template-columns: 1fr; }
  .message__img-label { right: 0; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { flex-direction: column; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
