@charset "UTF-8";
.ac-btn {
  position: relative;
  width: 16px;
  height: 1px;
}
.ac-btn span {
  display: inline-block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  transition: 0.3s;
}
.ac-btn span:nth-child(2) {
  transform: rotate(90deg);
}

.ac-btn.active span:nth-child(2) {
  transform: rotate(0);
}

/* 2等分カラムレイアウト $m2に余白を指定する 初期値は0 */
/* 3等分カラムレイアウト $m3に余白を指定する 初期値は0 */
/* 4等分カラムレイアウト $m4に余白を指定する 初期値は0 */
@media screen and (max-width: 1000px) {
  /* common */
  .di-m {
    display: block;
  }
  .ta-l-m {
    text-align: left;
  }
  .ta-r-m {
    text-align: right;
  }
  .ta-c-m {
    text-align: center;
  }
  .wm100 {
    width: 100%;
  }
  .wr {
    width: calc(100% - 40px);
  }
  .sec {
    padding-bottom: 120px;
  }
  .sec:last-child {
    padding-bottom: 90px;
  }
  .ttl {
    font-size: 2.4rem;
    margin-bottom: 50px;
  }
  .txt-box,
  .tl4,
  .tl6,
  .grave-list,
  .greeting-sec .con-t {
    width: 90%;
    max-width: 840px;
  }
  /* header */
  .h-wr {
    height: 110px;
  }
  .h-logo-wr {
    top: 15px;
    left: 20px;
    width: 130px;
  }
  .g-nav-wr {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: -10;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.85);
    transition: 0.2s;
  }
  .g-nav-wr.open {
    display: block;
    height: auto;
    z-index: 5000;
    opacity: 1;
  }
  .g-nav {
    opacity: 0;
    transition: 0.5s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-45%) translateX(-50%);
    display: block;
  }
  .g-nav li {
    width: auto;
    margin-bottom: 25px;
    margin-right: 0;
  }
  .g-nav li:last-child {
    margin-bottom: 0;
  }
  .g-nav a {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1.6;
    letter-spacing: 0.15em;
  }
  .g-nav.open {
    opacity: 1;
    transform: translateY(-50%) translateX(-50%);
  }
  /* kv */
  body .kv-sec {
    margin-top: 15px;
  }
  body.sub .kv-sec {
    margin-top: 15px;
  }
  .kv-ttl {
    top: 30px;
    font-size: 2.4rem;
  }
  /* top */
  .greeting-sec {
    padding-top: 70px;
  }
  .greeting-sec .v-ttl {
    margin-bottom: 50px;
  }
  .greeting-img {
    width: 70%;
  }
  .menu-list {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 15px;
         column-gap: 15px;
    row-gap: 10px;
  }
  .menu-card {
    height: 62vw;
    max-height: 540px;
  }
  .menu-band {
    height: 62vw;
    max-height: 540px;
  }
  .menu-arrow {
    top: auto;
    bottom: 12%;
  }
  .access-sec {
    padding-top: 70px;
  }
  .access-wr {
    display: block;
    height: auto;
  }
  .access-map {
    width: 100%;
    height: 320px;
  }
  .access-info {
    width: 90%;
    margin: 30px auto 0;
    padding-left: 0;
    text-align: center;
  }
  /* about */
  .in-list,
  .hs-list {
    width: 100%;
  }
  .in-list {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 15px;
         column-gap: 15px;
    row-gap: 15px;
  }
  .in-txt-b,
  .in-txt-t {
    padding-top: 0;
  }
  .engi-img {
    width: 70%;
    max-width: 436px;
  }
  .wonder-wr {
    display: block;
    width: 90%;
    max-width: 600px;
  }
  .wonder-txt {
    width: 100%;
  }
  .wonder-img {
    width: 80%;
    margin: 30px auto 0;
  }
  /* shomotsu */
  .sh-list {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
  .sh-img {
    height: 44vw;
    max-height: 360px;
  }
  /* history */
  .fune-map {
    width: 80%;
  }
  .hs-list {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 15px;
         column-gap: 15px;
    row-gap: 40px;
    margin-top: 60px;
  }
  .hs-ref {
    grid-column: 1/3;
    padding-top: 0;
  }
  .kotatsu-wr {
    display: block;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
  }
  .kotatsu-txt,
  .kotatsu-img {
    width: 100%;
  }
  .kotatsu-img {
    margin-top: 30px;
  }
  /* bochi */
  .grave-txt {
    padding-top: 20px;
  }
  .grave-img img {
    height: 100%;
    min-height: 240px;
  }
  .kv-bochi img {
    transform: none;
  }
  /* footer */
  .backtop {
    right: 20px;
    width: 45px;
  }
  .f-logo {
    margin-top: 70px;
  }
  /* $br-p以下で表示する要素 */
  .res-on {
    display: block;
  }
  /* $br-p以下で非表示 */
  .res-off {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .di-s {
    display: block;
  }
  .ta-l-s {
    text-align: left;
  }
  .ta-r-s {
    text-align: right;
  }
  .ta-c-s {
    text-align: center;
  }
  .ws100 {
    width: 100%;
  }
  body {
    font-size: 1.4rem;
    line-height: 1.95;
  }
  .wr {
    width: calc(100% - 30px);
  }
  .sec {
    padding-top: 35px;
    padding-bottom: 80px;
  }
  .sec:last-child {
    padding-bottom: 70px;
  }
  .sq {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
  }
  .ttl {
    font-size: 2rem;
    margin-bottom: 35px;
  }
  .ttl-s {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }
  .v-ttl {
    font-size: 2.2rem;
  }
  .g-line {
    width: 60%;
    margin-bottom: 40px;
  }
  .txt-box,
  .tl4,
  .tl6,
  .grave-list,
  .greeting-sec .con-t {
    width: calc(100% - 40px);
  }
  .txt-j {
    text-align: left;
  }
  /* header */
  .h-wr {
    height: 80px;
  }
  .h-logo-wr {
    top: 12px;
    left: 15px;
    width: 100px;
  }
  .ham-wr {
    top: 18px;
    right: 15px;
    width: 30px;
    height: 24px;
  }
  /* kv */
  .kv-ttl {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 2rem;
  }
  /* top */
  .greeting-sec {
    padding-top: 50px;
  }
  .greeting-txt {
    font-size: 1.5rem;
    text-align: left;
    letter-spacing: 0.05em;
  }
  .greeting-img {
    width: 85%;
  }
  .menu-sec {
    padding-top: 40px;
  }
  .menu-card,
  .menu-band {
    height: 75vw;
  }
  .menu-band {
    width: 44px;
    margin-left: -22px;
  }
  .menu-txt {
    top: 12px;
    font-size: 1.7rem;
    letter-spacing: 0.15em;
  }
  .menu-arrow {
    font-size: 2.4rem;
    bottom: 8%;
  }
  .access-sec {
    padding-top: 50px;
  }
  .access-sec .v-ttl {
    margin-bottom: 35px;
  }
  .access-map {
    height: 260px;
  }
  .access-info {
    font-size: 1.5rem;
  }
  /* about */
  .in-fig figcaption {
    left: 6px;
    bottom: 2px;
    font-size: 1.1rem;
  }
  .in-txt {
    grid-column: 1/3;
    font-size: 1.4rem;
  }
  .in-txt-b {
    order: 0;
  }
  .engi-img {
    width: 85%;
  }
  .pin-txt {
    margin-top: 40px;
  }
  .wonder-img {
    width: 100%;
  }
  /* shomotsu */
  .sh-fig {
    padding: 0 5px;
  }
  .sh-fig figcaption {
    min-height: 0;
    font-size: 1.2rem;
    line-height: 1.7;
  }
  .sh-list {
    row-gap: 25px;
  }
  /* history */
  .tl4 dd {
    margin-left: 1em;
  }
  .fune-map {
    width: 100%;
  }
  .hs-list {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }
  .hs-ref {
    grid-column: 1;
  }
  /* bochi */
  .bochi-lead {
    margin-top: -10px;
    font-size: 1.4rem;
  }
  .grave {
    display: block;
    margin-bottom: 45px;
    font-size: 1.5rem;
  }
  .grave-txt,
  .grave-img {
    width: 100%;
  }
  .grave-txt {
    padding-top: 0;
  }
  .grave-ttl {
    font-size: 2.4rem;
  }
  .grave-ttl span {
    font-size: 1.3rem;
  }
  .grave-desc {
    min-height: 0;
    margin-top: 5px;
  }
  .fee {
    line-height: 1.9;
  }
  .fee-line {
    margin-top: 12px;
    margin-bottom: 4px;
    padding-bottom: 4px;
  }
  .grave:nth-child(2) .grave-img img,
  .grave:nth-child(4) .grave-img img {
    transform: none;
  }
  .grave-img {
    margin-top: 15px;
  }
  .grave-img img {
    height: auto;
    min-height: 0;
    aspect-ratio: 421/301;
  }
  .apply-list li {
    line-height: 1.9;
    margin-bottom: 8px;
  }
  .contact-tel {
    font-size: 2.4rem;
  }
  .contact-info {
    font-size: 1.4rem;
  }
  /* boshin */
  .tl6-date {
    flex-basis: 95px;
    font-size: 1.3rem;
  }
  .tl6-txt {
    margin-left: 12px;
    font-size: 1.3rem;
  }
  .tl6-label {
    margin-left: 0;
  }
  /* footer */
  .footer {
    padding-top: 80px;
    padding-bottom: 30px;
  }
  .backtop {
    right: 15px;
    width: 44px;
  }
  .f-link {
    display: block;
  }
  .f-link li {
    width: 70%;
    margin: 0 auto 12px;
    border-right: 2px solid #000;
  }
  .f-link a {
    font-size: 1.5rem;
  }
  .f-logo {
    width: 130px;
    margin-top: 45px;
  }
  .copyright {
    margin-top: 35px;
    font-size: 1.1rem;
  }
  /* $br-p2以下で表示する要素 */
  .phone-on {
    display: block;
  }
  /* $br-p2以下で非表示 */
  .phone-off {
    display: none;
  }
}/*# sourceMappingURL=mobile.css.map */