/*
Theme Name: mibot theme
Theme URI: https://github.com/webral/mibot-wordpress-theme
Author: WEBRAL, inc.
Author URI: https://webral.co.jp/
Description: mibot(mibot.kg-m.jp)専用テーマ。Elementorに依存しない独立テーマ。hello-elementor-child からの移行版。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mibot-theme
Tags: custom

このファイルは旧テーマ hello-elementor-child の style.css をそのまま引き継いでいる。
見た目を変えないため、内容には手を入れない。整理はフェーズ6以降に行う。
*/

/* M PLUS 1フォント読み込み */
@font-face {
  font-family: 'M PLUS 1';
  src: url('./assets/fonts/MPLUS1-Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'M PLUS 1';
  src: url('./assets/fonts/MPLUS1-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'M PLUS 1';
  src: url('./assets/fonts/MPLUS1-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'M PLUS 1';
  src: url('./assets/fonts/MPLUS1-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* カスタムフォント読み込み */
@font-face {
  font-family: 'Jeko';
  src: url('./assets/fonts/Jeko-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jeko';
  src: url('./assets/fonts/Jeko-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jeko';
  src: url('./assets/fonts/Jeko-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jeko';
  src: url('./assets/fonts/Jeko-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* タイトル・見出し：英文はJeko、日本語はM PLUS 1を優先 */
.elementor-heading-title,
.elementor-widget-heading h1,
.elementor-widget-heading h2, 
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6,
[class*="elementor-"] .elementor-heading-title,
[class*="elementor-"] h1,
[class*="elementor-"] h2,
[class*="elementor-"] h3,
[class*="elementor-"] h4,
[class*="elementor-"] h5,
[class*="elementor-"] h6 {
  font-family: "Jeko", "M PLUS 1", sans-serif !important;
}

/* 本文・テキスト：M PLUS 1を優先、英文もM PLUS 1で統一 */
.elementor-text-editor,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-text-editor p,
.elementor-widget-text-editor .elementor-text-editor,
.elementor-text-editor li,
.elementor-widget-text-editor li,
.elementor-text-editor a,
.elementor-widget-text-editor a,
/* その他のコンテンツ */
.elementor-widget-image-box .elementor-image-box-content,
.elementor-widget-icon-box .elementor-icon-box-content,
body,
.elementor-widget.elementor-widget-text-editor {
  font-family: "M PLUS 1", sans-serif !important;
}

/* ボタン・リンクボタン：英文はJeko、日本語はM PLUS 1を優先 */
.elementor-button,
.elementor-widget-button .elementor-button,
[class*="elementor-"] .elementor-button,
a.elementor-button,
.wp-block-button__link {
  font-family: "Jeko", "M PLUS 1", sans-serif !important;
}

/* 全体的なフォールバック設定 */
.elementor-element,
.elementor-widget,
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-inner,
.elementor-widget-wrap {
  font-family: "M PLUS 1", "Jeko", sans-serif !important;
}

.text-bold {
  font-weight: bold;
}

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

.text-underline {
  text-decoration: underline;
}

a.basic_link.header__button {
  width: 150px;
  padding: 16px 24px 16px 16px;
  font-size: 14px;
  font-weight: bold;
  background-color: #f6be00;
  border: none;
}

@media screen and (max-width: 1250px) {
  a.basic_link.header__button {
    width: 100%;
  }
}


@media screen and (max-width: 767px) {
  a.basic_link.header__button {
    padding: 8px 12px 8px 8px;
    width: 98px;
  }
}
a.basic_link.header__button .icon-arrow {
  right: 10% !important; 
}
@media screen and (max-width: 767px) {
  a.basic_link.header__button .icon-arrow {
  right: 4% !important; 
}
}
a.basic_link.header__button:hover {
  background-color: #c29500;
}

@media screen and (max-width: 767px) { 
  .elementor-11609 .elementor-element.elementor-element-11e6996 {
      margin: 0;
  }
}

/* 諸元表ページコンテンツないの汎用ボタンの最大幅を縮小 */
.elementor-element-9f4fffb a.basic_link {
  max-width: 290px;
}

@media screen and (max-width: 430px) {
  .elementor-element-9f4fffb a.basic_link {
    max-width: none;
  }
}

/* button.basic_linkのスタイル（PDFダウンロードボタン用） */
button.basic_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 290px;
  padding: 16px 40px 16px 32px;
  color: #333;
  background-color: #fff;
  border: solid 1px #333;
  border-radius: 10px;
  font-family: "M PLUS 1", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

button.basic_link:hover {
  background-color: #f6be00;
}

button.basic_link:focus {
  outline: 2px solid #f6be00;
  outline-offset: 2px;
}

@media screen and (max-width: 430px) {
  button.basic_link {
    width: 100%;
    padding: 16px 2.5rem 16px 16px;
  }
}

/* button.basic_link内のテキストとアイコン */
button.basic_link .link_text {
  flex: 1;
  line-height: 1.5;
}

button.basic_link .icon-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
}

/* 新しいタブで開くアイコン */
.external-link a, .menu-item-21010 a,  .hamburgerMenu__subMenu__link {
  position: relative;
  padding-right: 1.5em;
  opacity: 1;
}

.external-link a::after, .menu-item-21010 a::after,  .hamburgerMenu__subMenu__link::after {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23000000'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23000000'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.3em;
  right: 0;
  opacity: 1 !important;
  background-color: transparent !important;
}

/* 色のバリエーション */        
.external-link.white a::after {
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23ffffff'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23ffffff'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
}

.external-link:hover a::after {
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23ecd855'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23ecd855'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
}

.menu-item-21010:hover a::after {
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23F6BE00'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23F6BE00'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
}

/* ハンバーガーメニューの中身 */
.hamburgerMenu__subMenu {
  margin: 30px 0 0 0; 
  padding: 0;
}

.hamburgerMenu__subMenu__item {
  position: relative;
  display: flex;
  align-self: center;
  list-style: none;
}

.hamburgerMenu__subMenu__link {
  padding: 6px 18px;
  font-size: 16px;
  font-family: "M PLUS 1", Sans-serif;
  color: #333333;
}

.hamburgerMenu__subMenu__link::after {
  top: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23333333'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23333333'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
  opacity: 1 !important;
  background-color: transparent !important;
}

/* TOPページカラーセクション */
.p-top__color {
  background-color: #ccad54;
  width: 100vw;
  opacity: 1;
  transition: opacity 0.2s ease; /* 高速化 */
}

.p-top__color.changing {
  opacity: 0.9; /* 軽微な変更で高速化 */
}

.p-top__color--yellow {
  background-color: #ccad54;
}

.p-top__color--blue {
  background-color: #a3d9de;
}

.p-top__color--white {
  background-color: #aaaaaa;
}

.p-top__color--ivory {
  background-color: #c5c0a7;
}

.p-top__color--gray {
  background-color: #87868b;
}

.p-top__color__inner {
  margin: 0 auto;
  padding: 50px 10px;
  width: 100%;
  max-width: 1360px;
  min-height: 692px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 36px;
}

@media screen and (max-width: 1000px) { 
  .p-top__color__inner {
    flex-direction: column-reverse;
    align-items: center;
    max-width: none;
  }
}

@media screen and (max-width: 767px) { 
  .p-top__color__inner {
    padding: 50px 10px;
    justify-content: center;
  }
}

.p-top__color__caption {
  width: 100%;
  max-width: 620px;
}

@media screen and (max-width: 1200px) { 
  .p-top__color__caption {
    max-width: 500px;
  }
}

.p-top__color__textImage {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1000px) { 
  .p-top__color__textImage {
    display: none;
  }
}


@media screen and (min-width: 1001px) { 
  .p-top__color__title {
    display: none;
  }
}

@media screen and (max-width: 1000px) { 
  .p-top__color__title {
    color: #fff;
    font-weight: bold;
    font-family: "Jeko", Sans-serif;
    line-height: 1;
    position: relative;
    z-index: 1;
    font-size: 100px;
    text-align: center;
  }
}

@media screen and (max-width: 600px) { 
  .p-top__color__title {
    font-size: 60px;
  }
}

@media screen and (max-width: 767px) { 
  .p-top__color__wrapper {
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 1001px) { 
  .p-top__color__text {
    display: none;
  }
}

@media screen and (max-width: 1000px) { 
  .p-top__color__text {
    width: 100%;
    margin: 10px 0 0;
    padding: 0 10px; 
    font-size: 16px;
    font-weight: bold;
    font-family: "M PLUS 1", Sans-serif;
    line-height: 1.7;
    color: #fff;
  }
}

.p-top__color__switcher {
  margin: 6px 0 0;
  padding: 0; 
  display: flex;
  column-gap: 6px;
  list-style: none;
  gap: 10px;
}

@media screen and (max-width: 1000px) { 
  .p-top__color__switcher {
    justify-content: center;
  }
}


.p-top__color__switch {
  position: relative;
  background-color: rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin: 5px;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.p-top__color__switch:hover {
  transform: scale(1.1);
}

.p-top__color__switch.active {
  background-color: white;
}

.p-top__color__switch:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  content: '';
  background-color: #f7ce55;
}

.p-top__color__switch:nth-child(2):before {
  background-color: #d8d86b;
}

.p-top__color__switch:nth-child(3):before {
  background-color: #9ac3b8;
}

.p-top__color__switch:nth-child(4):before {
  background-color: #ffffff;
}

.p-top__color__switch:nth-child(5):before {
  background-color: #666666;
}

/* 色変更スイッチャーのツールチップ */
.p-top__color__tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.p-top__color__tooltip::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #000;
}

.p-top__color__switch:hover .p-top__color__tooltip {
    opacity: 1;
    visibility: visible;
}

.p-top__color__button {
  display: block;
  margin: 60px 0 0;
  padding: 12px;
  width: 120px;
  background-color: #fff;
  border-radius: 10px;
  color: #333;
  font-size: 15px;
  font-weight: bold;
  font-family: "M PLUS 1", Sans-serif;
  line-height: 1;
  text-align: center;
}

@media screen and (max-width: 1000px) { 
  .p-top__color__button {
    margin: 40px auto 0;
    padding: 15px;
    width: 160px;
  }
}

.p-top__color__button:hover, .p-top__color__button:focus, .p-top__color__button:active {
  opacity: 0.7;
}

.p-top__color__slideshow {
  max-width: 600px;
}

@media screen and (max-width: 1000px) { 
  .p-top__color__slideshow {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    width: 100%;
    margin: 0 auto;
  }
}

/* スライダーコンテナ */
.p-top__color__images {
  opacity: 0; /* 初期状態では透明 */
  min-height: 400px; /* 画像読み込み前に最小高さを確保してレイアウト安定化 */
}

/* Keen Slider初期化完了後に表示 */
.p-top__color__images.keen-slider-initialized {
  opacity: 1;
}


/* Keen Sliderのネイティブスタイル */
.p-top__color__images.keen-slider {
  display: flex;
  overflow: hidden;
  position: relative;
}

.p-top__color__images.keen-slider .keen-slider__slide {
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

/* 画像のスタイル */
.p-top__color__images img,
.p-top__color__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Keen Slider初期化後の基本構造 */
.p-top__color__images.keen-slider-initialized {
  min-height: auto;
  height: auto;
  opacity: 1; /* 初期化完了後に表示 */
}

/* スライドの表示制御 */
.p-top__color__images.keen-slider-initialized .keen-slider__slide {
  height: auto;
  /* min-height: 420px; */
  display: block;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 600px) { 
  .p-top__color__images.keen-slider-initialized .keen-slider__slide {
    /* min-height: 400px; */
  }
}

@media screen and (max-width: 500px) { 
  .p-top__color__images.keen-slider-initialized .keen-slider__slide {
    /* min-height: 330px; */
  }
}

.p-top__color__images.keen-slider-initialized .keen-slider__slide img,
.p-top__color__images.keen-slider-initialized .keen-slider__slide .p-top__color__image {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.15);
  object-fit: cover;
}

@media screen and (max-width: 767px) { 
  .p-top__color__images.keen-slider-initialized .keen-slider__slide img,
  .p-top__color__images.keen-slider-initialized .keen-slider__slide .p-top__color__image {
    transform: scale(1.17);
  }
}

/* スライダー初期化前の画像表示 */
.p-top__color__images:not(.keen-slider-initialized) img,
.p-top__color__images:not(.keen-slider-initialized) .p-top__color__image {
  display: none; /* 初期化前は画像を非表示にして縦並びを防ぐ */
}

/* Keen Slider初期化後の画像表示 */
.p-top__color__images.keen-slider-initialized img,
.p-top__color__images.keen-slider-initialized .p-top__color__image {
  display: block;
  width: 100%;
  height: auto;
}

/* 最初の画像のみ初期化前でも表示(プレースホルダーとして) */
.p-top__color__images:not(.keen-slider-initialized) img:first-child,
.p-top__color__images:not(.keen-slider-initialized) .p-top__color__image:first-child {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.5; /* 薄く表示してローディング中であることを示す */
}

/* Elementor内でのKeen Slider表示修正 */
.elementor-section .p-top__color__images,
.elementor-container .p-top__color__images {
  width: 100%;
  height: auto;
}

/* ローディング状態 */
.p-top__color__images.keen-slider-loading {
  opacity: 0.7;
}

/* タッチ操作の改善 */
.p-top__color__images.keen-slider {
  touch-action: pan-y;
}

.p-top__color__imageWrapper.keen-slider__slide {
  padding: 20px 0;
  transition: width 1s ease, min-width 1s ease;
}

.keen-slider__slide {
  user-select: none;
  -webkit-user-select: none;
}

/* アニメーション最適化 */
.keen-slider {
  will-change: transform;
}

.keen-slider__slide {
  will-change: transform;
}

/* 矢印ボタンのスタイル(Keen Slider対応) */
.p-top__color__arrow {
  cursor: pointer;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  z-index: 99;
  position: relative;
  width: 30px;
  height: auto;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Keen Slider対応 */
.p-top__color__arrow.keen-slider-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.p-top__color__arrow:hover {
  opacity: 0.7;
}

/* 矢印画像のサイズ */
.p-top__color__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .p-top__color__arrow {
    width: 20px;
  }
}

/* スライダーコンテナのスタイル */
.p-top__color__slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 767px) { 
  .p-top__color__slider-container {
    gap: 4px;
  }
}

/* 矢印の位置調整 */
.p-top__color__arrow--prev {
  order: -1;
  margin-right: auto;
}

.p-top__color__arrow--next {
  order: 1;
  margin-left: auto;
}

/* TOPページ会社概要 */
.p-top__company__list {
  padding: 0;
}

.p-top__company__item {
  padding: 30px 40px;
  border-bottom: 1px solid #ddddddff;
  display: grid;
  grid-template-columns: 150px auto;
}

@media screen and (max-width: 767px) { 
  .p-top__company__item {
    padding: 20px 10px;
    grid-template-columns: 100px auto;
  }
}

.p-top__company__item:last-child {
  border-bottom: none;
}

.p-top__company__listHead, .p-top__company__text {
  margin: 0;
  width: auto;
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
}

.p-top__company__wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.p-top__company__map {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .p-top__company__map {
    height: 200px;
  }
}

.p-top__company__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-specification__spec {
  margin: 80px auto 20px;
  width: 100%;
  max-width: 1260px;
}

@media screen and (max-width: 767px) {
  .p-specification__spec {
    margin: 25px auto 20px;
    padding: 0 20px;
  }
}

.p-specification__spec__contents {
  background-color: white;
}

.p-specification__spec__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
}

@media screen and (max-width: 767px) {
  .p-specification__spec__content {
    display: flex;
    flex-direction: column;
  }

  .p-specification__spec__content--reverse {
    flex-direction: column-reverse;
  }
}

.p-specification__spec__textArea {
  margin: 0 auto;
  padding: 40px 0;
  width: 100%;
  max-width: 430px;
}

@media screen and (max-width: 1000px) {
  .p-specification__spec__textArea {
    padding: 20px;
  }
}

.p-specification__spec__textArea--wide {
  max-width: 510px;
}

.p-specification__spec__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
}

.p-specification__spec__heading {
  font-size: 44px;
  font-weight: 500;
}

@media screen and (max-width: 1000px) {
  .p-specification__spec__heading {
    font-size: 30px;
  }
}

@media screen and (max-width: 767px) {
  .p-specification__spec__heading {
    font-size: 22px;
  }
}

.p-specification__spec__list {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

@media screen and (max-width: 1000px) {
  .p-specification__spec__list {
    row-gap: 16px;
  }
}

@media screen and (max-width: 767px) {
  .p-specification__spec__list {
    margin: 10px 0 0;
  }
}

.p-specification__spec__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-specification__spec__itemLabel {
  margin-block-end: 0 !important;
  font-size: 26px;
}

@media screen and (max-width: 1000px) {
  .p-specification__spec__itemLabel {
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .p-specification__spec__itemLabel {
    font-size: 16px;
  }
}

.p-specification__spec__itemText {
  margin-block-end: 0 !important;
  font-size: 26px;
}

@media screen and (max-width: 1000px) {
  .p-specification__spec__itemText {
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .p-specification__spec__itemText {
    font-size: 16px;
  }
}

.p-specification__spec__itemNote {
  display: inline;
  vertical-align: super;
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  .p-specification__spec__itemNote {
    font-size: 12px;
  }
}

/* 3時間の表記の前に入れる調整用の空白 */
.p-specification__spec__itemSpacer {
  display: inline-block;
  width: 41px;
  height: 1em;
}

@media screen and (max-width: 767px) {
  .p-specification__spec__itemSpacer {
    width: 25px;
  }
}

.p-specification__spec__subheading {
  margin-block-end: 0 !important;
  font-size: 26px;
  font-weight: 500;
}

@media screen and (max-width: 1000px) {
  .p-specification__spec__subheading {
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .p-specification__spec__subheading {
    font-size: 16px;
  }
}

.p-specification__spec__text {
  margin: 0 0 24px 0;
  font-size: 20px;
}

@media screen and (max-width: 1000px) {
  .p-specification__spec__text {
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .p-specification__spec__text {
    font-size: 16px;
  }
}

.p-specification__spec__subContent {
  margin: 40px 0;
  padding: 20px 40px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .p-specification__spec__subContent {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }
}

.p-specification__spec__subContentText {
  margin: 0 !important;
  font-size: 26px;
}

@media screen and (max-width: 767px) {
  .p-specification__spec__subContentText {
    font-size: 16px;
  }
}

.p-specification__spec__subContentText br {
  display: none;
}

@media screen and (max-width: 767px) {
  .p-specification__spec__subContentText br {
    display: block;
  }
}

.p-specification__spec__notes {

}

.p-specification__spec__note {
  margin: 0 0 10px 0 !important;
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  .p-specification__spec__note {
    font-size: 14px;
  }
}

/* 予約ガイド配下ページ用CSS */
.p-guide__divider {
  border:1px solid #e5e7eb;
}

.p-guide__lead {
  margin: 30px 0;
}

.p-guide__section {
  margin: 60px 0 30px;
}

.p-guide__heading {
  margin-bottom: 15px !important;
  padding-top: 2px !important;
  padding-bottom: 0 !important;
  padding-left: 8px;
  font-size: 20px !important;
  font-weight: bold !important;
  border-bottom: none !important;
  border-left: 4px solid #f6be00 !important;
  display: flex;
  align-items: center !important;
}

@media screen and (max-width: 767px) {
  .p-guide__heading {
    font-size: 16px !important;
  }
}

.p-guide__subHeading {
  font-size: 18px !important;
  font-weight: bold;
  line-height: 1;
  position: relative;
  padding:  0 0 0 20px;
}

@media screen and (max-width: 767px) {
  .p-guide__subHeading {
    font-size: 15px !important;
    padding:  0 0 0 18px;
  }
}

.p-guide__subHeading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #333;
  position: absolute;
  left: 0;
  top: 45%;
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  .p-guide__subHeading::before {
    width: 10px;
    height: 10px;
  }
}

.p-guide__subHeading--number {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-guide__subHeading--number::before {
  content: none;
}

.p-guide__subHeading--number span {
  padding: 3px 0 0;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  background-color: #333;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.p-guide__list {
  padding: 0 0 0 17px !important;
}

.p-guide__item {
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .p-guide__item {
    font-size: 14px !important;
  }
}

.p-guide__item::marker {
  color: #f6be00;
}

.p-guide__item--black::marker {
  color: #333;
}

.p-guide__subList {
  padding: 0 0 0 20px !important;
  font-size: 14px !important;
}

.p-guide__subList .p-guide__subItem {
  list-style-type: disc !important;
}

.p-guide__subList .p-guide__subItem::marker {
  color: black !important;
}

.p-guide__orderedList {
  padding: 0 0 0 24px;
  list-style: none !important;
  counter-reset: ordered-list-counter;
}

.p-guide__orderedList .p-guide__orderedItem {
  margin: 10px 0 0 0;
  position: relative;
  counter-increment: ordered-list-counter;
}

.p-guide__orderedList .p-guide__orderedItem::before {
  content: counter(ordered-list-counter) ".";
  color: #f6be00;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  left: -24px;
}

/* 番号をテキストと同じ色にする */
.p-guide__orderedList--black .p-guide__orderedItem::before {
  color: inherit;
}

/* 番号を太字にしない */
.p-guide__orderedList--normal .p-guide__orderedItem::before {
  font-weight: normal;
}

.p-guide__note {
  font-size: 14px;
  color: #4b5563;
}

@media screen and (max-width: 767px) {
  .p-guide__note {
    font-size: 13px !important;
  }
}

.p-guide__note--center {
  text-align: center;
}


.p-guide__coloredSection {
  margin: 30px 0;
  padding: 12px 16px;
  background-color: #f0f0f0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.p-guide__coloredSection--yellow {
  background-color: #fffbea;
  border: 1px solid #f6be00;
}

/* 下に矢印を付与 */
.p-guide__coloredSection--flow {
  position: relative;
  margin: 30px 0 50px 0;
}

.p-guide__coloredSection--flow::before {
  content: "↓";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #f6be00;
  font-size: 20px;
  font-weight: bold;
}

.p-guide__coloredSection__wrapper {
  display: flex;
  align-items: center;
  column-gap: 10px;
}



.p-guide__badge {
  padding: 0 6px;
  border: 1px solid #f6be00;
  border-radius: 30px;
  background-color: #fff !important;
  color: #f6be00;
  font-size: 13px;
  font-weight: bold;
}

.p-guide__coloredSection__heading {
  margin: 0; 
}

.p-guide__coloredSection__badge {
  margin: 0 0 12px 0;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  background-color: #f6be00;
  font-size: 0.75rem;
  font-weight: bold;
}

.p-guide__coloredSection__text 
{
  margin: 0;
  font-size: 16px;
  line-height: 1.6 !important;
}

@media screen and (max-width: 767px) {
  .p-guide__coloredSection__text {
    font-size: 14px !important;
  }
}

.p-guide__coloredSection__text--large {
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  .p-guide__coloredSection__text--large {
    font-size: 18px !important;
  }
}

.p-guide__coloredSection__text--center {
  text-align: center;
}

.p-guide__coloredSection__text--label {
  font-size: 14px;
  color: #6b7280;
}

@media screen and (max-width: 767px) {
  .p-guide__coloredSection__text--label {
    font-size: 13px !important;
  }
}

.p-guide__coloredSection__text--note {
  margin: 4px 0 8px;
  font-size: 12px !important;
  color: #6b7280;
}


.p-guide__coloredSection .p-guide__divider {
  margin: 0 0 8px 0;
}

.p-guide__coloredSection .p-guide__list {
  margin: 8px 0 0 0;
}

.p-guide__button {
  padding: 12px;
  border-radius: 8px;
  color: #222324;
  background-color: #f6be00;
  width: 100%;
  font-weight: bold;
  display: inline-block;
  text-align: center;
  text-decoration: none !important;
}

@media screen and (max-width: 767px) {
  .p-guide__button {
    font-size: 14px !important;
  }
}

.p-guide__button--md {
  max-width: 300px;
}

.p-guide__button:hover, .p-guide__button:focus, .p-guide__button:active {
  color: #000 !important;
  background-color: #c29500;
}

.p-guide__text {
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .p-guide__text {
    font-size: 14px !important;
  }
}

.p-guide__text--light {
  color: #6b7280 !important;
}

.p-guide__textLink {
  color: blue !important;
  text-decoration: underline;
}

.p-guide__textLink:hover, .p-guide__textLink:focus, .p-guide__textLink:active {
  text-decoration: none !important;
}

/* テキストと同じ黒色のリンク */
.p-guide__textLink--black {
  color: #222324 !important;
}

.p-guide__text--underline {
  text-decoration: underline;
  text-decoration-color: #f6be00;
}

.p-guide__archive {
  margin: 30px 0 0 0;
}

.p-guide__announcement {
  margin: 0 0 24px 0;
  padding: 12px;
  border: 1px solid #FFCCCC;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  background-color: #FEF2F2;
}

.p-guide__announcement__text {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #b91c1c;
}

@media screen and (max-width: 767px) {
  .p-guide__announcement__text {
    font-size: 16px !important;
  }
}

.p-guide__buttons {
  margin: 30px 0 20px 0;
  display: flex;
  align-items: center;
  column-gap: 20px;
}

@media screen and (max-width: 767px) {
  .p-guide__buttons {
    flex-direction: column;
    row-gap: 20px;
  }
}

.p-guide__button {
  padding: 12px;
  border-radius: 8px;
  background-color: #f6be00;
  width: 100%;
  display: inline-block;
  text-align: center;
  text-decoration: none !important;
}

.p-guide__button:hover, .p-guide__button:focus, .p-guide__button:active {
  color: #000 !important;
  background-color: #c29500;
}

.p-guide__deliveryCost__list {
  margin: 0;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.p-guide__deliveryCost__item {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-guide__deliveryCost__prefecture {
  margin: 0;
  font-size: 14px;
}

.p-guide__deliveryCost__price {
  margin: 0;
  font-size: 18px !important;
}

.p-guide__deliveryCost__unit {
  margin: 0 0 0 4px;
  font-size: 12px;
}

.p-guide__deliveryCost__button {
  margin: 12px 0 0 0;
  padding: 16px;
  width: 100%;
  border-radius: 8px;
  background-color: #f0f0f0;
  font-size: 14px;
  text-decoration: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-guide__deliveryCost__button p {
  margin: 0;
}

.p-guide__deliveryCost__button span {
  font-size: 12px;
}

.p-guide__step__heading {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
}

.p-guide__step__heading::before,
.p-guide__step__heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #d1d5db;
}

.p-guide__step__heading::before {
  margin-right: 1em;
}

.p-guide__step__heading::after {
  margin-left: 1em;
}

.p-guide__step__headingText {
  margin: 0;
  font-size: 14px;
  text-align: center;
  color: #6b7280;
  background-color: #F5F5F5;
  display: block;
}

.p-guide__step__content {
  position: relative;
  margin: 16px 0 0;
  padding: 0 0 0 32px;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.p-guide__step__content::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #d1d5db;
}

.p-guide__step__item {
  position: relative;
}

.p-guide__step__item::before {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #FFC107;
  border-radius: 50%;
  content: "";
}

.p-guide__step__label {
  margin: 0;
  font-size: 13px !important;
  color: #FFC107;
}

.p-guide__step__subHeading {
  margin: 0;
  font-size: 18px;
}

@media screen and (max-width: 767px) {
  .p-guide__step__subHeading {
    font-size: 15px !important;
  }
}

.p-guide__step__text {
  margin: 0;
  color: #6b7280;
}

.p-guide__borderSection {
  margin: 30px 0;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.p-guide__borderSection__text {
  margin: 0;
}

.p-guide__borderSection__text--label {
  font-size: 14px;
  color: #6b7280;
}

.p-guide__borderSection__text.text-bold {
  font-size: 16px;
}

.p-guide__imageWrapper {
  margin: 24px 0;
  display: flex;
  justify-content: center;
} 

.p-guide__image {
  width: 100%;
  height: auto;
}

.p-guide__image--vertical {
  max-width: 400px;
}

.p-guide__embed {
  margin: 0 auto 14.4px;
  max-width: 600px;
}


.elementor-20930 ul, .elementor-20930 ol {
  margin: 10px 0 !important;
}

.elementor-20930 li {
  margin: 4px 0;
  font-size: 16px;
  line-height: 1.5 !important;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word
}

.elementor-20930 p {
  font-size: 16px;
}


/* 記事詳細ページの関連記事内のループアイテム */
.swiper-slide {
  max-width: 400px;
}

/* swpierの矢印アイコンがデフォルトで巨大なため、swiperがinitilizeされない場合に画面外に飛び出してしまうため、初めから標準サイズにしてみる */
.elementor-swiper-button svg {
  height: 1em;
  width: 1em;
}

/* ハンバーガーメニュー内でスクロールできない不具合を修正 */
.dialog-message.dialog-lightbox-message {
  overflow-y: scroll !important;
  height: 100dvh !important;
}

/* TOPページ 767px以下でメインビジュアル動画の上部が表示されない問題を修正 */
@media screen and (max-width: 767px) {
  .elementor-element-360d00c .elementor-widget-container {
    overflow: visible;
  }
}

/* ========== FAQ詳細ページの緊急時カテゴリーを非表示 ========== */
article.betterdocs-single-category-wrapper[data-id="126"] {
  display: none;
}


/* KG追記 */
.page .page_container .e-con-inner a {
  color: #007cff;
  text-decoration: underline;
}

/* PC&Tabletメニュー */
.external-link-wrap li a {
  padding: 16px 10px;
}
.external-link-wrap li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #F6BE00;
  bottom: 0px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s; 
}
.external-link-wrap li a:hover::after {
  transform: scale(1, 1);
}

/* スマホメニュー */
@media screen and (max-width: 1024px) {
  .menu-item a img {
    width: 20px;
    margin-right: 0.5em;
  }
}

/* テキストの不自然な両端揃えを防ぐ */
.elementor-widget-text-editor,
.elementor-text-editor,
.elementor-widget-text-editor p,
.elementor-text-editor p,
.elementor-text-editor li,
.elementor-widget-text-editor li {
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
}
