@charset "utf-8";

/* メインの設定部分 */
main {
  line-height: 1.8;
  margin: 0 0 63px;
}

/* 共通タイトル */
.ttl_cmn_1 {
  font-weight: 700;
  font-size: 2rem;
  border-bottom: 2px solid #002bbf;
  background-color: #e7ecfc;
  line-height: 1.1;
  padding: 15px 20px;
  margin: 0 0 15px;
}

.ttl_cmn_1 span {
  font-size: 1.4rem;
  color: #3f59b2;
  margin: 0 0 0 20px;
}

/* 共通ボタン */
.btn_cmn_1 {
  display: block;
  width: 280px;
  text-align: center;
  color: #002bbf;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid #002bbf;
  background-image: url(../images/common/icon_arrow_right.svg);
  background-position: right 10px center;
  padding: 18px 0;
  margin: 0 auto;
}

.btn_cmn_1:hover {
  background-color: #e7ecfc;
}

/* ヒーローイメージ */
.block_slider {
  position: relative;
  margin: 0 0 38px;
  width: 100%;
}

/* slick.jsの基本リセット */
.slick-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* slick.jsで本体の高さ崩れ対策 */
.slick-slider,
.slick-list,
.slick-track {
  height: auto !important;
}

.slick-track {
  display: flex !important;
  align-items: stretch !important;
}

.slick-slide {
  height: auto !important;
}

/* slick.jsが画像読み込み前に高さ0になるのを防止 */
.slick-initialized .slick-slide {
  display: block !important;
}

/* キャッチコピー */
.block_slider p {
  position: absolute;
  z-index: 2000;
  top: 40%;
  width: 100%;
  text-align: center;
  color: #fff;
  font-weight: 900;
  font-size: 2.8vw;
  line-height: 1.4;
  background-color: rgba(0, 43, 191, 0.7);
  padding: 20px;
}

/* 改行削除 */
.block_slider br {
  display: none;
}

/* お知らせ＝＝＝＝＝ */
.section_news {
  width: 920px;
  margin: 0 auto 90px;
}

.list_news {
  list-style: none;
  margin: 0 0 45px;
}

/* お知らせ - リストアイテム */
.list_news li {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-bottom: 1px dashed #002bbf;
  padding: 15px 0;
}

/* お知らせ - 日付 */
.list_news time {
  color: #002bbf;
  font-weight: 700;
}

/* お知らせ - リンク */
.list_news a {
  color: #000;
  text-decoration: none;
}

.list_news a:hover {
  text-decoration: underline;
}

/* ビジュアルナビゲーション＝＝＝＝＝ */
.list_visual_nav {
  display: grid;
  grid-template-columns: repeat(2, 440px);
  justify-content: space-between;
  width: 920px;
  list-style: none;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto;
}

/* VN - リンク */
.list_visual_nav a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.list_visual_nav a:hover {
  color: #002bbf;
}

/* VN - 矢印 */
.list_visual_nav span {
  display: block;
  background-image: url(../images/common/icon_arrow_right.svg);
  background-position: right center;
}

/* VN - イメージ */
.list_visual_nav img {
  width: 100%;
  height: auto;
  border: 10px solid #fff;
  margin: 0 0 10px;
}

/* VN - 背景設定 */
.back_visual_nav {
  width: auto;
  background-color: #f7f8fd;
  padding: 50px 0 43px;
  margin: 0 0 88px;
}

/* お問い合わせ＝＝＝＝＝ */
.section_contact {
  width: 920px;
  margin: 0 auto;
}

/* お問い合わせ - タイトル */
.section_contact h2 {
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 20px;
}

.section_contact h2 span {
  display: block;
  font-size: 1.4rem;
  color: #002bbf;
}

/* お問い合わせ - タイトルグループ */
.section_contact hgroup {
  font-weight: 700;
  text-align: center;
  margin: 0 0 25px;
}

/* お問い合わせ - 種別 */
.loop_contact {
  font-weight: 700;
  text-align: center;
  background-color: #f7f8fd;
  padding: 35px 0;
}

.loop_contact h3 {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.5;
}

/* リンク設定 */
.loop_contact a {
  color: inherit;
}

.loop_contact a:hover {
  text-decoration: none;
}

.loop_contact a[href^="tel:"] {
  pointer-events: none;
  color: inherit;
  text-decoration: none;
}

/* お問い合わせ - レイアウト */
.layout_contact {
  display: grid;
  grid-template-columns: repeat(3, 306px);
}

/* ブレークポイント＝＝＝＝＝＝＝＝＝ */
@media screen and (max-width: 768px) {
  /* メインの設定部分 */
  main {
    line-height: 1.8;
    margin: 0 0 63px;
  }

  /* 共通タイトル */
  .ttl_cmn_1 {
    font-weight: 700;
    font-size: 2rem;
    border-bottom: 2px solid #002bbf;
    background-color: #e7ecfc;
    line-height: 1.1;
    padding: 15px 20px;
    margin: 0 0 15px;
  }

  .ttl_cmn_1 span {
    font-size: 1.4rem;
    color: #3f59b2;
    margin: 0 0 0 20px;
  }

  /* 共通ボタン */
  .btn_cmn_1 {
    width: 90%;
    font-weight: 600;
    padding: 18px 0;
    margin: 0 auto;
  }

  /* ヒーローイメージ */
  .block_slider {
    position: relative;
    margin: 0 0 38px;
  }

  /* キャッチコピー */
  .block_slider p {
    top: auto;
    bottom: 0;
    text-align: left;
    font-weight: 700;
    font-size: 8.6vw;
    padding: 15px;
  }

  /* 改行掲出 */
  .block_slider br {
    display: block;
  }

  /* お知らせ＝＝＝＝＝ */
  .section_news {
    width: 90%;
    margin: 0 auto 45px;
  }

  .list_news {
    width: auto;
    list-style: none;
    margin: 0 0 30px;
  }

  /* お知らせ - リストアイテム */
  .list_news li {
    display: block;
    padding: 12px 0;
  }

  /* お知らせ - 日付 */
  .list_news time {
    display: block;
  }

  /* お知らせ - リンク */
  .list_news a {
    line-height: 1.6;
  }

  /* ビジュアルナビゲーション＝＝＝＝＝ */
  .list_visual_nav {
    display: block;
    width: 90%;
    list-style: none;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto;
  }

  /* VN - リンク */
  .list_visual_nav a {
    display: block;
    color: inherit;
    text-decoration: none;
    margin: 0 0 20px;
  }

  /* VN - 背景設定 */
  .back_visual_nav {
    display: block;
    width: auto;
    padding: 35px 0 25px;
    margin: 0 0 45px;
  }

  /* お問い合わせ＝＝＝＝＝ */
  .section_contact {
    width: 90%;
  }

  /* お問い合わせ - 種別 */
  .loop_contact {
    margin: 2px 0;
  }

  .loop_contact a[href^="tel:"] {
    pointer-events: all;
  }

  /* お問い合わせ - レイアウト */
  .layout_contact {
    display: block;
  }
}
