@charset "UTF-8";

/**********************
初めての方へ
guide.php
***********************/
/**********************
guide
***********************/
section.first {
  padding: 0 0 40px;
  background: var(--color-bg);
  overflow: hidden;
}

.first__wrapper {
  position: relative;
  width: 250%;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: #fff;
  padding: 60px 5% 0;
  overflow: hidden;
}

.first__wrapper > * {
  position: relative;
  z-index: 1;
}

.first .outer {
  width: 100vw;
}

.first__head {
  position: relative;
  font-size: clamp(1.12rem, calc(0.9783rem + 1vw), 2.625rem);
}

.first__head::before {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -55px;
  width: 50px;
  height: 90px;
  background: url(../images/dogs/4r_dog-tips.webp) no-repeat center / contain;
}

.first .pc {
  display: none;
}

.first__top {
  padding-inline: 5%;
  margin-block: 10px 30px;
}

.first__top img {
  width: 100%;
  border-radius: 24px;
  margin-bottom: 24px;
}

.first__top-text {
  line-height: 1.4;
}

.first__top-text > p {
  margin-bottom: 20px;
}

.first__bottom {
  position: relative;
  z-index: 0;
  padding-block: 40px;
}

.first__bottom::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -6%;
  right: -6%;
  background:
    linear-gradient(rgb(255 255 255 / 80%), rgb(255 255 255 / 80%)),
    url("../images/first/background.webp") center / cover no-repeat;
}

.first__bottom > * {
  position: relative;
  z-index: 1;
}

.first__bottom-catch {
  color: var(--color-main);
  text-align: center;
}

.first__bottom-text {
  padding-inline: 5%;
}

.first .text-center-bottom {
  margin-bottom: 30px;
}

.first .btn__line-tel {
  margin: 30px auto 0;
}

@media (min-width: 480px) {
  .first__head::before {
    bottom: -15px;
    right: -40px;
  }

  .first__wrapper::before {
    height: 39%;
  }

  .first .sp {
    display: none;
  }

  .first .pc {
    display: block;
  }
}

@media (min-width: 768px) {
  .first__head::before {
    bottom: -10px;
    right: -75px;
    width: 80px;
  }
}

@media (min-width: 1024px) {
  .first {
    padding-top: 0;
  }

  .first .outer {
    padding: 0;
  }

  .first__wrapper {
    width: 180%;
  }

  .first__wrapper::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44%;
    background:
      linear-gradient(rgb(255 255 255 / 80%), rgb(255 255 255 / 80%)),
      url("../images/first/background.webp") center / 60% no-repeat;
  }

  .first__wrapper > * {
    position: relative;
    z-index: 1;
  }

  /* .first__head {
    font-size: 1.5rem;
  } */

  .first__top {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .first__top img,
  .first__top-text {
    width: 50%;
  }

  .first__bottom::before {
    display: none;
  }

  .first .text-center-bottom {
    white-space: nowrap;
    margin-bottom: 60px;
  }
}

/**********************
step
***********************/
.step__head::before {
  content: "";
  position: absolute;
  bottom: -25px;
  right: unset;
  left: -60px;
  width: 60px;
  height: 90px;
  background: url(../images/dogs/4r_dog-happy.webp) no-repeat center / contain;
}

.step__container {
  font-size: 1rem;
}

.step__contents {
  position: relative;
  margin-bottom: 60px;
}

.step__icon {
  margin-block: 16px;
}

.step__icon::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 25px solid var(--color-main);
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
}

.step__contents:last-of-type .step__icon::after {
  display: none;
}

.step__title {
  text-align: center;
  font-size: 1.125rem;
}

.step .btn__flexwrap {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .step__head::before {
    bottom: 0;
    left: -90px;
    width: 75px;
  }
}

@media (min-width: 1024px) {
  .step__container {
    display: flex;
    justify-content: space-between;
    gap: 45px;
  }

  .step__contents {
    width: calc(100% / 5);
    margin-bottom: 0;
  }

  .step__icon {
    position: relative;
  }

  .step__icon::after {
    bottom: unset;
    left: unset;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    border-right: none;
    border-left: 25px solid var(--color-main);
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .step__title {
    line-height: 1.1;
    min-height: 35px;
  }
}

/**********************
question
***********************/
.question {
  position: relative;
  padding-bottom: 0;
  background: var(--color-bg);
  text-align: center;
}

.question::after {
  content: "";
  position: absolute;
  bottom: -58px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 60px;
  background: var(--color-bg);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.question::before {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  border-top: 15px solid var(--color-main);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.question__head::before {
  content: "";
  position: absolute;
  bottom: -12px;
  right: unset;
  left: -50px;
  width: 45px;
  height: 90px;
  background: url(../images/dogs/4r_dog-purpleved.webp) no-repeat center /
    contain;
}

.question img {
  max-width: 800px;
}

@media (min-width: 768px) {
  .question__head::before {
    bottom: 0;
    left: -90px;
    width: 75px;
  }
}

/**********************
other
***********************/
section.other {
  padding: 30px 5% 60px;
  margin-top: 80px;
  background: var(--color-bg);
  border-radius: 20px;
}

.other__head::before {
  content: "";
  position: absolute;
  bottom: 15px;
  right: 0px;
  width: 50px;
  height: 90px;
  background: url(../images/dogs/4r_dog-smile.webp) no-repeat center / contain;
}

.other__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.other__title {
  margin-bottom: 16px;
  font-size: 1rem;
  text-align: center;
}

.other__contents img {
  border-radius: var(--border-radius-16);
}

.other .btn__flexwrap {
  margin-block: 60px 0;
}

@media (min-width: 768px) {
  section.other {
    padding: 30px 50px 80px;
  }

  .other__head::before {
    bottom: 0;
    right: -80px;
    width: 75px;
  }
}

@media (min-width: 1024px) {
  .other__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 40px;
  }
}

/**********************
price-first
***********************/
.price-first .price__head::before {
  bottom: -15px;
  right: unset;
  left: -60px;
}

.price__illust {
  margin-block: 40px 60px;
}

@media (min-width: 768px) {
  .price-first .price__head::before {
    left: -70px;
    width: 70px;
  }
}

/**********************
feature
***********************/
.feature {
  padding-bottom: 0;
  background: var(--color-bg);
}

.feature__head {
  line-height: 1;
}

.feature__head::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -45px;
  width: 50px;
  height: 90px;
  background: url(../images/dogs/4r_dog-tips.webp) no-repeat center / contain;
}

.feature__head strong {
  display: inline-block;
  width: 30px;
  height: 30px;
  color: var(--color-main);
  background: #fff;
  border-radius: 50%;
}

.feature__container {
  margin-bottom: 60px;
}

.feature__contents:not(:nth-of-type(4)) {
  margin-bottom: 20px;
}

.feature__contents p {
  margin-top: 16px;
}

.feature__contents img {
  border-radius: var(--border-radius-16);
}

.feature__title {
  margin-bottom: 16px;
  font-size: 1.3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .feature__head::before {
    bottom: -15px;
    right: -70px;
    width: 75px;
  }

  .feature__head strong {
    display: inline-block;
    width: 40px;
    height: 40px;
    color: var(--color-main);
    background: #fff;
    border-radius: 50%;
  }

  .feature__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    max-width: 900px;
    margin: 0 auto 60px;
  }

  .feature__contents:not(:nth-of-type(4)) {
    margin-bottom: 0;
  }
}

.flow {
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--border-radius-24);
}

.flow__container {
  position: relative;
  margin-block: 30px 40px;
}

.flow__container::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--color-sub);
  transform: translateX(-50%);
}

.flow__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
}

.flow__item + .flow__item {
  margin-top: 40px;
}

.flow__time {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  justify-self: center;
  font-weight: 500;
  font-size: 1rem;
  background: var(--color-sub);
  border-radius: 50%;
  white-space: nowrap;
}

.flow__item:first-of-type .flow__time,
.flow__item:last-of-type .flow__time {
  width: 24px;
  height: 24px;
  font-size: 0.875rem;
}

.flow__body {
  padding-left: 20px;
}

.flow__title {
  text-align: left;
  line-height: 1.5;
  font-weight: 500;
}

.flow__title br {
  display: none;
}

.flow__icon {
  margin-block: 15px;
  text-align: left;
}

.flow__icon img {
  width: 70px;
}

.flow__item:nth-of-type(1) img,
.flow__item:nth-of-type(2) img {
  width: 60px;
}

.flow__item:nth-of-type(3) img {
  width: 80px;
}

.flow__text {
  line-height: 1.8;
}

.flow .btn__flexwrap {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .flow {
    max-width: 1080px;
    margin: 80px auto 0;
    padding: 80px 90px;
  }

  .flow__container {
    margin-block: 40px 60px;
  }

  .flow__container::before {
    top: 50px;
    bottom: 45px;
  }

  .flow__item {
    position: relative;
    align-items: center;
    font-size: 1rem;
  }

  .flow__item + .flow__item {
    margin-top: 60px;
  }

  .flow__body {
    display: grid;
    grid-template-columns: 160px 100px 1fr;
    align-items: center;
    gap: 50px;
    padding-left: 60px;
  }

  .flow__title {
    text-align: center;
    line-height: 1;
  }

  .flow__title br {
    display: block;
  }

  .flow__icon {
    text-align: center;
  }

  .flow__icon img {
    width: 70px;
  }
}

/**********************
faq
***********************/
.faq__head-lower::before {
  background: url(../images/dogs/4r_dog-purpleved.webp) no-repeat center /
    contain;
  bottom: -15px;
  right: unset;
  left: -60px;
  width: 50px;
}

@media (min-width: 768px) {
  .faq__head-lower::before {
    left: -100px;
    width: 75px;
  }
}

/**********************
スタッフ紹介
staff.php
***********************/
/**********************
mv
***********************/
.mv-staff img {
  object-position: 12% center;
}

/**********************
greeting
***********************/
section.greeting {
  position: relative;
  padding-top: 100px;
  background: url(../images/greeting-bg.webp) no-repeat center / cover;
}

.greeting::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(255, 255, 255, 0.65);
}

.greeting .inner {
  position: relative;
  z-index: 99;
}

.greeting__head {
  position: relative;
}

.greeting__head::before {
  content: "";
  position: absolute;
  bottom: -13px;
  right: -55px;
  width: 55px;
  height: 90px;
  background: url(../images/dogs/4r_dog-smile.webp) no-repeat center / contain;
}

.greeting__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.greeting__image {
  position: relative;
}

.greeting__image::before {
  content: "";
  position: absolute;
  inset: 0;
  top: -15px;
  left: -10px;
  aspect-ratio: 4 / 3;
  background: var(--color-main);
  border-radius: var(--border-radius-16);
  transform: translateY(20px);
  z-index: -1;
}

.greeting__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--border-radius-16);
}

.greeting__text > p {
  margin-bottom: 15px;
}

.greeting .btn__line-tel {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .greeting__head::before {
    right: -85px;
    width: 80px;
  }
}

@media (min-width: 1024px) {
  .greeting__container {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }

  .greeting__image {
    position: relative;
    width: 47%;
  }

  .greeting__text {
    width: 53%;
  }
}

/**********************
staff
***********************/
.staff {
  background: var(--color-bg);
}

.staff__head::before {
  content: "";
  position: absolute;
  bottom: -13px;
  left: -55px;
  width: 55px;
  height: 90px;
  background: url(../images/dogs/4r_dog-face.webp) no-repeat center / contain;
}

.staff__wrapper {
  padding: 40px;
  background: #fff;
  border-radius: var(--border-radius-30);
}

.staff__comment {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

.staff__comment .staff__box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.staff__comment .staff__text {
  margin-bottom: 16px;
  text-align: center;
}

.staff__message {
  font-size: 1rem;
}

.staff__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}

.staff__box {
  line-height: 1.4;
}

.staff__box img {
  margin-bottom: 16px;
  width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
}

.staff__text {
  font-size: 1.125rem;
}

.staff__text span {
  font-size: 1rem;
}

.staff .btn__flexwrap {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .staff__head::before {
    left: -85px;
    width: 80px;
  }
}

@media (min-width: 1024px) {
  .staff__wrapper {
    padding: 60px;
  }

  .staff__comment {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .staff__comment .staff__box {
    flex-direction: row;
    gap: 20px;
  }

  .staff__comment .staff__text {
    margin-top: 20px;
    text-align: left;
  }

  .staff__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
  }

  .staff__box img {
    width: 240px;
  }
}

/**********************
trust
***********************/
section.trust {
  position: relative;
  padding-bottom: 0;
  background: var(--color-bg);
}

.trust::after {
  content: "";
  position: absolute;
  bottom: -58px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 60px;
  background: var(--color-bg);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.trust__head::before {
  content: "";
  position: absolute;
  bottom: -13px;
  right: -55px;
  width: 55px;
  height: 90px;
  background: url(../images/dogs/4r_dog-tips.webp) no-repeat center / contain;
}

.trust__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
  text-align: center;
}

.trust__title {
  margin-block: 16px 10px;
  font-size: 1rem;
}

.trust__contents span {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.trust .btn__main {
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .trust__head::before {
    right: -85px;
    width: 80px;
  }
}

@media (min-width: 1024px) {
  .trust__container {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }
}

/**********************
業者選びのポイント
selection.php
***********************/
/**********************
attention
***********************/
section.attention {
  position: relative;
  padding-block: 100px 0;
  background: url(../images/greeting-bg.webp) no-repeat center / cover;
}

.attention::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(255, 255, 255, 0.65);
}

.attention .inner {
  position: relative;
  z-index: 99;
}

.attention__head {
  position: relative;
  font-size: clamp(1.3rem, calc(0.9583rem + 1.8519vw), 2.4rem);
}

.attention__head::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -55px;
  width: 45px;
  height: 90px;
  background: url(../images/dogs/4r_dog-smile.webp) no-repeat center / contain;
}

.attention__head::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -50px;
  width: 50px;
  height: 90px;
  background: url(../images/dogs/4r_dog-tips.webp) no-repeat center / contain;
}

.attention__container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px 40px;
}

.attention__contents {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 15px;
  background: var(--color-bg);
  border-radius: var(--border-radius-8);
  color: var(--color-main);
  box-shadow: 5px 5px 5px rgba(0, 0, 128, 0.15);
}

.attention__num {
  position: relative;
  font-family: var(--font-number);
  font-size: 2.4rem;
  font-weight: 700;
}

.attention__num::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 70%;
  background: var(--color-sub);
}

.attention__title,
.matter__title {
  font-size: 1.3rem;
  color: var(--color-main);
}

.attention__text .pc {
  display: none;
}

@media (min-width: 480px) {
  .attention__title br {
    display: none;
  }
}

@media (min-width: 768px) {
  .attention__head::before {
    left: -70px;
    bottom: -10px;
    width: 60px;
  }

  .attention__head::after {
    bottom: -10px;
    right: -70px;
    width: 70px;
  }

  .attention__container {
    flex-direction: row;
    gap: 40px 80px;
    text-align: center;
  }

  .attention__contents {
    width: calc((100% / 2) - 40px);
  }

  .attention__text .pc {
    display: block;
  }

  .attention__num {
    font-size: 3rem;
  }

  .attention__title,
  .matter__title {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .attention__head .sp {
    display: block;
  }
}

/**********************
matter
***********************/
section.matter.no4 {
  padding-bottom: 0;
}

.matter__head {
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.matter__lead {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 30px auto 40px;
}

.matter__head .attention__num {
  padding-right: 24px;
}

.matter__image {
  aspect-ratio: 44 / 25;
  object-fit: cover;
  object-position: top;
  border-radius: var(--border-radius-16);
}

.matter__text {
  margin-top: 20px;
  text-align: center;
}

.matter__text p {
  margin-bottom: 24px;
  text-align: left;
}

.matter__text img {
  width: 55px;
  margin-left: 15px;
}

.no1 .matter__text img:nth-of-type(2),
.no2 .matter__text img,
.no4 .matter__text img:nth-of-type(1) {
  width: 65px;
}

.no3 .matter__text img:nth-of-type(1) {
  width: 75px;
}

.matter__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
}

.matter__contents {
  position: relative;
  padding: 30px;
  background: var(--color-bg);
  border-radius: var(--border-radius-16);
  box-shadow: 5px 5px 5px rgba(0, 0, 128, 0.15);
}

.matter__contents::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 100px;
  height: 100px;
  background: url(../images/icon/check.svg) no-repeat center / contain;
  opacity: 0.2;
}

.matter__item {
  position: relative;
  z-index: 2;
}

.matter__item > p {
  margin-bottom: 24px;
}

.matter__title {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 16px;
}

.matter:nth-of-type(even) {
  background: var(--color-bg);
}

.matter.no2 .matter__contents,
.matter.no4 .matter__contents {
  background: #fff;
}

.matter.no4 {
  position: relative;
}

.matter.no4::after {
  content: "";
  position: absolute;
  bottom: -58px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 60px;
  background: var(--color-bg);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.matter .btn__wrap {
  margin-block: 30px 60px;
}

@media (min-width: 480px) {
  .matter__head {
    align-items: center;
    text-align: center;
  }

  .matter__head br {
    display: none;
  }
}

@media (min-width: 768px) {
  .matter__lead {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }

  .matter.no2 .matter__lead,
  .matter.no4 .matter__lead {
    flex-direction: row-reverse;
  }

  .matter__image {
    width: 55%;
  }

  .matter__text {
    width: 45%;
    margin-bottom: unset;
  }

  .matter__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .matter .btn__wrap {
    margin-block: 60px 120px;
  }
}
