/* ハンバーガーボタン・閉じるボタン（PCでは非表示） */
.hamburger-btn,
.mobile-nav-close {
  display: none;
}

@media screen and (max-width: 768px) {
/* ===== ハンバーガーメニュー ===== */

/* ヘッダーナビの横幅オーバー防止（body.information-session等でハンバーガーメニュー未使用時） */
html,
body {
  overflow-x: hidden;
}
#header {
  overflow-x: hidden;
}

#header #headGuide #logo {
  width: 235px;
}

#logo > a:nth-child(1) > img:nth-child(1) {
  width: 170px;
  height: auto;
}


.h-prason {
  display: none;
}


.h-contact {
  display: none;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-left: auto;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.personal-site .h-navi-container {
  position: static;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
body.personal-site .h-navi-container.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s;
  z-index: 10;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.mobile-nav-close {
  display: block;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  font-size: 2.4rem;
  line-height: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 10;
}
body.personal-site .h-navi-container.is-open .mobile-nav-panel {
  transform: translateX(0);
  display: block;
}

.mobile-nav-list {
  flex-direction: column !important;
  padding: 60px 0 2rem !important;
}
.mobile-nav-list > li > a {
  padding: 1rem 1.5rem !important;
  color: #333 !important;
  border-bottom: 1px solid #eee;
}
.mobile-nav-list .link-parent > a {
  pointer-events: auto;
}
.mobile-nav-list .link-parent > a::after {
  transition: transform 0.3s;
}
.mobile-nav-list .link-parent.is-open > a::after {
  transform: translateY(-50%) rotate(-45deg) !important;
}

.mobile-nav-list .sub-menu {
  position: static !important;
  display: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 0 0 1.5rem !important;
  background: #f8f8f8 !important;
  min-width: auto !important;
}
.mobile-nav-list .link-parent.is-open > .sub-menu {
  display: block !important;
}
.mobile-nav-list .sub-menu li {
  border-bottom: 1px solid #eee;
}
.mobile-nav-list .sub-menu a {
  padding: 0.8rem 1rem !important;
  font-size: 1.4rem !important;
}
.mobile-nav-list .sub-menu ul {
  padding-left: 1rem;
}

.inner{
  width: 96%;
  margin: 0 auto;
  box-sizing: border-box;
}


.breadcrumb {
  flex-wrap: wrap;
}
.breadcrumb li.breadcrumb-item, .breadcrumb li.breadcrumb-item a {
  /* font-size: 1.4rem; */
  font-size: 1.2rem;
}


body.personal-site .breadcrumb li.breadcrumb-item {
  /* font-size: 14px; */
  font-size: 12px;
}

.page-navi {
  box-sizing: border-box;
}

/* 固定表示時のスマホ横幅オーバー防止 */
.page-navi .inner {
  max-width: 100%;
}


.page-ttl h2:nth-child(1) {
  font-size: 2rem;
}

.page-navi > div:nth-child(1) > ul li {
  width: 100% !important;
}

.page-navi > div:nth-child(1) > ul {
  width: 100% !important;
}

/* personal.css | https://soshin2020.dsds.blue/assets/css/personal.css?t=1772725416 */

.info-session-bnr-catch {
  /* font-size: 2rem; */
  font-size: 1.8rem;
}

.info-session-bnr-catch > span:nth-child(1) {
  /* font-size: 1.5rem; */
  font-size: 1.2rem;
  display: block;
}

/* common.css | https://soshin2020.dsds.blue/assets/css/common.css?t=1772725416 */

.main-contents .main-ttl h3:nth-child(1) {
  /* font-size: 2.5rem; */
  font-size: 1.8rem;
}

/* personal.css | https://soshin2020.dsds.blue/assets/css/personal.css?t=1772725492 */

.information-session-schedule-box {
  /* grid-template-columns: 410px 2fr; */
  grid-template-columns: 1fr;
}

.information-session-schedule-box-inner {
  /* border-right: none; */
  border-right: solid 1px #b3b3b3;
  border-bottom: none;
}

.information-session-schedule-box > table tr > th {
  /* width: 100px; */
  width: 65px;
  padding: .5rem 0;
  font-size: 1.4rem;
}

.information-session-schedule-box > table tr > td {
  /* padding: 0 1rem; */
  padding: .5rem;
}

.information-session-schedule-box > table tr > th.reserve-th {
  /* width: 190px; */
  width: 65px;
}

.information-session-schedule-box-inner {
  /* padding: 2rem; */
  padding: 1rem 1rem;
}

/* --------------------------

高校入試制度
  -------------------------- */

  #entranceSystem  table {
    -webkit-text-size-adjust: 100%;
  }

#entranceSystem .examinationSchedule {
  /* width: 740px; */
  width: 100%;
}

.entranceSystem .examinationSchedule table {
   width: auto !important;
  }
#entranceSystem .examinationSchedule table.green th{
    width: auto !important;
    font-size: 1.2rem ;
  }

/* base.css | https://soshin2020.dsds.blue/css/base.css?t=1779413678 */
/* 千葉県高校入試制度ページ：table-scroll-mobile（左列固定）/ table-scroll-mobile-x（横スクロールのみ） */
body.entranceSystem {
  overflow-x: visible;
}

.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin-bottom: 1em;
}
.table-scroll-wrap > table {
  width: max-content;
  min-width: 100%;
  margin-bottom: 0;
  border-spacing: 0;
}
.table-scroll-wrap > table th,
.table-scroll-wrap > table td {
  border: solid 1px #666666;
}

/* 左列固定タイプ（table.table-scroll-mobile） */
.table-scroll-wrap--fix-col > table th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background-color: #dcf0f0;
  border-right: none;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.08);
}
.table-scroll-wrap--fix-col.fix-scroll > table th:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  border: none;
  border-right: #666666 solid 1px;
  border-left: #666666 solid 1px;
}

/* 横スクロールのみタイプ（table.table-scroll-mobile-x） */
.table-scroll-wrap--scroll-only > table th:first-child,
.table-scroll-wrap--scroll-only > table td:first-child {
  position: static;
  box-shadow: none;
}






/*
body.entranceSystem .main-contents .table-scroll-wrap > table th:nth-child(1) {
  width: auto !important;
}
body.entranceSystem .main-contents .table-scroll-wrap > table th:nth-child(2) {
  width: auto !important;
}
*/
#entranceSystem table td {
  width:auto;
}
/* 通学区域 */
#entranceSystem.publicSchoolArea table.school-district-table {

}
#entranceSystem.publicSchoolArea table td {
  font-size: 15px !important;
}

/* */
#entranceSystem .examinationSchedule table td {
  font-size: 12px;
}
#entranceSystem table.GeneralSelection td {
  width: auto !important;
}
#entranceSystem table.GeneralSelection th:nth-child(1) {
  width: 5em !important;
}
#entranceSystem table.GeneralSelection th:nth-child(2) {
  width: 30em !important;
} 


#entranceSystem table.timne-schedule-table th:nth-child(2) ,
#entranceSystem table.timne-schedule-table th:nth-child(3) ,
#entranceSystem table.timne-schedule-table th:nth-child(4) ,
#entranceSystem table.timne-schedule-table th:nth-child(5) {
width: 10em !important;
}
/* 一般入学者選抜の検査内容と選抜方法 */
#entranceSystem table.Grades-table {
  width: 100% !important;
}
#entranceSystem .Grades-table-box {
  grid-template-columns: auto;
}

/*
body.entranceSystem .main-contents .table-scroll-wrap > table.Grades-table tr:nth-child(2) th {
  width:33% !important;
}
*/
#entranceSystem table.GeneralSelection.Method th:nth-child(1) {
  width: 13em !important;
}
#entranceSystem table.GeneralSelection.Method th:nth-child(2) {
  width: 13em !important;
}
#entranceSystem table.GeneralSelection.Method td:nth-child(3) {
  width: 10em !important;
}
#entranceSystem table.GeneralSelection.Method th:nth-child(3) {
  width: 15em !important;
} 
#entranceSystem table.GeneralSelection02.Method th:nth-child(1) {
  width: 13em !important;
}
.Selectedschool-box{
  grid-template-columns: 1fr;
  gap: 10px;
}

#entranceSystem table.Selectedschool {
  width: 100% !important;
  margin-right: 0 !important;
}
#entranceSystem table.Selectedschool th {
  width: 7em !important;
}
#entranceSystem table.Selectedschool td {
  width: 7em !important;
}
/*  */
#entranceSystem table.Entrance-schedule-table {
  width: max-content !important;
}
#entranceSystem table.Entrance-schedule-table th {
  width: 10em !important;
}


#entranceSystem table.Additionalx_test {
  width: 120em !important;
}
#entranceSystem table.Additionalx_test tr:nth-child(1) th:nth-child(2) {
  width: 13em !important;
}
#entranceSystem table.Additionalx_test tr:nth-child(2) th:nth-child(1) {
  width: 25% !important;
}
#entranceSystem table.Additionalx_test tr:nth-child(2) th:nth-child(2) {
  width: 25% !important;
}
#entranceSystem table.Additionalx_test tr:nth-child(2) th:nth-child(3),
#entranceSystem table.Additionalx_test tr:nth-child(2) th:nth-child(4) {
  width: 25% !important;
}
/* 公立高校 選抜日程 表のスタイル 入試制度の表関係の最後に記述すること*/
#entranceSystem.publicExaminationSchedule .examinationSchedule > div:nth-child(1) {
  margin-bottom:1em !important;
}
#entranceSystem.publicExaminationSchedule .examinationSchedule table,
#entranceSystem.publicExaminationSchedule .examinationSchedule table tbody,
#entranceSystem.publicExaminationSchedule .examinationSchedule table tr,
#entranceSystem.publicExaminationSchedule .examinationSchedule table th,
#entranceSystem.publicExaminationSchedule .examinationSchedule table td {
  display: block;
  width:100% !important;
}
#entranceSystem.publicExaminationSchedule .examinationSchedule table{
  overflow: hidden !important;

}

#entranceSystem.publicExaminationSchedule .examinationSchedule table th,
#entranceSystem.publicExaminationSchedule .examinationSchedule table td {
  padding:1em !important;
  font-size:15px !important;
}
#entranceSystem.publicExaminationSchedule .examinationSchedule table th {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}
#entranceSystem.publicExaminationSchedule .examinationSchedule table td {
  border-bottom: none !important;
}
#entranceSystem.publicExaminationSchedule .examinationSchedule table td.Comment {
  display: none !important;
}
#prefectural table.school-district-table2 {
  width: 100% !important;
  line-height: 1.5;
}
#prefectural table.school-district-table2 th{
  width: 22% !important;
  padding: 0 5px !important;
  line-height: 1.5;

}
#prefectural table.school-district-table2 td{
  line-height: 1.5;

}
.schoolDistrictList{
  width: 100% !important;
}
#entranceSystem table.schoolDistrictList th{
  padding: 5px;
}
.schoolDistrictList th.thSkyGreen{
  width: 90px !important;
  padding: 3px 7px !important;
}

#entranceSystem table#entransSystemSummary th.gray{
  width: 1.4em;
}
#entranceSystem table#entransSystemSummary {
  width: 100%;
}

/* --------------------------

footer
  -------------------------- */

#footer {
}

.footNavi {
  /* grid-template-columns: 300px 300px 1fr; */
  grid-template-columns: 1fr;
}

.footNavi2 ul {
  /* grid-template-columns: 1fr 1fr 1fr 1fr; */
  grid-template-columns: 1fr 1fr;
}

.footNavi2 ul > li > a {
  /* border: solid 4px #3ba2a4; */
  /* font-size: 1.7rem; */
  /* color: #3ba2a4; */
  border: solid 4px #3a7ec5;
  font-size: 1.5rem;
  color: #3a7ec5;
}

#footer #copyright00 {
  /* background-color: #3ba2a4; */
  background-color: #3a7ec5;
}

#footer dl {
  flex-direction: column;
}


}