main {
  font-family: var(--helveticaRo), var(--gothicbbb);
  font-size: var(--body);
}

/*================ セクション名 ================*/

.mv {
  position: relative;
  margin-top: 90px;
  padding-inline: 40px;

  @media (max-width: 767px) {
    display: block;
    background-color: #fafafa;
    margin-top: 0;
    padding-inline: 0;
    width: 100%;
    height: 100vh;
    height: var(--mv-h, 100svh);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 0;


  }
}

.mv-img {
  position: relative;

  @media (max-width: 767px) {
    width: 100%;
    height: 100%;
  }
}

.mv-img-01 {
  @media (max-width: 767px) {
    width: 100%;
    height: 100%;
  }
}

.mv-img-01 img {
  @media (max-width: 767px) {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.mv-text {
  padding-left: 40px;
  padding-top: 60px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  color: #fff;

  @media (max-width: 767px) {
    height: 100vh;
    height: var(--mv-h, 100svh);
    background: url(../img/mv-01-sp.webp) no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: var(--white);
    padding-inline: 40px 0;
    padding-block: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
}

.mv-scroll {
  @media (max-width: 767px) {
    position: absolute;
    bottom: 40px;
    right: 17px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    margin: 0;
    color: var(--white);
    pointer-events: none;
  }
}

.mv-scroll-text {
  @media (max-width: 767px) {
    writing-mode: vertical-rl;
    font-family: var(--helveticaRo);
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1;
  }
}

.mv-scroll-bar {
  @media (max-width: 767px) {
    position: relative;
    display: block;
    width: 1px;
    height: 117px;
    background-color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
  }
}

.mv-scroll-bar-fill {
  @media (max-width: 767px) {
    position: absolute;
    inset: 0;
    background-color: var(--white);
    animation: mvScrollLine 2.4s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
  }
}

@keyframes mvScrollLine {
  0% {
    clip-path: inset(0 0 100% 0);
  }

  50% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(100% 0 0 0);
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .mv-scroll-bar-fill {
    animation: none;
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 767px) {
  .mv-sp-only {
    padding-inline: 38px;
    padding-block: 55px;
    position: relative;
    z-index: 1;
    /* height: 100vh;
    height: var(--mv-h, 100svh); */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .mv::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* .mv-text（z-index: 1、MV画像を背景に持つ）より手前 */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  /* スクロール開始で付与（js/mv-blur.js） */
  .mv.is-blur::before {
    opacity: 1;
  }

  .mv-sp-only-inner {
    position: relative;
    z-index: 1;
    color: var(--white);

  }
}

.mv-text-heading {
  @media (max-width: 767px) {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
  }
}

.mv-text-heading-title {
  font-family: var(--helveticaB);
  font-size: 34px;
  line-height: 1.323;
  font-weight: 700;

  @media (max-width: 767px) {
    font-size: 28px;
    line-height: 1.2903225806;
    position: relative;
    z-index: 1;
  }

  span {
    font-size: 31px;

    @media (max-width: 767px) {
      font-size: 20px;
    }
  }
}

.mv-text-heading-subheading {
  font-size: 20px;
  /* line-height: 2.25; */
  margin-top: 12px;
  font-family: var(--helveticaRo);

  @media (max-width: 767px) {
    font-size: 15px;
    line-height: 1.7647058824;
    margin-top: 0;
  }
}

.mv-text-title {
  font-size: 18px;
  margin-top: 35px;
  font-family: var(--midashigo);
  line-height: 1.666;
  letter-spacing: -0.27px;

  @media (max-width: 767px) {
    font-size: 15px;
    line-height: 1.53333;
    margin-top: 0;
    letter-spacing: 0.025em;
  }
}

.mv-text-description {
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: -0.015em;
  line-height: 2.285714286;
  text-align: justify;
  position: relative;
  font-family: var(--gothicbbb);

  @media (max-width: 767px) {
    /* font-size: 14px; */
    line-height: 2.0714285714;
    margin-top: 65px;
  }
}

@media (max-width: 767px) {
  .sp-wrap {
    /* background-color: #fafafa; */
    position: relative;
    z-index: 1;
    top: -31.7vh;
    margin-bottom: -31.7vh;
  }


}

/*================ セクション名 ================*/

.contents {
  padding-top: 80px;

  @media (max-width: 767px) {
    background-color: #fafafa;
    padding-top: 91px;
  }
}

.contents-flex-box {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  padding-inline: 40px;

  &.contents-flex-box--full {
    padding-inline: 0;
  }

  &.contents-flex-box--reverse {
    flex-direction: row-reverse;
  }

  &.contents-flex-box--single {
    width: 100%;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .contents-flex-box {
    flex-direction: column;

    &.contents-flex-box--single {
      flex-direction: column;
      padding-inline: 0;
    }

    &.contents-flex-box--reverse {
      flex-direction: column;
    }
  }

}

.contents-img {
  width: 50%;

  @media (max-width: 767px) {
    width: 100%;
  }
}

.contents-flex-box--single .contents-img {
  width: 100%;
}

/* SP: 横長画像をpinしてスクロールで右へ流す（js/scroll-pan.js） */
@media (max-width: 767px) {

  /* pin時に高さが固定値で入るため、端数でキャプションが折り返されないようにする */
  .contents-flex-box:has(> .contents-img--pan) {
    flex-wrap: nowrap;
  }

  .contents-img--pan {
    overflow: hidden;
  }

  .contents-img--pan img {
    display: block;
    width: 585px;
    max-width: none;
    height: auto;
  }
}


.contents-img-text {
  width: 50%;
  color: var(--gray);
  font-family: var(--helveticaRo);
  font-size: 12px;
  line-height: 1.5833;
  letter-spacing: 0;
  align-self: flex-end;
  padding-left: 45px;

  a {
    color: var(--black);
    text-decoration: none;
  }
}



.contents-flex-box--reverse .contents-img-text {
  padding-left: 0;
}

.contents-flex-box--single .contents-img-text {
  padding-left: 0;
  width: 100%;
  margin-top: 20px;
}

picture+.contents-img-text {
  margin-top: 20px;
}

.contents-img--01+.contents-img-text {
  width: 100%;
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .contents-img-text--right {
    padding-left: 0;
    margin-top: 20px;
    width: 100%;
  }
}


@media (max-width: 767px) {
  .contents-img-text {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 18px;
    padding-inline: 0;
    width: 100%;
  }

  .contents-flex-box--full .contents-img-text,
  .contents-flex-box--single .contents-img-text {
    padding-inline: 26px;
  }
}


/* ------ option ------ */
.contents-img--01 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
}

.contents-img--01 img {
  width: 50%;
  margin-inline: auto;


  @media (max-width: 767px) {
    width: 100%;
    max-width: 260px;
    margin-bottom: 87px;
  }
}

/*================ セクション名 ================*/

.contents-products {
  display: flex;
  gap: calc(71 / var(--pc-width) * 100cqi);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 240px;

  @media (max-width: 767px) {
    display: block;
    margin-top: 0;
    padding-top: 130px;
    padding-inline: 38px;
    background-color: #fafafa;
  }
}

.contents-products-item {
  width: 100%;
  max-width: calc(350 / var(--pc-width) * 100cqi);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

@media (max-width: 767px) {
  .contents-products-item {
    max-width: 100%;

    &:not(:last-child) {
      margin-bottom: 73px;
    }
  }
}

.contents-products-item-img {
  @media (max-width: 767px) {
    width: 100%;
    max-width: calc(198 / 375 * 100cqi);
    margin-inline: auto;
  }
}

.contents-products-item-title {
  font-size: 16px;
  line-height: 1.2777777778;
  font-family: var(--helveticaB);
  margin-top: 51px;
  text-align: center;

  @media (max-width: 767px) {
    font-size: 14.5px;
    line-height: 1.5;
    margin-top: 15px;
  }
}

.contents-products-item-text {
  font-size: 13px;
  line-height: 2.0769230769;
  letter-spacing: 0.025em;
  margin-top: 44px;
  margin-bottom: 60px;
  font-family: var(--gothicbbb);
  padding-inline: 35px;

  @media (max-width: 767px) {
    font-size: 14.5px;
    line-height: 1.8965517241;
    margin-top: 25px;
    margin-bottom: 28px;
    padding-inline: 0;
  }
}

.contents-products-item-link {
  margin-top: auto;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  font-family: var(--helveticaMd);
  border: 1px solid #707070;
  background-color: #fff;
  height: 51px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  text-box: trim-both cap alphabetic;
  padding-top: 0.2em;
  max-width: 241px;
  margin-inline: auto;
  width: 100%;

  @media (max-width: 767px) {
    max-width: 186px;
    margin-top: 0;
    height: 46px;
  }

  @media (any-hover: hover) {
    &:hover {
      background-color: var(--black);
      color: var(--white);
    }
  }
}

/*================ セクション名 ================*/

.entry_singleRelatedWrp {
  overflow: hidden;

  @media (max-width: 767px) {
    background-color: #fafafa;

  }
}

.entry_singleRelated {
  width: 100%;
  max-width: 1700px;
  margin-inline: auto;
  padding: 0 0 0 86px;
}

.entry_singleRelated-title {
  font-size: 19px;
  line-height: 1.2777778;
  font-family: var(--helveticaB);
  margin-bottom: 34px;
}

.entry_singleRelated-list {
  width: 100%;
  overflow: visible !important;
  margin-bottom: 100px;

  @media (max-width: 767px) {
    margin-bottom: 56px;
  }
}

.entry_singleRelated-item {
  width: 325px;
  height: auto;
}

@media (max-width: 767px) {
  .entry_singleRelated {
    width: calc(100% - 50px);
    padding: 0;
  }

  .entry_singleRelated-item {
    width: 285px;
  }
}

.entry_singleRelated-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.entry_singleRelated-item-img {
  position: relative;
  width: 100%;
}

.entry_singleRelated-item-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.entry_singleRelated-item-figure img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.entry_singleRelated-item-link:hover img {
  transform: scale(1.05);
}

.entry_singleRelated-item-tag {
  position: absolute;
  bottom: -11px;
  right: 0;
  display: inline-block;
  border: 1px solid var(--black);
  border-radius: 20px;
  background-color: var(--white);
  font-family: var(--helveticaMd);
  font-size: 12px;
  line-height: 1;
  padding: 8px 13px 4px;
}

.entry_singleRelated-item-title {
  font-size: 15px;
  line-height: 1.533;
  margin-top: 25px;
  font-family: var(--midashigo);
  white-space: pre-wrap;
}

.entry_singleRelated-item-subtitle {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-a5);
  margin-top: 20px;
  font-family: var(--midashigo);
  white-space: pre-wrap;
}

@media (max-width: 767px) {
  .entry_singleRelated-item-tag {
    bottom: -11px;
    font-size: 11px;
    padding: 6px 11px 1px;
  }

  .entry_singleRelated-item-title {
    font-size: 16px;
    line-height: 1.5625;
    margin-top: 1.5em;
  }

  .entry_singleRelated-item-subtitle {
    font-size: 12px;
    line-height: 1.25;
    margin-top: 15px;
  }
}

/*================ セクション名 ================*/

.contents-bio {
  width: 100%;
  max-width: 1700px;
  margin-inline: auto;
  padding-inline: 86px;
  margin-top: 150px;

  @media (max-width: 767px) {
    max-width: 100%;
    padding-inline: 38px;
    margin-top: 0;
    background-color: #fafafa;
    padding-top: 64px;
  }
}

.contents-bio-title {
  font-size: 13px;

  @media (max-width: 767px) {
    font-size: 12px;
  }

  a {
    font-family: var(--helveticaMd);
  }
}

.contents-bio-table {
  margin-top: 145px;
  width: 100%;
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.025em;
  display: flex;
  gap: calc(163 / var(--pc-width) * 100cqi);

  @media (max-width: 767px) {
    margin-top: 64px;
    line-height: 1.6363636364;
    gap: 0;
    flex-direction: column;
  }
}

/*================ セクション名 ================*/
.hr-line-wrap {
  width: 100%;
  max-width: 1700px;
  margin-inline: auto;
  padding-inline: 86px;
  margin-top: 112px;
  margin-bottom: 23px;

  @media (max-width: 767px) {
    max-width: 100%;
    padding-inline: 24px;
    margin-top: 0;
    padding-top: 90px;
    margin-bottom: 0;
    padding-bottom: 29px;
    background-color: #fafafa;
  }
}

.hr-line {
  display: block;
  height: 1px;
  background-color: var(--black);
  width: 100%;
}
