/*
Theme Name: Liberale Mirror
Theme URI: https://www.mattys-k.com/
Author: Liberale
Description: Jimdo版「Liberale~酒場」を忠実に再現した移行用WordPressテーマ。
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: liberale-mirror
*/

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

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

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-400-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --content-width: 960px;
  --white: #fff;
  --cream: #fce5ca;
  --orange: #f29530;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: inherit; }

body {
  min-width: 320px;
  margin: 0;
  background: #231b18;
  color: var(--white);
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: url("assets/images/backgroundarea-i2332896dc9eb233b.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
}

body.nav-open { overflow-x: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-frame {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.site-main {
  width: 100%;
  min-height: 100vh;
  transition: width .6s var(--ease), margin-left .6s var(--ease);
}

.content-layer { background: rgba(34, 34, 34, .8); }

.content-inner,
.widget-inner,
.site-footer__inner {
  position: relative;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 50px 15px;
}

.site-header { margin: 30px 0; }
.site-title {
  margin: 0;
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 1.05;
}
.site-title a { text-decoration: none; }

.nav-toggle {
  position: fixed;
  z-index: 1001;
  top: 50px;
  left: 1%;
  width: 80px;
  height: 55px;
  padding: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: left .6s var(--ease);
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  position: absolute;
  left: 20px;
  width: 40px;
  border-top: 3px solid #fff;
  border-radius: 999px;
  content: "";
  transition: transform .3s, top .3s, border-color .3s;
}
.nav-toggle__lines { top: 31px; }
.nav-toggle__lines::before { top: -14px; left: 0; }
.nav-toggle__lines::after { top: 8px; left: 0; }

.site-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  transition: width .6s var(--ease);
}

/* Keep the theme controls below WordPress' toolbar while previewing in Local. */
.admin-bar .site-nav {
  top: 32px;
  height: calc(100% - 32px);
}

.site-nav__inner {
  width: 100%;
  height: 100%;
  margin-left: -400px;
  overflow-y: auto;
  background: rgba(102, 102, 102, .8);
  transition: margin-left .6s var(--ease);
}

.site-nav ul { margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  min-height: 41px;
  padding: 9px 55px 9px 25px;
  text-decoration: none;
  transition: background-color .3s var(--ease);
}
.site-nav a:hover,
.site-nav a:focus,
.site-nav .current-menu-item a { background: rgba(255, 255, 255, .2); }

body.nav-open .site-nav { width: 25%; }
body.nav-open .site-nav__inner { margin-left: 0; }
body.nav-open .site-main { width: 75%; margin-left: 25%; }
body.nav-open .nav-toggle { left: 26%; }
body.nav-open .nav-toggle__lines { border-color: transparent; }
body.nav-open .nav-toggle__lines::before { top: -3px; transform: rotate(45deg) scaleX(1.18); }
body.nav-open .nav-toggle__lines::after { top: -3px; transform: rotate(-45deg) scaleX(1.18); }

h2, h3, p { margin-top: 0; }
h2 { margin-bottom: .7em; font-size: 3.2rem; font-weight: 400; line-height: 1.25; }
h3 { margin-bottom: .8em; font-size: 2.4rem; font-weight: 400; line-height: 1.25; }

.intro-meta { margin-bottom: 30px; }
.intro-copy p { margin-bottom: 1.4em; color: var(--cream); font-size: 14px; }
.spacer-50 { height: 50px; }
.spacer-80 { height: 80px; }
.spacer-100 { height: 100px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2%;
  align-items: start;
}
.feature-card { text-align: center; }
.feature-card img { width: 100%; }
.feature-card figcaption { margin-top: 4px; font-size: 12px; }

.statement { margin: 0 auto; text-align: center; }
.statement p { margin-bottom: 1.4em; }
.center-image { margin-right: auto; margin-left: auto; }
.image-caption { margin-top: 8px; text-align: center; }
.orange { color: var(--orange); }

.story-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 790px;
  margin: 0 auto;
}
.story-row__media { flex: 0 0 210px; }
.story-row__copy { flex: 1; }
.story-row__copy p { margin-bottom: 1.2em; }
.story-row--reverse { flex-direction: row-reverse; }

.access-chef { max-width: 820px; margin: 0 auto; }
.section-heading { margin-top: 80px; }
.access-copy { text-align: center; }
.chef-image { width: 129px; margin: 20px auto 0; }
.chef-name { margin: 8px 0 23px; text-align: center; }
.chef-note { max-width: 760px; margin: 0 auto; font-size: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2%;
  align-items: start;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid #fff;
}
.contact-details { text-align: center; }
.contact-details p { margin-bottom: 1em; }
.social-area { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.facebook-connect {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 2px;
  background: #4267a9;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.social-links { display: flex; gap: 8px; }
.social-link {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.social-link--facebook { background: #3b5998; font-family: Arial, sans-serif; font-size: 23px; }
.social-link--x { background: #000; font-family: Arial, sans-serif; font-size: 18px; }
.social-link--line { background: #23c83d; font-family: Arial, sans-serif; font-size: 8px; }

.cta-section { margin-top: 24px; padding-top: 40px; border-top: 2px solid #fff; }
.legacy-button {
  display: inline-block;
  padding: 16px 34px;
  background: #fff;
  color: #222;
  text-decoration: none;
}

.menu-content { text-align: left; }
.menu-banner { width: 277px; margin: 0 auto; }
.section-rule { margin: 22px 0 14px; border: 0; border-top: 2px solid #fff; }
.menu-image { width: 100%; margin: 0 auto; }
.menu-image--food { max-width: 532px; }
.menu-image--course { max-width: 790px; }
.menu-image--drink { max-width: 698px; }
.menu-image--logo { max-width: 399px; }
.course-copy { text-align: center; }
.course-copy p { margin-bottom: .6em; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}
.gallery-grid button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.32;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111;
  cursor: zoom-in;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

.widget-layer { position: relative; background: rgba(68, 68, 68, .8); }
.legacy-widget {
  display: flex;
  padding: 20px;
  background: #333;
  color: #efefef;
}
.legacy-widget__text {
  width: 100%;
  padding: 25px 15px;
  border: 2px solid #717677;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}
.legacy-widget a { color: #efefef; }

.site-footer { background: rgba(68, 68, 68, .8); font-size: 13px; }
.site-footer__inner { padding-top: 50px; padding-bottom: 50px; }
.cookie-link { color: #fff; }

.lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 50px;
  background: rgba(0, 0, 0, .96);
}
.lightbox.is-open { display: flex; }
.lightbox__image { max-width: min(82vw, 1000px); max-height: 86vh; object-fit: contain; }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox__close { top: 18px; right: 22px; font-size: 32px; }
.lightbox__prev,
.lightbox__next { top: 50%; transform: translateY(-50%); font-size: 42px; }
.lightbox__prev { left: 22px; }
.lightbox__next { right: 22px; }

@media (max-width: 767px) {
  .content-inner, .widget-inner, .site-footer__inner { padding: 20px 15px; }
  .site-header { margin: 45px 0; }
  .site-title { font-size: 3rem; }
  h2 { font-size: 2.6rem; }
  h3 { font-size: 2.2rem; }

  .nav-toggle { top: 5px; left: 5px; }
  .admin-bar .nav-toggle { top: 51px; }
  .admin-bar .site-nav {
    top: 46px;
    height: calc(100% - 46px);
  }
  body.nav-open .site-nav { width: 75%; }
  body.nav-open .site-main { width: 100%; margin-left: 75%; }
  body.nav-open .nav-toggle { left: 76%; }

  .feature-grid { grid-template-columns: 1fr; gap: 50px; }
  .feature-card { max-width: 320px; margin: 0 auto; }
  .story-row, .story-row--reverse { flex-direction: column; align-items: center; }
  .story-row__media { flex: none; width: min(100%, 290px); }
  .story-row__copy { width: 100%; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .social-area { align-items: center; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid button { aspect-ratio: 1 / 1.32; }

  .legacy-widget { padding: 20px; }
  .legacy-widget__text { padding: 25px 15px; font-size: 16px; }
  .lightbox { padding: 35px; }
  .lightbox__prev { left: 5px; }
  .lightbox__next { right: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
