@charset "utf-8";
/* ==========================================================================
   rn-fishline.css  fishline.html 専用の追加スタイル
   ・共通部品は renewal.css を使用し、ここではページ固有の不足分のみを定義
   ========================================================================== */

.rnSection[id] { scroll-margin-top: 110px; }

/* 業界特化ロジックのカード：見出しの補足 */
#logic .rnCard h4 small, #logic .rnCard h3:where(.rnH4) small { display: block; margin-top: 2px; font-size: 14.5px; font-weight: bold; color: #2b2b2b; }
#logic .rnCard .issue { margin-top: auto; }

/* システム化の説明（文章＋画面） */
.flSplit + .flSplit { margin-top: 56px; }
.flLabel { display: inline-block; margin: 0 0 8px !important; padding: 2px 12px; font-size: 12.5px; font-weight: bold; line-height: 1.7; color: #fff; background: #b80000; border-radius: 3px; }
.flSplit .txt p { margin: 0 0 12px; }
.flSplit .rnCheck li { font-size: 15px; }
.flBox { margin-top: 48px; }
.flBox p { margin: 0; font-size: 15.5px; line-height: 1.95; }
.flBox strong { color: #b80000; }

/* ショーケースのカード */
#showcase .rnCard .num { letter-spacing: 0.2em; }

@media screen and (max-width: 767px) {
	.rnSection[id] { scroll-margin-top: 80px; }
	#logic .rnCard h4 small, #logic .rnCard h3:where(.rnH4) small { font-size: 13.5px; }
	.flSplit + .flSplit { margin-top: 40px; }
	.flSplit .rnCheck li { font-size: 14px; }
	.flBox { margin-top: 32px; padding: 18px 16px; }
	.flBox p { font-size: 14.5px; }
}

/* 表示品質調整 */
/* チェックリスト：文節単位で折り返し、最終行に1〜2文字だけ残らないようにする */
.flSplit .rnCheck li { word-break: auto-phrase; text-wrap: pretty; }
/* #howto 直後の既存「FishLineの特徴」見出し：margin＋<br>の重なりで空きすぎるのを詰める */
#howto + div > .subtitle { margin-top: 0; padding-top: 56px; }
#howto + div > .subtitle > br { display: none; }
@media screen and (max-width: 767px) {
	#howto + div > .subtitle { padding-top: 36px; }
	#howto + div { padding-bottom: 40px; }
}

/* ==========================================================================
   既存ブロックの整形（リード文・FishLineの特徴）
   ========================================================================== */
/* リード文：強調語句は文節でのみ折り返し、最終行の短い泣き別れを防ぐ */
#contents > #contentsBody > .bunn { text-wrap: pretty; }
#contents > #contentsBody > .bunn strong { word-break: auto-phrase; }
.flNw { white-space: nowrap; }
/* 特徴リスト：最終行に1〜2文字だけ残らないようにする */
ul#fishline li { text-wrap: pretty; }
ul#fishline li .flNw { font: inherit; color: inherit; }
/* 特徴ブロック末尾の<br>を消し、下余白はpaddingで管理 */
ul#fishline ~ br { display: none; }
#howto + div { padding-bottom: 56px; }

/* ==========================================================================
   FishLineの主な機能（業者様／顧客様の2画面）
   ========================================================================== */
.flFunc { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.flRole { display: flex; flex-direction: column; background: #fff; border: 1px solid #dde2ec; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(16,32,74,0.07); }
.flRoleHead { display: flex; align-items: center; gap: 16px; padding: 18px 22px; color: #fff; background: #1C4C9F; }
.flRole.buyer .flRoleHead { background: #b80000; }
.flRoleHead img { flex: 0 0 52px; width: 52px; height: 52px; }
.flRoleHead .en { display: block; font-family: Arial, sans-serif; font-size: 12px; font-weight: bold; letter-spacing: 0.16em; opacity: 0.8; }
.flRoleHead h3.rnH4 { margin: 2px 0 0; font-size: 20px; line-height: 1.4; color: #fff; text-align: left; }
.flRoleHead p { margin: 2px 0 0; font-size: 13px; line-height: 1.6; opacity: 0.9; }
.flFuncList { flex: 1 1 auto; margin: 0; padding: 10px 22px 14px; list-style: none; }
.flFuncList li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid #eef0f5; }
.flFuncList li:last-child { border-bottom: none; }
.flFuncList li:before { content: ""; position: absolute; left: 2px; top: 17px; width: 16px; height: 16px; border-radius: 50%; background: #1C4C9F; box-shadow: inset 0 0 0 4px #e8eef9; }
.flRole.buyer .flFuncList li:before { background: #b80000; box-shadow: inset 0 0 0 4px #fdeceb; }
.flFuncList b { display: block; font-size: 16px; line-height: 1.5; color: #2b2b2b; }
.flFuncList span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.7; color: #555; word-break: auto-phrase; }
/* 2画面をつなぐ矢印（業者様→公開、顧客様→発注） */
.flFuncLink { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 12px; }
.flFuncLink span { position: relative; display: block; padding: 0 0 10px; font-size: 12.5px; font-weight: bold; line-height: 1.5; text-align: center; word-break: auto-phrase; }
.flFuncLink span:after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 3px; border-radius: 2px; }
.flFuncLink span:before { content: ""; position: absolute; bottom: -4px; width: 0; height: 0; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.flFuncLink .out { color: #1C4C9F; }
.flFuncLink .out:after { background: #1C4C9F; }
.flFuncLink .out:before { right: 0; border-left: 9px solid #1C4C9F; }
.flFuncLink .in { color: #b80000; }
.flFuncLink .in:after { background: #b80000; }
.flFuncLink .in:before { left: 0; border-right: 9px solid #b80000; }

/* ==========================================================================
   FishLineの豊富なオプション機能
   ========================================================================== */
.flOpts .rnCard { border-top: 4px solid #b80000; }
.flOpts .rnCard .icon { width: 60px; height: 60px; }
.flOpts .rnCard .rnTags { margin: auto 0 0; padding-top: 6px; }
.flOptNote { margin: 10px 0 0 !important; font-size: 12.5px !important; line-height: 1.7 !important; color: #767676; }
#options .rnBtns { margin-top: 36px; }

/* ==========================================================================
   あなたの「したい！」を実現します！（したい → FishLineなら）
   ========================================================================== */
.flWants { max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; counter-reset: none; }
.flWants li { display: grid; grid-template-columns: 340px 1fr; background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; overflow: hidden; }
.flWants li + li { margin-top: 18px; }
.flWants .q { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 34px 22px 22px; background: #fdeceb; }
.flWants .q:after { content: ""; position: absolute; right: -14px; top: 50%; z-index: 1; width: 0; height: 0; margin-top: -14px; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 14px solid #fdeceb; }
.flWants .no { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-family: Arial, sans-serif; font-size: 16px; font-weight: bold; color: #fff; background: #b80000; border-radius: 50%; }
.flWants .q h3.rnH4 { margin: 0; font-size: 18px; line-height: 1.6; color: #b80000; text-align: left; word-break: auto-phrase; text-wrap: balance; }
.flWants .q h3.rnH4 br { display: none; }
.flWants .a { padding: 20px 26px 20px 38px; }
.flWants .lbl { display: inline-block; margin-bottom: 6px; padding: 1px 10px; font-size: 12px; font-weight: bold; line-height: 1.8; color: #fff; background: #1C4C9F; border-radius: 3px; }
.flWants .a p { margin: 0; font-size: 15px; line-height: 1.9; text-wrap: pretty; }

@media screen and (max-width: 1023px) {
	.flFunc { grid-template-columns: 1fr 112px 1fr; }
	.flRoleHead { padding: 16px; gap: 12px; }
	.flRoleHead img { flex-basis: 44px; width: 44px; height: 44px; }
	.flRoleHead h3.rnH4 { font-size: 18px; }
	.flFuncList { padding: 6px 16px 10px; }
	.flWants li { grid-template-columns: 270px 1fr; }
}
@media screen and (max-width: 767px) {
	/* 主な機能：縦積み。2画面の間の矢印は上下向きに */
	.flFunc { grid-template-columns: 1fr; }
	.flFuncLink { flex-direction: row; justify-content: center; gap: 12px; padding: 14px 0; }
	.flFuncLink span { flex: 0 1 48%; padding: 0 0 8px; font-size: 12px; }
	.flFuncLink .out:before { right: auto; left: 50%; bottom: -9px; margin-left: -5.5px; border: 5.5px solid transparent; border-top: 9px solid #1C4C9F; border-bottom: 0; }
	.flFuncLink .in:before { left: 50%; top: -9px; bottom: auto; margin-left: -5.5px; border: 5.5px solid transparent; border-bottom: 9px solid #b80000; border-top: 0; }
	.flFuncLink .in { padding: 8px 0 0; }
	.flFuncLink .in:after { top: 0; bottom: auto; }
	.flRoleHead h3.rnH4 { font-size: 17px; }
	.flFuncList b { font-size: 15px; }
	.flFuncList span { font-size: 13px; }
	#options .rnBtns { margin-top: 24px; }
	/* したい！：問い→答えを縦に */
	.flWants li { grid-template-columns: 1fr; }
	.flWants li + li { margin-top: 14px; }
	.flWants .q { padding: 16px 16px 20px; gap: 12px; }
	.flWants .q:after { right: auto; left: 34px; top: auto; bottom: -12px; margin: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 12px solid #fdeceb; border-bottom: 0; }
	.flWants .no { width: 36px; height: 36px; font-size: 14px; }
	.flWants .q h3.rnH4 { font-size: 16px; }
	.flWants .a { padding: 22px 16px 16px; }
	.flWants .a p { font-size: 14px; line-height: 1.85; }
}
