@charset "utf-8";

/* Ray-Ban Meta (Gen3) page */
.page_rbmeta-gen3 {
  --rbm3-ink: #221815;
  --rbm3-panel: #312C2A;
  --rbm3-imgbg: #EDEDED;
  --rbm3-line: #DEDEDE;
  --rbm3-grad-sec: linear-gradient(180deg, #221815 0%, #807B79 60.6%, #A7B3B4 100%);
  --rbm3-grad-txt: linear-gradient(180deg, #221815 0%, #886054 100%);
  --rbm3-grad-btn: linear-gradient(90deg, #221815 0%, #493030 50.1%, #982C3C 100%);
  --rbm3-grad-gen2: linear-gradient(135deg, #A2B3B0 0%, #55605E 100%);
  --rbm3-shadow: 0 4px 24px rgba(0, 0, 0, .05);
  --rbm3-ff: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --rbm3-ff-en: "Oswald", "Inter", sans-serif;
  --rbm3-w: min(1440px, 100% - 80px);
  container-type: inline-size;
  font-family: var(--rbm3-ff);
  letter-spacing: 0;
  color: var(--rbm3-ink);
  overflow-x: hidden;
}
.page_rbmeta-gen3 * {box-sizing: border-box;}
.page_rbmeta-gen3 h2,
.page_rbmeta-gen3 p {
  margin: 0;
  padding: 0;
}
.page_rbmeta-gen3 img {
  display: block;
  max-width: 100%;
}
.page_rbmeta-gen3 a {text-decoration: none;}
.page_rbmeta-gen3 section {margin: 0;}
.rbm3-br-pc {display: none;}

/* スクロールフェード（JSが is-show を付与） */
.js-rbm3-fade,
.js-rbm3-fade-up {
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}

.js-rbm3-fade-up {transform: translateY(40px);}
.js-rbm3-fade-up:nth-child(2) {transition-delay: .08s;}
.js-rbm3-fade-up:nth-child(3) {transition-delay: .16s;}
.js-rbm3-fade-up:nth-child(4) {transition-delay: .24s;}
.js-rbm3-fade.is-show,
.js-rbm3-fade-up.is-show {
  opacity: 1;
  transform: translate(0, 0);
}

/* MV */
.rbm3-mv img {
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 430;
  object-fit: cover;
}

/* intro */
.rbm3-intro {
  position: relative;
  background: #fff;
  padding-bottom: 60px;
}
.rbm3-marquee {
  height: 120px;
  overflow: hidden;
}
.rbm3-marquee__track {
  display: flex;
  width: max-content;
  animation: rbm3-marquee 6s linear infinite;
}
.rbm3-marquee__track span {
  display: block;
  margin-right: min(80px, 18.6047cqw);
  white-space: nowrap;
  font-family: var(--rbm3-ff-en);
  font-weight: 700;
  font-size: min(120px, 27.907cqw);
  line-height: 1;
  color: #F0F0F0;
}

@keyframes rbm3-marquee {
  from {transform: translateX(0);}
  to {transform: translateX(-50%);}
}

/* 眼鏡のカーテン演出はPCデザインのみ。幅を固定して中央テキストとの間隔を一定に保つ */
.rbm3-glass {
  --rbm3-glass-w: max(2060px, 100%);
  display: none;
  position: absolute;
  top: 132px;
  left: 50%;
  width: var(--rbm3-glass-w);
  margin-left: calc(var(--rbm3-glass-w) / -2);
  aspect-ratio: 1920 / 442;
  clip-path: inset(50% 0 50% 0);
  transition: clip-path .6s ease-in;
}
.rbm3-glass.is-open {clip-path: inset(0 0 0 0);}
.rbm3-glass__item {
  position: absolute;
  width: 41.2656%;
  height: auto;
  transition: left .6s ease-in, top .6s ease-in;
}
.rbm3-glass__item--l {
  left: -3.125%;
  top: .4299%;
}
.rbm3-glass__item--r {
  left: 61.8594%;
  top: .8484%;
}
.rbm3-glass.is-open .rbm3-glass__item--l {
  left: -2.0833%;
  top: 1.2941%;
}
.rbm3-glass.is-open .rbm3-glass__item--r {
  left: 60.8333%;
  top: 1.2941%;
}
.rbm3-intro__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  padding: 0 min(40px, 9.3023cqw);
}
.rbm3-intro__ttl {
  font-size: min(26px, 6.0465cqw);
  font-weight: 800;
  line-height: 1.2308;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), var(--rbm3-grad-txt);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rbm3-intro__lead {
  font-size: min(15px, 3.4884cqw);
  font-weight: 500;
  line-height: 1.7333;
  text-align: center;
}
.rbm3-intro__note {
  font-size: min(12px, 2.7907cqw);
  line-height: 1.5833;
  text-align: center;
  color: #808080;
}

/* button */
.rbm3-btnwrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.rbm3-btn {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: min(16px, 3.7209cqw);
  width: min(388px, 90.2326cqw);
  padding: min(28px, 6.5116cqw) min(40px, 9.3023cqw);
  border-radius: 999px;
  background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), var(--rbm3-grad-btn);
  font-size: min(17px, 3.9535cqw);
  font-weight: 700;
  line-height: 1.2353;
  color: #fff;
}
.rbm3-btn__arw {
  flex: none;
  width: min(8px, 1.8605cqw);
  height: auto;
  aspect-ratio: 1 / 2;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

/* model navigation cards */
.rbm3-nav {
  padding: 60px 0;
  background: var(--rbm3-grad-sec);
}
.rbm3-nav__inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
}
.rbm3-nav__card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--rbm3-shadow);
}
.rbm3-nav__img {
  display: block;
  width: 100%;
}
.rbm3-nav__img img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  aspect-ratio: 361 / 180;
  object-fit: contain;
}
.rbm3-nav__ttl {
  display: block;
  margin-bottom: min(12px, 2.7907cqw);
  font-family: var(--rbm3-ff-en);
  font-weight: 700;
  font-size: min(20px, 4.6512cqw);
  line-height: 1;
  letter-spacing: -.04em;
  background-image: var(--rbm3-grad-txt);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rbm3-nav__arw {
  width: min(16px, 3.7209cqw);
  height: auto;
  aspect-ratio: 2 / 1;
  fill: none;
  stroke: var(--rbm3-ink);
  stroke-width: 1;
}

/* model section */
.rbm3-model__kv img {
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 322.5;
  object-fit: cover;
}
.rbm3-model__body {
  padding: 40px 0 80px;
  background: var(--rbm3-grad-sec);
}
.rbm3-model__head {padding: 0 24px;}
.rbm3-model__pic {background: var(--rbm3-imgbg);}
.rbm3-model__pic img {
  width: 100%;
  height: auto;
  aspect-ratio: 565 / 425.1;
  object-fit: contain;
}
.rbm3-model__txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px;
  background: var(--rbm3-panel);
}
.rbm3-model__ttl {
  font-family: var(--rbm3-ff-en);
  font-weight: 700;
  font-size: min(26px, 6.0465cqw);
  line-height: 1.2308;
  text-align: center;
  color: #fff;
}
.rbm3-model__lead {
  font-size: 13px;
  line-height: 23px;
  color: #fff;
}
.rbm3-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  padding: 40px 16px 0;
}
.rbm3-items--1 {grid-template-columns: 1fr;}
.rbm3-item {min-width: 0;}
.rbm3-item__card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--rbm3-shadow);
}
.rbm3-items--1 .rbm3-item__card {
  aspect-ratio: 398 / 191;
  padding: 20px 40px;
}
.rbm3-item__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 191 / 96.111;
  object-fit: contain;
}
.rbm3-items--1 .rbm3-item__card img {
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.rbm3-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  text-align: center;
  color: #fff;
}
.rbm3-item__name {
  font-family: var(--rbm3-ff-en);
  font-weight: 700;
  font-size: min(16px, 3.7209cqw);
  line-height: 1.482;
}
.rbm3-item__code {
  font-family: var(--rbm3-ff-en);
  font-weight: 300;
  font-size: min(12px, 2.7907cqw);
  line-height: 1.482;
  letter-spacing: .04em;
}
.rbm3-item__price {
  font-family: var(--rbm3-ff-en);
  font-weight: 700;
  font-size: min(20px, 4.6512cqw);
  line-height: 1.482;
}
/* SPデザインにはモデル内のボタンが無い */
.rbm3-btnwrap--model {display: none;}

/* comparison table */
.rbm3-compare {
  padding: 60px 0;
  background: #fff;
}
.rbm3-compare__ttl {
  font-size: 26px;
  font-weight: 800;
  line-height: 64px;
  text-align: center;
  color: #000;
}
.rbm3-table-wrap {overflow-x: auto;}
.rbm3-table {
  width: 100%;
  min-width: 740px;
  border: 1px solid var(--rbm3-line);
  border-collapse: collapse;
  table-layout: fixed;
}
.rbm3-table th,
.rbm3-table td {
  border-right: 1px solid var(--rbm3-line);
  border-bottom: 1px solid var(--rbm3-line);
  text-align: center;
  vertical-align: middle;
}
.rbm3-table th:last-child,
.rbm3-table td:last-child {border-right: 0;}
.rbm3-table tbody tr:last-child th,
.rbm3-table tbody tr:last-child td {border-bottom: 0;}
.rbm3-table thead th {
  padding: 12px 8px;
  background: #EEEEEE;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}
.rbm3-table thead th:first-child {
  padding: 16px;
  line-height: 1.5;
}
.rbm3-table tbody tr {height: 66px;}
.rbm3-table tbody th {
  width: 16.2162%;
  padding: 16px 8px;
  background: #F7F7F7;
  font-size: 13px;
  font-weight: 700;
  line-height: 19.5px;
}
.rbm3-table tbody td {
  padding: 8px 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}
.rbm3-table__em {font-weight: 700;}
.rbm3-table thead th:nth-child(2),
.rbm3-table tbody td:nth-child(2) {width: 29.7297%;}
.rbm3-table thead th:nth-child(3),
.rbm3-table tbody td:nth-child(3) {width: 29.7297%;}
.rbm3-table thead th:nth-child(4),
.rbm3-table tbody td:nth-child(4) {width: 24.3243%;}

/* Gen2 */
.rbm3-gen2 {padding-bottom: 60px;}
.rbm3-gen2__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 20px;
  background: var(--rbm3-grad-gen2);
}
.rbm3-gen2__pic {
  background: var(--rbm3-imgbg);
  overflow: hidden;
}
.rbm3-gen2__pic img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 495;
  object-fit: cover;
}
.rbm3-gen2__txt {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.rbm3-gen2__ttl {
  font-family: var(--rbm3-ff-en);
  font-weight: 700;
  font-size: 26px;
  line-height: 32px;
  text-align: center;
  color: #fff;
}
.rbm3-gen2__lead {
  font-size: 13px;
  line-height: 23px;
  color: #fff;
}
.rbm3-gen2__note {
  font-size: 11px;
  line-height: 19px;
  color: #fff;
}

/* PC */
@media screen and (min-width: 741px) {
  .rbm3-br-pc {display: inline;}
  .rbm3-br-sp {display: none;}

  .rbm3-mv {padding-bottom: 300px;}
  .rbm3-mv img {aspect-ratio: 1920 / 786;}

  .rbm3-intro {padding-bottom: 80px;}
  .rbm3-glass {display: block;}
  .rbm3-marquee {
    position: absolute;
    top: -277px;
    left: 0;
    width: 100%;
    height: 230px;
  }
  .rbm3-marquee__track span {
    margin-right: 140px;
    font-size: 228px;
    line-height: 230px;
    color: #F9F9F9;
  }
  .rbm3-intro__inner {
    gap: 40px;
    width: var(--rbm3-w);
    margin: 0 auto;
    padding: 0;
  }
  .rbm3-intro__ttl {
    font-size: 48px;
    line-height: 64px;
  }
  .rbm3-intro__lead {
    font-size: 18px;
    line-height: 36px;
  }
  .rbm3-intro__note {
    font-size: 14px;
    line-height: 17px;
  }

  .rbm3-btn {
    gap: 16px;
    width: 388px;
    max-width: 100%;
    padding: 32px 80px;
    background-image: none;
    background-color: var(--rbm3-ink);
    font-size: 20px;
    line-height: 24px;
    transition: background-color .2s ease-in, background-image .2s ease-in;
  }
  .rbm3-btn--gen2 {width: 368px;}
  .rbm3-btn__arw {
    width: 12px;
    height: 24px;
  }
  .rbm3-btn:hover {
    background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), var(--rbm3-grad-btn);
  }

  .rbm3-nav {padding: 100px 0;}
  .rbm3-nav__inner {
    gap: 60px;
    width: var(--rbm3-w);
    margin: 0 auto;
    padding: 0;
  }
  .rbm3-nav__card {
    container-type: inline-size;
    flex: 0 1 440px;
    gap: min(32px, 7.2727cqw);
    border-radius: 32px;
    transition: background-color .3s ease-in, gap .3s ease-in;
  }
  .rbm3-nav__img img {
    width: min(361px, 82.045cqw);
    max-width: 100%;
    height: auto;
    transition: width .3s ease-in;
  }
  .rbm3-nav__ttl {
    margin-bottom: 0;
    font-size: min(52px, 11.818cqw);
    line-height: 1.482;
    transition: font-size .3s ease-in;
  }
  .rbm3-nav__arw {
    width: min(33px, 7.5cqw);
    height: auto;
    aspect-ratio: 33 / 16.5;
    transition: stroke .3s ease-in;
  }
  .rbm3-nav__card:hover {
    gap: min(42px, 9.5454cqw);
    background: #000;
  }
  .rbm3-nav__card:hover .rbm3-nav__img img {width: min(323px, 73.409cqw);}
  .rbm3-nav__card:hover .rbm3-nav__ttl {
    font-size: min(48px, 10.909cqw);
    background-image: none;
    color: #fff;
  }
  .rbm3-nav__card:hover .rbm3-nav__arw {stroke: #fff;}

  .rbm3-model__kv img {aspect-ratio: 1920 / 664;}
  .rbm3-model__body {padding: 100px 0 160px;}
  .rbm3-model__head {padding: 0;}
  .rbm3-model__headinner {
    display: flex;
    align-items: stretch;
    width: var(--rbm3-w);
    margin: 0 auto;
    background: var(--rbm3-panel);
  }
  .rbm3-model__pic {flex: 0 0 39.2361%;}
  .rbm3-model__pic img {
    width: 100%;
    height: 100%;
  }
  .rbm3-model__txt {
    flex: 1 1 auto;
    gap: 40px;
    justify-content: center;
    padding: 0 80px;
  }
  .rbm3-model__ttl {
    font-size: 48px;
    line-height: 64px;
  }
  .rbm3-model__lead {
    font-size: 16px;
    line-height: 28px;
    text-align: center;
  }
  .rbm3-items {
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    width: var(--rbm3-w);
    margin: 0 auto;
    padding: 100px 0 0;
  }
  .rbm3-items--2 {grid-template-columns: repeat(2, 1fr);}
  .rbm3-items--1 {grid-template-columns: 1fr;}
  .rbm3-item__card {
    border-radius: 32px;
    transition: background-color .2s ease-in;
  }
  .rbm3-items--2 .rbm3-item__card,
  .rbm3-items--1 .rbm3-item__card {
    aspect-ratio: auto;
    height: 315px;
    padding: 0 20px;
  }
  .rbm3-item__card img {
    aspect-ratio: 315 / 159;
    transition: width .2s ease-in;
  }
  .rbm3-items--2 .rbm3-item__card img,
  .rbm3-items--1 .rbm3-item__card img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 220px;
    aspect-ratio: auto;
    transition: max-height .2s ease-in;
  }
  .rbm3-item__card:hover {background: rgba(255, 255, 255, .5);}
  .rbm3-item__card:hover img {width: 88.254%;}
  .rbm3-items--2 .rbm3-item__card:hover img,
  .rbm3-items--1 .rbm3-item__card:hover img {
    width: auto;
    max-height: 194.2px;
  }
  .rbm3-item__info {
    gap: 8px;
    min-height: 130px;
    width: 315px;
    max-width: 100%;
    margin: 20px auto 0;
  }
  .rbm3-item__name {
    font-size: 24px;
    line-height: 1.482;
  }
  .rbm3-item__code {
    font-size: 14px;
    line-height: 1.482;
  }
  .rbm3-item__price {
    font-size: 24px;
    line-height: 1.482;
  }
  .rbm3-items--4 .rbm3-item {container-type: inline-size;}
  .rbm3-items--4 .rbm3-item__info {min-height: min(130px, 41.27cqw);}
  .rbm3-items--4 .rbm3-item__name,
  .rbm3-items--4 .rbm3-item__price {font-size: min(24px, 7.619cqw);}
  .rbm3-items--4 .rbm3-item__code {font-size: min(14px, 4.4444cqw);}
  .rbm3-btnwrap--model {
    display: flex;
    padding-top: 40px;
  }

  .rbm3-model--zena {padding-bottom: 160px;}

  .rbm3-compare {padding: 0 0 160px;}
  .rbm3-compare__inner {
    width: var(--rbm3-w);
    margin: 0 auto;
  }
  .page_rbmeta-gen3 .rbm3-compare__ttl {
    margin-bottom: 32px;
    font-size: 48px;
  }
  .rbm3-table thead th {
    height: 86px;
    padding: 16px;
    font-size: 18px;
    line-height: 27px;
  }
  .rbm3-table thead th:first-child {padding: 16px;}
  .rbm3-table tbody th {
    width: 13.1944%;
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
  }
  .rbm3-table tbody td {
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
  }
  .rbm3-table thead th:nth-child(2),
  .rbm3-table tbody td:nth-child(2),
  .rbm3-table thead th:nth-child(3),
  .rbm3-table tbody td:nth-child(3) {width: 30.2083%;}
  .rbm3-table thead th:nth-child(4),
  .rbm3-table tbody td:nth-child(4) {width: 26.3889%;}
  .rbm3-table tbody tr:hover th,
  .rbm3-table tbody tr:hover td {background: #F5F5F5;}

  .rbm3-gen2 {padding-bottom: 160px;}
  .rbm3-gen2__inner {
    flex-direction: row;
    align-items: flex-end;
    gap: 60px;
    width: var(--rbm3-w);
    margin: 0 auto;
    padding: 60px;
  }
  .rbm3-gen2__pic {flex: 0 0 42.803%;}
  .rbm3-gen2__pic img {aspect-ratio: 565 / 495;}
  .rbm3-gen2__txt {
    flex: 1 1 auto;
    align-items: center;
  }
  .rbm3-gen2__ttl {
    font-size: 48px;
    line-height: 64px;
  }
  .rbm3-gen2__lead {
    font-size: 16px;
    line-height: 28px;
    text-align: center;
  }
  .rbm3-gen2__note {
    font-size: 13px;
    line-height: 22px;
    text-align: center;
  }
}

/* PC narrow: stack side-by-side blocks before they get cramped */
@media screen and (min-width: 741px) and (max-width: 1179px) {
  .rbm3-model__headinner {
    display: block;
    padding-bottom: 40px;
  }
  .rbm3-model__pic {
    width: 100%;
    max-width: 565px;
    margin: 0 auto;
  }
  .rbm3-model__pic img {
    height: auto;
    aspect-ratio: 565 / 425.1;
  }
  .rbm3-model__txt {padding: 40px;}
  .rbm3-items--4 {
    grid-template-columns: repeat(2, minmax(0, 315px));
    justify-content: center;
  }
  .rbm3-gen2__inner {
    flex-direction: column;
    align-items: center;
  }
  .rbm3-gen2__pic {
    width: 100%;
    max-width: 565px;
  }
}

/* PC narrow: table cells need tighter padding */
@media screen and (min-width: 741px) and (max-width: 999px) {
  .rbm3-table thead th,
  .rbm3-table tbody th,
  .rbm3-table tbody td {
    padding: 12px 8px;
    font-size: 15px;
  }
}
