@charset "UTF-8";

#intro {
  padding: 35px 0 60px;
  background-color: var(--base-color);
  overflow-x: hidden;
}

#intro .container {
  position: relative;
}

#intro h2 {
  color: var(--orange-color);
  font-size: 4.2667vw;
  line-height: 1.357;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

#intro h2::after {
  content: "";
  width: 100vw;
  height: 2px;
  background: var(--orange-color);
  position: absolute;
  bottom: 0;
  left: 0;
}

#intro .intro-slide {
  width: calc(100% + (100vw - 100%) / 2);
}

#intro .intro-slide-item {
  container-type: inline-size;
  container-name: intro-slide-item;
}

#intro .intro-slide-item > a {
  display: block;
}

#intro .intro-slide-item-inner {
  position: relative;
  display: block;
  overflow: hidden;
}

#intro .intro-slide-item-inner img {
  width: 100%;
  height: auto;
  display: block;
}

#intro .intro-slide-item-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  margin: 0;
  max-width: 92%;
  box-sizing: border-box;
  color: #fff;
  background: var(--orange-color);
  font-weight: 600;
  font-size: clamp(1.2rem, 5.3cqw, 2.8rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  padding: 0.55em 1.6em 0.55em 0.85em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.15em) 100%, 0 100%);
}

#intro .intro-slide-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

#intro .swiper-pagination {
  color: var(--orange-color);
  font-size: 3.3333vw;
  width: auto !important;
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  line-height: 1;
}

#intro .intro-slide-prev,
#intro .intro-slide-next {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  width: 3.2vw !important;
  height: 3.2vw !important;
  flex-shrink: 0;
}

#intro .intro-slide-prev::after,
#intro .intro-slide-next::after {
  background-image: url(../images/common/arrow-o.svg);
  width: 3.2vw;
  height: 3.2vw;
}

#intro .intro-slide-prev::after {
  transform: scaleX(-1);
}

#walige {
  padding: 50px 0;
}

#walige h2 {
  color: var(--orange-color);
  font-size: 4.6667vw;
  line-height: 1.357;
  text-align: center;
  margin-bottom: 20px;
}

#walige .walige-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

#walige .walige-note {
  text-align: right;
  font-size: 1.4rem;
  margin: 20px 0 0;
  color: #666;
}

#point {
  background-color: var(--base-color);
  padding: 50px 0;
}

.point-list-item:not(:last-child) {
  margin-bottom: 35px;
}

.point-list-item-body {
  display: flex;
  flex-direction: column;
}

.point-list-item-text {
  width: var(--page-width);
  max-width: var(--max-page-width);
  margin: 0 auto 25px;
}

.point-list-item--text-only .point-list-item-body {
  width: var(--page-width);
  max-width: var(--max-page-width);
  margin: 0 auto;
}

.point-list-item--text-only .point-list-item-text {
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.point-list-item-img {
  display: block;
  width: 100%;
}

.point-list-item-img img {
  width: 100%;
  height: auto;
  display: block;
}

.point-list-item-text h2 {
  color: var(--orange-color);
  font-size: 5.6vw;
  line-height: 1.4;
  margin-bottom: 16px;
}

.point-list-item-text p {
  font-size: 4vw;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.point-list-item-text p.memo {
  color: var(--orange-color);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 15px;
  text-align: right;
}

.point-list-item-text dl {
  margin-top: 45px;
}

.point-list-item-text dl dt {
  color: #fff;
  font-size: 4vw;
  background: var(--orange-color);
  letter-spacing: 0.05em;
  padding: 10px 20px;
  text-align: center;
}

.point-list-item-text dl dd {
  padding: 20px;
  background: #fff;
}

.point-list-item-text dl dd ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  margin: auto;
  width: max-content;
}

.point-list-item-text dl dd ul li {
  color: var(--orange-color);
  font-size: 4vw;
  letter-spacing: 0.05em;
}

.point-list-item:last-child .point-list-item-text > p {
  margin-bottom: 50px;
}

/* SP: テキスト → 画像の順で表示 */
.point-list-item-body .point-list-item-img {
  order: 2;
}

.point-list-item-body .point-list-item-text {
  order: 1;
}

.contact-banner-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.contact-banner-group .contact-banner {
  margin-top: 0;
  flex: 1;
  min-width: 0;
}

.line-banner {
  flex: 1;
  min-width: 0;
}

.line-banner a {
  color: #fff;
  font-size: min(1.8rem, 4.5vw);
  font-weight: 600;
  text-align: center;
  border-radius: 2.5px;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.line-banner a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(#5ad67a 0%, #06c755 100%);
  transform-origin: right top;
  transition: transform 0.5s;
  z-index: -1;
}

.guidebook-banner {
  margin-top: 15px;
}
.contact-banner a {
  font-size: min(1.8rem, 4.5vw);
}
.guidebook-banner a {
  color: #fff;
  font-size: min(1.8rem, 4.5vw);
  font-weight: 600;
  text-align: center;
  border-radius: 2.5px;
  padding: 25px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.guidebook-banner a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(#8fc4eb 0%, #65ace3 100%);
  transform-origin: right top;
  transition: transform 0.5s;
  z-index: -1;
}

#casestudy h3 {
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  #intro {
    margin-top: 10px;
  }
  #faq {
    padding: 50px 0;
  }
}

@media screen and (min-width: 769px) {
  #intro {
    padding: 70px 0 110px;
  }

  #intro h2 {
    font-size: 4.2rem;
    padding-bottom: 50px;
    margin-bottom: 50px;
  }

  #intro .intro-slide-nav {
    gap: 16px;
    margin-top: 24px;
  }

  #intro .swiper-pagination {
    font-size: 2rem;
  }

  #intro .intro-slide-prev,
  #intro .intro-slide-next {
    width: 22px !important;
    height: 22px !important;
  }

  #intro .intro-slide-prev::after,
  #intro .intro-slide-next::after {
    width: 22px;
    height: 22px;
  }

  #walige {
    padding: 100px 0;
  }

  #walige h2 {
    font-size: 3.6rem;
    margin-bottom: 34px;
  }

  #walige .walige-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 30px;
  }

  #point {
    padding: 100px 0;
  }

  .point-list-item:not(:last-child) {
    margin-bottom: 100px;
  }

  .point-list-item-body {
    flex-direction: row;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
    width: var(--page-width);
    max-width: 1100px;
    margin: 0 auto;
  }

  .point-list-item--text-only .point-list-item-body {
    max-width: 1100px;
  }

  .point-list-item-body .point-list-item-img,
  .point-list-item-body .point-list-item-text {
    order: unset;
  }

  .point-list-item-img {
    flex: 1 1 52%;
    min-width: 0;
    width: auto;
  }

  .point-list-item-body .point-list-item-text {
    flex: 1 1 42%;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
  }

  .point-list-item--text-only .point-list-item-body .point-list-item-text {
    flex: 1 1 auto;
  }

  .point-list-item-content {
    justify-content: space-between;
    gap: clamp(24px, 3vw, 48px);
  }

  .point-list-item-content .item-left {
    flex: 1 1 42%;
    min-width: 0;
  }

  .point-list-item-content .item-right {
    flex: 1 1 52%;
    min-width: 0;
  }

  .point-list-item-content .memo {
    width: 100%;
    text-align: right;
  }

  .point-list-item-text dl {
    margin-top: 0;
  }

  .point-list-item-text dl dd {
    padding: 20px 0;
  }

  .point-list-item-text dl dt {
    font-size: 2.2rem;
  }

  .point-list-item-text dl dd ul {
    grid-column-gap: clamp(24px, 4vw, 90px);
    grid-column-gap: 40px;
  }

  .point-list-item-text dl dd ul li {
    font-size: 1.8rem;
  }

  .point-list-item-text h2 {
    font-size: 3.6rem;
    margin-bottom: 34px;
  }

  .point-list-item-text p {
    font-size: 2.2rem;
  }

  .point-list-item-text p.memo {
    font-size: 1.4rem;
    margin-top: 10px;
  }

  .contact-banner-group {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    margin-top: 70px;
  }

  .contact-banner-group .contact-banner a,
  .contact-banner-group .line-banner a {
    font-size: 2.2rem;
    padding: 18px 10px;
  }

  .line-banner a {
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.16);
    border: 2px solid #06c755;
    color: #06c755;
    background: transparent;
  }

  .line-banner a::before {
    background: linear-gradient(to left, #5ad67a 0%, #5ad67a 7.18%, #5ad67a 22.54%, #06c755 100%);
    transform: scale(0, 1);
  }

  .line-banner a:hover {
    color: #fff;
  }

  .line-banner a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  .guidebook-banner {
    margin-top: 20px;
  }

  .guidebook-banner a {
    font-size: 2.2rem;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.16);
    border: 2px solid var(--water-color);
    padding: 18px 10px;
    color: var(--water-color);
    background: transparent;
  }

  .guidebook-banner a::before {
    background: linear-gradient(to left, #8fc4eb 0%, #8fc4eb 7.18%, #8fc4eb 22.54%, #65ace3 100%);
    transform: scale(0, 1);
  }

  .guidebook-banner a:hover {
    color: #fff;
  }

  .guidebook-banner a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }
}
