﻿:root {
  --main-color: #fa3;
  --maintext-color: #630;
  --mainlight-color: #fda;
  --sub-color: #da6;
  --light-color: #faf7eb;
  --lightmain-color: #fff9ec;
  --dark-color: #e82;
  --gray-color: #666;
  --yellow-color: #ffff00;
  --hover-bg: #ffe0b3;
  --font-sans: "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-mincho: "fot-tsukumin-pr6n", sans-serif;
  --font-sic: "sicprintempspetit", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 14px;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

body.fade-in {
  opacity: 1;
}

@media (min-width: 1200px) {
  body {
    font-size: 16px;
  }
}

.container-main {
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--maintext-color);
  font-family: var(--font-sans);
  font-weight: 300;
  font-style: normal;
}

@keyframes fadeInAnimation {
  to {
    opacity: 1;
  }
}

/* header */
header {
  font-family: var(--font-sans);
}

/* nav */
.top {
  padding: 5px 0;
  color: #fff;
  background-color: var(--main-color);
}

.top a {
  color: #fff;
  text-decoration: none;
}

.top .header-insta-icon {
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.top .header-insta-icon:hover {
  transform: scale(1.05);
  filter: drop-shadow(3px 6px 8px rgba(0, 0, 0, 0.4));
}

.top .addr {
  font-size: 13px;
}

.top .tel {
  font-size: 16px;
  font-weight: bold;
}

.top .time {
  font-size: 13px;
}

@media (max-width: 768px) {
  .top {
    font-size: 13px;
  }
}

@media (max-width: 500px) {
  .top {
    line-height: 12px;
    padding: 2px 0 4px 0;
  }

  .top .addr {
    font-size: 11px;
  }

  .top .tel {
    font-size: 13px;
    font-weight: bold;
  }
}

.text-main {
  color: var(--main-color) !important;
}

.navbar-brand {
  margin: 15px 0;
}

.navbar-brand img {
  max-width: 450px;
}

.navbar-brand .catch {
  margin-top: 15px;
  color: #ddd;
  font-weight: 100;
  font-size: 12px;
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.1em solid #fa3;
  width: 0;
  animation: typing 3s steps(30, end) 1 forwards, blink-caret 0.75s step-end infinite;
}

@media (max-width: 992px) {
  .navbar-brand {
    margin: 0;
  }

  .navbar-brand img {
    max-width: 330px;
  }

  .navbar-brand .catch {
    margin-top: 10px;
    font-size: 9px;
  }
}

@media (max-width: 768px) {
  .navbar-brand img {
    max-width: 260px;
  }
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 57.5ch;
  }

  /* 文字数調整（半角換算） */
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #fa3;
  }
}

.catch2 {
  background-color: var(--main-color);
  padding-top: 3px;
  line-height: 12px;
  margin-bottom: 20px;
}

.catch2 .typewriter {
  color: #fff;
  font-weight: 100;
  font-size: 10px;
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.1em solid #fa3;
  width: 0;
  animation: typing2 3s steps(30, end) 1 forwards, blink-caret2 0.75s step-end infinite;
}

@keyframes typing2 {
  from {
    width: 0;
  }

  to {
    width: 58ch;
  }

  /* 文字数調整（半角換算） */
}

@keyframes blink-caret2 {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #fff;
  }
}

.navbar-nav {
  padding-top: 20px;
}

.navbar-nav .nav-link {
  text-align: center;
  font-weight: 500;
  color: #444;
  transition: all 0.3s ease;
  background-color: var(--light-color);
  border-radius: 4px;
}

.navbar-nav .nav-link:hover {
  color: var(--main-color);
  background-color: var(--hover-bg);
  border-radius: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.navbar-toggler {
  background-color: var(--light-color);
  border-color: #ccc !important;
  border-width: 2px;
}

.menu {
  background: linear-gradient(to right bottom, #fdc065, #ee8624);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid #cc7010;
}

.menu .btn.btn-primary {
  font-size: 1.2rem;
  font-weight: 800;
  padding: 25px 0;
  color: #fff;
  border: none;
  background-color: transparent;
  border-radius: 0;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.menu .btn.btn-primary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.menu .btn.btn-primary:last-child::after {
  display: none;
}

.menu .btn.btn-primary i {
  font-size: 1.4rem;
  margin-right: 10px;
  vertical-align: -2px;
}

.menu .btn.btn-primary:hover {
  background-color: #fff;
  color: var(--main-color);
  text-shadow: none;
  z-index: 2;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.menu .btn.btn-primary:hover::after {
  display: none;
}

@media (max-width: 992px) {
  .menu .btn.btn-primary {
    font-size: 1rem;
    padding: 15px 0;
  }

  .menu .btn.btn-primary i {
    font-size: 1.1rem;
  }
}

.head {
  width: 50%;
}

.head .btn.btn-primary {
  padding: 15px 0;
  font-size: 13px;
  white-space: nowrap;
  color: #666;
  border: none !important;
  background-color: var(--light-color);
}

@media (max-width: 992px) {
  .head .btn.btn-primary {
    font-size: 11px !important;
  }

  .head .btn.btn-primary .h2 {
    font-size: 18px;
  }
}

/* breadcrumb */
.breadcrumb a {
  color: var(--main-color);
  text-underline-offset: 4px;
  text-decoration-color: var(--mainlight-color);
  transition: padding 0.3s ease, background-color 0.4s ease-in-out, color 0.5s ease-in-out, text-decoration 0.5s ease;
}

.breadcrumb a:hover {
  color: #666;
  padding: 7px 15px;
  border-radius: 5px;
  background-color: var(--sub-color);
  text-decoration: none;
}

/* header */
h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--main-color);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  border-left: 6px solid var(--main-color);
  padding-left: 1rem;
}

h2 {
  font-family: var(--font-sic);
  font-weight: 800;
  font-size: 2rem;
  background-color: var(--lightmain-color);
  border-top: 2px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
  padding: 10px;
  margin: 20px 0 40px 0;
}

h2:first-child {
  margin-top: 0;
}

@media (max-width: 992px) {
  h2 {
    font-size: 1.5rem;
  }
}

h3 {
  font-family: var(--font-sic);
  font-weight: 800;
  font-size: 1.5rem;
  border-left: 7px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
  padding: 1px 0 2px 8px;
  margin: 0 0 15px 0;
}

h4 {
  font-family: var(--font-sic);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gray-color);
}

/* anchor */
main a {
  color: var(--main-color);
  transition: padding 0.3s ease, background-color 0.4s ease-in-out, color 0.5s ease-in-out, text-decoration 0.5s ease;
}

main a:hover {
  color: #666;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: var(--sub-color);
  text-decoration: none;
}

/* table */
.table {
  color: var(--maintext-color);
  border-color: var(--sub-color);
}

.table th {
  background-color: var(--lightmain-color);
  padding: 10px 3px;
}

.table td {
  padding: 10px 3px;
}

/* text */
.text-primary {
  color: var(--main-color) !important;
}

.text-secondary {
  color: var(--sub-color) !important;
}

.text-yellow {
  color: var(--yellow-color);
}

.lead {
  font-weight: 600;
}

@media (max-width: 1200px) {
  .lead {
    font-size: 16px;
  }
}

/* font */
.mincho {
  font-family: "hiragino-mincho-pron", sans-serif;
  font-weight: 300;
  font-style: normal;
}

/* fullwidth */
.fullwidth {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  padding-left: 7px;
  padding-right: 7px;
  overflow-x: hidden;
}

@media (min-width: 576px) {
  .fullwidth {
    width: calc(100vw + 1.8rem);
  }
}

@media (min-width: 768px) {
  .fullwidth {
    width: calc(100vw + 2.8rem);
  }
}

@media (min-width: 992px) {
  .fullwidth {
    width: calc(100vw + 3.8rem);
  }
}

@media (min-width: 1200px) {
  .fullwidth {
    width: calc(100vw + 4.8rem);
  }
}

/* background */
.bg-primary {
  background-color: var(--main-color) !important;
}

/* button */
.btn.btn-primary {
  color: #fff;
  border-color: var(--dark-color);
  background-color: var(--main-color);
}

.btn.btn-primary:hover {
  background-color: var(--sub-color);
  color: #333;
}

.btn.btn-primary:focus,
.btn.btn-primary:active {
  color: #fff !important;
  background-color: var(--sub-color);
  border-color: var(--main-color);
  box-shadow: 0 0 0.2rem 0.2rem rgba(253, 132, 49, 0.4);
}

.btn-outline-primary {
  color: var(--main-color);
  border-color: var(--main-color);
}

.btn-outline-primary:hover {
  background-color: var(--hover-bg);
}

.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: #fff !important;
  background-color: var(--main-color);
  border-color: var(--main-color);
  box-shadow: 0 0 0.15rem 0.15rem rgba(253, 132, 49, 0.4);
}

.btn.btn-success {
  font-family: var(--font-sans);
}

/* alert */
.alert.alert-primary {
  color: var(--dark-color);
  background-color: var(--lightmain-color);
  border-color: var(--sub-color);
}

/* card */
.card {
  border-color: var(--sub-color);
}

.card .card-header {
  font-family: var(--font-sic);
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--sub-color);
}

.card .card-footer {
  padding: 15px 10px;
  background-color: var(--lightmain-color);
  border-color: var(--sub-color);
}

/* list */
ul li,
ol li {
  margin-bottom: 10px;
}

/* service */
.service .service-card {
  display: block;
  position: relative;
  text-decoration: none;
  color: #444;
  background: #fff;
  border: 1px solid var(--main-color);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 0;
}

.service .service-card .hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 70, 80, 0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 1;
}

.service .service-card:hover .hover-bg {
  transform: scaleX(1);
}

.service .service-card:hover {
  border-color: #888;
}

.service .service-card .card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}

.service .service-card:hover .card-content {
  color: #fff;
}

.service .service-card .icon-area {
  width: 100%;
  padding: 20px 0 10px 0;
  background: #fff;
  display: flex;
  justify-content: center;
}

.service .service-card .icon-area i {
  font-size: 50px;
  color: #5a4b42;
  transition: color 0.3s ease;
}

.service .service-card:hover .icon-area {
  background: transparent;
}

.service .service-card:hover .icon-area i {
  color: #fff;
}

.service .service-card .badge-area {
  width: 100%;
  background: var(--main-color);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  padding: 4px 5px;
  margin-bottom: 0px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  border-radius: 0;
}

.service .service-card:hover .badge-area {
  background: transparent;
}

.service .service-card .bottom-area {
  width: 100%;
  background: #fff4e0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}

.service .service-card:hover .bottom-area {
  background: transparent;
}

.service .service-card .title-area {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
  text-align: center;
  padding: 0 5px;
}

.service .service-card:hover .title-area {
  color: #fff;
}

.service .service-card .subtitle-area {
  font-size: 10px;
  text-align: center;
  padding: 0 5px;
}

/* map */
#map {
  width: 100%;
  height: 400px;
  border: solid 2px #ccc;
}

#map .marker {
  font-size: 110%;
  color: #000;
}

/* calendar */
/* calendar */
h4.calendar {
  color: var(--main-color);
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

h4.calendar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--sub-color);
  border-radius: 2px;
}

table.calendar {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  border: none !important;
}

table.calendar th {
  color: var(--sub-color);
  text-align: center;
  padding: 10px 0;
  border: none !important;
  font-weight: bold;
  font-size: 0.9rem;
}

table.calendar td {
  text-align: center;
  padding: 5px;
  border: none !important;
  height: 40px;
  width: 14%;
  /* Approx for 7 cols */
  vertical-align: middle;
  border-radius: 50%;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

table.calendar td.othermonth {
  color: #ccc;
  background-color: transparent;
}

table.calendar td.selected {
  background-color: var(--main-color);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(235, 96, 0, 0.3);
}

table.calendar td.other {
  background-color: var(--mainlight-color);
  color: #666;
  font-weight: bold;
}

table.calendar td:hover:not(.othermonth):not(:empty) {
  transform: scale(1.1);
}

/* accordion */
.accordion {
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-color: #fff;
  --bs-accordion-active-bg: var(--main-color);
  --bs-accordion-btn-color: #444;
  --bs-accordion-btn-bg: #fff;
}

.accordion .accordion-item {
  border: 1px solid var(--sub-color);
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion .accordion-button {
  font-weight: bold;
  color: #555;
  background-color: #fff4e0;
  box-shadow: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.accordion .accordion-button:not(.collapsed) {
  color: #fff;
  background-color: var(--main-color);
  box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion .accordion-button:hover:not(:not(.collapsed)) {
  background-color: #ffead0;
}

.accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

/* footer */
.footer {
  font-family: var(--font-sans);
  color: #fff;
  background-color: #dd6600;
  margin-top: 50px;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  height: 370px;
  padding-top: 30px;
}

@media (min-width: 1200px) {
  .footer {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .footer {
    height: 80px;
  }
}

.footer a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.footer a:hover {
  border-radius: 5px;
  text-decoration: underline;
}

.footer a i {
  width: 24px;
}

.footerinfo {
  background-color: var(--dark-color);
}

.footerinfo .btn.btn-primary {
  white-space: nowrap;
  color: #666;
  border: none !important;
  background-color: var(--light-color);
}

.footerinfo .btn.btn-primary:hover {
  color: #666 !important;
  background-color: var(--mainlight-color);
}

/* swiper */
.swiper {
  width: 100%;
}

.swiper-slide {
  position: relative;
  background-position: center;
  background-size: cover;
}

.swiper-slide img {
  display: block;
  width: 100%;
}

.swiper-slide .slide-caption {
  position: absolute;
  bottom: 10%;
  left: 5%;
  font-size: 1.5rem;
  color: white;
  background: rgba(200, 160, 90, 0.4);
  padding: 1rem 2rem;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
}

@media (max-width: 768px) {
  .swiper-slide .slide-caption {
    font-size: 1rem;
    padding: 0.5rem;
  }
}

.swiper-slide-active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

/* goto top */
.gototop {
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4px 0 0 0;
  width: 48px;
  height: 48px;
  font-size: 24px;
  text-decoration: none;
  color: #fff;
  background-color: var(--sub-color);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.gototop:hover {
  color: #fff;
  background-color: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Mobile Instagram FAB (hidden on md and up) */
.sns-fab {
  position: fixed;
  left: 16px;
  bottom: 96px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #e1306c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.sns-fab i {
  font-size: 24px;
}

@media (min-width: 768px) {
  .sns-fab {
    display: none;
  }
}