@charset "utf-8";

/* font */

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../files/font/NotoSansJP-Regular.woff2') format('woff2'),
    url('../files/font/NotoSansJP-Regular.woff') format('woff'),
    url('../files/font/NotoSansJP-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../files/font/YakuHanJPs-Regular.woff2') format('woff2'),
    url('../files/font/YakuHanJPs-Regular.ttf') format('ttf'),
    url('../files/font/YakuHanJPs-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../files/font/NotoSansJP-Medium.woff2') format('woff2'),
    url('../files/font/NotoSansJP-Medium.woff') format('woff'),
    url('../files/font/NotoSansJP-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../files/font/YakuHanJPs-Medium.woff2') format('woff2'),
    url('../files/font/YakuHanJPs-Medium.ttf') format('ttf'),
    url('../files/font/YakuHanJPs-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../files/font/NotoSansJP-Bold.woff2') format('woff2'),
    url('../files/font/NotoSansJP-Bold.woff') format('woff'),
    url('../files/font/NotoSansJP-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../files/font/YakuHanJPs-Bold.woff2') format('woff2'),
    url('../files/font/YakuHanJPs-Bold.ttf') format('ttf'),
    url('../files/font/YakuHanJPs-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../files/font/NotoSansJP-Black.woff2') format('woff2'),
    url('../files/font/NotoSansJP-Black.woff') format('woff'),
    url('../files/font/NotoSansJP-Black.otf') format('opentype');
}

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../files/font/YakuHanJPs-Black.woff2') format('woff2'),
    url('../files/font/YakuHanJPs-Black.ttf') format('ttf'),
    url('../files/font/YakuHanJPs-Black.otf') format('opentype');
}


* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'YakuHanJP', 'Noto Sans JP', "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  font-weight: 400;
  background-color: #f4f5f7;
  color: #505050;
}

body p,
body a,
body h3 {
  font-size: 1.6rem;
}

body a {
  text-decoration: none;
}

/* -------------------- WP部分 -------------------- */

header {
  position: fixed;
  width: 100%;
  background-color: #fff;
  height: 50px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  z-index: 100;
}

header a {
  text-decoration: none;
}

header .site-branding {
  width: 100%;
  height: 50px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding-left: 2%;
}

header .site-title {
  width: fit-content;
}

header .site-title a {
  display: flex;
  align-items: center;
  height: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
}

header .site-title a img {
  height: 100%;
}

header .site-description {
  display: none;
}

header nav a {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 50px;
  padding: 0 15px;
  color: #006CA9;
}

header nav .sp_nav {
  width: fit-content;
  margin: 0 auto;
  min-width: 820px;
}

.firstview {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(../files/image/main.jpg);
  background-size: cover;
  background-position: center;
  margin-bottom: 100px;
}

.firstview h2 {
  font-size: 8rem;
  color: #fff;
  text-shadow: 5px 5px 10px #000000aa;
  position: absolute;
  top: calc(50px + 30%);
  left: 3%;
}

.firstview .fv-btn {
  position: absolute;
  right: 30px;
  bottom: calc(100px + 30px);
}

.firstview .fv-btn div {
  width: 70px;
  height: 70px;
  border: solid 1px #0685C2;
  padding: 5px;
}

.firstview .fv-btn div p {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3rem;
  color: #505050;
}

.firstview .fv-btn div p img {
  width: 30px;
}

.firstview .fv-btn .fv-btn01 {
  background-color: #fff;
  padding-top: 8px;
}

.firstview .fv-btn .fv-btn01 p:last-child {
  line-height: 2.4rem;
}

.firstview .fv-btn .fv-btn02 {
  background-color: #fff;
  margin: 10px 0;
}

.firstview .fv-btn .fv-btn03 {
  background-color: #0685C2;
}

.firstview .fv-btn .fv-btn03 p {
  color: #fff;
}

.firstview .fv-btn .fv-btn03 p:last-child {
  line-height: 2.4rem;
}

.firstview ul {
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: 0;
  display: flex;
  flex-wrap: nowrap;
}

.firstview ul li {
  width: calc(100% / 2);
}

.sp-only {
  display: none;
}

.firstview ul li.asc {
  background-color: #515561;
}

.firstview ul li.ac {
  background-color: #44474E;
}

.firstview ul li.sac {
  background-color: #32343A;
}

.firstview ul li a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.firstview ul li div {
  position: relative;
  width: 100%;
  padding-left: 8%;
}

.firstview ul li div::after {
  content: ">";
  color: #fff;
  font-size: 150%;
  text-align: center;
  line-height: 40px;
  position: absolute;
  background-color: #87C4F9;
  width: 40px;
  height: 40px;
  top: 0;
  right: 8%;
  bottom: 0;
  margin: auto;
}

.firstview ul li div p {
  font-size: 1.4rem;
  color: #87C4F9;
}

.firstview ul li div h3 {
  font-size: 1.8rem;
  color: #fff;
}

.default {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.banner {
  margin-bottom: 100px;
}

.top-title {
  font-size: 3.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000000;
}

.achievement {
  flex-wrap: nowrap;
  justify-content: space-between;
}

.result {
  background: linear-gradient(#2EA0DE 0% 88%, transparent 88% 100%);
  padding-top: 80px;
  margin-top: -60px;
  margin-bottom: 100px;
}

.passing {
  justify-content: space-around;
  color: #fff;
  margin-bottom: 40px;
}

.circle {
  display: flex;
  border-radius: 200px;
  background-color: #C2E4F5;
  height: 150px;
  flex-flow: column;
  justify-content: center;
  border: 2px solid #fff;
  color: #006CA9;
}

.circle p {
  width: 100%;
  font-weight: 600;
}

.circle h3 {
  width: 100%;
  font-size: 4rem;
  line-height: 4rem;
}

.university5 {
  gap: 2px;
  margin-bottom: 20px;
}

.university5 div {
  background-color: #fff;
  padding: 20px 0;
  color: #006CA9;
}

.university5 div h4 {
  font-size: 3rem;
}

.university5 div p {
  font-size: 1.4rem;
  font-weight: 600;
}

.achievement-bottom {
  justify-content: space-between;
}

.achievement-bottom .achievement-btn {
  margin: 0 0 0 auto;
}

.achievement-btn {
  background-color: #fff;
  padding: 25px 30px;
  font-weight: 600;
  color: #006CA9;
  max-width: 500px;
}

.achievement-btn a {
  color: #006CA9;
}

.know {
  background-color: #fff;
  padding: 50px 50px 30px;
  justify-content: left;
  gap: 50px;
  margin-bottom: 100px;
}

.know-item h3 {
  position: relative;
  color: #2EA0DE;
  font-size: 2.2rem;
  padding: 20px 10px;
}

.know .know-item h3::after {
  content: ">";
  color: #fff;
  font-size: 60%;
  text-align: center;
  line-height: 3rem;
  position: absolute;
  background-color: #87C4F9;
  width: 3rem;
  height: 3rem;
  top: 0;
  right: 10px;
  bottom: 0;
  margin: auto;
}

.know-item p {
  padding: 0 10px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.know .know-item p:last-child {
  margin-bottom: 20px;
}

.course {
  height: 600px;
  background-image: url(../files/image/course.jpg);
  background-size: cover;
  background-position: right;
  position: relative;
}

.course .course-head {
  width: fit-content;
  height: fit-content;
  position: absolute;
  margin: auto 0;
  top: 0;
  left: 5%;
  bottom: 10%;
}

.course .course-head h2 {
  font-size: 4rem;
  color: #000;
}

.course .course-head h3 {
  font-size: 2.4rem;
  font-weight: 600;
	color: #000;
}

.course-select {
  width: 80%;
  max-width: 1100px;
  gap: 50px;
  z-index: 2;
  margin-bottom: 150px;
  position: relative;
}

.course-item {
  background-color: #fff;
  margin-top: -40px !important;
}

.course01,
.course02,
.course03 {
  position: relative;
  color: #fff;
  padding: 10px 20px;
}

.course01::after,
.course02::after,
.course03::after {
  content: ">";
  color: #fff;
  font-size: 150%;
  text-align: center;
  line-height: 2.8rem;
  position: absolute;
  background-color: #87C4F9;
  width: 2.8rem;
  height: 2.8rem;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
}

.course01 p,
.course02 p,
.course03 p {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.course01 {
  background-color: #EA554F;
}

.course02 {
  background-color: #3D61AD;
}

.course03 {
  background-color: #00A860;
}

.course-select .course-description {
  font-size: 1.4rem;
  padding: 10px 20px;
}

.wp-block-separator {
  border-top: 1px solid;
  margin-top: 15px;
}

.know .know-long .left-item {
  display: flex;
  align-items: center;
}

.know .know-long .right-item {
  display: flex;
  align-items: center;
}

.know .know-long .right-item p {
    font-size: 1.4rem;
    font-weight: 600;
}

.know-long h3 {
  display: block;
  width: 100%;
  position: relative;
  color: #2EA0DE;
  font-size: 2.2rem;
  padding: 20px 10px;
}

.know .know-long h3::after {
  content: ">";
  color: #fff;
  font-size: 60%;
  text-align: center;
  line-height: 3rem;
  position: absolute;
  background-color: #87C4F9;
  width: 3rem;
  height: 3rem;
  top: 0;
  right: 30px;
  bottom: 0;
  margin: auto;
}

.career-path {
  background-image: url(../files/image/kousya.jpg);
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.career-path .voice {
  font-size: 2.6rem;
  color: #000;
  margin-bottom: 20px;
}

.career-path .achievement-btn {
  margin-bottom: 50px;
}

.sliderArea .slider .item {
  padding: 30px;
  display: flex;
  flex-wrap: nowrap;
  background-color: #fff;
  margin: 0 20px;
  border-radius: 20px;
  color: #505050;
}

.sliderArea .slider .item div:first-child {
  width: 30%;
  aspect-ratio: 1 / 1;
}

.sliderArea .slider .item div:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sliderArea .slider .item div:last-child {
  width: 70%;
  padding: 20px;
}

.sliderArea .slider .item div:last-child h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.sliderArea .slider .item div:last-child p {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.sliderArea .slider .item div:last-child h4 {
  font-size: 2rem;
}

.openschool {
  padding: 100px 0;
  background-color: #fff;
  background-image: url(../files/image/note.svg);
  background-repeat: repeat;
  background-size: 80px;
}

.openschool h3 {
  font-size: 3.6rem;
  color: #000;
}

.openschool p {
  font-size: 1.6rem;
  font-weight: 600;
}

.openschool h4 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 30px;
}

.openschool img {
  width: 40px !important;
  margin: 10px 0;
}

.openschool .event-item {
  background-color: #EEFAFF;
  padding: 30px;
  max-width: 300px;
}

.openschool .schedule div {
  justify-content: center;
}

.openschool .event-item .times {
  display: block;
  width: fit-content;
  padding: 4px 20px;
  background-color: #fff;
  border: solid 1px #505050;
  margin-bottom: 4px;
}

.openschool .event-item .event-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.openschool .event-item .event-date {
  font-size: 4.6rem;
  line-height: 5rem;
}

.openschool .event-item .event-time {
    font-size: 1.8rem;
    margin-top: 10px;
}

.openschool .event-item div {
  gap: 0;
  display: flex;
}

.openschool .event-item div .week {
  justify-content: flex-start;
  align-items: flex-end;
}

.openschool .event-item div .week p {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
}

.schedule {
  margin-bottom: 80px;
}

.openschool .achievement-btn {
  margin: 0 auto;
  border: solid 1px #505050;
}

footer {
  background-color: #fff;
  padding: 80px 0 40px;
}

footer .footer-inner {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

footer .footer-left {
  width: 30%;
  padding: 0 20px;
}

footer .footer-left address {
  font-size: 1.4rem;
}

.nowrap {
  white-space: nowrap;
}

footer small {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
}

#footer-menu {
  width: fit-content;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 40px auto;
}

#footer-menu a {
  font-size: 1.8rem;
  font-weight: 600;
  color: #006CA9;
  line-height: 1.8;
}

#footer-menu a:hover {
  opacity: 0.8;
}

#footer-menu ul {
  margin-left: 0;
}

#footer-menu li {
  width: 18%;
}

#footer-menu li li {
  width: 100%;
}

#footer-menu li li a {
  font-size: 1.4rem;
  font-weight: 500;
  color: #505050;
}

footer .footer-bottom {
  background-color: #3D61AD;
  padding: 50px;
  border-radius: 30px;
  display: flex;
  justify-content: start;
  gap: 5%;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
footer .footer-bottom .infection {
  width: 50%;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
}

footer .footer-bottom .infection h3 {
  font-size: 2rem;
}

footer .footer-bottom .infection p {
  margin-bottom: 10px;
}


footer .footer-bottom .pdf {
  padding-top: 30px;
}

footer .footer-bottom .pdf a {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

footer .footer-bottom .other {
  padding-top: 30px;
}

footer .footer-bottom .other a {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}


/* ------------------- page.php -------------------- */

.sub-wrapper {
  padding-top: 50px;
}

.sub-title {
  background-color: #fff;
  padding: 80px 0;
}

.sub-title h2 {
  font-size: 4.8rem;
}

.sub-title h3 {
  font-size: 3rem;
}

.sub-index {
  padding: 20px 0;
}

.sub-index .wp-block-column {
  max-width: 386px;
}

.sub-index a {
  display: block;
}

.sub-index a {
  position: relative;
  width: 100%;
  padding: 1.4rem 1rem 1rem;
  color: #2589d0;
  font-size: 1.6rem;
  border-bottom: solid 2px #1f76b4;
}

.sub-index a::before,
.sub-index a::after {
  position: absolute;
  z-index: -1;
  width: 0;
  height: 1px;
  content: '';
}

.sub-index a::before {
  top: 0;
  left: 0;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
}

.sub-index a::after {
  bottom: 0;
  right: 0;
  border-left: 2px solid transparent;
}

.sub-index a:hover::before,
.sub-index a:hover::after {
  width: 100%;
  height: 100%;
  border-color: #1f76b4;
  transition: width .3s ease, height .3s .3s ease;
}

.sub-index a span {
  display: flex;
  align-items: center;
  font-weight: 600;
  margin-right: auto
}

.sub-index a span::after {
  position: absolute;
  right: 3rem;
  display: inline-block;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-top: 2px solid #2589d0;
  border-right: 2px solid #2589d0;
  content: '';
}

.points {
  background-color: #6d99dbd0;
  padding: 80px 0;
}

.points h3 {
  font-size: 4rem;
  line-height: 5rem;
  position: relative;
  color: #fff;
  margin-bottom: 80px;
}

.points h3::after {
  content: "POINT";
  font-size: 10rem;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  color: #464646;
  z-index: -1;
}

.points-item {
  position: relative;
  background-color: #fff;
  padding: 30px;
  border-radius: 20px;
}

.points-item img {
  border-radius: 600px;
  margin-bottom: 30px;
}

.points-item h4 {
  font-size: 20px;
}

.points-item .number {
  font-family: "Lato";
  font-weight: bold;
  position: absolute;
  top: -50px;
  font-size: 4.8rem;
  color: #1E4184;
}

.points-head {
  padding-top: 100px;
  background-color: #ffffffe5;
  background-image: url(../files/image/note.svg);
  background-repeat: repeat;
  background-size: 80px;
  margin-bottom: 100px;
}

.leftside {
  width: calc(100% - (100% - 1200px) / 2);
  margin-right: calc((100% - 1200px) / 2);
}

.left-image {
  overflow: hidden;
}

.left-image figure {
  text-align: right;
  overflow: hidden;
  height: 400px;
}

.left-image img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.right-text div {
  width: 100%;
}

.rightside {
  width: calc(100% - (100% - 1200px) / 2);
  margin-left: calc((100% - 1200px) / 2);
  flex-direction: row-reverse;
}

.points-head h3 {
  font-size: 2.6rem;
  line-height: 5rem;
  position: relative;
  margin-bottom: 50px;
}

.points-head p {
  font-size: 2.2rem;
}

#enthusiasm::after {
  content: "ENTHUSIASM";
  font-size: 6rem;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  color: #000000;
  z-index: -1;
}

.step {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  color: #fff;
  background-color: #1E4184;
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.step p,
.step h4 {
  width: 100%;
  font-weight: 600;
}

.step p {
  font-size: 1.2rem;
}

.step h4 {
  width: 100%;
  font-weight: 600;
  font-size: 3rem;
  line-height: 3rem;
}

.step-title {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.step-title h3 {
  font-size: 3rem;
  color: #000;
}

.point-detail .know-long {
  padding: 20px 0;
  display: flex;
  align-items: center !important;
}

#environment::after {
  content: "ENVIRONMENT";
  font-size: 6rem;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  color: #000000;
  z-index: -1;
}

#ict::after {
  content: "ICT";
  font-size: 6rem;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  color: #000000;
  z-index: -1;
}

.colorbox {
  background-color: #354e8f;
  color: #fff;
  width: 100%;
  max-width: calc(1200px + 10%);
  margin: 0 auto;
  padding: 80px 0;
}

.colorbox h3 {
  font-size: 4.8rem;
  margin-bottom: 50px;
}

.colorbox h4 {
  font-size: 3rem;
  color: #ffffffbb;
  margin-bottom: 30px;
}

.colorbox-content {
  background-color: #fff;
  color: #050505;
  gap: 0 !important;
}

.colorbox .left-item {
  padding: 50px;
}

.colorbox .left-item h5 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.colorbox .left-item img {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
}

.colorbox .right-item .text-block {
  padding: 20px 20px;
  position: relative;
  background: #b8caf8;
  box-shadow: 0px 0px 0px 5px #b8caf8;
  border: dashed 2px white;
  color: #454545;
  margin: 5px;
}

.colorbox .right-item .text-block::after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 20px 20px;
  border-style: solid;
  border-color: #fff #fff rgb(121, 163, 206);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.colorbox .right-item .text-block h5 {
  font-size: 2.2rem;
}

.connection .connection-link {
  padding: 10px;
}

.connection .connection-link h3 {
  font-size: 3.2rem;
  color: #000;
}

.connection .connection-link h4 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #1f76b4;
}

.connection .connection-link p {
  max-width: 500px;
  border-bottom: solid 2px #bebebe;
}

.connection .connection-link a {
  box-sizing: border-box;
  display: block;
  height: 100%;
  padding: 16px 5px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #505050;
  position: relative;
}

.connection .connection-link a::after {
  position: absolute;
  left: 0;
  bottom: -2px;
  content: '';
  width: 100%;
  height: 2px;
  background: #1f76b4;

  /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);
  /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.5s;
  /*変形の時間*/
}

.connection .connection-link a:hover::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
}

.sub-heading h4 {
  font-size: 2.4rem;
  color: #1f76b4;
  margin-bottom: 10px;
}

.sub-heading h3 {
  font-size: 4rem;
  margin-bottom: 40px;
}

.myself {
  width: calc(100% - (100% - 1200px) / 2);
  margin-left: calc((100% - 1200px) / 2);
}

.myself1st {
  background-color: #EA554F;
}

.myself2nd {
  background-color: #4f92ea;
}

.myself3rd {
  background-color: #4fea7e;
}

.myself-inner {
  width: 100%;
  max-width: 1200px;
  padding: 80px 0 80px 20px;
}

.myself-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  align-items: center;
}

.myself-title h3 {
  font-size: 4.8rem;
  color: #fff;
}

.myself-title h4 {
  font-size: 2.2rem;
  color: #fff;
}

.myself-content .wp-block-media-text {
  background-color: #fff;
  padding: 40px;
  margin-bottom: 20px;
}

.myself-content .wp-block-media-text figure {
  width: auto;
  height: 240px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.myself-content .wp-block-media-text figure image {
  object-fit: cover;
}

.myself-content .wp-block-media-text .wp-block-media-text__content {
  padding: 0 0 0 40px ;
}

.myself-content .wp-block-media-text .wp-block-media-text__content h3 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.search-item {
  position: relative;
}

.search-item .grade {
  width: 90px;
  height: 90px;
  border-radius: 50px;
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #00249b;
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
  line-height: 2.2rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.u-achievement {
  background-color: #ffffff70;
  padding: 30px;
}

.u-achievement h3 {
  font-size: 3.2rem;
  color: #000;
}

.u-achievement p {
  font-size: 1.4rem;
}

.u-achievement .u-item {
  background-color: #fff;
  padding: 30px 20px 20px;
  box-sizing: border-box;
}

.u-achievement .u-item h3 {
  font-size: 2.2rem;
  color: #000;
}

.u-achievement .u-item p {
  font-size: 6rem;
  font-weight: 600;
  color: #1f76b4;
}

.u-achievement .u-item p::after {
  content: "名";
  font-size: 2.6rem;
  color: #424242;
}

.u-list {
  color: #fff;
  background-color: #2EA0DE;
  padding: 100px 0;
}

.u-list h3 {
  font-size: 3.2rem;
  margin-bottom: 30px;
}

.u-list tr td {
  font-size: 1.8rem;
  font-weight: 600;
  border: none;
  border-bottom: solid 1px #fff;
  padding: 10px 0;
}

.u-list tr td:last-child {
  font-size: 2.4rem;
}

.u-list tr td:last-child::after {
  content: "名";
  font-size: 1.8rem;
}

.tables {
  gap: 40px;
}

.colorbox.interview {
  background-color: #ffffff00;
	max-width: 1200px;
}

.colorbox.interview h4 {
  color: #505050;
}

.part-heading h3 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.part-heading p {
  font-size: 1.8rem;
}

.teacher h3 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.teacher h4 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.years-pic {
  position: relative;
  margin-bottom: 10px;
}

.years-pic h3 {
  position: absolute;
  background-color: #fff;
  color: #505050;
  left: 0;
  bottom: 0;
  padding: 10px 20px;
  font-size: 2rem;
}

.facility-pic .wp-block-column p {
  font-size: 2rem;
  font-weight: 600;
  padding: 10px;
}

.life-content h3 {
  font-size: 4rem;
  margin-bottom: 40px;
}

.life-content h4 {
  font-size: 2.4rem;
}

.life-content .wp-block-media-text__content h3 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.life-content .wp-block-media-text__content p {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.points.uniform h3::after {
  content: "UNIFORM";
}

.points.uniform .points-item img {
  border-radius: 60px;
}

.policy .motto p,
.policy .goal p {
  font-size: 2rem!important;
}

.application-content h3 {
  font-size: 3rem;
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color: #494949;/*文字色*/
  border-left: solid 5px #7db4e6;/*左線*/
  margin-bottom: 20px;
}

.application-content h4 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.application-content h5 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.application-content ul li {
  font-size: 1.4rem;
}

.application-content table {
  max-width: 800px;
  background-color: #fff;
}

.point-list {
  max-width: 500px;
}

.payment {
  max-width: 400px;
}

.payment tr:last-child {
  background-color: #3D61AD;
  color: #fff;
}

.tuition tr:first-child,
.tuition tr:nth-child(9) {
  background-color: #3D61AD;
  color: #fff;
}

.application-content td {
  font-size: 1.6rem;
}

.clubs .club-items {
  background-color: #fff;
  padding: 30px;
}

.clubs .club-items h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.clubs .club-items h4 {
  font-size: 1.6rem;
  color: #1E4184;
  margin-bottom: 10px;
  text-align: center;
}

.clubs .club-items p {
  font-size: 1.6rem;
}

.openschool .event-item div .week {
  justify-content: flex-start;
  align-items: flex-end;
}

.openschool .event-item .start {
  margin-top: 10px;
}

.alumni-about p {
  font-size: 1.8rem;
}

.alumni-member table {
  width: fit-content;
  background-color: #ffffff00;
}

.alumni-member table td {
  border: none;
  width: fit-content;
  font-size: 2rem;
  font-weight: 600;
  padding: 20px 50px 0 0;
}

.newsletter a {
  display: inline-block;
  margin-bottom: 10px;
}

.newsletter a::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-image: url(../files/image/pdf_24.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 25px auto;
}

.seiyukai p {
  font-size: 1.8rem;
}

.myself4th {
  background-color: #2EA0DE;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.myself4th .myself-inner {
  margin: 0 auto;
  padding: 60px 0;
}

.myself4th .myself-inner h3 {
  padding: 0 20px;
}

.myself4th .myself-inner h4 {
  padding: 0 20px;
}

.myself4th .flow-item {
  padding: 60px;
  background-color: #fff;
  background-image: url(../files/image/note.svg);
  background-size: 60px;
}

.myself4th .flow-item h3 {
  font-size: 3rem;
  color: #00249b;
  margin-bottom: 30px;
  padding: 0;
}

.myself4th .flow-item h4 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: solid 2px #00249b;
}

.myself4th .flow-item p {
  font-size: 1.8rem;
}

.myselfjh {
  background-color: #0073b1;
}



/*====================================================================
.accordion_one
====================================================================*/
.accordion_one {
  width: 100%;
  margin: 0 auto;
}

.accordion_one .accordion_header {
  position: relative;
  z-index: +1;
  cursor: pointer;
  transition-duration: 0.2s;
}

.accordion_one .accordion_header img {
  width: 100%;
}

.accordion_one .accordion_header:hover {
  opacity: .8;
}

.accordion_one .accordion_inner {
  display: none;
  margin: 2%;
  background-color: #fff;
  padding: 4%;
  border-radius: 30px;
}

.accordion_one .accordion_inner h4 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #810D31;
}


/* -------------------- news -------------------- */

.top-news {
  width: 90%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.top-news .left-block {
  width: 20%;
}

.top-news .right-block {
  width: 78%;
}

.top-news .news-heading {
  position: relative;
}

.top-news .news-heading h3 {
  font-size: 7rem;
  font-weight: 400;
  transform-origin: left top;
  transform: rotate(90deg);
  margin-left: 60px;
}

.top-news .news-heading p {
  font-size: 2rem;
  writing-mode: vertical-rl;
  position: absolute;
  top: 6px;
  left: 60px;
}

.top-news h4 {
  font-size: 2.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.top-news h4::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #707070;
  margin-left: 10px;
}

.top-news h4 span {
    font-size: 1.6rem;
}

.top-news .topics .topics-list {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.top-news .topics .topics-list .topics-item {
  width: 32%;
  flex: 1 1 calc(33.333% - 20px);
  aspect-ratio: 4 / 3;
  /* カード全体の縦横比を調整（任意） */
  position: relative;
  overflow: hidden;
}

.top-news .topics .topics-list .topics-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.top-news .topics .topics-list .topics-item .topics-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.top-news .topics .topics-list .topics-item .topics-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* はみ出しOKで縦横いっぱいに */
  object-position: center;
  display: block;
}

.top-news .topics .topics-list .topics-item h3 {
  font-size: 1.6rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffffbb;
  color: #707070;
  padding: 10px;
}

.btn-box {
  padding: 10% 0;
}

.btn-box .filter-btn {
  display: block;
  border: none;
  background: #e6e6e600;
  color: #707070;
  line-height: 1;
  padding: 0;
  font-size: 1.8rem;
  margin-bottom: 30px;
  cursor: pointer;
}

.top-news .article-list {
  width: 96%;
  margin: 0 auto 30px;
}

.top-news .article-list li {
  font-size: 1.6rem;
  padding: 15px 20px;
  border-bottom: solid 1px #707070;
}

.top-news .article-list li .label {
  display: inline-block;
  text-align: center;
  width: 100px;
  background-color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1E4184;
  padding: 6px 0;
  border-radius: 40px;
  margin: 0 10px;
}

.top-news .article-list li a {
  text-decoration: none;
  color: #707070;
  font-weight: 500;
}

.more-btn {
  text-decoration: none;
  border: solid 1px #707070;
  color: #707070;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 6px 20px;
  border-radius: 10px;
}

.article-box .more-btn {
  display: block;
  width: fit-content;
  margin: 0 2% 0 auto;
}


/* -------------------- single.php -------------------- */

.news {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10%;
}

.newsdate {
  margin-bottom: 10px;
}

.news .newstitle {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.news .newscat {
  font-size: 1.4rem;
  padding-bottom: 30px;
  border-bottom: solid 1px #000;
  margin-bottom: 80px;
}

.news .newscontent {
  font-size: 1.8rem;
  line-height: 3.2rem;
}

.news .newscontent img {
  padding: 20px;
}


/* -------------------- archive.php -------------------- */

.archive-cover {
  overflow: hidden;
}

.sub-firstview.page-firstview {
  width: 100vw;
}

.archive-main {
  width: calc(100% - 380px);
    float: left;
    padding-top: 80px;
}

.archive-main h1 {
  font-size: 4rem;
  font-weight: 600;
  border-bottom: solid 3px #a5a5a5;
  margin: 0 6%;
  padding: 5% 2% 1%;
}

.news-container {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 3% 5%;
}

.news-container .card {
  width: 100%;
  margin: 2%;
}

.news-container .card a {
  display: block;
  text-decoration: none;
  border-radius: 30px;
  background: #F4F5F7;
  box-shadow: -20px 20px 60px #cfd0d2,
    20px -20px 60px #ffffff;
  overflow: hidden;
  color: #707070;
}

.news-container .card a .card-text {
  padding: 20px 30px;
		display: flex;
	flex-wrap: wrap;
}

.news-container .card a h2 {
  font-size: 2rem;
	width: fit-content;
	padding-right: 20px;
}

.news-container .card a time {
  font-size: 1.4rem;
  margin: auto 0;
}

.pagination {
  border-top: solid 3px #a5a5a5;
  margin: 0 6%;
  padding: 1% 2% 1%;
}

.pagination span {
  font-size: 1.6rem;
  font-weight: 500;
}

.pagination span {
  font-size: 2rem;
  font-weight: 500;
  margin: 0 8px;
}

.pagination a {
  font-size: 2rem;
  font-weight: 500;
  margin: 0 8px;
  text-decoration: none;
  color: #7496ff;
}


aside#secondary {
  display: inline-block;
  width: 340px;
  padding: 200px 40px 40px 40px;
  box-sizing: border-box;
}

aside#secondary a {
  text-decoration: none;
  color: #7496ff;
}

aside#secondary h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.widget {
  margin: 0 0 2.5em;
}

.widget select {
  padding: 3px;
  font-size: 1.4rem;
  max-width: 100%;
  border-radius: 5px;
}


/* ---------- 404.php ---------- */

.page-404 {
    padding: 100px 0;
}

.page-404 h1 {
    font-size: 3rem;
}

.page-404 p {
    margin-bottom: 30px;
}


/* ---------- tablet ---------- */

@media screen and (max-width: 1080px) {

  .main-navigation {
    width: fit-content;
    background-color: #fff;
  }


  #site-navigation.toggled .sp_nav {
    position: absolute;
    top: 100%;
    /* ヘッダーの下に表示 */
    left: 0;
    width: 100vw;
    background-color: #ffffff;
    /* 背景色はお好みで */
    z-index: 999;
    display: block;
    padding: 4%;
  }

  /* 非表示時は隠す */
  #site-navigation .sp_nav {
    display: none;
  }

  #site-navigation.toggled .menu-toggle {
    position: relative;
    /* 必要に応じて */
    z-index: 1000;
    /* ナビより上 */
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
  }

  .hamburger {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
  }

  .hamburger span {
    background: #000;
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: 0.3s;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 8px;
  }

  .hamburger span:nth-child(3) {
    top: 16px;
  }


.firstview h2 {
    font-size: 7rem;
    top: calc(80% - 50px);
    left: 2%;
  }

  .wp-block-columns.is-not-stacked-on-mobile.achievement {
    flex-wrap: wrap !important;
  }

  .achievement div {
    flex-basis: 100% !important;
  }

  .achievement div figure {
    width: 80%;
  }

  .passing {
    flex-wrap: nowrap !important;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.circle {
    flex-basis: 40% !important;
    max-width: 150px;
  }

  .openschool .event-item .event-date {
    font-size: 4rem;
    line-height: 4.6rem;
  }

  .event-item .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: auto !important;
  }
	
	  footer .footer-bottom {
    padding: 30px;
    gap: 5%;
    margin-bottom: 20px;
  }

  footer .footer-bottom .infection {
    width: 100%;
    padding: 20px;
  }


  /* -------------------- tab subpage -------------------- */

  #points div div {
    flex-basis: auto;
  }
	
	.colorbox-inner h4 {
    margin-left: 5%;
  }
	
	  .points-head {
    padding-top: 60px;
    margin-bottom: 60px;
  }

  .leftside {
    width: 100%;
    margin-right: 0;
    flex-wrap: wrap !important;
  }

  .left-image {
    flex-basis: 100%!important;
  }

  .right-text {
    flex-basis: 100%!important;
  }

  .right-text div {
    margin-bottom: 10px;
  }
	
.rightside {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap !important;
  }


  .points-head h3 {
    font-size: 2.6rem;
    line-height: 5rem;
    position: relative;
    margin-bottom: 50px;
  }

  .points-head p {
    font-size: 2.2rem;
  }
	
  .myself {
    width: 96%;
    margin-left: 4%;
  }

  .points.uniform h3::after {
    font-size: 7rem;
  }

  .wp-block-media-text__media {
    margin-bottom: 20px !important;
  }

  .application-content td {
    font-size: 1.2rem;
  }

  #footer-menu li {
    width: 17%;
  }

  #footer-menu a {
    font-size: 1.4rem;
  }

  #footer-menu li li a {
    font-size: 1.2rem;
  }
	
	/* ---------- archive.php ---------- */

  .archive-main {
    width: 100%;
    float: none;
  }

.news-container .card a .card-text {
  padding: 14px 20px;
}

  aside#secondary {
    display: inline-block;
    width: 100%;
    padding: 5%;
    box-sizing: border-box;
  }


}


/* ---------- sp ---------- */

@media screen and (max-width: 781px) {

  body p, body a, body h3 {
    font-size: 1.4rem;
  }

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


  header .site-title a img {
    width: 250px;
    height: auto;
  }

  .firstview {
    height: calc(70vh - 50px);
    margin-bottom: 50px;
  }
	
	.firstview h2 {
    font-size: 4rem;
    top: calc(80% - 50px);
    left: 2%;
  }

  .firstview ul {
    flex-wrap: wrap;
    height: auto;
  }

  .firstview ul li {
    padding: 10px 0;
    width: 50%;
  }

  .firstview ul li.sp-only {
    display: block;
    background-color: #0685C2
  }

  .firstview ul li div h3 {
    font-size: 1.6rem;
  }

  .firstview ul li div p {
    font-size: 1rem;
  }

  .firstview ul li div::after {
    content: ">";
    color: #fff;
    font-size: 100%;
    text-align: center;
    line-height: 24px;
    position: absolute;
    background-color: #87C4F9;
    width: 24px;
    height: 24px;
    top: 0;
    right: 8%;
    bottom: 0;
    margin: auto;
  }

  .firstview .fv-btn {
    position: fixed;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 50px;
    bottom: 0;
    left: 0;
    z-index: 100;
  }

.firstview .fv-btn a {
    display: block;
    width: 50%;
  }

  .firstview .fv-btn div {
    width: 100%;
    height: 50px;
    border: solid 1px #0685C2;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .firstview .fv-btn ul {
    margin: 0;
  }

  .firstview .fv-btn .fv-btn02 {
    margin: 0;
  }

  .banner {
    margin-bottom: 50px;
  }

  .passing {
    flex-wrap: wrap !important;
  }

  .top-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000000;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.circle {
    flex-basis: 60% !important;
    max-width: 150px;
  }

  .know {
    padding: 30px 30px 30px;
    justify-content: left;
    gap: 30px;
    margin-bottom: 50px;
  }

  .know-item h3 {
    font-size: 1.8rem;
  }

  .know-long h3 {
    font-size: 1.8rem;
  }

  .course {
    height: 300px;
  }

  .course-select {
    margin-bottom: 100px;
  }

  .course .course-head {
    width: fit-content;
    height: fit-content;
    position: absolute;
    margin: auto 0;
    top: 20%;
    left: 5%;
    bottom: 0;
  }

  .course .course-head h2 {
    font-size: 2.2rem;
  }

  .course .course-head h3 {
    font-size: 1.8rem;
  }

  .sliderArea .slider .item {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    margin: 0 20px;
    border-radius: 20px;
  }

  .sliderArea .slider .item div:first-child {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .sliderArea .slider .item div:last-child {
    width: 100%;
  }

  .top-news {
    margin: 0 auto 50px;
  }

  .top-news .left-block {
    width: 100%;
    margin-bottom: 30px;
  }

  .top-news .right-block {
    width: 100%;
  }

  .top-news .news-heading h3 {
    font-size: 5rem;
    transform: rotate(0);
    margin-left: 0;
  }

  .top-news .news-heading p {
    font-size: 2rem;
    writing-mode: horizontal-tb;
    position: relative;
    top: 0;
    left: 0;
  }
	
.top-news .article-list {
    margin: 0 auto 15px;
}

.top-news .article-list li {
    padding: 10px 20px;
}

  .btn-box {
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .btn-box .filter-btn {
    font-size: 1.4rem;
    margin-bottom: 0;
    margin: 0 15px;
  }

  .top-news .article-list li a {
    display: block;
    padding: 10px 0 0 0;
	font-size: 1.6rem;
  }

  footer {
    padding: 40px 0 70px;
  }

  footer .footer-left {
    width: 100%;
    padding: 0 20px;
  }


  /* -------------------- sp subpage -------------------- */

  .wp-block-columns.sub-index .wp-block-column {
    flex-basis: auto !important;
    width: 45%;
  }

  .points-head {
    padding: 50px 30px;
    margin-bottom: 50px;
  }

  .left-image figure {
    height: 300px;
  }

  .point-detail .wp-block-columns .step {
    flex-basis: 0 !important;
    max-width: 100px;
    margin: 0 auto;
  }

  .step-title {
    padding-left: 0;
    text-align: center;
  }

  .step-title h3 {
    font-size: 2.4rem;
    padding: 10px;
  }
	
	.myself-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
	
	.myself4th .flow-item {
  padding: 30px;
}
	
	.myself4th .flow-item h3 {
  font-size: 2.4rem;
}

.myself4th .flow-item h4 {
  font-size: 1.8rem;
}

.myself4th .flow-item p {
  font-size: 1.4rem;
}

  .colorbox {
    padding: 50px 0;
  }

  .colorbox h3 {
    font-size: 4rem;
    margin-bottom: 30px;
  }

  .colorbox h4 {
    font-size: 2.4rem;
  }
	
	  .sub-title {
    padding: 50px 0;
  }

  .sub-title h2 {
    font-size: 4rem;
  }

  .sub-title h3 {
    font-size: 2.4rem;
  }
	
  .sub-heading h3 {
    font-size: 3.2rem;
    margin-bottom: 40px;
  }

  .know.policy .know-long h3::after {
    display: none;
  }
	
	.tables {
    gap: 0;
  }
	
  footer .footer-left {
    padding: 0;
  }
	
  #footer-menu {
    width: 100%;
    max-height: 350px;
    flex-direction: column;
    justify-content: flex-start;
}

  #footer-menu li {
    width: 45%;
  }

  #footer-menu a {
    font-size: 1.4rem;
  }

  #footer-menu li li a {
    font-size: 1.2rem;
  }
	
	 /* ---------- archive.php ---------- */

  .archive-main h1 {
    font-size: 3rem;
    font-weight: 500;
  }

  .news-container .card {
    width: 96%;
    margin: 2%;
  }


}