@charset "UTF-8";

/* =============================================================================
   漁視ダイアリー ─ 活用事例 基本テンプレート
   Figma : 水産DX（運用） / 基本テンプレ / 活用事例（基本テンプレ）
     PC … 「漁視ダイアリー 活用事例_01」     ( 1440px / コンテンツ幅 1000px )
     SP … 「漁視ダイアリー 活用事例_01_sp」  (  390px / コンテンツ幅  350px )
   記述はモバイルファースト。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-ink:         #232938; /* textcolor  */
  --c-body:        #222222;
  --c-gray:        #F3F5F9; /* white2     */
  --c-white:       #FFFFFF; /* white1     */
  --c-placeholder: #C4C4C4;

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

  /* レイアウト */
  --container: 1000px;
  --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, dl, dd, ol, ul { 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 のみ） */
.u-sp { display: revert; }
.u-pc { display: none; }

/* 共通コンテナ */
.l-container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* 3-1. グローバルバー ------------------------------------------------------ */
.site-header__bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px var(--gutter);
  background: var(--c-navy);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.site-header__bar-inner {
  display: flex;
  align-items: center;
  width: 1200px;
  max-width: 100%;
}

.site-header__logo img {
  width: 150px;
  height: auto;
}

/* 3-2. ヒーロー本体 -------------------------------------------------------- */
/* 背景は「オーバーレイ／写真／ベースグラデーション」の 3 枚重ね。
   写真の切り出し位置は Figma の配置をそのまま % に換算している。         */
.site-header__body {
  height: 240px;
  padding: 76px var(--gutter) 0 13.89%;
  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") 16.56% 80.94% / 241.7% 261.1% no-repeat,
    linear-gradient(90deg, var(--c-navy) 33.681%, var(--c-blue-light) 100%);
}

.site-header__subtitle {
  color: var(--c-white);
  font-size: 18.235px;
  font-weight: 700;
  line-height: 1;
  font-feature-settings: "palt" 1;
  text-shadow: 0 0 7.598px rgba(0, 0, 0, .1);
}

.site-header__service { margin-top: 15.196px; }

.site-header__service img {
  width: 300.475px;
  max-width: 100%;
  height: 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. 記事ヘッダー（バッジ＋タイトル）
   -------------------------------------------------------------------------- */
.case__head {
  padding-top: 40px;
  padding-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px 10px;
  border-radius: 30px;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  font-feature-settings: "palt" 1;
  text-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.case__title {
  margin-top: 15px;
  color: var(--c-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

/* -----------------------------------------------------------------------------
   6. プロフィール（概要＋スペック＋写真）
   -------------------------------------------------------------------------- */
.profile {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.profile__name {
  color: var(--c-blue);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  font-feature-settings: "palt" 1;
}

.profile__lead {
  margin-top: 15px;
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
}

/* 6-1. スペック表 ---------------------------------------------------------- */
.spec {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.spec__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec__row dt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 15px 7px;
  background: var(--c-gray);
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.spec__row dd {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* 6-2. 写真 ---------------------------------------------------------------- */
.profile__figure { margin-top: 20px; }

.photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--c-placeholder);
  object-fit: cover;
}

.profile__figure .photo { aspect-ratio: 375 / 231; }

figcaption {
  margin-top: 10px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

/* -----------------------------------------------------------------------------
   7. 活用ポイント
   -------------------------------------------------------------------------- */
.points { margin-top: 40px; }

.points__title {
  color: var(--c-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.points__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.point {
  padding: 0 27px 40px;
  border-radius: 15px;
  background: var(--c-gray);
}

/* 連番はカード上端からはみ出させる（Figma 同様のオーバーラップ） */
.point__num {
  margin: -23px 0 8.6px;
  color: var(--c-orange);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  font-feature-settings: "palt" 1;
}

.point__body {
  max-width: 266px;
  margin-inline: auto;
}

.point__title {
  color: var(--c-blue);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  font-feature-settings: "palt" 1;
}

.point__text {
  margin-top: 10px;
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
}

/* -----------------------------------------------------------------------------
   8. 区切り線
   -------------------------------------------------------------------------- */
.rule {
  height: 0;
  margin: 50px 0 0;
  border: 0;
  border-top: 1px solid var(--c-blue);
}

/* -----------------------------------------------------------------------------
   9. 本文（インタビュー）
   -------------------------------------------------------------------------- */
.story {
  margin-top: 50px;
  padding-bottom: 20px;
}

.story__block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.story__block + .story__block { margin-top: 30px; }

.story__heading {
  color: var(--c-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.story__text p {
  margin-top: 10px;
  color: var(--c-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.story__figure .photo { aspect-ratio: 7 / 4; }
.story__figure--wide .photo { aspect-ratio: 9 / 5; }

.story__closing {
  margin-top: 30px;
  color: var(--c-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

/* -----------------------------------------------------------------------------
   10. 一覧へ戻るボタン
   -------------------------------------------------------------------------- */
.case__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;
}

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

/* 11-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__subtitle {
  color: var(--c-white);
  font-size: 15.463px;
  font-weight: 700;
  line-height: 1;
  font-feature-settings: "palt" 1;
  text-shadow: 0 0 6.443px rgba(0, 0, 0, .1);
}

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

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

.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;
}

/* 11-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; }

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

  .u-sp { display: none; }
  .u-pc { display: revert; }

  /* 12-1. ヒーロー -------------------------------------------------------- */
  .site-header {
    display: flex;
    flex-direction: column;
    height: 281px;
    background:
      linear-gradient(90deg, var(--c-blue-deep) 17.059%, rgba(30, 58, 138, 0) 100%),
      url("/jp/fisheries/lib/img/common/hero-bg.jpg") 100% 76% / 86.15% auto no-repeat,
      linear-gradient(90deg, var(--c-navy) 33.681%, var(--c-blue-light) 100%);
  }

  .site-header__bar {
    position: static;
    align-items: flex-end;
    justify-content: flex-start;
    height: 60px;
    padding: 0 40px;
    background: transparent;
  }

  .site-header__logo img { width: 200px; }

  .site-header__body {
    flex: 1 1 auto;
    height: auto;
    padding: 50px var(--gutter) 0 clamp(40px, 8.333%, 120px);
    background: none;
  }

  .site-header__subtitle {
    font-size: 24px;
    text-shadow: 0 0 10px rgba(0, 0, 0, .1);
  }

  .site-header__service { margin-top: 20px; }
  .site-header__service img { width: 395.471px; }

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

  /* 12-3. 記事ヘッダー ---------------------------------------------------- */
  .badge { font-size: 24px; }

  .case__title {
    max-width: 841px;
    margin-top: 10px;
    font-size: 32px;
  }

  /* 12-4. プロフィール ---------------------------------------------------- */
  .profile {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    margin-top: 40px;
  }

  .profile__body {
    flex: 1 1 0;
    min-width: 0;
  }

  .profile__name { font-size: 28px; }

  .profile__lead { margin-top: 20px; }

  .spec {
    max-width: 544px;
    margin-top: 30px;
  }

  .spec__row {
    flex-direction: row;
    align-items: center;
  }

  .spec__row dt {
    flex: none;
    width: 120px;
  }

  .spec__row dd {
    justify-content: flex-start;
    text-align: left;
  }

  .profile__figure {
    flex: 0 0 375px;
    margin-top: 0;
  }

  /* 12-5. 活用ポイント ---------------------------------------------------- */
  .points__list { flex-direction: row; }

  .point {
    flex: 1 1 0;
    min-width: 0;
  }

  /* 12-6. 区切り線・本文 -------------------------------------------------- */
  .rule { margin-top: 60px; }

  .story { margin-top: 60px; }

  .story__block {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }

  .story__block--reverse { flex-direction: row-reverse; }

  .story__block + .story__block { margin-top: 50px; }

  .story__text {
    flex: 1 1 0;
    min-width: 0;
  }

  .story__text p { margin-top: 15px; }

  .story__figure { flex: 0 0 420px; }

  .story__closing {
    margin-top: 50px;
    text-align: center;
  }

  /* 12-7. ボタン ---------------------------------------------------------- */
  .case__back { margin-top: 60px; }

  .btn-back { width: 360px; }

  /* 12-8. フッター -------------------------------------------------------- */
  .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__subtitle {
    font-size: 11.045px;
    text-shadow: 0 0 4.602px rgba(0, 0, 0, .1);
  }

  .footer-brand__logo { margin-top: 9.204px; }
  .footer-brand__logo img { width: 182.097px; }

  .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;
  }
}
