@charset "utf-8";

.ins-title-desc{
  position: relative;
  margin: 3rem auto;
  width: 70%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1;
  color: #464646;
  font-size: 18px;
}

.ins-title-desc h2{
  font-size: 1.5rem;
}

.ins-title-desc h3{
  font-size: 2rem;
}

.ins-title-desc-img-wrap{
  position: relative;
  margin: 3rem auto;
  width: 100%;
  display: flex;
  z-index: 1;
  gap: 4px;
}
.ins-title-desc-img-wrap img{
  position: relative;
  width: 50%;
 height: auto;
}

.ins-merit-inner {
    position: relative;
    margin: 8rem auto 5rem;
    width: 80%;
}

.ins-merit-cont {
  gap: 1rem;
}

.ins-merit-item {
    padding: 1rem;
    min-width: 280px;
    width: 300px;
    font-size: 14px;
    color: #464646;
}

.ins-plan-cont {
  position: relative;
  margin: 3rem auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  z-index: 1;
}

.ins-plan-item {
    margin: 2rem auto;
}

.ins-plan-item-text {
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1;
    font-family: "Noto Serif JP", sans-serif;
    border-bottom: #818181 .5px solid;
  	width: 30%;
}

.ins-plan-item-text span {
    font-size: 12px;
    color: #464646;
}

@media (max-width: 1024px) {
  .ins-merit-item {
      padding: 1rem;
      min-width: 260px;
      width: 260px;
      font-size: 14px;
      color: #464646;
  }
}

@media (max-width: 960px) {
  .ins-title-desc{
    margin: 2rem auto;
    width: 90%;
    gap: 1rem;
    font-size: 16px;
  }
  .ins-title-desc h2{
    font-size: 1.25rem;
  }
  .ins-title-desc h3{
    font-size: 1.5rem;
  }

  .ins-merit-inner {
      margin: 3rem auto 2rem;
      width: 90%;
  }
  .ins-merit-item {
      padding: 1rem;
      min-width: 280px;
      width: 100%;
      font-size: 14px;
      color: #464646;
  }

  .ins-plan-cont {
    position: relative;
    margin: 3rem auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .ins-plan-item {
      margin: 2rem auto;
  }
  .ins-plan-item {
    width: 100%;
    overflow-x: auto;          /* 横スクロール有効 */
    -webkit-overflow-scrolling: touch; /* スマホでなめらか */
  }

  .ins-plan-item img {
    display: block;
    width: 640px;              /* 元画像サイズ */
    max-width: none;           /* 縮まないように */
    height: auto;
  }
  .ins-plan-item-text {
      padding-bottom: 1.5rem;
      margin-bottom: 1rem;
      font-size: 1.5rem;
      line-height: 1;
      font-family: "Noto Serif JP", sans-serif;
      border-bottom: #818181 .5px solid;
      width: 100%;
  }
  .ins-plan-item-text span {
      font-size: 12px;
      color: #464646;
  }
}

@media (max-width: 600px) {
  .ins-title-desc-img-wrap{
    margin: 2rem auto;
    flex-direction: column;
    gap: 2rem;
  }
  .ins-title-desc-img-wrap img{
    width: 100%;
  }
}