/*
  Theme Name: blankslate-mjstep
  Template: blankslate
  Version: 1.01
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  --mjstep-blue: #103770;
  --mjstep-gradient:linear-gradient(156deg,rgba(14, 73, 125, 1) 0%, rgba(0, 44, 83, 1) 51%);
}

html{
  min-width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

body{
  font-family: "Lato","Noto Sans JP", sans-serif;
  background-color: #FFF;
  color: #000;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
}

section{
  padding: 60px 0;
}
.inner{
  max-width: 1180px;
  margin: 0 auto;
}
@media(max-width:1180px){
  main .inner,footer .inner{
    padding: 20px;
  }
}
@media(max-width:600px){
  section{
    padding: 30px 0;
  }
}
p{
  line-height: 1.6;
}
main a,main a:visited{
  color: #0A1D1D;
  text-decoration: underline !important;
}


input::placeholder {
  color: #7E7E7E;
  font-family: "Roboto","Noto Sans JP", sans-serif;
}

main h1,
main h2,
main h3,
main h4,
main h5{
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.5;
}
main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child{
  margin-top: 0px;
}
main p{
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.8;
}
main p:last-child{
  margin-bottom: 0;
}
main p:first-child{
  margin-top: 0;
}
main ul,
main ol{
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.6;
  padding-left: 20px;
}
main li{
  margin-bottom: 0.5em;
}
main ul{
  list-style-type: disc;
}
main ol{
  list-style-type: decimal;
}
main img{
  max-width: 100%;
  height: auto;
}
main em{
  font-style: italic;
}
main hr.wp-block-separator{
  border-top: 1px solid #CCC;
  border-bottom: 0px solid #CCC;
}
/*-------------------------------ヘッダー*/
header.headnavi #site-title{
  font-weight: 700;
}
header.headnavi nav{
  position: relative;
  z-index: 998;
}
header.headnavi nav a{
  color: #FFF;
  text-decoration: none !important;
  font-weight: 500;
}
header.headnavi .current-menu-item > a{
  background-color: #042d52;
}
@media(min-width: 931px){
  header.headnavi #site-title{
    padding: 40px 0 !important;
  }
  header.headnavi nav a{
    display: block;
    padding: 10px;
    transition: background-color ease 0.2s;
  }
  header.headnavi ul{
    display: flex;
    gap: 10px;
  }
  header.headnavi ul li{
    display: inline-block;
    position: relative;
  }
  header.headnavi ul li li{
    display: block;
    white-space: nowrap;
  }
  header.headnavi ul li.menu-item-has-children > a{
    padding-right: 30px;
    background-image: url(./images/chevron.svg);
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  header.headnavi ul li:before{
    content: "";
    top: 20%;
    left: -5px;
    width: 1px;
    height: 60%;
    position: absolute;
    background-color: #ffffff40;
    background-color: #ffffff00;
  }
  header.headnavi ul li:first-child:before,
  header.headnavi ul li li:before{
    display: none;
  }

  header.headnavi #menu ul ul{
    display: none;
    position: absolute;
    max-width:200px;
    background-color: var(--mjstep-blue);
  }
  html[lang="en"] header.headnavi #menu ul ul{
    max-width:350px;
  }
  header.headnavi #menu ul li:hover ul{
    display: inline-block;
  }
}

@media(hover:hover){
  header.headnavi nav a:hover{
    background-color: #042d52;
  }
}
@media(max-width: 1180px){
  .headnavi #site-title{
    margin-left: 10px;
  }
}
@media(max-width: 900px){
  .headnavi #site-title img{
    margin-bottom: 20px;
  }
  .headnavi #site-title h1 > div > div{
    display: inline-block;
  }
}
@media(max-width: 930px){
  body{
    padding-top: 0px;
  }
  header.headnavi{
    position: relative;
  }
  .headnavi #site-title{
    margin-left: 10px;
  }
  .headnavi #site-title h1 .t-lg{
    margin-bottom: 6px;
  }
  .headnavi .spmenu{
    display: block !important;
    position: absolute;
    right: 20px;
    top: 37px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
    transform: translateY(-50%);
    z-index: 999;
  }
  .headnavi .spmenu span{
    width: 30px;
    height: 2px;
    border-radius: 999px;
    display: block;
    background-color: var(--mjstep-blue);
    position: relative;
    top: 49%;
  }
  .headnavi .spmenu:before,
  .headnavi .spmenu:after,
  .headnavi .sp.close:before,
  .headnavi .sp.close:after{
    content:"";
    display: block;
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background-color: var(--mjstep-blue);
    /*transition:all ease 0.5s;*/
  }
  .headnavi .spmenu:before{
    position: absolute;
    top: 4px;
    right: 0px;
  }
  .headnavi .spmenu:after{
    position: absolute;
    bottom: 4px;
    right: 0px;
  }
  .headnavi .spmenu.open span{
    display: none;
  }
  .headnavi .spmenu.open:before{
    transform:rotate(-45deg);
    transform-origin: top right;
    position: absolute;
    right: 5px;
    top: 4px;
    background-color: #FFF;
  }
  .headnavi .spmenu.open:after{
    transform:rotate(45deg);
    transform-origin: bottom right;
    position: absolute;
    right: 5px;
    bottom: 3px;
    background-color: #FFF;
  }
  nav#menu{
    display: block !important;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0%;
    right: -100%;
    transition:right ease 0.5s;
    padding: 60px 40px 20px;
    background-color: #103770eb;
    overflow: auto;
  }
  nav#menu.open{
    right: 0px;
  }
  nav#menu li a{
    display: block;
    padding: 10px;
    margin-bottom: 10px;
  }
  nav#menu li li{
    margin-left: 30px;
  }
  header.headnavi ul li.menu-item-has-children > a{
    pointer-events: none;
  }
}
/*-------------------------------言語切り替え*/
header ul.language {
  position: absolute;
  right: 0px;
  top: calc(50% - 20px);
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: block !important;
  z-index: 999;
}
header ul.language li {
  margin-bottom: 0px;
  display: block !important;
}
header ul.language li a {
  display: block !important;
  padding: 10px 10px 12px;
  background-color: #000;
  color: #FFF;
  border-radius: 0px;
  text-align: center;
  font-weight: medium;
  text-decoration: none;
  transition: background-color ease 0.5s;
}
header ul.language ul {
  display: block !important;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-height: 0px;
  transition: all ease 0.5s;
}
header ul.language:hover ul {
  max-height: 300px;
}
header ul.language li a:focus,
header ul.language li a[data-stt-active] {
  color: rgba(255,255,255,0.5);
  background: var(--mjstep-blue);
  background: var(--mjstep-gradient);
}
@media (hover: hover) {
  header ul.language li a:hover {
    color: #FFF;
    background-color: var(--mjstep-blue);
  }
}
@media(max-width:930px){
  header ul.language {
    right: 80px;
    top: 17px;
  }
}
@media(max-width:400px){
  header ul.language {
    right: 68px;
  }
}

/*-------------------------------文字サイズ操作*/
main h1{
  font-size: 30px;
  font-weight: 700;
}
main h2{
  font-size: 25px;
  font-weight: 700;
}
main h3{
  font-size: 18px;
  font-weight: 700;
}

.t-xxlg{
  font-size: 30px !important;
}
.t-xlg{
  font-size: 25px !important;
}
.t-lg{
  font-size: 18px !important;
}
.t-rg{
  font-size: 16px !important;
}
.t-sm{
  font-size: 13px !important;
}
.t-xs{
  font-size: 12px !important;
}
@media(max-width:800px){
  .t-xxlg{
    font-size: 22px !important;
  }
  .t-xlg{
    font-size: 20px !important;
  }
  .t-lg{
    font-size: 18px !important;
  }
  .t-sm{
    font-size: 11px !important;
  }
  .t-xs{
    font-size: 10px !important;
  }
}

/*-------------------------------文字色操作*/
.t-default{
  color: #000 !important;
}
.t-pink{
  color: #E6007E !important;
}
.t-purple{
  color: #6E60A8 !important;
}
.t-red{
  color: #FF0000 !important;
}
.t-white{
  color: #FFF !important;
}
.t-blue{
  color: var(--mjstep-blue) !important;
}
.t-ryumin{
  font-family: "Ryumin Medium KL", serif !important;
}

/*-------------------------------背景色操作*/
.bgwhite{
  background-color: #FFFFFF !important;
}
.bgblue{
  background-color: var(--mjstep-blue);
}
.bggradient, .bggradient a{
  background: var(--mjstep-blue);
  background: var(--mjstep-gradient);
}



/*------------------------------- 角丸*/

.round20{
  border-radius: 20px !important;
}
.round8{
  border-radius: 8px !important;
}
.round0{
  border-radius: 0px !important;
}

/*-------------------------------余白等操作*/

.p0{
  padding: 0px !important;
}
.p10{
  padding: 10px !important;
}
.p20{
  padding: 20px !important;
}
.p20{
  padding: 20px !important;
}
.p40{
  padding: 40px !important;
}
@media(max-width:800px){
  .p40{
    padding: 30px !important;
  }
}

.pt0{
  padding-top: 0px !important;
}
.pt10{
  padding-top: 10px !important;
}
.pt20{
  padding-top: 20px !important;
}
.pt40{
  padding-top: 40px !important;
}
.pb0{
  padding-bottom: 0px !important;
}
.pb10{
  padding-bottom: 10px !important;
}
.pb20{
  padding-bottom: 20px !important;
}
.pb40{
  padding-bottom: 40px !important;
}
.pl0{
  padding-left: 0px !important;
}
.pl10{
  padding-left: 10px !important;
}
.pl20{
  padding-left: 20px !important;
}
.pl40{
  padding-left: 40px !important;
}
.pr0{
  padding-right: 0px !important;
}
.pr10{
  padding-right: 10px !important;
}
.pr20{
  padding-right: 20px !important;
}
.pr40{
  padding-right: 40px !important;
}

.m0{
  margin: 0px !important;
}
.m10{
  margin: 10px !important;
}
.m20{
  margin: 20px !important;
}
.m40{
  margin: 40px !important;
}
.mt0{
  margin-top: 0px !important;
}
.mt10{
  margin-top: 10px !important;
}
.mt20{
  margin-top: 20px !important;
}
.mt40{
  margin-top: 40px !important;
}
.mb0{
  margin-bottom: 0px !important;
}
.mb10{
  margin-bottom: 10px !important;
}
.mb20{
  margin-bottom: 20px !important;
}
.mb40{
  margin-bottom: 40px !important;
}
.ml0{
  margin-left: 0px !important;
}
.ml10{
  margin-left: 10px !important;
}
.ml20{
  margin-left: 20px !important;
}
.ml40{
  margin-left: 40px !important;
}
.mr0{
  margin-right: 0px !important;
}
.mr10{
  margin-right: 10px !important;
}
.mr20{
  margin-right: 20px !important;
}
.mr40{
  margin-right: 40px !important;
}

.mxauto{
  margin-left: auto !important;
  margin-right: auto !important;
}
.mlauto{
  margin-left: auto !important;
  margin-right: 0 !important;
}
.mrauto{
  margin-left: 0 !important;
  margin-right: auto !important;
}


/*------------------------------- position display*/

.relative{
  position: relative !important;
}
.absolute{
  position: absolute !important;
}
.inlineblock{
  display: inline-block;
}
.block{
  display: block;
}

/*-------------------------------pc / sp出し分け*/
@media(max-width:800px){
  .pc{
    display: none !important;
  }
}
@media(min-width:801px){
  .sp{
    display: none !important;
  }
}




/*------------------------------- 非表示*/

.hidden{
  display: none;
}



/*------------------------------- flexbox*/
.flex{
  display: flex;
  gap: 20px;
}
.flex.sp{
  display: flex !important;
}
@media (max-width:900px){
  .flex{
    display: block;
  }
  .flex > *{
    margin-bottom: 20px;
  }
  .flex > *:last-child{
    margin-bottom: 0px;
  }
  .flex.sp > *{
    margin-bottom: auto;
  }
  .flex.sp{
    display: flex !important;
    gap: 10px !important;
  }
}
.flex-wrap{
  flex-wrap: wrap;
}
.justify-between{
  justify-content:space-between;
}
.justify-evenly{
  justify-content:space-evenly;
}
.justify-center{
  justify-content:center;
}
.justify-start{
  justify-content:flex-start;
}
.justify-end{
  justify-content:flex-end;
}
.items-center{
  align-items:center;
}
.items-start{
  align-items:flex-start;
}
.items-end{
  align-items:flex-end;
}
.flex .auto{
  flex: 1 1 auto;
}
.flex .even{
  flex: 1 1;
}
.gap10{
  gap: 10px;
}
.gap30{
  gap: 30px;
}
@media(min-width:801px){
  .float-right{
    float: right;
    margin-left: 10px;
  }
  .float-left{
    float: left;
    margin-right: 10px;
  }
}
@media(max-width:800px){
  .float-right{
    margin-bottom: 20px;
  }
  .float-left{
    margin-bottom: 20px;
  }
  .float-right.float-sp{
    float: right;
    margin-left: 10px;
    margin-bottom: 0px;
  }
  .float-left.float-sp{
    float: left;
    margin-right: 10px;
    margin-bottom: 0px;
  }
  .t-left-sp{
    text-align: left;
  }
  .gap30{
    gap: 20px;
  }
}
.t-center{
  text-align: center !important;
}
.t-left{
  text-align: left !important;
}
.t-right{
  text-align: right !important;
}
.t-bold{
  font-weight: 700 !important;
}
.t-medium{
  font-weight: 500 !important;
}
.t-normal{
  font-weight: normal !important;
}






/*------------------------------mjstep関連*/


main .lined{
  position:relative;
}
main .lined strong{
display:inline-block; padding-right:20px; background-color:#FFF;
}

main .lined:before{
content:""; position:absolute; display:block; width:100%; height:1px; background-color:var(--mjstep-blue); top:50%; left:0%; z-index:-1;
}
main .lined:after{
content:""; position:absolute; display:block; width:1px; height:50%; background-color:var(--mjstep-blue); top:50%; right:0%; z-index:-1;
}




footer{
  border-top:5px solid var(--mjstep-blue);
}

footer p{
  font-size: 15px;
}
footer a,footer a:focus,footer a:visited{
  color: var(--mjstep-blue);
  text-decoration: underline;
}
footer .menu li{
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 5px;
  line-height: 1.5;
}
footer .wp-block-search__button{
  color: #FFF;
  background: var(--mjstep-blue);
  background: linear-gradient(156deg,rgba(14, 73, 125, 1) 0%, rgba(0, 44, 83, 1) 51%);
  border:0px solid transparent;
}

.wp-block-button__link.wp-element-button{
  font-size: 16px;
  color: #FFF !important;
  text-decoration: none !important;
}



.nav-links{
  margin-top: 100px;
  padding-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  line-height: 1.4;
  border-top: 1px solid var(--mjstep-blue);
}
.pagination .nav-links{
  display: block;
  margin-top: 20px;
  border-top: 0px;
}
.nav-previous:before{
  content: "前の投稿";
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
}
.nav-next{
  text-align: right;
  margin-left: auto;
}
.nav-next:before{
  content: "次の投稿";
  display: block;
  text-align: right;
  font-weight: bold;
  margin-bottom: 10px;
}
html[lang="en"] .nav-previous:before{
  content: "Previous Post";
}
html[lang="en"] .nav-next:before{
  content: "Next Post";
}
@media(max-width:600px){
  .nav-next, .nav-previous{
    max-width: calc((100% - 20px) / 2);
  }
}



.post-edit-link{
  display: none;
}

.only_en{
  display: none !important;
}
html[lang="en"] .only_en
{
  display: block !important;
}
html[lang="en"] .only_ja
{
  display: none !important;
}
