@charset "utf-8";

/* *****共通設定***** */
body {
  display: block;
  background-image: linear-gradient(to top, #ebedee 100%, #fff 10%);
  margin: 0;
  padding: 0;
}

a:link {
  color: #333;
  text-decoration: none;
}

ul li {
  list-style: none;
}

hr {
  height: 1px;
  background-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(#D00F12), to(transparent));
  background-image: linear-gradient(to right, transparent, #D00F12, transparent);
  margin: 100px 10% 50px 10%;
}

/* *****フッター***** */
footer {
  text-align: center;
  margin-top: 50px;
}

.footer_logo {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer_logo2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.footer_ad {
  margin-bottom: 50px;
}

#footBody {
  background: #474747;
}

#footBody .btnBox {
  padding: 24px 0 46px;
  text-align: center;
}

#footBody .btnBox .linkList {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  margin: 0px 0 41px 0;
  padding: 0;
}

#footBody .btnBox .linkList li {
  margin: 0 21px;
  padding: 0;
  line-height: 1.646em;
}

#footBody .btnBox .linkList li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.077rem;
}

#footBody .btnBox .linkList li a:hover {
  text-decoration: underline;
}

#footBody .btnBox p {
  margin-bottom: 10px;
  padding-bottom: 15px;
  color: #fff;
  font-size: 1.231em;
  line-height: 1.55em;
}

#footBody address {
  color: #fff;
  font-size: 0.923rem;
  font-style: normal;
  line-height: 1.5;
}

/* *****３カラム設定***** */
.main-wrapper {
  max-width: 1380px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

article {
  width: 64%;
}

aside {
  width: 18%;
}

/* *****ナビゲーション***** */
.navbar-brand img {
  width: 380px;
  margin-top: 0;
  padding-top: 0;
}

.navbar-toggler {
  display: none;
}

.navbar-nav {
  margin-top: 40px;
  background-color: transparent;
}

.top-navi .navbar-nav a {
  font-family: "メイリオ,Meiryo,", sans-serif;
  font-weight: 600;
  font-style: normal;
  display: flex;
  justify-content: center;
  width: auto;
  margin: 4px 7px;
  padding: .6em 1.7em;
  border: 1px solid #2589d0;
  border-radius: 5px;
  color: #333;
  border-color: #afafaf;
  background-color: #fff;
  font-size: 1rem;
}

.top-navi .navbar-nav .nav-link:hover {
  background-color: #f7d2d3;
}

/* --スマホ用ナビゲーション非表示--*/
.navbar-nav_s {
  display: none;
}

.breadcrumbs {
  margin-left: 10px;
}

#sec0 {
  background-color: #fff;
  margin: 45px 5px 0 5px;
  padding-bottom: 20px;
  border: solid 1px #afafaf;
  border-radius: 5px;
  text-align: justify;
  text-justify: inter-ideograph;

  h1 {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 20px;
    padding-right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: solid 2px #D00F12;
  }

  h2 {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 20px;
    padding-right: 20px;
    font-size: 1.35rem;
    font-weight: bold;
    border-bottom: solid 2px #D00F12;
  }

  h3 {
    margin-left: 5px;
    margin-right: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1.15rem;
    font-weight: bold;
    border-left: solid 2px #D00F12;
    background-color: #ebedee;
  }

  h4 {
    font-size: 1rem;
    padding-right: 12px;
    margin-left: 15px;
    margin-right: 15px;
  }

  p {
    margin-left: 27px;
    padding-right: 27px;
    text-align: justify;
    text-justify: inter-ideograph;
    font-size: 1rem;
  }

  dl dt {
    margin-left: 15px;
    margin-right: 15px;
  }

  dl dd {
    margin-left: 15px;
    margin-right: 15px;
  }

  .box_70 {
    width: 68%;
  }

  img {
    margin-top: 20px;
    margin-right: 15px;
  }
}

/*========================================================
 grayLineBox
 ========================================================*/
.grayLineBox {
  background-color: #fff;
  border: 5px #dadada solid;
  position: relative;
  margin-right: 15px;
  margin-bottom: 10px;
  margin-left: 20px;
  padding-top: 20px;
  padding-right: 15px;
  padding-bottom: 0px;
  padding-left: 15px;
  width: auto;
}

.grayLineBox h2 {
  margin: 0 0 15px 0;
  padding: 10px 0 10px 20px;
  font-size: 1.15rem !important;
  font-weight: bold;
  background: #f3f3f3;
  border-left: #dc2f3d solid 4px;
  border-bottom: none;
}

.grayLineBox ul li {
  margin-left: 0;
  padding-left: 0;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* --aside　バナー--*/

.banner_box {
  padding-bottom: 10px;
  margin: 0 0 10px 0;
}

.banner h2 {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  padding: 0;
  margin: 45px 8% 10px 0;
}

.flex__item {
  width: 100%;
  box-sizing: border-box;
  vertical-align: bottom;
  margin: 0 0 10px 0;
  padding: 0;
}

.banner_box img {
  width: 90%;
  box-sizing: border-box;
  vertical-align: bottom;
  margin: 0 5% 0 0;
}

/* --TOPへ戻るアイコン--*/
#page_top {
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 0.6;
}

#page_top a {
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}

#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #000;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#page_top a::after {
  content: 'PAGE TOP';
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  color: #000;
}


@media (min-width: 240px)and (max-width: 499px) {

  /* --ヘッダーメニュー--*/
  .breadcrumbs {
    font-size: 0.9rem;

  }

  .navbar-toggler {
    display: block;
  }

  .navbar .navbar-nav_s {
    display: block;
    text-align: center;
    padding-left: 0;
  }

  /* --スマホ用メニュー-- */
  .navbar-nav {
    display: none;
  }

  .navbar .navbar-collapse .navbar-nav_s .nav-item a {
    width: 100%;
    color: #333;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
  }

  .navbar .navbar-collapse .navbar-nav_s .nav-item {
    border-bottom: 1px solid #999999;
    padding-left: 0;
    align-items: center;
  }

  .navbar .navbar-collapse {
    flex-grow: 0;
  }

  .navbar .navbar-brand img {
    display: none;
  }


  .navbar .navbar-collapse .navbar-nav_s .nav-link:hover {
    color: #D00F12;
  }

  .slideshow-container {
    display: block;
  }

  .text-overlay {
    font-size: 1rem;
    margin: 0;
    padding: 0;
  }

  /* --フッター--*/
  footer h3 {
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.8rem;
    text-align: justify;
    margin-left: 20px;
    margin-right: 20px; 
  }

  .footer_logo {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .footer_logo2 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
  }

  .footer_ad {
    margin-bottom: 50px;
    font-size: 0.8rem;
  }

  #footBody .btnBox .linkList li a {
    font-size: 0.9rem;
  }

  #footBody .btnBox .linkList {
    margin-bottom: 40px;
    display: block;
    justify-content: center;
    margin: 0px 0 41px 0;
    padding: 0;
  }

  #footBody .btnBox p {
    font-size: 1rem;
  }

  #footBody address {
    font-size: 0.8rem;
  }

  /* *****1カラム設定***** */
  .main-wrapper {
    width: 100%;
    display: inline-block;
    justify-content: center;
  }

  article {
    width: 95%;
    margin: 0 auto;
  }

  aside {
    width: 95%;
    margin: 0 auto;
  }

  /* --セクション0--*/

  #sec0 {
    margin-right: 5px;

    h1 {
      font-size: 1.2rem;
    }

    h2 {
      font-size: 1rem;
    }

    h3 {
      font-size: 1rem;
    }

    h4 {
      font-size: 0.9rem;
    }

    p {
      font-size: 0.9rem;
    }

    dd {
      font-size: 0.9rem;
      padding-right: 20px;
    }

    dt {
      font-size: 0.9rem;
    }

    .box_70 {
      width: 100%;
    }


    img {
      width: 100px;
      height: 142.4px;
      margin-left: 10px;
    }

  }

  /* --区切り線--*/
  hr {
    margin: 20px 10% 50px 10%;
  }

  /* --aside　バナー--*/
  aside {
    * {
      box-sizing: border-box;
    }

    h2 {
      font-size: 1.25rem;
      margin-top: 30px;
      text-align: center;
    }

    .banner_box {
      display: grid;
      grid-template-columns: auto auto;
      gap: 5px;
      margin: 0 auto;
    }

    /* --装飾 --*/
    a {
      text-decoration: none;
    }

    .flex__item {
      box-sizing: border-box;
      margin: 0 auto;
      padding: 0;
      text-align: center;

    }
  }
}

@media (min-width: 500px)and (max-width: 649px) {

  /* --ヘッダーメニュー--*/
  .breadcrumbs {
    font-size: 0.9rem;
  }

  /* --ロゴ--*/
  a.unitname_lTxt {
    font-size: 150%;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    margin-top: 10px;
    margin: 0 auto;
    line-height: 1.2;
  }

  .unitname_enTxt {
    font-size: 100%;
    font-weight: 600;
    margin: 0 auto;
  }

  /* --フッター--*/
  footer {
    text-align: center;
    margin-top: 50px;
  }

  .footer_logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .footer_logo2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
  }

  .footer_ad {
    margin-bottom: 50px;
    font-size: 0.9rem;
  }

  #footBody .btnBox .linkList li a {
    font-size: 1cap;
  }

  #footBody .btnBox p {
    font-size: 1.25rem;
  }

  #footBody address {
    font-size: 0.8rem;
  }


  /* *****1カラム設定***** */
  .main-wrapper {
    width: 100%;
    display: inline-block;
    justify-content: center;
  }

  article {
    width: 95%;
    margin: 0 auto;
  }

  aside {
    width: 95%;
    margin: 0 auto;
  }

  /* --メニュー--*/

  .top-navi .navbar-nav {
    margin-top: 20px;
    margin: 20px auto 0 auto;
  }

  .top-navi .navbar-nav a {
    font-family: "メイリオ,Meiryo,", sans-serif;
    font-weight: 600;
    width: 70%;
    justify-content: center;
    margin: 5px auto 0 auto;
    padding: .5em 1.5em;
    color: #333;
    border-bottom: solid 1px;
    border-color: #afafaf;
    font-size: 1rem;
    background-color: #ffffff;
  }

  hr {
    margin: 20px 10% 20px 10%;
  }


  /* --セクション0--*/
  #sec0 {

    h1 {
      font-size: 1.2rem;
    }

    h2 {
      font-size: 1rem;
    }

    h3 {
      font-size: 1rem;
    }

    h4 {
      font-size: 0.9rem;
    }

    p {
      font-size: 0.9rem;
    }

    dd {
      font-size: 0.9rem;
      padding-right: 20px;
    }

    dt {
      font-size: 0.9rem;
    }

    .box_70 {
      width: 100%;
    }


    img {
      width: 100px;
      height: 142.4px;
      margin-left: 10px;
    }
  }

  /* --aside　バナー--*/
  aside {
    h2 {
      font-size: 1.5rem;
      margin-top: 30px;
    }

    .banner_box {
      box-sizing: border-box;
      display: grid;
      grid-template-columns: auto auto auto;
      gap: 5px;
      margin: 0 auto;
      padding: 0;
    }

    /* --装飾 --*/
    a {
      text-decoration: none;
    }

    .flex__item {
      margin: 0;
      padding: 0;
      text-align: center;

    }

    .banner_box img {
      width: 90%;
      box-sizing: border-box;
      vertical-align: bottom;
    }
  }
}

@media (min-width: 650px)and (max-width: 1024px) {

  /* --ヘッダーメニュー--*/
  .breadcrumbs {
    font-size: 0.9rem;
  }

  /* --ロゴ--*/
  a.unitname_lTxt {
    font-size: 150%;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    margin-top: 10px;
    margin: 0 auto;
    line-height: 1.2;
  }

  .unitname_enTxt {
    font-size: 100%;
    font-weight: 600;
    margin: 0 auto;
  }

  /* --フッター--*/
  footer {
    text-align: center;
    margin-top: 50px;
  }

  .footer_logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .footer_logo2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
  }

  .footer_ad {
    margin-bottom: 50px;
    font-size: 0.9rem;
  }

  #footBody .btnBox .linkList li a {
    font-size: 1cap;
  }

  #footBody .btnBox p {
    font-size: 1.25rem;
  }

  #footBody address {
    font-size: 0.8rem;
  }


  /* *****1カラム設定***** */
  .main-wrapper {
    width: 100%;
    display: inline-block;
    justify-content: center;
  }

  article {
    width: 95%;
    margin: 0 auto;
  }

  aside {
    width: 95%;
    margin: 0 auto;
  }

  /* --メニュー--*/

  .top-navi .navbar-nav {
    margin-top: 20px;
    margin: 20px auto 0 auto;
  }

  .top-navi .navbar-nav a {
    font-family: "メイリオ,Meiryo,", sans-serif;
    font-weight: 600;
    width: 70%;
    justify-content: center;
    margin: 5px auto 0 auto;
    padding: .5em 1.5em;
    color: #333;
    border-bottom: solid 1px;
    border-color: #afafaf;
    font-size: 1rem;
    background-color: #ffffff;
  }

  hr {
    margin: 20px 10% 20px 10%;
  }

  /* --セクション0--*/

  #sec0 {
    h1 {
      font-size: 1.2rem;
    }

    h2 {
      font-size: 1rem;
    }

    h3 {
      font-size: 1rem;
    }

    h4 {
      font-size: 0.9rem;
    }

    p {
      font-size: 0.9rem;
    }

    dd {
      font-size: 0.91rem;
    }

    dt {
      font-size: 0.9rem;
    }
  }

  /* --aside　バナー--*/
  aside {
    h2 {
      font-size: 1.5rem;
      margin-top: 30px;
    }

    .banner_box {
      box-sizing: border-box;
      display: grid;
      grid-template-columns: auto auto auto;
      gap: 5px;
      margin: 0 auto;
      padding: 0;
    }

    /* --装飾 --*/
    a {
      text-decoration: none;
    }

    .flex__item {
      margin: 0;
      padding: 0;
      text-align: center;

    }

    .banner_box img {
      width: 90%;
      box-sizing: border-box;
      vertical-align: bottom;
    }


  }
}