/**
 * 千葉釣り船ガイド - メインスタイルシート
 * assets/css/style.css
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
  /* Colors - Ocean Blue Theme */
  --primary: #0369a1;
  --primary-dark: #0c4a6e;
  --primary-light: #38bdf8;
  --secondary: #f59e0b;
  --secondary-light: #fcd34d;
  --accent: #10b981;
  --danger: #ef4444;
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Area Colors */
  --area-wanoku: #3b82f6;
  --area-uchibo: #22c55e;
  --area-minamiboso: #f59e0b;
  --area-sotobo: #06b6d4;
  --area-kujukuri: #8b5cf6;
  --area-choshi: #ef4444;
  
  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ========================================
   Reset
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ========================================
   Header
   ======================================== */
.header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.header__logo a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.header__logo-icon {
  font-size: 28px;
}

.header__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header__link {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__link:hover {
  background: rgba(255,255,255,0.15);
}

.header__link--shore {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
}

.lang-switcher {
  display: flex;
  gap: 4px;
}

.lang-switcher button {
  font-size: 22px;
  opacity: 0.6;
  transition: all var(--transition-fast);
  padding: 4px;
  border-radius: 4px;
}

.lang-switcher button:hover,
.lang-switcher button.active {
  opacity: 1;
  background: rgba(255,255,255,0.1);
}

/* ========================================
   Sub Navigation
   ======================================== */
.subnav {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.subnav__list {
  display: flex;
  justify-content: center;
  gap: 4px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar {
  display: none;
}

.subnav__item a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.subnav__item a:hover,
.subnav__item a.active {
  color: var(--white);
  border-bottom-color: var(--secondary);
  background: rgba(255,255,255,0.08);
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  padding: 12px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--container-width);
  margin: 0 auto;
  font-size: 13px;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item:not(:last-child)::after {
  content: '›';
  color: var(--gray-400);
}

.breadcrumb__link {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
  text-decoration: underline;
}

.breadcrumb__current {
  color: var(--gray-500);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  padding: 60px 24px 30px;
  color: var(--white);
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

.footer__column h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__column ul li {
  margin-bottom: 12px;
}

.footer__column a {
  font-size: 14px;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer__column a:hover {
  color: var(--secondary);
}

.footer__sister {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
  margin-bottom: 24px;
}

.footer__sister-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.footer__sister-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition-fast);
}

.footer__sister-link:hover {
  background: rgba(255,255,255,0.2);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-size: 13px;
  color: var(--gray-500);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

/* ========================================
   Common Components
   ======================================== */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title__icon {
  font-size: 36px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 4px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.section-link:hover {
  gap: 10px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .header__top {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .header__actions {
    order: 2;
    gap: 8px;
  }
  
  .header__link span {
    display: none;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .section-title {
    font-size: 24px;
  }
}
