/*
 Theme Name:   minabe-h.wakayama-c.ed.jp
 Theme URI:    https://www.minabe-h.wakayama-c.ed.jp/
 Description:  minabe-h.wakayama-c.ed.jp
 Author:       minabe-h.wakayama-c.ed.jp
 Author URI:   https://www.minabe-h.wakayama-c.ed.jp/
 Template:     diver
 Version:      1.0.0
 Text Domain:  minabe-h.wakayama-c.ed.jp
*/
body.page h1.page_title {
  display: none;
}
body.page p {
  text-indent: 1em;
}
body.page .content h2 {
  background-color: white;
  color: black;
  border-bottom: #f8ea7d solid 8px;
  border-left: #f8ea7d solid 8px;
  position: relative;
}
body.page .content h2::after {
  position: absolute;
  content: "";
  border-bottom: #99cc00 solid 2px;
  border-left: #99cc00 solid 2px;
  left: 0;
  right: -4px;
  top: -4px;
  bottom: 0;
}
body.page .content h3 {
  border-bottom: #99cc00 solid 2px;
}
body.page .content ol {
  padding-left: 2em;
}

a.link-to-pdf + .wp-caption-text::after {
  content: " [PDF]";
}

.header-logo #logo {
  margin-right: auto;
  margin-left: auto;
}
.header-logo #logo img {
  height: auto;
}
.header-logo .nav_inleft ul.menu li {
  display: inline;
}
.header-logo .nav_inleft ul.menu li a {
  display: inline-block;
  color: white;
}
.header-logo .nav_inleft ul.menu li:nth-child(1) a {
  font-size: 0;
}
.header-logo .nav_inleft ul.menu li:nth-child(1) a::before {
  content: url("/wp-content/themes/minabe-h/menu-icon/contact.png");
  vertical-align: middle;
}
.header-logo .nav_inleft ul.menu li:nth-child(2) a {
  font-size: 0;
}
.header-logo .nav_inleft ul.menu li:nth-child(2) a::before {
  content: url("/wp-content/themes/minabe-h/menu-icon/twitter.png");
  vertical-align: middle;
}
.header-logo .nav_inleft ul.menu li:nth-child(3) a {
  font-size: 0;
}
.header-logo .nav_inleft ul.menu li:nth-child(3) a::before {
  content: url("/wp-content/themes/minabe-h/menu-icon/instagram.png");
  vertical-align: middle;
}
.header-logo .header_search {
  display: none;
}

.drawer-nav .menu-item-273,
.drawer-nav .menu-item-274,
.drawer-nav .menu-item-275 {
  display: inline-block;
  background-color: #921a1a;
  color: #fff;
}
.drawer-nav .menu-item-273 a,
.drawer-nav .menu-item-274 a,
.drawer-nav .menu-item-275 a {
  color: #fff;
}
.drawer-nav .menu-item {
  font-weight: bold;
}
.drawer-nav .sub-menu .menu-item {
  font-weight: normal;
}

.ngg-gallery-thumbnail span {
  white-space: pre-line;
  margin-top: -40px;
}

.content .ngg-album-compact h4 {
  border-bottom: none;
}
.content .ngg-album-compact h4 .ngg-album-desc {
  height: auto;
}
.content .ngg-album-compact h4::after {
  content: none;
}

#header .metaslider .caption-wrap {
  line-height: 1.5;
  bottom: 2em;
}
#header .metaslider .caption-wrap .caption {
  font-size: 2.5vw;
  font-weight: bold;
}
#header .metaslider .flexslider {
  margin: 0;
}
#header .metaslider .flex-control-nav {
  bottom: 10px;
}

nav#onlynav ul#onlynavul > li {
  border-right: 1px solid white;
}
nav#onlynav ul#onlynavul > li:nth-child(1) {
  border-left: 1px solid white;
}
nav#onlynav ul#onlynavul > li > a {
  color: white !important;
  padding: 2em 1em;
}
nav#onlynav ul#onlynavul > li > a:before {
  vertical-align: middle;
  margin: 0em;
  content: url("/wp-content/themes/minabe-h/menu-icon/dummy-icon.png");
}
nav#onlynav ul#onlynavul > li:nth-child(1) > a:before {
  margin: 1em;
  content: url("/wp-content/themes/minabe-h/menu-icon/school-icon.png");
}
nav#onlynav ul#onlynavul > li:nth-child(2) > a:before {
  margin: 1em;
  content: url("/wp-content/themes/minabe-h/menu-icon/guidance-icon.png");
}
nav#onlynav ul#onlynavul > li:nth-child(3) > a:before {
  margin: 1em;
  content: url("/wp-content/themes/minabe-h/menu-icon/info-icon.png");
}
nav#onlynav ul#onlynavul > li:nth-child(4) > a:before {
  margin: 1em;
  content: url("/wp-content/themes/minabe-h/menu-icon/current-icon.png");
}
nav#onlynav ul#onlynavul > li:nth-child(5) > a:before {
  margin: 1em;
  content: url("/wp-content/themes/minabe-h/menu-icon/graduate-icon.png");
}

#scrollnav ul li a {
  font-size: 1rem;
}

.post-box-contents .post-author {
  display: none;
}

div.sc_getpost .date {
  display: none;
}
div.sc_getpost .substr {
  display: none;
}

#page-main .buttons {
  max-width: 497px;
  margin: 2em auto;
}
#page-main #diver_widget_tab-10 {
  background-color: #f0f0f0;
  padding: 20px 20px 20px 20px;
}
#page-main #diver_widget_tab-10.widget_media_image {
  padding: 0;
  margin-bottom: 0;
}
#page-main #diver_widget_tab-10 ul.d_tab_nav {
  padding: 0;
}
#page-main #diver_widget_tab-10 ul.d_tab_nav li.d_tab_active a {
  border-top-color: #99cc00 !important;
}
#page-main #diver_widget_tab-10.widget_diver_widget_tab {
  margin-top: 0;
}
#page-main #diver_widget_tab-10.widget_diver_widget_tab .d_tab_live {
  background-color: #ffffff;
}
#page-main #diver_widget_tab-10.widget_diver_widget_tab .d_tab_live .d_tab_tab {
  overflow-x: hidden;
  overflow-y: scroll;
  height: 20rem;
}
#page-main #diver_widget_tab-10 .hy_post_list {
  font-size: 1rem;
}
#page-main #diver_widget_tab-10 .hy_post_list a {
  color: #335;
  border-bottom: 1px solid #aaa;
  display: block;
}
#page-main #diver_widget_tab-10 .hy_post_list a:hover {
  background-color: #f8f8f8;
}
#page-main #diver_widget_tab-10 .hy_post_list a:hover div {
  background-color: #f8f8f8;
}
#page-main #diver_widget_tab-10 .hy_post_list a .post {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5rem;
}
#page-main #diver_widget_tab-10 .hy_post_list a .post .date {
  width: 7em;
  padding: 0.5rem 0.5rem;
}
#page-main #diver_widget_tab-10 .hy_post_list a .post .category {
  width: 12em;
  border-radius: 100vh;
  border: 1px solid;
  padding: 0.1em;
  color: white;
  text-align: center;
}
#page-main #diver_widget_tab-10 .hy_post_list a .post .title {
  padding-left: 1rem;
  min-width: 20em;
}
#page-main #diver_widget_tab-10 .hy_post_list a .post .title .tags .tag {
  display: inline;
  border: 1px solid #ccc;
  padding: 0.1rem 0.2rem;
  font-size: 0.5rem;
}
#page-main #diver_widget_tab-10 ul li.widget_post_list {
  position: relative;
  height: 3.5rem;
}
#page-main #diver_widget_tab-10 ul li.widget_post_list .post_list_date {
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 1rem;
}
#page-main #diver_widget_tab-10 ul li.widget_post_list .post_list_tag {
  position: absolute;
  top: 0.75rem;
  left: 9rem;
  font-size: 1rem;
}
#page-main #diver_widget_tab-10 ul li.widget_post_list .post_list_tag .post_list_cat {
  font-size: 1rem;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
}
#page-main #diver_widget_tab-10 ul li.widget_post_list .post_list_tag .tag {
  display: none;
  position: absolute;
  left: 12.5rem;
  top: -0.7rem;
  white-space: nowrap;
}
#page-main #diver_widget_tab-10 ul li.widget_post_list .post_list_title {
  position: absolute;
  top: 1rem;
  left: 22rem;
  font-size: 1rem;
}

.ccchildpages .ccchildpage {
  background: #FFF2CF;
}
.ccchildpages .ccchildpage h3 {
  border-bottom-color: #990000;
}
.ccchildpages .ccchildpage .ccpages_more {
  font-style: normal;
}

#bigfooter {
  padding-top: 25px;
}
#bigfooter a,
#bigfooter p {
  font-size: 1rem;
}
#bigfooter .bigfooter_colomn:nth-child(1) {
  width: 100%;
  padding-bottom: 0 !important;
}
#bigfooter .bigfooter_colomn:nth-child(2) {
  text-align: right;
  width: 100%;
  padding-top: 0 !important;
}
#bigfooter .bigfooter_colomn:nth-child(2) div.widget_sp_image,
#bigfooter .bigfooter_colomn:nth-child(2) div.widget_media_image {
  display: inline-block;
  padding: 0;
}
#bigfooter .bigfooter_colomn:nth-child(2) img {
  margin: 0 1em;
}
#bigfooter .bigfooter_colomn:nth-child(3) {
  background-color: #ffffff;
  margin: -6em calc(50% - 50vw) 0 calc(50% - 50vw);
  width: 100vw;
  padding-left: 10% !important;
}
#bigfooter .bigfooter_colomn ul.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.8125rem;
}
#bigfooter .bigfooter_colomn ul.menu a {
  font-size: 0.8125rem;
}
#bigfooter .bigfooter_colomn ul.menu > li.menu-item {
  border-bottom: none;
  width: 11rem;
}
#bigfooter .bigfooter_colomn ul.menu > li.menu-item > a {
  border-bottom: 1px solid #000000;
  padding: 0.8em 1rem 0.8em 0;
  font-weight: bold;
}
#bigfooter .bigfooter_colomn ul.menu > li.menu-item ul.sub-menu li {
  padding: 0;
  margin: 0.8em 1rem 0.8em 0;
}
#bigfooter .bigfooter_colomn ul.menu > li.menu-item ul.sub-menu li a {
  padding: 0;
}
#bigfooter .bigfooter_colomn ul.menu > li.menu-item ul.sub-menu li a:before {
  content: none;
}

footer#footer .footer_navi {
  display: none;
}
footer#footer #copyright {
  font-size: 0.8125rem;
  text-align: center;
  float: none;
}

#sitemap_list .posts_in_category {
  display: none;
}

.widget ul.d_tab_nav {
  font-size: 0.75rem;
}

#bigfooter {
  font-size: 0.8125rem;
}

h3 {
  font-size: 1.375rem;
}

.ccpages_excerpt,
.ccpages_more {
  font-size: 0.85rem;
}

#breadcrumb {
  font-size: 0.8125rem;
}

.post-box .post-cat {
  font-size: 0.9rem;
}

.post-box .post-title {
  font-size: 0.8125rem;
}

.post-box .post-substr {
  font-size: 0.8125rem;
}

.post-box .post-date {
  font-size: 0.75rem;
}

.post-box .post-tag a {
  font-size: 0.625rem;
}

.wrap-post-title {
  font-size: 1.95rem;
}

.catpage_tag a {
  font-size: 0.83125rem !important;
}

h1 {
  font-size: 1.8em;
}

div,
span,
object,
iframe,
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,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
input,
textarea {
  font-size: 1rem;
}

@media screen and (max-width: 959px) {
  .nav_inleft {
    display: flex;
    /* display: none; */
  }

  #bigfooter .bigfooter_colomn:nth-child(2) {
    display: none;
  }
  #bigfooter .bigfooter_colomn:nth-child(3) {
    margin-top: 0;
  }
}
.ccchildpages .ccchildpage {
  background-color: white;
  border: 2px solid #e7f2d8;
}
.ccchildpages .ccchildpage h3 {
  border-bottom-color: #99cc00;
}
.ccchildpages .ccpages_more a {
  color: #6f97bc;
}

@media screen and (max-width: 768px) {
  .nav_inleft {
    display: none;
  }

  .ccchildpages .ccchildpage {
    float: none !important;
    width: 80%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media print {
  #header #nav_menu-10 {
    display: none;
  }
  #header ul#onlynavul,
#header #nav_fixed {
    display: none;
  }

  #page-top {
    display: none;
  }

  #bigfooter a.map {
    display: none;
  }
}