/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
/* ===== 背景画像への白マスク ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 0;
}

body>* {
  position: relative;
  z-index: 1;
}

/* ===== ヘッダー非表示 ===== */
#site-header {
  display: none;
}

/* ===== 投稿ページメタ情報非表示 ===== */
.entry-meta {
  display: none;
}

/* ===== 投稿ページヘッダー背景色　黒 ===== */
.page-header {
  color: #fff;
  background-color: #000;
}

.site-body-container {
  background: rgba(255, 255, 255, 0.8);
}

/* ===== 店舗一覧リスト ===== */
.shops-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.shops-list__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.shops-list__icon {
  flex-shrink: 0;
  font-size: 1.3em;
  color: #e03c31;
  margin-top: 2px;
}

.shops-list__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shops-list__name {
  font-weight: bold;
  font-size: 0.95em;
  line-height: 1.4;
}

.shops-list__address {
  font-size: 0.8em;
  color: #666;
  line-height: 1.4;
}

/* ===== Leaflet地図＋店舗リスト ===== */
.shops-map-wrap {
  display: flex;
  align-items: stretch;
  min-height: 560px;
  margin: 0 -20px;
}

.shops-map__canvas {
  flex: 0 0 50%;
  min-height: 560px;
  z-index: 0;
}

.shops-map__list-wrap {
  flex: 0 0 50%;
  overflow-y: auto;
  max-height: 560px;
  padding: 16px 24px;
  background: #fff;
  box-sizing: border-box;
}

.shops-map__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shops-map__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.15s;
}

.shops-map__item:hover,
.shops-map__item.is-active {
  background: #fff8f5;
}

.shops-map__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e03c31;
  color: #fff;
  font-size: 0.75em;
  font-weight: bold;
  margin-top: 1px;
}

.shops-map__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 0 0 40%;
  min-width: 0;
}

.shops-map__name {
  font-weight: bold;
  font-size: 0.9em;
  line-height: 1.4;
}

.shops-map__address {
  font-size: 0.78em;
  color: #888;
  line-height: 1.4;
}

.shops-map__icon {
  flex: 1;
  min-width: 40px;
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  align-self: center;
}

/* SVGピン（Leaflet divIcon の白枠リセット） */
.leaflet-div-icon {
  background: none !important;
  border: none !important;
}

/* ===== 店舗カードグリッド [shops_list] ===== */
.shops-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
}

.shops-list-card {
  display: flex;
  flex-direction: column;
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
}

/* ── ヘッダー：黒背景・全幅 */
.shops-list-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #111;
  padding: 10px 14px;
}

.shops-list-card__header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shops-list-card__name {
  font-size: 1.05em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
}

.shops-list-card__name:hover {
  text-decoration: underline;
  color: #ddd;
}

.shops-list-card__name-en {
  font-size: 0.78em;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: .04em;
}

.shops-list-card__genre {
  flex-shrink: 0;
  font-size: 0.7em;
  background: #fff;
  color: #111;
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: .04em;
  font-weight: bold;
}

/* ── ボディ */
.shops-list-card__body {
  display: flex;
  min-height: 140px;
}

.shops-list-card__info {
  flex: 1;
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* 店舗紹介 */
.shops-list-card__profile {
  padding: 0 10px 10px 10px;
}

.shops-list-card__profile-label {
  font-size: 0.72em;
  color: #999;
  letter-spacing: .04em;
  margin-bottom: 0 !important;
}

.shops-list-card__profile-text {
  font-size: 0.8em;
  color: #555;
  line-height: 1.5;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 2px;
}

.shops-list-card__area,
.shops-list-card__hours {
  font-size: 0.8em;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 本日の出勤：左寄せ・ボーダー */
.shops-list-card__today {
  font-size: 0.82em;
  font-weight: bold;
  color: #d32f2f;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  border: 1px solid #d32f2f;
  padding: 3px 10px;
  border-radius: 4px;
}

.shops-list-card .shop-links {
  position: static;
  /* margin-top: auto; */
  padding-top: 8px;
}

/* VIEW MAP / VIEW DETAIL ボーダー */
.shops-list-card a.shop-map {
  border: 1px solid #b88a57;
  padding: 3px 10px;
  border-radius: 4px;
}

.shops-list-card a.shop-detail {
  border: 1px solid #aaa;
  padding: 3px 10px;
  border-radius: 4px;
}

/* 支払い方法 */
.shops-list-card__payment {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.shops-list-card__payment-label {
  font-size: 0.75em;
  color: #888;
}

.shops-list-card__pay-img {
  height: 22px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ── キャスト3名行 */
.shops-list-card__cast-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-top: 2px solid #ddd;
}

.shops-list-card__cast-item {
  overflow: hidden;
}

.shops-list-card__cast-item .fujoho-cast-image-wrap {
  position: relative;
  overflow: hidden;
  display: block;
}

.shops-list-card__cast-item .fujoho-cast-image-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.shop-links {
  display: flex;
  align-items: center;
  gap: 16px;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

a.shop-map {
  display: inline-flex;
  align-items: center;
  /* gap: 8px; */
  /* font-size: 13px; */
  font-size: 0.65em;
  letter-spacing: .12em;
  color: #b88a57;
  text-decoration: none;
  transition: color .3s;
}

a.shop-detail {
  display: inline-flex;
  align-items: center;
  /* gap: 8px; */
  /* font-size: 13px; */
  font-size: 0.65em;
  letter-spacing: .12em;
  color: #999;
  text-decoration: none;
  transition: color .3s;
}

.leaflet-popup-content a.shop-map {
  position: static;
  font-size: 1em;
}

.shops-map__actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.shops-map__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.72em;
  font-weight: bold;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}

.shops-map__btn:hover {
  opacity: .75;
  text-decoration: none;
  color: #fff;
}

.shops-map__btn--map {
  background: #b88a57;
  color: #fff;
}

.shops-map__btn--detail {
  background: #555;
  color: #fff;
}

a.shop-map,
a.shop-detail {
  position: relative;
}

a.shop-map::after,
a.shop-detail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  transition: .3s;
}

a.shop-map::after {
  background: #b88a57;
}

a.shop-detail::after {
  background: #999;
}

a.shop-map:hover {
  color: var(--vk-color-primary);
}

a.shop-map:hover::after {
  width: 100%;
}

a.shop-detail:hover {
  color: #666;
}

a.shop-detail:hover::after {
  width: 100%;
}

.shops-list-card__img-wrap {
  flex: 0 0 50%;
  /* aspect-ratio: 4 / 3; */
  overflow: hidden;
}

.shops-list-card__img-wrap img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.shops-list-card__img-wrap:hover img {
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .shops-list-grid {
    grid-template-columns: 1fr;
  }

  .shops-list-card__body {
    min-height: 160px;
  }

  .shops-list-card__img-wrap {
    flex: 0 0 42%;
  }
}

/* ショップカード モバイル調整 */
@media (max-width: 767px) {

  /* VIEW MAP / VIEW DETAIL：折り返し防止 */
  .shops-list-card .shop-links {
    gap: 8px;
  }

  .shops-list-card a.shop-map,
  .shops-list-card a.shop-detail {
    font-size: 12px;
    letter-spacing: .06em;
    padding: 3px 8px;
    gap: 4px;
    white-space: nowrap;
  }

  /* 支払い方法：ラベルを独立行に分離 */
  .shops-list-card__payment-label {
    width: 100%;
    margin-bottom: 2px;
  }

  /* エリア・営業時間・出勤数の文字縮小 */
  .shops-list-card__area,
  .shops-list-card__hours,
  .shops-list-card__today {
    font-size: 0.75em;
  }
}

/* アーカイブカード ≤500px：縦積みレイアウト */
@media (max-width: 500px) {
  .shops-list-card__body {
    flex-direction: column;
    min-height: auto;
  }

  .shops-list-card__img-wrap {
    order: -1;
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .shops-list-card__info {
    width: 100%;
  }

  .shops-list-card .shop-links {
    margin-top: 0;
  }
}

/* アーカイブカード 768px〜991px：縦積みレイアウト */
@media (min-width: 768px) and (max-width: 991px) {
  .shops-list-card__body {
    flex-direction: column;
    min-height: auto;
  }

  .shops-list-card__img-wrap {
    order: -1;
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .shops-list-card__info {
    width: 100%;
  }

  .shops-list-card .shop-links {
    margin-top: 0;
  }
}

/* アーカイブカード 中間サイズ調整 (768px〜1199px) */
@media (min-width: 768px) and (max-width: 1199px) {

  /* VIEW MAP / VIEW DETAIL 折り返し防止 */
  .shops-list-card a.shop-map,
  .shops-list-card a.shop-detail {
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: .05em;
    padding: 3px 8px;
    gap: 4px;
  }

  .shops-list-card .shop-links {
    gap: 6px;
  }

  /* 支払いアイコン縮小 */
  .shops-list-card__pay-img {
    height: 18px;
  }

  .shops-list-card__payment {
    gap: 4px;
  }

  /* メタ情報の文字縮小 */
  .shops-list-card__area,
  .shops-list-card__hours,
  .shops-list-card__today {
    font-size: 0.75em;
  }

  /* info 内パディングを狭める */
  .shops-list-card__info {
    padding: 10px 10px 8px;
    gap: 4px;
  }

  /* キャストオーバーレイの文字縮小 */
  .shops-list-card__cast-item .fujoho-cast-overlay {
    padding: 28px 6px 8px;
  }

  .shops-list-card__cast-item .fujoho-cast-name {
    font-size: 0.82em;
    margin-bottom: 2px;
  }

  .shops-list-card__cast-item .fujoho-cast-time {
    font-size: 0.72em;
    margin-bottom: 2px;
    gap: 3px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .shops-list-card__cast-item .fujoho-cast-age {
    font-size: 0.72em;
    margin-bottom: 1px;
  }

  .shops-list-card__cast-item .fujoho-cast-sizes {
    font-size: 0.62em;
  }
}

@media (max-width: 767px) {
  .shops-map-wrap {
    flex-direction: column;
    margin: 0;
  }

  .shops-map__canvas {
    flex: none;
    min-height: 300px;
  }

  .shops-map__list-wrap {
    flex: none;
    max-height: none;
    overflow-y: visible;
  }

  .shops-map__item {
    flex-wrap: wrap;
  }

  .shops-map__text {
    flex: 1;
  }

  .shops-map__icon {
    flex: none;
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    order: 3;
  }

  .shops-map__actions {
    order: 4;
    width: 100%;
    flex-direction: row;
  }
}

/* ===== 店舗お問い合わせフローティングバー ===== */
.shop-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #ddd;
  padding: 8px 16px 12px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
}

.shop-contact-bar__title {
  font-size: 0.68em;
  font-weight: bold;
  color: #999;
  text-align: center;
  margin: 0 0 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shop-contact-bar__buttons {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.shop-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: opacity 0.15s;
}

.shop-contact-btn:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

.shop-contact-btn--phone {
  background: #c0392b;
}

.shop-contact-btn--line {
  background: #00b900;
}

.shop-contact-btn--wechat {
  background: #09b83e;
}

.shop-contact-btn--whatsapp {
  background: #25d366;
}

.shop-contact-btn--kakao {
  background: #fee500;
  color: #3c1e1e;
}

.shop-contact-btn--telegram {
  background: #2ca5e0;
}

.shop-contact-bar__toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.82em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10000;
  white-space: nowrap;
}

.shop-contact-bar__toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ページ末尾がバーに隠れないよう余白を確保 */
.single.category-shop .site-content {
  padding-bottom: 100px;
}

@media (max-width: 600px) {
  .shop-contact-btn {
    padding: 8px 10px;
    font-size: 0.78em;
  }
}

/* ===== トップスライダー ===== */
/* 大画面（1350px以上）のみ全高表示 */
.ltg-slide {
  height: 100vh;
  height: 100svh;
}

.ltg-slide .swiper-wrapper,
.ltg-slide .swiper-slide {
  height: 100%;
}

.ltg-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ltg-slide-item-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* 1350px未満：画像の自然な高さでスライド（隙間を解消） */
@media (max-width: 1349px) {
  .ltg-slide {
    height: auto;
  }

  .ltg-slide .swiper-wrapper,
  .ltg-slide .swiper-slide {
    height: auto;
  }

  .ltg-slide picture {
    height: auto;
  }

  .ltg-slide-item-img {
    height: auto !important;
    object-fit: initial;
  }
}

/* ===== cast_list MORE ===== */
.cast-list-hidden {
  display: none;
}

@keyframes castFadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cast-list-appearing {
  animation: castFadeIn 0.5s ease forwards;
}

.cast-list-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.cast-list-more {
  display: inline-block;
  padding: 10px 48px;
  background: #ff3333;
  border: 1px solid #ff3333;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: .2em;
  cursor: pointer;
  transition: background .3s, color .3s;
  margin-top: 50px;
}

.cast-list-more:hover {
  background: transparent;
  color: #ff3333;
}

/* ===== safe_experience ブロック ===== */
.safe_experience {
  border: 2px solid #e00;
  background: #fff;
  padding: 0 !important;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* h2：ヘッダーバー */
.safe_experience>h2.wp-block-heading {
  background: #fff5f5;
  color: #e00;
  font-size: 13px !important;
  font-weight: bold;
  padding: 10px 14px !important;
  margin: 0 !important;
  border-bottom: 1px solid #f5c0c0;
  letter-spacing: 0;
  line-height: 1.5;
}

/* h3：セクション見出し */
.safe_experience>h3.wp-block-heading {
  font-size: 15px !important;
  font-weight: bold;
  color: #333;
  margin: 16px 14px 6px !important;
  padding: 0 !important;
  border: none !important;
}

/* ul：WordPressデフォルトをリセットして ・ 箇条書きに */
.safe_experience>.wp-block-list {
  list-style: none !important;
  padding: 0 14px !important;
  margin: 0 0 8px !important;
}

.safe_experience>.wp-block-list li {
  font-size: 13px;
  line-height: 1.8;
  padding-left: 0 !important;
}

.safe_experience>.wp-block-list li::before {
  content: "・";
}

.safe_experience>.wp-block-list li::marker {
  content: "" !important;
}

/* p：本文 */
.safe_experience>p.wp-block-paragraph {
  font-size: 13px;
  line-height: 1.7;
  padding: 0 14px !important;
  margin: 0 0 8px !important;
  color: #333;
}

/* h2・h3内の余分な <br> を非表示 */
.safe_experience>h2.wp-block-heading br,
.safe_experience>h3.wp-block-heading br {
  display: none;
}

/* ===== 店舗情報テーブル風カラムブロック ===== */
/* グループブロックに「shop-info-table」クラスを付与して使用 */
.shop-info-table {
  border: 1px solid #ddd;
  border-bottom: none;
}

.shop-info-table>.wp-block-columns {
  border-bottom: 1px solid #ddd;
  margin: 0 !important;
  gap: 0 !important;
  align-items: stretch;
}

.shop-info-table .wp-block-column {
  padding: 10px 16px;
  font-size: 0.9em;
  line-height: 1.6;
}

.shop-info-table .wp-block-column p {
  margin: 0;
}

.shop-info-table .wp-block-column:first-child {
  flex: 0 0 30% !important;
  font-weight: bold;
  border-right: 1px solid #ddd;
  background: #fafafa;
}

.shop-info-table .wp-block-column:last-child {
  flex: 1 !important;
}

/* 支払い方法アイコン行：段落ブロックに「pay-icons」クラスを付与して使用 */
.pay-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  margin: 0 !important;
}

.pay-icons img {
  height: 34px;
  width: auto;
}

/* ===== ページ内ナビゲーション ===== */
.page-nav {
  display: flex;
  gap: 40px;
  padding: 16px 0;
  border-top: 2px solid #1a6bbf;
  border-bottom: 1px solid #ddd;
  font-size: 0.9em;
  justify-content: space-around;
}

.page-nav a {
  color: #333;
  text-decoration: none;
}

.page-nav a:hover {
  color: #1a6bbf;
}

/* ===== 店舗カテゴリー H2：黒背景・白文字 ===== */
.category-shop h2.wp-block-heading,
.fujoho-shop-content h2.wp-block-heading {
  background: #111 !important;
  color: #fff !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 12px 16px !important;
  margin-bottom: 0 !important;
}

/* safe_experience 内の H2 は除外して既存スタイルを維持 */
.category-shop .safe_experience>h2.wp-block-heading {
  background: #fff5f5 !important;
  color: #e00 !important;
  border-top: none !important;
  border-bottom: 1px solid #f5c0c0 !important;
  padding: 10px 14px !important;
  margin: 0 !important;
}

/* ===== テーブルキャプション見出し（H3）===== */
/* テーブルの直上に置くH3に .table-caption クラスを付けて使用 */
.table-caption {
  background: #8b2020;
  color: #fff !important;
  text-align: center;
  font-size: 0.95em !important;
  font-weight: bold;
  padding: 12px 16px !important;
  margin: 0 !important;
  border: none !important;
}

/* テーブルキャプション直後のテーブルは上の角丸・余白をなくして連結して見せる */
.table-caption+.wp-block-table {
  margin-top: 0 !important;
}

.table-caption+.wp-block-table table {
  border-top: none;
}

/* 見出し + 店舗一覧リンク */
.location-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid rgb(209, 88, 58);
}

.location-map-header h2,
.location-map-header h3 {
  border-top: none;
}

.location-map__archive-link {
  font-size: 0.75em;
  color: #999;
  text-decoration: none;
  letter-spacing: .04em;
  white-space: nowrap;
}

.location-map__archive-link:hover {
  color: #555;
  text-decoration: underline;
}

/* ロケーションマップ：店舗一覧リンク */
.shops-map__archive-link {
  display: block;
  font-size: 0.78em;
  color: #999;
  text-align: right;
  padding: 4px 4px 8px;
  text-decoration: none;
  letter-spacing: .04em;
}

.shops-map__archive-link:hover {
  color: #555;
  text-decoration: underline;
}

/* ===== ハンバーガーメニュー ===== */
/* Lightning親テーマの body > * { z-index: 1 } を上書き */
#hamburger-menu {
  z-index: 9999;
}

#hamburger-navi {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  color: #fff;
  padding: 60px 25px;
  background-color: #121212;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all .5s;
  z-index: 1020;
  opacity: 0;
}

#hamburger-navi a {
  color: #fff;
}

#hamburger-navi li {
  list-style: none;
}

#hamburger-navi ul {
  margin: 0;
  padding: 0;
}

#hamburger-navi ul.nav-menu {
  margin-bottom: 60px;
  border-top: solid 1px #fff;
}

#hamburger-navi ul.nav-menu li {
  padding: 20px 0;
  border-bottom: solid 1px #fff;
}

#hamburger-navi ul.nav-sun li {
  padding: 5px 0;
}

#hamburger-menu.open #hamburger-navi {
  left: 0;
  opacity: 1;
}

.toggle_btn {
  display: block;
  position: fixed;
  top: 25px;
  right: 45px;
  width: 30px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 1030;
}

.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #fff;
  border-radius: 4px;
  transition: all .5s;
}
#hamburger-menu.is-scrolled .toggle_btn span {
  background-color: #333;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}

.toggle_btn span:nth-child(2) {
  top: 14px;
}

.toggle_btn span:nth-child(3) {
  bottom: 4px;
}

#hamburger-menu.open .toggle_btn span {
  background-color: #fff;
}

#hamburger-menu.open .toggle_btn span:nth-child(1) {
  transform: translateY(10px) rotate(-315deg);
}

#hamburger-menu.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}

#hamburger-menu.open .toggle_btn span:nth-child(3) {
  transform: translateY(-10px) rotate(315deg);
}

#hamburger-mask {
  display: none;
}

#hamburger-menu.open #hamburger-mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 1010;
  cursor: pointer;
}