@charset "UTF-8";

/* =============================================================================
   活用Tips 記事ページ（漁視ダイアリー 活用Tips_001／_002）
   Figma : 水産DX（運用） /「漁視ダイアリー 活用Tips_001」「漁視ダイアリー 活用Tips_002」
   common.css の後に読み込む。
   本文の図版は 1000px 幅の PC デザインが入りきる 1100px 以上で PC 版に切り替え、
   それ未満は SP デザイン（1 カラム）で表示する。
   ========================================================================== */

/* 図版の出し分け（1100px 以上＝wide／未満＝narrow）
   非表示側だけを指定し、表示側は各部品の display をそのまま生かす */
@media (max-width: 1099.98px) {
  .u-wide { display: none !important; }
}
@media (min-width: 1100px) {
  .u-narrow { display: none !important; }
}

/* -----------------------------------------------------------------------------
   1. 記事の外枠（PC はノート風の罫線パネル）
   -------------------------------------------------------------------------- */
.note {
  max-width: calc(340px + 50px);
  margin-inline: auto;
  padding: 0 25px;
}
@media (min-width: 768px) and  (max-width: 1024px) {
  .note {
    max-width: none;
  }
}

/* -----------------------------------------------------------------------------
   2. 記事ヘッダー
   -------------------------------------------------------------------------- */
.tips-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 40px 0 10px;
}

.tag { display: flex; }

.tag__label {
  padding: 7px 20px 10px;
  border-radius: 30px;
  background: var(--c-green);
  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);
}

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

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

/* -----------------------------------------------------------------------------
   3. 本文
   -------------------------------------------------------------------------- */
.tips-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
  color: var(--c-ink);
}

.tips-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
}

.tips-text strong { font-weight: 900; }

/* 3-1. リード（本文＋画像） ------------------------------------------------ */
.tips-lead {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tips-lead__paras {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tips-lead__paras .tips-text span {
  font-size: 13.5px;
}

.tips-lead__figure {
  overflow: hidden;
  border-radius: 9.067px;
  background: #0D0D1D;
}

.tips-lead__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 375 / 231;
  object-fit: contain;
}

/* 3-2. 小見出しつきセクション --------------------------------------------- */
.tips-group {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.tips-section--split { gap: 40px; }

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

.tips-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* 単体のスクリーンショット */
.tips-shot {
  width: 320px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8.533px;
  background: #0D0D1D;
}

.tips-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 197.12;
  object-fit: cover;
}

/* -----------------------------------------------------------------------------
   4. 接続図（フロー）
   -------------------------------------------------------------------------- */
.flow {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 320px;
  max-width: 100%;
  margin-inline: auto;
}

.flow__step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 16px 15px 20px;
  border-radius: 10px;
  background: #DEEBF7;
  color: var(--c-blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

/* HDMI ケーブル */
.flow__step--cable {
  min-height: 50px;
  padding-block: 0;
  border: 3px solid #90CDE6;
  background: var(--c-white);
}

/* 対応する映像合成機（PC はピンク枠で強調） */
.flow__step--merge { gap: 10px; }
.flow__plus { display: none; }

.flow__link { flex: none; }

.flow__link--line {
  height: 43px;
  background: linear-gradient(#90CDE6, #90CDE6) center / 4px 100% no-repeat;
}

.flow__link--arrow {
  height: 44px;
  background: url("/jp/fisheries/lib/img/common/flow-arrow-down.svg") center / 31px 45px no-repeat;
}

/* 合成あり（SP）：合成機→HDMI の線は短い */
.flow--merge .flow__link--line { height: 23px; }

/* -----------------------------------------------------------------------------
   5. 図版：映像合成器を追加すると（SP）
   -------------------------------------------------------------------------- */
/* 線・矢印は装飾として SVG で重ねる（グリッドの同じセルに配置） */
.split-sp {
  display: grid;
  grid-template-columns: 72px 248px;
  width: 320px;
  margin-inline: auto;
}

.split-sp__lines {
  grid-column: 1 / -1;
  grid-row: 1 / 5;
  align-self: start;
  z-index: 1;
  width: 320px;
  height: 1026px;
  max-width: none;
  pointer-events: none;
}

.split-sp__inputs {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 27px;
  width: 258px;
}

.split-sp__inputs li { display: flex; }

.split-sp__inputs img {
  flex: none;
  width: 120px;
  height: 86px;
  border-radius: 10px 0 0 10px;
  object-fit: cover;
}

.split-sp__inputs span {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  height: 86px;
  padding-bottom: 3px;
  border-radius: 0 10px 10px 0;
  background: #DEEBF7;
  color: var(--c-blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.6;
}

.split-sp .flow {
  grid-column: 2;
  grid-row: 2;
  width: 248px;
  margin: 34px 0 0;
}

.split-sp__note {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 31px;
  padding-left: 64.5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.split-sp__main {
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 66.68px;
}

.split-sp__main img {
  width: 320px;
  height: 176px;
  border-radius: 10.399px;
  object-fit: cover;
}

.split-sp__main figcaption,
.split__main figcaption {
  margin-top: 5.2px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

.split-sp__single {
  grid-column: 1 / -1;
  grid-row: 5;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}

.split-sp__single img {
  width: 160px;
  height: 98px;
  border-radius: 10px;
  object-fit: cover;
}

/* -----------------------------------------------------------------------------
   6. 図版：カメラ映像の共有（SP）
   -------------------------------------------------------------------------- */
.camera-sp {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.camera-sp__photo {
  width: 100%;
  height: auto;
  /* aspect-ratio: 447 / 359; */
  border-radius: 11.92px;
  object-fit: cover;
}

.camera-sp__devices {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.camera-sp__devices li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.camera-sp__devices img {
  width: 87px;
  height: 30px;
}

.camera-sp__screen {
  overflow: hidden;
  border-radius: 12.123px;
  background: #0D0D1D;
}

.camera-sp__screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 454.597 / 280.032;
  object-fit: contain;
}

/* -----------------------------------------------------------------------------
   7. カメラで変わる3つの現場
   -------------------------------------------------------------------------- */
.scenes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.scenes__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* width: 320px; */
  max-width: 100%;
}

.scenes__title {
  width: 280px;
  max-width: 100%;
  min-height: 54px;
  padding: 5px 15px 7px;
  border-bottom: 1px solid var(--c-blue);
  background: var(--c-white);
  color: var(--c-blue);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

.scenes__catch {
  width: 270px;
  max-width: 100%;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

.scenes__text {
  width: 270px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.scenes--2 .scenes__title { width: 100%; }

.scenes--2 .scenes__catch,
.scenes--2 .scenes__text { width: 100%; }

/* -----------------------------------------------------------------------------
   7-2. 活用Tips_001：映像合成器の接続図／構成例／レイアウト例
   -------------------------------------------------------------------------- */
.mixer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mixer__figure img {
  width: 100%;
  height: auto;
}
.mixer__figure picture {
  display: block;
  margin-bottom: 30px;
}
.mixer__figure figcaption {
  border-radius: 10px;
  background: rgba(222, 235, 247, 0.70);
  display: flex;
  width: 100%;
  padding: 15px 10px 15px 50px;
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%; /* 22.4px */
  position: relative;
}
.mixer__figure figcaption:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url(/jp/fisheries/ryoshidiary/lib/img/tips/001/check.png);
  background-size: cover;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

/* 構成例は横長の図なので、SP では横スクロールで実寸に近い大きさを保つ */
.diagram-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.diagram-scroll img {
  /* width: 680px; */
  max-width: none;
  height: auto;
}

.layouts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.layouts__head {
  color: var(--c-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.layouts__input {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 206px;
}

.layouts img:not(.layouts__arrow) {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 矢印は SP では下向き */
.layouts__arrow {
  width: 31.292px;
  height: 47.826px;
  transform: rotate(90deg);
}

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

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

.layouts__list li { width: 300px; }

.layouts__list p {
  border-radius: 15px;
background: var(--4998-ba, #4998BA);
display: flex;
width: 300px;
padding: 2px 0;
justify-content: center;
align-items: center;
gap: 10px;
color: var(--ffffff, #FFF);
text-align: center;
font-size: 16px;
font-weight: 700;
line-height: 160%; /* 25.6px */
margin-bottom: 20px;
}

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

.layouts__list figcaption {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

/* 活用Tips_002：カメラ映像の共有（PC の図版） */
.camera-figure img {
  width: 100%;
  height: auto;
}

/* -----------------------------------------------------------------------------
   8. 活用ポイント
   -------------------------------------------------------------------------- */
.points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

/* 区切りは手描き風のブラシ線（行の上端＋リスト末尾） */
.points__list {
  padding-bottom: 3px;
  background: url("/jp/fisheries/lib/img/common/line-brush.svg") left bottom / 100% 3px no-repeat;
}

.points__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 0 14px 10px;
  background: url("/jp/fisheries/lib/img/common/line-brush.svg") left top / 100% 3px no-repeat;
  color: var(--c-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.points__list li::before {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  background: url("../img/tips/001/arrow.png") center / contain no-repeat;
}

/* -----------------------------------------------------------------------------
   9. まとめ（SP のみのデザイン）
   -------------------------------------------------------------------------- */
.tips-summary {
  margin-top: 50px;
  padding: 19.5px 20px;
  border: 1px solid var(--c-blue);
  color: var(--c-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

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

  /* 10-1. ノート風パネル -------------------------------------------------- */
  /* 罫線は装飾なので背景で描く（上から：見出し下の線／目盛り／上下の余白マスク／罫線） */
  .note {
    max-width: 1200px;
    margin-top: 60px;
    padding: 0 100px 49px;
    border: .5px solid #A6A6A6;
    border-radius: 30px;
    background-color: var(--c-white);
    background-image:
      linear-gradient(#A6A6A6, #A6A6A6),
      url("/jp/fisheries/lib/img/common/note-ruler.svg"),
      linear-gradient(var(--c-white), var(--c-white)),
      linear-gradient(var(--c-white), var(--c-white)),
      url("/jp/fisheries/lib/img/common/note-line.svg");
    background-position:
      50% 168.5px,
      50% 170px,
      0 0,
      0 100%,
      50% 226.5px;
    background-size:
      calc(100% - 120px) 1.5px,
      1051px 8px,
      100% 226.5px,
      100% 79px,
      calc(100% - 118px) 50px;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-y;
  }

  /* 10-2. 記事ヘッダー（タグはパネル上辺にまたがる） ----------------------- */
  .tips-head {
    gap: 0;
    margin-top: -20px;
    padding: 0;
  }

  .tag::after {
    content: "";
    flex: none;
    width: 10px;
    height: 20px;
    margin: 1px 0 0 -1px;
    background: url("/jp/fisheries/lib/img/common/icon-tag-fold.svg") 0 1.6px / 9.69px 18.38px no-repeat;
  }

  .tag__label {
    border-radius: 4px;
    font-size: 24px;
  }

  .tips-date {
    order: 1;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
    text-align: right;
  }

  .tips-title {
    order: 2;
    max-width: 841px;
    margin-top: 5px;
    font-size: 32px;
  }

  /* 10-3. 本文 ------------------------------------------------------------ */
  .tips-body { margin-top: 60px; }

  .tips-text { font-size: 16px; }
  .tips-text.m-bottom { margin-bottom: 30px; }

  .tips-lead {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .tips-lead > .tips-text,
  .tips-lead__paras { flex: 1 1 0; }

  .tips-lead__paras { gap: 30px; }

  .tips-lead__figure {
    flex: 0 0 375px;
    border-radius: 10px;
  }

  .tips-group { gap: 60px; }

  .tips-section,
  .tips-section--split { gap: 20px; }

  .tips-h2 { font-size: 24px; }

  /* 10-4. 接続図（横並び） ------------------------------------------------- */
  .flow {
    flex-direction: row;
    gap: 0;
    width: 1000px;
  }

  .flow__step {
    flex: 0 0 218px;
    color: var(--c-ink);
  }

  .flow__step--cable {
    flex-basis: 217px;
    min-height: 80px;
  }

  .flow__link {
    width: 43px;
    height: auto;
  }

  .flow__link--line { background-size: 100% 4px; }

  .flow__link--arrow {
    height: auto;
    background: url("/jp/fisheries/lib/img/common/flow-arrow-right.svg") 0 50% / 40px 31px no-repeat;
  }

  .flow--merge { width: 739px; }

  .flow--merge .flow__step--merge {
    flex-basis: 217px;
    border: 3px solid #F28A8A;
    background: var(--c-white);
    color: var(--c-blue);
  }

  .flow__plus {
    display: inline;
    color: #F28A8A;
    font-size: 20px;
  }
  .mixer__figure figcaption {
    width: 510px;
  }
  .mixer__figure figcaption br {
    display: none;
  }

  /* 10-5. 図版：映像合成器を追加すると ------------------------------------ */
  .split {
    display: grid;
    width: 1000px;
  }

  .split > * { grid-area: 1 / 1; }

  .split__lines {
    z-index: 1;
    width: 1000px;
    height: 426px;
    max-width: none;
    pointer-events: none;
  }

  .split__layout {
    display: grid;
    grid-template-columns: 189px 72px 739px;
    grid-template-rows: 80px auto;
    height: 426px;
  }

  .split__inputs {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 27px;
    padding-top: .88px;
  }

  .split__inputs li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding-bottom: 3px;
    border-radius: 10px;
    background: #DEEBF7;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.6;
  }

  /* Figma では先頭の「魚探」だけ角丸なし */
  .split__inputs li:first-child {
    padding-bottom: 0;
    border-radius: 0;
  }

  .split .flow {
    grid-column: 3;
    grid-row: 1;
  }

  .split__shots {
    grid-column: 2 / 4;
    grid-row: 2;
    display: flex;
    align-items: flex-start;
    padding-left: 97px;
  }

  .split__thumbs {
    display: flex;
    flex-direction: column;
    gap: 24.67px;
    margin-top: 50.71px;
  }

  .split__thumbs img {
    width: 140px;
    height: 100.333px;
    border-radius: 11.667px;
    object-fit: cover;
    object-position: 50% 0;
  }

  .split__main {
    margin: 74.88px 35px 0 34px;
  }

  .split__main img {
    width: 320px;
    height: 176px;
    border-radius: 10.399px;
    object-fit: cover;
  }

  .split__main figcaption { font-size: 16px; }

  /* 10-6. 図版：カメラ映像の共有 ------------------------------------------ */
  .camera {
    display: grid;
    grid-template-columns: 447px 98.403px 454.597px;
    grid-template-rows: 20px 80px 280px;
    width: 1000px;
  }

  .camera__lines {
    grid-area: 1 / 1 / -1 / -1;
    z-index: 1;
    width: 1000px;
    height: 380px;
    max-width: none;
    pointer-events: none;
  }

  .camera__photo {
    grid-column: 1;
    grid-row: 2 / 4;
    width: 447px;
    height: 359px;
    border-radius: 11.92px;
    object-fit: cover;
  }

  .camera__labels {
    grid-column: 2 / 4;
    grid-row: 2;
    display: flex;
    margin-top: 30px;
    padding-left: 56px;
  }

  .camera__labels li {
    width: 170px;
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
  }

  .camera__screen {
    grid-column: 3;
    grid-row: 3;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 12.123px;
    background: #0D0D1D;
  }

  .camera__screen img {
    width: 100%;
    height: 255.806px;
    object-fit: cover;
  }

  /* 10-7. 3つの現場 ------------------------------------------------------- */
  .scenes {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    gap: 20px;
    align-items: start;
  }

  .scenes__item { min-height: 210px; }

  .scenes--2 {
    grid-template-columns: repeat(2, 485px);
    gap: 30px;
  }

  .scenes--2 .scenes__item {
    width: 485px;
    min-height: 0;
  }

  .scenes--2 .scenes__title { width: 480px; }

  /* 10-7-2. 活用Tips_001 -------------------------------------------------- */
  .mixer {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }

  .mixer__text { flex: 0 0 363px; }

  .mixer__figure { flex: 0 0 601px; }

  .diagram-scroll { overflow: visible; }

  .diagram-scroll img { width: 1000px; }

  .layouts {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    width: 1000px;
  }

  .layouts__head { font-size: 18px; }

  .layouts__input { margin-bottom: 39px; }

  .layouts__arrow {
    align-self: center;
    margin: 30px 0 0;
    transform: none;
  }

  .layouts__list {
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
  }

  /* 10-8. 活用ポイント ---------------------------------------------------- */
  .points__title { font-size: 32px; }

  .points__list li {
    gap: 16px;
    min-height: 80px;
    padding: 15px 0 20px 26px;
    font-size: 24px;
  }

  .points__list li::before {
    width: 35px;
    height: 35px;
  }

  /* 10-9. 戻るボタン・フッター -------------------------------------------- */
  .note .page-back { margin-top: 60px; }

  .site-footer--flush { padding-top: 0; }
}
