@charset "UTF-8";

:root {
  --bg: #e4f6ff;
  --border: #0066cc;
}

#main div:before,
#main div:after,
ul:before,
ul:after,
ol:before,
ol:after,
dl:before,
dl:after {
  display: none;
}

.flexbox {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  margin-bottom: 25px;
  line-height: 1.75;
}

.flexImg {
  width: 100%;
  margin-bottom: 15px;
}

.flexImg img {
  width: 100%;
  height: auto;
}

.flexTxt {
  line-height: 1.7;
  margin-bottom: 15px;
}

.devider{
  width: 100%;
  margin-bottom: 15px;
}

.devider img{
  width: 100%;
  height: auto;
}

.defListBox {
  margin-bottom: 25px;
}

.defListHead {
  box-sizing: border-box;
  padding: 5px;
  border-bottom: 1px dotted var(--border);
  margin-bottom: 10px;
  font-weight: bold;
}

.defListItem {
  margin-bottom: 15px;
}

.listBox {
  margin-bottom: 25px;
}

.listItem {
  margin-bottom: 15px;
}

.innerH4 {
  box-sizing: border-box;
  margin-bottom: 25px;
  font-weight: bold;
  font-size: 1.7rem;
  border-left: 1rem solid var(--border);
  padding-left: 1rem;
}

.bgBox {
  box-sizing: border-box;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 25px;
  background: var(--bg);
  line-height: 1.7;
  color: var(--border);
}

.innerTxt {
  line-height: 1.7;
  margin-bottom: 15px;
  color: inherit;
}

.highlight {
  font-weight: bold;
  display: inline-block;
  padding: 3px 5px 2px;
  background: var(--bg);
  color: var(--border);
}

@media (width>768px) {

  #box1 .flexbox.rev {
    flex-direction: row-reverse;
  }

  #box1 .flexImg {
    width: 250px;
    height: auto;
  }

  #box1 .flexTxtbox {
    width: 440px;
  }
}


/* PC表示時（768px以上）はテーブル風レイアウト */
@media (width <=768px) {
  #box1 .rev{
    display: block;
  }

  #box1 .rev .flexImg,
  #box1 .rev .flexTxtbox {
    width: 100%;
  }
}

/* リンクのスタイル */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}