/* -------------------- */
/* base
/* -------------------- */

html {
  font-size: 62.5%; /* -> 10px; */
}

body {
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  color: #444444;
  background-color: #f9f9f9;
  max-width: 100%;
  width: 100%;
}
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #333;
  font-size: 1.4rem;
}

img {
  width: 100%;
  vertical-align: bottom;
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 1.6rem;
}

p {
  font-size: 1.6rem;
}

small {
  font-size: 1.2rem;
  color: #999999;
}

main {
  flex-wrap: wrap;
  display: flex;
  justify-content: left;
  margin: 0 60px;
}

/* -------------------- */
/* 全体レイアウト（wrapper）
/* -------------------- */
.wrapper {
  max-width: 90%;
  width: 90%;
  margin: 0px auto 100px;
}
.wrapper-header {
  max-width: 90%;
  width: 90%;
  margin: 86px auto 0px;
}

/* -------------------- */
/* カバー画像（cover-area）
/* -------------------- */
.cover-area {
  position: relative;
  margin: 0 auto;
  text-align: center;
  padding: 0 6%;
}

.cover-area h1 {
  position: absolute;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 3.8vw;
  text-shadow: 0px 3px 8px #000000;
  color: white;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.cover-area h3 {
  position: absolute;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  color: white;
  text-shadow: 0px 3px 8px #000000;
  font-size: 1.5vw;
  top: 65%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.cover-area img {
  width: 100%;
}

/* -------------------- */
/* 少カテゴリータグ（tag-area）
/* -------------------- */

.tag-area{
  opacity: 0;/*不透明度を指定*/
  transform: translateY(10px); /*transformプロパティの値に関数を指定することで、移動、回転、伸縮、傾斜の設定が可能*/
  transition: all 2s;/*変化の時間*/
}

.tag-area.scrollin {
  opacity: 1;
  transform: translateY(0);
}



.tag-area ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}
.tag-area ul li {
  margin: 2% 1%;
}
.tag-area ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100px;
  height: 2.4em;
  padding: 0 2em;
  background-color: #f6f6f6;
  border: 1px solid #fff;
  border-radius: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #995448;
  font-size: 1.4rem;
  text-decoration: none;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  box-sizing: border-box;
}
.tag-area ul li a:hover {
  background-color: #995448;
  border: 1px solid #fff;
  color: #fff;
}
.tag-area ul li a:before {
  padding-right: 2px;
}

/* -------------------- */
/* 記事カード（3×3）（article-area）
/* -------------------- */

.article-card {
  width: calc(88% / 3);
  margin: 0 2% 2%;
  background: #fff;
  opacity: 0;/*不透明度を指定*/
  transform: translateY(10px); /*transformプロパティの値に関数を指定することで、移動、回転、伸縮、傾斜の設定が可能*/
  transition: all 2s;/*変化の時間*/
}

.article-card.scrollin {
  opacity: 1;
  transform: translateY(0);
}



.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 34px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.5s;
}


.article-card-text {
  padding: 3%;
}

.article-card-text p{
  display: -webkit-box;          
  -webkit-box-orient: vertical;  
  -webkit-line-clamp: 3;         
  overflow: hidden;
}


/* -------------------- */
/* ページネーション
/* -------------------- */

.container__page-nation {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  text-align: center;
    opacity: 0;/*不透明度を指定*/
  transform: translateY(10px); /*transformプロパティの値に関数を指定することで、移動、回転、伸縮、傾斜の設定が可能*/
  transition: all 2s;/*変化の時間*/
}


.container__page-nation.scrollin {
  opacity: 1;
  transform: translateY(0);
}




.page-nation {
  padding: 30px 0;
}

.page-nation ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.page-nation a {
  display: inline-block;
  padding: 10px 18px;
  color: #222;
}

.p1 a, .p1 span {
  width: 32px;
  height: 32px;
  line-height: 28px;
  padding: 0;
  text-align: center;
  display: inline-block;
  font-size: 1.6rem;
}


.p1 span.current {
  background-color: #431f1f;
  border-radius: 100%;
  color: #fff;
}

/* -------------------- */
/* 下段のランキング（aside）
/* -------------------- */

.bottom-article-left {
  display: inline;
  width: 20%;
}

.ranking-title {
  display: block;
  border-top: 1px solid #431f1f;
  border-left: 1px solid #431f1f;
  border-right: 1px solid #431f1f;
  background-color: #431f1f;
  padding: 10% 20%;
  text-decoration: none;
  color: #fff;
  width: 150px;
  margin: 0px;
  text-align: center;
  font-size: 14px;
}

.CardList a article {
  border-bottom: solid 1px #e6e6e6;
  border-left: solid 1px #e6e6e6;
  border-right: solid 1px #e6e6e6;
  
}

.CardList a:hover {
  display: block;
  opacity: 0.6;
  transition: all 0.3s;
}


.clearfix:after,
.CardList article:after {
  content: "";
  display: block;
  clear: both;
}

/* カードの横レイアウト */

.bottom-ranking-title {
  text-align: center;
  background-color: #431f1f;
  color: #fff;
  padding: 4%;
}

.CardList {
  width: 28%;
}

article{
  background: #fff;
}

.CardList article img {
  width: 44%;
  height: auto;
  margin: 0;
  float: left;
}
.CardList article h3 {
  font-size: 0.9em;
  font-weight: bold;
  margin: 0;
  padding-left: 15px;
}
.CardList article p {
  text-align: left;
  font-size: 1.4rem;
  margin: 0;
  display: -webkit-box;    
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  padding: 16px 6px 0px;
}

.CardList article small {
  text-align: left;
  font-size: 1.2rem;
  margin: 0;
  display: -webkit-box;    
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  padding: 16px 6px 0px;
}


/* -------------------- */
/* 下段の記事（回遊用）
/* -------------------- */

  
.sp-article-title{
  display: none;
  }

.pc-article-title {
  text-align: center;
  margin: 0 9% 1% 0;
  opacity: 0;/*不透明度を指定*/
  transform: translateY(10px); /*transformプロパティの値に関数を指定することで、移動、回転、伸縮、傾斜の設定が可能*/
  transition: all 2s;/*変化の時間*/
}

.pc-article-title.scrollin {
  opacity: 1;
  transform: translateY(0);
}

.bottom-article {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  opacity: 0;/*不透明度を指定*/
  transform: translateY(10px); /*transformプロパティの値に関数を指定することで、移動、回転、伸縮、傾斜の設定が可能*/
  transition: all 2s;/*変化の時間*/
  margin-left: 4.5%;
}

.bottom-article.scrollin {
  opacity: 1;
  transform: translateY(0);
}

.bottom-article-right {
  display: flex;
  flex-wrap: wrap;
  width: 60%;
  justify-content: center;
}

.bottom-article-card {
  width: calc(80% / 2);
  margin: 0 2% 4%;
  background: #fff;
}

.bottom-article-card-text {
  padding: 3%;
}

.bottom-article-card-text p{
  display: -webkit-box;    
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}


.bottom-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 34px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.5s;
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}


.bottom-article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}


/* ------------------ */
/* フッター
/* ------------------ */

footer {
  width: 100%;
  background-color: #431f1f;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  position: absolute; /*←絶対位置*/
}

footer ul li {
  display: inline-block;
  justify-content: space-between;
}

footer a {
  color: #fff;
}

footer img {
  width: 10%;
  margin: 1% 0;
}

footer p {
  font-size: 1.2rem;
}

.footer__fracora{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 0;
}


.footer__fracora p{
  font-size: 1.6rem;
  margin: 0 0 0 1%;
  padding:4px 0 0; 
}

.footer__fracora img{
  width:7%;
}

.copyright{
margin-top:40px;
}



@media (max-width: 500px) {

  html{
  background-color: unset;
}
  .wrapper {
    max-width: 90%;
    width: 90%;
    margin:0% auto 20%;
    padding-bottom: 0px;
  }

  .wrapper-header {
    max-width: 100%;
    width: 100%;
    margin: 60px auto 0px;
  }
  main{
    margin: 20px auto;
  }
  .cover-area {
    position: relative;
    margin: 0 auto;
    text-align: center;
    padding: 0;
  }

  .cover-area h1{
    font-size: 4rem;
    top:40%;
  }

  .cover-area h3{
    font-size: 1.2rem;
    top:72%;
    width:100%;
  }

    .article-card{
  width: calc(90% / 1);
  margin:20px auto;
}

  .article-card h3{
    width: calc(50% - 10px);
    margin: 5px;
    vertical-align: center;
    padding: 0;
  }

  .tag-area {
    margin: 8% 0% 2%;
    padding-left: 350px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .tag-area ul li a {
    margin: 2% 3%;
  }

  .bottom-article-left {
    visibility: hidden;
  }

  .bottom-article-card {
  width: calc(92% / 2);

  }

  .bottom-article-right {
    width: 100%;
    margin: 2% 0 0 0;
  }
  .bottom-article {
    margin: 0 auto;
    display: block;
  }
  .CardList {
    width: auto;
  }

  .pc-article-title {
    display: none;
  }
  
  .sp-article-title{
    display: block;
    margin: 10% 2% 0;
  }

/* ------------------ */
/* フッター
/* ------------------ */
footer img {
  width: 30%;
}

.footer__fracora{
  display: block;
}


.footer__fracora img{
  width:25%;
}

footer ul li{
  margin-top:10px;
}

}

