
.p-ss-hero{
  overflow: hidden; 
  position: relative;
}
.p-ss-hero__inner {
  position: relative;

}

.p-ss-hero__bubbles {
  position: absolute;
  inset: 0;
  background: url("img/hero-bubbles.png") no-repeat right center / contain;
  pointer-events: none;
  z-index: 0;
  right: -400px;
  bottom: -70px;
  opacity: 0.8;
}

.p-ss-hero__content{
  position: relative;
  z-index: 1;
  margin: 40px 0 0;
}

.p-ss-hero__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  align-items: center;
  gap: 20px;
}

.p-ss-hero__visualImg {
  width: 100%;
  height: auto;
  display: block;
  margin-left:0px;
  position: relative;
  z-index:2;
}

.p-ss-hero__eyebrow {
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 20px;
  font-size: clamp(16px, 3.2vw, 20px);
}

.p-ss-hero__lead {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: clamp(20px, 3.2vw, 32px);
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
}

.p-ss-hero__lead::after {
  content: "";
  width: 14px;
  height: 14px;
  background: #7fb8ff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%); 
  transform: translateY(2px);
  flex: 0 0 auto;
  margin: 14px 20px 0 ;
}

.p-ss-hero__title {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(27px, 3.2vw, 50px);
}

.p-ss-hero__titleEm {
  color: #7fb8ff;
  font-size: 1.2em;
}
.p-ss-hero__titleMark {
  display: inline-block;
  font-size: 0.4em;
  transform: translateY(-1.6em);
  margin-left: 4px;
}

.p-ss-hero__note {
  margin: 10px 0 0;
  line-height: 1.5;
  text-align: right;
  font-size: clamp(9px, 2.2vw, 12px);
}

.p-ss-hero__logo {
  max-width: 550px;
  margin: 40px auto;
}

.p-ss-hero__logoImg {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: block;
}

.p-ss-hero__bar {
  background: #13294B;
  position: relative;
  z-index: 2;
}

.p-ss-hero__barInner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
}

.p-ss-hero__barText {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 40px);
  line-height: 1;
}

.p-ss-hero__barNum {
  font-size: 2em;
  margin:0 0 0 6px;
}

.p-ss-hero__productsImg {
  width: min(520px, 40vw);
  height: auto;
  display: block;
  margin-top: -100px;
}

/* SP */
@media (max-width: 768px) {
  .p-ss-hero__grid {
    grid-template-columns: 1fr;
  }
  .p-ss-hero__barInner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .p-ss-hero__productsImg {
    width: 100%;
    max-width: 520px;
  }
}




.p-reason {
  --visual-shift-x: 0px;
  --visual-shift-y: 0px; 
  --visual-width: 520px;
  --gap: clamp(16px, 4vw, 48px);
}


.p-reason__inner{
  position: relative;
  max-width: 1200px;
  margin: 0px auto 0;
  display: grid;
  grid-template-columns: 1fr var(--visual-width);
  gap: var(--gap);
  align-items: end;
}

.p-reason__inner--nogrid{
  display: block;
}

.p-reason__kicker {
  display: inline-flex;
  border-left:6px solid #005BAA;
  background: #FAF8F8;
  padding: 6px 40px;
  margin-bottom: 20px;
}

.p-reason__kickerText {
  font-weight: 700;
  color: #005BAA;
  letter-spacing: 0.08em;
  font-size: clamp(18px, 5.5vw, 30px);
}

.p-reason__title {
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 94px);
  line-height: 1.05;
  letter-spacing:0em;
  white-space: nowrap;
}

.p-reason__lead {
  margin: 10px 0 20px;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 46px);
  line-height: 1.5;
}
.p-reason__leadNote{
  font-size: clamp(16px, 2.6vw, 20px);  
}

.p-reason__text p {
  margin: 0 0 10px;
  line-height: 1.9;
  font-size: clamp(14px, 2.6vw, 16px);  
}

.p-reason__note {
  margin-top: 14px;
  font-size: 12px;
  text-align: center;
}

/* アスタリスクを上に（※や*の上付き） */
.p-reason__noteMark {
  display: inline-block;
  font-size: 0.9em;
  vertical-align: super; /* まずはこれが最強 */
  line-height: 1;
}

/* 画像（PCはabsoluteで少し被せる） */
.p-reason__visual {
  position: relative;
  min-height: 240px; 
}

/* 例：泡背景をDOMに持たせるならこれ（pointer-events none推奨） */
.p-reason__bubbleImg {
  position: absolute;
  right: 0;
  top: 40px;
  width: 100%;
  max-width: 520px;
  height: auto;
  pointer-events: none;
}

/* 丸写真サンプル（サイズ別） */
.p-reason__photo {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
}

/* reverse（左右入れ替え） */

.p-reason--reverse{
  position: relative;
}

.p-reason--border::before{
  content:"";
  height: 5px;
  display: block;
  max-width: 1200px;
      margin: -60px auto 80px;
  background: #13294B;
}

.p-reason--reverse .p-reason__inner {
  grid-template-columns: var(--visual-width) 1fr;
}
.p-reason--reverse .p-reason__content {
  order: 2;
}
.p-reason--reverse .p-reason__visual { order: 1; }

.p-reason--reverse .p-reason__kicker {
  justify-self: end;
  display: flex;
}


.p-reason--reverse .p-reason__title {
  text-align: right;
      white-space: nowrap;
}

.p-reason__body {
  display: grid;
  gap: 14px;
  justify-self: end; 
  text-align: left; 
}

.p-reason--04 img{
  max-width: 1000px;
  margin-bottom: 20px;
}

.p-reason__visualLayer {
  margin-bottom: 40px;
}

.p-reason--05 .p-reason__content{
  margin-bottom: 80px;
}



/* SP：テキスト上、画像下。absolute解除して自然に下に流す */
@media (max-width: 768px) {
  .p-reason__inner {
    grid-template-columns: 1fr;
  }

  .p-reason__visual {
    min-height: auto;
    margin-top: 12px;
  }

  .p-reason__visualLayer {
    position: static;
    transform: none;
  }

  .p-reason__photo,
  .p-reason__bubbleImg {
    position: static;
    display: block;
    margin: 12px auto 0;
  }

  .p-reason__photo {
    width: min(78vw, 260px);
    height: min(78vw, 260px);
  }
  .p-reason__text p {
      display: inline;
      line-height: 1.6;  
  }
  .p-reason__text .u-font-up-12,
  .p-reason__text .u-font-up-14{
    font-size: 14px !important;
    color: var(--color-text-sub);
  }
  .p-reason__lead{
    margin: 10px 0 10px;
  }
}


.offer {
  background: #FAF8F8;
  border-radius: 4px;
  padding: 20px 60px 20px;
  margin-top: 40px;
}

.offer__inner {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(16px, 4vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
}

.offer__label,
.offer__divider,
.offer__list{
  align-self: center; 
}

.offer__label {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-size: clamp(16px, 2.6vw, 20px);
}

.offer__divider {
  width: 1px;
  height: 32px;
  background: #bfc7cf;
}

.offer__list {
  display: grid;
  align-items: center;
  padding-top: 10px;
  grid-template-columns: 1fr 1fr 1.5fr 1fr;
  gap:60px;
}


.offer__logoWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.offer__list img{
  max-width: 220px;
}

.offer__logo {
max-height: 100%;

  display:block;
}

/* SP */
@media (max-width: 768px) {
  .offer__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .offer__divider {
    display: none;
  }
}


figure{
  margin: 0;
  padding: 0;
}

 .section--discover{
  position: relative;
  overflow: hidden;
  border-top: 7px solid #002349;
 } 
.discover {
  padding: 60px 0;
  
}
.discover__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
  position: relative;
}

.discover__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 60px;
}

.discover__item {
display: grid;
  grid-template-rows: auto auto 1fr;
}

.discover__media {
  border-radius: 6px;
  overflow: hidden;
}

.discover__img {
  display: block;
  width: 100%;
  height: auto;
}

.discover__body {
  margin-top: 18px;
}

.discover__title {
  margin: 0;
  font-size: clamp(16px, 2.6vw, 22px);
  line-height: 1.5;
  min-height: calc(1.5em * 2);
  font-weight: 700;
  text-align: center;
  display: grid;
  align-items: center; 
}

.discover__text {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 2;
  color: #0b1b3a;
}

.discover__note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.8;
}
.discover__bubbles {
    position: absolute;
    inset: 0;
    background: url(img/hero-bubbles.png) no-repeat right bottom / contain;
    background-size: 30% auto;
    pointer-events: none;
    z-index: 0;
    right:0px;
    bottom: -70px;
}

/* SP */
@media (max-width: 768px) {
  .discover {
    padding: 40px 0;
  }

  .discover__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .discover__title {
    font-size: 20px;
  }
}


.section--find{
  background:#f1f9fb url(img/bg-find.png)  no-repeat  bottom ;
  background-size: 100% auto;
}


    /* ====== marquee gallery ====== */
    .marquee {
      --duration: 30s;
      position: relative;
      overflow: hidden;
    }

    /* 端をフェードさせる（見た目よくする） */
    .marquee::before,
    .marquee::after {
      content: "";
      position: absolute;
      top: 0;
      width: 120px;
      height: 100%;
      pointer-events: none;
      z-index: 2;
    }
    .marquee::before {
      left: 0;
    }
    .marquee::after {
      right: 0;
    }

    .marquee__track {
      display: flex;
      width: max-content;
      animation: marquee var(--duration) linear infinite;
      will-change: transform;
    }

    /* ホバーで止めたいなら 
    .marquee:hover .marquee__track {
      animation-play-state: paused;
    }*/

    .marquee__item {
      height: var(--item-h);
      overflow: hidden;
      flex: 0 0 auto;
      position: relative;
      transform: translateZ(0);
      height: 320px;
      
    }

    .marquee__item img {
      width:auto;
      border-radius:6px;
      height: 100%;
      padding-inline:10px;
      object-fit: cover;
      display: block;
      filter: saturate(1.05) contrast(1.05);
    }

    @keyframes marquee {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* モーション苦手な人は止める */
    @media (prefers-reduced-motion: reduce) {
      .marquee__track { animation: none; }
    }

    /* スマホで高さ調整 */
    @media (max-width: 768px) {
      .marquee { --item-h: 130px; --duration: 16s; }
      .marquee::before, .marquee::after { width: 70px; }
    }


@media (max-width: 768px) {
  .p-ss-hero__visual{
    max-width: 80%;
    margin: 0 auto;
  }
  .p-ss-hero__content {
      margin: 20px 0 0;
  }

  .p-ss-hero__logo {
      max-width:80%;
      margin: 20px auto 40px;
  }
  .p-reason__inner{
    padding: 0 20px;
  }

  .p-ss-hero__productsImg{
    margin-top: 0;
  }
  .p-reason--reverse .p-reason__inner{
    display: block;
  }
  .p-reason--reverse .p-reason__kicker {
    display: inline-block;
  }
  .p-reason--reverse .p-reason__title {
    text-align: left;
  }
  .p-reason__visualLayer{
    max-width: 90%;
    margin: 0 auto;
  }
  .offer {
    padding: 20px 20px 20px;
    margin-top: 30px;
  }
  .offer__list {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .offer__list li:nth-child(1) img{
    max-height: 32px;
    width: auto;
    margin: 0 auto;
    display: block; 
  }

  .offer__list li:nth-child(2) img{
    max-height: 46px;
    width: auto;
    margin: 0 auto;
    display: block;
  }

   .marquee {
      --duration: 60s;
      position: relative;
      overflow: hidden;
    }
  .marquee__track {
      display: flex;
      width: max-content;
      animation: marquee var(--duration) linear infinite;
      will-change: transform;
    }
    .p-reason--border::before {
    content: "";
    height: 5px;
    display: block;
    max-width: 1200px;
    margin: -40px auto 80px;
    background: #13294B;
}



.p-reason--01 .p-reason__visualLayer{
  max-width: 80%;
  margin: 0 auto;
}

.p-reason--03 .p-reason__visualLayer,
.p-reason--05 .p-reason__visualLayer{
  max-width: 60%;
  margin: 0 auto;
}


.p-reason--02 .p-reason__visual{
  margin-top: 30px;
}

.discover__item {
  position: relative;
  padding-bottom: 30px;
}

.discover__item ::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  bottom:0px;
  height: 3px;
  background: #ddd;
}

.discover__item.nobo{
  padding-bottom:0;
}

.discover__item.nobo ::after {
  display: none;
}



}