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

/* 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-top: 0;
	padding-right: 0;
	padding-bottom: 10;
	padding-left: 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-weight: 300;
	-webkit-text-size-adjust:100%;
	/*overflow-x: hidden;*/
	color: #000;
	background: #fff;
	font-family: 'Noto Sans JP', Arial, Verdana, "游ゴシック", YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', "メイリオ", Meiryo, sans-serif; 
	font-size: 18px;
	line-height: 1.6;
}

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

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

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


/* ヘッダー
------------------------------------------------------------*/
#header {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 380px;   /* ← 568px の 2/3 に短縮 */
    background-color: #000;
}

#header img {
    position: absolute;
    left: 50%;
    height: 100%;     /* ← 固定pxを廃止して、header に合わせる */
    width: auto;      /* ← 縦横比を維持 */
    top: 50%;
    transform: translate(-50%, -50%);
}

/* キービジュアルをフルワイドで表示 */
#keyvisual {
    width: 100%;
    height: 60vh;  /* 高さ。50〜80vhで調整可能 */
    background-image: url("images/keyvisual.jpg"); /* ←画像パスを変更 */
    background-size: cover;      /* 画面いっぱいにフィット */
    background-position: center; /* 中央表示 */
    background-repeat: no-repeat;
}

/* スマホ対策（高さを少し低めにしたい場合） */
@media screen and (max-width: 768px) {
    #keyvisual {
        height: 40vh; /* スマホでは少し低めに調整 */
    }
}

img.logo {
	width: 38% !important;
	height: auto !important;
	display: block;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#slogan{
	position: absolute;
  top: 50%;
	width: 100%;
	-webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
	color: #fff;
	line-height: 1.2;
	text-align: center;
}

#slogan h1{
	font-size: 60px;
	font-family: 'Pacifico', cursive;
	margin-bottom: 20px;
	font-weight:bold;
}


#slogan h2{
	font-size: 20px;
	font-weight:bold;
}


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


/* 共通
------------------------------------------------------------*/
h1, h2{
	font-family: 'Josefin Sans', 'Noto Sans JP', sans-serif !important;
}

.recruit-title {
  font-size: 35px;
}

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

section{clear:both;}

section h2{
	font-size: 23px;
	font-weight:normal;
	text-align: center;
}

.inner{
　　width: 100%; /* ← 幅を画面いっぱいに設定 */
    padding-left: 20px;   /* ← 左側に余白を設定（例: 20px） */
    padding-right: 20px;  /* ← 右側に余白を設定（例: 20px） */
	padding-bottom: 30px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

.col2 li{
	display: inline-block;
	width: 100%;
  	margin: 20px 0 20px 0;
}
	 h2.adjust-padding {
  padding-top: 0px !important;
  	font-size: 18px;
}

/* SEC01 VISION
------------------------------------------------------------*/

.vision{
	width: 86%;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-bottom: 40px;
	text-align: center;
}


/* SEC02 MESSAGE
------------------------------------------------------------*/
.wrap{
	clear: both;
	width: 100%;
	background: #f6f6f6;
}

.bg{
	line-height: 0;
}

.txt h2{
	padding: 0 0 20px !important;
}


/* SEC03 SERVICE MESSAGE STORY
------------------------------------------------------------*/
.col3 li{
	margin-bottom: 30px;
}

.col3 img{
	max-width: 288px;
	display: block;
	margin: 20px auto 20px;
}
.col4 img{
	max-width: 1060px;
	display: block;
	margin: -5px auto 20px;
}
.button-wrapper {
	text-align: center; /* Visionの内容とボタンの間にスペースを空ける */
	margin-bottom: 35px; /* ボタンと Inner コンテンツの間にスペースを空ける */
}

/* 稽古風景ボタンのスタイル（ブロック配置用） */
.practice-button-block {
	display: inline-block; /* センタリングを有効にするため inline-block に設定 */
	/* デザイン: 黒の枠、白背景、黒文字 */
    padding: 10px 25px;
	border: 1.5px solid #000;
	background-color: #fff;
	color: #000;
	text-decoration: none;
	font-size: 18px; /* Visionのテキストサイズ(18px)に合わせる */
	font-weight: bold;
	border-radius: 5px; /* 角を少し丸める (任意) */
	/* ホバー時の装飾 (任意) */
    transition: background-color 0.3s, color 0.3s;
}

.practice-button-block:hover {
	background-color: #000;
	color: #fff;
	text-decoration: none;
	border-top-width: 1.8px;
	border-right-width: 1.8px;
	border-bottom-width: 1.8px;
	border-left-width: 1.8px;
}

/* SEC04 STORY & SUCCESS
------------------------------------------------------------*/
#sec04{
	background: url(../images/CA_KV.png) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #fff;
}


/* SEC05 PROFILE
------------------------------------------------------------*/
#sec05{

}

#sec05 dl{
	line-height: 1.2;
}

#sec05 dt{
	clear: left;
	float: left;
	display: block;
	width: 30%;
	margin-right: 5%;
	margin-bottom: 5px;
	text-align: right;
	line-height: 1.6em;
}

#sec05 dd{
	width: 60%;
	float: left;
	text-align: left;
	margin-bottom: 5px;
	line-height: 1.6em;
}

#sec05 header{
	display: none;
}

#map{
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}
.map {
    margin-bottom: 15px; 
}

/* RESPONSIVE 設定
------------------------------------------------------------*/
@media screen and (max-width: 600px) {
  .logo {
	transform: scale(1.2);
    width: 80%;      /* スマホ時は少し大きく */
    min-width: 160px;
  }
}

@media (max-width: 600px) {
  #header {
    height: 260px;  /* ← スマホはさらに低く */
  }
}

@media screen and (max-width: 768px) {
    .logo {
        transform: scale(1.15);
    }
}

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
		padding-bottom: 120px;
	}
	section h2{
		padding: 70px 0 20px;
	}
	.txt h2{
		padding: 0 0 20px !important;
	}

}

@media only screen and (min-width: 800px){
	body{
	font-size:17px;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}

	#mainnav{
		position:fixed;
		top: 0;
		width:100%;
		z-index:500;
	}

/* 共通：スマホも左寄せ */
#mainnav ul {
    text-align: left;      /* 左寄せ */
    padding-left: 20px;    /* 左余白 */
    padding-right: 0;
}

/* PC用（min-width: 800px）：文字色を白に */
@media only screen and (min-width: 800px) {
    #mainnav a {
        color: #fff;       /* PCのみ白文字 */
    }
}

	#mainnav li{
		display: inline-block;
		padding: 45px 10px 20px;
		font-size: 18px;
		font-weight: 300;
	}
	

	#mainnav.changeNav{
		background: rgba(255,255,255,.9);
		border-bottom: 1px solid #d1d1d1;
	}
	
	#mainnav.changeNav li{
		padding: 20px 10px;
	}

    #mainnav.changeNav a {
    color: #000; /* 文字色を黒に */
    }

	/* SEC02 MESSAGE
	-----------------*/
	.txt, .bg{
		width: 50%;
		float: left;
		display: table;
	background: #f6f6f6;
	}

	#sec02_02 .txt, #sec02_02 .bg{
		float: right;
	}

	.vMid{
		display: table-cell;
		padding: 0 100px;
		vertical-align: middle;
	}
	
	/* SEC03 SERVICE MESSAGE STORY
	-----------------*/
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 30%;
		padding: 0 1.5%;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
	.col4{
		text-align: center;
	}
	
	.col4 li{
		display: inline-block;
		width: 46%;
		padding: 0 1.8%;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
/* ============================
   動画サムネイル + 再生ボタン
   ============================ */

/*
   ↓↓↓ ここに移動させることで、スマホ・PC問わず適用されます ↓↓↓
*/
#sec04 a.video-btn {
	display: inline-block !important;
	padding: 12px 24px !important;
	border: 2px solid #fff !important; 
	text-decoration: none !important;
	color: #fff !important;
	font-size: 18px !important;
	border-radius: 6px !important;
	margin-top: 24px !important;
	box-sizing: border-box !important;
	font-weight: bold;
}

/* PC のホバーだけは 800px 以上のメディアクエリに残す */
@media only screen and (min-width: 800px) {
  a.video-btn:hover {
    background-color: rgba(255,255,255,0.25);
  }
}
#sec04 a.video-btn {
        margin-bottom: 30px !important; 
    }
	
	/* SEC05 PROFILE
	-----------------*/
	#sec05{

	}
	
  #footer{
		padding: 30px 10px 70px 0;
		  background-color: #26610f;
  color: #fff;
	}
	
	.footer-logo {
  width: 23%;
  height: auto;   /* ← 縦横比を崩さないため必須 */
}

}

@media only screen and (min-width: 641px){
	.col2 li{
		width: 40%;
		padding: 0 3%;
		vertical-align: top;
	}
}

@media only screen and (max-width: 640px){
.map {
	    padding: 0 8%; 
    box-sizing: border-box; 
}

.map iframe {
    width: 100% !important;
    left: 0 !important;
}
	
}

@media only screen and (max-width: 799px){
	#slogan h1{
		font-size: 31px;
	}

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

  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: #fff;
  	transition: .2s;
	}

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

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

	.col4 li{
		margin: 0 auto;
		display: block;
	max-width: 1060px;
	}
	.mobile-padded-img {
        /*
         * 90% にすることで、左右に 5% ずつ余白ができる
         * (親要素の幅にもよるが、内側のコンテンツとして左右に余白を作る方法)
         */
        width: 90%; 
        height: auto;
        /* 中央揃えにし、左右の余白を自動調整 */
        display: block;
        margin-left: auto;
        margin-right: auto;
        /*
         * もし親要素が .inner で、既に内側に余白がある場合、
         * width は 100% のままにして、padding を使って画像を縮小する方法も有効
         */
        /* padding: 0 5%; */
    }
}

@media (max-width: 768px) {
    .key-visual img {
        width: 100%;
        height: auto;
        display: block;
        transform: translateX(-50px); /* ← 左に50pxずらす */
    }
}


#sec04 * {
    color: #fff; /* 文字色は白 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0. 5); /* 黒60%透過、影のオフセット2px、ぼかし4px */
}
/* 通常のロゴサイズ */
.logo {
    width: 100px; /* もともとのサイズに応じて調整 */
    height: auto;
}

/* スマホビューで拡大 */
@media (max-width: 768px) {
    .logo {
        width: 80% !important;  
        height: auto !important;
    }
}

@media only screen and (max-width: 1199px){
	section h2{
	padding-top: 70px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
	}
	#sec01 h2{
	padding-top: 30px;
	padding-right: 0;
	padding-bottom: 20px;
	padding-left: 0;
	}
	.vMid{
		padding: 0 20px;
	}
}

@media only screen and (max-width: 799px) {
  #sec04 .inner .col2 {
    background-position: right center; /* 背景を右寄せ */
    background-size: cover;            /* 必要に応じて */
  }
}

/* ======== スマホ用フッター強制表示設定 ======== */
@media only screen and (max-width: 799px) {
  #footer {
    display: block !important;     /* 念のため強制表示 */
    padding: 30px 10px 50px 0;
    background-color: #26610f;      /* PCと同じ緑の背景 */
    color: #fff;                    /* 白文字 */
  }

  .footer-logo {
    width: 40%;
    height: auto;
    margin: 20px auto 0;
  }
}

@media only screen and (max-width: 799px) {
  #sec04 .inner .col2 {
    background-position: calc(100% - 40px) center;
  }
}

@media only screen and (max-width: 799px) {
  .recruit-title {
    font-size: 28px;
  }
}

/* PCビュー（768px以上）だけ適用 */
@media screen and (min-width: 768px) {
    .key-visual img {
        width: 100vw;      /* ブラウザ幅いっぱい */
        height: auto;
        max-width: none;   /* もとの max-width を無効化 */
        display: block;    /* 画像の下の余白対策 */
        margin: 0 auto;
    }
}

/* ============================
   動画サムネイル + 再生ボタン
   ============================ */

/* コンテナ設定 */
.video-container {
    position: relative;       /* 再生ボタンを重ねるため */
    width: 100%;
    max-width: 1060px;        /* PCでの最大幅 */
    margin: 20px auto;
    overflow: hidden;
}

/* サムネイル画像 */
.video-thumb {
    width: 100%;              /* コンテナ幅に合わせる */
    height: auto;             /* アスペクト比を維持 */
    display: block;
}


/* レスポンシブ：スマホ用 */
@media only screen and (max-width: 799px) {
    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button:before {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 20px solid black;
    }
}


@media only screen and (max-width: 799px) {
    /* ハンバーガーメニューのラッパーを左寄せ */
    #menuWrap {
        text-align: left;   /* 左寄せ */
        padding-left: 20px; /* 左余白を調整 */
        padding-right: 0;
    }

    /* ハンバーガーボタン自体も左寄せ */
    #menu {
        float: left;        /* 左に寄せる */
        margin: 10px 0;     /* 上下の余白 */
    }
}

/* #sec04 内のすべてのリンク要素に対するスタイルを強制的に追加 */
#sec04 a {
    /* 白枠の強制 */
    border: 2px solid #fff !important; 
    display: inline-block !important;
    padding: 12px 24px !important;
    color: #fff !important;
    border-radius: 6px !important;
    /* 必要に応じて他のスタイルも !important を付けて強制 */
}

/* video-btn クラスを持つ要素にも重ねて適用 (念のため) */
#sec04 .video-btn {
    border: 2px solid #fff !important;
    display: inline-block !important;
    /* ... 他のスタイルも !important を付けて再定義 ... */
}

@media only screen and (max-width: 799px) {
    #sec04 a.video-btn {
        margin-top: 30px !important; 
    }
    #sec04 {
        background-attachment: scroll !important; 
    }
    #sec04 {
        background-position: center center !important; 
        background-size: cover !important;
    }
	#sec04 {
        background-position: right center !important; 
        background-size: cover !important;
    }
}

#sec04::before {
    content: ''; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1; 
}


#sec04 {
    position: relative; 
    z-index: 0; 
}


#sec04 * {
    z-index: 2; 
    position: relative; 
}


#sec04 a.video-btn {
    display: inline-block !important;
    padding: 12px 24px !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    /* ... 他のスタイル ... */
    
    margin-top: 24px !important; 
    margin-bottom: 30px !important; /* ← ここに追記/修正 */
    
    box-sizing: border-box !important;
}

.fa-facebook-f {
    font-size: 30px; /* サイズ変更 */
    color: #1877F2; /* Facebookのブランドカラー */
    margin: 0 5px;  /* 他のアイコンとの間にスペースを空ける */
}

/* Facebookアイコンとテキストを横並びにするCSS */
.facebook-link {
    display: flex;         /* 横並びにする */
    align-items: center;   /* 垂直方向の中央揃え */
    text-decoration: none; /* 下線を削除 */
    color: #0066ff;        /* リンクのデフォルトカラーを適用 */
}

/* アイコンとテキストの間にスペースを空ける */
.facebook-link i {
    margin-right: 5px; /* 適切なスペースに調整してください */
    font-size: 1.2em;  /* アイコンのサイズ調整（任意） */
}

/* テキストの色を親要素のリンク色に合わせる */
.facebook-link span {
    color: inherit; /* リンクの文字色を継承 */
}
.center-text {
    text-align: center !important; /* !important で強制的に中央揃えを適用 */
}
/* sub-text のスタイル */
.sub-text {
    font-size: 23px; /* 例: 本文と同じ18pxに設定 */
    font-weight: normal; /* 太字にしない */
}

/* スマホ表示時の設定 (799px 以下) */
@media only screen and (max-width: 799px) {
    .sub-text {
        font-size: 23px; /* 例: スマホでは少し小さめの16pxに設定 */
    }
}
.recruit-title {
    /* 必要であれば行間を調整 */
    line-height: 1.6; 
}