@charset "utf-8";

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Zen+Antique&family=Shippori+Mincho:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
    --color-primary: #8B4513;
    --color-secondary: #D4AF37;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-light: #F8F8F8;
    --color-border: #E0E0E0;
    --font-main: 'Shippori Mincho', serif;
    --font-en: 'Zen Antique', serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utility Classes */
.sh-table {
    display: table;
    width: 100%;
}

.sh-table-full {
    display: table;
    width: 100%;
    height: 100%;
}

.sh-table-small {
    display: table;
}

.sh-table-cell {
    display: table-cell;
    vertical-align: middle;
    float: none !important;
    color: #fff !important;
}

.sh-group {
    display: flex;
}

.sh-group-equal {
    display: flex;
}

.sh-group-equal > * {
    flex: 1;
}

.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1140px;
    margin: 0 auto;
}

.sh-clear {
    clear: both;
}

/* Header Styles */
.primary-mobile {
    display: none;
    z-index: 600;
    position: relative;
}

.primary-desktop {
    position: relative;
    z-index: 1000;
}

.sh-header {
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.sh-header .container,
.sh-header-top .container {
    padding: 0 15px;
    position: relative;
}

.sh-header-height {
    position: relative;
}

.sh-header-mobile {
    display: none;
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.sh-header-mobile .container {
    padding: 0 15px;
}

.sh-header-mobile-navigation {
    border-bottom: 1px solid #EDEDED;
}

.sh-header-mobile-navigation .sh-nav-container {
    padding: 40px 0;
}

.sh-header-mobile-navigation .header-logo img {
    max-width: 85%;
}

.sh-header-mobile-navigation .sh-nav-dropdown .c-hamburger {
    top: -1px;
}

.sh-header-mobile-dropdown {
    display: none;
    z-index: 1200;
    position: relative;
    background-color: #333333;
}

.sh-header-mobile-dropdown.active {
    display: block;
}

.sh-nav-mobile {
    max-width: 800px;
    padding: 20px 0 !important;
    overflow: hidden;
    list-style: none;
    margin: 0;
}

.sh-nav-mobile li {
    position: relative;
    margin-bottom: 0;
}

.sh-nav-mobile li:after {
    content: "";
    display: block;
    left: 0;
    right: 0;
    position: absolute;
    height: 1px;
    background-color: #303030;
    width: 100%;
}

.sh-nav-mobile li:last-child:after {
    height: 0;
}

.sh-nav-mobile li a {
    display: block;
    padding: 16px 0;
    color: #aaaaaa;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
}

.sh-nav-mobile li.current-menu-item > a {
    color: #fff;
}

.header-mobile-social-media {
    display: table;
    width: 100%;
    padding: 0;
    border-top: 1px solid #303030;
    position: relative;
}

.header-mobile-social-media a {
    display: table-cell;
    vertical-align: top;
    text-align: center;
    border-left: 1px solid #303030;
    padding: 0;
    height: 70px;
    margin: 0;
}

.header-mobile-social-media a:first-child {
    border-left: none;
}

.header-mobile-social-media a:hover {
    background-color: #303030;
}

.header-mobile-social-media i {
    font-size: 16px;
    color: #8d8d8d;
    padding-left: 0px;
    position: relative;
    line-height: 70px;
}

.sh-header-1 {
    position: relative;
}

.sh-header-1 .sh-nav > li.menu-item > a {
    padding-top: 30px;
    padding-bottom: 30px;
    max-height: none;
    transition: 0.3s padding ease-in-out;
}

.sh-nav-container {
    position: relative;
    margin-bottom: -1px;
}

.sh-nav-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sh-nav-container:after {
    content: "";
    display: block;
    clear: both;
}

.sh-nav {
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sh-nav li.menu-item {
    float: left;
    padding: 0 15px;
    border-bottom: 0px solid transparent;
}

.sh-nav li.menu-item a {
    line-height: 40px;
    max-height: 40px;
    display: block;
    color: #7e7e7e;
}

.sh-nav > li.menu-item > a {
    font-weight: bold;
    text-transform: none;
}

.sh-nav li.current-menu-item > a,
.sh-nav li.current-menu-parent > a {
    font-weight: bold;
    color: #575757;
}

.sh-nav > li.menu-item:last-child {
    padding-right: 0;
}

.sh-nav-social {
    padding-left: 0 !important;
}

.sh-nav-social a {
    display: block !important;
    float: left;
    padding: 0 5px;
}

.sh-nav-social a:first-child {
    padding-left: 0;
}

.sh-nav-social a:last-child {
    padding-right: 0;
}

.sh-nav-social i {
    font-size: 24px;
    position: relative;
    bottom: -5px;
}

.header-logo {
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

.header-logo img {
    margin-bottom: 0;
    height: 55px;
    max-height: 250px;
}

.sh-clear {
    clear: both;
}

/* Header Search */
.sh-header-search {
    display: none;
    position: absolute;
    top: 0;
    bottom: 1px;
    right: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(255,255,255,0.97);
    z-index: 200;
    overflow: hidden;
}

.sh-header-search.active {
    display: block;
}

.sh-header-search .sh-header-search-input {
    display: inline-block;
    border: 0;
    margin-left: 5px;
    font-size: 24px;
    font-weight: normal;
    background-color: transparent;
    padding: 0;
    color: #505050;
    line-height: 48px !important;
    padding-right: 75px;
    width: 100%;
}

.sh-header-search .sh-header-search-input::-webkit-input-placeholder {
    color: #8d8d8d;
    font-style: normal;
    font-weight: normal;
}

.sh-header-search .sh-header-search-input:-moz-placeholder {
    color: #8d8d8d;
    font-style: normal;
    font-weight: normal;
}

.sh-header-search .sh-header-search-input::-moz-placeholder {
    color: #8d8d8d;
    font-style: normal;
    font-weight: normal;
}

.sh-header-search .sh-header-search-input:-ms-input-placeholder {
    color: #8d8d8d;
    font-style: normal;
    font-weight: normal;
}

.sh-header-search-submit {
    position: absolute;
    top: 12px;
    right: 32px;
    border: 0;
    color: #8d8d8d;
    background-color: transparent;
    font-size: 24px;
    line-height: 1;
}

.sh-header-search-submit i {
    line-height: 1;
}

.sh-header-search-close {
    position: absolute;
    top: 14px;
    right: 0px;
    border: 0;
    color: #8d8d8d;
    background-color: transparent;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.sh-header-search .container {
    position: relative;
}

.sh-header-search-form {
    position: relative;
    overflow: hidden;
}

.sh-header-search .line-test {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.sh-header-search .line-test .container {
    position: relative;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 20px !important;
    overflow: hidden;
}

.sh-header-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.sh-header-mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sh-header-mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s;
}

.sh-header-mobile-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.sh-header-mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.sh-header-mobile-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.sh-header-mobile-dropdown {
    display: none;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.sh-header-mobile-dropdown.active {
    display: block;
}

.sh-header-mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.sh-header-mobile-nav li {
    margin-bottom: 15px;
}

.sh-header-mobile-nav a {
    display: block;
    padding: 10px;
    font-size: 16px;
}

.sh-header-desktop {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.sh-header-desktop-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.sh-header-desktop-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sh-header-desktop-social a {
    margin-left: 15px;
    font-size: 20px;
    color: var(--color-text);
}

.sh-header-desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    padding: 15px 0;
    border-top: 1px solid var(--color-border);
}

.sh-header-desktop-nav a {
    font-size: 16px;
    transition: color 0.3s;
}

.sh-header-desktop-nav a:hover {
    color: var(--color-primary);
}

/* Fixed Menu */
#fixed-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

#fixed-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.fixed-menu-phone,
.fixed-menu-reservation {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fixed-menu-phone {
    background-color: var(--color-primary);
}

.fixed-menu-reservation {
    background-color: var(--color-secondary);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    color: #FFF;
    font-family: "Zen Antique";
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
}

.breadcrumbs .separator {
    margin: 0 20px;
    color: #FFF;
    font-family: "Zen Antique";
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
}

.breadcrumbs-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* Hero Section */
.memorial-hero {
    position: relative;
    height: 291px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.memorial-hero-message {
    padding: 40px 20px;
    background-color: var(--color-bg);
}

.memorial-hero-message-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.memorial-hero-message-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.8;
}

/* ===== Titlebar 背景 強制上書き ===== */

.sh-titlebar.sh-titlebar-parallax,
.sh-titlebar.sh-titlebar-parallax[style] {
  background-image:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    url("/wp-content/themes/jevelin-child/images/mainvisual.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* SP */

@media (max-width: 799px) {
  .sh-titlebar.sh-titlebar-parallax,
  .sh-titlebar.sh-titlebar-parallax[style] {
    background-image:
      linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
      url("/wp-content/themes/jevelin-child/images/mainvisual-sp.jpg") !important;
  }
}

/* スマホ：タイトルバー内を上下中央に */
@media (max-width: 900px) {
  .sh-titlebar .container,
  .sh-titlebar .container .sh-table.sh-titlebar-height-large {
    height: 100%;
    min-height: 100%;
  }
  .sh-titlebar .container {
    display: flex;
    align-items: center;
  }
  .sh-table.sh-titlebar-height-large {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

/* ご法要テンプレート用：fixed-menu かぶり防止（必要なら数値調整） */
body.page-template-memorial-php {
    padding-bottom: 80px;
}

/* Plan Menu Styles（枠はテーマに任せ、中身は .memorial-page） */
.memorial-page {
    background-image: url(../images/memorial-bg.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    min-height: 100vh;
    padding: 0 !important;
}

.plan-menu-article * {
    color: #434343;
    font-family: "Zen Antique", serif !important;
    font-weight: 400;
    font-style: normal;
}

.plan-menu-section-inner {
    margin: 0 auto;
    max-width: min(95%, 1160px);
    padding: 100px 40px 140px;
    width: min(95%, 1160px);
    box-sizing: border-box;
}

.plan-menu-section-header {
    margin-bottom: 85px;
    text-align: center;
}

.plan-menu-section-title-en {
    color: #000;
    font-family: "Zen Antique", serif;
    padding-bottom: 20px;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: 37px;
}

.plan-menu-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 2.5em;
    font-size: 17px;
    margin: 0 auto 30px;
    max-width: 80%;
    width: 480px;
}

.plan-menu-section-title::before,
.plan-menu-section-title::after {
    content: "";
    border-bottom: 1px solid #434343;
    flex: 1;
    height: 1px;
    width: 100%;
}

.plan-menu-section-lead {
    color: #000;
    font-family: "Zen Antique";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    display: inline-block;
    max-width: 100%;
}

.plan-menu-intro-header {
    padding: 10px 0 30px;
}

.plan-menu-intro-title {
    font-size: 25px;
    line-height: 1.7;
    text-align: center;
}

.plan-menu-intro-subsection {
    display: flex;
    align-items: flex-start;
    max-width: 1160px;
    margin: 0 auto;
    gap: 40px;
    margin-top: 85px;
    position: relative;
}

.plan-menu-intro-subsection-figure img {
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,.3));
    width: 557px;
    height: auto;
    aspect-ratio: 557/371;
    padding-left: 20px;
}

/* Plan Menu Intro Subsection Layout */
#plan-menu-intro .plan-menu-intro-subsection:nth-of-type(odd) {
    flex-direction: row;
}

#plan-menu-intro .plan-menu-intro-subsection:nth-of-type(odd) .plan-menu-intro-subsection-figure {
    order: 2;
}

#plan-menu-intro .plan-menu-intro-subsection:nth-of-type(odd) .plan-menu-intro-subsection-content {
    order: 1;
}

#plan-menu-intro .plan-menu-intro-subsection:nth-of-type(even) {
    flex-direction: row-reverse;
}

#plan-menu-intro .plan-menu-intro-subsection:nth-of-type(even) .plan-menu-intro-subsection-figure {
    order: 1;
}

#plan-menu-intro .plan-menu-intro-subsection:nth-of-type(even) .plan-menu-intro-subsection-content {
    order: 2;
}

.plan-menu-intro-subsection-content {
    flex: 0 1 auto;
    padding-top: 40px;
    position: relative;
    width: min(60vw, 554px);
    z-index: 2;
}

.plan-menu-intro-subsection-header {
    border-bottom: 1px solid #452C2D;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1em;
    padding-bottom: 2px;
}

.plan-menu-intro-subsection-title {
    font-size: 30px;
    margin-bottom: 0;
}

.plan-menu-intro-subsection-title-en {
    color: #90713B;
    text-align: right;
    font-family: "Zen Antique";
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.plan-menu-intro-subsection-text {
    color: #000;
    font-family: "Zen Antique";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}

.plan-menu-intro-subsection-deco {
    position: absolute;
    z-index: 1;
}

.plan-menu-intro-subsection-deco.deco1 {
    top: 58%;
    left: -75px;
}

.plan-menu-intro-subsection-deco.deco2 {
    bottom: -22%;
    right: -90px;
}

.plan-menu-intro-subsection-deco.deco3 {
    bottom: -16%;
    left: 5px;
}

.plan-menu-intro-subsection-deco img {
    width: 100%;
    height: auto;
    opacity: 0.6;
}

/* Section Styles */
.memorial-intro-container,
.memorial-plans-container,
.memorial-rooms-container,
.memorial-service-container {
    max-width: 1160px;
    margin: 0 auto;
}

.memorial-takeout-container {
    /* max-width: 1160px; */
    margin: 0 auto;
    position: relative;
    padding: 0 80px 150px 80px;
    margin-bottom: 120px;
}

.memorial-section-title-en {
    color: #000;
    font-family: "Zen Antique";
    font-size: 27px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.memorial-section-title {
    color: #000;
    font-family: "Zen Antique";
    font-size: clamp(14px, 1.3vw, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.memorial-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.divider-line {
    width: 133px;
    height: 1px;
    background-color: var(--color-border);
}

.divider-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.memorial-intro-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* Plans Section */
.memorial-background-wrapper {
    background-image: url(../images/memorial-bg.jpg);
    background-size: calc(100% - 80px) auto;
    background-position: center top;
    background-repeat: repeat-y;
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
}

.memorial-plans {
    padding: 80px 20px 60px 20px;
    position: relative;
}

.memorial-plans .plan-menu-section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.memorial-plans-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 80px 50px 80px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

/* Memorial Plan Item Layout */
.memorial-plan-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.memorial-plan-item:nth-of-type(2) {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 20px;
}

.memorial-plans-container .memorial-plan-item .memorial-plan-content {
    flex: 0 1 auto;
}

.memorial-plans-container .memorial-plan-item .memorial-plan-image {
    padding-top: 40px;
}

.memorial-plan-content {
    min-width: 0;
    padding: clamp(30px, 4.2vw, 50px) clamp(10px, 0.8vw, 20px) 0 clamp(15px, 1.7vw, 20px);
    max-width: clamp(300px, 63vw, 527px);
}

.memorial-plan-content.type-2 {
    padding: clamp(30px, 4.2vw, 50px) clamp(15px, 1.7vw, 20px) 0 clamp(10px, 0.8vw, 20px);
    max-width: clamp(300px, 63vw, 527px);
    margin-left: 0 !important;
    margin-right: auto !important;
}

.memorial-plan-image {
    flex: 0 0 auto;
    width: clamp(250px, 36vw, 432px);
    max-width: 100%;
}

.memorial-plan-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.memorial-plan-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.memorial-plan-location {
    color: #000;
    font-family: "Zen Antique";
    font-size: clamp(13px, 1.4vw, 17px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.memorial-plan-name-price {
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.memorial-plan-name {
    color: #000;
    font-family: "Zen Antique";
    font-size: clamp(20px, 2.25vw, 27px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.memorial-plan-price {
    color: #000;
    font-family: "Zen Antique";
    font-size: clamp(20px, 2.25vw, 27px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(26px, 2.9vw, 35px);
    margin-left: auto;
}

.memorial-plan-divider {
    width: clamp(300px, 56vw, 527px);
    height: 0;
    padding: 2px 0;
    background-color: transparent;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin: clamp(12px, 1.1vw, 16px) 0 clamp(30px, 2.8vw, 40px) 0;
    box-sizing: border-box;
}

.memorial-plan-divider-takeout {
    margin: 16px 0;
}

.memorial-plan-divider-bottom {
    width: clamp(300px, 56vw, 527px);
    height: 0;
    padding: 2px 0;
    background-color: transparent;
    border-top: 1px solid #000;
    margin: clamp(15px, 1.4vw, 20px) 0;
    box-sizing: border-box;
}

/* Memorial Plan Menu Layout */
.memorial-plan-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: clamp(20px, 2.1vw, 30px);
    width: 100%;
    max-width: clamp(300px, 56vw, 527px);
}

.memorial-plan-menu-left {
    display: flex;
    width: 25%;
    flex-direction: column;
    padding-left: 20px;
    min-width: 0;
}

.memorial-plan-menu-right {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Takeout Plan Menu */
.memorial-plan-menu-left-takeout {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding-left: 10px;
}

.memorial-plan-menu-right-takeout {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding-left: 0;
}

.memorial-plan-menu-divider-vertical {
    display: block !important;
    width: 1px !important;
    height: clamp(150px, 20vw, 240px) !important;
    min-width: 1px !important;
    min-height: 0 !important;
    max-width: 1px !important;
    max-height: 240px !important;
    background-color: #000 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 20px;
    border: none;
}

.memorial-plan-menu-divider-vertical-takeout {
    display: block !important;
    width: 1px !important;
    height: 150px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    background-color: #000 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 20px;
    border: none;
}

.memorial-plan-menu-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.memorial-plan-menu-item:last-child {
    border-bottom: none;
}

.memorial-plan-menu-item.memorial-plan-menu-main {
    margin-top: 0;
    align-self: start;
}

.menu-category {
    color: #000;
    font-family: "Zen Antique";
    font-size: clamp(14px, 1.5vw, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(28px, 3.1vw, 37px);
}

.menu-item {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.6;
}

/* Takeout Section */
.memorial-takeout-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(300px, 81vw, 974px);
    height: clamp(50px, 5vw, 60px);
    margin: 0 auto;
    margin-bottom: clamp(25px, 3vw, 36px);
    background: #D9D9D9;
}

.memorial-takeout-text {
    color: #000;
    font-family: "Zen Antique";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin-bottom: 60px;
}

.memorial-takeout-plans {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    gap: 40px;
    margin-bottom: 40px;
}

.memorial-takeout-plan {
    display: flex;
    flex-direction: row; /* メニューを左、画像を右に配置 */
    align-items: flex-start;
    gap: 30px;
    padding: 0;
}

.memorial-takeout-plan-image {
    flex: 0 0 auto;
    width: clamp(300px, 42vw, 452px);
    max-width: 100%;
}

.memorial-takeout-plan-image img {
    width: 100%;
    height: auto;
    display: block;
}

.memorial-takeout-plan-content {
    /* flex: 1 1 auto; */
    min-width: 0;
    padding-top: 30px;
}

.memorial-takeout-plan-header {
    margin-bottom: 0;
}

.memorial-takeout-plan-price {
    color: #000;
    font-family: "Zen Antique";
    font-size: clamp(20px, 2.5vw, 27px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: right;
    margin-right: 7px;
}

.memorial-takeout-plan-price-amount {
    margin-left: 20px;
}

.memorial-takeout-plan-divider {
    height: 2px;
    background-color: var(--color-border);
    margin: 15px 0;
}

.memorial-takeout-plan-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 527px;
}

.takeout-menu-item {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.takeout-menu-item:last-child {
    border-bottom: none;
}

.memorial-takeout-note {
    color: #000;
    font-family: "Zen Antique";
    font-size: clamp(14px, 1.8vw, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(25px, 3.5vw, 40px);
    margin-bottom: 0;
}

.memorial-takeout-disclaimer {
    width: clamp(300px, 81vw, 972px);
    height: auto;
    min-height: clamp(50px, 5.8vw, 69px);
    color: #FFF;
    font-family: "Zen Antique";
    font-size: clamp(13px, 1.5vw, 17px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(24px, 3.5vw, 40px);
    background: rgba(79, 78, 78, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: clamp(10px, 1.2vw, 15px);
}

.memorial-takeout-disclaimer-br {
    display: none;
}

/* Food Presentation Section */
.memorial-food-presentation {
    padding: 0;
}

.memorial-food-presentation-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
}

.memorial-food-presentation-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.memorial-food-presentation-pc {
    display: block;
}

.memorial-food-presentation-sp {
    display: none;
}

/* Rooms Section */
.plan-menu-rooms-container {
    display: flex;
    align-items: flex-end;
    column-gap: 1.5%;
    justify-content: space-between;
    margin-top: 120px;
    position: relative;
}

.plan-menu-rooms-image-l {
    max-width: 64%;
    position: relative;
    width: 728px;
}

.plan-menu-rooms-image-l img {
    width: 100%;
    height: auto;
    display: block;
}

.plan-menu-rooms-name {
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    background-color: #c00;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 20px 15px;
    position: absolute;
    top: 0;
    right: -20px;
    z-index: 2;
    line-height: 1.2;
    letter-spacing: 0.1em;
}

.plan-menu-rooms-image-l-caption {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin-top: 20px;
    max-width: 700px;
}

.plan-menu-rooms-image-s {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    max-width: 34.5%;
    width: 378px;
}

/* 個室セクション */
#plan-menu-rooms-private {
    grid-template-columns: 1.8fr 1fr;
}

#plan-menu-rooms-private .plan-menu-rooms-image-l {
    grid-column: 1;
}

#plan-menu-rooms-private .plan-menu-rooms-image-s {
    grid-column: 2;
}

/* 大広間セクション */
#plan-menu-rooms-hall {
    grid-template-columns: 1fr 1.8fr;
}

#plan-menu-rooms-hall .plan-menu-rooms-image-s {
    grid-column: 1;
}

#plan-menu-rooms-hall .plan-menu-rooms-image-l {
    grid-column: 2;
}

#plan-menu-rooms-hall .plan-menu-rooms-name {
    left: -20px;
    right: auto;
    white-space: nowrap;
}

/* 装飾用の四角 */
.plan-menu-rooms-private-deco {
    aspect-ratio: 1 / 1;
    position: absolute;
    z-index: 1;
}

.plan-menu-rooms-private-deco.square1 {
    background-color: #90713b;
    bottom: 39%;
    right: -16px;
    width: 29px;
}

.plan-menu-rooms-private-deco.square2 {
    background-color: #D1AF75;
    bottom: 34.5%;
    right: -22px;
    width: 19px;
}

.plan-menu-rooms-private-deco.square3 {
    background-color: #90713b;
    top: 57.5%;
    left: -12px;
    width: 33px;
}

.plan-menu-rooms-private-deco.square4 {
    background-color: #D1AF75;
    bottom: -32px;
    left: 31%;
    width: 38px;
}

.plan-menu-rooms-private-deco.square5 {
    background-color: #90713b;
    bottom: -55px;
    left: 34.5%;
    width: 13px;
}

/* Service Section */
.memorial-service {
    background-image: url(../images/service-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.memorial-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.memorial-service-item {
    background-color: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
}

.memorial-service-image {
    margin-bottom: 20px;
    background-color: var(--color-bg-light);
}

.memorial-service-image img {
    width: 100%;
    height: auto;
}

.memorial-service-description {
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* Plan Menu Rooms Styles */
.plan-menu-interlude img {
    height: auto;
    width: 100%;
}

#plan-menu-grandmenu {
    background: url(../img/plan/menu/bg_grandmenu_pc.webp) no-repeat top center / cover;
}

#plan-menu-grandmenu .plan-menu-section-title-en {
    color: #fff;
}

#plan-menu-grandmenu .plan-menu-section-title {
    color: #fff;
}

#plan-menu-grandmenu .plan-menu-section-title::before,
#plan-menu-grandmenu .plan-menu-section-title::after {
    border-bottom-color: #fff;
}

#plan-menu-grandmenu .plan-menu-section-lead {
    color: #fff;
}

.plan-menu-grandmenu-container {
    display: flex;
    justify-content: space-between;
}

.plan-menu-grandmenu-box {
    max-width: 32%;
    text-align: center;
    width: 340px;
}

.plan-menu-grandmenu-box-figure {
    margin-bottom: 30px;
}

.plan-menu-grandmenu-box-figure img {
    height: auto;
    width: 100%;
}

.plan-menu-grandmenu-box-name {
    color: #fff;
    display: flex;
    align-items: center;
    column-gap: .75em;
    justify-content: center;
    margin-bottom: 20px;
}

.plan-menu-grandmenu-box-name .floor {
    border: 1px solid #fff;
    color: #fff;
    font-size: 13px;
    min-width: 55px;
}

.plan-menu-grandmenu-box-name .shopname {
    color: #fff;
    font-size: 17px;
}

.plan-menu-grandmenu-box-menu {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    color: #fff;
    font-size: 14px;
    margin-bottom: 0;
    padding: 2px 0;
}

.plan-menu-grandmenu-box-btnarea {
    margin-top: 30px;
}

.btn-grandmenu {
    background-color: #90713b;
    color: #fff;
    display: block;
    font-size: 12px;
    padding: 18px;
    transition: .2s;
}

.btn-grandmenu:hover {
    background-color: #B08A49;
}

#plan-menu-rooms {
    background-image: url(../images/rooms-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .plan-menu-rooms-container {
    display: flex;
    align-items: flex-end;
    column-gap: 1.5%;
    justify-content: space-between;
    margin-top: 120px;
    position: relative;
}

    #plan-menu-rooms-hall {
    margin-top: 180px;
    }

.plan-menu-rooms-image-l {
    max-width: 64%;
    position: relative;
    width: 728px;
}

.plan-menu-rooms-image-s {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    max-width: 34.5%;
    width: 378px;
    }

#plan-menu-rooms-hall .plan-menu-rooms-image-s {
    justify-content: flex-end;
    }

    .plan-menu-rooms-name {
    background-color: #840E0E;
    box-shadow: -4px 6px 0 #90713b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 128px;
    font-size: 20px;
    letter-spacing: .2em;
    position: absolute;
    top: -35px;
    width: 86px;
    writing-mode: vertical-rl;
    z-index: 1;
}

#plan-menu-rooms-private .plan-menu-rooms-name {
    right: -35px;
}

#plan-menu-rooms-hall .plan-menu-rooms-name {
    left: -35px;
    }

    .plan-menu-rooms-image-l-caption {
    font-size: 16px;
    margin-top: 30px;
    padding: 0 0 18px 18px;
    color: #434343;
    font-family: "Zen Antique";
    font-weight: 400;
    line-height: normal;
}

#plan-menu-rooms-hall .plan-menu-rooms-image-l-caption {
    padding-bottom: 80px;
}

.plan-menu-rooms-private-deco {
    aspect-ratio: 1 / 1;
    position: absolute;
    z-index: 1;
    }

.plan-menu-rooms-private-deco.square1 {
    background-color: #90713b;
    bottom: 39%;
    right: -16px;
    width: 29px;
    }

.plan-menu-rooms-private-deco.square2 {
    background-color: #D1AF75;
    bottom: 34.5%;
    right: -22px;
    width: 19px;
}

.plan-menu-rooms-private-deco.square3 {
    background-color: #90713b;
    top: 57.5%;
    left: -12px;
    width: 33px;
    }

.plan-menu-rooms-private-deco.square4 {
    background-color: #D1AF75;
    bottom: -32px;
    left: 31%;
    width: 38px;
}

.plan-menu-rooms-private-deco.square5 {
    background-color: #90713b;
    bottom: -55px;
    left: 34.5%;
    width: 13px;
}

#plan-menu-service {
    background-image: url(../images/service-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#plan-menu-service .plan-menu-section-inner {
    width: 1245px;
}

.plan-menu-service-container {
    display: flex;
    justify-content: space-between;
}

.plan-menu-service-box {
    max-width: 32%;
    width: 384px;
}

.plan-menu-service-box-figure {
    margin-bottom: 25px;
}

.plan-menu-service-box-figure img {
    height: auto;
    width: 100%;
}

.plan-menu-service-box-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 3em;
    text-align: center;
    color: #434343;
    font-family: "Zen Antique";
    font-weight: 400;
}

.plan-menu-service-box-text {
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0;
    margin-bottom: 0;
    color: #434343;
    font-family: "Zen Antique";
    font-weight: 400;
}

/* Footer */
.sh-footer {
    background-color: #2C2C2C;
    color: white;
    padding: 60px 20px 30px;
}

.sh-footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.sh-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.sh-footer-info {
    text-align: right;
}

.sh-footer-address,
.sh-footer-tel {
    font-size: 14px;
    margin-bottom: 5px;
}

.sh-footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sh-footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Hamburger Menu */
.c-hamburger {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 24px;
    height: 20px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    top: 10px;
}

.c-hamburger:focus {
    outline: none;
}

.c-hamburger span {
    display: block;
    position: absolute;
    top: 9px;
    left: 0px;
    right: 0px;
    height: 2px;
    background: #545454;
}

.c-hamburger span::before,
.c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #545454;
    content: "";
}

.c-hamburger span::before {
    top: -9px;
}

.c-hamburger span::after {
    bottom: -9px;
}

.c-hamburger--htx {
    background-color: transparent;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
    transition-property: top, transform;
}

.c-hamburger--htx span::after {
    transition-property: bottom, transform;
}

.c-hamburger--htx.is-active span {
    background: transparent !important;
}

.c-hamburger--htx.is-active span::before {
    top: 0;
    transform: rotate(45deg);
    width: 26px;
    left: -4px;
    margin-left: 3px;
}

.c-hamburger--htx.is-active span::after {
    bottom: 0;
    transform: rotate(-45deg);
    width: 26px;
    left: -4px;
    margin-left: 3px;
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
    transition-delay: 0s, 0.3s;
}

/* レスポンシブデザイン */
@media screen and (max-width: 1025px) {
    .primary-mobile {
        display: block;
    }

    .primary-desktop {
        display: none;
    }

    .sh-header-mobile {
        display: block;
    }
}

@media screen and (min-width: 1026px) {
    .primary-mobile {
        display: none;
    }

    .primary-desktop {
        display: block;
    }

    .sh-header-mobile {
        display: none;
    }
}

@media screen and (max-width: 1140px) {
    /* Background Wrapper */
    .memorial-background-wrapper {
        background-image: url(../images/memorial-bg.jpg) !important;
        background-size: calc(100% - 80px) auto !important;
        background-position: center top !important;
        background-repeat: repeat-y !important;
        max-width: 100% !important;
        width: 100%;
        min-height: 100%;
        padding-bottom: 40px; /* Takeout Section まで背景が表示されるように */
    }

    .memorial-plans {
        padding-bottom: 0;
    }

    .memorial-plan-item {
        flex-direction: column !important;
        align-items: center;
    }

    .memorial-plans-container .memorial-plan-item:nth-of-type(2) {
        flex-direction: column !important;
    }

    .memorial-plans-container .memorial-plan-item:nth-of-type(2) .memorial-plan-content {
        margin: 0 auto;
    }

    .memorial-plan-content.type-2 {
        margin: 0 auto !important;
    }
    
    .memorial-plans-container .memorial-plan-item:nth-of-type(2) .memorial-plan-image {
        padding-top: 0;
        padding-bottom: 10px;
    }
    
    .memorial-plans-container .memorial-plan-item:nth-of-type(3) {
        gap: 20px;
    }

    .memorial-plans-container .memorial-plan-item .memorial-plan-image {
        padding-top: 0!important;
        padding-bottom: 20px;
    }
    
    .memorial-plan-image {
        width: clamp(200px, 80vw, 480px);
        max-width: 100%;
        margin: 0 auto;
    }
    
    .memorial-plan-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .memorial-plan-content {
        width: 100%;
        padding: 0;
    }
    
    /* Takeout Plan */
    .memorial-takeout-plan {
        flex-direction: column !important;
        gap: 20px;
        align-items: center;
    }

    .memorial-takeout-plan-image {
        order: 1 !important;
        width: clamp(200px, 80vw, 480px);
        max-width: 100%;
        margin: 0 auto 20px;
    }
    
    .memorial-takeout-plan-image img {
        width: 100%;
        height: auto;
    }
    
    .memorial-takeout-plan-content {
        order: 2 !important;
        padding-top: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: clamp(300px, 56vw, 527px);
    }
    
    .memorial-takeout-plan-price {
        font-size: clamp(18px, 2.2vw, 20px);
        text-align: left;
        margin-right: 0;
    }
    
    .memorial-takeout-plan-price-amount {
        margin-left: 10px;
        font-size: clamp(18px, 2.2vw, 20px);
    }
    
    .memorial-takeout-plan-menu {
        flex-direction: column !important;
        gap: 0 !important;
        max-width: 100%;
        align-items: center;
    }
    
    .memorial-plan-menu-right-takeout {
        padding-left: 10px;
    }
    
    .memorial-plan-menu-divider-vertical-takeout {
        display: none !important;
    }
    
    /* Takeout Container: 左端をPlans Containerと揃える */
    .memorial-takeout-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0;
    }
    
    .memorial-takeout-plans {
        max-width: 70%;
        text-align: center;
    }
}

@media screen and (max-width: 900px) {
    /* Rooms SP */
    .plan-menu-section-inner {
        padding: 50px 10% 60px;
        width: 100%;
    }

    .plan-menu-section-header {
        margin-bottom: 35px;
    }

    .plan-menu-section-title-en {
        font-size: 25px;
    }

    .plan-menu-section-title {
        column-gap: 1em;
        font-size: 15px;
        margin-bottom: 30px;
    }

    .plan-menu-rooms-container {
        flex-wrap: wrap;
        row-gap: 10px;
        margin-top: 40px;
    }

    .plan-menu-rooms-image-l {
        max-width: inherit;
        width: 100%;
    }

    #plan-menu-rooms-private .plan-menu-rooms-name {
        right: -14px;
        writing-mode: vertical-rl !important;
        text-orientation: upright !important;
        display: block !important;
        align-items: unset !important;
        justify-content: unset !important;
        flex-direction: unset !important;
        line-height: 1.2 !important;
        text-align: center !important;
        padding: 10px 17px !important;
        white-space: normal !important;
    }

    .plan-menu-rooms-image-l-caption {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 25px;
        padding: 0;
    }

    .plan-menu-rooms-image-s {
        display: none;
    }

    .plan-menu-rooms-private-deco.square1 {
        bottom: 27%;
        right: 7%;
        width: 15px;
    }

    .plan-menu-rooms-private-deco.square2 {
        bottom: 24%;
        right: 3.5%;
        width: 10px;
    }

    .plan-menu-rooms-private-deco.square3 {
        top: 48%;
        left: auto;
        right: 0;
        width: 13px;
    }

    .plan-menu-rooms-private-deco.square4 {
        background-color: #D1AF75;
        bottom: 28%;
        left: 5%;
        width: 15px;
    }

    .plan-menu-rooms-private-deco.square5 {
        bottom: 26.5%;
        left: 3%;
        width: 5px;
    }

    #plan-menu-rooms-hall {
        margin-top: 60px;
    }

    .plan-menu-rooms-image-l {
        max-width: inherit;
        width: 100%;
    }

    #plan-menu-rooms-hall .plan-menu-rooms-name {
        left: -14px;
        white-space: nowrap;
        padding: 11px 17px;
    }

    .plan-menu-rooms-name {
        box-shadow: -2px 4px 0 #90713b;
        height: 77px;
        font-size: 16px;
        top: -16px;
        width: 52px;
        display: block !important;
        align-items: unset !important;
        justify-content: unset !important;
        flex-direction: unset !important;
        background-color: #840E0E !important;
        color: #fff !important;
        position: absolute !important;
        z-index: 1 !important;
    }

    .sh-table.sh-titlebar-height-large {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .sh-table.sh-titlebar-height-large .titlebar-title,
    .sh-table.sh-titlebar-height-large .title-level {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .sh-table.sh-titlebar-height-large .titlebar-title {
        margin-bottom: 10px;
    }
    
    .sh-titlebar .titlebar-title h1 {
        text-align: center;
    }
    
    .sh-titlebar .title-level {
        text-align: center;
        padding-right: 0;
    }

    /* Plan Menu Intro SP */
    .plan-menu-intro-subsection-text {
        font-size: 15px;
        line-height: 2;
    }
    /* Service SP */
    #plan-menu-service {
        background-image: url(../images/service-bg.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    #plan-menu-service .plan-menu-section-inner {
        width: 100%;
    }
    .plan-menu-service-container {
        flex-wrap: wrap;
        row-gap: 60px;
    }
    .plan-menu-service-box {
        max-width: inherit;
        width: 100%;
    }
    .plan-menu-service-box-title {
        display: block;
        font-size: 18px;
        margin-bottom: 20px;
        min-height: inherit;
    }
    .plan-menu-service-box-text {
        font-size: 16px;
    }

    /* Memorial Plans SP */
    .memorial-plans-container .memorial-plan-item .memorial-plan-image {
        padding-top: 0!important;
        padding-bottom: 20px;
    }

    .memorial-plan-item:nth-of-type(2) {
        gap: 0;
    }

    .memorial-takeout-plan-image {
        order: 1 !important;
        width: clamp(200px, 70vw, 480px);
        max-width: 100%;
        margin: 0 auto 20px;
    }

    .memorial-plan-content.type-2 {
        padding: 0!important;
    }

    .memorial-plans-container .memorial-plan-item .memorial-plan-content {
        flex: 0 1 auto;
        margin: 0 auto;
    }

    .memorial-plan-name-price {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .memorial-plans-container .memorial-plan-item:nth-of-type(3) {
        gap: 0;
    }

    .memorial-background-wrapper {
        background-size: calc(100% - 80px) auto;
        background-position: center top;
        background-repeat: repeat-y;
    }

    .plan-menu-intro-header {
        padding: 10px 0 0;
    }
    .plan-menu-intro-title {
        font-size: 16px;
    }
    #plan-menu-intro .plan-menu-intro-subsection {
        flex-direction: column !important;
        gap: 0 !important;
        margin-top: 75px !important;
    }

    #plan-menu-intro .plan-menu-intro-subsection:nth-of-type(odd) {
        flex-direction: column !important;
    }

    #plan-menu-intro .plan-menu-intro-subsection:nth-of-type(even) {
        flex-direction: column !important;
    }

    .plan-menu-intro-subsection-content {
        display: contents;
    }
    #plan-menu-intro .plan-menu-intro-subsection:nth-of-type(odd) .plan-menu-intro-subsection-content,
    #plan-menu-intro .plan-menu-intro-subsection:nth-of-type(even) .plan-menu-intro-subsection-content {
        display: contents;
    }

    .plan-menu-intro-subsection-header {
        order: 1;
    }

    .plan-menu-intro-subsection-figure {
        flex: 1 1 auto;
        margin-bottom: 25px;
        max-width: 100%;
        order: 2;
        padding-top: 0;
        text-align: center;
    }
    .plan-menu-intro-subsection-figure img {
        height: auto;
        width: 100%;
        padding-left: 0;
        margin: 0;
    }
    #plan-menu-intro .plan-menu-intro-subsection:nth-of-type(odd) .plan-menu-intro-subsection-figure,
    #plan-menu-intro .plan-menu-intro-subsection:nth-of-type(even) .plan-menu-intro-subsection-figure {
        order: 2;
    }
    .plan-menu-intro-subsection-header {
        position: static;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
        order: 1;
    }
    .plan-menu-intro-subsection-subtitle {
        font-size: 16px;
    }
    .plan-menu-intro-subsection-title {
        font-size: 25px;
    }
    .plan-menu-intro-subsection-title-en {
        font-size: 15px;
    }
    .plan-menu-intro-subsection-text {
        font-size: 16px;
        line-height: 1.5;
        order: 3;
    }
    .plan-menu-intro-subsection-deco.deco1 {
        top: 85%;
        left: -10%;
    }
    .plan-menu-intro-subsection-deco.deco2 {
        right: -10%;
    }
    .plan-menu-intro-subsection-deco.deco3 {
        left: 0;
    }
}

/* 900px */
@media screen and (max-width: 900px) {
    /* Container SP */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
}

    /* Titlebar SP */
    .sh-titlebar {
        height: 200px;
}

    .sh-titlebar .container {
        padding-left: 20px !important;
    }
    
    .sh-titlebar-height-large {
        height: 200px;
}

    .sh-table.sh-titlebar-height-large {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
}

    .sh-table.sh-titlebar-height-large .titlebar-title,
    .sh-table.sh-titlebar-height-large .title-level {
        display: block;
        width: 100%;
        text-align: center;
}

    .sh-table.sh-titlebar-height-large .titlebar-title {
        margin-bottom: 10px;
    }
    
    .sh-titlebar .titlebar-title h1 {
        font-size: 24px;
    text-align: center;
    }
    
    .sh-titlebar .title-level {
        padding-right: 0;
        text-align: center;
}

    .breadcrumbs {
        font-size: 14px;
        padding: 0;
    }
    
    .breadcrumbs .separator {
        margin: 0 10px;
        font-size: 14px;
}

    /* Fixed Menu SP */
    #fixed-menu {
    display: flex;
        flex-direction: column;
    }
    
    #fixed-menu .__tel,
    #fixed-menu .__reserve {
        flex: 1;
        padding: 12px;
        font-size: 14px;
    }

    /* Plan Menu Grandmenu SP */
    #plan-menu-grandmenu {
        background-image: url(../img/plan/menu/bg_grandmenu_sp.webp);
    }
    .plan-menu-grandmenu-container {
        flex-wrap: wrap;
        row-gap: 75px;
    }
    .plan-menu-grandmenu-box {
        max-width: inherit;
        width: 100%;
    }
    .plan-menu-grandmenu-box-figure {
        margin-bottom: 20px;
    }
    .plan-menu-grandmenu-box-name {
        column-gap: .5em;
        line-height: 1.5;
    }
    .plan-menu-grandmenu-box-name .floor {
        font-size: 15px;
        min-width: 60px;
}
.plan-menu-grandmenu-box-name .shopname {
        font-size: 16px;
}
.plan-menu-grandmenu-box-menu {
        font-size: 15px;
    }
.plan-menu-grandmenu-box-btnarea {
        margin-top: 20px;
}
.btn-grandmenu {
        font-size: 16px;
        padding: 11px;
    }

    /* Memorial Plans SP */
        .memorial-background-wrapper {
        background-image: url(../images/memorial-bg.jpg) !important;
        background-size: calc(100% - 20px) auto !important;
        background-position: center top !important;
        background-repeat: repeat-y !important;
}

    .memorial-plans {
        padding: 40px 15px 0 15px;
    }

    .memorial-plans .plan-menu-section-header {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 40px;
    }
    
    .memorial-plans-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px 30px 15px;
    }
    
    .memorial-plans-container .memorial-plan-item .memorial-plan-content {
        flex: 0 1 auto;
        margin: 0 auto;
}

    .memorial-plan-header {
    flex-direction: column;
        margin-bottom: 10px;
}

    .memorial-plan-location {
        text-align: center;
        font-size: 14px;
    }
    
    .memorial-plan-name {
        font-size: 16px;
}

    .memorial-plan-price {
        font-size: 15px;
        margin-left: 0;
        text-align: center;
    }
    
    .memorial-plan-price.type-2 {
        margin-right: 0;
        margin-left: 0;
        text-align: center;
    }
    
    .memorial-plan-divider {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
}

    .memorial-plan-divider-bottom {
        width: 100%;
        max-width: 100%;
        margin: 15px 0;
    }

    .memorial-plan-divider-takeout {
        margin: 10px 0 20px 0;
    }

    .memorial-plan-menu {
        flex-direction: column !important;
        gap: 0 !important;
        max-width: 100%;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto;
        width: auto;
}

    .memorial-plan-menu-left {
        width: 100%;
        padding-left: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
}

    .memorial-plan-menu-right {
        width: 100%;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
}

    .memorial-plan-menu-divider-vertical {
        display: none !important;
}

    .memorial-plan-menu-item {
        flex-direction: row;
        padding: 0;
}

    .memorial-plan-menu-item.memorial-plan-menu-main {
        align-self: center !important;
}

    .memorial-plan-menu-left .memorial-plan-menu-item,
    .memorial-plan-menu-right .memorial-plan-menu-item {
        margin-bottom: 0;
    }

    .menu-category {
        font-size: 15px;
        line-height: 1.8;
}

    .menu-item-note {
        font-size: 13px;
        line-height: 1.8;
        margin-top: 3px;
}

    /* Memorial Takeout SP */
    .memorial-takeout-container {
        padding: 20px 15px 40px 15px;
        margin-bottom: 0;
}

    .memorial-takeout-header {
        width: 80%;
        height: auto;
        padding: 10px;
        margin-bottom: 14px;
}

    .memorial-takeout-header .memorial-section-title {
        font-size: 17px;
    }
    
    .memorial-takeout-text {
        font-size: 14px;
        line-height: 1.8;
        padding: 0 40px;
        text-align: left;
        margin-bottom: 30px;
    }
    
    .memorial-takeout-plans {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 0;
}

    .memorial-plan-menu-left-takeout {
        width: 100%;
        padding-left: 0;
    margin-bottom: 0;
    }
    
    .memorial-plan-menu-right-takeout {
        width: 100%;
        padding-left: 0;
    }
    
    .memorial-takeout-plan-content {
        align-items: center;
}

    .memorial-takeout-plan-menu {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto;
        width: auto;
        max-width: 100%;
    }

    .memorial-plan-menu-left-takeout,
    .memorial-plan-menu-right-takeout {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .memorial-plan-menu-divider-vertical-takeout {
        display: none !important;
    }
    
    .memorial-plan-menu-left-takeout .menu-category,
    .memorial-plan-menu-right-takeout .menu-category {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .memorial-takeout-note {
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 40px !important;
        width: 115%;
        margin: 0 auto;
        display: block;
        text-align: left;
        transform: translateX(-7.5%);
    }
    
    .memorial-takeout-disclaimer {
        width: 80%;
        height: auto;
        padding: 15px;
        font-size: 13px;
        line-height: 1.8;
    }
    
    /* Memorial Food Presentation SP */
    .memorial-food-presentation-container img {
        width: 100%;
        height: auto;
    }

    .memorial-food-presentation-pc {
        display: none !important;
    }

    .memorial-food-presentation-sp {
        display: block !important;
    }

    /* Service SP */
    #plan-menu-service {
        background-image: url(../images/service-bg.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    #plan-menu-service .plan-menu-section-inner {
        width: 100%;
    }
    .plan-menu-service-container {
        flex-wrap: wrap;
        row-gap: 60px;
    }
    .plan-menu-service-box {
        max-width: inherit;
        width: 100%;
    }
    .plan-menu-service-box-title {
        display: block;
        font-size: 18px;
        margin-bottom: 20px;
        min-height: inherit;
    }
    .plan-menu-service-box-text {
        font-size: 16px;
    }
}

/* PC幅（901px以上）でSP版を非表示 */
@media screen and (min-width: 901px) {
    .memorial-food-presentation-sp {
        display: none !important;
    }
}

@media screen and (max-width: 700px) {
    .memorial-takeout-disclaimer-br {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .memorial-plan-name {
        font-size: 16px;
    }

    .memorial-plan-price {
        font-size: 15px;
    }

    .memorial-takeout-plan-price {
        font-size: 15px;
    }

    .memorial-takeout-plan-price-amount {
        font-size: 15px;
    }
}

/* Image Placeholder */
.image-placeholder {
    background-color: var(--color-bg-light);
    padding: 40px;
    text-align: center;
    color: var(--color-text-light);
    border: 2px dashed var(--color-border);
}

.sh-titlebar .titlebar-title h1,
.sh-titlebar .titlebar-title h2 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: bold;
    }

.sh-titlebar .title-level {
    text-align: right;
}

.sh-titlebar .title-level .separator {
    font-size: 0;
}

.sh-titlebar .title-level .separator:after {
    display: inline-block;
    font-family: 'simple-line-icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: ">";
    font-size: 16px;
    padding: 0 12px;
    }

.sh-titlebar .title-level .breadcrumbs {
    font-size: 14px;
    margin: 0;
    margin-bottom: -4px;
    position: relative;
}

.sh-titlebar .title-level .item-current {
    font-weight: bold;
}

.sh-titlebar-center {
        text-align: center;
    }

.sh-titlebar-center .titlebar-title {
    margin-bottom: 10px;
}

.sh-titlebar-center .title-level {
        text-align: center;
    }

.sh-titlebar-center .title-level .breadcrumbs {
    margin-bottom: 0;
    opacity: 0.8;
}

/* Titlebar - Responsive Options */
@media (max-width: 800px) {
    .sh-titlebar-mobile-layout-compact .container > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 22px 0;
    }

    .sh-titlebar-mobile-layout-compact .container > .sh-table > .sh-table-cell {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .sh-titlebar-mobile-layout-compact .title-level .breadcrumbs,
    .sh-titlebar-mobile-layout-compact .sh-titlebar-desc {
        font-size: 13px;
}

    .sh-titlebar-mobile-layout-compact .titlebar-title h2 {
        font-size: 18px !important;
        margin-bottom: 0px !important;
    }

    .sh-titlebar-mobile-layout-compact:not(.sh-titlebar-mobile-title-off) .title-level {
        margin-top: 10px !important;
    }

    .sh-titlebar-mobile-title-off:not(.sh-titlebar-light) .titlebar-title h2 {
        display: none;
}

    .sh-titlebar-mobile-title-off:not(.sh-titlebar-light) .title-level {
        margin-top: 0px !important;
    }
}

/* Theme Responsive Styles */

@media (min-width: 1250px) {

	/* Page Container */
	.container,
	.post-password-form {
		max-width: 1200px!important;
		width: 1200px!important;
	}
	
	.post-password-form { margin-top:100px; margin-bottom:100px;}

}

@media (max-width: 1250px) {

	/* Page Container */
	.container,
	.post-password-form {
	    max-width: 960px!important;
	}

	/* WooCommerce - Increase numbers */
	.sh-increase-numbers span {
		display: none!important;
	}

	.sh-increase-numbers input {
		border: 2px solid #e5e5e5!important;
	}

	/* WooCommerce - Products */
	.sh-recent-products .woocommerce.columns-5 .products li,
	.sh-recent-products .woocommerce.columns-6 .products li {
		width: 33.3%!important;
	}

}

@media (max-width: 1025px) and (min-width: 1023px) {
	body.sh-ipad-landscape-full-navigation header.primary-desktop {
		display: block;
	}

	body.sh-ipad-landscape-full-navigation header.primary-mobile {
		display: none;
	}
}




@media (max-width: 1025px) {

	/* Page Container */
	.container,
	.post-password-form {
	    max-width: 850px!important;
	}

	/* Header */
	header.primary-desktop {
		display: none!important;
	}

	header.primary-mobile {
		display: block!important;
	}

	/* Blog */
	.blog-list:not(.blog-style-small):not(.blog-style-medium):not(.blog-style-large) .post-item {
		width: 50%;
	}

	.content-with-sidebar-left .blog-style-grid article,
	.content-with-sidebar-right .blog-style-grid article {
		width: 49.5%!important;
	}

	#wrapper #content {
		float: none;
		width: 100%;
	}

	#wrapper #sidebar {
		float: none;
		width: 100%;
	}

	#content + #sidebar {
		margin-top: 60px;
	}

	/* WooCommerce - Products */
	.woocommerce .woocomerce-styling .products li,
	.sh-recent-products:not(.sh-recent-products-carousel) .woocommerce .products li,
	.sh-recent-products .woocommerce.columns-5 .products li,
	.sh-recent-products .woocommerce.columns-6 .products li {
		width: 48%!important;
	}

	/* Nothing found */
	.sh-nothing-found-big span {
		font-size: 36px;
	}

	.sh-nothing-found-big div {
		font-size: 72px;
		line-height: 62px;
	}

}

@media (max-width: 900px) {

	/* Page Container */
	.container,
	.post-password-form {
	    max-width: 740px!important;
	}

    .container {
	    max-width: 740px!important;
	}

	/* Testimonials */
	.sh-testimonials-style3 .sh-testimonials-table {
		display: block;
	}

	.sh-testimonials-style3 .sh-testimonials-table > div:last-child {
		display: block;
		width: 100%!important;
		margin-top: 15px;
	}

	.sh-testimonials-style3 .sh-testimonials-table > div:nth-child(3) {
		width: 100%!important;
	}

	/* Blog */
	.content-with-sidebar-left .blog-style-grid article,
	.content-with-sidebar-right .blog-style-grid article {
		width: 100%!important;
	}

	/* Footer */
	.sh-footer .sh-footer-columns > .widget-item {
		width: 100%!important;
	}

	/* Copyrights */
	.sh-copyrights {
		text-align: center;
		padding: 35px 0;
	}

	.sh-copyrights div:not(.sh-copyrights-style3-item) {
		float: none!important;
		width: 100%;
		display: block;
	}

	.sh-copyrights .sh-copyrights-social {
		margin-top: 20px;
	}

	.sh-copyrights .sh-copyrights-style1,
	.sh-copyrights .sh-copyrights-style2 {
		height: auto;
	}

	.sh-copyrights-style2 .sh-copyrights-logo {
		margin-bottom: 15px;
	}

	.sh-copyrights-text,
	.sh-copyrights-social {
		line-height: auto!important;
	}

	.sh-footer .sh-copyrights-social a {
		position: relative;
		margin-left: 3px;
		margin-top: -1px;
	}

	/* Countdown */
	.sh-countdown:not(.sh-countdown-small) > div {
		padding: 3px 13px;
	}

	.sh-countdown:not(.sh-countdown-small) > div > span {
		font-size: 36px;
	}

	.sh-countdown:not(.sh-countdown-small) > div > div {
		font-size: 14px;
		padding-top: 0px!important;
	}

	.sh-countdown-style3:not(.sh-countdown-small) > .weeks > span,
	.sh-countdown-style3:not(.sh-countdown-small) > .days > span {
		font-size: 60px;
	}

	.sh-countdown-style3:not(.sh-countdown-small) > .weeks > div,
	.sh-countdown-style3:not(.sh-countdown-small) > .days > div {
		font-size: 21px;
		margin-top: 5px;
	}

	.sh-countdown-style3:not(.sh-countdown-small) > div > div {
		font-size: 16px;
	}

}

@media (max-width: 900px) {
	/* Page Container */
	.container,
	.post-password-form {
	    max-width: 600px!important;
	}

	.sh-column,
	.vc_column_container:not(.vc_col-xs-1):not(.vc_col-xs-10):not(.vc_col-xs-11):not(.vc_col-xs-12):not(.vc_col-xs-2):not(.vc_col-xs-3):not(.vc_col-xs-4):not(.vc_col-xs-5):not(.vc_col-xs-6):not(.vc_col-xs-7):not(.vc_col-xs-8):not(.vc_col-xs-9) {
	    width: 100%;
	}

	.section-justify-height .sh-column > div,
	.section-justify-height .sh-column > div > div {
		display: block;
		height: auto;
	}

	.sh-google-map .section-justify-height-google-maps {
		max-height: none!important;
		min-height: none!important;
	}

	/* Team Filter */
	.sh-filer-icon {
		position: absolute;
		padding-left: 15px;
	}

	.sh-filter {
		width: 100%;
		border-width: 0px;
	}

	.sh-filter .sh-filter-item {
		position: relative;
	}

	/* Pricing */
	.sh-pricing.sh-pricing-enlarge {
		padding: 0px;
		margin: 0px;
		margin-bottom: 30px;
	}

	/* Blog */
	.blog-style-small .post-left-side,
	.blog-style-small .post-right-side,
	.blog-style-medium .post-left-side,
	.blog-style-medium .post-right-side,
	.blog-style-large .post-left-side,
	.blog-style-large .post-right-side {
		width: 100%;
	}

	.blog-style-small .post-left-side,
	.blog-style-medium .post-left-side,
	.blog-style-large .post-left-side {
		margin-bottom: 20px;
	}

	/* Titlebar */
	.sh-titlebar .titlebar-title,
	.sh-titlebar .title-level {
		display: block;
		width: 100%;
		text-align: center;
	}

	.sh-titlebar .title-level {
		margin-top: 15px;
        padding-right: 0;
	}

	/* Shop */
	.woocommerce-page table.cart .product-remove,
	.woocommerce-page table.cart .product-subtotal {
		display: none;
	}

	.woocommerce-page table.cart #coupon_code,
	.woocommerce-page table.cart .button[name="apply_coupon"],
	.woocommerce-page table.cart .button[name="update_cart"] {
		width: 100%!important;
		margin-bottom: 8px;
	}

	.woocommerce .cart-collaterals .cart_totals {
		width: 100%!important;
	}

	/* Back to top */
	.sh-back-to-top {
		bottom: 15px;
		right: 15px;
		-webkit-transform: scale( 0.92, 0.92 );
		    -ms-transform: scale( 0.92, 0.92 );
		        transform: scale( 0.92, 0.92 );
	}

	/* Filter */
	.sh-tabs .sh-tabs-filter,
	.sh-tabs .sh-tabs-filter li a {
		border-bottom-width: 0!important;
	}

	/* WooCommerce  */
	.woocommerce div.product .woocommerce-tabs ul.tabs:before {
		border-bottom-color: transparent!important;
	}

	.woocommerce .woocommerce-tabs li {
		margin-right: -4px!important;
	}

}

/**
 *  Header - Left (custom responsive sizes)
 */

@media (min-width: 1100px) {
	.sh-header-in-side,
	.sh-header-in-side .sh-footer {
		padding-left: 320px!important;
	}

	.sh-header-left-side .rev_slider_wrapper {
		max-width: 100%!important;
	    left: 320px!important;
	}

}

@media screen and (max-width: 1600px) and (min-width: 1100px) {

	.sh-header-in-side .container {
		width: 85%!important;
	}
}

@media (max-width: 1100px) {
	#page-container.sh-header-in-side .sh-header-left-side {
		display: none;
	}

	#page-container.sh-header-in-side {
		margin-left: 0px!important;
	}

	#page-container.sh-header-in-side .primary-mobile {
		display: block!important;
	}
}

@media (max-height: 800px) {
	.sh-header-left-side #header-logo {
		padding: 20px 20px 35px 20px!important;
	}
}


/**
 * Pie Chart (custom responsive sizes)
 */
@media screen and (min-width: 850px) and (max-width: 1025px) {
	.sh-piechart {
		-ms-transform: scale(0.72,0.72);
		-webkit-transform: scale(0.72,0.72);
		transform: scale(0.72,0.72);
	}
}

@media screen and (min-width: 768px) and (max-width: 850px) {
	.sh-piechart {
		-ms-transform: scale(0.56,0.56);
		-webkit-transform: scale(0.56,0.56);
		transform: scale(0.56,0.56);
		/*margin-left: -18px;*/
	}
}


/**
 * Iconbox (custom responsive sizes)
 */
@media screen and (min-width: 551px) and (max-width: 850px) {
	.sh-iconbox .ratio-container-portrait {
		padding-top: 70%!important;
	}
}


/**
 * Side Header responsive fix
 */
@media (min-width: 1100px){
	.sh-header-in-side .sh-footer {
		padding-left: 0;
	}
}




.post-password-form { margin-right:auto; margin-left:auto;}

/**
 * Internet Explorer Specific Styles
 */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {

    /* Image Points */
    .sh-image-points {
        display: block;
    }

    /* Blog Overlay */
	.sh-overlay-style1 {
		display: flex;
	    align-items: center;
	    justify-content: center;
	}

	.sh-overlay-style1 > .sh-table-full {
		display: block;
		height: auto;
		width: auto;
	}

	.sh-overlay-style1 .sh-overlay-item-container {
		position: relative;
        top: 0%;
        left: 0%!important;
    	-webkit-transform: translateY(-0px)!important;
    	    -ms-transform: translateY(-0px)!important;
    	        transform: translateY(-0px)!important;
	}


    /* Search Box */
    .sh-blog-style2 .widget_search .search-field {
        line-height: 30px!important;
        min-height: 61px!important;
    }


    /* Portfolio overlay */
    .sh-portfolio-overlay4-container {
        display: block!important;
        margin: 0!important;
    }

    .sh-portfolio-overlay4-icons {
        margin-top: 40px;
    }

}


/* Column */
@media (min-width: 800px) and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .section-justify-height:not(.section-justify-height-only) .sh-column .sh-column-wrapper {
        overflow: hidden;
    }
}

