/*---------- 
.about-title
------------*/

.about-title {
  margin-bottom: 45px;
}

.about-title h2 {
  color: #26292b;
  font-size: 32px;
  font-style: normal;
  text-align: center;
  font-weight: 700;
  line-height: normal;
  padding-bottom: 18px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .about-title {
    margin-bottom: 30px;
  }

  .about-title h2 {
    font-size: 24px;
    padding-bottom: 10px;
  }
}

/*---------- 
about-intro 
------------*/

.about-intro {
  padding-top: 120px;
}

.about-title-line {
  border-bottom: 4px dotted #005d8b;
  max-width: 520px;
  margin: 0 auto;
}

.about-intro-text {
  color: #26292b;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 3.75;
  margin-bottom: 80px;
}

.about-intro-img {
  max-width: 843px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .about-intro {
    padding-top: 60px;
  }

  .about-intro-text {
    font-size: 14px;
    line-height: 2.75;
    margin-bottom: 40px;
  }

  .about-intro-img {
    max-width: 843px;
    margin: 0 auto;
  }
}

/*---------- 
.about-detail
------------*/

.about-bg-brown {
  background: #fcf9f5;
}
.about-detail {
  padding-top: 114px;
}

.about-detail-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: #f4ede3;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
}

.about-detail-grid-title {
  padding: 20px 5px;
  border-top: 2px solid #ede3d5;
  height: 100%;
}

.about-detail-grid-title--last {
  border-bottom: 2px solid #ede3d5;
}

.about-detail-grid-title h3 {
  color: #000;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.8px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-detail-grid-item {
  background: #fff;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 20px 40px 20px 40px;
  border-top: 2px solid #d9d9d9;
}

.about-detail-grid-item--last {
  border-bottom: 2px solid #d9d9d9;
}

.about-detail-grid-item p {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.8px;
}

.about-detail-grid-item li {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.8px;
  padding-left: 1em;
  text-indent: -1em;
  text-align: justify; /* 両端揃え */
  text-justify: distribute;
}

@media screen and (max-width: 767px) {
  .about-detail {
    padding-top: 60px;
  }

  .about-detail-grid {
    /* grid-template-columns: 120px 1fr; */
    grid-template-columns: 1fr;
  }

  .about-detail-grid-title {
    padding: 20px 5px;
  }

  .about-detail-grid-title h3 {
    font-size: 14px;
  }

  .about-detail-grid-item {
    padding: 20px 16px;
  }

  .about-detail-grid-item p {
    font-size: 14px;
  }

  .about-detail-grid-item li {
    font-size: 14px;
    line-height: 1.5;
  }
}

/*---------- 
.about-detail
------------*/

.about-step {
  padding-top: 84px;
  padding-bottom: 160px;
  position: relative;
  z-index: 0;
}

.about-step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  max-width: 1020px;
  margin: 60px auto 80px;
}

.about-step-grid-item {
  position: relative;
  z-index: auto;
}

.about-step-grid-item:after {
  content: '';
  position: absolute;
  background-image: url(../../img/about/about-step-arrow.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 35px;
  height: 46px;
  top: 50%;
  transform: translateY(-50%);
  right: -30px;
  z-index: 2;
  pointer-events: none;
}

.about-step-grid-item:last-child:after {
  display: none;
}

.about-step-grid-item img {
  position: relative;
  z-index: 1;
}

.about-step-btn a {
  border-radius: 32px;
  background: #d44b25;
  height: 118px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  max-width: 500px;
  margin: 0 auto;
}

.about-step-btn a p {
  color: #fff;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.about-step-btn a img {
  max-width: 55px;
}

@media screen and (max-width: 767px) {
  .about-step {
    padding-top: 60px;
    padding-bottom: 90px;
  }

  .about-step-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 500px;
    margin: 30px auto 40px;
  }

  .about-step-grid-item:after {
    content: none;
  }

  .about-step-btn a {
    height: 100px;
    gap: 20px;
    max-width: 360px;
  }

  .about-step-btn a p {
    font-size: 20px;
  }
  .about-step-btn a img {
    max-width: 40px;
  }
}

/*---------- 
.about-think 
------------*/

.about-think {
  overflow: hidden;
}

.about-think-wrap {
  background-color: #e6f2fa;
  padding: 100px 0 150px;
  background-image: url(../../img/about/about-think-wrap-bg.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about-think-top {
  background: #fcf9f5;
}
.about-think-bottom {
  background: #f4ede3;
}

.about-think-content-wrap {
  max-width: 930px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}

.about-think-content-subtitle {
  color: #26292b;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
  padding-left: 20px;
  position: relative;
}

.about-think-content-subtitle:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
  background: #d44b25;
  width: 6px;
  height: 100%;
}

.about-think-content-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: transparent;
  position: relative;
}

.about-think-content-top:after {
  content: '';
  position: absolute;
  background-image: url(../../img/about/about-think-deco-001.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 195px;
  height: 163px;
  top: -100px;
  right: -120px;
}

.about-think-content-top-box {
  padding: 30px;
  border-radius: 8px;
  background: #fff;
}

.about-think-content-top-box img {
  margin: 16px 0;
}

.about-think-content-top-box p {
  color: #26292b;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: -0.48px;
}

.about-think-content-main {
  border-radius: 8px;
  background: #fff;
  padding: 50px 0;
  margin-top: 50px;
  position: relative;
}

.about-think-content-main-wrap {
  padding: 0 80px;
  position: relative;
  z-index: 1;
}

.about-think-content-main:before {
  content: '';
  position: absolute;
  background-image: url(../../img/about/about-think-deco-002.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 171px;
  height: 146px;
  top: 20%;
  left: -120px;
  z-index: -1;
}
.about-think-content-main:after {
  content: '';
  position: absolute;
  background-image: url(../../img/about/about-think-deco-003.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 140px;
  height: 162px;
  bottom: 6%;
  right: -100px;
  z-index: -1;
}

.about-think-content-main .about-think-content-subtitle {
  margin-bottom: 20px;
}

.about-think-content-main-iframe {
  margin: 30px auto;
  max-width: 620px;
}

.about-think-content-main-iframe iframe {
  width: 100%;
  height: 350px;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  margin-top: 46px;
  margin-bottom: 80px;
}

.slide-img {
  display: flex;
  width: max-content;
  animation: slide 16s linear infinite;
}

.slide-img img {
  width: 1278px; /* 表示サイズ */
  flex-shrink: 0;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1278px);
  }
}

.about-think-content-main-wrap-line {
  border-bottom: 4px dotted #005d8b;
  margin-bottom: 60px;
}

.about-think-content-main-box {
  margin-top: 50px;
}

.about-think-content-main-box-title {
  border-radius: 34px;
  background: #d44b25;
  width: 235px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 16px;
}

.about-think-content-main-box-grid {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 30px;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .about-think-wrap {
    padding: 60px 0;
  }

  .about-think-content-subtitle {
    font-size: 18px;
  }

  .about-think-content-top {
    grid-template-columns: 1fr;
  }

  .about-think-content-top-box {
    padding: 20px;
  }

  .about-think-content-top-box p {
    font-size: 14px;
  }

  .about-think-content-main {
    padding: 30px 0;
    margin-top: 30px;
  }

  .about-think-content-main-wrap {
    padding: 0 20px;
  }

  .about-think-content-main-iframe {
    margin: 30px auto;
    max-width: 620px;
  }

  .about-think-content-main-iframe iframe {
    width: 100%;
    height: 250px;
  }

  .slider-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 60px;
  }

  .slide-img {
    display: flex;
    width: max-content;
    animation: slide 24s linear infinite;
  }

  .slide-img img {
    width: 1278px; /* 表示サイズ */
    flex-shrink: 0;
  }

  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-1278px);
    }
  }

  .about-think-content-main-wrap-line {
    margin-bottom: 30px;
  }

  .about-think-content-main-box {
    margin-top: 50px;
  }

  .about-think-content-main-box-title {
    border-radius: 34px;
    background: #d44b25;
    width: 235px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 16px;
  }

  .about-think-content-main-box-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
  }
  .about-think-content-main-box-grid a {
    max-width: 200px;
  }
}
