html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
main {
    transform-origin: top left;
}
.bottom-\[20px\] {
  bottom: 8px;
}
.max-h-\[90vh\] {
  max-height: 78vh;
}
select {
  margin-bottom: 10px;
}
.confirm_margin {
  margin-bottom: 10px;
}
.catch_content {
  width: 95%;
  max-width: 1200px;
  height: 81px;
  margin: 0 auto;
  position: relative;
}
.catch_content img {
  display: block;
  position: absolute;
  top: -12%;
  left: 0;
  right: 0;
  margin: 0 auto;
  /* transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%); */
  width: 100%;
  height: 81px;
  object-fit: contain;
  padding-bottom: 20px;
  opacity: 0;
  animation: image-switch-animation 15s infinite;
}
@keyframes image-switch-animation {
  0%{ opacity: 0;}
  2%{ opacity: 0;}
  10%{ opacity: 1;}
  29%{ opacity: 1;}
  37%{ opacity: 0;}
  100%{ opacity: 0;}
}
.catch_content img:nth-of-type(1) {
  animation-delay: 0s;
}
.catch_content img:nth-of-type(2) {
  animation-delay: 5s;
}
.catch_content img:nth-of-type(3) {
  animation-delay: 10s;
}
.for_sp {
  display: none;
}
.left-9 {
  left: calc(var(--spacing) * 2);
}
.top-5 {
  top: calc(var(--spacing) * 2);
}
#fixedLogo {
  opacity: 0.95;
  z-index: 100;
}
#fixedLogo img {
  height: 60px;
}
#fixedLogoHalf img {
  height: 40px;
}
.official_links {
  position: fixed;
  top: calc(var(--spacing) * 2);
  right: calc(var(--spacing) * 3);
  z-index: 100;
}
.to_official {
  display: block;
  width: 150px;
  background: linear-gradient(135deg, rgb(254, 245, 196), rgb(238, 202, 0));
  color: #000;
  border: 1px solid #fff;
  z-index: 10;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  padding: 4px 0;
  opacity: 0.99;
  z-index: 100;
  text-align: center;
  cursor: pointer;
}
.catalog_page .to_official {
  width: 158px;
}
#to_afford {
  display: block;
  width: 158px;
  height: 34px;
  line-height: 24px;
  background: linear-gradient(135deg, rgb(254, 245, 196), rgb(238, 202, 0));
  color: #000;
  border: 1px solid #fff;
  z-index: 10;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  padding: 4px 0;
  opacity: 0.99;
  z-index: 100;
  text-align: center;
  cursor: pointer;
}
#to_afford i {
  animation: blinkAnime 2s ease infinite;
}
@keyframes blinkAnime {
  0% {
    color: rgb(238, 202, 0);
  }
  50% {
    color: rgb(0, 0, 0);
  }
  100% {
    color: rgb(238, 202, 0);
  }
}
.showrooms {
  width: 150px;
  height: 160px;
  margin-top: -37px;
  padding-top: 38px;
  background: #000;
  border-radius: 4px;
  z-index: 90;
  transition: 1s;
}
.showrooms a {
  display: block;
  line-height: 2;
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  transition: 0.1s;
}
.showrooms a:hover {
  opacity: 0.96;
  color:rgb(238, 202, 0);
}
.showrooms.hide {
  height: 0;
  padding: 0;
}
.showrooms.hide a {
  height: 0;
}
.btn_pc_tel,
.btn_pc_mail {
  width: 220px;
  height: 60px;
  padding: 0;
  text-align: center;
  line-height: 60px;
  font-size: 18px;
  letter-spacing: 0;
}
.btn_pc_tel p {
  font-size: 18px;
  letter-spacing: 0;
}
.btn_sp_tel,
.btn_sp_mail {
  width: 50%;
  height: 56px;
  padding: 0;
  text-align: center;
  line-height: 56px;
  font-size: 18px;
  letter-spacing: 0;
}
.btn_pc_mail,
.btn_sp_mail {
  letter-spacing: 0.2em;
}
.btn_pc_tel p {
  font-size: 18px;
  letter-spacing: 0;
}
.bottom-5 {
    bottom: calc(var(--spacing) * 4);
}
.right-5 {
    right: calc(var(--spacing) * 4);
}
.view_btn_frame,
.view_btn_frame2,
.view_btn_frame3 {
  position: relative;
}
/* .view_btn_frame:hover::after {
  position: absolute;
  display: block;
  width: 16em;
  bottom: -20px;
  left: 0;
  text-align: center;
  word-break: keep-all;
  content: "🔍画像を押すと拡大表示されます";
} */
.view_btn_frame2::after {
  position: absolute;
  display: block;
  width: 100%;
  bottom: -40px;
  left: 0;
  color: gold;
  text-align: center;
  word-break: keep-all;
  content: "画像を押すと拡大表示されます";
}
.view_btn_frame3::after {
  position: absolute;
  display: block;
  width: 100%;
  bottom: -40px;
  left: 0;
  color: gold;
  text-align: center;
  word-break: keep-all;
  content: "画像を押すと拡大表示されます";
}
.w240 {
  width: 240px;
}
.view_btn {
  cursor: pointer;
  transition: 0.2s;
}
.view_btn:hover {
  filter: brightness(1.1);
}
.view_background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: 0.4s;
}
.view_background.not_view {
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}
.view_frame {
  display: block;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  max-width: 1000px;
  height: 90vh;
  background: #000;
  /* background: radial-gradient(#000 75% , gold);
  background: -webkit-radial-gradient(#000 75% , gold);
  background: -moz-radial-gradient(#000 75% , gold); */
  /* background: linear-gradient(45deg, #000 40%, gold , #000 65%);
  background: -webkit-linear-gradient(45deg, #000 40%, gold , #000 65%);
  background: -moz-linear-gradient(45deg, #000 40%, gold , #000 65%); */
  border: 2px solid gold;
  border-radius: 5px;
  box-sizing: border-box;
}
.view_frame div {
  width: 100%;
  height: 90vh;
  position: relative;
}
.view_frame p {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  color: gold;
  text-align: center;
  font-size: 1.2em;
}
.close_view {
  display: block;
  width: 32px;
  object-fit: contain;
  border: 1px solid #fff;
  border-radius: 3px;
  margin: 5px 5px 5px auto;
  cursor: pointer;
}
.view_img {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 98%;
  max-width: 900px;
  max-height: 80vh;
  object-fit: contain;
  pointer-events: none;
}
/* #to_expand {
  display: block;
  width: 112px;
  height: 56px;
  background: linear-gradient(#ffe68c, #dcaa5a);
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
} */
.image_frame {
  width: 98%;
  max-width: 780px;
  aspect-ratio: 14133 / 10000;
  margin: 30px auto;
}
.image_frame img {
  width: 100%;
}
.image_frame.view_expand {
  transform: scale(1.5);
}
.closed_info {
  width: 98%;
  max-width: 600px;
  padding: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: #000;
  color: #fff;
  border: 1px solid silver;
  border-radius: 5px;
  opacity: 0.95;
  transition: 1s;
  cursor: pointer;
}
.closed_info h3 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 3px;
}
.closed_info.close {
  height: 36px;
  opacity: 0.8;
}
.closed_info.close p {
  opacity: 0;
  height: 0;
}
#arrow_left {
  margin-right: 5%;
}
#arrow_right {
  margin-left: 5%;
}
.row_reverse {
  flex-direction: row-reverse;
}
#to_afford.hide {
  display: none;
}
@media(max-width:767px) {
  .for_img_frame {
    padding: 0;
  }
  .catch_content {
    width: 99%;
    max-width: 400px;
    height: 150px;
  }
  .catch_content img {
    padding-bottom: 55px;
    height: 150px;
  }
  .for_pc {
    display: none;
  }
  .for_sp {
    display: block;
  }
}
@media(max-width: 480px) {
  .left-9 {
    left: calc(var(--spacing) * 1.2);
  }
  .top-5 {
    top: calc(var(--spacing) * 1.2);
  }
  #fixedLogo img {
    height: 50px;
  }
  #fixedLogoHalf img {
    height: 35px;
  }
  .official_links {
    top: calc(var(--spacing) * 1.2);
    right: calc(var(--spacing) * 1.2);
  }
  .showrooms {
    height: 148px;
    margin-top: -32px;
    padding-top: 33px;
    background: #000;
    border-radius: 4px;
  }
  .to_official {
    font-size: 15px;
    padding: 2px 0;
  }
  #to_recommend {
    height: 28.5px;
    line-height: 22.5px;
    font-size: 13px;
    padding: 2px 0;
  }
  .view_frame {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .view_frame div {
    width: 100%;
    height: 100vh;
  }
  .view_img {
    max-height: 90vh;
  }
  .view_btn_frame2::after {
    bottom: -22px;
  }
  .view_btn_frame3::after {
    top: -24px;
    bottom: auto;
  }
}