#lp_wrapper {
  text-align: center;
}

/*  ========================
    *********  modal  *********
=============================================  */
/* ===== usage ===== */
.usage__inner{
  max-width: 960px;
  margin: 0 auto;
}

.usage__head{
  text-align:center;
  margin-bottom: clamp(18px, 2.5vw, 32px);
}

#topGroupName .usage__head h2 {
    text-align: center;
    padding: 0 0 30px;
    font-size: 4.0rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    line-height: 1.6;
    font-family: "Times New Roman", Times, serif;
    color: #f47996;
}
.usage__head h2 span {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.contents p.usage__lead {
  margin: 20px auto 40px;
  width: min(900px, 100%);
  color:#555;
  line-height: 2;
  font-size: 20px;
  font-family: Shippori Mincho, serif;
}

.usage__leadLabel{
  font-weight: 700;
  margin-right: 20px;
  position: relative;
}
.usage__leadLabel:after {
        position: absolute;
        content: "｜";
        margin-right: -1em;
    }

@media screen and (max-width: 768px) { 
    .usage__leadLabel {
        padding: 0 16px;
        display: block;
        font-size: 4.8vw;
    }
    .usage__leadLabel:before {
        position: absolute;
        content: "｜";
        margin-left: -1em;
    }
    .usage__leadLabel:after {
        position: absolute;
        content: "｜";
        margin-right: -1em;
    }
    .contents p.usage__lead {
        text-align: center;
        font-size: 4.2vw;
    }
}

/* grids */
.usage__grid {
  display:grid;
  gap: clamp(16px, 2vw, 26px);
}

.usage__grid--top{
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin-top: clamp(18px, 2.5vw, 28px);
}

.box {
    position: relative;
}

.usage__grid--bottom{
  grid-template-columns: 3fr 220px; /* 05が横長、06が縦 */
  margin-top: clamp(18px, 2.5vw, 28px);
  align-items: start;
}

/* card */
.usageCard{
  background:#fff;
  border-radius: 10px;
  position:relative;
  padding: 16px 16px 14px;
}

.usageCard__no {
  position:absolute;
  top:-10px;
  left:-10px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg,#a6b7ff,#e9c6da);
  color:#fff;
  font-weight:700;
  letter-spacing:.06em;
}

.usageCard__img{
  margin: 10px 0 10px;
  background:#fff;
  border-radius: 10px;
  overflow:hidden;
}

.usageCard__img img{
  width:100%;
  height:auto;
  display:block;
}

.usageCard__txt{
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color:#555;
}

/* big(06) */
.usageCard--big .usageCard__img{
  aspect-ratio: 4 / 3;
  display:flex;
  align-items:center;
  justify-content:center;
}
.usageCard--big .usageCard__img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* wide(05) */
.usageWide {
  border-radius: 10px;
  position:relative;
  padding: 0;
}

.usageStep__no,
.usageWide__no{
  position:absolute;
  top:0;
  left:0;
  width: 40px;
  height: 40px;
  border-radius: 10px 0 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg,#a6b7ff,#e9c6da);
  color:#fff;
  font-weight:700;
  letter-spacing:.06em;
}

.usageWide__items{
  display:grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow:hidden;
  background:#fff;
}
.usageWide__items_txt {
    display:grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
}
.usageStep__txt,
.usageWide__items_txt p {
    padding: 10px;
}

.usageMini{
  border-left: 1px solid #e8e8e8;
}
.usageMini:first-child{ border-left: 0; }

.usageMini__ttl{
  margin: 0 0 8px;
  font-size: 13px;
  color:#444;
  font-weight:700;
  text-align: center;
}

.usageMini__img{
  margin: 0 0 10px;
  aspect-ratio: 16 / 9;
  display:flex;
  align-items:center;
  justify-content:center;
}
.usageMini__img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}

.usageMini__txt{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color:#555;
}

/* line + foot */
.usage__line{
  border:0;
  height:1px;
  background:#e6e6e6;
  margin: clamp(26px, 3vw, 40px) 0;
}

.usage__foot{
  text-align:center;
  color:#555;
  line-height: 2;
  font-size: 14px;
  margin: 0;
}

.usage__footLabel{
  font-weight:700;
  margin-right: 10px;
}

/* button */
.usage__btnWrap{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}

.usageBtn{
  appearance:none;
  border: 1px solid #bdbdbd;
  background:#fff;
  border-radius: 999px;
  padding: 12px 18px;
  min-width: 180px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  cursor:pointer;
}

.usageBtn__txt{
  font-size: 13px;
  letter-spacing: .12em;
  color:#444;
  font-weight: 700;
}

.usageBtn__plus{
  width: 30px;
  height: 30px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#666;
  font-size: 18px;
  line-height: 1;
}

/* スマホ用の横スクロール */
@media (max-width: 768px) {
  .sp_scroll_wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
  }
  .sp_scroll_wra::-webkit-scrollbar {
    display: none;             /* Chrome / Safari */
  }

  .sp_scroll {
    display: flex;
    flex-direction: row; /* または row にして全部横並び */
    gap: 20px;
    min-width: max-content;
  }

  .usage__grid--top,
  .usage__grid--bottom {
    display: contents;
  }

  /* 01-04の通常カード */
  .usageStep {
    flex: 0 0 200px;
  }

  /* 05-06も横並び */
  .usage__grid--bottom {
    display: flex;
    gap: 16px;
    margin-top: 0;
  }

  .usageWide {
    flex: 0 0 calc(164px * 4 + 16px * 3); /* 約850px */
  }
  .usageWide img {
    width: 100%;
  }

  .usageStep--large {
    flex: 0 0 220px; /* 固定幅 */
  }

  /* 05の中のテキストエリア */
  .usageWide__items_txt {
    grid-template-columns: repeat(4, 1fr); /* 均等に配置 */
  }
}

/* ===== Modal ===== */
.mModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display:none;
}

.mModal.is-open {
  display:block;
}

.mModal__overlay {
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}

.mModal__panel{
  position: relative;
  width: min(960px - 40px);
  margin: 20vh auto;
  background:#fff;
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.mModal__close{
  position:absolute;
  top: 6px;
  right: 12px;
  width: 30px;
  height: 30px;
  border:0;
  background: transparent;
  font-size: 40px!important;
  font-weight: 500!important;
  background: none!important;
  line-height: 1;
  cursor:pointer;
  color:#999;
  border: none!important;
  padding: 0 !important;
}

.mModal__grid{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  padding: 28px 26px 30px;
}

.mModalHand {
    text-align: center;
    padding-top: 20px;
}
.mModal__col--left{
  padding-right: 18px;
  border-right: 1px solid #e8e8e8;
  display:flex;
  flex-direction: column;
}

.mModalHand__img {
  margin: 0 0 12px;
}
.mModalHand__img img{
  width: inherit;
  height: auto;
  text-align: center;
  max-width: 0 auto;
}
.mModalHand__txt {
  margin:0;
  color:#555;
  line-height: 1.8;
  font-size: 14px;
}

/* right cards */
.mModalCards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 26px;
  padding-left: 22px;
}

.mModalCard__ttl{
  margin: 0 0 10px;
  text-align:center;
  font-weight: 700;
  color:#444;
  font-size: 14px;
}

.mModalCard__img{
  margin: 0 0 12px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mModalCard__img img{
  height: auto;
  display:block;
  object-fit: contain;
}

.mModalCard__txt{
  margin: 0;
  text-align:center;
  color:#555;
  line-height: 1.8;
  font-size: 13px;
}

/* ===== responsive ===== */

@media (max-width: 768px){
  
  .mModal__panel {
    width: 86%;
    height: 76%;
    overflow-y: scroll;
    margin: 12vh auto;
  }
  .mModal__panel::-webkit-scrollbar {
    display: none;             /* Chrome / Safari */
  }
  .mModal__grid { 
    grid-template-columns: 1fr;
   }
  .mModal__col--left{
    padding-right: 0;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-right: 0;
    border: none;
  }
  .mModal__col--right.und {
    margin-bottom: 30px;
    border-bottom: 1px solid #e8e8e8;
  }
  .mModalHand {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
  }
  .mModalCards{
    padding-left: 0;
    grid-template-columns: 1fr;
  }
  .usageStep {
    width: 86%;
  }

  .mModalCard{
    display: grid;
    grid-template-columns: 1fr 120px; /* 左：テキスト / 右：画像 */
    column-gap: 14px;
    align-items: center;
  }

  /* テキストは左カラムにまとめる */
  .mModalCard__ttl{
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    margin: 0 0 6px;
  }

  .mModalCard__txt{
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    margin: 0;
  }

  /* 画像は右カラムで縦センター */
  .mModalCard__img{
    grid-column: 2;
    grid-row: 1 / 3; /* 見出し＋テキストをまたぐ */
    margin: 0;
  }

  .mModalCard__img img{
    width: 100%;
    height: auto;
    display: block;
  }
}

/*  ========================
    *********  view more  *********
=============================================  */
.usage__btnWrap .usageBtn {
    width: 192px;
    height: 36px;
    border-radius: 18px;
    margin: 0 auto;
    border: 1px solid #444444;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    line-height: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    padding: 0;
}

/* スクロール */
.scroll {
    display: none;
}
@media only screen and (max-width: 749px) {
    .scroll {
        position: relative;
        display: inline-block;
        margin-top: 1rem;
        margin-left: 0rem;
        margin-bottom: 2rem;
        font-family: 'Times New Roman', Times, serif;
        color: #999;
        letter-spacing: 0.1rem;
    }
    .scroll::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 120%; /* 文字の右横からスタート */
        transform: translateY(-50%);
        width: 12rem; /* 横方向に伸びる */
        height: 1px;
        background-color: #999;
        animation: scroll-line 2s infinite;
    }
}

@keyframes scroll-line {
  0% {
    transform: scale(0, 1) translateY(-50%);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1) translateY(-50%);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1) translateY(-50%);
    transform-origin: 100% 0;
  }
  100% {
    transform: scale(0, 1) translateY(-50%);
    transform-origin: 100% 0;
  }
}