/* ============================================================
   pages ── トップの各セクションと下層ページ固有の見た目
   ============================================================ */
.iyo-home {
}
.iyo-home .iyo-hero {
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}
.iyo-home .iyo-hero .iyo-hero-media {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}
.iyo-home .iyo-hero .iyo-hero-media video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.iyo-home .iyo-hero .iyo-hero-copy {
  width: -moz-fit-content;
  width: fit-content;
  color: var(--iyo-navy);
  font-size: clamp(34px, 3.6363636364vw, 100px);
  font-weight: 900;
  line-height: 120%;
  letter-spacing: 0.06em;
}
.iyo-home .iyo-hero .iyo-scrollcue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.iyo-home .iyo-hero .iyo-scrollcue-text {
  color: var(--iyo-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.iyo-home .iyo-hero .iyo-scrollcue-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--iyo-navy) 0%, rgba(56, 137, 217, 0) 100%);
  animation: scrollLineAnimation 2s ease-in-out infinite;
}
.iyo-home .iyo-topics {
  margin-top: clamp(60px, 4.5454545455vw, 100px);
  padding-block: clamp(30px, 2.1818181818vw, 80px);
}
.iyo-home .iyo-topics .iyo-topics-main {
  flex: 2;
}
.iyo-home .iyo-topics .iyo-topics-list {
}
.iyo-home .iyo-topics .iyo-topics-list ul {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 0.8636363636vw, 30px);
}
.iyo-home .iyo-topics .iyo-topics-list ul li.iyo-topics-item {
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.iyo-home .iyo-topics .iyo-topics-list ul li.iyo-topics-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-link {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.3636363636vw, 30px);
  padding: clamp(16px, 1.4545454545vw, 15px) clamp(20px, 1.8181818182vw, 40px);
  text-decoration: none;
  color: inherit;
}
.iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-tag {
  font-size: clamp(11px, 0.6363636364vw, 14px);
  color: #fff;
  border-radius: 6px;
  background-color: var(--iyo-navy-link);
  padding: 6px 14px;
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
}
.iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-title {
  flex: 1;
  font-size: clamp(13px, 0.7272727273vw, 16px);
  font-weight: 700;
  line-height: 1.5;
}
.iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-arrow {
  width: clamp(32px, 2.1818181818vw, 48px);
  height: clamp(32px, 2.1818181818vw, 48px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
  overflow: hidden;
}
.iyo-home .iyo-topics .iyo-topics-list ul li:hover .iyo-topics-arrow {
  transform: translateX(4px);
}
.iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-arrow img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}
.iyo-home .iyo-guide {
  margin-top: clamp(80px, 6.7272727273vw, 150px);
}
.iyo-home .iyo-guide .iyo-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 2.7272727273vw, 60px);
}
.iyo-home .iyo-guide .iyo-guide-figure {
  flex-shrink: 0;
  width: clamp(150px, 24.1818181818vw, 460px);
}
.iyo-home .iyo-guide .iyo-guide-figure img {
  width: 100%;
  height: auto;
}
.iyo-home .iyo-guide .iyo-about-grid {
  margin-top: clamp(28px, 1.0272727273vw, 60px);
}
.iyo-home .iyo-guide .iyo-about-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(25px, 2.2727272727vw, 50px);
}
.iyo-home .iyo-guide .iyo-about-grid li {
  width: calc((100% - clamp(25px, 2.2727272727vw, 50px)) / 2);
  position: relative;
  cursor: pointer;
}
.iyo-home .iyo-guide .iyo-about-grid .iyo-tile-no {
  width: clamp(25px, 2.2727272727vw, 50px);
}
.iyo-home .iyo-guide .iyo-about-grid .iyo-tile-title {
  color: #fff;
  font-weight: 700;
  font-size: clamp(16px, 1.1818181818vw, 26px);
}
.iyo-home .iyo-guide .iyo-guide-more {
  margin-top: clamp(30px, 2.7272727273vw, 60px);
  text-align: right;
}
.iyo-home .iyo-guide .iyo-guide-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--iyo-navy-link);
  font-weight: 600;
  font-size: clamp(14px, 0.9090909091vw, 20px);
  text-decoration: none;
  transition: opacity 0.3s;
}
.iyo-home .iyo-guide .iyo-guide-more-link:hover {
  opacity: 0.7;
}
.iyo-home .iyo-guide .iyo-guide-more-link .iyo-guide-more-text {
  border-bottom: 1px dashed var(--iyo-navy-link);
  padding-bottom: 2px;
}
.iyo-home .iyo-guide .iyo-guide-more-link .iyo-guide-more-arrow {
  width: clamp(20px, 1.3636363636vw, 30px);
  height: clamp(20px, 1.3636363636vw, 30px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.iyo-home .iyo-guide .iyo-guide-more-link:hover .iyo-guide-more-arrow {
  transform: translateX(4px);
}
.iyo-home .iyo-guide .iyo-guide-more-link .iyo-guide-more-arrow img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}
.iyo-home .iyo-first {
  margin-top: clamp(80px, 11.3636363636vw, 200px);
  padding-block: clamp(60px, 11.1818181818vw, 230px);
  position: relative;
  z-index: 0;
}
.iyo-home .iyo-first .iyo-first-mascot {
  position: absolute;
  top: -115px;
  left: 7%;
  width: clamp(300px, 27.7272727273vw, 600px);
  z-index: 1;
}
.iyo-home .iyo-first .iyo-first-mascot img {
  width: 100%;
  height: auto;
}
.iyo-home .iyo-courses {
  padding-block: clamp(60px, 8.1818181818vw, 180px) 0;
}
.iyo-home .iyo-courses .iyo-courses-aside {
  width: 33.33%;
  flex-shrink: 0;
}
.iyo-home .iyo-courses .iyo-courses-mascot {
  width: 100%;
  margin-bottom: clamp(20px, 0.4181818182vw, 40px);
}
.iyo-home .iyo-courses .iyo-courses-mascot img {
  width: 60%;
  height: auto;
  margin-bottom: 50px;
}
.iyo-home .iyo-courses .iyo-courses-lead {
  font-size: clamp(20px, 3.6363636364vw, 38px);
  font-weight: 700;
  color: var(--iyo-navy);
  line-height: 2;
  text-align: left;
}
.iyo-home .iyo-courses .iyo-courses-lead-sp {
  display: none;
}
.iyo-home .iyo-courses .iyo-courses-main {
  flex: 1;
}
.iyo-home .iyo-courses .iyo-courses-body {
  margin-top: clamp(30px, 2.7272727273vw, 60px);
}
.iyo-home .iyo-courses .iyo-courses-text {
  font-size: clamp(14px, 0.8181818182vw, 18px);
  line-height: 2.8;
  color: #333;
}
.iyo-home .iyo-courses .iyo-courses-actions {
  margin-top: clamp(30px, 2.7272727273vw, 60px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 1.8181818182vw, 40px);
}
.iyo-home .iyo-courses .iyo-courses-illust {
  width: clamp(200px, 18.1818181818vw, 400px);
  flex-shrink: 0;
}
.iyo-home .iyo-courses .iyo-courses-illust img {
  width: 100%;
  height: auto;
  position: relative;
  right: -50px;
}
.iyo-home .iyo-courses .iyo-courses-illust-sp {
  display: none;
}
.iyo-home .iyo-courses .iyo-filmstrip {
  margin-top: clamp(60px, 5.4545454545vw, 120px);
  overflow: hidden;
  width: 100%;
}
.iyo-home .iyo-courses .iyo-filmstrip-track {
  display: flex;
  gap: clamp(20px, 1.8181818182vw, 40px);
  animation: scroll-left 30s linear infinite;
  width: max-content;
}
.iyo-home .iyo-courses .iyo-filmstrip-item {
  flex-shrink: 0;
  width: clamp(250px, 34.727273vw, 800px);
}
.iyo-home .iyo-courses .iyo-filmstrip-item img {
  width: 100%;
  height: auto;
  display: block;
}
.iyo-home .iyo-facility {
  background-color: #FFF9E5;
  padding-block: clamp(80px, 9.0909090909vw, 200px) clamp(60px, 6.3636363636vw, 140px);
  margin-top: clamp(80px, 9.3181818182vw, 205px);
  width: 100%;
  overflow-x: clip;
  position: relative;
}
.iyo-home .iyo-facility .iyo-facility-mascot-a {
  position: absolute;
  top: -72px;
  left: max(calc((100% - min(89.727273vw, 1600px)) / 2), 0px);
  width: clamp(300px, 27.7272727273vw, 600px);
  z-index: 1;
}
.iyo-home .iyo-facility .iyo-facility-mascot-a img {
  width: 100%;
  height: auto;
  position: relative;
  left: -30px;
  max-width: 300px;
}
.iyo-home .iyo-facility .iyo-facility-mascot-b {
  position: absolute;
  top: -100px;
  right: -10px;
  width: clamp(300px, 27.7272727273vw, 600px);
  max-width: 400px;
  z-index: 1;
}
.iyo-home .iyo-facility .iyo-facility-mascot-b img {
  width: 100%;
  height: auto;
}
.iyo-invite {
  background-color: var(--iyo-mist);
  padding: 50px 0 80px 0;
  position: relative;
}
.iyo-invite::before {
  content: "";
  position: absolute;
  top: -60px;
  transform: rotate(180deg);
  left: 0;
  width: 100%;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 60" preserveAspectRatio="none"><path d="M0,30 Q300,60 600,30 T1200,30 L1200,0 L0,0 Z" fill="%23d9edf0"/></svg>') repeat-x;
  background-size: 100% 100%;
}
.iyo-invite h2 {
  margin: 0;
}

@media screen and (max-width: 1023px) {
  .iyo-home .iyo-topics .iyo-topics-main {
    width: 100%;
  }
  .iyo-home .iyo-guide .iyo-guide-head {
    flex-direction: column;
    gap: 30px;
  }
  .iyo-home .iyo-guide .iyo-guide-figure {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .iyo-home .iyo-guide .iyo-about-grid ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .iyo-home .iyo-guide .iyo-about-grid li {
    width: 100%;
  }
  .iyo-home .iyo-first {
    position: relative;
    padding-bottom: 0px;
  }
  .iyo-home .iyo-first .iyo-first-mascot {
    width: 280px;
    top: -50px;
    left: 5%;
    z-index: 2;
  }
  .iyo-home .iyo-courses .iyo-courses-aside {
    width: 100%;
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .iyo-home .iyo-courses .iyo-courses-aside .iyo-courses-lead {
    display: none;
  }
  .iyo-home .iyo-courses .iyo-courses-lead-sp {
    display: block;
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 700;
    color: var(--iyo-navy);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
  }
  .iyo-home .iyo-courses .iyo-courses-mascot {
    display: none;
  }
  .iyo-home .iyo-courses .iyo-courses-main {
    width: 100%;
    order: 1;
  }
  .iyo-home .iyo-courses .iyo-courses-body {
    order: 3;
  }
  .iyo-home .iyo-courses .iyo-courses-actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .iyo-home .iyo-courses .iyo-courses-illust-pc {
    display: none;
  }
  .iyo-home .iyo-courses .iyo-courses-illust-sp {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
  }
  .iyo-home .iyo-courses .iyo-courses-illust-sp img {
    width: 100%;
    height: auto;
  }
  .iyo-home .iyo-courses .iyo-filmstrip {
    margin-top: 5px;
  }
  .iyo-home .iyo-courses .iyo-filmstrip-item {
    width: 200px;
  }
  .iyo-home .iyo-facility .iyo-facility-mascot-a {
    width: 200px;
    top: -80px;
    left: max(calc((100% - min(100% - 32px, 1600px)) / 2), 16px);
  }
  .iyo-home .iyo-facility .iyo-facility-mascot-b {
    width: 200px;
    top: -44px;
    right: -30px;
  }
  .iyo-home .iyo-facility .iyo-facility-mascot-a img {
    max-width: 175px;
    top: 38px;
  }
  .iyo-home .iyo-facility {
    padding-block: clamp(80px, 9.0909090909vw, 200px) clamp(100px, 6.3636363636vw, 140px);
  }
  .iyo-home .iyo-topics .iyo-topics-main {
    width: 100%;
  }
}

@media screen and (min-width: 960px) {
  .iyo-home {
  }
}

@media screen and (max-width: 1023px) {
  .iyo-home .iyo-hero {
    height: 60vh;
    aspect-ratio: auto;
  }
  .iyo-home .iyo-hero .iyo-scrollcue {
    bottom: 20px;
  }
  .iyo-home .iyo-hero .iyo-scrollcue-text {
    font-size: 10px;
  }
  .iyo-home .iyo-hero .iyo-scrollcue-line {
    height: 40px;
  }
  .iyo-home .iyo-hero .iyo-hero-media {
    height: 100%;
    width: auto;
    aspect-ratio: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .iyo-home .iyo-hero .iyo-hero-media video {
    height: 100%;
    width: auto;
    min-width: 100%;
    object-fit: cover;
    object-position: center;
  }
  .iyo-invite {
    margin-top: 150px;
  }
  .iyo-invite h2 {
    padding-top: 0px;
  }
}
.iyo-home .iyo-hero {
  height:100svh;
  min-height:650px;
  position:relative;
  isolation:isolate;
  padding-top:90px;
}
.iyo-home .iyo-hero .iyo-hero-media {
  z-index:-2;
}
.iyo-hero-media img {
  height:100%;
  width:100%;
  object-fit:cover;
  object-position:center;
}
.iyo-hero-media:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,#ffffff20 25%,#ffffff00 40%,#e5f7ff65);
}
.iyo-home .iyo-hero .iyo-hero-copy {
  text-align:center;
  width:100%;
  padding:0 24px;
  text-shadow:0 2px 22px #ffffffaa;
}
.iyo-hero-en {
  font-family:Arial,sans-serif;
  font-size:clamp(44px,6.4vw,112px);
  font-weight:900;
  line-height:1.1;
  letter-spacing:-.03em;
  color:var(--iyo-navy)!important;
}
.iyo-hero-copy h1 {
  font-size:clamp(25px,2.7vw,44px);
  line-height:1.6;
  margin-top:25px;
  letter-spacing:.04em;
  color:var(--iyo-navy)!important;
}
.iyo-hero-sub {
  font-size:16px;
  font-weight:700;
  line-height:1.8;
  margin-top:20px;
  color:var(--iyo-navy)!important;
}
.iyo-hero-badge {
  position:absolute;
  bottom:50px;
  right:5%;
  width:184px;
  height:184px;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:9px;
  transform:rotate(5deg);
  border:5px solid white;
  background:var(--iyo-sun);
  color:var(--iyo-navy);
  align-items:center;
  text-align:center;
  padding:12px;
}
.iyo-hero-badge span {
  font-size:13px;
}
.iyo-hero-badge strong {
  font-size:24px;
}
.iyo-home .iyo-concept .iyo-collage figure {
  translate:none;
  overflow:hidden;
  box-shadow:0 0 0 7px white;
  border-radius:20px;
  aspect-ratio:4/3;
}
.iyo-home .iyo-concept .iyo-collage figure img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.iyo-home .iyo-concept .iyo-collage figure:nth-child(1) {
  width:65%;
  top:0;
  left:5%;
  transform:rotate(-7deg);
}
.iyo-home .iyo-concept .iyo-collage figure:nth-child(2) {
  width:53%;
  right:-5%;
  top:23%;
  transform:rotate(8deg);
}
.iyo-home .iyo-concept .iyo-collage figure:nth-child(3) {
  width:45%;
  left:0;
  top:44%;
  transform:rotate(-7deg);
}
.iyo-home .iyo-concept .iyo-collage figure:nth-child(4) {
  width:49%;
  left:42%;
  top:65%;
  transform:rotate(5deg);
}
.iyo-topics .iyo-topics-link {
  gap:16px;
}
.iyo-topics .iyo-topics-arrow {
  margin-left:auto;
}
.iyo-about-grid button {
  display:block;
  position:relative;
  width:100%;
  text-align:left;
}
.iyo-about-grid .iyo-tile-arrow {
  margin-left:auto;
  font-size:30px;
  color:white;
}
.iyo-home .iyo-courses .iyo-filmstrip-item img {
  width:100%;
  height:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}
.iyo-filmstrip {
  position:relative;
  padding-bottom:45px;
}
.iyo-filmstrip-toggle {
  position:absolute;
  right:6%;
  bottom:0;
  font-size:13px;
  padding:5px 14px;
  border:1px solid #8db9d4;
  border-radius:5px;
  background:white;
}
.iyo-filmstrip.is-filmstrip-paused .iyo-filmstrip-track {
  animation-play-state:paused;
}
.iyo-grade {
  padding:25px 0 120px;
}
.iyo-voices,
.iyo-faq {
  padding-block:60px;
}

@media(max-width:1023px) {
  .iyo-home .iyo-hero {
    min-height:680px;
    height:95svh;
    padding-top:60px;
  }
  .iyo-hero-en {
    font-size:clamp(40px,7.5vw,76px);
  }
  .iyo-hero-copy h1 {
    font-size:28px;
  }
  .iyo-hero-sub {
    font-size:14px;
  }
  .iyo-hero-badge {
    width:150px;
    height:150px;
    bottom:35px;
    right:6%;
  }
  .iyo-hero-badge strong {
    font-size:20px;
  }
  .iyo-hero-badge span {
    font-size:11px;
  }
  .iyo-home .iyo-hero .iyo-scrollcue {
    left:12%;
    bottom:45px;
  }
  .iyo-home .iyo-concept .iyo-collage figure:nth-child(4) {
    top:60%;
  }
  .iyo-home .iyo-concept .iyo-collage figure:nth-child(3) {
    top:42%;
  }
  .iyo-home .iyo-facility .iyo-facility-mascot-a,
  .iyo-home .iyo-facility .iyo-facility-mascot-b {
    pointer-events:none;
  }
}

@media(max-width:600px) {
  .iyo-home .iyo-hero {
    height:90svh;
    min-height:650px;
  }
  .iyo-hero-media img {
    object-position:44% center;
  }
  .iyo-home .iyo-hero .iyo-hero-copy {
    padding:0 22px;
    align-self:center;
    margin-top:-85px;
  }
  .iyo-hero-en {
    font-size:47px;
    max-width:340px;
    margin:auto;
    line-height:1.05;
  }
  .iyo-hero-copy h1 {
    font-size:23px;
    letter-spacing:0;
    line-height:1.6;
    margin-top:25px;
  }
  .iyo-hero-sub {
    margin:18px auto 0;
    font-size:14px;
    max-width:310px;
    line-height:1.8;
  }
  .iyo-hero-badge {
    bottom:40px;
    width:135px;
    height:135px;
    gap:6px;
    padding:10px;
  }
  .iyo-hero-badge strong {
    font-size:19px;
  }
  .iyo-topics .iyo-topics-link {
    gap:10px;
    flex-wrap:wrap;
  }
  .iyo-topics .iyo-topics-item .iyo-topics-title {
    font-size:15px;
  }
  .iyo-home .iyo-guide .iyo-about-grid .iyo-tile-title {
    font-size:17px;
  }
  .iyo-grade {
    padding-bottom:90px;
  }
  .iyo-voices,
  .iyo-faq {
    padding-block:40px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .iyo-filmstrip-toggle {
    display:none;
  }
}
.iyo-home .iyo-topics {
  background:var(--iyo-water);
  background-image:none;
  padding-block:65px;
}
.iyo-home .iyo-first {
  background:var(--iyo-water);
  background-image:none;
  padding-block:80px;
}
.iyo-home .iyo-facility {
  background:var(--iyo-cream);
}
.iyo-invite {
  background:var(--iyo-mist);
}
.iyo-invite:before {
  filter:saturate(.3);
  opacity:.4;
}
.iyo-home .iyo-guide .iyo-guide-figure img,
.iyo-home .iyo-first .iyo-first-mascot img,
.iyo-courses-illust img,
.iyo-courses-mascot img,
.iyo-courses-illust-sp img,
.iyo-facility-mascot-a img,
.iyo-facility-mascot-b img {
  mix-blend-mode:normal;
  object-fit:contain;
}
.iyo-home .iyo-guide .iyo-guide-figure {
  width:160px!important;
  mix-blend-mode:normal;
}
.iyo-home .iyo-first .iyo-first-mascot {
  width:170px;
  top:-70px;
  mix-blend-mode:normal;
}
.iyo-home .iyo-courses .iyo-courses-mascot {
  width:80%;
  max-width:300px;
}
.iyo-home .iyo-courses .iyo-courses-illust {
  max-width:180px;
}
.iyo-home .iyo-facility .iyo-facility-mascot-a,
.iyo-home .iyo-facility .iyo-facility-mascot-b {
  width:150px;
  max-width:150px;
  top:-60px;
}
.iyo-home .iyo-facility .iyo-facility-mascot-a img {
  left:0;
}
.iyo-home .iyo-courses .iyo-courses-lead {
  font-size:clamp(30px,3.3vw,53px);
  color:var(--iyo-navy);
}
.iyo-about-grid li>a {
  display:block;
  width:100%;
  position:relative;
  text-align:left;
}

@media(max-width:1023px) {
  .iyo-home .iyo-first .iyo-first-mascot {
    width:130px;
  }
  .iyo-home .iyo-facility .iyo-facility-mascot-a,
  .iyo-home .iyo-facility .iyo-facility-mascot-b {
    width:100px;
  }
  .iyo-home .iyo-guide .iyo-guide-figure {
    width:110px!important;
  }
}

@media(max-width:600px) {
  .iyo-home .iyo-facility .iyo-facility-mascot-a {
    display:none;
  }
  .iyo-home .iyo-facility .iyo-facility-mascot-b {
    top:-60px;
    right:5px;
  }
  .iyo-home .iyo-guide .iyo-guide-figure {
    width:90px!important;
  }
  .iyo-home .iyo-courses .iyo-courses-mascot {
    max-width:190px;
  }
  .iyo-home .iyo-first {
    padding-block:65px;
  }
  .iyo-home .iyo-topics {
    padding-block:45px;
  }
}
.iyo-hero-badge>* {
  display:block;
  white-space:nowrap;
}
.iyo-home .iyo-hero .iyo-hero-media {
  inset:0;
  width:100%;
  height:100%;
  transform:none;
  aspect-ratio:auto;
}
.iyo-home .iyo-hero .iyo-hero-media img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.iyo-home .iyo-concept .iyo-mediacol.iyo-collage figure {
  translate:none;
}
.iyo-home .iyo-concept .iyo-mediacol.iyo-collage figure:nth-child(2) {
  right:2%;
}
.iyo-home .iyo-courses .iyo-courses-lead span {
  display:block;
  white-space:nowrap;
}
.iyo-home .iyo-facility .iyo-facility-mascot-b {
  right:4%;
}
.iyo-home .iyo-courses .iyo-courses-illust img {
  right:0;
}
.iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-tag {
  background:var(--iyo-navy);
  font-size:14px;
}
.iyo-home .iyo-guide .iyo-guide-more-link {
  color:var(--iyo-navy);
}
.iyo-home .iyo-guide .iyo-guide-more-link .iyo-guide-more-text {
  border-color:var(--iyo-navy);
}
.iyo-courses-mascot,
.iyo-courses-illust,
.iyo-courses-illust-sp,
.iyo-facility-mascot-a,
.iyo-facility-mascot-b {
  mix-blend-mode:normal;
}
.iyo-invite::before {
  background-color:var(--iyo-mist);
  content:"";
  position:absolute;
  left:0;
  right:0;
  width:100%;
  height:12px;
  display:block;
  background:transparent url("../assets/lane-rope-refined.svg") repeat-x center;
  background-size:192px 12px;
  mask:none;
  -webkit-mask:none;
  transform:none;
  filter:none;
  opacity:1;
  border-radius:0;
  pointer-events:none;
  top:14px;
}

@media(max-width:600px) {
  .iyo-hero-badge span {
    font-size:10px;
  }
  .iyo-hero-badge strong {
    font-size:18px;
  }
  .iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-link {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) 15px;
    gap:10px;
    padding:18px 16px;
  }
  .iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-tag {
    min-width:0;
    width:auto;
    padding:5px 9px;
    font-size:13px;
  }
  .iyo-home .iyo-topics .iyo-topics-list ul li .iyo-topics-title {
    font-size:14px;
    width:auto;
    flex:initial;
  }
  .iyo-home .iyo-facility .iyo-facility-mascot-b {
    right:5%;
  }
}
.iyo-home .iyo-hero .iyo-hero-media:after {
  background:linear-gradient(180deg,#ffffff15 5%,#ffffff70 42%,#ffffff65 66%,#ffffff10);
}
.iyo-hero-copy h1 {
  font-weight:700;
}
.iyo-home .iyo-courses .iyo-courses-text {
  line-height:1.9;
}

@media(max-width:1023px) {
  .iyo-home .iyo-courses .iyo-courses-text {
    font-size:15px;
    line-height:1.9;
  }
}

@media(max-width:600px) {
  .iyo-invite::before {
    height:10px;
    background-size:160px 10px;
    top:10px;
  }
}
.iyo-invite::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  width:100%;
  height:12px;
  display:block;
  background:transparent url("../assets/lane-rope-refined.svg") repeat-x center;
  background-size:192px 12px;
  pointer-events:none;
  bottom:14px;
}

@media(max-width:600px) {
  .iyo-invite::after {
    height:10px;
    background-size:160px 10px;
    bottom:10px;
  }
}

/* Course overview: introduction, four cards, then the directory link. */
.iyo-home .iyo-courses .iyo-courses-intro {display:block}
.iyo-home .iyo-courses .iyo-courses-intro .iyo-heading {width:100%}
.iyo-home .iyo-courses .iyo-courses-text {max-width:none;width:100%;margin:0;font-size:16px}
.iyo-home .iyo-courses .iyo-course-cards {margin-top:32px}
.iyo-home .iyo-courses .iyo-courses-all {margin-top:32px}
@media(max-width:600px){
 .iyo-home .iyo-courses .iyo-courses-text {font-size:15px}
 .iyo-home .iyo-courses .iyo-course-cards {margin-top:24px}
 .iyo-home .iyo-courses .iyo-courses-all {margin-top:24px}
}

/* Align facility and trial content with the site's common content edges. */
.iyo-home .iyo-facility .iyo-wrap,.iyo-invite .iyo-wrap {width:var(--iyo-wrap-home);margin-inline:auto}
.iyo-home .iyo-topics .iyo-topics-main {min-width:0;width:100%}
@media(max-width:1023px){.iyo-home .iyo-facility .iyo-wrap,.iyo-invite .iyo-wrap{width:86%}}

/* Alternate quiet background bands while retaining the shared content width. */
.iyo-home #voices {background:var(--iyo-water);box-shadow:0 0 0 100vmax var(--iyo-water);clip-path:inset(0 -100vmax)}
.iyo-home #access {background:var(--iyo-cream);box-shadow:0 0 0 100vmax var(--iyo-cream);clip-path:inset(0 -100vmax)}

/* Prose fills its own column with normal browser line wrapping. */
.iyo-home .iyo-concept .iyo-wrap {
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start;min-height:0;
}
.iyo-home .iyo-concept .iyo-concept-copy {min-width:0;width:100%}
.iyo-home .iyo-concept .iyo-concept-copy .iyo-heading,
.iyo-home .iyo-concept .iyo-concept-copy .iyo-textcol {width:100%;max-width:none;min-width:0}
.iyo-home .iyo-concept .iyo-text {max-width:none;white-space:normal;word-break:normal;text-wrap:wrap;text-align:left}
.iyo-home .iyo-concept .iyo-mediacol.iyo-collage {
 position:relative;inset:auto;width:100%;max-width:none;aspect-ratio:1/1;margin:20px 0 0;align-self:start;
}
@media(max-width:1023px){
 .iyo-home .iyo-concept .iyo-wrap {grid-template-columns:minmax(0,1fr);gap:36px}
 .iyo-home .iyo-concept .iyo-mediacol.iyo-collage {width:100%;max-width:650px;margin:0 auto;aspect-ratio:1.1}
}

/* Let introductory prose use its container while keeping space beside images. */
.iyo-section > p,
.iyo-home section.iyo-wrap-wide > p {max-width:none;width:100%;box-sizing:border-box}
.iyo-home .iyo-first .iyo-heading,
.iyo-home .iyo-first .iyo-textcol {box-sizing:border-box;padding-right:clamp(28px,3.2vw,56px)}
.iyo-home .iyo-first .iyo-textcol > .iyo-text {margin-bottom:24px;text-align:left}
.iyo-home .iyo-first .iyo-textcol > .iyo-steps {margin-block:24px}
@media(max-width:1023px){
 .iyo-home .iyo-first .iyo-wrap {width:86%;gap:28px}
 .iyo-home .iyo-first .iyo-heading,
 .iyo-home .iyo-first .iyo-textcol {width:100%;margin-inline:0;padding-inline:0}
}

/* Shared visual rules: homepage and all secondary pages. */
.iyo-sub {--iyo-content-width:var(--iyo-wrap-home);--iyo-section-gap:80px;--iyo-panel-space:32px}
.iyo-sub .iyo-pagebody {width:var(--iyo-content-width);margin:0 auto var(--iyo-section-gap)}
.iyo-sub .iyo-pagehead,
.iyo-sub .iyo-crumbs {padding-inline:calc((100% - var(--iyo-content-width))/2)}
.iyo-sub .iyo-pagehead {margin-bottom:56px;padding-block:48px;align-items:center}
.iyo-sub .iyo-section,
.iyo-sub .iyo-editorial,
.iyo-sub .iyo-course-list {margin-bottom:var(--iyo-section-gap)}
.iyo-sub .iyo-pagebody > :last-child {margin-bottom:0}
.iyo-sub .iyo-editorial {gap:48px;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
.iyo-sub .iyo-editorial > * {min-width:0}
.iyo-sub .iyo-editorial .iyo-section {margin-bottom:0}
.iyo-sub .iyo-section p,
.iyo-sub .iyo-section li,
.iyo-sub .iyo-course-list p {line-height:1.9}
.iyo-sub .iyo-pagehead-desc,
.iyo-sub .iyo-section > p {max-width:none}
.iyo-sub .iyo-course-list {gap:32px}
.iyo-sub .iyo-course-list > article,
.iyo-sub .iyo-linkcard,
.iyo-sub .iyo-linkgrid > article {border:1px solid var(--iyo-line);border-radius:6px;background:var(--iyo-paper);padding:24px;box-sizing:border-box;min-width:0}
.iyo-sub .iyo-course-list .iyo-course-card-age {font-size:14px;line-height:1.8}
.iyo-sub .iyo-course-list > article > .iyo-btn {width:100%;align-self:stretch}
.iyo-sub .iyo-linkcard {gap:12px}
.iyo-sub .iyo-linkcard:hover {border-color:var(--iyo-navy)}
.iyo-sub .iyo-figure img {border-radius:6px}
.iyo-sub .iyo-callout,
.iyo-sub .iyo-form-notice {background:var(--iyo-cream);padding:24px;border-radius:6px;color:var(--iyo-ink);line-height:1.9}
.iyo-sub .iyo-fee {background:var(--iyo-water);border-radius:6px;padding:32px;gap:32px;flex-wrap:wrap}
.iyo-sub .iyo-pagebody table {font-size:15px;line-height:1.85}
.iyo-sub .iyo-pagebody th,
.iyo-sub .iyo-pagebody td {border-color:var(--iyo-line);padding:18px 20px}
.iyo-sub .iyo-pagebody thead th {background:var(--iyo-water)}
.iyo-sub .iyo-form {background:var(--iyo-paper);border-radius:6px;padding:var(--iyo-panel-space);box-sizing:border-box}
.iyo-sub .iyo-field input,
.iyo-sub .iyo-field select,
.iyo-sub .iyo-field textarea {border-color:var(--iyo-line);border-radius:6px}
.iyo-sub .iyo-form-actions {flex-wrap:wrap}
.iyo-sub .iyo-journey li::before {background:var(--iyo-sun);color:var(--iyo-navy)}
.iyo-sub .iyo-cta {padding:64px calc((100% - var(--iyo-content-width))/2);gap:40px;margin-bottom:0;box-sizing:border-box;justify-content:flex-start}
.iyo-sub .iyo-cta > img {width:160px;flex:0 0 160px}
.iyo-sub .iyo-cta > div {min-width:0;flex:1}
.iyo-sub .iyo-cta p {font-size:16px;line-height:1.9;margin:16px 0 24px}
.iyo-sub .iyo-cta .iyo-btn {max-width:100%}
@media(max-width:1023px){
 .iyo-sub {--iyo-content-width:86%;--iyo-section-gap:64px}
 .iyo-sub .iyo-pagehead {padding-block:36px;margin-bottom:40px}
 .iyo-sub .iyo-editorial {gap:32px;grid-template-columns:minmax(0,1fr)}
 .iyo-sub .iyo-editorial .iyo-figure img {aspect-ratio:16/10}
 .iyo-sub .iyo-cta {gap:28px}
 .iyo-sub .iyo-cta > img {width:120px;flex-basis:120px}
}
@media(max-width:600px){
 .iyo-sub {--iyo-section-gap:48px;--iyo-panel-space:20px}
 .iyo-sub .iyo-pagehead {padding-block:30px;margin-bottom:32px;column-gap:16px}
 .iyo-sub .iyo-course-list {gap:24px}
 .iyo-sub .iyo-course-list > article,
 .iyo-sub .iyo-linkcard,
 .iyo-sub .iyo-linkgrid > article {padding:20px}
 .iyo-sub .iyo-callout,
 .iyo-sub .iyo-form-notice,
 .iyo-sub .iyo-fee {padding:20px}
  .iyo-sub .iyo-pagebody table {font-size:14px}
 .iyo-sub .iyo-pagebody th,
 .iyo-sub .iyo-pagebody td {padding:14px 12px}
 .iyo-sub .iyo-cta {flex-direction:column;align-items:flex-start;padding-block:48px;gap:20px}
 .iyo-sub .iyo-cta > img {width:85px;flex-basis:auto;align-self:center}
 .iyo-sub .iyo-cta > div {width:100%}
 .iyo-sub .iyo-cta p {font-size:15px}
 .iyo-sub .iyo-cta .iyo-btn {width:100%;font-size:15px}
}


/* Secondary-page rule: white content sections; original navy left-rule h2 from components.css. */

/* Course fee / timetable / grade tabs, with all panels available without JS. */
.iyo-tab-buttons {display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
.iyo-tab-buttons button {padding:14px 20px;border:1px solid var(--iyo-line);border-radius:6px;background:#fff;color:var(--iyo-navy);font:inherit;font-weight:700;line-height:1.5;cursor:pointer}
.iyo-tab-buttons button[aria-selected="true"] {border:2px solid var(--iyo-navy);padding:13px 19px;background:var(--iyo-cream)}
.iyo-tab-buttons button:focus-visible {outline:3px solid var(--iyo-sun);outline-offset:3px}
.iyo-tab-panel {margin-bottom:28px;min-width:0}
.iyo-tab-panel[hidden] {display:none!important}
.iyo-tab-panel > h3 {margin-top:0}
.iyo-faq-category-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.iyo-faq-category-grid > li {list-style:none;margin:0;padding:0;min-width:0}
.iyo-faq-category-grid a {display:flex;align-items:center;min-height:72px;height:100%;padding:16px 20px;border:1px solid var(--iyo-line);border-radius:6px;color:var(--iyo-navy);font-weight:700;line-height:1.7;box-sizing:border-box;text-decoration:none}
.iyo-faq-category-grid a:hover {border-color:var(--iyo-navy)}
.iyo-viewing-box {padding:24px;border:1px solid var(--iyo-line);border-radius:6px}
.iyo-viewing-box p:last-child {margin:0}
.iyo-sub .iyo-cta p.iyo-heading-en {font-size:16px;margin:0 0 10px}
@media(max-width:600px){
 .iyo-tab-buttons {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .iyo-tab-buttons button {padding:12px 10px;font-size:14px}
 .iyo-tab-buttons button[aria-selected="true"] {padding:11px 9px}
 .iyo-faq-category-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .iyo-faq-category-grid a {padding:14px 12px;font-size:14px}
 .iyo-viewing-box {padding:20px}
}

/* Approved weekly timetable: weekday columns, time-slot rows, no label side rules. */
.iyo-week-general{--week-color:#186284;--week-tint:#eaf5f7}.iyo-week-training{--week-color:#94631b;--week-tint:#fff7e8}.iyo-week-athlete{--week-color:#1c2a57;--week-tint:#edf0f7}.iyo-week-adult{--week-color:#347662;--week-tint:#edf6f1}
.iyo-week-legend{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:0 0 20px}
.iyo-week-legend li{display:flex;align-items:center;gap:8px;list-style:none;margin:0;padding:0}
.iyo-week-legend li>span{width:10px;height:10px;border-radius:50%;background:var(--week-color);flex-shrink:0}
.iyo-sub .iyo-section p.iyo-week-hint{font-size:13px;color:var(--iyo-muted);margin:12px 0;line-height:1.8}
.iyo-week-scroll{overflow:auto;max-height:none;border:1px solid var(--iyo-line);border-radius:6px;isolation:isolate;margin-bottom:16px}
.iyo-week-scroll:focus-visible{outline:3px solid var(--iyo-sun);outline-offset:3px}
.iyo-sub .iyo-pagebody table.iyo-week-grid{border-collapse:separate;border-spacing:0;min-width:940px;width:100%;table-layout:fixed}
.iyo-week-grid caption{text-align:left;padding:16px 18px;font-size:17px;font-weight:700;color:var(--iyo-navy)}
.iyo-sub .iyo-pagebody .iyo-week-grid th,.iyo-sub .iyo-pagebody .iyo-week-grid td{padding:12px 10px;border-bottom:1px solid var(--iyo-line);border-right:1px solid #e5edf1;text-align:center;vertical-align:middle}
.iyo-sub .iyo-pagebody .iyo-week-grid thead th{position:sticky;top:0;background:var(--iyo-water);color:var(--iyo-navy);z-index:2;height:52px;font-size:17px}
.iyo-sub .iyo-pagebody .iyo-week-grid thead th:first-child{left:0;z-index:4;width:114px}
.iyo-sub .iyo-pagebody .iyo-week-grid thead th:last-child{width:74px;background:#f3f4f5}
.iyo-sub .iyo-pagebody .iyo-week-grid tbody th{position:sticky;left:0;background:#fff;z-index:1;color:var(--iyo-navy);font-variant-numeric:tabular-nums;font-size:15px;font-weight:600;width:auto}
.iyo-week-end{display:block;font-size:13px;font-weight:400}
.iyo-week-lesson{display:block;background:var(--week-tint);border:0;border-radius:3px;padding:8px 3px;color:var(--week-color);font-size:14px;font-weight:700;line-height:1.65}
.iyo-week-lesson+.iyo-week-lesson{margin-top:6px}.iyo-week-empty{color:#8997a5;font-size:12px}.iyo-week-sunday{background:#fafafa}
.iyo-sub .iyo-pagebody .iyo-week-grid tr:last-child>*{border-bottom:0}.iyo-sub .iyo-pagebody .iyo-week-grid tr>*:last-child{border-right:0}
@media(max-width:600px){.iyo-week-legend{gap:10px 16px}.iyo-week-scroll{max-height:none}.iyo-sub .iyo-pagebody .iyo-week-grid thead th:first-child{width:96px}.iyo-sub .iyo-pagebody .iyo-week-grid th,.iyo-sub .iyo-pagebody .iyo-week-grid td{padding:10px 8px}}

/* Keep the requested concept phrase on one line. */
.iyo-home .iyo-concept-course-line {display:inline-block;white-space:nowrap;font-size:min(1em,3vw)}
@media(max-width:1023px){.iyo-home .iyo-concept-course-line {font-size:min(1em,7.6vw)}}

/* Compact timetable text and a viewport-pinned weekday row. */
.iyo-sub .iyo-section p.iyo-week-title{font-size:16px;font-weight:700;color:var(--iyo-navy);margin:20px 0 12px}
.iyo-sub .iyo-pagebody .iyo-week-grid thead th{font-size:15px;height:48px}
.iyo-sub .iyo-pagebody .iyo-week-grid tbody th{font-size:14px}
.iyo-week-end{font-size:12px}.iyo-week-lesson{font-size:13px}
.iyo-sub .iyo-section .iyo-week-legend li{font-size:14px}
.iyo-sub .iyo-section p.iyo-week-hint{font-size:12px}
.iyo-week-floating-head{position:fixed;z-index:80;overflow:hidden;background:white;border:1px solid #d4e2e9;pointer-events:none;box-sizing:border-box}
.iyo-week-floating-head[hidden]{display:none!important}
.iyo-week-floating-head table{margin:0!important}

/* Compact mobile weekday columns while retaining readable course labels. */
@media(max-width:600px){
 .iyo-sub .iyo-pagebody table.iyo-week-grid{min-width:620px}
 .iyo-sub .iyo-pagebody .iyo-week-grid thead th:first-child{width:72px}
 .iyo-sub .iyo-pagebody .iyo-week-grid thead th:last-child{width:44px}
 .iyo-sub .iyo-pagebody .iyo-week-grid th,.iyo-sub .iyo-pagebody .iyo-week-grid td{padding:10px 4px}
 .iyo-week-lesson{padding:8px 1px}
}

/* Distinct timetable colors for preschool and school-age lessons. */
.iyo-week-kids{--week-color:#186284;--week-tint:#eaf5f7}
.iyo-week-junior{--week-color:#735091;--week-tint:#f3ecf8}

/* Approved photo title, internal breadcrumb and boundary mascot. */

/* Shared photo title background. */
.iyo-sub .iyo-pagehead {
 background-color:#f5f9fa;
 background-image:linear-gradient(90deg,rgba(255,255,255,.91),rgba(255,255,255,.76)),url("../assets/real-pool-title.webp");
 background-size:cover;
 background-position:center,center 48%;
 background-repeat:no-repeat;
}
@media(max-width:600px){
 .iyo-sub .iyo-pagehead {
  background-image:linear-gradient(90deg,rgba(255,255,255,.89),rgba(255,255,255,.80)),url("../assets/real-pool-title.webp");
  background-position:center,center 48%;
 }
}

.iyo-sub .iyo-pagehead{grid-template-columns:minmax(0,1fr);position:relative;min-height:256px}.iyo-sub .iyo-pagehead>div{display:block}@media(max-width:600px){.iyo-sub .iyo-pagehead{min-height:220px}}.iyo-sub .iyo-pagehead{margin-bottom:88px;overflow:visible}.iyo-sub .iyo-pagehead>img{position:absolute;grid-area:auto;right:calc((100% - var(--iyo-content-width))/2);bottom:-40px;width:136px;height:auto;margin:0;z-index:1}@media(max-width:600px){.iyo-sub .iyo-pagehead{margin-bottom:74px}.iyo-sub .iyo-pagehead>img{width:100px;bottom:-32px}}

.iyo-sub .iyo-pagehead{padding-top:20px;padding-bottom:60px}
.iyo-sub .iyo-pagehead .iyo-crumbs{width:100%;margin:0 0 44px;padding:0;background:transparent;font-size:12px;line-height:1.7;gap:8px;color:#536377}
@media(max-width:600px){.iyo-sub .iyo-pagehead{padding-top:16px;padding-bottom:40px}.iyo-sub .iyo-pagehead .iyo-crumbs{font-size:11px;gap:6px;margin-bottom:32px}}

/* Keep longer descriptions clear while preserving the title padding. */
.iyo-sub .iyo-pagehead:has(.iyo-pagehead-desc){margin-bottom:112px}
.iyo-sub .iyo-pagehead:has(.iyo-pagehead-desc)>img{bottom:-80px}
@media(max-width:600px){.iyo-sub .iyo-pagehead:has(.iyo-pagehead-desc){margin-bottom:96px}.iyo-sub .iyo-pagehead:has(.iyo-pagehead-desc)>img{bottom:-64px}}

/* Photographs of the club's cap, bag and grade badges. */
.iyo-sub .iyo-item-photo{width:100%;max-width:240px;margin:28px 0 0}
.iyo-sub .iyo-item-photo img{display:block;width:100%;height:auto;border-radius:4px}
.iyo-sub .iyo-item-photo figcaption{margin-top:10px;font-size:14px;line-height:1.7;color:#536377}
.iyo-sub .iyo-item-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:24px;max-width:840px}
.iyo-sub .iyo-item-gallery .iyo-item-photo{max-width:none;margin:0}
@media(max-width:600px){.iyo-sub .iyo-item-gallery{grid-template-columns:1fr;gap:28px;max-width:280px}.iyo-sub .iyo-item-photo{max-width:220px}}

/* Real facility photographs, grouped by the information they explain. */
.iyo-real-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:28px}
.iyo-real-photo{margin:24px 0 0;min-width:0}.iyo-real-photo img{display:block;width:100%;height:auto;border-radius:4px}.iyo-real-photo figcaption{font-size:14px;line-height:1.7;color:#536377;margin-top:10px}
.iyo-real-gallery .iyo-real-photo{margin:0}.iyo-real-gallery img{height:auto;aspect-ratio:auto;object-fit:contain}.iyo-real-gallery:has(>.iyo-real-photo:only-child){max-width:540px;grid-template-columns:1fr}
.iyo-real-detail{max-width:200px}.iyo-editorial .iyo-real-photo{max-width:360px}
@media(max-width:600px){.iyo-real-gallery{grid-template-columns:1fr;gap:24px;margin-top:24px}}

/* Three real photographs fading gently through the homepage hero. */
.iyo-home .iyo-hero-media .iyo-hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;object-position:center}
.iyo-home .iyo-hero-media .iyo-hero-slide.is-active{opacity:1}
.iyo-home .iyo-hero-media:after{background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,.76) 38%,rgba(255,255,255,.65) 65%,rgba(234,245,247,.12));pointer-events:none}
.iyo-hero-controls{position:absolute;left:5%;bottom:32px;display:flex;align-items:center;gap:2px;background:rgba(255,255,255,.95);padding:4px 8px;border-radius:4px;z-index:2}
.iyo-hero-controls[hidden]{display:none}.iyo-hero-controls button{display:flex;align-items:center;justify-content:center;min-height:36px;width:28px;padding:0;border:0;background:transparent;color:var(--iyo-navy);cursor:pointer}
.iyo-hero-controls button span{display:block;width:8px;height:8px;border:1px solid currentColor;border-radius:50%}.iyo-hero-controls button[aria-pressed="true"] span{background:currentColor}
.iyo-hero-controls .iyo-hero-pause{width:auto;margin-left:6px;padding:0 6px;font-size:12px;white-space:nowrap}.iyo-hero-controls button:focus-visible{outline:2px solid var(--iyo-navy);outline-offset:2px}
@media(max-width:600px){.iyo-home .iyo-hero-slide:nth-child(2){object-position:38% center}.iyo-hero-controls{left:20px;bottom:32px;padding:4px}.iyo-hero-controls button{width:26px}}
@media(prefers-reduced-motion:reduce){.iyo-home .iyo-hero-media .iyo-hero-slide{transition:none}}
