:root {
  --bg: #f7f4f0;
  --bg-soft: #fdfbf8;
  --fg: #222224;
  --muted: #78767a;
  --accent: #6fa9a4;
  --accent-soft: #e1f0ee;   
  --border: #ded7cf;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Yu Gothic", "YuGothic", "Hiragino Sans", "游ゴシック体", sans-serif;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  /* 下地の色（紙のベース） */
  background-color: var(--bg);
  /* 紙テクスチャを重ねる */
  background-image: url("../img/paper-texture.jpg");
  background-repeat: repeat;          /* タイル状に敷き詰める */
  background-size: 600px auto;        /* 好みで調整：400〜800pxくらい */
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 26px;
  margin: 0 0 24px;
}

.narrow {
  max-width: 760px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  background: url("assets/img/wood-shelf.jpg");
  background-size: cover;
  background-repeat: repeat;
  backdrop-filter: blur(2px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 11px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
}

.main-nav a:hover {
  color: var(--fg);
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}


/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  filter: brightness(1.03);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
  color: var(--fg);
}

.btn.ghost:hover {
  background: #fff;
}

/* Hero */

.hero {
  padding: 80px 0 0px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.4;
  margin: 0 0 16px;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  max-width: 360px;
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #fff, #f1ebe0);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 22px;
}

.hero-card-label {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(34, 34, 36, 0.06);
  color: var(--muted);
}

.hero-card-title {
  margin: 12px 0 8px;
  font-size: 18px;
}

.hero-card-text {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Points */

.section-points {
  background: var(--bg-soft);
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.point-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 18px 22px;
  border: 1px solid rgba(222, 215, 207, 0.9);
}

.point-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.point-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Monitor */

.section-monitor {
  background: #202022;
  color: #f7f4f0;
}

.monitor-inner {
  max-width: 820px;
}

.monitor-label {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 244, 240, 0.4);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-monitor h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.section-monitor h2 span {
  font-size: 18px;
  display: block;
  margin-top: 4px;
}

.monitor-list {
  margin: 12px 0 10px 18px;
  padding: 0;
  font-size: 14px;
  color: #d0cbc4;
}

.monitor-list li {
  margin-bottom: 4px;
}

.monitor-note {
  font-size: 12px;
  color: #b7b0a7;
  margin: 0 0 18px;
}

/* Text section */

.section-text .narrow {
  color: var(--fg);
}

.section-text h2 {
  font-size: 24px;
  margin: 0 0 16px;
}

.section-text p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}

/* Types */

.section-types {
  background: var(--bg-soft);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.type-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 18px 20px;
  border: 1px solid rgba(222, 215, 207, 0.9);
}

.type-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.type-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}

.type-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Features */

.section-features {
  background: #f7f4f0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 18px 20px;
  border: 1px solid rgba(222, 215, 207, 0.9);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.feature-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* 15sec */

.section-15sec .narrow h2 {
  font-size: 22px;
  margin: 0 0 14px;
}

.section-15sec .narrow p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}

/* Usecases */

.section-usecases {
  background: var(--bg-soft);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.usecase-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 16px 18px;
  border: 1px solid rgba(222, 215, 207, 0.9);
}

.usecase-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.usecase-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Contact */

.section-contact {
  background: #202022;
  color: #f7f4f0;
}

.contact-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.section-contact h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.section-contact p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #d0cbc4;
}

.contact-note {
  font-size: 12px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Footer */

.site-footer {
  padding: 24px 0 26px;
  border-top: 1px solid rgba(222, 215, 207, 0.9);
  background: #f7f4f0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer-brand {
  margin: 0;
}

.footer-copy {
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .contact-inner {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .section {
    padding: 60px 0;
  }
}
/* ヒーロー全体の高さを控えめにする */
.hero {
  position: relative;
  /* 高さを少し低めに設定 */
  height: 55vh;         /* ← まずはこのくらいに。もっと棚を見せたいなら 50vh とか */
  min-height: 360px;    /* ← 最低高さも少しだけ確保 */
  display: flex;
  align-items: center;
  overflow: hidden;

  /* もともとの余白も軽めにしておく */
  padding: 40px 0 32px;
}

/* 動画を背景として全画面フィット */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* テキストの背景をほんのり暗くする場合 */
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0 0;
  background: rgba(247, 244, 240, 0.35); /* 紙背景を透かす */
  backdrop-filter: blur(2px);
}
.hero {
  position: relative;
  height: 55vh;      /* 好きな高さでOK。棚見せたいなら 50〜60vh */
  min-height: 360px;
  overflow: hidden;
}

/* 画像を全面に敷く */
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 画像をトリミングして全画面にフィット */
  z-index: 1;
}

/* テキスト側（今の hero-overlay をそのまま使う） */
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0 0;      /* 下の余白はさっき削った感じでOK */
  background: rgba(247, 244, 240, 0.35);
  backdrop-filter: blur(2px);
}


.site-logo {
  height: 64px;       /* 大きさ調整（好きな数字に変更OK） */
  width: auto;
  display: block;
}
/* 見出しを Kaisei に変更 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Kaisei Decol', serif;
}
/* 料金プラン */
.section-plans {
  background: #fdfbf8;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.plan-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 18px 20px;
  border: 1px solid rgba(222,215,207,0.9);
}

.plan-card--main {
   border-width: 1px; /* ← 2pxでもOK */
  border-color: rgba(222,215,207,0.9); /* ← グレーに統一 */
}

.plan-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.plan-price {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.plan-meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

.plans-note,
.works-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}



/* カードの基本アニメーション */
.plan-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 18px 20px;
  border: 1px solid rgba(222,215,207,0.9);
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* 通常より強調されるメインプラン */
.plan-card--main {
  border-width: 2px;
  border-color: var(--accent);
}

/* ホバーで浮く＋影つく＋色変わる */
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent); /* ← スモークブルー枠線に変わる */
}


/* 実績などは既存 .works-grid, .work-card 流用でOK */

/* 制作フロー */
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(222,215,207,0.7);
}

.flow-list h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.flow-list p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* FAQ */
.section-faq .faq-item + .faq-item {
  margin-top: 16px;
}

.section-faq h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.section-faq p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
/* =========================
   Works（実績） DVD棚 横スクロール
   ========================= */

.section-works {
  background: #ffffff;
  padding-top: 0px;
  padding-bottom: 60px;
}

/* 棚：画面幅いっぱい */
.works-shelf {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 40px clamp(20px, 6vw, 60px) 40px;
  background-color: #f2e3cc; /* ベース色（明るい木） */

  /* ★ここがポイント：../img/〜 にする */
  background-image: url("../img/wood-shelf.jpg");

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
  border-radius: 0px;
}

/* 横スクロールのレール */
.works-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  overflow-x: auto;
  padding: 0px 60px 0px; /* 矢印の下に動画がくるよう両端に余白 */
  margin-top: 8px;     /* ★ここで全体を少し下げて“遊び”を作る */
  scroll-behavior: auto;
}

/* スクロールバー非表示 */
.works-track::-webkit-scrollbar {
  height: 0;
}
.works-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 左右ボタン（動画の上にかぶせる） */
.works-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #444;
   transition:
    transform 0.22s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.22s ease,
    background 0.22s ease;
  z-index: 5;
}

.works-btn--prev {
  left: 20px;
}

.works-btn--next {
  right: 20px;
}

.works-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  background: #ffffff;
}

/* モバイルでは矢印を隠す */
@media (max-width: 720px) {
  .works-btn {
    display: none;
  }
}

/* ---- DVDパッケージ風カード ---- */

.work-card {
  position: relative;
  flex: 0 0 340px;
  max-width: 340px;
  border-radius: 18px 18px 16px 16px;
  background: #fdfdfd;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28),
    box-shadow 0.25s ease-out;
}

/* 左の背表紙 */
.work-card::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 6px;
  left: -10px;
  width: 12px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, #d5d1c9, #f2ede4);
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.25);
}

/* 下の影 */
.work-card::after {
  opacity: 0.6; /* ← 0.45 → 0.6 にして濃くする */
  filter: blur(8px); /* ← ボケを強くして床に落ちてる感を出す */

  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.55) 0%,  /* ← 濃さUP */
    transparent 80%
  );
}
.works-shelf {
  position: relative;   /* ← これ必須 */
  background: url("../img/wood-shelf.jpg") center/cover no-repeat;
  padding: 24px 0 32px;
  margin-bottom: 0;
}

.works-shelf::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3;
  height: 40px;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}


/* 上にふわっと浮く（控えめに） */
.work-card:hover {
  transform: translateY(-6px) translateX(2px);  /* ★-8 → -6 に */
  box-shadow:
    0 16px 26px rgba(0, 0, 0, 0.22),
    0 3px 5px rgba(0, 0, 0, 0.35);
}

/* サムネ：16:9 動画 */
.work-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ccc;
}

.work-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- テキストオーバーレイ（ホバー時のみ） ---- */

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.55)
  );
  color: #fdfbf8;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  pointer-events: none;
}

.work-card:hover .work-overlay {
  opacity: 1;
  transform: translateY(0);
}

.work-overlay-inner {
  position: absolute;
  inset: 12px 14px 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}

.work-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

/* チップ・尺 */
.work-chip,
.work-duration {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.55);
  color: #fdfbf8;
  backdrop-filter: blur(4px);
}

.work-overlay h3 {
  margin: 0;
  font-size: 14px;
}

.work-tagline {
  margin: 0;
  font-size: 12px;
}

.work-meta {
  margin: 0;
  font-size: 11px;
  opacity: 0.9;
}

/* スマホ時はカードを少し細く */
@media (max-width: 720px) {
  .work-card {
    flex-basis: 260px;
    max-width: 260px;
  }
}
.work-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  /* ★棚の上に置いてあるようにする実在感の強い影 */
  box-shadow:
    0 3px 4px rgba(0, 0, 0, 0.25),   /* 接地影（濃くて狭い影：棚に触れている） */
    0 12px 20px rgba(0, 0, 0, 0.12); /* 広がり影（立体感） */
}

/* カードの通常状態 */
.work-card {
  position: relative;
  flex: 0 0 340px;
  max-width: 340px;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  scroll-snap-align: start;

  /* ここがポイント ↓ */
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  /* 棚の上に置いてある影（下方向だけ濃い） */
  box-shadow:
    0 3px 4px rgba(0, 0, 0, 0.25),   /* 接地影 */
    0 12px 20px rgba(0, 0, 0, 0.12); /* 周囲のふわっと影 */
}

/* ホバー時：上には動かさず、少しだけ拡大する */
.work-card:hover {
  transform: scale(1.02);  /* 1.01〜1.03 好みで */
  box-shadow:
    0 16px 26px rgba(0, 0, 0, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.20);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.section-features {
  position: relative;
  padding: 100px 0;
  color: #fff;
  background: url("../img/ekonnte.jpg") center/cover no-repeat;
}

.section-features::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* まずはこのくらいで確認 */
  backdrop-filter: blur(2px);
  z-index: 1;
}

.section-features .container,
.section-features .features-grid,
.section-features .feature-card,
.section-features .section-header {
  position: relative;
  z-index: 2;
}

/* h2を SEO だけ残して非表示にするやつ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 導入部分 */
.features-intro {
  text-align: left;
  max-width: 720px;
  margin: 0 auto 40px;
  color: #fff;
}

.features-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 8px;
}

.features-lead {
  font-size: clamp(24px, 3vw, 30px);
  margin: 0 0 14px;
}

.features-text {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

/* 縦に流れるLP風ブロック */
.features-flow {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-step {
  position: relative;
  padding: 18px 20px 18px 64px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25); /* ekonte 背景の上で少しだけ持ち上げる */
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(3px);
  color: #fff;
}

.feature-step-number {
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.feature-step-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature-step-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.95;
}

/* スマホでの余白調整 */
@media (max-width: 720px) {
  .section-features {
    padding: 72px 0;
  }
  .feature-step {
    padding: 16px 16px 16px 52px;
  }
}
.section-process {
  padding: 120px 0;
  background: #1a1a1a; 
  color: #fff;
}

.process-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.process-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.6;
  margin-bottom: 8px;
}

.process-lead {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}

.process-text {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.8;
}

/* 横スクロールギャラリー */
.process-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
}

.process-gallery img {
  height: 260px;
  border-radius: 12px;
  scroll-snap-align: start;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* 全体ラッパー */
.section-maplinks {
  padding: 40px 0 80px;
}

.maplinks-wrapper {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
}

.maplinks-bg {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* マーカー共通 */
.maplink {
  position: absolute;
  text-decoration: none;
}

.maplink .dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent); 
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
  border: 1px solid rgba(180,180,180,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.maplink:hover .dot {
  transform: scale(1.15);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

/* ラベル（ホバーでふわっと出る） */
.maplink .label {
  position: absolute;
  top: 50%;
  left: 120%;
  white-space: nowrap;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.94);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: #333;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.maplink:hover .label {
  opacity: 1;
  transform: translateY(-50%) translateX(6px);
}

/* ▼ ▼ マーカー位置（自由に調整できる） ▼ ▼ */

.mark-1 { top: 37%; left: 18%; }
.mark-2 { top: 25%; left: 65%; }
.mark-3 { top: 62%; left: 30%; }
.mark-4 { top: 78%; left: 78%; }

/* スマホでは縦に並べて見せる */
@media (max-width: 720px) {
  .maplinks-wrapper {
    border-radius: 0;
  }
  .maplink {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
  }
  .maplink .label {
    position: static;
    opacity: 1;
    transform: none;
  }
  .maplink .dot {
    transform: scale(1);
  }
}

body {
  background-color: var(--bg);
  background-image: url("../img/gettyimages-1144926643-612x612.jpg");
  background-repeat: repeat;
  background-size: 1920px auto;
}

/* 実績セクション全体の余白をゼロに */
#works.section {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* 棚ボックス（木目部分）の余白をゼロに */
.works-shelf {
  background: url("../img/wood-shelf.jpg") center/cover no-repeat;
  padding: 24px 0 32px;  /* ← 下もちゃんと余白を持たせる */
  margin-bottom: 0;      /* ← ここだけ 0 にして“外側のスキマ”を消す */
  position: relative; /* ← ::after を使うなら必須 */
}
/* 実績セクションだけ下の余白を詰める */
.section-works {
  padding-bottom: 0;
}
/* 棚板の下に落ちる影 */
.works-shelf::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;          /* ← 影の位置（調整可） */
  height: 40px;           /* ← 影の厚み（調整可） */
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.12) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}


/* 額縁セクション */
.section-maplinks {
  padding: 60px 0 80px;
}

/* 額縁本体 */
.maplinks-wrapper {
  position: relative;          /* ← これ絶対必要！！ */
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;               /* 額縁の厚み */
  background: #efe8dd;         /* 額縁の色（淡いアイボリー） */
  border: 4px solid #c6b8a4;   /* 外枠 */
  border-radius: 20px;
  box-shadow:
    0 6px 12px rgba(0,0,0,0.12),
    0 18px 30px rgba(0,0,0,0.18); /* 浮いてる影 */
}

/* 額縁の内側の細い縁（彫り装飾） */
.maplinks-wrapper::before {
  content: "";
  position: absolute;
  inset: 10px;                 /* 枠の位置 */
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.6);
  pointer-events: none;
  z-index: 1;
}

/* イラスト */
.maplinks-bg {
  width: 100%;
  display: block;
  border-radius: 12px;
  position: relative;          /* ← 重要：絶対配置にしない！ */
  z-index: 0;
}

.dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);  /* スモークブルー */
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* ラベルが額縁の外にはみ出る場合は、left / right の位置で微調整 */


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;              /* ← 旧 .hero の余白を殺す */
  position: relative;
  background: var(--paper-bg);
}

.hero.hero-logo .hero-center{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
}

/* ロゴ */
.hero-logo-img{
  width: min(560px, 86vw);
  height: auto;
  display: block;
}

/* 任意テキスト */
.hero-tagline{
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--muted);
}

/* ボタン */
.hero-actions{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 下矢印 */
.hero-scroll{
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
  font-size: 14px;
}
/* =========================
   HERO：ロゴ中央レイアウト
========================= */

.hero.hero-logo {
  min-height: 60vh;              /* 高さは好みで 60〜80vh */
  display: flex;
  align-items: center;           /* 縦中央 */
  justify-content: center;       /* 横中央 */
  padding: 0;                    /* 旧 .hero の余白を殺す */
  position: relative;
  background: var(--paper-bg);   /* 紙テクスチャ等 */
}

.hero.hero-logo .hero-center {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;           /* 中央寄せの核 */
  justify-content: center;
  text-align: center;
  gap: 22px;
}

/* ロゴ画像 */
.hero-logo-img {
  width: min(800px, 86vw);       /* デカくしたいならここ */
  height: auto;
  display: block;
}

/* サブコピー */
.hero-tagline {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--muted);
}

/* CTAボタン */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 下スクロール誘導 */
.hero-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
  font-size: 14px;
}

.hero.hero-logo .hero-center{
  margin-top: 48px; /* ← ここで下げる。32〜64pxで調整 */
}

.works-shelf {
  position: relative;
  overflow: visible;
}

/* 上からの光 */
.works-shelf::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.18) 35%,
    rgba(255,255,255,0.05) 55%,
    rgba(255,255,255,0) 70%
  );
  pointer-events: none;
  z-index: 1;
}
.work-card {
  position: relative;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.35),
    0 2px 6px rgba(0,0,0,0.18);
}

/* 上部の縁に当たる光 */
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0) 40%
  );
  pointer-events: none;
}
.maplinks-wrapper {
  position: relative;
}

/* 額縁上部のスポット */
.maplinks-wrapper::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 10%;
  width: 80%;
  height: 100px;
  background: radial-gradient(
    ellipse at top center,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0.15) 35%,
    rgba(255,255,255,0) 70%
  );
  pointer-events: none;
}
@keyframes light-flicker {
  0%   { opacity: 0.35; }
  50%  { opacity: 0.45; }
  100% { opacity: 0.35; }
}

.works-shelf::before {
  animation: light-flicker 6s ease-in-out infinite;
}
.works-shelf {
  box-shadow:
    inset 0 8px 18px rgba(255,255,255,0.55), /* 上面の照り返し */
    inset 0 -6px 12px rgba(0,0,0,0.25);     /* 下の落ち影 */
}
.work-card {
  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    0 6px 12px rgba(0,0,0,0.25);
}

/* 上辺が少し白くなる */
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.45),
    rgba(255,255,255,0.12) 30%,
    rgba(255,255,255,0) 55%
  );
  pointer-events: none;
}
.maplinks-wrapper::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 140px;
  background: radial-gradient(
    ellipse at top center,
    rgba(255,255,255,0.75) 0%,
    rgba(255,255,255,0.35) 35%,
    rgba(255,255,255,0) 75%
  );
  filter: blur(8px);
  pointer-events: none;
}

.docs-grid .doc-card{
  position: relative;
  overflow: hidden;
}

.docs-grid .doc-card .doc-title{
  font-family: 'Kaisei Decol', serif;
  letter-spacing: 0.06em;
}

.docs-grid .doc-card::before{
  content: "WORLD BUILDING";
  position: absolute;
  top: 14px;
  right: -22px;
  transform: rotate(12deg);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(34,34,36,0.16);
}
/* ===== 資料ギャラリー（横スクロール） ===== */
.process-gallery{
  display: flex;
  gap: 36px;
  overflow-x: auto;
  padding: 24px 64px 40px;
  scroll-snap-type: x mandatory;

  /* スクロールの挙動を上品に */
  overscroll-behavior-x: contain;

  /* スクロールバー非表示 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.process-gallery::-webkit-scrollbar{
  height: 0;
}
.process-gallery img{
  flex: 0 0 auto;
  width: min(420px, 78vw);
  height: auto;

  border-radius: 22px;
  scroll-snap-align: start;

  /* 重さのある資料感 */
  box-shadow:
    0 28px 60px rgba(0,0,0,0.45),
    0 10px 24px rgba(0,0,0,0.28);

  background: #fff;
  transition:
    transform .28s ease,
    box-shadow .28s ease;

  /* 印刷物っぽさ */
  filter: contrast(1.02) saturate(0.96);
}
.process-gallery img:hover{
  transform: translateY(-10px);
  box-shadow:
    0 36px 80px rgba(0,0,0,0.55),
    0 16px 36px rgba(0,0,0,0.35);
}
.process-gallery img{
  position: relative;
}

.process-gallery img::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0) 40%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.04) 0 1px,
      rgba(0,0,0,0) 1px 3px
    );
  mix-blend-mode: overlay;
  pointer-events:none;
}
/* レール */
.process-gallery{
  display:flex;
  gap: 34px;
  overflow-x:auto;
  padding: 22px 64px 50px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width:none;
}
.process-gallery::-webkit-scrollbar{ height:0; }

/* カード（高さを固定して見やすく） */
.process-gallery img{
  flex: 0 0 auto;
  width: min(520px, 78vw);
  height: 320px;              /* ★ここが肝：高さ固定 */
  object-fit: cover;          /* ★縦長は中でトリミング */
  object-position: center;    /* 必要なら top に */

  border-radius: 22px;
  scroll-snap-align: start;
  box-shadow: 0 28px 60px rgba(0,0,0,0.45), 0 10px 24px rgba(0,0,0,0.28);
  transition: transform .28s ease, box-shadow .28s ease;
}
.process-gallery img:hover{
  transform: translateY(-10px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.55), 0 16px 36px rgba(0,0,0,0.35);
}
.process-wrap{ position: relative; }

.process-wrap::after{
  content:"";
  position:absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 100%;
  pointer-events:none;
  background: linear-gradient(to left, rgba(0,0,0,0.55), rgba(0,0,0,0));
}
.process-wrap{
  position: relative;
}

/* 左右ボタン共通 */
.process-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: transform .18s ease, box-shadow .18s ease;
}

.process-btn:hover{
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.36);
}

.process-btn--prev{ left: 16px; }
.process-btn--next{ right: 16px; }

/* スマホでは非表示（ドラッグ前提） */
@media (max-width: 720px){
  .process-btn{ display:none; }
}
/* ===== 資料モーダル ===== */
.process-modal{
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 20, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999;
}

.process-modal.is-open{
  opacity: 1;
  pointer-events: auto;
}

.process-modal-img{
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  background: #fff;
}

/* 閉じるボタン */
.process-modal-close{
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  line-height: 1;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
}

.process-modal-close:hover{
  opacity: 1;
}

/* サムネがクリックできる感 */
.process-gallery img{
  cursor: zoom-in;
}
/* ===== 制作の流れ（アイコン版） ===== */
.section-flow{
  /* 既存の紙背景の上でも見やすいように薄い面を敷く */
  background: rgba(255,255,255,0.35);
}

.flow-grid{
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.flow-card{
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(222,215,207,0.95);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.flow-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.14);
  border-color: rgba(53,89,255,0.35); /* ほのかにアクセント */
}

.flow-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.flow-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(53,89,255,0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.flow-icon .i{
  width: 22px;
  height: 22px;
}

.flow-no{
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.flow-card h3{
  margin: 0 0 8px;
  font-size: 14px;
  font-family: 'Kaisei Decol', serif;
}

.flow-card p{
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.flow-no{
  position: absolute;
  top: 12px;
  right: 14px;

  font-size: 48px;        /* ← ここが肝：一気に大きく */
  font-weight: 700;
  letter-spacing: 0.08em;

  color: rgba(0,0,0,0.06); /* ← 超うすく */
  line-height: 1;
  pointer-events: none;
}
.flow-card{
  position: relative;   /* ← これ必須 */
}
.flow-no{
  position: absolute;
  top: -10px;
  right: 8px;

  font-size: 64px;
  font-weight: 700;
  font-family: 'Kaisei Decol', serif;

  color: rgba(0,0,0,0.04);
  z-index: 0;
}

.flow-card > *:not(.flow-no){
  position: relative;
  z-index: 1;
}
.flow-card:hover .flow-no{
  color: rgba(53,89,255,0.08); /* アクセント薄出し */
  transform: translateY(-2px);
  transition: color .2s ease, transform .2s ease;
}


/* レスポンシブ：横5→2→1 */
@media (max-width: 980px){
  .flow-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .flow-grid{ grid-template-columns: 1fr; }
}
/* ===== FAQ ===== */
.section-faq{
  background: transparent;
}

.faq-list{
  margin-top: 24px;
}

.faq-item{
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 14px 0;
}

.faq-q{
  cursor: pointer;
  position: relative;
  padding-right: 28px;
  font-weight: 600;
  font-size: 14px;
}

.faq-q::after{
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 16px;
  color: var(--muted);
  transition: transform .2s ease;
}

.faq-item.is-open .faq-q::after{
  content: "−";
}

.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .2s ease;
  opacity: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 8px;
}

.faq-item.is-open .faq-a{
  max-height: 200px;
  opacity: 1;
}
.section-features2{
  position: relative;
  padding: 86px 0 92px;
  overflow: hidden;
  color: #111;
}

.features2-bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,18,18,.78), rgba(18,18,18,.70)),
    url("../img/ekonnte.jpg")
 center/cover no-repeat;
  filter: blur(2px);
  transform: scale(1.04);
}

.features2-inner{
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.features2-eyebrow{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .28em;
  color: rgba(255,255,255,.75);
}

.features2-title{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  color: #fff;
  font-family: 'Kaisei Decol', serif;
}

.features2-lead{
  margin: 0 0 22px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  max-width: 56ch;
}

.features2-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.fcard{
  background: rgba(247,244,240,.92);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.20);
  backdrop-filter: blur(6px);
}

.fcard h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.fcard p{
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(20,20,22,.78);
}

.fkey{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(20,20,22,.55);
  border-top: 1px solid rgba(20,20,22,.10);
  padding-top: 10px;
}

.section-features2{
  text-align: center;
}
.features2-lead{
  margin-left: auto;
  margin-right: auto;
}



@media (max-width: 900px){
  .features2-grid{ grid-template-columns: 1fr; }
}
.maplinks-wrapper{
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px; /* ← 木枠の厚み */
  background: 
    linear-gradient(180deg, rgba(255,255,255,0.35), rgba(0,0,0,0.15)),
    url("../img/wood-shelf.jpg"); /* ← 木目画像 */
  background-size: cover;
  border-radius: 22px;
  box-shadow:
    0 12px 24px rgba(0,0,0,0.25),
    0 30px 60px rgba(0,0,0,0.35);
}
.maplinks-wrapper::before{
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  background: #f7f3ec;
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.18),
    inset 0 -2px 3px rgba(255,255,255,0.6);
  z-index: 1;
}
.maplinks-bg{
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.25);
}
.maplinks-wrapper::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:22px;
  background:
    radial-gradient(
      1200px 400px at 20% 0%,
      rgba(255,255,255,0.35),
      transparent 60%
    );
  pointer-events:none;
}
.maplink{
  position: absolute;
  z-index: 5; /* ← これが足りてない */
}
.dot{
  position: relative;
  z-index: 6;
}
.maplink:hover .dot{
  transform: scale(1.15);
}
.maplink{
  cursor: pointer;
}
/* HEROロゴ：影＋動く準備 */
.hero-logo-img{
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.22));
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1);
  transition: transform .18s ease-out, filter .25s ease-out;
  will-change: transform;
}

/* ついでにホバーで少しだけ浮く（任意） */
.hero-logo-img:hover{
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.28));
}

/* 全体のカーソル */
body{
cursor: url("../cursor/mb-cursor.png") 6 2, auto;

}

.process-more {
  text-align: center;
  margin-top: 28px;
}

.btn-worldview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;

  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);

  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.btn-worldview:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}



/* HEROに自然光（左上から） */
.hero.hero-logo{
  position: relative;
  overflow: hidden; /* 光がはみ出してもOKなら消してもいい */
}

/* 左上から入る光 */
.hero.hero-logo::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 1;

  /* ほんのり暖かい自然光 */
  background:
    radial-gradient(
      900px 520px at 8% 12%,
      rgba(255, 248, 236, 0.55) 0%,
      rgba(255, 248, 236, 0.22) 30%,
      rgba(255, 248, 236, 0.00) 65%
    );
  mix-blend-mode: screen;   /* 自然に“光が乗る” */
  opacity: 1.0;             /* 全体の強さ */
}

/* ロゴやボタンが光の上に来るように */
.hero.hero-logo .hero-center{
  position: relative;
  z-index: 2;
}





/* CONTACT 背景（木目 + 暗幕） */
.contact-section {
  background:
    linear-gradient(rgba(20, 22, 24, 0.40), rgba(20, 22, 24, 0.40)),
    url("../img/wood-shelf.jpg") center / cover no-repeat;
  padding: 80px 0;
  position: relative;
}

/* フォーム面（ガラス板っぽく） */
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 18px;
  color: #fff;
}

/* レイアウト */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-lead {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-size: 13px;
  opacity: 0.8;
}

.form-block input[type="text"],
.form-block input[type="email"],
.form-block textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

/* 送信ボタン */
.contact-submit {
  margin-top: 12px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: #9bb8c9;
  color: #222;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}



/* HERO基準 */
.hero.hero-logo{
  position: relative;
}

/* ニュースバー外枠（画面幅いっぱい） */
.news-bar{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

/* 中身 */
.news-bar-inner{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 12px 16px;

  text-decoration: none;
  color: #0f1a22;

  /* スモークブルーの帯 */
  background: linear-gradient(
    90deg,
    #9bb8c9 0%,
    #b6cfdd 50%,
    #9bb8c9 100%
  );

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

/* ホバー */
.news-bar-inner:hover{
  background: linear-gradient(
    90deg,
    #8faebe 0%,
    #a9c4d4 50%,
    #8faebe 100%
  );
}

/* テキスト類 */
.news-label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.news-date{
  font-size: 12px;
  opacity: 0.85;
}

.news-text{
  font-size: 13px;
  white-space: nowrap;
}

.news-arrow{
  font-size: 14px;
  opacity: 0.8;
}

/* CONTACT内の文字はすべて白基調に */
.contact-section,
.contact-section * {
  color: rgba(255, 255, 255, 0.92);
}
/* 項目見出し */
.contact-section .form-label{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 28px 0 10px;

  padding-left: 12px;
  border-left: 4px solid #9bb8c9; /* ボタンと同色 */
}

/* ===== CONTACT：縦積みを強制（最終行に置く） ===== */
.contact-section .form-block{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

/* 見出し・ラベルは必ず1行占有 */
.contact-section .form-block > .form-label,
.contact-section .form-block > label{
  display: block !important;
  width: 100% !important;
}

/* 入力欄も必ず次の行へ */
.contact-section .form-block > input,
.contact-section .form-block > textarea,
.contact-section .form-block > select{
  display: block !important;
  width: 100% !important;
}

/* ラジオのまとまりは縦積みの中の “別ブロック” として扱う */
.contact-section .radio-group{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}
.contact-section .radio-item{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

/* 「まずは、相談してみる」タイトルを大きく */
.contact-section .contact-title{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* 右下固定：TOPへ戻る */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  width: 48px;
  height: 48px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  text-decoration: none;
  font-size: 18px;
  font-weight: 700;

  background: rgba(255,255,255,0.92);
  color: #111;
  border: 1px solid rgba(0,0,0,0.12);

  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);

  transition: transform .18s ease, box-shadow .18s ease;
}

.back-to-top:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.32);
}

/* モバイルで邪魔なら消す（任意） */
@media (max-width: 720px){
  .back-to-top{ right: 12px; bottom: 12px; }
}
html{ scroll-behavior: smooth; }


/* ハンバーガー */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar{
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: rgba(20,20,22,0.8);
  border-radius: 2px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle-bar:nth-child(1){ top: 14px; }
.nav-toggle-bar:nth-child(2){ top: 21px; }
.nav-toggle-bar:nth-child(3){ top: 28px; }

/* スマホ表示 */
@media (max-width: 720px){
  .nav-toggle{ display: inline-flex; align-items:center; justify-content:center; }

  .main-nav{
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0 4px;
  }
  .main-nav.is-open{ display: flex; }

  .main-nav a{ padding: 10px 0; }
}

/* 開いてる時（×にする） */
.nav-toggle.is-open .nav-toggle-bar:nth-child(1){ top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2){ opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3){ top: 21px; transform: rotate(-45deg); }

}

.maplinks-bg{
  display:block;
  width:100%;
  height:auto;
  margin:0;      /* 念のため */
}
.maplinks-caption{
  max-width: 1100px;
  margin: 14px auto 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(20,20,20,0.55);
  backdrop-filter: blur(6px);
  color: #fff;
}

.maplinks-caption .cap-title{
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.maplinks-caption .cap-text{
  opacity: .85;
  font-size: 13px;
  line-height: 1.7;
}
.maplinks-caption{
  opacity: 0.85;
  transition: opacity .25s ease, transform .25s ease;
}

.maplinks-caption.is-show{
  opacity: 1;
  transform: translateY(0);
}

/* 通常の● */
.maplink .dot{
  background: #9bb8c9; /* いつものスモークブルー */
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* アクティブな● */
.maplink.is-active .dot{
  background: #2f6f6b; /* 青みどり（アクセント） */
  transform: scale(1.25);
  box-shadow:
    0 0 0 6px rgba(47,111,107,0.25),
    0 10px 24px rgba(0,0,0,0.25);
}

/* =========================
   スマホ時ヘッダー調整
   ========================= */
@media (max-width: 768px){

  .site-header{
    height: 56px;
  }

  .header-inner{
    position: relative;
    padding: 0 12px;
  }

  /* ロゴブロックは残す */
  .logo-block{
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* ロゴ画像だけ消す */
  .site-logo{
    display: none;
  }

  /* ロゴテキストは少しコンパクトに */
  .logo-main{
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .logo-sub{
    font-size: 10px;
    opacity: 0.8;
  }

  /* ハンバーガーを画面右端に */
  .hamburger{
    position: absolute;
    top: 50%;
    right: 8px;              /* ← 端ピタ */
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    font-size: 26px;
    color: var(--fg);
    cursor: pointer;
    z-index: 1001;
  }
}
.site-header{
  position: relative; /* ← これ超重要 */
}
@media (max-width: 768px){

  .hamburger{
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;   /* ← 左指定を殺す */
    transform: translateY(-50%) !important;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    font-size: 26px;
    z-index: 1001;
  }

}
.news-bar{
  pointer-events: auto;
}

.header-inner{
  position: relative;
}
.header-inner{
  position: relative;
}

.hamburger{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px){

  /* ハンバーガーを完全に初期化 */
  .hamburger,
  .menu-toggle,
  .nav-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;

    transform: translateY(-50%) !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 9999 !important;
  }

}

/* スマホでは●横の文字（ラベル）を出さない */
@media (max-width: 720px){
  .maplink .label{
    display: none !important;
  }
}
.contact-section{
  padding: 80px 16px; /* ← 左右16px 足す */
}

/* フォーム入力中文字が白くなる問題の対処（とりあえず版） */
input,
textarea,
select {
  color: #111 !important;
  background-color: #fff !important;
  -webkit-text-fill-color: #111 !important; /* Chrome/Safariの自動スタイル対策 */
  caret-color: #111 !important;            /* カーソル色 */
}

/* プレースホルダー（薄い文字）も見えるように */
input::placeholder,
textarea::placeholder {
  color: rgba(17,17,17,0.55) !important;
}

/* ダークモードやCSS上書きが強い場合の保険 */
input:focus,
textarea:focus,
select:focus {
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
}

