@charset "utf-8";

/*----------------------------------------------------
	ichatch
----------------------------------------------------*/
#top_icatch {
  height: auto;
  padding-top: 40px;
  padding-bottom: 0;
  background: none;
  position: relative;
  margin: 0 auto 70px;
}

#top_icatch::before {
  content: "";
  width: 100%;
  height: 100px;
  background: url("../img/home/bg_slider.png") repeat;
  display: block;
  position: absolute;
  top: 0;
}

.swiper-slide {
  cursor: pointer;
}

.swiper-slide img {
  width: 100%;
}

.main_banner {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.main_banner .swiper-container {
  position: relative;
  padding-bottom: 20px;
}

.main_banner .swiper-wrapper {
  margin-bottom: 20px;
}

/*
.main_banner .swiper-wrapper .swiper-slide a img{
	border: solid 1px #999999;
}
*/
.main_banner .swiper-button-prev,
.main_banner .swiper-button-next {
  display: none;
}

.main_banner .swiper-container-horizontal>.swiper-pagination-bullets,
.main_banner .swiper-pagination-custom,
.main_banner .swiper-pagination-fraction {
  bottom: 0;
  left: 0;
  width: 100%;
}

.main_banner .swiper-pagination-bullet {
  background-color: #adadad;
  border: none;
  width: 70px;
  height: 3px;
  margin: 5px 5px 0 5px;
  border-radius: 0;
}

.main_banner .swiper-pagination-bullet-active {
  background-color: #cc3b53;
}

@media (max-width: 768px) {
  .main_banner .swiper-pagination-bullet {
    width: 30px;
    height: 5px;
  }
}

@media screen and (max-width: 479px) {
  #top_icatch {
    padding-top: 30px;
    padding-bottom: 0;
    margin-bottom: 40px;
    margin-top: 0;
  }

  .sp-button {
    width: 10px;
    height: 10px;
  }

  .sp-buttons {
    bottom: -20px;
  }

  .sp-fade-arrows {
    display: none;
  }
}

@media screen and (min-width: 1230px) {
  /*
	#top_icatch{
		height:320px;
	}
*/

  .sp-arrows {
    position: relative;
  }

  .sp-horizontal .sp-arrows {
    margin: -15px auto 0 auto;
    width: 1230px;
    top: 0;
  }

  .sp-horizontal .sp-next-arrow {
    right: 0;
  }

  .sp-horizontal .sp-previous-arrow {
    left: 0;
  }
}

/* headline */

.headline {
  display: flex;
  align-items: center;
  background-color: #C42D2D;
  position: relative;
}

.headline h2 {
  width: 20%;
  max-width: 270px;
  background-color: #710602;
  color: #ffffff;
  font-size: 146.5%;
  letter-spacing: 1px;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  padding: 25px 50px 0;
  box-sizing: border-box;
  text-align: right;
  height: 77px;
  line-height: 1;
}

.headline h2 span {
  position: relative;
  line-height: 1;
}

.headline h2 span::after {
  content: "";
  display: block;
  width: 30px;
  border-bottom: 1px solid #ffffff;
  position: absolute;
  left: calc(50% - 15px);
  bottom: -10px;
}

.headline>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  height: 3rem;
}

.headline>div>ul.news-list {
  position: absolute;
  left: 30px;
  top: 0;
  width: calc(90% - 150px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.headline>div>ul.news-list.news-5 {
  top: 3.0rem;
  animation-name: news-5;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
  animation-fill-mode: both;
  animation-delay: 3s;
}

.headline>div>ul.news-list.news-4 {
  top: 3.0rem;
  animation-name: news-4;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
  animation-fill-mode: both;
  animation-delay: 3s;
}

.headline>div>ul.news-list.news-3 {
  top: 3.0rem;
  animation-name: news-3;
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
  animation-fill-mode: both;
  animation-delay: 3s;
}

.headline>div>ul.news-list.news-2 {
  top: 3.0rem;
  animation-name: news-2;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
  animation-fill-mode: both;
  animation-delay: 3s;
}

.headline>div>ul.news-list:hover {
  animation-play-state: paused;
}


.headline>div>ul.news-list li.news {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 3rem;
  line-height: 3rem;
}

.headline>div>ul.news-list li.news p {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.headline>div>ul.news-list li.news p a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
}

.headline>div>ul.news-list li.news p a data {
  margin-right: 1em;
}

.headline a.btn {
  color: #ffffff;
  padding: 10px;
  border: 1px solid #ffffff;
  position: absolute;
  right: 6%;
  z-index: 99;
  top: 20px
}

@media all and (max-width:768px) {
  .headline {
    flex-direction: column;
  }

  .headline h2 {
    width: 100%;
    max-width: inherit;
    text-align: left;
    height: 40px;
    padding: 10px 15px;

    font-size: 146.5%;
  }

  .headline h2 span::after {
    content: none;
  }

  .headline>div {
    height: 4rem;
  }

  .headline>div>ul.news-list {
    width: calc(100% - 30px);
    left: 15px;
  }

  .headline>div>ul.news-list.news-5 {
    animation-name: news-5-sp;
    top: 4rem;
  }

  .headline>div>ul.news-list.news-4 {
    animation-name: news-4-sp;
    top: 4rem;
  }

  .headline>div>ul.news-list.news-3 {
    animation-name: news-3-sp;
    top: 4rem;
  }

  .headline>div>ul.news-list.news-2 {
    animation-name: news-2-sp;
    top: 4rem;
  }

  .headline>div>ul.news-list li.news {
    height: 4rem;
    line-height: 4rem;
  }

  .headline>div>ul.news-list li.news p a data {
    margin-right: 0;
    display: block;
  }

  .headline>div>ul.news-list li.news p a {
    font-size: 14px;
  }

  .headline a.btn {
    color: #ffffff;
    padding: 12px 0 0 0;
    border: none;
    position: absolute;
    right: 15px;
    top: 3px;
  }
}

@keyframes news-5 {
  0% {
    top: 3.0rem;
    visibility: visible;
  }

  5% {
    top: 0;
  }

  15% {
    top: 0;
  }

  20% {
    top: -3.0rem;
  }

  35% {
    top: -3.0rem;
  }

  40% {
    top: -6.0rem;
  }

  55% {
    top: -6.0rem;
  }

  60% {
    top: -9.0rem;
  }

  75% {
    top: -9.0rem;
  }

  80% {
    top: -12.0rem;
  }

  95% {
    top: -12.0rem;
  }

  99% {
    top: -15.0rem;
    visibility: hidden;
  }

  100% {
    top: 3.0rem;
    visibility: hidden;
  }
}

@keyframes news-4 {
  0% {
    top: 3.0rem;
    visibility: visible;
  }

  5% {
    top: 0;
  }

  15% {
    top: 0;
  }

  20% {
    top: -3.0rem;
  }

  40% {
    top: -3.0rem;
  }

  45% {
    top: -6.0rem;
  }

  65% {
    top: -6.0rem;
  }

  70% {
    top: -9.0rem;
  }

  90% {
    top: -9.0rem;
  }

  95% {
    top: -12.0rem;
  }

  99% {
    top: -12.0rem;
    visibility: hidden;
  }

  100% {
    top: 3.0rem;
    visibility: hidden;
  }
}

@keyframes news-3 {
  0% {
    top: 3.0rem;
    visibility: visible;
  }

  5% {
    top: 0;
  }

  30% {
    top: 0;
  }

  35% {
    top: -3.0rem;
  }

  60% {
    top: -3.0rem;
  }

  65% {
    top: -6.0rem;
  }

  90% {
    top: -6.0rem;
  }

  95% {
    top: -9.0rem;
  }

  99% {
    top: -9.0rem;
    visibility: hidden;
  }

  100% {
    top: 3.0rem;
    visibility: hidden;
  }
}

@keyframes news-2 {
  0% {
    top: 3.0rem;
    visibility: visible;
  }

  5% {
    top: 0;
  }

  55% {
    top: 0;
  }

  60% {
    top: -3.0rem;
  }

  90% {
    top: -3.0rem;
  }

  95% {
    top: -6.0rem;
  }

  99% {
    top: -6.0rem;
    visibility: hidden;
  }

  100% {
    top: 3.0rem;
    visibility: hidden;
  }
}

@keyframes news-5-sp {
  0% {
    top: 4rem;
    visibility: visible;
  }

  5% {
    top: 0;
  }

  15% {
    top: 0;
  }

  20% {
    top: -4rem;
  }

  35% {
    top: -4rem;
  }

  40% {
    top: -8rem;
  }

  55% {
    top: -8rem;
  }

  60% {
    top: -12rem;
  }

  75% {
    top: -12rem;
  }

  80% {
    top: -16rem;
  }

  95% {
    top: -16rem;
  }

  99% {
    top: -20rem;
    visibility: hidden;
  }

  100% {
    top: 4rem;
    visibility: hidden;
  }
}

@keyframes news-4-sp {
  0% {
    top: 4.0rem;
    visibility: visible;
  }

  5% {
    top: 0;
  }

  15% {
    top: 0;
  }

  20% {
    top: -4.0rem;
  }

  40% {
    top: -4.0rem;
  }

  45% {
    top: -8.0rem;
  }

  65% {
    top: -8.0rem;
  }

  70% {
    top: -12.0rem;
  }

  90% {
    top: -12.0rem;
  }

  95% {
    top: -15.0rem;
  }

  99% {
    top: -15.0rem;
    visibility: hidden;
  }

  100% {
    top: 4.0rem;
    visibility: hidden;
  }
}

@keyframes news-3-sp {
  0% {
    top: 4.0rem;
    visibility: visible;
  }

  5% {
    top: 0;
  }

  30% {
    top: 0;
  }

  35% {
    top: -4.0rem;
  }

  60% {
    top: -4.0rem;
  }

  65% {
    top: -8.0rem;
  }

  90% {
    top: -8.0rem;
  }

  95% {
    top: -12.0rem;
  }

  99% {
    top: -12.0rem;
    visibility: hidden;
  }

  100% {
    top: 4.0rem;
    visibility: hidden;
  }
}

@keyframes news-2-sp {
  0% {
    top: 4.0rem;
    visibility: visible;
  }

  5% {
    top: 0;
  }

  55% {
    top: 0;
  }

  60% {
    top: -4.0rem;
  }

  90% {
    top: -4.0rem;
  }

  95% {
    top: -8.0rem;
  }

  99% {
    top: -8.0rem;
    visibility: hidden;
  }

  100% {
    top: 4.0rem;
    visibility: hidden;
  }
}


/* topics */


/*
.tab-button-outer {
  display: none;
}

@media screen and (min-width: 640px) {
  .tab-button-outer {
    display: block;
  }
  .tab-select-outer {
    display: none;
  }
}
*/

.content_wrapper #topics {
  width: 100%;
  margin: 0 auto 40px;
  padding-bottom: 40px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 30px,
      #f1f0ef 15px);
}

.content_wrapper #topics .inner {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.content_wrapper #topics .inner h2 {
  font-size: 307%;
  letter-spacing: 1px;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  padding: 0 0 0 0;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 40px;
}

.content_wrapper #topics .inner h2 span {
  position: relative;
}

.content_wrapper #topics .inner h2 span::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  border-bottom: 1px solid #000000;
  position: absolute;
  left: calc(50% - 30px);
  bottom: -15px;
}

.content_wrapper #topics .inner .tab-button-outer {
  margin: 0 0 50px 0;
}


.content_wrapper #topics .inner .tab-button-outer>p {
  display: none;
}

.content_wrapper #topics .inner .tab-button-outer>ul {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content_wrapper #topics .inner .tab-button-outer>ul>li {
  width: calc(92% / 5);
}

.content_wrapper #topics .inner .tab-button-outer>ul>li {
  display: block;
  padding: 15px 0;
  box-sizing: border-box;
  background-color: #ffffff;
  border: solid 1px #000000;
  font-size: 123.1%;
  text-align: center;
  line-height: 1;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  transition: all 0.2s ease-out;
}

.content_wrapper #topics .inner .tab-button-outer>ul>li.is-active,
.content_wrapper #topics .inner .tab-button-outer>ul>li:hover {
  background: #C42D2D;
  background: -moz-linear-gradient(top, #C42D2D 50%, #901f1b 50%, #901f1b 50%);
  background: -webkit-linear-gradient(top,
      #C42D2D 50%,
      #901f1b 50%,
      #901f1b 50%);
  background: linear-gradient(to bottom, #C42D2D 50%, #901f1b 50%, #901f1b 50%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#C42D2D', endColorstr='#901f1b', GradientType=0);
  color: #ffffff;
  border: none;
}

.content_wrapper #topics .inner .container .tab-contents {
  visibility: hidden;
  height: 0;
  position: relative;
}

.content_wrapper #topics .inner .container .tab-contents.is-show {
  visibility: visible;
  height: auto;
  position: relative;
  animation: show 0.5s linear 0s;
}

@keyframes show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul {
  display: flex;
  margin-bottom: 30px;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li {
  background-color: #ffffff;
  border-bottom: solid 1px #333333;
  padding: 25px;
  box-sizing: border-box;
  align-self: stretch;
  height: auto;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li>a {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-top: 66%;
  position: relative;
  margin: 0 auto 5px;
  z-index: 1;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li>a img {
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -50%;
  right: -50%;
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 100%;
  margin: auto;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li p {
  margin-bottom: 10px;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li p time {
  display: block;
  font-size: 93%;
  margin-bottom: 5px;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li p>a {
  display: block;
  font-size: 131%;
  line-height: 1.4;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li ul.post-categories {
  display: flex;
  flex-wrap: wrap;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li ul.post-categories li {
  margin: 0 5px 5px 0;
}

.content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li ul.post-categories li a {
  display: block;
  font-size: 11px;
  padding: 3px 5px;
  background-color: #f0f0f0;
}

.swiper-button-prev {
  left: -50px;
  background-image: url(../img/home/topics_prev.png);
  width: 20px;
  height: 128px;
  top: 30%;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  -moz-background-size: 20px 128px;
  -webkit-background-size: 20px 128px;
  background-size: 20px 128px;
  background-position: center;
  background-repeat: no-repeat;
}

.swiper-button-next {
  right: -50px;
  background-image: url(../img/home/topics_next.png);
  position: absolute;
  top: 30%;
  width: 20px;
  height: 128px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  -moz-background-size: 20px 128px;
  -webkit-background-size: 20px 128px;
  background-size: 20px 128px;
  background-position: center;
  background-repeat: no-repeat;
}

.content_wrapper #topics .inner .container .btn {
  width: 20%;
  border: solid 1px #000000;
  margin: 0 auto 0;
}

.content_wrapper #topics .inner .container .btn>a {
  padding: 15px 0;
  text-align: center;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 123.1%;
  display: block;
  margin: auto;
  background-color: #fff;
}

.content_wrapper #topics .inner .container .btn>a span {
  position: relative;
  padding: 0 0 0 15px;
}

.content_wrapper #topics .inner .container .btn>a span::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 2px 0 2px 9px;
  border-color: transparent transparent transparent #000000;
  left: 0;
  top: calc(50% - 2px);
  transition: all 0.5s ease-out;
}

.content_wrapper #topics .inner .container .btn>a:hover span::before {
  left: 5px;
}

@media all and (max-width: 1024px) {
  .content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li {
    padding: 20px;
  }

  .content_wrapper #topics .inner .container .btn {
    width: 30%;
  }
}

@media all and (max-width: 960px) {
  .swiper-button-prev {
    left: -35px;
  }

  .swiper-button-next {
    right: -35px;
  }

  .content_wrapper #topics .inner .tab-button-outer>ul>li {
    font-size: 110%;
  }
}

@media all and (max-width: 767px) {

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .content_wrapper #topics {
    padding-bottom: 0;
    background: #ffffff;
  }

  .tab-select-outer select {
    display: block;
    width: 100%;
  }

  .content_wrapper #topics .inner .tab-button-outer {
    margin-bottom: 30px;
  }

  .content_wrapper #topics .inner .tab-button-outer>p {
    display: block;
    width: 100%;
    padding: 13px 0;
    margin: 0 auto;
    color: #333;
    border: solid 1px #000000;
    font-size: 123.1%;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
      "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  }

  .content_wrapper #topics .inner .tab-button-outer p::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #000000 transparent transparent transparent;
    position: absolute;
    right: 10px;
    top: calc(50% - 4px);
  }

  .content_wrapper #topics .inner .tab-button-outer p.active::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 8px 5px;
    border-color: transparent transparent #000000 transparent;
    position: absolute;
    right: 10px;
    top: calc(50% - 4px);
  }

  .content_wrapper #topics .inner .tab-button-outer>ul {
    display: none;
    width: 100%;
    flex-direction: column;
  }

  .content_wrapper #topics .inner .tab-button-outer>ul>li {
    width: 100%;
  }

  .content_wrapper #topics .inner .container .tab-contents .swiper-container>ul {
    display: block;
  }

  .content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li {
    padding: 15px 0 0;
    border-bottom: solid 1px #c8c8c8;
  }

  .content_wrapper #topics .inner .container .tab-contents .swiper-container>ul>li>a {
    display: none;
  }

  .content_wrapper #topics .inner .container .btn {
    width: 100%;
  }
}

/* mirai_navi */
#mirai_navi {
  margin-bottom: 80px;
  position: relative;
}

#mirai_navi:before {
  content: "";
  position: absolute;
  background: #c9e1e2;
  background: -moz-linear-gradient(-45deg,
      #c9e1e2 1%,
      #dec1e6 27%,
      #f5c4d0 59%,
      #e8ed87 90%,
      #fcf4df 100%);
  background: -webkit-linear-gradient(-45deg,
      #c9e1e2 1%,
      #dec1e6 27%,
      #f5c4d0 59%,
      #e8ed87 90%,
      #fcf4df 100%);
  background: linear-gradient(135deg,
      #c9e1e2 1%,
      #dec1e6 27%,
      #f5c4d0 59%,
      #e8ed87 90%,
      #fcf4df 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#addddc', endColorstr='#f9eed6', GradientType=1);
  width: 55%;
  height: 100%;
}

#mirai_navi:after {
  content: "";
  position: absolute;
  background-color: #eaedf0;
  width: 87%;
  height: 100%;
  bottom: -10px;
  right: 0;
  z-index: -1;
}

#mirai_navi .sp {
  display: none;
}

#mirai_navi .pc {
  width: 100%;
  position: relative;
  overflow: hidden;
}

#mirai_navi .pc>a>img {
  display: block;
  width: 100%;
}

#mirai_navi .pc>a>img.enter {
  width: 128px;
  display: block;
  position: absolute;
  transition: all 0.5s ease-out;
  left: 28%;
  top: 71%;
}

#mirai_navi .pc>a:hover>img.enter {
  left: 29%;
  top: 70.5%;
}

#mirai_navi .pc .border {
  display: block;
  position: absolute;
  z-index: 1;
  transform: rotate(-5deg);
  width: 110%;
  left: -3%;
  overflow: hidden;
  background: transparent;
  height: 3px;
}

#mirai_navi .pc .border span {
  position: relative;
  display: block;
  width: 100%;
}

#mirai_navi .pc .border span::before,
#mirai_navi .pc .border span::after {
  content: "";
  display: block;
  position: absolute;
  transition: 0.5s ease-in;
  background-color: #fff;
  height: 10px;
  width: 30%;
}

#mirai_navi .pc .border01 {
  top: -6%;
}

#mirai_navi .pc .border01 span::before,
#mirai_navi .pc .border01 span::after {
  width: 20%;
  background-color: #ff82a8;
}

#mirai_navi .pc .border01 span::before {
  left: 18%;
}

#mirai_navi .pc .border01 span::after {
  left: -100%;
}

#mirai_navi .pc a:hover .border01 span::before {
  left: 100%;
}

#mirai_navi .pc a:hover .border01 span::after {
  left: 18%;
}

#mirai_navi .pc .border02 {
  top: -1%;
  height: 10px;
}

#mirai_navi .pc .border02 span::before,
#mirai_navi .pc .border02 span::after {
  width: 22%;
  height: 10px;
  border-radius: 10px;
}

#mirai_navi .pc .border02 span::before {
  left: 0;
}

#mirai_navi .pc .border02 span::after {
  left: -100%;
}

#mirai_navi .pc a:hover .border02 span::before {
  left: 100%;
}

#mirai_navi .pc a:hover .border02 span::after {
  left: 0;
}

#mirai_navi .pc .border03 {
  top: 23%;
}

#mirai_navi .pc .border03 span::before,
#mirai_navi .pc .border03 span::after {
  width: 9.5%;
  background-color: #ffff00;
}

#mirai_navi .pc .border03 span::before {
  right: 22.5%;
}

#mirai_navi .pc .border03 span::after {
  right: 100%;
}

#mirai_navi .pc a:hover .border03 span::before {
  right: -100%;
}

#mirai_navi .pc a:hover .border03 span::after {
  right: 22.5%;
}

#mirai_navi .pc .border04 {
  bottom: 15%;
}

#mirai_navi .pc .border04 span::before,
#mirai_navi .pc .border04 span::after {
  width: 10%;
}

#mirai_navi .pc .border04 span::before {
  left: 34.5%;
}

#mirai_navi .pc .border04 span::after {
  left: -100%;
}

#mirai_navi .pc a:hover .border04 span::before {
  left: 100%;
}

#mirai_navi .pc a:hover .border04 span::after {
  left: 34.5%;
}

#mirai_navi .pc .border05 {
  bottom: 10%;
}

#mirai_navi .pc .border05 span::before {
  left: 13%;
}

#mirai_navi .pc .border05 span::after {
  left: -100%;
}

#mirai_navi .pc a:hover .border05 span::before {
  left: 100%;
}

#mirai_navi .pc a:hover .border05 span::after {
  left: 13%;
}

#mirai_navi .pc .border06 {
  bottom: 8%;
  height: 10px;
}

#mirai_navi .pc .border06 span::before,
#mirai_navi .pc .border06 span::after {
  height: 10px;
  border-radius: 10px;
  width: 26%;
}

#mirai_navi .pc .border06 span::before {
  right: 0;
}

#mirai_navi .pc .border06 span::after {
  right: 150%;
}

#mirai_navi .pc a:hover .border06 span::before {
  right: -110%;
}

#mirai_navi .pc a:hover .border06 span::after {
  right: 0;
}

#mirai_navi .pc .border07 {
  bottom: 1%;
}

#mirai_navi .pc .border07 span::before,
#mirai_navi .pc .border07 span::after {
  width: 18%;
  background-color: #ffff00;
}

#mirai_navi .pc .border07 span::before {
  right: 0;
}

#mirai_navi .pc .border07 span::after {
  right: 150%;
}

#mirai_navi .pc a:hover .border07 span::before {
  right: -100%;
}

#mirai_navi .pc a:hover .border07 span::after {
  right: 0;
}

@media all and (max-width: 1024px) {
  #mirai_navi .pc>a>img.enter {
    left: 17%;
    top: 78%;
  }

  #mirai_navi .pc>a:hover>img.enter {
    left: 18%;
    top: 78%;
  }
}

@media all and (max-width: 767px) {
  #mirai_navi .pc {
    display: none;
  }

  #mirai_navi {}

  #mirai_navi:before {
    width: 100%;
    z-index: -1;
  }

  #mirai_navi:after {
    content: none;
  }

  #mirai_navi .sp {
    display: block;
    box-sizing: border-box;
    padding: 20px;
  }

  #mirai_navi .sp>div {
    padding: 20px;
    border: 1px solid #ffffff;
  }

  #mirai_navi .sp p {
    font-family: YakuHanJP, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    text-align: center;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  #mirai_navi .sp p:nth-of-type(1),
  #mirai_navi .sp p:nth-of-type(3) {
    font-size: 25px;
  }

  #mirai_navi .sp p:nth-of-type(2) {
    font-size: 15vw;
    line-height: 1.1;
  }

  #mirai_navi .sp p span {
    color: #ffff00;
  }

  #mirai_navi .sp div>a {
    display: block;
    font-size: 25px;
    text-align: center;
    padding: 10px;
    width: 100%;
    background-color: #ffff00;
    color: #000000;
    margin-top: 20px;
    box-sizing: border-box;
  }
}

/* department */
#department {
  margin-bottom: 100px;
}

#department h2 {
  font-size: 307%;
  font-weight: normal;
  letter-spacing: 1px;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  padding: 0 0 0 0;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 95px;
}

#department h2 span {
  position: relative;
}

#department h2 span::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  border-bottom: 1px solid #000000;
  position: absolute;
  left: calc(50% - 30px);
  bottom: -15px;
}

#department>ul {
  display: flex;
  justify-content: space-between;
}

#department>ul li {
  width: calc(100% / 3);
}

#department>ul li a {
  width: 100%;
  background-image: url(../img/home/department_carrier.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
}

#department>ul li.child a {
  background-image: url(../img/home/department_child.png);
}

#department>ul li.food a {
  background-image: url(../img/home/department_food.png);
}

#department>ul li a:hover {
  opacity: 0.7;
  transition: 0.3s ease-in;
}

#department>ul li a p.catch {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 200%;
  line-height: 1.5;
  margin-left: 30px;
  margin-top: -45px;
  padding-left: 20px;
  border-left: solid 2px #36abbc;
}

#department>ul li.child a p.catch {
  border-left: solid 2px #e17c9d;
}

#department>ul li.food a p.catch {
  border-left: solid 2px #2bac38;
}

#department>ul li a h3 {
  padding: 10px 30px;
  background-color: #ffffff;
  color: #36abbc;
  font-size: 174%;
  text-align: center;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-weight: normal;
  width: 53%;
  min-height: 80px;
  margin: 15% auto 15%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

@media all and (-ms-high-contrast: none) {
  #department>ul li a h3 {
    height: 80px;
  }
}

#department>ul li.child a h3 {
  color: #e17c9d;
}

#department>ul li.food a h3 {
  color: #2bac38;
}

#department>ul li h3 span {
  font-size: 75%;
  color: #333333;
}

#department>ul li a .gakka {
  display: block;
  width: 200px;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 123.1%;
  padding: 10px 0 10px 20px;
  text-align: center;
  border: solid 1px #36abbc;
  margin: 0 20px -20px auto;
  background-color: #ffffff;
  position: relative;
  box-sizing: border-box;
  line-height: 1.2;
}

#department>ul li a .gakka::before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 2px 0 2px 9px;
  border-color: transparent transparent transparent #000000;
  left: 45px;
  top: 20px;
  transition: all 0.5s ease-out;
}

#department>ul li a:hover .gakka::before {
  left: 50px;
  top: 20px;
}

#department>ul li.child .gakka {
  border: solid 1px #e17c9d;
}

#department>ul li.food .gakka {
  border: solid 1px #2bac38;
}

@media all and (max-width: 1024px) {
  #department>ul li a p.catch {
    font-size: 150%;
    margin-left: 15px;
    margin-top: -45px;
    padding-left: 15px;
  }

  #department>ul li a h3 {
    width: 75%;
    min-height: 50px;
    padding: 10px 15px;
  }

  @media all and (-ms-high-contrast: none) {
    #department>ul li a h3 {
      height: 50px;
    }
  }

  #department>ul li a p.gakka {
    width: 150px;
  }

  #department>ul li a p.gakka::before {
    left: 30px;
  }

  #department>ul li a p.gakka:hover::before {
    left: 35px;
  }

}

@media all and (max-width: 960px) {
  #department>ul li a p.catch {
    font-size: 130%;
  }

  #department>ul li a h3 {
    min-height: 35px;
    font-size: 130%;
  }

  @media all and (-ms-high-contrast: none) {
    #department>ul li a h3 {
      height: 35px;
    }
  }

  #department>ul li a p.gakka {
    width: 80%;
    font-size: 110%;
    margin: 0 10% -50px 10%;
  }
}

@media all and (max-width: 767px) {
  #department>ul {
    flex-wrap: wrap;
  }

  #department>ul li {
    width: 100%;
    margin-bottom: 30%;
  }

  #department>ul li a {
    width: 100%;
  }

  #department>ul li a p.gakka {
    margin: 0 10% -20px 10%;
  }

  #department>ul li:last-child {
    margin-bottom: 0;
  }
}

#f_banner {
  background-color: #f1f0ef;
  padding: 20px 0;
  margin-bottom: 60px;
}

#f_banner .inner {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

@media all and (max-width: 767px) {
  #f_banner {
    padding: 20px 0 0;
    margin-bottom: 0;
    background-color: #ffffff;
  }

  #f_banner .inner .swiper-wrapper {
    flex-wrap: wrap;
  }

  #f_banner .inner .swiper-wrapper div {
    width: 48%;
    margin-right: 2%;
    margin-bottom: 20px;
  }

  #f_banner .inner .swiper-wrapper div:nth-of-type(2n) {
    margin-right: 0;
  }

  .swiper-wrapper div a img {
    display: block;
    width: 100%;
  }
}

@media all and (max-width: 459px) {

  #f_banner .inner .swiper-wrapper div,
  #f_banner .inner .swiper-wrapper div:nth-of-type(2n) {
    width: 80%;
    margin: 0 auto 20px;
  }
}

/* LINEで資料請求 */
.line_material {
  display: none;
}

@media all and (max-width: 768px) {
  .line_material {
    display: inline-block;
    margin: 0 auto 30px;
    text-align: center;
    width: 100%;
  }
}
