@charset "utf-8";

/* pg__fv */
.pg__fv {
  background-image: url("https://katsushima.jp/system_panel/uploads/images/fv-reason.png");
}

/* consultation */
.consultation {
  padding-top: clamp(3.750rem, -1.417rem + 10.764vw, 11.500rem);
  background-color: #fff;
}
.consultation__inner {
  padding-right: 20px;
  padding-left: 20px;
}
.consultation__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  container-type: inline-size;
}
.consultation__title {
  margin-top: 0;
  line-height: 1.25;
}
.consultation .text1 {
  margin-top: clamp(1.875rem, 1.458rem + 0.868vw, 2.500rem);
}
.consultation__content {
  position: relative;
  width: 100%;
  max-width: 1401px;
  aspect-ratio: 1401 / 441;
  margin-top: clamp(2.625rem, 1.042rem + 3.299vw, 5.000rem);
}
.consultation-card {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.consultation-card__bubble {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(25 / 1401 * min(1401px, 100cqi)) calc(30 / 1401 * min(1401px, 100cqi));
  background-color: #3eb2a0;
  font-family: "LINE Seed JP", sans-serif;
  font-size: max(10px, calc(16 / 1401 * min(1401px, 100cqi)));
  line-height: 1.125;
  text-align: center;
  color: #fff;
  white-space: nowrap;
}
.consultation-card__bubble::after {
  content: "";
  position: absolute;
  background-color: #3eb2a0;
  pointer-events: none;
}
.consultation-card:nth-child(1) .consultation-card__bubble--01 {
  top: 54.65%;
  left: 1.93%;
}
.consultation-card:nth-child(1) .consultation-card__bubble--01::after {
  top: 52%;
  right: 0;
  width: calc(42 / 1401 * min(1401px, 100cqi));
  height: calc(26 / 1401 * min(1401px, 100cqi));
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translate(65%, -50%) rotate(8deg);
}
.consultation-card:nth-child(1) .consultation-card__bubble--02 {
  top: 27.66%;
  left: 0;
}
.consultation-card:nth-child(1) .consultation-card__bubble--02::after {
  top: auto;
  right: 0;
  bottom: calc(12 / 1401 * min(1401px, 100cqi));
  width: calc(39 / 1401 * min(1401px, 100cqi));
  height: calc(16 / 1401 * min(1401px, 100cqi));
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(70%);
}
.consultation-card:nth-child(2) .consultation-card__bubble--01 {
  top: 54.65%;
  right: 6.3%;
}
.consultation-card:nth-child(2) .consultation-card__bubble--01::after {
  top: 48%;
  left: 0;
  width: calc(42 / 1401 * min(1401px, 100cqi));
  height: calc(26 / 1401 * min(1401px, 100cqi));
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  transform: translate(-65%, -50%) rotate(-8deg);
}
.consultation-card:nth-child(2) .consultation-card__bubble--02 {
  top: 0;
  left: 11.68%;
}
.consultation-card:nth-child(2) .consultation-card__bubble--02::after {
  right: calc(28 / 1401 * min(1401px, 100cqi));
  bottom: 0;
  width: calc(30 / 1401 * min(1401px, 100cqi));
  height: calc(42 / 1401 * min(1401px, 100cqi));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(55%) rotate(-18deg);
}
.consultation-card:nth-child(3) .consultation-card__bubble--01 {
  top: 27.66%;
  right: 0;
}
.consultation-card:nth-child(3) .consultation-card__bubble--01::after {
  top: 28%;
  left: 0;
  width: calc(42 / 1401 * min(1401px, 100cqi));
  height: calc(30 / 1401 * min(1401px, 100cqi));
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  transform: translate(-60%, -50%) rotate(18deg);
}
.consultation-card:nth-child(3) .consultation-card__bubble--02 {
  top: 0;
  left: 51.51%;
}
.consultation-card:nth-child(3) .consultation-card__bubble--02::after {
  left: calc(6 / 1401 * min(1401px, 100cqi));
  bottom: 0;
  width: calc(30 / 1401 * min(1401px, 100cqi));
  height: calc(42 / 1401 * min(1401px, 100cqi));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(55%) rotate(18deg);
}
.consultation-card__person {
  position: absolute;
  bottom: 0;
  z-index: 1;
}
.consultation-card:nth-child(1) .consultation-card__person {
  left: 26.19%;
  z-index: 2;
  width: 19.77%;
}
.consultation-card:nth-child(2) .consultation-card__person {
  left: 38.46%;
  z-index: 1;
  width: 19.77%;
}
.consultation-card:nth-child(3) .consultation-card__person {
  left: 49.89%;
  z-index: 3;
  width: 18.7%;
}
.consultation-card__img {
  width: 100%;
  height: auto;
}

/* reason */
.reason {
  padding-top: clamp(5.312rem, -1.973rem + 11.384vw, 11.688rem);
  background-color: #fff;
}
.reason__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.text1--reason {
  padding-inline: 20px;
}
.reason__content {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 100%;
  margin-top: clamp(2.375rem, -1.054rem + 5.357vw, 5.375rem);
}
.reason__box {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: clamp(1.375rem, -1.696rem + 4.799vw, 4.062rem);
  padding-right: clamp(1.250rem, -10.464rem + 18.304vw, 11.500rem);
  padding-bottom: clamp(1.875rem, -0.625rem + 3.906vw, 4.062rem);
  padding-left: clamp(1.250rem, -10.464rem + 18.304vw, 11.500rem);
  background-color: #dceadf;
}
.reason-box__title {
  position: relative;
  padding-top: clamp(0.188rem, 0.045rem + 0.223vw, 0.312rem);
  padding-left: clamp(1.250rem, 0.464rem + 1.228vw, 1.938rem);
}
.reason-box__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(0.312rem, -0.116rem + 0.670vw, 0.688rem);
  height: 100%;
  background-color: #349b8b;
}
.reason-box-title__sub {
  font-family: "LINE Seed JP", sans-serif;
  font-size: clamp(0.750rem, 0.179rem + 0.893vw, 1.250rem);
  line-height: 1;
  color: #349b8b;
}
.reason-box-title__main {
  margin-top: clamp(0.125rem, -0.732rem + 1.339vw, 0.875rem);
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: clamp(1.250rem, -0.179rem + 2.232vw, 2.500rem);
  line-height: 1.1;
  color: #121212;
}
.reason__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.000rem, -0.357rem + 2.121vw, 2.188rem);
  width: 100%;
  margin-top: clamp(1.250rem, -0.179rem + 2.232vw, 2.500rem);
}
.reason__item {
  position: relative;
  padding-top: clamp(1.625rem, -0.232rem + 2.902vw, 3.250rem);
  padding-right: clamp(1.000rem, -0.500rem + 2.344vw, 2.312rem);
  padding-bottom: clamp(1.750rem, 0.036rem + 2.679vw, 3.250rem);
  padding-left: clamp(1.000rem, -0.500rem + 2.344vw, 2.312rem);
  background-color: transparent;
  border: 1px solid #000;
}
.reason-item__title {
  position: relative;
  z-index: 1;
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: clamp(1.250rem, 0.679rem + 0.893vw, 1.750rem);
  line-height: 1.43;
  color: #000;
  white-space: nowrap;
}
.reason-item__text {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  font-family: "LINE Seed JP", sans-serif;
  font-size: clamp(0.750rem, 0.464rem + 0.446vw, 1.000rem);
  line-height: 1.75;
  color: #121212;
}
.reason-item__icon {
  position: absolute;
  top: clamp(0.500rem, -0.500rem + 1.562vw, 1.375rem);
  right: clamp(1.000rem, 0.143rem + 1.339vw, 1.750rem);
  z-index: 0;
  width: clamp(5.000rem, 2.786rem + 3.460vw, 6.938rem);
  height: auto;
}
.r-icon1 {
  width: clamp(5.000rem, 2.786rem + 3.460vw, 6.938rem);
}
.r-icon2 {
  width: clamp(5.375rem, 3.018rem + 3.683vw, 7.438rem);
}
.r-icon3 {
  width: clamp(5.188rem, 2.830rem + 3.683vw, 7.250rem);
}
.r-icon4 {
  width: clamp(4.250rem, 2.179rem + 3.237vw, 6.062rem);
}
.r-icon5 {
  width: clamp(5.500rem, 3.071rem + 3.795vw, 7.625rem);
}
.r-icon6 {
  width: clamp(5.125rem, 3.268rem + 2.902vw, 6.750rem);
}
.r-icon7 {
  width: clamp(3.562rem, 1.562rem + 3.125vw, 5.312rem);
}
.r-icon8 {
  width: clamp(5.812rem, 2.527rem + 5.134vw, 8.688rem);
}
.r-icon9 {
  width: clamp(5.625rem, 1.768rem + 6.027vw, 9.000rem);
}

/* area */
.area {
  padding-top: clamp(3.125rem, 2.708rem + 0.868vw, 3.750rem);
  padding-bottom: clamp(5rem, 0.833rem + 8.68vw, 11.25rem);
}
.area__inner {
  padding-right: clamp(1.250rem, -1.750rem + 6.250vw, 5.750rem);
  padding-left: 0;
}
.area__container {
  display: flex;
  align-items: center;
  width: 100%;
}
.area__left {
  flex: 1075;
  min-width: 0;
}
.area__img {
  width: 100%;
  height: auto;
}
.area__right {
  display: flex;
  flex-direction: column;
  flex: 753;
  min-width: 0;
  margin-top: clamp(1.062rem, 0.021rem + 2.170vw, 2.625rem);
  padding-top: clamp(1.750rem, 0.250rem + 3.125vw, 4.000rem);
  padding-right: clamp(1.250rem, -1.208rem + 5.122vw, 4.938rem);
  padding-bottom: clamp(1.938rem, 0.729rem + 2.517vw, 3.750rem);
  padding-left: clamp(1.250rem, -1.542rem + 5.816vw, 5.438rem);
  background-color: #349b8b;
}
.area__sub {
  font-family: "LINE Seed JP", sans-serif;
  font-size: clamp(1.000rem, 0.500rem + 1.042vw, 1.750rem);
  line-height: 1;
  color: #dceadf;
}
.area__main {
  margin-top: clamp(0.562rem, 0.354rem + 0.434vw, 0.875rem);
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: clamp(2.000rem, 1.333rem + 1.389vw, 3.000rem);
  line-height: 1.1;
  color: #fff;
}
.area__items {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(0.688rem, 0.312rem + 0.781vw, 1.250rem) clamp(0.875rem, -0.042rem + 1.910vw, 2.250rem);
  margin-top: clamp(1.938rem, 0.979rem + 1.997vw, 3.375rem);
}
.area__item {
  display: flex;
  align-items: center;
  gap: clamp(0.500rem, 0.292rem + 0.434vw, 0.812rem);
}
.area-item__icon {
  width: clamp(1.000rem, 0.625rem + 0.781vw, 1.562rem);
  flex-shrink: 0;
}
.area-item__text {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-size: clamp(0.875rem, 0.458rem + 0.868vw, 1.500rem);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.area__text {
  margin-top: clamp(1.938rem, 1.062rem + 1.823vw, 3.250rem);
  font-family: "LINE Seed JP", sans-serif;
  font-size: clamp(0.875rem, 0.708rem + 0.347vw, 1.125rem);
  line-height: 1.56;
  color: #fff;
}

@media (max-width: 1023px) {
  .reason__box {
    align-items: center;
  }
  .reason-box__title,
  .reason__items {
    width: 100%;
    max-width: 494px;
  }
  .reason__items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .pg__fv {
    background-image: url("https://katsushima.jp/system_panel/uploads/images/pg-fv-reason.png");
  }

  .consultation__title {
    font-size: 24px;
  }
  .consultation .text1 {
    padding-inline: 0;
    font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
  }
  .consultation__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    aspect-ratio: auto;
  }
  .consultation-card {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.56fr);
    column-gap: 12px;
    width: 100%;
    max-width: 350px;
  }
  .consultation-card:nth-child(3) {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.56fr);
    margin-top: 21px;
  }
  .consultation-card:nth-child(1) .consultation-card__bubble--01,
  .consultation-card:nth-child(1) .consultation-card__bubble--02,
  .consultation-card:nth-child(2) .consultation-card__bubble--01,
  .consultation-card:nth-child(2) .consultation-card__bubble--02,
  .consultation-card:nth-child(3) .consultation-card__bubble--01,
  .consultation-card:nth-child(3) .consultation-card__bubble--02 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: auto;
    width: 100%;
    min-height: 46px;
    padding: 8px;
    font-size: 12px;
    line-height: 1.333;
    white-space: normal;
  }
  .consultation-card:nth-child(1) .consultation-card__bubble--01::after,
  .consultation-card:nth-child(1) .consultation-card__bubble--02::after,
  .consultation-card:nth-child(2) .consultation-card__bubble--01::after,
  .consultation-card:nth-child(2) .consultation-card__bubble--02::after,
  .consultation-card:nth-child(3) .consultation-card__bubble--01::after,
  .consultation-card:nth-child(3) .consultation-card__bubble--02::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: auto;
    width: 17px;
    height: 19px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateY(70%);
  }
  .consultation-card:nth-child(1) .consultation-card__bubble--01::after,
  .consultation-card:nth-child(2) .consultation-card__bubble--01::after,
  .consultation-card:nth-child(3) .consultation-card__bubble--01::after {
    right: 18%;
  }
  .consultation-card:nth-child(1) .consultation-card__bubble--02::after,
  .consultation-card:nth-child(2) .consultation-card__bubble--02::after,
  .consultation-card:nth-child(3) .consultation-card__bubble--02::after {
    left: 38%;
  }
  .consultation-card__person {
    position: static;
    bottom: auto;
    grid-column: 1 / -1;
    justify-self: center;
    width: 173px;
    margin-top: 13px;
  }
  .consultation-card:nth-child(1) .consultation-card__person {
    left: auto;
    z-index: auto;
    width: 173px;
  }
  .consultation-card:nth-child(2) .consultation-card__person {
    left: auto;
    z-index: auto;
    width: 179px;
  }
  .consultation-card:nth-child(3) .consultation-card__person {
    left: auto;
    z-index: auto;
    width: 142px;
  }

  .reason__title {
        font-size: 30px;
    padding-inline: 20px;
  }
  .text1--reason {
    font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
  }
  
  .area {
    padding-top: 0;
  }
  .area__container {
    flex-direction: column;
  }
  .area__left,
  .area__right {
    flex: none;
    width: 100%;
  }
  .area__right {
    margin-top: 0;
    margin-left: 20px;
  }
  .area__text {
    line-height: 2;
  }
}

@media (max-width: 374px) {
  .consultation__title {
    font-size: 20px;
  }
  .consultation-card {
    column-gap: 8px;
  }
  .consultation-card:nth-child(1) .consultation-card__bubble--01,
  .consultation-card:nth-child(1) .consultation-card__bubble--02,
  .consultation-card:nth-child(2) .consultation-card__bubble--01,
  .consultation-card:nth-child(2) .consultation-card__bubble--02,
  .consultation-card:nth-child(3) .consultation-card__bubble--01,
  .consultation-card:nth-child(3) .consultation-card__bubble--02 {
    padding: 6px 8px;
    font-size: 11px;
  }
  .consultation-card:nth-child(1) .consultation-card__person {
    width: 150px;
  }
  .consultation-card:nth-child(2) .consultation-card__person {
    width: 155px;
  }
  .consultation-card:nth-child(3) .consultation-card__person {
    width: 123px;
  }

  .reason__title {
    font-size: 24px;
  }
  .reason-item__title {
    font-size: 18px;
  }
  .reason-item__icon,
  .r-icon1 {
    width: clamp(3.750rem, 0.046rem + 18.519vw, 4.375rem);
  }
  .r-icon2 {
    width: clamp(4.000rem, -0.074rem + 20.370vw, 4.688rem);
  }
  .r-icon3 {
    width: clamp(3.875rem, 0.171rem + 18.519vw, 4.500rem);
  }
  .r-icon4 {
    width: clamp(3.125rem, -0.208rem + 16.667vw, 3.688rem);
  }
  .r-icon5 {
    width: clamp(4.125rem, 0.051rem + 20.370vw, 4.812rem);
  }
  .r-icon6 {
    width: clamp(3.812rem, 0.109rem + 18.519vw, 4.438rem);
  }
  .r-icon7 {
    width: clamp(2.688rem, 0.095rem + 12.963vw, 3.125rem);
  }
  .r-icon8 {
    width: clamp(4.312rem, -0.132rem + 22.222vw, 5.062rem);
  }
  .r-icon9 {
    width: clamp(4.188rem, 0.113rem + 20.370vw, 4.875rem);
  }
}
