/*
Theme Name: Bihani
Theme URI:
Author:
Author URI:
Description: Indian & Nepali Soup Curry Restaurant Theme
Requires at least: 6.1
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template:
Text Domain: bihani
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, wide-blocks
*/

/**********************************
共通
**********************************/
.-pc {
  display: block;
}

.-sp {
  display: none !important;
}

.-pc_hero {
  display: block;
}

.-sp_hero {
  display: none !important;
}

header {
  position: relative;
}

body {
  margin: 0;
}

caption {
  text-align: left;
}

/*背景色*/
.bg_fff {
  background: #ffffff;
}

.bg_beige {
  background: #F6E8CB;
}

@media screen and (max-width: 600px) {
  .-sp_hero {
    display: block !important;
  }

  .-pc_hero {
    display: none !important;
  }

}

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

  .-pc {
    display: none !important;
  }

  .w90 {
    width: 90% !important;
  }
}

/**********************************
既存ブロック調整 
**********************************/
.wp-block-site-logo {
  background: #b10943;
}

.wp-site-blocks {
  padding: 0;
}

.wp-block-group {
  margin: 0;
}

.wp-block-post-title {
  display: none;
}

/*テーブル*/
.wp-block-table td,
.wp-block-table th {
  border: #ffffff;
}

.wp-block-table td:first-child {
  background: #b10943;
  color: #ffffff;
  text-align: center;
  padding: 0 0.5rem;
}

.wp-block-table td {
  padding: 1rem;
}

.wp-block-table tr {
  border: 1px solid #ffffff;
}

@media screen and (max-width: 768px) {
  .wp-block-table td {
    padding: 0.5rem;
  }

  .wp-block-table td:first-child {
    font-size: 13px;
  }
}

/* 見出し： 星マーク */
:is(h1, h2, h3, h4, h5, h6).is-style-star::before {
  content: url(assets/images/star.svg);
  margin-right: 0.2em;
  vertical-align: text-bottom;
}

:is(h1, h2, h3, h4, h5, h6).is-style-star::after {
  content: url(assets/images/star.svg);
  margin-left: 0.2em;
  vertical-align: text-bottom;
}

/* カテゴリー一覧： リストマークなし */
.wp-block-categories.is-style-no-listmark {
  list-style: none;
  padding-left: 0;
}

/* 投稿日： 時計アイコン */
.wp-block-post-date.is-style-clock-icon::before {
  content: url(assets/images/clock-regular.svg);
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  margin-right: 0.5em;
  font-size: 1.25em;
  opacity: 0.3;
}

/* 次の投稿： ラベル逆配置 */
.wp-block-post-navigation-link.is-style-reverse {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.3em;
}

/* テンプレートパーツ： 上マージン削除 */
.wp-block-template-part.is-style-rm-margin-top {
  margin-top: 0;
}

/* 段落： スクロールダウン */
p.is-style-scroll-down {
  position: relative;
  height: 144px;
  border-right: solid 1px var(--wp--preset--color--dark-gray);
  writing-mode: vertical-rl;
}

p.is-style-scroll-down::before {
  content: "";
  position: absolute;
  top: 0;
  right: -7px;
  width: 12px;
  height: 12px;
  border: solid 1px var(--wp--preset--color--dark-gray);
  border-radius: 50%;
  background-color: var(--wp--preset--color--primary);
  animation: scroll 4s infinite;
}

@keyframes scroll {
  0% {
    top: 0%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* カラム：モバイル逆順 */
@media (max-width: 786px) {
  .wp-block-columns.is-style-reverse {
    flex-direction: column-reverse;
  }
}

/***********************************
言語切り替え
***********************************/
.lang_btn {
  display: flex;
  margin-top: 4%;
}

/* button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
} */

.btn_jp,
.btn_en {
  border: 1px solid #F0C644;
  padding: 8% 30%;
}

.grey {
  background-color: #F0C644;
}

.lang_btn {
  justify-content: center;
}

.btn_jp,
.btn_en {
  border: 1px solid #F0C644;
  padding: 1% 5% !important;
}


/***********************************
header
***********************************/
@media screen and (max-width: 768px) {
  header {
    display: block;
    position: fixed;
    z-index: 3;
    width: 100%;
    top: 0;
  }

  .header.lang_btn {
    position: fixed;
    z-index: 3;
    right: 70px;
    top: 25px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    text-align: center;
  }

  .header.lang_btn a {
    margin-top: 1.5px;
    display: block;
  }

  .lang_btn {
    padding: 0;
  }
}

.sns {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1;
}

.sns a img {
  width: 36px;
}

/***********************************
hero
***********************************/
.hero {
  position: relative;
  margin-top: -2% !important;
}

.lead {
  position: absolute;
  bottom: 0;
  display: inline-block;
  background: #F6E8CB;
  font-size: 2rem;
  margin: 0;
  padding: 1% 2% 3% !important;
  border-top-right-radius: 20px;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #F6E8CB 50%, #F6E8CB 100%);
}

@media screen and (max-width: 768px) {
  .lead {
    position: inherit;
    bottom: 0;
    display: inline-block;
    background: #F6E8CB;
    margin: 0;
    padding: 2% 0 !important;
    border-top-right-radius: 0;
    font-size: clamp(1.625rem, 1.17rem + 2.27vw, 2.875rem);
  }

  .hero {
    margin-top: 20% !important;
    padding: 0 4%;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    margin-top: 25% !important;
  }
}

/***********************************
our curry
***********************************/
.our_curry,
.open_day,
.info {
  background: #F6E8CB;
}

/***********************************
menu
***********************************/
.menu {
  background: #EBA940;
}

.menu::before {
  content: "";
  display: block;
  background: linear-gradient(-2deg, #EBA940 0%, #EBA940 50%, #F6E8CB 50%, #F6E8CB 100%);
  height: 100px;
  padding: 0;
}

@media screen and (max-width: 800px) {
  .menu_item_txt {
    max-width: 470px !important;
    width: 100% !important;
  }
}

/***********************************
take out
***********************************/
.take_out {
  background: #F0C644;
  
}

@media screen and (max-width: 768px) {
  .take_out {
    background-image: none !important;
    background-size: contain !important;
    background-repeat: no-repeat;
  }
}

/***********************************
info
***********************************/

/* カレンダー */
.googleCalendar iframe {
  width: 100%;
  height: 400px;
}

@media screen and (min-width: 768px) {
  .googleCalendar iframe {
    height: 600px;
  }

  .info>div {
    padding: 1.25em 1.3em;
  }
}

/***********************************
sns
***********************************/
#sns {
  background: #b10943;
}

.sns_bg::before {
  content: "";
  display: block;
  background: linear-gradient(2deg, #b10943 0%, #b10943 50%, #F6E8CB 50%, #F6E8CB 100%);
  height: 100px;
  padding: 0;
  bottom: -2px;
}

.smf-action {
  display: flex;
  justify-content: center;
  margin: 4% 0;
}

.sns_col {
  width: 50%;
}

@media screen and (max-width: 786px) {
  .sns_col {
    width: 100%;
  }
}

/***********************************
footer
***********************************/
footer {
  background: #b10943;
  color: #ffffff;
}

.footer_nav {
  font-size: 13px;
}


/***********************************
slider
***********************************/
.slide-items {
  width: 100%;
  height: 100%;
  margin: auto;
  padding: 0;
}

.slide-items img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}

.slick-dots li button:before {
  font-size: 18px !important;
  display: block !important;
  width: 100% !important;
  top: 15px !important;
  color: #b10943 !important;
}

@media screen and (max-width: 786px) {
  .slide-items-menu {
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 0;
  }

  .slide-items-menu div {
    padding: 0 5px;
  }

  .slide_blk {
    padding: 0 !important;
  }

  .slide-items-menu .slick-dots li button:before {
    font-size: 18px !important;
    display: block !important;
    width: 100% !important;
    top: 0px !important;
    color: #b10943 !important;
  }
}

/***********************************
hamburger
***********************************/

/*　ハンバーガーメニューボタン　*/
nav.globalMenuSp {
  display: flex;
  justify-content: center;
  font-weight: bold;
  gap: 8%;
}

nav.globalMenuSp ul {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  column-gap: 25px;
  padding: 0;
  font-size: 0.9rem;
}

/* @media screen and (max-width: 768px) { */
.hamburger {
  display: block;
  position: absolute;
  z-index: 3;
  right: 20px;
  top: 20px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .hamburger {
    position: fixed;
  }
}

.hamburger span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 6px;
  background: #ffffff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 10px;
}

.hamburger span:nth-child(2) {
  top: 20px;
}

.hamburger span:nth-child(3) {
  top: 30px;
}

/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top: 16px;
  left: 6px;
  background: #262626;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background: #262626;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  color: #fff;
  background: #F6E8CB;
  text-align: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
  display: flex !important;
  justify-content: center;
  flex-direction: column;
  visibility: hidden;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  font-size: 20px;
  flex-direction: column;
}

nav.globalMenuSp ul li {
  list-style-type: none !important;
  padding: 0;
  width: 100%;
  transition: .4s all;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}

nav.globalMenuSp ul li:hover {
  background: #F0C644;
}

nav.globalMenuSp ul li::after {
  content: "";
  position: absolute;
  z-index: -1;
  font-size: clamp(2.875rem, 2.557rem + 1.59vw, 3.75rem);
  font-family: var(--wp--preset--font-family--montserrat);
  opacity: 0.3;
  color: #F0C644;
}

nav.globalMenuSp ul li#our_curry::after {
  content: "OUR CURRY";
}

nav.globalMenuSp ul li#menu::after {
  content: "MENU";
}

nav.globalMenuSp ul li#open_dt::after {
  content: "OPEN DAY";
}

nav.globalMenuSp ul li#info::after {
  content: "INFO";
}

nav.globalMenuSp ul li#contact::after {
  content: "CONTACT";
}

nav.globalMenuSp ul li a {
  display: block;
  color: #262626;
  padding: 1.5em 0;
  text-decoration: none;
}

/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
  opacity: 100;
  display: block;
  visibility: visible;
}