/*
Theme Name: 十誡
Description: ライブラリー・バー「十誡」公式サイト用オリジナルテーマ
Author: PentaProgram
Version: 2.0.0
Text Domain: zikkai
*/

/* 全体 */
html {
  font-family: Osaka, "メイリオ", Meiryo, sans-serif;
  font-size: 62.5%;
  line-height: 150%;
}
strong {
  font-weight: bold;
}
a {
  color: #f2cb8a;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.respImg {
  display: block;
  height: auto;
  max-width: 100%;
  box-sizing: border-box;
}
.borderImg img {
  /*border: 1px solid #5f1f1f;*/
  border: 1px solid #000000;
}
.pcOnly {
  display: none;
}
.spBr {
  display: block;
}
body {
  background-image: url(./img/common/bg.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #f7f2f1;
}

.wrapper {
  width: 100%;
  text-align: center;
  color: #cfc4b2;
  font-size: 1.4rem;
  line-height: 1.5;
}
.main {
  margin-top: 44px; /*header*/
}

/* ナビゲーション */
.headWrap {
  position: fixed;
  width: 100%;
  z-index: 88888888;
}
.header {
  box-sizing: border-box;
  padding: 10px;
  margin: 0;
  background: #420d0d;
  border-bottom: 1px solid #170101;
  height: 44px;
}
.header .pcLogo {
  display: none;
}
.header .spLogo {
  display: inline;
  width: 40px;
  height: auto;
}
#spButton {
  float: right;
  color: #fff;
  font-size: 2rem;
}
#spButton:hover {
  cursor: pointer;
}
.menu-main_navigation-container {
  display: none;
  top: 0;
  background: #420d0d;
  font-family: Folk Regular;
  font-size: 1.5rem;
}
#menu-main_navigation a {
  color: #f2cb8a;
  display: block;
  line-height: 35px;
}
#menu-main_navigation a:hover {
  background-color: #170101;
  text-decoration: none;
}
.current-menu-item a,
.current-post-parent a {
  background-color: #170101;
}
#menu-main_navigation li {
  text-align: center;
}
#menu-main_navigation li + li {
  border-top: 1px solid #170101;
}

/*メイン*/
.main {
  width: 100%;
  padding: 20px 10px 40px 10px;
  box-sizing: border-box;
  text-align: left;
  background-image: url(./img/common/main_bg.png);
}
.main p + p {
  margin-top: 20px;
}
.main img {
  max-width: 100%;
  height: auto;
}
/*サイドバー*/
.sidebar {
  width: 100%;
  padding: 40px 10px;
  box-sizing: border-box;
  background-image: url(./img/common/side_bg.png);
}
.sidebar .news li:not(:first-child) {
  display: none;
}
.sidebar .news h2 {
  font-size: 1.5rem;
  text-align: center;
  color: #f2cb8a;
  font-family: Folk Bold;
}
.sidebar .news .title {
  font-weight: bold;
  padding-top: 20px;
  line-height: 1;
}
.sidebar .news .postImg {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.sidebar .news .excerpt {
  padding: 5px 0;
  font-size: 1.3rem;
}
.sidebar .news .date {
  padding-top: 5px;
  font-size: 1rem;
  line-height: 1.2;
}
.sidebar .openHour {
  font-size: 1rem;
}
.sidebar .openHour h2 {
  font-weight: bold;
}
.openHour h2:not(:first-child) {
  margin-top: 10px;
}

.sidebar #biz_calendar table.bizcal {
  background-color: rgba(255, 255, 255, 0.8);
}
.sidebar #biz_calendar table.bizcal .holiday {
  background-color: #420d0d;
}
.sidebar #biz_calendar table.bizcal .eventday {
  background-color: #f2cb8a;
}
.sidebar #biz_calendar table.bizcal .eventday a {
  color: #000;
}
.sidebar #biz_calendar p span.boxholiday {
  background-color: #420d0d;
  border: 1px solid #eee;
}
.sidebar #biz_calendar p span.boxeventday {
  background-color: #f2cb8a;
  border: 1px solid #eee;
}
.sidebar .widget_bizcalendar a {
  color: #cfc4b2;
}

/*　フッター　*/
.footer {
  color: #fff;
  background-image: url(./img/common/side_bg.png);
  text-align: center;
  padding-bottom: 60px;
}
.footer .snsb {
  margin: 0 auto 20px auto;
}
.footer .snsb li {
  display: inline-block;
  float: none;
  padding: 10px;
}
.footer .snsb [class^="fa-"] {
  font-size: 4rem;
}

/*　ページ　*/
.pageTitle {
  color: #f2cb8a;
  padding-bottom: 20px;
  font-size: 2rem;
  text-align: center;
  font-family: Folk Medium;
}

/*　ニュース記事　*/
.post {
  padding: 20px;
  border: double #5f1f1f;
}
.post + .post {
  margin-top: 40px;
}
.postTitle {
  padding-bottom: 10px;
  font-size: 2rem;
  border-bottom: double #5f1f1f;
  font-family: Folk Medium;
}
.postTitle:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  margin-right: 5px;
  background-color: #f2cb8a;
  -webkit-mask: url(img/icons/martini-glass.svg) no-repeat center / contain;
  mask: url(img/icons/martini-glass.svg) no-repeat center / contain;
}
.postTitle .date {
  display: block;
  font-size: 1rem;
  color: #f2cb8a;
}
.postContent {
  padding: 20px 0;
}
.postContent img {
  max-width: 100%;
}
.post-meta,
.footer-post-meta {
  margin-top: 5px;
  text-align: right;
  font-size: 1rem;
  color: #793838;
}

/* テーマ同梱SVGアイコン（zikkai_icon() で出力）
   色は currentColor、サイズは親要素の font-size を継承する */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
}

/* 過去記事の本文内に残っている旧Font Awesomeクラス用の互換表示 */
i.fa-phone {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: url(img/icons/phone.svg) no-repeat center / contain;
  mask: url(img/icons/phone.svg) no-repeat center / contain;
}

.snsb .icon {
  font-size: 2.5rem;
}
.snsb li {
  float: right;
  padding-left: 10px;
  min-height: 25px;
  text-align: right;
  font-size: 1rem;
  color: #793838;
}
.snsb a {
  color: #666;
}
.snsb a .icon-facebook {
  color: #1877f2;
}
.snsb a .icon-x-twitter {
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .footer .snsb a .icon-x-twitter {
    color: #000000;
  }
}
.snsb a .icon-instagram {
  color: #e4405f;
}
.navigation {
  margin-top: 40px;
}

/* トップへ戻る */
#page-top {
  bottom: 60px;
  display: none;
  position: fixed;
  right: 20px;
  font-size: 5rem;
}

/* Swipebox */
#swipebox-close {
  top: 50px !important;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
/* .screen-reader-text は末尾の「アクセシビリティ」セクションで定義 */

@media only screen and (orientation: portrait) {
  /* Portraitモード（縦向き）用 */
  body {
    background-image: none;
  }
  body::before {
    background: url("./img/common/bg_portrait.jpg") no-repeat left top;
    background-size: 100% auto;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
  }
}

@media screen and (min-width: 480px) {
}
@media screen and (min-width: 768px) {
  .headWrap {
    position: relative;
    z-index: 0;
  }
  .header {
    height: auto;
    background-color: transparent;
    padding: 30px 0;
    border-bottom: none;
  }
  .header .spLogo {
    display: none;
  }
  .header .pcLogo {
    display: block;
    width: 100%;
    max-width: 559px;
    height: auto;
    margin: auto;
  }
  #spButton {
    display: none;
  }
  a img:hover {
    opacity: 0.6;
    transition: 0.5s;
  }
  .pcOnly {
    display: block;
  }
  .spOnly {
    display: none;
  }
  .spBr {
    display: none;
  }

  .wrapper {
    width: 1000px;
    margin: 0 auto;
  }
  /* 2カラム（.main / .sidebar）の高さ揃え。
     旧実装はjquery.heightLine.jsによるJS制御だったが、flexのstretchで代替 */
  .wrapper.fixHeight {
    display: flex;
  }
  /* flexコンテナではclearfix不要。content: "." がflexアイテム化して
     幅を数px奪い、カラム幅が縮むのを防ぐ */
  .wrapper.fixHeight::after {
    content: none;
  }

  /* メニュー */
  .menu-main_navigation-container {
    position: relative;
    display: block;
    background: #420d0d;
    width: 1000px;
    margin: auto;
  }
  #menu-main_navigation a {
    display: block;
    line-height: 35px;
    padding: 0 16px;
    width: 100%;
  }
  #menu-main_navigation {
    width: 800px;
    margin: auto;
    display: flex;
    justify-content: space-between;
  }
  #menu-main_navigation li {
    text-align: center;
    line-height: 35px;
  }
  #menu-main_navigation li + li {
    border-top: none;
  }

  /*メイン*/
  .main {
    width: 780px;
    padding: 35px 80px 35px 100px;
    margin-top: 0;
    box-sizing: border-box;
    float: left;
    text-align: left;
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#99170101,EndColorStr=#99170101); /*IE8以下用*/
    min-height: 400px;
  }

  /*サイドバー*/
  .sidebar {
    width: 220px;
    padding: 35px 30px;
    box-sizing: border-box;
    float: left;
    text-align: left;
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#00000001,EndColorStr=#00000001); /*IE8以下用*/
  }
  .sidebar .news li:not(:first-child) {
    display: block;
  }

  /*フッター*/
  .footer {
    background-color: transparent;
    background-image: none;
    color: #000;
    margin: 20px 0;
    padding-bottom: 0;
  }
  #page-top a {
    color: #420d0d;
  }
  #page-top:hover {
    cursor: pointer;
    opacity: 0.8;
  }

  /* Swipebox */
  #swipebox-close {
    top: 0 !important;
  }
}

.smartphone-navigation {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(22, 16, 17, 0.8);
  backdrop-filter: blur(3px);
}
@media screen and (min-width: 768px) {
  .smartphone-navigation {
    display: none;
  }
}
.navicon-list {
  margin: 0;
  padding: 3px 0;
  display: flex;
  justify-content: space-around;
}
.navicon-list .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
}
.navicon-list .link {
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 8px;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}
.navicon-list .top .link::before,
.navicon-list .access .link::before,
.navicon-list .menu .link::before,
.navicon-list .reserve .link::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.navicon-list .top .link::before {
  -webkit-mask-image: url(img/icons/house.svg);
  mask-image: url(img/icons/house.svg);
}
.navicon-list .access .link::before {
  -webkit-mask-image: url(img/icons/location-dot.svg);
  mask-image: url(img/icons/location-dot.svg);
}
.navicon-list .menu .link::before {
  -webkit-mask-image: url(img/icons/rectangle-list.svg);
  mask-image: url(img/icons/rectangle-list.svg);
}
.navicon-list .reserve .link::before {
  -webkit-mask-image: url(img/icons/calendar-day.svg);
  mask-image: url(img/icons/calendar-day.svg);
}
.navicon-list .label {
  color: #fff;
  font-size: 8px;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}
.navicon-list .menubutton {
  height: 26px;
}
.navicon-list .menubutton .button {
  border: 0;
  background: transparent;
  appearance: none;
}
.navicon-list .menubutton .button:focus {
  outline: none;
}
.navicon-list .menubutton .toggle-icon {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: 20px;
  height: 2px;
  content: "";
  transition: background-color 0.2s;
  background-color: #fff;
}
.navicon-list .menubutton .toggle-icon::before,
.navicon-list .menubutton .toggle-icon::after {
  box-sizing: border-box;
  width: 20px;
  height: 2px;
  content: "";
  background-color: #fff;
}
.navicon-list .menubutton .toggle-icon::before {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.2s;
  transform: translateY(-7px);
}
.navicon-list .menubutton .toggle-icon::after {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.2s;
  transform: translateY(7px);
}
.navicon-list .menubutton .is-open .toggle-icon {
  z-index: 2;
  background-color: transparent;
}
.navicon-list .menubutton .is-open .toggle-icon::before {
  transform: rotate(45deg);
  background-color: #fff;
}
.navicon-list .menubutton .is-open .toggle-icon::after {
  transform: rotate(-45deg);
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .navicon-list {
    display: none;
  }
}
.smartphone-drawer {
  position: fixed;
  right: 0;
  bottom: 50px;
  transform: translate3d(240px, 0, 0);
  transition: transform 0.35s;
  z-index: 3;
}
.smartphone-drawer .item {
  margin: 0.5em 2.4vw;
  text-align: right;
}
.smartphone-drawer .link {
  color: #fff;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  background: rgba(22, 16, 17, 0.8);
  padding: 0.4em 1em;
}
@media screen and (min-width: 768px) {
  .smartphone-drawer {
    display: none;
  }
}
.smartphone-drawer.open {
  transform: translate3d(0, 0, 0);
}
.smartphone-drawer .archives .link::before,
.smartphone-drawer .artists .link::before,
.smartphone-drawer .info .link::before,
.smartphone-drawer .mail .link::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.smartphone-drawer .archives .link::before {
  -webkit-mask-image: url(img/icons/landmark.svg);
  mask-image: url(img/icons/landmark.svg);
}
.smartphone-drawer .artists .link::before {
  -webkit-mask-image: url(img/icons/palette.svg);
  mask-image: url(img/icons/palette.svg);
}
.smartphone-drawer .info .link::before {
  -webkit-mask-image: url(img/icons/circle-info.svg);
  mask-image: url(img/icons/circle-info.svg);
}
.smartphone-drawer .mail .link::before {
  -webkit-mask-image: url(img/icons/envelope-light.svg);
  mask-image: url(img/icons/envelope-light.svg);
}

/* アクセシビリティ */
/* スクリーンリーダー専用テキスト（スキップリンク等）。フォーカス時のみ表示する */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
/* クラスを重ねて詳細度を上げ、後から読み込まれるWPコア（block-library）の
   .screen-reader-text:focus（グレー配色）に負けないようにする */
.screen-reader-text.screen-reader-text:focus {
  position: fixed;
  top: 5px;
  left: 5px;
  z-index: 100000; /* 管理バーより手前 */
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 15px;
  clip: auto;
  clip-path: none;
  white-space: normal;
  background: #420d0d;
  color: #f2cb8a;
  font-size: 1.4rem;
  text-decoration: underline;
}
/* ハンバーガーメニューをbutton要素にしたため、UA標準のボタン装飾を打ち消す
   （reset.cssはbutton要素を対象にしていない） */
button#spButton {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  font: inherit;
  font-size: 2rem;
  line-height: inherit;
  color: #fff;
  cursor: pointer;
}
