﻿@charset "utf-8";

/* =========================
   調光レンズ カラー切り替え
========================= */
.lensColorSwitch {
  margin-top: 16px;
}

.lensColorButtons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.lensColorBtn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: .2s ease;
}

.lensColorBtn.is-active {
  border-color: #3194d6;
  box-shadow: inset 0 0 0 1px #3194d6;
}

.lensColorThumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.lensColorName {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.lensColorImages {
  margin-top: 8px;
}

.lensColorImage {
  display: none;
}

.lensColorImage.is-active {
  display: block;
}

.lensColorImage img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .lensColorButtons {
    gap: 10px;
    margin-bottom: 12px;
  }

  .lensColorBtn {
    gap: 10px;
    padding: 12px 14px;
  }

  .lensColorThumb {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .lensColorName {
    font-size: 14px;
  }
}

/* 2列グリッド */
.lensColorButtons.is-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lensColorButtons.is-grid .lensColorBtn {
  width: 100%;
}

/* PCは4列にしてもOK */
@media screen and (min-width: 768px) {
  .lensColorButtons.is-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   調光レンズ 補足説明
========================= */
.lensGuideInfo {
  margin: 20px 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.02em;
  color: #222;
}

.lensGuideInfoTitle {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #3194d6;
    text-align: center;
}

.lensGuideInfoBox {
  padding: 16px 14px 18px;
  background: #fff;
  border-radius: 6px;
  border-bottom: 1px solid #e9e9e9;
    text-align: left;
}

.lensGuideInfoBox p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.9;
}

.lensGuideInfoBox p:last-child {
  margin-bottom: 0;
}

.lensGuideInfoImage {
  margin-top: 12px;
}

.lensGuideInfoImage img {
  display: block;
  width: 100%;
  height: auto;
}

/* SP */
@media screen and (max-width: 767px) {
  .lensGuideInfo {
    margin-top: 30px;
  }

  .lensGuideInfoTitle {
    font-size: 16px;
    margin-bottom: 10px;
      text-align: center;
  }

  .lensGuideInfoBox {
    padding: 14px 12px 16px;
  }

  .lensGuideInfoBox p {
    font-size: 14px;
    line-height: 1.8;
  }

  .lensGuideInfoImage {
    margin-top: 10px;
  }
}

/* =========================
   調光レンズ 使用上の注意
========================= */
.lensGuideCautionBlock {
  margin: 24px 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.02em;
  color: #222;
}

.lensGuideCautionTitle {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
    text-align: center;
}

.lensGuideCautionBox {
  padding: 16px 18px;
  background: #fff;
  border-radius: 6px;
  border-bottom: 1px solid #e9e9e9;
}

.lensGuideCautionList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lensGuideCautionList li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 1em;
  font-size: 14px;
  line-height: 1.9;
}

.lensGuideCautionList li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.lensGuideCautionList li:last-child {
  margin-bottom: 0;
}

/* SP */
@media screen and (max-width: 767px) {
  .lensGuideCautionBlock {
    margin-top: 40px;
  }

  .lensGuideCautionTitle {
    margin-bottom: 10px;
    font-size: 16px;
      text-align: center;
  }

  .lensGuideCautionBox {
    padding: 14px 12px 16px;
  }

  .lensGuideCautionList li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.8;
  }
}