@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid var(--base-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
	font-weight: 700;
	letter-spacing: 3px;
}
.snsbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
	margin-bottom: 0.5rem;
}
nav li {
    display: block;
    flex: 0 0 15%;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    text-decoration: underline;
}
nav a {
    padding: 1rem;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*キャッチタイトル
-------------------------------------*/
h2.catch {
	text-align: center;
	color: var(--link-color);
	font-size: 4.0rem;
	margin-bottom: 0rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--white-color);
    padding: 3rem 0;
}
footer h5 {
    border-bottom: 1px solid var(--border-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
	color: #ffffff;
    padding: 1rem 0;
    background-color: #000000;
}
.copyright a {
	color: #ffffff;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: var(--link-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: var(--linkhover-color:);
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/*追加CSSーーーーーーーーーーーーーーーーー*/
/*まねきロゴ用*/
.rogo{
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px 0px 15px 30px;
	width: 157px;
}
.rogo img{
	width: 100%;
	height: auto;
}
/**テキスト段落用**/


/* ✅ スマホ向けのレスポンシブ対応 */
@media screen and (max-width: 600px) {
    ul.responsive {
        width: 95%; /* スマホではほぼ全幅 */
        padding: 5px;
    }

    ul.responsive li {
        font-size: 16px; /* 文字サイズを少し小さく */
    }

    ul.responsive li::first-letter {
        font-size: 20px; /* スマホでは少し小さめ */
        margin-left: -20px; /* 飛び出し具合を調整 */
    }
}
/*フォントカラー変更*/
.font_red {
    font-size: 20px;    /* 文字サイズ指定 */
    color: #ff0000;     /* 文字色指定 */
	font-weight: bold;
}
.font_lblue {
    font-size: 24px;   /* 文字サイズ指定 */
    color: #33ccff;     /* 文字色指定 */
	font-weight: bold;
}
.font_faq {
    font-size: 20px;   /* 文字サイズ指定 */
    color: #000000;     /* 文字色指定 */
	font-weight: bold;
}
.font_bold {
    color: #000000;     /* 文字色指定 */
	font-weight: bold;   /* 文字色太さ定 */
}
.font_blu {
    font-size: 14px;   /* 文字サイズ指定 */
    color: #44308E;     /* 文字色指定 */
	font-weight: bold;
}
/*リクルートボタン*/
btn-staff{
    width:500px;
    height:80px;
    line-height:80px;
}
.btn-staff a{
    display:block;
    width:60%;
    height:100%;
    text-decoration: none;
    background:#ff6347;
    text-align:center;
    color:#FFFFFF;
    font-size:30px;
    font-weight:bold;
    border-radius:50px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
}
.btn-staff a:hover{
    background:#ff7f50;
    color:#FFFFFF;
    margin-left:5px;
    margin-top:5px;
    box-shadow:none;
}
/**スクロール**/
html { scroll-behavior: smooth;
}
/**動画背景色**/
.bcg-mc {
        background-color: #CCFFFF;
    }
/**埋込動画サイズレスポンシブ用**/
.video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/**画像をつめる**/
img {
vertical-align: bottom; /* または vertical-align: top; */
}
