@charset "UTF-8";

/*
Theme Name: karuta
Author: As1Piece
Description: karuta
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/NotoSansCJKjp-Regular.woff2') format('woff2'),
	     url('fonts/NotoSansCJKjp-Regular.woff') format('woff'),
	     url('fonts/NotoSansCJKjp-Regular.ttf')  format('truetype'),
         url('fonts/NotoSansCJKjp-Regular.eot') format('embedded-opentype');
}
html {
  font-size: 62.5%;
}
body {
  font-family: 'Noto Sans Japanese';
}
.contactfixbtn {
  position: fixed;
  right: 0;
  bottom: 0;
  transition: 1s;
  opacity: 0.7;
  z-index: 2;
}
@media screen and (max-width:767px) {
  .contactfixbtnsp {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }
  .contactfixbtnsp img {
    width: 100%;
  }
}
.contactfixbtn:hover {
  opacity: 1;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.hr-25 {
  height: 25px;
}
.hr-50 {
  height: 50px;
}
.hr-100 {
  height: 100px;
}
.hr-200 {
  height: 200px;
}
.pc {
  display: block;
  margin: 0 auto;
}
.sp {
  display: none;
}
.navbar {
  padding: 0 20px;
  background-color: #E6C991;
}
.navbar-dark .navbar-toggler{
  border-color: black;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.nav-link {
  font-size: 1.6rem;
  color: black !important;
  font-weight: bold;
}
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
  color: red !important;
}

.topimg {
  margin-top: 80px;
}
.topimg1 {
  width: 38.1966%;
}
.topimg2 {
  width: 61.60%;
}
@media screen and (max-width:1200px) {
  .topimg1 {
    width: 38.16%;
  }
}
@media screen and (max-width:992px) {
  .topimg2 {
    width: 61.53%;
  }
}
@media screen and (max-width:767px) {
  .topimg1 {
    width: 90%;
  }
  .topimg2 {
    width: 90%;
    margin-top: 20px;
    float: right;
  }
  .navbar {
    padding: 0 10px;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
    pointer-events: none;
  }
}



/* greeting */
.greeting {
  width: 100%;
  height: 560px;
  background: url(images/bg1.png) no-repeat;
  background-size: cover;
  margin-top: -15px;
  position: relative;
  z-index: -1;
}
.rika1img {
  position: absolute;
  bottom: 0;
}
.greeting-text {
  width: 665px;
  position: absolute;
  bottom: 40px;
  right: 0;
}
.greeting-text h2 {
  font-size: 3rem;
  font-weight: bold;
}
.greeting-text h3 {
  margin-top: 30px;
  font-weight: bold;
}
.greeting-text p {
  font-size: 1.6rem;
}
@media screen and (max-width:1200px) {
  .greeting-text {
    width: 500px;
    bottom: 50px;
  }
  .greeting-text h2 {
    font-size: 2.5rem;
  }
  .greeting-text h3 {
    font-size: 1.6rem;
  }
  .greeting-text p {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:991px) {
  .rika1img {
    width: 35%;
  }
  .greeting-text {
    width: 430px;
    bottom: 25px;
  }
}
@media screen and (max-width:767px) {
  .greeting {
    background: url(images/bg1sp.png) no-repeat;
    margin-top: -130px;
    height: 880px;
  }
  .greeting::before {
    content: "";
    display: block;
    padding-top: 24%;
  }
  .rika1spimg {
    margin-top: 55px;
  }
  .greeting-text {
    width: 90%;
    bottom: 60px;
    left: 20px;
  }
}
@media screen and (max-width:575px) {
  .rika1spimg {
    width: 90%;
  }
  .greeting {
    width: 100%;
    height: 870px;
    background-position: center;
  }
  .greeting-text {
    width: 90%;
    bottom: 4%;
    left: 20px;
  }
}



/* about */
.about {
  background: url(images/bg2.png) no-repeat;
  background-position: left bottom;
  margin-top: 120px;
  position: relative;
  height: 430px;
}
.about-text {
  padding-top: 100px;
}
.about h2 {
  font-size: 3rem;
  font-weight: bold;
}
.about-text2 {
  margin-top: 80px;
}
.about p {
  font-size: 1.6rem;
  width: 575px;
}
.about h2,.about p {
  padding-left: 30px;
}
.aboutimg1 {
  position: absolute;
  right: 0;
  top: 80px;
}
@media screen and (max-width:1200px) {
  .about {
    height: 375px;
  }
  .about-text {
    width: 500px;
    bottom: 50px;
  }
  .about-text h2 {
    font-size: 2.5rem;
  }
  .about-text p {
    font-size: 1.4rem;
  }
  .aboutimg1 {
    width: 350px;
  }
}
@media screen and (max-width:991px) {
  .about {
    background: url(images/bg2tab.png) no-repeat;
    background-position: left bottom;
    height: 350px;
  }
  .about-text {
    padding-top: 35px;
  }
  .about-text2 {
    margin-top: 50px;
  }
  .about p {
    width: 300px;
  }
}
@media screen and (max-width:767px) {
  .about {
    background: none;
  }
  .about::before {
    content: "";
    display: block;
    padding-top: 24%;
  }
  .aboutimg1 {
    width: 90%;
  }
  .bg2sp {
    position: absolute;
    left: 0;
    top: 515px;
    width: 510px;
    z-index: -1;
  }
  .about-text {
    position: absolute;
    width: 90%;
    top:470px;
    left: 20px;
    padding: 0;
  }
  .about p {
    width: 100%;
  }
  .about h2,.about p {
    padding: 0;
  }
}
@media screen and (max-width:575px) {
  .about {
    width: 100%;
  }
  .about-text {
    top: 95vw;
  }
  .bg2sp {
    width: 90%;
    top: 110vw;
  }
}



/* feature */
.feature {
  background: url(images/bg3.png) no-repeat;
  background-position: right;
  margin-top: 200px;
}
.feature-text {
  float: right;
  margin-top: 75px;
}
.feature-text h2 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 5px
}
.feature-text h3 {
  font-size: 2rem;
  margin-top: 30px;
  font-weight: bold;
}
.feature-text p {
  font-size: 1.6rem;
}
.feature-number {
  font-family: "HG創英角ﾎﾟｯﾌﾟ体";
  font-size: 5rem;
  font-weight: bold;
  color: #E29400;
}
@media screen and (max-width:1200px) {
  .feature {
    height: 640px;
  }
  .feature-text {
    width: 500px;
    bottom: 50px;
  }
  .feature-text h2 {
    font-size: 2.5rem;
  }
  .feature-text p {
    font-size: 1.4rem;
  }
  .featureimg {
    width: 350px;
  }
}
@media screen and (max-width:991px) {
  .feature {
    height: 640px;
  }
  .feature-text {
    width: 400px;
  }
  .feature-text h2 {
    letter-spacing: 2px;
  }
  .featureimg {
    width: 310px;
    margin-top: 76px;
  }
}
@media screen and (max-width:767px) {
  .feature {
    position: relative;
    margin-top: 500px;
    height: 1165px;
    background-position: bottom right;
  }
  .feature::before {
    content: "";
    display: block;
    padding-top: 0%;
  }
  .featureimg {
    width: 90%;
    margin-top: -120px;
  }
  .feature-text {
    position: absolute;
    width: 90%;
    top: 520px;
    left: 20px;
    padding: 0;
  }
  .feature p {
    width: 100%;
  }
  .feature h2,.feature p {
    padding: 0;
  }
}
@media screen and (max-width:575px) {
  .feature {
    width: 100%;
    background-position: bottom right;
    margin-top: 100vw;
    height: 1000px;
  }
  .feature-text {
    top: 100vw;
  }
  .feature h2 {
    font-size: 2.1rem;
  }
  .featureimg {
    margin-top: -10vw;
  }
}



/* communication */
.communication {
  margin-top: 200px;
}
.communication-text {
  float: right;
  width: 500px;
  margin-right: 70px;
  margin-top: 60px;
}
.communication-text h2 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 5px;
}
.communication-text p {
  font-size: 1.6rem;
  margin-top: 50px;
}
@media screen and (max-width:1200px) {
  .communication-text {
    width: 500px;
  }
  .communication-text h2 {
    font-size: 2.5rem;
  }
  .communication-text p {
    font-size: 1.4rem;
  }
  .communicationimg {
    width: 350px;
  }
}
@media screen and (max-width:991px) {
  .communication-text {
    width: 380px;
    margin-right: 0;
  }
  .communication-text h2 {
    letter-spacing: 2px;
  }
  .communicationimg {
    width: 310px;
    margin-top: 20px;
  }
}
@media screen and (max-width:767px) {
  .communication::before {
    content: "";
    display: block;
    padding-top: 0%;
  }
  .communication-text {
    float: none;
    width: 90%;
    padding: 0;
    margin-left: 20px;
  }
  .communication-text p {
    margin-top: 20px;
  }
  .communicationimg {
    width: 90%;
  }
}





/* facebook */
.facebook {
  height: 385px;
  margin-top: 200px;
  padding: 120px 0;
  background-color: #B6CDFE;
}
.facebook h2 {
  font-size: 3rem;
  text-align: center;
  font-weight: bold;
}
.facebook img {
  width: 280px;
  margin: 40px auto 0 auto;
  display: block;
}
@media screen and (max-width:767px) {
  .facebook h2 {
    font-size: 2.5rem;
  }
}
@media screen and (max-width:575px) {
  .facebookimg {
    max-width: 90%;
  }
}




/* philosophy */
.philosophy {
  background: url(images/bg4.png) no-repeat;
  background-position: left;
  margin-top: 200px;
  padding-top: 80px !important;
  position: relative;
  height: 430px;
}
.rika2spimg {
  float: right;
  width: 90%;
}
.rika2img {
  float: right;
}
.philosophy-text {
  padding-left: 30px;
  width: 65%;
}
.philosophy h2 {
  font-size: 3rem;
  font-weight: bold;
  padding-top: 20px;
  padding-bottom: 25px;
}
.philosophy p {
  font-size: 1.6rem;
}
@media screen and (max-width:1200px) {
  .philosophy-text {
    padding-left: 30px;
    width: 60%;
  }
  .philosophy h2 {
    padding-top: 80px;
    padding-bottom: 25px;
  }
}
@media screen and (max-width:991px) {
  .rika2img {
    width: 35%;
    margin-top: 75px;
  }
  .philosophy h2 {
    font-size: 2.5rem;
  }
  .philosophy p {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:767px) {
  .philosophy {
    background: url(images/bg4sp.png) no-repeat;
    background-position: bottom;
    height: 670px;
  }
  .philosophy-text {
    width: 100%;
    padding-right: 30px;
  }
  .philosophy h2 {
    padding-top: 40px;
  }
}
@media screen and (max-width:575px) {
  .philosophy {
    width: 100%;
    margin-top: 47vw;
  }
}



/* voice */
.voice {
  margin-top: 120px;
  padding-top: 80px !important
}
.voice h2 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 5px;
  padding-left: 30px;
  margin-bottom: 100px;
}
.person {
  height: 162px;
}
.voice1img,.voice3img {
  float: left;
  padding-left: 30px;
}
.voice p {
  font-size: 1.6rem;
  padding-top: 40px;
  width: 65%;
}
.voice2img,.voice4img {
  float: right;
}
.person-left,.person-right {
  margin-top: 60px;
}
.person-left p {
  float: right;
}
.person-right p {
  float: left;
  padding-left: 30px;
}
@media screen and (max-width:991px) {
  .voice img {
    width: 30%;
  }
  .voice h2 {
    margin-bottom: 50px;
  }
  .voice p {
    font-size: 1.4rem;
  }
  .voice-text3 {
    padding-top: 20px !important;
  }
}
@media screen and (max-width:767px) {
  .voice1img,.voice2img,.voice3img,.voice4img,.person-left p,.person-right p {
    float: none;
  }
  .person-left,.person-right {
    text-align: center;
  }
  .voice h2 {
    font-size: 2.5rem;
  }
  .voice p {
    width: 100%;
    text-align: left;
    padding: 40px 30px 0 30px;
  }
  .voice-text3 {
    padding-top: 40px !important;
  }
  .voice1img,.voice2img,.voice3img,.voice4img {
    padding: 0;
  }
  .voice img {
    width: 227px;
  }
}
@media screen and (max-width:575px) {
  .voice p {
    width: 100%;
    padding: 40px 30px 0 30px;
  }
}






/* course */
.course {
  margin-top: 120px;
  padding-top: 80px !important;
}
.courseimg {
  float: right;
  width: 41%;
}
.course-text {
  padding-top: 60px;
}
.course-text h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-top: 40px;
}
.course-text p {
  font-size: 2rem;
}
.notice {
  font-size: 1.6rem;
  float: right;
  margin-right: 255px;
}
.notice2 {
  font-size: 1.6rem;
}
@media screen and (max-width:1200px) {
  .course-text {
    padding-top: 20px;
  }
  .notice {
    margin-right: 148px;
  }
}
@media screen and (max-width:991px) {
  .course-text {
    padding-top: 20px;
  }
  .course-text h2 {
    font-size: 2.5rem;
    margin-top: 30px;
  }
  .course-text p {
    font-size: 1.6rem;
  }
  .notice {
    font-size: 1.4rem;
    margin-right: 75px;
  }
  .notice2 {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:767px) {
  .courseimg {
    width: 90%;
  }
  .course-text {
    padding: 20px 30px 0 30px;
  }
  .course-text p {
    font-size: 2rem;
  }
  .notice {
    margin-right: 88px;
  }
}
@media screen and (max-width:575px) {
  .course-text h2 {
    font-size: 2rem;
  }
  .notice {
    float: left;
    margin-right: 0;
  }
}



/* faq */
.faq {
  background-color: #E6C991;
  margin-top: 300px;
  padding: 160px 0;
}
.faq h2 {
  font-size: 3.5rem;
  text-align: center;
  font-weight: bold;
  letter-spacing: 5px;
  padding-bottom: 60px;
}
.qanda {
  padding: 0 30px;
  margin-bottom: 30px;
}
.qanda img {
  float: left;
}
.qanda p {
  font-size: 2rem;
  font-weight: bold;
  line-height: 30px;
  margin-left: 50px;
  padding-top: 10px;
}
@media screen and (max-width:767px) {
  .faq h2 {
    font-size: 2.5rem;
  }
  .qanda p {
    font-size: 1.6rem;
  }
}



/* company */
.company {
  margin: 150px auto;
  padding-top: 80px !important;
}
.company h2 {
  text-align: center;
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 5px;
}
.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  width: 90%;
  margin: 50px auto;
}
.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
table {
  margin: 0 auto;
  width: 700px;
}
table tr {
  border-top: solid 1px black;
  line-height: 60px;
}
table tr:last-child {
  border-bottom: solid 1px black;
}
.tleft {
  font-size: 2.5rem;
  font-weight: bold;
}
.tright {
  font-size: 2rem;
  width: 500px;
}
@media screen and (max-width:991px) {
  table {
    width: 500px;
  }
  .tright {
    width: 300px;
  }
}
@media screen and (max-width:767px) {
  .company{
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 250px;
  }
  .company h2 {
    font-size: 2.5rem;
  }
  table tr {
    line-height: 55px;
  }
  .tleft {
    font-size: 2rem;
  }
  .tright {
    font-size: 1.8rem;
  }
}
@media screen and (max-width:575px) {
  .company {
    margin-bottom: 150px;
  }
  table {
    width: 90%;
  }
  .tright {
    width: 60%;
  }
}




/* footer */
.footer {
  background: #e5e5e5;
}
.passologo {
  width: 276px;
}
.footer p {
  font-size: 1.6rem;
}
.copy {
  font-size: 1.4rem;
}
@media screen and (max-width:992px) {
  .footer {
    margin-bottom: 19vw;
  }
}
