/* ------------------------
  reset
------------------------ */
html,
body {
  height: 100%;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

pre,
textarea {
  overflow: auto;
}

template {
  display: none;
}

details,
main,
summary {
  display: block;
}

input[type=number] {
  width: auto;
}

input[type=search] {
  -webkit-appearance: textfield;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

progress {
  display: inline-block;
}

small {
  font-size: 75%;
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

textarea {
  resize: vertical;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

audio:not([controls]) {
  display: none;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  min-height: 1.5em;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

input {
  line-height: normal;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  border-style: none;
  cursor: pointer;
  background-color: transparent;

  -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

code,
kbd,
pre,
samp {
  font-family: monospace;
}

ol,
ul {
  list-style: none;
}

select {
     -moz-appearance: none;
  -webkit-appearance: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

fieldset {
  border: 0;
}

/* ------------------------
  Base Settings
------------------------ */
main a {
  text-decoration: none;
  color: #0a0e80;
}
main a:visited {
  color: #0a0e80;
}
main a:hover {
  text-decoration: none;
  color: #0a0e80;
}
main a:active {
  text-decoration: none;
  color: #0a0e80;
}
main a[href^="tel:"]:hover {
  color: #0a0e80;
}
@media (min-width: 768px) {
  main a[href^="tel:"] {
    cursor: text;
    text-decoration: none;
  }
}

::-moz-selection {
  background-color: #036eb8;
  color: #fff;
  text-shadow: none;
}

::selection {
  background-color: #036eb8;
  color: #fff;
  text-shadow: none;
}

a img {
  transition: 0.4s;
}
a img:hover {
  opacity: 0.6;
}

.c-section_title_group {
  text-align: center;
}
@media (max-width: 767.98px) {
  .c-section_title_group {
    margin-bottom: 10.6666666667vw;
  }
}
@media (min-width: 768px) {
  .c-section_title_group {
    margin-bottom: 50px;
  }
}

.c-section_title {
  letter-spacing: 0.05em;
  color: #0a0e85;
  font-weight: 900;
  line-height: 1.6;
}
@media (max-width: 767.98px) {
  .c-section_title {
    font-size: 8.5333333333vw;
  }
}
@media (min-width: 768px) {
  .c-section_title {
    font-size: 46px;
  }
}

.c-section-text-tag {
  border-radius: 100vmax;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: #fff;
  letter-spacing: 0.15em;
  font-weight: 700;

  margin-inline: auto;
}
@media (max-width: 767.98px) {
  .c-section-text-tag {
    margin-top: 1.3333333333vw;
    padding: 0.5333333333vw 5.3333333333vw;
    font-size: 3.7333333333vw;
  }
}
@media (min-width: 768px) {
  .c-section-text-tag {
    margin-top: 9px;
    padding: 2px 24px;
    font-size: 19px;
  }
}

.c-subject_tag {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}
@media (max-width: 767.98px) {
  .c-subject_tag {
    font-size: 4.2666666667vw;
    line-height: 1.2;

    padding-block: 0.8vw;
  }
}
@media (min-width: 768px) {
  .c-subject_tag {
    padding-block: 7px;
  }
}
.c-subject_tag.-english {
  background: #ed8cef;
}
.c-subject_tag.-math {
  background: #59bce6;
}
.c-subject_tag.-japanese {
  background: #a273dd;
}
.c-subject_tag.-society {
  background: #eca25d;
}
.c-subject_tag.-history {
  line-height: 1.25;
}
@media (max-width: 767.98px) {
  .c-subject_tag.-history {
    font-size: 2.9333333333vw;
  }
}
@media (min-width: 768px) {
  .c-subject_tag.-history {
    font-size: 11px;
  }
}
.c-subject_tag.-science {
  background: #7ed587;
}
.c-subject_tag.-info {
  background: #2d81ce;
}

/* ------------------------
  utilities Classes
------------------------ */
.u-hidden {
  display: none !important;
  visibility: hidden;
}

@media (max-width: 767.98px) {
  .u-hidden-sm {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .u-hidden-md {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 1024px) {
  .u-hidden-lg {
    display: none !important;
    visibility: hidden;
  }
}

.u-visuallyhidden {
  overflow: hidden;
  clip: rect(0 0 0 0);
  position: absolute;
  margin: -1px;
  padding: 0;
  border: 0;
  width: 1px;
  height: 1px;
}

.u-visuallyhidden.focusable:active,
.u-visuallyhidden.focusable:focus {
  overflow: visible;
  clip: auto;
  position: static;
  margin: 0;
  width: auto;
  height: auto;
}

.u-invisible {
  visibility: hidden;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

@media (min-width: 768px) {
  .u-br_sp {
    display: none;
  }
}

.u-br_pc {
  display: none;
}
@media (min-width: 768px) {
  .u-br_pc {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .u-hidden-sm {
    display: none !important;
    visibility: hidden;
  }
}

.u-hidden-up-sm {
  display: none !important;
  visibility: hidden;
}

@media (max-width: 767.98px) {
  .u-hidden-down-sm {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .u-hidden-md {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 768px) {
  .u-hidden-up-md {
    display: none !important;
    visibility: hidden;
  }
}

@media (max-width: 1023.98px) {
  .u-hidden-down-md {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 1024px) {
  .u-hidden-lg {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 1024px) {
  .u-hidden-up-lg {
    display: none !important;
    visibility: hidden;
  }
}

.u-hidden-down-lg {
  display: none !important;
  visibility: hidden;
}

/* ------------------------
  Print Styles
------------------------ */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
/*
* main.css
*
*/