﻿﻿/* A Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  /*min-height:100vh;*/
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html,
body {
  height: 100%;
}
body {
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
}
model-viewer {
  width: 100vw !important;
  height: 100% !important;
  background-color: #eee;
  overflow: hidden;
  --poster-color: #eee;
}

:not(:defined) > * {
  display: none;
}

.btn-ar {
  display: inline-block;

  padding: 0.5em 1em;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1em;
  white-space: nowrap;

  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 18px;
  border: 1px solid #dadce0;
  position: absolute;
  top: 16px;
  right: 16px;
}

.btn-ar:active {
  background-color: #e8eaed;
}

.btn-ar:focus {
  outline: none;
}

.btn-ar:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from {
    transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);
  }
}

@keyframes elongate {
  from {
    transform: translateX(100px);
  }
  to {
    transform: translateX(-100px);
  }
}

model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 175px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
  display: block;
}

model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}

model-viewer > #ar-failure {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 175px;
  display: none;
}

model-viewer[ar-tracking="not-tracking"] > #ar-failure {
  display: block;
}

.slider {
  width: 100%;
  padding: 0 16px;
  position: absolute;
  /* bottom: 16px; */
  bottom: 28px;
  box-sizing: border-box;
}

/* .slider {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  width: 100%;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
} */

.slide {
  /* scroll-snap-align: start; */
  flex-shrink: 0;
  width: 160px;
  height: 60px;
  /* background-size: contain;
  background-repeat: no-repeat;
  background-position: center; */
  background-color: #fff;
  margin-right: 10px;
  border-radius: 100px;
  border: none;
  display: flex;
  align-items: center;
}

.slide.selected {
  border: 2px solid #4285f4;
}

.slide:focus {
  outline: none;
}

.slide:focus-visible {
  outline: 1px solid #4285f4;
}

.slide__img {
  width: 60px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
}
.slide__img img{
  max-width: none;
}
.slide__txt {
  width: 100%;
  font-size: 0.8rem;
  color: #333;
  font-weight: 600;
  text-align: left;
  margin-left: 10px;
}
.slide__txt div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.slide__txt dt {
  font-size: 0.8em;
}
.slide__txt dt::after {
  display: inline-block;
  content: "：";
}
.slide__txt dd {
}
/* .slide__txt dd::before {
  display: inline-block;
  content: "";
  margin-right: 0.2em;
  width: 1em;
  height: 1em;
  border: 1px solid #efefef;
  position: relative;
  top: 0.1em;
}
.slide__txt dd.color-white::before {
  background-color: #e7ecef;
}
.slide__txt dd.color-rineblack::before {
  background-color: #514845;
}
.slide__txt dd.color-lightwood::before {
  background-color: #ddd6cb;
}
.slide__txt dd.color-darbrown::before {
  background-color: #896860;
}
.slide__txt dd.color-whitewood::before {
  background-color: #e1dfdb;
}
.slide__txt dd.color-mediumwood::before {
  background-color: #9e856e;
} */

.btn-info {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 8em;
  height: 2em;
  border-radius: 2rem;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 1rem;
  line-height: 1;
  color: #333;
  border: 1px solid #dadce0;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 53px;
  left: 16px;
  z-index: 100;
  cursor: pointer;
}
.btn-info:active {
  background-color: #e8eaed;
}
.btn-info:focus {
  outline: none;
}

.btn-info:focus-visible {
  outline: 1px solid #4285f4;
}

.btn-info.color-black{
  background-color: #333;
  color: #fff;
  position: absolute;
  top: 16px;
}



.sec-info > * + * {
  margin-top: 2em;
}
.info__data div {
  display: flex;
  margin-top: 0.3em;
}
.info__data div > * + * {
}
.info__data dt{
    white-space: nowrap;
}
.info__data dt::after {
  display: inline-block;
  content: "：";
}
.info__link {
  font-size: 0.8em;
}
.info__note {
  margin-top: 0.4em;
  color: #666;
  line-height: 1.2;
}

.trg-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3em;
  height: 3em;
  font-size: 10px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 1rem;
  color: #fff;
  background: #333;
  border-radius: 50%;
  position: absolute;
  top: -1em;
  right: -1em;
  cursor: pointer;
}
.trg-close i{
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    transform: rotate(45deg);
}
.trg-close i::before {
    display: block;
    content: "";
    width: 1px;
    height: 20px;
    background-color: #fff;
    position: absolute;
}
.trg-close i::after {
    display: block;
    content: "";
    width: 1px;
    height: 20px;
    background-color: #fff;
    position: absolute;
    transform: rotate(90deg);
}


html.modalset {
  overflow: hidden;
}
.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
}
.modal__wrap {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
  white-space: nowrap;
  box-sizing: border-box;
}
.modal__wrap::-webkit-scrollbar {
  display: none;
}
.modal__wrap:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 100%;
}
.modal__bg {
  width: 100%;
  height: 100%;
  background: rgba(200, 200, 200, 0.8);
  position: absolute;
  left: 0;
  top: 0;
}
.modal__container {
  width: 100%;
  max-width: 900px;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  position: relative;
}
.modal__container .inner {
  padding: 3em;
  margin: 2em 0;
  text-align: left;
  color: #333;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

  position: relative;
}
.modal__container .inner > :first-child {
  margin-top: 0;
}

.btn-iosAR{
  position: relative;
  opacity: 0;
  z-index: -1;
}


.modal__bg.pre{
  background: rgba(30, 30, 30, 0.8);
}
.modal__container.pre{
  max-width: 740px;
}
.modal__container.pre .inner {
  padding: 0;
  margin: 0;
  text-align: center;
  background-color: none;
  border-radius: 0;

  animation: fadein .8s;
}

.trg-close.pre{
  background: none;
  position: fixed;
  top: 20px;
  right: 20px;
}
.trg-close.pre i{
    width: 30px;
    height: 30px;
}
.trg-close.pre i::before {
    height: 40px;
}
.trg-close.pre i::after {
    height: 40px;
}

@keyframes fadein{
  0%{ transform: translateY(10px); opacity: 0;}
  100%{ transform: translateY(0);  opacity: 1;}
}


.icn-new{
  position: relative;
}
.icn-new::after{
  display: inline-block;
  content: "NEW";
  background: red;
  border-radius: 50%;
  position: absolute;
  top: -0.8rem;
  right: -1rem;
  font-size: 10px;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
}


/* 注釈の追記 */
/* 親要素を相対位置に */
[data-topbord="Rusty_White"],[data-topbord="Rusty_Black"] {
  position: relative;
}

[data-topbord="Rusty_White"]::after,[data-topbord="Rusty_Black"]::after {
  content: "※天板の厚みが他の天板と異なります。";
  font-size: 10px;
  position: absolute;
  bottom: -2em;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}