/*
  Theme Name:muse
  Theme URI:
  Description:
  Template:twentytwentyfive
  Author:mcsd
  Author URI:
  Version:1.0.0
*/

@charset "utf-8";

/* -------------------------------
  CSS Variables
------------------------------- */
:root {
  /* Colors */
  --color-primary: #9F6E00;
  --color-accent: #910000;
  --color-text: #333;
  --color-text-light: #4D4D4D;
  --color-text-gray: #666;
  --color-text-dark: #393939;
  --color-border: #707070;
  --color-border-light: #DDDDDD;
  --color-border-lighter: #eee;
  --color-white: #fff;
  --color-black: #000;
  
  /* Background Colors */
  --bg-light: #FFFDF4;
  --bg-overlay: rgba(0, 0, 0, 0.8);
  
  /* Theme Colors */
  --party-plan-color: #910100;
  --restaurant-color: #0b4809;
  --cafe-color: #2b0316;
  --bg-light-color: #FFF7E6;
  --light-color: #FFE19F;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Layout */
  --max-header-width: 1200px;
  --header-height: 60px;
  --container-padding: 1.25rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-2xl: 2.5rem;
  --radius-full: 50%;
  
  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 1s ease;
  
  /* Shadows */
  --shadow-base: 0 4px 6px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 3px 6px rgba(0, 0, 0, 0.16);
}

/* -------------------------------
  共通
------------------------------- */

.h-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.h-title span[lang="en"] {
  display: block;
  margin-bottom: 5px;
  font-size: 0.5em;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

.h-title2 {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
}

.h-title3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.feature-text {
  margin-block: var(--spacing-md);
  font-size: clamp(0.9735rem, 0.9626rem + 0.0416vw, 1rem);
  line-height: clamp(2.75rem, 2.4926rem + 0.9804vw, 3.375rem);
}

.menu-items {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.info-container {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .feature-text {
    text-align: center;
  }
  
  .menu-items {
    flex-direction: column;
    max-width: 100%;
  }
  
  .h-title2 {
    text-align: center;
  }
}

/* -------------------------------
  Header
------------------------------- */

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 15px auto 15px;
  margin-top: 15px;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-header-width);
  height: var(--header-height);
  margin: 0 auto;
  padding: 10px 20px;
}

/* --- ロゴ --- */
.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  display: block;
  width: auto;
  height: calc(var(--header-height) - 20px);
  margin-right: var(--spacing-sm);
}

/* --- PCナビゲーション --- */
.global-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu .nav-items {
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}

.nav-menu .nav-items,
.nav-menu .nav-actions {
  position: relative;
  padding-left: 3rem;
  padding-right: var(--spacing-sm);
}

.nav-menu .nav-actions {
  padding-left: var(--spacing-sm);
}

.nav-menu .nav-items::before,
.nav-menu .nav-actions::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 2.25rem;
  background-color: var(--color-border);
  transform: translateY(-50%);
}

.nav-items:not(.js-temp-action) .icon-arrow-right {
  position: absolute;
  top: 50%;
  left: var(--spacing-sm);
  transform: translateY(-50%);
}

.nav-items:not(.js-temp-action) a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.nav-items a:hover,
.nav-items .icon-arrow-right:has(+ a:hover) {
  opacity: .7;
}

.nav-items:not(.js-temp-action) a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.nav-menu-en {
  font-size: 0.875em;
  color: var(--color-text-gray);
}

/* --- ボタン類 --- */
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.nav-actions > .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding-block: 0;
  padding-inline: 1.5em;
}

.nav-actions > .sns {
  flex: 1 1 100%;
}

/* --- スマホ対応 (レスポンシブ) --- */
.nav-toggle {
  display: none;
  padding: 5px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  appearance: none;
  cursor: pointer;
}

.hamburger-line,
.hamburger-line::before,
.hamburger-line::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base);
}

.hamburger-line::before {
  content: "";
  top: -10px;
}

.hamburger-line::after {
  content: "";
  top: 11px;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line {
  background-color: transparent;
  transform: translate(-36px, -3px);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line::before {
  top: -5px;
  width: 42px;
  transform: translateY(400%) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line::after {
  width: 42px;
  transform: translateY(-400%) rotate(-45deg);
}

@media (max-width: 1358px) {
  body.is-nav-open { 
    overflow: hidden; 
  }

  .global-nav {
    column-gap: 15px;
  }

  .nav-toggle {
    display: block;
  }
  
  .nav-menu .nav-items,
  .nav-menu .nav-actions {
    padding-inline: var(--spacing-sm);
  }
  
  .nav-items:not(.js-temp-action) .icon-arrow-right {
    left: -1rem;
  }

  .nav-menu {
    --bg-color: var(--bg-light);
    position: fixed;
    z-index: 5;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 100px 20px 60px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: var(--spacing-xl);
    background: var(--bg-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .4s ease, transform .4s ease, visibility .4s;
  }

  .nav-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    overflow-x: hidden;
  }
  
  .nav-menu .nav-items {
    padding-bottom: var(--spacing-xl);
  }
  
  .nav-menu .nav-items::before {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    left: 50%;
    width: 180px;
    height: 1px;
    transform: translateX(-50%);
  }
  
  .nav-menu .nav-items:last-child::before {
    content: none;
  }
  
  .nav-items:not(.js-temp-action) .icon-arrow-right {
    top: 1.5rem;
  }
  
  .nav-items:not(.js-temp-action) a {
    font-size: 1.2rem;
  }

  .nav-actions {
    width: 100%;
    margin-left: 0;
  }
  
  .nav-items.js-temp-action {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    row-gap: var(--spacing-lg);
  }
  
  .nav-items.js-temp-action .sns::after {
    content: 'レストラン＆カフェ　Instagram';
  }

  .nav-actions .btn {
    width: 100%;
    max-width: fit-content;
    text-align: center;
  }
}

@media (max-width: 656px) {
  .nav-actions {
    opacity: 0;
    visibility: hidden;
  }
}

/* -------------------------------
  トップビジュアル
------------------------------- */

section#topVisual {
  max-width: calc(100% - var(--container-padding) * 2);
}

section#topVisual img {
  width: 100%;
}

#topVisual .grid-container {
  display: grid;
  gap: 10px;
}

#topVisual .item {
  position: relative;
  background-color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: bold;
  overflow: hidden;
}

#topVisual .item::before {
  position: absolute;
  content: "";
  inset: 0;
  box-shadow: 0 0 0 2px rgb(220 220 220) inset;
  mix-blend-mode: darken;
}

#topVisual .item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 各アイテムにエリア名を割り当て */
#topVisual .item.a { grid-area: a; aspect-ratio: 1; }
#topVisual .item.b { grid-area: b; aspect-ratio: 1; }
#topVisual .item.c { grid-area: c; aspect-ratio: 1; }
#topVisual .item.d { grid-area: d; aspect-ratio: 1; }
#topVisual .item.e { grid-area: e; aspect-ratio: 1; }
#topVisual .item.f { grid-area: f; aspect-ratio: 1; }

#topVisual .item.a::after,
#topVisual .item.b::after {
  content: "";
  position: absolute;
  bottom: 5%;
  left: 5%;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 1 / 1;
  /* スマホ: 24% / PC: 18% */
  width: clamp(20%, 5vw + 10%, 28%);
}

#topVisual .item.a::after {
  background-image: url("/restaurant-cafe/wp-content/themes/muse/img/restaurant_mark.png");
}

#topVisual .item.b::after {
  background-image: url("/restaurant-cafe/wp-content/themes/muse/img/cafe_mark.png");
}

/* スマホ用設定 (3列) */
@media (max-width: 768px) {
  #topVisual .grid-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-template-areas:
      "a a c"
      "a a d"
      "e b b"
      "f b b";
    gap: 8px;
  }
}

/* PC用設定 (6列) */
@media (min-width: 769px) {
  #topVisual .grid-container {
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
      "a a b b c d"
      "a a b b e f";
  }
}

/* -------------------------------
  カルーセル・モーダル
------------------------------- */

.custom-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.custom-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
}

.modal-container {
  position: relative;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  padding: 1rem 2.5rem;
  overflow-y: auto;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-sm);
}

.modal-close-btn {
  float: right;
  width: 4rem;
  height: 4rem;
  padding: 0;
  font-size: 0.875rem;
  color: #797979;
  letter-spacing: 0.1rem;
  text-align: center;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.modal-close-btn > .close-mark {
  display: inline-block;
  width: 2.25rem;
  aspect-ratio: 1;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/PjxzdmcgaGVpZ2h0PSI0MHB4IiB3aWR0aD0iNDBweCIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDM3OC4zMDMgMzc4LjMwMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gc3R5bGU9ImZpbGw6IzMzMzsiIHBvaW50cz0iMzc4LjMwMywyOC4yODUgMzUwLjAxOCwwIDE4OS4xNTEsMTYwLjg2NyAyOC4yODUsMCAwLDI4LjI4NSAxNjAuODY3LDE4OS4xNTEgMCwzNTAuMDE4IDI4LjI4NSwzNzguMzAyIDE4OS4xNTEsMjE3LjQzNiAzNTAuMDE4LDM3OC4zMDIgMzc4LjMwMywzNTAuMDE4IDIxNy40MzYsMTg5LjE1MSAiLz48L3N2Zz4=);
  background-position: top center;
  background-size: contain;
  background-repeat: no-repeat;
}

.modal-title { 
  margin-top: 0;
  font-size: 1.5rem;
  text-align: center;
}

.modal-figure img { 
  width: 100%;
  height: auto;
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-md);
}

.modal-desc { 
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.modal-note { 
  display: block;
  padding-top: 10px;
  font-size: 0.85rem;
  color: var(--color-text-gray);
  border-top: 1px solid var(--color-border-lighter);
}

.splide__slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.splide__track {
  max-height: 600px;
}

.splide__list {
  height: auto;
}

.splide__pagination {
  position: static;
}

.custom__patination-page {
  width: 1rem;
  height: 1rem;
  margin: 0 0.6rem;
  background-color: transparent;
  border: solid 2px var(--light-color);
  border-radius: var(--radius-full);
  opacity: .7;
}

.custom__patination-page.is-active {
  background-color: var(--light-color);
  border: solid 2px var(--light-color);
  opacity: .7;
  transform: none;
}

.custom__patination-page:hover {
  background-color: var(--light-color);
  opacity: 1;
  transform: scale(1.1, 1.1);
}

.custom__patination-page:focus-visible {
  outline: 3px solid #1b79a8;
  outline-offset: 3px;
}

.splide .slide-title {
  font-size: 1rem;
}

.splide .slide-title-sub {
  white-space: nowrap;
}

.splide .splide__arrow {
  top: 36%;
  width: 3em;
  height: 3em;
  background: transparent;
  opacity: 1;
}

.splide .splide__arrow svg {
  width: 100%;
  height: 100%;
  fill: var(--color-white);
}

.splide .splide__arrow:hover {
  background: transparent;
  opacity: 0.7;
}

.splide .splide__arrow--prev { 
  left: 10px;
}

.splide .splide__arrow--next { 
  right: 10px;
}

.splide .control {
  display: flex;
  justify-content: center;
  align-items: center;
}

.splide .control button.splide__toggle {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: var(--spacing-sm);
  border: solid 2px var(--light-color);
  border-radius: 999px;
  opacity: .7;
}

.splide .control button.splide__toggle span i.hide {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.splide .control button.splide__toggle span.splide__toggle__play::after {
  content: "";
  position: absolute;
  inset: 0;
  left: 0.2rem;
  width: 0;
  height: 0;
  margin: auto;
  border-color: transparent transparent transparent var(--light-color);
  border-style: solid;
  border-width: 5px 0 5px 9px;
  opacity: .7;
}

.splide .control button.splide__toggle span.splide__toggle__pause::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 8px;
  height: 9px;
  margin: auto;
  border-color: var(--light-color);
  border-style: solid;
  border-width: 0 2px 0 2px;
  opacity: .7;
}

.splide .control button.splide__toggle:hover {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  opacity: 1;
  transition: all 0.2s;
}

.splide .control button.splide__toggle:hover span.splide__toggle__play::after {
  border-color: transparent transparent transparent var(--color-white);
  opacity: 1;
  transition: all 0.2s;
}

.splide .control button.splide__toggle:hover span.splide__toggle__pause::after {
  border-color: var(--color-white);
  opacity: 1;
  transition: all 0.2s;
}

.splide .control button.splide__toggle:focus-visible {
  outline: 3px solid #1b79a8;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .slide-container .slide-footnote {
    text-align: center;
  }
}

/* -------------------------------
  NEWS
------------------------------- */

.news-container {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 30px;
  font-size: 1rem;
}

@media (min-width: 769px) {
  .news-container {
    grid-template-columns: 28% 72%;
    grid-template-areas:
      "header list"
      "footer list";
    align-items: start;
  }

  .news-header {
    grid-area: header;
  }

  .news-list {
    grid-area: list;
  }

  .news-footer {
    grid-area: footer;
    align-self: start;
  }
}

@media (max-width: 768px) {
  .news-header,
  .news-footer {
    text-align: center;
  }
}

.news-list .news-items {
  position: relative;
  display: flex;
  gap: var(--spacing-xs) 1.875rem;
  padding-block: var(--spacing-sm);
  font-weight: 700;
  border-bottom: solid 1px var(--color-border-light);
}

.news-items time,
.news-items .news-tag {
  flex-shrink: 0;
  font-size: 0.875rem;
}

.news-items .news-link {
  flex-grow: 1;
  min-width: 0;
}

.news-items .news-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.news-list time:has(+ .news-tag + a:hover),
.news-list .news-tag:has(+ a:hover) {
  opacity: .7;
}

@media (max-width: 768px) {
  .news-list .news-items {
    flex-wrap: wrap;
    column-gap: var(--spacing-sm);
  }

  .news-items .news-link {
    flex: 1 1 100%;
  }
}

.c-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 85px;
  padding-inline: var(--spacing-xs);
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: nowrap;
  text-align: center;
  background-color: var(--cat-bg, var(--color-border-lighter));
  color: var(--cat-text, var(--color-text));
  border-radius: var(--radius-sm);
}

.cat-party { 
  --cat-bg: var(--party-plan-color);
  --cat-text: var(--color-white);
}

.cat-restaurant { 
  --cat-bg: var(--restaurant-color);
  --cat-text: var(--color-white);
}

.cat-cafe { 
  --cat-bg: var(--cafe-color);
  --cat-text: var(--color-white);
}

.cat-event { 
  --cat-bg: #d44b15;
  --cat-text: var(--color-white);
}

/* -------------------------------
  Restaurant ＆　Cafe
------------------------------- */

#restaurant, 
#cafe {
  color: var(--color-white);
}

.restaurant-container, 
.cafe-container {
  color: var(--color-white);
}

.layout-grid {
  display: grid;
  grid-template-columns: 50% auto 6rem;
  gap: 40px;
  align-items: start;
}

.cafe-container .layout-grid {
  grid-template-columns: 6rem auto 50%;
}

.layout-title {
  margin-bottom: 30px;
  text-align: right;
}

.cafe-container .layout-title {
  text-align: left;
}

.restaurant-container .layout-title img {
  width: 100%;
  max-width: 657px;
}

.cafe-container .layout-title img {
  width: 100%;
  max-width: 497px;
}

.image-area {
  position: relative;
  z-index: 0;
  height: auto;
  margin-top: clamp(-5rem, 8.1356rem + -16.9492vw, 0rem);
  aspect-ratio: 57/64;
}

.circle-img {
  position: absolute;
  width: 80%;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-full);
}

.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-1 {
  z-index: 2;
  top: 0;
  left: 0;
}

.img-2 {
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 52%;
}

.text-vertical {
  padding-top: 10px;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.text-vertical > p {
  white-space: nowrap;
  inline-size: max-content;
}

.text-main {
  display: flex;
}

.h-title-restaurant-l,
.h-title-cafe-l {
  font-size: clamp(1.25rem, 0.3474rem + 3.4384vw, 2rem);
  font-weight: 700;
}

.h-title-restaurant-menu,
.h-title-cafe-menu {
  position: relative;
  padding-top: 1em;
  margin-bottom: var(--spacing-lg);
  font-size: 1.75rem;
  color: var(--light-color);
  text-align: center;
}

.h-title-restaurant-menu::before,
.h-title-cafe-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 0.8em;
  background-color: currentColor;
  transform: translateX(-50%);
}

@media (min-width: 769px) {
/*
  .party-container {
    text-align: center;
  }
  
*/
  .cafe-container .text-main > p {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .layout-grid {
    --gap: 30px;
    --sgap: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sgap) var(--gap);
    margin-top: var(--spacing-xl);
  }

  .image-area { 
    order: 1;
    width: calc(80% - (var(--gap) / 2));
    transform: none;
  }
  
  .cafe-container .image-area {
    order: 2;
  }

  .text-vertical {
    order: 2;
    width: calc(20% - (var(--gap) / 2));
  }
  
  .cafe-container .text-vertical {
    order: 1;
  }

  .text-main {
    justify-content: center;
    order: 3;
    flex: 1;
  }
}

.menu-container {
  padding: var(--spacing-lg) var(--spacing-xl);
  background-color: var(--bg-light-color);
  border-radius: var(--radius-2xl);
}

.menu-container > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm) var(--spacing-xl);
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 700;
  align-content: center;
}

@media (max-width: 768px) {
  .menu-container {
    margin-inline: calc(0px - var(--container-padding));
    padding-inline: var(--container-padding);
    border-radius: 0;
  }
  
  .menu-container > ul {
    flex-direction: column;
    row-gap: var(--spacing-lg);
  }
}

.frame-image {
  border: 18px solid transparent;
  border-image: url('./img/frame.svg') 10 round;
  padding: 10px;
}

@media (max-width: 420px) {
  .image-area {
     aspect-ratio: 57/72;
  }
  .image-area .img-2 {
     width: 64%;
  }
}

/* -------------------------------
  Party Plan
------------------------------- */

.h-title-party-plan {
  margin-bottom: var(--spacing-xl);
  font-size: 1.125rem;
  color: var(--color-text-dark);
  text-align: center;
}

.h-title-party-plan > span {
  display: block;
  font-size: 2.5rem;
  color: var(--party-plan-color);
}

.h-title-party-plan-s {
  min-width: 120px;
  font-size: 1.125rem;
  text-align: center;
  color: var(--party-plan-color);
}

.h-title-party-plan-m {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--party-plan-color);
}

.party-plan-container {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xl) var(--spacing-2xl);
  margin-inline: calc(50% + 7.5px - 50vw);
}

.party-plan-container > div {
  flex: 1;
}

@media (max-width: 768px) {
  .party-plan-container {
    flex-direction: column-reverse;
    align-items: center;
    max-width: 100%;
    margin-inline: auto;
  }
}

.card-container {
  display: flex;
  gap: 1.375rem;
  width: 100%;
}

.image-offset {
  position: relative;
  z-index: 1;
  display: inline-block;
  transform: translateX(-2.5rem);
}

.image-offset img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  border-radius: var(--radius-xl);
}

.image-offset::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: calc(100% + 2.5rem);
  height: 100%;
  background-color: var(--party-plan-color);
  border-radius: var(--radius-xl);
  transform: translateY(3rem);
}

@media (max-width: 768px) {
  .image-offset {
    width: calc(100% - var(--spacing-md));
    align-self: flex-start;
    transform: none;
  }
  
  .image-offset::after {
    width: 100%;
    transform: translate(var(--spacing-md), var(--spacing-md));
  }
}

.step-card {
  position: relative;
  flex: 1;
  padding: calc(10px + 2.25rem + 20px) 20px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border-lighter);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card-number {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-white);
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
}

.card-content p {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-black);
}

@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
  }
}

/* -------------------------------
  Footer
------------------------------- */

.site-footer {
  padding: 60px 20px 20px;
  color: var(--color-white);
  background-color: var(--color-black);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

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

.logo-flex {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  line-height: 1.4;
}

.logo-text > .logo-main {
  font-size: 1.25rem;
  font-weight: bold;
}

.logo-text > .logo-sub {
  font-size: 0.8125rem;
}

.copyright {
  margin-top: 40px;
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 0;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
  }

  .footer-logo--b, 
  .footer-logo--c {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .footer-logo--b { order: 1; }
  .footer-logo--c { order: 2; }
  .footer-logo--a { 
    order: 3;
    padding-top: 60px;
    padding-bottom: 80px;
  }
}

/* -------------------------------
  Section
------------------------------- */

section._bg-color {
  width: auto;
  padding-left: max(var(--container-padding), (50% - 570px));
  padding-right: max(var(--container-padding), (50% - 570px));
  background-color: var(--bg-color);
}

section#restaurant,
section#cafe {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
/*  background-blend-mode: multiply;*/
}

section#restaurant {
  background-image: url('/restaurant-cafe/wp-content/uploads/restaurant_bg.jpg');
}

section#cafe {
  background-image: url('/restaurant-cafe/wp-content/uploads/cafe_bg.jpg');
}

h2.title-border {
  margin-bottom: var(--spacing-2xl);
  font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho";
  font-size: clamp(1.125rem, 0.8996rem + 0.8427vw, 1.5rem);
  font-weight: 700;
  text-align: center;
}

.copy-right {
  font-size: 0.75rem;
  vertical-align: middle;
}

.copy-right::before {
  content: '\00a9';
  padding-right: 0.1rem;
  font-size: 1.5em;
  font-family: sans-serif;
  vertical-align: middle;
}

#pageTop {
  position: fixed;
  z-index: 8;
  right: clamp(var(--container-padding), -2.32rem + 13.6vw, 14rem);
  bottom: var(--spacing-lg);
  overflow: visible;
  font-size: 14px;
  line-height: 1;
}

#pageTop a {
  display: block;
  width: clamp(3rem, 2.2708rem + 2.7778vw, 4.25rem);
  height: clamp(3rem, 2.2708rem + 2.7778vw, 4.25rem);
  aspect-ratio: 1;
  text-align: center;
  text-decoration: none;
  color: var(--color-black);
  background: var(--color-white);
  background-image: url('/restaurant-cafe/wp-content/themes/muse/img/arrow-up.svg');
  background-size: 54%;
  background-position: center;
  background-repeat: no-repeat;
  border: solid 0.5px #ffffff80;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-base);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity var(--transition-slow), visibility 0s ease var(--transition-slow);
}

#pageTop a:hover {
  text-decoration: none;
  opacity: .5;
}

#pageTop a.show {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

#pageTop.fixed {
  position: absolute;
  top: -6rem;
  bottom: auto;
  width: auto;
  height: auto;
  overflow: visible;
}