
.section {
  margin-top: 100px;
}

h2 {
  text-align: center;
  font-size: 32px;
  letter-spacing: 0.3em;
  margin: 50px auto;
}


/*--------------------------------
メインビジュアル
---------------------------------*/
main {
  padding-top: 30px;
  padding-bottom: 90px;
  background-color: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
}

#main-content {
  position: relative;
  width: 100%;
  height: 850px;
  margin: 0 auto;
  opacity: 1;
  z-index: 1;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 40px;
  transform-origin: top center;
  transform: scale(0.8);
}

/* ロゴ背景 */
.main-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  height: auto;
  position: relative;
  z-index: 1;
  background-color: transparent;
  transform-origin: center center;
  margin: 0;
  padding: 0;
}

#main-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  opacity: 1;
  background-color: transparent;
  transform: scale(1);
  transition: transform 0.3s ease;
}

/* 画像ボタン */
.button-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
}

.button-container .btn {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: auto;
  background-color: transparent;
  /* ▼ ここがポイント：1200px時=150pxが上限、そこからは親幅に対し12.5%で縮む */
  width: 12.5%;        /* 1200px時に 150px ちょうど */
  max-width: 150px;    /* PC基準の“今の大きさ”を上限に固定 */
  min-width: 50px;     /* これ以下に小さくなりすぎない保険（任意） */
  aspect-ratio: 3 / 4;
  padding: 0;
  transition: width 0.3s ease, height 0.3s ease;
}

.button-container img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s;
  background-color: transparent;
}

.button-container img:hover {
  transform: scale(1.05);
  }

.button-label {
  margin-top: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(12px, 2.0vw, 22px);
  color: #000;
  background-color: transparent;
  transition: font-size 0.3s ease;
}

.btn-about    { top: 7%; left: 30%; transform: translateX(-50%); }
.btn-style    { top: 7%; left: 70%; transform: translateX(-50%); }
.btn-news     { top: 47%; left: 50%; transform: translateX(-50%); }
.btn-menu     { top: 47%; left: 87%; transform: translateX(-50%); }
.btn-staff    { top: 47%; left: 13%; transform: translateX(-50%); }
.btn-contact  { top: 85%; left: 72%; transform: translateX(-50%); }
.btn-school   { top: 85%; left: 28%; transform: translateX(-50%); }

/* 下へ少しスクロールする矢印 */
.scroll-down {
  position: relative;
  z-index: 3;
  margin-top: -85px;
  display: flex;
  justify-content: center;
  opacity: 0;
}

.scroll-down-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  cursor: pointer;
  width: auto;
}

.scroll-text {
  font-size: small;
  white-space: nowrap;
}

.scroll-arrow {
  display: inline-block;
  vertical-align: middle;
  color: #000;
  line-height: 1;
  position: relative;
  width: 0.1em;
  height: 1.5em;
  background: currentColor;
}

.scroll-arrow::before {
  content: '';
  width: 1em;
  height: 1em;
  border: 0.1em solid currentColor;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  transform-origin: bottom left;
  position: absolute;
  left: 50%;
  bottom: -0.05em;
  box-sizing: border-box;
}

.scroll-down-text:hover {
  transform: translateY(-5px);
}

/*--------------------------------
  about
---------------------------------*/
.about-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.about-left {
  width: 70%;
  margin: 30px;
  line-height: 3;
}

.about-menu {
  margin: 10px 30px;
}

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

.menu-example-item {
  display: flex;
  justify-content: space-between;
  margin: auto 20px;
}

.menu-example-text {
  text-align: left;
}

.menu-example-price {
  text-align: right;
}

.about-top img {
  width: 30%;
  height: auto;
  object-fit: cover;
  margin: 5px 10px;
}

.menu-example-link {
  margin-left: 30px;
}

.menu-example-link p {
  margin-bottom: 20px; 
}

.menu-example-link a{
  color: inherit;
  text-decoration: underline;
  font-family: "Noto Sans JP", sans-serif;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  display: inline-block;
}

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

.about-middle {
  margin: 100px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.about-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.about-bottom .about-left {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
  margin: 30px;
  line-height: 3;
}

.about-middle img {
  width: 40%;
  height: auto;
  object-fit: cover;
  margin: auto;
  padding-left: 10px;
}

/* about-bottom 右メディア：about-top img と同じ幅（PC=30%） */
.about-bottom-media {
  width: 30%;
  flex: 0 0 30%;
  max-width: 30%;
  margin: 5px 10px;
  display: block;
}

/* 動画/YouTubeも幅は同じ（30%） */
.about-bottom-media.is-video,
.about-bottom-media.is-youtube {
  width: 30%;
  flex-basis: 30%;
  max-width: 30%;
}

 .about-bottom-media img,
 .about-bottom-media video,
 .about-bottom-media iframe {
   width: 100%;
   height: auto;
   display: block;
   border: 0;
 }

 /* 画像は今の見た目を維持 */
 .about-bottom-media img {
   object-fit: cover;
 }

 /* 動画は切れないように（全体が見える） */
 .about-bottom-media video {
   object-fit: contain;
 }

/* 動画：全体が切れないように（containでフィット） */
.about-bottom-media.is-video video {
  height: auto;
}

/* YouTube：横長(16:9)で高さを自動計算して切れないように */
.about-bottom-media.is-youtube iframe {
  height: auto;
  aspect-ratio: 16 / 9;
}

/* YouTube以外のiframe（将来の埋め込み用）は従来比率 */
.about-bottom-media:not(.is-youtube) iframe {
  aspect-ratio: 1125 / 1068;
}


.about-right {
  width: 50%;
  margin: 30px;
  line-height: 3;
}

.about-right p {
  margin-bottom: 20px; 
}

.about-right a,
.about-school a {
  color: inherit;
  text-decoration: underline;
  font-family: "Noto Sans JP", sans-serif;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  display: inline-block;
}

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


/*--------------------------------
  staff
---------------------------------*/
.staff-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.staff-left {
  width: 70%;
  margin: 30px;
  line-height: 3;
}

.staff-container img {
  width: 30%;
  height: 30%;
  object-fit: cover;
  margin: 10px 20px;
}

.staff-left p {
  margin-bottom: 20px; 
}

.staff-container a{
  color: inherit;
  text-decoration: underline;
  font-family: "Noto Sans JP", sans-serif;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  display: inline-block;
}

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

/*--------------------------------
  style
---------------------------------*/
.style-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* スライドショー */
.slide-show {
  position: relative;
  width: 40%;
  height: 400px;
  max-width: 100%;
  min-width: 300px;
  min-height: 300px;
  overflow: hidden;
  margin: 10px 20px;
}

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

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

.style-left {
  width: 60%;
  margin: 30px;
  line-height: 3;
}

.style-left p {
  margin-bottom: 20px; 
}

.style-left a {
  color: inherit;
  text-decoration: underline;
  font-family: "Noto Sans JP", sans-serif;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  display: inline-block;
}

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

/*--------------------------------
  news
---------------------------------*/
/* .news {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

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

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #BDB9B9;
}

.news-item {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #BDB9B9;
  line-height: 2;
}

.news-date {
  min-width: 120px;
}

.news-text {
  flex: 1;
  margin-left: 20px;
}

.news-more {
  text-align: right;
  margin-top: 10px;
}

.news-more a {
  color: black;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  display: inline-block;
  margin-right: 30px;
}

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

body.home .section.news .news-container {
  display: block !important;
  max-width: 1100px;
  margin: 0 auto;
}

body.home .section.news .news-container > * {
  width: 100% !important;
}

body.home .section.news .news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #BDB9B9;
}

body.home .section.news .news-item {
  display: flex;
  align-items: baseline;
  gap: 100px;
  padding: 20px 0 0;
}

body.home .section.news .news-item a {
  display: flex;
  align-items: baseline;
  gap: 100px;
  text-decoration: none;
  color: inherit;
}

.news-item a {
  padding-left: 20px;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

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

.news-item a:hover::after {
  visibility: visible;
  bottom: 10px;
  opacity: 1;
}

.news-item a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #000000;
  bottom: 10px;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.news-more {
  text-align: right;
  padding: 10px 0 20px;
}

.news-more a {
  color: black;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  display: inline-block;
  margin-right: 30px;
}

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


/*--------------------------------
  contact
---------------------------------*/
.contact-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.contact-container img {
  width: 30%;
  height: 30%;
  object-fit: cover;
  margin: 10px 20px;
}

.contact-right {
  width: 70%;
  margin: 30px;
  line-height: 3;
}

.contact-right .contact-block p {
  margin-bottom: 20px; 
  margin-right: 30px;
}

.contact-right a{
  color: inherit;
  text-decoration: underline;
  font-family: "Noto Sans JP", sans-serif;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  display: inline-block;
}

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

.contact-block {
  margin-bottom: 50px;
}

.contact-block:last-of-type {
  margin: 70px auto 0;
  
  /* margin-bottom: 0;
  font-size: smaller; */
}

/*--------------------------------
  store information
---------------------------------*/
.store-info-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  margin: 0 auto;
}

.store-top-row,
.store-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  column-gap: 56px;
  margin: 0 30px;
}

.store-top-row {
  align-items: start;
}

.store-card {
  min-width: 0;
}

.store-hours-block,
.store-info-text {
  line-height: 2.5;
}

.store-hours-block p,
.store-info-text p {
  margin-bottom: 20px;
}

.store-calendar-block p {
  margin-bottom: 12px;
}

.store-calendar-note {
  line-height: 1.8;
}

.store-calendar-embed,
.store-map-block {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.store-calendar-embed {
  position: relative;
}

.store-calendar-embed iframe,
.store-map-block iframe {
  width: 100%;
  display: block;
  border: none;
}

.store-calendar-embed iframe {
  aspect-ratio: 1 / 1;
  max-height: 360px;
  min-height: 0;
}

.store-calendar-embed::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px;
  height: 25px;
  background: #F0F4F9;
  z-index: 10;
}

.store-map-block iframe {
  aspect-ratio: 1 / 1;
  max-height: 360px;
  min-height: 0;
}

.store-info-text strong,
.store-hours-block strong,
.store-calendar-block strong {
  display: inline-block;
  margin-bottom: 8px;
}

.store-info-text small {
  font-weight: medium;
}

.store-right {
  width: 100%;
  margin: 0;
  height: auto;
  display: block;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*--------------------------------
----------------------------------
  レスポンシブ対応
----------------------------------
---------------------------------*/

@media screen and (max-width: 500px) {
  .about h2 {
    margin-top: -20px;
  }
}
  
@media screen and (max-width: 850px) {
  .btn-about    { top: 15%; left: 70%; transform: translateX(-50%); }
  .btn-style    { top: 15%; left: 30%; transform: translateX(-50%); }
  .btn-news     { top: 40%; left: 50%; transform: translateX(-50%); }
  .btn-menu     { top: 40%; left: 90%; transform: translateX(-50%); }
  .btn-staff    { top: 40%; left: 10%; transform: translateX(-50%); }
  .btn-contact  { top: 65%; left: 70%; transform: translateX(-50%); }
  .btn-school   { top: 65%; left: 30%; transform: translateX(-50%); }

  .scroll-down {
    margin-top: -200px;
  }
}

@media screen and (max-width: 750px) {

  #main-content {
    transform: scale(0.92);
    transform-origin: top center;
  }

  #main-logo {
    width: clamp(300px, 90vw, 85vw);
    height: auto;
  }
}

@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
    padding: 0 10px;
  }
  
  .section {
    margin-top: 20px;
  }
  
  h2 {
    font-size: 24px;
    margin-bottom: 0;
  }
  
  /*--------------------------------
  メインビジュアル
  ---------------------------------*/
  #main-content {
    transform: scale(0.85);
    height: auto;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: -300px;
  }
  
  .main-visual {
    margin: 0;
    padding: 0;
    max-width: 100vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  #main-logo {
    /* transform: scale(0.95);
    width: 100vw; */
    width: clamp(300px, 85vw, 1000px);
    height: auto;
    transform: none;
    margin-top: -60px;
  }
    
  .button-container {
    height: 90vh;
    position: relative;
  }


  .scroll-down {
    margin-top: 100px
  }

  /* #about {
    scroll-margin-top: 80px;
  } */

  /*--------------------------------
    about
  ---------------------------------*/
  .about {
    margin-top: 120px;
  }

  .about-top {
    flex-direction: column;
    align-items: center;
    text-align: flex-start;
  }
  
  .about-left {
    line-height: 1.8;
    width: 90%;
  }
  
  .about-top img {
    width: 40%;
    height: auto;
    margin-bottom: 50px;
  }

  .about-bottom-media {
    width: 40%;
    max-width: 40%;
    margin-bottom: 50px;
  }

  /* SP：動画だけ大きく表示（上下余白は削ってOK） */
  .about-bottom-media.is-video,
  .about-bottom-media.is-youtube {
    width: 40%;
    max-width: 40%;
    aspect-ratio: 3 / 4; /* about-top画像と同じ縦長枠 */
    overflow: hidden;
  }
  
  /* mp4などの動画：枠いっぱいに（上下はトリミングされる場合あり） */
  .about-bottom-media.is-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* YouTube：枠いっぱいに（拡大して上下余白を減らす） */
  .about-bottom-media.is-youtube iframe {
    width: 100%;
    height: 100%;
    transform: scale(1.35);
    transform-origin: center;
  }
  
  .menu-example-title {
    margin-top: 30px;
  }
  
  .about-menu {
    margin: 20px 0;
  }

  .menu-example-link {
    margin: 0px;
  }

  .about-middle {
    flex-direction: column-reverse;
    align-items: center;
    text-align: flex-start;
  }

  .about-bottom {
    flex-direction: column;
    align-items: center;
    text-align: flex-start;
  }

  .about-middle img {
    width: 80%;
    height: auto;
    margin-bottom: 50px;
  }

  .about-right {
    width: 90%;
    margin: 0;
    margin: 20px auto;
  }
  
  .about-right p {
    margin-bottom: 15px;
    line-height: 1.8;
  }

  /*--------------------------------
    staff
  ---------------------------------*/
  .staff-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: flex-start;
  }

  .staff-left {
    line-height: 1.8;
    width: 90%;
  }

  .staff-container img {
    width: 40%;
    height: auto;
    margin-bottom: 50px;
  }


  /*--------------------------------
    style
  ---------------------------------*/
  .style-container {
    flex-direction: column;
    align-items: center;
    text-align: flex-start;
  }
  
  .slide-show {
    width: 70%;
    height: auto;
  }
  
  .style-left {
    width: 90%;
    margin: 20px;
    line-height: 1.8;
  }
  /*--------------------------------
    news
  ---------------------------------*/
  .news h2 {
    margin-bottom: 10px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }
  
  .news-text {
    margin-left: 0;
    margin-top: 4px;
  }
  
  /*--------------------------------
    contact
  ---------------------------------*/
  .contact h2 {
    margin-bottom: 10px;
  }

  .contact-container {
    flex-direction: column-reverse;
  }
  
  .contact-container img {
    width: 40%;
    height: auto;
    margin-bottom: 50px;
  }

  .contact-right {
    width: 90%;
    margin: 20px;
    line-height: 1.8;
    align-items: center;
    text-align: flex-start;
  }

  /*--------------------------------
    store information
  ---------------------------------*/
  .store-info h2 {
    margin: auto 10px;
  }

  .store-info-container {
    gap: 24px;
    width: 100%;
  }

  .store-top-row,
  .store-bottom-row {
    grid-template-columns: 1fr;
    row-gap: 20px;
    margin: 0;
  }

  .store-hours-block,
  .store-info-text {
    width: 90%;
    margin: 0 auto;
    line-height: 1.8;
    text-align: flex-start;
  }

  .store-calendar-block {
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
  }

  .store-map-block {
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
  }

  .store-calendar-embed {
    max-width: 100%;
    justify-self: center;
  }

  .store-map-block {
    justify-self: center;
  }

  .store-calendar-embed iframe {
    aspect-ratio: 1 / 1;
    max-height: 320px;
    min-height: 0;
  }

  .store-map-block iframe {
    aspect-ratio: 1 / 1;
    max-height: 320px;
  }

}


/* =========================================
aspect-ratio が未対応の環境(旧端末など)のみ適用
- 対象：.btn-contact / .btn-school のみ
========================================= */
@supports not (aspect-ratio: 1 / 1) {
  .button-container .btn-contact,
  .button-container .btn-school {
    display: block;
  }
  .button-container .btn-contact::before,
  .button-container .btn-school::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 133.333%;
  }
  .button-container .btn-contact > img,
  .button-container .btn-school > img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 2.4em;
    width: 100%;
    height: 85%;
    object-fit: cover;
    z-index: 1;
  }

  .button-container .btn-contact .button-label,
  .button-container .btn-school .button-label {
    position: relative;
    display: block;
    margin-top: 8px;
    z-index: 2;
    text-align: center;
  }
  
  .btn-contact { 
    /* top: 50%; 
    left: 72%; 
    transform: translateX(-50%); */
    position: relative;
    padding-bottom: 2.4em;
  }

  .btn-school { 
    /* top: 50%;
    left: 28%;
    transform: translateX(-50%); */
    position: relative;
    padding-bottom: 2.4em;
  }
}




