@charset "UTF-8";
html, body {
  height: 100%;
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  background: #7eaae3;
  background: linear-gradient(#25374f, #7eaae3);
  font-family: "Playfair Display", serif;
}
body.ja {
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "游明朝体", YuMincho, "Yu Mincho", "ＭＳ 明朝", "MS Mincho", HiraMinProN-W3, "TakaoEx明朝", TakaoExMincho, "MotoyaLCedar", "Droid Sans Japanese", serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  font-family: "Playfair Display", serif;
}
body.ja h1, body.ja h2, body.ja h3, body.ja h4, body.ja h5, body.ja h6 {
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "游明朝体", YuMincho, "Yu Mincho", "ＭＳ 明朝", "MS Mincho", HiraMinProN-W3, "TakaoEx明朝", TakaoExMincho, "MotoyaLCedar", "Droid Sans Japanese", serif;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
  font-weight: bold;
}

h1 {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.3rem;
}

h3 {
  font-size: 1.1rem;
}

h4 {
  font-size: 1rem;
}

a {
  color: #456184;
}

a:hover {
  color: #7eaae3;
}

button {
  cursor: pointer;
}

.wrapper {
  min-height: 100%;
  margin: 0 auto -275px;
}

#footer-container, .push {
  height: 275px; /* '.push' must be the same height as 'footer' */
}

.emphasize {
  font-weight: bold;
}

.accepting-responses {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #c0392b;
}
.accepting-responses .pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: #c0392b;
}
.accepting-responses .pulse-dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #c0392b;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}
.reservation-steps {
  padding-left: 1.3em;
  margin: 1rem 0 0;
}
.reservation-steps li {
  margin-bottom: 1.5rem;
}
.reservation-steps li:last-child {
  margin-bottom: 0;
}
.reservation-steps .btn {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.reservation-steps .btn i {
  margin-right: 0.4rem;
}

.navbar {
  padding-right: 0;
  padding-left: 0;
  line-height: 1.8rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    transition: all 0.25s ease-out;
  }
  .row-offcanvas-right {
    right: 0;
  }
  .row-offcanvas-left {
    left: 0;
  }
  .row-offcanvas-right .sidebar-offcanvas {
    right: -100%; /* 12 columns */
  }
  .row-offcanvas-right.active .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }
  .row-offcanvas-left .sidebar-offcanvas {
    left: -100%; /* 12 columns */
  }
  .row-offcanvas-left.active .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }
  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }
  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }
  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}
.breadcrumb {
  background: transparent;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.8rem;
}

#page-title-button {
  margin: 1.5rem 0 0;
  text-align: right;
}
@media screen and (max-width: 767px) {
  #page-title-button {
    margin: 1rem 0 0;
    text-align: left;
  }
}

#main .row {
  background: #fff;
}
#main .row #hero {
  padding: 1px;
}

.content {
  padding: 1rem 0 1.5rem;
}
.content h1 {
  padding-bottom: 0.7rem;
}
.content h2 {
  padding-bottom: 0.5rem;
}
.content h3 {
  padding-bottom: 0.3rem;
}
.content blockquote {
  margin-left: 2rem;
  padding-left: 1rem;
  font-size: 1rem;
  border-left: 5px solid #ddd;
}
.new-year .content {
  padding: 3rem 0 1.5rem;
}

#home-message {
  margin: 30px 0 0 -275px;
  padding: 0.7rem 1.5rem;
  border: 1px solid #fff;
  background: #7eaae3;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #fff;
}
@media (max-width: 991.98px) {
  #home-message {
    border-top: 0;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
  }
}

table {
  border-bottom: 1px solid #dee2e6;
}

td.attribute {
  background: #f9f9f9;
  font-weight: bold;
  width: 25%;
  max-width: 175px;
}

.canceled {
  text-decoration: line-through;
  color: #999;
}

.map-home {
  width: 100%;
  height: 300px;
}

#main .module {
  background: linear-gradient(to right, #eee, #fff);
}
#main .module .more {
  margin-bottom: 0;
}

.announcement {
  padding-bottom: 2.5rem;
}
.announcement .caption {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.logo-divider {
  margin-bottom: 1.5rem;
}
.logo-divider .col {
  width: 100%;
  height: 1px;
  background: #ddd;
}

.form-footer {
  margin-top: 2rem;
  border-bottom: 1px solid #ddd;
}

.btn-primary {
  background: #456184;
  border: 0;
  border-radius: 0;
}

.btn-secondary {
  background: #999;
  border: 0;
  border-radius: 0;
}

form .btn-primary {
  width: 100%;
}
form .btn-secondary {
  width: 100%;
}

.volunteer #side-hero {
  background: url("/img/hero_side_volunteer.jpg") no-repeat center center;
  background-size: cover;
  min-height: 600px;
}
@media (max-width: 575px) {
  .volunteer #side-hero {
    min-height: 300px;
  }
}

.newsletters h2 {
  border-bottom: 1px solid #eee;
}
.newsletters ul {
  padding-left: 0;
}
.newsletters li {
  color: #456184;
  margin-bottom: 5px;
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.newsletters .label {
  background: #456184;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.8rem;
  color: #fff;
  border-radius: 0.2rem;
}

#order-description {
  padding-top: 1rem;
}

.letter {
  padding: 2rem 0 0;
}

.new-year h2 {
  padding-top: 1rem;
}
.new-year table th {
  background: #eee;
}
.new-year table .highlighted {
  background: #a8c2e3;
  font-weight: bold;
}

.order .product-img img {
  border: 1px solid #ddd;
}
.order .product-description {
  padding: 0.5rem 0 0;
}
.order .product-name {
  margin-bottom: 0;
  padding: 0.5rem 0 0;
  font-weight: bold;
}
.order .product-price {
  margin-top: 0.2rem;
}
.order .sold-out .product-img img {
  opacity: 0.25;
}
.order .sold-out .product-name {
  color: #666;
}
.order .sold-out .product-price {
  font-weight: bold;
}

#order_details th {
  background: #eee;
}
#order_details .empty {
  text-align: center;
  color: #999;
}
#order_details .remove-all {
  text-align: right;
}
#order_details .media img {
  width: 70px;
  border: 1px solid #ddd;
}
#order_details .name {
  margin-top: 0.5rem;
  font-weight: bold;
}
#order_details .quantity {
  line-height: 1.3rem;
}

#footer-container {
  background: url("/img/footer_temple.png");
  background-position: right bottom;
  background-repeat: no-repeat;
}
@media (max-width: 575px) {
  #footer-container {
    padding-bottom: 150px;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  #footer-container {
    padding-bottom: 50px;
  }
}

#footer {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #fff;
}
#footer #footer-nav {
  padding-bottom: 1rem;
}
#footer #address {
  padding-bottom: 2rem;
}
#footer .address-name {
  font-weight: bold;
}
#footer a {
  color: #fff;
}
#footer ul {
  padding-left: 0;
}
#footer li {
  list-style: none;
}
#footer h4 {
  font-size: 0.875rem;
  font-weight: bold;
}

.social {
  padding-top: 0.3rem;
  font-size: 1.9rem;
  line-height: 1.7rem;
  color: #1877f2;
}
.social i {
  color: #1877f2;
}

#construction-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
  text-align: center;
}

#main #autumn-festival {
  border: 1px solid #fff;
  border-bottom: 0;
  background-image: url("/img/matsuri_banner_background.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #ef4948;
}
#main #autumn-festival a {
  display: block;
  padding: 1.5rem;
  color: #ef4948;
}
#main #autumn-festival #title {
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
  font-weight: bold;
  text-transform: uppercase;
}
#main #autumn-festival #parking {
  text-align: right;
  font-size: 1.2rem;
  padding-top: 0.3rem;
  letter-spacing: 0.2rem;
  line-height: 1.8rem;
}
@media (max-width: 991px) {
  #main #autumn-festival a {
    padding: 1rem;
  }
  #main #autumn-festival #title {
    font-size: 1.5rem;
  }
  #main #autumn-festival #title a {
    padding-bottom: 0.5rem;
  }
  #main #autumn-festival #parking {
    padding-top: 0;
    text-align: left;
    font-size: 1.2rem;
  }
  #main #autumn-festival #parking a {
    padding-top: 0.5rem;
  }
}

.badge-custom {
  background: #7eaae3;
  border-radius: 2px;
  margin-left: 10px;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
  color: #fff;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) {
  #main #autumn-festival {
    background-image: url("/img/matsuri_banner_background@2x.png");
  }
}
#main #anniversary-banner {
  position: relative;
  background: #25374f;
  border: 1px solid #fff;
  border-bottom: 0;
  text-align: center;
  padding: 1.1rem 1rem;
}
#main #anniversary-banner a {
  display: block;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
#main #anniversary-banner a:hover {
  opacity: 0.85;
}
#main #anniversary-banner a:hover #anniversary-banner-cta {
  background: #c9a84c;
  color: #25374f;
}
#main #anniversary-banner-flag {
  position: absolute;
  top: -1px;
  right: 10%;
  background: #c9a84c;
  color: #25374f;
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.42rem 0.65rem 0.6rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
#main #anniversary-banner-year {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: #c9a84c;
  line-height: 1;
  letter-spacing: 0.05rem;
}
#main #anniversary-banner-year span {
  font-size: 1.2rem;
  vertical-align: super;
}
#main #anniversary-banner-title {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
#main #anniversary-banner-subtitle {
  font-size: 0.8rem;
  margin-top: 0.3rem;
  color: #aac4e0;
}
#main #anniversary-banner-cta {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.25rem 1.3rem;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
@media (max-width: 767px) {
  #main #anniversary-banner {
    padding: 0.9rem 1rem;
  }
  #main #anniversary-banner-flag {
    right: 12px;
    font-size: 0.58rem;
    padding: 0.35rem 0.55rem 0.5rem;
  }
  #main #anniversary-banner-year {
    font-size: 1.7rem;
  }
  #main #anniversary-banner-year span {
    font-size: 1rem;
  }
  #main #anniversary-banner-title {
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
  }
  #main #anniversary-banner-subtitle {
    font-size: 0.75rem;
  }
}
