@charset "utf-8";
/* ======================
main_visual
====================== */
.mainvisual_title_secondary {
  inset: 30px 0 0 0;
}
@media screen and (min-width: 768px) {
  .mainvisual_title_secondary .mainvisual_title_header {
    width: 100%;
  }
  .mainvisual_title_secondary {
    inset: 0 0 0 0;
  }
}
@media screen and (min-width: 1024px) {
  .mainvisual_title_secondary .mainvisual_title_header {
    width: 80%;
  }
}
/* ======================
section.box 
====================== */
section.concept_section.section_wrap {
  margin-top: 60px;
}
.section_wrap {
  margin-top: 48px;
}
.txt_box {
  display: grid;
  gap: 20px;
}
h2 {
  color: #ff88aa;
  text-align: center;
}
h2 span {
  color: #c0c15c;
  font-size: 2.5rem;
}
.grid-area1 h2.min::after {
  content: "";
  display: block;
  background-image: url("../image/common/marker_line.webp");
  background-repeat: no-repeat;
  background-size: contain; /* 画像を親要素に収まるよう調整 */
  background-position: center; /* 位置を中央に */
  width: 100%; /* 親要素の幅に合わせる */
  height: 0; /* 高さを比率に応じて設定 */
  padding-top: calc(26 / 690 * 100%);
}
@media screen and (min-width: 768px) {
  .main_contents {
    margin: 0 auto;
  }
}
@media screen and (min-width: 1024px) {
  .section_wrap {
    margin-top: 56px;
  }
  .box:nth-child(even) .txt_box {
    display: grid;
    gap: 16px 5%;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr 60%; /* 右側に画像を配置 */
    grid-template-areas:
      "title image"
      "text image";
  }
  .box:nth-child(odd) .txt_box {
    display: grid;
    gap: 16px 5%;
    grid-template-rows: auto 1fr;
    grid-template-columns: 60% 1fr; /* 左側に画像を配置 */
    grid-template-areas:
      "image title"
      "image text";
  }
  /* 各エリアの設定 */
  .grid-area1 {
    grid-area: title; /* タイトル */
  }
  .grid-area2 {
    grid-area: image; /* 画像 */
  }
  .grid-area3 {
    grid-area: text; /* テキスト */
  }
}
@media screen and (min-width: 1440px) {
  .section_wrap {
    width: 100%;
  }
}
/* ======================
.concept_section
====================== */
.concept_section {
  position: relative;
}
.concept_copy {
  padding-top: 15px;
}
.concept_section span:first-child {
  position: absolute;
  left: -3%;
  width: 17%;
  top: 0;
  transform: translateY(-70%);
}
.concept_section span:last-child {
  position: absolute;
  right: -2%;
  width: 20%;
  bottom: 0;
  transform: translateY(38%);
}
@media screen and (min-width: 768px) {
  .concept_section span:first-child {
    top: -5%;
    width: 10%;
  }
  .concept_section span:last-child {
    bottom: -25%;
    width: 12%;
  }
}
@media screen and (min-width: 1024px) {
  .concept_section span:first-child {
    top: 0;
    left: 0;
    top: 0;
    transform: translateY(0);
  }
  .concept_section span:last-child {
    bottom: 0;
    right: 0;
    bottom: 0;
    transform: translateY(0);
  }
}
/* ======================
.nss_btn
====================== */
a.nss_btn {
  margin: 10px auto;
  text-decoration: none;
  text-align: center;
  background: #de3e6d;
  color: #fff;
  font-size: 1.6rem;
  padding: 10px;
  background-color: #de3e6d;
  border: #de3e6d 1px solid;
  border-radius: 10px;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .btn_wrp {
    text-align: center;
  }
  a.nss_btn {
    max-width: 352px;
    margin-inline: auto;
  }
}
