/* ---------- å…±é€šãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆ ---------- */
.work-detail-container {
  margin: 32px auto 0 auto;
  max-width: 1050px;
  /* padding: 0 29px; */
}

/* ã‚¿ã‚¤ãƒˆãƒ«éƒ¨ï¼š1ã‚«ãƒ©ãƒ  */
.work-title-section {
  margin-bottom: 32px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid #eee;
  text-align: left;
}
.work-title {
  font-size: 2.8rem;
  font-weight: bold;
  /* margin-bottom: 0.1em; */
  line-height: 0.6em;
  letter-spacing: 0.02em;
}

h1.work-title span {
    font-size: 19px;
    padding-left: 0.5em;
}
.work-meta {
  font-size: 1.12rem;
  color: #333;
  margin-bottom: 0.2em;
}
.work-catch {
  font-size: 1.13em;
  color: #de33a2;
  font-weight: bold;
  margin-bottom: 0.3em;
}
.work-lead {
  font-size: 1em;
  color: #555;
  margin-bottom: 0.4em;
}

/* ---------- 2ã‚«ãƒ©ãƒ éƒ¨ ---------- */
.work-main.twocol {
  display: flex;
  gap: 40px;
  margin-bottom: 26px;
}
.work-visuals {width: 60%;}
.work-main-image {
  width: 100%;
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 16px rgba(0,0,0,0.12); */
  margin-bottom: 8px;
  transition: opacity 0.2s;
  min-height: 300px;
}
.work-main-image.fade {
  opacity: 0.2;
}
.work-subimages {
  display: flex;
  gap: 8px;
  /* margin-top: 8px; */
}
.work-subimage {
  width: 86px;
  /* border-radius: 6px; */
  cursor: pointer;
  border: 2px solid #fff;
  box-sizing: border-box;
  transition: border 0.15s;
}
.work-subimage.active, .work-subimage:focus {
  border: 2px solid #de33a2;
  outline: none;
}

.work-info {
  flex: 2 1 340px;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  width: 49%;
  /* display: none; */
}
.work-desc {
  font-size: 1.08rem;
  margin-bottom: 1.2em;
  margin-top: 1.5rem;
}
.work-highlight {
  display: block;
  font-weight: bold;
  color: #de33a2;
  margin-bottom: 8px;
  font-size: 1.12em;
}

/* ---------- ã‚°ãƒªãƒƒãƒ‰éƒ¨ ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 82px;
  margin-bottom: 16px;
}
.work-trailer,
.work-profile,
.work-schedule {
  padding: 18px;
  border-radius: 9px;
  min-height: 170px;
  font-size: 1.05rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
}
.card-yellow {background: #fdecb7;/* border: 2px solid #ffd550; */display: none;}
.card-pink   {background: #edafce;/* border: 2px solid #de33a2; */}
.card-green  {background: #d2e7b1;/* border: 2px solid #7ede33; */}
.card-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 16px;
  /* border-radius: 8px; */
  font-size: 0.98em;
  font-weight: bold;
  letter-spacing: 0.02em;
  right: 31px;
  position: relative;
}
.label-yellow {background: #ffd550;color: #ffffff;}
.label-pink   { background: #de33a2; color: #fff; }
.label-green  {background: #8dc337;color: #fff;}
.trailer-emph { font-size: 1.08em; font-weight: bold; }

/* ---------- ãƒ•ãƒƒã‚¿ãƒ¼ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ ---------- */
.work-footer-msg {
  margin: -4px auto 0 auto;
  /* max-width: 600px; */
  text-align: left;
  color: #111;
  /* background: #eaf6ff; */
  border-radius: 12px;
  font-size: 1.04em;
  padding: 20px 0px;
  font-weight: 500;
}

/* ---------- ãƒ¬ã‚¹ãƒãƒ³ã‚·ãƒ– ---------- */
/* ã‚¿ãƒ–ãƒ¬ãƒƒãƒˆï¼š2ã‚«ãƒ©ãƒ è§£é™¤ï¼†ã‚¿ã‚¤ãƒˆãƒ«å°ã•ã‚ */
@media (max-width: 950px) {
  .work-main.twocol { flex-direction: column; gap: 18px; }
  .work-title { font-size: 1.5rem;}
  .work-title-section { font-size: 1.06em;}
  .work-grid { grid-template-columns: 1fr; }
  .work-footer-msg { font-size: 0.99em;}
}
.work-subimage {
    /* width: 18.2%; */
}

/* ã‚¹ãƒžãƒ›æœ€é©åŒ– */
@media (max-width: 650px) {
  .work-info {
    display: block;
}

.work-detail-container .display_flex {
    display: block !important;
}


span.program_info {
    display: block;
    letter-spacing: -0.05em !important;
    line-height: 1em;
    margin-top: 1em;
}

.work-title h2.work-director {
    line-height: 1em;
}
  

.work-visuals {
    width: auto;
}

.work-info {
    width: auto;
    margin-top: 10vw;
}

  .box {
    line-height: 1em !important;
    padding-top: 0.5em !important;
}

.work-subimages {
    justify-content: flex-start;
    height: auto;
    gap: 8px;
    flex-wrap: wrap;
    row-gap: 0px;
}

h1.work-title {}
  
  .work-detail-container {/* padding: 0 3vw; */}
  .work-title {font-size: 1.7rem;letter-spacing: -0.05em;margin-bottom: 0.4em;}
  .work-footer-msg { font-size: 0.97em;}
  
.work-main-image {
height: fit-content;
min-height: inherit;
object-fit: contain;
height: auto;
}
.work-subimage {
width: 30%;
height: 20vw;
margin-bottom: 2%;
object-fit: cover;
background: antiquewhite;
}
  .work-title-section { margin-bottom: 18px;}
  .work-grid { gap: 16px; margin-top: 16px;}
}


.work-detail-container .display_flex {
    display: flex;
    gap: 2.5%;
}

* {
    font-family: "RocknRoll One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

main.pff-main-content {
    font-family: "RocknRoll One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

button#slide-prev,button#slide-next {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: white;
    background: inherit !important;
}

.center_center {
    position: absolute;
    right: 50%;
    top: 30%;
    transform: translate(50%, 52%);
    font-size: 1.7rem;
    color: #8dc337;
    width: 100%;
    text-align: center;
}

.profile-inner.center_center {
    color: #de34a2;
}

.work-title h2.work-director {
    font-size: 1.3rem;
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    display: block;
    font-weight: bold;
    line-height: 1em;
}

span.program_info {
    font-size: 16px;
    font-weight: 100 !important;
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    letter-spacing: 0;
    /* margin-top: 0.8rem; */
    /* line-height: 1em; */
}

.box {
    line-height: 0;
    padding-bottom: 0.8em;
    padding-top: 0.8em;
    display: block;
}

button#slide-prev {
    left: 1%;
    top: 35%;
    transform: translate(0px, 0px);
    position: absolute;
    font-size: 3rem;
}

.slidewrap {
    position: relative;
}

button#slide-next {
    right: 1%;
    top: 35%;
    transform: translate(0px, 0px);
    position: absolute;
    font-size: 3rem;
}