@charset "UTF-8";
#suntory_contents {
  background: #ffffff;
  color: #1b1f24;                      
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;                     
}
#suntory_contents *,
#suntory_contents *::before,
#suntory_contents *::after { box-sizing: border-box; }

#suntory_contents .container {
  max-width: 1164px;                    
  margin: 0 auto;                       
  padding: 0 20px;
}

#suntory_contents h2,
#suntory_contents h3,
#suntory_contents h4 { margin: 0; line-height: 1.5; }
#suntory_contents p  { margin: 0 0 1em; }
#suntory_contents ul,
#suntory_contents dl { margin: 0; padding: 0; }
#suntory_contents img { max-width: 100%; height: auto; }  

#suntory_contents a:link    { color: #0b5cab; }           
#suntory_contents a:visited { color: #551a8b; }
#suntory_contents a:hover,
#suntory_contents a:focus   { text-decoration: underline; }

#suntory_contents .hero { position: relative; margin: 0 0 48px; }
#suntory_contents .hero__img {
  display: block; width: 100%; height: 380px; object-fit: cover;
}

#suntory_contents .hero__body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end;
  text-align: center; padding: 0 20px 36px;
  background: linear-gradient(to bottom,
              rgba(6, 34, 60, 0.08) 0%,
              rgba(6, 34, 60, 0.18) 38%,
              rgba(6, 34, 60, 0.58) 72%,
              rgba(6, 34, 60, 0.82) 100%);
  color: #ffffff;
}
#suntory_contents .hero__title {
  font-size: 32px; font-weight: 700; margin: 0 0 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}
#suntory_contents .hero__lead {
  font-size: 18px; margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

#suntory_contents .sec { margin: 0 0 56px; }
#suntory_contents .sec__title {
  font-size: 26px; font-weight: 700;
  margin: 0 0 20px; padding-bottom: 10px;
  border-bottom: 3px solid #0b5cab;
}
#suntory_contents .sec__lead { font-size: 17px; }
#suntory_contents .note { font-size: 14px; color: #4a545f; }  
#suntory_contents .asof { font-size: 13px; color: #4a545f; margin: 8px 0 0; }
#suntory_contents .lead-strong { font-weight: 700; }
#suntory_contents .sp-only { display: none; }

#suntory_contents .lang-switch { text-align: right; margin: 20px 0 0; font-size: 15px; }
#suntory_contents .lang-switch a { font-weight: 700; }

#suntory_contents .alert {
  background: #fdf4e3; border: 1px solid #e6d3a8; border-left: 5px solid #8a5a00;
  border-radius: 8px; padding: 14px 18px; font-size: 15px;
}

#suntory_contents .event { margin: 0 0 32px; }
#suntory_contents .event__btn {
  display: block; width: 100%; text-align: left;
  background: #fff8e8; border: 1px solid #e3c98a;
  border-left: 6px solid #b35a00; border-radius: 8px;
  padding: 14px 18px; cursor: pointer;
  font-family: inherit; color: #1b1f24;
  min-height: 44px;                                  
}
#suntory_contents .event__btn:hover { background: #fdf1d6; }
#suntory_contents .event__btn:focus-visible { outline: 3px solid #b35a00; outline-offset: 2px; }
#suntory_contents .event__label {
  display: inline-block; background: #b35a00; color: #ffffff;   
  font-size: 13px; font-weight: 700; border-radius: 99px;
  padding: 2px 12px; margin: 0 10px 4px 0;
}
#suntory_contents .event__text { font-size: 16px; font-weight: 700; }
#suntory_contents .event__more {
  display: block; font-size: 14px; color: #0b5cab; margin-top: 4px;
}
#suntory_contents .event__more::after { content: " ▶"; font-size: 11px; }

#suntory_contents .access__photo {
  display: block; width: 100%; max-width: 480px; height: auto;
  margin: 10px 0 0; border-radius: 8px;
}

#suntory_contents .tel-card {
  background: #eef4fb; border: 1px solid #cfdff1; border-radius: 10px;
  padding: 20px 24px; text-align: center; margin: 0 0 28px;
}
#suntory_contents .tel-card--inline { margin: 24px 0 0; }
#suntory_contents .tel-card__label { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
#suntory_contents .tel-card__num   { font-size: 30px; font-weight: 700; margin: 0 0 6px; letter-spacing: .02em; }
#suntory_contents .tel-card__num a { color: #0b5cab; text-decoration: none; }
#suntory_contents .tel-card__hours { font-size: 14px; margin: 0; color: #3b444e; }

#suntory_contents .course-list {
  list-style: none; display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
#suntory_contents .course {
  border: 1px solid #e2e6ea; border-radius: 10px; padding: 20px;
  background: #ffffff; display: flex; flex-direction: column;
}
#suntory_contents .course__name { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
#suntory_contents .course__size {
  display: inline-block; align-self: flex-start;
  background: #0b5cab; color: #ffffff;              
  font-size: 13px; border-radius: 99px; padding: 2px 12px; margin: 0 0 12px;
}
#suntory_contents .course__desc { font-size: 15px; flex: 1; }

#suntory_contents .btn {
  display: inline-block; width: 100%;
  background: #0b5cab; color: #ffffff;              
  border: 2px solid #0b5cab; border-radius: 8px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  padding: 12px 16px; cursor: pointer;
  min-height: 44px;                                  
}
#suntory_contents .btn:hover { background: #094a8b; border-color: #094a8b; }
#suntory_contents .btn:focus-visible { outline: 3px solid #b35a00; outline-offset: 2px; }

#suntory_contents .feature-list {
  list-style: none; display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
#suntory_contents .feature img {
  width: 100%; height: 200px; object-fit: cover; border-radius: 8px; display: block;
}
#suntory_contents .feature__name { font-size: 18px; font-weight: 700; margin: 14px 0 6px; }
#suntory_contents .feature p { font-size: 15px; margin: 0; }

#suntory_contents .spec {
  display: grid; grid-template-columns: 180px 1fr;
  border-top: 1px solid #e2e6ea;
}
#suntory_contents .spec dt,
#suntory_contents .spec dd {
  border-bottom: 1px solid #e2e6ea; padding: 14px 16px; margin: 0;
}
#suntory_contents .spec dt { background: #f4f7fa; font-weight: 700; }
#suntory_contents .spec--modal { grid-template-columns: 140px 1fr; margin-top: 20px; }

#suntory_contents .note-list { list-style: none; }
#suntory_contents .note-list li {
  position: relative; padding-left: 1.3em; margin-bottom: 10px;
}
#suntory_contents .note-list li::before {
  content: ""; position: absolute; left: .25em; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: #0b5cab;
}

#suntory_contents .access {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: center;
}
#suntory_contents .access__head {
  font-size: 16px; font-weight: 700; margin: 20px 0 4px;
  padding-left: 10px; border-left: 4px solid #0b5cab;
}
#suntory_contents .access__col > .access__head:first-child { margin-top: 0; }

#suntory_contents .routemap {
  display: block;
  width: 100%; max-width: 420px; height: auto;
  margin: 0 auto 10px;
  border: 1px solid #e2e6ea; border-radius: 8px;
}

#suntory_contents .modal[hidden] { display: none; }

#suntory_contents .modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6, 34, 60, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
#suntory_contents .modal__panel {
  background: #ffffff; border-radius: 12px;
  max-width: 760px; width: 100%;
  max-height: 100%; min-height: 0;
  display: flex; flex-direction: column;
  overflow: hidden;                     
}
#suntory_contents .modal__head {
  flex: none;                           
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid #e2e6ea;
  background: #ffffff;
}
#suntory_contents .modal__title { font-size: 20px; font-weight: 700; flex: 1; }
#suntory_contents .modal__close {
  background: #f4f7fa; border: 1px solid #cfd6dd; border-radius: 8px;
  width: 44px; height: 44px; font-size: 22px; line-height: 1; cursor: pointer;
  color: #1b1f24; flex: none;
}
#suntory_contents .modal__close:hover { background: #e6ecf2; }
#suntory_contents .modal__close:focus-visible { outline: 3px solid #b35a00; outline-offset: 2px; }
#suntory_contents .modal__body {
  padding: 24px;
  overflow-y: auto;                     
  min-height: 0;                        
  -webkit-overflow-scrolling: touch;
}
#suntory_contents .modal__body > img {
  width: 100%; height: 240px; object-fit: cover; border-radius: 8px;
  display: block; margin: 0 0 20px;
}

#suntory_contents .modal__body > img.modal__photo--whole {
  height: auto; object-fit: fill; max-width: 640px; margin-left: auto; margin-right: auto;
}
#suntory_contents .modal__subtitle { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }

@media screen and (max-width: 767px) {
  #suntory_contents { font-size: 15px; }
  #suntory_contents .container { padding: 0 16px; }
  #suntory_contents .sp-only { display: inline; }

  #suntory_contents .hero { margin-bottom: 32px; }
  #suntory_contents .hero__img { height: 280px; }
  #suntory_contents .hero__body { padding: 0 16px 24px; }
  #suntory_contents .hero__title { font-size: 22px; }
  #suntory_contents .hero__lead { font-size: 15px; }

  #suntory_contents .sec { margin-bottom: 40px; }
  #suntory_contents .sec__title { font-size: 21px; }

  #suntory_contents .tel-card__num { font-size: 26px; }

  #suntory_contents .course-list,
  #suntory_contents .feature-list,
  #suntory_contents .access { grid-template-columns: 1fr; }

  #suntory_contents .spec,
  #suntory_contents .spec--modal { grid-template-columns: 1fr; }
  #suntory_contents .spec dt { border-bottom: none; padding-bottom: 4px; }
  #suntory_contents .spec dd { padding-top: 4px; }

  #suntory_contents .modal { padding: 12px; }
  #suntory_contents .modal__head { padding: 16px; }
  #suntory_contents .modal__body { padding: 16px; }
  #suntory_contents .modal__body > img { height: 180px; }
  #suntory_contents .modal__body > img.modal__photo--whole { height: auto; }
}
