@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: 62.5%;
  scroll-padding-top: 10rem;
}

a[href^="tel:"] {
  pointer-events: none;
}

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

.wrapper {
  min-width: 1280px;
  max-width: 1920px;
  margin-inline: auto;
}

.container {
  /*ヘッダー追従の時はここにmax-width:1920px;,overflow-x:hidden;をかける*/
}

.com-inbox {
  width: 1080px;
}

/*パンくずリスト*/
.breadcrumb {
  padding-block: 1.8rem;
  margin-bottom: 9rem;
}
.breadcrumb__list {
  width: 1080px;
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
  gap: 1em;
}
.breadcrumb__item {
  display: flex;
  line-height: 1;
  font-size: 1.4rem;
}
.breadcrumb__item::after {
  content: ">";
  margin-left: 1em;
  pointer-events: none;
}
.breadcrumb__item:first-child a {
  color: var(--color-purple);
}
.breadcrumb__item:last-child {
  display: block;
  max-width: 23rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb__item:last-child::after {
  display: none;
}

/*==============================
    各種ホバー処理
==============================*/
/*ロゴ*/
.logo a:hover {
  transition: opacity 0.3s;
}
.logo a:hover:hover {
  opacity: 0.5;
}

/*パンくずリスト*/
.breadcrumb__item a {
  transition: all 0.3s;
}
.breadcrumb__item a:hover {
  transition: opacity 0.3s;
}
.breadcrumb__item a:hover:hover {
  opacity: 0.5;
}

/*住所*/
address a {
  transition: all 0.3s;
}
address a:hover {
  opacity: 0.5;
}

/*ヘッダーナビ*/
.gnav__item a {
  transition: all 0.3s;
}
.gnav__item a:hover {
  transition: opacity 0.3s;
}
.gnav__item a:hover:hover {
  opacity: 0.5;
}

/*共通ボタン*/
/*LINEボタン*/
.line-btn {
  transition: all 0.3s;
}
.line-btn:hover {
  background-color: var(--color-white);
  color: var(--color-green);
}

/*お問い合わせボタン*/
.mail-btn {
  transition: all 0.3s;
}
.mail-btn:hover {
  background-color: var(--color-white);
  color: var(--color-lightpink);
}

/*共通ボタン*/
.com-btn {
  transition: all 0.3s;
}
.com-btn::after {
  transition: all 0.3s;
}
.com-btn:hover {
  background-color: var(--color-white);
  color: var(--color-lightpink);
}
.com-btn:hover::after {
  background: url(../img/common/arw_btn_p.png) top left/contain no-repeat;
}

/*お悔み情報*/
.condolences a {
  transition: all 0.3s;
}
.condolences a::after {
  transition: all 0.3s;
}
.condolences a:hover {
  opacity: 0.7;
}
.condolences a:hover::after {
  right: 3rem;
}

/*下層リンク*/
.top-link__item a {
  transition: all 0.3s;
}
.top-link__item a:hover {
  opacity: 0.5;
}

/*葬儀プラン*/
.top-plan__item a {
  transition: all 0.3s;
}
.top-plan__item a:hover {
  opacity: 0.5;
}

/*式場*/
.com-hall__item a {
  transition: all 0.3s;
}
.com-hall__item a:hover {
  opacity: 0.5;
}

.hall-detail dl dd a:hover {
  opacity: 0.5;
}

/*テキストリンク*/
.com-textlink {
  transition: all 0.3s;
}
.com-textlink:hover {
  transition: opacity 0.3s;
}
.com-textlink:hover:hover {
  opacity: 0.5;
}

/*ページ内リンク*/
.about-link__item a {
  transition: all 0.3s;
}
.about-link__item a:hover {
  background-color: var(--color-white);
  color: var(--color-lightpink);
}

/*お問い合わせ完了（トップへ戻る）*/
.complete__btn {
  transition: all 0.3s;
}
.complete__btn:hover {
  transition: opacity 0.3s;
}
.complete__btn:hover:hover {
  opacity: 0.5;
}

/*追従ボタン*/
.follow_btn a {
  transition: all 0.3s;
}
.follow_btn a.ig:hover {
  opacity: 0.5;
}
.follow_btn a.official:hover {
  filter: brightness(1.05);
}

/*フッターナビ*/
.footer-nav__item a {
  transition: all 0.3s;
}
.footer-nav__item a:hover {
  opacity: 0.5;
}
.footer small a:hover {
  opacity: 0.5;
}

/*==============================
    ヘッダー
==============================*/
.header {
  padding-inline: clamp(47px, 3.65vw, 70px);
}
.header .logo {
  height: 5.6rem;
}
.header__inner {
  margin-inline: auto;
}
.header .util__list {
  display: flex;
  align-items: flex-end;
  margin-bottom: 2rem;
}

/*==============================
    メインビジュアル
==============================*/
.mv__title {
  width: clamp(531px, 41.46vw, 796px);
  flex-shrink: 0;
}

/*==============================
    サブビジュアル
==============================*/
.sv {
  height: clamp(320px, 25vw, 480px);
}
.sv__title {
  font-size: clamp(35px, 2.71vw, 52px);
  padding: clamp(10px, 0.78vw, 15px) clamp(9px, 0.68vw, 13px);
}

/*==============================
    共通タイトル
==============================*/
/*==============================
    共通ボタン
==============================*/
.com-btn {
  width: 52rem;
  height: 6.5rem;
}

.line-btn {
  height: 4.5rem;
  width: 22rem;
  margin-left: 2rem;
}

.mail-btn {
  width: 15rem;
  height: 4.5rem;
  margin-left: 2rem;
}

/*==============================
    共通テーブル
==============================*/
.com-table__wrap {
  width: 1280px;
  padding: 6rem 10rem;
}

/*==============================
    TOP
==============================*/
/*「話してよかった」と思える安心を
事前相談から丁寧にサポート*/
.top-intro {
  padding-block: 10.3rem 6.2rem;
  overflow: hidden;
}
.top-intro::before {
  width: clamp(319px, 24.9vw, 478px);
}
.top-intro::after {
  width: clamp(823px, 64.27vw, 1234px);
}
.top-intro__image {
  width: clamp(533px, 41.67vw, 800px);
  margin-right: clamp(-23.4rem, -12.188vw, -15.6rem);
}
.top-intro__text {
  padding-top: 8rem;
}

/*動画*/
.top-movie {
  padding-block: 7rem 5rem;
}
.top-movie .movie {
  width: 104rem;
}

/*葬儀プラン*/
.top-plan {
  padding-block: 0 11rem;
}
.top-plan::before {
  width: clamp(423px, 33.07vw, 635px);
}
.top-plan__wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.top-plan__list {
  padding-top: 10rem;
}

/*式場のご案内*/
.top-hall {
  padding-block: 11rem 8rem;
}

/*下層リンク*/
.top-link {
  padding-block: 5.5rem 8rem;
  overflow: hidden;
}
.top-link .condolences {
  width: 98rem;
  margin-inline: auto;
}
.top-link__item:first-child {
  position: relative;
  z-index: 2;
  margin-left: -26rem;
}
.top-link__item:last-child {
  position: relative;
  z-index: 1;
  margin-top: 28rem;
  margin-left: -10.5rem;
  margin-right: -23.3rem;
}

/*お知らせ・ブログ*/
.top-news {
  padding-block: 5rem 10rem;
}
.top-news .com-inbox {
  position: relative;
}
.top-news .com-title01 {
  font-size: 4.6rem;
}
.top-news .com-btn {
  position: absolute;
  width: 40rem;
  top: 0;
  right: 0;
}

/*マップ*/
.top-map {
  height: 50rem;
}

/*==============================
    葬儀プラン
==============================*/
.plan-section {
  padding-block: 0 10rem;
}
.plan-section .breadcrumb {
  margin-bottom: 3.2rem;
}
.plan-section .com-inbox {
  width: 1280px;
}
.plan-section__container {
  width: 61rem;
  flex: 1;
}
.plan-section__wrap {
  align-items: stretch;
}
.plan-section__image-container {
  min-height: 0;
}
.plan-section__box--feature-item {
  width: 26.5rem;
}

/*エンバーミングとは*/
.plan-enberming {
  padding-block: 12.3rem 10rem;
}
.plan-enberming::before {
  width: clamp(423px, 33.07vw, 635px);
}
.plan-enberming__wrap {
  display: flex;
}
.plan-enberming__image {
  flex-shrink: 0;
}

/*==============================
    葬儀場のご案内
==============================*/
.hall-section {
  padding-block: 0 11.5rem;
}
.hall-section .breadcrumb {
  margin-bottom: 8.2rem;
}

/*==============================
    葬儀場のご案内（詳細ページ）
==============================*/
.hall-detail {
  padding-block: 0 10rem;
}
.hall-detail__image {
  flex-shrink: 0;
  aspect-ratio: 620/460;
  width: 62rem;
}
.hall-detail__text {
  flex-shrink: 0;
  width: calc(100% - 62rem - 5rem);
}
.hall-detail__title::before {
  width: clamp(159px, 12.45vw, 239px);
}
.hall-detail .hall-map {
  height: 38rem;
}

/*==============================
    中山葬儀社合同会社について
==============================*/
.about-link {
  padding-block: 0 10rem;
}
.about-link .breadcrumb {
  margin-bottom: 8.2rem;
}
.about-link__item a {
  width: 33rem;
  height: 6.5rem;
}

.about-reason {
  padding-block: 12rem 10rem;
  overflow: hidden;
}
.about-reason__item:nth-child(even) .about-reason__image {
  margin-left: 0;
  margin-right: -32rem;
}
.about-reason__image {
  margin-left: -32rem;
}

.about-voice {
  padding-block: 12rem 10rem;
}

.about-wash {
  padding-block: 10rem;
  overflow: hidden;
}
.about-wash__image {
  margin-left: -30rem;
  flex-shrink: 0;
}

/*==============================
    アクセス・会社概要
==============================*/
.access-company {
  padding-block: 0 10rem;
}
.access-company .access-map {
  height: 42rem;
}

.access-greeting {
  padding-block: 14.5rem 10rem;
}
.access-greeting .com-title01 {
  margin-bottom: 6rem;
}
.access-greeting__image {
  width: clamp(480px, 37.5vw, 720px);
  margin-right: clamp(-260px, -13.54vw, -173px);
}

/*==============================
    お知らせ一覧
==============================*/
.news {
  padding-block: 0 10rem;
}

/*お知らせ共通部分*/
.com-news__item a:hover {
  transition: opacity 0.3s;
}
.com-news__item a:hover:hover {
  opacity: 0.5;
}

/*タグリスト(PC)
-----------------------------*/
.tag-select {
  text-align: right;
  margin-bottom: 5rem;
}
.tag-select__box {
  min-width: 24rem;
}
.tag-select__box::after {
  right: 1.8rem;
}
.tag-select__dropdown {
  line-height: 1;
  padding: 12px 48px 12px 12px;
  background-color: var(--color-white);
}

/*==============================
    お知らせ詳細
==============================*/
.news-detail {
  padding-block: 0 10rem;
}
.news-detail__box {
  padding: 4rem 4rem 6rem 4rem;
}

/*==============================
  お問い合わせ
==============================*/
.contact {
  padding-block: 0 10rem;
}
.contact .com-table {
  margin-bottom: 3rem;
}
.contact .com-table th {
  width: 35%;
}
.contact .com-btn {
  margin-inline: auto;
  margin-top: 5rem;
  width: 33rem;
  height: 6.5rem;
}
.contact .contact-submits-wrap {
  display: flex;
  justify-content: center;
  gap: 3rem;
}
.contact .contact-submits-wrap .com-btn {
  margin-inline: 0;
}

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

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

/*==============================
    サイトマップ
==============================*/
.site {
  padding-block: 0 10rem;
}
.site .com-inbox {
  width: 70rem;
}
.site__list {
  display: flex;
  flex-direction: column;
}
.site__item {
  height: 7.5rem;
}
.site__item a {
  padding: 1rem;
}
.site__item a::after {
  width: 1rem;
  transform: rotate(-45deg);
}
.site__item a:hover {
  transition: all 0.3s;
  opacity: 0.5;
}
.site__item a:hover::after {
  transform: rotate(-45deg) translate(5px, 5px);
  transition: all 0.3s;
}

/*==============================
    このページは存在しません
==============================*/
.e404 {
  padding-block: 0 10rem;
}
/*==============================
    追従ボタン
==============================*/
.follow_btn {
  margin-right: 3.2rem;
  margin-bottom: 1.4rem;
}
.follow_btn a.official {
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  padding: 1.4rem 1.9rem 2.7rem 1.9rem;
}
.follow_btn a.official::before {
  right: -3.4rem;
  bottom: -1.6rem;
}

/*==============================
    フッター
==============================*/
.footer__logo a {
  height: 7.9rem;
}
.footer__inner {
  padding-block: 6rem;
  width: 1080px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  width: 78.2rem;
  gap: 1.5rem 2em;
  justify-content: center;
  padding: 1.75rem 5rem 1.75rem 5rem;
}