@charset "UTF-8";
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

:where(a) {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

:where(a:is(:link, :visited)) {
  color: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}
@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

body {
  background: #F5F2EE;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1.9;
  position: relative;
  overflow-x: hidden;
}

picture {
  display: inline-block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.65;
}

a {
  color: inherit;
}
a:hover {
  color: #14864D;
  text-decoration: none;
}

ul {
  margin-left: 0;
}

.section-en-title {
  position: absolute;
  top: -4.5rem;
  left: 0;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.05);
  z-index: 1;
  pointer-events: none;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}
@media screen and (max-width: 1024px) {
  .section-en-title {
    font-size: 2.625rem;
    top: -2.5rem;
  }
}

.section-ja-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 1024px) {
  .section-ja-title {
    font-size: 1.75rem;
    line-height: 1.9;
  }
}

.btn-style1 a {
  padding: 1rem 4rem 1rem 2rem;
  background: #1EAF88;
  color: #fff;
  border-radius: 2rem;
  display: inline-block;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.1em;
  position: relative;
  transition: all 0.5s;
}
.btn-style1 a::after {
  content: "";
  width: 1.5rem;
  height: 1rem;
  position: absolute;
  top: 1.25rem;
  right: 2rem;
  background: url(../../ssskh2025/img/icon-arrow-right.svg) no-repeat center/contain;
  transition: all 0.8s;
}
.btn-style1 a:hover {
  background: #178366;
  color: #fff;
}
.btn-style1 a:hover::after {
  right: 1.25rem;
}

.btn-style2 a {
  display: inline-block;
  padding: 1rem 0 1rem 4rem;
  color: #111111;
  background: transparent;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.1em;
  position: relative;
  transition: all 0.5s;
}
.btn-style2 a::before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  position: absolute;
  top: 0.25rem;
  left: 0;
  padding: 1.5rem;
  background: #1EAF88 url(../../ssskh2025/img/icon-arrow-right.svg) no-repeat center/1.5rem;
  transition: all 0.8s;
}
.btn-style2 a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 4rem;
  height: 1px;
  width: calc(100% - 4rem);
  background: #cccccc;
}
.btn-style2 a:hover::before {
  background: #178366 url(../../ssskh2025/img/icon-arrow-right.svg) no-repeat center/1.5rem;
}

.inactive a {
  pointer-events: none;
  background: #ddd;
}

.heading {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  letter-spacing: 0.1em;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.site-header {
  transition: all 0.5s;
  padding: 2rem 0;
}
.site-header .container {
  max-width: 95%;
  margin: 0 auto;
}
.site-header .header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.site-header .site-branding img {
  max-height: 55px;
  width: auto;
  transition: all 0.3s ease-in-out;
}
.site-header .site-nav {
  width: auto;
  font-weight: 500;
  display: block;
}
.site-header .site-nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
@media screen and (min-width: 37.5em) {
  .site-header .site-nav ul {
    display: flex;
    gap: 2rem;
  }
}
.site-header .site-nav ul li {
  position: relative;
}
@media screen and (max-width: 1024px) {
  .site-header .site-nav ul li {
    width: 100%;
  }
}
@media screen and (min-width: 1025px) {
  .site-header .site-nav .menu-logo {
    display: none;
  }
  .site-header .site-nav .nav-list {
    display: flex;
    align-items: center;
  }
  .site-header .site-nav .nav-list .nav-item {
    margin-left: 20px;
  }
  .site-header .site-nav .nav-list .nav-item a {
    text-decoration: none;
    color: #111111;
    transition: all 0.3s;
    letter-spacing: 0.01em;
  }
  .site-header .site-nav .nav-list .nav-item a:hover {
    color: #1EAF88;
  }
  .site-header .site-nav .nav-list .nav-item.menu-contact a {
    background: #14864D;
    border-radius: 2em;
    color: #fff;
    display: inline-block;
    padding: 0.5em 1em 0.6em;
  }
  .site-header .hamburger-menu {
    display: none;
  }
}
@media screen and (min-width: 1281px) {
  .site-header .header-wrapper {
    height: 65px;
  }
  .site-header .site-branding img {
    max-height: 65px;
  }
  .site-header .site-nav .nav-list .nav-item {
    margin-left: 20px;
  }
  .site-header .site-nav .nav-list .nav-item a {
    letter-spacing: 0.05em;
  }
}
@media screen and (max-width: 1024px) {
  .site-header .site-branding img {
    max-height: 40px;
  }
  .site-header .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 480px;
    height: 100vh;
    background-color: #1EAF88;
    color: white;
    transition: right 0.3s;
    padding: 5rem 2rem 2rem;
    z-index: 999;
  }
  .site-header .site-nav .menu-logo {
    display: flex;
    justify-content: center;
  }
  .site-header .site-nav .menu-logo .custom-logo-link {
    margin: 0;
  }
  .site-header .site-nav .menu-logo .custom-logo-link img {
    max-height: 50px;
  }
  .site-header .site-nav .nav-list {
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
  }
  .site-header .site-nav .nav-list .menu-item a {
    border-bottom: solid 1px white;
    text-decoration: none;
    color: white;
    display: block;
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 1024px) and (max-width: 640px) {
  .site-header .site-nav .nav-list .menu-item a {
    font-size: 1rem;
  }
}
@media screen and (max-width: 1024px) {
  .site-header .site-nav.is-open {
    right: 0;
  }
}
@media screen and (max-width: 1024px) {
  .site-header .hamburger-menu {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1000;
  }
  .site-header .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #111111;
    position: absolute;
    transition: all 0.3s;
  }
  .site-header .hamburger-menu span:nth-child(1) {
    top: 0;
  }
  .site-header .hamburger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .site-header .hamburger-menu span:nth-child(3) {
    bottom: 0;
  }
  .site-header .hamburger-menu.is-active span {
    background-color: white;
  }
  .site-header .hamburger-menu.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .site-header .hamburger-menu.is-active span:nth-child(2) {
    opacity: 0;
  }
  .site-header .hamburger-menu.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }
}
@media screen and (max-width: 1024px) {
  .site-header.origin {
    display: none;
  }
}
.site-header.fixed {
  position: fixed;
  width: 100%;
  line-height: 70px;
  top: -70px;
  color: #111111;
  background: #F5F2EE;
  border-bottom: solid 1px #ECE8E4;
  transition: 0.5s;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  padding: 1rem 0;
}
.site-header.fixed .site-branding .custom-logo-link {
  width: 200px;
  display: flex;
}
.site-header.fixed .main-navigation {
  line-height: 1;
  padding: 0.75rem 0 1rem;
}
.site-header.fixed .main-navigation__list .menu-item a span {
  display: block;
  font-size: 0.86em;
  font-weight: normal;
  letter-spacing: 0.02em;
  opacity: 0.6;
}
.site-header.fixed .nav-sub {
  line-height: 1;
  padding: 0.75rem 0 0;
}
.site-header.fixed .nav-sub .menu-item a {
  font-size: 0.75rem;
  font-weight: normal;
}
.site-header.fixed .nav-sub .menu-item a:hover {
  color: pink;
}
.site-header.fixed .nav-sub .menu-item:not(:last-child) {
  padding-right: 1rem;
  border-right: solid 1px #ddd;
}
.site-header.fixed .nav-sub .menu-item.reserve a::before {
  content: url(../utokyony2024/img/icon/icon-door.svg);
  text-decoration: none;
  padding-right: 0.5rem;
  vertical-align: middle;
}
.site-header.fixed.is-show {
  top: 0;
  opacity: 1;
  visibility: visible;
}
@media screen and (min-width: 1025px) {
  .site-header.fixed .main-navigation__list {
    padding-right: 1.25rem;
  }
  .site-header.fixed .main-navigation__list .menu-item:not(:last-child) {
    padding-right: 1.25rem;
  }
}
@media screen and (max-width: 1024px) {
  .site-header.fixed {
    top: 0;
    opacity: 1;
    visibility: visible;
  }
  .site-header.fixed .site-branding .custom-logo-link {
    width: 160px;
  }
  .site-header.fixed .header__nav-area {
    position: absolute;
    top: 60px;
    right: -100%;
    background: pink;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    padding: 2rem;
    overflow: scroll;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    transition: 0.5s ease-in-out;
  }
  .site-header.fixed .main-navigation {
    flex-direction: column;
  }
  .site-header.fixed .main-navigation__list {
    flex-direction: column;
    width: 100%;
  }
  .site-header.fixed .main-navigation__list .menu-item {
    margin: 0.5rem 0;
  }
  .site-header.fixed .main-navigation__list .menu-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    width: 100%;
  }
  .site-header.fixed .main-navigation__list .menu-item.link-givenow a {
    background: pink;
  }
  .site-header.fixed .nav-sub {
    flex-wrap: wrap;
    text-align: right;
  }
  .site-header.fixed .nav-sub .menu-item a {
    font-size: 1rem;
  }
  .site-header.fixed.open .header__nav-area {
    right: 0;
  }
  .site-header.fixed.open #nav-toggle span:nth-child(1) {
    top: 11px;
    transform: rotate(315deg);
  }
  .site-header.fixed.open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .site-header.fixed.open #nav-toggle span:nth-child(3) {
    top: 11px;
    transform: rotate(-315deg);
  }
}
@media screen and (max-width: 1024px) {
  .site-header.fixed .nav-sub {
    flex-wrap: wrap;
    text-align: right;
  }
  .site-header.fixed .nav-sub .menu-item:not(:last-child) {
    padding-right: 0;
    border-right: none;
  }
  .site-header.fixed .nav-sub .menu-item a {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 1024px) {
  .site-header + main {
    margin-top: 100px;
  }
}

.contact {
  padding-top: 0;
  margin: 0;
  padding: 0 0 6.25rem;
  background: #F5F2EE;
}
.contact .container {
  background: #f9f9f9;
  border-radius: 12rem;
  border: solid 2px #1EAF88;
  padding: 7rem 9rem 6rem 9rem;
}
@media screen and (max-width: 1024px) {
  .contact .container {
    padding: 4rem 1rem 3rem;
    max-width: 95%;
  }
}
@media screen and (max-width: 640px) {
  .contact .container {
    padding: 4rem 1rem 3rem;
    border-radius: 2rem;
  }
}
@media screen and (min-width: 1025px) {
  .contact .section-ja-title,
.contact .contact__text {
    padding-left: 2rem;
    margin: 0;
  }
}
@media screen and (max-width: 1024px) {
  .contact .section-en-title {
    text-align: center;
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .contact .btn {
    margin: 1rem 0;
  }
}
.contact__text {
  font-size: 1rem;
  line-height: 2;
  margin-top: 1rem;
}
.contact__form .form-group {
  margin-bottom: 1.5rem;
}
.contact__form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact__form .form-group input,
.contact__form .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.footer {
  background-color: #1EAF88;
  color: #fff;
  padding: 4rem 2rem;
  border-radius: 2rem 2rem 0 0;
  position: relative;
}
.footer::after {
  background: #F5F2EE;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}
.footer__logo {
  width: 21.875rem;
  margin-bottom: 1.5rem;
}
.footer__info p {
  font-size: 0.875rem;
  line-height: 2;
  margin: 0;
}
.footer__info a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer__nav ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}
.footer__nav ul li {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}
.footer__nav ul li a {
  color: #fff;
  text-decoration: none;
}
.footer__nav ul li a:hover {
  text-decoration: underline;
}
.footer__nav ul li ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
}
.footer__nav ul li ul li {
  font-size: 1rem;
}
.footer__nav ul li .sub-menu {
  opacity: 0.9;
  list-style: disc;
}

.footer-bottom {
  background: #16A680;
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.5em 2em 1em;
}
.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.footer-bottom p {
  margin: 0;
}

br.u-br--sp {
  display: inline;
}

@media (min-width: 720px) {
  br.u-br--sp {
    display: none;
  }
}
br.u-br--pc {
  display: none;
}

@media (min-width: 720px) {
  br.u-br--pc {
    display: inline;
  }
}
br.u-br--md {
  display: none;
}

@media (min-width: 960px) {
  br.u-br--md {
    display: inline;
  }
}
br.u-br--lg {
  display: none;
}

@media (min-width: 1200px) {
  br.u-br--lg {
    display: inline;
  }
}
body {
  background: #ECE8E4;
}

.category-display-header {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 1.35em 0;
  padding: 0.4em 1em 0.5em;
  border-radius: 0.5em;
  text-align: center;
}

.lecture-details-table {
  line-height: 1.5;
}
.lecture-details-table table tbody {
  border: solid 2px #ADB980;
}
.lecture-details-table table tbody tr th, .lecture-details-table table tbody tr td {
  padding: 0.75rem 1rem;
  border: solid 1px #ADB980;
}
.lecture-details-table table tbody tr th small, .lecture-details-table table tbody tr td small {
  font-size: 90%;
  display: inline-block;
  margin-bottom: 0.25rem;
}
.lecture-details-table table tbody tr th {
  background: #E4EBCA;
  width: 80px;
}
@media screen and (min-width: 1025px) {
  .lecture-details-table table tbody tr th {
    width: 200px;
  }
}
.lecture-details-table table tbody tr td {
  background: #ffffff;
}

.lecturer-profile-section .lecturer-image-wrapper {
  margin: 1rem auto;
}
.lecturer-profile-section .lecturer-image-wrapper img {
  aspect-ratio: 1/1;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  width: 160px;
  border: solid 2px #ffffff;
}
.lecturer-profile-section .lecturer-text-content .name {
  font-weight: bold;
  font-size: 1.25rem;
}
.lecturer-profile-section .lecturer-text-content .lecturer-bio-list {
  margin-top: 2rem;
  border-top: solid 1px #ddd;
  padding-top: 2rem;
}

.button-area {
  margin-top: 5rem;
}
.button-area .button {
  color: #ffffff;
  padding: 1.5rem;
  max-width: 300px;
  width: 100%;
  display: inline-block;
  text-align: center;
  border-radius: 3rem;
  font-weight: bold;
  margin: 0.5rem;
}
.button-area .button.back-to-list {
  background: #1EAF88;
}
.button-area .button.enroll-link {
  background: #3B8074;
}
.button-area .button:hover {
  opacity: 0.8;
}

/* --- 設定：各分類のテーマカラー --- */
/* スラッグ名に合わせて色を設定してください */
.curriculum-table-wrapper {
  width: 100%;
  overflow: hidden;
  /* PC用ヘッダー行 */
  /* 各グループ（行） */
  /* 色の適用ループ */
}
.curriculum-table-wrapper .table-header {
  display: flex;
  /* 横並び */
  gap: 5px;
  /* 分類と右グループの間の隙間 */
  margin-bottom: 5px;
  /* ヘッダー下の隙間 */
  /* 左：分類カラム */
  /* 右：グループ化されたカラム */
}
.curriculum-table-wrapper .table-header .th-cat {
  width: 140px;
  /* ★固定幅（cat-labelと同じにする） */
  flex-shrink: 0;
  background-color: #137A4D;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 0 0;
  /* 角丸 */
  padding: 10px;
}
.curriculum-table-wrapper .table-header .header-right-group {
  flex-grow: 1;
  /* 残りの幅いっぱい */
  display: flex;
  gap: 5px;
  /* ★カラム間の隙間 */
  /* 共通スタイル */
}
.curriculum-table-wrapper .table-header .header-right-group > div {
  background-color: #137A4D;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 中央揃え（好みで左寄せに） */
  border-radius: 8px 8px 0 0;
  padding: 10px;
}
.curriculum-table-wrapper .table-header .header-right-group .th-name {
  flex: 2;
}
.curriculum-table-wrapper .table-header .header-right-group .th-lecturer {
  flex: 1;
}
.curriculum-table-wrapper .table-header .header-right-group .th-profile {
  flex: 2;
}
.curriculum-table-wrapper .group-row {
  display: flex;
  flex-direction: column;
  margin: 3px 0;
  /* 左側の分類ラベルエリア */
  /* 右側の講座リストエリア */
  /* 個別の講座行 */
}
@media (min-width: 768px) {
  .curriculum-table-wrapper .group-row {
    flex-direction: row;
    gap: 5px;
    /* ★ヘッダーと同じ隙間を入れる */
    margin-bottom: 5px;
    /* 分類ごとの下の隙間 */
    border-bottom: none;
    /* 線は消して隙間で表現する場合 */
  }
}
.curriculum-table-wrapper .group-row .cat-label {
  /* flexやサイズの設定はそのまま残す */
  display: flex;
  align-items: center;
  justify-content: center;
  /* 文字色は白にしておく */
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
  border: solid 2px #f6f2ef;
  border-radius: 0.5rem;
  padding: 1rem;
  /* ★背景色はPHPのインラインスタイルで入るので、ここでは指定しない */
}
@media (min-width: 768px) {
  .curriculum-table-wrapper .group-row .cat-label {
    width: 140px;
    /* ★ヘッダーのth-catと同じ幅にする！ */
    flex-shrink: 0;
    border-radius: 8px 0 0 8px;
    /* デザインに合わせて調整 */
  }
}
.curriculum-table-wrapper .group-row .course-list {
  flex-grow: 1;
  /* ヘッダーのheader-right-groupと同じ挙動 */
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* 行ごとの隙間（白線に見える部分） */
  background: transparent;
  /* 背景なし */
}
.curriculum-table-wrapper .group-row .course-item {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  line-height: 1.35;
  /* 各セルの幅設定 (PC) */
}
.curriculum-table-wrapper .group-row .course-item:last-child {
  border-bottom: none;
}
@media (min-width: 768px) {
  .curriculum-table-wrapper .group-row .course-item {
    flex-direction: row;
    padding: 0;
    /* パディングは内側のセルでやるので0に */
    gap: 5px;
    /* ★ヘッダー内部と同じ隙間 */
    border-bottom: none;
    background: transparent;
  }
}
.curriculum-table-wrapper .group-row .course-item .td-name {
  font-weight: bold;
  background: white;
  height: 100%;
  display: flex;
  border: solid 2px #f6f2ef;
  border-radius: 0.5rem;
}
.curriculum-table-wrapper .group-row .course-item .td-name a {
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
  display: block;
  letter-spacing: 0;
  text-decoration: underline;
}
.curriculum-table-wrapper .group-row .course-item .td-name a:hover {
  color: #137A4D;
}
.curriculum-table-wrapper .group-row .course-item .td-name .sub-title {
  display: block;
  font-size: 0.85em;
  font-weight: normal;
  color: #666;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .curriculum-table-wrapper .group-row .course-item .td-name {
    flex: 2;
    background: #fff;
    padding: 15px;
    /* 白背景をつける */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.curriculum-table-wrapper .group-row .course-item .td-lecturer {
  font-size: 0.95em;
  color: #555;
  height: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  background: white;
  border-radius: 0.5rem;
  padding: 0.75rem;
}
@media (min-width: 768px) {
  .curriculum-table-wrapper .group-row .course-item .td-lecturer {
    flex: 1;
    border: solid 2px #f6f2ef;
    background: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }
}
.curriculum-table-wrapper .group-row .course-item .td-profile {
  font-size: 0.95em;
  color: #666;
  line-height: 1.5;
  height: 100%;
  align-items: center;
  display: flex;
  background: white;
  border: solid 2px #f6f2ef;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}
@media (min-width: 768px) {
  .curriculum-table-wrapper .group-row .course-item .td-profile {
    flex: 2;
    background: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
  }
}