@charset "UTF-8";

/* =============================================================================
   漁視ダイアリー／漁視ネット ─ 共通スタイル
   記事一覧・活用Tips の各ページで共有する部品（ヒーロー／パンくず／戻るボタン／フッター）。
   ※ 活用事例ページ（テンプレート.html）は従来どおり style.css を使う。
   記述はモバイルファースト。768px 以上で PC デザインへ切り替える。
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. 変数
   -------------------------------------------------------------------------- */
:root {
  /* カラー（Figma のカラースタイル名を併記） */
  --c-navy:        #132E63; /* darkblue   */
  --c-blue:        #004EA2; /* logocolor2 */
  --c-blue-deep:   #1E3A8A;
  --c-blue-light:  #265EC9;
  --c-orange:      #FFA600; /* 活用事例 */
  --c-green:       #2DB988; /* 活用Tips */
  --c-ink:         #232938; /* textcolor  */
  --c-body:        #222222;
  --c-gray:        #F3F5F9; /* white2     */
  --c-white:       #FFFFFF; /* white1     */

  /* タイポグラフィ */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Yu Gothic", Meiryo, sans-serif;

  /* レイアウト */
  --gutter: 20px;
}

/* -----------------------------------------------------------------------------
   2. ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-body);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}
a:hover { opacity: .75; }

/* 表示切り替え（SP のみ／PC のみ）
   非表示側だけを指定し、表示側は各部品の display をそのまま生かす */
@media (max-width: 767.98px) {
  .u-pc { display: none !important; }
}
@media (min-width: 768px) {
  .u-sp { display: none !important; }
}

/* 共通コンテナ（PC は 1200px／記事本文は 1000px） */
.l-container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.l-container--narrow { max-width: calc(1000px + var(--gutter) * 2); }

/* -----------------------------------------------------------------------------
   3. ヒーロー（グローバルバー＋サービスロゴ）
   -------------------------------------------------------------------------- */
.hero { background: var(--c-navy); }

/* 3-1. グローバルバー（SP は追従） ----------------------------------------- */
.hero__bar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 15px var(--gutter);
  background: var(--c-navy);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.hero__furuno,
.hero__furuno picture { display: block; }

.hero__furuno img {
  width: 150px;
  height: auto;
}

/* 3-2. サービス名（ヒーロー本体） ------------------------------------------ */
/* 背景は「オーバーレイ／写真／ベースグラデーション」の重ね。
   写真の切り出し位置は Figma の配置をそのまま % に換算している。         */
.hero__service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12.584px;
  height: 160px;
  padding: 44.51px var(--gutter) 0 20.5%;
  color: var(--c-white);
}

.hero--diary .hero__service {
  background:
    linear-gradient(90deg, var(--c-blue-deep) 22.28%, rgba(30, 58, 138, .48) 100%),
    url("/jp/fisheries/lib/img/common/hero-bg.jpg") 97.99% 75.63% / 241.7% auto no-repeat,
    linear-gradient(90deg, var(--c-navy) 33.681%, var(--c-blue-light) 100%);
}

.hero--net .hero__service {
  padding-top: 43.57px;
  background:
    linear-gradient(90deg, var(--c-blue-deep) 14.155%, rgba(30, 58, 138, 0) 80.919%),
    url("/jp/fisheries/lib/img/common/hero-net.jpg") 19.31% 65.64% / 212.94% auto no-repeat,
    linear-gradient(90deg, var(--c-navy) 33.681%, var(--c-blue-light) 100%);
}

.hero__subtitle {
  font-size: 15.1px;
  font-weight: 700;
  line-height: 1;
  font-feature-settings: "palt" 1;
  text-shadow: 0 0 6.292px rgba(0, 0, 0, .1);
}

.hero__logo {
  height: 35.234px;
  width: auto;
}

/* -----------------------------------------------------------------------------
   4. パンくず（SP では非表示）
   -------------------------------------------------------------------------- */
.breadcrumb { display: none; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 16px;
  color: #000;
  font-size: 12px;
  line-height: 1.25;
}

.breadcrumb__list li + li::before {
  content: ">";
  margin-right: 10px;
}

/* -----------------------------------------------------------------------------
   5. 戻るボタン
   -------------------------------------------------------------------------- */
.page-back {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(320px, 100%);
  padding: 16px 48px 20px 24px;
  border-radius: 120px;
  background: var(--c-blue);
  color: var(--c-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.btn-back__icon {
  flex: none;
  width: 24px;
  height: 24px;
  transform: scaleX(-1); /* 右向きアイコンを左向きに反転 */
}

.btn-back__label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

/* -----------------------------------------------------------------------------
   6. フッター
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 50px;
  padding-top: 30px;
}

/* 6-1. CTA 帯 -------------------------------------------------------------- */
.footer-cta {
  display: flex;
  justify-content: center;
  padding: 40px var(--gutter);
  background: var(--c-navy);
}

.footer-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 350px;
  max-width: 100%;
  padding-block: 30px;
}

.footer-brand { padding: 13.833px; }

.footer-brand__subtitle {
  color: var(--c-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-feature-settings: "palt" 1;
  text-shadow: 0 0 6.404px rgba(0, 0, 0, .1);
}

.footer-brand__logo { margin-top: 12.809px; }

.footer-brand__logo img {
  height: 35.864px;
  width: auto;
  max-width: 100%;
}

.footer-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25.714px;
  width: 100%;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(300px, 100%);
  padding: 14.4px 48px 14.4px 24px;
  border-radius: 120px;
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.btn-pill__icon {
  flex: none;
  width: 24px;
  height: 24px;
}

.btn-pill__label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

/* 6-2. フッター下段 -------------------------------------------------------- */
.footer-bottom {
  background: var(--c-navy);
  border-top: 1px solid var(--c-white);
}

/* サービス横断ナビ（SP では非表示） */
.footer-nav { display: none; }

.footer-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
}

.footer-nav__link::before {
  content: "";
  flex: none;
  width: 9.42px;
  height: 16px;
  background: url("/jp/fisheries/lib/img/common/icon-arrow-forward-white.svg") no-repeat center / contain;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.footer-legal__links a {
  display: block;
  padding: 10px;
  color: var(--c-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

/* SP は「ご利用規約」を単独行に */
.footer-legal__links li:first-child {
  display: flex;
  justify-content: center;
  flex-basis: 100%;
}

.footer-copyright {
  padding-block: 20px;
  color: var(--c-white);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.footer-copyright small { font-size: inherit; }

/* =============================================================================
   7. PC（768px 以上）
   ========================================================================== */
@media (min-width: 768px) {

  /* 7-1. ヒーロー --------------------------------------------------------- */
  .hero {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    height: 160px;
    padding-inline: 40px;
  }

  .hero--diary {
    background:
      linear-gradient(90deg, var(--c-blue-deep) 13.605%, rgba(30, 58, 138, 0) 100%),
      url("/jp/fisheries/lib/img/common/hero-bg.jpg") 100% 71.34% / 86.15% auto no-repeat,
      linear-gradient(90deg, var(--c-navy) 33.681%, var(--c-blue-light) 100%);
  }

  .hero--net {
    background:
      linear-gradient(90deg, var(--c-blue-deep) 24.658%, rgba(30, 58, 138, 0) 70.451%),
      url("/jp/fisheries/lib/img/common/hero-net.jpg") 109.22% 58.72% / 75.9% auto no-repeat,
      linear-gradient(90deg, var(--c-blue-deep) 9.688%, rgba(30, 58, 138, 0) 100%),
      url("/jp/fisheries/lib/img/common/hero-bg.jpg") 100% 62.66% / 86.15% auto no-repeat,
      linear-gradient(90deg, var(--c-navy) 33.681%, var(--c-blue-light) 100%);
  }

  .hero__bar {
    position: static;
    flex: none;
    padding: 43px 0 0;
    background: transparent;
  }

  .hero__furuno img { width: 200px; }

  .hero--diary .hero__service,
  .hero--net .hero__service {
    gap: 14.113px;
    height: auto;
    padding: 42px 0 0;
    background: none;
  }

  .hero__subtitle {
    font-size: 16.935px;
    text-shadow: 0 0 7.056px rgba(0, 0, 0, .1);
  }

  .hero__logo { height: 39.516px; }

  /* 7-2. パンくず --------------------------------------------------------- */
  .breadcrumb { display: block; }

  /* 7-3. ボタン ----------------------------------------------------------- */
  .page-back { margin-top: 60px; }

  .btn-back { width: 360px; }

  /* 7-4. フッター --------------------------------------------------------- */
  .site-footer {
    margin-top: 60px;
    padding-top: 40px;
  }

  .footer-cta { padding: 30px var(--gutter); }

  .footer-cta__inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: auto;
    padding-block: 0;
  }

  .footer-brand { padding: 10px; }

  .footer-brand__subtitle {
    font-size: 12px;
    text-shadow: 0 0 4.63px rgba(0, 0, 0, .1);
  }

  .footer-brand__logo { margin-top: 9.26px; }
  .footer-brand__logo img { height: 25.927px; }

  .footer-cta__buttons {
    flex-direction: row;
    gap: 10px;
    width: auto;
  }

  .btn-pill {
    width: 250px;
    padding: 12px 40px 12px 20px;
    border-radius: 100px;
    font-size: 18px;
  }

  .btn-pill__icon {
    width: 20px;
    height: 20px;
  }

  .footer-bottom { padding: 30px 0 20px; }

  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-nav__top .footer-nav__link {
    padding: 2px 5px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
    font-feature-settings: "palt" 1;
    text-shadow: 0 0 5.47px rgba(44, 94, 120, .5);
  }

  .footer-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    width: 100%;
    padding-inline: clamp(var(--gutter), 8.333%, 120px);
  }

  .footer-nav__list .footer-nav__link {
    padding: 6px 5px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
  }

  .footer-legal { margin-top: 20px; }

  .footer-legal__links {
    flex-wrap: nowrap;
    padding-top: 0;
  }

  .footer-legal__links li:first-child {
    display: block;
    flex-basis: auto;
  }

  .footer-copyright {
    margin-top: 20px;
    padding-block: 0;
    font-size: 12px;
  }
}
