@charset "UTF-8";

/**********************
解体・リフォーム
reform.php
***********************/
/**********************
target
***********************/
.target {
  background: var(--color-bg);
}

.target__head {
  padding: 15px 25px;
  background: var(--color-main);
  border-radius: var(--border-radius-16);
  color: #fff;
  font-size: 1.125rem;
  transform: translateY(35px);
}

.target__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px 70px;
  padding: 60px 30px 30px;
  background: #fff;
  border: 5px solid var(--color-main);
  border-radius: var(--border-radius-16);
}

.target__contents {
  display: flex;
  gap: 10px;
  border-bottom: 0.5px solid var(--color-base);
}

.target__contents::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 5px;
  background: url(../images/icon/check-white-navy.svg) no-repeat center /
    contain;
}

.target__title {
  font-size: 1.125rem;
}

.target__contents p {
  padding-bottom: 10px;
  font-size: 1rem;
}

.target .text-center {
  margin-bottom: 0;
}

@media (min-width: 480px) {
  .target__container {
    padding: 60px 40px 30px;
  }
}

@media (min-width: 768px) {
  .target__head {
    padding: 15px 80px;
    font-size: 1.5rem;
  }

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

/**********************
organize
***********************/
.organize {
  position: relative;
  background: url(../images/greeting-bg.webp) no-repeat center / cover;
}

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

.organize__wrapper {
  position: relative;
  z-index: 3;
}

.organize__head {
  position: relative;
  font-size: clamp(1.35rem, calc(0.9783rem + 1.4296vw), 2.625rem);
}

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

.organize__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 40px auto 60px;
}

.organize__contents {
  min-height: 150px;
  padding: 20px 10px;
  background: var(--color-bg);
  border-radius: var(--border-radius-16);
  text-align: center;
  box-shadow: 1px 1px 5px rgba(0, 0, 128, 0.12);
}

.organize__title {
  margin-bottom: 16px;
  font-size: 1rem;
}

.organize__contents img {
  width: 80px;
}

.organize-reform .organize__contents:nth-of-type(4) img {
  width: 60px;
}

.organize__text {
  margin-bottom: 16px;
}

.organize .cta__contents {
  margin-block: 0;
}

.organize-moving .organize__contents:nth-of-type(2) img {
  width: 100px;
}

.organize-moving .organize__contents:nth-of-type(4) img {
  width: 130px;
}

@media (min-width: 768px) {
  .organize {
    padding-block: 100px 60px;
  }

  .organize__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .organize__head::before {
    left: -85px;
    width: 65px;
  }
}

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

.select__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;
}

.select__container {
  display: flex;
  flex-direction: column;
}

.select__contents {
  padding: 20px;
}

.select__title {
  text-align: center;
}

.select__contents img {
  margin-block: 16px;
}

.onestop {
  margin-block: 40px 60px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-main);
  border-radius: var(--border-radius-24);
}

.onestop__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.onestop__head,
.onestop__title {
  font-size: 1.3rem;
  text-align: center;
}

.onestop__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  margin: 16px auto;
  text-align: center;
  border-radius: 50%;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.12);
}

.onestop__contents:nth-of-type(1) img {
  width: 70%;
}

.onestop__contents:nth-of-type(2) img {
  width: 60%;
}

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

  .select__container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .select__contents {
    width: calc(100% / 2);
    margin: 0 auto;
    padding: 20px 40px;
  }

  .onestop {
    padding: 40px 80px;
  }

  .onestop__container {
    flex-direction: row;
    gap: 160px;
  }
}

/**********************
ex
***********************/
.ex {
  padding-bottom: 30px;
}

.ex__head {
  color: var(--color-main);
}

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

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

.ex__contents {
  width: 100%;
}

.ex__labels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.ex__labels img {
  width: 65px;
  height: 20px;
}

.ex__before {
  transform: scaleX(-1);
}

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

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

  .ex__container {
    flex-direction: row;
  }

  .ex__contents {
    width: 50%;
  }
}

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

.guideline .inner {
  margin-bottom: 60px;
}

.guideline .iiner .text-center {
  margin-block: 0;
}

.guideline__text {
  margin-bottom: 40px;
}

.guideline__title {
  font-size: 1.3rem;
  text-align: center;
}

.guideline__table {
  width: 100%;
  margin-block: 16px;
  border-collapse: collapse;
  font-weight: 700;
  font-size: 0.9rem;
}

.guideline__table th,
.guideline__table td {
  padding-block: 15px;
  border: 1px solid #ddd;
  text-align: center;
}

.guideline__table th:not(.guideline__table thead th),
.guideline__table td {
  background: #f8f8ff;
}

.guideline__table thead {
  background: var(--color-main);
  color: #fff;
}

.guideline__copy {
  margin-block: 16px 60px;
  text-align: center;
  font-size: 1rem;
}

.guideline__copy-large {
  position: relative;
  font-size: 1.25rem;
}

.guideline__copy-large::before,
.guideline__copy-large::after {
  content: "";
  position: absolute;
  top: 55px;
  width: 25px;
  height: 25px;
}

.guideline__copy-large::before {
  left: -45px;
  background: url(../images/icon/text-accent-left.svg) no-repeat center /
    contain;
}

.guideline__copy-large::after {
  right: -50px;
  background: url(../images/icon/text-accent-right.svg) no-repeat center /
    contain;
}

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

  .guideline__copy-large {
    white-space: nowrap;
  }

  .guideline__copy-large::before,
  .guideline__copy-large::after {
    top: 35px;
  }

  .guideline__copy-large::after {
    right: -25px;
  }
}

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

  .guideline__title {
    font-size: 1.5rem;
  }

  .guideline__table {
    font-size: 1.3rem;
  }

  .guideline__copy {
    font-size: 1.3rem;
  }

  .guideline__copy-large {
    font-size: 1.75rem;
  }

  .guideline__copy-large::before,
  .guideline__copy-large::after {
    top: 55px;
  }
}

/**********************
step
***********************/
.step__head::before {
  content: "";
  position: absolute;
  bottom: -12px;
  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__main {
  margin-top: 60px;
}

@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;
  }
}

/**********************
faq-reform
***********************/
.faq-reform .faq__head::before {
  content: none;
}

/**********************
仏壇・人形のご供養
kuyo.php
***********************/
/**********************
organize-kuyou
***********************/
.organize-kuyou .organize__contents:nth-of-type(2) img {
  width: 65px;
}

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

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

.memorial__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  padding: 40px 0;
  margin-bottom: 40px;
}

.memorial__title {
  text-align: center;
}

.memorial__contents img {
  margin-block: 16px;
  aspect-ratio: 6 / 4;
  object-fit: cover;
}

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

.offering__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 60px;
  padding: 40px 10px;
  background: #fff;
  border-radius: var(--border-radius-24);
  border: 1px solid var(--color-main);
  text-align: center;
}

.offering__title {
  margin-bottom: 16px;
  font-size: 1rem;
}

.offering__contents:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.offering__contents img {
  width: 140px;
  height: 140px;
}

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

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

  .offering__head::before {
    bottom: -25px;
    right: -80px;
    width: 55px;
  }

  .offering__container {
    grid-template-columns: repeat(5, 1fr);
    padding: 40px;
  }

  .offering__contents:last-child {
    grid-column: unset;
  }
}

@media (min-width: 1250px) {
  .offering__container {
    padding: 40px 80px;
  }

  .offering__title br {
    display: none;
  }
}

/**********************
faq-kuyo
***********************/
.faq-kuyo .faq__head::before {
  content: none;
}

/**********************
小さなお引越し
hikkoshi.php
***********************/
/**********************
transport
***********************/
.transport {
  background: var(--color-bg);
}

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

.transport__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  margin-block: 40px 80px;
}

.transport__title {
  text-align: center;
}

.transport__contents img {
  margin-block: 16px;
}

.facility {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border: 1px solid var(--color-main);
  border-radius: var(--border-radius-24);
}

.facility__head {
  font-size: 1.3rem;
}

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

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

.facility__contents {
  padding: 30px 20px;
  border: 1px solid var(--color-main);
  border-radius: var(--border-radius-24);
}

.facility__title {
  text-align: center;
}

.facility__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 150px;
  margin: 16px auto;
  text-align: center;
  border-radius: 50%;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.12);
}

.facility__icon img {
  width: 60%;
}

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

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

  .facility {
    padding: 40px;
  }

  .facility__head {
    font-size: 1.5rem;
  }

  .facility__head::before {
    bottom: -25px;
    right: -70px;
    width: 55px;
  }

  .facility__container {
    flex-direction: row;
  }
}

/**********************
transport
***********************/
.faq-moving .faq__head::before {
  content: none;
}
