/* ======================================================================
 setting
====================================================================== */
/*---------------------------------------
  共通スタイル
---------------------------------------*/
.site-nav {
  padding: 20px 0;
  margin: 25px 0;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0 20px;
  text-align: center;
}

/* INDEX タイトル */
.nav-title {
  font-size: 14px;
  color: #747474;
  position: relative;
  padding: 3px 0 0;
  margin: 0 20px 0 0;
}

/* INDEX の後ろに縦バー */
.nav-title::after {
  content: " ";
  display: inline-block;
  margin-left: 8px;
  width: 2px;
  height: 12px;
  background-color: #ccc;
}

/* リンク本体 */
.nav-link {
  display: inline-block;
  font-size: 16px;
  color: #747474;
  text-decoration: none;
  position: relative;
}

/* リンク下に▼を表示 */
.nav-link::after {
  content: url("../img/longterm/under_arrow.png");
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: #ccc;
}

/*---------------------------------------
   SPレイアウト（≤968px）
---------------------------------------*/
@media screen and (max-width: 968px) {
  .site-nav {
    background: #DBDBDB;
    padding: 20px 0;
    display: block;
  }

  .nav-title {
    text-align: center;
    margin: 0 auto 10px;
  }

  .nav-title::after {
    display: none;
  }

  .nav-list {
    flex-wrap: wrap;
    width: 80%;
    margin: auto;
  }

  .nav-list li {
    margin: 12px 0 0;
    width: 50%;
  }

  .nav-title,
  .nav-link {
    font-size: 14px;
    color: #333;
  }
}

/*---------------------------------------
  intro
---------------------------------------*/
.intro {
  width: 80vw;
  height: 590px;
  margin: auto;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-image: url(../img/longterm/support_bg.png);
  background-size: cover;
}

.intro .intro__image {
  position: absolute;
  width: 100%;
}

.intro .intro__image img {
  width: 100%;
  height: auto;
}

.intro .intro__body {
  width: 500px;
  position: absolute;
  background: #fff;
  padding: 50px;
  right: 50px;
  top: 50%;
  margin-top: -240px;
}

.intro .intro__body .intro__sub_title {
  font-size: 20px;
  color: #3F3F3F;
  padding: 0 0 10px;
  margin: 0 0 35px;
  display: inline-block;
  border-bottom: solid #707070 3px;
}

.intro .intro__body .intro__title {
  font-size: 23px;
  margin: 0 0 35px;
}

.intro .intro__body .intro__text {
  font-size: 16px;
  line-height: 1.7;
}

@media screen and (max-width: 968px) {
  .intro {
    width: 100%;
  }

  .intro .intro__image {
    position: inherit;
  }

  .intro .intro__image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: left center;
  }

  .intro .intro__body {
    position: inherit;
    margin: 0;
    right: unset;
    top: unset;
    width: 100%;
    padding: 40px 5%;
  }

  .intro .intro__body .intro__sub_title {
    margin: 0 0 30px;
  }

  .intro .intro__body .intro__title {
    font-size: 18px;
    margin: 0 0 30px;
  }

  .intro .intro__body .intro__text {
    font-size: 14px;
  }
}

/*---------------------------------------
  タイムライン
---------------------------------------*/
.timeline {
  width: 100%;
  padding: 80px 0;
  text-align: center;
  /* 下の黒帯（固定） */
  overflow: hidden;
}

.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  display: block;
  position: relative;
  padding: 40px 0;
}

/* 枠付きのスクロール対象（画像を含む全体） */
.timeline-inner {
  display: inline-block;
  border: solid 1px #000;
  background: #FAF8F8;
  padding: 80px;
  margin: 0 5%;
}

/* 横長画像 */
.timeline-img {
  min-width: 1100px;
  height: auto;
  display: block;
}

/* スマホ用ヒント */
.scroll-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 10px;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin: -50px 0 0 -50px;
}

.scroll-hint img {
  width: 100%;
  height: auto;
  display: block;
}

/* スクロールバーの表示領域を調整 */
.timeline-scroll-wrapper {
  width: 90%;
  margin: 0 auto;
  /* 中央寄せ */
}

/* スクロール領域 */
.timeline-scroll {
  overflow-x: scroll;
  /* ← auto ではなく scroll にする！ */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  display: block;
  position: relative;
}

/* スクロールバーのスタイル */
.timeline-scroll::-webkit-scrollbar {
  height: 12px;
}

.timeline-scroll::-webkit-scrollbar-track {
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 0 10px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
  border: 2px solid #eee;
  /* trackと同じ色で立体感 */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Firefox */
.timeline-scroll {
  scrollbar-width: thin;
  scrollbar-color: #888 #eee;
}


@media screen and (min-width: 969px) {

  /* PC時はスクロールさせず、画像が中央に */
  .timeline-scroll {
    overflow: visible;
    text-align: center;
  }

  .timeline-inner {
    display: inline-block;
    border: 1px solid #000;
    width: 80vw;
  }

  .timeline-img {
    width: 80vw;
    min-width: unset;
  }

  .scroll-hint {
    display: none;
  }
}




/*---------------------------------------
  CTAリンク
---------------------------------------*/
.cta {
  margin: 0 0 100px;
  text-align: center;
}

.cta .cta__ttl {
  text-align: center;
  font-size: 50px;
  display: inline-block;
  position: relative;
}

.cta .cta__ttl:after {
  content: "";
  display: block;
  width: 100%;
  height: 14px;
  background-color: #A07D39;
  margin: -6px 0 0;
}

.cta .cta__desc {
  font-size: 35px;
  padding: 20px 0 0;
}

@media screen and (max-width: 968px) {
  .cta {
    margin: 0 0 60px;
  }

  .cta .cta__ttl {
    font-size: 30px;
  }

  .cta .cta__desc {
    font-size: 22px;
    line-height: 1.4;
  }
}

/*---------------------------------------
  SAセクション
---------------------------------------*/
.sa-wrapper {
  background: #DBDBDB;
  padding: 0 0 150px;
}

.sa-group {
  padding: 150px 0 0;
}

.sa-group .sa-group__image_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 1780px;
}

.sa-group._reverse .sa-group__image_box {
  flex-direction: row-reverse;
}

.sa-group .sa-group__image_box:after {
  content: "";
  display: block;
  position: absolute;
  width: 900px;
  height: 460px;
  background: #F0F2F5;
  left: 50%;
  margin: 0 0 0 -450px;
  z-index: 0;
  bottom: -110px;
}

.sa-group .sa-group__image_box .txtbox {
  position: relative;
  z-index: 1;
  width: 540px;
  margin: 0 150px;
}

.sa-group .sa-group__image_box .txtbox .txt {
  font-size: 30px;
  line-height: 1.7;
  padding: 0 0 30px;
  margin: 0 0 30px;
  position: relative;
}

.sa-group .sa-group__image_box .txtbox .txt:after {
  content: " ";
  width: 50px;
  height: 2px;
  background: #222222;
  position: absolute;
  bottom: 0;
  left: 0;
}

.sa-group .sa-group__image_box .txtbox .subtxt {
  font-size: 14px;
  line-height: 2;
}

.sa-group .sa-group__image_box .imgbox {
  width: 60%;
  text-align: right;
  position: relative;
  z-index: 1;
}

.sa-group .sa-group__image_box .imgbox img {
  width: 100%;
}

.sa-group .sa-group__body {
  margin: 200px auto 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1260px;
}

.sa-group .sa-group__body .sa {
  width: 34%;
  background: #fff;
  border-radius: 50px;
  padding: 40px;
  margin: 0 40px 45px 0;
}

.sa-group .sa-group__body .sa .sa__number {
  font-size: 24px;
  font-weight: lighter;
  padding: 0 0 15px;
  display: block;
}

.sa-group .sa-group__body .sa .sa__question {
  font-size: 24px;
  font-weight: lighter;
  margin: 0 0 40px;
}

.sa-group .sa-group__body .sa .sa__answer {
  font-size: 16px;
  line-height: 1.7;
}

.sa-group .sa-group__body .sa.sa--alt {
  width: calc(100% - 34% - 40px);
  background: #938E8E;
  color: #fff;
  margin: 0 0 45px 0;
}

.sa-group .sa-group__body .sa.sa--alt .sa__number {
  font-size: 30px;
}

.sa-group .sa-group__body .sa.sa--alt .sa__question {
  font-size: 30px;
}

.sa-group .sa-group__body .sa.sa--alt .sa__answer {}

.sa-group .sa-group__body .sa.sa--full {
  width: 100%;
  background: #222222;
  color: #fff;
  margin: 0 0 45px 0;
}

.sa-group .sa-group__body .sa.sa--full .sa__number {
  font-size: 40px;
}

.sa-group .sa-group__body .sa.sa--full .sa__question {
  font-size: 40px;
}

.sa-group .sa-group__body .sa.sa--full .sa__answer {}

@media screen and (max-width: 968px) {
  .sa-wrapper {}

  .sa-group {
    padding: 80px 0 0;
  }

  .sa-group .sa-group__image_box {
    flex-wrap: wrap;
    max-width: unset;
    flex-direction: column-reverse;
  }

  .sa-group._reverse .sa-group__image_box {
    flex-direction: column-reverse;
  }

  .sa-group .sa-group__image_box:after {
    content: "";
    width: 270px;
    height: 200px;
    background: #F0F2F5;
    left: unset;
    z-index: 0;
    bottom: -30px;
    right: 0;
  }

  .sa-group .sa-group__image_box .txtbox {
    width: 100%;
    padding: 0 5%;
    height: 230px;
    margin: auto;
  }

  .sa-group .sa-group__image_box .txtbox .txt {
    font-size: 22px;
  }

  .sa-group .sa-group__image_box .txtbox .txt:after {}

  .sa-group .sa-group__image_box .txtbox .subtxt {}

  .sa-group .sa-group__image_box .imgbox {
    width: 100%;
    margin: 0 0 50px;
  }

  .sa-group .sa-group__image_box .imgbox img {}

  .sa-group .sa-group__body {
    margin: 90px auto 0;
    display: block;
    padding: 0 5%;
  }

  .sa-group .sa-group__body .sa {
    width: 100%;
    margin: 0 auto 40px;
  }

  .sa-group .sa-group__body .sa .sa__number {
    font-size: 18px;
  }

  .sa-group .sa-group__body .sa .sa__question {
    font-size: 18px;
    margin: 0 0 25px;
    line-height: 1.7;
  }

  .sa-group .sa-group__body .sa .sa__answer {}

  .sa-group .sa-group__body .sa.sa--alt {
    width: 100%;
    margin: 0 auto 40px;
  }

  .sa-group .sa-group__body .sa.sa--alt .sa__number {
    font-size: 18px;
  }

  .sa-group .sa-group__body .sa.sa--alt .sa__question {
    font-size: 18px;
    margin: 0 0 25px;
  }

  .sa-group .sa-group__body .sa.sa--alt .sa__answer {}

  .sa-group .sa-group__body .sa.sa--full {
    width: 100%;
    margin: 0 auto 40px;
  }

  .sa-group .sa-group__body .sa.sa--full .sa__number {
    font-size: 18px;
  }

  .sa-group .sa-group__body .sa.sa--full .sa__question {
    font-size: 18px;
    margin: 0 0 25px;
  }

  .sa-group .sa-group__body .sa.sa--full .sa__answer {}

}

/*---------------------------------------
  サービスセクション
---------------------------------------*/

.service {
  background: #F0F2F5;
  border-radius: 20px;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
}

.service .service_inner {
  display: flex;
  align-items: stretch;
  padding: 40px 30px;
}

.service .service_inner .service_ttl {
  border-right: 1px solid #707070;
  display: flex;
  align-items: center;
  margin-right: 30px;
  padding-right: 30px;
}

.service .service_inner .service_ttl .ttl {
  font-size: 24px;
  font-weight: normal;
}

.service .service_inner .service_desc {
  padding: 10px 0;
}

.service .service_inner .service_desc .desc {
  font-size: 16px;
  line-height: 1.7;
}

@media screen and (max-width: 968px) {
  .service {
    width: 90%;
  }

  .service .service_inner {
    display: block;
  }

  .service .service_inner .service_ttl {
    border-right: none;
    margin: 0 0 10px;
    padding: 0 0 10px;
    display: block;
    border-bottom: solid 3px #dbdbdb;
  }

  .service .service_inner .service_ttl .ttl {
    font-size: 18px;
  }

  .service .service_inner .service_desc {
    padding: 0;
  }
}