
/* HemophiliaNavi Top Page CSS */

body {
  overflow-x: hidden;
}
/* ----------------------------------
トップページヘッダー
---------------------------------- */
.header-wrap{
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.header-wrap:after{
  content: '';
  min-height: 22vw;
  border-top-right-radius: 2000px 300px;
  border-top-left-radius: 2000px 300px;
  margin-left: -200px;
  margin-right: -200px;
  padding-left: 200px;
  padding-right: 200px;
  background: #fff;
  display: block;
  position: absolute;
  bottom: -17.5vw;
  width: calc(100% + 400px);
}

@media screen and (min-width: 981px) {
  body {
    overflow-x: initial;
  }
  .logo-header{
    height: 70px;
  }
}
.header-wrap .logo{
  width: 245px;
  position: absolute;
  /* right: 30px;
  top: 40px; */
  right: 30px;
  top: 23px;
  z-index: 1;
}
@media screen and (max-width: 980px) {
  .logo-header{
    display: none;
  }
}
.hemophilia-top-header{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.hemophilia-top-header > div:nth-child(1),
.hemophilia-top-header > div:nth-child(3){
  width: 35%;
  align-self: stretch;
  text-align: center;
  position: relative;
}
.hemophilia-top-header > div:nth-child(1) a,
.hemophilia-top-header > div:nth-child(3) a{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #fff;
  font-size: 4.6rem;
  font-weight: 900;
  /* padding: 0 0 50px; */
  padding: 0 0 5vw;
  position: relative;
  z-index: 2;
  transition: all .6s;
}
.hemophilia-top-header > div:nth-child(1) a:hover,
.hemophilia-top-header > div:nth-child(3) a:hover{
  opacity: .5;
}
.hemophilia-top-header > div:nth-child(1) span:after,
.hemophilia-top-header > div:nth-child(3) span:after{
  content: '';
  display: block;
  background: url(../img/top/top_header_arrow.svg)no-repeat center center / cover;
  width: 100px;
  height: 40px;
  margin: 10px auto 0;
}

.hemophilia-top-header > div:nth-child(1){
  background: #19c764;
}
.hemophilia-top-header > div:nth-child(1) span{
  margin: 0 -30% 0 0;
  display: flex;
  flex-direction: column;
}
.hemophilia-top-header > div:nth-child(1):before{
  content: '';
  background: url(../img/top/top_header_bg_text_1.svg)no-repeat center center / contain;
  position: absolute;
  top: -3%;
  display: block;
  width: 150%;
  height: 100%;
  left: -23%;
}
/* ヘッダーコンテント2 */
.hemophilia-top-header > div:nth-child(2){
  width: 30%;
  background: linear-gradient(90deg, #19c764 0%, #19c764 50%, #ffbc3c 50%, #ffbc3c 100%);
  padding: 0 0 5vw;
}
.hemophilia-top-header > div:nth-child(2) .img-anim{
  position: relative;
  z-index: 1;
  margin: 10px auto;
  max-width: 500px;
  width: 100%;
}
.hemophilia-top-header > div:nth-child(2) .img-anim img{
  width: 100%;
}
.hemophilia-top-header > div:nth-child(2) .img-anim img:nth-child(1){
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.hemophilia-top-header > div:nth-child(2) .img-anim img:nth-child(2){
  position: absolute;
  top: 13%;
  right: 0;
  left: 0;
  width: 95%;
  max-width: 380px;
  margin: auto;
}
.hemophilia-top-header > div:nth-child(2) .img-anim img:nth-child(3){
  position: absolute;
  max-width: 100px;
  bottom: 9%;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: -1;
}
/* ヘッダーコンテント3 */
.hemophilia-top-header > div:nth-child(3){
  background: #ffbc3c;
}
.hemophilia-top-header > div:nth-child(3) span{
  margin: 0 0 0 -30%;
  display: flex;
  flex-direction: column;
}
.hemophilia-top-header > div:nth-child(3):before{
  content: '';
  background: url(../img/top/top_header_bg_text_2.svg)no-repeat center center / contain;
  position: absolute;
  top: 0;
  display: block;
  width: 145%;
  height: 100%;
  right: -15%;
}



/* ----------------------------------
注目のコンテンツ
---------------------------------- */
.featured-content-wrap{
  margin: 50px auto 0;
  max-width: 1120px;
}
.featured-content-wrap h2{
  border-bottom: 1px solid #fc1921;
  font-size: 2.6rem;
  text-align: center;
}
.featured-content-wrap .featured-contents + h2 {
  margin-top: 80px;
}
.featured-content-wrap h2 span{
  display: inline-block;
  padding: 5px 20px;
  min-width: 250px;
  border-radius: 20px 20px 0 0;
  background: #fc1921;
  color: #fff;
}
.featured-contents{
  margin: 50px 0 0;
}
.featured-contents img{
  width: 100%;
  transition: all .4s;
}
.featured-contents ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.featured-contents.single ul{
  justify-content: center;
}
.featured-contents ul li{
  position: relative;
  width: calc(50% - 20px);
}
.featured-contents.single ul li{
  width: 75%;
}
.featured-contents ul li a{
  display: block;
  position: relative;
}
.featured-contents ul li a:after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow : 7.78px 7.78px 7.78px rgba(0, 0, 0, 0.10);
  background: #fff;
  border-radius: 25px;
  z-index: -1;
}
.featured-contents ul li:nth-child(n+3){
  margin: 50px 0 0;
}
.featured-contents ul li a:hover > img{
  opacity: .6;
}
.new{
  font-family:'avantgarde';
  font-size: 1.7rem;
  line-height: 1;
  color: #fff;
  background: #fc1921;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 50%;
  position: absolute;
  right: -10px;
  top: -10px;
  z-index: 1;
}
.new span{
  font-family: 'avantgarde-normal';
  font-size: 1.4rem;
  margin: 2px 0 0;
  font-weight: bold;
}



/* ----------------------------------
血友病を1から知りたいあなたへ(共通)
---------------------------------- */
.about-1 h2:after,.about-2 h2:after{
  content: '';
  min-height: 22vw;
  border-top-right-radius: 2000px 300px;
  border-top-left-radius: 2000px 300px;
  margin-left: -200px;
  margin-right: -200px;
  padding-left: 200px;
  padding-right: 200px;
  background: #fff;
  display: block;
  position: absolute;
  bottom: -17.5vw;
  width: calc(100% + 400px);
  /* content: '';
  width: 100%;
  height: 5vw;
  max-height: 65px;
  display: block;
  background: url(../img/top/radius_bg.png)no-repeat center center / cover;
  position: absolute;
  bottom: 0;
  left: 0; */
}
.about-1,.about-2{
  margin: 100px auto;
  max-width: 1280px;
}
.about-1 h2,.about-2 h2{
  padding: 110px 0;
  position: relative;
  margin: 0 calc(50% - 50vw) -2vw!important;
  overflow:hidden;
}
.about-1 h2 span,.about-2 h2 span{
  color: #fff;
  max-width: 1120px;
  margin: -30px auto 0;
  font-size: 4.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
}
.about-1 h2 span:before,.about-2 h2 span:before{
  content: '';
  background: url(../img/top/icon/about_icon_1.svg)no-repeat center center / cover;
  display: block;
  width: 78.7047px;
  height: 106.6526px;
  margin: 0 20px 0 0;
}
.about-1-contents,.about-2-contents{
  max-width: 1120px;
  margin: 50px auto 0;
}
.about-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.about-list li{
  width: calc(50% - 20px);
  position: relative;
}
.about-list li:nth-child(n+3){
  margin: 50px 0 0;
}
.about-list li a{
  display: flex;
  align-items: flex-start;
  transition: all .4s;
}
.about-list li a:hover{
  opacity: .6;
}
.about-list li h3{
  font-size: 2.6rem;
}
.about-list li p{
  color: #000;
  margin: 20px 0 0;
}
.about-list li img{
  width: 30%;
  border-radius: 10px;
  box-shadow: 7.78px 7.78px 7.78px rgb(0 0 0 / 10%);
  margin: 0 5% 0 0;
}
.about-list li .text-area{
  width: 70%;
}
.about-1-contents h3,.about-2-contents h3{
  font-weight: 900;
}

/* ----------------------------------
血友病を1から知りたいあなたへ(1)
---------------------------------- */
.about-1 h2{
  background: #19c764 url(../img/top/about_1_bg.png) no-repeat center right / cover;
}
.about-1 h2 span:before{
  background: url(../img/top/icon/about_icon_1.svg)no-repeat center center / cover;
}
.about-1-contents h3{
  color: #009c64;
}
/* ----------------------------------
血友病を1から知りたいあなたへ(2)
---------------------------------- */
.about-2 h2{
  background: #ffbc3c url(../img/top/about_2_bg.png) no-repeat center right / cover;
}
.about-2 h2 span:before{
  background: url(../img/top/icon/about_icon_2.svg)no-repeat center center / cover;
}
.about-2-contents h3{
  color: #ffa24b;
}



/********************************************************************
レスポンシブ
/********************************************************************/
@media screen and (min-width: 1600px) {
  .about-1 h2,.about-2 h2{
    padding: 110px 0 8vw;
    margin: 0 calc(50% - 50vw) -4vw!important;
  }
}
@media screen and (min-width: 1281px) {
  .hemophilia-top-header > div span{
    font-size: 2.4vw;
  }
  .hemophilia-top-header > div:nth-child(1):before{
    background-size: contain;
    width: 45vw;
    right: -8vw;
    left: 0;
    top: 5%;
  }
  .hemophilia-top-header > div:nth-child(3):before{
    background-size: contain;
    width: 45vw;
    left: -10vw;
  }
}
@media screen and (max-width: 1280px) {
  /* ----------------------------------
  トップページヘッダー
  ---------------------------------- */
  .hemophilia-top-header > div:nth-child(1) a, .hemophilia-top-header > div:nth-child(3) a{
    font-size: 3.8vw;
  }
  /* ----------------------------------
  注目のコンテンツ
  ---------------------------------- */
  .featured-content-wrap{
    padding: 0 20px;
  }
  /* ----------------------------------
  血友病を1から知りたいあなたへ(1)
  ---------------------------------- */
  .about-content-wrap{
    padding: 0 20px;
  }
  .about-1 h2,.about-2 h2{
    padding: 8vw 20px;
  }
  .about-1 h2 span,.about-2 h2 span{
    font-size: 4vw;
    margin: -30px 0 0 30px;
  }
  .about-1 h2 span:before, .about-2 h2 span:before{
    width: 6vw;
    height: 8.2vw;
  }

}


@media screen and (max-width: 768px) {
  /* ----------------------------------
  トップページヘッダー
  ---------------------------------- */
  .header-wrap .logo{
    display: none;
  }
  .header-wrap:after{
    min-height: 46vw;
    border-top-right-radius: 1000px 300px;
    border-top-left-radius: 1000px 300px;
    bottom: -40vw;
  }
  .hemophilia-top-header > div:nth-child(1) a, .hemophilia-top-header > div:nth-child(3) a{
    font-size: 5vw;
    padding: 220px 0 50px;
  }
  .hemophilia-top-header > div:nth-child(1), .hemophilia-top-header > div:nth-child(3){
    width: 50%;
  }
  .hemophilia-top-header > div:nth-child(1) span,.hemophilia-top-header > div:nth-child(3) span{
    margin: 0;
  }
  .hemophilia-top-header > div:nth-child(2){
    position: absolute;
    width: 65%;
    max-width: 220px;
    min-width: 220px;
    top: 10px;
  }
  .hemophilia-top-header > div:nth-child(2) .img-anim{
    margin: 0 auto;
  }
  .hemophilia-top-header > div:nth-child(1):before{
    width: 90%;
    height: 100%;
    z-index: 1;
    left: -1%;
    background: url(../img/top/top_header_bg_text_1.svg)no-repeat center center / 52vw;
  }
  .hemophilia-top-header > div:nth-child(3):before {
    width: 90%;
    height: 100%;
    right: -2%;
    top: -4%;
    background: url(../img/top/top_header_bg_text_2.svg)no-repeat center center / 47vw;
  }
  .hemophilia-top-header > div:nth-child(2) .img-anim img:nth-child(3){
    max-width: 60px;
    bottom: 8%;
  }
  .hemophilia-top-header > div:nth-child(1) span:after, .hemophilia-top-header > div:nth-child(3) span:after{
    width: 45px;
    height: 25px;
  }
  /* ----------------------------------
  注目のコンテンツ
  ---------------------------------- */
  .featured-content-wrap h2{
    font-size: 2.1rem;
  }
  .featured-content-wrap .featured-contents + h2 {
    margin-top: 50px;
  }
  .featured-content-wrap h2 span{
    min-width: 210px;
  }
  .featured-contents{
    margin: 30px 0 0;
  }
  .featured-contents ul li{
    width: 100%;
  }
  .featured-contents ul li:nth-child(n+2),
  .featured-contents ul li:nth-child(n+3){
    margin: 30px 0 0;
  }
  /* ----------------------------------
  血友病を1から知りたいあなたへ(1)
  ---------------------------------- */
  .about-1, .about-2{
    margin: 50px 0;
  }
  .about-1:after, .about-2:after{
    bottom: 75px;
  }
  .about-1 h2 span,.about-2 h2 span{
    font-size: 4.5vw;
    margin: -3vw 0 0 20px;
  }
  .about-1 h2 span:before, .about-2 h2 span:before{
    width: 7.5vw;
    height: 10vw;
    margin: 0 10px 0 0;
  }
  .about-list li{
    width: 100%;
  }
  .about-list li:nth-child(n+2),.about-list li:nth-child(n+3){
    margin: 40px 0 0;
  }
  .about-list li h3{
    font-size: 1.6rem;
  }
  .about-list li p{
    font-size: 1.2rem;
    margin: 10px 0 0;
  }

}

@media screen and (max-width: 480px) {
  .hemophilia-top-header > div:nth-child(1) a, .hemophilia-top-header > div:nth-child(3) a{
    font-size: 2.5rem;
    padding: 220px 0 50px;
    max-width: 115px;
    margin: 0 auto;
  }

  /* ----------------------------------
  お知らせ
  ---------------------------------- */
  .featured-contents.single ul li{
    width: 100%;
  }
}






/* ----------------------------------
トップロゴアニメーション
---------------------------------- */
.hemophilia-top-header > div:nth-child(2) .img-anim img:nth-child(1){
  animation: anim1 2s linear forwards;
}
.hemophilia-top-header > div:nth-child(2) .img-anim img:nth-child(2){
  animation: anim2 2.7s linear forwards;
  transform-origin: bottom;
}
@keyframes anim1 {
	0% {
    opacity: 0;
		transform: rotateY(0deg) translateY(-500px);
	}
  30%{
    transform: translateY(0px);
  }
  35% {
    opacity: 1;
    transform: rotateY(45deg) translateY(-70px);
  }
  40%{
    transform: rotateY(90deg) translateY(-70px);
  }
  65%{
    transform: translateY(-70px);
  }
  80%{
    transform: translateY(-10px);
  }
  85%{
    transform: translateY(0);
  }
	100% {
		transform: translateY(0);
	}
}

@keyframes anim2 {
	0% {
    opacity: 0;
		transform: scale(0.5) translateY(-20px);
	}
  60%{
    opacity: 0;
		transform: scale(0.7) translateY(-20px);
  }
  100%{
    opacity: 1;
		transform: scale(1) translateY(0px);
  }
}