/* ===========================
   Base
=========================== */
:root {
  --navy: #00538A;
  --navy-deep: #384147;
  --text: #00538A;
  --text-sub: #00538A;
  --line: #d9dde3;
  --bg-soft: #f5f6f8;
  --bg-table: #cfdcec;
  --bg-table-row: #e8eef6;
  --accent: #b32a2a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { opacity: .75; }

/* ===========================
   Layout: fixed sidebar
=========================== */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 220px;
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  z-index: 10;
}

.main {
  margin-left: 220px;
  width: calc(100% - 220px);
  min-width: 0;
}

/* sidebar logo */
.brand { display: block; }
.brand-mark {
  width: 160px;
  margin: 0 auto;
  background-image: url("../images/logo_c.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  aspect-ratio: 130 / 200;
}
.brand-en,
.brand-jp { display: none; }

/* sidebar nav */
.nav {
  margin-top: 36px;
  list-style: none;
  padding-left: 0;
}
.nav li {
  margin-bottom: 2px;
}
.nav a {
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--navy);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  display: inline-block;
  padding: 2px 8px 0px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  line-height: 1.4;
}
.nav a.is-active {
  border-color: var(--navy);
}

/* sidebar socials */
.socials {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0;
  color: transparent;
}
.socials a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===========================
   Hero (top page)
=========================== */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(0, 500px);
  height: 100vh;
  min-height: 640px;
}
.hero-image {
  position: relative;
  overflow: hidden;
  background: #000;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade 12s infinite;
}
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  animation: heroZoom 12s infinite;
}
.hero-slide-1, .hero-slide-1 img { animation-delay: 0s; }
.hero-slide-2, .hero-slide-2 img { animation-delay: 3s; }
.hero-slide-3, .hero-slide-3 img { animation-delay: 6s; }
.hero-slide-4, .hero-slide-4 img { animation-delay: 9s; }

.hero-overlay { display: none; }

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes heroZoom {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.08); }
  31%  { transform: scale(1); }
  100% { transform: scale(1); }
}
.hero-copy {
  background: var(--navy-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-copy h1 {
  font-size: 36px;
  line-height: 2.2;
  letter-spacing: .2em;
  font-weight: 400;
  writing-mode: vertical-rl;
  height: 540px;
  font-family: "Yu Mincho", serif;
}

/* ===========================
   Common section
=========================== */
.section-title {
  font-size: 48px;
  line-height: 1.4;
  letter-spacing: .12em;
  color: var(--navy);
  text-align: left;
  font-weight: 400;
  font-family: "Yu Mincho", serif;
  width: fit-content;
  margin: 0 auto;
  margin-left: 40%;
}

/* ===========================
   TOP: section 1 - 何度でも、転んで、学ぶ。
=========================== */
.top-sec1 {
  padding: 220px 0 90px;
}
.top-sec1 .section-title {
  text-align: left;
  margin: 0 0 64px;
  padding: 0;
  margin-left: -54px;
}
.top-sec1-body {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  padding: 0 40px;
}
.top-sec1-body .text-col {
  padding-top: 10px;
}
.top-sec1-body p {
  font-size: 16px;
  line-height: 2.2;
}
.top-sec1-body .photo {
  aspect-ratio: 4 / 5;
  margin-top: 80px;
  margin-left: 60px;
}

/* ===========================
   TOP: section 2 - そしていつか、誰かを守る力へ。
=========================== */
.top-sec2 {
  padding: 60px 0 160px;
  position: relative;
}
.top-sec2 .section-title { margin-bottom: 70px; }
.top-sec2-body {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.top-sec2-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  margin-bottom: 160px;
}
.top-sec2-row .photo {
  aspect-ratio: 4 / 5;
  width: 240px;
  justify-self: start;
  /* transform: translateX(-80px); */
}
.top-sec2-row p {
  font-size: 16px;
  line-height: 2.2;
  /* padding-top: 20px; */
}
.top-sec2-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  margin-top: 30px;
  align-items: start;
}
.top-sec2-gallery .photo:nth-child(1) {
  grid-column: 1 / span 6;
  aspect-ratio: 4 / 3;
  margin-top: 36px;
  margin-left: 50px;
}
.top-sec2-gallery .photo:nth-child(2) {
  grid-column: 9 / span 4;
  aspect-ratio: 4/3;
  margin-top: -60px;
}

/* ===========================
   Common photo placeholder
=========================== */
.photo {
  background-color: #efeae0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  font-size: 0;
  color: transparent;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   NEWS
=========================== */
.news {
  max-width: 720px;
  margin: 60px auto 240px;
  padding: 0 40px;
}
.news-title {
  font-family: "Times New Roman", serif;
  font-size: 54px;
  letter-spacing: .15em;
  color: var(--navy);
  margin-bottom: 30px;
  font-weight: 400;
}
.news-list {
  list-style: none;
}
.news-list li {
  display: flex;
  gap: 40px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--navy);
  align-items: center;
}
.news-list time {
  letter-spacing: .08em;
  width: 100px;
  flex-shrink: 0;
  font-family: "Times New Roman", serif;
}
.news-list a {
  color: var(--navy);
  text-decoration: underline;
}

/* ===========================
   Footer
=========================== */
.site-footer {
  margin-top: 60px;
  position: relative;
  height: 280px;
  background-image: url("../images/footer.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.page-member .site-footer {
  margin-top: 200px;
}
.page-access .site-footer {
  margin-top: 240px;
}
.site-footer .footer-name {
  color: var(--navy);
  font-size: 42px;
  letter-spacing: .1em;
  font-weight: 900;
  font-family: "Yu Mincho", serif;
}
.copyright {
  text-align: center;
  font-size: 10px;
  color: var(--text-sub);
  padding: 16px;
  letter-spacing: .05em;
}

/* ===========================
   Inner page hero
=========================== */
.page-hero {
  text-align: center;
  padding: 220px 40px 100px;
}
.page-hero h1 {
  color: var(--navy);
  font-size: 56px;
  letter-spacing: .15em;
  line-height: 1.5;
  font-weight: 700;
  font-family: "Yu Mincho", serif;
}

/* ===========================
   About page specific
=========================== */
.about-photo-hero {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 40px;
}
.about-photo-hero.about-photo-hero--offset {
  padding-left: 10%;
  margin-top: 160px;
  margin-bottom: 72px;
}
.about-photo-hero .photo {
  aspect-ratio: 16/8;
}
.about-photo-hero .photo-caption {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1;
  color: var(--text);
  text-align: right;
  opacity: .7;
}

.about-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 40px;
}
.about-block.about-block--wide {
  max-width: 1200px;
  position: relative;
  z-index: 2;
  margin-top: -200px;
  padding-top: 50px;
}
.about-block.about-block--wide.about-block--text-pad {
  margin-left: auto;
  margin-right: 5%;
}
.about-block--wide.about-block--text-pad .h2-stagger,
.about-block--wide.about-block--text-pad .text-col {
  padding-left: 32px;
}
.about-block--wide.about-block--text-pad > h2.h2-stagger {
  padding-right: 52px;
}
.about-block--wide.about-block--text-pad .about-block-body {
  grid-template-columns: minmax(0, 1fr) 28%;
}
.about-block--wide.about-block--text-pad .photo-col {
  margin-right: -40px;
}
.about-block.about-block--wide > p {
  max-width: 760px;
}
.about-block--wide .about-block-text {
  width: max-content;
  max-width: 100%;
  margin-left: auto;
}
.about-block-text h2.h2-stagger {
  display: block;
  width: calc(100% + 56px);
  margin-left: -56px;
  padding-left: 56px;
}
.about-block--wide .about-block-body {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.about-block--wide .photo-col {
  margin-top: 120px;
  margin-right: min(-40px, calc(670px - 50vw));
}
.about-block--wide .photo-col img {
  width: 100%;
  height: auto;
  display: block;
}
.about-block--wide .photo-col img[src="images/pc_about-1.png"] {
  width: 96%;
  margin-left: auto;
}
.about-block--wide .about-block-body.about-block-body--photo-left {
  grid-template-columns: 32% minmax(0, 1fr);
}
.about-block--wide .about-block-body--photo-left .photo-col {
  margin-top: 220px;
  margin-right: 0;
  margin-left: 0;
}
.about-block--wide .about-block-body.about-block-body--side-photo {
  display: grid;
  grid-template-columns: 26% minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.about-block--wide .about-block-body--side-photo .photo-col {
  width: 100%;
  margin-top: 160px;
  margin-right: 0;
  margin-left: min(-40px, calc(670px - 50vw));
}
.about-block--wide .about-block-body--side-photo .photo-col img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.about-block .about-block-text a.more {
  display: block;
  margin-top: 32px;
  font-size: 14px;
  color: var(--navy);
  text-align: right;
  text-decoration: underline;
}
@media (max-width: 1180px) {
  .about-block--wide .about-block-body {
    grid-template-columns: 1fr;
  }
  .about-block--wide .photo-col {
    margin: 30px 0 0 0;
  }
  .top-sec1 .section-title {
    margin-left: 0;
  }
  .about-block--wide .photo-col img[src="images/pc_about-1.png"] {
    width: 100%;
    margin-left: 0;
  }
}
.about-block h2 {
  color: var(--navy);
  font-size: 20px;
  letter-spacing: .1em;
  margin-bottom: 48px;
  font-weight: 600;
  font-family: "Yu Mincho", serif;
  text-align: center;
  line-height: 1.5;
}
.about-block h2.h2-stagger {
  text-align: left;
  font-size: 32px;
  font-weight: 500;
  display: inline-block;
  background: #fff;
  padding-top: 56px;
  padding-right: 32px;
}
.about-block.about-block--wide > h2.h2-stagger,
.about-block--wide .about-block-text {
  margin-top: clamp(0px, calc(504px - 40vw), 100px);
}
.about-block h2.h2-stagger .indent {
  display: inline-block;
  padding-left: 145px;
}
.about-block p {
  font-size: 16px;
  line-height: 2.2;
  margin-bottom: 14px;
  color: var(--text);
}

.about-photo-wide {
  max-width: 680px;
  margin: 0px auto 240px;
  padding: 0 40px;
  margin-top: 110px;
  margin-right: 5%;
}
.about-photo-wide .photo {
  aspect-ratio: 16 / 9;
}
.about-photo-wide.about-photo-wide--left {
  max-width: 1200px;
}
.about-photo-wide.about-photo-wide--left .photo {
  max-width: 980px;
}

.about-split {
  max-width: 920px;
  margin: 50px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-split.right .text { order: 2; }
.about-split .photo { aspect-ratio: 4/3; }
.about-split h2 {
  color: var(--navy);
  font-size: 18px;
  letter-spacing: .1em;
  margin-bottom: 22px;
  font-weight: 600;
  font-family: "Yu Mincho", serif;
}
.about-split p {
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 12px;
}
.about-split a.more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--navy);
  text-decoration: underline;
}

/* ===========================
   Member page specific
=========================== */
.video-wrap {
  max-width: 1080px;
  margin: 0 auto 160px;
  padding: 0 40px;
}
.video-wrap .video {
  background: #000;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.video-wrap .video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.member-section {
  max-width: 820px;
  margin: 0 auto 160px;
  padding: 0 40px;
}
.member-section h2 {
  color: var(--navy);
  font-size: 22px;
  letter-spacing: .15em;
  margin-bottom: 24px;
  font-weight: 500;
  font-family: "Yu Mincho", serif;
}
.member-section p {
  font-size: 16px;
  line-height: 2.1;
  margin-bottom: 14px;
  color: var(--text);
}
.member-list {
  list-style: none;
  margin: 30px 0;
  padding-left: 60px;
}
.member-list li {
  font-size: 16px;
  line-height: 2;
  color: var(--navy);
  margin-bottom: 18px;
}
.member-list li .label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}
.member-list li .desc {
  display: block;
  margin-left: 28px;
  color: var(--text);
}
.member-bullets {
  list-style: none;
  margin: 24px 0;
  padding-left: 60px;
}
.member-bullets li {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 12px;
  color: var(--navy);
  position: relative;
  padding-left: 18px;
}
.member-bullets li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--navy);
}

.members-section-title {
  max-width: 760px;
  margin: 60px auto 50px;
  padding: 0 40px;
  text-align: left;
  color: var(--navy);
  font-size: 22px;
  letter-spacing: .15em;
  font-weight: 500;
  font-family: "Yu Mincho", serif;
}

.members-grid {
  max-width: 880px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px 60px;
}
.member-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  justify-items: center;
}
.member-card .avatar {
  width: 150px;
  height: 190px;
  border-radius: 90px;
  margin: 0 auto;
  background: #efeae0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}
.member-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.member-card .info {
  font-size: 14px;
  line-height: 1.9;
  color: var(--navy);
}
.member-card .info dl {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 6px 10px;
  margin-bottom: 12px;
}
.member-card .info dt { font-weight: 500; }
.member-card .info dd { color: var(--text); }
.member-card .info .bio {
  font-size: 12px;
  color: var(--text);
  margin-top: 8px;
  line-height: 1.9;
}
.member-card .info .bio-label {
  display: block;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ===========================
   Access page specific
=========================== */
.access-photo {
  max-width: 1080px;
  margin: 0px auto 120px;
  padding: 0 40px;
}
.access-photo .photo { aspect-ratio: 21/9; }

.schedule {
  max-width: 880px;
  margin: 0 auto 100px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 90px 1fr 320px;
  gap: 40px;
  align-items: start;
}
.schedule .day {
  font-size: 20px;
  letter-spacing: .15em;
  color: var(--navy);
  font-weight: 500;
  font-family: "Yu Mincho", serif;
  padding-top: 0;
}
.schedule .info {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
  padding-top: 10px;
}
.schedule .info p {
  margin-bottom: 8px;
}
.schedule .info .time {
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 16px;
}
.schedule .info .place {
  color: var(--navy);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}
.schedule .info .info-address,
.schedule .info .info-access {
  margin-bottom: 14px;
}
.schedule .info .info-address p,
.schedule .info .info-access p {
  margin-bottom: 2px;
}
.schedule .info .info-address p:last-child,
.schedule .info .info-access p:last-child {
  margin-bottom: 0;
}
.schedule .info .pin::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 6px;
  vertical-align: -2px;
  background: url("../images/pin.png") no-repeat center / contain;
}
.schedule .info .more {
  display: inline-block;
  margin-top: 14px;
  color: var(--navy);
  text-decoration: underline;
  font-size: 14px;
}
.schedule .info .more .more-arrow {
  display: inline-block;
  text-decoration: none;
  margin-right: 1px;
}
.schedule .map {
  background: #e3eaf0;
  aspect-ratio: 3/4;
  position: relative;
  border: 1px solid #c8d2dc;
  overflow: hidden;
}
.schedule .map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.schedule .place-photo {
  aspect-ratio: 1/1;
}

.cta {
  max-width: 760px;
  margin: 160px auto 120px;
  text-align: center;
  padding: 0 40px;
}
.cta h2 {
  color: var(--navy);
  font-size: 22px;
  letter-spacing: .15em;
  margin-bottom: 48px;
  font-weight: 500;
  font-family: "Yu Mincho", serif;
}
.cta p {
  font-size: 16px;
  /* margin-bottom: 8px; */
  color: var(--navy);
  line-height: 2;
}
.cta .mail {
  font-size: 18px;
  color: var(--navy);
  margin: 48px 0 20px;
  font-family: "Times New Roman", serif;
}
.cta .line-btn {
  display: inline-block;
  width: 160px;
  max-width: 100%;
}
.cta .line-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.related {
  max-width: 880px;
  margin: 60px auto 80px;
  padding: 0 40px;
}
.related h2 {
  color: var(--navy);
  font-size: 32px;
  letter-spacing: .12em;
  text-align: center;
  margin: 60px 0 30px;
  font-weight: 500;
  font-family: "Yu Mincho", serif;
}
.related .divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  border: 1px solid #b4c4d6;
  margin-bottom: 30px;
  table-layout: fixed;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}
.table caption {
  background: #7593AB;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 8px;
  letter-spacing: .15em;
  border: 1px solid #b4c4d6;
  border-bottom: 0;
  text-align: center;
}
.table th, .table td {
  padding: 8px 10px;
  border: 1px solid #d9dfea;
  text-align: center;
  color: var(--text);
  height: 44px;
  vertical-align: middle;
}
.table tbody th,
.table tbody td {
  border-color: #D7E7F2;
}
.table thead th {
  background: #ACC8DC;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  height: auto;
}
.table tbody th {
  font-weight: 700;
  text-align: center;
  width: 110px;
  color: var(--navy);
}
.table tbody tr:nth-child(even) th,
.table tbody tr:nth-child(even) td {
  background: #F9F9F9;
}
.table tbody th a { color: inherit; text-decoration: underline; }
.table tbody td {
  line-height: 1.3;
}
.table tbody td .sub {
  display: block;
  font-size: 9px;
  line-height: 1.1;
  color: var(--text-sub);
  margin-top: 2px;
}

/* ===========================
   404
=========================== */
.notfound {
  display: grid;
  place-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 60px 40px;
}
.notfound .num {
  font-family: "Times New Roman", serif;
  font-size: 140px;
  color: var(--navy);
  letter-spacing: .05em;
  line-height: 1;
  font-weight: 400;
}
.notfound p {
  margin: 12px 0 60px;
  color: var(--navy);
  font-size: 16px;
}
.notfound .btn {
  display: inline-block;
  padding: 6px 52px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: .15em;
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

/* ===========================
   SP header (hidden on PC)
=========================== */
.sp-header { display: none; }
.sp-menu { display: none; }
.sp-only { display: none; }

/* ===========================
   Responsive (Tablet / SP)
=========================== */
@media (max-width: 900px) {
  /* sidebar hide, header bar instead */
  .sidebar { display: none; }
  .main { margin-left: 0; width: 100%; }

  .sp-header {
    display: block;
    height: 0;
  }
  .sp-hamburger {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    width: auto;
    height: 32px;
    border: 0;
    padding: 18px;
    box-sizing: content-box;
    cursor: pointer;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: transparent;
    transition: background .2s ease, box-shadow .2s ease;
  }
  body.hamburger-on-image .sp-hamburger {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }
  .sp-hamburger span {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--navy);
    margin: 2px 0;
    transition: transform .2s;
  }

  /* fullscreen menu */
  .sp-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 50;
    padding: 60px 24px max(24px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .3s ease, opacity .25s ease;
    pointer-events: none;
  }
  body.menu-open .sp-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.menu-open { overflow: hidden; }

  .sp-close {
    position: absolute;
    top: 12px;
    right: 18px;
    width: 44px; height: 44px;
    background: transparent;
    border: 0;
    color: var(--navy);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
  }
  .sp-menu-inner {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
    max-height: 560px;
  }
  .sp-brand { display: block; margin-bottom: 0; }
  .sp-brand .brand-mark {
    width: 140px;
    margin: 0 auto;
    aspect-ratio: 164 / 188;
  }

  .sp-nav {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .sp-nav li { margin-bottom: 22px; }
  .sp-nav li:last-child { margin-bottom: 0; }
  .sp-nav a {
    font-size: 22px;
    color: var(--navy);
    letter-spacing: .15em;
    font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  }
  .sp-nav a.is-active { font-weight: 700; }

  .sp-socials {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
  }
  .sp-socials a {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    color: transparent;
    font-size: 0;
  }
  .sp-socials a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* ============ Layout overrides ============ */

  /* HERO: 写真上、紺色テキスト下に縦並び */
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .hero-image {
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
  }
  .hero-overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
  }
  .hero-overlay-left {
    position: absolute;
    top: 24px;
    bottom: 32px;
    left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .hero-overlay-logo {
    width: 120px;
    aspect-ratio: 108 / 122;
    background-image: url("../images/sp_logo.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
  }
  .hero-overlay-title {
    margin: 0;
    color: #004C7F;
    font-family: "Yu Mincho", serif;
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: .2em;
    writing-mode: vertical-rl;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1), 0 0 16px rgba(255, 255, 255, 0.1), 0 0 4px rgba(255, 255, 255, .3);
  }
  .hero-overlay-scroll {
    position: absolute;
    right: 8px;
    bottom: 24px;
    width: 32px;
    height: auto;
  }
  .hero-copy { display: none; }
  .hero-copy {
    padding: 120px 30px 90px;
    align-items: flex-start;
  }
  .hero-copy h1 {
    font-size: 36px;
    line-height: 2;
    height: auto;
    text-align: start;
    writing-mode: vertical-rl;
    margin: 0 auto;
  }

  .pc-only { display: none; }
  .sp-only { display: block; }
  br.sp-only,
  span.sp-only { display: inline; }

  /* common section paddings shrink */
  .top-sec1 { padding: 70px 0 50px; }
  .top-sec1 .section-title,
  .top-sec2 .section-title { font-size: 32px; margin-bottom: 40px; }
  .top-sec1 .section-title {
    text-align: left;
    margin: 0 0 24px;
    padding: 0;
    position: relative;
    z-index: 2;
  }
  .top-sec2 .section-title {
    text-align: left;
    padding: 0 24px;
    margin-bottom: 24px;
    margin-left: 0;
  }
  .top-sec1-body .text-col {
    padding: 0 24px;
    margin-top: -44px;
  }
  .top-sec1-body .photo {
    margin-top: 0;
    order: -1;
    width: 55vw;
    margin-left: auto;
    margin-right: 0;
    aspect-ratio: 4 / 5;
  }

  .top-sec1-body {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }
  .top-sec1-body p { font-size: 16px; line-height: 2; }

  .top-sec2 {
    padding: 40px 0 70px;
    display: flex;
    flex-direction: column;
  }
  .top-sec2-body { padding: 0; display: contents; }
  .top-sec2-row {
    display: contents;
  }
  .top-sec2-row .photo {
    order: -1;
    width: 60vw;
    max-width: none;
    margin: 0;
    transform: none;
    aspect-ratio: 4/5;
    align-self: flex-start;
    margin-bottom: 20px;
  }
  .top-sec2-row p { padding: 0 24px; padding-top: 0; margin-bottom: 30px; line-height: 2; }
  .top-sec2-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }
  .top-sec2-gallery .photo {
    width: 60vw;
    margin-top: 0;
  }
  .top-sec2-gallery .photo:nth-child(1) {
    width: 80vw;
    aspect-ratio: 4/3;
    align-self: flex-start;
    order: 2;
    margin-left: 0;
  }
  .top-sec2-gallery .photo:nth-child(2) {
    aspect-ratio: 16/9;
    align-self: flex-end;
    order: 1;
    margin-top: 28px;
  }

  /* NEWS */
  .news { padding: 0 24px; margin: 30px auto 60px; }
  .news-title { font-size: 42px; }
  .news-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 16px;
  }
  .news-list time { width: auto; }

  /* footer */
  .site-footer { height: 180px; margin-top: 120px; }
  .page-member .site-footer { margin-top: 120px; }
  .page-access .site-footer { margin-top: 120px; }
  .site-footer .footer-name { font-size: 22px; letter-spacing: .2em; }

  /* page hero */
  .page-hero { padding: 120px 24px 40px; }
  .page-access .page-hero { padding-top: 90px; }
  .page-hero h1 {
    font-size: 36px;
    letter-spacing: .12em;
    text-align: center;
    line-height: 1.3;
  }
  .page-access .page-hero h1 {
    font-size: 32px;
  }

  /* about */

  .about-photo-wide,
  .about-split {
    padding: 0 24px;
  }
  .about-photo-hero {
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .about-photo-hero .photo-caption {
    order: -1;
    margin: 20px 0 8px;
    padding: 0 12px 0 24px;
    text-align: right;
  }
  .about-photo-hero.about-photo-hero--offset {
    padding-left: 24px;
    margin-top: 30px;
  }
  .about-photo-hero .photo {
    aspect-ratio: 16 / 9;
  }

  /* pc_about-1 (拳技 block photo-col): right-flush, 16/9 */
  .about-block.about-block--wide:not(.about-block--text-pad) .about-block-body:not(.about-block-body--photo-left):not(.about-block-body--side-photo) .photo-col {
    width: 75vw;
    aspect-ratio: 16/9;
    justify-self: end;
    margin-right: -24px;
  }
  .about-block--wide .photo-col img[src="images/pc_about-1.png"] {
    width: 100%;
    margin-left: 0;
  }

  /* SP: hide pc_about-4 inside 何を教える, single column for side-photo body */
  .about-block--wide .about-block-body.about-block-body--side-photo {
    grid-template-columns: 1fr;
  }
  .about-block--wide .about-block-body--side-photo .photo-col {
    display: none;
  }

  /* SP-only photo block above 何を教える (pc_about-3) - 90% width, left, 21/9 */
  .sp-photo-above-title-3 {
    padding: 0;
    margin: 40px 0 20px;
  }
  .sp-photo-above-title-3 .photo {
    width: 90%;
    aspect-ratio: 16 / 9;
    margin-left: 0;
    margin-right: auto;
    margin-top: 60px;
  }

  /* SP-only photo block above 半ばは (pc_about-4) - 50% width, left */
  .sp-photo-above-title {
    padding: 0;
    margin: 30px 0 60px;
  }
  .sp-photo-above-title img {
    width: 50%;
    height: auto;
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  /* pc_about-5 on SP - 90% width, right-flush, taller */
  .about-photo-wide.about-photo-wide--left {
    max-width: 100%;
    padding: 0;
    margin: 0 0 30px;
  }
  .about-photo-wide.about-photo-wide--left .photo {
    width: 90%;
    max-width: none;
    aspect-ratio: 4/3;
    margin-left: auto;
    margin-right: 0;
  }
  .about-block.about-block--wide:not(.about-block--text-pad) .about-block-body:not(.about-block-body--photo-left) .photo-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* pc_about-6 (半ばは block photo-col): right-flush, 75% */
  .about-block--wide.about-block--text-pad .about-block-body .photo-col {
    width: 75%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: -24px;
    margin-bottom: 40px;
    justify-self: end;
  }
  .about-block--wide.about-block--text-pad .about-block-body .photo-col img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* sp_img05.png - left-flush, 90% (SP only) */
  .sp-photo-flush-left {
    padding: 0;
    margin: 20px 0 30px;
  }
  .sp-photo-flush-left img {
    width: 90%;
    height: auto;
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  /* pc_about-3, img05: hidden on SP */
  .about-photo-hero--offset:has(img[src="images/pc_about-3.png"]),
  .about-photo-hero--offset:has(img[src="images/img05.png"]) {
    display: none;
  }

  .about-photo-wide {
    max-width: 100%;
    margin: 30px auto;
    padding: 0 24px;
  }
  /* pc_about-9: 16/9, right-flush (SP) */
  .about-photo-wide:not(.about-photo-wide--left) {
    padding: 0;
  }
  .about-photo-wide:not(.about-photo-wide--left) .photo {
    width: 90%;
    aspect-ratio: 16/9;
    margin-left: auto;
    margin-right: 0;
  }
  .about-block {
    padding: 24px;
    max-width: 100%;
  }
  .about-block.about-block--wide {
    max-width: 100%;
    margin-top: 0;
    padding: 8px 24px;
  }
  .about-block--wide .about-block-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-block--wide.about-block--text-pad .about-block-body {
    grid-template-columns: 1fr;
  }
  .about-block--wide .about-block-body.about-block-body--photo-left {
    grid-template-columns: 1fr;
  }
  .about-block--wide .photo-col {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
  }
  /* pc_about-8: below link, left-flush, 60% (SP) */
  .about-block--wide .about-block-body--photo-left .about-block-text {
    order: 1;
  }
  .about-block--wide .about-block-body--photo-left .photo-col {
    order: 2;
    width: 75%;
    margin-top: 24px;
    margin-left: -24px;
    margin-right: auto;
  }
  .about-block--wide .about-block-body--photo-left .photo-col img {
    width: 100%;
    height: auto;
    display: block;
  }
  .about-block--wide .about-block-text {
    width: auto;
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
  }
  .about-block.about-block--wide > h2.h2-stagger {
    margin-top: 0;
    margin-bottom: 32px;
  }
  .about-block--wide.about-block--text-pad .h2-stagger,
  .about-block--wide.about-block--text-pad .text-col {
    padding-left: 0;
  }
  .about-block--wide.about-block--text-pad > h2.h2-stagger {
    padding-right: 0;
  }
  .about-block.about-block--wide.about-block--text-pad {
    margin-right: 0;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-split.right .text { order: 0; }
  .about-block h2 {
    font-size: 22px;
    line-height: 1.6;
    text-align: left;
  }
  .about-block h2.h2-stagger {
    font-size: 30px;
    padding-top: 0;
    padding-right: 0;
    display: block;
    line-height: 1.5;
    margin-bottom: 32px;
  }
  .about-block h2.h2-stagger .indent {
    padding-left: 0;
  }
  .about-block .about-block-text a.more {
    text-align: right;
  }
  .about-block p {
    line-height: 2;
  }
  .about-split h2 { font-size: 22px; }

  /* member */
  .member-section { padding: 0 24px; margin-bottom: 100px; }
  .video-wrap { padding: 0; margin-bottom: 40px; margin-top: 40px; }
  .member-section h2 { font-size: 32px; letter-spacing: .15em; margin-bottom: 12px; }
  .member-list,
  .member-bullets { padding-left: 0; }
  .member-list { margin-top: 54px; }
  .member-bullets { margin-top: 0; }
  .member-bullets li { line-height: 1.6; margin-bottom: 24px; }
  .member-list li { margin-bottom: 40px; }
  .member-list li .desc { line-height: 1.4; margin-top: 16px; }
  .member-list li,
  .member-list li .desc,
  .member-bullets li { font-size: 20px; }
  .member-section p { font-size: 16px; line-height: 2; }

  .members-section-title { font-size: 32px; margin: 30px 0 30px; padding-left: 24px; }

  .members-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 80px;
  }
  .member-card {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }
  .member-card .avatar {
    width: 180px;
    height: 230px;
    margin: 0 auto;
  }
  .member-card .info dl {
    grid-template-columns: 1fr;
    gap: 2px;
    text-align: left;
  }
  .member-card .info dt {
    margin-top: 10px;
  }
  .member-card .info dd {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .member-card .info .bio-label,
  .member-card .info .bio {
    font-size: 14px;
  }
  .member-card .info .bio {
    margin-top: 0;
  }

  /* access */
  .access-photo { padding: 0; margin-bottom: 50px; }
  .access-photo .photo { aspect-ratio: 16 / 9; }
  .schedule {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 16px;
    margin-bottom: 80px;
  }
  .schedule .day {
    font-size: 32px;
    letter-spacing: .2em;
    text-align: left;
    padding: 0;
    margin-bottom: -24px;
    margin-top: -10px;
  }
  .schedule .info { font-size: 16px; }
  .schedule .info .time {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .schedule .info .place { font-size: 20px; }
  .schedule .info .more { font-size: 16px; }
  .schedule .info .info-address > p:not(.pin),
  .schedule .info .info-access {
    padding-left: calc(1em + 6px);
  }
  .schedule .info .info-address > p:not(.pin) {
    line-height: 1;
  }
  .schedule .info .more .more-arrow {
    margin-right: 6px;
  }
  .schedule .info .pin {
    margin-bottom: -6px;
  }
  .schedule .info .info-access p {
    margin-bottom: 0;
  }
  .schedule .map,
  .schedule .place-photo {
    aspect-ratio: 16/12;
    max-width: 100%;
  }

  .cta { padding: 0 24px; margin: 120px auto; }
  .cta h2 {
    font-size: 32px;
    line-height: 1.2;
  }
  .cta p {
    font-size: 18px;
    line-height: 1.6;
  }
  .cta .mail {
    font-size: 18px;
    line-height: 1.6;
    margin: 50px 0 24px;
  }

  .related { padding: 0 24px; }
  .related h2 { font-size: 32px; line-height: 1.4; }
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .related .table {
    min-width: 820px;
    table-layout: fixed;
  }
  .related .table th,
  .related .table td {
    white-space: nowrap;
  }
  .related .table tr:first-child > *:first-child {
    width: 110px;
  }
  .related .table tbody th {
    width: 110px;
    padding: 8px 4px;
    text-align: center;
  }
  .related .table:last-of-type {
    margin-bottom: 0;
  }

  /* 404 */
  .notfound { min-height: 70vh; padding: 60px 24px; }
  .notfound .num { font-size: 144px; }
  .notfound .btn { padding: 8px 48px; }
}

/* very small phones */
@media (max-width: 380px) {
  .hero-copy h1 { font-size: 24px; }
  .page-hero h1 { font-size: 22px; }
  .news-list li { gap: 10px; }
}

.wavy-under {
  text-decoration: underline 1px wavy;
  text-decoration-skip-ink: none;
  text-underline-offset: 0.2em;
}

