

/* Headline設定-------------------------------------------------------------------------------- */

.frame_header {
  height: 300px;
  display: flex;
  align-items: center;
  margin-top: 24px;
  color: #fff;
  background: #222222 url(/extra/sap_201911/media/head_title.jpg) no-repeat top right;
  border-bottom: 4px solid #f9d53d;
  border-radius: 12px;
}

#adspecial_sap_201911.adspecial_type1 h1.adspecial {
  margin-left: 64px;
  font-size: 2.4rem;
  font-weight: normal;
  line-height: 1.25;
  font-feature-settings: "palt" 1;
}

#adspecial_sap_201911.adspecial_type1 h2.adspecial {
  position: relative;
  margin: 48px 0 24px;
  padding-left: 1em;
  font-size: 2.5rem;
  color: #444;
  font-feature-settings: "palt" 1;
}

#adspecial_sap_201911.adspecial_type1 h2.adspecial small {
  position: absolute;
  z-index: -1;
  top: -0.7em;
  left: 0;
  font-size: 3.6rem;
  color: #f9d53d;
  font-family: Raleway, Arial, sans-serif;
  opacity: 0.3;
}

#adspecial_sap_201911.adspecial_type1 .ttl-category {
  position: relative;
  margin: 48px 0 0;
  font-size: 2.2rem;
  color: #444;
  border-top: 4px solid #f9d53d;
}





/* local nav -------------------------------------------------------------------------------- */
.sapnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 16px;
  background: #222;
  border-radius: 5px;
  overflow: hidden;
}
.sapnav li {
  width: 25%;
}

.sapnav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: calc(2em + 16px);
  padding: 8px 8px 8px 32px;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.2;
}

.sapnav a::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  top: calc(50% - 3px);
  left: 16px;
  border-right: 2px solid #f9d53d;
  border-bottom: 2px solid #f9d53d;
  transform: rotate(-45deg);
}
.sapnav a:hover {
  color: #f9d53d !important;
  background: #000;
}



/* contents -------------------------------------------------------------------------------- */
.panel {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.panel-item {
  position: relative;
  width: 24%;
  min-height: 240px;
  margin: 0 0.5% 16px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-radius: 12px;
}
.panel-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 85%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
  transition: 0.5s;
}
.panel-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #000;
  transition: opacity 0.5s;
}
.panel-item:hover::before {
  opacity: 0.3;
}

.panel-item a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 5;
  height: 100%;
  padding: 8px;
}

.panel-item .panel-ttl {
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.2;
  font-size: 0.875rem;
  font-weight: normal;
  font-feature-settings: "palt" 1;  
}

.panel-item .panel-tag {
  padding-top: 8px;
  border-top: 2px solid #f9d53d;
  font-size: 0.75rem;
  color: #f9d53d !important;
  line-height: 1.3;
  text-align: center;
}


.l-col2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 48px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.l-col2-inner {
  width: 50%;
  padding: 0 24px;
}


.partner {
  display: flex;
  flex-wrap: wrap;
}
.partner li {
  width: 48%;
  margin: 0 1% 16px;;
}
.partner li a {
  min-height: 100px;
  display: flex;
  align-items: center;
  padding: 24px 24px 24px 16px;
  border-left: 8px solid #f9d53d;
  border-radius: 12px;
  box-shadow: 0 1px 3px #ccc;
  transition: 0.2s;
}
.partner li a:hover {
  box-shadow: 0 3px 5px #ccc;
}
.partner li a .partner-logo {margin-right: 16px;}
.partner li a .partner-logo img {max-width: 100px;}
.partner .partner-name {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

/* フッター責任表示--------------------------------------------------------------------------------*/
#adspecial_sap_201911.adspecial_type1 .block_sponsored {
        margin-top: 48px;
        padding-top: 24px;
        border-top: 1px solid #eee;
	font-weight: normal;
	font-style: normal;
        text-align: center;
}






/* Partner Company Page --------------------------------------------------------------------------------*/
.partner-logo-r {float: right;}
.partner-url {
  margin-bottom: 16px;
}
.partner-url a {
  font-weight: bold;
  color: #00A9EB;
}


.btn-area {
  padding: 24px 0;
}
.btn-area a {
  display: inline-block;
  min-width: 40%;
  padding: 16px;
  color: #fff;
  font-weight: bold;
  background-color: #007DB8;
  border-radius: 30px;
  transition: 0.5s background-color;
}
.btn-area a:hover {
  color: #fff !important;
  background-color: #00A9EB;
}

.link-back-top {
  margin-top: 16px;
  text-align: right;
}
.link-back-top a {position: relative; display: inline-block; padding-right: 16px;}
.link-back-top a::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: calc(50% - 5px);
    right: 2px;
    border-right: 2px solid #f9d53d;
    border-bottom: 2px solid #f9d53d;
    transform: rotate(-45deg);
}

.movie {
    max-width: 640px;
    margin: 48px auto 24px;
}
.movie-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
}
.movie-container iframe,
.movie-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* responsive --------------------------------------------------------------------------------*/
@media screen and (max-width: 960px) {
  .adspecial_type1 {padding: 0 16px;}

  .panel-item {width: 32.3%;}

  .partner {
  display: block;
}
.partner li {
  width: 100%;
  margin: 0 0 16px;
}
  .partner-logo-r {float: none;}
}



@media screen and (max-width: 640px) {
  .frame_header {
    position: relative;
    overflow: hidden;
    height: 200px;
   }
  .frame_header::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }

  #adspecial_sap_201911.adspecial_type1 h1.adspecial {
    position: relative;
    margin-left: 24px;
    font-size: 1.6rem;
  }


  #adspecial_sap_201911.adspecial_type1 h2.adspecial {font-size: 2rem;}
  #adspecial_sap_201911.adspecial_type1 h2.ttl-category {
    padding: 8px 0;
    font-size: 1.25rem;
    line-height: 1.2;
   }

  .sapnav li {width: 50%;}
  .panel-item {width: 49%;}

  .l-col2 {display: block; padding-bottom: 48px;}
  .l-col2-inner {padding: 24px 0 0; width: 100%;}

}





@media screen and (max-width: 480px) {
  #adspecial_sap_201911.adspecial_type1 h1.adspecial {
    font-size: 1.4rem;
  }
  .panel-item {width: 100%;}
}