*,
*:before,
*:after {
  box-sizing: inherit;
}


html {
  box-sizing: border-box;
  font-size: 14px;
  width: 100%;
  height: 100%;
}

body {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

main {
  width: 100%;
  height: 100vh;
}

.nav_block {
  padding: 5px 10px;
  margin-bottom: 50px;
  height: 10%;
}

.logo {
  position: relative;
  top: 0;
  left: 0;
  cursor: pointer;
  padding: 10px 10px 20px;
  height: 70%;
  width: 150px;
  background-image: url('logo2.png');
  background-size: contain;
}

.logo:hover {
  animation: 3s linear infinite rotation;
  background-image: url('logo.png');
}

  @keyframes rotation {
    0% {
      transform: rotateY(0);
      background-image: url('logo2.png');
    }
    50%{
      transform: rotateY(180deg);
      background-image: url('logo.png');
    }

    100% {
      transform: rotateY(360deg);
      background-image: url('logo2.png');
    }
  }


.setting{
  height: 30%;
}
.logout_icon{
  transform: rotateX(180deg);
}
  .logout{
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    width: fit-content;
  }
  .logout_icon::before{
    content: '\f2f5';
    font-family: Font Awesome\ 5 Free;
  }
  .logout:hover .logout_icon::before{
    content: '\f70c';
    font-family: Font Awesome\ 5 Free;
  }
  
  .logout a{
    color: #0c3702;
  }
  .logout a:hover{
    color: #962d2d;
  }

.logouticon {
  margin: 0 5px;
}
/*
.account {
  border: 2px solid #0c3702;
  border-radius: 5px;
  background: #0c3702;
  padding: 5px;
  text-align: center;
  width: fit-content;
}

.account:hover {
  border: 2px solid #d5d5d5;
  background: #962d2d;
}

.account a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}
*/

.usericon {
  margin: 0 5px;
}

.menu_box {
  list-style: none;
  display: none;
  gap: 10px;
  margin-bottom: 5px;
  align-items: center;
  flex-wrap: wrap;
}

.menu_box li {
  padding: 3px 10px;
  border: solid 1px #000;
  border-radius: 5px;
  background: #000;
  cursor: pointer;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
  flex-wrap: wrap;
}

.menu_box li:hover {
  border: solid 1px #ffffff;
  background: #525151;
}

#menu {
  position: relative;
  width: 100%;
}

.photo {
  padding: 0;
}

.search {
  font-weight: bold;
  color: #fff;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(147deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 74%);
}

.search_box {
  border: 10px double rgba(255, 255, 255);
  border-radius: 5px;
  margin-bottom: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 10px;
}

#menu .capacity {
  color: #fff;
}

#menu .tube_name {
  color: orange;
}

#menu .box_name {
  color: rgb(229, 226, 143);
}

#menu .EX {
  color: rgb(27, 162, 208);
}

#menu .IN {
  color: rgb(221, 65, 190);
}

.select_all {
  cursor: pointer;
  background: #000;
  color: #fff;
  font-weight: bold;
  border: 1px solid #fff;
  padding: 3px;
  width: 100px;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 5px;
}

.select_all:hover {
  background: #fff;
  border: 2px solid #000;
  color: #000;
}

.patern {
  cursor: pointer;
  font-size: 1.3rem;
  padding: 3px 2px;
  font-weight: bold;
  color: #333;
  display: flex;
}

.patern span {
  display: block;
  width: 100px;
}

.patern::after {
  content: '\f0d7';
  font-family: Font Awesome\ 5 Free;
  font-size: 2rem;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
}

.page_title {
  text-align: center;
  padding: 50px 0;
  text-shadow: 3px 3px rgba(0, 0, 0, 0.2);

}

.table_search {
  position: relative;
  width: 100%;
  padding: 0 20px 0;
}

.table_data {
  position: relative;
  margin: 0 auto;
  top: 0;
  left: 0;
  height: 100%;
  padding: 0 20px 100px;
}

.result {
  text-align: left;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 5px;
  text-shadow: 2px 2px #ccc;
}

#actual-content {
  padding: 0 0 100px;
}

table {
  position: relative;
  top: 0;
  left: 0;
  border-collapse: collapse;
  width: fit-content;
  padding: 0 10px 10px 0;
}

#tableHead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}

th {
  background: rgb(199, 196, 196);
  font-weight: bold;
  border: 1px solid #ccc;
}

td {
  height: 250px;
  width: auto;
  border: 1px solid #ccc;
}

td.freezebox {
  background: rgba(24, 85, 2, 0.1);
  max-width: 300px;
}

.product_name {
  font-size: 1.1rem;
  white-space: nowrap;
  text-align: center;
  width: fit-content;
}

.photo img {
  margin: 0 auto;
}

.select_data::after {
  content: '\f0a7';
  font-family: Font Awesome\ 5 Free;
  padding: 5px;
}

.model {
  padding: 0;
}

img {
  height: 100%;
  width: auto;
}

td.EX {
  background: rgba(184, 221, 251, 0.2);
}

td.IN {
  background: rgba(224, 198, 234, 0.2);
}

.txtEX {
  font-style: italic;
  text-align: center;
  color: rgba(26, 80, 187, 0.5);
}

.txtIN {
  font-style: italic;
  text-align: center;
  color: rgba(160, 100, 174, 0.5);
}

.txtBOX {
  font-style: italic;
  text-align: center;
  color: rgba(44, 108, 52, 0.5);
}

.scale {
  display: flex;
  padding: 0;
  flex-wrap: nowrap;
  height: 250px;
  margin: 0 auto;
}

.memori {
  text-align: right;
}

.volume {
  text-align: center;
  padding: 0 3px;
}

.spetification p {
  text-align: center;
  padding: 0 10px;
}

model-viewer {
  width: 300px;
  height: 250px;
}

.fullscreen-button {
  display: none;
}


.big_zoom {
  padding: 5px;
  color: #fff;
  font-size: 2rem;
}

.parts {
  width: 250px;
  padding: 10px;
}

.slider {
  width: 150px;
  margin: 0 auto;
}

.patern_name {
  text-align: center;
  padding: 3px
}

.slider_photo {
  position: relative;
  display: flex;
  align-items: center;
  height: 250px;
  width: fit-content;
}

.slider li {
  list-style: none;
  cursor: pointer;
}

.thumnail_item {
  cursor: pointer;
  height: auto;
  width: 100%;
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  /*絶対配置にする*/
  bottom: 5px;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;
  /*矢印の色*/
  border-right: 2px solid #666;
  /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  /*ドットボタンのサイズ*/
  height: 8px;
  /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc;
  /*ドットボタンの色*/
}

.slick-dots .slick-active button {
  background: #333;
  /*ドットボタンの現在地表示の色*/
}

/* photo zoom */

#zoom5 {
  display: none;
}


.zoomback {
  position: fixed;
  width: 100%;
  height: 100vh;
  padding: 20px;
  top: 0;
  left: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

#zoom5_outline {
  position: relative;
  width: auto;
  height: 40%;
}

#zoom5_btn {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  padding: 0 20px;
}

#zoom5_btn::before {
  content: '\f057';
  font-family: Font Awesome\ 5 Free;
}

#zoom5_btn:hover {
  color: #6ba3f7;
}

.zoomimg_box {
  width: 100%;
  height: 100%;
}

#zoomimg5 {
  width: auto;
  height: 100%;
}

/*プルダウンメニュー*/

#pull_model {
  cursor: pointer;
  padding: 0 20px;
  text-align: center;
  border: solid 2px #ccc;
  text-align: center;
}

.focus_box {
  cursor: pointer;
  padding: 0 5px;
}

#model_data {
  display: none;
}

/*トップへ戻る*/
#page_top {
  width: 90px;
  height: 90px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  margin: 5px;
  background: #000;
  opacity: 0.8;
  border-radius: 50%;
  z-index: 500;
}

#page_top a {
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
  margin: 0 auto;
}

#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#page_top a::after {
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

@media screen and (max-width: 767px) {

  #dummy-scrollbar::-webkit-scrollbar {
    height: 20px;
  }

  #dummy-scrollbar::-webkit-scrollbar-track {
    background-color: #a3acb4;
  }

  #dummy-scrollbar::-webkit-scrollbar-thumb {
    background-image: linear-gradient(90deg, rgba(255, 135, 68, 1), rgba(9, 103, 194, 1) 69%, rgba(0, 0, 0, 1));
    border-radius: 8px;
  }

}

@media screen and (min-width: 768px) {
  .all_block {
    width: fit-content;
    margin: 0 auto;
  }

  .product_name {
    font-size: 1.1rem;
  }
  .logo{
    width: 200px;
  }
  .account {
    padding: 5px;
  }

  .account a {
    font-size: 1.2rem;
  }

  th,
  td {
    padding: 5px 10px;
  }

  ul.menu_box {
    display: flex;
  }

  #menu {
    width: 75%;
  }

  .search {
    font-size: 1.2rem;
  }

  .patern {
    font-size: 1.2rem;
    padding: 3px 2px;
  }

  .slider {
    width: 200px;
  }

  .slider_photo {
    width: auto;
  }

  .slick-next {
    right: 10%;
  }

  .slick-prev,
  .slick-next {
    height: 10px;
    width: 10px;
  }

  model-viewer {
    width: 500px;
    height: 250px;
  }

  .fullscreen-button {
    display: block;
  }

  .fullscreen-button:has(#big) {
    color: #000;
    padding: 10px;
    font-size: 2rem;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .fullscreen-button:has(#close) {
    color: #000;
    padding: 5px;
    font-size: 2rem;
    position: absolute;
    top: 0;
    left: 0;
  }

  .fullscreen-button {
    margin: 10px;
  }

}

@media screen and(min-width: 1200px) {
  .search_box {
    width: 100%;
  }
}