/* いわてグラフ798号 共通パーツ（ボタン・問い合わせ先・フッター） */
:root {
  --teal: #098398;
  --ink: #222;
  --gray-btn: #c2bebd;
  --footer: #454545;
  --page-max: 760px;
}
* { box-sizing: border-box; }
/* ページ幅は797号と同じ共通CSS（/css/style.css）の .container に従う。
   文字サイズは画像と同じ比率で拡大縮小するよう、.lp の横幅基準（cqi）で指定 */
.lp { container-type: inline-size; color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
.lp img { display: block; width: 100%; height: auto; }

/* 記事ブロック */
.lp .lp-article { padding-bottom: 3em; }

/* 詳細はホームページをご覧ください */
.lp .lp-more {
  display: flex; align-items: center; justify-content: center; gap: .4em;
  width: 86%; margin: 1.2em auto 0; padding: .95em 1em;
  border: 3px solid var(--ink); border-radius: 14px; background: #fff;
  color: var(--ink); font-weight: 700; font-size: 4.2cqi;
  line-height: 1.3; text-decoration: none; text-align: center;
}
.lp .lp-more:hover { background: #f3f3f3; }
.lp .lp-more:focus-visible, .lp .lp-back:focus-visible, .lp .lp-sitetop a:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px; }
.lp .lp-more .icon, .lp .lp-back .icon { flex: none; width: 1.1em; height: 1.1em; }

/* 特集ページ：画像の間に入るボタン */
.lp .lp-more--inline { margin: .2em auto 2.2em; }

.lp .lp-btnwrap { padding: 1.1em 0 2.2em; }
.lp .lp-btnwrap .lp-more--inline { margin: 0 auto; }

/* 三陸ページ：角型の細枠ボタン */
.lp .lp-more--square { width: 68%; margin: 0 auto; padding: .85em .8em; border: 2px solid var(--ink);
  border-radius: 0; font-size: 3.6cqi; line-height: 1.5; letter-spacing: .04em; }

/* 動画の埋め込み（16:9） */
.lp .lp-video { width: 85.4%; margin: .3em auto 0; aspect-ratio: 16 / 9; background: #222; }
.lp .lp-video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* わたしらしくページ：矢印なし・小さめ文字の角丸ボタン */
.lp .lp-more--plain { width: 78%; font-size: 3.6cqi; padding: .85em .8em; }

/* 画像内の電話番号をタップ可能にする透明リンク */
.lp .lp-imgmap { position: relative; }
.lp .lp-imgmap .lp-tel-area { position: absolute; display: block; border-radius: 8px; }
.lp .lp-imgmap .lp-tel-area:focus-visible { outline: 3px solid var(--teal); }

/* 労働相談専用フリーダイヤル（タップで発信） */
.lp .lp-freedial { display: block; width: 54%; margin: .4em auto 0; padding: .7em .5em;
  border: 3px dotted #333; text-align: center; text-decoration: none; color: #1f6fc0;
  font-weight: 700; font-size: 4.2cqi; line-height: 1.45; letter-spacing: .12em; }
.lp .lp-freedial .num { display: block; text-decoration: underline; text-underline-offset: .2em; letter-spacing: .02em; }

/* 2行になるボタンの文字 */
.lp .lp-more .lbl { text-align: center; line-height: 1.45; }

/* 問い合わせ先 */
.lp .lp-contact { margin: 1.2em 0 0; text-align: center; font-size: 4.1cqi; line-height: 1.7; }
.lp .lp-contact a { color: inherit; text-decoration: none; letter-spacing: .04em; }

/* さまざまなメディアで岩手の情報発信中 */
.lp .lp-media { padding-bottom: 1em; }
.lp .lp-media-title { margin: 0; padding: .55em 1em; background: var(--teal); color: #fff;
  text-align: center; font-size: 4.4cqi; font-weight: 700; letter-spacing: .03em; }
.lp .lp-media-lead { margin: 1.6em 0 0; text-align: center; color: var(--teal);
  font-weight: 700; font-size: 4cqi; }
.lp .lp-media .lp-more { margin-top: .6em; }

/* フッター */
.lp .lp-footer { padding-top: 2em; }
.lp .lp-footer hr { width: 80%; margin: 0 auto 1.2em; border: 0; border-top: 1px dashed #666; }
.lp .lp-back {
  display: flex; align-items: center; justify-content: center; gap: .4em;
  width: 84%; margin: 0 auto; padding: .9em 1em; border-radius: 10px;
  background: var(--gray-btn); color: var(--ink); font-weight: 700;
  font-size: 4.6cqi; text-decoration: none;
}
.lp .lp-sitetop { margin-top: 1.8em; padding: 1em; background: var(--footer); text-align: center; }
.lp .lp-sitetop a { color: #fff; font-size: 3.6cqi; letter-spacing: .08em;
  text-decoration: underline; text-underline-offset: .35em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
