/* ==========================================================
title : 刀剣ワールド 都道府県教育委員会 詳細ページ
scope : 刀剣ワールド 都道府県教育委員会 詳細ページ

memo：

last modify : 2021/07/07 tanaka 教育委員会への届出方法追加

2021/01/19 TCI福岡_sakaguchi バナー共通化対応 画像幅微修正
2020/09/15 TCI福岡_sakaguchi 共通tableクラス導入
2020/04/03 TCI_uesugi 都道府県教育委員会 詳細ページ 新規作成
========================================================== */

/* ------------------------------------ */
/* ▼ 共通処理上書き */
/* ------------------------------------ */

@media (min-width: 768px) {
  .cmn_text_bnr.col02 .has_text .bnr_txt {
    font-size: 13px;
  }
}


/* ------------------------------------ */
/* ▼ base */
/* ------------------------------------ */
.wrap img {
  vertical-align: middle;
}

/* ------------------------------------ */
/* ▼ main_ttl wrap */
/* ------------------------------------ */
.main_ttl_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main_ttl {
  position: relative;
  width: 42%;
}

.main_img {
  width: 58%;
}

.main_ttl_txt {
  align-items: center;
  display: flex;
  color: #fff;
  justify-content: center;
  height: 100%;
  letter-spacing: .06em;
  padding: 0 2%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.main_ttl_txt .place {
  position: absolute;
  right: 33px;
}
.main_ttl_txt h1 span.title_area {
  bottom: 25px;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.6;
  position: absolute;
  right: 33px;
}

.adj_prefixText {
  line-height: 1.6;
  font-size: 75%;
}

@media (min-width: 768px) {
  .main_ttl_txt .title {
    font-size: 32px;
    display: block;
  }
  .main_ttl_txt .title .cmn_h1_sitetop_name {
    margin-top: 5px;
  }
  .main_ttl_txt .place {
    bottom: 25px;
    font-size: 18px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .main_ttl_wrap {
    padding: 0 10px;
  }

  .main_ttl_txt .title {
    display: block;
    font-size: 18px;
    text-align: left;
  }
  .main_ttl_txt .title .cmn_h1_sitetop_name {
    margin-top: .5em;
  }
  .main_ttl_txt .place,
  .main_ttl_txt h1 span.title_area {
    bottom: 8px;
    font-size: 14px;
    right: 10px;
    text-align: left;
  }
}

@media (max-width: 413px) {
  .main_ttl_txt .title {
    font-size: min(3.53vw, 14px);
    line-height: 1.2;
  }

  .main_ttl_txt .place,
  .main_ttl_txt h1 span.title_area {
    bottom: 3px;
    font-size: 12px;
    font-feature-settings: 'pkna';
  }
}

/* ------------------------------------ */
/* ▼ box_desc */
/* ------------------------------------ */
.desc_txt {
  letter-spacing: .06em;
}

.note {
  font-size: 16px;
  font-weight: 600;
  margin-top: 5px;
}

.note a {
  color: #2b519b;
  position: relative;
  margin-left: 1em;
}

.note a:hover {
  color: #2b519b;
  opacity: .5;
}

.note a::before {
  border-color: transparent transparent transparent #2b519b;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  content: "";
  display: inline-block;
  height: 0;
  position: absolute;
  left: -.7em;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
}

@media (min-width: 768px) {
  .box_description {
    margin-top: 15px;
    max-width: 775px;
    padding-bottom: 26px;
  }

  .desc_txt {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .box_description {
    padding: 0 10px;
  }

  .note {
    font-size: 13px;
    margin-top: .5em;
  }

  .note span {
    display: block;
  }
}

/* ------------------------------------ */
/* ▼ box_faci */
/* ------------------------------------ */
.facility_table_contents td:last-of-type {
  border-right: none;
}

.facility_table_contents tr:last-of-type th,
.facility_table_contents tr:last-of-type td {
  border-bottom: none;
}

@media (min-width: 768px) {
  .box_faci .wcm {
    max-width: 830px;
  }

  .box_faci .cmn_h2_01 {
    margin-bottom: 15px;
  }

  .box_faci_txt {
    text-align: center;
  }

  .facility_table_contents_wrap {
    margin-top: 15px;
    max-width: 690px;
  }

  .facility_table_contents.table_type01 th {
    width: 200px;
  }

  .facility_table_contents th {
    line-height: 1.39em;
  }

  .facility_table_contents th,
  .facility_table_contents td {
    padding: 16px 18px 10px;
  }
  
  .facility_table_contents .department td,
  .facility_table_contents .mail td {
    letter-spacing: .04em;
  }
}

@media (max-width: 767px) {
  .box_faci {
    margin-top: 20px;
    padding: 0 10px;
  }

  .box_faci_txt {
    font-size: 16px;
    margin-top: 5px;
    padding: 0 10px;
  }

  .facility_table_contents_wrap {
    margin-top: 15px;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .title_h2cmn >span {
    padding: 20px 76px 10px;
  }
}

/* ------------------------------------ */
/* ▼ box__map */
/* ------------------------------------ */
.box_s .box__title {
  color: #fff;
  line-height: 1.3em;
  font-weight: 600;
  position: relative;
  text-align: center;
}

.box_s .box__title:before {
  background: #b28e5f;
  content: '';
  display: block;
  height: 2px;
  margin-top: -1px;
  position: absolute;
  top: 50%;
  width: 100%;
}

.box_s .box__title > span {
  position: relative;
  z-index: 1;
  vertical-align: middle;
}

.box_s .box__title > span span {
  display: inline-block;
  font-feature-settings: 'pkna';
  position: relative;
}

.box_s .box__title > span span:after,
.box_s .box__title > span span:before {
  background: url(../image/detail/bkg-title-ico01.png) no-repeat;
  content: '';
  display: block;
  height: 14px;
  left: 0;
  margin-top: -7px;
  position: absolute;
  top: 50%;
  width: 22px;
}

.box_s .box__title > span span:after {
  left: auto;
  right: 0;
}

@media (min-width: 768px) {
  .box__map {
    margin-top: 30px;
  }

  .box__map .wcm {
    max-width: 950px;
  }

  .box_s .box__title {
    background: url(../image/detail/bkg-title-top.jpg) no-repeat top center;
    display: table;
    font-size: 19px;
    height: 60px;
    margin: 0 auto 5px;
    padding-top: 19px;
    width: 100%;
  }

  .box_s .box__title > span {
    background: url(../image/detail/bkg-title-bottom.png) no-repeat bottom center;
    display: table-cell;
    padding-bottom: 18px;
  }

  .box_s .box__title > span span {
    max-width: 550px;
    padding: 2px 35px 0;
  }

  .facility_map_label_img img {
    height: 100%;
  }
}

@media (max-width: 767px) {
  .box__map {
    margin-top: 20px;
  }

  .box__map .wcm {
    padding: 0 15px;
  }

  .box_s .box__title {
    background: url(../image/detail/bkg-title-top-sp.png) no-repeat top center;
    display: block;
    font-size: 16px;
    letter-spacing: 0.95px;
    height: auto;
    margin: 0 -5px 5px;
    padding-top: 10px;
    width: auto;
  }

  .box_s .box__title > span {
    background: url(../image/detail/bkg-title-bottom-sp.png) no-repeat bottom center;
    display: block;
    padding-bottom: 10px;
  }

  .box_s .box__title > span span {
    line-height: 1.3;
    max-width: 260px;
    padding: 3px 25px 1px;
  }

  .box_s .box__title > span span:before,
  .box_s .box__title > span span:after {
    background-size: 100%;
  }
}

/* ------------------------------------ */
/* ▼ facility_nearby_box_wrap01 */
/* ------------------------------------ */
@media (min-width: 768px) {
  .facility_nearby_box_note {
    letter-spacing: .05em;
  }
}

/* ------------------------------------ */
/* ▼ box__info */
/* ------------------------------------ */
@media (min-width: 768px) {
  .box__info {
    margin-bottom: 50px;
  }

  .box__info__title {
    margin-bottom: 17px;
  }
}

/* ------------------------------------ */
/* ▼ bnr_line */
/* ------------------------------------ */
.bnr_line .bnr_line2 p {
  letter-spacing: .06em;
  line-height: 1.4;
}

.bnr_line figure {
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .bnr_line {
    margin-bottom: 36px;
    max-width: 850px;
  }

  .bnr_line>ul {
    width: 99%;
  }

  .bnr_line2 {
    max-width: 400px;
    margin:25px 1% 0;
  }

  .bnr_line2:nth-child(-n+2){
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .bnr_line {
    margin-bottom: 30px;
  }

  .bnr_line2:first-child {
    margin-top: 0;
  }
}

/* ------------------------------------ */
/* ▼ box_seo */
/* ------------------------------------ */
@media (min-width: 768px) {
  .box_seo {
    margin-top: 40px;
  }
}

/* .bnr_field */
.bnr_wrap figure a {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}
.bnr_wrap figcaption {
  margin: 3px 0 0;
}
.bnr_wrap figure img {
  margin: 0 auto 5px;
}

@media (max-width: 767px) {
  .bnr_wrap,
  .bnr_up {
    margin-top: 2rem;
  }
  .bnr_wrap .bnr_col2 li {
    margin:1.5rem auto 0;
  }
  .bnr_wrap .bnr_col2 li:first-child {
    margin-top: 0;
  }
  .bnr_wrap figure,
  .bnr_up figure {
    max-width: 600px;
  }
  .bnr_wrap figcaption {
    line-height: normal;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .bnr_up {
    margin: 0 auto;
    width: 500px;
  }
  .bnr_wrap ul {
    margin: 34px auto 0;
    width: 500px;
  }
  .bnr_wrap .bnr_col2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 800px;
  }
  .bnr_wrap .bnr_col2 li {
    width: 49%;
    margin: 30px 0 0;
  }
  .bnr_wrap .bnr_col2 li:nth-child(-n+2) {
    margin-top: 0;
  }
  .bnr_up figure {
    max-width: auto;
  }
  .bnr_wrap figcaption,
  .bnr_up figcaption {
    line-height: 1.3;
    text-align: left;
  }
}

/* ------------------------------------ */
/* ▼ TCI福岡_sakaguchi バナー共通化対応 */
/* ------------------------------------ */
@media (min-width: 768px) {
  .cmn_bnr_area.col02.col02_bnr_01 {
    margin-top: 35px;
  }
  .cmn_bnr_area.col02.col02_bnr_02 {
    margin-bottom: 35px;
    max-width: 775px;
  }
}

@media (max-width: 767px) {
  .cmn_bnr_area.col02.col02_bnr_01 {
    padding: 0;
    margin-top: 2rem;
  }
  .cmn_bnr_area.col02.col02_bnr_02 {
    max-width: 345px;
    width: 90%;
    display: block;
    padding: 0;
    margin-bottom: 30px;
  }
}

/* ------------------------------------ */
/* ▼ box__school-board */
/* ------------------------------------ */
.box__school-board {
  max-width: 830px;
  width: 100%;
  margin: auto;
}
.box__school-board .wcm {
  background-image: url(/wp/wp-content/themes/wp-templ/school-board/image/detail/bg-notification-tp.png) ,url(/wp/wp-content/themes/wp-templ/school-board/image/detail/bg-notification-btm.png), url(/wp/wp-content/themes/wp-templ/school-board/image/detail/bg-notification.png);
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: left top, right bottom, top;
  padding: 35px 34px 34px;
}
.list_reg-method {
  background: #fcfaf4;
  margin-top: 15px;
  padding-bottom: 19px;
}
.list_reg-method ol {
  padding: 5px 16px 6px;
}
.list_reg-method ol li {
  border-top: 1px solid #e7dbb3;
  padding: 12px 0 11px 1.4em;
  text-indent: -1.4em;
}
.list_reg-method ol li:first-of-type {
  border-top: none;
}
.list_reg-method ol li > span {
  margin-right: 6px;
}
.cmn_link_btn.dl_btn .cmn_link_btn_text::after {
  background-image: url(/wp/wp-content/themes/wp-templ/school-board/image/detail/ico-download.png);
  background-size: contain;
  border: none;
  width: 18px;
  height: 24px;
  right: 2.4%;
  top: 50.8%;
  transform: translateY(-50%);
}
@media (min-width: 830px) {
  .box__school-board .box__body > p {
    text-align: center;
    margin-left: 4px;
  }
}
@media (min-width: 768px) {
  .box__school-board {
    margin-bottom: 25px;
    padding: 0 10px;
  }
  .box__school-board .box__body {
    margin: 23px auto 26px;
    font-size: 17px;
  }
  .box__school-board .cmn_link_btn {
    width: 230px;
  }
  .box__school-board .cmn_link_btn_text {
    padding: 6px 11px 7px 4px;
    letter-spacing: .05em;
  }
  .dl_btn_wrap {
    width: 652px;
    margin: auto;
    display: flex;
    justify-content: space-between;
  }
  .box__school-board .cmn_link_btn.dl_btn {
    max-width: 316px;
    width: 48.5%;
    margin: 0;
  }
  .box__school-board .dl_btn .cmn_link_btn_text {
    font-weight: normal;
    padding: 5px 9% 7px 2%;
    letter-spacing: .04em;
  }
}
@media (max-width: 767px) {
  .box__school-board .wcm {
    padding: 20px 4% 30px;
  }
  .box__school-board {
    margin: 35px auto;
  }
  .box__school-board .box__body {
    margin: 20px auto 30px;
    font-size: 15px;
  }
  .list_reg-method ol {
    padding: 1px 10px 6px;
  }
  .box__school-board .cmn_link_btn {
    max-width: 280px;
    width: 71.5%;
  }
  .box__school-board .dl_btn:nth-of-type(n+2) {
    margin-top: 15px;
  }
  .box__school-board .dl_btn .cmn_link_btn_text {
    padding-right: calc(4.5% + 18px);
  }
}
@media (max-width: 319px) {
  .box__school-board .cmn_link_btn_text {
    font-size: 4.38vw;
  }
}

/* cmn_h3_01.type_sb */
.box__school-board .cmn_h3_01.type_sb {
  max-width: 840px;
  margin: 0 auto;
  font-size: 22px;
}
.box__school-board .cmn_h3_01.type_sb .cmn_h3_01_inner {
  display: inline-block;
  padding: 0;
  border-top: 4px solid #c92121;
  border-bottom: 4px solid #c92121;
}
.box__school-board .cmn_h3_01.type_sb .cmn_h3_01_inner::before,
.box__school-board .cmn_h3_01.type_sb .cmn_h3_01_inner::after {
  content: none;
}
.box__school-board .cmn_h3_01.type_sb .cmn_h3_01_txt {
  background: #8c6e1d;
  border-top: 1px solid #f2f2cb;
  border-bottom: 1px solid #f2f2cb;
  letter-spacing: .003em;
  margin-right: 0;
  margin-left: 0;
}
.box__school-board .cmn_h3_01.type_sb .cmn_h3_01_txt::before,
.box__school-board .cmn_h3_01.type_sb .cmn_h3_01_txt::after {
  content: none;
}
@media (min-width: 768px) {
  .box__school-board .cmn_h3_01.type_sb .cmn_h3_01_txt {
    padding: 10px 100px;
  }
}
@media screen and (max-width: 767px) {
  .box__school-board .cmn_h3_01.type_sb {
    font-size: 22px;
    padding: 0;
  }
  .box__school-board .cmn_h3_01.type_sb .cmn_h3_01_txt {
    padding: .5em 2em;
    line-height: 1.2;
  }
}

/* ボタンデザイン */
.top-link {
  max-width: 1000px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  padding-left: 10px;
}
.top-link:hover {
  opacity: .7;
}
.top-link-text {
  font-size: 16px;
  line-height: 1.37px;
  letter-spacing: .06em;
  display: flex;
  background: url('../../image_cmn/botton/btn-top-link.png') repeat center/ 100% 100%;
  align-items: center;
  padding: 0.3em 2.2em 0.3em 0.55em;
  position: relative;
  color: #fff!important;
  border-radius: 25px;
  border: 2px solid #39270d;
  line-height: 1.2;
}
.top-link-text::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 100%;
  background-color: #b91f1f;
  position: absolute;
  right: 0;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.top-link-text::after {
  content: '';
  background: url('../image/detail/ico-back-arrow.png') no-repeat center / contain;
  width: 16px;
  height: 13px;
  position: absolute;
  right: 5px;
}
@media (max-width: 767px) {
  .top-link {
    margin: 16px auto 15px;
  }
  .top-link-text {
    font-size: 14px;
    border: 1px solid #39270d;
  }
}
@media (max-width: 425px) {
  .top-link-text {
    font-size: 12px;
    border: 1px solid #39270d;
  }
}