
@charset "UTF-8";

/*MVテキスト*/
#mv_outer #mv .mv_text div p.static {
  display: none !important;
}
#mv .mv_text h2 {
  text-orientation: upright;
}

/*3つの理由*/
.inner_item_txt ul li::marker {
  color: transparent;
}
#reason + section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 0;
}
#reason + section .heading.block_header_6 .h {
  color: #a81078;
  font-weight: bold;
}
.reason_list {
  display: flex;
  gap: 2rem;
  /*grid-template-columns: 1fr 1fr 1fr;*/
  list-style: none;
  max-width: 900px;
  margin-inline: auto;
  justify-content: center;
}
.reason_title {
  text-align: center;
  font-size: 3.4rem;
}
.reason_item {
  text-align: center;
  background-image: url(/images/convert/finallinknet/20240822135336.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 3/4;
  width: calc(100% / 3);
}
.reason_subtitle {
  font-size: min(2.34vw, 2.4rem);
  color: #fff;
  line-height: 1.2;
  margin-top: 11%;
  background: repeating-linear-gradient(
    0deg,
    #b88021 0.1em,
    #dab55f 0.2em,
    #f9e6a0 0.3em,
    #dab55f 0.4em,
    #b88021 0.5em
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reason_text {
  color: #fff;
  line-height: 1.4;
  width: 70%;
  margin-inline: auto;
  margin-top: 1rem;
  font-size: min(1.822vw, 1.6rem);
}
.reason_note {
  margin-top: 2rem;
  text-align: center;
  font-size: 2rem;
}
.reason_btn {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.reason_btn a {
  display: inline-block;
  background-color: #a81078;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.reason_btn a:nth-child(n + 2) {
  margin-left: 2rem;
}
.reason_btn a:hover {
  opacity: 0.8;
}
@media (width < 768px) {
  .reason_list {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    max-width: 285px;
  }
  .reason_item {
    width: 100%;
  }
  .reason_subtitle {
    font-size: 2.4rem;
    margin-top: 25%;
  }
  .reason_text {
    font-size: 1.6rem;
  }
  .reason_btn {
    display: block;
  }
  .reason_btn a {
    width: calc(100% - 4rem);
    max-width: 280px;
  }
  .reason_btn a:nth-child(n + 2) {
    margin-left: 0;
    margin-top: 2rem;
  }
}

/*--------電話番号の発信--------*/
@media (width > 900px) {
  a[href^='tel:'] {
    pointer-events: none;
    text-decoration: none;
  }
}

/*--------共通背景--------*/
body::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(/images/convert/finallinknet/20240220162547.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}
.MvP {
  display: none;
}

/*修正*/
.reason_list {
  gap: 22rem;
}

.reason_note.editor {
  font-size: 3.4rem;
}

span.inline_block {
  display: inline-block;
}

.reason_btn {
  text-align: center;
  font-size: 2.4rem;
}

.reason_btn a {
  padding: 1.2rem 3rem;
}

#con1 + section .heading.block_header_2 .h {
  color: #a81078;
}

#con1 + section .heading.block_header_2 p {
  color: var(--i_main_color);
}

#top_flow_html + section .contents_btn01 a {
  max-width: 90%;
  min-width: 170px;
}

#mv_outer #mv .mv_text div p.static {
  display: block !important;
  position: absolute;
  right: 5%;
  padding-right: 0;
  font-size: 3em;
}

.plan_all2 .contents_btn01 {
  margin-block: 50px;
}

.plan_all2 .contents_btn01 a {
  margin: 0;
}

/* 火葬プラン */
a[href='/menu/#plan1'] {
  background: #ff9924;
}
a[href='/menu/#plan1']:hover {
  background: rgba(255, 153, 36, 0.8);
}

/* 一日葬プラン */
a[href='/menu/#plan2'] {
  background: #d15b8c;
}
a[href='/menu/#plan2']:hover {
  background: rgba(209, 91, 140, 0.8);
}

/* 家族葬プラン */
a[href='/menu/#plan3'] {
  background: #8c5d98;
}
a[href='/menu/#plan3']:hover {
  background: rgba(140, 93, 152, 0.8);
}

/* 一般葬プラン */
a[href='/menu/#plan4'] {
  background: #4b5882;
}
a[href='/menu/#plan4']:hover {
  background: rgba(75, 88, 130, 0.8);
}

@media screen and (max-width: 900px) {
  #mv .mv_text.wmode_horizontal {
    align-items: flex-end !important;
  }
  #mv_outer #mv .mv_text div p.static {
    top: 50px;
  }
}

@media (width < 768px) {
  .reason_list {
    gap: 0rem;
  }

  .reason_subtitle {
    margin-top: 12%;
  }

  .reason_btn a {
    padding: 1rem 2rem;
  }

  #top_flow_html + section .contents_btn01 a {
    min-width: 180px;
  }
}

@media (max-width: 450px) {
  #top_flow_html + section .contents_btn01 a {
    min-width: 200px;
  }
}

.top-seo-contents h3{
margin-top:50px;
}

.top-seo-contents h4{
margin-top:40px;
}

.top-seo-contents p{
margin-bottom:30px;
}



/*------------------------小さな葬儀　～　社葬まで修正_260115--------------------------------*/
#flow_text + .contents_box01 span.flow_text {
  font-size: 48px;
  padding: 12px 15px;
}
@media (max-width: 768px) {
  #flow_text + .contents_box01 span.flow_text {
    font-size: min(26px, 6vw);
  }
}

/*------------------------各種プランへのボタン色調整_260115--------------------------------*/
a[href='/menu/#plan6'] {
  background: #FF9924;
}
a[href="/menu/#plan6"]:hover {
  background: rgba(255, 153, 36, 0.8);
}
a[href="/menu/#plan1"] {
  background: #D15B8C;
}
a[href="/menu/#plan1"]:hover {
  background: rgba(209, 91, 140, 0.8);
}