/* ============================================================
   p-plastic.css — プラスチック加工
   移植元: src/pages/service/plastic.astro の <style>
   ============================================================ */

    .sticy__title {
      font-weight: 700;
      font-size: 15px;
      padding-block: 11px;
      padding-right: 53px;
      padding-left:37px;
      background-color: #ffffff;
      color: #000000;
    }
    .sticy__item a {
      display: block;
      font-size: 15px;
      padding-block: 11px;
      padding-right: 53px;
      padding-left: 37px;
      font-weight: 700;
      background-color: #01368d;
      color: var(--color-gray);
    }
    .sticy__item + .sticy__item {
      border-top: 1px solid rgba(149, 149, 162, 0.53);
    }
    .sticy__item .-number {
      font-size: 14px;
      display: inline-block;
      margin-right: 16px;
      font-weight: 500;
    }
    .hero {
      position: relative;
      height: 100vh;
      background-image: url(../img/plastic_bg.webp);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      overflow: hidden;
    }
    .hero__breadcrumb {
      width: calc(327 / 375 * 100%);
      margin-inline: auto;
      position: absolute;
      top: 132px;
      left: 0;
      right: 0;
    }
    @media (width >= 768px) {
      .hero__breadcrumb {
        width: min(calc(1000 / 1600 * 100%), 1000px);
        top: 246px;
      }
    }
    .hero__topBg {
      display: block;
      width: 100%;
      background-color: var(--color-blue);
    }
    .hero__triangle01 {
      position: absolute;
      left: -80px;
      top: 0px;
      width: 429px;
      animation: clipA 0.5s forwards;
      clip-path: polygon(0% 0%, 0 0, 27% 0, 27% 0, 27% 0, 27% 0);
      animation-delay: 0.4s;
      animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
    }
    .hero__triangle02 {
      position: absolute;
      left: -56px;
      bottom: 0px;
      width: 243px;
      animation: clipC 0.5s forwards;
      clip-path: polygon(0 50%, 0 0, 0 0, 0 50%);
      animation-delay: 0.4s;
      animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
    }
    @media (width >= 768px) {
      .hero__triangle01 {
        width: clamp(500px, calc(896 / 1600 * 100%), 896px);
        left: 80px;
      }
      .hero__triangle02 {
        position: absolute;
        left: -56px;
        bottom: 0px;
        width: clamp(300px, calc(525 / 1600 * 100%), 525px);
        animation: clipB 0.5s forwards;
        clip-path: polygon(35% 100%, 0 100%, 0 100%, 35% 100%, 35% 100%, 35% 100%);
        animation-delay: 0.4s;
        animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
      }
    }
    .hero__triangle01 img {
      width: 100%;
    }
    @keyframes clipA {
      0% {
        clip-path: polygon(0% 0%, 0 0, 27% 0, 27% 0, 27% 0, 27% 0);
      }
      50% {
        clip-path: polygon(0% 0%, 50% 100%, 61% 71%, 50% 49%, 50% 50%, 27% 0);
      }
      100% {
        clip-path: polygon(0% 0%, 50% 100%, 100% 0, 73% 0, 50% 50%, 27% 0);
      }
    }
    @keyframes clipB {
      0% {
        clip-path: polygon(35% 100%, 0 100%, 0 100%, 35% 100%, 35% 100%, 35% 100%);
      }
      50% {
        clip-path: polygon(35% 100%, 0 100%, 50% 0, 68% 36%, 50% 72%, 50% 72%);
      }
      100% {
        clip-path: polygon(37% 100%, 0% 100%, 50% 2%, 100% 100%, 63% 100%, 50% 70%);
      }
    }
    @keyframes clipC {
      0% {
        clip-path: polygon(0 50%, 0 0, 0 0, 0 50%);
      }
      100% {
        clip-path: polygon(0 51%, 0 0, 100% 100%, 49% 100%);
      }
    }
    .about__bg {
      background-color: var(--color-white);
      padding-top: 83px;
      overflow: hidden;
      padding-bottom: 80px;
      position: relative;
    }
    @media (width >= 768px) {
      .about__bg {
        background-color: var(--color-white);
        padding-top: 179px;
        padding-bottom: 145px;
      }
    }
    .about__subTitle {
      font-size: 24px;
      color: var(--color-blue);
      margin-bottom: 25px;
    }
    .about__section {
      width: calc(327 / 375 * 100%);
      margin-inline: auto;
      position: relative;
    }
    .about__left {
      width: min(calc(390 / 375 * 100vw), 400px);
      position: relative;
      right: calc(42 / 375 * 100vw);
      margin-top: 0px;
    }
    .about__left img {
      width: 100%;
    }
    .about__triangle {
      position: absolute;
      right: 0;
      top: 0;
      width: min(calc(338 / 375 * 100vw), 338px);
    }
    .about__triangle img {
      width: 100%;
    }
    @media (width >= 768px) {
      .about__left {
        margin-top: 0px;
        position: absolute;
        top: -190px;
        left: calc(-300 / 1600 * 100vw);
        width: min(calc(905 / 1600 * 100vw), 905px);
        margin-top: 0px;
      }
      .about__triangle {
        width: min(calc(707 / 375 * 100vw), 707px);
      }
    }
    @media (width >= 768px) {
      .about__section {
        width: calc(1200 / 1600 * 100%);
        max-width: 1200px;
      }
    }
    .about__right {
      color: #000000;
    }
    @media (width >= 768px) {
      .about__right {
        width: calc(600 / 1200 * 100%);
        margin-left: auto;
      }
      .about__rightContent {
        padding-left: 46px;
      }
    }

    .about__text {
      margin-top: 50px;
      font-size: 15px;
    }

    @media (width >= 768px) {
      .about__text {
        margin-top: 50px;
        font-size: 16px;
      }
    }
    .about__listBlock {
      margin-top: 71px;
    }
    @media (width >= 768px) {
      .about__listBlock {
        margin-top: 95px;
      }
    }
    .about__bottomBlock {
      margin-top: 47px;
    }
    @media (width >= 768px) {
      .about__bottomBlock {
        margin-top: 60px;
      }
    }
    .about__list {
      font-weight: 500;
      line-height: calc(36 / 16);
    }

    .about__thumbnail {
      margin-top: 35px;
      max-width: 419px;
    }
    .processing__bg {
      background-color: var(--color-blue);
      overflow: hidden;
    }
    .processing__subTitle,
    .processing__caseTitile {
      font-size: 20px;
      color: var(--color-white);
      margin-bottom: 25px;
    }
    .processing__caseTitile {
      display: flex;
      align-items: center;
      column-gap: 16px;
      width: 100%;
    }
    .processing__caseTitile::after {
      content: "";
      display: block;
      flex-grow: 1;
      height: 1px;
      background-color: var(--color-white);
    }

    .processing__title {
      margin-bottom: 72px;
    }
    @media (width >= 768px) {
      .processing__bg {
        overflow: initial;
      }
      .processing__caseTitile,
      .processing__subTitle {
        font-size: 24px;
      }
    }
    .processing {
      width: calc(327 / 375 * 100%);
      margin-inline: auto;
      padding-top: 80px;
      padding-bottom: 100px;
      z-index: 10;
      position: relative;
      box-sizing: border-box;
    }

    @media (width >= 768px) {
      .processing {
        padding-left: 12.5%;
        width: 100%;
        padding-block: 0px;
      }
      .processing__title {
        margin-bottom: 126px;
      }
    }
    .processing__title .-lg {
      font-size: 36px;
      display: block;
      font-family: var(--font-poppins);
    }
    @media (width >= 768px) {
      .processing__title .-lg {
        font-size: 72px;
        display: block;
      }
    }
    .processing__title .-sm {
      font-size: 16px;
      color: var(--color-gray);
    }
    @media (width >= 768px) {
      .processing__title .-sm {
        font-size: 20px;
      }
    }
    .processing__content,
    .processing__listWrap {
      margin-bottom: 47px;
    }
    .processing__list {
      font-weight: 500;
      line-height: calc(28 / 15);
      font-size: 15px;
      position: relative;
      display:;
    }
    .processing__list li {
      display: flex;
      align-items: center;
      column-gap: 8px;
    }
    .processing__list li::before {
      content: "";
      display: block;
      margin-top: 3px;
      width: 5px;
      height: 5px;
      background-color: var(--color-white);
      transform: rotate(45deg);
    }
    @media (width >= 768px) {
      .processing__list {
        font-weight: 500;
        line-height: calc(36 / 16);
        font-size: 16px;
      }

      .processing__content,
      .processing__listWrap {
        margin-bottom: 60px;
      }
    }
    .processing__flex {
      display: flex;
      margin-top: 60px;
    }
    .processing__label {
      font-family: var(--font-poppins);
      padding-bottom: 16px;
      margin-bottom: 21px;
      position: relative;
    }
    @media (width >= 768px) {
      .processing__label {
        padding-bottom: 20px;
        margin-bottom: 26px;
      }
    }
    .processing__label::before {
      content: "";
      width: 28px;
      height: 1px;
      background-color: var(--color-white);
      position: absolute;
      left: 0;
      bottom: 0;
    }
    @media (width >= 768px) {
      .processing__label::before {
        width: 44.55px;
      }
    }
    .processing__label .-white {
      font-size: 15px;
    }
    .processing__label .-gray {
      color: #9595a2;
      font-size: 15px;
    }
    .processing__label .-white,
    .processing__label .-gray {
      font-weight: 700;
    }
    .processing__label .-number {
      font-weight: 500;
    }
    @media (width >= 768px) {
      .processing__label .-gray {
        color: #9595a2;
      }
    }
    .processing__grid + .processing__grid {
      margin-top: 120px;
    }
    .processing__slide.-sp {
    }
    @media (width >= 768px) {
      .processing__grid + .processing__grid {
        margin-top: 270px;
      }
      .processing__slide.-sp {
        display: none;
      }
    }

    @media (width >= 768px) {
      .processing__left {
        padding-top: 112px;
        padding-bottom: 138px;
      }
    }
    .processing__right {
      display: none;
    }

    .processing__slide {
      position: relative;
    }

    @media (width >= 768px) {
      .processing__right {
        width: 100vw;
        margin-right: calc(50% - 50vw);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: sticky;
        top: 0;
        height: 100%;
      }
      .processing__right .swiper-slide {
        width: 100% !important;
      }
      .processing__right img {
        aspect-ratio: 716 / 900;
        object-fit: cover;
        height: 100vh;
        width: 100%;
      }
      .processing__slide {
        width: calc(716 / 871 * 100%);
      }
      .processing__slide:not(:nth-child(1)) {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
      }
    }
    .processing__bg {
      position: relative;
    }
    .processing__triangle1 {
      position: absolute;
      left: 0;
      top: 0;
      width: 100vw;
    }
    @media (width >= 768px) {
      .processing__triangle1 {
        position: absolute;
        left: 0;
        top: 0;
        width: min(calc(1039 / 1600 * 100vw), 1039px);
      }
      .processing__triangle1 {
        width: min(calc(1039 / 1600 * 100vw), 1039px);
      }
    }
    .processing__triangle2 {
      position: absolute;
      left: 0;

      top: 1024px;
      width: min(calc(142 / 375 * 100vw), 142px);
    }
    @media (width >= 768px) {
      .processing__triangle2 {
        top: 1558px;
        width: min(calc(694 / 1600 * 100vw), 694px);
      }
    }

    .processing__triangle3 {
      position: absolute;
      left: 0;
      right: 0;
      top: 845px;
      width: 100vw;
    }
    @media (width >= 768px) {
      .processing__triangle3 {
        position: absolute;
        left: 0;
        top: 1026px;
      }
    }
    .processing__triangle4 {
      position: absolute;
      right: 0;
      top: 3408px;
      width: min(calc(1000 / 1600 * 100vw), 1000px);
    }
    .processing__caseImages {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
      margin-top: 20px;
    }
    @media (width >= 768px) {
      .processing__caseImages {
        gap: 11px;
        margin-top: 36px;
      }
    }
    .facilities__titleWrap {
      position: relative;
      width: calc(1200 / 1600 * 100%);
      margin-inline: auto;
    }
    .facilities__titleWrap .facilities__title {
      position: absolute;
      right: 0;
      top: 290px;
    }
    .facilities__topTitle {
      font-weight: 700;
      font-size: 20px;
      color: #9595a2;
      padding-left: 24px;
      font-family: var(--font-poppins);
    }
    @media (width >= 768px) {
      .facilities__topTitle {
        font-size: 27px;
      }
    }
    .facilities__topTitle .-blue {
      color: var(--color-blue);
      display: inline-block;
      margin-right: 14px;
    }
    .facilities__left {
      margin-top: 44px;
    }
    .processing__slide {
      opacity: 0;
      transition: opacity 0.5s;
    }
    .processing__slide.active {
      opacity: 1;
      transition: opacity 0.5s;
    }

    .facilities__wrapper {
      position: relative;
    }
    .facilities__section {
      position: absolute;
      top: -720px;
      left: 0;
      right: 0;
      width: 100vw;
      height: 740px;
      background-image: url("../img/facilities_plastic_bg.webp");
      background-size: 350%;
      background-position: 50% 50%;
    }
    @media (width >= 768px) {
      .facilities__section {
        top: -720px;
        height: 1021px;
        background-size: 150%;
        background-position: 50% 50%;
      }
    }
    .facilities__content {
      margin-top: 720px;
      position: relative;
    }
    .facilities__body {
      position: relative;
      z-index: 1;
      background-color: transparent;
      padding-bottom: 20px;
    }

    .facilities__bg {
      content: "";
      position: absolute;
      inset: 0;
      padding-top: 64px;
      top: -130px;
      width: 100%;
      clip-path: polygon(3% 3%, 97% 3%, 100% 100%, 5% 100%);
      margin-inline: auto;
      z-index: 0;
      background-color: #f0f0f2;
    }
    @media (width >= 768px) {
      .facilities__body {
        padding-bottom: 190px;
      }
      .facilities__bg {
        padding-top: 120px;
        clip-path: polygon(5% 10%, 95% 10%, 95% 100%, 5% 100%);
        top: -164px;
      }
    }
    .facilities__content {
      position: relative;
      z-index: 1;
    }
    .facilities__label {
      padding: 5px 7px;
      background-color: var(--color-gray2);
      color: #fff;
      display: inline-block;
      font-size: 16px;
      font-weight: 700;
      line-height: 150%;
      margin-top: 16px;
    }

    @media (width >= 768px) {
      .facilities__label {
        padding: 5px 17px;
        font-size: 18px;
      }
    }
    .voice__bg {
      background-color: var(--color-white);
      padding-block: 80px;
      position: relative;
    }
    @media (width >= 768px) {
      .voice__bg {
        padding-top: 132px;
        padding-bottom: 125px;
      }
    }
    .voice__content {
      width: calc(327 / 375 * 100%);
      margin-inline: auto;
    }
    .voice__inner {
      color: #000000;
      margin-top: 72px;
    }
    @media (width >= 768px) {
      .voice__inner {
        width: calc(552 / 1200 * 100%);
        margin-left: auto;
      }
      .voice__content {
        width: calc(1200 / 1600 * 100%);
        max-width: 1200px;
        margin-inline: auto;
      }
    }
    .voice__title {
      color: var(--color-blue);
      font-size: 20px;
      margin-bottom: 25px;
    }
    @media (width >= 768px) {
      .voice__title {
        font-size: 20px;
        margin-bottom: 30px;
      }
    }
    .voice__text {
      margin-bottom: 40px;
    }
    .voice__list {
      margin-bottom: 50px;
    }
    .voice__item {
      font-size: 14px;
      margin-bottom: 1rem;
      position: relative;
    }
    .voice__item::before {
      content: "";
      display: block;
      width: 100%;
      height: 1px;
      background-color: #e0e0e0;
      position: absolute;
      bottom: 0;
      left: 0;
    }
    .voice__item::after {
      content: "";
      display: block;
      width: 80px;
      height: 1px;
      background-color: #9595a2;
      position: absolute;
      bottom: 0;
      left: 0;
    }
    @media (width >= 768px) {
      .voice__item {
        display: flex;
        font-size: 14px;
        margin-bottom: 1rem;
      }
    }
    .voice__term {
      font-weight: 700;
      width: 80px;
      padding-bottom: 1rem;
    }
    .voice__description {
      padding-bottom: 20px;
      width: 100%;
      font-weight: 500;
    }
    .voice__triangle {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
    }
    .voice__triangle img {
      width: 100%;
    }
    @media (width >= 768px) {
      .voice__triangle {
        width: min(calc(900 / 1600 * 100%), 900px);
      }
      .voice__description {
        padding-left: 22px;
        padding-bottom: 1rem;
        width: 100%;
      }
    }
    @media (width >= 768px) {
      .voice__image {
        max-width: 419px;
      }
    }
    /* accordion共通部分 */
    .accordion__item + .accordion__item {
      margin-top: 60px;
    }
    .accordion__summary .-label {
      display: inline-block;
      font-size: 15px;
      font-weight: 400;
      padding: 2px 16px;
      margin-top: 6px;
      background-color: rgba(149, 149, 162, 0.34);
    }
    .accordion__summary .-name {
      display: block;
    }
    @media (width >= 768px) {
      .accordion__item + .accordion__item {
        margin-top: 80px;
      }
      .accordion__summary .-label {
        margin-left: 35px;
        margin-top: 0px;
      }
      .accordion__summary .-name {
        display: inline-block;
      }
    }
    .facilities__triangle1 {
      position: absolute;
      top: 0;
      left: 0;
      width: calc(243.5 / 375 * 100%);
    }
    .facilities__triangle2 {
      position: absolute;
      bottom: 0px;
      right: 0px;
      width: calc(351 / 375 * 100%);
    }
    @media (width >= 768px) {
      .facilities__triangle1 {
        position: absolute;
        top: 0;
        left: -185px;
        width: calc(621 / 1600 * 100%);
      }
      .facilities__triangle2 {
        position: absolute;
        bottom: 120px;
        right: 5px;
        width: min(calc(699 / 1600 * 100%), 699px);
      }
    }
    .wrapper.-facilities {
      width: calc(280 / 375 * 100%);
      margin-inline: auto;
    }
    @media (width >= 768px) {
      .wrapper.-facilities {
        width: calc(1400 / 1600 * 100%);
      }
    }
    .swiper-container video{
      width: 100%;
      height: 100%;
      object-fit: cover;
       aspect-ratio: 716 / 900;
    }
     .sticy__numberText{
    position: relative;
  }
   .sticy__numberText::before {
    position: absolute;
    right: 100%;
    padding-right: 12px;
    top: 0;
    color: #ffffff;
   }
   .sticy__item:nth-child(1)  .sticy__numberText:before {
    position: absolute;
    content: "01";
  }
   .sticy__item:nth-child(2) .sticy__numberText:nth-child(1):before {
    position: absolute;
    content: "02";
  }
   .sticy__item:nth-child(3) .sticy__numberText:nth-child(1):before {
    position: absolute;
    content: "03";
  }
  .accordion__item.-spacer{
    padding-top: 60px;
  }
  @media (width >= 768px) {
  .accordion__item.-spacer{
    padding-top: 80px;
  }
}
  .sticy__title::after {
    display: none;
  }
   @media (width >= 768px) {
    .sticy__title {
      width: 200px;
          padding-right:0px;
    padding-left: 23px;
    }
  }
  .accordion__details.-other{
    pointer-events: none;
  }
