@charset "utf-8";

/*全体*/
.content{
  padding: 0px 0 120px;
}

/* 中身 */
.main_text{
  width: 90%;
  margin: auto;
  justify-content: center;
  display: flex;
  font-weight: bold;
  font-size: 2rem;
  color: #1D2959;
  padding-top: 80px;
}
.link_flex{
  max-width: 1024px;
  width: 90%;
  margin: auto;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.link_flex a:hover{
  opacity: 1;
}
.link_flex a:hover .common_link.allow{
  color: #fff;
}
.link_flex a:hover .common_link.allow:after {
  border-top: 2px solid rgb(255, 255, 255);
  border-right: 2px solid rgb(255, 255, 255);
}
.link_flex a:hover .common_link span {
  width: 300%;
  height: 300%;
  transform: translate(-50%, 0) scale(1);
  transition: .5s;
}
_::-webkit-full-page-media, _:future, :root .link_flex a .common_link span {
  transform: translate(0%, 0) scale(0);
}
_::-webkit-full-page-media, _:future, :root .link_flex a:hover .common_link span {
  transform: translate(-50%, 0) scale(2);
}

.link_flex--box{
  max-width: 328px;
  width: 100%;
  height: 328px;
  position: relative;
}
.link_flex--tt{
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 20px ;
  top: 0;
}
.link_flex--tt p{
  color: #fff;
}
.link_flex--box .common_link.allow{
  background: #fff;
  max-width: 284px;
  height: 54px;
  color: #1D2959;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 4px;
}
.link_flex--box .common_link.allow:hover{
  color: #fff;
}
.link_flex--box .common_link.allow:hover::after{
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.ser_menu{
  max-width: 1024px;
  width: 90%;
  margin: auto;
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.over_link{
  background: #F1F1F1;
  max-width: 100%;
  height: 170px;
  color: #1D2959;
  font-weight: bold;
  font-size: 2.4rem;
  letter-spacing: 4.8px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  z-index: 1;
  position: relative;
  transition: .5s;
  padding-right: 20px;
}
.over_link:hover{
  color: #F1F1F1;
  transition: .5s;
  background: #0099CC;
  opacity: 1;
}

.over_link span{
  font-size: 1.6rem;
  letter-spacing: 3.2px;
  position: relative;
}
.over_link::after {
  position: absolute;
  margin: auto;
  content: "";
  vertical-align: middle;
  right: 30px;
  width: 15px;
  height: 15px;
  border-top: 3px solid #E60013;
  border-right: 3px solid #E60013;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: .5s;
}
.over_link:hover:after{
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: .5s;
}


@media screen and (max-width: 1279px) {
/* 推奨動作環境1280pxに固定 */
  body {
    width: 1280px;
  }
}

@media screen and (min-width: 767px),print {
  .pagevisual {
    background: url("../img/mv.webp") no-repeat #DEF3FC right;
  }

  /*インタビュー*/
  .voice_bg{
    height: 400px;
  }
}

@media screen and (max-width: 767px) {
/* スマホ閲覧時、横幅可変 */
  body {
    width: 100%;
  }

  .pagevisual {
    background: url("../img/mv_sp.webp") no-repeat center;
    background-size: cover;
  }
  .content{
    padding: 0px 0 60px;
  }

  .main_text {
    font-size: 1.6rem;
    padding-top: 50px;
  }
  .link_flex{
    flex-wrap: wrap;
    gap: 10px;
  }
  .link_flex--box{
    height: 200px;
    gap: 20px;
    display: flex;
    overflow: hidden;
  }
  .link_flex--box:nth-child(3) .img{
    position: absolute;
    bottom: 0;
  }
  .link_flex--tt{
    padding: 30px 5%;
  }
  .ser_menu{
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
  }
  .link_flex--box .common_link.allow{
    font-size: 1.8rem;
  }
  .over_link {
    height: auto;
    padding: 20px 5%;
    letter-spacing: 2px;
    font-size: 1.8rem;
  }
  .over_link span{
    font-size: 1.8rem;
  }
}

/* 印刷用設定 */
@media print {

}
@page {
  size: A4;
  margin: 5px;
}
