main {
  font-family: "ヒラギノ角ゴシック";
  font-weight: 500;
}

img {
  pointer-events: none;
}

.content {
  max-width: 750px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
}

.math_img {
  width: 100%;
}

.space-white {
  height: 3em;
  background-color: white;
}

.step_text {
  transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -webkit-transform: rotate(-3deg);
  position: relative;
  z-index: 1;
}

.step_text_skew {
  transform: skewX(-3deg);
}

#math_enter_bg {
  width: 100%;
  margin-top: auto;
  background-image: url(../img/class/5_bg.png);
  background-size: contain;
}

.content_5 {
  width: 100%;
  max-height: 266px;
  height: 35.5vw;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background: center;
  background-image: url(../img/class/5_bg_building.png);
  background-size: contain;
  background-repeat: repeat-x;
}

.trial_button {
  max-width: 546px;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: -30%;
  left: 0;
  right: 0;
  margin: auto;
}

#header-menu-list {
  height: 48px;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

.header-menu-item {
  font-family: -apple-system, BlinkMacSystemFont,"Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 400;
  color: #00008b;
}

#header-bar {
  width: 1px;
  height: 40px;
  /* padding-top: 12px; */
}

/****************************************************************************/
/* 背景画像 */
@media only screen and (max-width : 428px){
  body {
    background-image: url(../img/background_small.png);
  }
}

@media only screen and (min-width : 429px){
  body {
    background-image: url(../img/background.png);
  }
}

/****************************************************************************/
/* タイトル */
#top-bg{
  height: 650px;
}

#top-bg-img{
  position:absolute;
  bottom: 120px;
}

#main-top-img{
  width: 1250px;
}

@media only screen and (max-width : 850px){
  #top-bg-img{
    position:absolute;
    right: calc(870px - 90%);
  }
}

#title{
  color: #FBB305;
  font-weight: 700;
  text-shadow: 1px 2px 3px #808080;
}

#title-sp{
  color: #FBB305;
  font-weight: 700;
  text-shadow: 1px 2px 3px #808080;
}

#top-title{
  padding: 0px;
  color: #283593;
  font-family:"ヒラギノ丸ゴ Pro W4",
  "ヒラギノ丸ゴ Pro",
  "Hiragino Maru Gothic Pro",
  "ヒラギノ角ゴ Pro W3",
  "Hiragino Kaku Gothic Pro",
  "HG丸ｺﾞｼｯｸM-PRO",
  "HGMaruGothicMPRO";
}
#top-title-sp{
  padding: 0px;
  color: #283593;
  font-family:"ヒラギノ丸ゴ Pro W4",
  "ヒラギノ丸ゴ Pro",
  "Hiragino Maru Gothic Pro",
  "ヒラギノ角ゴ Pro W3",
  "Hiragino Kaku Gothic Pro",
  "HG丸ｺﾞｼｯｸM-PRO",
  "HGMaruGothicMPRO";
}

#top-second-title{
  color: #283593;
  font-family:"ヒラギノ丸ゴ Pro W4",
  "ヒラギノ丸ゴ Pro",
  "Hiragino Maru Gothic Pro",
  "ヒラギノ角ゴ Pro W3",
  "Hiragino Kaku Gothic Pro",
  "HG丸ｺﾞｼｯｸM-PRO",
  "HGMaruGothicMPRO";
}
#top-second-title-sp{
  color: #283593;
  font-family:"ヒラギノ丸ゴ Pro W4",
  "ヒラギノ丸ゴ Pro",
  "Hiragino Maru Gothic Pro",
  "ヒラギノ角ゴ Pro W3",
  "Hiragino Kaku Gothic Pro",
  "HG丸ｺﾞｼｯｸM-PRO",
  "HGMaruGothicMPRO";
}
#top-comment{
  color: #283593;
}

@media only screen and (max-width : 550px){
  .class-menu-title-pc {
    display: none;
  }
  .class-menu-title-sp {
    visibility: visible;
  }
  #title{
    display: none;
  }
  #title-sp{
    visibility: visible;
  }
  #top-title{
    display: none;
  }
  #top-title-sp{
    visibility: visible;
  }
  #top-second-title{
    display: none;
  }
  #top-second-title-sp{
    visibility: visible;
  }
}

@media only screen and (min-width : 551px){
  .class-menu-title-pc {
    visibility: visible;
  }
  .class-menu-title-sp {
    display: none;
  }
  #title{
    visibility: visible;
  }
  #title-sp{
    display: none;
  }
  #top-title{
    visibility: visible;
  }
  #top-title-sp{
    display: none;
  }
  #top-second-title{
    visibility: visible;
  }
  #top-second-title-sp{
    display: none;
  }
}

/****************************************************************************/
/* お知らせ */
#announce {
  margin: 0 auto;
  padding: 20px 0 0 0;
}

#news {
  padding: 15px 0px;
}

#news-list {
  padding: 20px 0px;
}

/****************************************************************************/
/* コンセプト */
@media only screen and (min-width : 768px){
  #concept_img_pc {
    visibility: visible;
  }
  #concept_img_mobile {
    display: none;
  }
}
@media only screen and (max-width : 767px){
  #concept_img_pc {
    display: none;
  }
  #concept_img_mobile {
    visibility: visible;
  }
}

#concept {
  width: 100%;
  background: linear-gradient(#d9f1fe 1px, transparent 1px) #fff;
  background-size: auto 1.3em;
  line-height: 2.5em;
}

#concept_img {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
}

#concept_img img{
  width: 100%;
  margin: 0 auto;
}

#concept_text {
  margin: 0 auto;
  padding: 0 10px;
	text-align: center;
	display: block;
}

@media only screen and (min-width : 768px){
  #concept_text p{
    text-align: left;
  	display: inline-block;
    font-weight: 200;
    line-height: 1.7em;
    font-size: 22px;
  }
}
@media only screen and (max-width : 767px) and (min-width : 571px){
  #concept_text p{
    text-align: left;
  	display: inline-block;
    font-weight: 200;
    line-height: 1.7em;
    font-size: 18px;
  }
}
@media only screen and (max-width : 570px) and (min-width : 471px){
  #concept_text p{
    text-align: left;
  	display: inline-block;
    font-weight: 200;
    line-height: 1.7em;
    font-size: 14.5px;
  }
}
@media only screen and (max-width : 470px) and (min-width : 414px){
  #concept_text p{
    text-align: left;
  	display: inline-block;
    font-weight: 200;
    line-height: 1.7em;
    font-size: 13px;
  }
}
@media only screen and (max-width : 413px) and (min-width : 375px){
  #concept_text p{
    text-align: left;
  	display: inline-block;
    font-weight: 200;
    line-height: 1.7em;
    font-size: 11px;
  }
}
@media only screen and (max-width : 374px){
  #concept_text p{
    text-align: left;
  	display: inline-block;
    font-weight: 200;
    line-height: 1.7em;
    font-size: 10px;
  }
}

/****************************************************************************/
/* ステップ */
@media only screen and (min-width : 768px){
  #steps_pc {
    visibility: visible;
    max-width: 750px;
    margin: 0 auto;
  }
  #steps_mobile {
    display: none;
  }
}
@media only screen and (max-width : 767px){
  #steps_pc {
    display: none;
  }
  #steps_mobile {
    visibility: visible;
    max-width: 750px;
    margin: 0 auto;
  }
}

#go_to_english_area {
  width: 100%;
  height: 110px;
  padding: 20px 0;
  margin: 0 auto;
}

#go_to_english {
  width: 130px;
  height: 70px;
  margin: 0 auto;
}

#go_to_english a {
  display:block;
}

#input {
  max-width: 371px;
  width: 65%;
  margin: auto;
  padding: 16px 0;
}
#plus {
  max-width: 112px;
  width: 20%;
  margin: auto;
  padding: 16px 0;
}
#output {
  max-width: 450px;
  width: 79%;
  margin: auto;
  padding: 16px 0;
}

/****************************************************************************/
@media only screen and (min-width : 768px){
  #voice{
    max-width: 1030px;
    width: 91%;
    margin: 0 auto;
    padding: 20px 4px;
  }
}
@media only screen and (max-width : 767px){
  #voice{
    max-width: 604px;
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
  }
}

@media only screen and (min-width : 1200px){
  #voice_container {
    width: 91%;
    margin: 0 auto;
    background-color: #fff;
    border: 4px solid #000;
    border-radius: 2px;
  }
}
@media only screen and (max-width : 1199px) and (min-width : 768px){
  #voice_container {
    width: 91%;
    margin: 0 auto;
    background-color: #fff;
    border: 0.4vw solid #000;
    border-radius: 2px;
  }
}
@media only screen and (max-width : 767px) and (min-width : 605px){
  #voice_container {
    width: 92%;
    margin: 0 auto;
    background-color: #fff;
    border: 4px solid #000;
    border-radius: 2px;
  }
}
@media only screen and (max-width : 604px){
  #voice_container {
    width: 92%;
    margin: 0 auto;
    background-color: #fff;
    border: 0.6vw solid #000;
    border-radius: 0.3vw;
  }
}


#voice_content {
  width: 90%;
  margin: 0 auto;
}

#voice_title{
  font-size:2.8em;
  font-weight:700;
  padding: 15px 0;
}

.introduce-name{
  font-weight:600;
  font-size: 1.8rem;
  line-height: 110%;
  text-align: center;
  padding-top: 14px;
}

.introduce-comment {
  width: 100%;
}

#komaba {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

#komaba_logo {
  margin-left: 1%;
  margin-right: 1%;
  width: 53%;
}

#komaba_logo img {
  width: 100%;
}

#komaba_Jakarta_logo {
  margin-left: 1%;
  margin-right: 1%;
  width: 42%;
}

#komaba_Jakarta_logo img {
  width: 100%;
}
