@charset "utf-8";

:root {
  --flowchart-size: 30px;/* 番号のサイズ 変更可 */
  --flowchart-border: 2px;/* 縦線太さ 変更可 */
}
.flowchart {
  list-style: none !important;
  counter-reset: flownum;/* リストアイテムの名称(任意) */
  margin: 1em 0;/* フローチャートと前後要素との距離(任意) */
  padding: 0 !important;
}
.flowchart li {
  position: relative;
  padding: 0 0 2em calc(var(--flowchart-size) + 6px);/* 6px がタイトルとの距離であり余白 */
}

/* 番号部位デザイン */
.flowchart li::before {
	font-size: 16px;
  content: counter(flownum);
  counter-increment: flownum;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -5px;/* 通常は 0, 横に並ぶタイトルとのバランスを見て調整 */
  left: 0;
  z-index: 2;
  width: var(--flowchart-size);
  height: var(--flowchart-size);
  border-radius: 50%;/* 番号円形, 四角形で良ければこの一行削除 */
  background: rgb(44,182,150);/* 番号背景 */
  color: white;/* 番号文字色 */
}

/* 縦線部位デザイン */
.flowchart li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(var(--flowchart-size) / 2 - calc(var(--flowchart-border) / 2));
  z-index: 1;
  width: var(--flowchart-border);
  height: 100%;
  background: rgb(200,200,200);/* 線の色 */
}

/* 工程タイトル */
.flowchart-title {
  margin: 0 0 .6em;
  font-weight: bold;
  font-size: 1.04em;
  line-height: 0.8;/* 大きめの文字は 1.2 〜 1.4 程度で調整すると良い */
}

/* 最終工程の縦線が必要な方ここから削除 */
.flowchart li:last-of-type::after {
  content: none;
}
/* 最終工程の縦線が必要な方ここまで削除 */

/* p要素を利用した場合の調整 */
.flowchart li p {
  margin: 1em 0 !important;
}
.flowchart li p:last-of-type {
  margin-bottom: 0 !important;
}

ul.qrlist{
  display: flex;
}

ul.qrlist li{
  width: 50%;
}

ul.qrlist li dl dt{
  background: rgb(59, 179, 224);
  color: #fff;
  text-align: center;
  border-radius: 4px;
}

ul.qrlist li dl dd{
  text-align: center;
}

.Cservice a:hover{
  text-decoration: underline;
}

blockquote{
  border:1px solid var(--color-or);
  background: #FFF5F2;
  padding: 20px;
  margin-top: 1em;
  border-radius: 4px;
}

.Cservice {
  margin-block-end: 6em;
}
.Cservice #tips_inner {
  max-width: 80%;
  margin: 0 auto;
}
.Cservice h3 {
  color: var(--color-blue);
  margin-block: 2em 1em;
  font-size: clamp(var(--fsize-30), 1.25rem + 1.25vw ,var(--fsize-44));
}
.Cservice h4 {
  font-size: clamp(var(--fsize-20),0.893rem + 0.71vw ,var(--fsize-28));
  margin-block: 2em .5em;
  font-weight: 600;
  line-height: 1.5;
}
.Cservice h5 {
  font-size: clamp(var(--fsize-18), 0.946rem + 0.36vw ,var(--fsize-22));
}

.flowchart li::before {
  background: var(--color-or);
}
ul.qrlist {
  flex-wrap: wrap;
  justify-content: center;
  margin-block-start: 1em;
  gap: 1em;
}
ul.qrlist a {
  font-size: var(--fsize-16);
  display: block;
  word-wrap: break-word;
}
/* 2つのとき */
ul.qrlist:not(:has(li:nth-child(3))) li {
    width: 48%
}

/* 3つ以上のとき */
ul.qrlist:has(li:nth-child(3)) li {
    width: 30%;
}


@media screen and (max-width: 800px) {
ul.qrlist:has(li:nth-child(3)) li {
    width: 48%;
}
}
@media screen and (max-width: 480px) {
  .Cservice #tips_inner {
    max-width: 90%;
  }
  ul.qrlist:not(:has(li:nth-child(3))) li ,
  ul.qrlist:has(li:nth-child(3)) li {
    width: 90%;
  }
}