@charset "UTF-8";
/**
 * 追加カスタマイズCSS
 *
 */

/** ページ内リンクの位置調整 **/
.p-column__head {
  margin: 0;
}
@media (max-width: 768px) {
  .p-column__head {
    margin-bottom: 0;
  }
}

.p-column__body {
  padding-top: 72px;
}
@media (max-width: 768px) {
  .p-column__body {
    padding-top: 48px;
  }
}
.p-column__body .p-column__label {
  top: 72px;
}
@media (max-width: 768px) {
  .p-column__body .p-column__label {
    top: 48px;
  }
}


/** ダウンロードページ モーダル **/
.p-product-detail__modal__content {
  position: absolute;
}
.p-product-detail__modal__content .scrollbar-thumb-rounded::-webkit-scrollbar-thumb {
  border-radius: 0.25rem;
}
.p-product-detail__modal__content .scrollbar-thumb-black::-webkit-scrollbar-thumb {
  --bg-opacity: 1;
  background-color: #ccc;
}

/** 商品詳細ページ　スライダー動画表示修正 **/
.p-product-detail__thumbnails .p-product-detail__mainslide .swiper-wrapper .swiper-slide iframe{
  width: 100%;
}
.p-product-detail__thumbnails .p-product-detail__subslide .swiper-wrapper .swiper-slide.-youtube{
  position: relative;
  z-index: 0;
}
.p-product-detail__thumbnails .p-product-detail__subslide .swiper-wrapper .swiper-slide.-youtube .youtube{
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 18px;
}
.p-product-detail__modal__subslide .swiper-wrapper .swiper-slide.-youtube {
  position: relative;
  z-index: 0;
}
.p-product-detail__modal__subslide .swiper-wrapper .swiper-slide.-youtube .youtube {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 18px;
}

.p-product-detail__modal__mainslide .thumb img {
  width: 100%;
  height: auto;
}

@media  (max-width: 768px) {
  .p-product-detail__thumbnails .p-product-detail__subslide .swiper-wrapper .swiper-slide.-youtube .youtube{
    width: 50%;
    height: auto; 
  }
  .p-product-detail__modal__subslide .swiper-wrapper .swiper-slide.-youtube .youtube {
    width: 60%;
    height: auto; 
  }
}


/** お問い合わせページ 弊社製品を知ったきっかけ **/
.p-contact__form__item .head {
  width: 30%;
}

.p-contact__form__item .body {
  width: 70%;
}

.p-contact__form__item:nth-child(7) {
  -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.p-contact__form__item:nth-child(7) select {
  border: solid 1px #D1D1D1;
  border-radius: 5px;
  color: #333;
  font-size: 16px;
  padding: 4px 10px;
  width: auto;
  position: relative;

  -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

.p-contact__form__item:nth-child(7) .body textarea {
  margin-top: 10px;
  height: 100px;
}

.p-contact__form__item .body textarea {
  padding: 10px;
}

.p-contact__form__item .body textarea::placeholder {
  font-size: 15px;
  color: #D1D1D1;
}

@media  (max-width: 768px) {
  .p-contact__form__item .head {
    width: 100%;
  }
  .p-contact__form__item .body {
    width: 100%;
  }
  .p-contact__form__item:nth-child(7) select {
    /* 初期化 */
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    border: none;
    border-radius: 5px;
    color: #333;
    font-size: 16px;
    padding: 4px 10px;
    width: auto;
    position: relative;
  }
}

.p-front-info__inner {
  display: block;
}
.p-front-info__body {
  width: 100%;
  max-width: 100%;
}
.p-front-info__body ul {
  display: flex;
  justify-content: space-between;
  gap: 46px 0;
}
.p-front-info__body li {
  width: 29.7%;
  border-bottom-style: none;
}
.p-front-info__body li a {
  display: block;
}
.p-front-info__body li .thumb {
  width: 100%;
  aspect-ratio: 1/0.65;
  border-radius: 8px;
  background-color: #aaa;
  display: flex;
}
.p-front-info__body li .thumb img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.p-front-info__body li time {
  display: inline-block;
  margin: 20px 20px 20px auto;
}
@media (max-width: 768px) {
  .p-front-info__body ul {
    display: block;
  }
  .p-front-info__body li {
    width: 100%;
  }
}

.p-front__smallhead {
  color: #cc0e0e;
  font-size: 23px;
  font-family: "Noto Sans JP", sans-serif;
  margin-left: 0.8em;
}
@media (max-width: 768px) {
  .p-front__smallhead {
    font-size: 1.5rem;
  }
}

.p-front-info {
  margin-bottom: 90px;
}
@media (max-width: 768px) {
  .p-front-info {
    margin-bottom: 80px
  }
}
.p-front-info__btn a {
  background-color: #cc0e0e;
  border-color: #cc0e0e;
  border-width: 2px;
  color: #fff;
}
.p-front-info__btn a:hover {
  background: none;
  color: #cc0e0e;
  opacity: 1;
}

/**
 * トップページ：フローティングバナー
 */
#p-front-bottom-banner {
  width: 100%;
  background-color: #d5414b;
  padding: 1.5em;
  position: fixed;
  bottom: 0;
  opacity: 1;
  transition: opacity 0.5s;
  z-index: 10;
}
#p-front-bottom-banner ul {
  display: flex;
  justify-content: center;
  gap: 45px;
}
#p-front-bottom-banner li a {
  color: #fff;
}
#p-front-bottom-banner li a:before {
  content: '';
  width: 2.5em;
  height: 2.5em;
  background-size: contain;
	background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
#p-front-bottom-banner li .link-catalog:before {
  background-image: url('assets/images/front/icon-catalog.svg');
}
#p-front-bottom-banner li .link-contact:before {
  background-image: url('assets/images/front/icon-contact.svg');
}
#p-front-bottom-banner li .link-line:before {
  background-image: url('assets/images/front/icon-8546896_line.svg');
}
@media (max-width: 768px) {
  #p-front-bottom-banner {
    background-color: #fff;
    padding: 0;
  }
  #p-front-bottom-banner ul {
    font-size: 0.8em;
    display: flex;
    gap: 1px;
  }
  #p-front-bottom-banner li {
    width: 33.333%;
    background-color: #d5414b;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    align-content: center;
  }
  #p-front-bottom-banner li a:before {
    display: block;
    margin: 0 auto;
  }
}

/**
 * トップページ：ファーストビュー
 */
.p-front-firstview {
  --swiper-pagination-bullet-width: 10px;
  --swiper-pagination-bullet-height: 10px;
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-inactive-color: #fff;
  height: auto;
  background-color: #555;
  padding-top: 20px;
  padding-bottom: 20px;
}
.p-front-firstview .firstview-swiper {
  overflow-x: hidden;
}
.p-front-firstview .swiper-slide {
  opacity: 0.5;
}
.p-front-firstview .swiper-slide img {
  width: 100%;
  border-radius: 20px;
  display: none;
}
.p-front-firstview .swiper-slide-active {
  opacity: 1;
}
.p-front-firstview .firstview-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 20px 0 auto;
}
.p-front-firstview .firstview-pagination {
  width: fit-content;
}
.p-front-firstview .firstview-button-prev,
.p-front-firstview .firstview-button-next {
  cursor: pointer;
  width: 14px;
  height: 14px;
  border-top: solid 3px #fff;
  border-left: solid 3px #fff;
}
.p-front-firstview .swiper-pagination-bullet:hover,
.p-front-firstview .firstview-button-prev:hover,
.p-front-firstview .firstview-button-next:hover {
  opacity: 0.7;
}
.p-front-firstview .firstview-button-prev {
  transform: rotate(-45deg);
}
.p-front-firstview .firstview-button-next {
  transform: rotate(135deg);
}

.p-front-product__toplabel {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  border-bottom: 3px solid #cc0e0e;
  display: inline-block;
  margin-bottom: 30px;
  padding-bottom: 0.3em;
}

/** フロントページ：カテゴリー **/
ul.p-front-product__list03 {
  justify-content: left;
}
.p-front-product__list03 li {
  width: 33.33%;
}
.p-front-product__list03 li a {
  width: 89%;
  display: block;
  margin: auto;

  h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5em;
  }

  h3::after {
    content: "";
    background-image: url("assets/images/front/ph_product_icon0.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.7em;
    min-width: 1.7em;
    height: 1.7em;
    display: inline-block;
    margin-left: .3em;
  }

  &:hover h3::after {
    background-image: url("assets/images/front/ph_product_icon1.svg");
  }
}
.p-front-product__btn {
  background-color: #cc0e0e;
  border-color: #cc0e0e;
  border-width: 2px;
  color: #fff;

  a {
    color: #fff;
  }
}
.p-front-product__btn:hover {
  background: none;
  color: #cc0e0e;
  opacity: 1;

  a {
    color: #cc0e0e;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .p-front-product__list03 li {
    width: 49%;
  }

  .p-front-product__label {
    font-size: 1.5rem;
  }
}

.p-front-comp__btn a {
  background-color: #cc0e0e;
  border-color: #cc0e0e;
  border-width: 2px;
  color: #fff;

  &:hover {
    background: none;
    color: #cc0e0e;
    opacity: 1;
  }
}

/** グローバルメニュー **/
.l-header__nav__item.-line img {
  width: 40px;
  height: 40px;
}
@media (max-width: 768px) {
  .l-header__icon .line {
    margin: 4px 10px 0 0;
  }
  .l-header__icon .line img {
    width: 44px;
    height: auto;
  }
}
.l-header__megamenu-list h3 {
  white-space: wrap;
}

.l-footer__nav__item a {
  color: #fff;

  &:hover {
    opacity: 1;
    color: lightpink;
  }
}

.l-footer__sns__item a {
	width: 100%;
}

/** コンタクトフォーム **/
.p-contact__form__item .required {
  transform: none;
  font-size: 0.8em;
}

