@charset "UTF-8";

/*==============================
  サイト共通のスタイル
==============================*/
/*--- ヘッダー ---*/
.o-header {
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-table-border);
  position: sticky;
  top: 0;
  z-index: 15;
}

@media (min-width: 40em) {
  .o-header {
    height: var(--header-height-md);
    display: block;
  }
}

.home .o-header {
  border-bottom: none;
}

.o-header__logo {
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.o-header__logo a {
  color: var(--color-text);
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
}

@media (min-width: 40em) {
  .o-header__logo {
    margin-left: 1rem;
    height: auto;
    display: block;
  }

  .o-header__logo img {
    height: var(--header-logo-max-height-md);
  }

  .o-header__logo a {
    margin-left: 0;
    margin-top: 0;
  }
}

.o-site-title {
  font-size: 19px;
  font-weight: bold;
  position: relative;
}

@media (min-width: 40em) {
  .o-site-title {
    font-size: 30px;
    padding-bottom: 10px;
  }
}

.o-site-title--rubi {
  text-align: center;
  font-size: 9px;
  margin-top: -3px;
  color: #797979;
  font-weight: 100;
}

@media (min-width: 40em) {
  .o-site-title--rubi {
    font-size: 12px;
    margin-top: -13px;
  }
}

/*--- グローバルメニュー ---*/
.o-globalMenu {
  width: 85vw;
  height: 100vh;
  background-color: #fff;
  overflow: auto;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  z-index: 1;
  visibility: hidden;
  transition: all 0.3s;
}

@media (min-width: 40em) {
  .o-globalMenu {
    width: auto;
    height: auto;
    height: var(--header-height-md);
    background-color: transparent;
    display: flex;
    overflow: visible;
    position: static;
    top: 0;
    z-index: 1;
    opacity: 1;
    visibility: visible;
  }
}

.o-globalMenu--shown .o-globalMenu,
.o-globalMenu--shown .o-globalMenuToggle--background {
  opacity: 1;
  visibility: visible;
}

.o-globalMenu>ul {
  padding-top: 0;
  padding-bottom: 0;
}

@media (min-width: 40em) {
  .o-globalMenu>ul {
    /*margin-right: 2rem;*/
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.o-globalMenu>ul>li {
  border-bottom: 1px solid #ffffff;
}

@media (min-width: 40em) {
  .o-globalMenu>ul>li {
    border-bottom: none;
    flex-grow: 1;
  }
}

.o-globalMenu>ul>li>a {
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  position: relative;
  transition: 150ms;
  width: 100%;
  border-bottom: solid 1px #bebebe;
}

/* .o-globalMenu > ul > .u-displaynone-md-up > a{
  padding: 0.5rem 1.5rem;
} */
.o-globalMenu>ul>.o-globalMenuItem--hasChildren>a:after {
  content: "\f067";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  transition: 150ms;
  color: var(--color-main);
}

.o-globalMenu>ul>.o-globalMenuItem--hasChildren--title>a:after {
  content: "\f067";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  transition: 150ms;
  color: var(--color-main-text);
}

@media (max-width: 39.999999em) {
  .o-globalMenuItem--title {
    background-color: var(--color-main);
    color: var(--color-main-text);
  }
}

.o-globalMenu>ul>.o-globalMenuItem--hasChildren>a.opened:after,
.o-globalMenu>ul>.o-globalMenuItem--hasChildren--title>a.opened:after {
  transform: translateY(-50%) rotate(180deg);
  content: "\f068";
  color: var(--color-main-text);
}

.o-globalMenuItem--hasChildren:has(a.opened) {
  background-color: var(--color-main);
  color: var(--color-main-text);
  transition: 0.3s;
}

@media (min-width: 40em) {
  .o-globalMenu>ul>li>a {
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
  }

  .o-inquiry__a {
    font-size: 18px;
    font-weight: bold;
  }

  .o-globalMenu>ul>li>a>div {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
  }

  .o-globalMenu>ul>li>a:after {
    display: none;
  }

  .o-globalMenu>ul>li>a.focus,
  .o-globalMenuSub ul>li:hover>a {
    color: var(--color-main);
  }

  .o-globalMenu>ul>li:hover>a {
    background-color: var(--color-main);
    color: var(--color-main-text);
    transition: 0.3s;
  }

  .o-globalMenu>ul>.o-inquiry>a {
    border: 1px solid #2F6C70;
  }

  .o-globalMenu>ul>.o-inquiry:hover>a {
    background-color: #ffffff;
    color: #2F6C70;
    transition: 0.3s;
    border: 1px solid #2F6C70;
    box-sizing: border-box;
  }

  .o-globalMenu>ul>li>a>i {
    margin-left: 0.5rem;
    color: var(--color-main);
    font-size: 1.25rem;
  }
}

.o-globalMenuItem__childToggle {
  aspect-ratio: 1 / 1;
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  z-index: 1;
  width: 57px;
  height: 57px;
}

@media (min-width: 40em) {
  .o-globalMenuItem__childToggle {
    display: none;
  }
}

/* サブメニュー表示切替 */
.o-globalMenu>ul>li>a.focus+.o-globalMenuSub {
  display: block;
}

@media (min-width: 40em) {
  .o-globalMenu>ul>li:hover .o-globalMenuSub {
    opacity: 1;
    visibility: visible;
  }
}

/* グローバルメニューサブ */
.o-globalMenuSub {
  margin-bottom: -2px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  display: none;
}

@media (min-width: 40em) {
  .o-globalMenuSub {
    background-color: transparent;
    padding-top: 1.5rem;
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: 300ms;
  }
}

.o-globalmenu-sub__heading {
  display: none;
}

@media (min-width: 40em) {
  .o-globalmenu-sub__heading {
    margin-right: 1rem;
    height: 100%;
    max-width: 15rem;
    border-right: 1px solid #ccc;
    font-size: 1.25rem;
    font-weight: bold;
    display: block;
    overflow-wrap: normal;
    white-space: normal;
  }
}

@media (min-width: 40em) {
  .o-globalmenuSub__inner {
    margin-right: auto;
    margin-left: auto;
    padding: 1.5rem 2rem;
    width: 61rem;
    background-color: #ffffff;
  }
}

.o-globalMenuSub>ul>li {
  border-bottom: 1px solid #DADADA;
}

@media (min-width: 40em) {
  .o-globalMenuSub>ul>li {
    border-bottom: none;
  }
}

a.o-globalMenuSub__item {
  padding: 0.75rem 1.5rem 0.75rem 3rem;
  font-size: 1rem;
  display: block;
  transition: 150ms;
  position: relative;
}

@media (min-width: 40em) {
  a.o-globalMenuSub__item {
    margin-right: -0.75rem;
    margin-left: -0.75rem;
    background-color: inherit;
  }
}

a.o-globalMenuSub__item:before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  text-decoration: none;
}

/*@media (min-width: 40em) {
  a.o-globalMenuSub__item {
    margin-right: 0;
    margin-left: 0;
    padding: 0 1rem;
    border-bottom: none;
    text-indent: -1em;
    line-height: 35px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
  a.o-globalMenuSub__item:before {
    margin-right: 0.5rem;
    position: static;
    transform: none;
    text-decoration: none;
  }
}*/
@media (min-width: 40em) {
  a.o-globalMenuSub__item {
    padding-bottom: 0.15rem;
    padding-top: 0.15rem;
  }
}

/* グローバルメニューサブのサブ */
@media (min-width: 40em) {
  .o-globalMenuSubChild {
    padding-left: 1.25rem;
  }
}

a.o-globalMenuSubChild__item {
  padding: 0.5rem 1.5rem 0.5rem 4.375rem;
  color: var(--color-black-light);
  font-size: 0.875rem;
  display: block;
  transition: 150ms;
  position: relative;
  background-color: var(--color-light-pink);
  text-indent: -1.375em;
}

@media (min-width: 40em) {
  a.o-globalMenuSubChild__item {
    margin-right: 0;
    margin-left: 0;
    padding: 0.25rem 1rem;
    border-bottom: none;
    background-color: inherit;
    text-indent: -1em;
  }
}

a.o-globalMenuSubChild__item:before {
  content: "\f061";
  margin-right: 0.5rem;
  color: var(--color-black-light);
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
}

/* グローバルメニューオーバーレイ */
.o-globalMenu--shown .o-globalMenu-overlay {
  visibility: visible;
  opacity: 1;
}

.o-globalMenu-overlay {
  width: 100vw;
  height: calc(100vh - var(--header-height));
  background-color: rgba(0, 0, 0, 0.25);
  position: fixed;
  top: var(--header-height);
  left: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

@media (min-width: 40em) {
  .o-globalMenu-overlay {
    height: calc(100vh - var(--header-height-md));
    top: var(--header-height-md);
  }
}

/* --- グローバルメニュートグル --- */
.o-globalMenuToggle {
  width: var(--header-height);
  height: var(--header-height);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 102;
  cursor: pointer;
  overflow: hidden;
}

@media (min-width: 40em) {
  .o-globalMenuToggle {
    display: none;
  }
}

.o-globalMenuToggle span,
.o-globalMenuToggle span:before,
.o-globalMenuToggle span:after {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-main);
  color: var(--color-main-text);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  transition: all .3s;
}

.o-globalMenuToggle span:before,
.o-globalMenuToggle span:after {
  content: '';
}

.o-globalMenuToggle span:before {
  top: 0;
  bottom: -16px;
}

.o-globalMenuToggle span:after {
  top: -16px;
}

.o-globalMenu--shown .o-globalMenuToggle span {
  background: transparent;
}

.o-globalMenu--shown .o-globalMenuToggle span:before {
  transform: rotate(-45deg);
  top: 0;
  bottom: 0;
}

.o-globalMenu--shown .o-globalMenuToggle span:after {
  transform: rotate(45deg);
  top: 0;
}

.o-globalMenuToggle--background {
  height: var(--header-height);
  width: 85vw;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
}

/*-------------------------------
  フッター
-------------------------------*/
/* --- ページトップへ --- */
.o-footer-totop {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  display: none;
}

@media (min-width: 40em) {
  .o-footer-totop {
    right: 1rem;
    bottom: 1rem;
  }
}

.o-footer-totop a {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: var(--color-sub);
  color: var(--color-sub-text);
  text-indent: -1000%;
  overflow: hidden;
  display: block;
  position: relative;
  cursor: pointer;
}

@media (min-width: 40em) {
  .o-footer-totop a {
    width: 50px;
    height: 50px;
  }
}

.o-footer-totop a::after {
  content: '';
  margin-top: -5px;
  margin-left: -8px;
  width: 14px;
  height: 14px;
  border-style: solid;
  border-color: #ffffff;
  border-width: 3px 3px 0 0;
  transform: rotate(-45deg);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
}

.o-footerTop {
  background-color: var(--color-black);
}

.o-footerBottom {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: var(--color-main);
  color: var(--color-main-text);
}

@media (min-width: 40em) {
  .o-footerBottom {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* フッター問い合わせ */
.o-footerContact {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.o-footerContact__inner {
  padding: 2.75rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
}

.o-footerContact__logo {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: bold;
}

.o-footerContact__logo img {
  margin-bottom: 5px;
  height: 2em;
  vertical-align: middle;
}

.o-footerContact__text {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
}

.o-footerContact__tel {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.25;
}

.o-footerContact__tel i {
  font-size: 2rem;
}

.o-footerContact__receptionTime span {
  margin-right: 0.5rem;
  display: inline-block;
}

/* フッターナビ */
.o-copyright {
  padding-right: 1rem;
  padding-left: 1rem;
  text-align: center;
}

@media (min-width: 40em) {
  .o-copyright {
    margin-right: auto;
  }
}

.o-footerLinks ul {
  display: flex;
  flex-direction: row;
}

@media (min-width: 40em) {
  .o-footerLinks ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: auto;
  }
}

.o-footerLinks ul li:first-child {
  border-left: none;
}

.o-footerLinks ul li {
  padding-right: 1rem;
  padding-left: 1rem;
  margin-top: 6px;
  text-align: center;
  border-left: solid 1px #fff;
  line-height: 11px;
}

.o-footerLinks__item:hover {
  color: #8b8b8b;
}

@media (min-width: 40em) {
  .o-footerLinks ul li {
    width: 50%;
    width: auto;
    margin-top: 0;
    line-height: normal;
  }
}

.o-footerLinks a {
  color: var(--color-main-text);
  font-size: 11px;
  text-decoration: none;
}

@media (min-width: 40em) {
  .o-footerLinks a {
    font-size: inherit;
  }

  .o-footerLinks a:hover {
    color: var(--color-main-text);
  }
}

/* --- コピーライト --- */
.o-footerCopyright {
  text-align: center;
  font-weight: bold;
  font-size: 10.5px;
}

@media (min-width: 40em) {
  .o-footerCopyright {
    font-size: 15px;
  }
}

.o-inquiry {
  text-align: center;
  background-color: #2F6C70;
  color: #ffffff;
  margin: 1rem 10%;
}

@media (min-width: 40em) {
  .o-inquiry {
    margin: 0;
  }
}

.o-gnavi__list {
  position: relative;
}

.o-dropdown__lists {
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  width: 100%;
  position: absolute;
  top: 70px;
  left: 0;
  z-index: 10;
}

.o-gnavi__list:hover .o-dropdown__lists {
  visibility: visible;
  opacity: 1;
}

.o-dropdown__list {
  padding: 10px 0;
  transition: all .3s;
  position: relative;
}

.o-dropdown__list a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  position: relative;
}

.o-entry-content {
  font-size: 16px;
}

.o-entry-content h1 {
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  border-bottom: solid 1px #bebebe;
  margin: 22.4px 0;
  padding-bottom: 0.3em;
  position: relative;
  line-height: 1.3em;
}

.o-entry-content h1::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  border-bottom: solid 4px var(--color-main);
  width: 15rem;
}

@media (min-width: 40em) {
  .o-entry-content h1 {
    font-size: 26px;
  }

  .o-entry-content h1::before {
    width: 20rem;
  }
}

.o-entry-content h2 {
  font-size: 24px;
  font-weight: bold;
  padding: 0.3em 0 0.3em 1rem;
  background-color: var(--color-main);
  color: var(--color-main-text);
  margin: 22px 0;
  line-height: 1.3em;
}

.o-entry-content h3 {
  font-size: 20px;
  font-weight: bold;
  padding: 0.3em 0 0.3em 1rem;
  border-left: solid 2px var(--color-main);
  margin: 20px 0;
  line-height: 1.3em;
}

.o-circulation_board,
.o-obituary {
  margin-bottom: 2rem;
}

.o-circulation_board__date,
.o-obituary__date {
  font-size: 1rem;
  font-size: 11px;
  margin-bottom: 1rem;
  margin-right: auto;
  padding: 2px 1rem;
  background-color: var(--color-main);
  color: var(--color-main-text);
  text-align: center;
}

@media (min-width: 40em) {
  .o-breadcrumb__inner {
    font-size: 0.9rem;
    margin-top: 1rem;
  }

  .o-breadcrumb__inner span {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }

  .o-breadcrumb__inner span:first-child {
    margin-left: 0;
  }
  .o-circulation_board__date,
  .o-obituary__date {
    font-size: 1rem;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 0;
    margin-left: auto;
    padding: 2px 12px;
    min-width: 146px;
  }
}
.o-obituary-place {
  padding-left: 3em;
}

.o-basic_information {
  display: block;
  padding-top: 20px;
  padding-bottom: 23px;
}

@media (min-width: 40em) {
  .o-basic_information {
    padding-top: 35px;
    padding-bottom: 25px;
  }
}

.o-basic_information__items {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

@media (min-width: 40em) {
  .o-basic_information__items {
    width: auto;
  }
}

.o-basic_information__name {
  font-size: 15px;
  font-weight: bold;
  width: 100%;
  text-align: center;
}

@media (min-width: 40em) {
  .o-basic_information__name {
    width: auto;
    font-size: 22px;
    margin-right: 38px;
    text-align: left;
  }
}

.o-basic_information__postal_clde,
.o-basic_information__address,
.o-basic_information__tel {
  width: 100%;
  font-size: 13px;
  text-align: center;
  line-height: normal;
}

@media (min-width: 40em) {

  .o-basic_information__postal_clde,
  .o-basic_information__address,
  .o-basic_information__tel {
    width: 100%;
    font-size: 15px;
    text-align: left;
    line-height: 1.8;
  }
}

.o-header--title {
  width: 100%;
  background-color: var(--color-main);
  color: var(--color-main-text);
  font-size: 24px;
  font-weight: bold;
  padding: 1rem 0;
  line-height: 1.3em;
}

@media (min-width: 40em) {
  .o-header--title {
    font-size: 32px;
    padding: 1.25rem 0;
  }
}

.o-fade_layer {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.3;
  visibility: hidden;
  z-index: 1;
}

.o-space {
  height: 15px;
}

@media (min-width: 40em) {
  .o-space {
    height: 65px;
  }
}

.o-has_children_btn {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 2rem 0;
}

.o-has_children_btn li {
  width: 100%;
  margin-bottom: 1rem;
}

.o-has_children_btn li a {
  padding: 1rem 2rem;
  border: solid 1px var(--color-main);
  display: block;
  position: relative;
}

.o-has_children_btn li :hover {
  background-color: var(--color-main);
  color: var(--color-main-text);
  opacity: 1;
}

.o-has_children_btn li a::after {
  position: absolute;
  content: '';
  margin-top: -5px;
  width: 0.5rem;
  height: 0.5rem;
  border-color: var(--color-main);
  border-width: 1px 1px 0 0;
  border-style: solid;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: rotate(45deg);
}

.o-has_children_btn li a:hover::after {
  border-color: var(--color-main-text);
}

@media (min-width: 40em) {
  .o-has_children_btn {
    margin: 4rem -1rem;
  }

  .o-has_children_btn li {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    width: 33.33333%;
  }

  .o-has_children_btn li a {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.25rem;
    font-size: 1.125rem;
    height: 100%;
    display: flex;
    line-height: 1.75;
  }
  .o-has_children_btn li a div {
    background-color: transparent !important;
  }
}

.o-basic_information--border {
  width: 100%;
  border-top: solid 1px #bebebe;
}

.o-basic_information {
  width: 100%;
}

.o-single_page a {
  text-decoration: underline;
}

.o-single_page p,
.o-single_page img {
  margin-top: 18px;
  margin-bottom: 18px;
}

.c-post_list img,
.c-post_list--notice img {
  margin: 0;
}

.o-notice-category a,
.c-post_list a,
.c-post_list--notice a,
a[class*="c-btn"],
.o-has_children_btn li a {
  text-decoration: none;
}