@charset "UTF-8";
main .mv {
  width: 100%;
  overflow: hidden;
  background-image: url(../img/top/mv01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 1000px;
}
main .mv .mv_txt_wap {
  left: initial;
  right: 10%;
}
main .mv .mv_txt_wap p {
  writing-mode: vertical-rl;
}
main .mv .scroll_text_wap {
  z-index: 10;
  bottom: 100px;
  opacity: 0;
  animation: late-open 0.5s ease-in 1.5s forwards;
}
main .mv .scroll_text_wap .scroll_text {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-animation: scroll_text 50s linear infinite;
  animation: scroll_text 50s linear infinite;
  white-space: nowrap;
  mix-blend-mode: multiply;
}
main .mv .scroll_text_wap .scroll_text img {
  max-width: unset;
}
main .mv .mv_news_wap {
  bottom: 0;
  right: 0;
  opacity: 0;
  animation: late-open 0.5s ease-in 1.5s forwards;
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15); /* 拡大率 */
  }
}
@-webkit-keyframes scroll_text {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}
@keyframes scroll_text {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}
main {
  /*----------------------------------------------------------------

  top

  ----------------------------------------------------------------*/
  /* コンテナは隠し切る */
  /* 各スライドを2カラムに（PC） */
  /* 画像側はアスペクト固定 */
  /* テキスト側パディング */
  /* モバイルは1カラムに */
  /* 既存の描画は無視して mask で描く */
  /* 左矢印は反転 */
}
main .top_products_section .txt_wap {
  gap: 4%;
}
main .top_products_section .txt_wap .box .ttl_box {
  align-items: center;
  background-position: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  min-height: 230px;
  overflow: hidden;
  overflow: clip;
  padding: 1em;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}
main .top_products_section .txt_wap .box .ttl_box::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  top: 0;
  left: 0;
}
main .top_products_section .txt_wap .box .ttl_box p {
  position: relative;
  z-index: 10;
}
main .top_news_section .txt_wap {
  height: 455px;
  overflow-y: scroll;
}
main .top_news_section .txt_wap .txt_box {
  border-top: 1px solid #111;
}
main .swiper {
  overflow: hidden;
  padding: 0 5% 50px;
}
main .swiper .swiper-slide {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #f2f2f2;
  overflow: hidden;
}
main .slide-media {
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
}
main .slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
main .slide-body {
  padding: clamp(16px, 3vw, 28px);
}
@media (max-width: 900px) {
  main .swiper .swiper-slide {
    grid-template-columns: 1fr;
  }
}
main .swiper-button-next, main .swiper-button-prev {
  color: #111 !important;
}
main .swiper-button-prev:after, main .swiper-rtl .swiper-button-next:after,
main .swiper-button-next:after, main .swiper-rtl .swiper-button-prev:after {
  content: "";
}
main .swiper .swiper-button-next::after,
main .swiper .swiper-button-prev::after {
  content: "";
  width: 28px;
  height: 21px;
  background-color: #565656 !important;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polyline points="8,4 16,12 8,20" fill="none" stroke="%23000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polyline points="8,4 16,12 8,20" fill="none" stroke="%23000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}
main .swiper .swiper-button-prev::after {
  transform: scaleX(-1);
}
main .swiper-button-prev, main .swiper-container-rtl .swiper-button-next,
main .swiper-button-next, main .swiper-container-rtl .swiper-button-prev {
  background-image: none;
}
main .news_section01 .box h3 {
  border-bottom: 1px solid #111;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

main form table {
  width: 100%;
}

main form table tr {
  display: flex;
  margin-bottom: 10px;
}

main form table th {
  padding: 10px 20px;
  width: 30%;
  flex-direction: column;
  align-items: baseline;
}

main form table td {
  width: 70%;
  padding: 20px 0;
}

main form table td.radio {
  padding: 0 0 20px 0;
}

main form table td.con_frame01 input,
main form table td.con_frame06 textarea,
main form table td select {
  border: 1px solid #C7C7C7;
  width: 100%;
  background-color: #FFFFFF;
  padding: 5px;
}

main form table td .con_frame01,
main form table td .con_frame06 {
  border-color: #C7C7C7;
}

main form table td .con_frame01.hoiku, main form table td .con_frame06.hoiku {
  border-color: #C7C7C7;
}

main form .contact_section01-item02 .pp-box {
  width: 100%;
  height: 130px;
  overflow-y: scroll;
  border: 1px solid #C7C7C7;
  background-color: #FFFFFF;
}

main form .checkbox-wrap .checkbox {
  width: 20px;
  height: 20px;
}

main form table.table02 th {
  width: 20%;
  padding: 20px 20px;
}

main form table.table02 td {
  font-weight: 400;
}

main form table.table02 label {
  margin-right: 20px;
  font-weight: 500;
}

main form table .common_btn {
  padding: 20px 60px;
  transition: 0.3s;
}

main form table .common_btn:hover {
  color: #fff;
}

main [type=button]:not(:disabled), main [type=reset]:not(:disabled), main [type=submit]:not(:disabled), main button:not(:disabled) {
  background: #111;
  color: #fff;
  transition: 0.3s;
  padding: 10px 60px;
  font-weight: 600;
  border: 1px solid #111;
  border-radius: 5px;
}

main [type=button]:not(:disabled):hover, main [type=reset]:not(:disabled):hover, main [type=submit]:not(:disabled):hover, main button:not(:disabled):hover {
  background-color: #fff;
  color: #111;
}

main [type=checkbox],
main [type=radio] {
  margin-right: 10px;
}

/* スライド2カラムの見た目調整 */
.product-slider .swiper-slide {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2%;
}

/* 画像ボックスは一定比率にして常に同じ高さにする */
.product-slider .swiper-slide > img {
  width: 50%; /* spは既存の .sp_w100 が効く */
  border-radius: 20px;
  display: block;
  /* 高さを揃える核：比率固定 + トリミング */
  aspect-ratio: 4/3; /* 必要なら 3/2 や 16/9 に変更 */
  height: auto; /* aspect-ratio と組み合わせ */
  object-fit: cover; /* 余白や歪みを防ぐ */
}

/* テキスト側 */
.product-slider .txt_box {
  width: 48%;
}

/* SP想定（既存の .sp_w100 が付く前提） */
@media (max-width: 767px) {
  .product-slider .swiper-slide > img,
  .product-slider .txt_box {
    width: 100%;
  }
}
.swiper .swiper-slide {
  height: auto;
}

main .swiper .swiper-slide {
  height: 100%;
}

.swiper .swiper-slide-item {
  height: 100%;
}