/* ============================================================
   ひだまりホーム - style.css
   Design: Family Fun (テイスト⑥)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #fdf6ee;
  --bg-alt2: #f5efe6;
  --text: #333333;
  --heading: #333333;
  --primary: #c0392b;
  --primary-dark: #a93226;
  --secondary: #2c3e50;
  --accent: #e8c84a;
  --gray-light: #eeeeee;
  --gray-mid: #999999;
  --max-width: 1200px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 14px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-en: 'EB Garamond', Georgia, serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

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

/* ===== SECTION TITLE ===== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title__en {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  font-style: italic;
}
.section-title__ja {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  position: relative;
}
.section-title__ja::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--primary);
  margin: 10px auto 0;
  border-radius: 2px;
}
.section-title-wrap { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
}
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,0.3); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn--secondary { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn--secondary:hover { background: #243342; border-color: #243342; transform: translateY(-2px); }
.btn--sm { padding: 10px 22px; font-size: 13px; }
.btn--lg { padding: 18px 48px; font-size: 17px; }
.more-btn-wrap { text-align: center; margin-top: 40px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 12px;
}
.header__logo a { display: flex; flex-direction: column; line-height: 1.2; }
.header__logo-en { font-family: var(--font-en); font-size: 10px; color: var(--primary); letter-spacing: 0.18em; }
.header__logo-ja { font-size: 17px; font-weight: 700; color: var(--secondary); letter-spacing: 0.04em; }
.header__nav { display: none; flex: 1; justify-content: center; }
.header__nav-list { display: flex; gap: 2px; }
.header__nav-item a {
  display: block;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
}
.header__nav-item a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--primary);
  transition: left var(--transition), right var(--transition);
}
.header__nav-item a:hover::after,
.header__nav-item a.is-active::after { left: 11px; right: 11px; }
.header__nav-item a:hover, .header__nav-item a.is-active { color: var(--primary); }
.header__nav-item a.is-active { font-weight: 700; }
.header__cta { display: none; flex-shrink: 0; gap: 8px; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 1100; position: relative; flex-shrink: 0;
}
.hamburger__line { width: 100%; height: 2px; background: var(--secondary); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; transform-origin: center; }
.hamburger.is-active .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.is-active .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px 20px 80px;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__list { border-top: 1px solid var(--gray-light); }
.mobile-nav__item a {
  display: flex; align-items: center;
  padding: 16px 4px;
  font-size: 16px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--gray-light);
  transition: color var(--transition);
}
.mobile-nav__item a::after { content: '›'; margin-left: auto; color: var(--primary); font-size: 22px; }
.mobile-nav__item a:hover, .mobile-nav__item a.is-active { color: var(--primary); font-weight: 700; }
.mobile-nav__cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav__cta .btn { width: 100%; text-align: center; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--bg-alt); padding: 12px 0; }
.breadcrumb__list { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--gray-mid); }
.breadcrumb__item a { color: var(--gray-mid); transition: color var(--transition); }
.breadcrumb__item a:hover { color: var(--primary); }
.breadcrumb__sep { margin: 0 2px; }
.breadcrumb__current { color: var(--text); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--secondary);
  padding: 56px 0;
  text-align: center;
  color: #fff;
  margin-top: 70px;
}
.page-hero__en { font-family: var(--font-en); font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.2em; display: block; margin-bottom: 12px; font-style: italic; }
.page-hero__title { font-size: 28px; font-weight: 700; line-height: 1.3; }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  margin-top: 70px;
  height: 70vh;
  min-height: 460px;
  overflow: hidden;
}
.hero__slider { width: 100%; height: 100%; position: relative; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; z-index: 0; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); z-index: 2; }
.hero__content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.hero__label {
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--primary);
  letter-spacing: 0.35em;
  background: rgba(255,255,255,0.88);
  padding: 7px 24px;
  border-radius: 2px;
  margin-bottom: 16px;
  display: inline-block;
}
.hero__catch {
  font-size: 26px; font-weight: 700; color: #fff;
  line-height: 1.5; text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  margin-bottom: 10px;
}
.hero__sub {
  font-size: 14px; color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  margin-bottom: 28px; line-height: 1.7;
}
.hero__btn-wrap { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; background: rgba(255,255,255,0.82); border: none;
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--secondary);
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero__arrow:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.hero__arrow--prev { left: 14px; }
.hero__arrow--next { right: 14px; }
.hero__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 8px; }
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.45); border: 1.5px solid rgba(255,255,255,0.8);
  cursor: pointer; transition: all var(--transition);
}
.hero__dot.is-active { background: var(--primary); border-color: var(--primary); transform: scale(1.35); }

/* ===== HERO BANNERS ===== */
.hero-banners { background: var(--secondary); }
.hero-banners__inner { display: flex; }
.hero-banner { flex: 1; position: relative; overflow: hidden; cursor: pointer; display: block; }
.hero-banner img { width: 100%; height: 140px; object-fit: cover; transition: transform 0.4s ease; filter: brightness(0.6); }
.hero-banner:hover img { transform: scale(1.05); filter: brightness(0.72); }
.hero-banner__body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; color: #fff; text-align: center; }
.hero-banner__label { font-family: var(--font-en); font-size: 10px; color: rgba(255,255,255,0.7); letter-spacing: 0.18em; display: block; margin-bottom: 5px; font-style: italic; }
.hero-banner__title { font-size: 13px; font-weight: 700; line-height: 1.4; }
.hero-banner__arrow { font-size: 11px; margin-top: 5px; color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 1px; }
.hero-banner + .hero-banner { border-left: 1px solid rgba(255,255,255,0.15); }

/* ===== EVENTS ===== */
.events__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.event-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--transition), transform var(--transition); }
.event-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.event-card__img { width: 100%; height: 180px; object-fit: cover; }
.event-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.event-card__badge { display: inline-block; background: var(--accent); color: var(--secondary); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; letter-spacing: 0.03em; }
.event-card__title { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 8px; line-height: 1.5; }
.event-card__meta { font-size: 13px; color: var(--gray-mid); margin-bottom: 10px; display: flex; flex-direction: column; gap: 4px; }
.event-card__text { font-size: 14px; line-height: 1.75; color: var(--text); flex: 1; }
.event-card__footer { margin-top: 16px; }

/* ===== CONCEPT (index brief) ===== */
.concept-home__lead { font-size: 16px; line-height: 1.9; max-width: 700px; margin: 0 auto 40px; text-align: center; }
.concept-points { display: grid; grid-template-columns: 1fr; gap: 20px; }
.concept-point { display: flex; align-items: flex-start; gap: 18px; background: var(--bg); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.concept-point__icon { flex-shrink: 0; width: 50px; height: 50px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.concept-point__icon svg { width: 24px; height: 24px; }
.concept-point__title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.concept-point__text { font-size: 14px; line-height: 1.7; color: #555; }

/* ===== WORKS GRID ===== */
.works-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.work-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); }
.work-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.work-card__img-wrap { overflow: hidden; }
.work-card__img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.45s ease; }
.work-card:hover .work-card__img { transform: scale(1.06); }
.work-card__body { padding: 20px; }
.work-card__tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary); border: 1.5px solid var(--primary); padding: 2px 10px; border-radius: 3px; margin-bottom: 10px; }
.work-card__title { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 6px; line-height: 1.4; }
.work-card__meta { font-size: 13px; color: var(--gray-mid); margin-bottom: 8px; }
.work-card__text { font-size: 14px; line-height: 1.7; color: #555; }

/* Works filter */
.works-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; justify-content: center; }
.works-filter__btn { padding: 8px 18px; font-size: 14px; font-weight: 500; border: 2px solid var(--gray-light); border-radius: 20px; background: var(--bg); cursor: pointer; color: var(--text); transition: all var(--transition); }
.works-filter__btn:hover, .works-filter__btn.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== REASONS ===== */
.reasons-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.reason-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 24px; text-align: center; transition: box-shadow var(--transition), transform var(--transition); }
.reason-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.reason-card__icon { width: 68px; height: 68px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.reason-card__icon svg { width: 30px; height: 30px; }
.reason-card__num { font-family: var(--font-en); font-size: 12px; color: var(--primary); letter-spacing: 0.18em; margin-bottom: 8px; display: block; }
.reason-card__title { font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 12px; line-height: 1.4; }
.reason-card__text { font-size: 14px; line-height: 1.8; color: #555; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.testimonial-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-top: 4px solid var(--primary); transition: box-shadow var(--transition), transform var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.testimonial-card__inner { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.testimonial-card__img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.testimonial-card__stars { color: var(--accent); font-size: 18px; letter-spacing: 2px; margin-bottom: 8px; }
.testimonial-card__text { font-size: 14px; line-height: 1.85; color: var(--text); margin-bottom: 12px; position: relative; }
.testimonial-card__text::before { content: '\201C'; font-family: var(--font-en); font-size: 48px; color: rgba(192,57,43,0.15); line-height: 1; position: absolute; top: -8px; left: -4px; }
.testimonial-card__name { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 2px; }
.testimonial-card__profile { font-size: 13px; color: var(--gray-mid); line-height: 1.6; }

/* ===== STAFF ===== */
.staff-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.staff-card { text-align: center; transition: transform var(--transition); }
.staff-card:hover { transform: translateY(-4px); }
.staff-card__img { width: 180px; height: 220px; object-fit: cover; border-radius: var(--radius-lg); margin: 0 auto 16px; box-shadow: var(--shadow); }
.staff-card__position { font-size: 12px; color: var(--primary); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 4px; }
.staff-card__name { font-size: 20px; font-weight: 700; color: var(--heading); margin-bottom: 2px; }
.staff-card__name-ruby { font-size: 12px; font-weight: 400; color: var(--gray-mid); display: block; margin-bottom: 14px; }
.staff-card__message { font-size: 13px; line-height: 1.8; color: #555; background: var(--bg-alt); border-radius: var(--radius); padding: 14px 16px; text-align: left; border-left: 3px solid var(--primary); }

/* ===== MODEL HOUSE ===== */
.modelhouse-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.modelhouse-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow var(--transition), transform var(--transition); }
.modelhouse-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.modelhouse-card__img-wrap { overflow: hidden; }
.modelhouse-card__img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.4s ease; }
.modelhouse-card:hover .modelhouse-card__img { transform: scale(1.05); }
.modelhouse-card__body { padding: 22px; }
.modelhouse-card__label { font-family: var(--font-en); font-size: 11px; color: var(--primary); letter-spacing: 0.18em; display: block; margin-bottom: 6px; font-style: italic; }
.modelhouse-card__title { font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 10px; line-height: 1.4; }
.modelhouse-card__info { font-size: 13px; color: var(--gray-mid); margin-bottom: 16px; display: flex; flex-direction: column; gap: 5px; }
.modelhouse-card__info-item { display: flex; gap: 6px; }

/* ===== ACCESS ===== */
.access__inner { display: flex; flex-direction: column; gap: 32px; }
.access__map { width: 100%; height: 300px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.access__map iframe { width: 100%; height: 100%; border: 0; }
.access__info-title { font-size: 20px; font-weight: 700; color: var(--heading); padding-bottom: 12px; border-bottom: 2px solid var(--primary); margin-bottom: 16px; }
.access__table { width: 100%; border-collapse: collapse; }
.access__table th, .access__table td { padding: 12px 8px; font-size: 14px; border-bottom: 1px solid var(--gray-light); line-height: 1.65; text-align: left; }
.access__table th { color: var(--gray-mid); font-weight: 500; width: 100px; white-space: nowrap; }
.access__area { background: var(--bg-alt); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; }
.access__area-title { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.access__area p { font-size: 14px; line-height: 1.7; color: var(--text); }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--bg-alt2); padding: 80px 0; text-align: center; }
.cta-section__label { font-family: var(--font-en); font-size: 13px; color: var(--primary); letter-spacing: 0.2em; display: block; margin-bottom: 14px; font-style: italic; }
.cta-section__title { font-size: 22px; font-weight: 700; color: var(--heading); line-height: 1.5; margin-bottom: 12px; }
.cta-section__sub { font-size: 15px; color: #555; margin-bottom: 28px; line-height: 1.8; }
.cta-section__tel { display: block; font-size: 34px; font-weight: 700; color: var(--primary); letter-spacing: 0.05em; margin-bottom: 6px; text-decoration: none; line-height: 1; }
.cta-section__tel:hover { opacity: 0.8; }
.cta-section__tel-note { font-size: 13px; color: var(--gray-mid); margin-bottom: 28px; }
.cta-section__btn-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== FOOTER ===== */
.footer { background: var(--secondary); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer__inner { display: flex; flex-direction: column; gap: 36px; padding-bottom: 40px; }
.footer__logo { display: flex; flex-direction: column; line-height: 1.3; margin-bottom: 14px; }
.footer__logo-en { font-family: var(--font-en); font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.18em; font-style: italic; }
.footer__logo-ja { font-size: 20px; font-weight: 700; color: #fff; }
.footer__catch { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.75; }
.footer__nav-title { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.1em; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer__nav-list { display: flex; flex-direction: column; gap: 8px; }
.footer__nav-list a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer__nav-list a:hover { color: #fff; }
.footer__tel { font-size: 26px; font-weight: 700; color: #fff; display: block; margin-bottom: 4px; letter-spacing: 0.04em; }
.footer__hours { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.footer__sns { display: flex; gap: 10px; }
.footer__sns-link { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-size: 14px; transition: all var(--transition); }
.footer__sns-link:hover { background: var(--primary); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; text-align: center; }
.footer__copyright { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ===== MOBILE FOOTER BAR ===== */
.mobile-footer-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,0.12); display: flex; height: 60px; }
.mobile-footer-bar__btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; gap: 3px; cursor: pointer; text-decoration: none; border: none; background: none; transition: background var(--transition); }
.mobile-footer-bar__btn + .mobile-footer-bar__btn { border-left: 1px solid #eee; }
.mobile-footer-bar__btn--tel { color: var(--secondary); }
.mobile-footer-bar__btn--tel:hover { background: #f5f5f5; }
.mobile-footer-bar__btn--reserve { background: var(--primary); color: #fff; }
.mobile-footer-bar__btn--reserve:hover { background: var(--primary-dark); }
.mobile-footer-bar__btn--request { color: var(--primary); }
.mobile-footer-bar__btn--request:hover { background: #fff5f4; }
.mobile-footer-bar__icon { font-size: 20px; line-height: 1; }

/* ===== SCROLL FADE IN ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: 0.1s; }
.fade-in-d2 { transition-delay: 0.2s; }
.fade-in-d3 { transition-delay: 0.3s; }

/* ===== CONCEPT PAGE ===== */
.concept-philosophy { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.concept-philosophy__img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.concept-philosophy__lead { font-size: 20px; font-weight: 700; color: var(--heading); line-height: 1.7; margin-bottom: 20px; }
.concept-philosophy__text { font-size: 15px; line-height: 1.95; color: var(--text); }
.strengths-list { display: flex; flex-direction: column; gap: 36px; }
.strength-item { background: var(--bg); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.strength-item__img-wrap { overflow: hidden; }
.strength-item__img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s ease; }
.strength-item:hover .strength-item__img { transform: scale(1.04); }
.strength-item__body { padding: 28px; }
.strength-item__num { font-family: var(--font-en); font-size: 48px; font-weight: 400; color: rgba(192,57,43,0.12); line-height: 1; margin-bottom: 4px; }
.strength-item__title { font-size: 20px; font-weight: 700; color: var(--heading); margin-bottom: 14px; line-height: 1.4; }
.strength-item__text { font-size: 15px; line-height: 1.95; color: var(--text); }
.materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.material-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; }
.material-card__img { width: 100%; height: 130px; object-fit: cover; }
.material-card__body { padding: 14px; }
.material-card__title { font-size: 14px; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.material-card__text { font-size: 12px; color: #666; line-height: 1.55; }
.performance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.performance-item { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 16px; text-align: center; }
.performance-item__value { font-size: 40px; font-weight: 700; color: var(--primary); font-family: var(--font-en); line-height: 1; margin-bottom: 6px; }
.performance-item__unit { font-size: 18px; }
.performance-item__label { font-size: 14px; font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.performance-item__text { font-size: 12px; color: #666; line-height: 1.6; }
.process-list { display: flex; flex-direction: column; gap: 0; position: relative; }
.process-list::before { content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: var(--gray-light); z-index: 0; }
.process-step { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 32px; position: relative; }
.process-step:last-child { padding-bottom: 0; }
.process-step__num { flex-shrink: 0; width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-size: 18px; font-weight: 600; z-index: 1; position: relative; }
.process-step__title { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 6px; padding-top: 10px; }
.process-step__text { font-size: 14px; line-height: 1.75; color: #555; }

/* ===== COMPANY PAGE ===== */
.rep-message { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.rep-message__img { width: 160px; height: 200px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); flex-shrink: 0; }
.rep-message__position { font-size: 13px; color: var(--primary); font-weight: 700; letter-spacing: 0.05em; display: block; margin-bottom: 4px; }
.rep-message__name { font-size: 22px; font-weight: 700; color: var(--heading); }
.rep-message__name-en { font-family: var(--font-en); font-size: 14px; color: var(--gray-mid); display: block; margin-top: 2px; margin-bottom: 18px; font-style: italic; }
.rep-message__text { font-size: 15px; line-height: 1.95; color: var(--text); }
.company-table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; }
.company-table th, .company-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--gray-light); line-height: 1.65; text-align: left; vertical-align: top; }
.company-table th { color: var(--gray-mid); font-weight: 500; width: 120px; white-space: nowrap; background: var(--bg-alt); }

/* ===== CONTACT PAGE ===== */
.contact-methods { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
.contact-method { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; text-align: center; transition: box-shadow var(--transition), transform var(--transition); }
.contact-method:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.contact-method__icon { font-size: 40px; margin-bottom: 12px; line-height: 1; }
.contact-method__title { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.contact-method__text { font-size: 14px; color: #555; line-height: 1.75; margin-bottom: 14px; }
.contact-tel { font-size: 26px; font-weight: 700; color: var(--primary); display: block; }
.contact-tel-note { font-size: 12px; color: var(--gray-mid); margin-top: 4px; }
.contact-form { background: var(--bg); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px 24px; }
.form-group { margin-bottom: 24px; }
.form-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.form-required { font-size: 11px; color: #fff; background: var(--primary); padding: 2px 8px; border-radius: 3px; font-weight: 700; }
.form-optional { font-size: 11px; color: var(--gray-mid); background: var(--gray-light); padding: 2px 8px; border-radius: 3px; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 12px 16px; font-size: 15px; font-family: var(--font-ja); color: var(--text); border: 2px solid #ddd; border-radius: var(--radius); background: var(--bg); transition: border-color var(--transition), box-shadow var(--transition); appearance: none; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }
.form-textarea { height: 140px; resize: vertical; }
.form-note { font-size: 12px; color: var(--gray-mid); margin-top: 6px; }
.form-radio-group { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.form-radio-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.form-radio-label input { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.form-privacy { font-size: 13px; color: var(--gray-mid); text-align: center; margin-bottom: 20px; line-height: 1.75; }
.form-privacy a { color: var(--primary); text-decoration: underline; }
.form-submit { text-align: center; }

/* ===== NEWS/INFO BADGE ===== */
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; }
.badge--red { background: var(--primary); color: #fff; }
.badge--gold { background: var(--accent); color: var(--secondary); }
.badge--outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }

/* ===== INFO BOX ===== */
.info-box { background: var(--bg-alt); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; font-size: 14px; line-height: 1.7; color: var(--text); }

/* ===== RESPONSIVE 768px ===== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-footer-bar { display: none; }
  .hamburger { display: none; }
  .header__nav, .header__cta { display: flex; }
  .section { padding: 100px 0; }
  .hero__catch { font-size: 36px; }
  .hero__label { font-size: 24px; }
  .hero__arrow { width: 52px; height: 52px; font-size: 22px; }
  .hero__arrow--prev { left: 24px; }
  .hero__arrow--next { right: 24px; }
  .hero-banner img { height: 170px; }
  .hero-banner__title { font-size: 15px; }
  .events__grid { grid-template-columns: repeat(3, 1fr); }
  .concept-points { grid-template-columns: repeat(3, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card__inner { flex-direction: row; }
  .testimonial-card__img { width: 200px; height: auto; min-height: 160px; }
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
  .modelhouse-grid { grid-template-columns: repeat(2, 1fr); }
  .access__inner { flex-direction: row; gap: 40px; }
  .access__map { flex: 1; height: 380px; }
  .access__info { flex: 1; }
  .materials-grid { grid-template-columns: repeat(4, 1fr); }
  .performance-grid { grid-template-columns: repeat(4, 1fr); }
  .strength-item { flex-direction: row; }
  .strength-item:nth-child(even) { flex-direction: row-reverse; }
  .strength-item__img-wrap { width: 44%; flex-shrink: 0; }
  .strength-item__img { width: 100%; height: 100%; min-height: 260px; }
  .strength-item__body { flex: 1; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
  .rep-message { flex-direction: row; align-items: flex-start; }
  .rep-message__img { width: 200px; height: 250px; }
  .contact-methods { grid-template-columns: repeat(3, 1fr); }
  .concept-philosophy { flex-direction: row; gap: 56px; align-items: flex-start; }
  .concept-philosophy__img { width: 42%; flex-shrink: 0; max-width: none; }
  .process-list::before { left: 23px; }
  .footer__inner { flex-direction: row; flex-wrap: wrap; gap: 0; justify-content: space-between; }
  .footer__logo-col { flex: 0 0 300px; }
  .footer__nav { flex: 0 0 160px; }
  .footer__contact-col { flex: 0 0 220px; }
  .contact-form { padding: 40px; }
  .section-title__ja { font-size: 27px; }
}

@media (min-width: 1024px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__catch { font-size: 44px; }
  .hero__sub { font-size: 16px; }
  .section-title__ja { font-size: 30px; }
  .contact-form { padding: 52px; }
}
