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

html,
body {
  width: 100%;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal;
  color: #333333;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #ffffff 0%, #f4f8ff 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.9;
}

main {
  flex: 1;
}

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

h2 {
  font-size: 1.3rem;
  margin-top: 2em;
  color: #4b6aa5;
}

p {
  margin-bottom: 1.2em;
  text-align: justify;
}


header {
  background-color: #4b6aa5;
  margin-top: 0;
  padding-top: 0;
}

ul {
  padding-left: 0;
}

li {
  list-style: none;
}

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

.burger,
.mobile-school-logo,
.mobile-img,
.burger-menu,
.toggle-icon {
  display: none;
}

.header_logo {
  display: block;
  width: 300px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 10px;
  height: auto;
  line-height: 0;
}

.main-title {
  font-size: clamp(2rem, 2.2vw, 2.4rem);
  color: white;
  text-align: center;
  letter-spacing: 0.25rem;
}


.freedom {
  display: none;
}


.nav-pc {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 40px);
  background-color: #E4E4E1;
  background-image: radial-gradient(at top center,
      rgba(255, 255, 255, 0.03) 40%,
      rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(to top, rgba(255, 255, 255, 0.5) 0%, #5e606199 100%);
  background-blend-mode: normal, multiply;
  height: 60px;
  margin-top: 15px;
  border-bottom: 1px solid #fff;
  flex-wrap: wrap;
  white-space: normal;
  padding: 0 1vw;
  overflow: visible;
}


.nav-pc_list {
  position: relative;
  color: white;
  display: inline-block;
  cursor: pointer;
}


.nav-pc_list::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}


.nav-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: clamp(0.9rem, 0.8vw, 1rem);
  justify-content: space-between;
}


.nav-header::before {
  content: "▶";
  font-size: 0.7rem;
  display: inline-block;
  transition: transform 0.3s ease;
  transform-origin: center;
  margin-left: 6px;
}

.nav-pc_list:hover .nav-header::before {
  transform: rotate(90deg);
}

.nav-pc_list:hover .sub_nav-pc_list {
  display: block;
}

.sub_nav-pc_list {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  width: 250px;
  background: #fff;
  padding: 15px 20px;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  border-radius: 0;
}

.nav-smart_list {
  position: relative;
  display: block;
  padding: 10px 0 10px 35px;
  line-height: 1.6;
  cursor: pointer;
  color: #537895;
  transition: color 0.25s ease;
}


.nav-smart_list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.3px solid #537895;
  border-right: 1.3px solid #537895;
  transform: translateY(-50%) rotate(45deg) scale(1.2);
  transform-origin: center;
  transition: all 0.25s ease;
  opacity: 0.9;
}


.nav-smart_list:hover::before {
  transform: translate(3px, -50%) rotate(45deg) scale(1.3);
  border-color: #3a5b87;
  opacity: 1;
}

.nav-smart_list:hover {
  color: #3a5b87;
}

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

.main_box {
  width: 50%;
  margin: auto;
  padding: 50px 0;
}

.update_news_area {
  display: flex;
}


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.7rem;
  padding: 5px;
}


.breadcrumb {
  width: 90%;
  margin: 10px auto 0 auto;
  font-size: 0.8rem;
  color: #666;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

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

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

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


.spirit-box {
  width: 50%;
  margin: auto;
  padding: 50px 0;
}


.sprit-article {
  line-height: 1.8rem;
  margin-top: 40px;
}

.spirit_writer {
  margin-top: 20px;
  line-height: 1.6rem;
  text-align: right;
}



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

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

.song-word {
  margin: 20px 50px;
  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);
}

.song-writer {
  text-align: center;
}


.motto-area {
  width: min(550px);
  max-width: 550px;
  margin: auto;
  padding: 20px 24px;
  box-sizing: border-box;
}

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

}



.jship-area {
  box-sizing: border-box;
  max-width: 900px;
  margin: auto;
  padding: 0 24px;
  margin: 50px auto;
}


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

.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;
}

.jship-word-sub-area {
  display: flex;
  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;
  display: flex;
  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;
}

.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: 1.3rem;
  margin-bottom: 10px;
  margin-top: 5px;
  text-align: center;
  color: #4b6aa5;
}

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


.history-area {
  width: min(900px, 90%);
  margin: 20px auto;
}

.history-title {
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

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

.history-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
}

.history-table td:first-child {
  width: 25%;
  font-weight: 600;
  color: #3f5d97;
  white-space: nowrap;
}

.curriculum-section img {
  display: block;
  margin: 0 auto;
  width: 45vw;
  max-width: 100%;
  height: auto;
}

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

.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}


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


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


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


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


.curriculum-table td.indent {
  padding-left: 30px;
  text-align: left;
}


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

.course-title {
  color: #234a91;
  font-weight: 600;
  margin: 20px 0 0 0;
}

.bunya {
  margin-bottom: 10px;
}

.study-block {
  background: #ffffff;
  border: 1px solid #dfe8f6;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.study-block h2 {
  background: #1F4E99;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 1.2rem;
  margin: 0 0 16px;
}

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

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

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

.study-block p {
  margin-top: 10px;
  line-height: 1.8;
  color: #333;
}


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

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

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

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

.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: "・";
}


.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;
}


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

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

.bus-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333;
}

.commitee-form{
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border:1px solid #ddd;
  text-align: center;
}

.facility-card .bus-table {
  width: 100%;
  table-layout: fixed;
  /* 隣り合う線を重ねる設定（これが最重要） */
  border-collapse: collapse; 
  
  font-size: 0.9rem;
  line-height: 1.6;
  /* ↓外枠のborderを一旦消す（二重線の原因を排除） */
  border: none; 
  
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin: 10px 0;
}

/* thとtdの線を共通設定 */
.bus-table th,
.bus-table td {
  /* 全てのセルに同じ色・太さの線を引く */
  border: 1px solid #ddd; 
  padding: 8px;
  vertical-align: middle;
  word-break: break-all;
}

.bus-table th {
  width: 30%;
  background-color: #999999;
  color: #fff;
  text-align: center;
  font-weight: 500;
}

.bus-table td {
  text-align: center;
  background-color: #fff;
}

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


.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.95rem;
  color: #333;
}



.rules-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  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;
}

#jyou44-section {
  text-align: center;
  margin: 40px auto;
  padding: 20px;
  width: 80%;
  max-width: 960px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}


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


.touhatsu {
  display: block;
  width: 55vw;
  max-width: 100%;
  height: auto;
  margin: 20px auto 0 auto;
  border-radius: 8px;
}



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

}

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

.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 img {
  max-width: 30vw;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dresscode-text-image {
  display: flex;
}

.dresscode-text-image ul {
  margin-left: 30px;
}

.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: 15px 20px;
  line-height: 1.8;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 30px;;
}

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


.dresscode-section p,
.dresscode-section li {
  line-height: 1.8;
  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;
}



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


.chart01,
.chart02 {
  display: block;
  width: 100%;
  max-width: 60vw;
  /* 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.95rem;
  border: 2px solid #234a91;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.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: 80%;
  max-width: 800px;
  margin: 30px auto 40px auto;
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.update-title {
  font-size: 1.4rem;
  color: #234a91;
  font-weight: 600;
  border-left: 5px solid #234a91;
  padding-left: 10px;
  margin-top: 0;
  margin-bottom: 15px;
}




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

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

}

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

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

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

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



.application-accordion {
  max-width: 1100px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.acc-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e4e6ea;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 28px 30px;
  transition: .2s;
}

.acc-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
  border-color: #16427b;
}

.acc-title {
  background: #16427b;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 0;
  margin-bottom: 18px;
  display: block;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  letter-spacing: 1px;
}

.acc-content {
  display: block !important;
  max-height: 100% !important;
  opacity: 1;
  padding-left: 0;
}

.acc-content h2 {
  font-size: 16px;
  margin-top: 12px;
  font-weight: 600;
  color: #333;
}

.acc-content p {
  margin-bottom: 6px;
  color: #666;
  font-size: 14px;
}


.application-accordion .acc-content h2 {
  border-top: 1px solid #e0e3eb;
  padding-top: 12px;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
}

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


.application-accordion .acc-content p,
.application-accordion .acc-content li {
  font-size: 14px;
  color: #444;
  margin-bottom: 6px;
}



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


.facility-card h3 {
  color: #4b6aa5;
  font-size: 1.3rem;
  padding: 10px 16px;
  border-radius: 8px;

}

.facility-card h4 {
  font-size: 1.1rem;
  color: #16427b;
  border-left: 4px solid #16427b;
  padding-left: 8px;

}


.facility-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 12px;
}

.facility-card table th,
.facility-card table td {
  border: 1px solid #e2e6ee;
  padding: 6px;
  text-align: left;
}

.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;
  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;
}

.schoollife-table thead th {
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  font-weight: 700;
}

.nav-pc_list:nth-child(3):hover .sub_nav-pc_list {
  display: block !important;
  width: 520px;
  padding: 20px 30px;
  column-count: 2;
  column-gap: 30px;
}

.nav-pc_list:nth-child(3) .sub_nav-pc_list {
  display: none;
}

.nav-pc_list:nth-child(3) .nav-smart_list {
  break-inside: avoid;
  padding: 6px 0 6px 25px;
  white-space: nowrap;
}

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

.small-text2 {
  font-size: 0.7rem;
  padding: 0;
  margin: 0;
  line-height: 0.95rem;
}

.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: 14px 18px;
  font-size: 1.5rem;
  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;
}


.carriercenter-department-titile:hover {
  background: #eef2fb;
  box-shadow: 0 4px 12px rgba(75, 106, 165, 0.15);
}


.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.9rem;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #4b6aa5;
  pointer-events: none;
}


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

.schedule-container {
  margin-top: 20px;
  padding: 25px 20px;

  background: #ffffff;
  border-radius: 12px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06);
}


/* =========================
   タイムライン調整
========================= */

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

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


.step {
  position: relative;
  margin-bottom: 36px;
}

.dot {
  position: absolute;
  left: -34px;
  top: 6px;
  width: 16px;
  height: 16px;
  background-color: #4b6aa5;
  border-radius: 50%;
  z-index: 2;

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


.content h3 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #4b6aa5;
}

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

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


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

.top-info {
  font-size: 0.95rem;
  margin: 16px 0 24px;
  line-height: 1.7;
  color: #333;
}

/* =========================
   アコーディオン初期状態
========================= */

.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);
}

.schedule-container {
  margin-bottom: 20px;
}

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

/* タイトル同士の間隔 */
.js-accordion-trigger {
  margin-bottom: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

/* 開いているときは余白を少し詰める */
.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: translateY(2px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.08);
}

/* 矢印だけ少し下へ */
.js-accordion-trigger:hover::after {
  transform: translateY(-35%);
}

/* 開いている時はhover演出を抑える */
.js-accordion-trigger.is-open:hover {
  transform: none;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.04);
}

.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;
  color: #4b6aa5;

  background: #f4f6fb;
  border: 2px 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 {
  display: none;
  margin-top: 16px;
  padding: 20px;
  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;
}


.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;
}

.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.8rem;
  color: #444444;
  display: block;
  margin-top: 5px;
}

.carriercenter-intro {
  display: block;
  color: #444444;
  margin-bottom: 15px;
  margin-bottom: 20px;
}

.tanni-titile {
  color: #444444;
  font-weight: 600;
  text-indent: -1rem;
  margin-left: 1em;
}

/* ===== 体育館使用表 共通 ===== */
.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;
}

.gym-date {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* ===== 注意事項（番号付き） ===== */
.gym-rules {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.gym-rules li {
  margin-bottom: 0.5rem;
}

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

/* ===== 表 ===== */
.gym-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.7rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

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


.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-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: 20px;
  line-height: 1.8rem;
}

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



.basic-operation-list {
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-top: 5px;
}
.basic-operation-list2 {
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-top: 5px;
  margin-bottom: 30px;
}

.basic-operation-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

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

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

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