:root {
  --color-primary: #36719b;
  --color-secondary: #000064;
  --color-white: #fff;
  --color-black: #435574;
  --color-gray: #fafafa;
  --color-lightblue: #e4edfc;
  --color-yellow: #fde962;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  color: #435574;
  line-height: 1.6;
}

img {
  width: 100%;
}

main {
  width: 100%;
  overflow: hidden;
}

article {
  background-color: #fafafa;
}

.text-primary {
  color: #36719b;
}

.fw-bold {
  font-weight: bold;
}

.sp-br {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
  }
}

.pc-br {
  display: block;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.fade-in {
  --fade-delay: 0s;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  transition-delay: var(--fade-delay);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--up,
.fade-in--down,
.fade-in--left,
.fade-in--right,
.fade-in--zoom,
.fade-in--slow {
  transform: translateY(24px);
  transition-duration: 0.8s;
}

.fade-in--delay-1 {
  --fade-delay: 0.1s;
}

.fade-in--delay-2 {
  --fade-delay: 0.2s;
}

.fade-in--delay-3 {
  --fade-delay: 0.3s;
}

.fade-in--delay-4 {
  --fade-delay: 0.4s;
}

.fade-in--delay-5 {
  --fade-delay: 0.5s;
}

.fade-in--delay-6 {
  --fade-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* header start */

header {
  width: 100%;
  background-color: #fff;
  padding: 20px;
}

.header-wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

.logo {
  width: 200px;
}

/* header end */

/* button start */

.btn {
  display: inline-block;
  position: relative;
  text-align: center;
  background-color: #fde962;
  border-radius: 100px;
  max-width: 800px;
  font-size: 34px;
  font-weight: bold;
  color: #36719b;
  text-decoration: none;
  padding: 5px 4em;
  cursor: pointer;
  box-shadow: 0px 4px 0 0 #c5b544;

  @media screen and (max-width: 768px) {
    font-size: 16px;
    padding: 5px 10px;
    width: min(100%, 400px);
  }
}

.btn:hover {
  transform: translateY(4px);
  box-shadow: none;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1em;
  width: 15px;
  height: 15px;
  margin: auto;
  border-top: 2px solid #36719b;
  border-right: 2px solid #36719b;
  transform: rotate(45deg);
  box-sizing: border-box;

  @media screen and (max-width: 768px) {
    width: 10px;
    height: 10px;
  }
}

.btn-inner {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn-head {
  background-color: #fff;
  border-radius: 50px;
  padding: 5px 1em;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 5px;

  @media screen and (max-width: 768px) {
    font-size: 12px;
  }
}

/* btn end */

/* fv start */

.fv {
  background-image: url("../images/bg-image.png");
  background-position: 90% -100px;
  background-size: cover;
  width: 100%;
  position: relative;
}

.fv-bg {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e4edfc;
  width: 100%;
  height: 30vh;
  border-radius: 60%;
}

.fv-wrapper {
  position: relative;
  max-width: 1280px;
  padding: 60px 40px;
  margin: 0 auto;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding: 30px 20px;
  }
}

.fv-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  background-image: url("../images/image02.png");
  background-size: contain;
  width: 200px;
  height: 300px;
  bottom: 12vh;
  right: 0;
  z-index: 1;

  @media screen and (max-width: 1200px) {
    right: 0;
    width: 120px;
    height: 200px;
  }

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.fv-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url("../images/image03.png");
  background-size: contain;
  width: 200px;
  height: 300px;
  bottom: 12vh;
  left: 0;
  z-index: 1;

  @media screen and (max-width: 1200px) {
    left: 0;
    width: 120px;
    height: 200px;
  }

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.fv-lead {
  position: relative;
  display: inline-block;
}

.fv-lead__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.fv-lead__text {
  display: block;
  background-color: var(--color-secondary);
  border-radius: 50px;
  padding: 5px 1em;
  color: #fff;
  font-size: clamp(16px, 3vw, 32px);
  font-weight: 400;
  width: fit-content;
  word-break: keep-all;
}

.fv-title {
  font-size: clamp(24px, 4vw, 40px);
  margin-top: 20px;
  word-break: keep-all;
  line-height: 1.5;

  @media screen and (max-width: 768px) {
    margin-top: 20px;
  }
}

.fv-container {
  position: relative;
  display: inline-block;
}

.title-area {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 5px;

  @media screen and (max-width: 768px) {
    gap: 3px;
    margin-top: 30px;
    margin-bottom: 0;
  }

  @media screen and (max-width: 472px) {
    margin-top: 20px;
  }
}

.fv-container__thumb {
  position: absolute;
  display: inline-block;
  top: -5px;
  left: -45px;
  color: #fff;
  background-color: #36719b;
  font-size: 20px;
  font-weight: 700;
  border-radius: 100%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-15deg);

  @media screen and (max-width: 768px) {
    top: 7px;
    left: -35px;
    font-size: 18px;
    width: 45px;
    height: 45px;
  }

  @media screen and (max-width: 472px) {
    top: -17px;
    left: -15px;
  }
}

.fv-title__block {
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 700;
  display: inline-block;
  color: #36719b;
  border: 2px solid #36719b;
  background-color: #fff;
  border-radius: 10px;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5px;

  @media screen and (max-width: 768px) {
    border-radius: 5px;
  }
}

.catch {
  background-color: #36719b;
  color: #fff;
}

.fv-contents {
  position: relative;
}

.fv-contents {
  position: relative;
  display: flex;
  max-width: 800px;
  align-items: stretch;
  margin: 30px auto 60px;
  gap: 20px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    max-width: 100%;
    gap: 4px;
    margin: 20px auto;
    align-items: center;
  }
}

.fv-contents__item {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 3px solid #e4edfc;
  border-radius: 10px;
  padding: 10px;

  @media screen and (max-width: 768px) {
    width: min(100%, 440px);
  }
}

.fv-contents__item-img {
  width: 40px;
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
}

.fv-contents__item-text {
  font-size: 24px;

  @media screen and (max-width: 768px) {
    font-size: 20px;
    word-break: keep-all;
  }
}

.intro {
  margin-bottom: 20px;
}

.intro-text {
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  color: #36719b;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 1;

  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

.intro-text::before,
.intro-text::after {
  width: 1px;
  height: 24px;
  content: "";
  background-color: #36719b;

  @media screen and (max-width: 768px) {
    height: 16px;
  }
}

.intro-text::before {
  margin-right: 0.5em;
  transform: rotate(-30deg);
}

.intro-text::after {
  margin-left: 0.5em;
  transform: rotate(30deg);
}

/* fv end */

/* service start */

.service {
  background-color: var(--color-gray);
  width: 100%;
  position: relative;
}

.service-head {
  background-color: #36719b;
  padding: 60px 20px;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding: 20px 10px;
  }
}

.service-head__inner {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 10px;
  background-color: #fff;
  padding: 0 40px 20px;

  @media screen and (max-width: 768px) {
    padding: 0 10px 10px;
  }
}

.service-head__inner-catch {
  display: inline-block;
  font-size: clamp(16px, 3vw, 24px);
  background-color: #fde962;
  color: #36719b;
  font-weight: bold;
  padding: 5px 0.8em;
  border-radius: 10px;
  margin-top: -25px;

  @media screen and (max-width: 768px) {
    margin-top: -10px;
    border-radius: 5px;
  }
}

.service-campaign {
  position: relative;

  @media screen and (max-width: 768px) {
    padding-bottom: 40%;
  }
}

.service-head__campaign {
  display: block;
  margin: 20px auto 0;
  color: #36719b;
  font-size: clamp(20px, 4vw, 48px);
  font-weight: bold;
  padding: 5px 0.5em;
  border-radius: 10px;

  @media screen and (max-width: 768px) {
    margin-top: 10px;
  }
}

.service-head__period {
  font-size: 1.4rem;
  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
  }
}

.service-head__text {
  font-size: clamp(16px, 2vw, 26px);
  font-weight: bold;
  color: #435574;
  margin-top: 20px;
  word-break: keep-all;
  line-height: 1.5;

  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

.text-sm {
  font-size: clamp(0.875rem, 2.5vw, 1.6rem);
  font-weight: 400;
}

.campaign-text {
  font-size: clamp(16px, 2vw, 26px);
  font-weight: bold;
  color: var(--color-black);
  background: none;
  display: inline-block;
}

.campaign-img {
  width: 17%;
  position: absolute;
  bottom: 67%;
  right: 0;

  @media screen and (max-width: 768px) {
    width: 40%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* .service-head {
  background-color: #36719b;
  padding: 60px 20px;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding: 20px 10px;
  }
}

.service-head__inner {
  max-width: 1080px;
  margin: 0 auto;
} */

.title-catch {
  display: flex;
  justify-content: center;
  align-items: flex-center;
  line-height: 1;
  color: var(--color-yellow);
  font-size: clamp(20px, 4.6vw, 42px);
  font-weight: 500;
}

.title-catch::before,
.title-catch::after {
  width: 2px;
  height: 1.1em;
  content: "";
  background-color: var(--color-white);
}

.title-catch::before {
  margin-right: 0.5em;
  transform: rotate(-30deg);
}

.title-catch::after {
  margin-left: 0.5em;
  transform: rotate(30deg);
}

.campaign__img {
  width: calc((500 / 1080) * 100%);
  margin: 3em auto 0;

  @media screen and (max-width: 768px) {
    width: calc((500 / 768) * 100%);
    margin-top: 2rem;
  }
}

.campaign {
  margin: -2em auto 0;
  position: relative;
  z-index: 10;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.campaign-sp {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
    margin: -1rem 0 auto;
    position: relative;
    z-index: 10;
  }
}

.service-wrapper {
  position: relative;
  max-width: 1080px;
  padding: 100px 20px;
  margin: 0 auto;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding: 30px 20px;
  }
}

.service-contents__title {
  font-size: clamp(20px, 5vw, 46px);
  margin-top: 40px;

  @media screen and (max-width: 768px) {
    margin-top: 20px;
  }
}

.service-box {
  position: relative;
  background-color: #e4edfc;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1080px;
  margin: 60px auto;

  @media screen and (max-width: 768px) {
    padding: 20px;
    margin: 50px auto 40px;
  }
}

.service-box::before {
  position: absolute;
  content: "";
  display: block;
  background-image: url("../images/image07.png");
  background-size: contain;
  background-repeat: no-repeat;
  top: -60px;
  left: 0;
  width: 80px;
  height: 80px;

  @media screen and (max-width: 768px) {
    top: -40px;
    width: 60px;
    height: 60px;
  }
}

.service-box__item {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  list-style: none;
  text-align: center;
  font-size: 36px;
  word-break: keep-all;

  @media screen and (max-width: 768px) {
    font-size: 18px;
  }
}

.service-recommend__text-large {
  font-size: 36px;
  margin-bottom: 40px;

  @media screen and (max-width: 768px) {
    font-size: 18px;
    margin-bottom: 20px;
  }
}

.service-recommend__text {
  font-size: 28px;
  line-height: 1.8;
  word-break: keep-all;

  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

/* service end */

/* cta start */

.cta {
  background-color: #36719b;
  padding: 40px 20px;

  @media screen and (max-width: 768px) {
    padding: 20px;
  }
}

.cta-wrapper {
  position: relative;
  max-width: 1080px;
  padding: 40px 20px;
  margin: 0 auto;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;

  @media screen and (max-width: 768px) {
    font-size: 16px;
    padding: 20px 10px;
  }
}

.cta-wrapper__title {
  margin-bottom: 30px;
  font-size: 32px;
  word-break: keep-all;

  @media screen and (max-width: 768px) {
    font-size: 18px;
    margin-bottom: 10px;
  }
}

/* cta end */

/* こんなお悩み、ご相談ください start */

.content {
  padding: 2em 0;
}

.content__img {
  width: calc((600 / 1080) * 100%);
  margin: 0 auto 2em;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.content__flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6em;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
  }
}

.content__item {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 500;
  padding: 1.6em 8px;
  border-radius: 1em;
  font-size: clamp(1rem, 2vw, 1.4rem);
  flex: 0 1 calc((100% - 2 * 2em) / 3);

  @media screen and (max-width: 768px) {
    font-size: 1.125em;
    padding: 1.2em 0;
    flex: 0 1 auto;
  }
}

/* こんなお悩み、ご相談ください end */

/* advisor start */

.advisor {
  background-color: #e4edfc;
  width: 100%;
}

.section-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding: 20px;
  }
}

.section-title {
  display: inline-block;
  position: relative;
  font-size: 42px;
  margin-top: 40px;

  @media screen and (max-width: 768px) {
    margin-top: 20px;
    font-size: 20px;
    word-break: keep-all;
  }
}

.advisor-box {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;

  @media screen and (max-width: 768px) {
    gap: 20px;
    padding: 20px 0;
  }
}

.advisor-box__item {
  background-color: #fff;
  display: flex;
  overflow: hidden;
  padding: 1rem;
  box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.1);

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.advisor-box__item-left {
  width: 40%;
  overflow: hidden;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.advisor-box__item-left-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.5);
  transform-origin: center 20%;
}

.advisor-box__item-right {
  width: 60%;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.advisor-info {
  padding: 2rem;
  text-align: left;

  @media screen and (max-width: 768px) {
    padding: 10px 0;
  }
}

.advisor-info__block {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: 2em;
}

.advisor-label {
  font-size: clamp(14px, 4vw, 16px);
}

.advisor-name {
  font-size: clamp(18px, 4vw, 20px);
}

.advisor-desc {
  font-size: 18px;
  margin: 40px 0;

  @media screen and (max-width: 768px) {
    font-size: 16px;
    margin: 20px 0;
  }
}

.advisor-feature {
  border-top: 1px dashed #36719b;
  font-size: 16px;
  padding-top: 20px;

  @media screen and (max-width: 768px) {
    font-size: 16px;
    padding-top: 10px;
  }
}

/* advisor end */

/* flow start */

.flow {
  background-image: url("../images/bg-image.png");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
}

.flow::before {
  position: absolute;
  content: "";
  display: block;
  background-image: url("../images/image04.png");
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 200px;
  left: 60px;
  width: 120px;
  height: 120px;
  z-index: 1;

  @media screen and (max-width: 768px) {
    top: 70px;
    left: -10px;
    width: 60px;
    height: 60px;
  }
}

.flow::after {
  position: absolute;
  content: "";
  display: block;
  background-image: url("../images/image01.png");
  background-size: contain;
  background-repeat: no-repeat;
  top: 200px;
  right: 40px;
  width: 300px;
  height: 300px;
  z-index: -1;

  @media screen and (max-width: 768px) {
    top: 50px;
    right: -30px;
    width: 100px;
    height: 100px;
  }
}

.flow-box {
  background-color: #e4edfc;
  padding: 30px;
  border-radius: 10px;
  margin: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 50px;

  @media screen and (max-width: 768px) {
    margin: 30px 0;
    padding: 20px;
    gap: 30px;
  }
}

.flow-item {
  list-style: none;
  background-color: #fff;
  display: flex;
  position: relative;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.flow-item::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 30px solid #36719b;

  @media screen and (max-width: 768px) {
    bottom: -15px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid #36719b;
  }
}

.flow-item:last-child::after {
  content: none;
}

.flow-item__left {
  background-color: #36719b;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  @media screen and (max-width: 768px) {
    padding: 5px;
  }
}

.flow-item__left-step {
  color: #fff;
  margin-bottom: 5px;
  font-size: 14px;
}

.flow-item__left-number {
  color: #fff;
  font-size: 40px;

  @media screen and (max-width: 768px) {
    font-size: 24px;
  }
}

.flow-item__right {
  padding: 40px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;

  @media screen and (max-width: 768px) {
    padding: 20px 10px;
    align-items: center;
  }
}

.flow-item__right-title {
  font-size: 28px;

  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

.flow-item__right-text {
  font-size: 20px;

  @media screen and (max-width: 768px) {
    font-size: 1rem;
  }
}

.text-red {
  color: #c7020e;
}

/* flow end */

/* 注意事項 start */

.section {
  width: 100%;
  background-color: var(--color-lightblue);
}

.section--white {
  background-color: var(--color-white);
}

.section-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding: 20px;
  }
}

.section-wrapper__content {
  padding: 2rem 0;
}

/* 注意事項 end */

.emphasis {
  background-color: var(--color-primary);
  padding: 1rem;

  @media screen and (max-width: 768px) {
    padding: 0.5rem;
  }
}

.emphasis__title {
  color: var(--color-white);
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;

  @media screen and (max-width: 768px) {
    font-size: 1rem;
  }
}

.e-wrap {
  background-color: var(--color-white);
  text-align: left;
  padding: 1rem;
  height: 20rem;
  overflow-y: scroll;

  @media screen and (max-width: 768px) {
    padding: 0.875rem;
    font-size: 0.875rem;
  }
}

.e-wrap__head {
  margin-bottom: 0.25em;
}

.e-wrap__note {
  font-weight: 300;
  margin-bottom: 0rem;
}

.e-wrap__list {
  margin-bottom: 1rem;
  font-weight: 300;
  margin-left: 1.5em;
}

.e-wrap__list ul {
  margin-top: 1rem;
}

/* footer start */

footer {
  background-color: #fff;
  width: 100%;
}

.tag {
  display: block;
  margin-top: 20px;
  font-size: 1rem;
}

.footer-copyright {
  display: block;
  margin-top: 40px;

  @media screen and (max-width: 768px) {
    font-size: 12px;
  }
}

/* footer end */
