@charset "UTF-8";

#product {
  max-width: 1920px;
  margin-inline: auto;
  width: 100%;
  background: #E5E2DD;
}


/* ========================================
  @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px),
print {


.wysiwyg h1 { font-size: 20px; line-height: 1.6; letter-spacing: 1px;  }
.wysiwyg h2 { border-bottom: 1px solid  #888;}
.wysiwyg h3 { border-left: 3px solid  #888; padding: 0 0 0 15px;}
.wysiwyg h4 { margin: 32px 0 16px 0; font-size: 18px; line-height: 1.6; letter-spacing: 1px;  }
.wysiwyg h5 { margin: 32px 0 16px 0; font-size: 14px; line-height: 1.6; letter-spacing: 1px;  }
.wysiwyg h6 { padding: 10px 0 12px 0;margin: 32px 0 16px 0; border-bottom: 1px dotted #888; font-size: 14px; line-height: 1.6; letter-spacing: 1px; }


  /* product -----------------------------------*/
  .main-ttl-box {
    background: url(../images/product/main-ttl-bg.jpg) no-repeat center;
    background-size: cover;
    height: calc(772 / 1920 * 100vw);
  }
  #product main {
    width: 100%;
  }
  #product .system-contents {
    width: 100%;
  }

  #product .system-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 60px;
    width: min(95%, 1200px);
    margin-inline: auto;
    margin-bottom: 100px;
  }

  #product .system-list .system-pic {
    height: auto;
    margin-bottom: 20px;
    overflow: hidden;
    aspect-ratio: 570 / 420;
  }

  #product .system-list .system-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
  }

  #product .system-list li:hover img {
    transform: scale(1.1);
  }

  #product .system-list .system-ttl-01 {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.08em;
  }

  #product .system-cat {
    display: flex;
    flex-wrap: wrap;
    gap:7px 10px;
    margin: 0 0 40px 0;
  }
  #product .system-cat-item {
    padding: 4px 20px;
    font-size: 13px;
    line-height: 2;
    letter-spacing: 0.08em;
    border:1px solid #888
  }


/*******************
    詳細ページ
********************/
  .p-product-detail article {
    margin-top: 10px;
  }
  .p-product-detail .head {
    margin-top: 7px;
    margin-bottom: 70px;
  }
  .p-product-detail .thumbnail {
    width: min(95%, 1000px);
    margin-inline: auto;
    text-align: center;
    margin-bottom: 54px;
  }
  .p-product-detail .thumbnail img {
    max-height: 750px;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  .p-product-detail .head .ttl {
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.833;
    letter-spacing: 0.08em;
    text-align: center;
  }
  .p-product-detail .head .system-cat-item {
    padding: 4px 20px;
    font-size: 18px;
    line-height: 2;
    border:1px solid #888;
  }
  .p-product-detail .head .system-cat {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 15px;
  }

  .p-product-detail .body {
    width: min(95%, 1530px);
    margin-inline: auto;
    margin-bottom: 170px;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 2.4444;
    letter-spacing: 0.08em;
  }

  .p-product-detail .body figure{ text-align: center;}

  .p-product-detail .body h1,
  .p-product-detail .body h2,
  .p-product-detail .body h3,
  .p-product-detail .body h4,
  .p-product-detail .body h5,
  .p-product-detail .body h6,
  .p-product-detail .body p,
  .p-product-detail .body a{
    width: 1000px; margin: 0 auto 30px;
  }
  .p-product-detail .body li{
    width: 1000px; margin: 0 auto;
  }

 .p-product-detail .body p + p {
    margin-bottom: 30px;
  }

  .p-product-detail .body ul{
    margin-bottom:30px;
  }




  /* gallery */
  .p-product-detail .gallery {
    margin-bottom: 321px;
  }
  .p-product-detail .gallery__title {
    margin-bottom: 109px;
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
  }
  .p-product-detail .gallery__list {
    width: min(95%, 1280px);
    margin-inline: auto;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 40px;
  }
  .p-product-detail .gallery__item {
    margin-bottom: 20px;
  }
  .p-product-detail .gallery__item a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  .p-product-detail .gallery__image {
    margin-bottom: 10px;
  }
  .p-product-detail .gallery__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .p-product-detail .gallery__caption {
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.08em;
    font-size: 14px;
  }
  .p-product-detail .gallery .gallery__btn-wrap {
    max-width: 540px;
    margin-inline: auto;
    padding-inline: 20px 18px;
    padding-bottom: 23px;
    border-bottom: 1px solid #1A1A1A;
  }
  .p-product-detail .gallery .gallery__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
  }
  .p-product-detail .gallery .gallery__btn:hover {
    opacity: 0.7;
  }
  .p-product-detail .gallery .gallery__btn span.gallery__btn-arrow {
    transition: transform 0.3s ease;
  }
  .p-product-detail .gallery .gallery__btn span.gallery__btn-arrow img{
   width: 20px;
  }

  .p-product-detail .gallery .gallery__btn:hover span.gallery__btn-arrow {
    transform: translateX(10px);
  }

  /* more product */
  .p-product-detail .more {
    padding-bottom: 120px;
  }
  .p-product-detail .more__title {
    margin-bottom: 121px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
  }
  .p-product-detail .more__list-title {
    margin-bottom: 30px;
  }
  .p-product-detail .more__list {
    width: min(95%, 1280px);
    margin-inline: auto;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 40px;
    row-gap: 114px;
    row-gap: 35px;
  }
  .p-product-detail .more__item {
    margin-bottom: 20px;
  }
  .p-product-detail .more__image {
    margin-bottom: 15px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
  }
  .p-product-detail .more__item .more__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease-in-out;
  }
  .p-product-detail .more__item:hover .more__image img {
    transform: scale(1.1);
  }
  .p-product-detail .more__list-title {
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    font-size: 14px;
  }

  .p-product-detail .c-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    margin:0 0 4rem 0;
  }
}



/* ========================================
  @media screen and (min-width: 768px) and (max-width: 1024px),print
======================================== */
@media screen and (min-width: 768px) and (max-width: 1024px),print {
  #product .system-list {
    gap: 60px 24px;
  }
}


/* ========================================
  @media screen and (min-width:768px) and (max-width:1020px)
======================================== */
@media screen and (min-width:768px) and (max-width:1020px) {
.p-product-detail .body h1,
.p-product-detail .body h2,
.p-product-detail .body h3,
.p-product-detail .body h4,
.p-product-detail .body h5,
.p-product-detail .body h6,
.p-product-detail .body p,
.p-product-detail .body a{width: 90vw;margin: 0 auto 2.941vw;}
.p-product-detail .body li{width: 90vw;margin: 0 auto;}
}


/* ========================================
  @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {

.wysiwyg h1{font-size:4.83vw;line-height:1.6;letter-spacing:0.25vw;}
.wysiwyg h2{border-bottom:0.24vw solid #888;}
.wysiwyg h3{border-left:0.72vw solid #888;padding:0 0 0 3.62vw;}
.wysiwyg h4{margin:7.73vw 0 3.86vw 0;font-size:4.35vw;line-height:1.6;letter-spacing:0.25vw;}
.wysiwyg h5{margin:7.73vw 0 3.86vw 0;font-size:3.38vw;line-height:1.6;letter-spacing:0.25vw;}
.wysiwyg h6{padding:2.42vw 0 2.90vw 0;margin:7.73vw 0 3.86vw 0;border-bottom:0.24vw dotted #888;font-size:3.38vw;line-height:1.6;letter-spacing:0.25vw;}


  /* product  -------------------------------------*/
  .main-ttl-box {
    background: url(../images/product/main-ttl-bg_sp.jpg) no-repeat center;
    background-size: cover;
    height: 66.43vw;
  }

  #product .system-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9.4vw 2.5vw;
    margin-top: 7vw;
    margin-bottom: 20vw;
    width: min(95%, 94.3vw);
    margin-inline: auto;
  }

  #product .system-list .system-pic {
    height: 32vw;
    margin: 0 0 3vw;
    overflow: hidden;
  }

  #product .system-list .system-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
  }

  #product .system-list li:hover img {
    transform: scale(1.1);
  }

  #product .system-list .system-area {
    color: #666666;
    font-size: 2.898vw;
    line-height: 2.3333;
    letter-spacing: 0.05em;
    margin: 0 0 0;
  }

  #product .system-list .system-ttl-01 {
    font-size: 3.2vw;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin: 0 0 5vw 0;
  }

  #product .system-ttl-01 {
    font-size: 3.6vw;
    margin-bottom: 1vw;
    line-height: 1.6;
  }

  #product .system-cat {
    display: flex;
    flex-wrap: wrap;
    gap: 1.44vw;
    margin: 0 0 7vw 0;
  }

  #product .system-cat-item {
    display: inline-block;
    padding: 0.483vw 2.415vw;
    font-size: 2.898vw;
    border:1px solid #888;
  }


  /*****************
    詳細ページ SP
  ******************/
  .p-product-detail .head {
    padding-top: 15vw;
    margin-bottom: 15vw;
  }
  .p-product-detail .head .thumbnail {
    width: 90vw;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 6vw;
  }
  .p-product-detail .head .thumbnail img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  .p-product-detail .head .ttl {
    text-align: center;
    padding-inline: 5vw;
    margin-inline: auto;
    margin-bottom: 4vw;
    font-size: 3.8vw;
    font-weight: 600;
    line-height: 1.8888;
    letter-spacing: 0;
  }
  .p-product-detail .head .system-cat-item {
    display: inline-block;
    padding: 0.483vw 2.415vw;
    font-size: 4.348vw;
    line-height: 2;
  }
  .p-product-detail .head .system-cat {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.445vw;
  }

  .p-product-detail .body {
    padding-inline: 5vw;
    margin-inline: auto;
    margin-bottom: 30vw;
    font-size: 3vw;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.08em;
  }
  .p-product-detail .body p + p {
    margin-top: 10vw;
  }

  /* gallery sp */
  .p-product-detail .gallery {
    margin-bottom: 34vw;
  }
  .p-product-detail .gallery__title {
    margin-bottom: 12vw;
    font-size: 4vw;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
  }
  .p-product-detail .gallery__list {
    padding-inline: 5vw;
    margin-inline: auto;
    margin-bottom: 15vw;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 14.49vw 4.83vw;
  }
  .p-product-detail .gallery__image {
    margin-bottom: 2vw;
  }
  .p-product-detail .gallery__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .p-product-detail .gallery__caption {
    font-size: 3.2vw;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.08em;
  }

  .p-product-detail .gallery__btn-wrap {
    width: 90vw;
    margin-inline: auto;
    padding-inline: 3vw;
    padding-bottom: 3vw;
    border-bottom: 1px solid #1A1A1A;
  }
  .p-product-detail .gallery__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 3.6vw;
    font-weight: 400;
    letter-spacing: 0.05em;
  }
  .p-product-detail .gallery__btn img{
    width: 5vw;
  }


  /* more product sp */
  .p-product-detail .more {
    padding-bottom: 5.986vw;
  }
  .p-product-detail .more__title {
    margin-bottom: 12vw;
    font-size: 4vw;
    text-transform: uppercase;
    text-align: center;
  }
  
  .p-product-detail .more__list {
    padding-inline: 5vw;
    margin-inline: auto;
    margin-bottom: 10vw;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 5.49vw 4.83vw;
  }
  .p-product-detail .more__image {
    margin-bottom: 2.89vw;
  }
  .p-product-detail .more__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .p-product-detail .more__list-title {
    margin-bottom: 4.89vw;
    font-size: 3.2vw;
    font-weight: 400;
    line-height: 1.8;
  }
  .p-product-detail .more .system-cat {
    display: flex;
    flex-wrap: wrap;
    gap: 1.449vw 2.415vw;
  }
  .p-product-detail .more__item .system-cat-item {
    display: inline-block;
    padding: 0.483vw 2.415vw;
    font-size: 2.898vw;
    border:1px solid #888;
  }
}