@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.point-sticky-container {
  position: relative;
  margin: 0 -4vw 0 -3vw;
}

.point-wrap {
  --pw-base-h: 90vh;
  --pw-max-vw: calc(100vw - 64px);
  --pw-w: min(var(--pw-max-vw), calc(var(--pw-base-h) * 462 / 320));

  position: sticky;
  top: calc((100vh - (var(--pw-w) * 320 / 462)) / 2);
  z-index: 10;
  box-sizing: border-box;
  width: var(--pw-w);
  max-width: 100%;
  aspect-ratio: 462 / 320;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.point-wrap .point_logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.point-wrap .point_logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  aspect-ratio: 1/1;
  background: url(http://test.furuhashi-tire.jp/wp-content/uploads/2026/04/point_logo.png) no-repeat top center/contain;
  z-index: 2;
}
.point-wrap ul {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.point-wrap ul li {
  position: absolute;
  width: 37%;
  opacity: 0;
  z-index: 2;
}
.point-wrap ul li:nth-child(1) {
  bottom: 0;
  left: 0;
}
.point-wrap ul li:nth-child(2) {
  top: 50%;
  left: 50%;
}
.point-wrap ul li:nth-child(3) {
  top: 0;
  right: 0;
}
.point-wrap ul li:nth-child(4) {
  top: 0;
  left: 0;
}
.point-wrap ul li:nth-child(5) {
  bottom: 0;
  right: 0;
}
.point-wrap ul li img {
  width: 100%;
}

/* PC: 2つ目（中央要素）だけ中心補正 */
.point-wrap ul.u-pc li:nth-child(2) {
  transform: translate(-50%, -50%);
}

@media (max-width: 959px) {
  .point-sticky-container {
    padding-top: 18vh;
    margin-bottom: -35vh;
  }
  .point-wrap {
    width: min(100%, calc((100vh - 20px) * 462 / 320));
    aspect-ratio: 355 / 320;
    top: 52vh;
    transform: translateY(-50%);
  }

  .point-wrap ul li {
    width: 49%;
    margin: 0;
  }
}

@media (max-width: 959px) {
  .point-wrap {
    width: calc(100% - 4px);
    aspect-ratio: 9 / 15.8;
  }
  .point-wrap ul li {
    width: 37.5%;
  }
  .has-point-wrap {
    padding: 0;
  }

  .point-wrap ul li:nth-child(1) {
    top: 20.3%;
    left: 30.5%;
  }
  .point-wrap ul li:nth-child(2) {
    top: 50.2%;
    left: 0%;
  }
  .point-wrap ul li:nth-child(3) {
    top: 50.3%;
    right: 1.5%;
  }
  .point-wrap ul li:nth-child(4) {
    top: 30%;
    right: 7%;
  }
  .point-wrap ul li:nth-child(5) {
    top: 30%;
    right: 1%;
  }
  .point-wrap ul li:nth-child(6) {
    bottom: 20%;
    left: 30.5%;
  }

  /* 7-10: 画像なし枠（上2 / 下2） */
  .point-wrap ul li:nth-child(7) {
    top: 10.5%;
    right: 1%;
  }
  .point-wrap ul li:nth-child(8) {
    top: 0%;
    right: 31.5%;
  }
  .point-wrap ul li:nth-child(9) {
    bottom: 10%;
    left: 0%;
  }
  .point-wrap ul li:nth-child(10) {
    bottom: 0;
    left: 30.5%;
  }

  /* 11: 中央ロゴ */
  .point-wrap ul li:nth-child(11) {
    top: 50%;
    left: 50%;
    width: 22%;
  }
}

/*
 * .point-wrap を含むセクションの swell-block-fullWide__inner に z-index:100 を付与。
 * SWELL テーマは全 __inner に z-index:1 を設定しており、DOM順が後のセクションが
 * 前のセクションの上に重なってしまう。この指定で、次のセクションに覆われる問題を解消する。
 */
.swell-block-fullWide__inner.has-point-wrap {
  z-index: 100;
}

/*
 * Hero キャッチコピーの帯マスク演出
 * 2行それぞれを赤帯で隠し、ロード後に左基点で右側から縮めて表示する。
 */
.js-catch-copy mark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.16em;
}

.js-catch-copy .catch-line {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.js-catch-copy .catch-text {
  position: relative;
  z-index: 1;
}

.js-catch-copy .catch-cover {
  position: absolute;
  top: 0.08em;
  right: -0.04em;
  bottom: -0.01em;
  left: -0.04em;
  width: 106%;
  z-index: 2;
  background: #ff0000;
  /* 左は垂直、右上のみ斜め（鋭利さは前回の約0.6倍） */
  clip-path: polygon(0% 0%, 95% 0%, 100% 100%, 0% 100%);
  transform-origin: left center;
  transform: scaleX(1);
  will-change: transform;
}

.js-catch-copy .catch-line.is-reveal .catch-cover {
  animation: catchCoverShrink 0.7s cubic-bezier(0.35, 0.02, 0.2, 1) forwards;
}

@keyframes catchCoverShrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
