/* page-top.css - Topページ固有のスタイル */

.page-top .inner_title,
.page-top .l-side .side_list {
  border-color: transparent;
}

/* ----- contents_top: 共通 ----- */
/*
.l-contents .contents_top {
  margin: 0 10px 50px;
}
*/
.l-contents .contents_next a {
  position: relative;
  display: inline-block;
  border: 2px dotted #eef1ee;
  border-radius: 8px;
  margin: 10px 0 40px;
  padding: 10px 40px 10px 20px;
  font-size: 1.1rem;
}

.l-contents .contents_next a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #ddd;
  border-right: 2px solid #ddd;
  transform: translateY(-50%) rotate(45deg);
}

/* ----- contents_top: nenga, sns----- */

.contents_top ul {
  display: flex;
  margin: 20px auto;
  justify-content: center;
  gap: 20px;
}

.contents_top li {
  flex: 1;
}

.contents_top li a {
  border: 2px dotted #eef1ee;
  border-radius: 8px;
  overflow: hidden;
}

/* nenga */
.contents_top .grid-nenga li a {
  display: flex;
  align-items: center;
  padding: 20px;
}

.contents_top .grid-nenga li figure {
  display: flex;
}

.contents_top .grid-nenga .note,
.contents_top .grid-nenga .note-back {
  flex-wrap: wrap;
  align-items: flex-start;
  flex: 1;
}

.contents_top .grid-nenga .note .title {
  margin: 0 20px 5px;
  padding: 0 10px 5px 0;
  border-bottom: 1px dotted #ccc;
  font-size: 1.2rem;
}

.contents_top .grid-nenga .note .title + p {
  margin: 0 20px;
  color: #d5d5d5;
}

.contents_top .grid-nenga .note-back {
  position: relative;
  margin-left: 40px;
}

.contents_top .grid-nenga .note-back .link_text {
  font-size: 1.2rem;
}

.contents_top .grid-nenga a:hover .note,
.contents_top .grid-nenga a:not(:hover) .note-back {
  display: none;
}

/* sns */
.contents_top .sns {
  margin-bottom: 40px;
}

.contents_top .sns a {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 50px;
  padding: 60px 10px 10px;
  background-image: url("/img/icon/facebook_wt.png");
  background-repeat: no-repeat;
  background-position: 50% 15%;
  background-size: 40px 40px;
  opacity: 0.8;
  line-height: 1.2;
}

.contents_top .sns li:nth-child(1) a:hover {
  background-image: url("/img/icon/facebook_gn.png");
}

.contents_top .sns li:nth-child(2) a {
  background-image: url("/img/icon/instagram_wt.png");
}

.contents_top .sns li:nth-child(2) a:hover {
  background-image: url("/img/icon/instagram_gn.png");
}

.contents_top .sns li:nth-child(3) a {
  background-image: url("/img/icon/blogger_wt.png");
}

.contents_top .sns li:nth-child(3) a:hover {
  background-image: url("/img/icon/blogger_gn.png");
}

.contents_top .sns li dl {
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
}

.contents_top .sns li dt {
  font-size: 1.2rem;
}

.contents_top .sns li dd {
  font-size: 0.75rem;
  text-align: center;
}

.contents_top .sns li p {
  font-size: 0.9rem;
  text-align: center;
}

.contents_top .sns a:not(:hover) figure,
.contents_top .sns a:not(:hover) p,
.contents_top .sns a:hover dl {
  display: none;
}

/* ----- レスポンシブ（top） ----- */
@media screen and (max-width: 639px) {
  .contents_top ul {
    margin: 20px 5px;
    justify-content: space-between;
    gap: 5px;
  }

  .contents_top .grid-nenga li a {
    flex-direction: column;
    padding: 0;
    height: auto;
  }

  .contents_top .grid-nenga li figure img,
  .contents_top .grid-nenga li .note {
    width: 100%;
  }

  .contents_top .grid-nenga li .note .title {
    margin: 10px 0 0 10px;
  }

  .contents_top .grid-nenga li .note .title + p {
    margin: 5px 0 10px 10px;
  }

  .contents_top .sns li dl {
    margin: 0;
  }
}
