@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lusitana:wght@400;700&display=swap");

#main a {
  color: #333;
  text-decoration: none;
}

#main {
  padding-top: 140px;
  color: #333;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.05em;
  width: 100%;
}

.title-box {
  background-color: #61b380;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.title-inner h1 {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 36px;
  line-height: 150%;
}

.title-inner p {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.layout-max {
  max-width: 1230px;
  margin: auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.breadcrumbs {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding-top: 16px;
  font-size: 12px;
}

.breadcrumbs li {
  margin-bottom: 0;
}

.breadcrumbs li + li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: url("/images/styleplan/arrow-right.svg") no-repeat center/contain;
}

.breadcrumbs li span {
  padding-left: 4px;
}

.breadcrumbs .home {
  text-decoration: underline;
  color: #4d9668;
}

.breadcrumbs .text-medium {
  font-weight: 500;
}

.intro {
  width: 100%;
}

.intro-inner {
  margin: auto;
  padding-top: 80px;
  padding-bottom: 80px;
}

.intro-inner .intro-title {
  text-align: center;
}

.intro-inner .intro-title h2 {
  padding-top: 10px;
  color: #4d9668;
  font-weight: 700;
  font-size: 36px;
}

.intro-inner .intro-description {
  padding-top: 60px;
}

.intro-inner .intro-description p {
  text-align: center;
}

.bnr-diagnosis {
  padding: 80px 60px 130px;
}

.bnr-diagnosis img {
  width: 100%;
  height: auto;
}

.hero img {
  width: 100%;
  object-fit: cover;
}

.cta-buttons {
  display: inline-flex;
  align-items: center;
  gap: 20px 40px;
  margin-top: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-button-wrapper {
  position: relative;
  width: 580px;
}

.contact-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 100px;
  border-radius: 50px;
  background: #e67979;
}

.contact-text {
  top: 33px;
  left: 105px;
  font-family: "Noto Sans JP-Bold", Helvetica;
  font-weight: bold;
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  letter-spacing: 12%;
  line-height: 150%;
  white-space: nowrap;
}

.contact-text::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  position: absolute;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}

.trial-button-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 580px;
  height: 100px;
  border-radius: 50px;
  background: #f7a457;
}

.trial-text-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.trial-button-wrapper::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  position: absolute;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}

.trial-text {
  font-family: "Noto Sans JP-Bold", Helvetica;
  font-weight: bold;
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  letter-spacing: 12%;
  line-height: 150%;
  white-space: nowrap;
}

.main-text {
  padding-top: 80px;
  display: flex;
  justify-content: center;
}

.main-text p {
  font-size: 28px;
  font-weight: bold;
  width: fit-content;
  position: relative;
  text-align: center;
  line-height: 1.6;
}

.main-text p::before {
  content: "";
  background-image: url("/images/briefing/icon-text-front.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 45px;
  height: 90px;
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.main-text p::after {
  content: "";
  background-image: url("/images/briefing/icon-text-back.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 45px;
  height: 90px;
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.bnr-present {
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.bnr-present img {
  width: 100%;
  max-width: 1000px;
}

.timeline-wrapper {
  width: 100%;
  background: #ecf2ce;
  background-image: linear-gradient(#e4edba 1px, transparent 1px),
    linear-gradient(90deg, #e4edba 1px, transparent 1px);
  background-size: 20px 20px;
  padding-bottom: 100px;
}

.timeline {
  position: relative;
  padding-left: 160px;
  padding: 80px 80px 80px 240px;
}

.timeline-container {
  background-color: #fff;
  border-radius: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 126px;
  top: 130px;
  bottom: 800px;
  width: 8px;
  background-image: radial-gradient(circle, #ccc 30%, transparent 30%);
  background-size: 8px 16px;
  background-repeat: repeat-y;
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.step-marker {
  position: absolute;
  left: -160px;
  width: 100px;
  height: 100px;
  background: #59af79;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
}

.step-label {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
}

.step-number {
  font-family: "Roboto", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 44px;
}

.timeline-content {
  flex: 1;
  padding-top: 24px;
}

.content-title {
  color: #4d9668;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 1.6px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.content-icon {
  width: 51px;
  height: 46px;
  flex-shrink: 0;
}

.content-description {
  color: #333333;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 1px;
  margin-top: 20px;
}

.content-image {
  width: 100%;
  max-width: 878px;
  height: 319px;
  object-fit: cover;
  border-radius: 10px;
}

.notes {
  color: #333333;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.6px;
  max-width: 638px;
  margin-top: 20px;
}

.duration-wrapper {
  padding: 80px;
  padding-top: 0;
}

.duration {
  background: #59af79;
  border-radius: 5px;
  padding: 15px 0;
  text-align: center;
  color: white;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: flex-end;
}

.duration-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 5%;
}

.duration-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 5%;
}

.timeline-wrapper .dots {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: -20px;
  justify-content: center;
  align-items: center;
}

.timeline-wrapper .dot {
  width: 12px;
  height: 12px;
  background: #59af79;
  border-radius: 50%;
}

.cta-button-area {
  padding-bottom: 80px;
}

.testimonials {
  background-color: #f7f7f7;
  padding-bottom: 80px;
}

/* 参加者の声グリッド */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
}

/* 個別のテスティモニアル */
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
}

/* アバター */
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.avatar-illustration {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  background: #333;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* テスティモニアル コンテンツ */
.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.teacher-name {
  color: #333333;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 1px;
  display: inline;
}

.teacher-location {
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.8px;
  display: inline;
  margin-left: 8px;
}

.testimonial-text {
  color: #333333;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 1px;
}

.help-button-wrapper {
  width: 100%;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.help-button {
  position: relative;
  width: 480px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 30px;
  border: 1px solid;
  border-color: #59af79;
  display: flex;
  justify-content: center;
  align-items: center;
}

.help-text {
  top: 11px;
  left: 29px;
  font-family: "Noto Sans JP-Bold", Helvetica;
  font-weight: bold;
  color: #4d9668;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 120%;
  white-space: nowrap;
}

.help-text::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  position: absolute;
  font-size: 24px;
  font-weight: 600;
}

@media (max-width: 768px) {
  #main {
    padding-top: 80px;
    font-size: 16px;
  }

  .title-box {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .title-inner h2 {
    font-size: 24px;
  }

  .title-inner p {
    font-size: 14px;
  }

  .intro-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .title-inner h1,
  .intro-inner .intro-title h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .intro-inner .intro-description {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .bnr-diagnosis {
    padding: 60px 0 80px;
  }

  .contact-button-wrapper,
  .contact-button,
  .trial-button-wrapper,
  .trial-text-container {
    width: 345px;
    height: 60px;
    padding-left: 0;
    justify-content: center;
    gap: 4px;
  }

  .contact-text,
  .trial-text {
    font-size: 18px;
  }

  .main-text p {
    font-size: 18px;
  }

  .main-text p::before {
    content: "";
    background-image: url("/images/briefing/icon-text-front.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 34px;
    height: 66px;
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
  }

  .main-text p::after {
    content: "";
    background-image: url("/images/briefing/icon-text-back.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 34px;
    height: 66px;
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
  }

  .bnr-present {
    padding-top: 0;
  }

  .timeline {
    padding: 24px 16px 24px 80px;
  }

  .timeline-item {
    margin-bottom: 30px;
  }

  .step-marker {
    left: -64px;
    width: 50px;
    height: 50px;
  }

  .step-label {
    font-size: 10px;
    line-height: 1.5;
  }

  .step-number {
    font-size: 22px;
    line-height: 1;
  }

  .content-title {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 5%;
    gap: 8px;
    margin-bottom: 8px;
  }

  .content-title img {
    width: 30px;
    height: auto;
  }

  .content-image {
    width: 100%;
    max-width: 241px;
    height: 121px;
  }

  .timeline-content {
    padding-top: 8px;
  }

  .content-description {
    font-size: 16px;
    line-height: 1.5 !important;
    margin-top: 8px;
  }

  .timeline::before {
    left: 36px;
    bottom: 480px;
    top: 50px;
  }

  .duration-wrapper {
    padding: 0 30px 24px;
  }

  .duration-text {
    font-size: 20px;
  }

  .duration-number {
    font-size: 32px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .duration {
    margin-top: 16px;
  }

  .dots {
    margin-top: 4px;
  }

  .timeline-wrapper {
    padding-bottom: 40px;
  }

  .main-text {
    padding-top: 40px;
  }

  .cta-buttons {
    margin-top: 28px;
  }

  .cta-button-area {
    padding-bottom: 40px;
  }

  .avatar {
    width: 68px;
    height: 68px;
  }

  .avatar img {
    width: 68px;
    height: 68px;
  }

  .testimonial-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 28px;
  }

  .testimonial-content {
    display: contents;
  }

  .avatar {
    grid-area: 1 / 1;
  }
  .teacher-info {
    grid-area: 1 / 2;
    display: flex;
    flex-direction: column;
  }
  .testimonial-text {
    grid-area: 2 / 1 / 2 / 3;
    font-size: 16px;
    line-height: 1.5 !important;
  }

  .testimonials-grid {
    gap: 16px;
  }

  .testimonials {
    padding-bottom: 40px;
  }

  .help-button-wrapper {
    margin-top: 36px;
  }

  .help-button {
    width: 225px;
    height: 40px;
  }

  .help-text {
    font-size: 12px;
  }

  .help-text::after {
    font-size: 14px;
  }

  .trial-button-wrapper::after,
  .contact-text::after {
    right: 10px;
  }

  .pt0 {
    padding-top: 0 !important;
  }
}
