@charset "utf-8";

/* other.css　トップページ以外のCSS */
@import "import.css?update=20260131200000";

#main h1 {
  margin-bottom: 20px;
}
#main span {
  font-weight: bold;
}

#staff {
  margin-bottom: 10px;
}
#staff dl {
  overflow: hidden;
  margin: 20px 0;
  line-height: 1.6;
}
#staff dl dd.image {
  float: left;
  margin-right: 20px;
  overflow: hidden;
}
#staff dl dt {
  font-weight: bold;
  font-size: 1.16em;
  border-bottom: 1px dotted #ff6600;
  overflow: hidden;
  margin-bottom: 7px;
}
#staff dl dd {
  line-height: 1.6;
  overflow: hidden;
}

#menu {
  margin-bottom: 10px;
}
#menu dl {
  margin: 20px 0;
}
#menu dl dt {
  font-size: 1.16em;
  font-weight: bold;
  margin-bottom: 7px;
}
#menu dl dd {
  margin: 7px 0 7px 0;
  line-height: 1.6;
}
#menu table th,
#menu table td {
  border: 1px solid #c8c8c8;
  padding: 3px 10px;
  line-height: 1.6;
}
#menu table th {
  width: 148px;
  background-color: #fff5ec;
}
#menu table td.comment {
  width: 270px;
}
#menu table td.price {
  width: 120px;
}

#info table {
  width: 100%;
  margin-top: 20px;
}
#info table th,
#info table td {
  border: 1px solid #c8c8c8;
  padding: 3px 10px;
  line-height: 1.6;
}
#info table th {
  width: 148px;
  background-color: #fff5ec;
}

#parking .map {
  clear: both;
  padding-top: 20px;
}

#accessmap #map {
  position: relative;
  width: 600px;
  max-width: 100%;
  margin-top: 20px;
}

/* Responsive map container (4:3 like 600x450) */
#accessmap #map::before {
  content: "";
  display: block;
  padding-top: 75%;
}

#accessmap #map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media screen and (max-width: 768px) {
  #accessmap #map {
    width: 100%;
  }

  /* tables can be wide; keep them usable */
  #main {
    overflow-x: auto;
  }

  #menu table th,
  #menu table td,
  #info table th,
  #info table td {
    width: auto;
  }

  /* menu table: make th wider and price narrower */
  #menu table {
    width: 100%;
    table-layout: fixed;
  }
  #menu table th {
    width: 25%;
  }
  #menu table td.comment {
    width: 50%;
  }
  #menu table td.price {
    width: 25%;
    white-space: nowrap;
    text-align: right;
    padding-left: 6px;
    padding-right: 6px;
  }
}

#contact dl {
  margin-top: 20px;
}
#contact dl dd {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* contact form (modern but fits legacy layout) */
#inquiry .contact-note {
  margin-top: 12px;
  line-height: 1.8;
  background: #fff5ec;
  border: 1px solid #ffd3b2;
  padding: 12px 14px;
}

.contact-form {
  margin-top: 16px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media screen and (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
}

.contact-form .field-full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

.contact-form .req {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
  background: #ff6600;
  border-radius: 3px;
  vertical-align: middle;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}

/* iOS Safari: inputs with font-size < 16px zoom on focus */
@media screen and (max-width: 639px) {
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form input[type="date"],
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }
}

.contact-form textarea {
  resize: vertical;
}

/* datepicker input: prevent mobile zoom-on-focus */
#desired_date {
  font-size: 16px;
}

.contact-form .help {
  margin-top: 6px;
  color: #666;
  font-size: 12px;
  line-height: 1.6;
}

.contact-form .field-error {
  margin-top: 6px;
  color: #c0392b;
  font-size: 12px;
  line-height: 1.6;
}

.contact-form .has-error {
  border-color: #c0392b !important;
  background: #fff7f6;
}

.menu-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}

@media screen and (min-width: 640px) {
  .menu-groups {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* =============================
   Custom Lightbox (no FancyBox)
   ============================= */
.sdj-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
}

.sdj-lightbox-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 92%;
}

.sdj-lightbox-close {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 2px solid #fff;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.sdj-lightbox-frame {
  position: relative;
  background: #fff;
  border: 4px solid #1e1e1e;
  padding: 10px;
}

.sdj-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.sdj-lightbox-prev {
  left: -18px;
}

.sdj-lightbox-next {
  right: -18px;
}

.sdj-lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.85);
}

.sdj-lightbox-nav:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

@media screen and (max-width: 768px) {
  .sdj-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .sdj-lightbox-prev {
    left: -20px;
  }

  .sdj-lightbox-next {
    right: -20px;
  }
}

.sdj-lightbox-img {
  display: block;
  max-width: 80vw;
  max-height: 72vh;
  width: auto;
  height: auto;
}

.sdj-lightbox-caption {
  margin-top: 12px;
  display: inline-block;
  padding: 6px 18px;
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
}

.menu-group {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 10px 6px 10px;
}

.menu-group legend {
  font-weight: bold;
  padding: 0 6px;
}

.menu-group .check {
  display: block;
  margin: 6px 0;
  font-weight: normal;
}

.contact-form .actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form .submit-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: #ff6600;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.contact-form .submit-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.contact-form .form-status {
  color: #333;
  font-size: 13px;
}

.contact-form .form-status.is-error {
  color: #c0392b;
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#policy p {
  margin-top: 17px;
  line-height: 1.6;
}

#policy ul li {
  margin-top: 17px;
  line-height: 1.6;
  list-style: decimal;
  margin-left: 20px;
}

#gallery .list {
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

#gallery dl {
  padding: 9px 9px 6px 9px;
  border: 1px solid #c8c8c8;
  background-color: #fff5ec;
  margin: 0;
  float: none;
  width: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 画像エリアの高さを統一（画像はトリミング表示） */
#gallery dl dd.image {
  margin: 0 0 8px 0;
}

#gallery dl dd.image a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
}

/* Fallback for browsers that do not support aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
  #gallery dl dd.image a {
    position: relative;
  }

  #gallery dl dd.image a:before {
    content: "";
    display: block;
    padding-top: 75%;
  }

  #gallery dl dd.image img {
    position: absolute;
    top: 0;
    left: 0;
  }
}

#gallery dl dd.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#gallery dl dt {
  margin: 7px 0;
  font-weight: bold;
  line-height: 1.3;
}

#gallery dl dd {
  line-height: 1.5;
}

#main ul.page {
  margin: 20px 0 0px 0px;
  clear: both;
  text-align: left;
}
#main ul.page li {
  display: inline-block;
}

#main ul.page li a,
#main ul.page li span {
  margin: 0 2px;
  padding: 3px 5px;
  border: 1px solid #ff6600;
  color: #fff;
  display: inline-block;
  text-decoration: none;
  background: #ff6600;
}

#main ul.page li span,
#main ul.page li a:hover {
  background: #fff;
  text-decoration: none;
  color: #ff6600;
  font-weight: normal;
}

#main ul.page li a.link_next,
#main ul.page li a.link_before {
  text-decoration: none;
  color: #ff6600;
  border: none;
  background: none;
  padding: 1px 0;
}

#main ul.page li a.link_next {
  margin: 0 0 0 8px;
}
#main ul.page li a.link_before {
  margin: 0 8px 0 0;
}
#main ul.page li a.link_next:hover,
#main ul.page li a.link_before:hover {
  text-decoration: underline;
  background: none;
}

#news {
  overflow: hidden;
}
#news h2 {
  margin-bottom: 20px;
}
#news dl.text {
  margin: 0px 0 0px;
  line-height: 1.6;
}

#news ul.image {
  float: right;
  width: 160px;
  overflow: hidden;
  margin: 0 0 0px 10px;
}
#news ul.image li {
  margin-bottom: 10px;
}

/* News post: prev/next navigation */
.news-nav {
  clear: both;
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.news-nav__btn {
  display: inline-block;
  padding: 10px 12px;
  border: 1px solid #ff6600;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  font-size: 13px;
  line-height: 1;
  border-radius: 10px;
}

/* Ensure readable color even for visited links */
.news-nav__btn:link,
.news-nav__btn:visited {
  color: #fff;
}

.news-nav__btn:hover {
  background: #fff;
  color: #ff6600;
}

.news-nav__btn:focus-visible {
  outline: 3px solid rgba(255, 102, 0, 0.35);
  outline-offset: 2px;
}

.news-nav__btn--prev {
  margin-right: auto;
}

.news-nav__btn--next {
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .news-nav {
    gap: 8px;
  }
  .news-nav__btn {
    flex: 0 0 auto;
    text-align: center;
    padding: 12px 10px;
    font-weight: bold;
  }
}

@media screen and (max-width: 768px) {
  /* Gallery: 2 columns only on smartphones */
  #gallery .list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

#coupon_detail {
  width: 600px;
  margin: 0 auto;
  border: 1px solid #d2d2d2;
  background-color: #fff;
  padding: 20px 0;
  font-size: 14px;
  margin-top: 20px;
}

#coupon_detail dl {
  margin: 0 auto;
  width: 560px;
  overflow: hidden;
  line-height: 1.8;
}
#coupon_detail dl dt {
  margin-bottom: 5px;
}
#coupon_detail dl dd.button {
  margin-top: 20px;
  text-align: right;
}

@media print {
  #coupon_detail dl dd.button {
    display: none;
  }
  body {
    background: none;
  }
}
