/*
Theme Name : Yamagata Johoku High School 2022
*/

@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Roboto:wght@400;700&display=swap");

/*
---------------------------------------------------------------------------
Reset
---------------------------------------------------------------------------
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

del {
  text-decoration: line-through;
}

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

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

/*
---------------------------------------------------------------------------
Font
---------------------------------------------------------------------------
*/

html,
body {
  color: #4c484b;
  font-size: 16px;
  font-family: Roboto, "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3",
    Hiragino Kaku Gothic ProN, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #4c484b;
  transition: 0.3s all;
}

input,
select,
textarea {
  color: #4c484b;
  font-size: 16px;
  font-family: Roboto, "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3",
    Hiragino Kaku Gothic ProN, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

/*
---------------------------------------------------------------------------
Common
---------------------------------------------------------------------------
*/

body {
  background: #dfe0e1;
}

* {
  box-sizing: border-box;
  transition: 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

section {
  padding: 24px 0 80px;
}

.contents {
  width: 94%;
  max-width: 900px;
  margin: 0 auto;
}

.contents.w700 {
  max-width: 700px;
}

.youtube,
.youtube-box {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  text-align: center;
  margin-bottom: 20px;
}

.google_slide {
  position: relative;
  padding-bottom: 78.02%;
  height: 0;
  overflow: hidden;
  text-align: center;
  margin-bottom: 20px;
}

.youtube iframe,
.youtube-box iframe,
.google_slide iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pc_none {
  display: none;
}

img.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.slick-slider div {
  transition: none;
}

.text-right {
  text-align: right;
}

.text-small {
  font-size: 13px;
}

/*
---------------------------------------------------------------------------
Header
---------------------------------------------------------------------------
*/

.site_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #10466e;
  z-index: 10000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.admin-bar .site_header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site_header {
    top: 46px;
  }
}

#logo {
  width: 235px;
  height: 35px;
  margin: 0 auto 0 32px;
}

.frequent_nav ul {
  display: flex;
  align-items: center;
}

#nav_toggle {
  position: relative;
  width: 90px;
  height: 50px;
  /*background: #fe4647;*/
  color: #fff;
  cursor: pointer;
  transition: 0.3s all;
}

#nav_toggle > div {
  position: absolute;
  width: 30px;
  right: 50%;
  bottom: 80%;
  transform: translate(50%, 80%);
}

.nav_toggle_bar {
  position: absolute;
  left: 0;
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: 0.3s all;
}

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

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

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

.nav_toggle_text {
  position: absolute;
  right: 50%;
  bottom: 17%;
  transform: translate(50%, 17%);
  font-size: 10px;
  font-weight: bold;
  transition: 0.3s all;
}

.nav_toggle_text.close {
  visibility: hidden;
  opacity: 0;
}

#nav_toggle:hover {
  /*background: #fff;*/
}

#nav_toggle:hover .nav_toggle_bar {
  /*background: #fe4647;*/
}

#nav_toggle:hover .nav_toggle_text {
  /*color: #282828;*/
}

.open .nav_toggle_bar:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.open .nav_toggle_bar:nth-child(2) {
  width: 0;
  left: 50%;
}

.open .nav_toggle_bar:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

.open .nav_toggle_text.menu {
  visibility: hidden;
  opacity: 0;
}

.open .nav_toggle_text.close {
  visibility: visible;
  opacity: 1;
}

.nav_back {
  position: fixed;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: 0.3s all;
  opacity: 0;
  visibility: hidden;
}

.open .nav_back {
  opacity: 1;
  visibility: visible;
}

.nav_main {
  width: 660px;
  height: 100vh;
  position: fixed;
  left: 100%;
  top: 50px;
  background: #c778a6;
  transition: 0.3s;
  overflow: scroll;
  font-size: 15px;
}

.open .nav_main {
  left: calc(100% - 660px);
}

.main_menu {
  margin-bottom: 40px;
}

.main_menu a {
  display: block;
  padding: 10px 40px;
}

.main_menu > li > a {
  width: 100%;
  color: #fff;
}

.main_menu > li > a::after {
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  font-weight: bold;
  margin-left: 1em;
}

.main_menu > li > ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #fff;
  border-right: 1px solid #c778a6;
}

.main_menu > li > ul > li {
  width: 50%;
}

.main_menu > li > ul > li > a {
  height: 43px;
  color: #c778a6;
  border-left: 1px solid #c778a6;
  border-bottom: 1px solid #c778a6;
}

.main_menu > li > a.particular {
  border-bottom: 1px solid #fff;
}

.sns_menu {
  margin-left: 40px;
  padding-bottom: 80px;
  display: flex;
}

.sns_menu li {
  margin-right: 20px;
  max-width: 40px;
}

/*
---------------------------------------------------------------------------
Footer
---------------------------------------------------------------------------
*/

.site_footer {
  background: #10466e;
  color: #fff;
  padding: 48px 0;
}

.site_footer .contents {
  width: 94%;
  max-width: 700px;
}

.footer_nav > ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer_nav > ul > li {
  width: 30%;
  margin-bottom: 24px;
}

.site_footer a {
  display: block;
  width: 100%;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 2px;
  border-bottom: 1px solid #fff;
  margin-bottom: 12px;
}

.site_footer ul li ul li a {
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  padding-bottom: 0;
  border-bottom: none;
}

.site_footer ul li ul li a::before {
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  font-weight: bold;
  margin-right: 4px;
}

.footer_info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  font-size: 14px;
}

.footer_info > div:first-child {
  margin-right: 32px;
}

.footer_info > div:first-child img {
  max-width: 365px;
}

.footer_info > div:last-child {
  padding-left: 32px;
  border-left: 2px solid #fff;
}

.footer_info .sns_link {
  display: flex;
  margin-top: 18px;
}

.footer_info .sns_link a {
  width: 40px;
  margin-right: 18px;
  margin-bottom: 0;
  border: none;
}

.copy {
  font-size: 12px;
  text-align: center;
}

/*
---------------------------------------------------------------------------
Top
---------------------------------------------------------------------------
*/

body.home {
  background: none;
}

.home h1 {
  color: #000;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 32px;
  text-align: center;
}

.home h1 span {
  display: block;
  width: 280px;
  font-size: 12px;
  border-top: 1px solid #000;
  padding-top: 8px;
  margin-left: auto;
  margin-right: auto;
}

section.hero {
  padding-top: 50px;
}

/*   news   */

.top_news_list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.top_news_list > * {
  flex-grow: 1;
}

.top_news_title {
  background: #c778a6;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 200px;
}

.top_news_title h1 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 0;
}

.top_news_list ul {
  background: #eae5e9;
  padding: 28px 40px;
}

.top_news_list li {
  margin-bottom: 16px;
}

.top_news_list li:last-child {
  margin-bottom: 0;
}

.top_news_list a {
  color: #5e495a;
  letter-spacing: 0.1em;
  padding: 0 2px 2px 2px;
  border-bottom: 1px solid #5e495a;
  line-height: 1.8;
}

.top_news_list a span {
  font-size: 12px;
}

.top_news_link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.top_news_link h2 {
  color: #10466e;
}

.top_news_link a {
  display: block;
  background: #10466e;
  color: #fff;
  padding: 12px 0;
  width: 240px;
  text-align: center;
}

.top_news_link a::after {
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  font-weight: bold;
  margin-left: 1em;
}

/*   movie   */

.top_movie_back {
  background: #b5a574;
  color: #fff;
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  padding: 36px;
  font-size: 14px;
}

.top_movie_back > div:first-child {
  width: 180px;
  display: flex;
  flex-direction: column;
}

.top_movie_back > div:first-child img {
  margin-bottom: auto;
  width: 100px;
}

.home .top_movie_back h1 {
  color: #fff;
  font-size: 28px;
  line-height: 1.4;
  padding-bottom: 20px;
  border-bottom: 2px solid #fff;
  margin-bottom: 20px;
}

.top_movie_back > div:last-child {
  width: calc(100% - 236px);
}

.top_movie_back .youtube {
  margin-bottom: 0;
}

/*   banner   */

.top_banner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.top_banner a {
  display: block;
  text-align: center;
}

.top_banner a:hover {
  opacity: 0.8;
}

/*   100th banner   */

.banner_100th_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.banner_100th_list a {
  display: block;
  flex: 1;
  max-width: 430px;
  text-align: center;
}

.banner_100th_list a:hover {
  opacity: 0.8;
}

.banner_100th_list img {
  display: block;
  width: 100%;
  height: auto;
}

/*   course   */

.top_course {
  padding-bottom: 72px;
}

.top_course_general,
.top_course_advanced {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.top_course_general > div:first-child {
  flex-basis: 480px;
  background: #c778a6;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.top_course_advanced > div:first-child {
  flex-basis: 480px;
  background: #10466e;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.top_course h2 {
  color: #fff;
  font-size: 32px;
}

.top_course_general div:last-child {
  display: flex;
  flex-direction: column;
}

.top_course_general div:last-child > div {
  background-size: contain;
  margin-bottom: 15px;
  color: #fff;
  text-align: center;
  position: relative;
}

.top_course_general div:last-child > div:last-child {
  margin-bottom: 0;
}

/*   School Life   */

.top_sl {
  padding-bottom: 72px;
}

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

.top_sl .flex a {
  display: block;
  flex-basis: 500px;
}

.top_sl .flex a:nth-child(2) {
  flex-basis: 660px;
}

.top_sl p {
  width: 190px;
  color: #c778a6;
  font-weight: bold;
  text-align: center;
  padding: 2px 20px;
  border: 2px solid #c778a6;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
}

/*   graduates   */

.top_graduates {
  padding-bottom: 116px;
}


/* 100th */
.link_area {
  padding: 0 0 48px;
}

.link_area .contents {
  max-width: 1280px;
}

.link_area .flex {
  display: flex;
  justify-content: space-around;
}

.link_area .flex div {
  width: 45%;
}

.link_area a {
  display: block;
  width: 100%;
  color: #fff;
  padding: 20px;
  border-radius: 100px;
  font-weight: bold;
  text-align: center;
}

.link_area a:hover {
  opacity: .8;
}

.link_area .centennial a {
  background-color: #c778a6;
}

.link_area .kifu a {
  background-color: #b5a574;
}

/*
---------------------------------------------------------------------------
Archive
---------------------------------------------------------------------------
*/

.entry_archive {
  margin-bottom: 80px;
}

.entry_contents .entry_archive li {
  margin-bottom: 8px;
}

.entry_contents ul.entry_archive li::before {
  content: "";
  margin-right: 0;
}

.entry_archive li a {
  color: #c778a6;
  padding: 0 2px 2px 2px;
  border-bottom: 1px solid #c778a6;
}

.archive_link a {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 12px 0;
  margin: 0 auto;
  background: #10466e;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.archive_link a::after {
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  font-weight: bold;
  margin-left: 1em;
}

/*
---------------------------------------------------------------------------
Page|Single
---------------------------------------------------------------------------
*/

.contents_area {
  width: 96%;
  max-width: 1000px;
  background: #fff;
  margin: calc(50px + 24px) auto 160px;
  padding: 48px;
}

.contents_area > .contents {
  width: 100%;
}

.breadcrum {
  margin-bottom: 48px;
}

.breadcrum,
.breadcrum a {
  color: #858184;
}

.breadcrum li {
  display: inline-block;
}

.breadcrum li::after {
  margin: 0 6px;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.breadcrum li:last-child::after {
  content: "";
}

h1.entry_title {
  font-size: 32px;
  line-height: 1;
  padding: 18px 0 18px 24px;
  color: #fff;
  background: #c778a6;
  border-left: 10px solid #a13269;
  margin-bottom: 28px;
}

.entry_contents {
  padding-bottom: calc(80px - 48px);
}

.entry_contents h2 {
  margin-top: 72px;
  font-size: 24px;
  line-height: 1;
  padding: 13px 0 13px 34px;
  background: #eae5e9;
  border-bottom: 3px solid #c778a6;
  margin-bottom: 28px;
}

.entry_contents h2:nth-of-type(1) {
  margin-top: 0;
}

.entry_contents h3 {
  margin-top: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  line-height: 1.4;
  padding: 0 0 18px 12px;
  border-bottom: 1px solid #ae9e74;
  margin-bottom: 28px;
}

.entry_contents h2 + h3 {
  margin-top: 0;
}

.entry_contents p {
  line-height: 1.9;
  margin-bottom: 24px;
}

.entry_contents img {
  display: block;
  margin-bottom: 24px;
}

.entry_contents figure img {
  margin-left: auto;
  margin-right: auto;
}

.entry_contents figcaption {
  text-align: center;
  margin-bottom: 2.5em;
}

.entry_contents .link {
  text-align: center;
  margin-bottom: 36px;
}

.entry_contents .link a {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  background: #c778a6;
  padding: 4px 24px;
  border-radius: 100px;
}

.entry_contents .back_box {
  background: #f5f5f5;
  padding: 24px;
  margin-bottom: 24px;
}

.entry_contents .back_box p:last-child {
  margin-bottom: 0;
}

.entry_contents ul li {
  line-height: 2;
  margin-bottom: 24px;
}

.entry_contents ul li::before {
  content: "◯";
  margin-right: 4px;
}

.entry_contents ul.slide li::before {
  content: "";
  margin-right: 0;
}

.entry_contents ol {
  margin-left: 1em;
}

.entry_contents ol li {
  line-height: 2;
  margin-bottom: 24px;
}

.entry_contents hr {
  border-top: 1px dashed #4c484b;
  margin: 24px auto;
}

.entry_contents .post_date {
  margin-bottom: 72px;
}

/*   enkaku   */

.entry_contents .enkaku {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}

.entry_contents .enkaku div:first-child {
  width: 50%;
  max-width: 300px;
  margin-right: 72px;
}

.entry_contents .enkaku img {
  max-width: 100%;
}

.entry_contents .enkaku table td {
  padding-bottom: 12px;
}

.entry_contents .enkaku table td:first-child {
  white-space: nowrap;
  padding-right: 2em;
}

/*   pamphlet   */

.pamphlet .back {
  position: relative;
}

.pamphlet .back img {
  border: 1px solid #ddd;
}

.pamphlet .back .link a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #4c484b;
  background: rgba(255, 255, 255, 0.8);
}

/*   course   */

.each_course {
  margin-bottom: 60px;
  color: #fff;
  padding-bottom: 12px;
}

.each_course h3 {
  text-align: center;
  font-size: 24px;
  line-height: 2;
  border-bottom: 1px solid #fff;
  margin: 0;
}

.each_course p.spec {
  text-align: center;
  line-height: 2;
  border-bottom: 1px solid #fff;
  margin-bottom: 0;
}

.each_course p.spec.last {
  margin-bottom: 24px;
}

.each_course p.text {
  margin: 24px auto;
  max-width: 600px;
}

.each_course .link a {
  background: #fff;
}

.each_course.at {
  background: #bb2850;
}

.each_course.ct {
  background: #1a9080;
}

.each_course.st {
  background: #df7a2f;
}

.each_course.advanced {
  background: #10466e;
}

.each_course.at .link a {
  color: #bb2850;
}

.each_course.ct .link a {
  color: #1a9080;
}

.each_course.st .link a {
  color: #df7a2f;
}

.each_course.advanced .link a {
  color: #10466e;
}

.course_nav ul {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.course_nav ul li {
  width: 24%;
}

.course_nav ul li a {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 100px;
  font-size: 13px;
  color: #fff;
  text-align: center;
}

.nav_at {
  background: #bb2850;
}

.nav_at.active {
  border: 2px solid #820023;
}

.nav_ct {
  background: #1a9080;
}

.nav_ct.active {
  border: 2px solid #065354;
}

.nav_st {
  background: #df7a2f;
}

.nav_st.active {
  border: 2px solid #c74800;
}

.nav_advanced {
  background: #10466e;
}

.nav_advanced.active {
  border: 2px solid #032159;
}

body.at .entry_title {
  background: #bb2850;
  border-left-color: #820023;
}

body.at .entry_contents h2 {
  background: #f4dfdf;
  border-bottom-color: #bb2850;
}

body.ct .entry_title {
  background: #1a9080;
  border-left-color: #065354;
}

body.ct .entry_contents h2 {
  background: #dfe7e3;
  border-bottom-color: #1a9080;
}

body.st .entry_title {
  background: #df7a2f;
  border-left-color: #c74800;
}

body.st .entry_contents h2 {
  background: #f2ebe2;
  border-bottom-color: #df7a2f;
}

body.tokushin .entry_title {
  background: #10466e;
  border-left-color: #032159;
}

body.tokushin .entry_contents h2 {
  background: #dde2e6;
  border-bottom-color: #10466e;
}

.point,
.feature {
  margin-bottom: 24px;
  font-weight: bold;
  border-collapse: separate;
  border-spacing: 2px 20px;
}

.point tr,
.feature tr {
  background: #ded6c2;
  margin-bottom: 20px;
}

.point tr td,
.feature tr td {
  padding: 20px;
  vertical-align: middle;
}

.point tr td:first-child {
  background: #a59574;
  width: 100px;
}

.point img {
  width: 60px;
  margin-bottom: 0;
}

.feature td:first-child {
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.feature td:last-child {
  font-weight: normal;
  font-size: 13px;
}

body.at .point tr,
body.at .feature tr {
  background: #f4dfdf;
}

body.at .point td:first-child,
body.at .feature td:first-child {
  background: #bb2850;
}

body.ct .point tr,
body.ct .feature tr {
  background: #dfe7e3;
}

body.ct .point td:first-child,
body.ct .feature td:first-child {
  background: #1a9080;
}

body.st .point tr {
  background: #f2ebe2;
}

body.st .point td:first-child {
  background: #df7a2f;
}

body.tokushin .point tr {
  background: #dde2e6;
}

body.tokushin .point td:first-child {
  background: #10466e;
}

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

.lessons > div {
  width: 32%;
  margin-bottom: 12px;
}

.lessons h4 {
  text-align: center;
  line-height: 1.3;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #fff;
}

.lessons p {
  padding: 16px 12px;
  font-size: 12px;
  margin-bottom: 0;
}

body.ct .lessons > div {
  background: #dfe7e3;
}

body.ct .lessons > div.none {
  background: none;
}

body.ct .lessons h4 {
  color: #1a9080;
}

body.st .lessons > div {
  background: #f2ebe2;
}

body.st .lessons h4 {
  color: #df7a2f;
}

body.tokushin .lessons > div {
  background: #dde2e6;
  width: 100%;
}

body.tokushin .lessons h4 {
  color: #10466e;
  text-align: left;
  padding-left: 12px;
}

body.tokushin .lessons > div > div {
  display: flex;
  justify-content: space-between;
}

body.tokushin .lessons > div > div > div {
  width: 70%;
}

body.tokushin .lessons > div > div > div:last-child {
  width: 27%;
  padding-top: 16px;
  margin-right: 12px;
}

body.tokushin .lessons > div > div > div:last-child img {
  max-width: 100%;
  margin-bottom: 0;
}

.at_lesson,
.st_lesson {
  display: flex;
  justify-content: space-between;
}

.at_lesson > div,
.st_lesson > div {
  width: 45%;
}

.at_lesson img,
.st_lesson img {
  max-width: 100%;
}

.ct_strong,
.ad_env {
  display: flex;
  justify-content: space-between;
}

.ct_strong div,
.ad_env div {
  width: 45%;
}

.ct_strong div img,
.ad_env div img {
  max-width: 100%;
}

.course_banner a {
  display: block;
  width: 100%;
  color: #fff;
  padding: 28px;
  border-radius: 100px;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 24px;
}

.home .course_banner a {
	margin-top: 48px;
}

body.at .course_banner a {
  background: #bb2850;
}

body.ct .course_banner a {
  background: #1a9080;
}

body.st .course_banner a {
  background: #df7a2f;
}

body.tokushin .course_banner a {
  background: #10466e;
}

.course_banner.os a {
  background: #b5a574;
}

.course_banner.app a {
  background: #c778a6;
}

.course_banner.teacher a {
  background: #10466e;
}

.course_banner.exam_2026 a {
  background-color: #34a0d7;
}

.course_banner.exam_2026 a .text_yellow {
  color: #F2E22C;
  font-size: 1.2em;
}

.konnna {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.konnna > div {
  width: 30%;
  padding: 16px;
  background-color: #f2f5f5;
}

.konnna p {
  line-height: 1.6;
  margin-bottom: 0;
}

.konnna .number {
  display: block;
  text-align: center;
  font-size: 200%;
  color: #032159;
}

/*   School Life   */

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

.sl_top > div {
  width: 48%;
  margin-bottom: 28px;
}

.sl_top h3 {
  background: #eae5e9;
  border: none;
  margin-top: 0;
  padding: 12px 0;
  margin-bottom: 0;
  text-align: center;
  position: relative;
}

.sl_top h3::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 0;
  border-width: 20px 20px 0 0;
  border-style: solid;
  border-color: #fff #c778a6 #c778a6 #fff;
  transition: 0.3s;
}

.sl_top a:hover h3 {
  color: #a13269;
}

.sl_top a:hover h3::after {
  border-color: #fff #a13269 #a13269 #fff;
}

.sl_top img {
  max-width: 100%;
  margin-bottom: 0;
}

.sl_top a:hover img {
  opacity: 0.8;
}

/*   schedule   */

.schedule .entry_contents .w700 > div {
  display: flex;
  margin-bottom: 16px;
}

.schedule .entry_contents .w700 > div > div:nth-child(1) {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #b5a574;
  width: 90px;
}

.schedule .entry_contents .w700 > div > div:nth-child(2) {
  width: 310px;
  display: flex;
  align-items: center;
  background: #f5f5f5;
}

.schedule .entry_contents .w700 > div > div:nth-child(3) {
  width: 300px;
  flex-grow: 1;
}

.schedule .entry_contents .w700 > div h3 {
  color: #fff;
  margin: 0;
  padding: 0;
  border: none;
}

.schedule .entry_contents .w700 > div ul {
  padding-left: 40px;
  margin-bottom: 0;
}

.schedule .entry_contents .w700 > div ul li {
  margin-bottom: 0;
}

.schedule .entry_contents .w700 > div ul li:last-child {
  margin-bottom: 0;
}

.schedule .entry_contents p {
  font-size: 13px;
  text-align: right;
}

.schedule .entry_contents img {
  margin-bottom: 0;
  width: 100%;
}

.schedule .entry_contents ul li::before {
  content: "●";
  color: #b5a574;
}

/*   seifuku   */

.winter,
.summer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.winter > div,
.summer > div {
  width: 48%;
  position: relative;
}

.winter > div {
  background: #b5a574;
}

.summer > div {
  background: #f5f5f5;
}

.winter > div::before,
.summer > div::before {
  position: absolute;
  content: "";
  top: 50%;
  left: -40px;
  margin-top: -20px;
  border: 20px solid transparent;
  border-right-width: 20px;
  border-right-style: solid;
}

.winter > div::before {
  border-right-color: #b5a574;
}

.summer > div::before {
  border-right-color: #f5f5f5;
}

.winter p {
  padding: 48px;
  color: #fff;
  margin-bottom: 0;
}

.summer p {
  padding: 48px;
  margin-bottom: 0;
}

.summer .ml {
  margin-left: 75px;
}

/*   club   */

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

.sl_club_each {
  width: 48.5%;
  margin-bottom: 24px;
}

.sl_club_each_title {
  width: 100%;
  background: #665460;
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
}

.sl_club_each_title h4 {
  color: #fff;
  font-size: 16px;
  font-weight: normal;
  margin-right: auto;
}

.sl_club_each_title h4::before {
  content: "●";
  margin-right: 4px;
}

.sl_club_each_title img {
  height: 24px;
  margin-bottom: 0;
  margin-left: 8px;
}

/*   one day   */

.oneday .entry_contents .back_box {
  display: flex;
  justify-content: space-between;
  padding: 36px;
}

.oneday table th {
  text-align: left;
  color: #b5a574;
  font-size: 20px;
  padding: 0 32px 32px 0;
}

.oneday table td {
  padding: 0 0 32px 32px;
  border-left: 3px solid #b5a574;
}

.oneday .entry_contents ul {
  width: 200px;
  margin-left: 60px;
}

.oneday .entry_contents ul li {
  margin-top: 60px;
}

.oneday .entry_contents ul li::before {
  content: "";
  margin-right: 0;
}

/*   facilities   */

.facilities .entry_contents .notes {
  width: 80%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.facilities .entry_contents .notes li {
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 16px;
}

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

.sl_facilities_each {
  width: 48.5%;
  margin-bottom: 24px;
}

.sl_facilities_each h4 {
  background: #665460;
  color: #fff;
  font-size: 16px;
  font-weight: normal;
  padding: 8px 16px;
}

/*   achievements   */

.achievements h4 {
  background: #b5a574;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  padding: 10px;
  text-align: center;
}

.achievements .list {
  display: flex;
  justify-content: space-between;
  background: #f5f5f5;
  padding: 24px;
}

.achievements .list.wrap {
  flex-wrap: wrap;
}

.achievements .list ul {
  width: 50%;
}

.achievements .list ul.w100 {
  width: 100%;
  margin-bottom: 24px;
}

.achievements .entry_contents li {
  margin-bottom: 0;
}

.achievements .entry_contents li::before {
  content: "・";
  margin-right: 0;
}

p.other {
  text-align: right;
  background: #f5f5f5;
  padding: 0 24px 12px;
  margin-top: -24px;
}

.achievements .entry_contents a {
  color: #c778a6;
  padding: 2px;
  margin-bottom: 12px;
  border-bottom: 1px solid #c778a6;
}

/*   graduates   */

.gra {
  background: #f5f5f5;
  padding: 48px;
  margin-bottom: 48px;
}

.gra .flex {
  display: flex;
  margin-bottom: 48px;
}

.gra .flex img {
  width: 300px;
  height: auto;
  margin-right: 30px;
}

.gra .meta {
  display: flex;
  flex-direction: column;
}

.gra .pop {
  color: #fff;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: auto;
}

.gra .pop p {
  margin-bottom: 0;
}

.gra h4 {
  font-size: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #000;
  margin-bottom: 16px;
}

.gra h4 span {
  font-size: 20px;
}

.gra .spec {
  font-size: 0.8em;
}

.gra h3 {
  font-size: 18px;
  padding: 0;
  border: none;
}

.gra_advanced .pop {
  background: #10466e;
}

.gra_advanced h4 {
  color: #10466e;
  border-bottom-color: #10466e;
}

.gra_advanced .spec {
  color: #10466e;
}

.gra_at .pop {
  background: #a13269;
}

.gra_at h4 {
  color: #a13269;
  border-bottom-color: #a13269;
}

.gra_at .spec {
  color: #a13269;
}

.gra_ct .pop {
  background: #2d9090;
}

.gra_ct h4 {
  color: #2d9090;
  border-bottom-color: #2d9090;
}

.gra_ct .spec {
  color: #2d9090;
}

.gra_st .pop {
  background: #df7a4c;
}

.gra_st h4 {
  color: #df7a4c;
  border-bottom-color: #df7a4c;
}

.gra_st .spec {
  color: #df7a4c;
}

/*   load to tohokubunkyo   */

.load-to-tohokubunkyo .entry_contents .flex {
  display: flex;
  justify-content: space-between;
}

.load-to-tohokubunkyo .entry_contents .flex img {
  max-width: 48%;
}

/*   document   */

.document table {
  width: 100%;
  border: 1px solid #4c484b;
  font-size: 13px;
}

.document table th {
  font-weight: normal;
  padding: 8px;
  background: #eae5e9;
  border: 1px solid #4c484b;
  white-space: nowrap;
  vertical-align: middle;
}

.document table td {
  text-align: center;
  vertical-align: middle;
  padding: 8px;
  border: 1px solid #4c484b;
}

.document table td.ta-left {
  text-align: left;
}

.document table.benefit th {
	background-color: #fff;
}

.document table.benefit .back_gray {
	background-color: #eae5e9;
}

/*   LINE   */

.line .entry_contents .flex {
  display: flex;
  justify-content: space-between;
  max-width: 500px;
  margin: 0 auto;
}

/*   QandA   */

.qanda .entry_contents ul {
  margin-top: -24px;
}

.qanda .entry_contents ul li {
  margin-bottom: 0;
}

.qanda .entry_contents ul li::before {
  content: "・";
}

/*　　　contact　　　*/

.contact .entry_contents ul li::before,
.application .entry_contents ul li::before {
  content: "";
  margin-right: 0;
}

.contact .entry_contents .back_box {
  margin-bottom: 60px;
}

.entry_contents .form dl {
  display: table;
  width: 100%;
  padding: 12px 0;
}

.entry_contents .form dt,
.entry_contents .form dd {
  display: table-cell;
  vertical-align: top;
}

.entry_contents .form dt {
  width: 190px;
}

.entry_contents .form dt span {
  font-size: 11px;
  color: #cb5374;
  margin-left: 4px;
}

.entry_contents .form dd input,
.entry_contents .form dd select {
  padding: 4px;
}

.entry_contents .form dd input {
  width: 100%;
}

.entry_contents .form dd input.w50 {
  width: 50px;
  margin-bottom: 4px;
}

.entry_contents .form dd input.w100 {
  width: 100px;
}

.entry_contents .form dd input.w50p {
  width: 50%;
}

.entry_contents .form dd input[type="date"] {
  width: 50%;
}

.entry_contents .form dd input[type="checkbox"] {
  width: 16px;
}

.entry_contents .form dd input[type="radio"] {
  width: 16px;
  vertical-align: baseline;
}

.entry_contents .form dd textarea {
  width: 100%;
  padding: 4px;
}

.entry_contents .form p {
  margin-bottom: 0;
}

.form .wpcf7-list-item:first-child {
  margin-left: 0;
}

.entry_contents #send {
  display: block;
  width: 200px;
  padding: 4px;
  border-radius: 100px;
  background: #7c797c;
  color: #fff;
  font-size: 18px;
  border: none;
  margin: 40px auto;
  cursor: pointer;
}

/*   certificate   */

.certificate table {
  width: 100%;
  border: 1px solid #4c484b;
}

.certificate table th {
  font-weight: normal;
  padding: 8px;
  background: #eae5e9;
  border: 1px solid #4c484b;
  white-space: nowrap;
}

.certificate table td {
  vertical-align: middle;
  padding: 8px 16px;
  border: 1px solid #4c484b;
}

.certificate table td.center {
  text-align: center;
}


/*============================================================================*/
/*   for mobile start
/*============================================================================*/

@media screen and (max-width: 768px) {
  .pc_none {
    display: block;
  }
  .sp_none {
    display: none;
  }
  section {
    padding-bottom: 48px;
  }
  /*   top   */
  .hero {
    padding-bottom: 0;
  }
  .top_news_title {
    max-width: 100%;
  }
  .top_news_list {
    flex-direction: column;
  }
  .top_news_list ul {
    padding: 16px;
  }
  .top_news_link {
    flex-direction: column;
  }
  .top_news_link h2,
  .top_news_link a {
    margin-bottom: 12px;
  }
  .banner_100th_list {
    flex-direction: column;
    gap: 16px;
  }
  .banner_100th_list a {
    max-width: 100%;
  }
  .top_movie_back {
    flex-direction: column;
    padding: 16px;
  }
  .top_movie_back > div:first-child {
    width: 100%;
    flex-direction: row;
    margin-bottom: 16px;
  }
  .top_movie_back > div > div {
    margin-left: 16px;
  }
  .top_movie_back > div:last-child {
    width: 100%;
  }
  .top_course_general,
  .top_course_advanced {
    flex-direction: column;
  }
  .top_course_advanced {
    margin-top: 36px;
  }
  .top_course_general > div,
  .top_course_advanced > div {
    width: 100%;
  }
  .top_course_general > div:first-child,
  .top_course_advanced > div:first-child {
    flex-basis: 60px;
    margin-bottom: 8px;
  }
  .top_course_general div:last-child > div {
    margin-bottom: 8px;
  }
  .top_course h2 {
    font-size: 24px;
  }
  .top_sl .flex {
    flex-direction: column;
  }
  .top_sl .flex a {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .top_sl .flex a:nth-child(2) {
    flex-basis: 0;
  }
  .link_area .flex {
    flex-direction: column;
  }
  .link_area .flex div {
    width: 80%;
    margin: 0 auto 24px;
  }
  /*   page   */
  .contents_area {
    padding: 8px;
  }
  .breadcrum {
    margin-bottom: 16px;
  }
  h1.entry_title {
    font-size: 24px;
    padding-left: 8px;
  }
  .entry_contents h2 {
    font-size: 20px;
    padding-left: 18px;
  }
  .entry_contents .enkaku {
    flex-direction: column;
  }
  .entry_contents .enkaku div:first-child {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }
  .entry_contents .each_course h3,
  .entry_contents p.spec,
  .entry_contents p.text {
    padding-left: 8px;
    padding-right: 8px;
  }
  .course_nav ul {
    flex-direction: column;
  }
  .course_nav ul li {
    width: 100%;
    margin-bottom: 8px;
  }
  .point tr td:first-child {
    width: 60px;
    padding-left: 0;
    padding-right: 0;
  }
  .at_lesson,
  .st_lesson {
    flex-direction: column;
  }
  .at_lesson > div,
  .st_lesson > div {
    width: 100%;
  }
  .lessons {
    flex-direction: column;
  }
  .lessons > div {
    width: 100%;
  }
  .ct_strong,
  .ad_env {
    flex-direction: column;
  }
  .ct_strong div,
  .ad_env div {
    width: 100%;
  }
  body.tokushin .lessons > div > div {
    flex-direction: column-reverse;
  }
  body.tokushin .lessons > div > div > div {
    width: 100%;
  }
  body.tokushin .lessons > div > div > div:last-child {
    width: 100%;
    padding-top: 0;
    margin-right: 0;
  }
  .sl_top {
    flex-direction: column;
  }
  .sl_top > div {
    width: 100%;
  }
  .schedule .entry_contents .w700 > div {
    flex-direction: column;
  }
  .schedule .entry_contents .w700 > div > div:nth-child(1) {
    width: 100%;
    height: 2em;
  }
  .schedule .entry_contents .w700 > div > div:nth-child(2) {
    width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .schedule .entry_contents .w700 > div > div:nth-child(3) {
    width: 100%;
  }
  .oneday .entry_contents .back_box {
    flex-direction: column;
    padding: 8px;
  }
  .oneday table th {
    padding: 0 16px 16px 0;
  }
  .oneday table td {
    padding: 0 0 16px 16px;
  }
  .oneday .entry_contents ul {
    width: 80%;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
  }
  .oneday .entry_contents ul li {
    margin-top: 0;
  }
  .winter,
  .summer {
    flex-direction: column;
  }
  .winter > img,
  .summer > img {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
  .summer .ml {
    margin-left: auto;
    width: 40%;
  }
  .winter > div,
  .summer > div {
    width: 100%;
  }
  .winter > div::before,
  .summer > div::before {
    position: absolute;
    content: "";
    top: -20px;
    left: 50%;
    margin-left: -20px;
    border: 20px solid transparent;
    border-bottom-width: 20px;
    border-bottom-style: solid;
  }
  .winter > div::before {
    border-bottom-color: #b5a574;
  }
  .summer > div::before {
    border-bottom-color: #f5f5f5;
  }
  .winter p,
  .summer p {
    padding: 16px;
  }
  .sl_club_wrap {
    flex-direction: column;
  }
  .sl_club_each {
    width: 100%;
  }
  .facilities .entry_contents .notes {
    width: 100%;
  }
  .facilities .entry_contents .notes li {
    margin-bottom: 0;
  }
  .sl_facilities_wrap {
    flex-direction: column;
  }
  .sl_facilities_each {
    width: 100%;
  }
  .achievements .list {
    flex-direction: column;
  }
  .achievements .list ul {
    width: 100%;
  }
  .gra {
    padding: 16px;
  }
  .gra .flex {
    flex-direction: column;
  }
  .load-to-tohokubunkyo .entry_contents .flex {
    flex-direction: column;
  }
  .load-to-tohokubunkyo .entry_contents .flex img {
    max-width: 100%;
  }
  .line .entry_contents .flex {
    flex-direction: column;
  }
  .line .entry_contents .flex img {
    margin-left: auto;
    margin-right: auto;
  }
  .entry_contents .form dt,
  .entry_contents .form dd {
    display: block;
  }
  .certificate table td {
    padding: 8px;
  }
  /*   header,footer   */
  #logo {
    margin-left: 0;
  }
  #nav_toggle {
    width: 50px;
  }
  .nav_main {
    width: 100%;
  }
  .open .nav_main {
    left: 0;
  }
  .main_menu > li > ul {
    flex-direction: column;
  }
  .main_menu > li > ul > li {
    width: 100%;
  }
  .footer_nav {
    display: none;
  }
  .footer_info {
    flex-direction: column;
  }
  .footer_info > div:first-child {
    margin-right: 0;
    max-width: 350px;
  }
  .footer_info > div:first-child img {
    max-width: 100%;
  }
  .footer_info > div:last-child {
    padding-left: 8px;
    border: none;
    margin-top: 32px;
  }
}

/* dont delete */

/*   end max767   */
