@charset "UTF-8";
@import url(all.css);
/*rootの変数宣言*/
:root {
  /*==============================
      カラー    
  ==============================*/
  --color-font: #333333;
  --color-white: #ffffff;
  --color-pink:#dc78b8;
  --color-lightpink:#e098c6;
  --color-purple:#8d77cb;
  --color-whitepurple:#f0eefa;
  --color-green: #06c755;
  --color-red: #f92222;
  /*カレントカラー*/
  --color-current: #dc78b8;
  /*テキストリンクカラー*/
  --color-textlink:#dc78b8;
  /*必須ボタンカラー*/
  --color-required: #dc78b8;
  /*任意ボタンカラー*/
  --color-optional: #888888;
  /*ラジオボタンカラー*/
  --color-radio: #dc78b8;
  /*チェックボタンカラー*/
  --color-check: #dc78b8;
  /*==============================
      フォントファミリー
  ==============================*/
  /*タイトル*/
  --font-family-heading: "Hina Mincho", serif;
  /*本文*/
  --font-family-body: "Zen Kaku Gothic New", sans-serif;
  --font-family-yuji:"Yuji Syuku", serif;
  /*==============================
      フォントサイズ
  ==============================*/
  /*基準のフォントサイズ*/
  --font-size-body: 1.8rem;
  /*==============================
      行間
  ==============================*/
  /*基準の行間*/
  --line-height-base: 2.167;
  /*==============================
      文字間
  ==============================*/
  /*基準の文字間*/
  --letter-spacing-base: 0;
}

/*rootの変数宣言*/
:root {
  /*==============================
      カラー    
  ==============================*/
  --color-font: #333333;
  --color-white: #ffffff;
  --color-pink:#dc78b8;
  --color-lightpink:#e098c6;
  --color-purple:#8d77cb;
  --color-whitepurple:#f0eefa;
  --color-green: #06c755;
  --color-red: #f92222;
  /*カレントカラー*/
  --color-current: #dc78b8;
  /*テキストリンクカラー*/
  --color-textlink:#dc78b8;
  /*必須ボタンカラー*/
  --color-required: #dc78b8;
  /*任意ボタンカラー*/
  --color-optional: #888888;
  /*ラジオボタンカラー*/
  --color-radio: #dc78b8;
  /*チェックボタンカラー*/
  --color-check: #dc78b8;
  /*==============================
      フォントファミリー
  ==============================*/
  /*タイトル*/
  --font-family-heading: "Hina Mincho", serif;
  /*本文*/
  --font-family-body: "Zen Kaku Gothic New", sans-serif;
  --font-family-yuji:"Yuji Syuku", serif;
  /*==============================
      フォントサイズ
  ==============================*/
  /*基準のフォントサイズ*/
  --font-size-body: 1.8rem;
  /*==============================
      行間
  ==============================*/
  /*基準の行間*/
  --line-height-base: 2.167;
  /*==============================
      文字間
  ==============================*/
  /*基準の文字間*/
  --letter-spacing-base: 0;
}

/*opacity含めたカラー指定あればここで定義*/
/*========================
    default
========================*/
html {
  font-size: min(2.22vw, 10px);
}

.sp-none {
  display: none !important;
}

.wrapper {
  min-width: 320px;
  line-height: 1.8;
}

.com-inbox {
  width: 90%;
}

.inline-block {
  display: inline-block;
}

/*パンくずリスト非表示*/
.breadcrumb {
  display: none;
}

section:not(.mv, .sv, .privacy__box) {
  padding-block: 10rem;
}

/*==============================
    ヘッダー
==============================*/
.header {
  height: 10rem;
}
.header__inner {
  height: 100%;
}
.header .logo {
  height: 5rem;
}
.header .logo a {
  height: 5rem;
}

/*==============================
    メインビジュアル
==============================*/
.mv {
  flex-direction: column-reverse;
  align-items: center;
}
.mv__title {
  margin-right: 0;
  margin-top: 0;
  aspect-ratio: unset;
  padding-top: 0;
  width: 40%;
  aspect-ratio: 320/760;
}

/*==============================
    サブビジュアル
==============================*/
.sv {
  position: relative;
  height: -moz-fit-content;
  height: fit-content;
}
.sv__title {
  position: absolute;
  font-size: 3rem;
  right: unset;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  background-color: color-mix(in sRGB, #d167ab 20%, white);
}
.sv__container {
  width: 80%;
}

/*==============================
    共通タイトル
==============================*/
.com-title01 {
  font-size: 3rem;
  margin-bottom: 6rem;
  text-align: center;
  line-height: 1.3;
}
.com-title01--left {
  justify-content: center;
}

/*==============================
    共通ボタン
==============================*/
.com-btn {
  height: 60px;
}

/*==============================
    共通テーブル
==============================*/
.com-table__wrap {
  width: 95%;
  padding: 4rem 2rem;
}

/*==============================
    TOP
==============================*/
/*「話してよかった」と思える安心を
事前相談から丁寧にサポート*/
.top-intro {
  overflow: hidden;
}
.top-intro::before {
  width: 40%;
}
.top-intro::after {
  width: 100%;
}
.top-intro__title {
  font-size: 2.3rem;
}
.top-intro__title::before {
  width: 11rem;
  left: -2.5rem;
  bottom: -2rem;
}
.top-intro__title::after {
  width: 11rem;
  bottom: -2rem;
  right: -4rem;
}
.top-intro__title .pink-deco::before {
  width: 7rem;
}
.top-intro__wrap {
  flex-direction: column;
  align-items: center;
}

/*動画*/
.top-movie .movie {
  width: 100%;
}
.top-movie .movie::before {
  width: 30%;
  left: 0;
  bottom: -1rem;
  max-width: 125px;
}
.top-movie .movie::after {
  width: 10%;
  right: -3%;
}

/*葬儀プラン*/
.top-plan::before {
  width: 40%;
}
.top-plan__h3 {
  writing-mode: unset;
  -ms-writing-mode: unset;
  font-size: 2.5rem;
  padding: 1.5rem 1rem;
  margin-bottom: 3rem;
  text-align: center;
}
.top-plan__h3::before {
  right: 0;
  bottom: 0;
  width: 30%;
}
.top-plan__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.top-plan__item {
  width: 100%;
}
.top-plan__item a {
  padding: 2rem 1rem;
}

/*式場のご案内*/
.top-hall__title {
  font-size: 2.5rem;
  padding-inline: 10rem;
}
.top-hall__title::before {
  width: 30%;
  left: calc(100% - 10rem);
  top: 50%;
  transform: translateY(-50%);
}
.top-hall__title::after {
  width: 40%;
  right: calc(100% - 10rem);
  top: 50%;
  transform: translateY(-50%);
}

/*下層リンク*/
.top-link__list {
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}
.top-link__item {
  width: 80%;
  min-width: 300px;
}
.top-link .condolences .com-title01 {
  font-size: 2.5rem;
}
.top-link .condolences a {
  padding: 3rem 3rem 8rem 3rem;
}
.top-link .condolences a::after {
  bottom: 3rem;
  right: 3rem;
}
.top-link .condolences__wrap {
  flex-direction: column;
}
.top-link .condolences__image {
  width: 100%;
}
.top-link .condolences__text p {
  font-size: 2rem;
  padding: 1.5rem 1rem;
  text-align: center;
}

/*お知らせ・ブログ*/
/*マップ*/
.top-map {
  height: 30rem;
}

/*==============================
    葬儀プラン
==============================*/
.plan-section__item {
  padding: 4rem 2rem;
}
.plan-section__item:nth-child(odd)::before {
  width: 40%;
}
.plan-section__item:nth-child(even)::before {
  width: 30%;
}
.plan-section__wrap {
  flex-direction: column;
}
.plan-section__image-container {
  width: 100%;
  aspect-ratio: 440/450;
}
.plan-section__text small {
  margin-top: 0.5rem;
}
.plan-section__title {
  font-size: 2.8rem;
}
.plan-section__container {
  width: 100%;
}
.plan-section__box {
  width: 100%;
}
.plan-section__box--recommend {
  flex-direction: column;
}
.plan-section__box--set {
  flex-direction: column;
}
.plan-section__icon-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.plan-section__altar-container {
  width: 100%;
  height: unset;
  aspect-ratio: 350/290;
}
.plan-section__altar .plan-section__title--sub {
  margin-bottom: 2rem;
}
.plan-section__altar-list {
  display: flex;
  flex-direction: column;
}
.plan-section .price {
  line-height: 1.6;
  padding-bottom: 1rem;
  margin-left: -0.5em;
  text-align: right;
}
.plan-section .price .num {
  font-size: 3rem;
}
.plan-section .price small {
  font-size: 1.3rem;
}
.plan-section .price .tag {
  margin-right: 1rem;
}
.plan-section .price .tag::before {
  margin-right: 1rem;
}
.plan-section #plan09 .price-box .price {
  gap: 1rem;
  align-items: flex-end;
  flex-direction: column;
}
.plan-section #plan09 .plan-section__box--feature-list {
  flex-direction: column;
  align-items: center;
}
.plan-section #plan09 .plan-section__box--feature-item {
  width: 100%;
}
.plan-section #plan09 .plan-section__box--feature p:has(strong) {
  line-height: 1.3;
}

/*エンバーミングとは*/
.plan-enberming::before {
  width: 50%;
}
.plan-enberming .com-title01::before {
  width: 7rem;
  top: 3%;
  right: 95%;
}
.plan-enberming .com-title01::after {
  top: 3%;
  width: 7rem;
  left: 90%;
}
.plan-enberming__wrap {
  flex-direction: column;
}

/*==============================
    葬儀場のご案内
==============================*/
.hall-section .com-title01::before {
  width: 7rem;
  top: 3%;
}
.hall-section .com-title01::after {
  top: 3%;
  width: 7rem;
}

.com-hall__list {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.com-hall__item {
  width: 100%;
}

/*==============================
    葬儀場のご案内（詳細ページ）
==============================*/
.hall-detail__wrap {
  flex-direction: column-reverse;
}
.hall-detail__title::before {
  width: 10rem;
  top: -7rem;
  transform: scaleX(-1);
  right: 0;
}
.hall-detail__image {
  aspect-ratio: 16/9;
  width: 100%;
}
.hall-detail .hall-gallery__list {
  width: 100%;
}

/*==============================
    中山葬儀社合同会社について
==============================*/
.about-link__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.about-link__item {
  width: calc((100% - 2rem) / 2);
}
.about-link__item a {
  padding-block: 1rem;
  min-height: 30px;
}

.about-reason .com-title01::before {
  width: 7rem;
  top: 3%;
  right: 95%;
}
.about-reason .com-title01::after {
  top: 3%;
  width: 7rem;
  left: 90%;
}
.about-reason__item {
  flex-direction: column;
  align-items: center;
}
.about-reason__item:nth-child(even) {
  flex-direction: column;
}
.about-reason__title {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-left: 1rem;
}
.about-reason__title::before {
  height: calc(100% - 2rem);
}

.about-voice .com-title01::before {
  width: 7rem;
  top: 3%;
}
.about-voice .com-title01::after {
  top: 3%;
  width: 7rem;
}
.about-voice__list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-wash .com-title01 {
  margin-bottom: 4rem;
}
.about-wash .com-title01::before {
  right: unset;
  left: calc(100% + 2rem);
  width: 9rem;
}
.about-wash__wrap {
  flex-direction: column;
}
.about-wash__text .price .num {
  font-size: 3rem;
}

/*==============================
    アクセス・会社概要
==============================*/
.access-company {
  padding-block: 12rem 10rem;
}
.access-company .com-title01::before {
  width: 7rem;
  top: 3%;
}
.access-company .com-title01::after {
  top: 3%;
  width: 7rem;
}
.access-company .access-map {
  height: 42rem;
}

.access-greeting .com-title01 {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.access-greeting .com-title01::before {
  right: unset;
  left: calc(100% + 2rem);
  width: 9rem;
}
.access-greeting__wrap {
  flex-direction: column;
  align-items: center;
}
.access-greeting__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/*==============================
    お知らせ詳細
==============================*/
.news-detail__title {
  font-size: 2.5rem;
}
.news-detail__box {
  padding: 4rem 2rem;
}
.news-detail time,
.news-detail .tag {
  font-size: 13px;
}
.news-detail .paginated__list {
  margin-top: 30px;
}

/*==============================
    お知らせ一覧
==============================*/
.news {
  padding-block: 60px;
}

/*タグリスト(SP)
-----------------------------*/
.tag-select {
  margin-left: auto;
  text-align: center;
  margin-bottom: 20px;
}
.tag-select__box {
  min-width: 125px;
}
.tag-select__box::after {
  right: 12px;
}
.tag-select__dropdown {
  padding: 0.5em 2.5em 0.5em 0.5em;
}

/*==============================
  サイトマップ
==============================*/
.site {
  padding: 60px 0;
}
.site__list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.site__item {
  height: 60px;
}
.site__item a {
  padding-left: 10px;
  font-size: 16px;
}
.site__item a::after {
  width: 10px;
  transform: rotate(-45deg) translate(-10px, -10px);
}

/*==============================
  お問い合わせ
==============================*/
.contact {
  padding-block: 10rem;
}
.contact .com-table {
  margin-bottom: 30px;
}
.contact .com-table th {
  text-align: left;
  font-size: 15px;
  letter-spacing: 0;
  width: 100%;
  padding: 1.25rem 1.5rem !important;
}
.contact .com-btn {
  margin-inline: auto;
  margin-top: 50px;
  width: 100%;
  max-width: 330px;
  height: 60px;
}
.contact select,
.contact textarea,
.contact input[type=tel],
.contact input[type=text],
.contact input[type=email],
.contact input[type=url] {
  padding: 7px;
}
.contact .upload-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .upload-item-wrap .thumb {
  width: clamp(184px, 57.37vw, 440px);
  height: clamp(184px, 57.37vw, 440px);
  margin: 0px;
}
.contact .upload-item-wrap .ancion-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(15px, 4.56vw, 35px);
  gap: clamp(8px, 2.61vw, 20px);
  margin-inline: auto;
}

/*==============================
  お問い合わせ完了
==============================*/
.complete {
  padding-block: 10rem;
}
.complete__box {
  text-align: center;
  line-height: 1.733;
}
.complete__btn {
  margin-top: 50px;
}
.complete__btn:hover {
  opacity: 0.5;
}

/*==============================
プライバシーポリシー
==============================*/
.privacy {
  padding-block: 10rem;
}
.privacy__box {
  margin-bottom: 30px;
}
.privacy__box:last-child {
  margin-bottom: 0;
}

/*==============================
    NOT FOUND
==============================*/
.e404 {
  padding-block: 10rem;
}
.e404__text {
  width: 90%;
  margin: 0 auto;
}
.e404__text p,
.e404__text a {
  font-size: 15px;
  text-align: center;
}

/*==============================
    追従ボタン
==============================*/
.follow_btn {
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  left: 50%;
  right: unset;
  transform: translateX(-50%);
}
.follow_btn a.ig {
  width: 40px;
  margin-block: 20px;
  flex-shrink: 0;
}
.follow_btn a.official {
  flex-shrink: 0;
  padding: 2rem 6rem 2rem 1.5rem;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.follow_btn a.official::before {
  right: -2px;
  bottom: -2px;
}

/*==============================
    フッター
==============================*/
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6rem;
}
.footer__logo a {
  height: 5rem;
}
.footer .tel-box {
  margin-bottom: 0;
}
.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 6rem;
}
.footer-nav__list:has(.footer-nav__item:last-child:nth-child(odd)) .footer-nav__item:nth-child(even) {
  border-right: 1px solid var(--color-white);
}
.footer-nav__list:has(.footer-nav__item:last-child:nth-child(even)) .footer-nav__item:nth-child(odd) {
  border-right: 1px solid var(--color-white);
}
.footer-nav__item {
  border-top: 1px solid var(--color-white);
  width: 50%;
  height: 60px;
  text-align: center;
}
.footer-nav__item:first-child:nth-last-child(odd) {
  width: 100%;
}
.footer-nav__item a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}