/* ============================================================
   沼津港 城 共通スタイルシート
   style.css
   ============================================================ */

/* ──────────────────────────────────────
   0. Google Fonts（Noto Sans JP）
────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');


/* ──────────────────────────────────────
   1. リセット & ベース
────────────────────────────────────── */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 80px;
  background-color: #f4f5f7;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* パソコン環境（768px以上） */
@media screen and (min-width: 768px) {
  body {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 16px 0;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    min-height: 100vh;
  }
}

/* スマホ環境（767px以下） */
@media screen and (max-width: 767px) {
  body {
    padding: 80px 16px 56px;
    background-color: #ffffff;
    font-size: 15px;
  }
}

/* ──────────────────────────────────────
   2. 見出し
────────────────────────────────────── */
h1, h2, h3 {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
}

/* ページタイトルバナー内は白文字 */
.page-title h1,
.page-title p {
  color: #ffffff !important;
}

p {
  font-size: 15px;
  line-height: 1.9;
  color: #1a1a1a;
}

/* ──────────────────────────────────────
   3. 画像・メディア
────────────────────────────────────── */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* YouTube・動画など 16:9 レスポンシブ iframe */
.responsive-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  margin-bottom: 8px;
  border-radius: 8px;
}
.responsive-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Googleカレンダー（高さ固定） */
.calendar-wrap {
  width: 100%;
  overflow: hidden;
}
.calendar-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
}


/* ──────────────────────────────────────
   4. テーブル共通
────────────────────────────────────── */
table {
  width: 100% !important;
  table-layout: fixed;
}
table td {
  word-break: break-word;
}

/* 料金・登録票などの罫線テーブル */
.table_line {
  width: 100% !important;
  border-collapse: collapse;
  margin-bottom: 14px;
}

/* アンカージャンプ時に固定ヘッダーに隠れないようオフセット */
h2[id],
section[id],
div[id] {
  scroll-margin-top: 130px;
}

/* 1列目（左側）：背景を薄いグレーにして見やすく */
.table_line tr td:first-child {
  width: 30%;
  background-color: #f0f4f8;
  font-weight: 700;
  color: #0a3a5c;
}

/* ヘッダー行（1行目）の右列：薄い水色 */
.table_line tr:first-child td:last-child {
  background-color: #d0f0ff;
}

.table_line td {
  border: 1px solid #c0ccd8;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.7;
  vertical-align: middle;
  word-break: break-word;
  color: #1a1a1a;
}

/* フッターのSNSアイコン用テーブルは幅autoに戻す */
footer table {
  width: auto !important;
  table-layout: auto;
}


/* ──────────────────────────────────────
   4-2. 釣果エントリー
────────────────────────────────────── */
body .catch-entry h2,
body h2:not(nav h2) {
  font-size: 1.2em;
  color: #0a3a5c;
  border-left: 5px solid #1a6fa8;
  padding-left: 10px;
  margin-top: 32px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  font-weight: 700;
}

.catch-entry table,
body > table {
  margin-bottom: 12px;
}

.catch-entry table td,
body > table td {
  text-align: center;
  padding: 8px 0 16px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.catch-entry table td img,
body > table td img {
  display: block;
  margin: 0 auto 10px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.catch-entry p,
body > table + p {
  background-color: #e8f4fd;
  padding: 16px 18px;
  border-radius: 8px;
  line-height: 1.9;
  font-size: 15px;
  color: #1a1a1a;
  margin-top: 8px;
  margin-bottom: 36px;
  text-align: left;
  border-left: 3px solid #1a6fa8;
}

.responsive-iframe-wrap {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}


/* ──────────────────────────────────────
   5. 電話アイコン固定
────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 1000;
  pointer-events: none;
}
#page_top {
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 1000;
  pointer-events: auto;
}
#page_top h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
}
#page_top h1 a img {
  width: 52px;
  height: 52px;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.35));
}

/* ──────────────────────────────────────
   6. ナビゲーション
────────────────────────────────────── */
nav h2 {
  margin-bottom: 4px;
}
nav ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
nav ul li a {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
  font-size: 15px;
  color: #1a1a1a;
}

/* ──────────────────────────────────────
   7. ボタン
────────────────────────────────────── */
a.line-btn {
  display: inline-block;
  background: linear-gradient(135deg, #06c755, #049a42);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.40);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 8px;
  line-height: 1.4;
}
a.line-btn:hover {
  background: linear-gradient(135deg, #08e060, #06c755);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.55);
}
a.line-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.35);
}

a.tel-btn {
  display: inline-block;
  background: linear-gradient(135deg, #1a6fa8, #0e4d7a);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(14, 77, 122, 0.40);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 8px;
  line-height: 1.4;
}
a.tel-btn:hover {
  background: linear-gradient(135deg, #1f83c7, #1a6fa8);
  box-shadow: 0 6px 20px rgba(14, 77, 122, 0.55);
}
a.tel-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 8px rgba(14, 77, 122, 0.35);
}

/* ──────────────────────────────────────
   8. ロゴ
────────────────────────────────────── */
.main-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ──────────────────────────────────────
   9. 補足・注記テキスト サイズ調整
────────────────────────────────────── */

/* 補足説明・注記 */
.note,
p.note,
.cancel-info,
.map-address,
span.map-code {
  font-size: 0.95em;
  line-height: 1.85;
  color: #1a1a1a;
}

/* トップカードの小テキスト */
.top-card,
.top-card p,
.top-card span,
.card-desc {
  font-size: 0.9em;
  line-height: 1.8;
}

/* ship-section内の補足 */
.ship-section__body p,
.ship-section__body span,
.facility-list li,
.advice-list li,
.spec-table td {
  font-size: 0.95em;
  line-height: 1.85;
}

/* 出船時間・強調補足 */
.time-info,
.departure-time,
.highlight {
  font-size: 1em;
  font-weight: 700;
  color: #0a3a5c;
}

/* 更新日・小さめ注釈 */
.update-date,
small,
.small-note {
  font-size: 0.9em;
  color: #555;
}
