@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Playfair+Display:ital,wght@1,500&display=swap');

/* reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
	font-style: normal;
}

ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th {
	text-align: left;
}

q:before, q:after {
	content: '';
}

object, embed {
	vertical-align: top;
}

legend {
	display: none;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
}

img, abbr, acronym, fieldset {
	border: 0;
}

body {
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
	color: #000;
	background: #F9F8F4;
}

a {
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active {
	text-decoration: underline;
}

a:active, a:focus, input:active, input:focus {
	outline: 0;
}


/* 共通
------------------------------------------------------------*/

img{
	width: 100%;
	height: auto;
}

section{clear:both;}


h2.About_h2,h2.Service_h2,h2.Company_h2,h2.contact_h2  {
	text-align: center;
    font-size: 96px;
	color: #717171;
    letter-spacing: .25em;
    line-height: 1;
	font-weight: inherit;
	font-family: 'Dancing Script';
}


.Company_headline,.contact_headline {
    display: block;
    text-align: center;
    padding: 0 0 2.5rem;
}

h3.Company_h3,h3.contact_h3 {
	font-size: 24px;
    line-height: 0.8;
    white-space: pre;
    font-family: 'Noto Selif JP',serif;
    position: relative;
    display: inline-block;
    padding: 2.5rem 55px;
	color: #717171;	
}

h3.Company_h3:before,h3.Company_h3:after,h3.contact_h3:before,h3.contact_h3:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}

h3.Company_h3:before,h3.contact_h3:before {
  left:0;
}

h3.Company_h3:after,h3.contact_h3:after {
  right: 0;
}

/* ▼▼▼メインコンテンツ
------------------------------------------------------------*/
main.contents {
	padding: 5rem 3.5rem 6rem;
    max-width: 1024px;
    margin: 0 auto;
}
/* ヘッダー
------------------------------------------------------------*/
.topbox {
    display: flex;
}

/*ロゴ*/	
	a#logo {
    display: inline-block;
	font-size: 32px;
    letter-spacing: 5px;
    color: #717171;
    line-height: 1.25;
    font-weight: 500;
	float: left;
    font-family: 'Dancing Script' !important;
    padding: 10px 2.5rem 0;
	text-decoration: none;
}

h1.company_neme {
    font-size: 96px;
    letter-spacing: 9.6px;
    color: #717171;
	line-height: 1.25;
    font-weight: 500;
font-family: 'Playfair Display';
}

p.slogan {
    font-size: 24px;
    line-height: 0.8;
    white-space: pre;
	font-family: 'Noto Selif JP',serif;
	color: #717171;
}


/* About
------------------------------------------------------------*/
section#About {
    padding-top: 4rem;
    padding-bottom: 5rem;
    position: relative;
}

.inner1 {
    display: flex;
}

p.About_text {
    padding: 0 2rem 0.5rem;
}

.About_main {
    width: 98%;
    background: #ffffff;
    padding: 2rem 0;
    font-family: 'Noto Sans JP',sans-serif;
    color: #202124;
    border-radius: 0.5rem;
    margin: 1.5rem auto;
    text-align: center;
    font-size: 20px;
    font-weight: inherit;
    line-height: 1.5;
}

.About_contents {
	width: 100%;
    z-index: 10;
    margin: 0;
    padding: 4rem 0 5rem;
    position: relative;
}

.About_contents::before {
    content: '';
    position: absolute;
    top: 0;
	height: 120%;
	width: 135%;
    bottom: 0;
    left: -11rem;
    right: 0;
    background-color: #e0edff;
    transform: skewY(357deg);
	rotate: 354deg;
    z-index: -1;
}


/* Service
------------------------------------------------------------*/

.Service_contents {
	width: 108%;
    z-index: 10;
    margin: 0;
    padding: 4rem 0 5rem;
    position: relative;
}

h2.Service_h2_main {
    text-align: center;
    font-size: 20px;
    font-weight: inherit;
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans JP',sans-serif;
    line-height: 1.5;
}

.upperrow {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

p.Service_text {
    font-family: 'Noto Sans JP',sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #717171;
	padding: 1% 3% 5%;
	text-align: center;
	flex-grow: 1;
}

ul.col5 {
	padding: 1.5rem 0 1.5rem;
    display: flex;
}

.col5 li {
   width: 30%;
	display: flex;
    margin: 0px 1% 0px 0px;
    vertical-align: top;
    text-align: left;
    flex-direction: column;
    background: white;
    border-radius: 0.5rem;
}

.lowerrow {
    display: block;
    margin: 0 auto;
    text-align: center;
}

ul.col2 {
	display: flex;
}

.col2 li {
   display: flex;
    width: 30%;
    padding: 1% 1.5% 1%;
    margin: 0px 1% 0px 0px;
    vertical-align: top;
    text-align: left;
	flex-direction: column;
    background: white;
    border-radius: 0.5rem;
}

/* -リンクボタン-*/

.btn a {
	display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 180px;
    height: 28px;
    color: #fff;
    font-size: 0.9em;
    margin: 0 auto;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn.btn02 {
    margin: auto auto 30px;
    text-align: center;
	display: block;
}

.btn a:hover {
	color: #f2f2f2;
}

.btn02 a {
	background-color: #ff8b8f;
    border: 1px solid #ff8b8f;
    border-radius: 35px;
}

.btn02 a:hover {
	background-color: #ffbabd;
	border: 1px solid #ffbabd;
}

.btn02 a:after  {
	content: '';
    width: 8px;
    height: 8px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 42%;
    right: 15px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.btn02 a:hover:after {
	border-color: #FFF;
}




/* Company -会社概要
------------------------------------------------------------*/
.Company_contents {
width: 100%;
    z-index: 10;
    margin: 0 auto;
    padding: 4rem 0 5rem;
    position: relative;
}


/* 地図*/
.map {
   width: 40%;
    margin: 5% 0 0 5%;
}

/* table*/
table#table_Company {
    width: 50%;
    padding: 2rem;
    font-size: 16px;
    font-family: 'Noto Sans JP',sans-serif;
    color: #717171;
    border-radius: 0.5rem;
    margin: 0 auto;
}


#table_Company tr {
  border-bottom: 1px solid #b5b1b1;
}

#table_Company th,
#table_Company td {
  padding: 24px 0;
  border: none;
}

#table_Company th {
  width: 30%;
}

 
 

/* sp */
@media only screen and (max-width: 480px) {
  #table_Company th,
  #table_Company td {
    width: 100%;
    display: block;
  }

  #table_Company th {
    width: 100%;
  }

  #table_Company td {
    padding-top: 0;
  }
}

/* Contact-お問合せ
------------------------------------------------------------*/
.contact_inner {
    padding: 6rem 0;
}


/* お問合せフォーム
------------------------------------------------------------*/

.custom-control {
    width: 100%;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    color: #727272;
}

label.midasi_information {
    width: 100%;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    color: #727272;
}

.mb-3 {
    width: 100%;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    color: #727272;
}

button.btn.btn-primary.mb-3 {
    border-radius: 6px;
    margin-top: 32px;
    margin: 32px auto 0;
    padding: 20px 0;
    text-align: center;
    width: 10rem;
    display: block;
    letter-spacing: 0.05em;
    background: #8586d0;
    color: #fff;
    border: none;
    font-weight: 500;
    font-size: 20px;
}

.p-4.mt-2.border.border-gray {
    font-size: 12px;
    line-height: 2;
    color: #727272;
}


.Form {
 margin: 0 auto;
    display: block;
    width: 68%;
    padding: 0 0 2.5rem;
    text-align: center;
}



/* ページTOPへ戻る
------------------------------------------------------------*/
#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

#pageTop i {
  padding-top: 9px;
}

#pageTop a {
  display: block;
  z-index: 999;
  border-radius: 30px;
  width: 35px;
  height: 35px;
  background-color: #bcbcbc;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	text-align: center;
	font-size: 12px;
	background-color: #2d2d2d;
	color: #ffffff;
}


/* RESPONSIVE 設定
------------------------------------------------------------*/
/* ###################### 320px以下 ###################### */
@media (max-width: 320px) {


	.col5 li {
    margin: 0 auto 0px !important;
}

}

/* ###################### 480px以上 ###################### */
@media only screen and (min-width: 480px){
}
	
/* ###################### 599px以下 ###################### */
	@media (max-width: 599px) {
		
/* 共通
------------------------------------------------------------*/			
	span.newline_sh {/*改行指定*/	
    display: inline-block !important;
}	
		
/* メニュー
------------------------------------------------------------*/			
a#logo {
    padding: 10px 1rem 0 !important;
}		
p.slogan {
    font-size: 18px !important;
}
		
/* ▼▼▼メインコンテンツ
------------------------------------------------------------*/		
main.contents {
    padding: 104px 1rem 5rem !important;
}	
		
/* About
------------------------------------------------------------*/		

	.About_contents::before {
    height: 100%;
	width: auto;
    left: -13rem;
    background-color: #e0edff;
    transform: skewY(354deg);
    rotate: 0deg;
}	
	.About_main {
    width: 100%;
	margin: 3rem auto 1.5rem;
}	
	
	p.About_text {
    padding: 0 2rem 0.5rem;
    font-size: 0.98em !important;
}	
		
/* Service
------------------------------------------------------------*/		
	.Service_contents {
    width: 100% !important;
}	
	.inner2 {
    padding: 0 !important;
}
	.Service_contents::before {
    content: '';
    width: 100% !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -7rem;
    right: 0;
    background-color: #F2EEEE;
    transform: skewY(18deg);
    rotate: 1deg;
    z-index: -2;
}		
		
	.col5 li, .col2 li {
    margin: 0 auto 0px;
    width: 100% !important;	
	}		
	
/* Company-会社概要 
------------------------------------------------------------*/		
	table#table_Company {
    width: 100% !important;
	float: none !important;
}	
		
	.map {
  padding: 1.5rem 0 !important;
    width: 288px !important;
    margin: 0 auto !important;
	float: none !important;
}	
		
		
/* Contact-お問合せ先 
------------------------------------------------------------*/			
	.Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    height: 48px !important;
    flex: 1;
    width: 94% !important;
    background: #ffffff;
    font-size: 18px;
}	
	.Form-Item-Textarea {
  padding-left: 0 !important;
  width: 99% !important;
}
		
	.Form {
    width: 100% !important;
}
}	

/* ###################### 640px以下 ###################### */
@media only screen and (max-width: 640px){	

	.inner2 {
    margin: 0 auto;
    padding: 0px 5px 10px;
}
}

/* ###################### 641px以上 ###################### */
@media only screen and (min-width: 641px){

/* Service
------------------------------------------------------------*/
	ul.col5 img {
    margin: 13px 0;	
}
	p.sh_imgmenu {
    display: none;
}	
}

/* ###################### 799px以下 ###################### */
@media only screen and (max-width: 799px){
/* 共通
------------------------------------------------------------*/
h2.About_h2,h2.Service_h2,h2.Company_h2,h2.contact_h2  {
    font-size: 56px;
}
	
/* メニュー部分
------------------------------------------------------------*/	
	#mainnav .logo {
		margin: 3px 0px 0px 3px
}

	#slogan h1{
		font-size: 31px;
	}

	#slogan h2{
		font-size: 16px;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
    border-radius: 50%;
    background: #717171;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
margin: -1px 0 0 -9px;
    background: #ffffff;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #ffffff;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
		text-decoration: none;
		font-family: 'Noto Sans JP',sans-serif;
	}

	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	
	.col3 li{
	margin: 0 auto;
	display: block;
	max-width: 288px;
	}
	
	
	
/* header
------------------------------------------------------------*/	
.topbox {
    display: block;
}	

h1.company_neme {
    font-size: 64px;
    letter-spacing: 5px;
    color: #717171;
    line-height: 1.25;
}	
	
.slogan {
    line-height: 0.8;
}
	
/* Service
------------------------------------------------------------*/	
	.col5 li,.col2 li {
    display: block;
    vertical-align: top;
    padding: 1.5rem 0;
    margin: 0 auto 0px;
    margin-top: 2rem;
    width: 343px;
}
	ul.col5,ul.col2 {
    display: block;
}
	
	ul.col2 {
    padding: 0;
    margin: 0;
    width: 100%;
}
	
	p.Service_text {
    text-align: center;
}
	
	.Service_contents {
    width: 100%;
    z-index: 10;
    margin: 0;
    position: relative;
}
	
	.Service_contents::before {
    content: '';
    width: 100% !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -7rem !important;
    right: 0;
    background-color: #F2EEEE;
    transform: skewY(18deg) !important;
    rotate: 1deg !important;
    z-index: -2;
}	
	
/* Company-会社概要
------------------------------------------------------------*/	
	.Company_contents {
    width: 100%;
} 
	table#table_Company {
    width: 100%;
}

 /* 地図 */	
	
	iframe {
    display: block;
    margin: 0 auto;
	width: 100%;
    padding: 0;
}
	
	.map {
    width: 100% !important;
    display: flex;
    padding: 5rem 0 0;
	margin: 0;
}
	
	.Form {
    margin-top: 40px;
	  width: 100%;
  }
	
	  .Form-Item {
    padding: 16px 0;
  }
	
	.Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
	
	.Form-Item-Label.isMsg {
    margin-top: 0;
  }
	
	.Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
	
	.Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
	
	.Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
	
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }

	
/* Contact-お問合せ先 
------------------------------------------------------------*/
input.Form-Item-Input {
    height: 48px !important;
    flex: 1;
    width: 94% !important;
    font-size: 18px;
}	
	.Form-Item-Textarea {
    padding-left: 0;
    width: 99%;
}
	
/* フッター
------------------------------------------------------------*/
  #footer{
		padding: 10px;
}	
}


/* ###################### 800px以上 ###################### */
@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	.panel {
    display: block !important;
}
	.inner2 {
    margin: 0 auto;
}	
	
	
  a#menu{
		display:none;
	}	

	#mainnav{	
/* 	position:fixedにするとメニュー追従*/;
		top: 0;
		width:100%;
		z-index:500;
	}

	nav#mainnav {
    padding: 2rem 0 0;
}
	#mainnav ul{
		text-align: right;
		padding-left: 2.5rem;
    padding-right: 2.5rem;
	}

	#mainnav li{
		display: inline-block;
		padding: 20px 1rem 20px;
		font-size: 16px;
		font-weight: 700;
	}
	
  #mainnav a{
	color: #717171;
	  text-decoration: none;
	  font-family: 'Noto Sans JP',sans-serif;
}
	}
	
	#mainnav.changeNav{
		background: rgba(255,255,255,.9);
		border-bottom: 1px solid #d1d1d1;
	}
	
	#mainnav.changeNav li{
		padding: 20px 10px;
	}
	
	#mainnav ul {
    padding-right: 30px;
    background-color: #f9f8f4;
}
	#mainnav .logo {
	padding: 3px 0px 0px 10px;
		float: left;
}
	
/* 共通
------------------------------------------------------------*/
span.newline800 {/*改行指定*/
    display: inline-block;
}
	
	
/* Service
------------------------------------------------------------*/		
	.Service_contents::before {
    content: '';
    width: 100% !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -7rem;
    right: 0;
    background-color: #F2EEEE;
    transform: skewY(18deg);
    rotate: 1deg;
    z-index: -2;
}		
	
/* Company-会社概要
------------------------------------------------------------*/		
/* 地図*/
.map {
   width: 40%;
    float: left;
    margin: 5% 0 0 5%;
}

/* table*/
table#table_Company {
	float: left;
}
		
/* フッター
------------------------------------------------------------*/
  #footer{
		padding: 30px 10px 20px 0;
	}
}

/* ###################### 979px以下 ###################### */
@media only screen and (max-width: 979px){
	
/* 共通
------------------------------------------------------------*/
h2.About_h2,h2.Service_h2,h2.Company_h2,h2.contact_h2  {
    font-size: 56px;
}
	
/* Service
------------------------------------------------------------*/
.Service_contents::before {
    content: '';
    width: 118%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #F2EEEE;
   transform: skewY(6deg);
    rotate: 2deg;
    z-index: -2;
}		
}

/* ###################### 960px以上 ###################### */

@media only screen and (min-width: 960px){
/* 共通
------------------------------------------------------------*/
span.newline {/*改行指定*/
    display: inline-block;
}
	
/* Service
------------------------------------------------------------*/
.Service_contents {
	width: 108%;
    z-index: 10;
    margin: 0;
    padding: 4rem 0 5rem;
    position: relative;
}

.Service_contents::before {
   content: '';
	width: 118%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -4rem;
    right: 0;
    background-color: #F2EEEE;
    transform: skewY(356deg);
    rotate: 12deg;
    z-index: -2;
}
}

/* ###################### 1199px以下 ###################### */

@media only screen and (max-width: 1199px){

}

/* ###################### 1200px以上 ###################### */
@media only screen and (min-width: 1200px) {
.inner2 {
    margin: 0 auto;
    padding: 0px 0px 60px;
}

/* ヘッダー
------------------------------------------------------------*/
	h1.company_neme {
    font-size: 144px;
}
	
	img.lesson_img {
    width: 110%;
}
	
	.company {
    padding: 104px 0;
}

	}