@charset "UTF-8";
/* Qプラス用CSSファイルです https://infoq.jp/qplus/ */

/* =============================================
  Custom Properties
============================================= */
:root {
  /* logo colors */
  --logo-gmo-blue: #005bac;
  --logo-gmo-gray: #5a5858;
  --logo-zcom-red: #d62825;

  /* Qplus colors */
  --qplus-orange1: #fdb33e;
  --qplus-orange2: #ff8a00;
  --qplus-green1: #f1f9f9;
  --qplus-green2: #e5f3f3;
  --qplus-green3: #6cd4d3;
  --qplus-green4: #48b9b7;
  --qplus-green5: #35b1bc;
  --qplus-green6: #218888;
  --qplus-green7: #344845;
  --qplus-green8: #d5e0e0;
  --qplus-green9: #839799;
  --qplus-AI1: #7d1382;
  --qplus-AI2: #8462b5;
  --qplus-AI3: #aa87db;
  --qplus-AI4: #e9e2f2;
  --qplus-AI5: #e0d0f5;
  --qplus-AI6: #f6f2fb;

  /* common colors */
  --common-black1: #222222;
  --common-gray1: #333333;
  --common-gray2: #555555;
  --common-gray3: #888888;
  --common-gray4: #dddddd;
  --common-pink1: #d82980;
  --common-pink2: #ffb8ff;
  --common-red1: #ff0000;
  --common-red2: #b13900;
  --common-yellow1: #ffff66;
  --common-blue1: #66ccff;

  /* parts colors */
  --parts-indexlist1: var(--qplus-green4);
  --parts-indexlist2: var(--qplus-green2);
  --parts-heading1: var(--qplus-orange2);
  --parts-table1: #fbe8ae;
  --parts-table2: #fffee3;
  --parts-survey1: #ff3939;
  --parts-survey2: #008fc7;
  --parts-survey3: #009edb;
  --parts-survey4: #f9fdff;

  /* sns colors */
  --sns-facebook: #1778f2;
  --sns-twitter: #1da1f3;
  --sns-hatena: #00a4de;
}

/* ===============================================
  Font Setting
  Noto Sans: 400 (normal) / 700 (bold)
=============================================== */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/NotoSansJP-Regular.woff) format("woff");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/NotoSansJP-Bold.woff) format("woff");
}

/* =============================================
  共通
============================================= */
body {
  scroll-padding-top: 97px;
  background-color: #ffffff;
  font-family: "Noto Sans", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
}

img {
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.wrapUnder {
  background-color: #ffffff;
}
@media screen and (max-width: 425px) {
  .wrapUnder {
    background-color: #ffffff;
  }
}

/* =============================================
  文字装飾 共通
============================================= */
/* 文字色 ピンク */
.pink {
  color: var(--common-pink1);
}

/* 文字色 赤色 */
.red {
  color: var(--common-red1);
}

/* マーカー黄色 */
.marker_yellow,
.marker-yellow {
  background: linear-gradient(transparent 60%, var(--common-yellow1) 60%);
}

/* マーカーピンク */
.marker_pink {
  background: linear-gradient(transparent 60%, var(--common-pink2) 60%);
}

/* マーカー水色 */
.marker_blue {
  background: linear-gradient(transparent 60%, var(--common-blue1) 60%);
}

strong,
.bold {
  font-weight: 700;
}

/* 文字サイズ */
.text-s {
  font-size: 0.857em;
}

/* =============================================
  リンク
============================================= */
main a {
  color: var(--qplus-green7);
  text-decoration: none;
  transition: 0.3s;
}

main a img {
  opacity: 1;
  transition: 0.3s;
}

main a:hover img {
  opacity: 0.8;
}

/* =============================================
  SP/pcだけ改行
============================================= */
.sp-br {
  display: block;
}
@media screen and (min-width: 769px) {
  .sp-br {
    display: none;
  }
}

.pc-br {
  display: none;
}
@media screen and (min-width: 769px) {
  .pc-br {
    display: block;
  }
}

/* =============================================
  header
============================================= */
.header {
  background-color: #ffffff;
}

/* ログイン時 */
.drawer header {
  position: relative;
  height: 59px;
}

.drawer header::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
  bottom: -4px;
  background: linear-gradient(to bottom,  rgba(85,85,85,0.4) 0%,rgba(0,0,0,0) 100%);
  z-index: 1;
}
@media screen and (min-width: 1024px) {
  .drawer header::after {
    z-index: -1;
  }
}

.drawer .header {
  box-shadow: none;
}

/* =============================================
  パンくず
============================================= */
.breadcrumb {
  font-size: 12px;
  display: flex;
  padding: 2rem 0 1rem;
  line-height: 1.4;
}

.breadcrumb a {
  color: var(--qplus-green7);
}

.breadcrumb .arrow {
  margin: 0 8px;
}

.breadcrumb li:first-child {
  white-space: nowrap;
}

/* =============================================
  hタグ
============================================= */
.qplus-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  transition: 0.3s;
  padding-bottom: 1rem;
}
@media screen and (min-width: 769px) {
  .qplus-content h2 {
    font-size: 3.2rem;
  }
}

.qplus-content h2 span {
  font-size: 1.2rem;
  padding-left: 1rem;
}

.qplus-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  transition: 0.3s;
}
@media screen and (min-width: 769px) {
  .qplus-content h3 {
    font-size: 2rem;
  }
}

.qplus-content h3 span {
  font-size: 1.2rem;
  padding-left: 1rem;
}

/* =============================================
  表組み
============================================= */
.table-style {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 1rem 0;
}
@media screen and (min-width: 769px) {
  .table-style {
    font-size: 1.4rem;
  }
}

.table-style th,
.table-style td {
  text-align: left;
  vertical-align: middle;
  padding: 8px;
}

.table-style th {
  white-space: normal;
}

.table-style .title th {
  text-align: center;
}

.table-style .title th:not(:last-child) {
  border-right: 1px solid #ffffff;
}

.table-style .content:nth-child(odd) {
  background: #f7fafb;
}

@media screen and (min-width: 769px) {
  .table-style .content th,
  .table-style .content td {
    padding: 8px 16px;
  }
}

.table-style .content th a,
.table-style .content td a {
  display: inline-block;
}

/* 緑パターン */
.table-style.table-green .title th {
  background: #e3efef;
}
.table-style.table-green .content:nth-child(odd) {
  background: #f7fafb;
}

/* 山吹色パターン */
.table-style.table-yellow .title th {
  background: #fbe8ae;
}
.table-style.table-yellow .content:nth-child(odd) {
  background: #fffee3;
}
.table-style.table-yellow .content td a,
.table-style.table-yellow .content th a {
  color: #b13900;
  border-bottom: 1px dashed #b13900;
}
.table-style.table-yellow .content td a:hover,
.table-style.table-yellow .content th a:hover {
  border-bottom: 1px dashed transparent;
}

/* 汎用：共通 */
.table-style.table-default .content td a,
.table-style.table-default .content th a,
.table-style.table-default2 .content td a,
.table-style.table-default2 .content th a {
  color: var(--common-red2);
  border-bottom: 1px dashed var(--common-red2);
}
.table-style.table-default .content td a:hover,
.table-style.table-default .content th a:hover,
.table-style.table-default2 .content td a:hover,
.table-style.table-default2 .content th a:hover {
  border-bottom: 1px dashed transparent;
}

/* 汎用：table-default（オレンジ系） */
.table-style.table-default .title th {
  background-color: var(--parts-table1);
}
.table-style.table-default .content:nth-child(odd) {
  background-color: var(--parts-table2);
}

/* 汎用：table-default2（グリーン系） */
.table-style.table-default2 .title th {
  background-color: var(--qplus-green2);
}
.table-style.table-default2 .content:nth-child(odd) {
  background-color: var(--qplus-green1);
}

/* AIカテゴリー用 */
.table-style.category-AI {
  th {
    background-color: var(--qplus-AI5);
  }

  .content:nth-child(odd) {
    background-color: var(--qplus-AI6);
  }
}


/* ---------------------------
  横スクロール
--------------------------- */
@media screen and (max-width: 950px) {
  .table-wrapper {
    position: relative;
    overflow-x: scroll;
  }
  .table-wrapper .table-style {
    width: 800px;
  }
}

/* =============================================
  ページネーション
============================================= */
.pagination {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  color: var(--qplus-green9);
}

.pagination span:not(:last-child) {
  margin-right: 8px;
}

.pagination a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--qplus-green9);
  width: 100%;
  height: 100%;
  transition: 0.3s;
}

.pagination a:hover {
  color: #ffffff;
  background-color: var(--qplus-green3);
}

.pagination .previous,
.pagination .number,
.pagination .next {
  width: 36px;
  height: 36px;
  border: 1px solid var(--qplus-green8);
  border-radius: 4px;
  overflow: hidden;
}

.pagination .current {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--qplus-green5);
  border: none;
  color: #ffffff;
}

.pagination .disabled {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =============================================
  レイアウト
============================================= */
/* mainのposition追加（z-indexの追加調整用） */
main {
  position: relative;
  z-index: 0;
}

.drawer main {
  padding-top: 0;
}

.qplus-content {
  width: 100%;
  max-width: 1260px;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--common-black1);
  margin: 0 auto;
  padding: 0;
}
@media screen and (min-width: 1024px) {
  .qplus-content {
    font-size: 18px;
    font-size: 1.8rem;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
  }
}

.top .qplus-content {
  background-color: #ffffff;
}

/* =============================================
  左カラム
============================================= */
.left-column {
  display: block;
}
@media screen and (min-width: 1024px) {
  .left-column {
    flex: 0 1 calc((896 / 1240) * 100%);
  }
}

/* =============================================
  右カラム
============================================= */
.right-column {
  display: block;
  padding: 5rem 2vw 4rem 2vw;
}
@media screen and (min-width: 769px) {
  .right-column {
    display: flex;
    justify-content: space-around;
  }
}
@media screen and (min-width: 1024px) {
  .right-column {
    flex: 0 1 calc((308 / 1240) * 100%);
    display: block;
    padding-left: 0;
    padding-right: 0;
    padding-top: 8.2rem;
  }
}

@media screen and (min-width: 1024px) {
  .right-column .sticky-box {
    position: sticky;
    top: 40px;
  }

  /* 非ログインの場合の人気記事の位置を調整 */
  body.confirm .right-column .sticky-box {
    top: 96px;
  }
}

.right-column dt {
  font-weight: 700;
  padding-bottom: 1.6rem;
}

/* =============================================
  CTA
============================================= */
.cta-section {
  width: 100%;
  padding: 56px 0;
  background-color: #ffffff;
}
@media screen and (min-width: 1024px) {
  .cta-section {
    padding: 128px 0;
    background-image: url(../images/qplus/cta-bg.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
  }
}

.cta {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
}

.cta dt {
  text-align: center;
}

.cta dt img {
  width: 120px;
}

.cta .lead {
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  padding: 1rem;
  line-height: 2;
}
@media screen and (min-width: 769px) {
  .cta .lead {
    font-size: 1.6rem;
  }
}

.cta .button {
  text-align: center;
  padding: 2rem 0;
}

.cta .button a {
  position: relative;
  display: inline-block;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  background-color: var(--qplus-orange1);
  border-radius: 50px;
  padding: 1.6rem 6rem 1.6rem 4rem;
  transition: 0.6s;
}
@media screen and (min-width: 769px) {
  .cta .button a {
    font-size: 2rem;
    padding: 1.6rem 8rem 1.6rem 6rem;
  }
}

.cta .button a::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  background-image: url(../images/qplus/play_circle_outline-24px.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transition: 0.3s;
  margin-left: 0.8rem;
}

.cta .button a:hover {
  letter-spacing: 2px;
  opacity: 1;
}

/* =============================================
  共通ボタン
============================================= */
.button-wrap {
  text-align: center;
  padding: 2rem 0;
}
@media screen and (min-width: 769px) {
  .button-wrap {
    padding: 4rem 0;
  }
}

/* ---------------------------------------
  山吹色のボタン(ページ下新規登録ボタンと同じデザイン)
  ※今後は使用不可／ .button-regist を優先して使用してください
  <p class="button-wrap"><a class="button-yamabuki"></a></p>
--------------------------------------- */
.button-yamabuki {
  position: relative;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  background-color: #fdb33e;
  border-radius: 50px;
  line-height: 1.4;
}
@media screen and (min-width: 769px) {
  .button-yamabuki {
    line-height: 1.8;
  }
}

.body a.button-yamabuki {
  color: #ffffff;
  border: none;
  padding: 1.6rem 6rem 1.6rem 4rem;
  transition: 0.6s;
}
@media screen and (min-width: 769px) {
  .body a.button-yamabuki {
    font-size: 2rem;
    padding-left: 6rem;
    padding-right: 8rem;
  }
}

.button-yamabuki::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  background-image: url(../images/qplus/play_circle_outline-24px.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.button-yamabuki:hover {
  letter-spacing: 2px;
  background-color: #ffac2a;
  opacity: 1;
}

.body section a.button-yamabuki:hover {
  border: none;
}

/* ---------------------------------------
  登録フォームへのリンクボタン( .button-yamabuki の複製)
  ※今後はこちらを優先して使用してください
  <p class="button-wrap"><a class="button-regist"></a></p>
--------------------------------------- */
.button-regist {
  position: relative;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  background-color: var(--qplus-orange1);
  border-radius: 50px;
  line-height: 1.4;
}
@media screen and (min-width: 769px) {
  .button-regist {
    line-height: 1.8;
  }
}

.body a.button-regist {
  color: #ffffff;
  border: none;
  padding: 1.6rem 6rem 1.6rem 4rem;
  transition: 0.6s;
}
@media screen and (min-width: 769px) {
  .body a.button-regist {
    font-size: 2rem;
    padding-left: 6rem;
    padding-right: 8rem;
  }
}

.button-regist::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  background-image: url(../images/qplus/play_circle_outline-24px.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.button-regist:hover {
  letter-spacing: 2px;
  background-color: var(--qplus-orange2);
  opacity: 1;
}

.body section a.button-regist:hover {
  border: none;
}

/* =============================================

Qプラス トップページ用スタイル

============================================= */

/* =============================================
heroイメージ
============================================= */
.hero {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.heroimage-wrapper {
  background-color: #ffffff;
}

.heroimage {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 769px) {
  .heroimage {
    height: 550px;
  }
}

.heroimage h1 {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1260px;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .heroimage h1 {
    width: 96%;
  }
}

.heroimage h1 img {
  width: 240px;
  height: auto;
}
@media screen and (min-width: 769px) {
  .heroimage h1 img {
    width: 400px;
    height: auto;
  }
}

.heroimage h1 span {
  display: block;
  font-weight: 700;
  font-size: 1.6rem;
}
@media screen and (min-width: 769px) {
  .heroimage h1 span {
    font-size: 2rem;
  }
}

/* 背景画像アニメーション（フェード） */
.hero-bg {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 840px;
  height: 100%;
  background-color: #ffffff;
  overflow: hidden;
}

.hero-bg li {
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  opacity: 0;
  animation: anime 24s linear 0s infinite;
}

.hero-bg li:nth-child(1) {
  background-image: url(../images/qplus/hero-img01.jpg);
}
.hero-bg li:nth-child(2) {
  background-image: url(../images/qplus/hero-img02.jpg);
  animation-delay: 8s;
}
.hero-bg li:nth-child(3) {
  background-image: url(../images/qplus/hero-img03.jpg);
  animation-delay: 16s;
}

@keyframes anime {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  40% {
    animation-timing-function: ease-out;
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* =============================================
記事サムネイル（新着、一覧共通）
============================================= */

/* =============================================
タグ
============================================= */
ul.tag-area {
  font-size: 10px;
  display: flex;
  flex-wrap: wrap;
  padding: 0 1rem;
}
@media screen and (min-width: 769px) {
  ul.tag-area {
    padding: 0 2rem;
  }
}

.tag-area li {
  padding: 0 10px 6px 0;
  overflow: hidden;
}

.tag-area li a {
  position: relative;
  display: block;
  color: var(--qplus-green4);
  background-color: #ffffff;
  border: 1px solid var(--qplus-green4);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.4;
  overflow: hidden;
  transition: 0.6s;
}

.tag-area li a::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 8px;
  border-bottom: 2px solid var(--qplus-green4);
}

.tag-area li a:hover {
  color: #ffffff;
  background-color: var(--qplus-green4);
}

/* =============================================
日付
============================================= */
.qplus-content time {
  font-size: 12px;
  padding: 0 1rem;
}
@media screen and (min-width: 769px) {
  .qplus-content time {
    padding: 0 2rem;
  }
}

/* =============================================
サムネイル
============================================= */
.thumbnail {
  width: 100%;
  overflow: hidden;
}

/* =============================================
  新着情報
============================================= */
.newpost-section {
  padding: 2.4rem 2vw;
}
@media screen and (min-width: 769px) {
  .newpost-section {
    position: relative;
  }
}
@media screen and (min-width: 1024px) {
  .newpost-section {
    padding: 2.4rem 0 3.2rem 0;
  }
}

@media screen and (min-width: 769px) {
  .newpost-section::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3.2rem;
    display: block;
    width: 150%;
    height: 320px;
    background-color: var(--qplus-green1);
  }
}

.newpost-article-wrapper {
  display: block;
  max-width: 100%;
}
@media screen and (min-width: 769px) {
  .newpost-article-wrapper {
    display: flex;
    justify-content: space-between;
  }
}
@media screen and (min-width: 1024px) {
  .newpost-article-wrapper {
    max-width: calc((868 / 896) * 100%);
  }
}

.newpost-article {
  width: 100%;
  position: relative;
  background-color: #ffffff;
  border-radius: 6vw;
  overflow: hidden;
  margin-bottom: 4vw;
  padding-bottom: 2rem;
}
@media screen and (min-width: 769px) {
  .newpost-article {
    flex: 0 1 calc((424 / 868) * 100%);
    border-radius: 30px;
  }
}

.newpost-article > a {
  display: block;
  overflow: hidden;
  color: var(--qplus-green7);
  padding-bottom: 1rem;
}

.newpost-article .thumbnail {
  height: 220px;
  position: relative;
  text-align: center;
}

.newpost-article .thumbnail img {
  width: 100%;
}

.newpost-article h3 {
  padding: 2rem 1rem 0;
  font-weight: 700;
}
@media screen and (min-width: 769px) {
  .newpost-article h3 {
    padding: 2rem 2rem 0;
  }
}

/* =============================================
  記事一覧
============================================= */
.article-list-section {
  padding: 2.4rem 2vw;
}
@media screen and (min-width: 1024px) {
  .article-list-section {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 3.2rem;
  }
}

@media screen and (min-width: 769px) {
  .article-list {
    display: flex;
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 1024px) {
  .article-list {
    max-width: calc((868 / 896) * 100%);
  }
}

.article-list article {
  margin-bottom: 3vw;
  padding-bottom: 2vw;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 769px) {
  .article-list article {
    flex: 0 1 calc((276 / 868) * 100%);
    margin-left: calc((20 / 868) * 100%);
    border-radius: 8px;
  }
}

@media screen and (min-width: 769px) {
  .article-list article:nth-child(3n+1) {
    margin-left: 0;
  }
}

.article-list article:not(:last-child) {
  border-bottom: 1px solid var(--common-gray4);
}
@media screen and (min-width: 769px) {
  .article-list article:not(:last-child) {
    border-bottom: none;
  }
}

.article-list article a {
  display: flex;
  color: var(--common-gray1);
}
@media screen and (min-width: 769px) {
  .article-list article a {
    display: block;
  }
}

.article-list .thumbnail {
  flex: 0 0 calc((72 / 320) * 100%);
  min-width: 72px;
  line-height: 1;
}
@media screen and (min-width: 769px) {
  .article-list .thumbnail {
    width: 100%;
    height: 180px;
    min-width: auto;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
}

.article-list .thumbnail img {
  vertical-align: top;
}

.article-list article h3 {
  padding: 0 1rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.4;
  flex: 1 1 auto;
}
@media screen and (min-width: 769px) {
  .article-list article h3 {
    font-size: 1.6rem;
    padding: 2rem 1rem 0;
    line-height: 1.8;
  }
}

/* 日付 */
.article-list article > a time {
  padding: 0;
  flex: 0 1 auto;
  white-space: nowrap;
}
@media screen and (min-width: 769px) {
  .article-list article > a time {
    padding: 0 1rem;
  }
}

/* タグ */
.article-list article .tag-area {
  padding: 0;
  margin-top: 1rem;
}
@media screen and (min-width: 769px) {
  .article-list article .tag-area {
    padding: 0 1rem;
    margin-top: 8px;
  }
}

.article-list article .tag-area li a {
  color: var(--qplus-green4);
}
.article-list article .tag-area li a:hover {
  color: #ffffff;
}

/* =============================================

  Qプラス 一覧ページ用スタイル

============================================= */
.archives {
  background-color: #ffffff;
}

.archives .article-list-section h2 {
  text-align: center;
  padding: 0 0 2rem;
}
@media screen and (min-width: 769px) {
  .archives .article-list-section h2 {
    text-align: center;
    padding: 0 0 6rem;
  }
}

.archives .article-list-section h2 img {
  display: block;
  width: 160px;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .archives .article-list-section h2 img {
    width: 240px;
  }
}

/* =============================================

Qプラス 個別記事ページ用スタイル

============================================= */
.post {
  position: relative;
  background-color: var(--qplus-green1);
}

/* =============================================
  hero
============================================= */
.post .hero {
  position: relative;
  width: 100%;
  /* max-width: 896px; */
  overflow: hidden;
}

.post .hero img {
  width: 100%;
  vertical-align: top;
}

.post .hero-info {
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  margin-top: -50px;
  padding: 1rem;
}
@media screen and (min-width: 769px) {
  .post .hero-info {
    margin-top: -100px;
    padding: 1.6rem 2rem;
  }
}

.post .hero-info h1 {
  font-weight: 700;
  line-height: 1.6;
}
@media screen and (min-width: 769px) {
  .post .hero-info h1 {
    font-size: 2.4rem;
  }
}

.post .hero-info time,
.post .hero-info .tag-area {
  padding: 0;
}

/* =============================================
目次
============================================= */
.index-links {
  width: 96%;
  margin: 4rem auto;
  background-color: var(--parts-indexlist2);
}
@media screen and (min-width: 769px) {
  .index-links {
    width: 80%;
  }
}

.index-links h2 {
  background-color: var(--parts-indexlist1);
  font-size: 1.4rem;
  color: #ffffff;
  text-align: center;
  padding-bottom: 0;
}
@media screen and (min-width: 769px) {
  .index-links h2 {
    font-size: 1.6rem;
    padding: 0.8rem 0;
  }
}

.index-links a {
  color: var(--qplus-green7);
  transition: 0.3s;
}

.index-links a:hover {
  color: var(--parts-indexlist1);
}

.index-links dl {
  padding: 1rem;
}
@media screen and (min-width: 769px) {
  .index-links dl {
    padding: 2rem;
  }
}

.index-links dl dt {
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  padding-left: 2.4rem;
}

.index-links dl dt::before {
  content: "";
  display: block;
  position: absolute;
  left: 4px;
  top: 0.8em;
  width: 1rem;
  border-bottom: 2px solid var(--parts-indexlist1);
}

.index-links dl dd:not(:last-child) {
  margin-bottom: 1rem;
}

.index-links dl dd ul {
  padding-left: 2rem;
}

.index-links dd ul li {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-top: 0.4rem;
}
@media screen and (min-width: 769px) {
  .index-links dd ul li {
    font-size: 1.6rem;
  }
}

.index-links dd ul li a {
  display: inline-block;
  position: relative;
  padding-left: 1.6rem;
}

.index-links dd ul li a::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 2px solid var(--parts-indexlist1);
}

/* ---------------------------
  AIカテゴリー用
--------------------------- */
.index-links.category-AI {
  background-color: var(--qplus-AI4);

  h2 {
    background-color: var(--qplus-AI2);
  }

  dt {
    &::before {
      border-color: var(--qplus-AI2);
    }
  }

  dd {
    li {
      a {
        &::before {
          border-color: var(--qplus-AI2);
        }
      }
    }
  }

  a {
    &:hover {
      color: var(--qplus-AI2);
    }
  }
}


/* =============================================
  記事本文内リンク （目次を除く）
============================================= */
.body {
  padding: 1rem;
  background-color: #ffffff;
}
@media screen and (min-width: 769px) {
  .body {
    padding: 4rem 6rem;
  }
}

.body > p {
  line-height: 1.8;
}

/* 段落内のリンク */
.body section a {
  color: var(--qplus-green6);
  border-bottom: 1px dashed var(--qplus-green6);
  padding-bottom: 4px;
}

.body section a:hover {
  border-color: #ffffff;
}

/* =============================================
  記事本文内 img + h2 + p（lead文）
============================================= */
.body .section-block {
  padding-bottom: 4rem;
}

/* h2 */
.body .section-block h2 {
  position: relative;
  text-align: center;
  font-size: 2rem;
  padding: 3.2rem 0 0;
  margin-top: 1rem;
}

.body .section-block h2::before {
  content: "";
  display: block;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  border-top: 4px solid var(--qplus-orange2);
}

/* h3 */
.body .section-block h3 {
  position: relative;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 1rem 0 0;
  margin-top: 2rem;
}

/* 段落 */
.body .section-block p {
  padding: 2rem 0;
}
@media screen and (min-width: 769px) {
  .body .section-block p.lead {
    padding: 1rem 0 2rem;
    text-align: center;
  }
}

/*  リード文 */
.body .section-block p.lead {
  text-align: left;
  border-bottom: 1px solid var(--common-gray4);
}
@media screen and (min-width: 769px) {
  .body .section-block h2 {
    font-size: 3.2rem;
    margin-top: 3rem;
  }
}

/* =============================================
  引用
============================================= */
.quote {
  position: relative;
  background-color: #bce1e1;
  padding: 2rem 2rem;
  margin: 4rem 0;
  border-radius: 1.6rem;
}
@media screen and (min-width: 769px) {
  .quote {
    padding: 4rem 4rem;
  }
}

.quote::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  width: 72px;
  height: 72px;
  background-image: url(../images/qplus/format_quote-24px.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transform: rotateZ(180deg);
}

.quote::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  right: 0;
  width: 72px;
  height: 72px;
  background-image: url(../images/qplus/format_quote-24px.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.quote h2 {
  font-size: 1.6rem;
  position: relative;
  padding: 1rem 0 0;
}
@media screen and (min-width: 769px) {
  .quote h2 {
    font-size: 1.8rem;
  }
}

.quote h3 {
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  padding: 1rem 0;
}
@media screen and (min-width: 769px) {
  .quote h3 {
    font-size: 1.6rem;
  }
}

.quote ul {
  position: relative;
  margin: 0;
  padding: 1rem 0 1rem 1rem;
}

.quote li {
  list-style-type: disc;
}

@media screen and (min-width: 769px) {
  .quote p,
  .quote li {
    font-size: 1.4rem;
  }
}

/* =============================================
  動画埋め込み
============================================= */
.video {
  width: 100%;
}

.video iframe {
  width: 100%;
}

/* =============================================
  アイコン
============================================= */
/* newアイコン */
.icon-new::after {
  content: "NEW";
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--qplus-orange2);
  padding: 4px;
  margin-right: 8px;
}
@media screen and (min-width: 769px) {
  .icon-new::after {
    font-size: 1.8rem;
    padding: 8px;
  }
}

/* 注目アイコン */
.icon-chumoku::after {
  content: "注目";
  color: #ffffff;
  font-weight: 700;
  font-size: 1.8rem;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--qplus-orange1);
  padding: 1vw 2vw 1vw 3vw;
  margin-right: 8px;
}
@media screen and (min-width: 769px) {
  .icon-chumoku::after {
    padding: 8px 12px 8px 18px;
  }
}

/* =============================================
  タグリスト
============================================= */
.tags {
  padding-bottom: 6.4rem;
}
@media screen and (min-width: 769px) {
  .tags {
    padding-bottom: 0;
  }
}

.tag-list a {
  display: block;
  position: relative;
  font-size: 1.4rem;
  line-height: 1.3;
  padding-left: 26px;
  transition: 0.3s;
  color: var(--qplus-green7);
}

.tag-list a:hover {
  color: var(--qplus-green4);
}

.tag-list a span {
  width: 90%;
}

/* タグアイコン */
.tag-list a::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 0.2rem;

  /* svg color settings */
  background-color: var(--qplus-green4);
  -webkit-mask-image: url(../images/qplus/local_offer-24px.svg);
  mask-image: url(../images/qplus/local_offer-24px.svg);
  -webkit-mask-size: contain;
  mask-size: contain;
}

.tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (min-width: 769px) {
  .tags .tag-list {
    display: block;
  }
}

.tags .tag-list li {
  flex: 0 1 50%;
  padding: 0.4rem 1rem 0.4rem 0;
}
@media screen and (min-width: 769px) {
  .tags .tag-list li {
    padding-right: 0;
  }
}

.tag-list li:not(:last-child) {
  margin-bottom: 1rem;
}

/* =============================================
  バナーリスト
============================================= */
.banner-list {
  margin-top: 0;
}
@media screen and (min-width: 1024px) {
  .banner-list {
    margin-top: 5rem;
  }
}

.banner-list dt {
  font-size: 1.4rem;
  padding-bottom: 0.8rem;
  line-height: 1.4;
}

.banner-list dd {
  padding-bottom: 2rem;
}

.banner-list dd a {
  display: block;
  max-width: 355px;
  min-height: 108px;
  margin: 0 auto;
  background-size: contain;
  background-repeat: no-repeat;
}
@media screen and (min-width: 1024px) {
  .banner-list dd a {
    /* min-height: 190px; */
    padding-top: calc((250/400)*100%);
  }
}

/* チャット */
.banner-chatinterview {
  background-image: url(../images/qplus/introduce_banner-sp.png);
}
@media screen and (min-width: 1024px) {
  .banner-chatinterview {
    background-image: url(../images/qplus/introduce_banner.png);
  }
}

/* 自主調査 */
.banner-survey {
  background-image: url(../images/qplus/survey_banner-sp.png);
}
@media screen and (min-width: 1024px) {
  .banner-survey {
    background-image: url(../images/qplus/survey_banner.png);
  }
}

/* =============================================
  人気記事
============================================= */
.popular {
  background-color: #ffffff;
  padding: 2rem 1.6rem;
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
}
@media screen and (min-width: 769px) {
  .popular {
    margin: 0;
    padding: 3.2rem 1.6rem;
  }
}

.popular-list article {
  padding: 1.6rem 0;
}

.popular-list li:not(:last-child) article {
  border-bottom: 1px solid var(--common-gray4);
}

.popular-list article a {
  width: 100%;
  display: flex;
  color: var(--qplus-green7);
}

.popular-list .thumbnail {
  flex: 0 0 calc((100 / 320) * 100%);
  min-width: 87px;
  line-height: 1;
}
@media screen and (min-width: 769px) {
  .popular-list .thumbnail {
    flex: 0 0 87px;
  }
}

.popular-list .thumbnail img {
  vertical-align: top;
}

.popular-list article .text {
  padding-left: 1rem;
  font-size: 1.4rem;
  line-height: 1.4;
  flex: 0 1 auto;
}

.popular-list article a h4 {
  display: inline;
  border-bottom: 1px dashed transparent;
  transition: 0.8s;
}
@media screen and (min-width: 769px) {
  .popular-list article a:hover h4 {
    border-bottom: 1px dashed var(--qplus-green7);
  }
}

/* 一覧表示 */
.link-to-list {
  text-align: center;
  padding-top: 1.6rem;
}

.link-to-list a {
  font-size: 14px;
  position: relative;
  padding: 1rem 3.2rem 1rem 2.4rem;
  border-radius: 1.6rem;
  background-color: #ffffff;
  transition: 0.3s;
}

.link-to-list a:hover {
  background-color: var(--qplus-green2);
  letter-spacing: 2px;
}

.link-to-list a::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  background-image: url(../images/qplus/trending_flat-24px.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

/* =============================================

  この記事をシェアする（ページ下部）

============================================= */
.sns-bottom-area {
  width: 100%;
  padding: 2.4rem 2rem;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  margin: 2rem auto 1rem;
  position: relative;
  text-align: center;
}

.sns-bottom-area .title {
  font-size: 12px;
  display: inline-block;
  position: relative;
}
.sns-bottom-area .title::before,
.sns-bottom-area .title::after {
  content: "|";
  display: block;
  position: absolute;
  top: -0.3em;
  font-size: 1.3em;
}
.sns-bottom-area .title::before {
  transform: rotate(-45deg);
  left: -15%;
}
.sns-bottom-area .title::after {
  transform: rotate(45deg);
  right: -15%;
}

.sns-bottom-area .buttons {
  margin: 1.6rem 0;
  display: flex;
  justify-content: center;
}
.sns-bottom-area .buttons li:nth-child(n + 2) {
  padding-left: 1.6rem;
}

.sns-bottom-area .buttons a {
  font-size: 2rem;
  width: 48px;
  height: 48px;
}

/* ------------------------------------------
シェアボタン共通デザイン
----------------------------------------- */
.share-button a {
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.share-button a:active {
  box-shadow: none;
}

.share-button a img {
  width: 24px;
  height: 24px;
}

.share-button a:hover img {
  opacity: 1;
}

/* facebook */
.facebook-link {
  background-color: var(--sns-facebook);
}
.facebook-link:hover {
  box-shadow: 0 4px 12px 0 rgba(23, 120, 242, 0.5);
}

/* X (Twitter) */
.x-link {
  background-color: #000000;
}
.x-link:hover {
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.3);
}
a.x-link img {
  width: 16px;
  height: auto;
}

/* hatena */
.hatena-link {
  background-color: var(--sns-hatena);
}
.hatena-link:hover {
  box-shadow: 0 4px 12px 0 rgba(0, 164, 222, 0.5);
}
.fa-hatena::before {
  content: "B!";
  font-family: Verdana;
  font-weight: bold;
}

/* =============================================

  新着記事（ページ下部）

============================================= */
.newpost-list-wrapper {
  background-color: #ffffff;
  padding: 24px 1.6rem;
}
@media screen and (min-width: 769px) {
  .newpost-list-wrapper {
    padding: 7.2rem 1.6rem 0;
  }
}

.newpost-list-wrapper h2 {
  font-size: 2.4rem;
  font-weight: 700;
  padding-bottom: 1.6rem;
}
@media screen and (min-width: 769px) {
  .newpost-list-wrapper h2 {
    font-size: 3.2rem;
    text-align: center;
  }
}

.newpost-list-wrapper h2 span {
  font-size: 1.2rem;
  padding-left: 1rem;
}

.newpost-list {
  max-width: 1260px;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .newpost-list {
    padding: 2.4rem 0 3.2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

.newpost-list article {
  margin-bottom: 3vw;
  padding-bottom: 2vw;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 769px) {
  .newpost-list article {
    margin-bottom: 0;
    padding-bottom: 0;
    flex: 0 1 31.83%;
    border-radius: 8px;
  }
}

.newpost-list article:not(:last-child) {
  border-bottom: 1px solid var(--common-gray4);
}
@media screen and (min-width: 769px) {
  .newpost-list article:not(:last-child) {
    border-bottom: none;
  }
}

.newpost-list article a {
  display: flex;
  color: var(--qplus-green7);
}
@media screen and (min-width: 769px) {
  .newpost-list article a {
    display: block;
  }
}

.newpost-list .thumbnail {
  flex: 0 0 calc((72 / 320) * 100%);
  min-width: 72px;
  line-height: 1;
}
@media screen and (min-width: 769px) {
  .newpost-list .thumbnail {
    width: 100%;
    height: 180px;
    min-width: auto;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
}

.newpost-list .thumbnail img {
  vertical-align: top;
}

.newpost-list article h3 {
  padding: 0 1rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.4;
  flex: 1 1 auto;
}
@media screen and (min-width: 769px) {
  .newpost-list article h3 {
    font-size: 1.6rem;
    padding: 2rem 1rem 0;
    line-height: 1.8;
  }
}

/* 日付 */
.newpost-list article > a time {
  font-size: 1.2rem;
  padding: 0;
  flex: 0 1 auto;
  white-space: nowrap;
}
@media screen and (min-width: 769px) {
  .newpost-list article > a time {
    padding: 0 1rem;
  }
}

/* タグ */
.newpost-list article .tag-area {
  padding: 0;
  margin-top: 1rem;
}
@media screen and (min-width: 769px) {
  .newpost-list article .tag-area {
    padding: 0 1rem;
    margin-top: 8px;
  }
}

.newpost-list article .tag-area li a {
  color: var(--qplus-green4);
}
.newpost-list article .tag-area li a:hover {
  color: #ffffff;
}

/* =============================================

  自主調査用スタイル

============================================= */
@media screen and (min-width: 769px) {
  .section-block.survey {
    margin: 0 0 2rem;
    box-sizing: border-box;
    border-radius: 32px;
  }
}

/* ページリード文 */
.body > .lead.survey {
  margin-bottom: 5.6rem;
}
@media screen and (min-width: 769px) {
  .body > .lead.survey {
    margin-bottom: 5.6rem;
  }
}

/* 設問 */
.body .section-block.survey h2.q-question {
  font-size: 1.8rem;
}
@media screen and (min-width: 769px) {
  .body .section-block.survey h2.q-question {
    font-size: 2.4rem;
    text-align: center;
  }
}

.body .section-block.survey h2.q-question::before {
  width: 100%;
  border-top: 1px solid var(--common-gray4);
}

.body .section-block.survey h2.q-question::after {
  content: "";
  display: block;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  border-top: 6px solid var(--parts-survey1);
}

/* タイトル */
.body .section-block.survey h3.q-title {
  width: 88%;
  font-size: 1.4rem;
  border: 1px solid var(--common-black1);
  padding: 1rem;
  text-align: center;
  margin: 2.4rem auto 1.6rem;
}
@media screen and (min-width: 769px) {
  .body .section-block.survey h3.q-title {
    width: 80%;
    margin: 3.2rem auto 2.4rem;
    font-size: 2rem;
    text-align: center;
  }
}

/* タイトル 吹き出し */
.body .section-block.survey h3.q-title::before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #ffffff;
  display: block;
  z-index: 2;
}

.body .section-block.survey h3.q-title::after {
  content: "";
  position: absolute;
  bottom: -28px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid var(--common-black1);
  z-index: 1;
}

/* グラフ */
.body .section-block.survey .chart {
  text-align: center;
}

.body .section-block.survey .chart img {
  width: 100%;
}
@media screen and (min-width: 769px) {
  .body .section-block.survey .chart img {
    width: 80%;
  }
}

/* Pickup ラベル */
.section-block.survey .pickup-title {
  text-align: center;
}

.section-block.survey .pickup-title .label {
  width: 200px;
  display: block;
  border: 1px solid var(--parts-survey3);
  background-color: var(--parts-survey3);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem 3rem;
  margin: 0 auto 2rem;
}
@media screen and (min-width: 600px) {
  .section-block.survey .pickup-title .label {
    padding: 0.5rem 2rem;
    font-size: 2rem;
  }
}

.section-block.survey .pickup-title .text {
  font-weight: 700;
  font-size: 1.8rem;
}
@media screen and (min-width: 600px) {
  .section-block.survey .pickup-title .text {
    font-size: 2.4rem;
  }
}

/* 箇条書き */
.section-block.survey .list {
  margin-bottom: 2rem;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
}
.section-block.survey .list li {
  list-style: disc;
  line-height: 1.6;
  margin: 1rem 0 1.6rem 2rem;
}

/* 箇条書き 枠 */
.section-block.survey .list.frame {
  padding: 1rem 2rem;
  border: 1px solid var(--common-gray4);
}

/* クォテーション */
.section-block.survey .list.quotation li {
  width: 100%;
  position: relative;
  font-weight: 400;
  padding: 1.6rem 4rem 1.6rem;
  margin: 0 auto;
  background-color: #ffffff;
  list-style: none;
  border: 1px solid var(--common-gray4);
  border-radius: 8px;
  box-sizing: border-box;
}
@media screen and (min-width: 600px) {
  .section-block.survey .list.quotation li {
    padding: 1.6rem 5.6rem;
  }
}

.section-block.survey .list.quotation li:not(:last-child) {
  margin-bottom: 1rem;
}

.section-block.survey .list.quotation li::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../images/survey/quote-left-grey.png");
}

.section-block.survey .list.quotation li::after {
  content: "";
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../images/survey/quote-right-grey.png");
}

/* リンク */
.section-block.survey a {
  color: var(--parts-survey2);
  border-bottom: 1px dashed var(--parts-survey2);
  padding-bottom: 4px;
}

.section-block.survey a:hover {
  border-bottom: none;
  border-bottom: 1px dashed #ffffff;
}

/* まとめ */
.survey-matome .survey-matome-inner {
  padding: 2rem;
  background-color: var(--parts-survey4);
  border: 1px solid var(--common-gray4);
  box-sizing: border-box;
}
@media screen and (min-width: 600px) {
  .survey-matome .survey-matome-inner {
    padding: 2.4rem 3.2rem;
  }
}

.survey-matome .survey-matome-inner p {
  padding: 1rem 0;
}

/* 調査概要 */
.survey-information {
  width: 100%;
  max-width: 560px;
  padding: 2.4rem 0 2.4rem;
  margin: 0 auto;
  box-sizing: border-box;
  font-size: 0.875em;
}

.survey-information h3 {
  text-align: center;
  letter-spacing: 3px;
  font-weight: 700;
  padding: 1rem 0;
}

.survey-information dl {
  display: flex;
  flex-wrap: wrap;
}

.survey-information dl dt {
  flex: 0 1 24%;
  padding: 4px 0;
}

.survey-information dl dd {
  flex: 0 1 76%;
  padding: 4px 0;
}
