@charset "utf-8";

html { scroll-behavior: smooth; }
#globalMain, #globalContents{ overflow: visible; }
#globalWrapper { box-sizing: border-box; }


/* Variables & Setup -------------------- */
:root {
  scroll-padding: 100px;
}


.pt-container {
  container-type: inline-size;
  container-name: pt-container;
  --color-orange:#de800a;
}

.pt-wrapper {
  container-type: inline-size;
  container-name: pt-wrapper;
  font-size:16px;
  line-height:1.7;
}

.pt-wrapper img {
  height: auto;
  max-width: 100%;
  object-fit: contain;
  vertical-align: bottom;
}

.pt-top {
  background: linear-gradient(rgb(255 255 255 / 0%), rgb(255 255 255 / 100%)), url(../img/bg_top.jpg?w) center top / 100%;
  display:grid;
  place-items:center;
  padding: 50px 20px 0;
}

.pt-top > * {
  max-width: 1050px;
}

.pt-top h2 {
  display:grid;
  gap: 40px;
  place-items:center;
  filter: drop-shadow(0px 0px 6px white);
}

.pt-top h2 img {
  width: 550px;
}

.pt-top h2 img:first-child {
  width:400px;
}

.pt-wrapper * { box-sizing: border-box; }

.pt-wrapper section > h2{
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  font-family: arial;
  margin: 1.9em 0 1.2em;
  line-height: 1.4;
  display: grid;
  gap: 5px;
  border-top: 1px dotted #ffa600;
  padding-top: 1.2em;
  color: #8b5b00;
}

.pt-wrapper h2 span {
  text-align:center;
  font-size: 18px;
  color: #363636;
}


.pt-products > ul {
    display: flex;
    --gap:20px;
    gap: var(--gap);
    margin-bottom: 3em;
    flex-wrap: wrap;
}

.pt-products > ul > li {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  background: whitesmoke;
  padding: 20px;
}

.pt-products > ul > li h3 {
  text-align:center;
  font-size: 18px;
  font-weight: bold;
  margin: 0em 0 1em;
}

.pt-products > ul > li > div:nth-of-type(1) {
  text-align:center;
  padding: 10px;
  background: white;
  margin-bottom: 1em;
}

.pt-products > ul > li > div:nth-of-type(1) + p {
  font-weight:bold;
  margin:.5em 0;
  text-align:center;
}

.pt-products > ul > li > p:nth-last-of-type(1) {
  margin-bottom:1em;
}

.pt-products > ul > li img {
  height: 210px;
  max-width: 300px;
  width: 100%;
}

a.pt-lineup {
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
    display: block;
    margin: auto auto 0;
    padding: 5px 15px;
    font-weight: bold;
    transition:.4s;
  &:hover {
    background: var(--color-orange);
    color:white;
    text-decoration:none;
  }
}

.pt-about {
  margin-top: 50px;
}

.pt-about > div:first-child {
  background: whitesmoke;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 30px 30px 30px 50px;
  width: 100%;
}

.pt-about > div:first-child > div:first-child {
  flex:1;
  word-break: auto-phrase;
}

.pt-about > div:first-child > div:first-child h2 {
  font-weight:bold;
  font-size:24px;
  display:flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 1em;
}

.pt-about > div:first-child > div:first-child h2 img {
  height:30px;
}

.pt-about > div:first-child > div:last-child {
  width: 320px;
}

.pt-about > div:first-child > div:first-child a {
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
    display: block;
    max-width: 400px;
    margin: 35px auto 20px;
    text-align: center;
    padding: 5px 15px;
    font-weight: bold;
    transition:.4s;
  &:hover {
    background: var(--color-orange);
    color:white;
    text-decoration:none;
  }
}


/*========================= */


.pt-wrapper *:is(.pt-carousel) .swiper-slide a:link,
.pt-wrapper *:is(.pt-carousel) .swiper-slide a:visited {
  color: black;
}

li a.pt-movie {
  display: block;
  position: relative;
}

li a.pt-movie::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  top: 0;
  left: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="100%" version="1.1" viewBox="0 0 68 48" width="100%" fill="%23ffffff"><path d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="%23f00"></path><path d="M 45,24 27,14 27,34" fill="%23fff"></path></svg>') no-repeat center center;
  background-size: 25%;
}

.swiper-slide img {
    width: 100%;
}

.swiper-slide p {
  margin-top: .5em;
  text-align: center;
  word-break:auto-phrase;
}


.pt-table {
  overflow: auto;
}

.pt-table table {
  width:100%;
  table-layout: fixed;
  border-collapse:initial;
}
.pt-table th,
.pt-table td {
  padding: 4px 3px;
  border: solid #ccc;
  border-width:0 1px 1px 0;
  font-size: 15px;
  line-height:1.4;
  text-align: center;
  vertical-align: middle;
}
.pt-table th {
  background: #898989;
  color: #fff;
  font-weight: bold;
  position: sticky;
}
.pt-table th a {
  color:white;
  text-decoration: underline;
}
.pt-table th a:hover {
  text-decoration: none;
}
.pt-table th:first-child {
  left:0px;
  z-index: 1;
}
.pt-table tr:first-child th {
  top:0;
}
.pt-table tr:first-child th:first-child {
    z-index: 2;
}
.pt-table tr:nth-child(odd) {
  background-color: #f5f5f5;
}
.pt-table img {
  max-width:100%;
  height: auto;
  padding:10px;
  box-sizing: border-box;
}

.no-swiper ul {
  justify-content:center;
  align-items:center;
  display: flex;
}

.no-swiper .swiper-button-next, .swiper-button-prev {
  display:none;
}

@media (max-width: 801px){
  .pt-table th,
  .pt-table td {
    padding: 2px 2px;
    font-size: 12px;
  }
}


@media (min-width: 900px) {
  .swiper-sp .swiper-wrapper {
    display: flex;
    gap: 32px;
    justify-content: center;
  }
  .swiper-sp .swiper-slide {
    width: calc((100% - 32px*3) / 4);
  }
  .swiper-sp *:is(.swiper-button-prev, .swiper-button-next) {
  display:none;
  }
}


@container pt-container (max-width: 700px){

  .pt-top h2 {
    gap: 30px;
    margin-bottom: 22px;
  }

  .pt-top h2 img:first-child {
    width: 230px;
  }

  .pt-top h2 img {
    width: 310px;
  }

  .pt-top p {
    padding: 1em 0;
  }

  .pt-wrapper {
    font-size: 14px;
  }

  .pt-products > ul {
    flex-direction: column;
    margin: 15px;
  }

  .pt-wrapper .pt-products > ul > li {
    width: 100%;
    max-width: none;
  }

  .pt-wrapper section > h2 {
    font-size: 22px;
    padding: 1.2em 20px 0;
    word-break: auto-phrase;
    margin: 1.9em 0 0.9em;
  }

  .pt-note:before {
    display: none;
  }

  .swiper {
    padding: 0 1.5em;
  }

  .pt-about > div:first-child {
  flex-direction: column;
  padding: 3.5em 1.5em 1.5em;
  }

  .pt-about > div:first-child > div:first-child h2 {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 11px;
    font-weight: bold;
    margin-bottom: 1em;
  }

  .productall-link img {
    width: 200px;
  }

  .productall-link {
    text-align: center;
  }

    .pt-about > div:first-child > div:first-child h2 img {
    height: 25px;
  }
  .pt-wrapper h2 span {
    font-size: 14px;
    word-break: auto-phrase;
    margin: 0 10px;
    line-height: 1.7;
  }
  
  .pt-category ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .pt-recommended-items > div {
    margin: 15px;
    grid-template-columns: repeat(2, 1fr);
  }

  .pt-table table {
      width: 770px;
  }

  .pt-table table th:first-child {
      width: 70px;
  }

}
