﻿.archive .intro{
  padding-bottom: 20px;
  text-align: center;
}
@media screen and (min-width: 1000px){
  .archive .intro{
    display: flex;
    grid-gap: 20px;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding-bottom: 20px;
  }
  .archive .intro section{
    width: calc(100% - 200px);
    max-width: 500px;
  }
}
.archive .intro .h1ttl{
  margin: 20px auto;
}
.archive .intro .bl-content{
  text-align: left;
}
.archive .intro .bl-content a{
  text-decoration: underline;
}
.archive .mainimage{
  height: 250px;
  width: auto;
  border-radius: 10px;
}

.digitalbook{
  background: #f3f2eb;
  display: block;
  text-align: left;
  width: 90%;
  max-width: 650px;
  padding: 10px;
  margin: 0 auto 40px;
  box-sizing: border-box;
  border-radius: 10px;
  position: relative;
}
.digitalbook img{
  float: left;
  width: 150px;
  height: auto;
  margin: 1rem 1rem 0 0;
  border-radius: 5px;
}
.digitalbook h2{
  color: #004986;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 10px auto;
}
.digitalbook a{
  margin: 10px 0;
}
.digitalbook .howto{
  text-decoration: underline;
}

.archive .bl-material{
  background: #ebeff3;
  display: inline-block;
  vertical-align: top;
  text-align: left;
  width: auto;
  padding: 10px;
  margin: 0 0.2rem 1rem;
  box-sizing: border-box;
  border: 2px solid #ebeff3;;
  border-radius: 10px;
  position: relative;
}
@media screen and (min-width: 1000px){
  .archive .bl-material{
    width: 410px;
  }
}

.archive a.bl-material:hover{
  color: #004986;
  background: #ebeff3;
  border-color: #004986;
}
.archive .bl-material .pdfimg{
  width: 90px;
  height: auto;
  margin-right: 10px;
}
@media screen and (min-width: 1000px){
  .archive .bl-material .pdfimg{
    width: 50px;
  }
}
.archive .bl-material dt{
  float: left;
}
.archive .bl-material .date{
  font-size: small;
  font-weight: 700;
  opacity: .6;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.benefit .flbox{
  flex-direction: row;
}
.benefit .bl-material{
  width: calc(50% - 2rem);
  text-align: center;
}
@media screen and (min-width: 1000px){
  .benefit .bl-material{
    width: 210px;
  }
}
.benefit .bl-material dt{
  float: none;
  padding-bottom: 10px;
}

.case .bl-material{
  width: 18rem;
  text-align: center;
}
@media screen and (min-width: 1000px){
  .case .bl-material{
    width: 23.5rem;
  }
}
.case .bl-material .pdfimg{
  width: 100px;
}
.case .bl-material dt{
  float: none;
  padding-bottom: 10px;
}

.newsletter .flbox{
  grid-gap:1rem;
  justify-content: flex-start;
}
.newsletter h3{
  color: #004986;
  font-size: 2rem;
  font-weight: bold;
  margin: 4rem auto 2rem;
}
.newsletter .bl-material .date{
  position: initial;
  bottom: auto;
  right: auto;
  float: none;
}
.bl-material.ok{
  color: #004986;
  background: #fff;
  border-color: #004986;
}
.bl-material.ng{
  background: #ddd;
  border-color: #ddd;
  opacity: .7;
  pointer-events: none;
}
@media screen and (min-width: 1000px){
  .newsletter .bl-material{
    width: calc(50% - 1rem);
  }
  .newsletter .bl-material .date{
    width: 9rem;
    float: left;
  }
}

.catalog .flbox{
  margin: 30px auto;
}
.catalog .flbox img{
  height: auto;
}
@media screen and (min-width: 1000px){
  .catalog .flbox img{
    max-width: 40%;
  }
}

.samplemovie{
  margin: 3rem auto 7rem;
}
.samplemovie h2,
.samplemovie h3{
  color: #004986;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}
.samplemovie .b_movie{
  padding: 2rem;
  width: 500px;
  background: #ebeff3;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  border: 2px solid #ebeff3;
  border-radius: 10px;
  position: relative;
}
.samplemovie iframe{
  width: 416px;
  height: 260px;
  margin: 0 auto;
}

.m_benefit{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  grid-gap: 2rem;
  justify-content: center;
  margin-bottom: 4rem;
}
@media screen and (min-width: 1000px){
  .m_benefit{
    flex-direction: row;
  }
}
.m_benefit article{
  padding: 2rem;
  width: 100%;
  background: #ebeff3;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  padding: .7rem;
  margin: .7rem .7rem 0 0;
  box-sizing: border-box;
  border: 2px solid #ebeff3;
  border-radius: 10px;
  position: relative;
}
@media screen and (min-width: 1000px){
  .m_benefit article{
  text-align: left;
  width: calc(50% - 3rem);
  }
}
@media screen and (min-width: 1200px){
  .m_benefit article{
  width: calc(33% - 3rem);
  }
}
@media screen and (min-width: 1480px){
  .m_benefit article{
  width: calc(25% - 3rem);
  }
}
.m_benefit article.memberonly:before {
    background: #ffffff;
    opacity: 0.5;
    z-index: 2;
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.m_benefit article.memberonly:after {
    content: "閲覧ID限定";
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto !important;
    color: #fff;
    font-weight: 700;
    background: rgb(0 73 134);
    border-radius: 30px;
    padding: 8px 15px;
}

.m_benefit article div{
  display: flex;
  flex-direction: column;
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
}
.m_benefit article h2{
  color: #004986;
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
}
.m_benefit .memberonly .movie{
  width: 100%;
  height: 170px;
  background: #aaa;
  text-align: center;
  line-height: 130px;
}
@media screen and (min-width: 1000px){
  .m_benefit .memberonly .movie{
    width: 208px;
    height: 130px;
  }
}
.m_benefit .memberonly a{
  color: #555;
}
.m_benefit .memberonly .b_movie a{
  pointer-events: none;
  filter: grayscale(1);
  opacity: .8;
}
.m_benefit iframe{
    border: 2px solid #fff;
    border-radius: 10px;
}
@media screen and (max-width: 1000px){
  .m_benefit iframe{
    width: 400px;
    height: 234px;
  }
}
.m_benefit article h4{
  text-align: center;
}
.m_benefit section a{
  color: #004986;
  background: #fff;
  display: inline-block;
  vertical-align: top;
  text-align: left;
  padding: .7rem;
  margin: .5rem .5rem 0 0;
  box-sizing: border-box;
  border: 2px solid #ebeff3;
  border-radius: 10px;
  position: relative;
}

.m_benefit section.b_movie a{
    font-size: 1.2rem;
    text-align: center;
    line-height: 1rem;
}
.m_benefit section.b_movie a::before{
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  background: url(/img/ico-download.svg) center center no-repeat;
  background-size: contain;
  display: inline-block;
  vertical-align: middle;
}
.m_benefit section.b_pdf a{
  font-size: 1.5rem;
  padding: 5px 10px;
  width: 100%;
}