@charset "utf-8";
.page_title {
  background: url(../img/page_title.png) no-repeat center;
  background-size: cover;
  span.indent {
    display: block;
  }
  @media screen and (max-width: 767px) {
    span.indent {
      text-align: left;
      margin-top: 5px;
    }
  }
}
@media screen and (max-width: 767px) {
  .breadcrumb {
    width: 440px;
    padding: 1em 20px;
  }
}

.intro_block {
  padding-top: 80px;
  padding-bottom: 56px;
  h2 {
    font-size: 3.6rem;
    letter-spacing: 0;
    color: var(--main-color);
    margin-bottom: 32px;
    text-align: center;
    span {
      font-size: 6.4rem;
      letter-spacing: 3.2px;
    }
  }
  p {
    margin-bottom: 32px;
  }
  @media screen and (max-width: 767px) {
    padding-bottom: 40px;
    h2 {
      font-size: 2.4rem;
      letter-spacing: 1.2px;
      line-height: 1.5;
      span {
        font-size: 4rem;
        letter-spacing: 2px;
      }
    }
  }
}
.intro_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  article {
    width: calc(50% - 14px);
    border-radius: 3px;
    background: rgba(185, 241, 255, 0.5);
    padding: 24px 32px;
  }
  h3 {
    background: var(--main-color);
    color: #fff;
    border-radius: 3px;
    width: 100%;
    font-size: 2.4rem;
    letter-spacing: 1.2px;
    text-align: center;
    padding: 20px 10px;
    line-height: 1.7;
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 20px;
    article {
      width: 100%;
      padding: 24px 5%;
    }
    h3 {
      font-size: 2rem;
      letter-spacing: 1px;
      line-height: 1.5;
    }
  }
}
.intro_note {
  margin-top: 30px;
  a {
    color: var(--main-color);
    text-decoration: underline;
    &:hover {
      text-decoration: none;
      opacity: 1;
    }
  }
}
.intro_block-img {
  width: 100%;
}
.intro_block-img picture{
  display: block;
  width: 100%;
}
.intro_block-img picture img {
  display: block;
  height: auto;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .intro_block-img {
    overflow-x: auto;
    width: 100%;
  }
  .intro_block-img picture {
    min-width: 800px;
  }
}

/* 対応できていますか？ */
.issue_block {
  background: rgba(233, 233, 233, 0.5);
  padding: 56px 0;
  h2 {
    font-size: 3.6rem;
    letter-spacing: 0;
    color: var(--main-color);
    margin-bottom: 24px;
    text-align: center;
  }
  p {
    margin-bottom: 24px;

  }
  @media screen and (max-width: 767px) {
    h2 {
      font-size: 2.8rem;
      letter-spacing: 1.4px;
    }
  }
}
.issue_block-img {
  width: 100%;
}
.issue_block-img picture{
  display: block;
  width: 100%;
}
.issue_block-img picture img {
  display: block;
  height: auto;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .issue_block-img {
    overflow-x: auto;
    width: 100%;
  }
  .issue_block-img picture {
    min-width: 800px;
  }
}

/* サービスについて */
.service_block {
  background: linear-gradient(133deg, #DCF8FF 7.5%, #D5FFFA 51.68%, #84C3FF 95.87%);
  padding: 80px 0;
  h2 {
    font-size: 3.6rem;
    letter-spacing: 1.8px;
    color: var(--main-color);
    margin-bottom: 24px;
    text-align: center;
  }
  @media screen and (max-width: 767px) {
    h2 {
      font-size: 2.8rem;
      letter-spacing: 1.4px;
    }
  }
}
.service_list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 20px;
  }
}
.service_card {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(17, 35, 140, .05);
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  width: 32%;
  @media screen and (max-width: 767px) {
    width: 100%;
    padding: 32px 5%;
  }
  h3 {
    color: var(--main-color);
    text-align: center !important;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    order: 2;
  }
}
.service_card-icon {
  height: 133px;
  width: 154px;
  margin-bottom: 20px;
  order: 1;  
}
.service_card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service_card-text {
  font-size: 16px;
  line-height: 1.6;
  order: 3;
  text-align: left;
}


/* サービスの特徴 */
.feature_block {
  padding-top: 56px;
  padding-bottom: 80px;
  h2 {
    font-size: 3.6rem;
    letter-spacing: 1.8px;
    color: var(--main-color);
    margin-bottom: 32px;
    text-align: center;
    span {
      font-size: 6.4rem;
      letter-spacing: 3.2px;
    }
  }
  @media screen and (max-width: 767px) {
    padding-bottom: 40px;
    h2 {
      font-size: 2.4rem;
      letter-spacing: 1.2px;
      line-height: 1.5;
      span {
        font-size: 4rem;
        letter-spacing: 2px;
      }
    }
  }
}
.feature_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  article {
    width: calc(50% - 14px);
    border-radius: 3px;
    background: rgba(185, 241, 255, 0.5);
    padding: 24px 32px;
  }
  h3 {
    background: var(--main-color);
    color: #fff;
    border-radius: 3px;
    width: 100%;
    font-size: 2.4rem;
    letter-spacing: 0;
    text-align: center;
    padding: 20px 10px;
    line-height: 1.7;
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 20px;
    article {
      width: 100%;
      padding: 24px 5%;
    }
    h3 {
      font-size: 2rem;
      letter-spacing: 1px;
      line-height: 1.5;
    }
  }
}
.feature_note {
  margin-top: 30px;
  a {
    color: var(--main-color);
    text-decoration: underline;
    &:hover {
      text-decoration: none;
      opacity: 1;
    }
  }
}

/* ご支援の流れ */
.p-flow {
  width: 100%;
  background: linear-gradient(133deg, #DCF8FF 7.5%, #D5FFFA 51.68%, #84C3FF 95.87%);
  padding: 56px 0;
  h2 {
    font-size: 3.6rem;
    letter-spacing: 1.8px;
    color: var(--main-color);
    margin-bottom: 24px;
    text-align: center;
  }
}
.p-flow__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}
.p-flow__inner {
    background: #fff;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 90%;
    padding: 60px;
    width: 1024px;
}
.p-flow__steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
.p-flow__steps:before {
    background-color: #11238c;
    content: "";
    height: 2px;
    left: 11%;
    position: absolute;
    right: 11%;
    top: 25px;
    z-index: -1;
}
.p-flow__step-item {
    text-align: center;
    width: 22%;
}
.p-flow__step-head {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.p-flow__step-num {
    align-items: center;
    background-color: #11238c;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 24px;
    font-weight: 700;
    height: 50px;
    justify-content: center;
    margin-bottom: 15px;
    width: 50px;
}
.p-flow__step-name {
    color: #11238c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}
.p-flow__step-desc {
    color: #111;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto;
    text-align: left;
    width: 90%;
}
.p-flow-chart-wrapper {
    width: 100%;
}
.p-flow-chart-wrapper picture {
    display: block;
    width: 100%;
}
.p-flow-chart-wrapper picture .p-flow-chart-img {
    display: block;
    height: auto;
    width: 100%;
}

@media screen and (max-width: 767px) {
  .p-flow__inner {
    overflow: hidden;
    padding: 40px 20px;
  }
  .p-flow__steps {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
    min-width: auto;
  }
  
  /* 修正点1: 既存の固定長の線を非表示にする */
  .p-flow__steps:before {
    display: none;
  }

  .p-flow__step-item {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    position: relative;
    text-align: left;
    width: 100%;
  }

  /* 修正点2: 各ステップ間に動的な線を引く（最後の要素以外） */
  .p-flow__step-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 20px;      /* 番号の丸(40px)の垂直中央からスタート */
    bottom: -30px;  /* gap(10px) + 次の丸の中央(20px) まで確実に線を伸ばす */
    left: 24px;     /* head(50px)の中央(25px)から線の太さの半分(1px)を引いた位置 */
    width: 2px;
    background-color: #11238c;
    z-index: -1;
  }

  .p-flow__step-head {
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 20px;
    width: 50px;
  }
  .p-flow__step-num {
    font-size: 18px;
    height: 40px;
    margin-bottom: 0;
    width: 40px;
  }
  .p-flow__step-name {
    font-size: 18px;
    left: 70px;
    position: relative;
    top: -35px;
    white-space: nowrap;
    width: 100%;
    writing-mode: horizontal-tb;
  }
  .p-flow__step-desc {
    font-size: 14px;
    margin-top: 40px;
    text-align: left;
    width: 100%;
  }
  .p-flow-chart-wrapper {
      overflow-x: auto;
      width: 100%;
  }
  .p-flow-chart-wrapper picture {
      min-width: 800px;
  }
}

/* 選ばれる理由 */
.reason_block {
  padding-top: 80px;
  padding-bottom: 180px;
  h2 {
    font-size: 3.6rem;
    letter-spacing: 1.8px;
    color: var(--main-color);
    margin-bottom: 32px;
    text-align: center;
    span {
      font-size: 6.4rem;
      letter-spacing: 3.2px;
    }
  }
  @media screen and (max-width: 767px) {
    padding-bottom: 40px;
    h2 {
      font-size: 2.4rem;
      letter-spacing: 1.2px;
      line-height: 1.5;
      span {
        font-size: 4rem;
        letter-spacing: 2px;
      }
    }
  }
}
.reason_list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  li {
    position: relative;
    width: calc(33.3% - 13.3px);
    min-height: 320px;
    background: rgba(185, 241, 255, 0.50);
    border-radius: 3px;
    padding: 20px;
    p:first-child {
      min-height: 88px;
      display: flex;
      justify-content: center;
      align-items: center;

      background: var(--main-color);
      border-radius: 3px;
      color: #fff;
      font-weight: bold;
      font-size: 2rem;
      letter-spacing: 1px;
      text-align: center;
      padding: 10px;
      margin-bottom: 24px;
    }
  }
  figure {
    position: absolute;
    width: 100%;
    right: 0;
    left: 0;
    margin: auto;
    bottom: -7em;
    display: flex;
    justify-content: center;
    img {
      width: auto;
      height: auto;
    }
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 64px;
    li {
      width: 100%;
      min-height: initial;
      padding: 20px;
      padding-bottom: 128px;
      p:first-child {
        min-height: initial;

        font-size: 1.8rem;
        letter-spacing: 0.9px;
        padding: 8px;
      }
    }
    figure {
      bottom: -3em;
    }
  }
}

/* スケジュール */
.schedule_block {
  background: linear-gradient(133deg, #DCF8FF 7.5%, #D5FFFA 51.68%, #84C3FF 95.87%);
  padding: 70px 0 56px;
  h2 {
    font-size: 3.6rem;
    letter-spacing: 1.8px;
    color: var(--main-color);
    margin-bottom: 24px;
    text-align: center;
  }
  @media screen and (max-width: 767px) {
    h2 {
      font-size: 2.8rem;
      letter-spacing: 1.4px;
    }
  }
}
.schedule_art {
  background: #fff;
  padding: 32px;
  padding-right: 64px;
  margin-bottom: 20px;
  &:last-of-type {
    margin-bottom: 64px;
  }
  hgroup {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  hgroup p {
    text-transform: lowercase;
    background: var(--orange);
    color: #fff;
    width: 76px;
    min-width: 76px;
    height: 76px;
    border-radius: 50%;
    font-family: var(--font-en);
    font-size: 2rem;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 8px;
    span {
      display: block;
      font-size: 3.2rem;
      letter-spacing: 1.6px;
      margin-top: -20px;
    }
  }
  hgroup ~ p {
    margin-left: 108px;
  }
  h3 {
    color: var(--main-color);
    line-height: 1.7;
    font-size: 2.4rem;
    letter-spacing: 1.2px;
  }
  @media screen and (max-width: 767px) {
    padding: 32px 5%;
    &:last-of-type {
      margin-bottom: 48px;
    }
    hgroup {
      gap: 10px;
      margin-bottom: 24px;
    }
    hgroup ~ p {
      margin-left: 0;
    }
    h3 {
      line-height: 1.5;
    }
  }
}
.schedule_outline {
  background: #fff;
  padding: 80px;
  padding-bottom: 56px;
  @media screen and (max-width: 767px) {
    padding: 56px 5%;
  }
}

/* 価格 */
.price_block {
  padding-top: 56px;
  padding-bottom: 56px;
  h2 {
    font-size: 3.6rem;
    letter-spacing: 1.8px;
    color: var(--main-color);
    margin-bottom: 32px;
    text-align: center;
    span {
      font-size: 6.4rem;
      letter-spacing: 3.2px;
    }
  }
  .more_btn {
    margin: 0 auto;
    background: #fcbd00;
  }
  .more_btn::after {
    background: url(/security/common/img/arrow_wht.svg) no-repeat center;
  }
  @media screen and (max-width: 767px) {
    padding-bottom: 40px;
    h2 {
      font-size: 2.4rem;
      letter-spacing: 1.2px;
      line-height: 1.5;
      span {
        font-size: 4rem;
        letter-spacing: 2px;
      }
    }
  }
}