#shopify-section-announcement-bar {
    position: relative;
    z-index: 10;
}
.container {
    max-width: 1180px;
    margin: 0 auto;
}
#main .container p {
    font-size: 14px;
}
.main-content > div {
    position: relative;
    background: var(--header-color);
    z-index: 1;
}
.mainvisual {
    height: 56.2vw;
    max-height: calc(100vh - 77px);
    position: relative;
    background: none;
    z-index: -1;
    top: 0px;
}
.mainvisual .bg div {
  content: '';
  display: block;
  background: rgba(0,0,0,.4);
  width: 100%;
  height: 100%;
}
.mainvisual video {
    display: none;
}

#ytPlayerWrap, .mainvisual > div:first-child {
    position: fixed;
    height: 56.2vw;
    max-height: calc(100vh - 77px);
    width: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center center;
}
.modelname {
    text-align: center;
    padding: 50px 0 60px;
}
.modelname h2 br {
    display: none;
}
.modelname h1 {
    font-size: 40px;
    letter-spacing: 0;
    line-height: 1.4;
    /*max-width: 360px;*/
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    font-family: "Noto Sans",sans-serif;
    font-weight: 700;
    text-shadow: 0 0 3px #eee;
}
.modelname p {
    text-shadow: 0 0 3px #eee;
    font-weight: 600;
    font-size: 16px;
}

.relative {
    position: relative;
    height: 60vw;
    max-height: 853px;
}

.allmodel {
    position: relative;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
}

.allmodel img {
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    max-width: auto;
    transform: translate(-50%);
}

.message1, .message2 {
    text-align: center;
}
.message1 h2, message2 h2 {
    margin: 30px 0 20px;
}
.product-lineup {
    padding: 0 0 50px;
}
.product-lineup .slider .slide {
    margin: 0 10px;
}
.product-lineup .slider .slide img {
    width: 100%;
}
.product-lineup .slider .slide p {
    margin: 20px 0 0;
}
.product-lineup .slider .slide p + p {
    margin-top: 5px;
}
.section {
    padding: 50px 0;
}
.section.message1 {
    padding: 20px 0 40px;
}
.section.message2 {
    padding: 0;
}
.section.detail {
  padding-top: 0;
}
.section.product-lineup {
  padding-top: 0;
}
.section-title {
    text-align: center;
    padding: 30px 0 40px;
}
.product-lineup .section-title {
    padding-bottom: 50px;
}
#lineup .section-title {
    padding-bottom: 30px;
}
.section-title h2 {
    margin: 0;
    font-size: 32px;
}
.section-title h3 {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: normal;
}
.section-title hr {
    display: none;
    width: 80px;
    margin: 40px auto;
}
.advisers {
    padding: 0 0 100px;
}
.adviser  {
    padding: 0 30px 30px;
}
.adviser p {
    text-align: left;
}
.content#supervisor {
    padding-bottom: 0;
}
.adviser h3 {
    text-align: center;
    margin: 0 0 20px;
}
.adviser h3 span {
    display: block;
    font-size: 14px;
    text-align: center;
    letter-spacing: 1px;
}
@media screen and (max-width: 1180px) {
  .relative {
    height: auto; }

  .allmodel {
    width: 120%;
    height: 80vw;
    max-height: 80vw;
    overflow: hidden;
    transform: translateX(-50%);
    left: 50%; 
  }

  .allmodel img {
    width: 100%;
    max-width: 100%; 
  }
}
@media screen and (max-width: 767px){
  .adviser  {
    padding: 0 0px 10px;
  }
  .adviser h3 {
    margin: 0 0 10px;
  }

}

.slider {
    padding-left: 40px;
    padding-right: 40px;
}
.slider .slick-arrow {
    display: block;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #666;
}
.slider .arrow-left {
    left: 10px;
    z-index: 1;
}
.slider .arrow-right {
    right: 10px;
}
#shopify-section-footer--newsletter {
    background: white;
}
#shopify-section-footer--newsletter,
#shopify-section-footer
{
    position: relative;
    z-index: 1;
}
.btn-wrapper {
    text-align: center;
    padding: 50px 0 30px;
    background: #fcfcfc;
}
.btn {
    padding-left: 20px;
    padding-right: 20px;
}
.slideshow {
    padding: 0 0 80px;
}
.slideshow img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.titlebox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: white;
}
.titlebox img {
  height: 56px;
  width: auto;
}
.titlebox h1 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 40px;
  text-shadow: 0 0 6px #555;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
}
.titlebox h2 {
  color: white;
  text-align: center;
  font-size: 20px;
  text-shadow: 0 0 6px #555;
}
.titlebox .description {
  text-align: center;
  font-weight: 600;
  text-shadow: 0 0 6px #555;
  font-size: 16px;
}
.maintitle {
  margin: 50px 0;
}
.subtitle {
  font-size: 16px;
  margin: -30px 0 50px;
}
.btn.doubleline {
  padding: 3px;
}
.btn.doubleline span {
  content: '';
  display: block;
  border: 1px solid #fff;
  padding: 10px 40px;
  font-size: 17px;
}
.btn.doubleline span:before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  margin-right: 1rem;
}
.shg-box-vertical-align-wrapper {
  background: #fcfcfc;
}
.colored .shg-box-vertical-align-wrapper {
  background: #e9e9e9;
}
.shg-box.shg-c {
  margin-bottom: 80px !important;
}
 
.vline {
        text-align: center;
}
.vline span {
    display: inline-block;
}
.vline:before {
    content: '';
    display: inline-block;
    width: 80px;
    border-top: 1px solid #666;
    position: relative;
    transform: rotateZ(45deg);
    top: -10px;
}
.vline:after {
    content: '';
    display: inline-block;
    width: 80px;
    border-top: 1px solid #666;
    position: relative;
    transform: rotateZ(-45deg);
    top: -10px;
}
@media (max-width: 767px) {
    .vline:before,
    .vline:after {
        content: none;
    }
}
.template-collection .footer-members {
  display: none;
}

@media screen and (max-width: 767px){
  .hide-on-smp {
    display: none;
  }
  .hide-on-pc {
    display: block;
  }

  .container {
      padding: 0 20px;
  }
  .am-text {
      font-size: 21px;
      padding-top: 48%;
  }
  .modelname {
    padding: 50px 20px 40px;
  }
  .mainvisual {
      top: 0px;
      height: 100vh;
  }
  .mainvisual .bg div {
    display: none;
  }
  .mainvisual video {
      width: 100%;
      display: block;
  }
  .mainvisual video.fixed {
      position: fixed;
      top: 77px;
  }
  .subcategory.mainvisual {
    height: auto;
  }
  .subcategory-individual .mainvisual {
      top: 0px;
      height: 0;
      display: none;
  }
  .subcategory-individual .mainvisual video {
      width: 100%;
      display: none;
  }
  .subcategory-individual #ytPlayerWrap {
      display: none !important;
  }
  .wrapper.main-content.subcategory-individual {
      top: 10px;
      overflow-x: hidden;
  }
  
        
  .subcategory .modelname,
  .mainvisual+.modelname
  {
    padding: 20px 30px 20px;
  }
  .subcategory > div:first-child {
    position: relative;
    height: 100vw;
    background-size: cover;
    background-position: center center;
    margin-top: 270px;
  }
  
  .modelname h1 {
      font-size: 28px;
  }
  .message1 h2, .message2 h2 {
      font-size: 24px;
      margin-bottom:  30px;
  }
  .section {
      padding: 30px 0;
  }
  .section-title {
    padding-bottom: 20px;
  }
  .product-lineup .section-title {
      padding-top: 0;
  }
  #lineup .section-title {
    padding-top: 0px;
  }
  .section-title h2 {
      font-size: 24px;
  }
  
  .allmodel {
      width: 100%;
      height: 110vw;
      max-height: 110vw;
      overflow: hidden;
  }
  .allmodel img {
      width: 160%;
      max-width: 160%;
      transform: translateX(-50%);
      left: 50%;
  }
  
  .slideshow {
      padding: 0 0 50px;
  }
  .titlebox img {
    height: auto;
    max-width: 320px;
  }
  
  .subcategory .titlebox {
    color: #555;
    width: 90%;
    position: absolute;
    top: -270px;
    padding-top: 270px;
  }
  .subcategory .titlebox h1 {
    font-size: 28px;
    text-shadow: 0 0 3px #eee;
  }
  .subcategory .titlebox .description {
    text-shadow: 0 0 3px #eee;
  }
}
