/* ============================================
   合資会社ドットラボ 共通スタイル
   カラー: 白 × 藍(富士山) × 朱(日の丸) — 名刺と共通の世界観
   ============================================ */
:root {
  --navy: #17415f;        /* 藍 — 見出し・基調色 */
  --navy-deep: #0e2f47;   /* 濃藍 — フッター等 */
  --teal: #2e7d96;        /* 富士山裾野の青緑 */
  --red: #d64545;         /* 朱 — アクセント・CTA */
  --red-dark: #b93838;
  --bg: #ffffff;
  --bg-warm: #f6f9fb;     /* 薄い藍がかった白 */
  --bg-cream: #fbf8f2;    /* あたたかい白 */
  --text: #2b3a46;
  --text-light: #64707a;
  --line: #dde6ec;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(23, 65, 95, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: 0.25s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  color: var(--navy);
  line-height: 1.4;
  font-weight: 700;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-warm); }

/* --- セクション見出し --- */
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .en {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sec-head h2 { font-size: 2rem; }
.sec-head .lead { margin-top: 16px; color: var(--text-light); font-size: 0.98rem; }

/* --- ボタン --- */
.btn {
  display: inline-block;
  padding: 15px 42px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(214, 69, 69, 0.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: #fff;
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-white {
  border: 2px solid rgba(255,255,255,0.9);
  color: #fff;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.15); }

/* --- ヘッダー --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .brand-icon { width: 44px; height: auto; }
.brand .brand-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand .brand-logo { height: 24px; width: auto; }
.brand .brand-jp { font-size: 0.66rem; color: var(--text-light); line-height: 1.2; display: block; }

.gnav { display: flex; align-items: center; gap: 26px; }
.gnav a { font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.gnav a:hover { color: var(--red); }
.gnav .nav-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
}
.gnav .nav-cta:hover { background: var(--red-dark); color: #fff; }

/* モバイルメニュー */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  margin: 5px auto; transition: 0.3s;
}

/* --- ヒーロー --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #10334d 0%, #17415f 55%, #2e7d96 100%);
}
.hero-video {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-video iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14, 47, 71, 0.45), rgba(14, 47, 71, 0.62));
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  color: #fff;
  padding: 120px 24px 80px;
}
.hero-area-tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 6px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.hero .hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 500;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- サービス3本柱 --- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: 0.3s;
  display: flex; flex-direction: column;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal); }
.pillar .icon { font-size: 2.6rem; margin-bottom: 14px; line-height: 1; }
.pillar .icon svg { width: 58px; height: 58px; margin: 0 auto; display: block; }
.pillar h3 { font-size: 1.22rem; margin-bottom: 6px; }
.pillar .en-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--teal); text-transform: uppercase;
  display: block; margin-bottom: 14px;
}
.pillar p { font-size: 0.92rem; color: var(--text-light); text-align: left; flex: 1; }
.pillar .more {
  margin-top: 20px;
  color: var(--red); font-weight: 700; font-size: 0.92rem;
}
.pillar .more:hover { letter-spacing: 0.05em; }

/* --- サービス詳細行(トップ用) --- */
.service-row {
  display: flex; align-items: center; gap: 48px;
  margin-bottom: 72px;
}
.service-row:last-child { margin-bottom: 0; }
.service-row.reverse { flex-direction: row-reverse; }
.service-visual { flex: 1; min-width: 0; }
.service-visual .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--navy) center/cover no-repeat;
  position: relative;
}
.service-visual iframe { width: 100%; height: 100%; border: 0; display: block; }
.service-visual .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-text { flex: 1; min-width: 0; }
.service-text .num {
  font-family: 'Montserrat', sans-serif;
  color: var(--red); font-weight: 700;
  letter-spacing: 0.2em; font-size: 0.8rem;
}
.service-text h3 { font-size: 1.6rem; margin: 6px 0 16px; }
.service-text p { color: var(--text); font-size: 0.96rem; margin-bottom: 16px; }

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 0.94rem;
}
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 700;
}

/* --- 機材チップ --- */
.gear-box {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 18px 0;
}
.gear-box .gear-label {
  font-size: 0.8rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0.1em; margin-bottom: 8px; display: block;
}
.gear-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gear-chips span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 500;
}

/* --- 機材カード(下層ページ用) --- */
.gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.gear-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: 0.3s;
}
.gear-card:hover { box-shadow: var(--shadow); }
.gear-card .gear-type {
  display: inline-block;
  background: var(--navy); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  border-radius: 4px; padding: 3px 10px;
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.gear-card h4 { font-size: 1.08rem; margin-bottom: 8px; }
.gear-card p { font-size: 0.88rem; color: var(--text-light); }

/* --- 事例 --- */
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card .thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, var(--navy) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem;
}
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-card .body { padding: 18px 20px; }
.work-card h4 { font-size: 1rem; margin-bottom: 4px; }
.work-card .tag { font-size: 0.8rem; color: var(--teal); font-weight: 600; }
.work-links { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.work-links a { font-size: 0.83rem; color: var(--teal); font-weight: 600; }
.work-links a:hover { color: var(--red); text-decoration: underline; }

/* --- 料金 --- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--red); box-shadow: var(--shadow); }
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-size: 0.78rem; font-weight: 700;
  padding: 4px 18px; border-radius: 999px;
  white-space: nowrap;
}
.price-card .plan { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; text-align: center; }
.price-card .price {
  text-align: center;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: 2.3rem; font-weight: 700; color: var(--navy);
  margin-bottom: 4px;
}
.price-card .price small { font-size: 1rem; font-weight: 500; color: var(--text-light); }
.price-card .cond {
  text-align: center; font-size: 0.85rem; color: var(--text-light);
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px; margin-bottom: 16px;
}
.price-card .check-list { flex: 1; }
.price-note { margin-top: 28px; font-size: 0.85rem; color: var(--text-light); text-align: center; }

/* --- お知らせ --- */
.news-list { max-width: 780px; margin: 0 auto; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a, .news-list .news-static {
  display: flex; gap: 24px; align-items: baseline;
  padding: 18px 8px;
}
.news-list a:hover { background: var(--bg-warm); }
.news-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; color: var(--teal); font-weight: 600;
  white-space: nowrap;
}
.news-title { font-size: 0.95rem; }

/* --- SNSセクション --- */
.sns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sns-col h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; margin-bottom: 18px;
}
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.insta-embeds { display: grid; gap: 16px; }
.sns-follow { margin-top: 18px; font-size: 0.9rem; }
.sns-follow a { color: var(--red); font-weight: 700; }
.sns-follow a:hover { text-decoration: underline; }

/* --- 会社案内 --- */
.company-wrap { display: flex; gap: 56px; align-items: center; }
.company-fuji { flex: 0 0 320px; }
.company-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.company-table th, .company-table td {
  text-align: left; padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.company-table th { width: 7.5em; color: var(--navy); font-weight: 700; white-space: nowrap; }

/* --- 代表紹介 --- */
.profile-wrap {
  display: flex; gap: 48px; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 48px;
}
.profile-photo { flex: 0 0 180px; }
.profile-photo img { border-radius: 12px; }
.profile-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.profile-body .role { font-size: 0.85rem; color: var(--teal); font-weight: 600; margin-bottom: 14px; }
.profile-body p { font-size: 0.93rem; }

/* --- CTA帯 --- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--teal) 100%);
  color: #fff;
  text-align: center;
  padding: 76px 24px;
}
.cta-band h2 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.cta-band p { margin-bottom: 30px; opacity: 0.92; font-size: 0.98rem; }
.cta-band .contact-lines {
  display: flex; gap: 36px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 30px;
}
.cta-band .contact-lines a {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: 1.5rem; font-weight: 700; color: #fff;
}
.cta-band .contact-lines a:hover { opacity: 0.85; }
.cta-band .contact-lines small { display: block; font-size: 0.78rem; font-weight: 400; opacity: 0.85; }

/* --- 対応エリア --- */
.area-box {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
}
.area-box h3 { font-size: 1.15rem; margin-bottom: 12px; }
.area-box p { font-size: 0.93rem; color: var(--text); }
.area-box strong { color: var(--red); }

/* --- FAQ --- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: 'Q. '; color: var(--red); }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  color: var(--red); font-size: 1.4rem; font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-a {
  padding: 0 24px 20px;
  font-size: 0.93rem;
}
.faq-item .faq-a::before { content: 'A. '; color: var(--teal); font-weight: 700; }

/* --- 下層ページヒーロー --- */
.page-hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--teal) 100%);
  color: #fff;
  padding: 170px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px; height: 60px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 70%, 0 0);
  opacity: 0.08;
}
.page-hero .crumb { font-size: 0.8rem; opacity: 0.8; margin-bottom: 18px; }
.page-hero .crumb a:hover { text-decoration: underline; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  margin-bottom: 16px;
}
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 0.98rem; opacity: 0.95; }

/* --- 特徴カード(下層) --- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.feature-card .icon { font-size: 2.2rem; margin-bottom: 12px; line-height: 1; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: var(--text-light); }

/* --- 活用シーンチップ --- */
.scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.scene-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}
.scene-item .icon { font-size: 1.8rem; margin-bottom: 6px; }
.scene-item h4 { font-size: 0.98rem; margin-bottom: 4px; }
.scene-item p { font-size: 0.82rem; color: var(--text-light); }

/* --- フッター --- */
.site-footer {
  background: var(--navy-deep);
  color: #cfdde8;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}
.footer-grid {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand .footer-logo { height: 28px; width: auto; }
.footer-brand p { margin-top: 12px; font-size: 0.85rem; line-height: 1.9; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav .col h4 {
  color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 14px;
}
.footer-nav .col li { margin-bottom: 8px; }
.footer-nav .col a { font-size: 0.85rem; opacity: 0.85; }
.footer-nav .col a:hover { opacity: 1; color: #fff; }
.footer-sns { display: flex; gap: 14px; margin-top: 16px; }
.footer-sns a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
}
.footer-sns a:hover { background: rgba(255,255,255,0.15); }
.footer-sns svg { width: 17px; height: 17px; fill: #fff; }
.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* --- 固定モバイルCTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  gap: 10px;
}
.mobile-cta a {
  flex: 1; text-align: center;
  padding: 12px 6px;
  border-radius: 10px;
  font-weight: 700; font-size: 0.9rem;
}
.mobile-cta .tel { background: var(--navy); color: #fff; }
.mobile-cta .mail { background: var(--red); color: #fff; }

/* ============ レスポンシブ ============ */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .sns-grid { grid-template-columns: 1fr; }
  .company-wrap { flex-direction: column; }
  .company-fuji { flex: none; max-width: 260px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .sec-head h2 { font-size: 1.55rem; }

  .gnav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    display: none;
  }
  .gnav.open { display: flex; }
  .gnav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .gnav .nav-cta { margin-top: 16px; text-align: center; border-bottom: none; }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 78vh; }
  .service-row, .service-row.reverse { flex-direction: column; gap: 24px; margin-bottom: 56px; }
  .profile-wrap { flex-direction: column; text-align: center; padding: 28px 22px; }
  .profile-photo { flex: none; width: 150px; }
  .cta-band .contact-lines { flex-direction: column; gap: 18px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 66px; }
  .area-box { padding: 28px 22px; }
}
