@charset "UTF-8";

/*------------------------------------------
# MV
------------------------------------------*/
.mv {
  margin-bottom: 2rem;
}
@media screen and (max-width: 768px){
  .mv {
    margin-bottom: 1rem;
  }
}

/*------------------------------------------
# simulation
------------------------------------------*/
.simulation-banner {
  width: 100%;
  height: 180px;
  background-image: url(/hajimete/kaikaku/simulator/img/mv.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  margin-bottom: 1em;
}
.simulation-banner:hover {
  opacity: 0.8;
}
@media screen and (max-width: 768px){
  .simulation-banner {
    height: 27vw;
  }
}

/*------------------------------------------
# article-summary-list & topic-menu
------------------------------------------*/
.article-section {
  padding-top: 70px;
  margin-top: -70px;
}
.article-summary-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.article-summary-list > li {
  border-radius: 8px;
  border: solid 1px #ececec;
  overflow: hidden;
  width: 48%;
  margin-bottom: 2em;
}
.article-summary-list .thumbnail img {
  width: 100%;
}
.article-summary-list .thumbnail {
  display: block;
  overflow: hidden;
  height: 164px;
}
.article-summary-list .thumbnail:hover {
  opacity: 0.8;
}
.article-summary-list .summary {
  padding: 1em 1em 0.8em ;
}
.summary-link {
  /* margin: 0 0 0.5em 0; */
  line-height: 1.35;
  font-size: 105%;
  font-weight: 600;
  color: #333;
}
#sec4 .summary-link {
  text-align: justify;
  overflow: hidden;
  height: 2.7em;
  display: -webkit-box;
  -webkit-box-orient: block-axis;
  -webkit-line-clamp: 2;
}
.summary-link:hover {
  color: #0C3F81;
}
.article-summary-list .tag {
  display: flex;
  flex-wrap: wrap;
}
.article-summary-list .tag li {
  margin-right: 0.2em;
  margin-bottom: 0.2em;
}
.article-summary-list .tag li > a {
  font-size: 75%;
  margin-right: 0;
  padding: 3px 1em 2px;
}
.topic-menu {
  display: flex;
  flex-wrap: wrap;
}
.topic-menu > li {
  margin-right: 20px;
  width: 300px;
  height: auto;
}
.topic-menu img {
  width: 100%;
}
.topic-menu img:hover {
  opacity: 0.8;
}
.article-summary-list .transition {
  background-color: #F4F4F4;
  font-size: 70%;
  color: #304F89;
  display: inline-block;
  padding:0.1em 1em;
  margin-bottom: 0.8em;
  font-weight: 600;
}
.article-summary-list .transition span {
  position: relative;
  padding-right: 1em;
}
.article-summary-list .transition span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  width: 1em;
  height: 1em;
  background: url(../img/window.svg) 0 0 no-repeat;
  background-size: contain;
  transform: translate(0, -50%);
}
@media screen and (max-width: 768px){
  .article-section {
    padding-top: 6vw;
    margin-top: -6vw;
  }
  .article-section .section-wrap {
    padding-top: 50px;
  }
  .article-summary-list > li ,
  .topic-menu > li {
    width: 100%;
  }
  .article-summary-list > li {
    border-radius: 0;
    border: 0;
    display: flex;
  }
  .article-summary-list .thumbnail {
    width: 40%;
    height: auto;
    flex-shrink: 0;
  }
  .article-summary-list .summary {
    padding: 0 0 0 0.8em;
  }
  .topic-menu {
    flex-direction: column;
  }
  .topic-menu > li {
    margin-right: 0;
    margin-bottom: 2em;
    width: 100%;
  }
  #sec2 .summary-link {
    height: 4.05em;
    -webkit-line-clamp: 3;
  }
}

/*------------------------------------------
# readmore もっとみる CSSのみ
------------------------------------------*/
.readmore {
  position: relative;
  padding-bottom: 3em;
  margin-bottom: 2em;
}
.readmore-btn {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
  padding: 0.5em 0;
  color: #304F89;
  text-align: center;
  border:1px solid #304F89;
  background-color: #FFF;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
  font-weight: 600;
  border-radius: 3px;
}
.readmore-btn:hover{
  background-color: #e4ebf5;
}
.readmore-btn::before{
  content: '続きを見る';
}
.readmore-btn::after{
  content: "";
  position: absolute;
  top: 50%;
  right: calc(50% - 4em);
  width: 1em;
  height: 1em;
  background: url(../img/arrow.svg) 0 0 no-repeat;
  background-size: contain;
  transform: translate(0, -50%);
}
.readmore-btn.active::before {
  content: '閉じる';
}
.readmore-btn.active::after{
  content: "";
  position: absolute;
  top: 28%;
  right: calc(50% - 4em);
  width: 1em;
  height: 1em;
  background: url(../img/arrow.svg) 0 0 no-repeat;
  background-size: contain;
  transform: scale(1, -1);    
}
.readmore-content {
  position: relative;
  height: 62em;
  overflow: hidden;
  transition: 0.5s;
}
.readmore-content.active {
  height: 1850px;
}
@media screen and (max-width: 768px){
  .readmore-content {
    height: 26em;
  }
  .readmore-content.active {
    height: 90em;
  }
}