/*
Theme Name: オキカン入試サイトテーマ
Theme URI: https://okikan.omoto-navi.com
Description: オキカン入試サイトテーマ
Version: 1.0
Author: One By One
Author URI: https://okikan.omoto-navi.com/wp-content/themes/okikan
*/

@charset "UTF-8";

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

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, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

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

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

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

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

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}
* {
  box-sizing: border-box;
}
html {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  font-size: 62.5%;
}
body {
  color: #333;
  font-size: 1.6rem;
}
img {
  height: auto;
  max-width: 100%;
}
.sp {
  display: none;
}
.inner {
  margin: 0 auto;
  position: relative;
  width: 1100px;
}


@media screen and (max-width: 768px) {

  .pc {
    display: none !important;
  }
  .sp {
    display: block;
  }
  br.sp {
    display: inline;
  }
  .inner {
    padding: 0 15px;
    width: auto;
  }

}


/*======================================================================
||
||    header
||
======================================================================*/

header {
  background: rgba(255,255,255,0.5);
	height: 50px;
  left: 0;
  position: fixed;
  top: 0;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all  0.2s ease;
  width: 100%;
  z-index: 1000;
}
.home header.topmv {
  background: rgba(255,255,255,0);
  height: 100px;
}
header .inner {
  align-items: center;
  display: flex;
  height: 50px;
  justify-content: space-between;
  padding: 0 0 0 40px;
  width: 100%;
}
header.topmv .inner {
  height: 100px;
}
header .logo {
  align-items: center;
  display: flex;
}
header .logo a {
  align-items: center;
  color: #000;
  display: flex;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  text-decoration: none;
}
.home header.topmv .logo a {
  color: #fff;
}
header .logo a img {
  display: block;
  height: 30px;
  margin-right: 14px;
  width: auto;
}
header.topmv .logo a img {
  height: 42px;
}
header .logo a span {
  display: inline-block;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  margin-left: 14px;
}
header .inner > div {
  align-items: center;
  display: flex;
}
.head_sub {
  align-items: center;
  display: flex;
}
.head_sub a {
  align-items: center;
  color: #000;
  display: flex;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0 30px;
  text-decoration: none;
}
.home header.topmv .head_sub a {
  color: #fff;
}
.head_sub a + a {
  border-left: 1px solid #F28797;
}
.head_sub a img {
  display: block;
  height: 32px;
  margin-right: 14px;
  width: auto;
}
.modalBtn {
  background: #F28797;
  cursor: pointer;
  height: 50px;
  position: relative;
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all  0.1s ease;
  width: 100px;
}
.topmv .modalBtn {
  height: 100px;
}
.modalBtn span {
  background: #fff;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 32px;
}
.modalBtn span:before,
.modalBtn span:after {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  position: absolute;
}
.modalBtn span:before {
  bottom: 8px;
}
.modalBtn span:after {
  right: 0;
  top: 8px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all  0.2s ease;
  width: 50%;
}
.modalBtn:hover span:after {
  width: 100%;
}
.sp_nav_wrap {
  overflow: hidden;
}
.modal {
  background: rgba(255,255,255,0.9);
  box-sizing: border-box;
  display: none;
  height: 100%;
  left: 0;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
}
.modal_inner {
  background: #fff url(img/common/sl_base.png) repeat-x top / auto 15px;
  border-bottom: 1px solid #F28797;
  border-top: 3px solid #F28797;
  position: relative;
  padding-bottom: 50px;
}
.modal_inner > .close {
  background: #F28797;
  cursor: pointer;
  height: 100px;
  line-height: 100px;
  overflow: hidden;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100px;
}
.modal_inner > .close div {
  height: 100px;
  position: relative;
  transform:rotate(45deg);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
  width: 100px;
}
.m_open .modal_inner > .close div {
  transform : rotate(135deg);
}
.m_open .modal_inner > .close:hover div {
  transform : rotate(45deg);
}
.modal_inner > .close span {
  background: #fff;
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 32px;
}
.modal_inner > .close span:after {
  background: #fff;
  content: '';
  height: 32px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 2px;
}
.modal_inner .logo {
  align-items: center;
  display: flex;
  height: 100px;
  padding-left: 40px;
}
.modal_inner .logo a {
  align-items: center;
  color: #000;
  display: flex;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  text-decoration: none;
}
.modal_inner .logo a img {
  display: block;
  height: 42px;
  margin-right: 14px;
  width: auto;
}
.modal_inner .logo a span {
  display: inline-block;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  margin-left: 14px;
}
.modal_inner li.m1 {
  background: url(img/common/m1.png) no-repeat left center / 18px auto;
  font-size: 1.8rem;
  font-weight: bold;
  padding-left: 30px;
}
.modal_inner li.m2 {
  background: url(img/common/m2.png) no-repeat left 12px center / 7px auto;
  border-left: 2px solid #000;
  font-size: 1.5rem;
  padding-left: 25px;
}
.modal_inner li.m1 + li.m2 {
  margin-top: 5px;
}
.modal_inner li.m3 {
  background: url(img/common/m3.png) no-repeat left 30px center / 7px auto;
  border-left: 2px solid #000;
  font-size: 1.2rem;
  padding-left: 48px;
}
.modal_inner .menu a {
  color: #000;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  text-decoration: none;
}
.modal_inner .menu a:hover {
  opacity: 1;
}
.modal_inner .menu a:after {
  background: #F28797;
  bottom: 0;
  content: '';
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
  width: 0;
}
.modal_inner .menu a:hover:after {
  width: 100%;
}
.m_dept {
  display: flex;
}
.m_dept > ul {
  list-style: none;
  padding-top: 15px;
  position: relative;
  width: 25%;
}
.m_dept > ul:after {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 6rem;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 0;
}
.m_dept > ul.m_ns:after {
  color: rgba(237,126,169,0.3);
  content: 'NS';
}
ul.m_mid {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 30px;
}
ul.m_mid li {
  width: 25%;
}
.m_bottom {
  display: flex;
  margin-top: 30px;
}
.m_bottom > div {
  width: 25%;
}
.m_bottom > div ul {
  list-style: none;
}
.m_bottom > div ul + ul {
  margin-top: 30px;
}
.m_bottom .m_sns {
  margin-top: 30px;
}
.m_bottom .m_sns a {
  display: inline-block;
}
.m_bottom .m_sns a + a {
  margin-left: 15px;
}
.m_bottom .m_sns a img {
  height: 30px;
  width: auto;
}
.m_bottom .m_bnr li + li {
  margin-top: 20px;
}
.m_bottom .m_bnr li span {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.modal_inner .outer {
  background: #F28797;
  display: none;
  margin-top: 50px;
  padding: 20px 0;
}
.modal_inner .outer dl {
  display: flex;
}
.modal_inner .outer dl dt {
  border-right: 2px solid #fff;
  color: #fff;
  font-size: 1.3rem;
  font-weight: normal;
  height: 40px;
  line-height: 40px;
  text-align: center;
  width: 185px;
}
.modal_inner .outer dl dd {
  width: calc(100% - 185px);
}
.modal_inner .outer dl dd ul {
  align-items: center;
  display: flex;
  list-style: none;
}
.modal_inner .outer dl dd ul li {
  align-items: center;
  display: flex;
  height: 40px;
  margin-left: 40px;
}
.modal_inner .outer dl dd a {
  color: #fff;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 5px 0;
  position: relative;
  text-decoration: none;
}
.modal_inner .outer dl dd a:hover {
  opacity: 1;
}
.modal_inner .outer dl dd a:after {
  background: #fff;
  bottom: 0;
  content: '';
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
  width: 0;
}
.modal_inner .outer dl dd a:hover:after {
  width: 100%;
}

@media screen and (max-width: 768px) {

  .home header.topmv {
    height: 50px
  }
  header .inner {
    padding: 0 0 0 15px;
  }
  header.topmv .inner {
    height: 50px;
  }
  header .logo {
    width: 100%;
  }
  header .logo a {
    font-size: 1.3rem;
    width: 100%;
  }
  header .logo a img,
  header.topmv .logo a img {
    height: 30px;
  }
  header .logo p {
    width: 100%;
  }
  header .logo a span {
    display: block;
    font-size: 1.6rem;
    margin: 5px 0 0;
  }
  .head_sub {
    display: none;
  }
  .modalBtn,
  .topmv .modalBtn {
    height: 50px;
    width: 50px;
  }
  .modalBtn span {
    width: 20px;
  }
  .modalBtn span::before {
    bottom: 7px;
  }
  .modalBtn span::after {
    top: 7px;
  }

  .modal_inner {
    background-size: auto 8px;
  }
  .modal_inner .logo {
    padding: 0 0 0 15px;
  }
  .modal_inner > .close {
    height: 50px;
    width: 50px;
  }
  .modal_inner > .close div {
    height: 50px;
    width: 50px;
  }
  .modal_inner > .close span {
    width: 20px;
  }
  .modal_inner > .close span::after {
    height: 20px;
  }
  .modal_inner .logo {
    height: 50px;
  }
  .modal_inner .logo a {
    font-size: 1.3rem;
    width: 100%;
  }
  .modal_inner .logo a img {
    height: 30px;
  }
  .modal_inner .logo a p {
    width: 100%;
  }
  .modal_inner .logo a span {
    display: block;
    font-size: 1.6rem;
    margin: 5px 0 0;
  }
  .m_dept {
    display: block;
    margin-top: 15px;
  }
  .m_dept > ul {
    padding: 0;
    width: 100%;
  }
  .m_dept > ul::after {
    display: none;
  }
  .m_dept > ul > li + li {
    border-bottom: 1px solid #ccc;
    display: none;
  }
  .m_dept > ul > li.menu a {
    background: url(img/common/m2.png) no-repeat right 15px center / 7px auto;
    font-size: 1.5rem;
    font-weight: normal;
    padding: 0 15px;
  }
  .mtab {
    background: url(img/common/m_plus.png) no-repeat right 15px center / 18px auto;
    border-bottom: 1px solid #000;
    font-size: 1.6rem;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
  }
  .open .mtab {
    background: url(img/common/m_minus.png) no-repeat right 15px center / 18px auto;
  }
  .modal_inner li.m1 {
    background: none;
    padding: 0;
  }
  .modal_inner li.m2 {
    background: none;
    border-left: none;
    padding: 0;
  }
  .modal_inner .menu a {
    display: block;
    height: 50px;
    line-height: 50px;
  }
  ul.m_mid,
  ul.m_infos {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  ul.m_mid li.m1,
  ul.m_infos li.m1 {
    background: url(img/common/m2.png) no-repeat left center / 7px auto;
    padding-left: 15px;
    width: 50%;
  }
  ul.m_mid li.menu a,
  ul.m_infos li.menu a {
    display: block;
    font-size: 1.5rem;
    height: 50px;
    line-height: 50px;
    padding: 0;
  }
  .m_bottom {
    border-top: 1px solid #ccc;
    display: block;
    margin-top: 20px;
  }
  .m_bottom > div {
    width: auto;
  }
  .m_ac li {
    border-bottom: 1px solid #ccc;
  }
  .m_ac li + li {
    display: none;
  }
  .m_ac li.menu a {
    background: url(img/common/m2.png) no-repeat right 15px center / 7px auto;
    display: block;
    font-size: 1.5rem;
    font-weight: normal;
    padding: 0 15px;
  }
  .m_bottom > div ul + ul {
    margin: 0;
  }
  .m_bottom .m_sns {
    margin-top: 20px;
    text-align: center;
  }
  .m_bnr {
    margin-top: 20px;
  }
  .modal_inner .outer dl {
    display: block;
  }
  .modal_inner .outer dl dt {
    border: none;
    width: auto;
  }
  .modal_inner .outer dl dd {
    width: auto;
  }
  .modal_inner .outer dl dd ul {
    flex-wrap: wrap;
    padding: 0 15px;
  }
  .modal_inner .outer dl dd ul li {
    border-bottom: 1px solid #fff;
    margin: 0;
    padding: 10px 0;
    width: calc((100% - 15px) / 2);
  }
  .modal_inner .outer dl dd ul li:nth-of-type(2n) {
    margin-left: 15px;
  }
  .modal_inner .outer dl dd a {
    display: block;
    font-size: 1.4rem;
    text-align: center;
    width: 100%;
  }

}

/*======================================================================
||
||    footer
||
======================================================================*/

footer {
  background: #F28797;
  margin: 120px auto 0;
  padding: 40px 0 25px;
	width: 100%;
}
footer .logo img {
  display: block;
  width: 316px;
}
footer .add {
  color: #fff;
  letter-spacing: 0.1em;
  margin-top: 14px;
}
footer .sns {
  padding: 50px 0;
  text-align: center;
}
footer .sns span {
  display: block;
}
footer .sns span img {
  width: 148px;
}
footer .sns p {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}
footer .sns p a {
  display: block;
}
footer .sns p a + a {
  margin-left: 20px;
}
footer .sns p a img {
  display: block;
  width: 40px;
}
footer .f_bnr {
  align-items: center;
  display: flex;
  justify-content: center;
}
footer .f_bnr a {
  display: block;
}
footer .f_bnr a + a {
  margin-left: 90px;
}
footer .f_bnr a img {
  width: 356px;
}
.copy {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  margin-top: 50px;
  text-align: center;
}

@media screen and (max-width: 768px) {

  footer .f_bnr {
    display: block;
  }
  footer .f_bnr a + a {
    margin: 20px 0 0;
  }
  footer .f_bnr a img {
    height: auto;
    width: 100%;
  }

}


/*======================================================================
||
||    common
||
======================================================================*/

a.def_a {
  background: #F28797 url(img/common/tri.png) no-repeat right 15px center / 10px auto;
  color: #fff;
  display: block;
  font-weight: bold;
  height: 45px;
  line-height: 45px;
  margin: 50px auto 0;
  text-align: center;
  text-decoration: none;
  width: 280px;
}

@media screen and (max-width: 768px) {

  a.def_a {
    font-size: 1.4rem;
    height: auto;
    line-height: 1.2;
    padding: 10px 8px;
  }

}

/*---イベントモーダル---*/
.md-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .7;
  z-index: 9999;
}
.md-contents {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  width: 95%;
  height: auto;
  overflow: hidden;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: 700px;
}
.md-inner {
  padding: 40px;
  background: #fff;
  height: auto;
}
.md-inner h3 {
  border-bottom: 2px solid #F28797;
  font-size: 2rem;
  font-weight: bold;
  padding-bottom: 10px;
}
.md-inner h3 + p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 30px;
}
.md-inner div {
  margin-top: 30px;
}
.md-inner div p {
  font-size: 1.5rem;
  margin-top: 10px;
}
.md-inner dl {
  margin-top: 40px;
}
.md-inner dl dt {
  border-bottom: 1px solid #F28797;
  border-top: 1px solid #F28797;
  color: #F28797;
  font-size: 1.8rem;
  font-weight: normal;
  height: 40px;
  line-height: 40px;
  text-align: center;
}
.md-inner dl dd {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 15px;
}
.md-xmark {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 25px;
  height: 22px;
  z-index: 9999;
  cursor: pointer;
}
.md-xmark span {
  height: auto;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
}
.md-xmark span:nth-of-type(1) {
  top: 0;
  transform: translateY(10px) rotate(-45deg);
}
.md-xmark span:nth-of-type(2) {
  bottom: 0;
  transform: translateY(-10px) rotate(45deg);
}

/*---printing---*/
.page-template-printing main {
  padding-top: 200px !important;
}
.page-template-printing section {
  margin-top: 0 !important;
}
.page-template-printing .titles {
  padding: 0 !important;
}
.page-template-printing .titles h1 {
  font-size: 4rem;
  font-weight: bold;
  text-align: center;
}
.page-template-printing .titles p {
  background: url(img/common/sl.png) repeat-x bottom / auto 15px;
  border: none !important;
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem !important;
  font-weight: bold;
  height: auto !important;
  line-height: 1.5 !important;
  margin-top: 10px !important;
  padding-bottom: 40px;
  padding-right: 0 !important;
  position: static !important;
  text-align: center !important;
  width: auto !important;
}
.page-template-printing main h2 {
  font-size: 2rem;
  margin-top: 80px;
  text-align: center;
}
.page-template-printing main p {
  font-size: 1.8rem;
  line-height: 1.5 !important;
  margin-top: 50px !important;
  text-align: center;
}


@media screen and (max-width: 768px) {

  .page-template-printing main {
    padding-top: 100px !important;
  }
  .page-template-printing .titles h1 {
    font-size: 2.4rem;
  }
  .page-template-printing .titles p {
    background-size: auto 8px;
    font-size: 1.5rem !important;
    padding-bottom: 20px;
  }
  .page-template-printing main p {
    font-size: 1.5rem;
    margin-top: 30px !important;
    text-align: left;
  }

}

/*---404---*/
.error404 main {
  padding-top: 200px;
}
.error404 .titles h1 {
  font-size: 4rem;
  font-weight: bold;
  text-align: center;
}
.error404 .titles p {
  background: url(img/common/sl.png) repeat-x bottom / auto 15px;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  margin-top: 10px;
  padding-bottom: 40px;
  text-align: center;
}
.error404 main h2 {
  font-size: 2rem;
  margin-top: 80px;
  text-align: center;
}
.error404 main p {
  font-size: 1.8rem;
  line-height: 1.5;
  margin-top: 50px;
  text-align: center;
}

@media screen and (max-width: 768px) {

  .error404 main {
    padding-top: 100px;
  }
  .error404 .titles h1 {
    font-size: 2.4rem;
  }
  .error404 .titles p {
    background-size: auto 8px;
    font-size: 1.5rem;
    padding-bottom: 20px;
  }
  .error404 main p {
    font-size: 1.5rem;
    text-align: left;
  }

}
