/*
Theme Name: steak_kanda
Theme URI: https://www.steak-kanda.com/
Description: Original theme for Steak Kanda
Author: Linkage
Version: 1.0.0
Text Domain: steak_kanda
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Serif JP", serif;
  color: #222;
  line-height: 2;
  font-size: 15px;
  overflow-x: hidden;
}

body.single main {
  padding: 0 2%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

/* parts */
.pc-none {
  display: none;
}
.sp-none {
  display: block;
}
@media (max-width: 1024px) {
  .pc-none {
    display: block;
  }
  .sp-none {
    display: none;
  }
}
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.waku-kin {
  border-image: url(images/borderimage1.jpg) 1 round;
  border-style: solid;
  border-width: 1px;
}
.border-bottom-kin {
  border-bottom: 1px solid;
  border-image: url(images/borderimage1.jpg) 1 round;
}

/* Header */
#header {
  background: #3b393e;
  padding: 18px 10px 11px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  overflow: hidden;
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.header-nav-container {
  display: flex;
  justify-content: space-between;
  max-width: 1025px;
  width: 100%;
  align-items: center;
}

.logo img {
  max-width: 100%;
  width: auto;
  height: 140px;
  transition: height 0.35s ease;
}
@media (min-width: 1025px) {
  .header-wrap.is-scrolled .logo img {
    height: 80px;
  }
}

.header-contact {
  display: flex;
  gap: 15px 30px;
  margin-bottom: 15px;
  align-items: center;
  justify-content: flex-end;
}

.header-contact a:hover {
  transition: 0.3s linear;
  opacity: 0.7;
}

.social_h {
  width: 120px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 10px 35px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-desktop a {
  font-weight: 600;
  color: #fff;
  position: relative;
}

.nav-desktop a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: url(images/borderimage1.jpg);
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}

.nav-desktop a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.mobile-nav {
  display: none;
}

/* SP Hamburger Menu Button */
.sp-hamburger {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: #3a393e;
  color: #fff;
  border: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  padding: 0;
}

.hamburger-icon {
  width: 26px;
  height: 26px;
  position: relative;
  margin-bottom: 5px;
}

.hamburger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.hamburger-icon span:nth-child(1) {
  top: 7px;
}

.hamburger-icon span:nth-child(2) {
  top: 15px;
}

.hamburger-icon span:nth-child(3) {
  top: 23px;
}

/* Active State (X Animation) */
.sp-hamburger.is-active .hamburger-icon span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}

.sp-hamburger.is-active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.sp-hamburger.is-active .hamburger-icon span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .sp-hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    height: calc(100vh - 124px);
    background: #3a393e;
    z-index: 10000;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    overflow-y: auto;
  }

  .mobile-nav.is-active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-nav li {
    width: 100%;
    text-align: center;
  }

  .mobile-nav a {
    display: block;
    padding: 10px 0;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
  }
}

@media (max-width: 1024px) {
  #header {
    padding: 7px 0;
  }

  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 0 5%;
  }

  .header-inner .logo img {
    max-width: 57px;
    height: 60px;
    margin: 0 auto;
  }

  .header-contact {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-desktop {
    display: none;
  }

  .social_h {
    position: fixed;
    top: 22px;
    right: 70px;
    width: 80px;
  }

  .social_h .telh {
    display: none;
  }
}

/* TOP PAGE */
.dinner-osusume-title {
  position: relative;
}
.dinner-osusume-title::before,
.dinner-osusume-title::after {
  content: "";
  width: 40px;
  height: 3px;
  background: url(images/borderimage1.jpg);
  display: block;
  position: absolute;
  top: 50%;
}
.dinner-osusume-title::before {
  left: 0;
}
.dinner-osusume-title::after {
  right: 0;
}
.dinner-gallery-grid {
  grid-template-areas: 
  "a b c d d"
  "e e f d d";
}
.dinner-gallery-grid div:nth-child(1) {
  grid-area: a;
}
.dinner-gallery-grid div:nth-child(2) {
  grid-area: b;
}
.dinner-gallery-grid div:nth-child(3) {
  grid-area: c;
}
.dinner-gallery-grid div:nth-child(4) {
  grid-area: d;
}
.dinner-gallery-grid div:nth-child(5) {
  grid-area: e;
}
.dinner-gallery-grid div:nth-child(6) {
  grid-area: f;
}

.elementor-swiper-button-prev svg,
.elementor-swiper-button-next svg{
  display: none !important;
}
.elementor-swiper-button-prev::before,
.elementor-swiper-button-next::before {
  content: "";
  width: clamp(14px, 2.5vw, 23px);
  height: clamp(42px, 7.5vw, 68px);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: 100%;
}
.elementor-swiper-button-prev::before {
  background-image: url(images/slidearrowl.png);
  right: -25px;
}
.elementor-swiper-button-next::before {
  background-image: url(images/slidearrowr.png);
  left: -25px;
}
.news-container-waku-kin {
  border-top: 5px solid;
  border-bottom: 5px solid;
  border-image: url(images/borderimage1.jpg) 5 round;
}



/* Post Contents (index.php) */
.entry-date {
  font-size: 15px;
  color: #222;
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 100px 0 0;
}

/* page-back-btn */
.page-back-btn {
  text-align: center;
  margin: 50px 0 80px;
}

.page-back-btn a {
  display: block;
  max-width: 312px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-decoration: none !important;
  text-align: center;
  background: #39373e;
  border: 1px solid #fff;
  font-size: 15px;
  line-height: 2;
  text-align: center;
  padding: 14px 10px;
  font-weight: 500;
  transition: 0.3s linear;
}

.page-back-btn a:hover {
  opacity: 0.7;
}

/* yellow-marker */
.yellow_marker strong {
  display: inline;
  background: linear-gradient(transparent 60%, #ffff00b8);
}

.top_yellow_marker strong {
  display: inline;
  background: #fff890;
  padding: 0 5px;
  margin-right: 3px;
  font-weight: 600;
}

/* News Section */
.news-item {
  display: flex;
  padding: 0;
}

.news-date {
  width: 100px;
}

.news-item .news-title {
  font-size: 15px;
}

.news-item .news-title a {
  transition: 0.3s linear;
}

.news-title a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .news-item {
    gap: 10px;
  }
  .news-date {
    width: auto;
  }
}

/* contact-form */
.custom_form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 1140px;
  margin: 0 auto;
  gap: 1px;
}

.custom_form_list {
  display: grid;
  grid-template-columns: clamp(200px, 28vw, 328px) 1fr;
  align-items: stretch;
  gap: 0 20px;
}

.custom_form_list>div {
  padding: 10px;
}

.custom_form_list div:first-child {
  color: #fff;
  background: #000033;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.custom_form_list div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom_form_list div:last-child .wpcf7-list-item.first {
  margin: 0;
}

.custom_form_list.address div:last-child input:not([name="your-addnum"]) {
  margin-bottom: 12px;
}

.custom_form_list div:last-child input:not([type="checkbox"]),
.custom_form_list div:last-child textarea {
  width: 100%;
  height: 41px;
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 16px;
}

.custom_form_list div:last-child textarea {
  height: 330px;
}

.custom_form_list div:last-child input::placeholder,
.custom_form_list div:last-child textarea::placeholder {
  color: #ddd;
}

.custom_form_submit {
  text-align: center;
  margin-top: 30px;
}

.custom_form_submit input {
  width: 250px;
  margin-top: 30px;
  padding: 15px;
  background: #000033;
  color: #fff;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.custom_form_submit .wpcf7-spinner {
  position: absolute;
}

body main .privacy-policy-scroll {
  position: relative;
}

.privacy-policy-scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, transparent, #ede2d0);
}

.privacy-policy-scroll-inner {
  height: 400px;
  overflow-y: scroll;
  padding-bottom: 80px;
}

/* Firefox */
.privacy-policy-scroll-inner {
  scrollbar-width: thin;
  scrollbar-color: #947946 #e2d7c4; /* thumb track */
}

/* Chrome, Edge, Safari系 */
.privacy-policy-scroll-inner::-webkit-scrollbar {
  width: 8px;   /* 縦スクロールバーの太さ */
  height: 8px;  /* 横スクロールバーの太さ */
}

.privacy-policy-scroll-inner::-webkit-scrollbar-thumb {
  background: #947946;   /* スクロールバーの色 */
  border-radius: 999px;
}

.privacy-policy-scroll-inner::-webkit-scrollbar-track {
  background: #e2d7c4;   /* 領域の背景色 */
}

@media (max-width: 768px) {
  .custom_form_list {
    grid-template-columns: 1fr;
  }

  .custom_form_list>div {
    padding: 15px 0;
  }

  .custom_form_list div:first-child {
    padding: 10px;
  }
}

/* Footer */
/* SP Footer Navigation */
.sp-footer-icons-container {
  display: none;
}

@media (max-width: 1024px) {
  .scroll_top {
    display: none;
  }

  .sp-footer-icons-container {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #3a393e;
    z-index: 9999;
  }

  .sp-footer-icons-container a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
    padding: 10px 0 6px;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid #fff;
  }

  .sp-footer-icons-container a:last-child {
    border-right: none;
  }

  .sp-footer-icons-container a svg {
    display: block;
    height: 16px;
    margin: 0 auto 8px;
    fill: #fff;
  }

  /* Adjust body padding so content isn't hidden behind the bar */
  body {
    padding-bottom: 54px;
  }
}

.scroll_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s linear, visibility 0.3s linear;
  z-index: 1000;
}

.scroll_top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll_top:hover {
  opacity: 0.8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-inner_column.info .logo img {
  width: auto;
  height: 61px;
  margin-bottom: 20px;
}

.footer-info_address {
  margin-bottom: 20px;
  line-height: 36px;
}

.footer-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-btn a {
  padding: 10px 30px;
  font-size: 16px;
  transition: 0.3s linear;
}

.footer-btn a:hover {
  opacity: 0.8;
}

.footer-btn .contact {
  background: #fff;
  color: #000033;
}

.footer-btn .insta {
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.footer-btn .insta img {
  width: 18px;
  height: auto;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav ul li a {
  padding: 0 13px 0 10px;
  color: #fff;
  border-right: 1px solid #fff;
}

.footer-nav ul li:last-child a {
  border-right: none;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
  .business-intro-inner {
    flex-direction: column;
  }

  .hero {
    height: 60vh;
  }

  .footer-inner {
    align-items: center;
    flex-direction: column;
  }

  .footer-inner_column.info .logo img {
    margin: 0 auto;
  }

  .footer-info_address {
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}

/* Animation */
.blur-in,
.slider-blur-in img {
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.8s ease, filter 0.8s ease !important;
  will-change: filter;
}
.elementor-editor-active .blur-in,
.elementor-editor-active .slider-blur-in img {
  opacity: 1;
  filter: blur(0);
}

.blur-in.is-visible,
.slider-blur-in img.is-visible {
  opacity: 1;
  filter: blur(0);
}
