@charset "utf-8";
/* CSS Document */
body {
  background: #E6E6E6;
}
#tryfmv main > div {
  padding-top: 130px;
}
#tryfmv .bg {
  background: linear-gradient(180deg, #FAFAFA 0%, #E6E6E6 100%);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 15px 0;
  text-align: center;
}
@media screen and (min-width:810px) {
  .container {
    padding: 27px 15px 0;
  }
}
.top__title {
  display: flex;
  justify-content: center;
  align-items: center;
}
.top__title p {
  margin-right: 5px;
  padding: 0 10px;
  color: #fff;
  font-weight: bold;
  background: #005598;
  border-radius: 5px;
}
.top__title h2 {
  font-size: 34px;
}
.top__txt {
  padding: 7px 0;
  font-size: 20px;
  font-weight: bold;
}

/*.detail.pc {
  max-width: 900px;
  margin: 0 auto;
  padding: 27px 0 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.detail-box {
  width: 50%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 9px 6px -6px #b5b5b5;
}
.detail-box a {
  border-radius: 12px;
}
.detail-box a, .detail-box a:visited, .detail-box a:link {
  color: #000;
}
.detail-box:hover a {
  color: #005598;
}
.detail-box__title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  background: #000;
  border-radius: 12px 12px 0 0;
}
.detail-box:hover .detail-box__title {
  background: #005598;
}
.detail-box__title img:nth-of-type(1) {
  margin-right: 8px;
}
.detail-box__bottom {
  border-left: 3px solid #dfdfdf;
  border-right: 3px solid #dfdfdf;
  border-bottom: 3px solid #dfdfdf;
  border-radius: 0 0 12px 12px;
}
.detail-box:hover .detail-box__bottom {
  border-left: 3px solid #005598;
  border-right: 3px solid #005598;
  border-bottom: 3px solid #005598;
}
.detail-box__text {
  padding: 15px 0 0;
  font-size: 18px;
  font-weight: bold;
}
.detail-box .detail-box__image {
  position: relative;
}
.detail-box .detail-box__image img:nth-of-type(2) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.detail-box .detail-box__image img:nth-of-type(2) {
	opacity: 0;
}
.detail-box:hover .detail-box__image img:nth-of-type(2) {
	opacity: 1;
}
.detail-box:hover .detail-box__image img:nth-of-type(1) {
	opacity: 0;
}
.detail-box .detail-box__image img {
  max-width: 80%;
}*/
.detail.pc {
  margin: 0 auto;
  padding: 27px 20px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3%;
}
.detail-box {
  position: relative;
}
.detail-box img:nth-of-type(2) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.detail-box img:nth-of-type(2) {
	opacity: 0;
}
.detail-box:hover img:nth-of-type(2) {
	opacity: 1;
}
.detail-box:hover img:nth-of-type(1) {
	opacity: 0;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-top .flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-top .flex:nth-of-type(2) {
  padding-left: 10px;
}
.footer-top .flex p {
  padding-left: 3px;
  font-size: 12px;
}
.copyright {
  padding-top: 2px;
  font-size: 12px;
  text-align: center;
}
@media screen and (min-width:769px) {
  .top{
    border-bottom: 1px solid #000;
  }
}
@media screen and (max-width:768px) {
  #tryfmv main > div {
    padding-top: 30px;
  }
  .container {
    padding: 50px 3% 50px;
    min-height: calc(100vh - 30px);
  }
  
  .detail.sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 150px - 50px);  /*100vh-topから上の高さ（余剰含）-footerの高さ（余剰含）*/
  }
  .detail.sp > div {
    width: 84%;
    margin: 0 auto;
  }
  .detail p {
    font-size: 12px;
    font-size: clamp(12px, calc(6.911242603550296px + 1.183431952662722vw), 16px);
  }
  
  .top__title {
    border-bottom: 1px solid #000;
  }
  .top__title p {
    font-size: 15px;
    font-size: clamp(15px, calc(12.857142857142858px + 0.6696428571428571vw), 18px);
  }
  
  .detail .top__txt {
    font-size: 15px;
    font-size: clamp(15px, calc(11.428571428571429px + 1.1160714285714286vw), 20px);
    font-weight: bold;
  }
  .detail__image {
    max-width: 298px;
    width: 60%;
  }
  .detail__more-text {
    padding: 9% 0 10px;
    font-weight: bold;
  }
  .btn-item {
    position: relative;
  }
  .btn-item ~ .btn-item {
    margin-top: 10px;
  }
  .btn-item a {
    display: inline-block;
  }
  .btn-item img:nth-of-type(2)  {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .btn-item img:nth-of-type(2) {
    opacity: 0;
  }
  .btn-item a:hover img:nth-of-type(2) {
    opacity: 1;
  }
  .btn-item a:hover img:nth-of-type(1) {
    opacity: 0;
  }
  .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}


.sp {
  display: none;
}
@media screen and (max-width:768px) {
  .sp {
    display: block;
  }
  #tryfmv .pc {
    display: none;
  }
}