@charset "UTF-8";

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

html {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #333333;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

main {
  flex: 1;
  min-height: 1px;
  margin: 0;
  padding: 0;
}


ul {
  padding-left: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #333333;
}


header {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile_header_area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile_layout {
  position: relative;
}

.mobile-school-logo {
  width: 40%;
  margin-left: 25px;
}

.main-title {
  color: #4b6aa5;
  font-size: 1.6rem;
  font-weight: 600;
  margin-left: 25px;
  letter-spacing: 0.2rem;
}

/* ======================================
   ハンバーガーメニュー
====================================== */
.burger {
  width: 32%;
  height: fit-content;
  background-color: #4b6aa5;
  aspect-ratio: 1/1;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

.burger span {
  display: block;
  position: relative;
  left: 50%;
  width: 35px;
  height: 2px;
  transform: translateX(-50%);
  background: #fff;
  transition: all 0.4s;
}

.burger span:nth-of-type(1) {
  top: -6px;
}

.burger span:nth-of-type(2) {
  top: 1px;
}

.burger span:nth-of-type(3) {
  top: 8px;
}

.burger.is-active span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(225deg);
}

.burger.is-active span:nth-of-type(2) {
  opacity: 0;
}

.burger.is-active span:nth-of-type(3) {
  top: -4px;
  transform: translateX(-50%) rotate(-225deg);
}


.global_nav_box {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100dvh;
  background: rgba(75, 106, 165, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 80px;
  transition: right 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  overflow-y: auto;
  z-index: 9999;
}

.global_nav_box.is-active {
  right: 0;
  opacity: 1;
}

body.no-scroll {
  overflow: hidden;
}

.breadcrumb {
  width: 90%;
  margin: 8px auto;
  font-size: 0.75rem;
  color: #666;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: normal;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}


.breadcrumb li+li::before {
  content: "›";
  margin: 0 4px;
  color: #aaa;
}

.breadcrumb a {
  color: #4b6aa5;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.nav-pc_list {
  position: relative;
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  border: none;
  margin: 12px 20px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-pc_list:active {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0.98);
}

.nav-pc_list>.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  line-height: 1.4;
  min-height: 48px;
  padding: 0 4px;

}

.sub_nav-pc_list {
  border-radius: 10px;
  padding: 0px 20px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 6px;
  border: none;
  border-top: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.nav-pc_list.active .sub_nav-pc_list {
  opacity: 1;
  max-height: 600px;
}


.sub_nav-pc_list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 0;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: background 0.3s ease;
}

.sub_nav-pc_list li:last-child {
  border-bottom: none;
}


.sub_nav-pc_list li:active {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}


.mobile-img {
  position: relative;
  width: 100%;
  height: calc(100vh - 60px - 34px);
  overflow: hidden;
}



.mobile-img img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}



.mobile-img img.top-kv {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  animation: fadeIn 1.4s ease forwards;
}


.freedom.fade-text {
  opacity: 0;
  animation: fadeUp 1.6s ease 0.4s forwards;
  z-index: 10;
}

.freedom {
  position: absolute;
  top: 15%;
  right: 4%;
  transform: translateY(-50%);
  writing-mode: vertical-rl !important;
  color: beige !important;
  border: none !important;
  text-decoration: none !important;
  z-index: 10;
  white-space: nowrap;
  letter-spacing: 0.1em;
  font-size: 1.8rem;
}




@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.header_logo {
  display: none;
}

.kousin-joho {
  border-bottom: 0.5px solid gray;
}

.main_box {
  width: 90%;
  margin: auto;
  padding: 30px 0;
  font-size: 0.8rem;
}

.update_news_area {
  display: flex;
}

.update_news_title {
  margin: auto;
  padding-left: 10px;
}

footer {
  background-color: #4b6aa5;
  position: relative;
  bottom: 0;
  width: 100%;
  height: 30px;
  margin-top: 0;
}

.footer_copylight {
  text-align: center;
  color: white;
  font-size: 0.6rem;
  padding: 5px;
}


.sprit-article {
  line-height: 1.8rem;
  text-align: center;
}

.spirit_writer {
  margin-top: 20px;
  line-height: 1.6rem;
  text-align: center;
  font-weight: 600;
}

.jship-title2 span {
  font-size: 1.2rem;
}

.song-box {
  width: 80%;
  margin: auto;
  text-align: center;
}

.song-jaa-hokkaido {
  line-height: 1.8rem;
  justify-content: center;
  margin-top: 10px;
}

.song-number {
  font-weight: 600;
  font-size: 1.2rem;
}

.song-word {
  margin: 30px 10px;
  text-align: left;
}

.music-text {
  text-align: center;
  font-size: 1rem;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 500;
}

.youtube-link {
  display: block;
  text-align: center;
  margin-bottom: 60px;
}

.youtube-img {
  width: 260px;
  max-width: 70%;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.youtube-img:hover {
  transform: scale(1.05);
}

.motto-word {
  margin: 0 auto 50px;
  line-height: 2rem;
  text-align: left;
}

.jship-title2 {
  position: relative;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 90px 0 20px 0;
  background-color: #3f5d97;
  color: #fff;
  padding: 25px 5px 15px 5px;
  overflow: visible;
  font-family: "DM Serif Display", serif;
}

.jship-title2 span.jp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

.jship-title2::before {
  content: attr(data-letter);
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  background-color: #3f5d97;
  border-top-left-radius: 120px;
  border-top-right-radius: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "DM Serif Display", serif;
  z-index: 2;
}

.jship-title2::before {
  padding-top: 4px;
}

.jship-article {
  margin: 0 auto 50px;
  line-height: 2rem;
  text-align: justify;
  padding-top: 15px;
}

.jship-word {
  line-height: 2rem;
  text-align: left;
  text-align: justify;
}

.jship-word-sub-area {
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  width: min(90%, 1000px);
  margin: 20px auto;
  flex-wrap: wrap;
}

.jship-word-sub-title {
  flex: 1 1 45%;
  background-color: #f5f8ff;
  border-radius: 12px;
  padding: 24px;
  box-sizing: border-box;
  flex-direction: column;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 20px 0;
}

.jship-word-sub-title:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}


.jship-word-sub-word {
  flex-grow: 1;
  line-height: 1.8;
  text-align: justify;
}

.jship-word-sub-title .mini-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  margin-top: 5px;
  text-align: center;
  color: #4b6aa5;
}

.jship-word-sub-word2 {
  text-align: center;
  font-size: 0.8rem;
  color: #4b6aa5;
  font-weight: 600;
  margin-top: 15px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.7;
}

.history-table tr:nth-child(even) {
  background-color: #f8faff;
}

.history-table td:first-child {
  width: 35%;
  line-height: 1.4;
  padding-right: 8px;
  word-break: break-word;
}

.history-table td:last-child {
  width: 65%;
  line-height: 1.6;
}

.history-table td:first-child span {
  display: block;
  line-height: 1.4;
  font-weight: 600;
  color: #3f5d97;
}

/* ==========================================
   組織図（スマホ用）
========================================== */
.org-area {
  width: 92%;
  margin: 40px auto;
  text-align: center;
}

.org-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 30px;
  border-bottom: 2px solid #cfdff7;
  display: inline-block;
  padding-bottom: 4px;
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.level {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.box {
  border: 1.5px solid #aaa;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  font-size: 0.9rem;
  width: 90%;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}


.level-1 {
  margin-top: 10px;
}

.level-2 {
  margin-top: 15px;
}

.level-3 {
  margin-top: 15px;
}

.level-4 {
  margin-top: 20px;
}


.curriculum-section img {
  width: 80vw;
}

.curriculum-note {
  text-align: right;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 10px;
}


.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
  line-height: 1.5;
  border: 1px solid #dbe5f5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  overflow: hidden;
}


.curriculum-table th {
  background-color: #234a91;
  color: #fff;
  text-align: center;
  padding: 8px 4px;
  font-weight: 500;
  border: 1px solid #dbe5f5;
}

.curriculum-table td {
  border: 1px solid #dbe5f5;
  padding: 6px 4px;
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
  word-break: break-all;
}

.curriculum-table td.category {
  background-color: #e6eef9;
  font-weight: 600;
  color: #234a91;
}

.curriculum-table tr:nth-child(even) {
  background-color: #f9fbfe;
}


.curriculum-table tfoot td {
  background-color: #234a91;
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  border: none;
}


.course-title {
  color: #234a91;
  font-weight: 600;
  margin: 15px 0 5px 0;
  font-size: 0.85rem;
  text-align: left;
}


.study-block {
  background: #fff;
  border: 1px solid #dfe8f6;
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 28px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}


.study-block h2 {
  background: #1F4E99;
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 1.05rem;
  margin: 0 0 14px;
  line-height: 1.4;
}


.study-list {
  list-style: none;
  padding: 0;
  margin-top: 14px;
}

.study-list li {
  background: #f6f9ff;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  line-height: 1.7;
  border-left: 4px solid #1F4E99;
  font-size: 0.88rem;
}

.study-list strong {
  color: #1F4E99;
  font-weight: 700;
}

.study-block p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
  margin-top: 8px;
}


.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
  border-right: 1px solid #dbe5f5;
  border-left: 1px solid #dbe5f5;
  border-radius: 6px;
}

.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.7rem;
  line-height: 1.5;
  background-color: #fff;
}


.curriculum-table th,
.curriculum-table td {
  border: 1px solid #dbe5f5;
}


.curriculum-table tr:nth-child(even) {
  background-color: #f9fbfe;
}


.curriculum-table th {
  background-color: #234a91;
  color: #fff;
  padding: 8px 4px;
  font-weight: 500;
  text-align: center;
}


.curriculum-table tfoot td {
  background-color: #234a91;
  color: #fff;
  font-weight: 600;
}


.curriculum-table td.category {
  background-color: #e6eef9;
  font-weight: 600;
  color: #234a91;
}

.bunya {
  font-size: 0.7rem;
  margin-bottom: 10px;
}


.classwork-section h3 {
  color: #234a91;
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.schedule-block {
  margin-bottom: 40px;
}

.schedule-block h4{
  font-size: 0.85rem;
  color: #444444;
  margin-bottom: 5px;
  font-weight: 400;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #ddd;
  text-align: center;
  padding: 6px 8px;
}

.schedule-table th {
  background-color: #234a91;
  color: #fff;
}

.schedule-table tr:nth-child(even) {
  background-color: #f9fbfe;
}

.class-rules {
  background-color: #f9fbfe;
  border: 1px solid #dbe5f5;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0 40px;
  line-height: 1.8;
}

.credit-section ul {
  margin: 10px 0 20px 25px;
  list-style-type: "・";
}

#jyou44-section {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 15px 0;
}

#jyou44-section #44jyou {
  font-size: 1.3rem;
  font-weight: 600;
  color: #234a91;
  margin-bottom: 20px;
  border-bottom: 2px solid #234a91;
  display: inline-block;
  padding-bottom: 5px;
}

.touhatsu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 90%;
  max-width: 400px;
  height: auto;
}


.course-block {
  margin-bottom: 50px;
}

.qualification-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.qualification-table th {
  background-color: #234a91;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 500;
}

.qualification-table td {
  border: 1px solid #ddd;
  padding: 8px 6px;
  vertical-align: middle;
  line-height: 1.6;
}

.qualification-table tr:nth-child(even) {
  background-color: #f9fbfe;
}

.course-title {
  color: #234a91;
  font-weight: 600;
  margin: 30px 0 15px;
  font-size: 1.1rem;
}

.qualification-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  table-layout: fixed;
}

.qualification-table th,
.qualification-table td {
  border: 1px solid #ddd;
  padding: 8px 6px;
  vertical-align: middle;
  line-height: 1.6;
  word-wrap: break-word;
}

.schoollife-section h3 {
  color: #234a91;
  font-size: 1rem;
  margin: 25px 0 10px;
  font-weight: 600;
}

.schoollife-section p,
.schoollife-section li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}

.schoollife-section ul {
  margin: 10px 0 25px 25px;
  list-style-type: "・";
}

.schoollife-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.schoollife-table th {
  background-color: #234a91;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: 600;
}

.schoollife-table td {
  border: 1px solid #ddd;
  padding: 6px 10px;
  vertical-align: middle;
  text-align: center;
}

.schoollife-table tr:nth-child(even) {
  background-color: #f9fbfe;
}

.schoollife-note {
  font-size: 0.85rem;
  color: #666;
  text-align: right;
  margin-top: 8px;
}
.commitee-form{
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border:1px solid #ddd;
  text-align: center;
}
.bus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
  line-height: 1.6;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin: 10px 0;

}

.bus-table th {
  background-color: #999999;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: 600;
}

.bus-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}

.bus-note {
  font-size: 0.85rem;
  color: #666;
  text-align: right;
  margin-top: 10px;
}



h1 {
  font-size: 1.6rem;
  margin-bottom: 1em;
  color: #4b6aa5;
  border-bottom: 2px solid #4b6aa5;
  padding-bottom: 0.3em;
}

h2 {
  font-size: 1rem;
  margin-top: 1em;
  margin-bottom: 0.4em;
  color: #4b6aa5;
}

.rules-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}

.rules-article {
  margin-bottom: 40px;
}

.rules-article h2 {
  font-size: 1.2rem;
  color: #234a91;
  border-left: 5px solid #234a91;
  padding-left: 10px;
  margin-bottom: 15px;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  line-height: 1.8;
}

.rule-number {
  flex: 0 0 70px;
  font-weight: 600;
  color: #234a91;
}

.rule-number2 {
  flex: 0 0 70px;
  font-weight: 600;
  color: #234a91;
  text-indent: 2rem;
}

.rule-text {
  flex: 1;
  font-size: 0.9rem;
  color: #444444;
}

.rules-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.rules-table th {
  background-color: #234a91;
  color: #fff;
  padding: 3px;
  text-align: center;
}

.rules-table thead tr th{
border: 1px solid #ccc;
}
.rules-table td {
  border: 1px solid #ddd;
  text-align: center;
  padding: 3px 6px;
}

.rules-table tr:nth-child(even) {
  background-color: #f9fbfe;
}


.dresscode-block {
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
}

.dresscode-header {
  background-color: #f3f7fc;
  border: 1px solid #dbe5f5;
  border-radius: 10px;
  padding: 15px 10px;
  margin-bottom: 10px;
}

.dresscode-level {
  background-color: #234a91;
  color: #fff;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 20px;
}

.dresscode-category {
  display: inline-block;
  font-size: 1.4rem;
  color: #234a91;
  font-weight: 600;
}

.dresscode-header ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style-type: "・";
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.dresscode-header ul li:first-child {
  display: inline-block;
  font-size: 1.1rem;
  color: #234a91;
  font-weight: 600;
}


.dresscode-image {
  text-align: center;
  margin: 20px 0;
}

.dresscode-image img {
  max-width: 90%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dresscode-image-level1 {
  text-align: center;
}

.dresscode-image-level1 img {
  max-width: 50vw;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: inline-block;
  /* ← これで中央寄せされる */
}

.dresscode-text-image ul li:first-child {
  display: inline-block;
  font-size: 1.1rem;
  color: #234a91;
  font-weight: 600;
}

.dresscode-image-level3 img {
  display: flex;
  max-width: 30vw;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: auto;
}

.dresscode-caption {
  margin-top: 8px;
  color: #234a91;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.dresscode-note {
  background-color: #f9fbfe;
  border: 1px solid #dbe5f5;
  border-radius: 8px;
  padding: 10px;
  line-height: 1.8rem;
  font-size: 0.7rem;
  color: #444444;
  margin-bottom: 30px;
}

.dresscode-note ul li:first-child {
  display: inline-block;
  font-size: 1.1rem;
  color: #234a91;
  font-weight: 600;
}

.dresscode-intro {
  font-size: 0.9rem;
  color: #444444;
  line-height: 1.7rem;
}

.dresscode-section p,
.dresscode-section li {
  line-height: 1.8rem;
  font-size: 0.95rem;
}


.dresscode-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.dresscode-table th,
.dresscode-table td {
  border: 1px solid #ddd;
  text-align: center;
  padding: 10px;
}

.dresscode-table th {
  background-color: #234a91;
  color: #fff;
}

.dresscode-table tr:nth-child(even) {
  background-color: #f9fbfe;
}

.dresscode-note ul {
  padding: 0;
  margin: 0;
}

.chart-section img {
  display: block;
  margin: 15px auto 25px auto;
  width: 90vw;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.chart01,
.chart02 {
  display: block;
  width: 100%;
  max-width: 90vw;
  /* chart02 は 40vw */
  margin: 0 auto;
}

.scholarship-block {
  margin-bottom: 50px;
}

.scholarship-block h2 {
  font-size: 1.3rem;
  color: #234a91;
  border-left: 5px solid #234a91;
  padding-left: 10px;
  margin-bottom: 15px;
}

.scholarship-block h3 {
  font-size: 1.1rem;
  color: #234a91;
  margin-top: 25px;
}



.note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

.scholarship-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 0.85rem;
  border: 2px solid #234a91;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  table-layout: fixed;
}



.scholarship-table th,
.scholarship-table td {
  border: 1px solid #234a91;
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
}

.scholarship-table th {
  background: #e6eef9;
  color: #234a91;
  font-weight: 600;
}

.scholarship-table td {
  background: #fff;
}


.update-section {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
}

.update-item {
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 10px 0;
}

.update-section {
  padding: 20px;
}

.update-list li {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  line-height: 1.6;
}

.nav-pc_list>.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  line-height: 1.4;
  min-height: 48px;
}


.nav-header .text-plus,
.nav-header .text-minus {
  display: none;
}


.toggle-icon {
  display: inline-block;
  font-weight: bold;
  color: #ffffff;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.toggle-icon::before {
  content: "＋";
}

.nav-pc_list.active .toggle-icon::before {
  content: "−";
}

.nav-header .text-plus,
.nav-header .text-minus {
  display: none;
}


.nav-pc_list:first-child .nav-header {
  color: #ffffff;
}

.sp-only {
  display: block !important;
}

.pc-only {
  display: none !important;
}

.basic-operation-intro {
  background: #f8f9fb;
  border-left: 4px solid #234a91;
  padding: 15px 20px;
  margin-bottom: 30px;
  line-height: 1.8rem;
  font-size: 1rem;
}

.basic-operation-intro2 {
  margin-bottom: 30px;
  line-height: 1.6rem;
  font-size: 0.9rem;
}

.basic-operation-item .topic-indent{
  margin-bottom: 20px;
}

.basic-operation-text{
  text-indent: 1rem;
  color: #444444;
  font-size: 1rem;
  line-height: 1.5rem;
}
.basic-operation-list {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}

.basic-operation-list2 {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}
/* 表 */
.basic-operation-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.basic-operation-table th,
.basic-operation-table td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  text-align: left;
  word-break: break-word;
}

.basic-operation-table th {
  background: #f0f3f9;
  color: #234a91;
  font-weight: 600;
}

.basic-operation-table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}


.basic-section {
  width: 95%;
  margin: 10px auto;
  background-color: #fff;
  padding: 30px 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.application-section {
  width: 95%;
  margin: 10px auto;
  background-color: #fff;
  padding: 30px 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-title {
  color: #234a91;
  font-weight: 700;
  font-size: 1.4rem;
  border-bottom: 2px solid #234a91;
  padding-bottom: 6px;
  margin: 0 auto 25px auto;
  display: table;
  text-align: center;
}

.page-title-song {
  color: #234a91;
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 2px solid #234a91;
  padding-bottom: 6px;
  margin: 0 auto 25px auto;
  display: table;
  text-align: center;
}

.acc-item {
  margin-bottom: 14px;
  border-radius: 10px;
  height: auto;
  overflow: hidden;
  border: 1px solid #d9dce1;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.acc-title {
  padding: 16px 18px;
  font-weight: 600;
  background: #e9eff9;
  position: relative;
  color: #234a91;

}

.acc-title::after {
  content: "＋";
  position: absolute;
  right: 18px;
  top: 12px;
}

.acc-title.active::after {
  content: "－";
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  transition: max-height .3s ease;
}

.acc-content h2 {
  margin-top: 18px;
  font-size: 1rem;
}

.acc-content p,
.acc-content ul {
  margin-bottom: 12px;
}


.application-accordion .acc-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #e4e7ef;
}

.application-accordion .acc-content h2 p {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #e4e7ef;
}

.application-accordion .acc-content p {
  margin-bottom: 12px;
  color: #444;
  font-size: 14px;
  margin-top: 10px;
}

.application-accordion .acc-content h2:first-child {
  border-top: none;
  padding-top: 0;
}


.facility-card {
  background: transparent;
  /* 白を消す */
  box-shadow: none;
  /* 影を消す */
  border: none;
  padding: 0;
  margin-bottom: 16px;
  /* 間隔だけ確保 */
}


.facility-card h3 {
  color: #4b6aa5;
  font-size: 15px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}


.facility-card h4 {
  font-size: 1rem;
  color: #16427b;
  font-weight: 600;
  margin-bottom: 6px;
}


.facility-card table {
  display: block;
  overflow-x: scroll;
  white-space: nowrap;
  font-size: 13px;
}

.facility-section {
  width: 95%;
  margin: 10px auto;
  background-color: #fff;
  padding: 30px 10px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.facility-card ul,
.facility-card p {
  font-size: 0.9rem;
}

.rule-text-no42 {
  font-size: 0.7rem;
  line-height: 1.2rem;
}

.url-click {
  color: #16427b;
  font-weight: 600;
}

.url-click-info {
  color: #333333;
  font-weight: 400;
  font-size: 0.7rem;
}

.sharyo {
  font-size: 0.9rem;
  line-height: 1.7;
}

.step-guide {
  display: inline-block;
  background: #537895;
  color: #fff !important;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  min-width: 80px;
  text-align: center;
}

.sharyo ul {
  margin: 10px 0 0 0;
  padding-left: 18px;
}

.sharyo ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

p.step-guide {
  display: inline-block;
  background: #537895;
  color: #fff;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-top: 12px;
  margin-bottom: 0 !important;
}



.scholarship-table .moushikomi {
  background: #e6eef9;
  color: #234a91;
  font-weight: 600;
}


.jasso-subtitle {
  background: #f3f7ff;
  border-left: 5px solid #234a91;
  padding: 18px 25px 20px;
  margin: 15px 0 28px;
  border-radius: 6px;
  font-weight: 600;
  color: #234a91;
  font-size: 1.2rem;
}


.jasso-subtitle .jasso-schedule-text,
.jasso-detail {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 8px 0 16px;
  font-weight: 400;
  color: #333;
}


.jasso-schedule {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  border-left: 3px solid #234a91;
  position: relative;
}

.jasso-schedule li {
  position: relative;
  padding: 6px 0 6px 22px;
  line-height: 1.65;
  color: #333;
}


.jasso-schedule li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 18px;
  width: 10px;
  height: 10px;
  background: #234a91;
  border-radius: 50%;
}


.jasso-schedule li:nth-child(even) {
  background: #f9fafc;
  border-radius: 6px;
}


.jasso-step {
  font-weight: 700;
  font-size: 0.95rem;
  color: #234a91;
}

.jasso-subtitle-b {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 8px 0 16px;
  font-weight: 400;
  color: #234a91;
}

.senkoukijun {
  text-align: left;
}

.small-text {
  font-size: 0.8rem;
}

.jasso-select-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.jasso-select-btn {
  background: #234a91;
  color: #fff;
  font-size: 1rem;
  padding: 20px 14px 48px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s;
  flex: 1;
  max-width: 280px;
  text-align: center;
  line-height: 1.4;
  position: relative;
}


.jasso-select-btn::after {
  content: "" !important;
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  display: inline-block;
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.9;
}

.jasso-select-btn.active::after {
  transform: translateX(-50%) rotate(-135deg);
}

.jasso-select-btn.active {
  background: #16346c;
}

.jasso-select-btn:hover {
  background: #4b6aa5;
}

.jasso-select-btn:focus {
  outline: none;
}

.jasso-acc-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.45s ease;
}

.jasso-acc-content.open {
  max-height: 2000px;
  opacity: 1;
}

.acc-main-title {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.acc-main-title.hidden {
  opacity: 0;
  pointer-events: none;
}


.scholarship-table {
  table-layout: auto !important;
  width: 100%;
}

.scholarship-table col {
  width: auto !important;
}

.scholarship-table td,
.scholarship-table th {
  white-space: normal !important;
  word-break: break-word;
  padding: 8px 6px;
  font-size: 0.75rem;
}

.table-wrapper {
  overflow-x: auto;
}


.heikyuchousei {
  font-size: 0.8rem;
  font-weight: 400;
  color: #ED1A3D;
  margin-top: 10px;
}

.small-text2 {
  font-size: 0.5rem;
  padding-top: 10px;
  margin: 0;
  line-height: 0.9rem;
}

.flowchart-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.credit-section p {
  padding-left: 1em;
  margin-bottom: 10px;
}

.credit-section ul {
  list-style: none;
  padding-left: 2em;
  margin: 0;
}

.credit-section li {
  margin-bottom: 5px;
}

/* =========================
   学科タイトル（ボタン風）※スマホ調整
========================= */

.carriercenter-department-titile {
  display: inline-block;
  width: 100%;
  padding: 12px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b6aa5;
  background: #f4f6fb;
  border: 2px solid #4b6aa5;
  border-radius: 8px;
  cursor: pointer;
  position: relative;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

/* hoverは基本無効化（スマホ想定） */
.carriercenter-department-titile:hover {
  background: #f4f6fb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* タップ時の押下感 */
.carriercenter-department-titile:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(75, 106, 165, 0.15);
}

/* 矢印 */
.carriercenter-department-titile::after {
  content: "▼";
  font-size: 0.85rem;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #4b6aa5;
  pointer-events: none;
}


/* =========================
   上部説明文
========================= */

.top-info {
  font-size: 0.9rem;
  margin: 14px 0 20px;
  line-height: 1.7;
  color: #333;
}


/* =========================
   スケジュール全体の箱
========================= */

.schedule-container {
  margin-top: 16px;
  padding: 20px 16px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
}


/* =========================
   タイムライン調整（スマホ）
========================= */

.timeline-wrapper {
  position: relative;
  padding-left: 28px;
}

/* 縦線 */
.vertical-line {
  position: absolute;
  left: 7px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background-color: #4b6aa5;
  opacity: 0.6;
}

/* 各ステップ */
.step {
  position: relative;
  margin-bottom: 28px;
}

/* ドット */
.dot {
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  background-color: #4b6aa5;
  border-radius: 50%;
  z-index: 2;

  box-shadow: 0 0 0 3px #ffffff;
}

/* コンテンツ */
.content h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #4b6aa5;
}

.content p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
}

.step:last-child {
  margin-bottom: 0;
}


/* =========================
   アコーディオン制御
========================= */

.js-accordion-trigger+.top-info,
.js-accordion-trigger+.top-info+.schedule-container {
  display: none;
}

.js-accordion-trigger.is-open+.top-info,
.js-accordion-trigger.is-open+.top-info+.schedule-container {
  display: block;
}

/* 矢印回転 */
.js-accordion-trigger::after {
  transition: transform 0.2s ease;
}

.js-accordion-trigger.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}


/* =========================
   アコーディオン閉時の余白
========================= */

.js-accordion-trigger {
  margin-bottom: 20px;
}

/* 開いているとき */
.js-accordion-trigger.is-open {
  margin-bottom: 12px;
}

/* 閉じている学科の区切り */
.js-accordion-trigger:not(.is-open) {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* hover演出は抑制（スマホ） */
.js-accordion-trigger:hover {
  transform: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.js-accordion-trigger:hover::after {
  transform: translateY(-50%);
}

.js-accordion-trigger+.accordion-content {
  display: none;
}

.js-accordion-trigger.is-open+.accordion-content {
  display: block;
}

/* =========================
   施設アコーディオン（h3）
========================= */

.facility-card {
  margin-bottom: 20px;
}

/* h3 をボタン化 */
.js-facility-trigger {
  position: relative;
  padding: 16px 20px;
  font-size: 1.3rem;
  font-weight: 600;

  background: #f4f6fb;
  border: 1.5px solid #4b6aa5;
  border-radius: 10px;

  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

/* hover：下が開く感 */
.js-facility-trigger:hover {
  background: #eef2fb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(2px);
  color: #4b6aa5;
}

/* 矢印 */
.js-facility-trigger::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 50%;
  font-size: 0.9rem;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.facility-content p ul {
  color: #444444;
  font-size: 0.7rem;
}

/* 中身（初期は閉じる） */
.facility-content {
  display: none;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* 開いた状態 */
.js-facility-trigger.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.js-facility-trigger.is-open+.facility-content {
  display: block;
}

/* 開いている時はh3の余白を調整 */
.js-facility-trigger.is-open {
  margin-bottom: 8px;
}

/* 共通：常に同じ太さ */
.js-facility-trigger {
  border: 2px solid #4b6aa5;
  box-sizing: border-box;
  /* 念のため */
}

/* 開いている状態 */
.js-facility-trigger.is-open {
  border-color: #4b6aa5;
  /* 色だけ */
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  /* 影で強調しない */
}

.facility-card {
  margin-bottom: 12px;
}

.facility-card.open {
  margin-bottom: 24px;
}

.facility-card.is-open {
  background: #f7f9fc;
  /* かなり薄いグレー */
  border-radius: 12px;
  padding: 16px 20px;
}

.facility-content h4:nth-of-type(2) {
  margin-top: 10px;
}

.facility-content h4:nth-of-type(3) {
  margin-top: 10px;
}

.kakunin {
  color: #ff0000;
}

.topic {
  font-weight: 600;
  display: block;
  margin: 5px;
  font-size: 0.85rem;
}

.topic-indent {
  padding-left: 1rem;
  color: #444;
}

.topic-indent2 {
  padding-left: 1rem;
  color: #444;
}

.topic-indent li,
.topic-indent2 li {
  list-style-position: inside;
}

.topic-note {
  font-size: 0.6rem;
  color: #444444;
  display: block;
  margin-top: 5px;
}

.topic-intro {
  font-size: 0.9rem;
  color: #444444;
  margin-bottom: 10px;
}

.reward-and-punishment {
  margin-bottom: 15px;
}

.reward-and-punishment:nth-of-type(2) {
  margin-top: 1em;
}

.basic-section p {
  color: #444444;
  font-size: 0.9rem;
}

.basic-section ul {
  color: #444444;
  font-size: 0.9rem;
}

.basic-section li {
  color: #444444;
  font-size: 0.9rem;
  line-height: 1.5rem;
  padding-left: 1em;
  text-indent: -1em;

}

.kakunin {
  color: #ff0000 !important;
}


.carriercenter-intro {
  display: block;
  color: #444444;
  margin-bottom: 15px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.7rem;
}

.tanni-titile{
color: #444444;
font-weight: 600;
text-indent: -1rem;
font-size: 0.9rem;
display: block;
margin-top: 10px;
margin-left: 1em;
}

/* ===== 表 ===== */
.gym-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.gym-table th,
.gym-table td {
  border: 1px solid #cccccc;
  padding: 0.5rem;
  vertical-align: top;
  text-align: center;
}

/* 見出し */
.gym-table thead th {
  background: #f2f2f2;
  font-weight: bold;
}

/* 時間列 */
.gym-table tbody th {
  background: #fafafa;
  width: 7rem;
  font-weight: normal;
}

/* 面表示 */
.gym-table small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: #666;
}

.basic-section li{
  margin-bottom: 0.5rem;
}

/* ===== 体育館使用表 共通 ===== */
.gym-usage {
  margin-top: 2rem;
  color: #444444;
  font-size: 0.9rem;
  line-height: 1.6;
}

.gym-usage h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.gym-usage h3 {
  font-size: 1.1rem;
  margin: 2rem 0 0.3rem;
}

.gym-note {
  margin-bottom: 1rem;
}

.basic-operation-article h2{
  margin-bottom: 20px;

}