@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@100&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100&display=swap");
/*
	標準のスタイル 
	親テーマ twentytwenty 用
*/
html {
  scroll-behavior: smooth;
}

body {
  color: #772a2e;
  /*
  .entry-content{
  	font-family: 'Noto Sans JP', sans-serif !important;
  }
  */
}
body h1 {
  font-size: 4rem;
  padding: 0.5em;
  background-color: #772a2e;
  color: white;
  clear: both;
}
body h2 {
  font-size: 3rem;
  padding: 0.5em;
  border-left: 0.2em solid #772a2e;
  border-bottom: 0.2em solid #772a2e;
  clear: both;
}
body h3 {
  font-size: 2rem;
  padding: 0.5em;
  border-bottom: 0.2em solid #772a2e;
  clear: both;
}
body h4 {
  font-size: 1.5rem;
  font-weight: bold;
}
body a img {
  transition: all 250ms;
}
body a img:hover {
  transition: all 250ms;
  transform: scale(1.05, 1.05);
}
body a.link-to-pdf + .wp-caption-text::after {
  content: " [PDF]";
}
body a.link-to-pdf img:hover {
  transition: all 250ms;
  transform: none;
}
body .wp-caption {
  max-width: 100% !important;
  border: 1px solid #ddd;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #f3f3f3;
  text-align: center;
  width: fit-content;
  padding: 10px;
}
body .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  width: 1024px;
  max-width: 100%;
}
body .entry-content > .alignleft,
body .entry-content > p .alignleft,
body .entry-content > .wp-block-image .alignleft {
  position: static;
  float: left;
  max-width: 26rem;
  margin-left: 0;
}
body .entry-content > .alignright,
body .entry-content > p .alignright,
body .entry-content > .wp-block-image .alignright,
body [class*=__inner-container] > .alignright {
  position: static;
  float: right;
  max-width: 26rem;
  margin-right: 0;
}
body img.inline {
  vertical-align: baseline;
  display: inline;
}
body a.ext:after {
  content: "[外部サイト]";
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 0.8em;
  display: inline-block;
  font-size: 50%;
  vertical-align: super;
}
body .informations .sp-tab__lay-default ul {
  border-bottom: 2px solid #44788a !important;
  flex-wrap: nowrap;
  display: flex;
  overflow-x: auto;
}
body .informations .sp-tab__lay-default ul li {
  margin-bottom: 0px !important;
  margin-right: 4px !important;
}
body .informations .sp-tab__lay-default ul li:first-child {
  margin-left: auto !important;
}
body .informations .sp-tab__lay-default ul li:last-child {
  margin-right: auto !important;
}
body .informations .hy_post_list {
  overflow-x: hidden;
  overflow-y: scroll;
  max-height: 20rem;
  line-height: 1.5em;
}
body .informations .hy_post_list a {
  color: #335;
  border-bottom: 1px solid #44788a;
  display: block;
  text-decoration: none;
  transition: all 250ms;
  position: relative;
  left: 0;
}
body .informations .hy_post_list a:hover {
  background-color: #f8f8f8;
  left: 10px;
}
body .informations .hy_post_list a:hover div {
  background-color: #f8f8f8;
}
body .informations .hy_post_list a .post {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5rem;
}
body .informations .hy_post_list a .post .date {
  width: 7em;
  padding: 0.5rem 0.5rem;
}
body .informations .hy_post_list a .post .category {
  width: 12em;
  border-radius: 100vh;
  border: 1px solid;
  padding: 0.1em;
  color: black;
  text-align: center;
}
body .informations .hy_post_list a .post .title {
  padding-left: 1rem;
  min-width: 20em;
}
body .informations .hy_post_list a .post .title .tags .tag {
  display: inline;
  border: 1px solid #ccc;
  padding: 0.1rem 0.2rem;
  font-size: 0.5rem;
}

body.tanabe-h {
  color: #772a2e;
}
body.tanabe-h .primary-menu-wrapper a {
  color: white !important;
  text-decoration: none !important;
}
body.tanabe-h .primary-menu-wrapper a:hover {
  text-decoration: underline !important;
}
body.tanabe-h .entry-header {
  padding: 0;
  background-color: #f0f0f0;
}
body.tanabe-h .entry-header .entry-categories {
  display: none;
}
body.tanabe-h .entry-header .post-author {
  display: none;
}
body.tanabe-h .entry-header .breadcrumb {
  text-align: left;
  font-size: 75%;
  color: black;
  padding-bottom: 1em;
  margin-top: -1em;
}
body.tanabe-h .entry-header .breadcrumb a {
  color: black;
  text-decoration: underline;
}
body.tanabe-h .entry-header .breadcrumb a:hover {
  color: #772a2e;
  text-decoration: underline;
}
body.tanabe-h .entry-header .post-meta-single-top {
  max-width: 1024px;
}
body.tanabe-h .entry-header .post-meta-single-top .post-meta {
  justify-content: right;
}
body.tanabe-h h1 {
  background-color: #f0f0f0;
  color: black;
  font-size: 4.62rem;
  text-align: center;
  font-weight: 500;
  padding: 0.5em 0.5em 0.8em;
  clear: both;
}
body.tanabe-h h2 {
  color: #772a2e;
  padding: 0.5em;
  text-align: center;
  font-size: 3.78rem;
  padding: 0 0 0.8em;
  margin: 0 auto 0;
  border: none;
  clear: both;
}
body.tanabe-h h3 {
  color: #772a2e;
  border-bottom: 0em;
  text-align: center;
  font-size: 3.15rem;
  font-weight: bold;
  margin: 0 auto 1.2em;
  clear: both;
}
body.tanabe-h h4 {
  color: #772a2e;
  font-size: 2.1rem;
}
body.tanabe-h hr {
  background: none;
  border: 1rem solid;
  border-width: 0px;
  border-left-style: none;
  border-top-style: none;
  border-bottom-width: 5px;
  border-image: url(/wp-content/uploads/2022/12/区切り線.svg) 10;
  padding: 0.8em 0.8em 0.65em;
  display: block;
  margin: 0 auto;
}
body.tanabe-h hr::before, body.tanabe-h hr::after {
  display: none;
}
body.tanabe-h audio {
  width: 400px;
  max-width: 90%;
}
body.tanabe-h .entry-content {
  color: black;
}
body.tanabe-h .ccchildpages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1em auto !important;
}
body.tanabe-h .ccchildpages .ccpages_more a {
  color: black;
  text-decoration: underline;
  font-size: 0;
}
body.tanabe-h .ccchildpages .ccpages_more a::before {
  content: "続きを読む...";
  font-size: 1.5rem;
}
body.tanabe-h.home header.entry-header {
  display: none;
}
body.tanabe-h.home h2 {
  background-color: white;
  color: black;
  border: none;
  margin: 0 calc(50% - 50vw) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 3em 1em 1em 1em;
  text-align: center;
}
body.tanabe-h.home .breadcrumb {
  display: none;
}
body.tanabe-h.home .post-inner {
  padding-top: 0;
}
body.tanabe-h.home .metaslider {
  width: 100%;
  max-width: 1500px !important;
  margin-bottom: 0;
}
body.tanabe-h.home .metaslider .caption-wrap {
  bottom: auto;
  top: 0;
  background-color: transparent;
  opacity: 1;
  font-size: 5vw;
  padding: 1em;
  text-shadow: 2px 2px 2px black;
}
body.tanabe-h.home .metaslider .flexslider {
  margin-bottom: 0;
}
body.tanabe-h.home .content {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 80%;
}
body.tanabe-h.home .top-menu {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  max-width: 100% !important;
  gap: 10px;
  margin-top: -40px;
}
body.tanabe-h.home .top-menu img {
  padding: 0;
  margin: 0;
  flex-grow: 1;
  flex-shrink: 1;
}
body.tanabe-h.home a.button {
  margin: 0.5em;
  padding: 1em;
  border-radius: 1em;
  background-color: #772a2e;
}
body.tanabe-h.home a.button:hover {
  background-color: #9d373d;
}
body.tanabe-h.home .features {
  width: 1024px !important;
  max-width: 100% !important;
}
body.tanabe-h.home .features img {
  margin: 0 !important;
}
body.tanabe-h.home .features-wrapper {
  background-color: #772a2e;
  color: white;
  font-family: "Noto Serif JP", serif;
  font-size: 100%;
}
body.tanabe-h.home .features-wrapper .features .feature {
  font-family: "Noto Serif JP", serif;
  font-size: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: white;
  align-items: start;
}
body.tanabe-h.home .features-wrapper .features .feature .eye-catching {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 250px;
}
body.tanabe-h.home .features-wrapper .features .feature .content-wrapper {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 250px;
}
body.tanabe-h.home .features-wrapper .features .feature .content-wrapper h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 200%;
  letter-spacing: 0.1em;
  padding: 0.5em 1em 0em 0.5em;
  width: 100%;
  margin: 0;
}
body.tanabe-h.home .features-wrapper .features .feature .content-wrapper h4 sub {
  font-size: 40%;
  display: block;
  text-indent: 0em;
  line-height: 1;
  bottom: 0;
}
body.tanabe-h.home .features-wrapper .features .feature .content-wrapper .content {
  margin: 1em 2em;
}
body.tanabe-h.home .features-wrapper .features .feature.大学進学実績 .content-wrapper h4 {
  text-align: right;
  color: white;
}
body.tanabe-h.home .features-wrapper .features .feature.田辺高等学校の特色 {
  flex-direction: row-reverse;
}
body.tanabe-h.home .features-wrapper .features .feature.田辺高等学校の特色 .content-wrapper h4 {
  padding: 0.5em 1em 0em 0.8em;
  color: white;
}
body.tanabe-h.home .course-wrapper h3 {
  width: 200px;
  height: 200px;
  border: none;
  background-color: white;
  line-height: 1.8;
  margin: 0 auto;
  display: flex;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  font-size: 120%;
  text-align: center;
  color: #772a2e;
  padding: 1em;
}
body.tanabe-h.home .course-wrapper .courses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: black;
}
body.tanabe-h.home .course-wrapper .courses .course {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 250px;
  font-family: "Noto Sans JP", sans-serif;
}
body.tanabe-h.home .course-wrapper .courses .course img.banner {
  width: 100%;
  border: none;
}
body.tanabe-h.home .course-wrapper .courses .course h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 180%;
  letter-spacing: 0.1em;
  margin: 0.5em 1em;
  width: 100%;
}
body.tanabe-h.home .course-wrapper .courses .course h4 sub {
  font-size: 50%;
  display: inline-block;
  text-indent: 1em;
  bottom: 0;
}
body.tanabe-h.home .course-wrapper .courses .course .content {
  padding: 0 2em;
  font-weight: bold;
}
body.tanabe-h.home .course-wrapper .courses .course.普通科 {
  background-color: #ffecc8;
  text-align: left;
}
body.tanabe-h.home .course-wrapper .courses .course.自然科学科 {
  background-color: #dae89b;
}
body.tanabe-h.home .course {
  width: 1024px !important;
  max-width: 100% !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
body.tanabe-h.home .course img {
  flex-grow: 1;
  flex-shrink: 1;
  width: 250px;
}
body.tanabe-h.home .informations {
  background-color: #cccccc;
  border: 1px solid #cccccc;
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 0;
}
body.tanabe-h.home .informations .sp-tab__lay-default {
  max-width: 1024px;
  margin: 1em auto;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul {
  border-bottom: 2px solid white !important;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul li:nth-child(1) {
  width: 18%;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul li:nth-child(1) label {
  background-color: white !important;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul li:nth-child(2) {
  width: 18%;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul li:nth-child(2) label {
  background-color: #ffe38b !important;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul li:nth-child(3) {
  width: 18%;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul li:nth-child(3) label {
  background-color: #b0c9e5 !important;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul li:nth-child(4) {
  width: 18%;
}
body.tanabe-h.home .informations .sp-tab__lay-default ul li:nth-child(4) label {
  background-color: #c4c4c4 !important;
}
body.tanabe-h.home .informations #sp-wp-tabs-wrapper_437 .sp-tab__nav-tabs .sp-tab__nav-link {
  border-width: 4px;
}
body.tanabe-h.home .informations #sp-wp-tabs-wrapper_437 .sp-tab__nav-tabs .sp-tab__nav-link .sp-tab__tab_title {
  color: gray;
}
body.tanabe-h.home .informations #sp-wp-tabs-wrapper_437 .sp-tab__nav-tabs .sp-tab__nav-link.sp-tab__active .sp-tab__tab_title {
  color: #000;
}
body.tanabe-h.home .informations .hy_post_list {
  max-height: 35rem;
  line-height: 1.8em;
  font-weight: bolder;
}
body.tanabe-h.home .informations .hy_post_list .category.マンスリータイムズ {
  border-color: #ffe38b;
}
body.tanabe-h.home .informations .hy_post_list .category.入学関係 {
  border-color: #b0c9e5;
}
body.tanabe-h.home .informations .hy_post_list .category.その他 {
  border-color: #c4c4c4;
}
body.tanabe-h.home .informations .hy_post_list .post .title .tags .tag {
  font-size: 1.4rem;
  font-weight: bold;
}
body.tanabe-h.home .informations .hy_post_list .post .title .tags .tag.重要 {
  color: #f88;
}
body.tanabe-h.home div.banner {
  width: 100% !important;
  max-width: 100% !important;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  margin: 0;
}
body.tanabe-h.home div.banner img {
  width: 58rem;
}
body.tanabe-h.home .gallery {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0;
  background-color: #f0f0f0;
  border: 1px solid #f0f0f0;
  height: 300px;
  overflow-y: scroll;
}
body.tanabe-h.home .gallery .su-custom-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
body.tanabe-h.home .gallery .su-custom-gallery .su-custom-gallery-slide {
  flex-shrink: 0;
}
body.tanabe-h .footer-nav-widgets-wrapper {
  background-color: #ffe5ce;
  color: black;
}
body.tanabe-h .footer-nav-widgets-wrapper a {
  color: black;
  text-decoration: none;
}
body.tanabe-h .footer-nav-widgets-wrapper a:hover {
  text-decoration: underline;
}
body.tanabe-h .footer-nav-widgets-wrapper .footer-widgets-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
body.tanabe-h .footer-nav-widgets-wrapper .footer-widgets-wrapper > .column-one {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 300px;
  padding-right: 1em;
  border-right: 1px solid black;
}
body.tanabe-h .footer-nav-widgets-wrapper .footer-widgets-wrapper > .column-two {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 250px;
}
body.tanabe-h .footer-widgets {
  font-size: 1.5rem;
  line-height: 1.5;
}
body.tanabe-h .footer-widgets.column-one .widget-content {
  font-size: 1.5rem;
}
body.tanabe-h .footer-widgets.column-one .widget-content img {
  margin: 0;
  width: 100%;
}
body.tanabe-h .footer-widgets.column-two {
  margin-left: 1em;
}
body.tanabe-h .footer-widgets.column-two .widget-content {
  font-size: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 2rem;
}
body.tanabe-h .footer-widgets.column-two .widget-content > div {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 170px;
}
body.tanabe-h .footer-widgets .copyright {
  font-size: 50%;
}
body.tanabe-h .footer-widgets p {
  margin: 0;
}
body.tanabe-h .footer-widgets ul {
  list-style: none;
  margin: 0;
}
body.tanabe-h .footer-widgets ul li,
body.tanabe-h .footer-widgets ul li:first-child {
  margin: 0.5em 0;
  background-image: url(./image/li.svg);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 1em;
  padding-left: 1.5em;
}
body.tanabe-h footer#site-footer {
  font-size: 1rem;
  font-weight: normal;
}
body.tanabe-h footer#site-footer .footer-copyright {
  font-weight: normal;
}
body.tanabe-h .ccchildpages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1em auto !important;
}
body.tanabe-h .ccchildpages .ccchildpage {
  background: white;
}
body.tanabe-h .ccchildpages .ccchildpage.current-page {
  background: #f0f0f0;
}
body.tanabe-h .ccchildpages .ccpages_more a {
  color: black;
  text-decoration: underline;
  font-size: 0;
}
body.tanabe-h .ccchildpages .ccpages_more a::before {
  content: "続きを読む...";
  font-size: 1.5rem;
}

/* 横幅が900px以下 */
@media (max-width: 900px) {
  body {
    color: #772a2e;
  }
  body.home .top-menu {
    margin-top: -4vw;
  }
}