.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.product-gallery__main {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bd-panel);
  border: 1px solid var(--bd-line);
  border-radius: 4px;
}

.product-gallery__main img {
  display: block;
  width: 100%;
  height: 550px;
  object-fit: contain;
}

.product-gallery__main button {
  border-radius: 4px;
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  border: 0;        
}

.product-gallery__main button img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
  border-radius: 4px;
}

.product-gallery__main button:hover img,
.product-gallery__main button:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1.12);
  border-radius: 4px;
}

.product-gallery__zoom-image {
  display: block;
  max-width: auto;
  max-height: 100vh;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 4px;
}

#product-image-modal .o-modal__shade {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background-color: rgba(0, 0, 0, .85);
}

#product-image-modal .o-modal__inner {
  z-index: 10010;
}

.fixed-page-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px;
  background: transparent;
}

.fixed-page-nav a {
  display: block;
  box-sizing: border-box;
  width: 240px;
  padding: 12px 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  background: #253e5e;
  border: 1px solid rgba(74, 158, 255, .5);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  transition: opacity .2s ease;
}

.fixed-page-nav a:hover,
.fixed-page-nav a:focus-visible {
  opacity: .8;
}

.fixed-page-nav a:first-child {
  background: #253e5e;
}

@media only screen and (max-width: 768px) {
  .fixed-page-nav {
    gap: 5px;
    padding: 20px 12px;
  }

  .fixed-page-nav a {
    width: min(240px, 100%);
    padding: 9px 6px;
    font-size: 12px;
  }
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 112px));
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-gallery__thumb button {
  display: block;
  width: 100%;
  padding: 3px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bd-panel);
  border: 0px solid rgba(255, 255, 255, .28);
  transition: border-color .2s ease, opacity .2s ease;
  border-radius: 5px;
}

.product-gallery__thumb button img {
  transition: transform .25s ease, filter .25s ease;
}

.product-gallery__thumb button:hover img,
.product-gallery__thumb button:focus-visible img {
  transform: scale(1.08);
  filter: brightness(1.12);
}

.product-gallery__thumb button:hover,
.product-gallery__thumb button:focus-visible {
  opacity: .7;
  border: 3px solid rgba(74, 158, 255, .7);
  outline-offset: 2px;
}

.product-gallery__thumb button[aria-current="true"] {
  border: 3px solid var(--bd-accent);
  box-shadow: 0 0 0 1px var(--bd-accent);
  border-radius: 6px;
}

.product-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
}

.product-shop-card {
  transition: transform .25s ease, filter .25s ease;
}

.product-shop-card-unit {
  overflow: visible;
  padding-top: 8px;
}

.product-shop-card:hover,
.product-shop-card:focus-within {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45));
}

@media only screen and (max-width: 768px) {
  .product-gallery {
    gap: 12px;
    padding: 20px 12px 0px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .product-gallery__main,
  .product-gallery__main img {
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

/* slider.css の赤系装飾を main のカラーに上書き */
.under1 { background: linear-gradient(transparent 70%, rgba(74, 158, 255, .45) 70%); }
.under2 { padding: 2px 10px; color: #dce8f7; background: #152335; border: 1px solid rgba(74, 158, 255, .5); border-radius: 6px; }
.stripe1:after,
.stripe3:after { background: repeating-linear-gradient(-45deg, rgba(74, 158, 255, 0), var(--bd-accent), rgba(74, 158, 255, 0)); }
.l-main hr { border: 0 !important; border-top: 3px solid var(--bd-line) !important; }
.m-spc-imgbox__cell.-txt p { color: #c6d0dc; }

/* 末尾要素の margin が main の外にはみ出し、白い隙間になるのを防ぐ */
.l-main.p-main-bg { display: flow-root; }

.p-back-to-top { border-radius: 50%; }

.before-buy-btn {
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.m-spc-photobox:hover .before-buy-btn,
.m-spc-photobox:focus-visible .before-buy-btn {
  transform: translateY(-4px);
  background-color: #1d3150 !important;
  border-color: var(--bd-accent) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45), 0 0 14px rgba(74, 158, 255, .35);
}

@media only screen and (max-width:959.98px) {
  .product-gallery__main button {
    cursor: default;
    pointer-events: none;
  }

  .p-feats.-row-sp {
    flex-direction: row;
    max-width: 480px;
    gap: 6px;
  }

  .p-feats.-row-sp li {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    font-weight: 500;
  }
}

#top .mechanical-style-001 {
  color:#fff; line-height:3;
}

#top .mechanical-style-002 {
  padding-bottom:12px;
}

#top .mechanical-style-003 {
  text-align: right;
}

#top .mechanical-style-004 {
  background: linear-gradient(0deg, #4a9eff1e 0%, rgba(0, 0, 0, 0) 100%); padding-top: 20px;
}

#top .mechanical-style-005 {
  padding-top: 20px;
}

#top .mechanical-style-006 {
  margin-top:10px; font-size: 24px;
}

#top .mechanical-style-007 {
  font-size: 15px;
}

#top .mechanical-style-008 {
  margin: 0 auto; text-align: center; margin-top: -20px;
}

#top .mechanical-style-009 {
  margin-top:20px; margin-left:10px; margin-right:10px;
}

#top .mechanical-style-010 {
  background: linear-gradient(0deg, #4a9eff2a 0%, rgba(0, 0, 0, 0) 100%); padding-top: 15px;
}

#top .mechanical-style-011 {
  color:#fff; --box-mt-pc:60px; --box-mt-sp:60px; --box-mb-pc:0px; --box-mb-sp:0px; font-weight:550; line-height:1.2;
}

#top .mechanical-style-012 {
  color:#fff; --box-mt-pc:60px; --box-mt-sp:40px; --box-mb-pc:0px; --box-mb-sp:0px; font-weight:550; line-height:1.2; font-size:24px; padding-left:10px; padding-right:10px;
}

#top .mechanical-style-013 {
  color:#c2ccd8; --box-mt-pc:20px; --box-mt-sp:20px; --box-mb-pc:20px; --box-mb-sp:20px; font-weight:400; line-height: 0.6;
}

#top .mechanical-style-014 {
  color:#c2ccd8; --box-mt-pc:20px; --box-mt-sp:20px; --box-mb-pc:0px; --box-mb-sp:10px; font-weight:400; line-height: 1.2; margin-right: 20px; margin-left:20px; font-size: 13px;
}

#top .mechanical-style-015 {
  color:#c2ccd8; --box-mt-pc:0px; --box-mt-sp:0px; --box-mb-pc:0px; --box-mb-sp:10px; font-weight:400; line-height: 1.2; margin-right: 20px; margin-left:20px; font-size: 13px;
}

#top .mechanical-style-016 {
  max-width:95%; margin:0 auto;
}

#top .mechanical-style-017 {
  --content-width:1200px;
}

#top .mechanical-style-018 {
  --space-ht-pc:20px; --space-ht-sp:30px;
}

#top .mechanical-style-019 {
  color: #ffffff; --txt-pc: 20px; --txt-sp: 16px; background-color: #4a9eff6b; padding: 8px; border-radius: 4px 4px 0px 0px;
}

#top .mechanical-style-020 {
  border-radius: 0px 0px 4px 4px;
}

#top .mechanical-style-021 {
  --space-ht-pc:16px; --space-ht-sp:8px;
}

#top .mechanical-style-022 {
  --space-ht-pc:60px; --space-ht-sp:16px;
}

#top .mechanical-style-023 {
  --comparison-arrow-scale: 0.6; /* 1 = original size */
  max-width:90%; margin:0 auto;
}

#top .mechanical-style-023 .cocoen-drag::before,
#top .mechanical-style-023 .cocoen-drag::after {
  transform: scale(var(--comparison-arrow-scale));
}

#top .mechanical-style-023 .cocoen-drag::before {
  transform-origin: right center;
}

#top .mechanical-style-023 .cocoen-drag::after {
  transform-origin: left center;
}

#top .mechanical-style-024 {
  --content-width:1200px
}

#top .mechanical-style-025 {
  --space-ht-pc:0px; --space-ht-sp:10px;
}

#top .mechanical-style-026 {
  --space-ht-pc:16px; --space-ht-sp:20px;
}

#top .mechanical-style-027 {
  --space-ht-pc:60px; --space-ht-sp:20px;
}

#top .mechanical-style-028 {
  --content-width:1200px; background: #16243c67; border-top: 1px solid rgba(255, 255, 255, .11); border-bottom: 1px solid rgba(255, 255, 255, .11);
}

#top .mechanical-style-029 {
  --space-ht-pc:25px; --space-ht-sp:20px;
}

#top .mechanical-style-030 {
  --space-ht-pc:30px; --space-ht-sp:10px;
}

#top .mechanical-style-031 {
  max-width:1500px; margin:0 auto;
}

#top .mechanical-style-032 {
  --txt-pc:0px; --txt-sp:0px; color:#ffffff; font-size: 45px;
}

#top .mechanical-style-033 {
  --txt-pc:0px; --txt-sp:0px; color:#ffffff; font-size: 24px;
}

#top .mechanical-style-034 {
  --space-ht-pc:60px; --space-ht-sp:30px;
}

#top .mechanical-style-035 {
  padding-left: 20px; padding-right: 20px;
}

#top .mechanical-style-036 {
   --imgbox-mb-pc:20px;
}

#top .mechanical-style-037 {
  border-radius: 4px;
}

#top .mechanical-style-038 {
  color: #ffffff; padding-left:30px
}

#top .mechanical-style-039 {
  margin-top:10px; line-height: 1.5; font-size: 16px; color: #c2ccd8;
}

#top .mechanical-style-040 {
  color: #ffffff; padding-right:30px
}

#top .mechanical-style-041 {
  margin-top:10px; line-height: 1.3; font-size: 14px; color: #c2ccd8;
}

#top .mechanical-style-042 {
   --imgbox-mb-sp:40px;
}

#top .mechanical-style-043 {
  border-radius: 4px; max-width: 90%; margin: 0 auto; display: block;
}

#top .mechanical-style-044 {
  color: #ffffff;
}

#top .mechanical-style-045 {
  margin-top:10px; text-align:center; font-size: 22px;
}

#top .mechanical-style-046 {
  margin-top:10px; line-height: 1.5; font-size: 14px; margin-left:20px; margin-right:20px; color: #c2ccd8;
}

#top .mechanical-style-047 {
   --imgbox-mb-sp:20px;
}

#top .mechanical-style-048 {
  margin-top:10px; line-height: 1.3; font-size: 13px; margin-left:20px; margin-right:20px; color: #c2ccd8;
}

#top .mechanical-style-049 {
  --space-ht-pc:40px; --space-ht-sp:25px;
}

#top .mechanical-style-050 {
  padding-left:20px; padding-right:20px;
}

#top .mechanical-style-051 {
  color:#000; --box-mt-pc:30px; --box-mt-sp:30px; --box-mb-pc:0px; --box-mb-sp:0px;
}

#top .mechanical-style-052 {
  line-height:1.5; color:#000; --box-mt-pc:0px; --box-mt-sp:0px; --box-mb-pc:0px; --box-mb-sp:0px; padding:20px;
}

#top .mechanical-style-053 {
  color: #006de9;
}

#top .mechanical-style-054 {
  line-height: 0.1em; padding:0; margin:0;
}

#top .mechanical-style-055 {
  color:#ffffff; background-color:#646464; padding:4px 8px 6px 10px; border-radius:4px;
}

#top .mechanical-style-056 {
  --space-ht-pc:20px; --space-ht-sp:20px;
}

#top .mechanical-style-057 {
  padding-left:0px; padding-right:0px;
}

#top .mechanical-style-058 {
  color:#000; --box-mt-pc:30px; --box-mt-sp:25px; --box-mb-pc:0px; --box-mb-sp:15px;
}

#top .mechanical-style-059 {
  line-height:1.3; color:#000; --box-mt-pc:0px; --box-mt-sp:0px; --box-mb-pc:0px; --box-mb-sp:0px; padding:0px; font-size:13px;
}

#top .mechanical-style-060 {
  --space-ht-pc:20px; --space-ht-sp:10px;
}

#top .mechanical-style-061 {
  --txt-pc:0px; --txt-sp:0px; color:#ffffff; font-size: 30px;
}

#top .mechanical-style-062 {
  --space-ht-pc:40px; --space-ht-sp:0px;
}

#top .mechanical-style-063 {
  max-width:1200px; margin:0 auto;
}

#top .mechanical-style-064 {
  background-color:var(--bd-panel);
}

#top .mechanical-style-065 {
  color:#fff; --box-mt-pc:140px; --box-mt-sp:0px; --box-mb-pc:0px; --box-mb-sp:0px;
}

#top .mechanical-style-066 {
  color:#fff; --box-mt-pc:20px; --box-mt-sp:15px; --box-mb-pc:0px; --box-mb-sp:0px; line-height: 1.2;
}

#top .mechanical-style-067 {
  --space-ht-pc:30px; --space-ht-sp:30px;
}

#top .mechanical-style-068 {
  width:465px;
}

#top .mechanical-style-069 {
  color:#fff; --box-mt-pc:0px; --box-mt-sp:0px; --box-mb-pc:0px; --box-mb-sp:0px;
}

#top .mechanical-style-070 {
  --space-ht-pc:0px; --space-ht-sp:0px;
}

#top .mechanical-style-071 {
   margin:0 auto;
}

#top .mechanical-style-072 {
  --box-mt-pc:15px; --box-mt-sp:15px; --box-mb-pc:0px; --box-mb-sp:0px; width:500px;
}

#top .mechanical-style-073 {
  background-color:#253e5e; margin-right:0px; padding-bottom:0px; height:98px; border: 1px solid rgba(74, 158, 255, .5); border-radius: 4px; width:465px;
}

#top .mechanical-style-074 {
  --space-ht-pc:15px; --space-ht-sp:10px;
}

#top .mechanical-style-075 {
  color:#fff;
}

#top .mechanical-style-076 {
  --space-ht-pc:10px; --space-ht-sp:10px;
}

#top .mechanical-style-077 {
  line-height:1.5; color:#fff; font-size:16px; padding-left:20px; padding-right:20px; padding-bottom:10px; font-weight:500; line-height: 1.2;
}

#top .mechanical-style-078 {
  color: var(--bd-accent);
}

#top .mechanical-style-079 {
  --space-ht-pc:10px; --space-ht-sp:5px;
}

#top .mechanical-style-080 {
  --space-ht-pc:50px; --space-ht-sp:50px;
}

#top .mechanical-style-081 {
  display:flex; align-items:flex-start; gap:15px; margin-top:-20px; color:#fff;
}

#top .mechanical-style-082 {
  font-weight:bold; white-space:nowrap;
}

#top .mechanical-style-083 {
  font-size:22px; font-weight:bold; line-height:1.2;
}

#top .mechanical-style-084 {
  font-size:13px; margin-top:8px;
}

#top .mechanical-style-085 {
  --space-ht-pc:30px; --space-ht-sp:15px;
}

#top .mechanical-style-086 {
  --space-ht-pc:30px; --space-ht-sp:40px;
}

#top .mechanical-style-087 {
  font-size:16px; margin-top:8px;
}

#top .mechanical-style-088 {
   margin:0 auto; text-align: center;
}

#top .mechanical-style-089 {
  --box-mt-pc:15px; --box-mt-sp:15px; --box-mb-pc:0px; --box-mb-sp:0px;
}

#top .mechanical-style-090 {
  background-color:#152335; padding-bottom:0px; height:98px; border: 1px solid rgba(74, 158, 255, .5); border-radius: 4px; width:auto; margin-left:13px;
}

#top .mechanical-style-091 {
  --space-ht-pc:15px; --space-ht-sp:18px;
}

#top .mechanical-style-092 {
  line-height:1.5; color:#fff; font-size:16px; padding-left:20px; padding-right:20px; padding-bottom:0px; font-weight:500; line-height: 1.2;
}

#top .mechanical-style-093 {
  --space-ht-pc:10px; --space-ht-sp:0px;
}

#top .mechanical-style-094 {
  --space-ht-pc:50px; --space-ht-sp:30px;
}

#top .mechanical-style-095 {
  box-sizing: border-box; width: 95%; max-width: 1150px; margin: 0 auto;  font-size: 100%; padding: 20px; background-color: var(--bd-panel); border-radius: 4px; border: 0px solid var(--bd-line);
}

#top .mechanical-style-096 {
  --space-ht-pc:40px; --space-ht-sp:40px;
}

#top .mechanical-style-097 {
  --box-mt-pc:50px; --box-mt-sp:30px; --box-mb-pc:0px; --box-mb-sp:0px;
}

#top .mechanical-style-098 {
  margin:0 auto;
}

#top .mechanical-style-099 {
  padding:10px; background-color: #fff; border: #000 solid 1px; border-radius: 5px;
}

#top .mechanical-style-100 {
  text-decoration: none;
}

#top .mechanical-style-101 {
  margin: 0; color:#ffffff; padding-top: 10px;
}

#top .mechanical-style-102 {
  border: 10px solid #ffffff;
}

#top .mechanical-style-103 {
  --txt-pc:0px; --txt-sp:0px; color:#ffffff; font-size: 25px; margin: 0;
}

#top .mechanical-style-104 {
  width: 220px; margin: 0 auto;
}

#top .mechanical-style-105 {
  box-sizing: border-box; margin:20px;  font-size: 100%; padding: 0px; background-color: var(--bd-panel); border-radius: 4px; border: 0px solid var(--bd-line);
}

#top .mechanical-style-106 {
  --txt-pc:0px; --txt-sp:0px; color:#ffffff; font-size: 16px; line-height: 1.5;
}

#top .mechanical-style-107 {
  margin: 0; color:#ffffff; padding-top: 5px;
}

#top .mechanical-style-108 {
  margin-top: 10px;
}

#top .mechanical-style-109 {
  --space-ht-pc:40px; --space-ht-sp:30px;
}

#top .mechanical-style-110 {
  --space-ht-pc:35px; --space-ht-sp:30px;
}

#top .mechanical-style-111 {
  --space-ht-pc:2px; --space-ht-sp:2px;
}
