@charset "utf-8";

.content-container-wrapper {
  container-type: inline-size;
  container-name: content-container-wrapper;
}

.content-container * { box-sizing: border-box; }

:root .content-container {
  --color-black: #0e0e0e;
  --color-gray: #353639;
  --color-white: #fff;
  --color-lightgray: #fcfcfc; 
  --color-main: #3c3269;
  --color-main-light: #848096;
  --color-primary: #f5f5f5;
  --color-secoundary: #dbdbdb;
  --color-accent: #cc9011;
  --color-answer: #8631be;

  --transitionall: all 0.3s ease;
}


/*-- common --*/ 
.content-container {
  max-width: 1420px;
  margin-inline: auto;
  padding-bottom: 3rem;
  background-color: var(--color-lightgray);
  color: var(--color-black);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  section {
    padding-block: 1em;
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: 1.5em;
  }
  /*section:last-child {
    padding-bottom: 0;
  }*/
  figure { 
    text-align: center;
    overflow: hidden;
  }
  img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }
  a {
    color: inherit;
    text-decoration: none;
    &:hover {
      opacity: 0.7;
    }
  }
  span {
    color: inherit;
    font-weight: inherit;
  }
}

@media (max-width: 820px) {
  .content-container{ font-size: 14px;}
}
@media (max-width: 350px) {
  .content-container{ font-size: 13px;}
}

/*-- 共通パーツ --*/
.content-container {
  counter-reset: heading;
  .heading {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: .3em;
    position: relative;
    display: flex;
    align-items: center;
    gap: .2em;
    @media (max-width:1024px) {
      position: sticky;
      left: 0;
    }
    @media (max-width:768px) {
      font-size: 1.4em;
      align-items: flex-start;
    }
    &::before { /*見出しの先頭に数字*/
      counter-increment: heading;
      content: counter(heading)".";
	    display: inline-block;
	    font-size: 1.3em;
    @media (max-width:768px) {
      font-size: 1em;
    }
    }
  }
  .cta-btn {
    display: inline-block;
    font-size: .9em;
    padding: .3em 1em;
    border-radius: 5px;
    background: var(--color-main);
    color: var(--color-white);
    &::after {
      content: " >";
    }
    &:hover {
      opacity: 0.7;
    }
  }
  .fx-expansion { /* img：祖先要素ホバーで拡大 */
    img {
      transition: var(--transitionall);
    }
    &:hover img {
      transform: scale(1.03);
    }
  }
}



/*========= ヘッダー =========*/
.content-container header {
  background: var(--color-black) url(../img/head_bg.jpg?a) no-repeat center right 12%;
  color: var(--color-white);
  padding: 1.5em;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  justify-content: space-between;
  h2 {
    font-size: 60px;
    font-family: Anton, Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    line-height: 1;
    margin-bottom: 10px;
  }
  @media (max-width:768px) {
    background:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
      url(../img/head_bg.jpg) no-repeat center right 12%;
    background-color: var(--color-black);
    .h-text {
      padding-bottom: .5em;
    }
  }
  .catch-copy {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
  }
  .catch-point {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 200px);
    gap: 1em;
    @media (max-width:400px) {
      width: 100%;
      margin-top: 2em;
      grid-template-columns: auto auto;
    }
    li {
      display: flex;
      gap: .5em;
      align-items: center;
      p {
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
        word-break: auto-phrase;
      }
      img {
        background: var(--color-main);
        border-radius: 50%;
        aspect-ratio: 1 / 1;
        padding: .5em;
        width: 50px;
      }
    }
  }
}

/*========= 価格帯で選ぶ / 用途別で選ぶ / おすすめ商品 =========*/
.select-pricerange,
.select-type,
.recomend {
  .pricerange-wrap,
  .type-wrap,
  .recomend-wrap {
    display: flex;
    gap: 1em;
    justify-content: center;
    @media (max-width:768px) {
      justify-content: flex-start;
    }
  }
  & p {
    text-align: center;
  }
  .pricerange-box,
  .type-box,
  .recomend-box {
    width: calc((100% - 3em) / 4);
    background: var(--color-white);
    border-radius: 7px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    a {
      display: block;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }
  .select-lead {
    display: block;
    font-size: .7em;
    margin-top: .5em;
    word-break: auto-phrase;
    @media (max-width: 1200px) {
      font-size: .6em;
    }
  }
}
/*-- 価格帯で選ぶ --*/
.select-pricerange { 
  .pricerange-box {
    @media (max-width:1200px) {
      width: calc((100% - 2em) / 3);
      max-width: 250px;
    }
    @media (max-width:768px) {
      max-width: none;
    }
    a { 
      justify-content: space-between;
      gap: 1em;
      padding: 1em 1.5em;
    }
    &:nth-child(1) {
      color: green;
    }
    &:nth-child(2) {
      color: blue;
    }
    &:nth-child(3) {
      color: goldenrod;
    }
  }
  .pricerange-ttl {
    width: 100%;
    border-bottom: none;
    text-align: center;
    line-height: 1.4;
    font-weight: bold;
    font-size: 1.3em;
    @media (max-width: 768px) {
      font-size: 1.1em;
    }
  }
}
/*-- 用途別で選ぶ --*/
.select-type {
  .type-box {
    color: var(--color-white);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    background: url(../img/bg_biginner.jpg) no-repeat center center / contain;
    &:nth-child(2) {
      background: url(../img/bg_stage.jpg) no-repeat center center / contain;
    }
    &:nth-child(3) {
      background: url(../img/bg_board.jpg) no-repeat center center / contain;
    }
    &:nth-child(4) {
      background: url(../img/bg_dtm.jpg) no-repeat center center / contain;
    }
    a {
    aspect-ratio: 5 / 4;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    &:hover {
      opacity: 1;
      background: rgba(253, 253, 253, 0.5);
    }
    }
    figure {
      width: 25%;
      max-width: 60px;
      margin-bottom: 1em;
    }
  }
  .type-ttl {
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
    @media (max-width: 1024px) {
      font-size: 1.1em;
    }
    > span {
      font-weight: normal;
    }
  }
}

/*-- おすすめ商品 --*/
.recomend {
  .recomend-box {
    width: calc((100% - 2em) / 3);
  }
  .recomend-ttl {
    background: var(--color-main);
    color: var(--color-white);
    padding-block: .5em;
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
    @media (max-width: 768px) {
      font-size: 1.1em;
    }
  }
  .product-box {
    margin: 1em;
    padding: .5em;
    .product-name {
      font-size: 1.2em;
      font-weight: bold;
    }
    .recomend-comment {
      font-size: .9em;
      word-break: auto-phrase;
    }
  }

}

/*========= ブランドで選ぶ =========*/
.select-bland {
  .bland-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    @media (max-width:768px) {
      grid-template-columns: repeat(8, 1fr);
    }
    li {
      background: var(--color-white);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    }
    img {
      aspect-ratio: 8 / 3;
      object-fit: contain;
    }
    a {
      display: block;
      padding: 2em 4em;
      @media (max-width:1024px) {
        padding: 1.5em 2em;
      }
    }
  }
  .bland-list.text-list {
    margin-top: 1em;
    grid-template-columns: repeat(6, 1fr);
    a {
      padding: 1em;
      font-weight: bold;
    }
    @media (max-width:768px) {
      margin-top: .5em;
      display: flex;
      flex-wrap: wrap;
      gap: 1em;
      a {
        padding: .5em;
      }
    }
  }
}
/*========= 売上ランキング =========*/
.ranking {
  .ranking-wrap {
    counter-reset: ranking;
    display: flex;
    gap: 1em;
    @media (max-width: 1024px) {
      gap: 0;
    }
    > div {
      width: calc((100% - 1em) / 2);
      @media (max-width: 1024px) {
        width: auto;
      }
    }
    .ranking-list {
      display: flex;
      flex-direction: column;
      height: 100%;
      @media (max-width: 1024px) {
        flex-direction: row;
        gap: 1em;
        margin-right: 1em;
        padding-top: .5em;
      }
      li {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .5em 1.5em;
        margin-bottom: 1em;
        background: var(--color-white);
        border-radius: 5px;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
        @media (max-width: 1024px) {
          flex-wrap: wrap;
          row-gap: 1em;
          margin-bottom: 0;
          max-width: calc(200px + 3em);
          align-items: flex-start;
          justify-content: flex-start;
        }
        &:last-child {
          margin-bottom: 0;
        }
        &::before { /*順位の表示*/
          display: inline-block;
          min-width: 1.3em;
          padding: .2em;
          background: var(--color-gray);
          border-radius: 2px;
          color: var(--color-white);
          font-weight: bold;
          font-size: 1.3em;
          line-height: 1.3;
          text-align: center;
          content: counter(ranking);
          counter-increment: ranking;
        }
        > div {
          flex: 1;
        }
        .product-name {
          font-size: 1.1em;
          font-weight: bold;
          color: var(--color-main);
        }
        .recomend-comment {
          flex: 1;
          margin-top: .5em;
          font-size: .8em;
          text-align: justify;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 4;
          overflow: hidden;
          @media (max-width: 1024px) {
            flex: initial;
            width: 100%;
            max-width: 450px;
            margin-bottom: 1em;
          }
        }
      }
    }
    > div:first-child {
      li::before {
        background: var(--color-main);
      }
      li:first-child::before {
        background: var(--color-accent);
      }
      figure {
        width: 200px;
      }
    }
    > div:last-child {
      li {
        font-size: .8em;
      }
      figure {
        width: 100px;
      }
      .recomend-comment {
        -webkit-line-clamp: 2;
        margin-top: .2em;
      }
      @media (max-width: 1024px) {
        li {
          font-size: 1em;
        }
        figure {
          width: 200px;
        }
        .recomend-comment {
          -webkit-line-clamp: 4;
          margin-top: .5em;
        }
      }
    }
  }
}

/*========= 動画　=========*/
.movie {
  .movie-list {
    display: flex;
    .swiper-slide {
      width: 80%;
      max-width: 320px;
      margin-bottom: 1.5em;
      figure {
        border-radius: 5px;
      }
    }
    p {
      margin-top: .3em;
    }
  }
  .icon-movie {
    display: block;
    width: 100%;
    position: relative;

    &::after { position: absolute; display: block;	content: ""; width: 100%; height: 0; padding-top: 56.25%;top: 0;	left: 0;	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="100%" version="1.1" viewBox="0 0 68 48" width="100%" fill="%23ffffff"><path d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="%23f00"></path><path d="M 45,24 27,14 27,34" fill="%23fff"></path></svg>') no-repeat center center;	background-size: 20%; }
  }
}

/* swiper -------------------- */
:root .content-container {
  --swiper-pagination-color: var(--color-main);
  --swiper-pagination-bullet-size: .7em;
}

.content-container .swiper-pagination {
  bottom: 0;
}
.content-container .swiper-button-next,
.content-container .swiper-button-prev {
  top: 43%;
  color: var(--color-white);
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.9);
}

.content-container .swiper {
  margin-bottom: 0;
}
/* glightbox */
:root {
  --plyr-color-main: #ff0000;
}

.goverlay {
	background: rgba(0, 0, 0, .7);
}

/*========= よくある質問　=========*/
.faq-wrap {
  display: flex;
  gap: 1em;
  @media (max-width:768px) {
    flex-direction: column;
    gap: 0;
  }
  .faq-list {
    width: calc((100% - 1em) / 2);
    @media (max-width:768px) {
      width: 100%;
    }
    li {
      border-radius: 10px;
      border: solid 1px var(--color-secoundary);
      background: var(--color-primary);
      margin-bottom: .5em;
      overflow: hidden;
    }
    summary {
      list-style: none;
      cursor: pointer;
      padding: .5em 1em;
      color: var(--color-main);
      font-weight: bold;
      display: flex;
      justify-content: space-between;
      line-height: 1.6em;
      &::after {
        content: "+";
        font-weight: bold;
      }
    }
    details[open] summary::after {
      content: "-";
    }
    summary > span, .answer {
        display: inline-flex;
      &::before {
        content: "Q";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-weight: bold;
        width: 1.6em;
        height: 1.6em;
        margin-right: .5em;
        background: var(--color-main);
        color: var(--color-white);
        flex-shrink: 0;
      }
    } 
    .answer {
      display: flex;
      padding: .5em 1em;
      &::before {
        content:"A";
        background: var(--color-answer);
      }
      p {
        font-size: .9em;
      }
    }
  }
}
/*========= 関連記事　=========*/
.article-wrap {
  .article-list {
    /*display: flex;
    gap: 1em;
    justify-content: center;
    margin-top: .5em;*/
    li {
      width: 80%;
      max-width: 200px;
      /*width: calc((100% - 4em) / 5);*/
      background: var(--color-primary);
      border: solid 1px var(--color-secoundary);
      border-radius: 5px;
      overflow: hidden;
      display: flex;
      gap: .5em;
      flex-direction: column;
      align-items: center;
      padding-bottom: .5em;
      margin-block: .5em 2em;
      justify-content: stretch;
    }
    p {
      padding-inline: .5em;
      font-size: .9em;
    }
    .ttl , .comment {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
    }
    .ttl {
      font-weight: bold;
      color: var(--color-main);
    }
    .comment {
      font-size: .8em;
      min-height: calc(1.4em * 2);
    }
  }
}

/*========= フッター　=========*/
.content-container footer {
  > div {
    background: var(--color-gray);
    color: var(--color-white);
    padding: 1em;
    display: flex;
    gap: .5em;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 1em;
    @media (max-width:768px){
      flex-wrap: wrap;
      row-gap: .5em;
      font-size: 1.1em;
      word-break: auto-phrase;
      text-align: center;
      img {
        width: 2em;
      }
    }
  }
  a {
    font-size: .8em;
    font-weight: normal;
    display: block;
    padding: .7em 1em;
    border: solid 1px var(--color-white);
    border-radius: 3px;
    &::after {
      content: ">";
      margin-left: .5em;
    }
    @media (max-width:768px){
      width: 100%;
      max-width: clac(600px + 1.5em);
      word-break: normal;
      margin-left: 0;
    }
  }
}

/*-- 768px以下で横スクロール --*/
@media (max-width: 1024px) {
  .ranking-container,
  .recomend-container {
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    > div {
      padding: .5em;
      padding-bottom: 1.5em;
    }
    .recomend-wrap {
      width: 1100px;
    }
  }
}
@media (max-width: 768px) {
  .pricerange-container,
  .type-container,
  .bland-wrap > div {
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    > * {
      padding: .5em;
      padding-bottom: 1.5em;
      width: 900px;
    }
    .pricerange-wrap {
      width: 800px;
    }
    .bland-list {
      width: 1600px;
    }
    .bland-list.text-list {
      width: auto;
    }
  }
}