/* Contents Type Icon */

.contenttype-letfolder::before,
.contenttype-lettargetpage::before,
.contenttype-letdivisionfolder::before {
  content: "\e801";
}
.contenttype-lettop::before,
.contenttype-letpage::before,
.contenttype-letevent::before,
.contenttype-letbanner::before,
.contenttype-lettargetmenu::before,
.contenttype-letfullscreenpage::before,
.contenttype-mailform::before {
  content: "\e80e";
}

/* Batted */

html {
  font-size: 100%;
}

body {
  background-color: transparent;
}

.tlwd-content {
  margin-top: 0.5rem;
}

.template-folder_contents .tlwd-drawer-content > footer {
  margin-bottom: 1000px;
}

blockquote > p {
  margin-top: 0 !important;
}

span.date {
  border: none;
  padding: 0;
  text-align: left;
}

/* Sitemap */

#portal-sitemap > li {
  border-top: none;
}

#portal-sitemap ul li::before {
  content: "";
  font-size: 1rem;
}

/* Serach */

.tlwd-search input[type="text"] {
  border: transparent;
}

.tlwd-search input[type="submit"],
.tlwd-search button {
  border: transparent;
  color: #ffffff;
}

.tlwd-search input[type="submit"]:hover,
.tlwd-search button:hover {
  background-color: transparent;
  color: #ffffff;
}

/* Mailform */

.tlwd-block .label legend {
  border-bottom: none;
  font-weight: 700;
}

/* Table */

.tlwd-content-table,
.tlwd-content-table th,
.tlwd-content-table td {
  border: none;
}

.tlwd-content-table .date {
  text-align: left;
}

/* Edit */
.formControls .context {
  color: #4d4d4d;
}

/*
 * WPE Header
*/

#wpe-header-text {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
  background: #f50;
  color: #ffffff;
}
#wpe-header-text li {
  padding: 0 0.5rem 0;
}

#wpe-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  background: #f50;
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
}

/*
 * WPE Footer
 */

#wpe-footer {
  padding: 1rem;
  background: #f50;
  color: #ffffff;
}
#wpe-footer ul {
  display: flex;
  justify-content: center;
}
#wpe-footer ul li {
  padding: 0 1rem 0;
}
#wpe-footer ul li:not(:last-child) {
  border-right: 1px solid #ffffff;
}
@media (min-width: 768px) {
  #wpe-footer {
    font-size: 1rem;
    line-height: 1rem;
  }
}
@media (max-width: 767px) {
  #wpe-footer {
    font-size: 0.8rem;
    line-height: 0.8rem;
  }
}

/*
 * WPE Top
 */

/* Header */

#wpe-top-header .wpe-top-header-main-movie {
  /*width: 100%;*/
  height: 56.25vw !important;
}
#wpe-top-header .wpe-top-header-main-movie iframe {
  width: 100%;
  height: 100%;
}
#wpe-top-header .wpe-top-header-desc {
  padding: 3rem;
  background: #f50;
  color: #ffffff;
}
#wpe-top-header .wpe-top-header-date {
  margin-top: 2rem;
  text-align: right;
}

@media (min-width: 768px) {
  #wpe-top-header .wpe-top-header-year {
    font-size: 1.5rem;
  }
  #wpe-top-header .wpe-top-header-title {
    font-size: 1.8rem;
  }
  #wpe-top-header .wpe-top-header-date {
    font-size: 1.2rem;
  }
}
@media (max-width: 767px) {
  #wpe-top-header .wpe-top-header-year {
    font-size: 1rem;
  }
  #wpe-top-header .wpe-top-header-title {
    font-size: 1.2rem;
  }
  #wpe-top-header .wpe-top-header-date {
    font-size: 0.8rem;
  }
}

/* Main */

#wpe-top-main .wpe-banner {
  position: relative;
}
#wpe-top-main .wpe-banner img {
  width: 100%;
}
#wpe-top-main .wpe-banner span {
  position: absolute;
  bottom: 2rem;
  color: #f50;
  font-size: 1.5rem;
}
#wpe-top-main .wpe-banner .overlay-right {
  right: 2rem;
}
#wpe-top-main .wpe-banner .overlay-left {
  left: 2rem;
}

/* WPE News */

#wpe-main {
  padding: 1rem 0 3rem;
}
#wpe-main a {
  color: blue;
  text-decoration: underline;
}
#wpe-main .wpe-main-inner {
  max-width: 800px;
  margin: auto;
}
#wpe-main .wpe-main-inner table,
#wpe-main .wpe-main-inner table th {
  border: none;
}
#wpe-main .wpe-main-inner table th,
#wpe-main .wpe-main-inner table td {
  padding: 1rem;
}
#wpe-main .wpe-main-inner table td {
  border: none;
  border-bottom: 1px solid #000000;
}

/* WPE Folder */

.wpe-main-folder .panel {
  display: flex;
  justify-content: center;
}
.wpe-main-folder .panel .blk {
  position: relative;
  max-width: 300px;
}
.wpe-main-folder .panel .blk p {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 12px #fff;
}

/* 受験者の声 */
@media (min-width: 641px) {
  .page_head .v_area iframe {
    width: 100%;
    height: 56.25vw !important;
    max-height: 551px;
  }
}
@media (min-width: 640px) {
  .page_head .v_area {
    width: 100%;
    min-height: 360px;
  }
}
.page_head .profile {
  text-align: right;
  margin: 1em 1em 1.5em;
}
.size_fx_sml {
  font-size: 9pt;
}
.size_fx_nml {
  font-size: 12pt;
}
@media (min-width: 640px) {
  .page_head .profile {
    width: 50%;
    margin: 0.5em 0 1em auto;
  }
}
@media (min-width: 640px) {
  .page_body,
  .page_head {
    width: 90%;
    margin: 1em auto 3em;
  }
}
.page_body,
.page_head {
  width: 100%;
  position: relative;
  max-width: 980px;
  margin-bottom: 3em;
}
.page_body h2 {
  font-size: 18pt;
}
.page_body h3 {
  font-size: 14pt;
}
.page_body ol,
.page_body ul {
  padding: 0.5em 0.5em 0.5em 1.5em;
  display: block;
}
.page_body li {
  display: block;
  line-height: 1.3;
  padding: 0.4em 0;
}
.page_body h2,
.page_body h3 {
  text-align: center;
  margin: 2em 0 1.7em;
}
@media (min-width: 640px) {
  .page_body,
  .page_head {
    width: 90%;
    margin: 1em auto 3em;
  }
}
.page_body .q {
  color: #646464;
  margin-top: 2em;
}
.to_top {
  margin: auto;
  text-align: right;
}
@media (min-width: 960px) {
  .to_top {
    max-width: 960px;
    margin-bottom: 1rem;
  }
}
.table_month h3 {
  margin: 1em 0 0.5em;
  font-size: 14pt;
}
.table_month table {
  width: 99%;
  border: 1px solid #f50;
  border-spacing: 0;
}

/**/

.table_info {
  position: relative;
  width: 80%;
  max-width: 980px;
  margin: 1em auto 3em;
}
.table_info table {
  width: 99%;
  border: none;
  border-spacing: 0;
}
.table_info td,
.table_info th {
  margin: 0;
  padding: 10px;
}
.table_info th {
  text-align: left;
  display: table-cell;
}
.table_info td {
  display: table-cell;
  border-bottom: 1px solid #666;
}
.table_info td:first-child {
  width: 8em;
  color: #000;
  background-color: transparent;
}
.table_info i {
  position: absolute;
  left: -2.5em;
}
.table_month {
  position: relative;
  width: 90%;
  max-width: 980px;
  margin: 1em auto 3em;
}
.table_month h3 {
  margin: 1em 0 0.5em;
  font-size: 14pt;
}
.table_month table {
  width: 99%;
  border: 1px solid #f50;
  border-spacing: 0;
}
.table_month td,
.table_month th {
  margin: 0;
  padding: 10px;
  border-bottom: 1px solid #f50;
}
.table_month th {
  width: 4em;
  border-bottom: 1px solid #fff;
  background-color: #f50;
  color: #fff;
}
.table_month table tr:last-child td,
.table_month table tr:last-child th {
  border-bottom: none;
}
.table_timeline {
  position: relative;
  width: 90%;
  margin: 1em auto 3em;
  max-width: 980px;
}
.table_timeline h3 {
  margin: 1em 0 0.5em;
  font-size: 14pt;
}
.table_timeline table {
  width: 99%;
  border: 1px solid #f50;
  border-spacing: 0;
}
.table_timeline tr {
  height: 30px;
}
.table_timeline td,
.table_timeline th {
  margin: 0;
  border: none;
}
.table_timeline th {
  display: table-cell;
  width: 4em;
  background-color: #f50;
  color: #fff;
  font-size: 9pt;
  text-align: center;
  vertical-align: middle;
}
.table_timeline table tr:last-child th {
  border-bottom: none;
}
.table_timeline .tl {
  position: absolute;
  z-index: 3;
  border-bottom: 1px solid #f50;
  width: calc(100% - 6em);
  padding-left: 5em;
  font-size: 12px;
}
.table_timeline .tl span {
  margin-right: 1em;
}
.table_timeline .t6 {
  bottom: 540px;
}
.table_timeline .t7 {
  bottom: 510px;
}
.table_timeline .t8 {
  bottom: 480px;
}
.table_timeline .t9 {
  bottom: 450px;
}
.table_timeline .t10 {
  bottom: 420px;
}
.table_timeline .t11 {
  bottom: 390px;
}
.table_timeline .t12 {
  bottom: 360px;
}
.table_timeline .t13 {
  bottom: 330px;
}
.table_timeline .t14 {
  bottom: 300px;
}
.table_timeline .t15 {
  bottom: 270px;
}
.table_timeline .t16 {
  bottom: 240px;
}
.table_timeline .t17 {
  bottom: 210px;
}
.table_timeline .t18 {
  bottom: 180px;
}
.table_timeline .t19 {
  bottom: 150px;
}
.table_timeline .t20 {
  bottom: 120px;
}
.table_timeline .t21 {
  bottom: 90px;
}
.table_timeline .t22 {
  bottom: 60px;
}
.table_timeline .t23,
.table_timeline .t24 {
  bottom: 30px;
}
.table_month th {
  border: 1px solid #ffffff;
}
.table_month td {
  border: 1px solid #f50;
}
@media (max-width: 639px) {
  .main .page_head iframe {
    width: 100%;
  }
  .main .page_body,
  .main .table_month,
  .main .timelines {
    max-width: 90%;
    margin: auto;
  }
}

/* Added in 2024 */

.search-text {
  box-shadow: none !important;
}

.search-submit {
  color: #606060 !important;
}