@charset "utf-8";


.container {
    /* width: min(1120px, 92vw); */
    margin-inline: auto;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 16px)
}

.row {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
    flex-wrap: wrap
}

.muted {
    color: var(--muted)
}


.funeral-top{
  color: var(--color-text);
  background: transparent;
  line-height: 1.8;
  font-size: 16px;
}

.funeral-top *{
  box-sizing: border-box;
}

.funeral-top img{
  max-width: 100%;
  height: auto;
  display: block;
}

.funeral-top a{
  text-decoration: none;
  transition: .3s;
}

.top-plan,
.top-flow{
  padding-left: 20px;
  padding-right: 20px;
}

.section-heading{
  text-align: center;
  margin-bottom: 42px;
}

.section-heading__title{
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.4;
  color: var(--color-main-dark);
  font-weight: 700;
}

/* ----------------------------------------------------------------
   ボタン
---------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
}

.btn--outline{
  background: transparent;
  color: var(--color-main-dark);
  border: 1px solid #333;
}

.btn--outline:hover{
  background: #333;
  color: var(--color-white);
}

/* ----------------------------------------------------------------
   プラン概要
   ※ heroの直下につながる前提
---------------------------------------------------------------- */
.top-plan{
  padding-top: 32px;
  padding-bottom: 60px;
  background: transparent;
}

.top-plan__lead{
  margin: 0 auto 30px;
  text-align: center;
}

.top-plan__box{
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.top-plan__text {
    height: 100%;
}

img.top-plan__img {
    object-fit: cover;
    width: 100%;
}

.top-plan__items {
    padding: 30px;
}

.top-plan__price{
  padding: 28px 20px;
  background: linear-gradient(180deg, var(--main-05purple) 0%, #ffffff 100%);
  text-align: center;
  height: auto;
}

.top-plan__price-label{
  margin: 0 0 8px;
  color: var(--color-text-light);
  font-size: 14px;
}

.top-plan__price-main{
  margin: 0;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.2;
  color: var(--main-color);
  font-weight: 800;
}

.top-plan__price-main span{
  font-size: .45em;
  font-weight: 600;
}

.top-plan__price-sub{
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--color-text);
}

.top-plan__items h3{
  margin: 0 0 16px;
  font-size: 27px;
  color: var(--main-color);
  line-height: 1.5;
  font-weight: bold;
}

.top-plan__items ul{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-plan__items li{
  position: relative;
  padding-left: 20px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: bold;
  background-color: var(--main-05purple);
  padding: 10px;
  border-bottom: 0.5px solid var(--main-70purple);
}

.top-plan__items li::before{
  /* content: "・"; */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--main-color);
  font-weight: 700;
}

.top-plan__note{
  margin: 20px 0 0;
  text-align: center;
  color: var(--color-text-light);
  font-size: 14px;
}

.top-plan__link{
  margin-top: 28px;
  text-align: center;
}



/*----------------------------------------------------------------
front-page.php プロフィール
----------------------------------------------------------------*/
.top-history {
  padding: 80px 20px;
  background: #f8fbfc;
}

.top-history__inner {
  /* max-width: 1000px; */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 30px;
}

.top-history__title {
  margin: 0 0 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #11717e;
  text-align: center;
  letter-spacing: 0.08em;
}

.top-history__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 5px 0;
  border-bottom: 1px solid #d7e6e8;
}

.top-history__item:first-of-type {
  border-top: 1px solid #d7e6e8;
}

.top-history__date {
  font-weight: 700;
  color: var(--main-color);
  line-height: 1.9;
  font-size: 14px;
}

.top-history__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  padding: 0;
}

.top-history__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .top-history {
    padding: 56px 16px;
  }

  .top-history__title {
    margin-bottom: 28px;
    font-size: 1.6rem;
  }

  .top-history__item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .top-history__date {
    font-size: 0.98rem;
  }

  .top-history__content p {
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 0;
  }

  .top-history__inner {
    grid-template-columns: 1fr;
  }

  .top-history__person {
    max-width: 300px;
            margin: 0 auto;
  }
}

/*----------------------------------------------------------------
front-page.php お知らせ
----------------------------------------------------------------*/
.top-news__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 0.5px solid #ddd;
}

.top-news__item {
  border-bottom: 0.5px solid #ddd;
}

.top-news__link {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
}

.top-news__date {
  flex: 0 0 110px;
  color: var(--main-color);
}

.top-news__text {
  flex: 1;
}

a.top-news__archive {
    text-decoration: none;
    display: block;
    padding: 10px 30px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    max-width: 300px;
    text-align: center;
    margin: 30px auto;
}

@media (max-width: 767px) {
  .top-news__link {
    flex-direction: column;
    gap: 8px;
  }

  .top-news__date {
    flex: none;
  }
}


/*----------------------------------------------------------------
front-page.php FAQ
----------------------------------------------------------------*/
.nabeta-faq {
  padding: 80px 20px;
}

.nabeta-faq__inner {
  width: min(100%, 960px);
  margin: 0 auto;
}

.nabeta-faq__heading {
  text-align: center;
  margin-bottom: 40px;
}

.nabeta-faq__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
}

.nabeta-faq__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #6b7280;
}

.nabeta-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nabeta-faq__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.nabeta-faq__question {
  width: 100%;
  padding: 24px 28px;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.nabeta-faq__question:hover {
  background: var(--main-20purple);
}

.nabeta-faq__question-label {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  color: var(--main-color);
}

.nabeta-faq__question-text {
  flex: 1 1 auto;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #1f2937;
  padding-right: 40px;
}

.nabeta-faq__icon {
  position: absolute;
  right: 28px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.25s ease;
}

.nabeta-faq__question.is-open .nabeta-faq__icon {
  transform: translateY(-30%) rotate(-135deg);
}

.nabeta-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.nabeta-faq__answer.is-open {
  grid-template-rows: 1fr;
}

.nabeta-faq__answer-inner {
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
  padding: 0 28px;
}

.nabeta-faq__answer.is-open .nabeta-faq__answer-inner {
  padding-top: 20px;
  padding-bottom: 24px;
}

.nabeta-faq__answer-inner p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #4b5563;
}

@media (max-width: 767px) {
  .nabeta-faq {
    padding: 64px 20px;
  }

  .nabeta-faq__heading {
    margin-bottom: 32px;
  }

  .nabeta-faq__question {
    padding: 20px 20px;
    align-items: flex-start;
  }

  .nabeta-faq__question-text {
    font-size: 17px;
    line-height: 1.7;
    padding-right: 36px;
  }

  .nabeta-faq__icon {
    right: 20px;
    width: 12px;
    height: 12px;
  }

  .nabeta-faq__answer-inner {
    padding: 0 20px;
  }

  .nabeta-faq__answer-inner p {
    font-size: 14px;
    line-height: 1.9;
  }
}
