@charset "utf-8";
/* ======================================================================
 DASH トップページ（A案）
 すべて .dash-front の中だけに効くように書いています。
====================================================================== */

/* GENESIS がヘッダー部分で出力するトップページ用スライダーを隠す
   （要素自体は残すので、GENESIS の JavaScript はエラーにならない） */
#header_slider_wrap {
  position: absolute !important; left: 0; top: 0; width: 100% !important;
  height: 0 !important; min-height: 0 !important; overflow: hidden !important;
  visibility: hidden !important; pointer-events: none !important;
}
/* 明るいメインビジュアルの上でもハンバーガーメニューが見えるように */
#drawer_menu_button span { background: #141414 !important; }

.dash-front {
  --df-red: #D32F2F;
  --df-red-text: #B71C1C;   /* 白背景で読める濃さの赤（小さい文字用） */
  --df-ink: #141414;
  --df-sub: #3A3A3A;
  --df-gray: #F5F5F5;
  --df-line: #D6D6D6;
  --df-ease: cubic-bezier(.19, 1, .22, 1);
  --df-header-h: 60px;      /* GENESIS の固定ヘッダーの高さ */
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic Medium', Meiryo, sans-serif;
  color: var(--df-ink);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: clip;
}
.dash-front *, .dash-front *::before, .dash-front *::after { box-sizing: border-box; }
.dash-front a { color: inherit; text-decoration: none; }
.dash-front img { max-width: 100%; height: auto; }
.dash-front h2, .dash-front h3, .dash-front p, .dash-front ul { margin: 0; padding: 0; }
.dash-front ul { list-style: none; }

.df-container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.df-section { padding: 112px 0; background: #FFFFFF; position: relative; }
.df-section--gray { background: var(--df-gray); }
.df-section--dark { background: var(--df-ink); color: #FFFFFF; }
.df-section--news { padding: 96px 0; }
.df-latin { font-family: Inter, sans-serif; letter-spacing: .04em; }

/* ---------- 見出し・共通パーツ ---------- */
.df-eyebrow { font-family: Inter, sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--df-red-text); line-height: 1.6; }
.df-eyebrow--light { color: #FF6B6B; }
.df-h2 { margin-top: 4px !important; font-size: 40px; font-weight: 900; line-height: 1.4; }
.df-h2--sm { font-size: 38px; line-height: 1.45; }
.df-h2--md { font-size: 36px; line-height: 1.5; }
.df-h2--mb { margin-bottom: 56px !important; }
.df-text { color: var(--df-sub); }
.df-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.df-head__desc { max-width: 520px; color: var(--df-sub); }
.df-more { font-weight: 700; font-size: 14px; color: var(--df-red-text); }
.df-center { display: flex; justify-content: center; margin-top: 56px; }

.df-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.df-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 32px;
  font-weight: 700; border-radius: 4px; transition: background-color .3s, color .3s;
}
.df-btn--dark { background: var(--df-ink); color: #FFFFFF !important; }
.df-btn--dark:hover { background: var(--df-red); }
.df-btn--line { border: 2px solid var(--df-ink); }
.df-btn--line:hover { background: var(--df-ink); color: #FFFFFF !important; }
.df-btn--white { background: #FFFFFF; color: var(--df-ink) !important; min-height: 64px; padding: 0 40px; font-weight: 900; font-size: 17px; }
.df-btn--white:hover { background: var(--df-ink); color: #FFFFFF !important; }
.df-btn--wide { padding: 0 48px; }
.dash-arrow, .dash-arrow-diag { flex: none; transition: transform .5s var(--df-ease); }
.df-btn:hover .dash-arrow { transform: translateX(5px); }
.df-btn:hover .dash-arrow-diag { transform: translate(3px, -3px); }

.dash-tri { display: inline-block; width: 16px; height: 14px; clip-path: polygon(50% 0, 100% 100%, 0 100%); flex: none; }

/* ---------- Hero ---------- */
.df-hero { position: relative; overflow: hidden; background: #FAFAF8; padding-top: var(--df-header-h); }
.df-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(#EFEDE8 1px, transparent 1px), linear-gradient(90deg, #EFEDE8 1px, transparent 1px);
  background-size: 80px 80px; background-position: center top;
}
.df-hero__word {
  position: absolute; right: -1%; bottom: -.2em;
  font-family: Inter, sans-serif; font-weight: 800; font-size: clamp(140px, 24vw, 360px); line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px #E2DED7; user-select: none; pointer-events: none;
  animation: df-fadeIn 2s ease-out .4s both;
}
.df-hero__vertical {
  position: absolute; right: 20px; top: 50%; translate: 0 -50%; writing-mode: vertical-rl;
  font-family: Inter, sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .35em; color: #8A8A8A;
}
.df-hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-top: 72px; padding-bottom: 112px; }
.df-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.df-hero__eyebrow { font-size: 13px; }
.df-hero__title { font-size: clamp(40px, 6vw, 80px); line-height: 1.25; font-weight: 900; letter-spacing: .02em; }
.df-hero__lead { max-width: 560px; font-size: 17px; color: var(--df-sub); }
.df-hero .df-btns { margin-top: 8px; }

.df-hero__visual { flex: 1 1 400px; min-width: 0; position: relative; display: flex; justify-content: center; align-items: center; min-height: clamp(380px, 46vw, 640px); }
.df-speedlines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.df-sl { position: absolute; left: -10%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(211,47,47,0), var(--df-red)); animation: df-rush 2.8s cubic-bezier(.55,0,.35,1) infinite; }
.df-sl--k { height: 1px; background: linear-gradient(90deg, rgba(20,20,20,0), var(--df-ink)); }
.df-s1 { top: 24%; width: 46%; animation-delay: 1.6s; } .df-s2 { top: 38%; width: 30%; animation-delay: 2.3s; }
.df-s3 { top: 52%; width: 54%; animation-delay: 1.9s; } .df-s4 { top: 63%; width: 26%; animation-delay: 2.8s; }
.df-s5 { top: 74%; width: 40%; animation-delay: 2.1s; } .df-s6 { top: 31%; width: 22%; animation-delay: 3.2s; }
.df-ring { position: absolute; aspect-ratio: 1 / 1; border-radius: 50%; animation: df-ringIn 1.8s var(--df-ease) .1s both; }
.df-ring--outer { width: min(560px, 92%); border: 1px solid #E2DED7; }
.df-ring--inner { width: min(420px, 70%); border: 1px dashed #E2DED7; }
.df-orbit { position: absolute; inset: -1px; border-radius: 50%; animation: df-spin 18s linear infinite; }
.df-orbit span { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--df-red); }
.df-mark-float { position: relative; animation: df-float 6s ease-in-out 2.2s infinite; }
.df-mark-reveal { position: relative; animation: df-markIn 1.6s var(--df-ease) .25s both; }
.dash-front .df-mark { display: block; height: clamp(320px, 40vw, 540px); width: auto; max-width: none; }
.dash-front .df-bolt-flash {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none;
  clip-path: polygon(6.6% 32%, 18% 21.1%, 24.6% 17.4%, 25.7% 18.8%, 29.7% 35.1%, 22% 41.9%, 10% 52.2%, 8% 51.3%);
  filter: brightness(1.45) saturate(1.3); opacity: 0;
  animation: df-boltFlash 1s ease-out 1.3s both, df-boltFlicker 6s linear 2.6s infinite;
}

.df-hero__pick { flex: 1 1 100%; display: flex; justify-content: flex-end; }
.df-pick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 24px; max-width: 640px;
  background: #FFFFFF; border-radius: 12px; box-shadow: 0 12px 32px rgba(20,20,20,.08);
  animation: df-popIn 1s var(--df-ease) 1.8s both; transition: transform .5s var(--df-ease), box-shadow .5s var(--df-ease);
}
.df-pick:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(20,20,20,.14); }
.df-pick:hover .dash-arrow { transform: translateX(5px); }
.df-pick__tris { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.df-pick__tris .dash-tri { width: 18px; height: 16px; }
.df-pick__text { display: flex; flex-direction: column; flex: 1 1 300px; min-width: 0; line-height: 1.6; }
.df-pick__label { font-family: Inter, sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .2em; color: var(--df-red-text); }
.df-pick__title { font-weight: 700; font-size: 16px; }
.df-hop1 { animation: df-hop 2.4s ease-in-out infinite; } .df-hop2 { animation: df-hop 2.4s ease-in-out .2s infinite; } .df-hop3 { animation: df-hop 2.4s ease-in-out .4s infinite; }

.df-scroll {
  position: absolute; left: max(24px, calc((100% - 1240px) / 2 + 24px)); bottom: 32px;
  display: flex; align-items: center; gap: 12px; font-family: Inter, sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .3em; color: #5A5A5A;
}
.df-scroll__bar { position: relative; width: 72px; height: 1px; background: #D6D6D6; overflow: hidden; }
.df-scroll__bar span { position: absolute; left: 0; top: 0; width: 28px; height: 1px; background: var(--df-ink); animation: df-rush 2.2s cubic-bezier(.6,0,.4,1) infinite; }

/* 見出しの演出 */
.df-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.df-line { display: inline-block; animation: df-lineUp 1.1s var(--df-ease) both; }
.df-l1 { animation-delay: .45s; } .df-l2 { animation-delay: .6s; }
.df-kasoku { position: relative; display: inline-block; color: var(--df-red); }
.df-kasoku::after {
  content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .02em; height: .14em;
  background: currentColor; transform: skewX(-24deg); scale: 0 1; transform-origin: left;
  animation: df-wipe .9s var(--df-ease) 1.3s forwards;
}
.df-fade-up { animation: df-fadeUp 1s var(--df-ease) both; }
.df-d1 { animation-delay: .3s; } .df-d4 { animation-delay: .95s; } .df-d5 { animation-delay: 1.1s; }

/* ---------- Marquee ---------- */
.df-marquee { background: var(--df-ink); color: #FFFFFF; overflow: hidden; padding: 20px 0; }
.df-marquee__track { display: flex; width: max-content; animation: df-marquee 32s linear infinite; }
.df-marquee:hover .df-marquee__track { animation-play-state: paused; }
.df-marquee__group { display: flex; gap: 48px; padding-right: 48px; font-family: Inter, sans-serif; font-weight: 800; font-size: 28px; letter-spacing: .08em; white-space: nowrap; line-height: 1.2; }
.df-slash { color: var(--df-red); }

/* ---------- Service ---------- */
.df-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.df-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px;
  background: #FFFFFF; padding: 40px 36px; border-radius: 8px;
  transition: transform .6s var(--df-ease), box-shadow .6s var(--df-ease);
}
.df-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--df-red); scale: 0 1; transform-origin: left; transition: scale .6s var(--df-ease); }
.df-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(20,20,20,.10); }
.df-card:hover::after { scale: 1 1; }
.df-card__top { display: flex; justify-content: space-between; align-items: center; }
.df-num { font-family: Inter, sans-serif; font-weight: 800; font-size: 48px; color: var(--df-red); line-height: 1; }
.df-card__title { font-size: 24px; font-weight: 900; }
.df-card__text { font-size: 15px; color: var(--df-sub); }
.df-card .df-more { margin-top: auto; }

/* ---------- SHOKŪMA ---------- */
.df-shokuma { overflow: hidden; }
.df-float-tri { position: absolute; }
.df-t1 { left: 4%; top: 64px; width: 56px; height: 48px; opacity: .9; animation: df-tri 6s ease-in-out infinite; }
.df-t2 { right: 6%; top: 120px; width: 40px; height: 34px; animation: df-tri 7s ease-in-out .8s infinite; }
.df-t3 { right: 42%; bottom: 56px; width: 32px; height: 28px; animation: df-tri 8s ease-in-out 1.6s infinite; }
.df-shokuma__inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: center; }
.df-shokuma__visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.df-shokuma__circle { width: min(100%, 500px); aspect-ratio: 1 / 1; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.df-concept { width: 88%; height: auto; display: block; animation: df-float 7s ease-in-out infinite; }
.df-shokuma__body { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.df-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.df-chips li { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--df-gray); font-weight: 700; font-size: 15px; line-height: 1.5; }
.df-shokuma .df-btns { margin-top: 8px; }

/* ---------- Works ---------- */
.df-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.df-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #CFCFCF; font-size: 14px; transition: background-color .3s, color .3s, border-color .3s; }
.df-tab.is-active, .df-tab:hover { background: var(--df-ink); border-color: var(--df-ink); color: #FFFFFF !important; font-weight: 700; }
.df-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 32px 24px; }
.df-work { display: flex; flex-direction: column; gap: 12px; }
.df-thumb { overflow: hidden; border-radius: 6px; aspect-ratio: 623 / 450; background: #EEEEEE; }
.dash-front .df-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--df-ease); }
.df-thumb__empty { display: block; width: 100%; height: 100%; }
.df-work:hover .df-thumb img { transform: scale(1.06); }
.df-work__cat { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 10px; border: 1px solid var(--df-ink); border-radius: 3px; line-height: 1.6; }
.df-work__title { font-weight: 700; font-size: 16px; line-height: 1.5; }
.df-work__title span { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; transition: background-size .5s var(--df-ease); }
.df-work:hover .df-work__title span { background-size: 100% 1px; }

/* ---------- Why DASH ---------- */
.df-reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.df-reason { display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--df-red); padding-top: 24px; }
.df-reason h3 { font-size: 22px; font-weight: 900; color: #FFFFFF; }
.df-reason p { color: #CFCFCF; font-size: 15px; }

/* ---------- About ---------- */
.df-about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.df-about__body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.df-about__links { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.df-tile { display: flex; justify-content: space-between; align-items: center; min-height: 120px; padding: 0 32px; background: var(--df-gray); border-radius: 8px; font-size: 20px; font-weight: 900; transition: background-color .4s, color .4s; }
.df-tile span { color: var(--df-red); }
.df-tile:hover { background: var(--df-ink); color: #FFFFFF !important; }

/* ---------- News ---------- */
.df-news { display: flex; flex-wrap: wrap; gap: 48px; }
.df-news__head { flex: 0 1 260px; }
.df-news__head .df-h2 { margin-bottom: 24px !important; }
.df-news__list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--df-line); }
.df-news__list li { border-bottom: 1px solid var(--df-line); }
.df-news__list a { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 20px 4px; align-items: baseline; transition: color .3s; }
.df-news__list a:hover { color: var(--df-red-text); }
.df-news__list time { font-family: Inter, sans-serif; font-weight: 500; font-size: 14px; color: #5A5A5A; min-width: 96px; }
.df-news__cat { font-size: 12px; font-weight: 700; color: var(--df-red-text); min-width: 88px; }
.df-news__title { flex: 1 1 320px; font-weight: 500; }
.df-news__empty { padding: 20px 4px; color: #5A5A5A; }

/* ---------- CTA ---------- */
.df-cta { position: relative; overflow: hidden; background: var(--df-red); color: #FFFFFF; }
.df-cta__bar { position: absolute; right: 8%; top: -20%; width: 80px; height: 140%; background: rgba(0,0,0,.12); transform: skewX(-24deg); animation: df-drift 9s ease-in-out infinite; }
.df-cta__inner { position: relative; padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; }
.df-cta__copy { display: flex; flex-direction: column; gap: 12px; }
.df-cta__copy h2 { font-size: 36px; font-weight: 900; line-height: 1.4; color: #FFFFFF; }
.df-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.df-cta__tel { display: flex; flex-direction: column; line-height: 1.4; font-size: 13px; }
.df-cta__tel a { font-family: Inter, sans-serif; font-weight: 800; font-size: 26px; color: #FFFFFF !important; }

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  .df-section { padding: 72px 0; }
  .df-h2 { font-size: 30px; }
  .df-h2--sm, .df-h2--md { font-size: 26px; }
  .df-hero__inner { padding-top: 40px; padding-bottom: 96px; }
  .df-hero__vertical { display: none; }
  .df-marquee__group { font-size: 20px; gap: 32px; padding-right: 32px; }
  .df-card { padding: 32px 24px; }
  .df-cta__copy h2 { font-size: 26px; }
  .df-btn { width: 100%; justify-content: center; }
  .df-pick { width: 100%; }
}

/* ---------- スクロールに合わせて表示（CSS スクロール連動アニメーション） ----------
   対応ブラウザ（Chrome / Edge / Safari 26 以降）だけで動き、未対応ブラウザでは最初から表示されます。 */
@supports (animation-timeline: view()) {
  .df-reveal { animation: df-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}

/* ---------- keyframes ---------- */
@keyframes df-lineUp { from { translate: 0 110%; } to { translate: 0 0; } }
@keyframes df-fadeUp { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes df-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes df-wipe { to { scale: 1 1; } }
@keyframes df-marquee { to { translate: -50% 0; } }
@keyframes df-drift { 0%, 100% { translate: 0 0; } 50% { translate: 60px 0; } }
@keyframes df-reveal { from { opacity: 0; translate: 0 56px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes df-markIn { from { clip-path: inset(0 0 100% 0); translate: 0 40px; opacity: 0; } to { clip-path: inset(0 0 0 0); translate: 0 0; opacity: 1; } }
@keyframes df-boltFlash { 0% { opacity: 0; } 25% { opacity: 1; } 40% { opacity: 0; } 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes df-boltFlicker { 0%, 88%, 100% { opacity: 0; } 90% { opacity: 1; } 92% { opacity: 0; } 94% { opacity: .8; } 96% { opacity: 0; } }
@keyframes df-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes df-spin { to { rotate: 360deg; } }
@keyframes df-rush { 0% { translate: -70% 0; opacity: 0; } 15% { opacity: 1; } 100% { translate: 170% 0; opacity: 0; } }
@keyframes df-ringIn { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@keyframes df-tri { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -10px; rotate: 6deg; } }
@keyframes df-hop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes df-popIn { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .df-kasoku::after { scale: 1 1; }
  .df-bolt-flash { display: none; }
}
