@charset "utf-8";

/*=====スライダー*/

.section_slider {
  width: 100%;
  position: relative;
}

/*=====キャッチコピー*/
.top_catch {
  width: 100%;
  font-size: 3.4rem;
  background-color: rgba(0, 43, 191, 0.7);
  color: white;
  text-align: center;
  line-height: 110px;
  position: absolute;
  top: 40%;
  font-weight: 700;
  z-index: 3000;
}

.top_catch br {
  display: none;
}
.wrapper {
  width: 920px;
  margin: 0 auto;
}

.top_common {
  font-size: 2rem;
  font-weight: 600;
  background-color: #e7ecfc;
  margin-top: 50px;
  padding: 20px;
}

.span2 {
  color: #3f59b2;
  font-size: 1.4rem;
  font-weight: 600;
}

.span4 {
  color: #3f59b2;
  font-size: 1.4rem;
  font-weight: 600;
  padding-left: 10px;
}
/*=====お知らせ一覧*/
.top_newslist a {
  color: black;
  font-size: 1.6rem;
  list-style: none;
  line-height: 1.5;
  text-align: justify;
  padding-left: 30px;
}
.top_newslist li {
  padding: 30px 30px;
  list-style: none;
  border-bottom: 2px dotted #3f59b2;
  padding-left: 6em;
  text-indent: -6em;
}
.top_newslist ul {
  list-style-position: inside;
}
.top_newslist {
  margin-bottom: 45px;
}
/*=====ボタン*/

.botton a {
  background: white;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 280px;
  padding: 10px 25px;
  color: #3f59b2;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  border: 1px solid #3f59b2;
}
.botton a:hover {
  background: #3f59b2;
  color: #fff;
}
.botton a:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #3f59b2;
  border-right: 3px solid;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.botton a:hover:after {
  border-color: #fff;
}

/*=====会社概要*/
.top_kaisya {
  width: 100%;
  background-color: #f7f8fd;
  margin: 0 auto;
  padding: 50px 0;
  margin-top: 92px;
}
.wrapper_kaisya ul {
  display: grid;
  list-style: none;
  grid-template-columns: 420px 420px;
  justify-content: center;
  gap: 50px;
}

.wrapper_kaisya li {
  display: grid;
  gap: 20px;
  font-size: 2rem;
  font-weight: 600;
  color: black;
  list-style: none;
}
.wrapper_kaisya a {
  text-decoration: none;
  color: black;
}
.wrapper_kaisya {
  width: 920px;
  margin: 0 auto;
}
.wrapper_kaisya img {
  width: 100%;
  border: 10px solid white;
}

/*=====会社営業ボタン*/
.botton2 a {
  background: #f7f8fd;
  border-radius: 3px;
  position: relative;
  display: flex;
  max-width: 420px;
  padding: 10px 25px;
  color: black;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
.botton2 a:hover {
  background: #ffffff;
  color: #3f59b2;
}
.botton2 a:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #3f59b2;
  border-right: 3px solid;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.botton2 a:hover:after {
  border-color: #fff;
}
/*=====お問い合わせ*/
.span3 {
  color: #3f59b2;
  font-size: 1.4rem;
  font-weight: 600;
  padding-top: 10px;
}
.top_common2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  margin-top: 87px;
  margin-bottom: 27px;
}

.top_kigaruni {
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 27px;
}

/*=====アイコン*/
.top_icon {
  width: 920px;
  color: black;
  font-size: 1.4rem;
  background-color: #f7f8fd;
  margin: 0 auto;
  list-style: none;
  padding: 30px;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.icon_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
}
.icon_block p {
  font-weight: 600;
  text-decoration: underline;
}

.top_icon a {
  text-decoration: none;
  color: black;
}

/* ブレークポイント＝＝＝＝＝＝＝＝＝ */
@media screen and (max-width: 768px) {
  /*ここにcssを書く*/
  img {
    max-width: 100%;
    height: auto;
  }
  /*=====スライダー*/

  .section_slider {
    width: 100%;
    position: relative;
  }

  /*=====キャッチコピー*/
  .top_catch {
    top: auto;
    font-size: 3rem;
    background-color: rgba(0, 43, 191, 0.7);
    color: white;
    text-align: left;
    line-height: 1.5;
    position: absolute;
    bottom: 0%;
    padding: 10px 20px;
    z-index: 1;
  }

  .top_catch br {
    display: block;
  }
  .wrapper {
    width: 90%;
    margin: 0 auto;
  }

  .top_common {
    font-size: 2rem;
    font-weight: 600;
    background-color: #e7ecfc;
    margin-top: 50px;
    padding: 20px;
  }

  .span2 {
    color: #3f59b2;
    font-size: 1.4rem;
    font-weight: 600;
  }

  .span4 {
    color: #3f59b2;
    font-size: 1.4rem;
    font-weight: 600;
    padding-left: 10px;
  }
  /*=====お知らせ一覧*/
  .top_newslist a {
    color: black;
    font-size: 1.4rem;
    list-style: none;
    line-height: 1;
    text-align: justify;
    padding-left: 0px;
  }
  .top_newslist li {
    display: grid;
    padding: 25px 25px;
    list-style: none;
    border-bottom: 2px dotted #3f59b2;
    padding-left: 0rem;
    text-indent: 0rem;
  }
  .top_newslist ul {
    list-style-position: inside;
  }
  .top_newslist {
    margin-bottom: 45px;
  }
  /*=====ボタン*/

  .botton a {
    background: white;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #3f59b2;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    border: 1px solid #3f59b2;
  }
  .botton a:hover {
    background: #3f59b2;
    color: #fff;
  }
  .botton a:after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 3px solid #3f59b2;
    border-right: 3px solid;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
  }
  .botton a:hover:after {
    border-color: #fff;
  }

  /*=====会社概要*/
  .top_kaisya {
    width: 100%;
    background-color: #f7f8fd;
    margin: 0 auto;
    padding: 50px 0;
    margin-top: 92px;
  }
  .wrapper_kaisya ul {
    display: block;
    list-style: none;
    grid-template-columns: 336px 336px;
    justify-content: center;
    gap: 50px;
  }

  .wrapper_kaisya li {
    display: block;
    gap: 20px;
    font-size: 2rem;
    font-weight: 600;
    color: black;
    list-style: none;
  }
  .wrapper_kaisya a {
    text-decoration: none;
    color: black;
  }
  .wrapper_kaisya {
    width: 90%;
  }
  .wrapper_kaisya img {
    width: 100%;
    border: 5px solid white;
  }

  /*=====会社営業ボタン*/
  .botton2 a {
    background: #f7f8fd;
    border-radius: 3px;
    position: relative;
    display: flex;
    max-width: 420px;
    padding: 10px 25px;
    color: black;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
  }
  .botton2 a:hover {
    background: #ffffff;
    color: #3f59b2;
  }
  .botton2 a:after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 3px solid #3f59b2;
    border-right: 3px solid;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
  }
  .botton2 a:hover:after {
    border-color: #fff;
  }
  /*=====お問い合わせ*/
  .span3 {
    color: #3f59b2;
    font-size: 1.4rem;
    font-weight: 600;
    padding-top: 10px;
  }
  .top_common2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    margin-top: 45px;
    margin-bottom: 20px;
  }

  .top_kigaruni {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 27px;
  }

  /*=====アイコン*/

  .top_icon {
    width: 90%;
    color: black;
    font-size: 1.4rem;
    background-color: #f7f8fd;
    margin: 0 auto;
    list-style: none;
    padding: 30px;
    text-align: center;

    grid-template-columns: 1fr;
  }
  .icon_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 10px;
  }
  .icon_block p {
    font-weight: 600;
    text-decoration: underline;
  }

  .top_icon a {
    text-decoration: none;
    color: black;
  }
}
