@charset "utf-8";
/*
Theme Name: nagasaki-kita-highschool
Version: 1.0
*/
html {
    font-size: 62.5%;
    min-width: 340px;
}
body {
    color: #1F1F1F;
    font-size: 1.6rem;
    font-family: "Noto Sans JP", "Noto Serif JP", sans-serif , serif;
}
section {
	padding: 80px 4.45%;
}
h2, h3 {
	font-weight: bold;
    font-family: "Noto Serif JP", serif;
	color: #13398A;
}
h2 {
	font-size: 5.2rem;
}
h3 {
	font-size: 3.0rem;
}
h4,h5 {
    font-weight: 500;
	margin-top: 30px;
}
h4 {
	font-size: 2.4rem;
	margin-bottom: 30px;
}
h5 {
	font-size: 2.0rem;
	margin-bottom: 10px;
}
h6 {
	font-size: 1.6rem;
	font-weight: 500;
	margin-bottom: 10px;
}
a {
	font-weight: 500;
    color: #1F1F1F;
}
a:hover {
	opacity: .85;
}
main a img {
  transition: transform 0.4s ease;
}
main a:hover img {
  transform: scale(1.08);
  transition: transform 0.4s ease;
}
main a, main a > * {
	overflow: hidden;
}

table {
	margin-bottom: 30px;
}
.sp-br {
    display: none;
}
.p-left-20 {
	padding-left: 20px;
}
.hide {
    opacity: 0;
    visibility: hidden;
    transition: .2s;
}
.slick-initialized .slick-slide {
	position: relative;
}
.slick-initialized .slick-slide::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #000000;
	opacity: .1;
}

/* headerメニュー */
.header-menu {
	position: fixed;
	width: 100%;
	height: 70px;
	padding-right: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #13398A;
	z-index: 9;
}
#logo {
	height: 100%;
	padding: 15px 2.5%;
	background-color: #ffffff;
}
#logo a {
	display: flex;
	gap: 8px;
}
#logo h1 {
    font-family: "Noto Serif JP", serif;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.3;
}
#logo h1 span {
	display: block;
	font-size: 1.3rem;
	font-weight: 500;
}
#logo img {
	width: 40px;
	height: 40px;
}
.menu-list, #menu-header-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	color: #ffffff;
}
.head-sns img {
	width: 25px;
	height: 25px;
}
.head-access {
	padding: 5px 15px;
	border: 1px solid #ffffff;
	transition: .2s;
}
.head-access:hover {
	background-color: #ffffff;
	color: #13398A;
	opacity: 1;
}
.hb-menu {
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}
.hb-menu span {
	display: block;
	padding-bottom: 8px;
	width: 100%;
	border-top: 1px solid #ffffff;
}
.menu-list a {
	color: #ffffff;
}
.menu-list ul.menu {
	display: flex;
	gap: 22px;
}
.menu-list ul.menu li {
	position: relative;
}
.menu-list ul.menu li a {
	pointer-events: none;
}
.menu-list ul.sub-menu {
	padding-top: 10px;
	display: none;
	position: absolute;
	left: -15px;
}
.menu-list ul.sub-menu li a {
	pointer-events: inherit;
	display: inline-block;
	position: relative;
	width: 100%;
	height: 100%;
	font-weight: 400;
	padding-left: 16px;
}
.menu-list ul.sub-menu li a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 10px;
	height: 1px;
	background-color: #ffffff;
	transform: translatey(-50%);
}
.menu-list ul.menu li:hover ul.sub-menu {
	display: flex;
	flex-direction: column;
	padding: 20px 0;
	min-width: 280px;
}
.menu-list ul.menu li:hover ul.sub-menu li {
	padding: 4px 20px;
	background-color: #13398A;
}
.menu-list ul.menu li:hover ul.sub-menu li:last-of-type {
	padding-bottom: 15px;
}

/* ハンバーガーメニュー */
nav.hamburger-menu-list {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	gap: 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #13398A;
	padding: 0 3.5%;
	transition: .3s;
	transition-timing-function: ease-in;
	transform: translatex(-105%);
	overflow-y: scroll;
	overflow-x: hidden;
}
nav.hamburger-menu-list.active {
	transition: .3s;
	transition-timing-function: ease-out;
	transform: translatex(0);
    z-index: 999;
	overflow-x: inherit;
}
.hamburger-ul-box {
	display: flex;
	justify-content: center;
	width: 100%;
	gap: 0 3%;
	padding-top: 60px;
	flex-wrap: wrap;
}
.hamburger-ul-box ul li {
	padding: 15px 0 10px;
	min-width: 250px;
}
.hamburger-ul-box ul li a {
	font-size: 2.0rem;
}
.hamburger-ul-box ul.sub-menu {
	margin-top: 5px;
}
.hamburger-ul-box ul.sub-menu li {
	padding: 0 0 5px 15px;
	position: relative;
}
.hamburger-ul-box ul.sub-menu li::before {
	content: ">";
	color: #ffffff;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}
.hamburger-ul-box ul.sub-menu li a {
	font-size: 1.6rem;
	font-weight: normal;
	border-bottom: 1px solid #cccccc;
}
nav.hamburger-menu-list a {
	color: #ffffff;
}
nav.hamburger-menu-list img {
	max-width: 90px;
	max-height: 90px;
}
nav.hamburger-menu-list .head-sns img {
	width: 35px;
	height: 35px;
	margin-left: 30px;
}
.ham-title {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	padding-bottom: 30px;
}
.ham-tx-box h2,.ham-tx-box p {
	color: #ffffff;
}
.ham-tx-box h2 {
	font-size: 2.8rem;
	margin-bottom: 10px;
}
.close-btn {
	position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
	cursor: pointer;
}
.close-btn span {
    display: block;
	width: 30px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #13398A;
}
.close-btn span:first-of-type {
	transform: translate(-50%, -50%) rotate(45deg);
}
.close-btn span:last-of-type {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.head-sns {
	display: none;
}
/* 共通パーツ */
main {
	padding-top: 70px;
}
section .section-title {
	margin-bottom: 50px;
	padding-bottom: 35px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	line-height: 1;
	position: relative;
}
section .section-title::before {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	background-color: #13398A;
	position: absolute;
	bottom: 0;
}
section .section-title p {
	font-size: 2.0rem;
	color: #1F1F1F;
}
.contain {
	max-width: 1300px;
	margin: auto;
}
.flex-rev {
	flex-direction: row-reverse;
}
.more-btn {
	text-align: center;
}
.more-btn a {
	display: inline-block;
	color: #13398A;
    background-color: #ffffff;
    border: 1px solid #13398A;
	padding: 12px 60px 12px 40px;
	margin: auto;
	font-size: inherit;
	text-align: left;
	position: relative;
	transition: .2s;
}
.more-btn a:hover {
    color: #ffffff;
	background-color: #13398A;
	opacity: 1;
}
.more-btn a:hover::before, .more-btn a:hover::after {
    background-color: #ffffff;	
}
.more-btn span {
	display: inline-block;
	margin-top: 40px;
	margin-left: 60px;
	position: relative;
}
.more-btn a::before, .more-btn a::after, .more-btn span::before, .more-btn span::after {
	content: "";
	display: block;
	background-color: #13398A;
	position: absolute;
	right: 20px;
	top: 50%;
	transition: .2s;
}
.more-btn a::before, .more-btn span::before{
	width: 30px;
	height: 1px;
	transform: translatey(3px);
}
.more-btn a::after, .more-btn span::after {
	width: 10px;
	height: 1px;
	transform: rotate(45deg) translatey(-1px);
}
.more-btn span::before {
	width: 40px;
}
.more-btn span::before, .more-btn span::after {
	height: 2px;
	background-color: #777777;
}
/* MV */
.mv {
	height: 80vh;
    max-height: 800px;
    position: relative;
    overflow: hidden;
	background: url(https://nagasaki-kita.ed.jp/wp-content/uploads/2025/05/top-video-scaled.png);
	background-size: cover;
	background-position: center;
}
.mv video {
	width: 100%;
    height: 82vh;
    object-fit: cover;
}
#cation ul {
	display: flex;
	flex-direction: column;
	padding: 10px 4.45%;
	border-bottom: 1px solid #cf2e2e;
}
#cation ul li {
	padding: 10px 0;
	border-bottom: 1px solid #cccccc;
}
#cation ul li:last-of-type {
	border-bottom: none;
}
#cation ul li a {
	display: flex;
	gap: 15px;
	color: #cf2e2e;
	font-family: "Noto Serif JP", serif;
	font-weight: bold;
}
#cation ul li a span {
	font-weight: normal;
	min-width: 80px;
}
/* バナーエリア */ 
#banner-area {
	background-color: #F7FAFF;	
}
#banner-area .top-banner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px;
	display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fill, minmax(300px, 450px));
    justify-content: center;
    gap: 20px 25px;
}
#banner-area .top-banner img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: #ffffff;
}
/* イベント */
#event .event-head {
	display: flex;
    align-items: flex-end;
    justify-content: space-between;
	padding: 0 10px 10px;
	line-height: 1;
	margin-bottom: 50px;
	position: relative;
}
.scroll .event-head::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	border-bottom: 2px solid #13398A;
	transition: .3s;
}
.effects .event-head::before {
	width: 100%;
}
#event .event-title {
	display: flex;
	align-items: baseline;
	gap: 15px;
}
#event .event-title h2 {
	font-size: 4.0rem;
}
#event .more-event a {
	border: none;
	padding: 0 38px 0 0;
	color: #1F1F1F;
}
#event .more-event a:hover {
	color: inherit;
	background-color: inherit;
	opacity: .85;
}
#event .more-btn a::before, #event .more-btn a::after {
	right: 0;
	background-color: #1F1F1F;
}
#event .event-list p {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 8px;
	min-width: 80px;
	min-height: 80px;
	color: #ffffff;
	background-color: #7F9EDB;
	border-radius: 50%;
	font-size: 2.0rem;
	font-weight: bold;
	line-height: 1;
}
#event .event-list p .event-year {
	font-size: 1.3rem;
}
#event .event-list p .event-day {
	padding-bottom: 9px;
}
#event .event-list {
	display: flex;
}
#event .event-list li {
	display: flex;
	align-items: center;
	gap: 4%;
	width: 33%;
	padding: 0 20px;
	border-right: 2px solid #D0DCF5;
	font-size: 1.8rem;
}
.no-event {
	display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}
.no-event h5 {
	margin: 0 auto;
}
#event h6.more-btn a::before, #event h6.more-btn a::after {
	background-color: #13398A;
	right: 20px;
}
#event h6.more-btn a:hover::before, #event h6.more-btn a:hover::after {
    background-color: #ffffff;	
}
/* お知らせ */
#news {
	background-color: #F7FAFF;
}
#news ul, .news-archive {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 400px));
    justify-content: center;
    gap: 30px 20px;
}
#news ul {
    margin-bottom: 60px;	
}
#news ul li, .news-archive li {
	min-width: 300px;
    background-color: #ffffff;
    border: 1px solid #7f9fdb80;
}
#news ul li,#school-life .life-list li {
	position: relative;
	top: -40px;
	opacity: 0;
	transition: .8s;
}
#news ul li.effects,#school-life .life-list li.effects {
	top: 0;
	opacity: 1;
}
#news ul li a, .news-archive li a {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	padding: 20px 15px;
}
#news ul li p, .news-archive li p {
	margin-bottom: 8px;
	width: 100%;
}
#news .news-img img, .news-archive li img {
	width: 80%;
    height: 180px;
    margin: auto;
	object-fit: cover;
	object-position: center;
}
#news ul span, .news-archive span {
	font-size: 1.4rem;
	margin-top: 3px;
	margin-left: 10px;
	line-height: 1.3;
}
#news ul span.news-cate, .news-archive .news-cate {
	display: inline;
	padding: 2px 10px 3px;
	color: #ffffff;
	background-color: #13398A;
}
#news ul span.news-date, .news-archive span.news-date {
	font-weight: normal;
}
#news ul span.news-title, .news-archive span.news-title {
	font-size: 1.8rem;
}
/* スクールライフ */
#school-life {
	background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.8)),url(https://nagasaki-kita.ed.jp/wp-content/uploads/2025/03/s_kousya.jpg);
	background-size: cover;
}
#school-life .life-list {
	display: grid;
	gap: 30px;
}
#school-life .life-item{
	display: flex;
	background-color: #ffffff;
	box-shadow: 0 5px 10px #00000077;
	opacity: 1;
}
#school-life .life-img {
	width: 45%;
}
#school-life .life-img img {
	width: 100%;
	height: 300px;	
	object-fit: cover;
}
#school-life .life-tx {
	display: flex;
    align-items: flex-start;
    width: 55%;
    padding: 30px 4.45%;
    flex-direction: column;
    justify-content: center;
}
#school-life .life-tx h3 {
	margin-bottom: 15px;
}
#movie {
	padding: 90px 0;
	background-color: #F7FAFF;
}
#movie .top-movie {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 50px;
}
#movie .top-movie video {
	width: 550px;
	height: 309px;
}
.slick-slide img {
	width: 100%;
	height: auto;
}
main .top-site-links {
	padding: 25px 4.45%;
	background-color: #7f9edb33;
    display: flex;
    justify-content: center;
}
main .top-site-links a {
	display: inline-block;
	padding: 8px;
	background: #ffffff;
}
main .top-site-links a img {
	max-width: 450px;
	width: 100%;
}
/* フッター */
footer {
	padding: 80px 8% 30px;
	color: #ffffff;
	background-color: #13398A;
	text-align: center;
}
footer h2, footer a {
	color: #ffffff;
}
footer h2 {
	font-size: 3.2rem;
	margin-bottom: 15px;
}
footer nav.hamburger-menu-list {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	gap: 50px;
	width: 100%;
	height: auto;
	position: relative;
	padding: 0 0 60px;
	transform: translatex(0);
	overflow: inherit;
}
footer .hamburger-ul-box {
	display: grid;
	gap: 0 4%;
	grid-template-columns: 1fr 1fr 1fr;
	justify-items: center;
    max-width: 1200px;
}
footer .hamburger-ul-box ul li {
	text-align: left;
}
.footer-add {
	font-size: 1.8rem;
}
.footer-add a {
	border-bottom: 1px solid #ffffff;
}
.footer-links {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
}
.footer-links a {
	position: relative;
	padding: 15px 70px 15px 30px;
	border: 2px solid #ffffff;
	transition: .2s;
}
.footer-links a:hover {
	background-color: #ffffff;
	color: #13398A;
	opacity: 1;
}
.footer-links a::before, .footer-links a::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	background-color: #ffffff;
	transition: .2s;
}
.footer-links a:hover::before, .footer-links a:hover::after {
		background-color: #13398A;
}
.footer-links a::before{
	width: 30px;
	height: 1px;
	transform: translatey(3px);
}
.footer-links a::after {
	width: 10px;
	height: 1px;
	transform: rotate(45deg) translatey(-1px);
}
.go-top {
	width: 50px;
    height: 50px;
    background-color: #ffffffcc;
    border: 1px solid #13398A;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
	opacity: 1;
	visibility: visible;
	transition: .2s;
}
.go-top-hide {
	opacity: 0;
	visibility: hidden;
	transition: .2s;
}
.go-top a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: #13398A;
    font-size: 1.5rem;
    width: 100%;
    height: 100%;
    padding: 8px 0;
}
.go-top a::before, .go-top a::after {
	content: "";
    display: block;
    position: absolute;
    background-color: #13398A;
    width: 13px;
    height: 2px;
    top: 12px;
}
.go-top a::before {
	transform: translateX(-4px) rotate(-40deg);
}
.go-top a::after {
	transform: translateX(5px) rotate(40deg);
}

/* 固定ページ */
.page-container {
	padding: 0 8.5%;
}
.page-contents-area {
	max-width: 1600px;
	margin: auto;
}
.page-container p a {
	border-bottom: 1px solid #666666;
	line-height: 2;
}
.page-container .page-link-list {
	gap: 15px;
	margin-bottom: 30px;
	align-items: flex-start;
}
.page-link-list a {
	width: 220px;
	padding: 12px 20px;
	font-size: inherit;
	text-align: left;
	position: relative;
}
.wp-block-button a::before {
	content: "";
	display: block;
	width: 20px;
	height: 1px;
	background-color: #13398A;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translatey(3px);
}
.wp-block-button a::after {
	content: "";
	display: block;
	width: 10px;
	height: 1px;
	background-color: #13398A;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: rotate(45deg) translatey(-1px);
}
.wp-block-button a {
	padding-right: 48px;
	color: #13398a;
    background-color: inherit;
    border: 2px solid #13398a;
    border-radius: 0;
	position: relative;
}
.wp-block-buttons {
	margin-bottom: 30px;
}
.page-head {
	display: flex;
	align-items: center;
	height: 300px;
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(https://nagasaki-kita.ed.jp/wp-content/uploads/2025/03/s_kousya.jpg);
	background-size: cover;
}
.page-head h2 {
	font-size: 4.2rem;
	color: #ffffff;
	text-shadow: 2px 2px 2px #000000cc;
}
.breadcrumbs {
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 1.5rem;
	color: #808080;
	line-height: 1.1;
}
.breadcrumbs a {
	font-size: 1.5rem;
	border-bottom: 1px solid #1F1F1F;
}
.page-contents {
	padding-top: 80px;
	padding-bottom: 80px;
}
.page-contents h3 {
	margin-top: 80px;
	margin-bottom: 50px;
	padding-bottom: 10px;
	font-size: 3.2rem;
	line-height: 1;
	position: relative;
}
.page-contents h3:first-of-type {
	margin-top: 0;
}
.page-contents h3::before {
	content: "";
	display: block;
	height: 2px;
	width: 100%;
	background-color: #D0DCF5;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
}
.page-contents h3::after {
	content: "";
	display: block;
	height: 2px;
	width: 100px;
	background-color: #13398A;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 3;
}
.page-contents p {
	margin-bottom: 30px;
}
.wp-block-table tr td:first-of-type {
	font-weight: 500;
	background-color: #F7FAFF;
}
.table-common tr td {
	padding: 10px 10px 10px 18px;
}
.page-contents .link-flex {
	gap: 5px 50px;
}
.page-contents .link-flex .wp-block-column {
	flex-grow: inherit!important;
    flex-basis: inherit!important;
}
.page-contents .link-flex .wp-block-column p {
	margin-bottom: 0;
}
.blue-box {
	margin-bottom: 30px;
	padding: 30px 20px;
	background-color: #F7FAFF;
	border: 1px solid #D0DCF5;
}
.blue-box h4:first-of-type {
	margin-top: 0;
}
.blue-box h5 {
	font-size: 1.8rem;
	font-weight: bold;
	color: #13398A;
}
.blue-box-list {
	padding-left: 20px;
}
.blue-box-list li::before {
	padding-right: 3px;
}
.blue-box-list li:first-of-type::before {
	content: "\02460";
}
.blue-box-list li:nth-of-type(2)::before {
	content: "\02461";
}
.blue-box-list li:nth-of-type(3)::before {
	content: "\02462";
}
.blue-box-list li:nth-of-type(4)::before {
	content: "\024603";
}
.blue-box-list li:nth-of-type(5)::before {
	content: "\02464";
}
.blue-box-list li:nth-of-type(6)::before {
	content: "\02465";
}
.blue-box-list li:nth-of-type(7)::before {
	content: "\02466";
}
.blue-box-list li:nth-of-type(8)::before {
	content: "\02467";
}
.blue-box-list li:nth-of-type(9)::before {
	content: "\02468";
}
figcaption {
	text-align: center!important;
}
/* 校是 */
.about-box h4 {
	font-family: "Noto Serif JP", serif;
	font-size: 3,2rem;
	font-weight: bold;
}
.flex-rokkou {
	gap: 10px 2.5%;
}
.flex-sanryou {
	gap: 10px 5%;
}
.flex-kouka {
	gap: 30px;
}
.history-list {
	margin-bottom: 7px;
	align-items: center;
}
.history-year {
	min-width: 128px;
	height: 32px;
	padding: 4px 15px;
	justify-content: space-between;
	background-color: #F2F2F2;
	gap: 3px;
}
.history-list > p:last-of-type {
	padding-top: 4px;
}
/* あいさつ */
.principal {
	margin-bottom: 20px;
}
.principal img {
	border: 1px solid #cccccc;
}
.principal figcaption {
	font-size: 1.4rem;
}
.flex-message {
	margin-bottom: 40px;
	gap: 50px 10%;
}
.flex-message h4 {
	font-family: "Noto Serif JP", serif;
	font-weight: bold;
	color: #13398A;
	line-height: 1.8;
}
/* 生徒数 */
.number-table {
	max-width: 800px;
}
.number-table tr:first-of-type td {
	font-weight: 500;
	background-color: #DEE8FA;
}
.number-table tr:first-of-type td:first-of-type {
	border-left: none!important;
	border-top: none!important;
	background-color: transparent;
}
.number-teacher {
	gap: 0 30px;
}
.number-teacher table {
	table-layout: auto!important;
}
.number-teacher table td {
	width: 130px;
}
/* 学校行事 */
.event-box {
	padding: 30px 5%;
	border-bottom: 2px solid #13398A;
	gap: 30px;
}
.page-contents .event-box:first-of-type {
	padding-top: 0;
}
.event-box > figure img {
	margin-left: auto;
}
.event-detail {
	padding-left: 30px;
}
.event-detail h5 {
	color: #13398A;
	position: relative;
}
.event-detail h5::before {
	content: "";
	height: 80%;
	width: 3px;
	background-color: #13398A;
	position: absolute;
	top: 50%;
	left: -10px;
	transform: translatey(-50%);
}
/* 時制表 */
.time-schedule {
	gap: 30px;
}
.time-schedule h6 {
	font-size: 1.8rem;
}
.time-schedule tr td:first-of-type {
	width: 120px;
}
.time-schedule tr td:last-of-type {
	padding-left: 20px;
}
.summer-time tr td:first-of-type {
	background-color: #FFF7F7;
}
/* 部活動 */
.club-list {
	gap: 20px;
}
.club-info {
	padding: 40px 0;
	border-top: 1px solid #13398A;
	border-bottom: 1px solid #13398A;
}
.club-info h5 {
	font-weight: bold;
	color: #13398A;
}
.club-practice {
	max-width: 500px;
}
.club-practice a {
	width: 110px;
	height: 36px;
    line-height: 1;
    padding: 6px 0 5px;
}
.club-practice a::before, .club-practice a::after{
	right: 10px;
}
/* 進路指導 */
.course-list tr td {
	text-align: center;
}
.course-list tr:first-of-type td, .course-list tr:nth-child(2) td, .course-list tr:nth-child(3) td {
	background-color: inherit;
}
.course-list tr:first-of-type {
	background-color: #13398A;
	font-weight: 500;
}
.course-list tr:first-of-type td {
	color: #ffffff;
	border: 1px solid #606060;
}
.course-list tr:nth-child(2) {
	background-color: #DEE8FA;	
	font-weight: 500;
}
.course-list tr:nth-child(3) {
	background-color: #D0DCF5;	
	font-weight: 500;
}
/* FAQ */
.faq-block h4 {
	margin: 0;
	padding-right: 30px;
	font-size: 2.0rem;
	color: #13398A;
	position: relative;
	cursor: pointer;
}
.faq-block h4::before, .faq-block h4::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translatey(-50%);
	height: 2px;
	width: 24px;
	background-color: #13398A;
	transition: .4s;
	opacity: 1;
}
.faq-block h4::after {
	transform: translatey(-50%) rotate(270deg);
}
.faq-block h4.open-btn::after {
	transform: translatey(-50%) rotate(0);
	opacity: 0;
}
.faq-answer {
	margin-left: 10px;
	height: 0;
	overflow: hidden;
	opacity: 0;
	transition: .3s;
}
.open {
	display: block;
	margin-top: 30px;
	height: auto;
	overflow: inherit;
	opacity: 1;
}
.faq-white-box {
	padding: 20px 30px;
	background-color: #ffffff;
	border: 1px solid #13398A;
	margin-bottom: 10px;
}
.faq-white-box p:last-of-type {
	margin-bottom: 0;
}
/* アクセス */
.access-box {
	padding: 30px 2%;
	background-color: #F7FAFF;
	gap: 20px 4%;
}
.page-contents .access-box h4, .page-contents .access-box h5 {
	margin: 0;
}
.page-contents .access-box h4 {
	font-size: 2.6rem;
	line-height: 1.2;
}
.page-contents .access-box h5 {
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
}
.page-contents .access-box img {
	min-width: 475px;
}
.page-contents .access-box p {
	margin: 3px 0;
}
.page-contents .access-box a {
	font-weight: normal;
}
.access-detail {
	padding-top: 10px;
	gap: 18px;
}
.access-detail-01 {
	color: #13398A;
}
.access-detail-03 {
	align-items: stretch!important;
	gap: 20px;
}
.access-detail-03-box {
	padding: 20px;
	background-color: #ffffff;
	border: 1px solid #13398A;
}
.access-go tr td, .access-leave tr td {
	padding: 10px 20px;
}
.access-go tr td:first-of-type {
	font-weight: inherit;
	background-color: #FAFAFA;
	width: 165px;
}
.access-go tr td:first-of-type a {
	font-weight: inherit;
	color: #13398A;
}
.access-leave tr td:first-of-type {
	font-weight: inherit;
	background-color: inherit;
}
.access-leave tr:first-of-type td {
	font-weight: 500;
	text-align: center;
}
.access-leave tr:first-of-type td:first-of-type {
	background-color: #FFF7F7;
}
.access-leave tr:first-of-type td:last-of-type {
	background-color: #F7FAFF;
}
/* お問合せ */
.page-contents form p {
	margin-bottom: 18px;
}
form label span {
	display: block;
	margin-top: 5px;
}
form label span input, form label span textarea {
	min-width: 280px;
	width: 40%;
	padding: 6px 12px;
	border: 1px solid #999999;
}
form p.form-policy label {
	display: flex;
	align-items: center;
	gap: 8px;
}
form p.form-policy input {
	width: 20px;
	height: 20px;
}
form p.form-policy label span {
	margin-top: 0;
}
.form-policy .wpcf7-list-item {
	margin-left: 0;
}
form input[type="submit"] {
	cursor: pointer;
	padding: 10px 30px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #13398A;
    border: none;
    box-shadow: 2px 3px 2px #00000033;
}
form input[type="submit"]:hover {
	box-shadow: inherit;
}
/* お知らせ一覧 */
.post-archive .page-container {
	background-color: #F7FAFF;
}
.post-archive .post-contents {
	padding: 80px 0;
	background-color: #F7FAFF;
}
.post-cate {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
}
.post-cate p {
	margin: 0;
}
.page-container .post-cate p a {
	display: inline-block;
	padding: 15px 40px;
	color: #13398A;
	background-color: #ffffff;
	border: 1px solid #13398A;
	line-height: 1;
	transition: .2s;
}
.page-container .post-cate p a:hover {
	color: #ffffff;
	background-color: #13398A;
	opacity: 1;
}
.page-container .post-cate p.current a {
	color: #ffffff;
	background-color: #13398A;
	border: 1px solid #ffffff;
}
.archive-thumbnail {
	min-width: 300px;
	min-height: 180px;
}
.post-bottom-links .nav-links ul {
	display: flex;
	justify-content: center;
	gap: 10px;
    flex-wrap: wrap;
}
.post-bottom-links .nav-links ul .page-numbers {
	display: inline-block;
	width: 25px;
	height: 25px;
    padding: 3px 0;
	color: #13398A;
	background-color: #ffffff;
	border: 1px solid #13398A;
	text-align: center;
	line-height: 1;
	transition: .2s;
}
.post-bottom-links .nav-links ul .page-numbers:hover {
	color: #ffffff;
	background-color: #13398A;
	opacity: 1;
}
.post-bottom-links .nav-links ul li .current {
	color: #ffffff;
	background-color: #13398A;
}
.post-bottom-links .nav-links ul li .next, .post-bottom-links .nav-links ul li .prev {
	margin: 0 10px;
	background-color: inherit;
	border: inherit;
	position: relative;
}
.post-bottom-links .nav-links ul li .next:hover, .post-bottom-links .nav-links ul li .prev:hover {
	background-color: inherit;
	color: inherit;
	opacity: inherit;
}
.post-bottom-links .nav-links ul li .next::before, .post-bottom-links .nav-links ul li .next::after, .post-bottom-links .nav-links ul li .prev::before, .post-bottom-links .nav-links ul li .prev::after {
	content: "";
	display: block;
	width: 10px;
	height: 1px;
	background-color: #13398A;
	position: absolute;
}
.post-bottom-links .nav-links ul li .next::before {
	top: 39%;
	left: 0;
	transform: rotate(45deg);
}
.post-bottom-links .nav-links ul li .next::after {
	top: 65%;
	left: 0;
	transform: rotate(-45deg);
}
.post-bottom-links .nav-links ul li .prev::after {
	top: 39%;
	right: 0;
	transform: rotate(-45deg);
}
.post-bottom-links .nav-links ul li .prev::before {
	top: 65%;
	right: 0;
	transform: rotate(45deg);
}
.single .page-contents table {
	max-width: 800px;
}
.single .page-contents table tr td:first-of-type {
	width: 22%;
	text-align: center;
}
/* お知らせ */
.post-main .page-contents, .post-main .post-bottom-links {
	background-color: #F7FAFF;
}
.post-contents {
	max-width: 1600px;
	margin: auto;
	padding: 40px 7%;
	background-color: #ffffff;
}
.post-contents figure {
	margin-bottom: 30px;
}
.post-contents img {
    width: auto;
    max-width: 580px;
    height: auto;
	max-height: 60vh;
	min-height: 200px;
	object-fit: cover;
	margin: auto;
}
.post-contents .post-fist-img {
	margin-bottom: 30px;
}
.post-contents .post-fist-img img {
	width: 100%;
	height: auto;
}
.post-date-cate {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 50px;
}
.post-date-cate .category {
	margin-bottom: 0;
}
.post-date-cate .category a {
	font-size: 1.4rem;
	border-bottom: none;
	padding: 2px 10px;
	color: #ffffff;
	background-color: #13398A;
}
.post-main .page-contents h3:first-of-type {
	font-family: "Noto Sans JP", serif;
	font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 0;
	color: #1F1F1F;
}
.post-main .page-contents h3::before, .post-main .page-contents h3::after {
	display: none;
}
.post-main .post-bottom-links {
	padding-bottom: 80px;
	display: flex;
	justify-content: center;
    align-items: center;
	gap: 50px;
}
.post-main .post-bottom-links .archive-link a {
	background-color: #13398A;
	color: #ffffff;
}
.post-main .post-bottom-links a {
	display: inline-block;
	padding: 10px 40px;
	border: 1px solid #13398A;
	font-weight: normal;
	background-color: #ffffff;
	color: #13398A;
}
.post-main ul {
	margin-bottom: 30px;
	padding-left: 30px;
	list-style: inherit;
}
.post-main ul li {
	list-style: inherit;
}

/* 同窓会 */
body#reunion {
	font-size: 1.8rem;
}
#reunion .header-menu {
	padding: 0;
	height: 100%;
	flex-direction: column;
	background-color: inherit;
	position: relative;
}
#reunion > .header-menu {
	position: sticky;
    top: 0;
    z-index: 99;
    background: #fff;
    border-bottom: 2px solid #203D79;
}
#reunion .header-menu h1 {
	width: 100%;
	padding: 150px 50px;
	display: flex;
	justify-content: center;
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(https://nagasaki-kita.ed.jp/wp-content/uploads/2025/03/s_kousya.jpg);
	background-size: cover;
}
#reunion .header-menu img {
	width: auto;
	max-height: 60px;
}
#reunion .header-menu #menu-dousoukai-menu {
	padding: 20px 0;
	display: flex;
}
#reunion .header-menu #menu-dousoukai-menu .menu-item {
	margin: 0 16px;
}
#reunion .header-menu .menu-list {
	gap: 16px;
}
#reunion .header-menu .menu-list a {
	font-size: 1.8rem;
	font-weight: 500;
	color: #203D79;
}
#reunion .ds-head-contact {
	padding: 5px 15px;
	border: 1px solid #203D79;
}
#reunion main {
	padding: 50px 10% 80px;
    display: flex;
    gap: 80px;
    flex-direction: column;
	background-color: #203D79;
}
#reunion main h2 {
	color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
	font-size: 3.2rem;
	font-weight: 500;
}
#reunion section {
	padding: 0;
}
#reunion .cation-box {
	padding: 0 4%;
	display: flex;
	justify-content: center;
}
#reunion .cation-tx {
	padding: 30px 7.5%;
	max-width: 900px;
	background-color: #FAFBFC;
	border: 2px solid #BD1515;
}
#reunion #ds-news .contain {
	padding: 30px;
	background-color: #FAFBFC;
}
#reunion #ds-news .ds-news-title {
	display: flex;
	justify-content: space-between;
	padding-bottom: 15px;
	border-bottom: 2px solid #203D79;
}
#reunion #ds-news h2 {
	color: #1F1F1F;
	font-size: 2.4rem;
}
#reunion .more-ds-news {
	display: flex;
	border: 1px solid #1F1F1F;
}
#reunion .more-ds-news a {
	padding: 3px 50px 4px 25px;
	position: relative;
}
#reunion .more-ds-news a::before, #reunion .more-ds-news a::after {
    content: "";
    display: block;
    background-color: #1F1F1F;
    position: absolute;
    right: 15px;
    top: 50%;
}
#reunion .more-ds-news a::before {
    width: 25px;
    height: 1px;
    transform: translatey(5px);
}
#reunion .more-ds-news a::after {
    width: 10px;
    height: 1px;
    transform: translatey(1px) rotate(45deg);
}
#reunion ul.ds-news-list {
	padding: 10px 1.75%;
}
#reunion ul.ds-news-list li {
	padding: 15px 0;
	border-bottom: 1px solid #CCCCCC;
}
#reunion .ds-news-list .news-date {
	min-width: 100px;
	margin-right: 20px;
	font-weight: normal;
}
#reunion .ds-news-list .title {
	color: #203D79;
}
#reunion #ds-blog div.ds-blog-title {
	text-align: center;
	position: relative;
}
#reunion #ds-blog div.ds-blog-title::before {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background-color: #FAFBFC;
	position: absolute;
	top: 50%;
	transform: translatey(-50%);
}
#reunion #ds-blog p .ds-blog-title {
	font-size: 2.0rem;
	padding-top: 5px;
	color: #203D79;
}
#reunion #ds-blog .ds-blog-title h2 {
	display: inline-block;
	padding: 0 20px;
	background-color: #203D79;
	position: relative;
	z-index: 3;
}
#reunion #ds-blog ul {
	margin: 40px auto;
	display: grid;
	justify-content: center;
    grid-template-columns: repeat(auto-fit, 550px);
	gap: 20px;
}
#reunion #ds-blog ul li {
	min-width: 550px;
	width: 49%;
	background-color: #FAFBFC;
}
#reunion #ds-blog ul li a {
	padding: 18px;
	display: grid;
	gap: 15px;
    grid-template-columns: 220px auto;
}
#reunion #ds-blog ul li a img {
	width: 220px;
	height: 160px;
	object-fit: cover;
}
#reunion #ds-blog p.ds-blog-tx {
	display: flex;
	flex-direction: column;
}
#reunion .ds-info h2 {
	color: #1F1F1F;
	padding: 20px 0;
}
#reunion .ds-info-box {
	padding: 0 3% 50px;
	gap: 5%;
}
#reunion .ds-info-box h4 {
	display: inline-block;
	margin: 40px 0 18px;
    padding: 0 10px 2px;
	font-size: 2.2rem;
	color: #203d79;
    border-bottom: 2px solid #203d79;
}
#reunion .ds-info-box p {
	margin: 0 15px;
}
#reunion .ds-info-box .ds-info-add {
	display: inline-block;
	margin-top: 12px;
	padding: 10px 20px;
	font-weight: 500;
	border: 1px solid #203D79;
}
#reunion footer {
	padding: 40px 0 20px;
	background-color: #FAFBFC;
	color: #203d79;
}
#reunion footer h2 {
	font-size: 2.8rem;
}
#reunion footer h2, #reunion footer a {
	color: #203d79;
	font-family: "Noto Serif JP", serif;
}
#reunion .footer-add {
	margin: 20px 0 30px;
}
#reunion .footer-add a {
	border-bottom: 1px solid #203d79;
}
#reunion .ds-single {
	padding: 50px 5%;
	background-color: #FAFBFC;
}
#reunion .ds-single h2 {
	margin-bottom: 10px;
	font-weight: 500;
	color: #1F1F1F;
}
#reunion .ds-single p {
	margin-bottom: 30px;
}

#reunion .ds-single figure {
	margin-bottom: 30px;
}
#reunion .ds-single img {
    width: auto;
    max-width: 600px;
    height: auto;
	max-height: 70vh;
	object-fit: cover;
    margin: auto;
}
#reunion .single-bottom {
	display: inline-block;
	margin:auto;
}
#reunion .single-bottom a {
	display: inline-block;
	padding: 15px 40px;
	background-color: #FAFBFC;
	font-weight: normal;
	color: #203D79;
	border: 1px solid #203D79;
}

@media (max-width: 980px) {
	#menu-header-menu {
		display: none;
	}
	#logo h1 {
		font-size: 1.6rem;
	}
	.top-site-links a {
		min-width: 250px;
    	padding: 0 75px 0 35px;
	}
	#banner-area .top-banner > div {
		grid-template-columns: repeat(auto-fit, 400px);
		padding: 0 10px;
	}
	#event .event-list {
		flex-direction: column;
		gap: 10px;
	}
	#event .event-head {
		margin-bottom: 30px;
	}
	#event .event-list li {
		width: 100%;
		padding-bottom: 10px;
		border-right: inherit;
		border-bottom: 2px solid #D0DCF5;
	}
	main .top-site-links a img {
		max-width: 400px;
	}
	footer .hamburger-ul-box {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	.page-contents .event-box {
		padding: 30px 0;
		gap: 0;
		grid-template-columns: 1fr;
		justify-items: start;
	}
	.page-container p a {
		line-height: 1.7;
	}
	body .time-schedule {
		flex-direction: column;
	}
	.course-list tr:first-of-type td {
		width: 100px;
	}
}

@media (max-width: 600px) {
	h2 {
		font-size: 4.2rem;
	}
	h3 {
		font-size: 2.5rem;
	}
	h4 {
		font-size: 2.0rem;
		line-height: 1.3;
	}
	h5 {
		font-size: 1.8rem;
	}
	h6 {
		font-size: 1.6rem;
	}
	section .section-title p {
		font-size: 1.6rem;
	}
	#logo {
		padding: 15px;
		width: calc(100% - 55px);
	}
	#logo a {
		gap: 5px;
		align-items: flex-end;
	}
	.ham-title {
		flex-direction: column;
	}
	nav.hamburger-menu-list img {
		max-width: 80px;
		max-height: 80px;
	}
	.ham-tx-box h2 {
		font-size: 2.4rem;
	}
	.top-site-links {
		position: relative;
	}
	.top-site-links p {
		flex-direction: column;
		gap: 20px;
	}
	.top-site-links a, .top-site-links a:first-of-type {
		border: none;
	}
	#cation ul li a {
		gap: 8px;
	}
	#banner-area .top-banner > div {
		margin: 50px auto;
		grid-template-columns: repeat(auto-fit, 320px);
		gap: 12px;
	}
	.head-sns, .head-access {
		display: none;
	}
	#event .event-title {
		flex-direction: column-reverse;
		gap: 8px;
	}
	#event .event-list li {
		padding: 0 10px 10px;
	}
	#event .event-title p {
		font-size: 1.4rem;
	}
	#event .event-list p {
		font-size: 1.8rem;
		min-width: 75px;
		min-height: 75px;
	}
	#event .event-list p .event-day {
		padding-bottom: 6px;
	}
	#event .event-list a .title {
		font-size: 1.6rem;
	}
	#news ul, .news-archive {
		gap: 25px 5%;
	}
	#news ul span.news-title, .news-archive span.news-title {
		font-size: 1.6rem;
	}
	#news .news-img img, .news-archive li img {
		height: 150px;
	}
	#school-life .life-item {
		flex-direction: column;
	}
	#school-life .life-img, #school-life .life-tx {
		width: 100%;
	}
	#school-life .life-img img {
		height: 250px;
	}
	#school-life .life-tx {
		padding: 25px 20px;
	}
	footer h2 {
		font-size: 2.4rem;
	}
	.footer-add {
		font-size: 1.6rem;
	}
	.page-head {
		height: 160px;
	}
	.page-head h2 {
		font-size: 3.2rem;
		line-height: 1.3;
	}
	.page-contents {
		padding: 50px 25px;
	}
	.post-main .page-contents {
		padding: 50px 15px;
	}
	.page-contents h3 {
		font-size: 2.4rem;
		margin-top: 60px;
		margin-bottom: 30px;
		line-height: 1.4;
	}
	.page-container .page-link-list {
		gap: 6px;
	}
	.flex-rokkou, .flex-sanryou {
		gap: 10px 5%;
	}
	.blue-box-list {
		padding-left: 16px;
	}
	.access-box {
		padding: 30px 20px;
	}
	.page-contents .access-box img {
		min-width: inherit;
	}
	.page-contents .access-box h4 {
		font-size: 2.2rem;
	}
	.access-detail-03 {
		width: 100%;
		gap: 10px;
	}
	.access-detail-03-box {
		width: 100%;
		padding: 15px;
	}
	.access-go tr td:first-of-type {
		width: 120px;
	}
	.access-go tr td, .access-leave tr td {
		padding: 12px;
	}
	.faq-block {
		padding: 20px;
		margin-bottom: 20px;
	}
	.faq-block h4 {
		font-size: 1.8rem;
		line-height: 1.5;
	}
	.faq-block h4::before, .faq-block h4::after {
		width: 18px;
	}
	.post-contents {
		padding: 40px 20px;
	}
	.post-main .post-bottom-links {
		flex-direction: column;
		gap: 10px 50px;
		align-items: center;
	}
	.post-main .post-bottom-links a {
		width: 200px;
		text-align: center;
	}
	.post-cate {
		gap: 10px;
	}
	.page-container .post-cate p a {
		padding: 12px 15px;
	}
	.post-archive .post-contents {
		padding: 60px 0;
	}
	.single .page-contents table tr td:first-of-type {
		width: 30%;
	}
	#reunion .header-menu h1 {
		padding: 50px 40px;
	}
	#reunion .header-menu .menu-list {
		flex-direction: column;
		gap: 0;
	}
	#reunion .header-menu #menu-dousoukai-menu {
		padding: 18px 0;
	}
	#reunion .ds-head-contact {
		display: none;
	}
	#reunion main {
		padding: 40px 6% 80px;
		gap: 60px;
	}
	#reunion #ds-news .contain {
		padding: 25px 20px;
	}
	#reunion #ds-news .ds-news-title {
		align-items: flex-end;
		padding-bottom: 10px;
	}
	#reunion #ds-news h2 {
		font-size: 2.0rem;
	}
	#reunion .more-ds-news a {
		padding: 2px 10px;
		font-weight: normal;
		background-color: #203D79;
		color: #FAFBFC;
	}
	#reunion .more-ds-news a::before, #reunion .more-ds-news a::after {
		display: none;
	}
	#reunion ul.ds-news-list {
		padding: 10px;
	}
	#reunion .ds-news-list .news-date {
		display: block;
		margin-right: 0;
	}
	#reunion main h2 {
		font-size: 2.4rem;
	}
	#reunion #ds-blog ul {
		margin: 30px auto;
		gap: 25px 2%;
	}
	#reunion #ds-blog ul {
		grid-template-columns: auto;
	}
	#reunion #ds-blog ul li {
		min-width: inherit;
		width: 100%;
	}
	#reunion #ds-blog ul li a {
		grid-template-columns: auto;
	}
	#reunion #ds-blog ul li a img {
		width: 100%;
	}
	#reunion .ds-info .wp-block-group {
		gap: 0;
	}
	#reunion .ds-info h2 {
		padding: 12px;
	}
	#reunion .ds-info-box {
		margin-bottom: 0;
		padding: 0 25px 50px;
	}
	#reunion .ds-info-box h4 {
		font-size: 2.0rem;
		font-weight: 600;
		margin: 40px 0 6px;
		padding: 0 0 3px;
	}
	#reunion .ds-info-box p {
		margin: 10px 0 0;
	}
	#reunion .ds-banner {
		gap: 16px;
		margin-bottom: 0;
	}
}
@media (max-width: 350px) {
	#logo h1 {
		font-size: 1.5rem;
	}
}