@charset "UTF-8";

/* ==========================================================================
   介護福祉士アフィLP 共通CSS
   熊田さんLP（emble5.com/28sotu/）の装飾パターンを参考に独自実装
   ========================================================================== */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'MS Pゴシック', sans-serif;
  font-size: 14.5px;
  line-height: 1.85;
  color: #333;
  background: #fafafa;
  word-wrap: break-word;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: #1a4f8a; }

/* ===== Layout ===== */
#wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}
#main { padding: 0 14px 24px; }

/* ===== Header ===== */
header { background: #2c4a6e; }
header h1 {
  margin: 0;
  font-size: 13px;
  font-weight: bold;
}
header h1 a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
}
#headertxt {
  background: #f5f5f5;
  border-bottom: 2px solid #d4d9e3;
}
#headertxt h2.title {
  margin: 0;
  padding: 10px 14px;
  font-size: 16px;
}
#headertxt h2.title a {
  color: #2c4a6e;
  text-decoration: none;
  font-weight: bold;
}

/* ===== Article ===== */
article { padding-top: 8px; }
.block_text { margin: 0; }
#text1 p { margin: 12px 0; }
#text1 strong { font-weight: bold; }

/* ===== Title 冒頭の罫線挟みタイトル ===== */
.divider-thick {
  border: 0;
  border-top: 3px solid #2F4F4F;
  margin: 10px 0;
  height: 0;
}
.title-eyebrow {
  text-align: center;
  margin: 8px 0;
  font-weight: bold;
}
.title-eyebrow .lbg { line-height: 1.45; }

/* line-break-gap: 強調文字の行間広め */
.lbg {
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* ===== H2 ===== */
h2 {
  background: linear-gradient(180deg, #2c4a6e 0%, #1a4f8a 100%);
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  padding: 12px 14px 12px 18px;
  margin: 32px -14px 18px;
  position: relative;
  line-height: 1.45;
  border-left: 5px solid #d40000;
}
h2 span { display: block; }
h3 {
  border-left: 5px solid #d40000;
  background: #f5f5f5;
  padding: 8px 12px;
  font-size: 16px;
  margin: 24px 0 12px;
}
h5 {
  font-size: 15px;
  margin: 16px 0 8px;
  padding: 4px 0 4px 12px;
  border-left: 4px solid #1a4f8a;
}

/* ===== 目次 ===== */
#index_wrapper { margin: 14px 0 20px; }
#indexlist {
  background: #f8f9fb;
  border: 1px solid #d4d9e3;
  border-radius: 8px;
  padding: 10px 14px;
}
#index_inner .title {
  font-weight: bold;
  font-size: 13.5px;
  color: #555;
  margin-bottom: 6px;
}
#index_inner ul {
  padding-left: 1.4em;
  margin: 0;
  list-style: decimal;
}
#index_inner li {
  font-size: 13.5px;
  margin: 5px 0;
  line-height: 1.55;
}
#index_inner a {
  color: #1a4f8a;
  text-decoration: none;
}
#index_inner a:hover { text-decoration: underline; }
#index_panel, #index_button { display: none; }

/* ===== 数値ボックス（3並列） ===== */
.data-box {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 14px 0;
  width: 100%;
}
.data-item {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border: 2px solid #1a4f8a;
  border-radius: 8px;
  text-align: center;
  padding: 12px 4px;
}
.data-item .num {
  font-size: 22px;
  font-weight: bold;
  color: #d40000;
  line-height: 1.2;
}
.data-item .num span { font-size: 15px; font-weight: bold; }
.data-item .desc {
  font-size: 11.5px;
  color: #333;
  margin-top: 6px;
  line-height: 1.5;
}

/* ===== 吹き出し（balloon-left） ===== */
.balloon-left {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 10px 0;
  clear: both;
}
.balloon-left.bln-auto { padding-left: 0; }
.balloon-left .bln-img {
  flex: 0 0 64px;
  max-width: 100px;
  margin-right: 4px;
}
.balloon-left .bln-img img { width: 100%; height: auto; display: block; }
.balloon-left .bln {
  flex: 1;
  position: relative;
}
.balloon-left .b_body {
  background: #f0f4f8;
  padding: 10px 14px;
  border-radius: 12px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.75;
}
.balloon-left .b_body::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 14px;
  border-style: solid;
  border-width: 6px 8px 6px 0;
  border-color: transparent #f0f4f8 transparent transparent;
}
.balloon-left .b_body p { margin: 0; }
.balloon-left .img-l { display: none; }
/* キャラなし版 (balloon3) */
.balloon-left.bln-auto .bln-img,
.balloon-left .bln.balloon3 ~ .bln-img { display: none; }
.balloon-left.bln-auto .bln {
  margin-left: 0;
}
.balloon-left.bln-auto .b_body::before {
  display: none;
}
.balloon-left.bln-auto .b_body {
  background: #f5f5f5;
}

/* ===== dottbox（点線囲み） ===== */
.dottbox {
  border: 2px dotted #888;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
  background: #fafafa;
}
.dottbox.graybg { background: #ececec; border-color: #aaa; }
.dottbox .point {
  text-align: center;
  font-weight: bold;
  font-size: 15.5px;
  color: #1a4f8a;
  margin-bottom: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed #ccc;
}
.dottbox ol, .dottbox ul {
  padding-left: 1.4em;
  margin: 6px 0;
}
.dottbox li {
  margin: 6px 0;
  font-size: 14.5px;
}

/* ===== alert / attention / thint / accept ===== */
.alert, .attention, .thint, .accept {
  padding: 14px 16px 14px 50px;
  margin: 16px 0;
  font-size: 14.5px;
  line-height: 1.75;
  border-radius: 6px;
  position: relative;
  background-repeat: no-repeat;
  background-position: 14px 14px;
  background-size: 26px auto;
}
.alert p, .attention p, .thint p, .accept p { margin: 0; }
.alert {
  background-color: #fff3f7;
  color: #c92e54;
  background-image: url('../img/icon_alert.svg');
}
.alert strong { color: #c92e54; font-weight: bold; }
.attention {
  background-color: #fef7e7;
  color: #b27336;
  background-image: url('../img/icon_attention.svg');
}
.attention strong { color: #c46a1f; font-weight: bold; }
.thint {
  background-color: #eff6fc;
  color: #2c5070;
  background-image: url('../img/icon_thint.svg');
  text-align: left;
}
.thint strong { color: #1a4f8a; font-weight: bold; }
.accept {
  background-color: #f2f9ef;
  color: #5d7e4a;
  background-image: url('../img/icon_accept.svg');
}

/* ===== point1, point2, point3 番号バッジ付き見出し ===== */
.point1, .point2, .point3, .point4, .point5, .point6 {
  background-color: #1a4f8a;
  color: #fff;
  padding: 10px 14px 10px 56px;
  position: relative;
  margin: 20px 0 10px;
  font-weight: bold;
  font-size: 15px;
  border-radius: 6px;
  line-height: 1.5;
}
.point1::before, .point2::before, .point3::before, .point4::before,
.point5::before, .point6::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.point1::before { background-image: url('../img/point1.svg'); }
.point2::before { background-image: url('../img/point2.svg'); }
.point3::before { background-image: url('../img/point3.svg'); }
.point4::before { background-image: url('../img/point4.svg'); }
.point5::before { background-image: url('../img/point5.svg'); }
.point6::before { background-image: url('../img/point6.svg'); }

/* ===== borderdot（点線区切り） ===== */
.borderdot {
  border: 0;
  border-top: 1px dashed #aaa;
  margin: 14px 0;
  height: 1px;
  line-height: 1px;
}
p.borderdot { padding: 0; }

/* ===== rnd1 ===== */
.rnd1 { border-radius: 8px; }
.rbox3 {
  background: #fff;
  border: 1px solid #d4d9e3;
  padding: 14px 16px;
  margin: 14px 0;
}
.shadow2 { box-shadow: 0 3px 0 rgba(0,0,0,0.08); }

/* ===== user1 / user2（口コミ） ===== */
.user1, .user2 {
  background: #f6f6f6;
  border-radius: 8px;
  padding: 14px 16px 14px 76px;
  margin: 14px 0;
  position: relative;
  min-height: 64px;
  font-size: 14.5px;
  line-height: 1.75;
}
.user1::before, .user2::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 14px;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid #ccc;
}
.user1::before { background-image: url('../img/user1.svg'); }
.user2::before { background-image: url('../img/user2.svg'); }
.user1 p, .user2 p { margin: 4px 0; }

/* ===== txt-img / image-center ===== */
.txt-img {
  text-align: center;
  margin: 14px 0;
}
.image-center {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ===== CTA ボタン ===== */
.btn {
  display: inline-block;
  width: 100%;
  max-width: 100vw;
  padding: 0.6em 0;
  background-color: #dc143c;
  box-shadow: 0 4px 0 #600013;
  border-radius: 60px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}
.btn2 {
  display: block;
  width: 100%;
  max-width: 100vw;
  padding: 1.1em 0;
  background-color: #249760;
  box-shadow: 0 5px 0 #167045;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}
.btn:active, .btn2:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #167045;
}
.next-text {
  line-height: 1.0;
  margin-top: 1.0em;
}

/* ===== ハイライト ===== */
.mky_yellow {
  background: linear-gradient(transparent 62%, #fff176 62%);
  font-weight: bold;
}

/* ===== 出典・小さい注記 ===== */
.src, .small-note {
  font-size: 10px;
  color: #999;
  text-align: right;
  margin: 4px 0;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  font-size: 11px;
  color: #888;
  padding: 24px 14px;
  border-top: 1px solid #e0e0e0;
  margin-top: 32px;
  background: #fafafa;
}
footer a { color: #888; }

/* ===== Tablet/PC ===== */
@media (min-width: 600px) {
  body { font-size: 15px; }
  #main { padding: 0 24px 32px; }
  h2 { margin-left: -24px; margin-right: -24px; padding-left: 28px; }
  .data-item .num { font-size: 26px; }
  .data-item .desc { font-size: 12.5px; }
}
