/*

【CSS記述ルール】

① font-sizeはpxで指定してください
　（rem、%等の指定はしないようお願いいたします）

② data はディレクトリ名に変更してください

③ 必ずディレクトリ名が付いたidセレクタを先頭に記述した後に、要素を記述してください
　（例：#oneday .inner、#oneday .page-title 等）

④ CSS内の画像指定パスは、CSSファイルから見た相対パスで指定してください
　（例：../images/ディレクトリ名/画像名.拡張子）

*/
/*------------------------------------------------------------
common
------------------------------------------------------------*/
.data {
  font-family: noto-sans-cjk-jp, 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
}

#data * {
  box-sizing: border-box;
}

#data a {
  transition: opacity .3s;
}

#data a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#data a:hover {
  text-decoration: none;
}

#data a:focus-visible {
  outline: none;
}

#data img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#data .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#data .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#data .text {
  margin-bottom: 2em;
}

#data .text:last-of-type {
  margin-bottom: 0;
}

#data .pc-br {
  display: none;
}

#data .notes {
  display: inline-block;
  position: relative;
  margin-left: 1em;
}

#data .notes::before {
  content: '\0203B';
  display: block;
  position: absolute;
  top: 0;
  left: -1em;
}

#data .inner {
  width: calc(100% - 30px);
  max-width: 1270px;
  margin: 0 auto;
}

@media print, screen and (min-width: 768px) { /* ---------- タブレット・PC以上 ---------- */
  .data {
    font-size: 16px;
  }

  #data a[href^="tel:"] {
    color: inherit;
    pointer-events: none;
  }

  #data a:not([href^="tel:"]):hover {
    opacity: .5;
  }

  #data .sp-br {
    display: none;
  }

  #data .pc-br {
    display: inline;
  }

}

/*------------------------------------------------------------
content style
------------------------------------------------------------*/
#data {
  background-color: #F8F8F8;
}

#data .content-ttl {
  background-image: url(../images/data/data_main_bg_sp.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  max-height: 180px;
  font-size: 17px;
  text-align: center;
  padding: 55px 0;
  margin-top: 50px;
}

#data .content-subttl {
  font-size: 12px;
  display: inline-block;
  line-height: 1.5;
  margin-top: 10px;
  font-weight: 500;
}

#data .icon-item {
  max-width: 345px;
  background-color: #FFFFFF;
  margin: 0 auto 20px;
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.16));
  position: relative;
}

#data .icon-item-ttl {
  width: fit-content;
  font-size: 21px;
  padding-top: 15px;
  position: absolute;
  letter-spacing: 1.26px;
  font-weight: bold;
}

#data .icon-item-ttl::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: #547BC2;
  vertical-align: middle;
  margin: 0 9px 0 1px;
}

#data .inner {
  margin-top: -20px;
  padding-bottom: 50px;
}

#data .icon-item-img {
  padding-top: 15px;
}

#data .icon-box {
  margin-bottom: 20px;
}

#data .icon-item:last-of-type {
  margin-bottom: 0;
}

#data .icon-box:last-of-type {
  margin-bottom: 0;
}

#data .font-s {
  font-size: 18px;
}

@media print, screen and (min-width: 768px) { /* ---------- タブレット・PC以上 ---------- */
  #data .content-ttl {
    background-image: url("../images/data/data_main_bg_pc@2x.png");
  }

  #data .content-ttl {
    font-size: 30px;
    max-height: 490px;
    padding: 150px 0 232px;
    line-height: 2.2;
    letter-spacing: 0.02em;
    margin-top: 100px;
  }

  #data .content-subttl {
    font-size: 20px;
  }

  #data .icon-box {
    display: flex;
    margin-bottom: 30px;
  }

  #data .icon-item {
    max-width: 100%;
    margin-right: 30px;
    margin-bottom: 0;
  }

  #data .icon-item:last-of-type {
    margin-right: 0;
  }

  #data .icon-box:last-of-type {
    margin-right: 0;
  }

  #data .icon-item-ttl {
    font-size: 36px;
    font-size: min(36px, calc(1.75rem + ((1vw - 7.68px) * 0.6944)));
    position: absolute;
  }

  #data .icon-item-ttl::before {
    width: 32px;
  }

  #data .icon-item-img {
    padding-top: 22px;
  }

  #data .inner {
    transform: translateY(0);
    padding-bottom: 100px;
    margin-top: -60px;
  }

  #data .font-s {
    font-size: 30px;
  }

  #data .icon-item-ttl {
    padding-top: 30px;
  }

  #data .icon-item-ttl::before {
    margin-right: 18px;
  }

}
