.main-content .page-title {
  padding: 90px 20px 20px; 
  text-align: center;
  box-sizing: border-box;
}
.main-content .page-title h1 {
  margin: 0;
}
.main-content .page-title .subtitle {
  margin-top: 6px;
  opacity: 0.85;
}

.footer-container {
  display: flex;
  align-items: center;
}

.footer-container .store-details {
  flex: 1 1 auto;
}

.footer-container .other-link-pc {
  margin: 0 auto;
}

.footer-container .privacy {
  flex: 1 1 auto;
  text-align: right;
}

.footer .privacy { 
  display: block;
}

footer .privacy { 
  display: block;
  margin-left: 0;
  text-align: right;
}

footer .privacy a {
  color: #000;
  text-decoration: underline;
}

/*--------------------------------
    mv（各ページ共通）
 ---------------------------------*/
.mv-title {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: bold;
  letter-spacing: 50px;
  opacity: 0.7;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.mv {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/*--------------------------------
    menuページ
 ---------------------------------*/
.menu-explanation {
  text-align: center;
  margin: 50px 20px;
}

.menu-explanation p {
  line-height: 2;
}

.menu-reserve {
  display: inline-block;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.menu-reserve:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

.entry-content {
  margin: auto;
  width: 90%;
}

.menu-section 
.wp-block-table table {
  margin: 40px auto;
  max-width: 1100px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  font-size: larger;
  font-weight: 500;
  letter-spacing: 1px;
}

.wp-block-table td {
  padding: 10px auto;
  line-height: 3.0;
}

.wp-block-table table,
.wp-block-table th,
.wp-block-table td {
  border: none !important;
}

.wp-block-table td {
  border-bottom: none !important;
}


.menu-btn 
.wp-block-navigation__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  width: 100%;
  padding: 30px 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
  margin: 0 auto;
  list-style: none !important;
  padding-left: 0 !important;
}

/* ヘッダー固定 */
.menu-section.menu-btn {
  position: sticky;
  top: 70px;
  z-index: 1000;
  background:  rgba(220, 220, 220, 1) ;
  border-bottom: 1.5px solid #BDB9B9;
}

.menu-section { 
  scroll-margin-top: 120px;
}

.menu-btn a {
  text-align: center;
  font-size: large;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  text-decoration: underline !important;
}

.menu-btn a:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

.setmenu {
  padding-top: 0;
}

.setmenu h3 {
  border-top: none !important;
}

.menu-section h3 {
  font-size: 26px;
  text-align: left;
  padding: 20px 0 20px 5px;
  margin: 20px auto;
  max-width: 1100px;
  border-top: 1px solid #BDB9B9;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px 10px;
  font-size: clamp(14px, 2.5vw, 18px);
}

.menu-text {
  flex: 1;
  font-weight: 500;
  padding-left: 10px;
  font-size: clamp(14px, 2.3vw, 18px);
}

.menu-price {
  min-width: 100px;
  text-align: right;
  padding-right: 20px;
  font-weight: 500;
  font-size: clamp(14px, 2.3vw, 18px);
}

.menu-note {
  width: 100%;
  font-size: 14px;
  font-weight: lighter;
  text-align: left;
  padding-left: 20px;
  margin-top: 10px;
  font-size: clamp(12px, 2vw, 14px);
}

.each-container {
  max-width: 1100px;
  margin: 0 auto;
  color: black;
}

.foot-note {
  margin-top: 20px;
  text-indent: hanging;
  line-height: 2;
}

.each-container  h3 {
  text-align: center;
  border-top: none !important;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.time-menu-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.morning-midnight {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.morning {
  width: 50%;
  padding-right: 20px;
  border-right: 1px solid #BDB9B9;
}

.midnight {
  width: 50%;
  padding-left: 20px;
}

.time-menu-list .menu-text {
  flex: none;
  margin-right: 10px;
}

.time-menu-list .menu-price {
  min-width: auto;
  text-align: left;
}

.time-menu-list .menu-text::after {
  content: none;
}

.time-menu .menu-list {
  border-top: none;
}

.time-menu .menu-item {
  border-bottom: none;
}

.menu-back-section {
  display: block;
  position: static;
  margin-top: 40px;
  text-align: center;
}

.menu-back-section a {
  display: inline-block;
  padding: 10px 20px;
  /* border: 1px solid #bdb9b9; */
  font-size: 16px;
  text-decoration: none;
  text-decoration: underline;
  border: none;
  /* border-radius: 0; */
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.menu-back-section a:hover {
    transform: translateY(-3px);
    text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

.menu-back-section {
  max-width: 1100px;
  width: 100%;
  padding: 30px 10px;
  margin: 50px auto 0;
  border-top: 1px solid #BDB9B9;
}

.menu-back-section.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 15px 10px;
  border-top: 1px solid #BDB9B9;
  background: inherit;
  background-color: rgba(220, 220, 220, 1);
  z-index: 1100;
}

@media (max-width: 1100px) {
  .menu-btn .wp-block-navigation__container {
    justify-content: center; 
    row-gap: 20px;
    column-gap: 20px;
  }
  .menu-btn .wp-block-navigation-item {
    flex: 0 1 auto;
  }
}

/*--------------------------------
    staffページ
 ---------------------------------*/
.staff-data {
  display: flex;
  align-items: center;
  margin: 40px auto;
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #BDB9B9;
}

.intro-left {
  display: flex;
  flex-direction: column;
  width: 40%;
  height: 40%;
  text-align: center;
}

.intro-left img {
  object-fit: cover;
  margin: 10px;
}

.staff-photo {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  margin: 0 auto;
}

.kana {
  font-size: small;
}

.name {
  font-size: x-large;
}

.intro-right {
  width: 60%;
  margin: 20px;
  padding: 20px;
  line-height: 2;
}

.staff-data .position {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.manager-extra-wrap {
  max-width: 800px;
  width: 100%;
  margin: 10px auto 40px;
  padding: 0 0 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #BDB9B9;
}

.manager-details {
  width: 100%;
}

.manager-details summary {
  width: 100%;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 18px;
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-sizing: border-box;
}

.manager-details summary::-webkit-details-marker {
  display: none;
}

.manager-details summary::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
}

.manager-details[open] summary::after {
  transform: rotate(225deg) translateY(1px);
}

.manager-details-inner {
  padding: 20px;
  box-sizing: border-box;
}

.manager-details-inner h4 {
  margin: 20px 0 10px;
  font-size: 16px;
}

.manager-details-inner p {
  line-height: 1.8;
}

.manager-gallery {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 14px;
  margin: 16px 0 24px;
}

.manager-gallery-item {
  width: 22%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
}

.manager-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.manager-lesson-guide {
  margin-top: 24px;
}

.manager-lesson-guide a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: underline;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.manager-lesson-guide a:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

.manager-summary-text {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.manager-details summary:hover .manager-summary-text {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}


/*--------------------------------
    styleページ
 ---------------------------------*/
.style-btn-title {
  text-align: center;
  padding-top: 100px;
  letter-spacing: 10px;
  font-size: clamp(20px, 6vw, 60px);
  font-weight: 500;
}

.style-btn {
  display: flex;
  justify-content: center;
  gap: 20px 40px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 800px;
  width: 100%;
  padding: 0 10px 20px;
  margin: 40px auto;
  box-sizing: border-box;
}

.style-btn a {
  text-align: center;
  font-size: clamp(12px, 3vw, 24px);
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}


.style-btn a:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

@media screen and (max-width: 767px) {
  .style-btn {
    gap: 14px 24px;
    padding: 0 16px 20px;
  }
}

.style-details-btn {
  display: block;
  text-align: right;
  margin: 20px 0 0;
  padding-right: 30px;
  font-size: clamp(14px, 3vw, 20px);
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.style-details-btn:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

/* styleページ・styleカテゴリーページ共通 */
.style-section {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  box-sizing: border-box;
  padding: 0 clamp(10px, 2vw, 50px); 
}

.category-style {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: normal;
  text-align: center;
  padding-top: 15px;
  padding-bottom: 5px;
  margin: 0 20px;
  border-top: 1px solid #BDB9B9;
}

.style-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.style-item {
  position: relative;
  width: clamp(150px, 45vw, 250px);
  height: clamp(150px, 45vw, 250px);
  margin-bottom: 40px;
  text-align: center;
}


.style-gallery-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.style-frame-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.style-frame {
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
}

.style-thumbnail {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 57%;
  height: 80%;
  object-fit: cover;
  z-index: 1;
  pointer-events: auto;
  transition-duration: 0.3s;
}

.style-thumbnail:hover {
  opacity: 0.7;
  transition-duration: 0.3s;
}

.style-video-thumb-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.style-video-thumb-trigger:hover .style-thumbnail {
  opacity: 0.7;
  transition-duration: 0.3s;
}

.style-video-thumbnail-video,
.style-video-thumbnail-img {
  background-color: #000;
}

.style-video-play-icon {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.style-video-play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
}

.style-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 12000;
}

.style-video-modal.is-open {
  display: block;
}

.style-video-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(189, 185, 185, 1);
}

.style-video-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 90vw);
  max-height: 90vh;
  box-sizing: border-box;
  text-align: center;
}

.style-video-modal__media video,
.style-video-modal__media iframe {
  display: block;
  width: 100%;
  max-height: 75vh;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.style-video-modal__media video {
  height: auto;
}

.style-video-modal__close {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 3px;
  background-color: rgb(160, 160, 160, 0.8);
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  -webkit-text-stroke-width: 0.7px;
  -webkit-text-stroke-color: #000;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out;
}

.style-video-modal__close:hover {
  background-color: rgb(136, 136, 136, 1);
}

.style-video-modal__caption {
  margin: 15px auto 0;
  padding: 0 10px;
  color: #000;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
  box-sizing: border-box;
}

body.style-video-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .style-video-play-icon {
    width: 40px;
    height: 40px;
  }

  .style-video-play-icon::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }

  .style-video-modal__content {
    width: calc(100vw - 24px);
  }

  .style-video-modal__close {
    top: -46px;
    right: 0;
  }
}

/* Lightbox */
.lightboxOverlay,
.lb-overlay {
  background-color: rgba(189, 185, 185, 1) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 9999 !important;
  opacity: 1 !important;
}

.lb-outerContainer {
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto !important;
  max-width: 900px !important;
  max-height: 100vh !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
}

.lb-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
}

.lb-image {
  display: block !important;
  max-width: 90vw !important;
  max-height: 70vh !important;
  height: auto !important;
  width: auto !important;
  margin: 0 auto !important;
}

.lb-dataContainer {
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
}

.lb-data {
  width: auto !important;
  max-width: 90vw !important;
  margin: 15px auto 0 !important;
  background: transparent !important;
  color: #000 !important;
  text-align: center !important;
}

.lb-details {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  gap: 4px !important;
  margin: 0 auto !important;
}

.lb-caption,
.lb-number {
  float: none !important;
}

.lb-caption {
  display: block !important;
  width: 100% !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  text-align: center !important;
  white-space: normal !important;
  font-size: 16px !important;
  line-height: 2.0 !important;
  font-weight: 300 !important;
}

.lb-data .lb-caption::first-line {
  font-weight: 500;
  font-size: 20px;
}

.lb-data .lb-caption {
  white-space: pre-line !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding: 0 10px;
  box-sizing: border-box;
  line-height: 1.8;
  max-width: 100% !important;
}


.lb-number {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 14px !important;
  color: rgb(153, 153, 153) !important;
  line-height: 1.4 !important;
}

.lb-stylist-link {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin-top: 4px !important;
  text-decoration: underline !important;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%);
  height: 50px !important;
  width: 30px !important;
  z-index: 1052 !important;
  opacity: 1 !important;
  display: block !important;
  background-color: rgb(160, 160, 160, 0.8)  !important;
  border-radius: 3px;
  transition-duration: 0.3s;
  transition: background-color 0.5s ease-in-out !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  background-image: none !important;
  text-decoration: none !important;
}

html body .lb-nav a.lb-prev {
  left: -80px !important;
}

html body .lb-nav a.lb-next {
  right: -80px !important;
}

.lb-nav a.lb-prev::before {
  content: "〈" !important;
  font-size: 32px !important;
  font-weight: bold !important;
  text-align: center !important;
  color: white !important;
  -webkit-text-stroke-width: 0.7px  !important;
  -webkit-text-stroke-color: black !important;
  display: block !important;
  text-indent: 0 !important;
  position: relative !important;
  top: 25px !important;
  right: 10px !important;
}

.lb-nav a.lb-next::before {
  content: "〉" !important;
  font-size: 32px !important;
  font-weight: bold !important;
  text-align: center !important;
  color: white !important;
  -webkit-text-stroke-width: 0.7px !important;
  -webkit-text-stroke-color: black !important;
  display: block !important;
  text-indent: 0 !important;
  position: relative !important;
  top: 25px !important;
  left: 10px !important;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
  background-color: rgba(136, 136, 136, 1)  !important;
  transition-duration: 0.5s !important;
}

html body .lb-close {
  display: flex !important; 
  justify-content: center !important;
  align-items: center !important;
  position: absolute !important;
  top: -3% !important;
  right: 80px !important;
  height: 40px !important;
  width: 40px !important;
  z-index: 1060 !important;
  opacity: 1 !important;
  background-color: rgb(160, 160, 160, 0.8) !important;
  border-radius: 3px !important;
  transition: background-color 0.5s ease-in-out !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  background-image: none !important;
}

html body .lb-close::before {
  content: "×" !important;
  font-size: 32px !important;
  font-weight: bold !important;
  text-align: center !important;
  color: white !important;
  -webkit-text-stroke-width: 0.7px !important;
  -webkit-text-stroke-color: black !important;
  display: block !important;
  text-indent: 0 !important;
  position: relative !important;
  top: -3px !important;
}

html body .lb-close:hover {
  background-color: rgb(136, 136, 136, 1)  !important;
  transition-duration: 0.5s !important;
}

body.lb-disable-scrolling {
  overflow: hidden !important;
}

/*--------------------------------
    styleカテゴリーページ
 ---------------------------------*/
 .style-page-title {
   font-size: clamp(16px, 3.5vw, 28px);
   font-weight: normal;
   text-align: center;
   padding: 70px 40px 30px;
 }

 .backto-style-btn {
   text-align: right;
   font-size: clamp(14px, 3vw, 20px);
   transition: transform 0.5s ease, text-shadow 0.5s ease;
   display: block;
   width: fit-content;
   margin: 30px 100px 30px auto ;
 }

.backto-style-btn:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

/* ページネーション */
.pagination {
  text-align: center;
  margin: 40px 0;
}
.pagination ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination li {
  margin: 0 5px;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #bdb9b9;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}
.pagination a:hover {
  background-color: #bdb9b9;
  color: #fff;
}
.pagination .current {
  background-color: #bdb9b9;
  color: #fff;
  border-color: #bdb9b9;
}

.page-numbers {
  margin-top: 20px;
}

body.tax-style_category .pagination {
  border-top: none !important;
}


/*--------------------------------
    newsページ
 ---------------------------------*/
.news-section {
  padding: 40px 20px;
  background-color: #DCDCDC;
  box-sizing: border-box;
}
  
.news-container {
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
  padding: 0 10px;
}

.news-main {
  flex: none;
  width: 70%;
}

.news-main h2 {
  font-size: 32px;
  font-weight: normal;
  margin-bottom: 40px;
}

.news-item {
  margin-bottom: 20px;
  border-top: 0.5px solid #BDB9B9;
}

/* NEWS一覧：サムネイル付きレイアウト */
.news-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.news-thumb {
  flex: 0 0 120px;
  margin: 20px 0;
}
.news-thumb a { display: block; }
.news-thumb-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}
.news-right {
  flex: 1 1 auto;
  min-width: 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 20px;
}

.news-meta .news-date,
.news-meta .news-title {
  margin: 0;
}

.news-date {
  margin-bottom: 10px;
  font-size: large;
}

.news-title {
  font-size: large;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-text {
  margin: 5px 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: smaller;
}

.news-content a {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-size: 14px;
  text-decoration: underline;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.news-content a:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 0.5px solid #BDB9B9;
}

.pagination button {
  padding: 6px 12px;
  border: 0.5px solid black;
  background-color: #DCDCDC;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.pagination button:hover {
  transform: translateY(1px);
  text-shadow: 0.1px 0.1px 0.5px rgba(189, 185, 185, 1);
  background-color: #BDB9B9;
}

.news-details-date {
  font-size: 20px;
  padding-bottom: 10px;
}

.news-main .news-eyecatch img,
.news-main .news-body img {
  max-width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: contain;
  margin: 20px auto;
}

.news-main .news-body figure,
.news-main .news-body .wp-caption {
  max-width: 100%;
  box-sizing: border-box;
}

.news-main .news-body .alignwide,
.news-main .news-body .alignfull {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.news-main .news-body .alignleft,
.news-main .news-body .alignright {
  max-width: 50%;
  height: auto;
  max-height: 400px;
}

.news-main .news-body iframe,
.news-main .news-body video,
.news-main .news-body embed {
  max-width: 100%;
}
.news-details-date {
  font-size: 20px;
  padding-bottom: 10px;
}

.news-body {
  line-height: 3;
  padding-bottom: 10px;
}

.news-link {
  display: inline-block;
  margin-top: 30px;
  text-align: right;
  float: right;
  text-decoration: underline;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.news-link:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}


  

/* サイドバー */
.news-sidebar {
  flex: none;
  width: 30%;
  border-left: 1px solid #BDB9B9;
  padding: 0 10px;
  font-size: smaller;
}

.search-box {
  width: 100%;
  max-width: 90%;
  margin: 10px auto 30px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.search-box input[type="search"],
.search-box input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #BDB9B9;
  border-radius: 3px;
  box-sizing: border-box;
}

.search-box input::placeholder {
  color: #BDB9B9;
}

.search-box input[type="submit"],
.search-box button,
.search-box .search-submit {
  margin-top: 10px;
  padding: 6px 12px;
  width: auto;
  min-width: 120px;
  border: 1px solid #bdb9b9;
  background-color: #cdcdcd;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
  color: #000;
}

.search-box input[type="submit"]:hover,
.search-box button:hover,
.search-box .search-submit:hover {
  color: #fff;
  transform: translateY(1px);
  text-shadow: 0.1px 0.1px 0.5px rgba(189, 185, 185, 1);
  background-color: #BDB9B9;
}

.sidebar-section {
  margin: 50px 20px;
}

.sidebar-section h3 {
  margin-bottom: 10px;
}

.sidebar-section ul {
  list-style: none;
  padding-left: 0;
}

.sidebar-section li {
  margin-bottom: 10px;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}


.sidebar-section a {
  text-decoration: none;
  letter-spacing: 2px;
}

.sidebar-section .cat-item a {
  display: block;
  padding: 7px 0;
}

/* 最新記事リストの上下余白を広げる */
.sidebar-section ul li a {
  display: block;
  padding: 10px 0;
}

.sidebar-section li:hover {
  text-decoration: underline;
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

.wp-list-categories > li > a::before {
  content: ">>　";
}

.sidebar-section .cat-item > a::before {
  content: ">>　";
}


/*--------------------------------
　schoolページ
---------------------------------*/
.school-section li {
  list-style: none;
}

.school-explanation {
  padding-top: 50px;
  display: flex;
  justify-content: center;
}

.school-explanation-inner {
  text-align: left;
  max-width: 1000px;
  width: 90%;
  padding-bottom: 50px;
  line-height: 3;
}

.school-title {
  text-align: center;
  margin-bottom: 30px;
}

.school-section {
  margin: 40px auto;
  max-width: 1000px;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #BDB9B9;
}

.hairset-course {
  border-bottom: none;
}
  
.school-section h3 {
  padding-bottom: 10px;
}

.lesson-container {
  width: 90%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 50px;
  box-sizing: border-box;
}

.lesson-left {
  width: 65%;
  margin: 0;
  padding: 0 20px 0 0;
  line-height: 3;
}

.lesson-left p {
  width: 100%;
  line-height: 50px;
}

.lesson-image {
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-image img,
.lesson-image video,
.lesson-image iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border: 0;
}

.lesson-image iframe {
  aspect-ratio: 16 / 9;
}

.lesson-main-media,
.lesson-course-media {
  width: 100%;
}

.lesson-main-media img,
.lesson-main-media video,
.lesson-main-media iframe,
.lesson-course-media img,
.lesson-course-media video,
.lesson-course-media iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
}

.lesson-main-media iframe,
.lesson-course-media iframe {
  aspect-ratio: 16 / 9;
}

.school-section .lesson-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.school-section .lesson-left {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}

.school-section .lesson-image {
  width: 30%;
  flex: 0 0 30%;
  max-width: 30%;
  margin: 5px 10px;
  display: block;
}

.school-section .lesson-main-media {
  width: 100%;
  display: block;
}

.school-section .lesson-main-media img,
.school-section .lesson-main-media video,
.school-section .lesson-main-media iframe {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
}

.school-section .lesson-main-media img {
  object-fit: cover;
}

.school-section .lesson-main-media video {
  object-fit: contain;
}

.school-section .lesson-main-media iframe {
  aspect-ratio: 16 / 9;
}

.lesson-bottom {
  width: 90%;
  margin-left: calc((100% - 90%) / 2);
  box-sizing: border-box;
}

.lesson-course {
  width: 100%;
  margin-bottom: 50px;
}

.lesson-course.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 32%);
  column-gap: 40px;
  align-items: start;
}

.lesson-course-text {
  min-width: 0;
}

.lesson-course-media-wrap {
  width: 100%;
  max-width: 280px;
  justify-self: end;
  margin-top: 2.4em;
}

.lesson-course-media img,
.lesson-course-media video {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lesson-course-media iframe {
  aspect-ratio: 4 / 3;
}

.lesson-course-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.lesson-course-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.lesson-course-slide-item.active {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width: 800px) {
 
  .lesson-course.has-media {
    display: block;
  }

  .lesson-course-media-wrap {
    width: 70%;
    max-width: 260px;
    margin: 20px auto 0;
  }

  .lesson-course-media img,
  .lesson-course-media video,
  .lesson-course-media iframe {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

.lesson-course h4 {
  margin-top: 20px;
}

.lesson-list {
  width: 100%;
  margin: 10px 10px 50px;
  line-height: 3;
  list-style: none;
  padding: 0;
  box-sizing: border-box;
}

.lesson-item {
  display: flex;
  flex-direction: column;
}

.school-after-follow {
  display: flex;
  justify-content: center;
  line-height: 3;
  padding-bottom: 50px;
  margin-bottom: 0;
}

.school-after-follow-inner {
  width: 90%;
}

.after-follow-lead {
  font-weight: 500;
  margin-bottom: 24px;
}

.after-follow-body {
  margin-bottom: 36px;
}

.after-follow-list {
  margin: 30px 0;
}

.after-follow-item {
  margin-bottom: 36px;
}

.after-follow-item h4 {
  margin: 0 0 8px;
  font-weight: 500;
}

.after-follow-item p {
  margin: 0;
}

.after-follow-closing {
  margin-top: 40px;
  font-weight: 500;
}

.school-apply {
  display: flex;
  justify-content: center;
  line-height: 3;
  padding-bottom: 50px;
  margin-bottom: 0;
}

.school-apply-inner {
  width: 90%;
}

.school-apply-inner h4 {
  margin-top: 0;
} 

.school-apply-inner ul {
  margin: 20px auto 20px 10px;
}


.school-apply-inner a {
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.school-apply-inner a:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

.school-note {
  display: flex;
  justify-content: center;
  line-height: 3;
  padding-bottom: 50px;
  margin-bottom: 0;
  border-bottom: none;
}

.school-note-inner {
  max-width: 1000px;
  width: 90%;
  margin: 0;
  text-align: left;
  line-height: 3;
  padding: 0;
}

.school-note-inner h3 {
  margin-left: 25px;
}

.school-note-inner li,
.school-cancel p {
  margin-left: 10px;
}

.school-cancel h3 {
  padding-top: 50px;
}

.school-cancel p:nth-of-type(2) {
  margin-top: 20px;
}

.school-cancel ul {
  margin-bottom: 20px;
  margin-left: 35px;
}

.school-foot-note {
  margin-left: 0;
}

/*--------------------------------
    contactページ
 ---------------------------------*/
 .contact-explanation {
  padding-top: 50px;
  display: flex;
  justify-content: center;
}

.contact-explanation-inner {
  text-align: left;
  max-width: 1000px;
  width: 90%;
  line-height: 3;
}

.contact-section.contact-form {
  margin-top: 100px;
  margin-bottom: 50px;
}

.contact-section {
  margin: 60px auto;
  max-width: 1000px;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.contact-form-title {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: normal;
  margin-bottom: 20px;
  text-align: center;
}

.form-required-note {
  text-align: center;
  font-size: 0.9em;
  color: red;
  margin-bottom: 20px;
}

.contact-form {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  border: none;
}

.contact-form-wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 150px;
  border: 1px solid #BDB9B9;
  box-sizing: border-box;
  font-weight: normal;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #BDB9B9;
  border-radius: 5px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.form-submit {
  text-align: center;
}

/* .form-submit button styles */
.form-submit button {
  padding: 5px 15px;
  font-size: 1rem;
  font-weight: normal;
  color: #000;
  border: 1px solid #BDB9B9;
  background-color: #cdcdcd;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.form-submit button:hover {
  transform: translateY(1px);
  color: #fff;
  text-shadow: 0.1px 0.1px 0.5px rgba(189, 185, 185, 1);
  background-color: #BDB9B9;
}


/* ------ 確認画面 ------ */
.form-check-title {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: normal;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form-wrapper p {
  line-height: 3;
  font-size: clamp(14px, 3vw, 16px);
  font-weight: 300;
}

.backto-home-btn {
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.backto-home-btn:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}


/* ================================
   Contact Form 7 bridge styles
   ================================ */
.wpcf7 { width: 100%; }
.wpcf7 form { width: 100%; }
.wpcf7 form p { margin: 0 0 18px; }
.wpcf7 .wpcf7-form-control { width: 100%; max-width: 100%; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #BDB9B9;
  border-radius: 4px;
  box-sizing: border-box;
  font: inherit;
}
.wpcf7 textarea { resize: vertical; }

/* ボタンを既存と揃える */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  padding: 5px 15px;
  font-size: 1rem;
  font-weight: normal;
  color: #000;
  border: 1px solid #BDB9B9;
  background-color: #cdcdcd;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
  transition: transform 0.5s ease, text-shadow 0.5s ease, background-color 0.3s ease;
  display: inline-block;
  min-width: 220px;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  transform: translateY(1px);
  color: #fff;
  text-shadow: 0.1px 0.1px 0.5px rgba(189, 185, 185, 1);
  background-color: #BDB9B9;
}

/* 必須アスタリスクを赤く */
.req {
  color: #ff0000;
  font-weight: bold;
  margin-left: 3px;
}

/* エラーメッセージの整形 */
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid #BDB9B9;
  background: #eee;
}
.wpcf7-not-valid-tip {
  color: #d00;
  font-size: 0.9em;
  margin-top: 6px;
  display: block;
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-top: 70px;
  box-sizing: border-box;
  text-align: center;
}
.form-submit {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
}



/*================================
  レスポンシブ
 ================================*/


@media screen and (max-width: 800px) {
/*--------------------------------
 newsページ
---------------------------------*/
  .news-section {
    padding-bottom: 20px;
  }

  .news-container {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .news-main {
    width: 80%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .news-main h2 {
    text-align: center;
  }

  .news-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    white-space: normal !important;
  }

  .news-meta .news-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
  }

  .news-item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
  }

  .news-thumb {
    flex: 0 0 30%;
    width: 30%;
    margin-top: 20px;
  }
  .news-thumb a,
  .news-thumb-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .news-right {
    flex: 1 1 70%;
    width: 70%;
    min-width: 0;
  }

  .news-text {
    text-align: left;
    margin: 5px 0;
  }

  .pagination {
    width: 100%;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    margin: 10px auto;
  }
  
  .news-main .news-body .alignleft,
  .news-main .news-body .alignright {
    float: none !important;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
    max-height: 500px;
  }

  /* サイドバー */
    .search-box input {
      width: 100%;
      margin: 0 auto;
      display: block;
    }
  
    .sidebar-section-container {
      display: flex;
      justify-content: center;
      width: 90%;
      margin: 0 auto;
    }
  
    .sidebar-section {
      flex: 1;
      max-width: 45%;
      margin-top: 20px;
      font-size: smaller;
    }
  
    .news-sidebar {
      border-left: none;
      display: flex;
      flex-direction: column;
      width: 100%;
      gap: 20px;
    }
  
    .search-box {
      max-width: 60%;
    }
}

@media screen and (max-width: 767px) {
  
  /*--------------------------------
    mv（各ページ共通）
  ---------------------------------*/
  .mv-title {
    letter-spacing: 20px; 
  }

  .mv {
    height: 200px;
  }

  /*--------------------------------
      menuページ
  ---------------------------------*/
  .menu-section.menu-btn {
    position: static;
    top: auto;
    z-index: auto;
  }

  .menu-back-section {
    display: block;
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 50px auto 0;
    padding: 15px 10px;
    background: rgba(220, 220, 220, 1);
    border-top: 1px solid #BDB9B9;
    text-align: center;
    z-index: auto;
  }

  .menu-back-section a {
    display: inline-block;
    font-size: large;
    transition: transform 0.5s ease, text-shadow 0.5s ease;
    text-decoration: underline !important;
  }

  .menu-back-section a:hover {
    transform: translateY(-3px);
    text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
  }


  body.nav-open .menu-back-section { 
    display: none !important;
  }

  body.nav-open #js-nav,
  body.nav-open .nav-sp {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
  }

  body.nav-open .menu-back-section {
    z-index: 1000;
    pointer-events: none;
  }

  .menu-btn a {
    flex: 1 1 calc(50% - 10px);
  }

  .menu-item {
    justify-content: space-around;
  }

  .menu-section h3 {
    text-align: center;
    font-weight: 400;
  }

  .time-menu h4 {
    margin: 10px;
  }

  .morning-midnight {
    flex-direction: column;
    gap: 20px;
  }
  
  .morning {
    width: 100%;
    padding-right: 0;
    border-right: none;
    padding-bottom: 20px;
    border-bottom: 1px solid #BDB9B9;
  }
  
  .midnight {
    width: 100%;
    padding-left: 0;
  }
  
  .time-menu-list .menu-text {
    margin-right: 5px;
  }
  
  .time-menu-list .menu-text::after {
    margin-left: 5px;
  }

  /*--------------------------------
    staffページ
 ---------------------------------*/
 .staff-data {
   flex-direction: column;
   align-items: center;
   padding: 15px 20px; 
   margin: 20px auto; 
  }
  
  .intro-left,
  .intro-right {
    width: 100%;
    margin: 0;
    padding: 10px 0; 
  }
  
  .intro-left {
    margin-bottom: 20px;
  }
  
  .intro-left img {
    margin: 0 auto 10px auto;
    max-width: 70%;
    height: auto;
  }
  
  .intro-right {
    text-align: left;
    
  }
  
  .intro {
    text-align: left;
    
  }
  
  .intro-right h4 {
    text-align: center;
  }
  
  .experience-year {
    display: block;
    text-align: center;
  }

  .lesson-container {
    flex-direction: column;
  }

  .lesson-image {
    width: 100%;
  }

  .manager-extra-wrap {
    margin: 10px auto 32px;
  }

  .manager-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
  }

  .manager-gallery-item {
    width: calc(50% - 7px);
    max-width: none;
  }

  /*--------------------------------
    schoolページ
  ---------------------------------*/
  .school-title {
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .school-section {
    margin: 0;
    padding-top: 30px;
  }

  .lesson-image img {
    width: 50%;
    height: auto;
    margin-bottom: 50px;
  }

  .lesson-left {
    width: 100%;
    padding: 0;
  }
  
  .lesson-container h3 {
    text-align: center;
    padding-top: 10px;
    font-size: larger;
  }
  
  .lesson-course h4,
  .school-note-inner h4 {
    font-size: large;
    margin-top: 20px;
  }
    
  .lesson-detail {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
  }

  .payment-list li {
    margin-left: 0;
  }

  .school-payment {
    margin-top: -20px;
  }

  .school-section .lesson-container {
    flex-direction: column;
    align-items: center;
  }

  .school-section .lesson-left {
    width: 90%;
    flex: none;
  }

  .school-section .lesson-image {
    width: 40%;
    flex: none;
    max-width: 40%;
    margin: 20px auto 50px;
  }
  
  /*--------------------------------
    contactページ
  ---------------------------------*/
  .contact-form-wrapper {
    margin: 30px auto;
    padding: 50px;
  }

  .form-submit button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  
  /*--------------------------------
    styleページ
  ---------------------------------*/
  .style-btn {
    gap: 10px;
    padding: 20px;
    box-sizing: border-box;
  }

  .style-btn a {
    flex: 1 1 calc(50% - 10px);
  }

  .style-item {
    position: relative;
    width: clamp(150px, calc(50% - 15px), 250px); 
    height: 0;
    padding-bottom: clamp(150px, calc(50% - 15px), 250px);
    margin-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  .style-frame-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .style-gallery {
    gap: 10px;
    padding: 0 10px;
  }

  .category-style {
    margin: 0 10px;
  }

  .lb-outerContainer {
    width: 90vw !important;
    max-width: 100% !important;
    padding: 30px 0 !important;
  }

  .lb-image {
    width: 90% !important;
    height: auto !important;
    max-height: 60vh !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .lb-dataContainer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .lb-data {
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .lb-nav a.lb-prev,
  .lb-nav a.lb-next {
    height: 35px !important;
    width: 20px !important;
  }

  html body .lb-nav a.lb-prev {
    left: -5vw !important;
  }
  
  html body .lb-nav a.lb-next {
    right: -5vw !important;
  }

  .lb-nav a.lb-next::before {
    left: 5px !important;
  }
  
  .lb-nav a.lb-prev::before,
  .lb-nav a.lb-next::before {
    font-size: 25px !important;
    top: 18px !important;
  }

  html body .lb-close {
    transform: none !important;
    width: 25px !important;
    height: 25px !important;
    top: -5% !important;
    right: 10% !important;
    padding-top: 5px !important;
  }

  html body .lb-close::before {
    font-size: 10px !important;
  }

  /*--------------------------------
    styleカテゴリーページ
  ---------------------------------*/
  .backto-style-btn {
    margin: 30px auto;
    width: fit-content;
  }
  
  .style-page-title {
    font-size: clamp(20px, 3vw, 32px);
    padding: 20px 0 0;
  }
  
  /*--------------------------------
    共通項目
  ---------------------------------*/
  body.nav-open .menu-back-section {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* ナビを最前面*/
  body.nav-open #js-nav,
  body.nav-open .nav-sp {
    position: fixed;
    inset: 0;
    z-index: 9999;
  }

  /* ハンバーガーをSPナビより前面に（開いている間のみ） */
  body.nav-open #js-hamburger {
    position: fixed;
    z-index: 10000;
  }
  
}

@media screen and (min-width: 320px) and (max-width: 349px) {
  .style-item {
    width: calc(50% - 30px); /* 2列表示のための幅調整 */
    height: 0; /* padding-bottomと合わせて高さを決定するためheightは0にする */
    padding-bottom: calc(50% - 30px); /* 正方形を維持 */
  }
}

@media screen and (max-width: 319px) {
  .style-item {
    width: calc(100% - 20px); /* 1列表示のための幅調整 (.style-galleryの左右10pxパディングを考慮) */
    height: 0; /* padding-bottomと合わせて高さを決定するためheightは0にする */
    padding-bottom: calc(100% - 20px); /* 正方形を維持 */
  }
}

@media screen and (max-width: 480px) {
  .form-submit button {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

.school-contact-link {
  display: inline-block;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.school-contact-link:hover {
  transform: translateY(-3px);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 1);
}

@media (max-width: 767px) {
  footer .privacy {
    margin: 10px 0 0; text-align: center;
  }
}

/* ---- Lightbox stylist button ---- */
.lb-stylist { 
  margin: 8px auto 0 !important; 
  text-align: center !important; 
  width: 100% !important; 
}
.lb-stylist-link { 
  display: inline-block; 
  text-decoration: underline; 
  font-size: 14px; 
  line-height: 1.6; 
  color: #000; 
  transition: transform 0.3s ease, text-shadow 0.3s ease; 
}
.lb-stylist-link:hover { 
  transform: translateY(-2px); 
  text-shadow: 0.1px 0.1px 0 rgba(0,0,0,1); 
}
@media (max-width: 767px){
  .lb-stylist-link { font-size: 13px; }
}

/* ---- Lightbox stylist button ---- */
.lb-stylist {
  margin: 6px auto 4px !important;
  width: 100% !important;
  text-align: center !important;
}
.lb-stylist .lb-stylist-link {
  display: inline-block !important;
  text-decoration: underline !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  cursor: pointer !important;
}


/* =========================================
   page-menu.php 専用（iPad mini2等の旧Safari向け）
   aspect-ratio未対応環境のみ適用（@supports not）
   - .mv-title を拡大
   - .menu-btn の間隔と配置をゆったり
   ========================================= */
@supports not (aspect-ratio: 1 / 1) {
  /* page-menu.php 判定は body.footer-fixed（functions.phpで付与） */
  .footer-fixed .mv-title {
    font-size: clamp(72px, 8.5vw, 120px) !important;
    letter-spacing: 32px !important;
  }

  .footer-fixed .menu-section.menu-btn .wp-block-navigation__container {
    /* 既存の space-between が詰まり要因なので center に変更 */
    justify-content: center !important;
    gap: 36px !important;
    row-gap: 28px !important;
    column-gap: 28px !important;
    padding: 36px 16px !important;
    box-sizing: border-box;
  }

  .footer-fixed .menu-section.menu-btn a {
    font-size: 1.15rem !important;
    letter-spacing: 2px;
  }
}


/* =========================================
aspect-ratio が未対応の環境(旧端末など)のみ適用
- .mv-title を視認性アップ
- .menu-btn のボタン間隔を拡張
========================================= */


/* === Contact: original layout on back === */
.estela-form{max-width:840px;margin:0 auto}
.estela-form__row{display:grid;grid-template-columns:200px 1fr;gap:16px;align-items:center;margin:16px 0}
@media screen and (max-width: 767px){
  .estela-form__row{grid-template-columns:1fr}
}
.estela-form__label{font-weight:500}
.estela-form__control input[type="text"],
.estela-form__control input[type="email"],
.estela-form__control select,
.estela-form__control textarea{width:100%;max-width:100%}
.estela-form__control--dates{display:flex;gap:12px;flex-wrap:wrap}
.estela-form__actions{margin-top:24px;text-align:center}
.estela-form__actions input[type="submit"]{min-width:260px}

