
/* ========================================
   DUSKIN MUSASHINO - Main Stylesheet
   ======================================== */

:root {
  --duskin-blue: #005bac;
  --duskin-red: #e60012;
  --text-main: #111111;
  --text-sub: #666666;
  --bg-light: #f8f9fa;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  letter-spacing: 0.03em;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: white;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Animations
   ======================================== */

   .fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
  }
  
  .hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

/* ========================================
   Section Title Line
   ======================================== */

.section-title-line {
  position: relative;
  display: inline-block;
  padding-bottom: 24px;
}

.section-title-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background-color: var(--duskin-blue);
}

/* ========================================
   Hover Effects
   ======================================== */

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ========================================
   Header Styles
   ======================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: white;
  height: 80px;
  transition: all 0.5s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 64px;
}

.header-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}

.logo-subtitle {
  font-size: 12px;
  font-weight: bold;
  color: #666;
  line-height: 1;
  margin-bottom: 4px;
}

.logo-text {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.logo-text span {
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.logo-text .logo-dusk {
  color: #111;
}

.logo-text .logo-exclaim {
  color: var(--duskin-red);
  margin: 0 1px;
}

.logo-text .logo-n {
  color: #111;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 48px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #666;
  margin-left: auto;
  margin-right: 48px;
}

.desktop-nav a,
.desktop-nav button {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  color: var(--duskin-blue);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  padding: 16px 0;
}

.nav-dropdown-button {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-dropdown-button:hover {
  color: var(--duskin-blue);
}

.nav-dropdown-button svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-button svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background-color: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e5e5;
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.03em;
}

.nav-dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: var(--duskin-blue);
}

/* Header CTA */
.header-cta {
  display: none;
  align-items: center;
  gap: 24px;
}

.header-phone {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-phone-number {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.header-phone:hover .header-phone-number {
  color: var(--duskin-blue);
}

.header-phone-number svg {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  color: var(--duskin-blue);
}

.header-phone-hours {
  font-size: 10px;
  color: #999;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.header-phone:hover .header-phone-hours {
  color: #666;
}

.header-contact-btn {
  background-color: #111;
  color: white;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.header-contact-btn:hover {
  background-color: var(--duskin-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
}

.mobile-menu-btn svg {
  width: 32px;
  height: 32px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: white;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.mobile-menu-close {
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
  margin-right: -8px;
}

.mobile-menu-close svg {
  width: 32px;
  height: 32px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.mobile-menu-toggle.active svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-submenu.active {
  max-height: 400px;
  opacity: 1;
  padding-top: 8px;
  padding-bottom: 8px;
}

.mobile-submenu a {
  font-size: 18px;
  font-weight: bold;
  color: #666;
  text-decoration: none;
}

.mobile-menu-link {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  display: block;
}

.mobile-menu-contact {
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
  margin-top: 32px;
}

.mobile-menu-contact-label {
  font-size: 10px;
  font-weight: 900;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mobile-menu-phone {
  font-size: 28px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.05em;
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
}

.mobile-menu-hours {
  font-size: 12px;
  font-weight: bold;
  color: #999;
  margin-bottom: 24px;
}

.mobile-menu-contact-btn {
  width: 100%;
  background-color: #111;
  color: white;
  padding: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.mobile-menu-contact-btn:hover {
  background-color: var(--duskin-blue);
}

/* ========================================
   Footer Styles
   ======================================== */

footer {
  background-color: #111;
  color: white;
  padding: 96px 0 48px;
  overflow: hidden;
  position: relative;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
}

.footer-logo-box {
  background-color: white;
  padding: 16px;
  border-radius: 2px;
  margin-bottom: 16px;
  transition: background-color 0.3s ease;
}

.footer-logo-wrapper:hover .footer-logo-box {
  background-color: #e3f2fd;
}

.footer-logo-subtitle {
  font-size: 10px;
  font-weight: bold;
  color: #333;
  line-height: 1;
  margin-bottom: 4px;
  font-style: italic;
}

.footer-logo-text {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.footer-logo-text span {
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.footer-logo-text .logo-dusk {
  color: #111;
}

.footer-logo-text .logo-exclaim {
  color: var(--duskin-red);
  margin: 0 1px;
}

.footer-logo-text .logo-n {
  color: #111;
}

.footer-franchise {
  font-size: 11px;
  font-weight: bold;
  color: #666;
  letter-spacing: 0.1em;
}

.footer-info {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

.footer-company {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 8px;
}

.footer-address {
  color: #666;
}

.footer-phone-wrapper {
  display: flex;
  align-items: center;
  margin-top: 16px;
  color: #999;
}

.footer-phone-line {
  width: 32px;
  height: 1px;
  background-color: #333;
  margin-right: 12px;
}

.footer-phone-link {
  color: inherit;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-phone-link:hover {
  color: #2196f3;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-links-title {
  font-size: 15px;
  font-weight: 900;
  color: #ddd;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
}

.footer-links-subtitle {
  margin-left: 8px;
  font-size: 10px;
  color: #555;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links-list {
  list-style: none;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #666;
  font-weight: 500;
}

.footer-links-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.footer-links-list a:hover {
  color: #2196f3;
}

.footer-bottom {
  padding-top: 64px;
  border-top: 1px solid #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: bold;
  color: #555;
  letter-spacing: 0.05em;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #2196f3;
}

.footer-back-to-top {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 900;
  color: #666;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-back-to-top:hover {
  color: white;
}

.footer-back-to-top-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-back-to-top:hover .footer-back-to-top-icon {
  border-color: #2196f3;
  background-color: #2196f3;
}

.footer-back-to-top-icon svg {
  width: 16px;
  height: 16px;
}

.footer-bg-text {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.03;
  user-select: none;
  pointer-events: none;
  font-size: 300px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  font-style: italic;
  text-transform: uppercase;
}

/* ========================================
   Sticky Actions
   ======================================== */

.sticky-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.sticky-contact-btn {
  background-color: var(--duskin-blue);
  color: white;
}

.sticky-contact-btn:hover {
  background-color: #004a8d;
  transform: scale(1.1);
}

.sticky-top-btn {
  background-color: white;
  color: #111;
  border: 1px solid #e5e5e5;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sticky-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.sticky-top-btn:hover {
  background-color: #f8f9fa;
  transform: scale(1.1);
}

.sticky-btn svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-bottom-left {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .logo-subtitle {
    font-size: 12px;
  }
  
  .logo-text span {
    font-size: 30px;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .header-cta {
    display: flex;
  }
  
  .header-phone {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}


/* ========================================
   News Pagination
   ======================================== */
.nav-links {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  font-weight: 700;
  font-size: 14px;
  color: #555;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: all 0.3s ease;
}

.nav-links .page-numbers:hover {
  background: #005bac;
  color: #fff;
  border-color: #005bac;
}

.nav-links .current {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.nav-links .prev,
.nav-links .next {
  font-size: 18px;
}


/* ========================================
   Utility Classes
   ======================================== */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 21px;
}

.section {
  padding: 96px 0;
}

.section-light {
  background-color: #f8f9fa;
}

.btn-primary {
  background-color: var(--duskin-blue);
  color: white;
  padding: 20px 48px;
  border-radius: 2px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #004a8d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.btn-secondary {
  background-color: white;
  color: #111;
  padding: 20px 48px;
  border-radius: 2px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #111;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #f8f9fa;
  transform: translateY(-4px);
}


/* =========================
   記事本文ベース
========================= */

.prose {
  line-height: 1.9;
  color: #1f2937;
  font-size: 16px;
}

/* =========================
   見出し
========================= */

.prose h2 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #111827;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.prose h2::before {
  content: "";
  width: 6px;
  height: 24px;
  background: #005bac;
  margin-right: 16px;
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 3px solid #005bac;
}

.prose h4 {
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* =========================
   段落
========================= */

.prose p {
  margin-bottom: 1.5rem;
}

/* =========================
   リスト
========================= */

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* H2直後のリストをボックス化 */
.prose h2 + ul {
  background: #f9fafb;
  padding: 2rem;
  border: 1px solid #f1f5f9;
  border-radius: 4px;
}

/* =========================
   リンク
========================= */

.prose a {
  color: #005bac;
  text-decoration: underline;
}

.prose a:hover {
  opacity: 0.7;
}

/* =========================
   強調
========================= */

.prose strong {
  font-weight: 700;
}

.prose em {
  font-style: italic;
}

/* =========================
   画像
========================= */

.prose img {
  margin: 2rem 0;
  border-radius: 4px;
  max-width: 100%;
  height: auto;
}

/* =========================
   引用
========================= */

.prose blockquote {
  border-left: 4px solid #005bac;
  padding-left: 1rem;
  margin: 2rem 0;
  color: #374151;
  background: #f9fafb;
  padding-top: 1rem;
  padding-bottom: 1rem;
}



/* =========================
   お知らせデザイン
========================= */

/* =========================
   表
========================= */

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.prose th,
.prose td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem;
  text-align: left;
}

.prose th {
  background: #f3f4f6;
  font-weight: 700;
}

/* =========================
   区切り線
========================= */

.prose hr {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

