@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;
  --color-beige:#ffe9bd;
}

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

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

.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)), url(../img/bg_top.jpg) center top / 100% 100%;
  display:grid;
  place-items:center;
  padding: 80px 20px 0;
  gap:60px;
}

.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;
}

.head-lineup {
  --border-color:#bcbcbc;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  background: linear-gradient(to bottom, var(--border-color));
  background-repeat: no-repeat;
  background-size: 1px 100%;
  background-position: center;
}

.head-lineup section {
  min-width: 0;
  padding-bottom: 2em;
  padding: 30px;
}

.head-lineup section:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.head-lineup section h3 {
  font-size: 20px;
  font-weight:bold;
  text-align:center;
  margin-bottom:1em;
  background: var(--color-beige);
  padding: 10px;
}

.pt-movie {
  margin-bottom: 2em;
}

.pt-movie iframe {
  width:100%;
  height:100%;
  vertical-align: bottom;
}

.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 var(--color-orange);
  padding-top: 1.2em;
  color: #8b5b00;
}

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

.head-lineup section > div:last-child {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.head-lineup section > div:last-child > div:first-child {
  width: 150px;
}

.head-lineup section > div:last-child > div:last-child {
  flex:1;
  display: grid;
  place-items: center;
}

.head-lineup section > div:last-child > div:last-child > div:last-child {
  display:flex;
  margin-top:1em;
  gap:1em;
}

.head-lineup section > div:last-child > div:first-child img {width: 100%;}


.pt-products h3 {
  margin: 20px auto;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
  background: var(--color-beige);
  padding: 10px;
}

.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) + h4 {
  font-weight:bold;
  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%;
}


.pt-feature {
    margin-top: auto;
    display: grid;
    items: center;
}

.pt-feature ul {
  --gap2: 8px;
  display: flex;
  flex-wrap:wrap;
  gap: var(--gap2);
  padding-top: .5em;
  margin: 0 auto 1em;
  justify-content: center;
}

.pt-feature li {
    width: calc((100% - var(--gap2))/2);
    max-width: 212px;
    background: orange;
    color:white;
    font-size: 13px;
    padding: 7px 23px;
    text-align:center;
    word-break: auto-phrase;
    border-radius: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    line-height: 1.4;
    color:white;
    margin-top: 5px;
}

.pt-feature li span {
  display:inline;
}

li.front {background: #cd7f32;}
li.ply1 {background: #99c0e5;}
li.ply2 {background: #5c92c4;}
li.coated {background: #ababab;}
li.clear {background: #e0e0e0;color: black;}
li.oil {background: #e8bb25;}


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;
    text-align: center;
    
    
  &: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;
}

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

a.pt-movie img {
  width:100%;
}

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: 80px;
}

.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;
}


@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-header {
  flex-direction: column;
  padding: 30px 15px;
  height: auto;
  }
  
  .pt-header div {
  overflow-x: scroll;
  width: 100%;
  }
  
  .pt-header ul {
  display: block;
  width: 500px;
  justify-content: center;
  }
  .pt-header ul li {float: left;margin-left: 20px;}
  
  .pt-feature li {
    font-size:12px;
  }

  .pt-top p {
    /* padding: 1.5em; */
  }

  .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: 24px;
  }

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

  .pt-note {
    padding: 1.5em;
    margin: 3.5em 1.5em 1.5em;
  }

  .pt-note h3 {
    font-size: 1.1em;
  }

  .pt-note:after {
    top: -51px;
    left: 20px;
    right: 0;
    margin: auto;
    width: 85px;
    rotate: 0deg;
  }

  .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-top h2 img:first-child {
    width: 270px;
  }

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

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

  .pt-top {
    padding: 50px 20px 0;
    gap: 30px;
  }

  .head-lineup {
    grid-template-columns: repeat(1, 1fr);
    background: none;
  }

  .head-lineup section h3 {
    font-size: 18px;
    padding: 7px;
  }

  .head-lineup section {
    padding: 25px 15px 80px 15px;
    position: relative;
  }

  .head-lineup section > div:last-child > div:first-child {
    width: 110px;
  }

  .head-lineup section > div:last-child > div:last-child > div:last-child {
    width: 300px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 25px;
  }

  .pt-products > ul > li {
    flex: 1 1 40%;
    padding: 10px;
  }

  .pt-products > ul {
    --gap: 15px;
  }

  .pt-products > ul > li img {
    height: 100px;
  }

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

}
