@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);

/* 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{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

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

a:hover, .active{
  background: #f2faff;
}

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


/* ヘッダー
------------------------------------------------------------*/
#mainnav a{
	color: #000;
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2{
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
}

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

section{
  clear: both;
}

h2{
	width: 60%;
	margin: 70px auto;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 3px solid #000;
}

#back-to-top {
position: fixed;
right: 20px;
bottom: 20px;

display: none; 
padding: 8px 10px;
font-size: 14px;
text-decoration: none;
}

/*トップ
------------------------------------------------------------*/
.heroBtn {
text-decoration: none;
transition: 0.3s;
position: absolute;
left: 180px; 
bottom: 40px; 
transform: translate(-10%, -170%);
background: #659acd;
color: #fff;
padding: 12px 24px;
border-radius: 14px;
font-weight: bold;
font-size: 28px;
box-shadow: 0 4px 12px rgba(0,0,0,0.25);

}

.heroBtn:hover {
text-decoration: underline;
color: #659acd;
}


#mainImg {
position: relative; /* 画像の上に重ねるため */
display: inline-block; /*画像の大きさに合わせる */
}

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


/*マップ
------------------------------------------------------------*/
.place {
text-align: center; /* 中央寄せ */
}

.map {
width: 180px; /* 大きさ調整*/
display: block;
margin: 16px auto 15px; /* 下に余白つけて画像中央 */
border-radius: 6px; 
}


/* 体験レッスンフォーム全体のスタイル */
form {
    background-color: white;
    padding: 20px;
    width: 90%;
    max-width: 450px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
	
}

/* ラベルのスタイル */
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

/* 入力欄のスタイル */
input, textarea {
    width: 90%; /* box-sizingが適用されるので、paddingやborder込みで100%に収まる */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* テキストエリアの高さを調整 */
textarea {
    resize: vertical;
    height: 120px;
	width: 400px;
}

/* 送信ボタンのスタイル */
button {
    background-color: #6495ed;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* ホバー時のボタンスタイル */
button:hover {
    background-color: #6d94c5;
}



/* レッスン */
#lesson {
max-width: 780px;
margin: 0 auto;
background: #fff;
padding: 32px 28px;
border-radius: 14px;
}

/* 見出し */
#lesson h2 {
font-size: 23px;
margin-top: 0;
margin-bottom: 18px;
color: #2f3a3b;
font-weight: 700;
}

#lesson h3 {
font-size: 20px;
margin-bottom: 12px;
color: #6495ed; /* くすみブルー */
font-weight: 700;
}

/* 本文 */
#lesson p {
margin-bottom: 2px;
font-size: 17px;
color: #4f585a;
}

/* リスト */
#lesson ul {
margin: 0 0 18px 0;
padding-left: 5px;
}

#lesson ul li {
margin-bottom: 6px;
color: #555;
position: relative;
list-style: none;
}

#lesson ul li::before {
content: "";
width: 10px;
height: 10px;
background: #85b6c9; /* 柔らかいアクセント色 */
border-radius: 50%;
display: inline-block;
margin-right: 8px;
vertical-align: middle;
box-shadow: 0 2px 6px rgba(133,182,201,0.3);
}

/* ===== レッスン　共通 ===== */

section {
margin: 0 0 0 10px;
max-width: 900px;
text-align: center;
}

h2 {
font-size: 28px;
margin-bottom: 30px;
padding-top: 30px;
}

/* ===== レッスン内容 ===== */
.iconWrap {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2列 */
gap: 20px; /* アイテム同士の間隔 */
max-width: 900px;
margin: 20px 0 0 20px;
text-align: center;
gap: 20px;
}

.circle {
margin: 0 auto 15px;
}


/* ===== レッスンの特徴 ===== */
.feature-list {
font-size:17px;
text-align: left;
min-width: 250px; /* ← 左余白 */
}

.feature-list li {
padding-left: 230px; /* ← 各行に左余白をつける */
}



/* レッスンの流れ */

.circle-flow {
width: 500px;
margin: 40px auto;
display: grid;
grid-template-columns: repeat(3, 140px);
grid-template-rows: repeat(3, auto);
align-items: center;
justify-items: center;
gap: 20px; /* ←矢印とボックスの空白 */
}

/* BOX */
.circle-flow .flow-item {
border-radius: 16px;
padding: 18px;
text-align: center;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
width: 210px;
}

/* 説明文 */
.circle-flow p {
font-size:17px;
line-height: 1.4;
}

/* ▼逆時計回り配置▼ */
.item1 { grid-column: 1; grid-row: 1; }
.item2 { grid-column: 3; grid-row: 1; }
.item3 { grid-column: 3; grid-row: 3; }
.item4 { grid-column: 1; grid-row: 3; }

/* 矢印デザイン（空白つき） */
.arrow {
width: 34px;
height: 34px;
background: #8abfff;
clip-path: polygon(0 50%, 100% 0, 100% 100%);
margin: 10px; /* ←矢印の周りの余白 */
}

/* 方向（逆回り用） */
.arrow.right { grid-column: 2; grid-row: 3; transform: rotate(0deg); }
.arrow.up { grid-column: 3; grid-row: 2; transform: rotate(-90deg); }
.arrow.left { grid-column: 2; grid-row: 1; transform: rotate(180deg); }
.arrow.down { grid-column: 1; grid-row: 2; transform: rotate(90deg); }



/* ===== 料金 ===== */

/* 料金セクション */
.price-section {
text-align: center;
}

.price-box,
.info-box {
background: var(--soft-blue);
padding: 22px;
border-radius: 16px;
box-shadow: none;
border: 1px solid #000000;
max-width: 500px;
margin: 0 auto 25px;
text-align: left;
border-left: 8px solid #659ACD;
}

.price-box h3,
.info-box h3 {
color: var(--dark-text);
font-weight: bold;
}

.price {
font-size: 17px;
font-weight: 700;
color: var(--main-blue);
margin-bottom: 8px;
}

/* ===== 月2回＋キャンペーン横並び ===== */
.price-row {
display: flex;
gap: 20px;
align-items: stretch;
}

/* キャンペーン専用 */
.campaign-box {
flex: 1;
background: #f5f5f5;
border: 2px solid #dcdcdc;
border-radius: 16px;
padding: 22px;
text-align: center;
width: 200px;
}

.campaign-box h3 {
color: #fffacd;
font-weight: bold;
margin-bottom: 10px;
}

.campaign-main {
font-size: 22px;
font-weight: bold;
margin-bottom: 8px;
}

.campaign-note {
font-size: 14px;
color: #555;
}

.price-row .price-box{
max-width: none;
margin: 0;
flex: 1;
} 

.course{
	float: left;
}


/* ===== 無料体験 ===== */
#trial p {
text-align: center;
line-height: 1.8;
font-size: 17px;
}



/* FAQ */

.faq-section {
text-align: center;
padding: 0px 130px;
}

.faq-item {
max-width: 500px;
margin: 10px 0 0 0;
text-align: center;
}

.faq-question {
width: 100%;
padding: 18px 20px;
border: none;
border-radius: 12px;
color: #000;
background: #fff;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
cursor: pointer;
font-size: 17px;
display: flex;
align-items: center;
gap: 12px;
transition: 0.2s;
}

.faq-question:hover {
background: #f2faff;
}

.faq-icon {
width: 32px;
height: 32px;
background: #6495ed;
color: #fff;
border-radius: 50%;
display: inline-flex;
justify-content: center;
align-items: center;
font-weight: bold;
}

.faq-answer {
max-height: 0;
overflow: hidden;
background: #fafafa;
border-radius: 0 0 12px 12px;
padding: 0 20px;
line-height: 1.8;
transition: max-height .35s ease;
}

.faq-item.open .faq-answer {
max-height: 200px;
padding: 18px 20px;
}

/* 生徒さんの声*/

.voice-section {
text-align: center;
padding: 0px 20px 0 130px;
text-align: center;
max-width: 500px;
width: 100%;
}

/* ▼縦に3つ並ぶ */
.voice-list {
display: flex;
flex-direction: column; /* ←縦並び */
gap: 25px; /* カード同士の間隔 */
max-width: 500px;
margin: 0 auto;
}

/* ▼カードのスタイル（水色） */
.voice-item {
background: #ffffff; 
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
text-align: left;
}

.voice-item .name {
font-size: 17px;
margin-bottom: 8px;
color: #000000;
}

.voice-item p {
font-size: 15px;
line-height: 1.6;
}

/* ===== コース詳細ページ ===== */

.course-detail-section {
	margin: 0 auto;
	max-width: none;
padding: 40px 20px;
font-size: 17px;
}

.course-detail-box h1 {
color: #659ACD;
font-size: 26px;
margin-bottom: 10px;
}

.course-detail-box h2 {
font-size: 20px;
margin-top: 28px;
margin-bottom: 10px;
color: var(--dark-text);
}

.course-detail-box ul {
line-height: 1.8;
}

.course-detail-box p {
line-height: 1.8;
}

.back-btn {
margin-top: 30px;
background: #777;
}


.course-detail-box {
max-width: 800px;
margin: 0 auto; /* ←これ！！ */
background: #fff;
padding: 30px;
border-radius: 16px;
}


.iconBox {
width: 90%;
}
.circle {
width: 90px;
height: 90px;
}

#mainnav li a {
font-family: 'M PLUS Rounded 1c', sans-serif !important;
font-weight: 500 !important; 
font-size: 18px !important; 
position: relative;
display: block;
padding: 10px 20px;
border-bottom: 1px solid #ccc;
color: #2f3a3b

}
.course{
	float: left;
	margin-left: 10px;
}
.campaign{
	float:right;
	margin-right: 10px;

}
/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
	#wrapper{
		width: 100%;
	}
	
	#content{
		width: 80%;
	}
	
	#sidebar{
		width: 12%;
		position: fixed;
		top: 0;
		right: 4%;
		background: #fff;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}
	
	#sidebar h1{
		padding: 30px 0;
	}

	#mainnav li{
		padding: 10px 0;
	}
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
		text-align: center;
	}
	.col2 li:first-child{
		width: 35%;
		text-align: right;
	}
}

@media only screen and (max-width: 640px){
	
	.article img{
		float: none;
		display: block;
		margin: 0 auto 20px;
	}
	
}

@media only screen and (max-width: 799px){
	#sidebar{
		position: fixed;
		width: 100%;
		z-index:500;
	}
	
	#sidebarWrap{
		position: relative;
		width: 100%;
		height: 70px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#sidebar h1{
		text-align: center;
	}
	
	#sidebar h1 img{
		width: auto;
		padding-top: 10px;
		height: 50px;
	}
	
  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

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

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	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: -10px;
		z-index: 100;
	}


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

	
	#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);
	}

	
	
	.col4 li{
		margin: 0 auto 50px;
		display: block;
		text-align: center;
	}
	
	#lesson {
padding: 24px 20px;
}
#lesson h2 {
font-size: 22px;
}
#lesson h3 {
font-size: 18px;
}


.iconBox {
width: 48%;
}
}
