@charset "UTF-8";

/*
TITLE
================================================ */
.section-kicker {
  margin: 0 auto 20px;
  padding: 0 10px 4px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-bottom: 2px solid var(--red);
}

@media (max-width: 820px) {
  .section-kicker {
    font-size: 3.8vw;
    margin: 0 auto 2.133vw;
    padding: 0 0.533vw 1.067vw;
    border-bottom: 1px solid var(--red);
  }
}

/*
HERO
================================================ */
.hero {
  position: relative;
  padding: 110px 0 30px;
  overflow: hidden;
  background-image: -webkit-image-set(
    url("../img/hero-family.jpg") 1x,
    url("../img/hero-family@2x.jpg") 2x
  );
  background-image: image-set(
    url("../img/hero-family.jpg") 1x,
    url("../img/hero-family@2x.jpg") 2x
  );
  background-size: cover;
	background-position: center;
}
.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.hero-copy {
  position: relative;
  width: min(580px, 100%);
}

.hero .title-merit {
  position: relative;
  display: block;
  margin: 30px auto;
  padding: 0 50px 0 50px;
  width: fit-content;
  color: var(--red);
  font-size: 18px;
  text-align: center;
  font-feature-settings: "palt";
}
.hero .title-merit::before,
.hero .title-merit::after {
  content: "";
  position: absolute;
  top: 70%;
  width: 50px;
  height: 2px;
  background: #f28b82;
}
.hero .title-merit::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}
.hero .title-merit::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.hero h1 {
  position: relative;
  margin: 0;
  font-size: 62px;
  text-align: left;
  line-height: 1.34;
	font-feature-settings: "palt";
  color: var(--red);
  text-shadow:
  4px 4px 4px #FFF, -4px -4px 4px #FFF,
  -4px 4px 4px #FFF,  4px -4px 4px #FFF,
  4px 0 4px #FFF, -4px  0 4px #FFF,
  0 4px 4px #FFF,  0 -4px 4px #FFF;
}
.hero h1::before {
  content: attr(data-text);
  white-space: pre-line;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  line-height: 1.34;
  color: transparent;
  -webkit-text-stroke: 13px #fff;
  z-index: 0;
}

.hero-btn {
  display: block;
  margin: 0 auto;
  padding: 15px 50px;
  width: fit-content;
  color: #fff;
  font-size: 22px;
  background: var(--brown);
  border-radius: 35px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 15px 0 30px;
}
.feature {
  display: grid;
  gap: 7px;
  place-items: center;
  padding: 10px;
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  line-height: 1.3;
}
.feature-text span {
  color: var(--red);
}
.feature01 img {
  width: 73px;
}
.feature02 img {
  width: 77px;
}
.feature03 img {
  width: 58px;
}

.price-badge {
  position: absolute;
  top: -90px;
  right: -100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  padding-bottom: .5em;
  width: 174px;
  height: 174px;
  color: #fff;
  font-size: 22px;
  background: var(--red);
  border-radius: 50%;
  text-align: center;
  line-height: 1;
}
.price-badge p {
  margin-bottom: .25em;
}
.price-badge span {
  font-size: 42px;
}

@media (max-width: 820px) {
  .hero {
    padding: 4vw 2.667vw 8vw; /* 15px 10px 30px */
    background-image: -webkit-image-set(
      url("../img/hero-family_sp.jpg") 1x,
      url("../img/hero-family_sp@2x.jpg") 2x
    );
    background-image: image-set(
      url("../img/hero-family_sp.jpg") 1x,
      url("../img/hero-family_sp@2x.jpg") 2x
    );
  }
  .hero-inner {
    width: 100%;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    width: fit-content;
    font-size: 6.933vw; /* 26px */
  }
  .hero h1::before {
    -webkit-text-stroke: 1.6vw #fff; /* 6px */
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 1.067vw; /* 4px */
    margin: 2.133vw 0 3.2vw; /* 8px 0 12px */
    width: fit-content;
  }
  .feature {
    grid-template-columns: auto auto;
    justify-content: flex-start;
    padding: 0.8vw 1.333vw 0.8vw 2.133vw; /* 3px 5px 3px 8px */
    font-size: 2.933vw; /* 11px */
    border: 1px solid var(--red);
    border-radius: 1.333vw; /* 5px */
  }
  .feature01 img {
    width: 8vw; /* 30px */
  }
  .feature02 img {
    width: 8vw; /* 30px */
  }
  .feature03 img {
    width: 6.4vw; /* 24px */
  }
  .hero .title-merit {
    margin: 4.8vw 0; /* 18px 0 0 */
    padding: 0 4.267vw 0 4.8vw; /* 0 16px 0 18px */
    font-size: 3.2vw; /* 12px */
	  line-height: 130%;
  }
  .hero .title-merit::before,
  .hero .title-merit::after {
    width: 4.533vw; /* 73px */
    height: 1px;
  }

  .hero-btn {
    margin: 0;
    padding: 2.133vw 8vw; /* 73px */
    font-size: 3.2vw; /* 73px */
    border-radius: 4.933vw; /* 73px */
  }

  .price-badge {
    top: 0;
    right: 0;
    width: 19.467vw; /* 73px */
    height: 19.467vw; /* 73px */
    font-size: 2.933vw; /* 11px */
  }
  .price-badge span {
    font-size: 5.067vw; /* 19px */
  }
}

/*
バナー
================================================ */
.promo-strip {
  position: relative;
  width: min(1160px, calc(100% - 160px));
  margin: 12px auto 60px;
}
.promo-strip .swiper-pagination {
  position: absolute;
  bottom: -30px;
  line-height: 1;
}
.promo-strip .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  opacity: 1;
  background: #dfd0b9;
}
.promo-strip .swiper-pagination-bullet-active {
  background: #564938;
}
.promo-slider {
  position: relative;
  overflow-y: visible;
}
.promo-slider .promo-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
}
.promo-slider .swiper-slide {
  width: auto;
}
.promo-slider .promo-card img {
  width: 100%;
  height: auto;
  display: block;
}
.promo-card {
  position: relative;
  display: block;
}

@media (max-width: 820px) {
  .promo-strip {
    width: 100%;
    margin: 2.4vw auto 18.667vw;
  }
  .promo-strip .swiper-pagination {
    bottom: -4.267vw;
  }
  .promo-strip .swiper-pagination-bullet {
    width: 1.333vw;
    height: 1.333vw;
  }
}

/*
互助会プラン診断
================================================ */
.diagnosis {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto 50px;
  border: 3px solid var(--teal);
  background: #fff;
}
.diagnosis-head {
  position: relative;
  padding: 26px 20px 22px;
  color: #fff;
  background: var(--teal);
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
}
.diagnosis-head::before,
.diagnosis-head::after {
  position: absolute;
  content: "";
  display: block;
}
.diagnosis-head::before {
  left: 50px;
  bottom: 4px;
  width: 130px;
  height: 144px;
  background-size: 130px 144px;
  background-image: -webkit-image-set(
    url("../img/deco_woman.png") 1x,
    url("../img/deco_woman@2x.png") 2x
  );
  background-image: image-set(
    url("../img/deco_woman.png") 1x,
    url("../img/deco_woman@2x.png") 2x
  );
}
.diagnosis-head::after {
  right: 60px;
  bottom: 10px;
  width: 92px;
  height: 107px;
  background-size: 92px 107px;
  background-image: -webkit-image-set(
    url("../img/deco_list.png") 1x,
    url("../img/deco_list@2x.png") 2x
  );
  background-image: image-set(
    url("../img/deco_list.png") 1x,
    url("../img/deco_list@2x.png") 2x
  );
}
.diagnosis-head__top {
  font-size: 22.5px;
}
.diagnosis-head__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  font-size: 33px;
  letter-spacing: .1em;
}
 .text_qa {
  width: 124px;
}
.diagnosis-panel {
  position: relative;
  padding: 30px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 0 auto;
  width: fit-content;
}
.faq-grid .faq-button {
  padding: 30px 10px;
  border: 2px solid var(--teal);
  border-radius: 16px;
  color: #000;
  line-height: 1.3;
  cursor: pointer;
  width: 327px;
  font-size: 21px;
  background: linear-gradient(0deg, #e6e6e6 0%, #fff 35%, #f2f2f2 100%);
}

.modal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.5);
  z-index: 19;
  cursor: pointer;
}
.modal[hidden] {
  display: none;
}
.modal-content {
  position: relative;
  padding: 40px;
  width: min(90%, 760px);
  max-height: 90%;
  overflow-y: auto;
  scrollbar-width: none;/* Firefox */
  -ms-overflow-style: none; /* IE・旧Edge */
  color: #fff;
  background: #eb7671;
  border-radius: 22px;
  cursor: auto;
}
.modal-content::-webkit-scrollbar {
  display: none; /* Chrome・Safari・Edge */
}
.modal .modal-title {
  margin-bottom: 10px;
  font-size: 22px;
  text-align: left;
  margin-left: 2em;
  text-indent: -1.8em;
}
.modal .modal-title::before {
  content: "Q.";
  margin-right: 10px;
  font-size: 35px;
  font-weight: 400;
}
.modal .modal-text {
  margin-left: 45px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* クローズボタン */
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 4px;
  background: #fff;
  border-radius: 999px;
  transform-origin: center;
}
.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 820px) {
  .diagnosis-head__top {
    font-size: 2.933vw;
  }
  .diagnosis {
    width: calc(100% - 5.333vw);
    margin: 0 auto 6.667vw;
    border: 1.5px solid var(--teal);
  }
  .diagnosis-head {
    padding: 2.133vw 5.333vw 2.667vw;
    font-size: 3.333vw;
  }
  .diagnosis-head::before {
    left: 0;
    top: -5.333vw;
    bottom: auto;
    width: 22vw;
    height: 24.533vw;
    background-size: 22vw 24.533vw;
  }
  .diagnosis-head::after {
    right: 1.067vw;
    top: -2.667vw;
    bottom: auto;
    width: 15.2vw;
    height: 17.467vw;
    background-size: 15.2vw 17.467vw;
  }
  .diagnosis-head__bottom {
    gap: 1.6vw;
    font-size: 5vw;
  }
  .text_qa {
    width: 19.733vw;
  }
  .diagnosis-panel {
    padding: 2.133vw 6.667vw;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2.133vw;
  }
  .faq-grid .faq-button {
    padding: 3.733vw 6.4vw;
    border: 1px solid var(--teal);
    border-radius: 2.133vw;
    width: auto;
    font-size: 4.267vw;
  }

  /* モーダル */
  .modal-content {
    padding: 8vw 5.333vw;
    border-radius: 3.733vw;
  }
  .modal .modal-title {
    margin-bottom: 2.667vw;
    font-size: 4.8vw;
  }
  .modal .modal-title::before {
    margin-right: 1.6vw;
    font-size: 6.933vw;
  }
  .modal .modal-text {
    margin-left: 0;
    font-size: 3.733vw;
    line-height: 1.8;
  }

  /* クローズボタン */
  .modal-close {
    top: 2.667vw;
    right: 2.667vw;
    width: 6.4vw;
    height: 6.4vw;
  }
  .modal-close::before,
  .modal-close::after {
    width: 6.4vw;
    height: 0.8vw;
  }
}

/*
セレモニアの冠婚葬祭互助会とは
================================================ */
.about {
  padding: 80px 0 60px;
  background: var(--pink-bg);
}
.about h2 {
  margin: 0 0 30px;
}
.about .description {
  margin: 0 auto 40px;
  max-width: 700px;
  line-height: 2;
}
.relief-img {
  width: min(790px, 100%);
  margin: 0 auto 70px;
}

@media (max-width: 820px) {
  .about {
    padding: 6.667vw 3.467vw;
  }
  .about .description {
    margin: 0 auto 2.667vw;
  }
  .relief-img {
    margin-bottom: 8vw;
    max-width: 77.867vw;
  }
}

/*
セレモニアの互助会を選ぶ６つのメリット
================================================ */
.benefits {
  padding: 60px 0;
  background: var(--gray-bg);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 26px;
  margin: 70px auto 0;
  max-width: 1100px;
}
.benefit-card {
  position: relative;
  padding: 44px 28px 30px;
  background: #fff;
}
.num {
  position: absolute;
  top: -30px;
  left: 50%;
  display: grid;
  place-items: center;
  padding-bottom: 6px;
  width: 60px;
  height: 60px;
  transform: translateX(-50%);
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  line-height: 1;
  font-size: 31px;
}
.benefit-icon {
  margin: 0 auto 20px;
}
.benefit-icon.building {
  width: 97px;
}
.benefit-icon.money {
  width: 208px;
}
.benefit-icon.graph {
  width: 136px;
}
.benefit-icon.moving {
  width: 253px;
}
.benefit-icon.japan {
  width: 241px;
}
.benefit-icon.ceremony {
  width: 165px;
}
.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}
.benefit-card p {
  margin: 0;
  font-weight: 400;
  text-align: left;
}
.benefits-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  margin: 44px auto 0;
  padding: 20px 35px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 20px;
  outline: 4px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  background: linear-gradient(
    to bottom,
    var(--red) 50%,
    #d85555 50%
  );
  border-radius: 10px;
  transition-duration: .4s;
}
.benefits-btn:hover {
  transform: scale(1.1);
}
.benefits-btn span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.benefits-btn::after,
.benefits-btn span::before {
  content: "";
  display: block;
}
.benefits-btn::after {
  width: 30px;
  height: 30px;
  background-image: url(../img/icon_btn-arrow.svg);
  background-size: 30px 30px;
}
.benefits-btn span::before {
  width: 21px;
  height: 28px;
  background-image: url(../img/icon_document.svg);
  background-size: 21px 28px;
}

@media (max-width: 820px) {
  .benefits {
    padding: 6.667vw 4.533vw;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 10.667vw 8vw;
    margin: 13.333vw auto 0;
  }
  .benefit-card {
    padding: 10.667vw 3.2vw 5.333vw;
  }
  .num {
    top: -5.867vw;
    padding-bottom: 0.8vw;
    width: 11.733vw;
    height: 11.733vw;
    font-size: 6vw;
  }
  .benefit-icon {
    margin: 0 auto 5.333vw;
  }
  .benefit-icon.building {
    width: 12.933vw;
  }
  .benefit-icon.money {
    width: 27.733vw;
  }
  .benefit-icon.graph {
    width: 18.133vw;
  }
  .benefit-icon.moving {
    width: 33.733vw;
  }
  .benefit-icon.japan {
    width: 32.133vw;
  }
  .benefit-icon.ceremony {
    width: 22vw;
  }
  .benefit-card h3 {
    margin: 0 0 3.2vw;
    font-size: 5vw;
  }
  .benefits-btn {
    gap: 4vw;
    margin: 11.733vw auto 0;
    padding: 3.733vw 5.867vw;
    font-size: 4.267vw;
    outline: 0.533vw solid #fff;
    box-shadow: 0 0 1.333vw rgba(0,0,0,.1);
    border-radius: 1.333vw;
  }
  .benefits-btn span {
    gap: 2.667vw;
  }
  .benefits-btn::after {
    width: 5.333vw;
    height: 5.333vw;
    background-size: 5.333vw 5.333vw;
  }
  .benefits-btn span::before {
    width: 3.733vw;
    height: 4.933vw;
    background-size: 3.733vw 4.933vw;
  }
}

/*
ご加入者様の声
================================================ */
.voices {
  padding: 60px 0;
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 0 auto;
  width: min(1100px, calc(100% - 50px));
}
.avatar.older-woman {
  width: 78px;
  height: 79px;
}
.avatar.woman {
  width: 72px;
  height: 75px;
}
.avatar.older-man {
  width: 69px;
  height: 79px;
}
.avatar.man {
  width: 69px;
  height: 78px;
}
.voice-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 26px;
  background: var(--gray-bg);
  border-radius: 18px;
  text-align: left;
}
.voice-card h3 {
  margin: 0 0 5px;
  color: var(--teal);
  font-size: 20px;
}
.voice-card p {
  margin: 0;
}

@media (max-width: 820px) {
  .voices {
    padding: 6.667vw 0 12vw;
  }
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .voice-grid {
    gap: 4vw;
  }
  .voice-card {
    grid-template-columns: 1fr;
    gap: 1.067vw;
    padding: 4.8vw;
    border-radius: 2.4vw;
  }
  .voice-card h3 {
    margin: 0;
    font-size: 4.6vw;
	  line-height: 150%;
  }
  .voice-title {
    display: flex;
    align-items: center;
    gap: 4.8vw;
  }
  .avatar.older-woman {
    width: 10.4vw;
    height: 10.533vw;
  }
  .avatar.woman {
    width: 9.6vw;
    height: 10vw;
  }
  .avatar.older-man {
    width: 9.2vw;
    height: 10.533vw;
  }
  .avatar.man {
    width: 9.2vw;
    height: 10.4vw;
  }
}

/*
コース内容
================================================ */
.course {
  padding: 0 0 60px;
}
.course table {
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
}
.course th,
.course td {
  padding: 10px;
  text-align: center;
  line-height: 1;
  border: 3px solid #fff;
}
thead th:not(:first-child) {
  width: 270px;
  color: #fff;
}
thead th:nth-child(2) {
  background: var(--red);
}
thead th:nth-child(3) {
  background: var(--teal);
}
tbody th {
  color: #fff;
  width: 120px;
  background: var(--brown);
}
tbody tr:nth-child(odd) td {
  background: #ece8e2;
}
.course img {
  margin: 0 auto;
}
.course td.circle img {
  width: 25px;
  height: 25px;
}
.course td.none img {
  width: 31px;
  height: 2px;
}

@media (max-width: 820px) {
  .course {
    padding: 0 5.333vw 10.667vw;
  }
  .course th,
  .course td {
    padding: 2.133vw;
    font-size: 3.733vw;
    border: 1px solid #fff;
  }
  th:first-child {
    width: 26.667vw;
    font-size: 3.733vw;
  }
  thead th:not(:first-child) {
    width: 25.333vw;
  }
  .course td.circle img {
    width: 4vw;
    height: 4vw;
  }
  .course td.none img {
    width: 6.133vw;
    height: 0.267vw;
  }
}