/* テキスト本文全体を囲む（中央揃え） */
.text-paragraph-center {
  width: 92%;
  max-width: 900px;
  margin-top: 96px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

/* テキスト本文全体を囲む（左揃え） */
.text-paragraph {
  width: 80%;
  max-width: 900px;
  margin-top: 96px;
  margin-right: auto;
  margin-bottom: 80px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  font-family: "Noto Sans JP", sans-serif;
}

/* text-paragraphの中で使用：チャプター */
.chapter {
  margin-top: 96px;
  margin-bottom: 60px;
}

/* text-paragraphの中で使用：段落 */
.paragraph {
  margin-top: 20px;
  margin-bottom: 40px;
}

.border-box {
  border: 1px solid;
  border-radius: 0.375rem;
  border-color: #e0dfdf;
  padding: 16px;
  margin-top: 40px;
  margin-bottom: 40px;
}

img {
  max-width: 100%;
  height: auto;
}

.img-center {
  text-align: center;
}

/* タイトル文字（中央揃え） */
#page-title {
  margin-bottom: 60px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

/* タイトル文字（左揃え） */
#page-title-left {
  margin-bottom: 60px;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
}

/* サブタイトル文字 */
h2.sub-title {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 10px;
}

/* サブタイトル文字 */
h3 {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

.text-bold {
  font-size: 17px;
  font-weight: 700;
}

.text-bold-large {
  font-size: 20px;
  font-weight: 700;
}

.paragraph p {
  font-size: 17px;
  margin-bottom: 20px;
}

.service-content {
  margin: 20px;
  min-width: 100px;
  display: inline-block;
}

.service-caption {
  font-size: 17px;
  margin-top: 8px;
  color: black;
}

ol.page-text {
  font-size: 17px;
  margin-bottom: 20px;
  padding-left: 1.2em;
}

ol.page-text li {
  padding-left: 8px;
  margin-bottom: 20px;
}

ol.page-sub-text {
  margin-top: 20px;
  margin-left: 2.5em;
}

ol.page-sub-text li {
  list-style-type: none;
  counter-increment: cnt;
  margin-bottom: 20px;
}

ol.page-sub-text li::before {
  content: "( "counter(cnt) " )";
  display: inline-block;
  margin: 0 0 0 -2.5em;
  width: 2.5em;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.page-text {
  font-size: 17px;
  margin-bottom: 20px;
  margin-left: 2em;
}

ul.page-text li::before {
  content: "・";
  display: inline-block;
  margin: 0 0 0 -2em;
  width: 2em;
}

a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

a:hover {
  text-decoration: none;
  opacity: 60%;
}

.text-link {
  word-wrap: break-word;
}

.text-link:link {
  color: #4c6ee8;
}

.text-link:visited {
  color: #4c6ee8;
}

@media screen and (min-width: 768px) {
  #page-title {
    font-size: 28px;
  }

  #page-title-left {
    font-size: 28px;
  }
}

/* スマホ画面のみで使用したいタグに付加する　使用例：スマホ画面のみで改行 */
@media screen and (min-width: 639px) {
  .sm-br {
    display: none;
  }
}

.row-md-column {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

@media screen and (max-width: 639px) {
  .row-md-column {
    flex-direction: column;
    align-items: center;
  }
}
