﻿/* CSS Document */

@charset "UTF-8";

*{
		padding:0;
		margin:0;
}

img {
	border: 0 none;
	vertical-align: top;
}

body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #666;
	text-align: center;
	background-color:#F3F3F3;
/*	background-image:url(../img/common/background.jpg);	*/
}


a {
	color: #009;
}

a:hover {
	color: #906;
}



#container {
	/*background: url(../img/common/shadow_bg.jpg) repeat-y;*/
	width: 900px;
	margin: 0 auto;  
  text-align: left;
	background-color:#FFF;
}


/* --- ▼▼▼ モダンでシンプルな新メニュー（ここから書き換え） ▼▼▼ --- */

/* ナビゲーションの土台（背景画像をやめてシンプルに） */
#navibase {
	width: 100%;
	max-width: 900px; /* 幅を制限 */
	margin: 0 auto 30px; /* 中央寄せ */
	background: transparent; /* 画像削除 */
	border-bottom: 1px solid #EEE; /* 下にうっすら線を入れる */
}

/* メニューリスト */
#main_nav {
	width: 100%;
	display: flex; /* 横並び（均等配置） */
	justify-content: space-between;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* 各メニュー項目 */
#main_nav li {
	width: 12.5%; /* 8個あるので均等割り */
	margin: 0;
	padding: 0;
	float: none; /* float解除 */
}

/* リンクのデザイン */
#main_nav li a {
	display: block;
	padding: 18px 0; /* 上下の余白を広げて押しやすく */
	color: #888; /* 文字色は上品なグレー */
	text-decoration: none;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0; /* 文字間隔を少し広げる */
	background: transparent; /* 画像削除 */
	border-bottom: 2px solid transparent; /* ホバー時のための透明な線 */
	transition: all 0.3s; /* ふわっと動く */
	white-space: nowrap;   /* 強制的に改行させない設定を追加 */
}

/* マウスを乗せたとき */
#main_nav li a:hover {
	color: #FF9900; /* 文字をオレンジに */
	border-bottom: 2px solid #FF9900; /* 下にオレンジの線が出る */
	background: transparent;
}

/* 現在いるページ（current）のデザイン */
#nav_home.current a,
#nav_profile.current a,
#nav_menu.current a,
#nav_lesson.current a,
#nav_voice.current a,
#nav_faq.current a,
#nav_media.current a,
#nav_license.current a {
	color: #FF9900;
	border-bottom: 2px solid #FF9900;
	background: transparent;
}
/* --- ▲▲▲ モダンでシンプルな新メニュー（ここまで） ▲▲▲ --- */

/* --- clearfix --- */
.clearFix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearFix {
min-height: 1px;
}


#sidebar {
	width:210px;
/* height:800px;  ←削除しました */
	float:left;
	margin-top:20px;
	margin-bottom:10px;
	padding-right:25px;
	}
#newsbanner{
	height: 100px;
	width: 210px;
	margin-bottom:20px;
	     -webkit-transition: 0.5s ease-in-out;
     -moz-transition: 0.5s ease-in-out;
     -o-transition: 0.5s ease-in-out;
     transition: 0.5s ease-in-out;
}

#inquirybanner{
		margin-bottom:20px;
		     -webkit-transition: 0.5s ease-in-out;
     -moz-transition: 0.5s ease-in-out;
     -o-transition: 0.5s ease-in-out;
     transition: 0.5s ease-in-out;
	}

#inquirybanner a:hover img{
	opacity:0.6;
filter:alpha(opacity=60);
-ms-filter: "alpha( opacity=60 )";
}


#newsbanner a:hover img{
	opacity:0.6;
filter:alpha(opacity=60);
-ms-filter: "alpha( opacity=60 )";
}

h3{
	width:210px;
	height:50px;
	margin-top:0;
     -webkit-transition: 0.5s ease-in-out;
     -moz-transition: 0.5s ease-in-out;
     -o-transition: 0.5s ease-in-out;
     transition: 0.5s ease-in-out;
	}

h3 a:hover img{
	opacity:0.6;
filter:alpha(opacity=60);
-ms-filter: "alpha( opacity=60 )";
}
	
#blog{
		margin-top:0;
		margin-bottom:10px;
}


#sub-navi {
	list-style: none;
	margin-bottom:20px;
}
#sub-navi li {
	height: 100px;
	width: 210px;
	margin-top: 20px;
	margin-bottom: 0;
     -webkit-transition: 0.5s ease-in-out;
     -moz-transition: 0.5s ease-in-out;
     -o-transition: 0.5s ease-in-out;
     transition: 0.5s ease-in-out;
}

#sub-navi li a:hover img{
	opacity:0.6;
filter:alpha(opacity=60);
-ms-filter: "alpha( opacity=60 )";
}

#salonese {
	list-style: none;
	}
#salonese li {
	height: 70px;
	width: 210px;
	margin-top: 10px;
	margin-bottom: 0;
}


#pagetop {
	clear: both;
	font-size: 12px;
  padding-top: 20px;
}

#pagetop a {
	color: #713213;
	text-decoration: none;
}

/* --- ▼▼▼ 新しいフッターのデザイン ▼▼▼ --- */

#footer {
  clear: both;
  background-color: #A9A9A9; /* 背景色（グレー） */
  width: 900px; /* サイト幅に合わせる */
  height: auto; /* 高さは内容に合わせて自動調整 */
  padding: 40px 0 20px; /* 上下の余白 */
  color: #FFF;
  text-align: center; /* 全部中央寄せ */
/* 上に60pxの隙間を空けて、左右は中央寄せにする設定です */
  margin: 60px auto 0;
}

/* SNSボタンエリア */
.footer-sns-area {
  display: flex; /* 横並びにする */
  justify-content: center; /* 中央寄せ */
  gap: 20px; /* ボタン同士の間隔 */
  margin-bottom: 30px;
}

/* SNSボタンのデザイン */
.sns-btn {
  display: inline-block;
  color: #FFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #FFF; /* 白い枠線 */
  padding: 10px 25px; /* ボタンの大きさ */
  border-radius: 50px; /* 丸角にする */
  transition: all 0.3s; /* ふわっと変化させる */
  background-color: transparent;
}

/* ボタンにマウスを乗せたとき */
.sns-btn:hover {
  background-color: #FFF; /* 背景を白く */
  color: #A9A9A9; /* 文字をグレーに */
  text-decoration: none;
}

/* サイト内リンク（メニュー） */
.footer-site-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  display: flex; /* 横並び */
  justify-content: center; /* 中央寄せ */
  flex-wrap: wrap; /* 画面が狭いときは折り返す */
  gap: 15px 20px; /* 縦横の間隔 */
}

.footer-site-nav li {
  margin: 0;
  padding: 0;
}

.footer-site-nav li a {
  color: #FFF;
  text-decoration: none;
  font-size: 12px;
  opacity: 0.9;
}

.footer-site-nav li a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* コピーライト */
#copyright {
  font-size: 10px;
  color: #EEE;
  margin: 0;
}

/* --- ▼▼▼ お問い合わせフォームの装飾（ここから） ▼▼▼ --- */

/* フォーム全体の枠 */
.contact-form {
  width: 100%;
  max-width: 640px; /* 幅が広がりすぎないように制限 */
  margin: 30px auto; /* 中央に配置 */
  padding: 0 10px;
  box-sizing: border-box;
}

/* 入力項目ごとのグループ */
.form-group {
  margin-bottom: 25px; /* 下に余白を空ける */
  text-align: left; /* 左寄せにする */
}

/* 項目名（ラベル） */
.form-group label {
  display: block; /* 1行を使う */
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 15px;
  color: #5f4b38; /* サイトに合う茶色 */
}

/* 「※必須」マークのデザイン */
.form-group span.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  background-color: #FFF0F0; /* 薄い赤の背景 */
  color: #E60012; /* 赤文字 */
  font-size: 11px;
  border: 1px solid #E60012;
  border-radius: 3px;
  vertical-align: middle;
}
/* 擬似要素で文字を入れる（HTMLに文字がなくても表示されるように念のため） */
.form-group span.required::before {
  content: "※必須";
}

/* 入力エリア（テキストボックス） */
.form-control {
  width: 100%; /* 親枠いっぱいまで広げる */
  padding: 12px; /* 内側の余白 */
  font-size: 16px;
  border: 1px solid #CCC;
  border-radius: 4px;
  background: #FAFAFA;
  box-sizing: border-box; /* 枠線を含めた幅計算にする */
  transition: border-color 0.3s;
}

/* 入力エリアをクリックしたとき */
.form-control:focus {
  background: #FFF;
  border-color: #FF9900; /* オレンジ色の枠線 */
  outline: none;
  box-shadow: 0 0 5px rgba(255, 153, 0, 0.3);
}

/* メッセージ入力欄（テキストエリア） */
textarea.form-control {
  height: 180px; /* 高さを確保 */
  resize: vertical; /* 縦方向だけリサイズ可能に */
  line-height: 1.6;
}

/* 送信ボタンのエリア */
.submit-area {
  text-align: center;
  margin-top: 40px;
}

/* 送信ボタン */
.submit-btn {
  background-color: #FF9900; /* オレンジ */
  color: #FFF;
  border: none;
  padding: 15px 60px; /* ボタンを大きく */
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px; /* 角丸 */
  cursor: pointer;
  box-shadow: 0 3px 0 #cc7a00; /* 立体感のある影 */
  transition: all 0.2s;
}

/* 送信ボタンのマウスオーバー時 */
.submit-btn:hover {
  background-color: #ffad33;
  transform: translateY(2px); /* 少し沈む動き */
  box-shadow: 0 1px 0 #cc7a00;
}

/* --- ▲▲▲ お問い合わせフォームの装飾（ここまで） ▲▲▲ --- */

/* --- ▼▼▼ サイドバー用インスタカードのデザイン ▼▼▼ --- */

.insta-card {
  width: 210px; /* サイドバーの幅に合わせる */
  background: #FFF;
  border: 1px solid #E1E1E1;
  border-radius: 8px; /* 角丸 */
  margin-bottom: 20px; /* 下の余白 */
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

/* ホバー時に少し浮き上がる */
.insta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.insta-link {
  display: block;
  text-decoration: none !important; /* 下線を消す */
  color: #333;
}

/* ヘッダー（インスタ風グラデーション） */
.insta-header {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 12px 10px;
  text-align: center;
}

.insta-text {
  color: #FFF;
}

.insta-title {
  display: block;
  font-size: 10px;
  opacity: 0.9;
  margin-bottom: 2px;
}

.insta-id {
  display: block;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-family: sans-serif; /* 英語フォントを見やすく */
}

/* 本文エリア */
.insta-body {
  padding: 15px 10px;
  text-align: center;
}

.insta-body p {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* フォローボタン */
.insta-btn {
  display: inline-block;
  background: #3897f0; /* インスタのブルー */
  color: #FFF;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 25px;
  border-radius: 4px;
}

/* --- ▼▼▼ 全ページ共通：スマホ表示の修正（ここから下を追加） ▼▼▼ --- */

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

  /* 1. サイト全体の幅調整 */
  #container {
    width: 100% !important;
    overflow-x: hidden;
  }

/* 2. ヘッダー画像 */
#header, #header img {
  width: 100% !important;
  height: auto !important;
  /* aspect-ratio: 3 / 1; ←削除 */
  margin-bottom: 20px !important; /* ★ここに追加しました！ */
}

  /* 3. ナビゲーションメニュー（共通デザイン） */
  #navibase {
    width: 100% !important;
    height: auto !important;
    background: none !important;
    margin-bottom: 20px !important;
    border-bottom: none !important; /* スマホでは線なし */
  }

  #main_nav {
    width: 100% !important;
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 15px !important;
    box-sizing: border-box;
    gap: 8px;
    margin: 0 !important;
  }

  #main_nav li {
    float: none !important;
    width: 48% !important;
    height: 45px !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #FF9900;
    border-radius: 5px;
    box-sizing: border-box;
  }

  #main_nav li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    background: none !important;
    color: #FF9900 !important;
    font-weight: bold;
    font-size: 14px;
    padding: 0 !important;
    border-bottom: none !important; /* PC用の線を消す */
  }
  
  #main_nav li.current, #main_nav li.current a {
    background-color: #FF9900 !important;
    color: #FFF !important;
  }

  /* 4. コンテンツエリア（余白確保） */
  #contents {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 25px !important; 
    box-sizing: border-box;
    height: auto !important;
  }
  
  h2 {
    margin-top: 0 !important;
  }

  /* 5. サイドバー（バナー類） */
  #sidebar {
    width: 100% !important;
    float: none !important;
    text-align: center;
    padding: 20px 0;
    height: auto !important;
  }
  
  #sidebar img {
    max-width: 90%;
    height: auto;
  }

  /* インスタカード中央寄せ */
  .insta-card {
    margin: 0 auto 20px !important;
  }

  /* ブログバナー修正 */
  #sidebar h3 {
    width: 100% !important;
    text-align: center !important;
    height: auto !important;
    margin: 0 auto 20px !important;
    display: block !important;
  }

  /* 6. フッター */
  #footer {
    width: 100% !important;
    padding: 30px 10px !important;
    box-sizing: border-box;
    margin-top: 0 !important;
  }

  .footer-sns-area {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .sns-btn {
    padding: 10px 15px !important;
    font-size: 13px !important;
  }
}

/* --- 追加：サイドバーバナー用クラス --- */
.sidebar-banner {
    margin-bottom: 20px; /* 下に余白 */
    transition: 0.5s ease-in-out; /* ふわっと変化 */
}

/* マウスを乗せたときに少し透明にする */
.sidebar-banner a:hover img {
    opacity: 0.6;
    filter: alpha(opacity=60);
    -ms-filter: "alpha( opacity=60 )";
}

/* 画像サイズ調整（PCは210px固定、スマホは親要素に合わせる） */
.sidebar-banner img {
    width: 210px;
    height: auto;
}

@media screen and (max-width: 640px) {
    .sidebar-banner img {
        width: 210px !important;  /* インスタカードと同じ幅に固定 */
        max-width: 100%;
        height: auto;
    }
}