/* ----------------------- */
/* 独自css
/* ----------------------- */
main.hidden-cancel {
  overflow: visible;
}
.default-content.worldwide_flavors-contents {
  margin-top: 100px;
}
.worldwide_flavors-contents section {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 32px;

  + section {
    margin-top: 24px;
  }

  > div {
    position: sticky;
    z-index: 2;
    top: 80px;
    height: 310px;
    margin: 14px 0 14px;
    border-radius: 10px;
    overflow: hidden;
    background: #F2F6FC;

    h2 {
      position: absolute;
      top: 11px;
      left: 18px;
    }

    img {
      height: 100%;
      margin: 0 0 0 auto;
    }
  }
  .h2-basis {margin: 0;}

  ul li + li {
    margin-top: 20px;
  }

  a > div{
    position: relative;
    z-index: 1;
  }
  a {
    display: flex;
    gap: 20px;
    padding: 14px 0;
    border-radius: 20px;
    position: relative;
    &:before{
      content: '';
      width: calc(100% + 14px * 2);
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      border-radius: 20px;
      background: var(--bg-Bg_B2, #F2F6FC);
      transform: translateX(-14px);
      opacity: 0;
      transition: all .3s;
    }

    .wwf-img {
      width: 32%;
      max-width: 209px;
      overflow: hidden;
      border-radius: 10px;
      > img{
        transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
      }
    }

    > .wwf-text {
      width: calc(68% - 20px);
      min-width: calc(100% - 209px - 20px);

      > div {
        display: flex;
        align-items: flex-start;
        gap: 8px;

        img {
          margin-top: 2px;
          width: 20px;
        }
      }

      h3 {
        margin: 8px 0 12px;
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 120%;
      }
      p {
        margin: 0 0 9px;
        color: var(--Umios-text_Grey, #676767);
        font-size: 1.5rem;
        line-height: 130%;
      }
    }
    .icon-container {
      transform: translateY(0);
    }

    &:hover {
      color: var(--Umios-Black, #000);
      /* background: var(--bg-Bg_B2, #F2F6FC); */
      &:before{
        opacity: 1;
      }
      .wwf-img {
        overflow: hidden;
        position: relative;
        transform: translateZ(0);
        flex-shrink: 0;
        img{
          transform: translateZ(0) scale(1.1);
        }
      }
    }
    .text-link {
      font-weight: 500;
    }
    .text-link:hover svg {
      transform: translateX(0);
    }
  }
}
@media screen and (max-width: 979px) {
  .default-content.worldwide_flavors-contents {
    margin-top: 32px;
  }
  .worldwide_flavors-contents section {
    grid-template-columns: 1fr;

    > div {
      min-height: 109px;
      max-height: 20vw;
      overflow: visible;
      box-shadow:
        0 -5px 0 0 #fff,     /* 上方向：5px */
        0 5px 0 0 #fff,      /* 下方向：5px */
        15px 0 0 0 #fff,     /* 右方向：10px */
        -15px 0 0 0 #fff;    /* 左方向：10px */

      &::before,
      &::after {
        content: '';
        display: block;
        position: absolute;
        width: calc(100% + 15px * 2);
        left: 50%;
        transform: translate(-50%);
        background: var(--Umios_White);
      }

      &::before {
        height: 30px;
        top: -30px;
      }

      &::after {
        height: 6px;
        bottom: -5px;
      }

      h2 {
        top: 1vw;
        left: 2vw;
      }

      img {
        margin: 0 0 0 auto;
      }
    }
    a {
      .wwf-img {
        width: 40%;
        max-width: 160px;
        height: 100px;
      }
    }
  }
}