@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

html {
  height: 100%;
}

body {
  height: 100%;
  padding-top: 0 !important;
}

#main {
  padding-top: 20px;
  padding-bottom: 80px;
  font-family: 'NotoSerifCJKjp';
  font-weight: 400;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main {
    padding-top: 0;
    padding-bottom: 120px;
    letter-spacing: 1px;
    line-height: 1.8;
    font-size: 16px;
  }

}

/** ***************************************************************************
 * セクショニング
 */

#main .section ~ .section {
  margin-top: 35px;
  padding-top: 35px;
}

#main .column ~ .column {
  margin-top: 40px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .section ~ .section {
    margin-top: 60px;
    padding-top: 60px;
  }

  #main .column ~ .column {
    margin-top: 60px;
  }

}

/** ***************************************************************************
 * モーダル
 */

/* 背景色 */

.mfp-bg {
  transition: opacity 0.3s ease-out;
  opacity: 0;
}

.mfp-ready.mfp-bg {
  background: rgba(0, 0, 0, 1.0);
  opacity: 0.8;
}

.mfp-removing.mfp-bg {
  opacity: 0;
}

/* モーダル内容 */

.mfp-wrap {
  overflow: hidden !important;
}

.mfp-wrap .mfp-container .mfp-content {
  width: 80%;
  max-width: 640px;
  max-height: 80vh;
  padding: 0 20px;
  color: #fff;
  font-family: NotoSerifCJKjp, serif;
  overflow: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  transition: all 0.2s ease-in-out; 
  transform: scale(0.8); 
  opacity: 0;
}

.mfp-wrap.mfp-ready .mfp-container .mfp-content {
  transform: scale(1); 
  opacity: 1;
}

.mfp-wrap.mfp-removing .mfp-container .mfp-content {
  transform: scale(0.8); 
  opacity: 0;
}

/* 画像 */

.mfp-wrap .mfp-container .mfp-content .image {
  margin-bottom: 20px;
  padding-bottom: 80%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(150%);
}

/* 内容 */

.mfp-wrap .mfp-container .mfp-content .content ~ .content {
  margin-top: 2em;
}

.mfp-wrap .mfp-container .mfp-content .content .title {
  margin-bottom: 0.75em;
  font-size: 1.125em;
  font-weight: 500;
}

.mfp-wrap .mfp-container .mfp-content .content .title + * {
  margin-top: 0;
}

.mfp-wrap .mfp-container .mfp-content .content small {
  line-height: 1.6;
  font-size: 0.875em;
  vertical-align: middle;
  display: inline-block;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  .mfp-wrap .mfp-container .mfp-content .content {
    font-size: 16px;
  }

  .mfp-wrap .mfp-container .mfp-content .content .title {
    font-size: 1.125em;
  }

  .mfp-wrap .mfp-container .mfp-content .content small {
    font-size: 0.75em;
  }

}

/* 前へ / 次へ */

.mfp-wrap .mfp-container .mfp-arrow {
  width: 24px;
  height: 100px;
  margin-top: 0;
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: none;
  top: calc(50% - 100px);
}

.mfp-wrap .mfp-container .mfp-arrow::before,
.mfp-wrap .mfp-container .mfp-arrow::after {
  content: none;
}

.mfp-wrap .mfp-container .mfp-arrow-left {
  background-image: url("../image/quality/button-prev.png");
  left: auto;
  right: min(90%, 50% + 330px);
}

.mfp-wrap .mfp-container .mfp-arrow-right {
  background-image: url("../image/quality/button-next.png");
  right: auto;
  left: min(90%, 50% + 330px);
}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

#visual {
  height: 100%;
  letter-spacing: 1px;
  font-family: 'NotoSerifCJKjp';
  font-weight: 400;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #visual {
    letter-spacing: 2px;
    font-size: 16px;
  }

}

/** ***************************************************************************
 * 画像
 */

#visual div.visual {
  height: 69.6%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  flex-grow: 6;
  transform: scale(1.1);
  filter: contrast(150%) brightness(120%);
}

body.loaded
#visual div.visual {
  transition:
    transform 0.6s ease-in-out 0.0s,
    filter 0.8s ease-in-out 1.0s;
  transform: scale(1.0);
  filter: contrast(100%) brightness(100%);
}

#visual div.visual::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1.0);
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

#visual div.visual::after {
  content: '';
  width: 100%;
  height: 100%;
  background-position: top left;
  background-repeat: repeat;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
}

#visual div.visual .title {
  padding: 40px;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 3;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #visual div.visual {
    height: 65.87%;
  }

}

/** ***************************************************************************
 * テキスト
 */

#visual div.content {
  height: 30.4%;
  padding: 15px;
  line-height: 2;
  background-color: rgba(255, 255, 255, 1.0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

#visual div.content .title {
  line-height: 2;
  font-size: 1.125em;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #visual div.content {
    height: 34.13%;
    padding: 20px;
    line-height: 2.5;
    text-align: center;
  }

  #visual div.content .title {
    font-size: 1.5em;
  }

}

/** ***************************************************************************
 * アンカーナビ
 * ************************************************************************* */

#main nav.anchor-nav ul.list li ~ li {
  margin-top: 10px;
}

#main nav.anchor-nav ul.list li a {
  padding: 25px 15px 30px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition:
    border-color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  border-color: rgba(175, 175, 175, 0.5);
  background-color: #fff;
}

#main nav.anchor-nav ul.list li a:hover {
  color: #fff;
  border-color: #000;
  background-color: #000;
}

#main nav.anchor-nav ul.list li a::after {
  content: '';
  width: 2.6em;
  height: 0.625em;
  background: url("../image/quality/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  left: calc(50% - 1.3em);
  bottom: 10px;
}

#main nav.anchor-nav ul.list li img {
  width: auto;
  max-height: 10px;
  display: block;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(0) invert(0);
}

#main nav.anchor-nav ul.list li a:hover img {
  filter: brightness(0) invert(1);
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main nav.anchor-nav ul.list {
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  #main nav.anchor-nav ul.list li {
    width: calc(100% / 3 - 2%);
    margin-left: 15px;
    margin-right: 15px;
  }

  #main nav.anchor-nav ul.list li ~ li {
    margin-top: 0;
  }

  #main nav.anchor-nav ul.list li a {
    padding: 35px 15px 45px;
  }

  #main nav.anchor-nav ul.list li a::after {
    bottom: 15px;
  }

  #main nav.anchor-nav ul.list li img {
    height: 1vw;
    max-height: 12px;
  }

}

/** ***************************************************************************
 * クオリティ一覧 共用
 * ************************************************************************* */

/** ***************************************************************************
 * タイトル
 */

#main .quality-item .section-title {
  margin-bottom: 20px;
  text-align: center;
}

#main .quality-item .section-title img {
  height: 13px;
  vertical-align: middle;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item .section-title {
    margin-bottom: 50px;
  }

  #main .quality-item .section-title img {
    height: 18px;
  }

}

/** ***************************************************************************
 * 紹介文
 */

#main .quality-item div.lead {
  font-size: 1.125em;
  text-align: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item div.lead {
    line-height: 2.5;
  }

}

/** ***************************************************************************
 * クオリティ一覧
 */

#main .quality-item div.quality {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

#main .quality-item div.quality div.item {
  margin-bottom: 4px;
  padding: 4.62%;
  cursor: pointer;
  color: #fff;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  transition:
    background-position 0.6s ease-in-out 0.3s,
    filter 0.5s ease-in-out 0.55s;
  background-position: -50px center;
  filter: brightness(100%) contrast(200%);
  position: relative;
  z-index: 1;
}

#main .quality-item div.quality div.item.window-in {
  background-position: center center;
  filter: brightness(100%) contrast(100%);
}

#main .quality-item div.quality div.item::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  transition: background-color 0.5s ease-in-out 0.3s;
  background-color: rgba(0, 0, 0, 0.6);
}

#main .quality-item div.quality div.item.window-in::after {
  background-color: rgba(0, 0, 0, 0.0);
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item div.quality {
    justify-content: center;
  }

  #main .quality-item div.quality div.item {
    margin: 2px;
  }

  #main .quality-item div.quality div.item:hover {
    transition:
      background-position 0.6s ease-in-out 0.0s,
      filter 0.5s ease-in-out 0.0s;
    filter: brightness(150%) contrast(100%);
  }

}

/** ---------------------------------------------------------------------------
 * 大
 */

#main .quality-item div.quality div.item.large {
  width: 100%;
  height: 50vw;
  max-height: 650px;
}

/** ---------------------------------------------------------------------------
 * 中
 */

#main .quality-item div.quality div.item.medium {
  width: 100%;
  height: 50vw;
  max-height: 570px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item div.quality div.item.medium {
    width: calc(100% / 2 - 4px);
    height: 43.85vw;
  }

}

/** ---------------------------------------------------------------------------
 * 小
 */

#main .quality-item div.quality div.item.small {
  width: 100%;
  height: 50vw;
  max-height: 410px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item div.quality div.item.small {
    width: calc(100% / 4 - 4px);
    height: 31.53vw;
    padding: 2.31%;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  #sustainability div.quality div.item.small {
    min-width: calc(720px / 3 - 4px);
  }

}

/** ---------------------------------------------------------------------------
 * キャッチコピー
 */

#main .quality-item div.quality div.catchcopy {
  width: 100%;
  margin-bottom: 15px;
  letter-spacing: 2px;
  line-height: 2;
  font-size: 1.25em;
  font-size: max(2.17vw, 15px);
  align-self: flex-end;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item div.quality div.catchcopy {
    margin-bottom: 30px;
    line-height: 2.5;
    font-size: 1.5em;
    font-size: min(1.85vw, 24px);
  }

  #main .quality-item div.quality div.item.small div.catchcopy {
    margin-bottom: 10px;
    font-size: min(1.54vw, 24px);
  }

}

/** ---------------------------------------------------------------------------
 * タイトル
 */

#main .quality-item div.quality div.title {
  margin-right: 15px;
  font-family: NotoSansCJKjp, sans-serif;
  font-size: 0.875em;
  align-self: flex-start;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item div.quality div.title {
    margin-right: 30px;
    font-size: min(1.357vw, 13px);
  }

}

/** ---------------------------------------------------------------------------
 * MORE
 */

#main .quality-item div.quality div.more {
  letter-spacing: 2px;
  font-family: NotoSansCJKjp, sans-serif;
  font-size: 0.875em;
  align-self: flex-start;
  position: relative;
  z-index: -1;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item div.quality div.more {
    font-size: min(1.357vw, 13px);
  }

  #main .quality-item div.quality div.item.small div.more {
    margin-top: 1.5em;
  }

}

/* 黒丸 */

#main .quality-item div.quality div.more::before {
  content: '';
  width: 7em;
  padding-bottom: 7em;
  border-radius: 100px;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  z-index: -1;
  top: 50%;
  left: calc(100% - 0.5em);
  transition: transform 0.3s ease-in-out 0.0s;
  transform: translate(-50%, -50%) scale(0);
}

#main .quality-item div.quality div.item:hover div.more::before {
  transform: translate(-50%, -50%) scale(1);
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .quality-item div.quality div.more::before {
    width: min(9.23vw, 120px);
    padding-bottom: min(9.23vw, 120px);
  }

}

/* 矢印 */

#main .quality-item div.quality div.more::after {
  content: '';
  width: 1em;
  height: 1.125em;
  margin-top: -2px;
  margin-left: 12px;
  background: url("../image/quality/icon-arrow-2.png") 0 0 / 100% 100% no-repeat;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/** ***************************************************************************
 * Sustainability
 * ************************************************************************* */

/**
 * 紹介文
 */

#sustainability div.lead {
  font-size: 1.125em;
  text-align: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #sustainability div.lead {
    font-size: 1.5em;
  }

}

/**
 * ボタン
 */

#sustainability div.button {
  margin-top: 20px;
  text-align: center;
}

#sustainability div.button a {
  padding: 25px 60px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition:
    border-color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  border-color: rgba(175, 175, 175, 0.5);
  background-color: #fff;
}

#sustainability div.button a:hover {
  color: #fff;
  border-color: #000;
  background-color: #000;
}

#sustainability div.button a::after {
  content: '';
  width: 2em;
  height: 0.625em;
  background: url("../image/quality/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
  transform-origin: center center;
  transform: rotate(-90deg);
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.3125em);
  right: 10px;
}

#sustainability div.button a img {
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(1) invert(0);
}

#sustainability div.button a:hover img {
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(0) invert(1);
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #sustainability div.button {
    margin-top: 40px;
  }

  #sustainability div.button a {
    padding: 35px 80px;
  }

  #sustainability div.button a::after {
    right: 15px;
  }

}
