@charset "UTF-8";
/* =============================================================
    Base
============================================================= */
/* デフォルト
------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

@media screen and (min-width: 768px) {
  .l-container {
    padding-left: 0;
    padding-right: 0;
  }
  .p-page-home {
    padding-bottom: 0;
  }
  .p-homeSection {
    padding-top: 7.6rem;
    padding-bottom: 8rem;
  }
}
@media screen and (max-width: 767px) {
  .l-container {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .p-page-home {
    padding-bottom: 0;
  }
  .p-homeSection {
    padding-top: 5.4rem;
  }
}
/* タイトル
------------------------------------------------------------- */
.p-homeSection__title {
  text-align: center;
}
.p-homeSection__title--en {
  display: block;
  font-size: 3rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
}
.p-homeSection__title--ja {
  display: block;
  font-size: 1.2rem;
  font-weight: var(--fw-regular);
  margin-top: 0.2rem;
}

/* メインビジュアル
------------------------------------------------------------- */
.m-featureSlide .m-featureSlide-slideController {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  max-width: 120rem;
  margin-inline: auto;
}
.m-featureSlide .m-featureSlide-slideController__prev,
.m-featureSlide .m-featureSlide-slideController__next {
  position: static;
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;
  background: transparent;
}
.m-featureSlide .m-featureSlide-slideController__prev > img,
.m-featureSlide .m-featureSlide-slideController__next > img {
  width: 100%;
}
.m-featureSlide .m-featureSlide-slidePagination {
  position: absolute;
  gap: 1rem;
}
.m-featureSlide .swiper-horizontal > .swiper-pagination-bullets,
.m-featureSlide .swiper-pagination-bullets.swiper-pagination-horizontal,
.m-featureSlide .swiper-pagination-custom,
.m-featureSlide .swiper-pagination-fraction {
  max-width: 94rem;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
}
.m-featureSlide .m-featureSlide-slidePagination__item {
  border-color: var(--color-primary);
  border-width: 0.2rem;
}
.m-featureSlide .m-featureSlide-slidePagination__item.swiper-pagination-bullet-active {
  background: var(--color-primary);
}

@media screen and (max-width: 767px) {
  .m-featureSlide .m-featureSlide-slideController {
    padding-right: 1rem;
    margin-top: 1rem;
  }
  .m-featureSlide .swiper-horizontal > .swiper-pagination-bullets,
  .m-featureSlide .swiper-pagination-bullets.swiper-pagination-horizontal,
  .m-featureSlide .swiper-pagination-custom,
  .m-featureSlide .swiper-pagination-fraction {
    bottom: 1.3rem;
    left: 0;
    justify-content: flex-start;
    width: calc(100% - 13.6rem);
    padding-left: 1.5rem;
    transform: translateX(0);
  }
}
/* 商品一覧
------------------------------------------------------------- */
.m-productLineHome {
  justify-content: flex-start;
}

.c-product-head {
  position: relative;
}

.c-product-head__sold-out {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-white);
  font-weight: var(--fw-bold);
  background-color: rgba(0, 0, 0, 0.5);
}

.c-product-head__picture:before {
  display: none;
}

.c-product-head__picture {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.c-product-head__image {
  position: static;
  border: 0.1rem solid var(--color-gray);
  object-fit: contain;
  object-position: center;
}

.c-product-head__status {
  top: 0;
  bottom: auto;
}

.c-product-body__status {
  position: static;
}
.c-product-body__status:not(:has(li)) + .c-product-body__title {
  margin-top: 0;
}

.c-product-sIcon {
  gap: 0.6rem;
}

.c-product-sIcon__item {
  height: 1.8rem;
}
.c-product-sIcon__item img {
  height: 100%;
  width: auto;
}

.c-product-body__title {
  margin-top: 0.7rem;
}

.c-product-body__title-name {
  display: block;
  white-space: normal;
}

.c-product-body__price,
.c-product-body__price-subsc,
.c-product-body__price-prime,
.c-product-body__price-default {
  width: 100%;
  font-size: 1.4rem;
  white-space: normal;
  margin-top: 0.8rem;
}
.c-product-body__price--num,
.c-product-body__price-subsc--num,
.c-product-body__price-prime--num,
.c-product-body__price-default--num {
  width: 100%;
  font-size: 1.8rem;
  font-weight: var(--fw-bold);
  white-space: normal;
  margin-left: 0.5rem;
}
.c-product-body__price .c-product-body__price--tax,
.c-product-body__price-subsc .c-product-body__price--tax,
.c-product-body__price-prime .c-product-body__price--tax,
.c-product-body__price-default .c-product-body__price--tax {
  font-size: 1rem;
  margin-left: 0.4rem;
}

.c-product-body__price-prime {
  color: var(--color-red);
}

.c-product-body__price--sale .c-product-body__price-default--num {
  font-size: 1.4rem;
}
.c-product-body__price--sale .c-product-body__price-default {
  margin-top: -0.5rem;
}

@media screen and (min-width: 768px) {
  .l-container:has(.m-productLineHome) {
    max-width: 124rem;
  }
  .m-productLineHome {
    gap: 4rem 0;
    margin-top: 2.7rem;
  }
  .m-productLineHome__item {
    width: 25%;
    padding-inline: 2rem;
  }
  .c-product-head__sold-out {
    font-size: 2.4rem;
  }
  .c-product-body {
    margin-top: 1.5rem;
  }
  .c-product-body__title-name {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 767px) {
  .m-productLineHome {
    gap: 2.3rem 0.9rem;
    margin-top: 2.6rem;
  }
  .m-productLineHome__item {
    width: calc(50% - 0.45rem);
  }
  .c-product-head__sold-out {
    font-size: 1.8rem;
  }
  .c-product-body {
    margin-top: 1.4rem;
  }
  .c-product-body__title-name {
    font-size: 1.5rem;
  }
}
/* 新商品(common)
------------------------------------------------------------- */
.p-homeSection__new-arrivals .c-button-wrap {
  margin-top: 3.7rem;
}

@media screen and (min-width: 768px) {
  .p-homeSection__new-arrivals .c-button-wrap {
    margin-top: 3.5rem;
  }
}
@media screen and (max-width: 767px) {
  .p-homeSection__new-arrivals {
    padding-bottom: 6rem;
  }
  .p-homeSection__new-arrivals .c-button-wrap {
    margin-top: 3.4rem;
  }
}
/* ランキング(common)
------------------------------------------------------------- */
.m-productLineHome__slider-wrap {
  position: relative;
}
.m-productLineHome__slider-wrap .swiper-wrapper {
  flex-wrap: nowrap;
}
.m-productLineHome__slider-wrap .m-productLineHome-slideController {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.m-productLineHome__slider-wrap .m-productLineHome-slidePagination {
  position: absolute;
  display: flex;
  gap: 1.8rem;
}
.m-productLineHome__slider-wrap .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.m-productLineHome__slider-wrap .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0;
}
.m-productLineHome__slider-wrap .swiper-pagination-bullet {
  width: 1.2rem;
  height: 1.2rem;
  background-color: var(--color-white);
  border: 0.2rem solid var(--color-primary);
  opacity: 1;
}
.m-productLineHome__slider-wrap .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--color-primary);
}

.p-homeSection__ranking {
  background-color: var(--color-bg-gray);
}

@media screen and (min-width: 768px) {
  .p-homeSection__ranking {
    padding-bottom: 6.5rem;
  }
  .p-ranking-tab-wrapper {
    margin-top: 2.7rem;
  }
  .m-productLineHome__slider-wrap .m-productLineHome-slidePagination {
    left: 50%;
    bottom: 1.8rem;
    justify-content: center;
    width: 90rem;
    transform: translateX(-50%);
  }
  .m-productLineHome__slider-wrap .m-productLineHome-slideController {
    margin-top: 1.2rem;
    padding-right: 2rem;
  }
}
@media screen and (max-width: 767px) {
  .p-homeSection__ranking {
    padding-bottom: 6rem;
  }
  .m-productLineHome__slider-wrap .swiper-wrapper {
    width: 100%;
  }
  .m-productLineHome__slider-wrap .swiper-slide {
    height: auto;
  }
}
/* ランク番号 */
.c-product-head__rank {
  top: -0.8rem;
  right: 1rem;
  left: auto;
  width: 3.8rem;
  height: 3.6rem;
  padding: 0.5rem 0 0;
  letter-spacing: 0.01em;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
}
.c-product-head__rank-1 {
  background-image: url(../img/home/bg_rank_01.svg);
}
.c-product-head__rank-2 {
  background-image: url(../img/home/bg_rank_02.svg);
}
.c-product-head__rank-3 {
  background-image: url(../img/home/bg_rank_03.svg);
}
.c-product-head__rank-4, .c-product-head__rank-5, .c-product-head__rank-6, .c-product-head__rank-7, .c-product-head__rank-8, .c-product-head__rank-9, .c-product-head__rank-10 {
  background-image: url(../img/home/bg_rank_04.svg);
}
.c-product-head__rank .c-product-head__rankNum {
  color: var(--color-white);
  font-size: 1.4rem;
}

/* ランキングタブ切り替え */
@keyframes fadeInTabContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.p-ranking-tab-wrappers {
  width: 100%;
}

.p-ranking-tab-buttons {
  display: flex;
}

.p-ranking-tab-button-box {
  background-color: var(--color-gray);
}
.p-ranking-tab-button-box:first-child {
  border-radius: 9999px 0 0 9999px;
}
.p-ranking-tab-button-box:last-child {
  border-radius: 0 9999px 9999px 0;
}

.p-ranking-tab-button {
  font-size: 1.4rem;
  font-weight: var(--fw-medium);
  color: var(--color-main);
  background-color: transparent;
  padding: 1.2rem 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 9999px;
  transition: background-color 0.3s;
}
.p-ranking-tab-button.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.p-ranking-tab-content {
  display: none;
  animation: fadeInTabContent var(--transition-default);
}
.p-ranking-tab-content.active {
  display: block;
}

@media screen and (min-width: 768px) {
  .p-ranking-tab-contents {
    margin-top: 3.8rem;
  }
  .p-ranking-tab-buttons {
    width: 67rem;
    gap: 1rem;
    margin-inline: auto;
    border-radius: 9999px;
    background-color: var(--color-gray);
  }
  .p-ranking-tab-button {
    width: 16rem;
    border-radius: 9999px;
  }
  .m-productLineHome__slider-wrap [aria-disabled=true],
  .m-productLineHome__slider-wrap [disabled] {
    cursor: pointer;
  }
}
@media screen and (max-width: 767px) {
  .p-ranking-tab-wrapper {
    padding-inline: 0;
    margin-top: 2.7rem;
  }
  .p-ranking-tab-buttons-wrap {
    width: 100%;
    padding-bottom: 0.6rem;
    overflow-x: auto;
  }
  .p-ranking-tab-buttons {
    display: grid;
    grid-template-columns: repeat(4, 14rem);
    gap: 0;
    width: 58rem;
    padding-inline: 1rem;
    margin-inline: auto;
  }
  .p-ranking-tab-button {
    width: 100%;
  }
  .p-ranking-tab-contents {
    padding-inline: 0.55rem;
  }
  .m-productLineHome__slider-wrap .m-productLineHome {
    gap: 0;
    margin-top: 3.2rem;
  }
  .m-productLineHome__slider-wrap .m-productLineHome__item {
    width: 50%;
    padding-inline: 0.45rem;
  }
  .m-productLineHome__slider-wrap .m-productLineHome-slideControllerf {
    margin-top: 2.2rem;
  }
  .m-productLineHome__slider-wrap .m-productLineHome-slidePagination {
    bottom: 1.7rem;
    width: 65%;
    padding-left: 1rem;
  }
}
@media screen and (max-width: 767px) and (orientation: landscape) {
  .p-ranking-tab-buttons {
    justify-content: center;
  }
}
/* 日本レンズ工業について／コンセプト／アバウト
------------------------------------------------------------- */
.about-info-logo {
  width: 10.6rem;
}
.about-info-logo img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .p-homeSection__about {
    padding-top: 7.3rem;
    padding-bottom: 8rem;
  }
  .p-homeSection__about .l-container {
    max-width: 140rem;
  }
  .about-contents-area {
    display: flex;
    margin-top: 2.6rem;
  }
  .about-img-area,
  .about-info-area {
    width: 50%;
  }
  .about-img-area {
    order: 1;
  }
  .about-info-area {
    position: relative;
    order: 2;
    padding-top: 5rem;
    padding-left: 8rem;
  }
  .about-info-area .c-button-wrap {
    justify-content: flex-start;
    margin-top: 4rem;
  }
  .about-info-area--deco {
    position: absolute;
    top: -5rem;
    right: 0;
    width: 38.1rem;
  }
  .about-info-text {
    font-size: 1.4rem;
    line-height: 2.14285714;
    padding-right: 10rem;
    margin-top: 2rem;
  }
}
@media screen and (max-width: 767px) {
  .p-homeSection__about {
    padding-top: 5.6rem;
    padding-bottom: 6rem;
  }
  .p-homeSection__about .l-container {
    padding: 0;
  }
  .about-info-area {
    padding-inline: 1rem;
    margin-top: 2.6rem;
  }
  .about-info-area .c-button-wrap {
    margin-top: 4rem;
  }
  .about-info-logo {
    margin-inline: auto;
  }
  .about-info-text {
    font-size: 1.6rem;
    line-height: 2;
    margin-top: 2.3rem;
  }
  .about-img-area {
    margin-top: 4rem;
  }
}
/* お知らせ
------------------------------------------------------------- */
.p-homeSection__news {
  background-color: var(--color-bg-gray);
}

.p-homeNewsList {
  border-top: none;
}

.p-homeNewsList__item {
  background-color: var(--color-white);
  border-left: 0.4rem solid var(--color-primary);
}
.p-homeNewsList__item + .p-homeNewsList__item {
  margin-top: 1rem;
}

.p-homeNewsList-body {
  border-bottom: none;
}

.p-homeNewsList-body__time {
  font-size: 1.4rem;
}

.p-homeNewsList-body__title {
  position: relative;
  max-width: 100%;
}
.p-homeNewsList-body__title:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6rem;
  height: 0.1rem;
  background-color: var(--color-border-gray);
}
.p-homeNewsList-body__title span {
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .p-homeSection__news {
    padding-block: 7.4rem 8rem;
  }
  .p-homeSection__news-inner {
    display: flex;
  }
  .p-homeNewsTitle {
    width: 38rem;
  }
  .p-homeNewsTitle .p-homeSection__title {
    text-align: left;
  }
  .p-homeNewsTitle .c-button-wrap {
    justify-content: flex-start;
    margin-top: 3.8rem;
  }
  .p-homeNewsList {
    width: 82rem;
    padding-top: 0.6rem;
  }
  .p-homeNewsList-body {
    display: block;
    padding: 2.8rem 4rem 2.9rem;
  }
  .p-homeNewsList-body__time {
    padding-bottom: 0.5rem;
  }
  .p-homeNewsList-body__title {
    font-size: 1.3rem;
    line-height: 1.84615385;
    padding-top: 0.8rem;
  }
}
@media screen and (max-width: 767px) {
  .p-homeSection__news {
    padding-bottom: 6rem;
  }
  .p-homeSection__news .c-button-wrap {
    margin-top: 4rem;
  }
  .p-homeNewsList-body__title {
    font-size: 1.5rem;
    line-height: 1.6;
    padding-top: 0.8rem;
  }
  .p-homeNewsList {
    margin-top: 2.7rem;
  }
  .p-homeNewsList-body {
    padding: 1.7rem 2rem 2.2rem;
  }
  .p-homeNewsList-body__time {
    margin-bottom: 0.5rem;
  }
}
/* 最近チェックした商品(common)
------------------------------------------------------------- */
.p-homeSection__recently-viewed .c-product-body__price--sale > span {
  display: block;
}

@media screen and (min-width: 768px) {
  .p-homeSection__recently-viewed {
    padding-bottom: 9.5rem;
  }
  .p-homeSection__recently-viewed .m-productLineHome {
    gap: 3.6rem;
    margin-top: 2.7rem;
  }
  .p-homeSection__recently-viewed .m-productLineHome__item {
    width: calc(16.66666667% - 3rem);
    padding-inline: 0;
  }
  .p-homeSection__recently-viewed .c-product-body {
    margin-top: 0.7rem;
  }
  .p-homeSection__recently-viewed .c-product-body__price {
    margin-top: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .p-homeSection__recently-viewed {
    padding-bottom: 5.3rem;
  }
  .p-homeSection__recently-viewed-inner {
    width: 100%;
    padding: 0;
  }
  .p-homeSection__recently-viewed .m-productLineHome {
    display: flex;
    flex-wrap: nowrap;
    padding-inline: 1rem;
    white-space: nowrap;
    overflow-x: auto;
  }
  .p-homeSection__recently-viewed .m-productLineHome__item {
    flex: 0 0 16rem; /* 伸びない、縮まない、幅は200px固定 */
  }
  .p-homeSection__recently-viewed .c-product-body__title-name {
    font-size: 1.4rem;
  }
  .p-homeSection__recently-viewed .c-product-body__price--sale .c-product-body__price-default {
    margin-top: -0.8rem;
  }
}