@charset "UTF-8";

/* =============================================================================

memorial CSS

・最低価格保証用CSS「.memorial-×××」

上記はここに記述する

============================================================================= */


/* .SelectorName
----------------------------------------------------------------------------- */
.memorial-selectorName {
  @media (width > 640px) {
  }
  @media (width <= 640px) {
  }
}

/* アンカーリンク
----------------------------------------------------------------------------- */
.memorial-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  @media (width > 640px) {
    gap: 4rem;
    margin-top: 8rem;
  }
  @media (width <= 640px) {
    gap: 0.8rem;
    margin-top: 5.6rem;
  }
  .memorial-btn {
    @media (width > 640px) {
      width: 40rem;
    }
    @media (width <= 640px) {
      width: 16rem;
    }
  }
  .memorial-img {
    transition: all .7s;
  }
  .memorial-link:hover .memorial-img {
    opacity: 0.6;
  }
  .memorial-link .l-button-C {
    position: relative;
    transition: all .7s;
    @media (width > 640px) {
      min-height: 4.2rem;
      padding-bottom: 0.5rem;
    }
    @media (width <= 640px) {
      width: 16rem;
      min-height: 4.0rem;
      padding-bottom: 0.2rem;
    }
  }
  .memorial-btn:nth-child(1):hover .memorial-link .l-button-C {
    background-color: var(--cc-white-A);
    color: var(--cc-red-A);
    &::after {
      background-color: var(--cc-red-A);
    }
  }
  .memorial-btn:nth-child(2) .memorial-link .l-button-C {
    background-color: var(--cc-gold-A);
    border: 1px solid var(--cc-gold-A);
  }
  .memorial-btn:nth-child(2):hover .memorial-link .l-button-C {
    background-color: var(--cc-white-A);
    border: 1px solid var(--cc-gold-A);
    color: var(--cc-gold-A);
    &::after {
      background-color: var(--cc-gold-A);
    }
  }
  .memorial-link .l-button-C::after {
    position: absolute;
    transform: translateY(25%) rotate(90deg);
    @media (width > 640px) {
      right: 1rem;
    }
    @media (width <= 640px) {
      right: 0.8rem;
    }
  }
  .memorial-link .memorial-subttl {
    line-height: 1.8;
    letter-spacing: 0.16em;
    text-align: center;
    @media (width > 640px) {
      font-size: 1.8rem;
    }
    @media (width <= 640px) {
      font-size: 1.6rem;
    }
  }
}


/* 法要
----------------------------------------------------------------------------- */
.memorial-buddhist {
  @media (width > 640px) {
    margin-bottom: 16rem;
  }
  @media (width <= 640px) {
    margin-bottom: 10.4rem;
  }
  h2 {
    text-align: center;
    @media (width > 640px) {
      margin-bottom: 5.6rem;
    }
    @media (width <= 640px) {
      margin-bottom: 3.2rem;
    }
  }
  h2 .p-ff-serif {
    display: block;
    line-height: 1.8;
    letter-spacing: 0.16em;
    @media (width > 640px) {
      margin-bottom: 1.6rem;
      font-size: 4.4rem;
    }
    @media (width <= 640px) {
      margin-bottom: 0.8rem;
      font-size: 2.8rem;
    }
  }
  h2 .p-ff-castoro {
    display: block;
    color: var(--cc-gray_text-A);
    line-height: 1;
    letter-spacing: 0.1em;
    @media (width > 640px) {
      font-size: 1.6rem;
    }
    @media (width <= 640px) {
      font-size: 1.2rem;
    }
  }
  .memorial-lead {
    text-align: center;
    @media (width > 640px) {
      margin-bottom: 8rem;
    }
    @media (width <= 640px) {
      margin-bottom: 5.6rem;
    }
  }
}
/* 法要（花城）
----------------------------------------------------------------------------- */
.memorial-hanagi {
  .memorial-intro {
    display: flex;
    @media (width > 640px) {
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8rem;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 3.2rem;
      margin-bottom: 6.4rem;
      padding-left: 3rem;
    }
    .memorial-txtbox {
      @media (width > 640px) {
      }
      @media (width <= 640px) {
        margin-right: 3rem;
      }
    }
    h3 {
      @media (width > 640px) {
        margin-bottom: 5.6rem;
      }
      @media (width <= 640px) {
        margin-bottom: 2.4rem;
      }
    }
    .p-ff-serif {
      display: block;
      margin-bottom: 1.2rem;
      @media (width > 640px) {
        font-size: 2.8rem;
        line-height: 2;
        letter-spacing: 0.2em;
      }
      @media (width <= 640px) {
        font-size: 2.6rem;
        line-height: 1.8;
        letter-spacing: 0.16em;
      }
    }
    .p-ff-castoro {
      display: block;
      color: var(--cc-gold-A);
      font-size: 1.2rem;
      line-height: 1;
      letter-spacing: 0.05em;
    }
    .memorial-img {
      @media (width > 640px) {
        width: 80rem;
      }
      @media (width <= 640px) {
        width: 36rem;
      }
    }
    .p-tg-ja_heading-C {
      @media (width > 640px) {
        margin-bottom: 1.6rem;
      }
      @media (width <= 640px) {
        margin-bottom: 0.8rem;
      }
    }
  }
  .memorial-schedule {
    display: flex;
    @media (width > 640px) {
      gap: 5.6rem;
      margin: 0 auto 8rem;
      width: 138.5rem;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 4rem;
      margin-bottom: 4rem;
    }
    h4 {
      @media (width > 640px) {
        display:flex;
        gap:2.0rem;
      }
      @media (width <= 640px) {
        display:grid;
        gap:1.2rem;
      }
      > span {
        @media (width > 640px) {
          writing-mode:vertical-rl;
        }
      }
      .en {
        font-size:3.2rem;
        line-height:1.2;
        letter-spacing: .05em;
        @media (width <= 640px) {
          font-size:2.2rem;
          line-height:1.2;
        }
      }
      .ja {
        font-size:1.6rem;
        line-height:1;
        letter-spacing:1;
        @media (width > 640px) {
          font-feature-settings: "palt" 0;
        }
        @media (width <= 640px) {
          font-size:1.4rem;
          letter-spacing:.16em;
        }
      }
    }
    .memorial-box {
      display: flex;
      @media (width > 640px) {
        gap: 4rem;
      }
      @media (width <= 640px) {
        flex-direction: column;
        gap: 1.6rem;
      }
    }
    .memorial-subbox {
      display: flex;
      background-color: var(--cc-white-A);
      border-left: 1px solid var(--cc-gold-A);
      @media (width > 640px) {
        gap: 4.8rem;
        width: 60rem;
        padding: 3.2rem 0 3.2rem 4rem;
      }
      @media (width <= 640px) {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        padding: 2.4rem 0 3.6rem 2.4rem;
      }
    }
    .memorial-subbox .memorial-subttl {
      line-height: 1.8;
      letter-spacing: 0.16em;
      @media (width > 640px) {
        font-size: 1.8rem;
      }
      @media (width <= 640px) {
        font-size: 1.6rem;
      }
    }
    dl div {
      display: flex;
      gap: 1.2rem;
    }
    dl dt {
      width: 7rem;
    }
  }
  .memorial-saidan {
    display: flex;
    align-items: center;
    @media (width > 640px) {
      justify-content: space-between;
      margin-bottom: 6.4rem;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 2.4rem;
      margin-bottom: 4.8rem;
    }
    .memorial-img {
      @media (width > 640px) {
        width: 48rem;
      }
      @media (width <= 640px) {
      }
    }
    .p-tg-ja_heading-B {
      margin-bottom: 2.4rem;
      @media (width > 640px) {
      }
    }
    dl {
      margin-bottom: 0.8rem;
    }
    dl div {
      align-items: center;
    }
    .p-ff-castoro {
      color: var(--cc-black-A);
      font-size: 2.4rem;
      line-height: 1;
      letter-spacing: 0.05em;
      @media (width > 640px) {
      }
      @media (width <= 640px) {
        margin-right: -2.5rem;
      }
    }
    .memorial-span {
      font-size: 1.4rem;
      letter-spacing: 0.15em;
    }
  }
  .memorial-btns {
    margin-top: 0;
    @media (width > 640px) {
      margin-bottom: 12rem;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 1.6rem;
      margin-bottom: 8rem;
    }
    .l-button-C {
      @media (width > 640px) {
        width: 46rem;
      }
      @media (width <= 640px) {
        width: 33rem;
      }
    }
  }
  .memorial-bento {
    display: flex;
    background-color: var(--cc-white-A);
    @media (width > 640px) {
      gap: 5.6rem;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 3.2rem;
      margin: 0 3rem;
    }
    .memorial-box {
      @media (width > 640px) {
        padding-top: 4rem;
        padding-left: 5.6rem;
      }
      @media (width <= 640px) {
        padding: 5.6rem 3.2rem 0;
      }
    }
    .p-tg-ja_heading-B {
      margin-bottom: 2.4rem;
    }
    .p-tg-text-C {
      margin-bottom: 1.6rem;
    }
    .l-table-A {
      margin-bottom: 0.8rem;
    }
    dl div {
      align-items: center;
    }
    .p-ff-castoro {
      color: var(--cc-black-A);
      font-size: 2.4rem;
      line-height: 1;
      letter-spacing: 0.05em;
    }
    .memorial-span {
      font-size: 1.4rem;
    }
  }
}
/* 法要（美麗華）
----------------------------------------------------------------------------- */
.memorial-bireika {
  @media (width > 640px) {
    margin-bottom: 12rem;
  }
  @media (width <= 640px) {
    display: flex;
    flex-direction: column;
    margin-bottom: 6.4rem;
  }
  .memorial-intro {
    display: flex;
    @media (width > 640px) {
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8rem;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 3.2rem;
      margin-bottom: 4.8rem;
      padding-left: 3rem;
    }
    .memorial-txtbox {
      @media (width > 640px) {
      }
      @media (width <= 640px) {
        margin-right: 3rem;
      }
    }
    h3 {
      @media (width > 640px) {
        margin-bottom: 5.6rem;
      }
      @media (width <= 640px) {
        margin-bottom: 2.4rem;
      }
    }
    .p-ff-serif {
      display: block;
      margin-bottom: 1.2rem;
      @media (width > 640px) {
        font-size: 2.8rem;
        line-height: 2;
        letter-spacing: 0.2em;
      }
      @media (width <= 640px) {
        font-size: 2.6rem;
        line-height: 1.8;
        letter-spacing: 0.16em;
      }
    }
    .p-ff-castoro {
      display: block;
      color: var(--cc-gold-A);
      font-size: 1.2rem;
      line-height: 1;
      letter-spacing: 0.05em;
    }
    .memorial-img {
      @media (width > 640px) {
        width: 80rem;
      }
      @media (width <= 640px) {
        width: 36rem;
      }
    }
    .p-tg-ja_heading-C {
      @media (width > 640px) {
        margin-bottom: 1.6rem;
      }
      @media (width <= 640px) {
        margin-bottom: 0.8rem;
      }
    }
  }
  .l-column3-A {
    @media (width > 640px) {
      margin-bottom: 6.4rem;
    }
    @media (width <= 640px) {
      gap: 3.2rem;
      order: 1;
      margin: 0 auto;
      width: 28rem;
    }
    .item-heading {
      margin-bottom: 0;
    }
  }
  .memorial-btns {
    margin-top: 0;
    @media (width > 640px) {
      margin-bottom: 12rem;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 1.6rem;
      margin-bottom: 6.4rem;
    }
    .l-button-C {
      @media (width > 640px) {
        width: 46rem;
      }
      @media (width <= 640px) {
        width: 33rem;
      }
    }
  }
}
/* 法要（予約ボタン）
----------------------------------------------------------------------------- */
.memorial-reserve {
  @media (width > 640px) {
    grid-template-columns: auto 63.0rem;
  }
  @media (width <= 640px) {
  }
  .memorial-box {
    display: flex;
    flex-direction: column;
    @media (width > 640px) {
      gap: 1.6rem;
    }
    @media (width <= 640px) {
      justify-content: center;
      align-items: center;
      gap: 2.4rem;
    }
  }
  .memorial-restaurant {
    line-height: 1.2;
    @media (width > 640px) {
      font-size: 2.4rem;
    }
    @media (width <= 640px) {
      font-size: 1.8rem;
    }
  }
  .others-item a {
    padding-bottom: 0.8rem;
  }
}
/* 組み写真
----------------------------------------------------------------------------- */
.memorial_detail-photos {
  display: grid;
  gap: 0.2rem;
  @media (width > 640px) {
    margin-top: 16.0rem;
    padding: 0 1.6rem;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  @media (width <= 640px) {
    margin-top: 10.4rem;
    padding: 0 1rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 14.2rem 14.2rem 13.5rem 13.5rem;
  }
  .img:nth-child(1) {
    @media (width > 640px) {
      grid-column: 1 / 3;
      grid-row: 1 / 2;
    }
    @media (width <= 640px) {
      grid-column: 1 / -1;
      grid-row: 1 / 2;
    }
  }
  .img:nth-child(2) {
    @media (width > 640px) {
      grid-column: 1 / 3;
      grid-row: 2 / 3;
    }
    @media (width <= 640px) {
      grid-column: 1 / -1;
      grid-row: 2 / 3;
    }
  }
  .img:nth-child(3) {
    @media (width > 640px) {
      grid-column: 3 / 4;
      grid-row: 1 / -1;
    }
    @media (width <= 640px) {
      grid-column: 1 / 2;
      grid-row: 3 / 5;
    }
  }
}
/* お別れの会
----------------------------------------------------------------------------- */
.memorial-farewell {
  position: relative;
  h2 {
    margin-bottom: 5.6rem;
    text-align: center;
  }
  h2 .p-ff-serif {
    display: block;
    line-height: 1.8;
    letter-spacing: 0.16em;
    @media (width > 640px) {
      margin-bottom: 1.6rem;
      font-size: 4.4rem;
    }
    @media (width <= 640px) {
      margin-bottom: 0.8rem;
      font-size: 2.8rem;
    }
  }
  h2 .p-ff-castoro {
    display: block;
    color: var(--cc-gray_text-A);
    line-height: 1;
    letter-spacing: 0.1em;
    @media (width > 640px) {
      font-size: 1.6rem;
    }
    @media (width <= 640px) {
      font-size: 1.2rem;
    }
  }
  .memorial-box01 {
    @media (width > 640px) {
      display: grid;
      grid-template-columns: 80rem 8rem 48rem;
      grid-template-rows: auto 50rem;
      align-items: center;
    }
    @media (width <= 640px) {
      display: flex;
      flex-direction: column;
    }
    .memorial-lead {
      text-align: center;
      @media (width > 640px) {
        grid-column: 1 / -1;
        margin-bottom: 8rem;
      }
      @media (width <= 640px) {
        margin-bottom: 3.2rem;
      }
    }
    .memorial-img {
      @media (width > 640px) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        width: 80rem;
      }
      @media (width <= 640px) {
        margin: 0 auto 3.2rem;
        width: 36.0rem;
      }
    }
    .p-tg-text-A {
      @media (width > 640px) {
        grid-column: 3 /4;
        grid-row: 2 / 3;
      }
      @media (width <= 640px) {
        order: 2;
      }
    }
  }
  .memorial-box02 {
    display: flex;
    @media (width > 640px) {
      justify-content: space-between;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 3.2rem;
    }
    .p-ff-serif {
      margin-bottom: 1.6rem;
      line-height: 1.8;
      letter-spacing: 0.16em;
      @media (width > 640px) {
        font-size: 2.2rem;
      }
      @media (width <= 640px) {
        font-size: 1.8rem;
      }
    }
    .l-table-A {
      @media (width > 640px) {
        width: 52rem;
      }
      @media (width <= 640px) {
        width: 100%;
      }
    }
    .l-table-A div {
      display: block;
    }
    .l-table-A dt {
      margin-bottom: 0.8rem;
      padding-left: 0;
      color: var(--cc-black-A);
    }
    .memorial-phbox {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      @media (width > 640px) {
        width: 46rem;
      }
      @media (width <= 640px) {
        width: 100%;
      }
    }
  }
}


/* お別れの会に関する情報
----------------------------------------------------------------------------- */
.memorial-information {
  @media (width > 640px) {
    padding: 16rem 0 20rem;
  }
  @media (width <= 640px) {
    padding: 5.6rem 3rem 6.4rem;
  }
  .memorial-btns {
    display: flex;
    @media (width > 640px) {
      gap: 4rem;
    }
    @media (width <= 640px) {
      flex-direction: column;
      gap: 0.8rem;
      margin-top: 0;
    }
  }
  .memorial-btn {
    @media (width > 640px) {
      width: 31rem;
    }
    @media (width <= 640px) {
      width: 100%;
    }
  }
  .memorial-link {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem;
    background-color: var(--cc-white-A);
    border-bottom: 4px solid var(--cc-gray_line-A);
    color: var(--cc-black-A);
    text-decoration: none;
  }
  .memorial-link[aria-expanded="true"] {
    border-color: var(--cc-gold-A);
  }
  .memorial-link:hover {
    .memorial-img {
      @media (width > 640px) {
        opacity: 1;
      }
    }
    .memorial-btntxt {
      opacity: 1;
      color: var(--cc-gold-A);
    }
    .memorial-btntxt::after {
      background-color: var(--cc-gold-A);
    }
  }
  .memorial-link .memorial-img {
    transition: all .5s;
  }
  .memorial-btntxt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    text-align: center;
    transition: all .5s;
    font-size: 1.6rem;
    line-height: 1;
    @media (width > 640px) {
      width: 13.4rem;
    }
    @media (width <= 640px) {
      margin-top: 1.6rem;
      margin-right: 0.6rem;
      width: 15.6rem;
    }
  }
  .memorial-btntxt::after {
    transform: rotate(90deg);
    transition: all .7s;
  }
  .memorial-link .memorial-img {
    @media (width > 640px) {
      width: 15.8rem;
    }
    @media (width <= 640px) {
      width: 14.0rem;
    }
  }
  .memorial-banquet {
    @media (width > 640px) {
      padding-top: 16rem;
    }
    @media (width <= 640px) {
      padding-top: 10.4rem;
    }
  }
  .l-heading-B {
    @media (width > 640px) {
      margin-bottom: 8rem;
    }
    @media (width <= 640px) {
    }
  }
  .memorial-schedule {
    @media (width > 640px) {
      margin-bottom: 12rem;
      padding-top: 16rem;
    }
    @media (width <= 640px) {
      margin-bottom: 6.4rem;
      padding-top: 10.4rem;
    }
  }
  .memorial-wrap {
    background-color: var(--cc-white-A);
    @media (width > 640px) {
      padding: 8rem 9.8rem;
    }
    @media (width <= 640px) {
      padding: 4rem 1.6rem 4rem 2.0rem;
    }
    .p-tg-ja_heading-C {
      text-align: center;
      @media (width > 640px) {
        margin-bottom: 8rem;
      }
      @media (width <= 640px) {
        margin-bottom: 4rem;
      }
    }
    .memorial-box {
      position: relative;
      @media (width > 640px) {
        padding-left: 7rem;
      }
      @media (width <= 640px) {
        padding-left: 1.4rem;
      }
    }
    .memorial-box::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      display: block;
      width: 1px;
      background-color: var(--cc-gold-A);
      @media (width > 640px) {
        height: calc(100% - 2.4rem);
      }
      @media (width <= 640px) {
        height: calc(100% - 1.2rem);
      }
    }
    .memorial-subbox {
      display: flex;
      flex-direction: column;
      @media (width > 640px) {
        gap: 2.4rem;
      }
      @media (width <= 640px) {
        gap: 1.6rem;
      }
    }
    .memorial-subbox div {
      @media (width > 640px) {
        display: flex;
      }
      @media (width <= 640px) {
        display: block;
      }
    }
    .memorial-subbox .p-ff-serif {
      position: relative;
      color: var(--cc-gold-A);
      line-height: 1.8;
      letter-spacing: 0.2em;
      @media (width > 640px) {
        width: 24rem;
        font-size: 2.0rem;
      }
      @media (width <= 640px) {
        width: 100%;
        font-size: 1.6rem;
      }
    }
    .memorial-subbox .p-ff-serif::before {
      content: "";
      position: absolute;
      display: block;
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background-color: var(--cc-white-A);
      border: 2px solid var(--cc-gold-A);
      @media (width > 640px) {
        top: 1.5rem;
        left: calc((7rem + 5px) * -1);
      }
      @media (width <= 640px) {
        top: 1.1rem;
        left: calc((1.4rem + 5px) * -1);
      }
    }
    .memorial-subbox li {
      margin-left: 2.4rem;
      list-style-type: disc;
    }
  }
  .memorial-reserve {
    background-color: var(--cc-white-A);
  }
}