/* ========================================
    基本スタイル
======================================== */
html {
  scroll-behavior: smooth;
}
img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans JP", sans-serif;
}
:root {
  --root-font-size: 16;
  --font-color: #333;
  --fighters-blue: #006298;
  --wide-full-width: 1440;
  --full-width: 750;
}
.content {
  background-image: url(../img/bg-01_sp.webp);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 40px 0;
  margin-top: -5px;
}

@media screen and (min-width: 750px) {
  .br-sp {
    display: none;
  }
  .content {
    background-image: url(../img/bg-01_pc.webp);
    padding: 20px 0 100px 0;
  }
}
/* ========================================
    セクション：鎌スタグッズお届けサービス
======================================== */
.section-title {
  width: 66.6%;
  margin: 0 auto;
  margin-top: 40px;
}
.section-title._goods {
  width: 47%;
  margin-top: 130px;
}
@media screen and (min-width: 750px) {
  .section-title {
    width: 600px;
    margin-top: 80px;
  }
  .section-title._flow {
    width: 300px;
  }
  .section-title._goods {
    width: 211px;
    margin-top: 130px;
  }
}

.delivery-text {
  color: #fff;
  font-size: clamp(16px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  margin-top: 15px;
  font-feature-settings: "palt";
  letter-spacing: 0.1rem;
}
@media screen and (min-width: 750px) {
  .delivery-text {
    font-size: min(1.25vw, 18px);
    line-height: 2;
  }
}
/* スライド画像のアニメーション調整 */
.scroll-infinity {
  margin-top: 30px;
}
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  align-items: flex-end;
  list-style: none;
  padding: 0;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 40s infinite linear 0.2s both;
}
.scroll-infinity__item {
  width: clamp(60px, calc(80vw / 6), 140px);
  margin-left: clamp(10px, 2vw, 20px);
}
.scroll-infinity__item > img {
  width: clamp(70%, 80%, 85%);
}
@media screen and (max-width: 768px) {
  .scroll-infinity__item {
    width: clamp(70px, calc(90vw / 4), 100px); /* モバイルは4個表示 */
  }
}
@media screen and (min-width: 750px) {
  .scroll-infinity__item > img {
    width: clamp(60%, 70%, 75%);
  }
  .scroll-infinity__item {
    margin-left: clamp(15px, 2.5vw, 25px);
  }
}
/* ========================================
    セクション：販売概要
======================================== */
.section-title._overview {
  width: 37.3%;
}
@media screen and (min-width: 750px) {
  .section-title._overview {
    width: 200px;
  }
}
.overview {
  padding: 0 15px;
  margin-top: 0;
}
.overview-area {
  max-width: 690px;
  padding: 27.5px 15px;
  background-color: #fff;
  border: 5px solid #98d55d;
  border-radius: 10px;
  margin: 15px auto 0 auto;
}
@media screen and (min-width: 750px) {
  .overview-area {
    max-width: 988px;
    border: 10px solid #98d55d;
    border-radius: 15px;
    padding: 40px 30px;
  }
  .overview {
    padding: 0 15px;
    margin-top: 40px;
  }
}
.overview-box:nth-child(n + 2) {
  margin-top: 10px; /* 2番目以降に上余白 */
}
.overview-boxTitle {
  font-size: clamp(16px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  color: #075b8f;
  font-feature-settings: "palt";
  letter-spacing: 0.1rem;
}
@media screen and (min-width: 750px) {
  .overview-boxTitle {
    font-size: 24px;
  }
}
.overview-text {
  margin-top: 5px;
  font-size: clamp(12px, 3.3vw, 24px);
  font-weight: 500;
  color: #333;
  font-feature-settings: "palt";
  letter-spacing: -0.03rem;
  line-height: 1.5;
}
@media screen and (min-width: 750px) {
  .overview-text {
    font-size: 16px;
  }
}
.overview-text:first-child {
  margin-top: 0;
}
.overview-text span {
  font-size: clamp(14px, 4vw, 28px);
  font-weight: 600;
}
@media screen and (min-width: 750px) {
  .overview-text span {
    font-size: 20px;
  }
}
.note {
  color: #ff0000;
}
.overview-text li {
  margin-top: 8px;
}
.overview-imgBox {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}
.overview-img {
  width: 15%;
  max-width: 60px;
}
@media screen and (min-width: 750px) {
  .overview-imgBox {
    gap: 25px;
  }
}
/* ========================================
    セクション：お申し込みの流れ
======================================== */
.flow {
  position: relative;
}
.flow-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 5px;
  z-index: 2;
}
@media screen and (min-width: 750px) {
  .flow-box {
    max-width: 1068px;
    margin: 40px auto 0 auto;
    flex-direction: row;
    justify-content: unset;
    margin-top: 30px;
    padding: 0 15px;
    gap: min(1.38vw, 20px);
  }
}
/* デコレーション画像の配置調整場所 */
.deco-box {
  position: relative;
}
.deco01 {
  position: absolute;
  top: -2%;
  right: 7%;
  width: 7%;
  z-index: 1;
}
.deco02 {
  position: absolute;
  top: 24%;
  left: 4%;
  width: 7%;
  z-index: 1;
}
.deco03 {
  position: absolute;
  bottom: 26%;
  right: 10%;
  width: 13%;
  z-index: 1;
}
.deco04 {
  position: absolute;
  bottom: -10%;
  right: 0;
  width: 44%;
  z-index: -1;
}
.deco05 {
  position: absolute;
  top: 27%;
  right: 42%;
  width: 21%;
  z-index: 1;
}
.deco06 {
  position: absolute;
  top: 63%;
  left: 41%;
  width: 19%;
  z-index: 1;
}
@media screen and (min-width: 750px) {
  .deco01 {
    position: absolute;
    top: -19%;
    right: 8%;
    width: 5%;
    z-index: 1;
  }
  .deco02 {
    position: absolute;
    top: -133px;
    left: -4%;
    width: 7%;
    z-index: 1;
  }
  .deco03 {
    position: absolute;
    bottom: -17%;
    left: 29%;
    width: 7%;
    z-index: 1;
  }
  .deco04 {
    position: absolute;
    bottom: -30%;
    right: 1px;
    width: 30%;
  }
  .deco05 {
    position: absolute;
    top: 46%;
    right: 63%;
    width: 7%;
    z-index: 1;
    min-width: 60px;
  }
  .deco06 {
    position: absolute;
    top: 48%;
    left: 60%;
    width: 7%;
    z-index: 1;
    min-width: 60px;
  }
}
@media screen and (min-width: 1200px) {
  .deco04 {
    position: absolute;
    bottom: -30%;
    right: -75px;
    width: 30%;
  }
}
.flow-item {
  position: relative;
  width: 95%;
  margin-top: 65px;
}
.flow-item:nth-of-type(1) {
  margin-top: 0;
}
.flow-item:nth-child(2) {
  margin-left: auto;
}

.flow-text {
  position: absolute;
  width: 53%;
  top: 57%;
  left: 75%;
  transform: translate(-50%, -50%);
  font-size: clamp(16px, 3vw, 32px);
  font-weight: 500;
  color: #075b8f;
  .scroll-infinity__wrap {
    display: flex;
  }

  .scroll-infinity__list--left {
    animation: infinity-scroll-left 20s infinite linear;
    min-width: 100%; /* 最低限の幅を確保 */
  }
  text-align: center;
  font-weight: 800;
  line-height: 1.2;
}
.flow-text._second {
  left: 27%;
}
@media screen and (min-width: 750px) {
  .flow-item {
    margin-top: 0;
  }
  .flow-text {
    width: 100%;
    top: 25%;
    left: 49%;
    font-size: min(1.66vw, 20px);
  }
  .flow-text._second {
    left: 47%;
  }
}
/* ========================================
    セクション：グッズ一覧
======================================== */
.iframe-area {
  padding-inline: 10px;
}
.iframe-container {
  max-width: 630px;
  margin: 20px auto 0 auto;
  /* border: 5px solid #fff;
  border-radius: 10px; */
}
@media screen and (min-width: 750px) {
  .iframe-container {
    max-width: 988px;
    /* border: 10px solid #fff;*/
  }
}
/* ========================================
    セクション：フッター
======================================== */
#footer {
  width: 100%;
  padding: 25px 15px 10px;
  background-color: #a5cc65;
  color: #fff;
}

.footer-logo {
  margin: 0 auto;
  display: block;
  width: 200px;
}
@media (hover: hover) {
  .footer-logo:hover {
    opacity: 0.7;
  }
}

.footerShare {
  margin-top: 30px;
}

.footerShare-ttl {
  line-height: 1;
  text-align: center;
  font-size: calc(20 / var(--root-font-size) * 1rem);
  font-weight: 400;
  font-family: "Teko", sans-serif;
}

.footerShare-list {
  margin-top: 5px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
}

.footerShare-item {
  width: 35px;
  height: 35px;
}

.footerShare-link {
  display: block;
}
.footerShare-item._x .footerShare-link {
  padding: 3px;
}
@media (hover: hover) {
  .footerShare-link:hover {
    opacity: 0.7;
  }
}

.footer-copyright {
  margin-top: 30px;
  display: block;
  width: 100%;
  line-height: 1.4;
  text-align: center;
  font-size: calc(11 / var(--root-font-size) * 1rem);
}

@media screen and (min-width: 769px) {
  .footerShare-item {
    width: 45px;
    height: 45px;
  }
}
.policy-content {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: clamp(10px, 2vw, 18px);
  font-weight: 500;
}
@media screen and (min-width: 769px) {
  .policy-content {
    margin-top: 35px;
    margin-left: 51px !important;
    gap: 25px;
  }
}
.policy-content a {
  color: #fff;
  text-decoration: none;
}
.policy-content a:hover {
  opacity: 0.7;
}
/* ========================================
    その他スタイル
/* 右下固定ボタン */
.fixed-bottom-button {
  position: fixed;
  bottom: 75px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fixed-bottom-button.show {
  opacity: 1;
  visibility: visible;
}

.bottom-btn {
  display: block;
  width: calc(80 / var(--full-width) * 100vw);
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bottom-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .fixed-bottom-button {
    bottom: 30px;
    right: 30px;
  }

  .bottom-btn {
    width: min(5.5vw, 55px);
  }
}
