@charset "UTF-8";

/* 共通 */
article {
  padding-top: 0;
}

sup {
  right: 1rem;
}

.quality-page-title {
  position: relative;
  font-size: 3.8rem;
  font-weight: bold;
  text-align: center;
  margin-top: 22rem;
  line-height: 1.4;
}

.quality-page-title::after {
  position: absolute;
  left: 50%;
  top: -1.6rem;
  transform: translateY(-100%);
  content: "";
  display: block;
  width: .25rem;
  height: 5.3rem;
  background-color: #116AFF;
}

.page-title-large {
  font-size: 5rem;
  font-weight: bold;
  color: #116AFF;
  text-align: center;
}

.page-title-large+p {
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
}

#sub05.quality-sub-section,
#sub01.quality-sub-section {
  margin-top: 12rem;
}

.quality-flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.quality-section-border {
  margin-block: 5rem;
}

.img-container {
  margin-top: 0;
}

/* 2カラム */
.grid_column2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8rem;
  max-width: 100rem;
  margin-inline: auto;
}

.list-btn-links {
  display: flex;
  justify-content: center;
  column-gap: 4rem;
  margin: 12rem auto 0;
}

.btn-has-arrow-left {
  color: #000;
  background-color: transparent;
}

/* MV */
.mv-wrapper {
  max-inline-size: 150rem;
  margin-inline: auto;
}

.mv-text {
  margin-inline: auto;
  text-align: center;
  line-height: 2;
  margin-top: 6.5rem;
  font-size: 2rem;
  inline-size: 90%;
}

/* 実施テスト */

.number {
  font-size: 2rem;
  font-weight: bold;
  color: #116AFF;
}

.quality-flex-container.column2 {
  column-gap: 8%;
}

.quality-img-container {
  inline-size: 54%;
  max-inline-size: 64rem;
  margin-top: 0;
}

.quality-sub-item {
  inline-size: 35%;
}

.text-container h3 {
  font-size: 2.6rem;
  font-weight: bold;
  margin-top: 1.6rem;
}

.text-container h3+p,
.text-container h3+ul {
  line-height: 2;
  font-weight: 400;
  margin-top: 5rem;
}

.quality-img-container img {
  border-radius: 20px;
}

#sub04 .quality-img-container img {
  border-radius: 0px;
}

/* 独自特長のコラム */

.quality-column {
  position: relative;
  border: 1px solid #BFBFBF;
  margin-top: 5rem;
  padding: 3rem 2rem;
}

.quality-column h4 {
  display: inline-block;
  border-radius: 3px;
  background-color:#BE0009;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  inline-size: 12.6rem;
  padding-block: 0.3rem;
  text-align: center;
  position: absolute;
  left: 50%;
  top:0;
  transform: translate(-50%, -50%);
}

.quality-column p:first-of-type {
  font-size: 1.8rem;
  font-weight: bold;
}

.quality-column p:nth-of-type(2) {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.quality-column span {
  font-size: 1.2rem;
}

/* さまざまな品質テスト */

.grid_column2 .text-container h3+p {
  margin-top: 2rem;
}

.grid_column2 .text-container {
  margin-top: 2rem;
}

#sub05 .quality-section-border {
  margin-block: 4rem;
}


/* youtube */
.movie-section {
  padding: 6rem 0 12rem;
  margin-top: 10rem;
  background-color: rgba(17, 106, 255, .1);
}

.movie-box {
  margin-top: 6rem;
  max-width: 100rem;
  margin-inline: auto;
  border: 1px solid #bfbfbf;
  box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.4);
}

.movie-box a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.movie-box a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #0000001e;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all .3s ease;
}

.movie-box a::after {
  content: "";
  display: block;
  width: 130px;
  aspect-ratio: 1/1;
  position: absolute;
  top: calc(50% - 65px);
  left: calc(50% - 65px);
  z-index: 2;
  background: url(images/icon_movie.png) no-repeat;
  background-size: contain;
  transition: all .3s ease-in-out;
}

/* ====================================
	スマートフォン専用スタイル
===================================== */
@media only screen and (max-width: 767px) {

  /* 共通 */

  .quality-page-title {
    margin-top: 12rem;
    font-size: 2.4rem;

  }

  .quality-sub-section:first-of-type {
    margin-top: 4rem;
  }

  .grid_column2 {
    grid-template-columns: 1fr;
  }

  .list-btn-links {
    margin: 6rem auto 0;
  }

  .page-title-large {
    font-size: 4rem;
  }

  .page-title-large+p {
    font-size: 1.6rem;
  }

  /* MV */
  .mv-text {
    inline-size: 90%;
    margin-top: 3.5rem;
    font-size: 1.6rem;
  }


  /* 実施テスト */
  .quality-flex-container {
    justify-content: center;
  }

  .quality-sub-item {
    inline-size: 100%;
  }

  .quality-img-container {
    inline-size: 100%;
  }

  .quality-sub-item .text-container {
    margin-top: 2rem;
  }

  .text-container h3+p,
  .text-container h3+ul {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .text-container h3 {
    font-size: 1.8rem;
    margin-top: 1rem;
  }

    /* 独自特長のコラム */

    .quality-column p:first-of-type {
      font-size: 1.6rem;
    }

    .quality-column p:nth-of-type(2) {
      font-size: 1.4rem;
    }
  
/* youtube */

  .movie-box a::after {
    width: 80px;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
  }
}


/* ====================================
	TAB、PC、印刷専用スタイル（768px～）
===================================== */

@media print, screen and (width >= 768px) {
  .caption__list>li {
      text-indent: -1.5em;
  }
}

/* ==========================================
	ホバー、マウスポインタがサポートされている環境
=========================================== */
@media (hover:hover) and (pointer: fine) {

  .movie-box:hover a::before {
    background: transparent;
  }

}