/*
Theme Name: S&S Service Recruit
Description: 船舶消防設備点検 採用サイト — Navy × Red Maritime Theme v1.0
Version: 1.0
*/

/* ============================================
   カスタムプロパティ（カラーパレット）
============================================ */
:root {
  --navy:        #0B2545;   /* 深海ネイビー */
  --navy-mid:    #1A3F7A;   /* ミッドネイビー */
  --ocean:       #1565C0;   /* オーシャンブルー */
  --ocean-light: #42A5F5;   /* ライトブルー */
  --red:         #B71C1C;   /* 消防レッド */
  --red-mid:     #E53935;   /* ミッドレッド */
  --bg-light:    #EBF4FF;   /* 薄い青背景 */
  --bg-white:    #FFFFFF;
  --text-dark:   #0D1B2E;
  --text-main:   #37474F;
  --font-main:   'Zen Maru Gothic', sans-serif;

  /* コンビネーション */
  --color-1: #B71C1C;   /* 赤（強調） */
  --color-2: #1565C0;   /* 青（補足） */
  --color-3: #00838F;   /* ティール（安心） */
  --color-4: #0B2545;   /* ネイビー（信頼） */
}

/* ============================================
   リセット & ベース
============================================ */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-main);
  line-height: 1.8;
  color: var(--text-main);
  margin: 0;
  padding-top: 70px;
  background: linear-gradient(160deg, #EBF4FF 0%, #D6EAFF 40%, #EBF4FF 100%);
  background-attachment: fixed;
  font-weight: 500;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
.inner { max-width: 1000px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
section { padding: 80px 0; position: relative; }

/* ============================================
   波デコレーション（背景 Fixed）
============================================ */
.sea-bg {
  position: fixed;
  bottom: 0; left: 0; width: 100%; height: 180px;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.wave {
  position: absolute;
  bottom: 0; left: -10%;
  width: 120%; height: 100px;
  background: rgba(21, 101, 192, 0.12);
  border-radius: 50% 50% 0 0 / 80% 80% 0 0;
  animation: waveAnim 8s ease-in-out infinite;
}
.wave-2 {
  background: rgba(11, 37, 69, 0.08);
  height: 80px;
  animation-duration: 11s;
  animation-delay: -3s;
  left: -5%;
}
.wave-3 {
  background: rgba(21, 101, 192, 0.06);
  height: 60px;
  animation-duration: 14s;
  animation-delay: -6s;
  left: -15%;
}
@keyframes waveAnim {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50%       { transform: translateX(3%) scaleY(1.05); }
}

/* アンカーデコ */
.deco-bg {
  position: absolute;
  z-index: 1;
  font-size: 55px;
  filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.12));
  animation: floatDeco 5s ease-in-out infinite alternate;
  opacity: 0.6;
  pointer-events: none;
}
@keyframes floatDeco {
  0%   { transform: translateY(0) rotate(3deg); }
  100% { transform: translateY(-12px) rotate(-3deg); }
}
.deco-tl { top: 5%;  left: 4%;  }
.deco-tr { top: 10%; right: 4%; animation-delay: 1s; }
.deco-ml { top: 45%; left: 6%;  animation-delay: 2s; }
.deco-mr { top: 50%; right: 6%; animation-delay: 0.5s; }
.deco-bl { bottom: 12%; left: 4%;  animation-delay: 1.5s; }
.deco-br { bottom: 7%;  right: 4%; animation-delay: 2.5s; }

/* ============================================
   共通コンポーネント
============================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.page-title { text-align: center; margin: 40px 0 20px; }
.page-title h1 {
  font-size: 38px; font-weight: 900; color: var(--navy);
  letter-spacing: 2px; margin: 0;
}
.section-title {
  font-size: 26px; font-weight: 900; margin-bottom: 20px;
  color: var(--navy); text-align: center;
}

/* フラットカード */
.flat-card {
  background: rgba(255,255,255,0.97);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(11,37,69,0.08);
  margin-bottom: 30px;
  position: relative; z-index: 2;
}

/* テープ風デコ */
.tape {
  position: absolute;
  width: 100px; height: 28px;
  background: rgba(179,28,28,0.75);
  border-radius: 3px;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 10;
}
.tape-blue { background: rgba(21,101,192,0.75); }
.tape-navy { background: rgba(11,37,69,0.75); }

/* スタンプ */
.stamp {
  position: absolute;
  top: -25px; right: -15px;
  width: 120px; height: 120px;
  border: 4px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px;
  transform: rotate(12deg);
  opacity: 0.75;
  text-align: center; line-height: 1.3;
  background: rgba(255,255,255,0.9);
  z-index: 10;
  box-shadow: inset 0 0 0 2px var(--red);
  padding: 5px;
}

/* ボタン */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-mid) 100%);
  color: #fff; padding: 16px 40px;
  border-radius: 50px; font-weight: 900; font-size: 18px;
  box-shadow: 0 6px 20px rgba(183,28,28,0.35);
  transition: 0.3s; letter-spacing: 1px;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(183,28,28,0.45);
}
.btn-secondary {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; padding: 12px 32px;
  border-radius: 50px; font-weight: 900; font-size: 16px;
  box-shadow: 0 5px 15px rgba(11,37,69,0.3);
  transition: 0.3s;
}
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(11,37,69,0.4);
}

/* ============================================
   ヘッダー
============================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(11,37,69,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(66,165,245,0.3);
  z-index: 1000; height: 70px;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 100%;
  position: relative;
}
.site-logo {
  font-size: 20px; font-weight: 900; color: #fff;
  letter-spacing: 1px; z-index: 1001; position: relative;
}
.site-logo span { color: var(--ocean-light); }
.global-nav ul {
  display: flex; list-style: none; margin: 0; padding: 0; gap: 24px; align-items: center;
}
.nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 700; font-size: 0.88rem;
  transition: 0.3s; letter-spacing: 0.5px;
}
.nav-link:hover { color: var(--ocean-light) !important; }
.nav-btn-apply {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-mid) 100%);
  color: #fff !important; padding: 8px 20px;
  border-radius: 50px; font-weight: 900; font-size: 0.88rem;
  box-shadow: 0 3px 10px rgba(183,28,28,0.3); transition: 0.3s;
}
.nav-btn-apply:hover {
  box-shadow: 0 5px 18px rgba(183,28,28,0.5);
  transform: translateY(-1px);
}

/* ハンバーガー */
.c-hamburger {
  display: none; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 24px;
  background: transparent; border: none; cursor: pointer; z-index: 1001; padding: 0;
}
.c-hamburger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--ocean-light); transition: 0.4s ease; border-radius: 2px;
  box-shadow: 0 0 5px rgba(66,165,245,0.4);
}
.c-hamburger span:nth-child(1) { top: 0; }
.c-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.c-hamburger span:nth-child(3) { bottom: 0; }
.c-hamburger.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.c-hamburger.is-active span:nth-child(2) { opacity: 0; }
.c-hamburger.is-active span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* ============================================
   フッター
============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #061630 100%);
  color: #fff; padding: 70px 0 30px;
  text-align: center; position: relative; overflow: hidden;
}
.footer-wave {
  position: absolute; top: -40px; left: 0; width: 100%; height: 80px;
  background: var(--navy);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.footer-ship {
  position: absolute; bottom: 8px; font-size: 32px; z-index: 10;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
}
.ship-1 { animation: sailRight 20s linear infinite -5s; }
.ship-2 { animation: sailRight 16s linear infinite -10s; }
@keyframes sailRight {
  0%   { left: -100px; }
  100% { left: calc(100vw + 100px); }
}
.footer-links {
  list-style: none; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 20px; font-size: 14px; margin-top: 30px;
}
.footer-links a { color: rgba(255,255,255,0.85); font-weight: bold; transition: 0.3s; }
.footer-links a:hover { color: var(--ocean-light); }
.footer-copy {
  margin-top: 30px; font-size: 12px; opacity: 0.5;
}

/* ============================================
   TOPページ ヒーロー
============================================ */
.hero-section {
  padding: 60px 0 80px;
  position: relative; z-index: 2;
}
.hero-catch-box {
  background: rgba(255,255,255,0.97);
  padding: 45px 50px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(11,37,69,0.15);
  position: relative; z-index: 3;
  display: inline-block;
  max-width: 700px;
}
.hero-catch-box::before {
  content: '';
  position: absolute; top: -14px; left: 30px;
  width: 90px; height: 26px;
  background: rgba(179,28,28,0.8);
  border-radius: 3px;
  transform: rotate(-1.5deg);
}
.badge-job {
  display: inline-block;
  background: var(--navy); color: #fff;
  padding: 6px 18px; border-radius: 30px;
  font-weight: 900; font-size: 13px; letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-h1 {
  font-size: 38px; font-weight: 900;
  color: var(--text-dark); line-height: 1.5;
  margin: 0 0 20px 0;
}
.hero-h1 .highlight {
  color: var(--red);
  background: linear-gradient(transparent 60%, #FFCDD2 60%);
}
.hero-salary {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; padding: 12px 28px; border-radius: 10px;
  font-weight: 900; font-size: 22px;
  margin-bottom: 20px; letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(11,37,69,0.2);
}
.hero-salary small { font-size: 14px; opacity: 0.85; }
.hero-image-wrap {
  margin-top: -50px;
  position: relative; z-index: 2;
  transform: rotate(1.2deg);
}
.hero-image-wrap img {
  width: 100%; border-radius: 16px;
  border: 10px solid #fff;
  box-shadow: 0 15px 40px rgba(11,37,69,0.15);
}

/* ============================================
   メニューカード（TOPナビ）
============================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.menu-card {
  display: block;
  background: rgba(255,255,255,0.97);
  padding: 32px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(11,37,69,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s;
  border-top: 6px solid var(--navy);
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.menu-card.red-top  { border-top-color: var(--red); }
.menu-card.blue-top { border-top-color: var(--ocean); }
.menu-card.teal-top { border-top-color: var(--color-3); }
.menu-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(11,37,69,0.15);
  z-index: 10;
}
.menu-card:hover .card-title { color: var(--ocean); }
.card-num { font-size: 36px; font-weight: 900; line-height: 1; color: var(--navy); margin-bottom: 4px; }
.card-sub { font-size: 13px; color: #888; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.card-title { font-size: 20px; font-weight: 900; color: var(--navy); margin: 12px 0 10px; transition: 0.3s; }
.card-desc { font-size: 14px; color: #555; line-height: 1.7; }
.card-arrow {
  position: absolute; bottom: 18px; right: 20px;
  background: var(--navy); color: #fff;
  padding: 4px 14px; border-radius: 20px;
  font-weight: 900; font-size: 13px;
  animation: bounceTap 1s infinite alternate;
}
.menu-card.red-top  .card-arrow { background: var(--red); }
.menu-card.blue-top .card-arrow { background: var(--ocean); }
.menu-card.teal-top .card-arrow { background: var(--color-3); }
@keyframes bounceTap {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* ============================================
   3つの安心ポイント
============================================ */
.points-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px;
}
.point-card {
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(11,37,69,0.07);
  border-bottom: 5px solid var(--ocean);
}
.point-icon { font-size: 48px; margin-bottom: 12px; }
.point-title { font-size: 16px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.point-desc { font-size: 14px; color: #555; line-height: 1.7; }

/* ============================================
   仕事内容 — 成長ロードマップ（タイムライン）
============================================ */
.growth-timeline { position: relative; max-width: 800px; margin: 40px auto 0; padding: 20px 0; }
.growth-timeline::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; margin-left: -2px;
  background: linear-gradient(to bottom, var(--ocean), var(--navy));
  border-radius: 4px;
  z-index: 1;
}
.timeline-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 70px; position: relative; z-index: 3; gap: 30px;
}
.timeline-item:nth-of-type(even) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1; background: rgba(255,255,255,0.97);
  padding: 28px 30px; border-radius: 14px;
  box-shadow: 0 8px 25px rgba(11,37,69,0.08);
  position: relative;
}
.timeline-content::after {
  content: '⚓';
  position: absolute; top: 50%; font-size: 28px;
  transform: translateY(-50%); z-index: 5;
}
.timeline-item:nth-of-type(odd)  .timeline-content::after { right: -50px; }
.timeline-item:nth-of-type(even) .timeline-content::after { left: -50px; }
.timeline-icon-box {
  flex: 1; display: flex; justify-content: center; align-items: center;
}
.timeline-circle {
  width: 160px; height: 160px; border-radius: 50%;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 8px 20px rgba(11,37,69,0.12);
  flex-shrink: 0;
}
.timeline-circle img { width: 100%; height: 100%; object-fit: cover; }
.tl-period {
  font-size: 13px; font-weight: 900;
  color: var(--ocean); letter-spacing: 1px; margin-bottom: 8px;
  text-transform: uppercase;
}
.tl-step { font-size: 30px; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.tl-title { font-size: 20px; font-weight: 900; color: var(--navy); margin: 0 0 12px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.tl-desc { font-size: 14px; color: #444; line-height: 1.8; }

/* 働き方カレンダー */
.week-grid {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px;
}
.day-block {
  background: #fff; border: 2px solid #ddd; border-radius: 10px;
  padding: 14px 8px; text-align: center; width: calc(100%/7 - 10px); min-width: 56px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}
.day-block.work  { border-color: var(--red);   }
.day-block.off   { border-color: var(--ocean); background: #E3F2FD; }
.day-block.trip  { border-color: #FF8F00;      }
.day-name  { font-weight: bold; font-size: 1.1em; margin-bottom: 4px; }
.day-icon  { font-size: 1.4em; margin-bottom: 4px; }
.day-label { font-size: 0.8em; font-weight: bold; color: #555; }

/* ============================================
   FAQ アコーディオン
============================================ */
.faq-wrap { max-width: 800px; margin: 0 auto; padding-bottom: 60px; }
.faq-details {
  background: #fff; border-radius: 12px; margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(11,37,69,0.06);
  border: 2px solid #dee8f5; overflow: hidden; transition: 0.3s;
}
.faq-details:hover,
.faq-details[open] { border-color: var(--ocean); box-shadow: 0 8px 25px rgba(11,37,69,0.1); }
.faq-q {
  padding: 20px 40px 20px 60px;
  cursor: pointer; font-weight: bold; font-size: 1.05em; color: #333;
  position: relative; list-style: none; margin: 0; transition: background 0.3s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
  content: 'Q.'; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.4em; color: var(--red); font-weight: 900; font-family: sans-serif;
}
.faq-q::after {
  content: '＋'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.4em; color: #aaa; transition: transform 0.3s;
}
.faq-details[open] .faq-q { background: #EBF4FF; }
.faq-details[open] .faq-q::after { transform: translateY(-50%) rotate(45deg); color: var(--red); }
.faq-a {
  padding: 20px 25px 25px 60px; color: #444; line-height: 1.85;
  border-top: 1px dashed #dee8f5; position: relative; margin: 0;
  animation: fadeSlide 0.3s ease;
}
.faq-a::before {
  content: 'A.'; position: absolute; left: 18px; top: 18px;
  font-size: 1.4em; color: var(--ocean); font-weight: 900; font-family: sans-serif;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   テーブル（会社概要・募集要項）
============================================ */
.info-table {
  width: 100%; border-collapse: collapse; font-size: 16px; color: #333; line-height: 2; margin-top: 20px;
}
.info-table th {
  width: 30%; padding: 18px 20px;
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
  text-align: left; font-weight: 900; color: var(--navy);
  border-bottom: 2px solid #C5D8F5; border-right: 2px solid #C5D8F5;
}
.info-table td {
  padding: 18px 20px; background: #fff;
  border-bottom: 1px solid #e0ecff;
}
.salary-highlight { color: var(--red); font-size: 22px; font-weight: 900; }

/* スマホ：テーブル縦積み */
@media (max-width: 768px) {
  .info-table th, .info-table td { display: block; width: 100%; border-right: none; }
  .info-table th { border-bottom: none; padding-bottom: 8px; }
  .info-table td { padding-top: 8px; margin-bottom: 10px; border-bottom: 1px solid #e0ecff; }
}

/* マップ */
.map-wrapper {
  margin-top: 40px; padding: 10px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 8px 25px rgba(11,37,69,0.08);
  position: relative;
}
.map-wrapper::before {
  content: '';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 100px; height: 24px;
  background: rgba(21,101,192,0.75); border-radius: 3px; z-index: 2;
}

/* ============================================
   スクラップノート（社長ページ）
============================================ */
.scrap-note {
  background: #fffdf6;
  padding: 50px;
  border-radius: 5px;
  box-shadow: 5px 10px 30px rgba(11,37,69,0.1);
  border-left: 8px solid var(--navy);
  position: relative;
  max-width: 820px; width: 100%; box-sizing: border-box; margin: 0 auto;
  background-image: linear-gradient(#dde6f0 1px, transparent 1px);
  background-size: 100% 2em; line-height: 2em;
}
.scrap-photo-wrap {
  position: relative; transform: rotate(-3deg);
  z-index: 10; transition: 0.3s;
}
.scrap-photo-wrap:hover { transform: rotate(0deg) scale(1.02); }
.scrap-tape-photo {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%) rotate(2deg);
  width: 110px; height: 30px;
  background: rgba(21,101,192,0.75); border-radius: 3px; z-index: 11;
}
.scrap-photo {
  background: #fff; padding: 14px 14px 28px;
  box-shadow: 5px 10px 20px rgba(11,37,69,0.15);
  border-radius: 2px; width: 260px;
}
.scrap-photo img { width: 100%; height: auto; border: 1px solid #e0e0e0; }
.scrapbook-layout {
  display: flex; flex-direction: column; align-items: center; gap: 50px;
  margin-top: 40px;
}
.president-name {
  text-align: center; margin-top: 14px;
  font-weight: 900; color: var(--navy); font-size: 16px;
}

/* ============================================
   選考の流れ
============================================ */
.flow-steps { max-width: 700px; margin: 30px auto 0; }
.flow-step {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 30px; position: relative;
}
.flow-step::after {
  content: '↓';
  position: absolute; bottom: -28px; left: 28px;
  font-size: 22px; color: var(--ocean); font-weight: 900;
}
.flow-step:last-child::after { display: none; }
.step-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 22px;
  box-shadow: 0 4px 12px rgba(11,37,69,0.25);
}
.step-content h4 {
  font-size: 18px; font-weight: 900; color: var(--navy); margin: 8px 0 6px;
}
.step-content p { font-size: 15px; color: #555; margin: 0; line-height: 1.7; }

/* ============================================
   レスポンシブ
============================================ */
@media (max-width: 768px) {
  body { padding-top: 70px; }

  .c-hamburger { display: block; }
  .global-nav {
    position: fixed; top: 0; left: 100%; width: 100vw; height: 100vh;
    background: rgba(11,37,69,0.98); backdrop-filter: blur(10px);
    transition: 0.4s ease; z-index: 1000;
    display: flex !important; align-items: center; justify-content: center;
    overflow-y: auto;
  }
  .global-nav.is-active { left: 0; }
  .global-nav ul {
    flex-direction: column !important; text-align: center !important;
    gap: 28px !important; width: 100% !important; padding: 0 !important; margin: 0 !important;
  }
  .nav-link { font-size: 1.3rem !important; letter-spacing: 2px !important; color: #fff !important; display: block !important; }
  .nav-btn-apply { font-size: 1.2rem !important; display: inline-block !important; padding: 14px 30px !important; }

  .hero-catch-box { padding: 30px 24px; }
  .hero-h1 { font-size: 26px; }
  .hero-salary { font-size: 18px; }

  .menu-grid { grid-template-columns: 1fr; }
  .points-grid { grid-template-columns: 1fr; }

  .growth-timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-of-type(even) {
    flex-direction: column; align-items: flex-start; gap: 16px;
  }
  .timeline-item:nth-of-type(odd)  .timeline-content::after,
  .timeline-item:nth-of-type(even) .timeline-content::after { display: none; }
  .timeline-icon-box { display: none; }

  .week-grid .day-block { width: calc(25% - 8px); min-width: 50px; }

  .deco-bg { display: none; }
  .scrap-note { padding: 24px 16px; }

  /* ---- 文字サイズ改善 ---- */
  body { font-size: 16px; }
  .page-title h1 { font-size: 26px; letter-spacing: 1px; }
  .section-title { font-size: 20px; margin-bottom: 16px; }
  .flat-card { padding: 24px 18px; }
  .card-title { font-size: 18px; }
  .card-desc { font-size: 15px; }
  .point-title { font-size: 16px; }
  .point-desc { font-size: 15px; }
  .tl-period { font-size: 13px; }
  .tl-step { font-size: 24px; }
  .tl-title { font-size: 17px; }
  .tl-desc { font-size: 15px; }
  .faq-q { font-size: 1rem; padding: 18px 36px 18px 52px; }
  .faq-a { font-size: 15px; padding: 16px 18px 20px 52px; }
  .step-content h4 { font-size: 16px; }
  .step-content p { font-size: 15px; }
  .info-table { font-size: 15px; }
  .info-table th, .info-table td { padding: 12px 14px; }
  .btn-primary { font-size: 16px; padding: 14px 32px; }

  /* ---- 比較テーブル → 縦積みに ---- */
  .comparison-table thead { display: none !important; }
  .comparison-table tr {
    display: block !important;
    margin-bottom: 12px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #e0ecff !important;
  }
  .comparison-table td {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-right: none !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .comparison-table td:first-child {
    background: #FFF3F3 !important;
    border-bottom: 1px dashed #f0c8c8 !important;
  }
  .comparison-table td:first-child::before {
    content: "❌ よくある職場";
    display: block;
    font-size: 11px;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 4px;
    letter-spacing: 1px;
  }
  .comparison-table td:last-child { background: #EBF4FF !important; }
  .comparison-table td:last-child::before {
    content: "✅ S&Sはこうです";
    display: block;
    font-size: 11px;
    font-weight: 900;
    color: var(--ocean);
    margin-bottom: 4px;
    letter-spacing: 1px;
  }

  /* ---- scrap-note内のh3を全幅に ---- */
  .scrap-note h3 { display: block !important; width: 100% !important; font-size: 16px !important; }

  /* ---- 出張の1日カード → 縦積み ---- */
  .day-trip-card { flex-direction: column !important; padding: 20px 16px !important; }
  .day-trip-card img { width: 100% !important; height: 180px !important; flex-shrink: unset !important; }

  /* ---- 経歴・資格セクション（スマホ専用） ---- */
  .career-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    max-width: 100% !important;
  }
  .career-grid .flat-card {
    padding: 20px 16px !important;
  }
  /* 経歴タイムライン：ラベルと本文を読みやすく */
  .career-grid ul > li > div:first-child {
    font-size: 14px !important;
    margin-bottom: 4px !important;
  }
  .career-grid ul > li > div:last-child {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }
  /* 資格バッジのテキスト */
  .career-grid [style*="font-size:14px"] {
    font-size: 15px !important;
  }
}

/* =============================================
   SUNNY MARITIME DESIGN v3.0
   晴天の海＋太陽＋雲 明るい船上イメージ
============================================= */

/* ---- 空→海 明るいグラデーション背景 ---- */
body {
  background:
    linear-gradient(180deg,
      #B3E5FC 0%,    /* 青空 */
      #81D4FA 18%,   /* 空 */
      #4FC3F7 35%,   /* 水平線付近 */
      #29B6F6 50%,   /* 海面 */
      #0288D1 65%,   /* 海 */
      #01579B 80%,   /* 少し深い海 */
      #0B2545 100%   /* 深海 */
    ) !important;
  background-attachment: fixed !important;
}

/* ---- 太陽の光（やさしいグロー） ---- */
body::before {
  content: '';
  position: fixed;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle,
    rgba(255,236,153,0.55) 0%,
    rgba(255,214,0,0.25)   35%,
    rgba(255,180,0,0.08)   60%,
    transparent            80%
  );
  pointer-events: none;
  z-index: 0;
  animation: sunPulse 6s ease-in-out infinite alternate;
}
@keyframes sunPulse {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1.0; transform: scale(1.08); }
}

/* ---- 海面のキラキラ（光の反射） ---- */
body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 70%, rgba(79,195,247,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: seaSparkle 8s ease-in-out infinite alternate;
}
@keyframes seaSparkle {
  0%   { opacity: 0.6; }
  100% { opacity: 1.0; }
}

/* ---- 太陽アイコン ---- */
.sun-deco {
  position: fixed;
  top: -55px;
  right: -55px;
  font-size: 200px;
  filter: drop-shadow(0 0 40px rgba(255,214,0,0.7));
  animation: spinSun 50s linear infinite;
  z-index: 0;
  opacity: 0.92;
  pointer-events: none;
}
@keyframes spinSun { 100% { transform: rotate(360deg); } }

/* ---- 雲 ---- */
.sky-clouds { position: fixed; top: 0; left: 0; width: 100%; height: 55%; pointer-events: none; z-index: 0; overflow: hidden; }
.cloud { position: absolute; color: #fff; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08)); animation: floatCloud linear infinite; opacity: 0.92; }
.cloud-1 { top: 4%;  font-size: 130px; animation-duration: 38s; animation-delay: -5s;  }
.cloud-2 { top: 18%; font-size: 180px; animation-duration: 52s; animation-delay: -22s; opacity: 0.75; }
.cloud-3 { top: 8%;  font-size: 100px; animation-duration: 28s; animation-delay: -10s; }
.cloud-4 { top: 28%; font-size: 220px; animation-duration: 60s; animation-delay: -35s; opacity: 0.6; }
.cloud-5 { top: 14%; font-size: 140px; animation-duration: 44s; animation-delay: -18s; }
@keyframes floatCloud {
  0%   { transform: translateX(-220px); }
  100% { transform: translateX(calc(100vw + 220px)); }
}

/* ---- 海面の波デコ（明るく） ---- */
.sea-bg { height: 200px !important; }
.wave {
  background: rgba(255,255,255,0.22) !important;
  height: 120px !important;
}
.wave-2 {
  background: rgba(79,195,247,0.16) !important;
  height: 95px !important;
}
.wave-3 {
  background: rgba(2,136,209,0.12) !important;
  height: 70px !important;
}

/* ---- ウェーブ区切り ---- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
  margin: 0;
}
.wave-divider svg { display: block; width: 100%; }

/* ---- 船上（甲板）セクション：明るい海の青 ---- */
.ship-section {
  position: relative;
  background: rgba(1, 87, 155, 0.78) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
/* 見出しのみ白（カード内テキストは個別のinlineスタイルで管理） */
.ship-section .section-title,
.ship-section > .inner > h2,
.ship-section > .inner > h3 { color: #fff !important; }
/* flat-card の中の見出しは元の色を維持 */
.ship-section .flat-card h2,
.ship-section .flat-card h3,
.ship-section .flat-card h4 { color: var(--navy) !important; }

/* ---- 海面セクション：明るい水色 ---- */
.ocean-section {
  background: rgba(2, 136, 209, 0.22) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---- カード：白くてクリーン ---- */
.flat-card {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255,255,255,0.95) !important;
  box-shadow: 0 8px 28px rgba(1,87,155,0.18) !important;
}
.menu-card {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 8px 28px rgba(1,87,155,0.2) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
}
.point-card {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 6px 20px rgba(1,87,155,0.15) !important;
}
.scrap-note {
  background: rgba(255,253,246,0.98) !important;
  box-shadow: 5px 10px 28px rgba(1,87,155,0.2) !important;
}
.faq-details {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 4px 18px rgba(1,87,155,0.14) !important;
}
.timeline-content {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 8px 24px rgba(1,87,155,0.18) !important;
}
.hero-catch-box {
  box-shadow: 0 20px 50px rgba(1,87,155,0.3) !important;
  border: 1px solid rgba(255,255,255,0.95) !important;
}

/* ---- ポートホール（丸窓）風画像 ---- */
.timeline-circle {
  border: 6px solid rgba(255,255,255,0.95) !important;
  box-shadow:
    0 0 0 3px rgba(2,136,209,0.35),
    0 8px 22px rgba(1,87,155,0.25) !important;
}

/* ---- テーブル ---- */
.info-table td { background: rgba(255,255,255,0.98) !important; }
.info-table th { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%) !important; }

/* ---- 週カレンダー ---- */
.day-block {
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 3px 10px rgba(2,12,28,0.2) !important;
}

/* ---- フッター ---- */
.site-footer {
  background: linear-gradient(180deg, rgba(2,12,28,0.95) 0%, #020c1b 100%) !important;
  border-top: 2px solid rgba(66,165,245,0.2) !important;
}

/* ---- スマホ調整 ---- */
@media (max-width: 768px) {
  body::after { display: none; }
}
