@charset "UTF-8";
@media screen and (min-width: 768px) {
  #header {
    padding-top: 64px;
  }
}
#header #key {
  position: relative;
}
#header #key .title {
  font-size: 11vw;
  line-height: 2;
  top: 60vw;
  left: 23.2vw;
  position: absolute;
  z-index: 2;
  color: #fff;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  #header #key .title {
    text-shadow: 0 0 10px black;
  }
}
#header #key .img img {
  -o-object-position: 37% center;
     object-position: 37% center;
}
@media screen and (min-width: 768px) {
  #header #key .title {
    top: 377px;
    right: calc(50% + 314px);
    font-size: 52px;
  }
  #header #key .img {
    height: 880px;
  }
}

.btn-link3 {
  width: 196px;
  max-width: 100%;
}
.btn-link3 a {
  display: flex;
  justify-content: space-between;
  position: relative;
  text-decoration: none;
  padding: 0 13px 0 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  align-items: center;
}
.btn-link3 a small {
  color: #7f6e82;
  font-size: 20px;
  margin-right: 7px;
  display: inline-block;
}
.btn-link3 a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #ccc;
  transition: all 0.5s;
}
.btn-link3 a:after {
  content: "";
  background: url("../img/kuyo/arrow_sp.png") no-repeat center/100% auto;
  width: 8px;
  height: 11px;
}
@media screen and (min-width: 768px) {
  .btn-link3 a {
    font-size: 20px;
  }
  .btn-link3 a small {
    font-size: 24px;
    margin-right: 10px;
  }
  .btn-link3 a:after {
    background: url("../img/kuyo/arrow.png") no-repeat center/100% auto;
    width: 8px;
    height: 11px;
  }
  .btn-link3 a:hover::before {
    left: 100%;
  }
}

.btn-link4 {
  width: 216px;
  max-width: 100%;
}
.btn-link4 a {
  display: flex;
  justify-content: space-between;
  position: relative;
  text-decoration: none;
  padding: 0 6px 0 0;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  align-items: center;
}
.btn-link4 a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #ccc;
  transition: all 0.5s;
}
.btn-link4 a:after {
  content: "";
  background: url("../img/shared/arrow_sp.png") no-repeat center/100% auto;
  width: 11px;
  height: 8px;
}
@media screen and (min-width: 768px) {
  .btn-link4 a {
    font-size: 24px;
  }
  .btn-link4 a:after {
    background: url("../img/shared/arrow.png") no-repeat center/100% auto;
    width: 11px;
    height: 8px;
  }
  .btn-link4 a:hover::before {
    left: 100%;
  }
}

main {
  overflow: hidden;
}

#lead {
  padding: 15vw 0;
  position: relative;
}
#lead .deco {
  position: absolute;
  width: 50vw;
  top: 62vw;
  right: 67vw;
}
#lead h3 {
  position: relative;
  z-index: 2;
  color: #956b72;
  margin: 0 var(--wrapPadding) 0 0;
  justify-content: flex-end;
}
#lead h3::before {
  height: 40vw;
  align-self: center;
  background: url("../img/kuyo/catch_deco_img.jpg") no-repeat center/cover;
}
@media screen and (min-width: 768px) {
  #lead {
    padding: 158px 0 100px;
    position: relative;
  }
  #lead .deco {
    width: 221px;
    top: 285px;
    right: calc(50% - 13px);
  }
  #lead h3 {
    width: 994px;
    font-size: 30px;
    margin: 0 auto;
    gap: 0 19px;
    align-items: center;
  }
  #lead h3::before {
    height: 190px;
  }
}

.cl {
  color: #956b72;
}

.txt-center {
  text-align: center;
}

.txt-right {
  text-align: right;
}

#eitai {
  position: relative;
  z-index: 2;
  margin: 15vw 0 0;
}
#eitai .history {
  margin: 0 var(--wrapPadding);
  background: url("../img/kuyo/eitai_img.jpg") no-repeat center/cover;
  color: #fff;
  padding: 20vw var(--wrapPadding);
}
#eitai .history h3 {
  width: 25.6vw;
  margin: 0 auto;
  height: 35vw;
}
#eitai .history .txt {
  letter-spacing: 0.025em;
}
#eitai .mean {
  position: relative;
  padding: 15vw 0 0;
}
#eitai .mean .group-content h3 {
  letter-spacing: 0.025em;
}
@media screen and (max-width: 767px) {
  #eitai .mean .group-content h3 {
    text-align: center;
  }
}
#eitai .mean .group-content .txt {
  letter-spacing: 0.025em;
}
#eitai .mean .group-img {
  margin: 8vw 0 0 var(--wrapPadding);
  position: relative;
}
#eitai .mean .group-img h4 {
  position: absolute;
  right: 5vw;
  bottom: 5vw;
  text-align: right;
  color: #fff;
  z-index: 2;
  line-height: 1.75;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 767px) {
  #eitai .mean .group-img h4 {
    font-size: 5vw;
  }
}
#eitai .kuyo {
  margin: 15vw 0 0;
}
#eitai .kuyo .group-content h3 {
  letter-spacing: 0.025em;
}
@media screen and (max-width: 767px) {
  #eitai .kuyo .group-content h3 {
    text-align: center;
  }
}
#eitai .kuyo .group-content .txt {
  margin: 2vw 0 0;
  letter-spacing: 0.025em;
  text-wrap: pretty;
}
#eitai .kuyo .flex {
  margin: 5vw 0 0;
}
#eitai .kuyo .flex .item {
  display: flex;
  gap: 0 4vw;
  align-items: flex-start;
}
@media screen and (max-width: 767px) {
  #eitai .kuyo .flex .item + .item {
    margin-top: 6vw;
  }
}
#eitai .kuyo .flex .item .icon {
  margin: 2vw 0 0;
}
@media screen and (max-width: 767px) {
  #eitai .kuyo .flex .item .icon {
    width: 20vw;
  }
}
#eitai .kuyo .flex .item .group-txt {
  width: calc(100% - 24vw);
}
#eitai .kuyo .flex .item .group-txt h4 {
  border-bottom: 1px solid;
  font-size: 5vw;
  line-height: 1.75;
  letter-spacing: 0.025em;
  padding: 0 0 1vw;
}
#eitai .kuyo .flex .item .group-txt .txt {
  letter-spacing: 0.025em;
  margin: 1vw 0 0;
}
#eitai .type {
  margin: 20vw 0 0;
}
#eitai .type .set-anchor .group-content h3 {
  letter-spacing: 0.025em;
}
@media screen and (max-width: 767px) {
  #eitai .type .set-anchor .group-content h3 {
    text-align: center;
  }
}
#eitai .type .set-anchor .group-content .txt {
  margin: 2vw 0 0;
  letter-spacing: 0.025em;
}
#eitai .type .set-anchor .group-btn {
  margin: 10vw 0 0;
}
@media screen and (max-width: 767px) {
  #eitai .type .set-anchor .group-btn .btn-link3 {
    margin: 0 auto;
  }
  #eitai .type .set-anchor .group-btn .btn-link3 + .btn-link3 {
    margin-top: 5vw;
  }
}
#eitai .type .set-item {
  margin: 15vw 0 0;
}
#eitai .type .set-item .item {
  position: relative;
}
#eitai .type .set-item .item + .item {
  margin-top: 15vw;
}
#eitai .type .set-item .item .gr .group-content {
  background: #fff;
  padding: 7vw var(--wrapPadding) 15vw;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  #eitai .type .set-item .item .gr .group-content .inner .title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 3vw;
    margin: 0 0 4vw;
  }
}
#eitai .type .set-item .item .gr .group-content .inner .title dt {
  width: 15vw;
  height: 15vw;
  border: 1px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 6vw;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
#eitai .type .set-item .item .gr .group-content .inner .title dd {
  line-height: 1.5;
  letter-spacing: 0.05em;
}
#eitai .type .set-item .item .gr .group-content .inner .txt {
  letter-spacing: 0.025em;
}
#eitai .type .set-item .item .gr .group-content .inner .group {
  margin: 5vw 0 0;
  border-top: 1px solid #b3a5b5;
  padding: 4vw 0 0;
  display: flex;
  line-height: 1.75;
}
#eitai .type .set-item .item .gr .group-content .inner .group .tit {
  width: 58px;
}
#eitai .type .set-item .item .gr .group-content .inner .group .right {
  width: calc(100% - 58px);
  font-size: 14px;
}
#eitai .type .set-item .item .gr .group-content .inner .group .right dl {
  display: flex;
}
#eitai .type .set-item .item .gr .group-content .inner .group .right dl dt {
  width: 44px;
}
#eitai .type .set-item .item .gr .group-content .inner .group .right dl dd {
  width: calc(100% - 44px);
}
#eitai .type .set-item .item .gr .group-content .inner .group .right dl + dl {
  margin-top: 4px;
}
#eitai .type .set-item .item .gr .group-img {
  display: flex;
  gap: 0 3vw;
}
@media screen and (max-width: 767px) {
  #eitai .type .set-item .item .gr .group-img {
    position: relative;
    z-index: 2;
    margin: -8vw 0 0;
  }
}
#eitai .type .set-item .item .gr .group-img .right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#eitai .type .set-item .item:nth-child(even) .gr .group-img {
  flex-direction: row-reverse;
}
#eitai .type .set-item .item .box {
  margin: 13vw auto 0;
  position: relative;
}
#eitai .type .set-item .item .box::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8vw;
  background: url("../img/kuyo/arrow2.png") no-repeat top center/auto 100%;
  height: 5.5vw;
}
#eitai .type .set-item .item .box .tit {
  background: #b69ea2;
  color: #fff;
  text-align: center;
  font-size: 5vw;
  line-height: 1.5;
  padding: 3vw 0;
  letter-spacing: 0.025em;
}
#eitai .type .set-item .item .box .inner {
  text-align: center;
  border: 1px solid #b69ea2;
  border-top: 0;
  padding: 5vw var(--wrapPadding);
}
#eitai .type .set-item .item .box .inner ul {
  display: inline-block;
  text-align: left;
}
#eitai .type .set-item .item .box .inner ul li {
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
#eitai .type .set-item .item .box .inner ul li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #b69ea2;
  left: 0;
  top: 5.5px;
}
#eitai .type .set-item .item .box .inner ul li + li {
  margin-top: 5px;
}
@media screen and (min-width: 768px) {
  #eitai {
    margin: 126px 0 0;
  }
  #eitai .history {
    width: 1200px;
    max-width: calc(100% - 60px);
    margin: 0 auto;
    padding: 70px 0 46px;
  }
  #eitai .history h3 {
    width: 144px;
    height: 204px;
  }
  #eitai .history .txt {
    text-align: center;
  }
  #eitai .mean {
    padding: 204px 0 0;
  }
  #eitai .mean .group-content {
    position: absolute;
    z-index: 2;
    top: -113px;
    left: 37px;
    display: flex;
    align-items: flex-start;
    gap: 0 86px;
  }
  #eitai .mean .group-content h3 {
    height: 200px;
  }
  #eitai .mean .group-content .txt {
    margin: 31px 0 0;
  }
  #eitai .mean .group-img {
    width: 693px;
    margin: 0 0 0 auto;
    position: relative;
  }
  #eitai .mean .group-img h4 {
    right: 45px;
    bottom: 44px;
  }
  #eitai .kuyo {
    margin: 148px 0 0;
  }
  #eitai .kuyo .group-content {
    display: flex;
    align-items: flex-start;
    gap: 0 52px;
    width: 512px;
    margin: 0 auto;
  }
  #eitai .kuyo .group-content h3 {
    height: 200px;
  }
  #eitai .kuyo .group-content .txt {
    margin: 49px 0 0;
  }
  #eitai .kuyo .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 43px 0;
    margin: 17px 0 0;
  }
  #eitai .kuyo .flex .item {
    width: 463px;
    display: flex;
    gap: 0 28px;
    align-items: flex-start;
  }
  #eitai .kuyo .flex .item .icon {
    margin: 9px 0 0;
  }
  #eitai .kuyo .flex .item .group-txt {
    width: calc(100% - 157px);
  }
  #eitai .kuyo .flex .item .group-txt h4 {
    font-size: 20px;
    padding: 0 0 5px;
  }
  #eitai .kuyo .flex .item .group-txt .txt {
    margin: 4px 0 0;
  }
  #eitai .type {
    margin: 196px 0 0;
  }
  #eitai .type .set-anchor .group-content {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0 52px;
    width: 414px;
    margin: 0 auto;
  }
  #eitai .type .set-anchor .group-content h3 {
    height: 200px;
  }
  #eitai .type .set-anchor .group-content .txt {
    margin: 16px 0 0;
    width: 291px;
  }
  #eitai .type .set-anchor .group-btn {
    display: flex;
    justify-content: center;
    gap: 0 59px;
    margin: 60px 0 0;
  }
  #eitai .type .set-item {
    margin: 80px 0 0;
  }
  #eitai .type .set-item .item + .item {
    margin-top: 115px;
  }
  #eitai .type .set-item .item .wrap {
    width: 1200px;
  }
  #eitai .type .set-item .item .gr {
    padding: 69px 0 0;
    min-height: 806px;
    box-sizing: border-box;
    position: relative;
    width: 1100px;
    margin: 0 0 0 auto;
  }
  #eitai .type .set-item .item .gr .group-content {
    width: 641px;
    min-height: 545px;
    padding: 46px 0 30px 92px;
  }
  #eitai .type .set-item .item .gr .group-content .inner {
    width: 361px;
  }
  #eitai .type .set-item .item .gr .group-content .inner .title dt {
    width: 76px;
    height: 76px;
    font-size: 27px;
    margin: 0 auto 13px;
  }
  #eitai .type .set-item .item .gr .group-content .inner .title dd {
    line-height: 47px;
    width: 94px;
    margin: 0 auto;
    height: 127px;
  }
  #eitai .type .set-item .item .gr .group-content .inner .group {
    margin: 26px 0 0;
    padding: 22px 0 0;
  }
  #eitai .type .set-item .item .gr .img {
    position: absolute;
    top: 0;
    right: 0;
    height: 418px;
    width: 600px;
    max-width: calc(100% - 500px);
  }
  #eitai .type .set-item .item .gr .group-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 600px;
    max-width: calc(100% - 500px);
    gap: 0 16px;
  }
  #eitai .type .set-item .item .gr .group-img .img2 {
    height: 367px;
    width: 291px;
  }
  #eitai .type .set-item .item .gr .group-img .right .img2 {
    height: 178px;
    width: 292px;
  }
  #eitai .type .set-item .item:nth-child(even) .gr {
    margin-left: auto;
  }
  #eitai .type .set-item .item:nth-child(even) .gr .group-content {
    margin-left: auto;
    padding-left: 187px;
  }
  #eitai .type .set-item .item:nth-child(even) .gr .img {
    left: 0;
    right: auto;
  }
  #eitai .type .set-item .item:nth-child(even) .gr .group-img {
    left: 0;
    right: auto;
    flex-direction: row-reverse;
  }
  #eitai .type .set-item .item .box {
    margin: 70px auto 0;
    width: 610px;
  }
  #eitai .type .set-item .item .box::before {
    top: -32px;
    height: 27px;
  }
  #eitai .type .set-item .item .box .tit {
    font-size: 24px;
    padding: 14px 0;
  }
  #eitai .type .set-item .item .box .inner {
    padding: 26px 0 24px;
  }
  #eitai .type .set-item .item .box .inner ul li {
    font-size: 16px;
    position: relative;
    padding-left: 25px;
  }
  #eitai .type .set-item .item .box .inner ul li::before {
    width: 13px;
    height: 13px;
    top: 5.5px;
  }
  #eitai .type .set-item .item .box .inner ul li + li {
    margin-top: 8px;
  }
  #eitai .contact {
    margin-top: 132px;
  }
}

.line {
  margin: 0 var(--wrapPadding);
  height: 1px;
  background: #ccc;
}
@media screen and (min-width: 768px) {
  .line {
    width: 1000px;
    margin: 0 auto;
    max-width: calc(100% - 60px);
  }
}

.contact {
  margin: 15vw var(--wrapPadding) 0;
  padding: 10vw 0;
  background: #d9d9d9;
}
.contact .wrap {
  padding: 0;
}
.contact h2 {
  font-size: 9.6vw;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin: 0 0 5vw;
  text-align: center;
}
.contact .col {
  text-align: center;
}
.contact .col + .col {
  margin-top: 10vw;
}
.contact .col .title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0 5px;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 3vw;
}
.contact .col .title::before {
  content: "";
  background: url("../img/shared/icon_mail_sp.png") no-repeat center/100% auto;
  width: 16px;
  height: 12px;
}
.contact .col .title.title2 {
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .contact .col .title.title2 {
    align-items: center;
  }
}
.contact .col .title.title2::before {
  background-image: url("../img/shared/icon_tel_sp.png");
  width: 14px;
  height: 16.5px;
}
.contact .col .btn-link2 {
  width: 184px;
  margin: 0 auto;
}
.contact .col .btn-link2 a {
  text-decoration: none;
  transition: all 0.5s;
  height: 184px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 0 0 5px;
  border-radius: 50%;
  background: url("../img/shared/bg4.jpg");
  color: #fff;
  position: relative;
  font-size: 16.5px;
  line-height: 29px;
  letter-spacing: 0.05em;
}
.contact .col .btn-link2 a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 37px;
  background: url("../img/shared/icon2_sp.png") no-repeat bottom center/auto 100%;
  height: 10px;
}
.contact .col .tel {
  font-size: 24px;
  line-height: 1.5;
}
.contact .col .tel span {
  letter-spacing: 0.2em;
}
.contact .col .sub-tel {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 1px 0 11px;
}
.contact .col .note {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
}
@media screen and (min-width: 768px) {
  .contact {
    margin: 152px auto 0;
    padding: 73px 0 20px;
    max-width: 1000px;
  }
  .contact .wrap {
    width: 794px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .contact h2 {
    font-size: 36px;
    height: 279px;
    margin-right: 79px;
    margin-bottom: 0;
    text-align: left;
  }
  .contact .col {
    margin: 2px 0 0;
  }
  .contact .col + .col {
    margin-top: 4px;
  }
  .contact .col .title {
    margin: 0 0 23px;
  }
  .contact .col .title::before {
    content: "";
    background: url("../img/shared/icon_mail.png") no-repeat center/100% auto;
    width: 16px;
    height: 12px;
  }
  .contact .col .title.title2 {
    margin: 0 0 66px;
    font-size: 18px;
  }
  .contact .col .title.title2::before {
    background-image: url("../img/shared/icon_tel.png");
    width: 14px;
    height: 16px;
  }
  .contact .col .btn-link2 a:after {
    background: url("../img/shared/icon2.png") no-repeat bottom center/auto 100%;
    height: 10px;
  }
  .contact .col .btn-link2 a:hover {
    background: url("../img/shared/bg3.jpg");
    letter-spacing: 0.25em;
  }
}

#service {
  margin: 20vw 0 0;
}
#service .history {
  margin: 0 var(--wrapPadding);
  background: url("../img/kuyo/service_img.jpg") no-repeat center/cover;
  color: #fff;
  padding: 20vw var(--wrapPadding);
}
#service .history h3 {
  width: 25.6vw;
  margin: 0 auto;
  height: 20vw;
}
#service .history .txt {
  letter-spacing: 0.025em;
}
#service .set1 {
  margin: 12vw 0 15vw;
}
#service .set1 h3 {
  margin: 0 0 5vw;
  letter-spacing: 0.6em;
}
@media screen and (max-width: 767px) {
  #service .set1 h3 {
    text-align: center;
  }
}
#service .set1 .group .txt {
  letter-spacing: 0.025em;
}
#service .set1 .group .group-img {
  margin: 7vw 0 0;
}
#service .set1 .group .group-img .img {
  text-align: right;
}
@media screen and (max-width: 767px) {
  #service .set1 .group .group-img .img {
    width: 70vw;
    margin: 0 0 0 auto;
  }
}
#service .set1 .group .group-img .img2 {
  position: relative;
  z-index: 2;
  margin: -15vw 0 0;
}
@media screen and (max-width: 767px) {
  #service .set1 .group .group-img .img2 {
    width: 35vw;
  }
}
#service .set1 .group2 {
  margin: 12vw var(--wrapPadding) 0;
}
#service .set1 .group2 h4 {
  font-size: 5vw;
  line-height: 1.5;
  letter-spacing: 0.025em;
  margin: 0 0 2vw;
}
#service .set1 .group2 .toggle {
  padding: 0 0 8px;
  line-height: 1.75;
  border-bottom: 1px solid #b69ea2;
}
#service .set1 .group2 .toggle:last-of-type {
  padding-bottom: 0;
  border: 0;
}
#service .set1 .group2 .toggle .toggle-link {
  display: flex;
  align-items: center;
  line-height: 1.5;
}
#service .set1 .group2 .toggle .toggle-link span {
  width: 114px;
  color: #956b72;
  font-size: 14px;
}
#service .set1 .group2 .toggle .toggle-link > small {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 0 15px;
  letter-spacing: 0.025em;
}
#service .set1 .group2 .toggle .toggle-link > small small {
  font-size: 12px;
  letter-spacing: 0.025em;
}
@media screen and (max-width: 767px) {
  #service .set1 .group2 .toggle .toggle-link:after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "＋";
    color: #956b72;
    line-height: 1;
    margin: 0;
  }
}
@media screen and (max-width: 767px) {
  #service .set1 .group2 .toggle.active .toggle-link:after {
    content: "−";
  }
}
#service .set1 .group2 .toggle .toggle-main .txt {
  font-size: 14px;
  letter-spacing: 0.025em;
}
@media screen and (max-width: 767px) {
  #service .set1 .group2 .toggle .toggle-main .txt {
    padding-top: 10px;
  }
}
#service .set1 .group2 .toggle + .toggle {
  margin-top: 10px;
}
#service .set1 .group2 .btn-popup {
  width: 144px;
  height: 144px;
  position: relative;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #8c8c8c;
  text-align: center;
  box-sizing: border-box;
  padding: 40px 0 0;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  margin: 7vw auto 0;
}
#service .set1 .group2 .btn-popup:after {
  content: "＋";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 21px;
}
#service #funeral {
  margin: 15vw 0 0;
}
#service #funeral h3 {
  letter-spacing: 0.6em;
  margin: 0 0 5vw;
}
@media screen and (max-width: 767px) {
  #service #funeral h3 {
    text-align: center;
  }
}
#service #funeral .group .group-img {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 17vw 0 0;
  flex-direction: row-reverse;
}
#service #funeral .group .group-img .img {
  position: absolute;
  top: 0;
  right: 35vw;
}
@media screen and (max-width: 767px) {
  #service #funeral .group .group-img .img {
    width: 48%;
  }
}
#service #funeral .group .group-img .img3 {
  margin: 30vw 0 0;
}
@media screen and (max-width: 767px) {
  #service #funeral .group .group-img .img3 {
    width: 30.5%;
  }
}
@media screen and (max-width: 767px) {
  #service #funeral .group .group-img .img2 {
    width: 65%;
  }
}
#service #funeral .group .txt {
  margin: 0 0 5vw;
  letter-spacing: 0.025em;
}
#service #funeral .group2 {
  margin: 8vw var(--wrapPadding) 0;
}
#service #funeral .group2 h4 {
  margin: 0 0 4vw;
  font-size: 5.5vw;
  line-height: 1.5;
  letter-spacing: 0.025em;
}
#service #funeral .group2 ul li {
  border-bottom: 1px solid #b69ea2;
  padding: 0 0 10px 30px;
  position: relative;
  line-height: 1.75;
  letter-spacing: 0.025em;
}
#service #funeral .group2 ul li::before {
  content: "";
  position: absolute;
  left: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #956b72;
  top: 6px;
}
#service #funeral .group2 ul li + li {
  margin-top: 13px;
}
#service #funeral .group2 ul li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
@media screen and (min-width: 768px) {
  #service {
    margin: 197px 0 0;
  }
  #service .history {
    width: 1200px;
    max-width: calc(100% - 60px);
    margin: 0 auto;
    padding: 121px 0 53px;
  }
  #service .history h3 {
    width: 144px;
    height: 176px;
  }
  #service .history .txt {
    text-align: center;
  }
  #service .set1 {
    margin: 75px 0 130px;
  }
  #service .set1 h3 {
    height: 164px;
    margin: 0 auto;
    width: 60px;
  }
  #service .set1 .group {
    width: 890px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  #service .set1 .group .txt {
    width: 295px;
  }
  #service .set1 .group .group-img {
    width: 554px;
    margin: 4px 0 0;
  }
  #service .set1 .group .group-img .img {
    text-align: right;
  }
  #service .set1 .group .group-img .img2 {
    margin: -92px 0 0;
  }
  #service .set1 .group2 {
    margin: 89px auto 0;
    width: 890px;
  }
  #service .set1 .group2 h4 {
    font-size: 24px;
    margin: 0 0 17px;
  }
  #service .set1 .group2 .toggle {
    display: flex;
    align-items: flex-start;
    padding: 0 0 8px;
  }
  #service .set1 .group2 .toggle .toggle-link {
    width: 275px;
  }
  #service .set1 .group2 .toggle .toggle-main {
    width: calc(100% - 275px);
  }
  #service .set1 .group2 .toggle .toggle-main .txt {
    min-height: 49px;
  }
  #service .set1 .group2 .btn-popup {
    margin: 22px 0 0 auto;
  }
  #service .set1 .group2 .btn-popup:hover {
    opacity: 0.8;
  }
  #service #funeral {
    margin: 100px 0 0;
  }
  #service #funeral h3 {
    margin: 0 auto;
    width: 60px;
    height: 155px;
  }
  #service #funeral .group {
    width: 1070px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0 62px;
  }
  #service #funeral .group .group-img {
    width: 622px;
    padding: 119px 0 0;
  }
  #service #funeral .group .group-img .img {
    right: 235px;
  }
  #service #funeral .group .group-img .img3 {
    margin: 204px 0 0;
  }
  #service #funeral .group .txt {
    width: 306px;
    margin: 19px 0 0;
  }
  #service #funeral .group2 {
    margin: 49px auto 0;
    width: 902px;
  }
  #service #funeral .group2 h4 {
    width: 890px;
    margin: 0 auto 21px;
    font-size: 24px;
  }
  #service #funeral .group2 ul {
    width: 840px;
  }
  #service #funeral .group2 ul li {
    padding: 0 0 10px 45px;
  }
  #service #funeral .group2 ul li::before {
    left: 15px;
    width: 14px;
    height: 14px;
  }
  #service .contact {
    margin-top: 146px;
  }
}

.remodal-overlay {
  background: transparent;
}

.remodal {
  max-width: 90%;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.16);
  border: 1px solid #b69ea2;
}
.remodal .popup-menu {
  padding: 29px 0 20px;
}
.remodal .popup-menu .remodal-close {
  display: block;
  position: sticky;
  top: 20px;
  margin: 0 28px -16px auto;
  width: 30px;
}
.remodal .popup-menu h2 {
  text-align: center;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.025em;
  margin: 0 0 30px;
}
.remodal .popup-menu .flex {
  display: flex;
  justify-content: center;
  text-align: left;
}
.remodal .popup-menu .flex .col {
  font-size: 14px;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .remodal .popup-menu .flex .col {
    min-width: 120px;
  }
}
.remodal .popup-menu .flex .col p + p {
  margin-top: 20px;
}
.remodal .popup-menu .sub-txt {
  text-align: right;
  margin: 30px 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .remodal {
    width: 518px;
  }
  .remodal .popup-menu {
    padding: 29px 0 20px;
  }
  .remodal .popup-menu .remodal-close {
    display: block;
    position: sticky;
    top: 20px;
    margin: 0 28px -16px auto;
  }
  .remodal .popup-menu h2 {
    font-size: 24px;
    margin: 0 0 50px;
  }
  .remodal .popup-menu .flex .col {
    width: 155px;
    font-size: 16px;
  }
  .remodal .popup-menu .flex .col p + p {
    margin-top: 25px;
  }
}

#kuyo:not(body) {
  margin: 20vw 0 0;
  padding: 0 0 20vw;
}
#kuyo:not(body) .history {
  margin: 0 var(--wrapPadding);
  background: url("../img/kuyo/kuyo_img.jpg") no-repeat 91% center/cover;
  color: #fff;
  padding: 20vw var(--wrapPadding) 12vw;
}
#kuyo:not(body) .history h3 {
  width: 12.8vw;
  margin: 0 auto;
  height: 40vw;
  text-align: left;
  color: inherit;
  letter-spacing: 0.06em;
}
#kuyo:not(body) .history .txt {
  letter-spacing: 0.025em;
}
#kuyo:not(body) h3 {
  text-align: center;
  letter-spacing: 0.025em;
}
#kuyo:not(body) .others {
  margin: 15vw 0 0;
}
#kuyo:not(body) .others h3 {
  margin: 0 0 5vw;
}
#kuyo:not(body) .others .box {
  background: #fff;
  padding: 8vw 5vw 4vw;
  display: flex;
  flex-wrap: wrap;
  gap: 5vw 2vw;
}
#kuyo:not(body) .others .box .item {
  width: calc((100% - 3vw) / 2);
  height: 25vw;
  border: 1px solid #b69ea2;
  border-radius: 2px;
  padding: 3vw 2vw;
  color: #956b72;
  box-sizing: border-box;
}
#kuyo:not(body) .others .box .item h5 {
  font-size: 4vw;
  line-height: 1.5;
  margin: 0 0 1vw;
  letter-spacing: 0;
  text-align: center;
}
#kuyo:not(body) .others .box .item .txt {
  font-size: 10px;
  line-height: 1.75;
  letter-spacing: 0.025em;
  text-align: center;
}
#kuyo:not(body) .others .box .item .txt span {
  display: inline-block;
  text-align: left;
}
#kuyo:not(body) .others .box .tit {
  width: 100%;
  line-height: 1.5;
  margin: 5px 0 0;
  text-align: center;
  color: #956b72;
}
#kuyo:not(body) .info-flow {
  margin: 15vw 0 0;
}
#kuyo:not(body) .info-flow h3 {
  margin: 0 0 5vw;
}
#kuyo:not(body) .info-flow .flex .col {
  border: 1px solid #b69ea2;
  padding: 5vw var(--wrapPadding) 8vw;
  box-sizing: border-box;
}
#kuyo:not(body) .info-flow .flex .col + .col {
  margin-top: 8vw;
}
#kuyo:not(body) .info-flow .flex .col h4 {
  text-align: center;
  font-size: 5vw;
  line-height: 1.5;
  margin: 0 0 5vw;
}
#kuyo:not(body) .info-flow .flex .col .list-dot li {
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
  letter-spacing: 0.025em;
}
#kuyo:not(body) .info-flow .flex .col .list-dot li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b69ea2;
  top: 5.5px;
}
#kuyo:not(body) .info-flow .flex .col .list-dot li + li {
  margin-top: 11px;
}
#kuyo:not(body) .info-flow .flex .col dl {
  display: flex;
  margin: 20px 0 0;
  gap: 0 20px;
}
#kuyo:not(body) .info-flow .flex .col dl dt {
  font-size: 16px;
  line-height: 1.5;
}
#kuyo:not(body) .info-flow .flex .col dl dd {
  width: calc(100% - 70px);
  line-height: 1.5;
  letter-spacing: 0.025em;
  font-size: 16px;
}
#kuyo:not(body) .info-flow .flex .col dl dd p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 0.025em;
}
#kuyo:not(body) .info-flow .flex .col .list li {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  gap: 0 10px;
  text-wrap: pretty;
}
#kuyo:not(body) .info-flow .flex .col .list li span:first-child {
  color: #956b72;
}
#kuyo:not(body) .info-flow .flex .col .list li span:last-child {
  letter-spacing: 0.025em;
}
#kuyo:not(body) .info-flow .flex .col .list li span small {
  display: block;
  font-size: 12px;
  margin: 3px 0 0;
  line-height: 1.5;
}
#kuyo:not(body) .info-flow .flex .col .list li + li {
  margin-top: 27px;
}
#kuyo:not(body) .btn-link4 {
  margin: 12vw auto 0;
}
@media screen and (min-width: 768px) {
  #kuyo:not(body) {
    margin: 199px 0 0;
    padding: 0 0 202px;
  }
  #kuyo:not(body) .history {
    width: 1200px;
    max-width: calc(100% - 60px);
    margin: 0 auto;
    padding: 86px 0 48px;
  }
  #kuyo:not(body) .history h3 {
    width: 80px;
    height: 216px;
    font-size: 40px;
    letter-spacing: 0.1em;
  }
  #kuyo:not(body) .history .txt {
    text-align: center;
  }
  #kuyo:not(body) .others {
    margin: 64px 0 0;
  }
  #kuyo:not(body) .others h3 {
    margin: 0 0 10px;
  }
  #kuyo:not(body) .others .box {
    padding: 32px 79px 18px;
    gap: 30px 16px;
  }
  #kuyo:not(body) .others .box .item {
    width: 198px;
    height: 10vw;
    padding: 11px 10px 4px;
  }
  #kuyo:not(body) .others .box .item h5 {
    font-size: 24px;
    margin: 0 0 14px;
  }
  #kuyo:not(body) .others .box .item .txt {
    font-size: 12px;
  }
  #kuyo:not(body) .others .box .tit {
    font-size: 15px;
  }
  #kuyo:not(body) .info-flow {
    margin: 82px 0 0;
  }
  #kuyo:not(body) .info-flow h3 {
    margin: 0 0 26px;
  }
  #kuyo:not(body) .info-flow .flex {
    display: flex;
    justify-content: space-between;
  }
  #kuyo:not(body) .info-flow .flex .col {
    width: 450px;
    padding: 20px 20px 34px 34px;
  }
  #kuyo:not(body) .info-flow .flex .col + .col {
    margin-top: 0;
    width: 520px;
    padding-right: 30px;
    padding-left: 36px;
  }
  #kuyo:not(body) .info-flow .flex .col + .col h4 {
    margin-bottom: 16px;
  }
  #kuyo:not(body) .info-flow .flex .col h4 {
    font-size: 24px;
    margin: 0 0 23px;
  }
  #kuyo:not(body) .info-flow .flex .col .list-dot li {
    line-height: 26px;
  }
  #kuyo:not(body) .info-flow .flex .col .list-dot li::before {
    top: 8px;
  }
  #kuyo:not(body) .info-flow .flex .col dl {
    margin: 58px 0 0;
  }
  #kuyo:not(body) .info-flow .flex .col dl dt {
    font-size: 18px;
  }
  #kuyo:not(body) .info-flow .flex .col dl dd {
    width: 200px;
    font-size: 18px;
  }
  #kuyo:not(body) .info-flow .flex .col .list li {
    line-height: 26px;
  }
  #kuyo:not(body) .contact {
    margin-top: 129px;
  }
  #kuyo:not(body) .btn-link4 {
    margin: 33px auto 0;
  }
}