/* common
-------------------------*/

p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

section {
  width: 850px;
  margin: 0 auto;
}

#main_content > section + section {
  margin-top: 6rem;
}

h2 {
  margin: 2rem auto;
  color: #710014;
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
    letter-spacing: .1rem;
}

h3 {
  color: #254061;
  font-size: 2rem;
}

h3::before {
  margin-right: .5rem;
  color: #254061;
  font-weight: 900;
  font-family: var(--Font_Awesome);
  content: "\f0da";
}

.br_pc {display: block}
.br_sp {display: none}

section.ended {
	display: flex;
	justify-content: center;
	margin: 2rem auto 3rem;
}
section.ended p {
	font-size: 1.6rem;
	line-height: 2.8rem;
	text-align: center;
	color: #ff4500;
}

@media screen and (orientation: portrait) and (max-width: 767px){

  p {
    font-size: 1rem;
  }
  
  section  {
    width: 92%;
    margin: 0 auto;
  }
	
	#main_content > section + section {
  margin-top: 3rem;
}
  
  section + section {
    margin-top: 4rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
	
  .br_pc {display: none}
  .br_sp {display: block}

}

/* top_2024
-------------------------*/
#top2 {
	padding: 2rem 0;
	background: rgb(255,255,255);
background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,210,102,1) 50%, rgba(255,255,255,1) 100%);
}

#top2 .line_box {
	border-bottom: 1px solid #fff ;
	border-top: 1px solid #fff ;
	padding: 2rem 0;	
}

#top2 .line_box h1 {
	color: #00578a;
	letter-spacing: .1rem;
	font-size: 2.1rem;
    font-weight: bold;
    font-family: var(--Font_Weight_Bold);
	text-align: center;
	text-shadow: 1px 1px 1px #fff;
	margin: 0;
}

#top2 .line_box p.taisho  {
	font-size: 1rem;
	color: #fff;
	background-color: #00578a;
	padding: .1rem .3rem;
	width: fit-content;
	margin-left: 16.3rem;
	margin-bottom: 1rem;
}

#top2 .line_box h2 {
	color: #00578a;
	letter-spacing: .1em;
	font-size: 1.4rem;
    font-weight: bold;
    font-family: var(--Font_Weight_Bold);
	text-align: center;
	text-shadow: 1px 1px 1px #fff;
	margin: 2rem 0 0 0;
}

#top2 .line_box h2 span {
	font-weight: bold;
    font-family: var(--Font_Weight_Bold);
}

#top2 .line_box h2 span.font_l {
	font-size: 160%;
}

#top2 .line_box h2 span.font_m {
	font-size: 140%;
}


@media screen and (orientation: portrait) and (max-width: 767px){
	
	#top2 {
	padding: 1rem 0;
}
	
	#top2 .line_box {
	padding: 1rem 0;
}
	
	#top2 .line_box h1 {
	font-size: 1.8rem;
}
	
	#top2 .line_box p.taisho  {
	font-size: .9rem;
	margin-left: 4.6rem;
}
	
	#top2 .line_box h2 {
	font-size: 1.2rem;
	margin: 1.5rem 0 0 0;
}
	
}


/* top
-------------------------*/
#top {
  width: 100%;
  height: 384px;
  background: url("/math_nobu/common/imgs/main_img_pc.jpg") 0 0 no-repeat;
  position: relative;
}

#top h1 {
  position: absolute;
  top: 20%;
  right: 10%;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 3.5rem;
  font-family: 'Noto Serif JP', serif;
	letter-spacing: .15rem;
}

.kv_nobu figure {
    width: 100%;
}

.kv_nobu figure img {
    width: 100%;
}

.kv_nobu h1 {
    color: #00578a;
    font-size: .9rem;
    letter-spacing: .05rem;
    border-top: 1px solid #00578a;
    padding-top: .5rem;
}

.kv_nobu h1 a::after {
    padding-left: .5rem;
    font-weight: 900;
    font-family: var(--Font_Awesome);
    content: "\f1c1";
}


@media screen and (orientation: portrait) and (max-width: 767px){

  #top {
    height: 13rem;
    background-image: url("/math_nobu/common/imgs/main_img_sp.jpg");
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  #top h1 {
    font-size: 1.3rem;
    top: 2.5rem;
    right: 2rem;
	  line-height: 1.8rem;
	  letter-spacing: .1rem;
  }

}


/* lead_copy_2024
-------------------------*/

#lead_copy2 {
	text-align: center;
	background-image: url(/math_nobu/common/imgs/todai.png);
	background-size: 48% auto;
	background-repeat: no-repeat;
	background-position: right 60px;
}

#lead_copy2 dl {
	text-align: center;
	margin: 4rem 0 6rem 0;
}

#lead_copy2 dt {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 3rem;
	letter-spacing: .1em;
	margin-bottom: 4rem;
}

#lead_copy2 dt::before {
	display: inline-block;
	content: "＼";
	margin-right: 1rem;
	transform: rotate(10deg);
}

#lead_copy2 dt::after {
	display: inline-block;
	content: "／";
	margin-left: 1rem;
	transform: rotate(-10deg);
}

#lead_copy2 dd {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: .5rem 2rem;
	margin-left: 3rem;
	width: fit-content;
}

#lead_copy2 dd::before,
#lead_copy2 dd::after {
	position: absolute;
	width: 20px;
	height: 20px;
	content: "";
}

#lead_copy2 dd::before {
	border-left: solid 2px #888;
    border-top: solid 2px #888;
    top: 0px;
    left: 0px;
}

#lead_copy2 dd::after {
	border-right: solid 2px #888;
    border-bottom: solid 2px #888;
    bottom: 0px;
    right: 0px;
}

#lead_copy2 dd p {
	width: fit-content;
	margin: 1rem 0;
	font-size: 1.3rem;
	line-height: 1.7rem;
	letter-spacing: .1em;
	background: linear-gradient(transparent 80%, #ffd700 80%);
}

#lead_copy2 .triangle {
margin: 0 auto 4rem;
width:0;
height:0;
border-style:solid;
border-width: 30px 30px 0 30px;
border-color: #036EB8 transparent transparent transparent;
}

#lead_copy2 ul {
	text-align: left;
	border: 2px solid #036EB8;
	padding: 2.2rem 2.5rem ;
	margin: 0;
}

#lead_copy2 ul li {
	font-size: 1.2rem;
}

#lead_copy2 ul li span {
	font-size: 120%;
	color: #036EB8;
	padding: 0 .2rem;
}

#lead_copy2 ul li:not(:last-child) {
	margin-bottom: 1.5rem;
}

#lead_copy2 ul li::before {
	content: "●";
}


@media screen and (orientation: portrait) and (max-width: 767px){
	
	#lead_copy2 {
	background-size: 45% auto;
	background-position: right 85px;
}
	
	#lead_copy2 dl {
	margin: 3rem 0 3rem;
}
	
	#lead_copy2 dt {
		line-height: 2.7rem;
margin-left: 3rem;
	margin-bottom: 5rem;
		text-align: left;
}
	
	#lead_copy2 dt::before {
	content: "";
	margin-right: 0rem;
	transform: rotate(0deg);
}

#lead_copy2 dt::after {
	content: "";
}
	
	#lead_copy2 dd {
	padding: .5rem 1rem;
	margin: 0 auto;
}
	
	#lead_copy2 dd::before {
    top: 0px;
    left: 0px;
}

#lead_copy2 dd::after {
    bottom: 0px;
    right: 0px;
}

#lead_copy2 dd p {
	margin: .8rem auto;
}
	
	#lead_copy2 .triangle {
margin: 0 auto 2.5rem;
}
	
	#lead_copy2 ul {
	text-align: left;
		padding: 1rem 1rem 1rem 2rem ;
		margin: 0 1rem;
}

#lead_copy2 ul li:not(:last-child) {
	font-size: 1.1rem;
	margin-bottom: 1.2rem;
}
	
	#lead_copy2 ul li::before {
	content: "●";
		margin-left: -1rem;
}

	
	
}


/* lead_copy
-------------------------*/
#lead_copy {
    margin-top: 4rem;
}

#lead_copy p {
    text-align: justify;
    letter-spacing: .1rem;
    line-height: 2rem;
    margin: 1rem 5rem;
}

#lead_copy ul.note li {
  margin-top: 1rem;
  padding-left: 1rem;
  text-indent: -1rem;
  font-size: 1rem;
}


@media screen and (orientation: portrait) and (max-width: 767px){
    
    #lead_copy {
    margin-top: 3rem;
}
    
    #lead_copy p {
    line-height: 1.8rem;
    margin: 1rem 1rem;
}

  #lead_copy ul {
    margin-bottom: 2rem;
    padding-left: 2.5rem;
    font-size: .8rem;
  }
  
  #lead_copy ul li {
    text-indent: -2rem;
  }
  
  #lead_copy ul.note {
    padding-left: 0rem;
  }
  
  #lead_copy ul.note li {
    padding-left: .8rem;
    text-indent: -.8rem;
    font-size: .8rem;
  }

}


/* date
-------------------------*/

#date {
	padding: 2rem 0 .3rem;
	background: #f0f8ff;
}


#date dl:not(.sp_fee):not(.check) {
	letter-spacing: .2rem;
	font-weight: bold;
    font-family: var(--Font_Weight_Bold);
	display: flex;
	justify-content: center;
	align-items: baseline;
	font-size: 1.2rem;
	border-bottom: 2px solid #888;
	width: fit-content;
	margin: 0 auto;
	margin-bottom: 2rem;
	text-shadow: 1px 1px 1px #fff;
}

#date dl dt {
	margin-right: 2rem;
}

#date dl dd span {
	font-size: 140%;
}

#date .date_list {
	display: flex;
	justify-content: space-around;
	font-weight: bold;
    font-family: var(--Font_Weight_Bold);
	font-size: 1.2rem;
	letter-spacing: .3rem;
}

#date .date_list ul li {
	margin: 1rem 0;
}

#date p {
	text-align: center;
	font-size: .9rem;
}

#date .best {
	padding: .5rem 0 .5rem;
	margin: 2rem 2rem;
	color: #fff;
	letter-spacing: .1rem;
	background: rgb(240,248,255);
background: linear-gradient(90deg, rgba(240,248,255,1) 5%, rgba(3,110,184,0.9299370260799632) 50%, rgba(240,248,255,1) 95%);
}

#date .best p:nth-of-type(1) {
	font-size: 1.5rem;
	margin: 0;
	padding: 0;
}

#date .best p:nth-of-type(2) {
	font-size: 1.2rem;
	margin: 0;
	padding: 0;
}


@media screen and (orientation: portrait) and (max-width: 767px){
	
	#date {width: 90%}
	
	#date dl:not(.sp_fee):not(.check) {
	letter-spacing: .1rem;
	display: block;
	font-size: 1.2rem;
	border-bottom: 1px solid #888;
	margin-bottom: 1rem;
}
	
	#date .date_list {
	display: block;
}
	
	#date .date_list ul li {
		text-align: left;
		margin: .9rem 0 0 3rem;
	}
	
	#date .best {
	margin: 2rem 0rem;
}

#date .best p:nth-of-type(1) {
	font-size: 1.1rem;
	margin: 0;
	padding: 0;
}

#date .best p:nth-of-type(2) {
	font-size: .9rem;
	margin: 0;
	padding: 0;
}
	
}

/* tuition_fee
-------------------------*/

.tuition_fee {
	background-color: #fff;
	margin: 2.5rem 2rem 1.5rem;
	text-align: center;
	padding: 2rem;
}

.tuition_fee dl.sp_fee {
	letter-spacing: .1rem;
	font-weight: bold;
    font-family: var(--Font_Weight_Bold);
	display: flex;
	justify-content: center;
	align-items: baseline;
	font-size: 1.2rem;
	border-bottom: 2px solid #888;
	width: fit-content;
	margin: 0 auto;
	margin-bottom: 2rem;
}

.tuition_fee ul {
	margin-bottom: 2rem;
	text-align: left;
	width: fit-content;
	margin: 2rem auto;
}

.tuition_fee ul li {
	margin-top: 1rem;
}

.tuition_fee dl.check {
	border: 1px solid #036eb8;
	padding: 1rem 1.5rem;
	text-align: left;
	width: fit-content;
	margin: 0 auto;
}

.tuition_fee dl.check dt {
	margin-bottom: 1rem;
	color: #036eb8;
}

.tuition_fee dl.check dt::before {
	font-family: var(--Font_Awesome);
	content: "\f071";
	font-weight: 900;
	font-size: 1.3rem;
	padding-right: .8rem;
}


@media screen and (orientation: portrait) and (max-width: 767px){
	
	.tuition_fee {
	margin: 2rem 1rem .5rem;
	padding: 1rem;
}
	
	.tuition_fee dl.sp_fee {
	width: inherit;
}
	
}

/* voice
-------------------------*/

#voice {
	letter-spacing: .05rem;
}

#voice .vtitle {
	color: #036eb8;
	font-size: 1.4rem;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 2rem;
}

#voice .vtitle::before,
#voice .vtitle::after {
	content: "";
	height: 1px;
	width: 100px;
    background-color: #036eb8;
}

#voice .vtitle::before {
	margin-right: 1rem;
}

#voice .vtitle::after {
	margin-left: 1rem;
}

#voice .lr_vbox {
	display: flex;
	letter-spacing: .06rem;
	line-height: 1.8rem;
}

#voice .lr_vbox dl {
	border: 1px solid #deebf7 ;
	padding: 1.5rem;
}

#voice .lr_vbox dl:nth-of-type(1) {
	margin-right: 1rem;
}

#voice .lr_vbox dl:nth-of-type(2) {
	margin-left: 1rem;
}

#voice .lr_vbox dl dt {
	margin-bottom: 1rem;
	color: #036eb8;
}

#voice .lr_vbox dl p {
	text-align: right;
	font-size: .9rem;
}

#voice .lr_vbox dd {
	text-align: justify;
}


@media screen and (orientation: portrait) and (max-width: 767px){
	
#voice .lr_vbox {
	display: block;
	line-height: 1.8rem;
	margin: 0 1rem;
}
	
	#voice .lr_vbox dl:nth-of-type(1) {
	margin-right: 0rem;
		margin-bottom: 1rem;
}

#voice .lr_vbox dl:nth-of-type(2) {
	margin-left: 0rem;
}
	
}



/* teacher
-------------------------*/

#teacher {
	display: flex;
	align-items: flex-end;
}

#teacher figure img {
	width: 150px;
	margin-left: 1.8rem;
}

#teacher dl {
	letter-spacing: .1rem;
}

#teacher dl dt {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid #555;
}

#teacher dl dd {
	font-size: .9rem;
	line-height: 1.6rem;
	text-align: justify;
}

#teacher dl dd a {
	display: inline-block;
	margin: .7rem 0;
}

#teacher dl dd a::after {
	font-family: var(--Font_Awesome);
	content: "\f101";
	font-weight: 900;
	font-size: 1rem;
	padding-left: .8rem;
}

.catch_copy {
	background-color: #036EB8;
	color: #fff;
	margin: 0 5rem;
	padding: 1rem 0;
	font-size: 1.2rem;
	letter-spacing: .1rem;
	text-align: center;
}


@media screen and (orientation: portrait) and (max-width: 767px){
	
	#teacher {
	display: block;
		width: 80%;
}
	#teacher figure {
		text-align: right;
	}
	
	.catch_copy {
	margin: 0 1.5rem;
	padding: .6rem 1rem;
	font-size: 1rem;
	letter-spacing: .1rem;
	text-align: left;
}
	
}


/* お申し込み矢印
-------------------------*/


.main_step {
	margin: 3em 0em 1rem;
}
.main_step_title {
	display: flex;
    align-items: center;
    font-size: 1.5em;
    color: #036eb8;
    margin-bottom: 1.6em;
    letter-spacing: .1em;
}
.main_step_title:before, .main_step_title:after {
    border-top: 1px solid;
    content: "";
    flex-grow: 1; 
}

.main_step_title:before {
	margin-right: 1em;
}

.main_step_title:after {
	margin-left: 1em;
}

	
.application > section {
	display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
 
.triangle_application {
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-top: 30px solid #036eb8;
    border-bottom: 0;
}

@media screen and (orientation: portrait) and (max-width: 767px){
	
	.main_step_title {
    font-size: 1.2em;
    margin-bottom: 1.4em;
}
}



/* introduction
-------------------------*/
#introduction > div {
  display: flex;
  align-items: center;
  width: 800px;
  margin: 1rem auto;
  padding: 1rem 2rem 1rem 0;
  background-color: #254061;
  color: #fff;
}

#introduction h3 {
  margin-top: 3rem;
    font-size: 1.4rem;
}

#introduction figure {
  width: 220px;
  text-align: center;
}

#introduction img {
  width: 160px;
  height: 160px;
  margin: .5rem auto;
  object-fit: scale-down;
}

#introduction figcaption {
  text-align: center;
}

#introduction figcaption span {
  display: block;
  font-size: 1.2rem;
}

#introduction div {
  flex: 1;
}

#introduction div p {
  font-size: 1rem;
  margin-bottom: 1rem;
    text-align: justify;
}

#introduction section dl,
#introduction section ul {
  display: inline-block;
  vertical-align: top;
  width: fit-content;
  margin: 2rem;
}

#introduction section dl dt {
  font-size: 1.4rem;
  margin: 1rem auto;
    border-bottom: 1px solid #555;
}

#introduction section dl dd,
#introduction section ul li {
  padding: .2em .5em;
  font-size: 1.2rem;
}


@media screen and (orientation: portrait) and (max-width: 767px){
    
    #introduction > div {
  display: flex;
  align-items: center;
  padding: 1rem 1rem .5rem 1rem;
}

  #introduction div {
    display: block;
    width: 100%;
  }
    
    #introduction h3 {
  margin-top: 2rem;
        font-size: 1.2rem;
}
  
  #introduction figure {
    display: flex;
    align-items: center;
    width: 100%;
  }
  
  #introduction img {
    width: 8rem;
    height: 8rem;
    margin: .5rem 2rem .5rem .5rem;
  }
  
  #introduction figcaption {
    text-align: left;
    font-size: 1rem;
  }
  
  #introduction figcaption span {
    margin-left: 1rem;
  }
  
  #introduction div dl {
    width: 100%;
    padding-top: .5rem;
  }
  
  #introduction div dl dt {
    font-size: 1.1rem;
  }
  
  #introduction div dl dd {
    padding: .5em;
    font-size: 1rem;
  }
  
  #introduction section dl {
    display: block;
      width: 95%;
      margin: 1rem;
  }
  
  #introduction section dl dt {
    padding-top: .5rem;
  }
  
  #introduction section dl dd {
    font-size: 1.1rem;
  }

}


/* books
-------------------------*/
#books p {
    text-align: justify;
    font-size: 1.1rem;
    margin: .6rem 0;
}
#books div {
    display: flex;
  width: 850px;
  margin: 1rem auto;
  padding: 1rem 1.5rem;
  border: 1px solid #ccc;
}

#books span.pc {
  display: inline;
}

#books span.sp {
  display: none;
}

#books figure, #books dl {
  display: inline-block;
  vertical-align: top;
}

#books figure {
  width: 220px;
}

#books img {
  display: block;
  width: 200px;
  height: 300px;

  object-fit: scale-down;
}

#books dl {
    margin: 0 1.5rem 0 3rem;
}

#books dl dt {
  font-size: 1.2rem;
  margin: 0 auto 1rem;
    color: #00578a;
}

#books dl dd {
  padding: .2rem 0 0;
  font-size: 1.1rem;
    line-height: 1.8rem;
}

#books dl dd li::before {
  content: "●";
}


@media screen and (orientation: portrait) and (max-width: 767px){
    
    #books p {
    font-size: .9rem;
    margin: .5rem 0;
        line-height: 1.3rem;
}

  #books div {
    width: 100%;
  margin: .5rem auto;
  padding: .5rem 0rem;
  }
  
  #books span.pc {
    display: none;
  }
  
  #books span.sp {
    display: inline;
  }
  
  #books figure {
    width: 40%;
  }
  
  #books figure a {
    display: inline-block;
    vertical-align: middle;
  }
  
  #books img {
    display: inline-block;
    width: auto;
    height: 8rem;
    margin: .5rem 1.5rem .5rem 1rem;
    object-fit: scale-down;
  }
  
  #books dl {
    width: 100%;
    padding: 0rem ;
      margin: 0 1rem 0 0rem;
  }
  
  #books dl dt {
    font-size: 1rem;
      margin: 0 auto .5rem;
  }
  
  #books dl dd {
    font-size: 1rem;
  }

}


/* detail
-------------------------*/
#detail div.lecturer {
  width: 800px;
  margin: 1em auto;
  padding: .5em;
  background-color: #254061;
  color: #fff;
}

#detail div:not(.lecturer) {
  display: flex;
}

#detail div:not(.lecturer) > dl {
  width: 46%;
  margin: 1rem 1%;
}

#detail div:not(.lecturer) > dl > dt {
  font-size: 1.1rem;
}

#detail div:not(.lecturer) > dl > dt::before {
  content: "【";
}

#detail div:not(.lecturer) > dl > dt::after {
  content: "】";
}

#detail section + section {
  margin-top: 3rem;
}

#detail section ol {
  margin-left: 2rem;
  font-size: 1.1rem;
  list-style-type: decimal;
}

#detail section ol li {
  padding: .5rem 0 0 1rem;
}

#detail section ul {
  font-size: 1.1rem;
}

#detail section ul li {
  padding: .5rem 0 0 1rem;
}


#detail ol dl {
  display: flex;
  flex-wrap: wrap;
}

#detail ol dl dt {
  display: table;
  width: 9rem;
}

#detail ol dl dd.end {
  color: #999;
}


#detail ul dl {
  display: flex;
  flex-wrap: wrap;
}

#detail ul dl dt {
  display: table;
  width: 13rem;
}

#detail ul dl dd span {
  display: inline-block;
  margin-left: 2rem;
  color: #f00;
}

#detail ul dl dd.end {
  color: #999;
}



@media screen and (orientation: portrait) and (max-width: 767px){

  #detail div:not(.lecturer) {
    display: block;
  }

  #detail div:not(.lecturer) > dl {
    width: 100%;
    margin: 1rem 1%;
  }

  #detail div:not(.lecturer) > dl dt {
    font-size: 1.1rem;
  }

}