:root {
  --color-white-100: hsl(206, 5%, 100%);
  --color-white-200: hsl(206, 5%, 96%);
  --color-white-300: hsl(206, 5%, 80%);
  --color-white-400: hsl(206, 5%, 65%);
  --color-white-500: hsl(206, 5%, 50%);
  --color-black-100: hsl(213, 20%, 9%);
  --color-black-200: hsl(213, 23%, 8%);
  --color-black-300: hsl(214, 21%, 6%);
  --color-black-400: hsl(210, 21%, 6%);
  --color-black-500: hsl(216, 22%, 4%);
  --color-red-100: hsl(349, 100%, 90%);
  --color-red-200: hsl(349, 100%, 80%);
  --color-red-300: hsl(349, 100%, 70%);
  --color-red-400: hsl(349, 100%, 60%);
  --color-red-500: hsl(349, 100%, 45%);
  --color-prim:hsl(15, 100%, 60%);
  --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
     0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
     0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
     0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1 {
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.2;
}

h2 {
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1.2;
}

h3 {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
}

h4 {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.2;
}

h5 {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}


html {
  font-size: 100%;
  box-sizing: inherit;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
    font-size: 24px; /* Adjust size as needed */
    color: #000; /* Adjust color as needed */
}

body {
  font-family: "Nunito Sans", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black-500);
  background-color: var(--color-white-100);
}


body.page, body.post{
    background:rgb(255 250 240);    
}

main {
  overflow: hidden;
}

a,
button {
  cursor: pointer;
  user-select: none;
  border: none;
  outline: none;
  background: none;
  box-shadow: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.section {
  margin: 0 auto;
  padding: 5rem 0 2rem;
}

.container {
  max-width: 80rem;
  height: auto;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.centered {
  text-align: center;
  vertical-align: middle;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  user-select: none;
  outline: none;
  border: none;
  border-radius: 0.25rem;
  text-transform: unset;
  transition: all 0.3s ease-in-out;
}
.btn-darken {
  padding: 0.75rem 2rem;
  color: var(--color-white-100);
  background-color: var(--color-black-200);
  box-shadow: var(--shadow-medium);
}
.btn-neutral {
  padding: 0.75rem 2rem;
  color: var(--color-black-500);
  background-color: var(--color-white-100);
  box-shadow: var(--shadow-medium);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: auto;
  margin: 0 auto;
    background: #FDF6EA;
    background: linear-gradient(180deg, rgb(237 226 207) 50%, rgba(255, 255, 255, 0) 100%);
}

.navbar {
  display: grid;
  align-items: center;
  align-content: center;
  height: auto;
  padding-top: 0.5rem;
}
@media only screen and (min-width: 62rem) {
  .navbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;    
    margin: 0 auto;
  }
}

.brand {
  justify-self: start;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
  text-transform: uppercase;
  max-width: 90px;
  width: 90px;
}


.kv-top{
    background-image: url(../images/shiki-japanese-kv.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90vh;
}
















@media only screen and (min-width: 62rem) {
  .search {
    justify-self: center;
    grid-column: initial;
    order: initial;
    width: 100%;
    height: auto;
  }
  .search-form {
    max-width: 30rem;
  }
}

.menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-block: 3rem 2rem;
  background: var(--color-white-100);
  box-shadow: var(--shadow-medium);
  transition: all 0.45s ease-in-out;
}
.menu.is-active {
  top: 0;
  width: 100%;
  height: inherit;
}
.menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1.25rem;
}
.menu-link {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: inherit;
  text-transform: uppercase;
  color: var(--color-black-500);
  transition: all 0.35s ease-in-out;
}
.menu-link:hover, .menu-item.active a.menu-link{
  outline: none;
  color: var(--color-prim);
  
}
@media only screen and (min-width: 36rem) {
  .menu {
    position: relative;
    justify-self: end;
    top: 0;
    left: inherit;
    width: auto;
    height: auto;
    padding-block: 0;
    background: none;
    box-shadow: none;
    transition: none;
  }
  .menu-inner {
    display: flex;
    flex-direction: row;
    column-gap: 1.25rem;
    margin: 0 auto;
  }
  .menu-link {
    text-transform: capitalize;
  }
}

.burger {
  position: relative;
  justify-self: end;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  width: 1.6rem;
  height: 1.15rem;
  border: none;
  outline: none;
  background: none;
  visibility: visible;
  transform: rotate(0deg);
  transition: 0.35s ease;
}
@media only screen and (min-width: 36rem) {
  .burger {
    display: none;
    visibility: hidden;
  }
}
.burger-line {
  position: absolute;
  display: block;
  right: 0;
  width: 100%;
  height: 2.1px;
  border: none;
  outline: none;
  opacity: 1;
  border-radius: 1rem;
  transform: rotate(0deg);
  background-color: var(--color-black-100);
  transition: 0.25s ease-in-out;
}
.burger-line:nth-child(1) {
  top: 0px;
}
.burger-line:nth-child(2) {
  top: 0.5rem;
  width: 70%;
}
.burger-line:nth-child(3) {
  top: 1rem;
}

.burger.is-active .burger-line:nth-child(1) {
  top: 0.5rem;
  transform: rotate(135deg);
}
.burger.is-active .burger-line:nth-child(2) {
  opacity: 0;
  visibility: hidden;
}
.burger.is-active .burger-line:nth-child(3) {
  top: 0.5rem;
  transform: rotate(-135deg);
}

.d-flex{
    display: flex;
    flex-wrap: wrap;
}

.kv-top .d-flex{
    align-items: center;
    padding: 180px 0 120px;
}

.col-left {
    width: 60%;
}

.col-right {
    padding-right: 20px;
    width: 45%;
       max-width: 100%;
}

section.kv-top{
    padding:0;
}

.kv-top h2{
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--color-black-500);
    font-weight: 800;
}
.kv-top h4{
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.25;
}

.kv-top p{
    margin-bottom: 40px;
    line-height: 1.5;
    font-size: 20px;
}

.prm_button{
    font-size: 14px;
    padding: 0.7em 1.5em;
    background: ;
    border-width: 2px;
    text-transform: uppercase;
    color: var(--color-prim);    
    border-radius: 3px;
    font-weight: 800;
    background: var(--color-white-100);
    border-color: var(--color-prim);
    border-style: solid;
    transition: background-color 0.5s ease-in-out;
}   

.prm_button:hover{
    background: var(--color-prim);
    color: var(--color-black-500);
}

section{
    padding:80px 0;
}

.quick_btns{
    display:grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    
}

.qck_btn{
    background-size: 100%;
    padding:0 15px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    align-items: center;

}

.qck_btn .btn-img{
    max-width: 120px; 
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.qck_btn:hover .btn-img{
    transform: scale(1.05);
    opacity: 1;
}


.grammar span{
    color:#187e75;
}

.vocabulary span{
    color:#258ad2;    
}

.kanji span{
    color:#e10e96;
}

.reading span{
    color:#4146a2;    
}

.listening span{
    color:#be0707;
}

.qck_btn span{
    font-weight: 800;
    font-size:20px;
    text-transform: uppercase;
}

.qck_btn .test_lvls{
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.qck_btn .test_lvls a{
    border-radius: 4px;
    background: var(--color-white-100);
    padding:1px 8px;
    color: var(--color-black-500);
    border:solid 1px var(--color-black-500);
}


section.mock_test{
    background: #F7F7F7;
}

.mock_test .grid_bttns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}


.mock_test .grid_bttn{
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    align-items: center;
}

.heading-holder{
        text-align: center;
    justify-content: center;
    justify-items: center;
    position: relative;
    margin-bottom: 40px;
}

.heading-holder h3{
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 800;
}

.heading-separator-wrapper{
        text-align: center;
    justify-content: center;
    justify-items: center;
    display: flex;
    align-items: center;
}

.header-separator-line{
    width: 40px;
    height: 4px;
    background-color: var(--color-prim);
}
.mock_test .grid_bttn img{
    transition: transform 0.3s ease;
}

.mock_test .grid_bttn:hover img{
    transform: scale(1.025);
    opacity: 1;
}

.about_top{
    background:rgb(255 250 240);
}


footer{
    background-color: #444348;
    background-image: url(../images/footer_bg.jpg);
    padding: 60px 0 0;
    line-height: 32px;
    text-align: center;
}

footer .cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    display: grid;
}
    
    
footer .footer_left{
    padding:20px;
}

footer .footer_logo{
    justify-self: flex-start;
    margin-bottom: 15px;
    display: block;
    width: 100px;
    filter: brightness(0) invert(1);
    opacity: .7;
}

footer .social_links{
    text-align: center;
    gap:5px;
    display: flex;
    justify-content: flex-start;
}

footer .social_links a{
    width: 28px;
    height: 28px;
    display: block;
    position: relative;
}

footer .footer_right{
    padding:20px;
}
footer .footer_right ul{
    gap: 1.5rem;
    text-align: left;
    justify-content: flex-end;
    display: flex;
}

footer .footer_right ul li ul{
    display: grid;
    gap: 12px;
}

footer .footer_right ul li ul li a{
    color: #fff;
    position: relative;
    padding-bottom: 4px;
}

footer .footer_right ul li ul li a:hover:after{
    width: 100%;
}

footer .footer_right ul li ul li a:after{
    content: "";
    width: 0%;
    position: absolute;
    bottom: 0;
    background: #fff;
    height: 1px;
    transition: all ease-in-out 250ms;
        left: 0;
}

.copyright{
background: #323232;
    text-align: center;
    color: #c4c4c4;
    padding: 7px 0;
    font-size: 13px;
    margin-top:40px;
}

.main-title-section-container {
    padding: 30px 0px;
    clear: both;
    margin: 0;
    width: 100%;
    background: #f55c24;
    margin-top: 95px;
}

.main-title-section-container h1{
    color:#fff;
    text-transform: uppercase;
    position: relative;
    padding-bottom:15px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.header.inner_hd{
    background: #FDF6EA!important;
}

.main-title-section-container h1:after{
    content: "";
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: var(--color-white-100);
    left: 0;
    bottom: 7px;
}

.aioseo-breadcrumb, .aioseo-breadcrumb a{
   color: var(--color-white-100);
}
.aioseo-breadcrumb-separator{
    margin: 0px 8px;
    color: var(--color-white-100);
}

.contact .container{
    max-width: 800px;
}

.contact_form li{
    background: #ffffff;
    border: 1px solid #e2d6c1;
    padding: 0px;
    width: 100%;
    clear: both;
    overflow: hidden;
    border-radius: 3px;
    display:flex;
    margin-bottom: 0.75rem;
}

.wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}

.contact_form label{
    font-size: 14px;
    line-height: 48px;
    padding: 9px 0 8px;
    width: 6%;
    text-align: center;
    border-right: 1px solid #e2d6c1;
    margin: 0px;
    min-width: 40px;
        display: flex;
    align-items: center;
    justify-content: center;
}

.contact_form label span{
    color: #808080;
}

.contact_form input, .contact_form textarea{
    border: none;
    padding: 13px 0 12px 2%;
    width: auto;
    margin: 0px;
    display: block;
    width: 100%;
}

.contact_form label.comment{
    align-items: flex-start;
}

.contact_form li.submit{
    background-color:transparent;
    border:none;
    display:flex;
    justify-content: center;
}

.contact_form li.submit label{
    border-right:none;
}

.contact_form li.submit input{
    max-width: 200px;
    padding: 13px 0 12px;
    background-color: #DA853D;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius:4px;
}


.contact_form li.submit input:hover{
    background:var(--color-prim);
}


.pg_jlpt h2{
    text-transform: uppercase;
    position: relative;
    padding-bottom:15px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.pg_jlpt h2:after{
    content: "";
    position: absolute;
    width: 40px;
    height: 4px;
    background-color:#f55c24;
    left: 0;
    bottom: 7px;
}


.jlpt_content-wrapper{
    margin-bottom: 80px;
}


.jlpt_content-wrapper h3{
    margin-top:20px;
}    

.jlpt_content-wrapper h3:first-child{
    margin-top:0;
}

.jlpt_levels_cntn{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 60px;
}

.level_cntn h3{
    margin-bottom:20px;
}

.jlpt_levels_cntn .level_ttl{
    color: #f55c24;
    font-size: 45px;
    line-height: 1;
    font-weight: 800;
}


.jlpt_level{
    display: flex;
    gap: 20px;
}



.jlpt_content-wrapper ul{
    list-style: circle;
    margin-left: 20px;
    line-height: 1.8;
}

.jlpt_content-wrapper ul li{
    list-style: circle;
}

.jlpt_content-wrapper ul li::marker{
    font-size:24px;
}

.question-box{
    background: var(--color-white-100);
    border-radius: 10px;
    padding:20px;
    width: 95%;
    max-width: 500px;
    margin: 0 auto 20px;
}

.question-box .quiz{
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.answer__item{
    display: block;
    position: relative;
    cursor: pointer;
    padding: 0.75rem;
    margin: 0.25rem 0;
    border-radius: 5px;
    border: solid 2px #bbbbbb;
    display: flex;
    gap: 10px;
    align-items: center;
}


.practice_title, .test_submit{
    width: 95%;
    max-width: 800px;
    margin: 0 auto 20px;
}

.practice_title h2{
    font-size: 20px;
    color:var(--color-prim);
}


.test_submit{
    display: flex;
    justify-content: center;
}

.test_submit button {
    max-width: 200px;
    padding: 13px 0 12px;
    background-color: #DA853D;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
       display: block;
           width: 100%;
}

.test_submit button:hover{
    background:var(--color-prim);
}



/*
.answer__item::before{
    content: "";
    width:20px;
    height: 20px;
    border-radius: 50%;
    border:solid 1px #303030;
    background: #fff;
    display: block;
    position: absolute;
    left: 0.75rem;
    
}


.answer__item::after{
    content: "";
    width:19px;
    height: 19px;
    border-radius: 50%;
    border:solid 1px #303030;
   
    opacity:0;
    position: absolute;
    left: 0.75rem;
}

*/


.result.correct { color: green; }
.result.incorrect { color: red; }

.question-box input[type="radio"]{
  display: none;
}

:valid .answer__item--is-correct{
    border: solid 1px #f55c24;
}

.answer__reveal-text {display: none;}
:valid .answer__reveal-text {display: block}

:checked + .answer__item{color:var(--color-prim); border: solid 2px var(--color-prim);}

:checked + .answer__item--is-correct{background-color: #3db540; #f6f6f6;} 

:checked + .answer__item .answer__icon{display: inline-block }


form{ counter-reset: quiz-score }
:checked + .answer__item--is-correct { counter-increment: quiz-score }
.score:after { content: counter(quiz-score) "/" attr(data-question-count) }


.score-percentage{
    font-size: 60px;
    color: rgb(229, 0, 26);
    font-weight: bold;
    letter-spacing: -2px;
    line-height: 1;
    margin: 20px;
}

.results_score{
    display: flex;
    flex-direction: column;
}

.answer_wrap{
    display: flex;
    flex-direction: column-reverse;
}