@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans CJK JP";
}

:root {
  --2year_color: #d95b94;
  --3year_color: #bccf2d;
  --4year_color: #e67f11;
  --5year_color: #f2c218;
  --6year_color: #40ab6c;
  --7year_color: #00afcc;
  --8year_color: #e60012;
  --R_color: #af0063;
}

h1 {
  font-size: 35px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 30px;
  margin-bottom: 1rem;
}

h4 {
  font-size: 25px;
}

h5 {
  font-size: 25px;
}

h6 {
  font-size: 20px;
}

.p-text {
  font-size: 20px;
  text-align: justify;
}

body {
  background-color: #ffffff;
  padding: 0;
}

ul {
  list-style: none;
}

nav.nav ul.item {
  display: flex;
}

.site-header {
  position: sticky;
  top: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  z-index: 1;
}

.header_logo {
  max-height: 70px;
  width: auto;
}

.list a {
  font-size: 15px;
  display: block;
  padding: 1rem 1rem;
  text-decoration: none;
}

.Overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s;
}

#menu-btn,
.nav-hidden {
  display: none;
}

.slider-wrapper {
  background: #EEE;
  padding: 0;
}

.slider-cell {
  width: 80%;
  height: 40vw;
  background: #8C8;
  margin: 0 5px;
}

.slider-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

a,
a:hover,
a:visited {
  color: inherit;
}

.Contact {
  margin-right: 10px;
  background-color: #3656a7;
  border-radius: 32px;
  color: #ffffff;
}

.Overlay.active {
  visibility: visible;
  opacity: 1;
}

.container {
  width: 100%;
  margin: 30px auto;
  display: flex;
  justify-content: space-between;
}

.main-contents {
  width: 45%;
  padding: 20px;
  background-color: #fff;
}

.side-contents {
  width: 55%;
  padding: 20px;
  background-color: #fff;
}

.main-contents-title {
  font-size: 25px;
  background-color: #ffffff;
}

.main-contents-img {
  width: 100%;
  height: auto;
}

.buttonIconText_text {
  flex-shrink: 1;
  width: 100%;
  color: #2ea4ff;
}

.buttonIconText {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 320px;
  height: 64px;
  padding: auto;
  font-family: sans-serif;
  font-size: 16px;
  color: #2ea4ff;
  text-align: center;
  overflow-wrap: anywhere;
  border: 2px solid #2ea4ff;
  border-radius: 32px;
  text-decoration: none;
}

.button-center {
  margin: 40px auto;
}

.video {
  width: 100%;
}

a:hover {
  opacity: 0.8;
}

section {
  width: 80%;
  margin: 30px auto;
}

.delimiter_line {
  overflow: hidden;
  margin: 50px 0;
  height: 5px;
  width: 100%;
  background-image: repeating-linear-gradient(90deg, #00afcc 0px calc(1 * 50px), #e67e11 calc(1 * 50px) calc(2 * 50px), #3cab6d calc(2 * 50px) calc(3 * 50px), #e60012 calc(3 * 50px) calc(4 * 50px), #d95a93 calc(4 * 50px) calc(5 * 50px));
}

.site-headline {
  margin: 2rem auto;
  text-align: center;
}

.site-headline-container {
  display: flex;
  width: 100%;
  height: auto;
  justify-content: space-between;
}

.site-headline-contents {
  width: 30%;
  text-align: center;
}

.site-headline-contents-text {
  font-size: 18px;
  margin: 1rem 0;
}

.site-headline-summary-container {
  display: flex;
  width: 100%;
  height: auto;
  justify-content: space-between;
}

.hr1 {
  margin: 1rem 0;
  border-top: 2px dashed #3cab6d;
}

.libre-baskerville-regular {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
}

.Notice {
  text-align: center;
  margin: 0 auto;
}

.Notice_container {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.Notice_contents {
  width: 30%;
  font-size: 18px;
  margin: 1rem 0;
}

.Notice_contents_img {
  width: 100%;
  height: auto;
}

.Notice_contents_text {
  font-size: 16px;
}

footer {
  background-color: #ffffff;
}

.footer_img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  /* align-items: center; */
}

.footer_container {
  width: 80%;
  margin: 20px auto;
  display: flex;
  justify-content: center;
}

.footer_contents {
  width: auto;
  margin: 20px;
}

.SNS_logo {
  width: 30px;
  height: auto;
}

.copyright {
  text-align: center;
  /* margin: 20px; */
  padding: 10px;
  background-color: #00afcc;
}

.footer_logo {
  display: block;
  width: 20%;
  height: auto;
  margin: 20px auto;
}

a.footer_logo {
  display: inline-block;
  width: 100%;
  height: auto;
}

a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.list a::after {
  background-color: #333;
  bottom: -4px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
  width: 100%;
}

.list a:hover::after {
  transform: scale(1, 1);
}

h2 span {
  display: inline-block;
  font-family: inherit;
}

h3 span {
  display: inline-block;
  font-family: inherit;
}

p span {
  display: inline-block;
  font-family: inherit;
}

summary {
  display: block;
}

summary::-webkit-details-marker {
  display: none;
}

.summary_inner {
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.icon {
  display: block;
  position: absolute;
  width: 24px;
  margin-left: 6px;
  right: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}

details[open] .icon {
  transform: rotate(180deg);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: #000000;
}

.icon::before {
  left: 0;
  transform: rotate(45deg);
}

.icon::after {
  right: 0;
  transform: rotate(-45deg);
}

.site-headline-summary-container {
  display: none;
}

.content {
  overflow: hidden;
}

.tab-switch {
  display: flex;
  flex-wrap: wrap;
  margin: 10px auto;
  justify-content: space-between;
  column-gap: 5px;
}

.tab-switch>label {
  flex-grow: 1;
  order: -1;
  position: relative;
  width: 11%;
  padding: .7em 0;
  background-color: #f2f3f4;
  color: #999;
  text-align: center;
  cursor: pointer;
  transition: .3s all;
}

/* タブボタンのホバーおよび選択状態のスタイル */
.tab-switch>label:nth-of-type(1):hover,
.tab-switch label:nth-of-type(1):has(:checked) {
  background-color: #d95b94;
  /* ホバー/選択時の背景色 */
  color: #fff;
  /* ホバー/選択時の文字色 */
}

.tab-switch>label:nth-of-type(2):hover,
.tab-switch label:nth-of-type(2):has(:checked) {
  background-color: #bccf2d;
  color: #fff;
}

.tab-switch>label:nth-of-type(3):hover,
.tab-switch label:nth-of-type(3):has(:checked) {
  background-color: #e67f11;
  color: #fff;
}

.tab-switch>label:nth-of-type(4):hover,
.tab-switch label:nth-of-type(4):has(:checked) {
  background-color: #f2c218;
  color: #fff;
}

.tab-switch>label:nth-of-type(5):hover,
.tab-switch label:nth-of-type(5):has(:checked) {
  background-color: #40ab6c;
  color: #fff;
}

.tab-switch>label:nth-of-type(6):hover,
.tab-switch label:nth-of-type(6):has(:checked) {
  background-color: #00afcc;
  color: #fff;
}

.tab-switch>label:nth-of-type(7):hover,
.tab-switch label:nth-of-type(7):has(:checked) {
  background-color: #e60012;
  color: #fff;
}

.tab-switch>label:nth-of-type(8):hover,
.tab-switch label:nth-of-type(8):has(:checked) {
  background-color: #af0063;
  color: #fff;
}

/* ラジオボタン自体は非表示 */
.tab-switch input {
  display: none;
  /* 見た目に表示されないようにする */
}

/* タブコンテンツのスタイル */
.tab-switch>div {
  display: none;
  width: 100%;
  order: 10;
}

.tab-content:nth-of-type(1)>h2 {
  background-color: var(--2year_color);
  color: #fff;
  padding: 10px;
}

.tab-content:nth-of-type(2)>h2 {
  background-color: var(--3year_color);
  color: #fff;
  padding: 10px;
}

.tab-content:nth-of-type(3)>h2 {
  background-color: var(--4year_color);
  color: #fff;
  padding: 10px;
}

.tab-content:nth-of-type(4)>h2 {
  background-color: var(--5year_color);
  color: #fff;
  padding: 10px;
}

.tab-content:nth-of-type(5)>h2 {
  background-color: var(--6year_color);
  color: #fff;
  padding: 10px;
}

.tab-content:nth-of-type(6)>h2 {
  background-color: var(--7year_color);
  color: #fff;
  padding: 10px;
}

.tab-content:nth-of-type(7)>h2 {
  background-color: var(--8year_color);
  color: #fff;
  padding: 10px;
}

.tab-content:nth-of-type(8)>h2 {
  background-color: var(--R_color);
  color: #fff;
  padding: 10px;
}

.tab-content>h2>span {
  font-size: 20px;
}

.tab-content>div {
  background-color: #f9f9f9;
  padding: 0 20px;
}

.tab-content:nth-of-type(1)>div {
  border: 3px solid var(--2year_color);
}

.tab-content:nth-of-type(2)>div {
  border: 3px solid var(--3year_color);
}

.tab-content:nth-of-type(3)>div {
  border: 3px solid var(--4year_color);
}

.tab-content:nth-of-type(4)>div {
  border: 3px solid var(--5year_color);
}

.tab-content:nth-of-type(5)>div {
  border: 3px solid var(--6year_color);
}

.tab-content:nth-of-type(6)>div {
  border: 3px solid var(--7year_color);
}

.tab-content:nth-of-type(7)>div {
  border: 3px solid var(--8year_color);
}

.tab-content:nth-of-type(8)>div {
  border: 3px solid var(--R_color);
}



/* 選択されたタブのコンテンツを表示 */
.tab-switch label:has(:checked)+div {
  display: block;
  /* 選択されたタブに対応するコンテンツを表示 */
}

.Campus_img {
  display: block;
  margin: 20px auto;
  width: 60%;
  height: auto;
}

.tab-details-content {
  width: 90% !important;
  margin: 0 auto;
}

iframe {
  margin: 20px auto;
}

h3 {
  text-align: center;
}

h4>span {
  font-size: 20px;
}

.tab-content-flex {
  display: flex;
  justify-content: space-between;
  /* background-color: var(--2year_color); */
}

.tab-content-flex-content {
  width: 48%;
  padding: 0 10px;
  margin: 10px 0;
  background-color: #fff;
}

.width100 {
  width: 100% !important;
}

.tab-content-flex-content>h4 {
  margin: 10px;
}

.tab-content-flex-content>img {
  width: 60%;
  height: auto;
  display: block;
  align-items: center;
  margin: 0 auto;
}

.tab-content-flex-content>p {
  margin: 20px;
}

.bottom_container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  /* align-items: flex-start; */
  /* background-color: var(--2year_color); */
  /* padding: 20px; */
}

.bottom_main_contents {
  width: 70%;
  display: block;
  /* text-align: center; */
  align-items: center;
  background-color: #fff;
  margin: 10px;
  padding: 10px;
}

.bottom_side_contents {
  width: 30%;
  height: auto;
  background-color: #fff;
  margin-bottom: 10px;
}

.bottom_main_contents_flex {
  display: flex;
  justify-content: space-between;
}

.bottom_main_contents_flex_img {
  width: 90%;
  height: auto;
}

.bottom_main_contents>p {
  font-size: 20px;
  margin: 20px;
}

.bottom_side_contents {
  text-align: center;
  box-sizing: border-box;
  margin: 10px;
}

.tab-content:nth-of-type(1)>div>.bottom_container>.bottom_side_contents {
  border: 10px solid var(--2year_color);
}

.tab-content:nth-of-type(2)>div>.bottom_container>.bottom_side_contents {
  border: 10px solid var(--3year_color);
}

.tab-content:nth-of-type(3)>div>.bottom_container>.bottom_side_contents {
  border: 10px solid var(--4year_color);
}

.tab-content:nth-of-type(4)>div>.bottom_container>.bottom_side_contents {
  border: 10px solid var(--5year_color);
}

.tab-content:nth-of-type(5)>div>.bottom_container>.bottom_side_contents {
  border: 10px solid var(--6year_color);
}

.tab-content:nth-of-type(6)>div>.bottom_container>.bottom_side_contents {
  border: 10px solid var(--7year_color);
}

.tab-content:nth-of-type(7)>div>.bottom_container>.bottom_side_contents {
  border: 10px solid var(--8year_color);
}

.tab-content:nth-of-type(8)>div>.bottom_container>.bottom_side_contents {
  border: 10px solid var(--R_color);
}

.bottom_side_contents>h5 {
  margin: 20px;
}

.bottom_side_contents>ul>li {
  /* display: inline-block; */
  font-size: 18px;
  margin: 10px;
  list-style-position: inside;
  list-style-type: circle;
  margin-left: 3em;
  text-indent: -1.4em;
  text-align: left;
}

.h4_curriculum {
  width: 100%;
  color: white;
  text-align: center;
  margin: 0 auto;
}

.mobile_br {
  display: none;
}

@media screen and (min-width: 1537px) {
  .site-header {
    height: 130px;
  }

  .header_logo {
    max-height: 100px;
    width: auto;
  }

  .p-text {
    font-size: 25px;
  }

  .list a {
    font-size: 20px;
  }

  h2 {
    font-size: 40px;
    /* letter-spacing: 0.1em; */
  }

  h3 {
    font-size: 30px;
    margin-bottom: 1rem;
  }

  h4 {
    font-size: 30px;
  }

  .buttonIconText {
    max-width: 400px;
    height: 80px;
  }

  .buttonIconText_text {
    flex-shrink: 1;
    width: 100%;
    color: #2ea4ff;
    font-size: 25px;
  }

  .Notice_contents_text {
    font-size: 20px;
  }
}

@media screen and (max-width: 1400px) {
  .bottom_container {
    flex-direction: column;
  }

  .bottom_side_contents {
    width: 100%;
    padding: 5px auto;
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .bottom_main_contents {
    width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1023px) {
  .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .slider-cell {
    /* width: 100vw; */
    height: 50vw;
    margin: 0;
  }

  .main-contents {
    width: 60%;
    padding: 5px auto;
    order: -1;
  }

  .side-contents {
    width: 90%;
    padding: 5px auto;
    /* margin: 20px; */
  }

  .site-header {
    height: 100px;
  }

  .header_logo {
    height: 100px;
    width: auto;
    margin: 0 auto;
  }

  #menu-btn {
    position: sticky;
    display: flex;
    width: 30px;
    height: 20px;
    position: fixed;
    top: 40px;
    right: 1rem;
    z-index: 10;
    align-items: center;
  }

  #menu-btn span,
  #menu-btn span::before,
  #menu-btn span::after {
    content: "";
    height: 2px;
    width: 100%;
    border-radius: 3px;
    position: absolute;
    background: #000000;
    transition: 0.1s;
  }

  #menu-btn span {
    top: 0;
  }

  #menu-btn span::before {
    top: 8px;
  }

  #menu-btn span::after {
    top: 16px;
  }

  #nav-input:checked~#menu-btn span {
    top: 8px;
    transform: rotate(45deg);
  }

  #nav-input:checked~#menu-btn span::before {
    opacity: 0;
  }

  #nav-input:checked~#menu-btn span::after {
    top: 0;
    transform: rotate(-90deg);
  }

  nav.nav {
    width: 200px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    background: #ffffff;
    transition: 0.5s;
    z-index: 9;
  }

  .list a {
    font-size: 15px;
    display: block;
    padding: 1rem 5px;
    text-decoration: none;
  }

  nav.nav ul.item {
    display: block;
    padding: 2rem 2rem;
  }

  nav.nav ul.nav__wrapper li.nav__item {
    padding-left: 0;
    padding-bottom: 1.5rem;
  }

  .site-header #nav-input:checked~nav.nav {
    right: 0;
  }

  .Contact {
    text-align: center;
  }

  .site-headline-container {
    display: none;
  }

  .site-headline-contents {
    width: 80%;
    text-align: center;
    margin: 20px auto;
  }

  .site-headline-contents-text {
    font-size: 18px;
    margin: 1rem 0;
  }

  .site-headline-summary-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  section {
    width: 90%;
  }

  .site-headline-contents-h4-br {
    display: none;
  }

  .site-headline-summary-container {
    display: block;
  }

  .tab-content-flex {
    display: block;
    flex-direction: column;
    align-items: center;
    /* margin: 20px; */
  }

  .tab-content-flex-content {
    width: 100%;
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-areas:
      "title title"
      "image content";
  }

  .tab-content-flex-content>h4 {
    grid-area: title;
    /* margin-bottom: 1rem; */
  }

  .tab-content-flex-content>p {
    grid-area: content;
    margin: 0 20px;
    font-size: 20px;
  }

  .tab-content-flex-content>img {
    grid-area: image;
    width: 100%;
    height: auto;
  }

  .bottom_container {
    flex-direction: column;
  }

  .bottom_side_contents {
    width: 100%;
    padding: 5px auto;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .bottom_main_contents {
    width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 641px) {
  .bottom_side_contents {
    margin-bottom: 20px;
  }

  .site-header {
    height: 90px;
    justify-content: center;
  }

  .header_logo {
    height: 90px;
    width: auto;
  }

  .main-contents {
    width: 90%;
    padding: 5px auto;
    order: -1;
  }

  .slider-cell {
    width: 100vw;
    height: 60vw;
    margin: 0;
  }

  section {
    width: 100%;
    padding: 5px auto;
  }

  h2 {
    font-size: 25px;
    /* letter-spacing: 0.1em; */
  }

  h3 {
    font-size: 25px;
    margin-bottom: 1rem;
  }

  h4 {
    font-size: 25px;
  }

  .p-text {
    font-size: 20px;
  }

  .footer_logo {
    display: block;
    width: 40%;
    height: auto;
    margin: 20px auto;
  }

  .Notice_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .Notice_contents {
    width: 80%;
    font-size: 18px;
    margin: 1rem 0;
  }

  .Notice_contents_img {
    width: 100%;
    height: auto;
  }

  .Notice_contents_text {
    font-size: 16px;
  }

  .site-headline-contents-h4-br {
    display: block;
  }

  .tab-content-flex-content {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "content";
  }

  .tab-content-flex-content>h4 {
    grid-area: title;
    /* margin-bottom: 1rem; */
  }

  .tab-content-flex-content>h4>span {
    content: "A";
    white-space: pre;
  }

  .tab-content-flex-content>p {
    grid-area: content;
    margin: 20px;
    font-size: 20px;
  }

  .tab-content-flex-content>img {
    grid-area: image;
    width: 80%;
    height: auto;
  }

  .tab-switch {
    display: flex;
    flex-wrap: wrap;
    margin: 10px auto;
    justify-content: space-between;
    column-gap: 5px;
  }

  .tab-switch>label {
    flex-grow: 1;
    order: -1;
    position: relative;
    width: 22%;
    padding: .7em 0;
    background-color: #f2f3f4;
    color: #999;
    text-align: center;
    cursor: pointer;
    transition: .3s all;
  }

  .tab-switch>label:nth-of-type(1) {
    order: 0;
  }

  .tab-switch>label:nth-of-type(2) {
    order: 0;
  }

  .tab-switch>label:nth-of-type(3) {
    order: 0;
  }

  .tab-switch>label:nth-of-type(4) {
    order: 0;
  }

  .mobile_br {
    display: block;
  }
}

@media (min-width: 600px) {
  .Overlay {
    visibility: hidden;
    opacity: 0;
  }
}

@media(any-hover: hover) {
  .buttonIconText {
    transition: background-color 0.2s;
  }

  .buttonIconText:hover {
    background-color: #2ea4ff;
  }

  .buttonIconText:hover .buttonIconText_text {
    color: #ffffff;
  }
}