@charset "utf-8";

/* ===========================================================
   制作実績 詳細ページ（works/*.html）

   本文（パンくず〜06章）は sayaka-portfolio のビルド結果をそのまま使っており、
   構成・フォント・位置関係はそちらの CSS（works/_astro/*.css）が持っている。
   このファイルは LINOA 側のヘッダー・お問い合わせ・フッターだけを受け持つ。
   本文側と衝突しないよう、クラス名は lx- を接頭辞にしている。
   =========================================================== */

:root {
  --lx-primary: #06203e;
  --lx-primary-hover: #1f3554;
  --lx-hero-bg: #F3F1F0;
  --lx-hairline: #E3E0DE;
  --lx-contact-bg: #f4f4f4;
  --lx-on-variant: #44474e;
}

.lx-sp { display: inline; }
@media (min-width: 768px) { .lx-sp { display: none; } }

/* ---------- ヘッダー ---------- */
.lx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lx-hero-bg);
  border-bottom: 1px solid var(--lx-hairline);
  font-family: "Noto Sans JP", sans-serif;
}
.lx-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  height: 64px;
  padding-inline: 24px;
}
@media (min-width: 768px)  { .lx-header__inner { height: 72px; gap: 28px; padding-inline: 40px; } }
@media (min-width: 1280px) { .lx-header__inner { height: 80px; gap: 36px; padding-inline: 80px; } }

.lx-nav { display: none; align-items: center; gap: 28px; }
@media (min-width: 768px)  { .lx-nav { display: flex; } }
@media (min-width: 1280px) { .lx-nav { gap: 36px; } }
.lx-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--lx-primary);
  text-decoration: none;
  transition: opacity .3s ease;
}
.lx-nav a:hover { opacity: .7; }
@media (min-width: 1280px) { .lx-nav a { font-size: 14px; } }

.lx-header__cta {
  flex: none;
  background: var(--lx-primary);
  color: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .3s ease;
}
.lx-header__cta:hover { background: var(--lx-primary-hover); }
@media (min-width: 768px) { .lx-header__cta { padding: 14px 24px; font-size: 14px; } }

/* ---------- ボタン ---------- */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 10px 10px 28px;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}
.lx-knob {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
}
.lx-knob svg {
  width: 20px;
  height: 20px;
  /* 本番サイトの資料請求ボタンと同じ、矢印が右へ流れて戻るループ */
  animation: lx-arrow-swipe 1.6s ease-in-out infinite;
}
@media (min-width: 768px) {
  .lx-btn { gap: 24px; padding: 12px 12px 12px 40px; font-size: 17px; }
  .lx-knob { width: 56px; height: 56px; }
  .lx-knob svg { width: 22px; height: 22px; }
}
.lx-btn:hover { transform: translateY(-2px); }

/* 「資料請求・お問い合わせはこちら」は文字数が多いので、狭い画面では詰めて1行に収める */
@media (max-width: 767px) {
  .lx-btn--wide { padding-left: 20px; gap: 14px; font-size: 14px; }
  .lx-btn--wide .lx-knob { width: 44px; height: 44px; }
  .lx-btn--wide .lx-knob svg { width: 18px; height: 18px; }
  .lx-btn--wide > span:first-child { text-align: center; }
}
.lx-btn--primary { background: var(--lx-primary); color: #fff; }
.lx-btn--primary .lx-knob { background: #fff; color: var(--lx-primary); }
.lx-btn--primary:hover { background: var(--lx-primary-hover); }
.lx-btn--outline { background: #fff; color: var(--lx-primary); border: 1.5px solid var(--lx-primary); }
.lx-btn--outline .lx-knob { background: var(--lx-primary); color: #fff; }
.lx-btn--outline:hover { background: var(--lx-primary); color: #fff; }
.lx-btn--outline:hover .lx-knob { background: #fff; color: var(--lx-primary); }

@keyframes lx-arrow-swipe {
  0%   { transform: translateX(0);    opacity: 1; }
  55%  { transform: translateX(8px);  opacity: 0; }
  56%  { transform: translateX(-6px); opacity: 0; }
  80%  { opacity: 1; }
  100% { transform: translateX(0);    opacity: 1; }
}

/* ---------- お問い合わせ ---------- */
.lx-contact {
  background: var(--lx-contact-bg);
  padding: 80px 0;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}
@media (min-width: 768px)  { .lx-contact { padding: 100px 0; } }
@media (min-width: 1280px) { .lx-contact { padding: 128px 0; } }

.lx-contact__inner { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px) { .lx-contact__inner { padding-inline: 40px; } }

.lx-contact__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--lx-primary);
}
@media (min-width: 768px)  { .lx-contact__title { font-size: 32px; } }
@media (min-width: 1280px) { .lx-contact__title { font-size: 40px; } }

.lx-contact__body {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 2.1;
  color: var(--lx-on-variant);
}
@media (min-width: 768px)  { .lx-contact__body { font-size: 15px; } }
@media (min-width: 1280px) { .lx-contact__body { font-size: 16px; } }

.lx-contact__cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
@media (min-width: 768px)  { .lx-contact__cta { margin-top: 40px; flex-direction: row; gap: 18px; } }
@media (min-width: 1280px) { .lx-contact__cta { margin-top: 48px; gap: 20px; } }

/* ---------- フッター ---------- */
.lx-footer {
  background: var(--lx-primary);
  color: #fff;
  padding: 56px 0 32px;
  font-family: "Noto Sans JP", sans-serif;
}
@media (min-width: 768px)  { .lx-footer { padding: 72px 0 40px; } }
@media (min-width: 1280px) { .lx-footer { padding: 80px 0 44px; } }

.lx-footer__inner { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px) { .lx-footer__inner { padding-inline: 40px; } }

.lx-footer__top { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 768px) { .lx-footer__top { flex-direction: row; justify-content: space-between; } }

.lx-footer__logo { display: block; width: 148px; height: auto; }
@media (min-width: 1280px) { .lx-footer__logo { width: 168px; } }

.lx-footer__tagline { margin: 20px 0 0; font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.75); }

.lx-footer__navs { display: flex; gap: 48px; }
@media (min-width: 1280px) { .lx-footer__navs { gap: 88px; } }

.lx-footer__navtitle {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.45);
}
.lx-footer__navs ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.lx-footer__navs a {
  font-size: 13px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .3s ease;
}
.lx-footer__navs a:hover { color: #fff; }
@media (min-width: 768px) { .lx-footer__navs a { font-size: 14px; } }

.lx-footer__divider { margin: 36px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.15); }
.lx-footer__copy { margin: 32px 0 0; font-size: 10px; letter-spacing: 0.08em; color: rgba(255,255,255,.45); }
@media (min-width: 768px) { .lx-footer__copy { font-size: 11px; margin-top: 36px; } }

@media (prefers-reduced-motion: reduce) {
  .lx-knob svg { animation: none; }
  .lx-btn:hover { transform: none; }
}
