body, html {
    height: auto;
    line-height: 1.5;
}

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

:root {
  /* === クレコ・ラボ 既存サイト準拠カラー === */
  /* 既存サイト: 白背景 / 黒テキスト / 深緑アクセント (#2c6e3f 系) */

  /* ベース */
  --cream: #F7F5F0;           /* 既存サイトの白に近い、わずかに温かみを持つ背景 */
  --warm-white: #FAFAF7;      /* セクション背景の白 */
  --off-white: #FFFFFF;

  /* テキスト */
  --text-primary: #1A1A1A;    /* 既存サイトのほぼ黒テキスト */
  --text-secondary: #4A4A4A;  /* 本文グレー */
  --text-muted: #888888;
    /* サブテキスト */

  /* クレコ・ラボ グリーン系アクセント (既存サイトのナビ・リンク色に合わせる) */
  --creco-green: #2F6A3F;     /* メインアクセント: 既存サイトの深緑 */
  --creco-green-light: #4A8C5C; /* ライトグリーン */
  --creco-green-pale: #EFF5F1; /* 薄緑背景 */

  /* ウッド系 (素材感を表現しつつ既存サイトのモノトーン寄りに抑制) */
  --wood-dark: #2E2018;       /* 濃い木色 (黒寄り) */
  --wood-mid: #6B4C2A;        /* 中間木色 */
  --wood-light: #A87C4A;      /* 明るい木色 (アクセントとして限定使用) */

  /* ダークセクション */
  --dark-bg: #1C1C1C;         /* 既存サイトのフッターに近い濃いダーク */
  --dark-bg-2: #141414;
}

.mincho{
  font-family: 'Noto Serif JP','garamond', serif;
} 

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif JP', serif;
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ── SITE HEADER (既存サイト風ナビ) ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
}

.site-nav-logo span {
  color: var(--creco-green);
}

.site-nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.site-nav-links a {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav-links a:hover {
  color: var(--creco-green);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding-top: 56px;
}

.hero-image-side {
  position: relative;
  overflow: hidden;
}

.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-image-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(247,245,240,0.25));
}

.hero-text-side {
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 50px;
  position: relative;
}

.hero-text-side::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--creco-green-light), transparent);
  opacity: 0.4;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--creco-green);
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.hero-title-jp {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--wood-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.hero-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-style: italic;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--wood-light);
  opacity: 0.4;
}
.hero-divider span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--creco-green);
  opacity: 0.6;
}

.hero-catch {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 2.4;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-catch-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 2;
  letter-spacing: 0.5px;
}

.hero-badge {
  position: absolute;
  bottom: 48px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--creco-green);
  font-family: 'Cormorant Garamond', serif;
}
.hero-badge::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--creco-green);
  opacity: 0.6;
}

/* ── SECTION BASE ── */
section {
  padding: 100px 40px;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--creco-green);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
  font-style: italic;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--wood-dark);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── INTRO ── */
.intro {
  background: var(--off-white);
  text-align: center;
  border-top: 3px solid var(--creco-green);
}

.intro-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 2.8;
  letter-spacing: 1px;
  max-width: 560px;
  margin: 0 auto;
}

.intro-wood-mark {
  margin: 56px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.intro-wood-mark::before,
.intro-wood-mark::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--creco-green-light));
  opacity: 0.5;
}
.intro-wood-mark::after {
  background: linear-gradient(to left, transparent, var(--creco-green-light));
}
.intro-wood-mark span {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--creco-green-light);
}

/* ── VALUE ── */
.value {
  background: var(--cream);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.value-image {
  position: relative;
}

.value-image img {
  width: 100%;
  display: block;
  border-radius: 1px;
}

.value-image-frame {
  position: absolute;
  inset: -12px;
  border: 1px solid var(--creco-green-light);
  opacity: 0.2;
  border-radius: 1px;
  pointer-events: none;
}

.value-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.value-feature-icon {
  width: 2px;
  height: 40px;
  background: var(--creco-green);
  flex-shrink: 0;
  margin-top: 4px;
}

.value-feature-text h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--wood-dark);
  margin-top:2px;
  margin-bottom: 19px;
}

.value-feature-text p {
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 2.1;
}

.value-quote {
  margin-top: 48px;
  padding: 24px 28px;
  border-left: 2px solid var(--creco-green);
  background: var(--creco-green-pale);
}

.value-quote p {
  font-style: italic;
  color: var(--creco-green);
  line-height: 2;
  font-family: 'Cormorant Garamond', serif;
}

/* ── MATERIAL ── */
.material {
  background: var(--dark-bg);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.material::before {
  content: 'やんばる';
  position: absolute;
  font-size: 180px;
  font-weight: 300;
  color: rgba(255,255,255,0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 20px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.material .section-label { color: var(--creco-green-light); }
.material .section-title { color: var(--cream); }

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

.material-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(247, 245, 240, 0.75);
  line-height: 2.7;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.material-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--creco-green-light);
  line-height: 2.2;
  letter-spacing: 0.5px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(74, 140, 92, 0.3);
}

.material-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.material-tag {
  padding: 8px 20px;
  border: 1px solid rgba(74, 140, 92, 0.45);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--creco-green-light);
  border-radius: 1px;
}

/* ── PRODUCT ── */
.product {
  background: var(--off-white);
}

.product-header {
  text-align: center;
  margin-bottom: 64px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: 1px;
  border: 1px solid rgba(0,0,0,0.06);
}

.product-card img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(247, 245, 240, 0.93);
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-primary);
  border-left: 2px solid var(--creco-green);
}

.product-note {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.product-note span {
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid var(--creco-green);
  color: var(--creco-green);
}

/* ── STORY ── */
.story {
  background: var(--cream);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.story-side-label {
  writing-mode: vertical-rl;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--creco-green-light);
  text-transform: uppercase;
  font-style: italic;
  padding-top: 8px;
}

.story-text {
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 2.9;
  letter-spacing: 0.5px;
}

.story-text p + p {
  margin-top: 28px;
}

/* ── DESIGNER ── */
.designer {
  background: var(--dark-bg-2);
  color: var(--cream);
  padding: 100px 40px;
}

.designer-header {
  text-align: center;
  margin-bottom: 72px;
}

.designer-header .section-label { color: var(--creco-green-light); }
.designer-header .section-title { color: var(--cream); }

.designer-main {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 72px;
}

.designer-photo {
  position: relative;
}

.designer-photo img {
  width: 100%;
  display: block;
  filter: grayscale(15%);
}

.designer-photo-caption {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: rgba(20,20,20,0.88);
  padding: 16px 24px;
}

.designer-photo-caption h3 {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--cream);
}

.designer-photo-caption p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--creco-green-light);
  margin-top: 4px;
  font-style: italic;
}

.designer-bio p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247, 245, 240, 0.72);
  line-height: 2.7;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.designer-bio-ending {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--creco-green-light) !important;
  padding-top: 20px;
  border-top: 1px solid rgba(74, 140, 92, 0.25);
}

.designer-works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.designer-works img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  filter: grayscale(10%);
}

/* ── CTA ── */
.cta {
  background: var(--creco-green);
  text-align: center;
  padding: 80px 40px;
}

.cta-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 16px;
}

.cta-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.cta-location {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  font-size: 12px;
  letter-spacing: 3px;
}

.cta-location::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
}

/* ── FOOTER ── */

.footer-logo {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 4px;
  color: rgba(247,245,240,0.5);
  margin-bottom: 8px;
}

.footer-copy {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: rgba(247,245,240,0.3);
  letter-spacing: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .site-nav-links { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image-side {
    height: 60vw;
    min-height: 400px;
  }
  .hero-text-side {
    padding: 52px 28px;
  }
  .hero-text-side::before { display: none; }
  .hero-badge { position: static; margin-top: 36px; }

  section { padding: 72px 24px; }

  .value-grid,
  .story-inner,
  .designer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .designer-main {
    margin-bottom: 20px;
  }
  .story-side-label { writing-mode: horizontal-tb; }
  .product-grid { grid-template-columns: 1fr; }
  .designer-works { grid-template-columns: 1fr 1fr; }
}

/* ── FLOATING CONTACT BUTTON ── */
.float-contact {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  /* 初期状態: 非表示 → JS でフェードイン */
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.float-contact.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 120px;
  height: 80px;
  border-radius: 10%;
  background: var(--creco-green);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.70);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.float-contact .float-pagetop{
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.float-contact a:hover {
  background: var(--creco-green-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(47, 106, 63, 0.45);
}

.float-contact-icon {
  font-size: 50px;
  line-height: 1;
  color: #fff;
  margin-top: -15px;
}

.float-contact-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  line-height: 1;
  color: #fff;
}

/* スクロールトップボタン (セット表示) */
.float-pagetop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(47,106,63,0.25);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  transition: background 0.2s, transform 0.2s;
  color: var(--creco-green);
  font-size: 14px;
  text-decoration: none;
}

.float-pagetop:hover {
  background: var(--creco-green-pale);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .float-contact {
    right: 16px;
    bottom: 20px;
  }
  .float-contact a {
    width: 60px;
    height: 60px;
  }

.float-contact-label {
  font-size: 9px;
}

.float-contact-icon {
  font-size: 30px;
  margin-top: -8px;
}
}