/* ===========================
   Type3: コンセプト重視型
   カラーテーマ: チャコール × オフホワイト × テラコッタ
=========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #2a2a2a;
  background: #faf9f7;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --charcoal: #2a2a2a;
  --charcoal-light: #3d3d3d;
  --terracotta: #b5603a;
  --terracotta-light: #cc7a55;
  --offwhite: #faf9f7;
  --cream: #f0ece4;
  --white: #ffffff;
  --gray: #888;
  --text-light: #666;
}

/* ===========================
   ヘッダー（透明→スクロールで白）
=========================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s;
}
#header.scrolled {
  background: rgba(250,249,247,0.97);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.logo a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  transition: color 0.4s;
}
#header.scrolled .logo a { color: var(--charcoal); }
.logo span {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-top: 2px;
}

.global-nav ul {
  display: flex;
  gap: 32px;
}
.global-nav ul li a {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.global-nav ul li a:hover { color: var(--terracotta-light); }
#header.scrolled .global-nav ul li a { color: var(--charcoal-light); }
#header.scrolled .global-nav ul li a:hover { color: var(--terracotta); }

.btn-header-contact {
  background: var(--terracotta);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.btn-header-contact:hover { background: var(--terracotta-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  transition: background 0.4s;
}
#header.scrolled .hamburger span { background: var(--charcoal); }

/* ===========================
   ファーストビュー（フルスクリーン）
=========================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
#hero img.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 12s ease infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(42,42,42,0.45);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 40px;
}
.hero-content .catch-en {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero-content .catch {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  margin-bottom: 20px;
}
.hero-content .sub {
  font-size: 1rem;
  opacity: 0.85;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-hero-primary {
  background: var(--terracotta);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s;
}
.btn-hero-primary:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
}
.btn-hero-secondary {
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.4);
  animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ===========================
   コンセプトセクション
=========================== */
#concept {
  padding: 120px 60px;
  background: var(--offwhite);
}
.concept-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.concept-text .label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.concept-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 24px;
}
.concept-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 14px;
}
.btn-concept {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 3px;
  transition: color 0.2s;
}
.btn-concept:hover { color: var(--charcoal); border-color: var(--charcoal); }
.concept-img {
  position: relative;
}
.concept-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}
.concept-img::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 60%; height: 60%;
  border: 2px solid var(--terracotta);
  border-radius: 2px;
  z-index: -1;
}

/* ===========================
   特徴
=========================== */
#features {
  padding: 100px 60px;
  background: var(--cream);
}
.features-inner { max-width: 960px; margin: 0 auto; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
}
.section-header .divider {
  width: 32px; height: 2px;
  background: var(--terracotta);
  margin: 14px auto 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  padding: 36px 20px;
  text-align: center;
  border-radius: 2px;
}
.feature-card .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===========================
   サービス
=========================== */
#services {
  padding: 100px 60px;
  background: var(--offwhite);
}
.services-inner { max-width: 960px; margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--cream);
}
.service-card {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: var(--charcoal);
}
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s, transform 0.4s;
}
.service-card:hover img {
  opacity: 0.5;
  transform: scale(1.04);
}
.service-card-body {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--white);
}
.service-card-body .num {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--terracotta-light);
  margin-bottom: 6px;
}
.service-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card-body p {
  font-size: 0.8rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
}
.service-card:hover .service-card-body p { max-height: 80px; }
.btn-service {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--terracotta-light);
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 6px;
}

/* ===========================
   施工事例
=========================== */
#works {
  padding: 100px 60px;
  background: var(--cream);
}
.works-inner { max-width: 960px; margin: 0 auto; }
.works-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.work-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.5s;
}
.work-item:first-child img { min-height: 420px; }
.work-item:hover img { transform: scale(1.04); }
.work-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(42,42,42,0.8), transparent);
  color: var(--white);
  padding: 20px 14px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-item:hover .work-label { opacity: 1; }
.works-more {
  text-align: center;
  margin-top: 36px;
}
.btn-more {
  display: inline-block;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  padding: 12px 40px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}
.btn-more:hover { background: var(--charcoal); color: var(--white); }

/* ===========================
   お客様の声
=========================== */
#voices {
  padding: 100px 60px;
  background: var(--offwhite);
}
.voices-inner { max-width: 960px; margin: 0 auto; }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card {
  padding: 32px 24px;
  background: var(--white);
  border-top: 3px solid var(--terracotta);
}
.voice-stars { color: var(--terracotta); font-size: 0.9rem; margin-bottom: 14px; }
.voice-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 18px;
}
.voice-author { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); }
.voice-author span { font-weight: 400; color: var(--gray); margin-left: 8px; }

/* ===========================
   お問い合わせ
=========================== */
#contact {
  padding: 100px 60px;
  background: var(--charcoal);
}
.contact-inner { max-width: 680px; margin: 0 auto; }
.contact-inner .section-header .label { color: var(--terracotta-light); }
.contact-inner .section-header h2 { color: var(--white); }
.contact-inner .section-header .divider { background: var(--terracotta); }
.contact-form { margin-top: 40px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.82rem;
  color: rgba(255,255,255,0.75); margin-bottom: 6px; font-weight: 600;
}
.form-group label .required {
  background: var(--terracotta); color: var(--white);
  font-size: 0.68rem; padding: 2px 6px; border-radius: 2px; margin-left: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  color: var(--white); font-size: 0.88rem; font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--terracotta);
}
.form-group select option { color: var(--charcoal); background: var(--white); }
.form-group textarea { height: 130px; resize: vertical; }
.btn-submit {
  display: block; width: 100%;
  background: var(--terracotta); color: var(--white);
  border: none; padding: 15px;
  font-size: 0.95rem; font-weight: 700; border-radius: 2px;
  cursor: pointer; letter-spacing: 0.1em;
  transition: background 0.2s; font-family: inherit;
}
.btn-submit:hover { background: var(--terracotta-light); }

/* ===========================
   フッター
=========================== */
#footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.5);
  padding: 48px 60px 20px;
}
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-info p { font-size: 0.78rem; line-height: 2.1; }
.footer-nav h4 {
  font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.7);
  margin-bottom: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-nav ul li { margin-bottom: 7px; }
.footer-nav ul li a {
  font-size: 0.78rem; color: rgba(255,255,255,0.45); transition: color 0.2s;
}
.footer-nav ul li a:hover { color: var(--terracotta-light); }
.footer-bottom {
  max-width: 960px; margin: 16px auto 0;
  text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.3);
}

/* ===========================
   モバイル
=========================== */
@media (max-width: 900px) {
  #header { padding: 0 20px; }
  .global-nav, .btn-header-contact { display: none; }
  .global-nav.open {
    display: block;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(250,249,247,0.98);
    padding: 20px; z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .global-nav.open ul { flex-direction: column; gap: 0; }
  .global-nav.open ul li a {
    color: var(--charcoal); padding: 12px 0;
    border-bottom: 1px solid var(--cream); display: block;
  }
  .hamburger { display: flex; }

  #hero .hero-content .catch { font-size: 2rem; }
  #concept { padding: 70px 24px; }
  .concept-inner { grid-template-columns: 1fr; gap: 40px; }
  #features, #services, #works, #voices, #contact { padding: 70px 24px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .works-masonry { grid-template-columns: 1fr 1fr; }
  .work-item:first-child { grid-column: 1 / 3; grid-row: auto; }
  .voices-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  #footer { padding: 36px 24px 16px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .works-masonry { grid-template-columns: 1fr; }
  .work-item:first-child { grid-column: auto; }
}
