.elementor-kit-10{--e-global-color-primary:#362B28;--e-global-color-secondary:#454545;--e-global-color-text:#2D2D2D;--e-global-color-accent:#B99838;--e-global-color-8f8e50b:#FFFFFF;--e-global-color-65f614b:#816B33;--e-global-color-bca9a92:#000000;--e-global-typography-primary-font-family:"Shippori Mincho";--e-global-typography-primary-font-size:32px;--e-global-typography-primary-font-weight:400;--e-global-typography-primary-line-height:39px;--e-global-typography-secondary-font-family:"Shippori Mincho";--e-global-typography-secondary-font-size:20px;--e-global-typography-secondary-font-weight:400;--e-global-typography-secondary-line-height:30px;--e-global-typography-text-font-family:"Shippori Mincho";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:300;--e-global-typography-text-line-height:31px;--e-global-typography-accent-font-family:"Zen Kaku Gothic New";--e-global-typography-accent-font-weight:400;overscroll-behavior:auto;}.elementor-kit-10 e-page-transition{background-color:transparent;background-image:linear-gradient(180deg, var( --e-global-color-accent ) 0%, #EFDDAF 100%);}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.dynamic-logo {
  mix-blend-mode: difference; /* difference または exclusion を指定 */
  transition: none; /* ヘッダー戻り時のアニメーション効果をクリア */
}


/* ========================================= */
/* トグルボタンの位置調整とアニメーション */
/* ========================================= */

/* 1. トグルボタンの親コンテナにアニメーションを設定 */
#elementor-element-7662811 {
    /* topプロパティの変化を滑らかにする */
    transition: top 0.3s ease !important;
    /* 初期位置を固定 (top: 20pxは既存のCSS設定から維持) */
    top: 20px !important;
}

/* 2. ヘッダーが縮小した時に付与されるクラス */
/* このクラスをjQueryでトグルボタンの親コンテナに付与します */
#elementor-element-7662811.is-header-shrunk {
    /* 縮小後の位置: 20px から 10px に変更し、10px上に移動 */
    top: 10px !important;
}



/* ========================================= */
/* 0. スクロールでヘッダーが縮まる */
/* ========================================= */

.header-blend-shrink {
    /* 1. スクロール前: 背景を透明に設定 */
    background-color: transparent !important;
    /* ヘッダーセクション全体の変化を滑らかにする */
    transition: all 0.5s ease !important;
}

/* ロゴ要素（ウィジェット）に mix-blend-mode を適用 */
.header-blend-shrink .elementor-element-2b0f4e1 {
    /* ロゴの色を背景と混ぜて反転させる */
    mix-blend-mode: difference;
    /* ロゴウィジェット全体の変化も滑らかに */
    transition: all 0.6s ease !important;
}

/* ロゴ画像自体にトランジションを設定し、滑らかな縮小を保証 */
.header-blend-shrink .elementor-element-2b0f4e1 img {
    /* max-height, max-width, width の変化を0.3秒かけてゆっくり実行 */
    transition: max-height 0.6s ease, max-width 0.6s ease, width 0.6s ease !important;
    /* 初期値（Elementorの設定に従う） */
    max-height: auto;
    width: auto;
}


/* ========================================= */
/* 2. スクロール後 (.elementor-sticky--effects クラスが付与された時) */
/* ========================================= */

.elementor-sticky--effects.header-blend-shrink {
    /* 2. 背景を白に変更 */
    background-color: #ffffff !important;
    
    /* ヘッダーの高さを縮小 (Elementorのエフェクトを上書き) */
    min-height: 60px !important; 
    height: 60px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* スクロール後のロゴサイズ調整 */
.elementor-sticky--effects.header-blend-shrink .elementor-element-2b0f4e1 img {
    /* 縮小後の高さを指定 */
    max-height: 40px !important; 
    width: auto !important;
}


/* トグルボタンの位置変更にもアニメーションを適用 */
.toggle-button {
    transition: top 0.6s ease !important;
}

/* ヘッダーが縮小した時、トグルボタンの位置を上にずらす */
/* トグルボタンがヘッダーの子要素になっていれば機能します */
.elementor-sticky--effects.header-blend-shrink .toggle-button {
    top: 10px !important;
}


/* ========================================= */
/* モバイルロゴ位置調整 (Scroll-Shrink時) */
/* ========================================= */

@media (max-width: 767px) {
    /* 1. ロゴコンテナの初期パディングとアニメーション設定 */
    /* Elementorのデフォルト設定を考慮し、トップパディングを明示的に設定 */
    .elementor-element-f76b5f2 {
        transition: padding 0.5s ease !important; /* スムーズなアニメーションを実現 */
        padding-top: 20px !important; 
    }

    /* 2. スクロール縮小時：ロゴコンテナのパディングを調整してロゴを10px上に移動 */
    .elementor-sticky--effects.header-blend-shrink .elementor-element-f76b5f2 {
        padding-top: 10px !important; /* 20px から 10px に減らし、ロゴが10px上に移動する */
    }
}


/* ===============================================
   モーダルメニュー スタイル (clip-path版)
=============================================== */

/* モーダルメニューの基本スタイル（閉じた状態） */
.modal-menu {
  position: fixed;
  top: 0;
  left: auto;
  right: 0;
/* Elementorで調整 */
  /*width: 100%;
  height: 100vh;*/
  /* ビューポートの高さ一杯に */
/* 参考サイトの背景色 */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: 999;

  /* アニメーションの定義 */
  transition: clip-path 0.7s cubic-bezier(0.31, -0.01, 0.18, 0.97), opacity 0.4s;
  
  /* 初期状態のマスク（下部に閉じた状態） */
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

/* メニュー表示時のスタイル */
.modal-menu.is-active {
  opacity: 1;
  /* 開いた状態のマスク（全体表示） */
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}




/* ===============================================
   トグルボタン スタイル
=============================================== */
.toggle-button {
  position: fixed;
  top: 20px;
  right: 30px;
  width: 60px;
  height: 42px;
  cursor: pointer;
  z-index: 9999;
  background: none;
  border: none;
  padding: 0;
}

.toggle-button span {
  display: block;
  position: absolute;
  left: 6px;
  width: 50px;
  height: 1px;
  background-color: #000;
  transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
}

.toggle-button span:nth-child(1) { top: 10px; }
.toggle-button span:nth-child(2) { top: 20px; }
.toggle-button span:nth-child(3) { top: 30px; }
.toggle-button.is-active span {
  background-color: #333; /* ×印の色 */
}
.toggle-button.is-active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.toggle-button.is-active span:nth-child(2) {
  opacity: 0;
}
.toggle-button.is-active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* トグルボタンのホバー・フォーカス時の背景色を無効化 */
.toggle-button:hover,
.toggle-button:focus {
  background-color: transparent !important; /* 背景色を強制的に透明にする */
  outline: none; /* フォーカス時の青い枠線も消す場合 */
}

@media screen and (max-width: 768px) {
  .toggle-button {
    display: block !important;
    opacity: 1 !important;
  }
}



/* ===============================================
   ヒーローセクションアニメーション
=============================================== */

body.no-scroll {
  overflow: hidden;
}

 /* 全てのアニメーション画像に共通のスタイル */
  .animated-image {
    animation-duration: 1.5s;             /* アニメーションの時間 */
    animation-timing-function: ease-out;  /* イージングの種類 */
    animation-fill-mode: forwards;        /* アニメーション後の状態を維持 */
  }

  /* 右に動くアニメーションを適用 */
  .slide-right {
    animation-name: move-right;
  }

  /* 左に動くアニメーションを適用 */
  .slide-left {
    animation-name: move-left;
  }


  /* 右に動くアニメーションを定義 */
  @keyframes move-right {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(100px); /* 右に100px移動 */
    }
  }

  /* 左に動くアニメーションを定義 */
  @keyframes move-left {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100px); /* ★左に100px移動 */
    }
  }
  
  
  
.vertical {
        writing-mode: vertical-rl;
        /*text-orientation: upright;*/
    }
    
.lp {
   margin-top: 22px
}

@media(max-width: 767px){
.lp {
   margin-top: 15px
}
}

/* 札所一覧のループ画像*/

.elementor-cta__bg {
    background-position: 50%!important;
    background-size: 70%!important;
    background-repeat: no-repeat!important;
    background-color: #fff!important;
    background-position-x: right!important;
    z-index: 1;
}


/* ライトボックスの閉じるボタンのコンテナを丸いボタン風にスタイル設定 */
.dialog-lightbox-close-button {
    /* 背景色とサイズを設定して目立たせる */
    background-color: #FFFFFF; /* 目立たせたい色（例: 赤） */
    color: #444!important; /* アイコンの色（例: 白） */
    width: 40px; /* ボタンの幅 */
    height: 40px; /* ボタンの高さ */
    /* 角を完全に丸くして円形にする */
    border-radius: 50%;
    /* アイコンを中央に配置する（Elementorのデフォルトスタイルに依存） */
    display: flex;
    justify-content: center;
    align-items: center;
    /* 必要に応じて影を付ける */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    /* デフォルトのフォントアイコンサイズを上書きして調整 */
    font-size: 20px !important;
    /* Xボタンを右上に移動させる場合は、positionプロパティを調整（Elementorのデフォルト設定で調整可能な場合が多いですが、上書きの可能性も考慮） */
    /* position: absolute; /* 必要に応じて */
    /* top: 10px; /* 必要に応じて */
    /* right: 10px; /* 必要に応じて */
}

/* ホバー時のスタイル（オプション） */
.dialog-lightbox-close-button:hover {
    background-color: #ccc; /* ホバー時の色 */
    cursor: pointer;
}

/* アイコン（SVG）のスタイル調整 */
.dialog-lightbox-close-button .dialog-close-button-icon {
    fill: #FFFFFF; /* SVGアイコンの色を親のcolorプロパティで設定されない場合に設定 */
    width: 1em; /* SVGのサイズを調整 */
    height: 1em;
}
/*デスクトップとスマホで改行を切り替える*/
.br-dt {display:none; }
.br-sp {display: inline; }
@media screen and (min-width: 768px){
.br-dt {display:inline; }
.br-sp {display: none; }
}/* End custom CSS */