@charset "UTF-8";
/* ------------------------------------------------------------
   Variables
------------------------------------------------------------ */
/* ----- Breakpoint ----- */
/* ----- Font family ----- */
/* ----- Font family ----- */
/* ------------------------------------------------------------
   mixin
------------------------------------------------------------ */
/* ----- Media Queries ----- */
/* ----- image filter ----- */
/* ----- diagonal filter ----- */
/* ------------------------------------------------------------
   Function
------------------------------------------------------------ */
/* ------------------------------------------------------------
   Top
------------------------------------------------------------ */
html:not(.is-splash-finished) .p-mainv__txt {
  visibility: hidden;
}

.top {
  overflow: hidden;
  background: #F2EFEC;
  /* ----- mainvisual ----- */
  /* ----- content ----- */
  /* ----- p-service ----- */
}
.top .main-visualInner {
  overflow: hidden;
  position: relative;
}
.top .p-mainv {
  position: relative;
}
.top .p-mainv__txt {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 11;
  color: #fff;
  text-align: center;
  width: 100%;
  padding: 0 1rem;
}
.top .p-mainv__txt h1 {
  font-weight: 600;
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.39);
  font-family: var(--ff-noto-serif);
  letter-spacing: 0.05em;
  font-size: clamp(2.875rem, 89 / var(--max-xl) * 100vw, 5.5625rem);
  font-family: var(--ff-tnr);
  line-height: 1.4;
}
.top .p-mainv__txt p {
  font-family: var(--ff-tnr);
  font-size: clamp(3rem, 101 / var(--max-xl) * 100vw, 6.3125rem);
  line-height: 1.1;
  padding: 0 0 0.08em;
}
.top .p-mainv__txt p.marker {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.top .p-mainv__txt p.marker::before {
  content: "";
  position: absolute;
  left: -0.3em; /* 少しはみ出させると自然 */
  right: -0.3em;
  bottom: 0.1em; /* 文字下に合わせて調整 */
  height: 0.62em; /* マーカーの太さ */
  background: var(--color-primary);
  z-index: -1;
  /* 端を斜めにする（平行四辺形っぽく） */
  -webkit-clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}
.top .p-mainv__img_list {
  position: relative;
}
.top .p-mainv__img_list::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 62.5%;
  z-index: 10;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0)));
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}
.top .p-mainv__img_item {
  position: relative;
  overflow: hidden;
}
.top .p-mainv__img_item .p-mainv__img_item_inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(1) {
  -webkit-animation: slideMask 30s ease infinite;
  animation: slideMask 30s ease infinite;
  z-index: 6;
  position: relative;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(1) picture {
  -webkit-animation: slideMove 30s linear infinite;
  animation: slideMove 30s linear infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(1) picture img {
  -webkit-animation: slideFade 30s ease infinite;
  animation: slideFade 30s ease infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(2) {
  -webkit-animation: slideMask 30s 5s ease infinite;
  animation: slideMask 30s 5s ease infinite;
  z-index: 5;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(2) picture {
  -webkit-animation: slideMove 30s 5s linear infinite;
  animation: slideMove 30s 5s linear infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(2) picture img {
  -webkit-animation: slideFade 30s 5s ease infinite;
  animation: slideFade 30s 5s ease infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(3) {
  -webkit-animation: slideMask 30s 10s ease infinite;
  animation: slideMask 30s 10s ease infinite;
  z-index: 4;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(3) picture {
  -webkit-animation: slideMove 30s 10s linear infinite;
  animation: slideMove 30s 10s linear infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(3) picture img {
  -webkit-animation: slideFade 30s 10s ease infinite;
  animation: slideFade 30s 10s ease infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(4) {
  -webkit-animation: slideMask 30s 15s ease infinite;
  animation: slideMask 30s 15s ease infinite;
  z-index: 3;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(4) picture {
  -webkit-animation: slideMove 30s 15s linear infinite;
  animation: slideMove 30s 15s linear infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(4) picture img {
  -webkit-animation: slideFade 30s 15s ease infinite;
  animation: slideFade 30s 15s ease infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(5) {
  -webkit-animation: slideMask 30s 20s ease infinite;
  animation: slideMask 30s 20s ease infinite;
  z-index: 2;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(5) picture {
  -webkit-animation: slideMove 30s 20s linear infinite;
  animation: slideMove 30s 20s linear infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(5) picture img {
  -webkit-animation: slideFade 30s 20s ease infinite;
  animation: slideFade 30s 20s ease infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(6) {
  -webkit-animation: slideMask 30s 25s ease infinite;
  animation: slideMask 30s 25s ease infinite;
  z-index: 1;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(6) picture {
  -webkit-animation: slideMove 30s 25s linear infinite;
  animation: slideMove 30s 25s linear infinite;
}
.top .p-mainv__img_item .p-mainv__img_item_inner:nth-child(6) picture img {
  -webkit-animation: slideFade 30s 25s ease infinite;
  animation: slideFade 30s 25s ease infinite;
}
.top .p-mainv__img_item picture {
  display: block;
  width: 115%;
  height: calc((100dvh - var(--header-sp_h)) / 3);
  max-height: 21rem;
  max-width: 115%;
}
.top .p-mainv__img_item img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(1) {
  -webkit-animation-delay: 0.15s;
  animation-delay: 0.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(1) img {
  -webkit-animation-delay: 0.15s;
  animation-delay: 0.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(2) {
  -webkit-animation-delay: 5.15s;
  animation-delay: 5.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(2) img {
  -webkit-animation-delay: 5.15s;
  animation-delay: 5.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(3) {
  -webkit-animation-delay: 10.15s;
  animation-delay: 10.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(3) img {
  -webkit-animation-delay: 10.15s;
  animation-delay: 10.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(4) {
  -webkit-animation-delay: 15.15s;
  animation-delay: 15.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(4) img {
  -webkit-animation-delay: 15.15s;
  animation-delay: 15.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(5) {
  -webkit-animation-delay: 20.15s;
  animation-delay: 20.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(5) img {
  -webkit-animation-delay: 20.15s;
  animation-delay: 20.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(6) {
  -webkit-animation-delay: 25.15s;
  animation-delay: 25.15s;
}
.top .p-mainv__img_item:nth-child(2) .p-mainv__img_item_inner:nth-child(6) img {
  -webkit-animation-delay: 25.15s;
  animation-delay: 25.15s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(1) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(1) img {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(2) {
  -webkit-animation-delay: 5.3s;
  animation-delay: 5.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(2) img {
  -webkit-animation-delay: 5.3s;
  animation-delay: 5.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(3) {
  -webkit-animation-delay: 10.3s;
  animation-delay: 10.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(3) img {
  -webkit-animation-delay: 10.3s;
  animation-delay: 10.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(4) {
  -webkit-animation-delay: 15.3s;
  animation-delay: 15.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(4) img {
  -webkit-animation-delay: 15.3s;
  animation-delay: 15.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(5) {
  -webkit-animation-delay: 20.3s;
  animation-delay: 20.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(5) img {
  -webkit-animation-delay: 20.3s;
  animation-delay: 20.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(6) {
  -webkit-animation-delay: 25.3s;
  animation-delay: 25.3s;
}
.top .p-mainv__img_item:nth-child(3) .p-mainv__img_item_inner:nth-child(6) img {
  -webkit-animation-delay: 25.3s;
  animation-delay: 25.3s;
}
@-webkit-keyframes slideMask {
  0% {
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
  }
  17% {
    z-index: 7;
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
  }
  24% {
    z-index: 7;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  32% {
    z-index: 0;
  }
  100% {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
}
@keyframes slideMask {
  0% {
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
  }
  17% {
    z-index: 7;
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
  }
  24% {
    z-index: 7;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  32% {
    z-index: 0;
  }
  100% {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
}
@-webkit-keyframes slideMove {
  0% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
  24% {
    -webkit-transform: translateX(-15%);
    transform: translateX(-15%);
  }
  79% {
    -webkit-transform: translateX(-15%);
    transform: translateX(-15%);
  }
  80% {
    -webkit-transform: translateX(-2%);
    transform: translateX(-2%);
  }
  100% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@keyframes slideMove {
  0% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
  24% {
    -webkit-transform: translateX(-15%);
    transform: translateX(-15%);
  }
  79% {
    -webkit-transform: translateX(-15%);
    transform: translateX(-15%);
  }
  80% {
    -webkit-transform: translateX(-2%);
    transform: translateX(-2%);
  }
  100% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@-webkit-keyframes slideFade {
  0% {
    opacity: 1;
  }
  18% {
    opacity: 1;
  }
  24% {
    opacity: 0;
  }
  79% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideFade {
  0% {
    opacity: 1;
  }
  18% {
    opacity: 1;
  }
  24% {
    opacity: 0;
  }
  79% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
.top .p-service__container {
  margin: 0 auto;
  position: relative;
  background: url(../../../img/top/service_bg@2x.webp) no-repeat;
  background-position: center;
  background-size: cover;
  min-height: clamp(380px, 28vw, 680px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.top .p-service__media {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 1.5rem 2.5rem 0 0;
}
.top .p-service__media img {
  width: 90%;
}
.top .p-service__card {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  overflow: visible;
  padding: clamp(2.5rem, 80 / var(--max-xxxl) * 100vw, 5rem) 1rem clamp(2.5rem, 80 / var(--max-xxxl) * 100vw, 5rem) clamp(1.75rem, 65 / var(--max-xxxl) * 100vw, 4.0625rem);
  /* 背景は“カード自身”には持たせない（レイヤ分離） */
  position: relative;
  -webkit-transform: translateX(-2.5rem) translateY(2.5rem);
  transform: translateX(-2.5rem) translateY(2.5rem);
}
.top .p-service__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.76);
  z-index: -1;
}
.top .p-service__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%; /* カードの右端から開始 */
  width: 100vw;
  height: 100%;
  background: rgba(255, 255, 255, 0.76);
  z-index: -1;
}
.top .p-service__card__inner hgroup p {
  font-weight: 500;
  font-size: clamp(1.625rem, 40 / var(--max-xxxl) * 100vw, 2.5rem);
  font-family: var(--ff-noto-serif);
  line-height: 1.4;
}
.top .p-service__card__inner hgroup h3 {
  font-weight: 900;
  font-size: clamp(2rem, 51 / var(--max-xxxl) * 100vw, 3.1875rem);
  color: var(--color-primary);
}
.top .p-service__card p {
  line-height: 3;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--ff-noto-serif);
  max-width: 835px;
}
.top .p-products {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  --overlap: 6%;
  /* 右側だけ追加で食い込ませる量 */
  --overlap-extra-right: 3%;
}
.top .p-products-content {
  position: relative;
  text-align: center;
  padding: 3% 1%;
}
.top .p-products-content h2 {
  font-size: clamp(2rem, 51 / var(--max-xl) * 100vw, 3.1875rem);
  font-weight: 900;
}
.top .p-products-content--handling {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 calc(50% + var(--overlap));
  -ms-flex: 0 0 calc(50% + var(--overlap));
  flex: 0 0 calc(50% + var(--overlap));
  z-index: 2;
  background: url(../../../img/top/product_handle_bg@2x.webp) no-repeat;
  background-size: cover;
  background-position: left;
  -webkit-clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  position: relative;
}
.top .p-products-content--handling::before {
  content: "";
  background: rgba(0, 0, 0, 0.11);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.top .p-products-content--our {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 calc(50% + var(--overlap));
  -ms-flex: 0 0 calc(50% + var(--overlap));
  flex: 0 0 calc(50% + var(--overlap));
  margin-left: calc(-1 * (var(--overlap) + var(--overlap-extra-right)));
  z-index: 1;
  background: url(../../../img/top/product_our_bg@2x.webp) no-repeat;
  background-size: cover;
  background-position: top;
}
.top .p-products-icon {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}
.top .p-products-inbox {
  min-height: clamp(17.5rem, 365 / var(--max-xl) * 100vw, 22.8125rem);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 100%;
}
.top .p-products-inbox--left {
  -webkit-transform: translateX(-6%);
  transform: translateX(-6%);
}
.top .p-products-inbox--right {
  -webkit-transform: translateX(6%);
  transform: translateX(6%);
}
@media (max-width: 1279px) {
  .top {
    position: relative;
  }
}
@media (max-width: 1023px) {
  .top {
    position: relative;
  }
}
@media (max-width: 767px) {
  .top {
    position: relative;
  }
  .top .p-service__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }
  .top .p-service__media {
    padding: 0;
  }
  .top .p-service__card {
    -webkit-transform: translate(0);
    transform: translate(0);
    padding: 2rem 1rem;
  }
  .top .p-service__card p {
    line-height: 2;
  }
  .top .p-products {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .top .p-products-content--handling {
    width: 100%;
    -webkit-clip-path: none;
    clip-path: none;
  }
  .top .p-products-content--our {
    margin-left: auto;
    width: 100%;
  }
  .top .p-products-inbox--left {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .top .p-products-inbox--right {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@media (max-width: 639px) {
  .top {
    position: relative;
  }
  .top .p-mainv__txt h1 {
    font-size: 7vw;
  }
  .top .p-mainv__txt p {
    font-size: 7vw;
  }
}
@media (min-width: 1024px) {
  .top .p-mainv__img_list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .top .p-mainv__img_list::before {
    height: 78.4%;
  }
  .top .p-mainv__img_item {
    width: 33.3333333333%;
  }
  .top .p-mainv__img_item picture {
    height: calc(100vh - var(--header-pc_h));
    max-height: 100%;
  }
}
@media (min-width: 768px) {
  .top .p-mainv__img_item picture {
    max-height: 100%;
  }
}
/*# sourceMappingURL=../../map/object/project/top.css.map */