@charset "UTF-8";
/* =========================================================
   毛ガニ道 共通CSS（全ページ）
   ========================================================= */

:root {
  --color-bg: #FFFFFF;
  --color-main: #B33A2E;
  --color-main-hover: #962F25;
  --color-text: #2B2B2B;
  --color-border: #E7E3E0;
  --font-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --container: 1120px;
  --gutter: 20px;
  --radius: 8px;
}

/* ---------- リセット・ベース ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
}

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

a {
  color: var(--color-main);
}

a:hover {
  color: var(--color-main-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
}

/* ---------- ユーティリティ ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- レイアウト ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--color-main);
  color: #FFFFFF;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
  color: #FFFFFF;
}

/* ---------- ヘッダー ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 14px var(--gutter);
}

.site-logo {
  flex-shrink: 0;
  display: block;
}

.site-logo img {
  width: 170px;
}

.global-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 20px;
  list-style: none;
}

.global-nav__list a {
  display: block;
  padding: 6px 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav__list a:hover {
  color: var(--color-main);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--color-main);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--color-main);
  color: #FFFFFF;
}

.btn--primary:hover {
  border-color: var(--color-main-hover);
  background: var(--color-main-hover);
  color: #FFFFFF;
}

.btn--outline {
  background: #FFFFFF;
  color: var(--color-main);
}

.btn--outline:hover {
  background: var(--color-main);
  color: #FFFFFF;
}

/* ---------- 見出し・セクション共通 ---------- */
.section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 40px;
}

.section-head__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.section-head__title::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--color-main);
}

.section-head__lead {
  margin-top: 14px;
  margin-bottom: 32px;
}

.section-head .section-head__lead {
  margin-bottom: 0;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* 見出し行の直後：導入文は16px、それ以外（本文ブロック）は40pxあける */
.section-head--row + * {
  margin-top: 40px;
}

.section-head--row + .section-head__lead {
  margin-top: 16px;
}

.section-head__more {
  position: relative;
  padding-right: 20px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.section-head__more::after,
.text-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.section-head__more:hover,
.text-link:hover {
  text-decoration: underline;
}

/* ---------- テキストリンク ---------- */
.text-link {
  position: relative;
  display: inline-block;
  padding-right: 18px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- 画像（角丸・幅いっぱい） ---------- */
.media-img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

/* ---------- フッター ---------- */
.site-footer {
  border-top: 3px solid var(--color-main);
  background: var(--color-bg);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 48px var(--gutter) 32px;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 12px;
}

.site-footer__logo img {
  width: 160px;
}

.site-footer__text {
  font-size: 14px;
}

.site-footer__heading {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.site-footer__list {
  list-style: none;
}

.site-footer__list a {
  display: inline-block;
  padding: 4px 0;
  color: var(--color-text);
  font-size: 14px;
  text-decoration: none;
}

.site-footer__list a:hover {
  color: var(--color-main);
  text-decoration: underline;
}

.site-footer__copy {
  padding: 16px var(--gutter);
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  text-align: center;
}

/* ---------- 表の横スクロール ---------- */
.table-wrap {
  overflow-x: auto;
}

/* ---------- 漁期カレンダー（トップ・産地カテゴリ共通） ---------- */
.season-wrap {
  margin-bottom: 16px;
}

.season-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.season-table caption {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.season-table th,
.season-table td {
  height: 52px;
  border-bottom: 1px solid var(--color-border);
}

.season-table thead th {
  height: 40px;
  border-bottom: 2px solid var(--color-text);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.season-table thead th:first-child,
.season-table tbody th {
  width: 160px;
  padding: 0 16px 0 0;
  text-align: left;
}

.season-table tbody th {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.season-table tbody th a {
  color: var(--color-text);
  text-decoration: none;
}

.season-table tbody th a:hover {
  color: var(--color-main);
  text-decoration: underline;
}

.season-table td {
  position: relative;
  padding: 0;
}

.season-table td + td,
.season-table thead th + th {
  border-left: 1px dashed var(--color-border);
}

.season-table td.is-on::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 16px;
  background: var(--color-main);
  transform: translateY(-50%);
}

.season-table td.is-on:not(.is-start)::before {
  left: -1px;
}

.season-table td.is-start::before {
  left: 4px;
  border-radius: 8px 0 0 8px;
}

.season-table td.is-end::before {
  right: 4px;
  border-radius: 0 8px 8px 0;
}

.season-table td.is-start.is-end::before {
  border-radius: 8px;
}

.season-scroll-hint {
  display: none;
}

.season-note {
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.8;
}

.season-note a {
  color: var(--color-text);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1023px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 0;
  }

  .global-nav {
    width: calc(100% + var(--gutter) * 2);
    margin: 0 calc(var(--gutter) * -1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .global-nav__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 20px;
    padding: 0 var(--gutter) 6px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .site-logo img {
    width: 140px;
  }

  .global-nav__list a {
    font-size: 14px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head__title {
    font-size: 26px;
  }

  .section-head__title::before {
    margin-bottom: 14px;
  }

  .section-head--row + * {
    margin-top: 28px;
  }

  .section-head__lead {
    margin-bottom: 24px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
  }

  .season-table thead th:first-child,
  .season-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 112px;
    padding-right: 10px;
    background: var(--color-bg);
  }

  .season-table tbody th {
    font-size: 13px;
  }

  .season-scroll-hint {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
  }
}
