@charset "utf-8";


/***************************************************************************************************************************
　■全デバイス共通設定
***************************************************************************************************************************/

/**** 初期設定 ****/
body {
	color: #232828;
	text-align: center;
	-webkit-text-size-adjust: 100%;/*スマホの文字倍率自動調整のオフ*/
}

* {
	margin: 0;
	padding: 0;
	list-style-type:none;
	list-style-image:none;
	/*font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";*/
	font-family:"メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro" , Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:16px;
	font-weight: normal;
}

p {
	line-height: 1.5em;
	color: #232828;
	font-size:16px;
	text-align: left;
}

td, tr {
	color: #232828;
	font-size:16px;
}

li, dt, dd {
	color: #232828;
	font-size:16px;
}


/**** リンクの色設定 ****/
a:link {
	color: #03797C;
	text-decoration: underline;
}

a:visited {
	color: #03797C;
	text-decoration: underline;
}

	
a:hover {
	color: #03797C;
	text-decoration: none;
	position:relative;
	top:1px;
	left:1px;
}

a:active {
	color: #03797C;
	text-decoration: none;
	}
	
a img {
	border: 0;
}


/*clearfix(clear divの代わり)*/
.clearfix:after {
	content: " ";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
	.clearfix {
		zoom: 1;/*for IE6/7*/
	}

.float_l {
	float: left;
}

.clear {
	clear: both;
}
	
/**** ダイレクト指定 ****/
.ta_rig {
	text-align: right;
}
	.ta_cen {
		text-align: center;
	}
	.ta_lef {
		text-align: left;
	}


/***************************************************************************************************************************
　■header link
***************************************************************************************************************************/

#color_block {
	width: 100%;
    background-color: #011945;
}
		
	#header_link a:link {
		color: #FFFFFF;
		text-decoration: none;
	}
	
	#header_link a:visited {
		color: #FFFFFF;
		text-decoration: none;
	}
	
		
	#header_link a:hover {
		color: #FFFFFF;
		text-decoration: none;
		position:relative;
		top:1px;
		left:1px;
	}
	
	#header_link a:active {
		color: #FFFFFF;
		text-decoration: none;
	}


#header_link {
	width: 100%;
	max-width: 1200px;
	margin: 0px auto 0 auto;
	
}
	#header_link ul {
		float: right;
		margin-top: 10px;
		margin-bottom: 10px;
		margin-right: 0.5em;
	}
		#header_link ul li {
			float: left;
			margin-left: 1.5em;
			font-size: 16px;
			letter-spacing: 1px;
			display: table-cell;
			vertical-align: middle;
		}
		
		#header_link ul li img.gohome {
			height: 18px;
			width: auto;
			display: block;
		}

		
/***************************************************************************************************************************
　■mainlinkリンクのデバイス別設定
***************************************************************************************************************************/
#mainlink {
	width: 100%;
    margin:80px 0 120px 0;
}

	#mainlink ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 80px;
		text-align: center;
        max-width: 1200px;
        margin: 0 auto;
	}

	#mainlink li {/*ボタンを横並びに*/
		display: flex;
        align-self: flex-end;
	}


	#mainlink li a {
		display: block;
        color: #000000;
        text-decoration:none;
        font-size:23px;
        border-bottom: #dedede 3px solid;
        padding:0 30px 3px 30px;
        letter-spacing:0.2em;
        white-space: nowrap;
	}
	
		#mainlink a:hover {
			position:relative;
			top:0;
			left:0;
		}
		
		#mainlink a:focus {
			outline: none;
		}

                                   @media screen and (max-width: 1279px)  {
                                        #mainlink {
                                            margin:40px 0 120px 0;
                                        }

                                            #mainlink ul {
                                                gap: 50px;
                                            }


                                            #mainlink li a {
                                                font-size:20px;
                                                border-bottom: #dedede 3px solid;
                                                padding:0 20px 3px 20px;
                                                letter-spacing:0.15em;
                                            }
                                    }

                                   @media screen and (max-width: 932px)  {
                                       #mainlink {
                                           display: none;
                                       }
                                    }




/***************************************************************************************************************************
　■top以外のページタイトル
***************************************************************************************************************************/
#page_title {
    position: relative;
    margin-top: 50px;
    height: 40vw; /* 高さをビューポートの幅の40%に設定 */
    background:url("../img/format/badckle_logo1.png") no-repeat center center;
    overflow: hidden;
}
    #page_title h1 {
        font-size:36px;
        letter-spacing: 0.1em;
        background-color: rgba(0,0,0,0.8);
        padding: 30px 0;
        width:300px;
        position: absolute;
        top:20px;
        left:20px;;
        right: auto;
        z-index: 10;
        color:#FFFFFF;
    }

    #img_absolute_box {
        width:100%;
        height: auto;
        max-width: 1920px;
        margin-top: 0;
        position: absolute;
        top: 0;
        left: 50%;
        transform:  translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);        
        min-width: 600px;
    }
        #img_absolute_box img {
            width:100%;
            height: auto;
            max-width: 1920px;
            margin-top: 0;
            position: absolute;
            top: 0;
            left: 0;
        }



@media screen and (max-width: 960px) {
    #page_title {   
        height: 400px;
        background-size: 40vw auto;
    }
    #img_absolute_box { 
        min-width: 1000px;
    }
    #page_title h1 {
        display:none;
    }
}

@media screen and (max-width: 480px) {
    #page_title {   
        height: 240px;/*width:6000 の 9/16 + 100(タイトル分) */
    }
    #img_absolute_box { 
        min-width: 600px;
    }
}





.fixed_contents {
	width: 100%;
	max-width: 1200px;
	margin: 0px auto 0 auto;
}
	.fixed_contents h1 {
        font-size: 28px;
        letter-spacing: 0.1em;
		text-align: left;
        font-weight: normal;
        margin-bottom: 30px;
        margin-top: 80px;
	}


h1.stripe {
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
    background-image: repeating-linear-gradient(45deg, transparent 0 3px, #93C454 3px 6px);
    background-repeat: no-repeat;
    background-size: 100% 0.5rem;
    background-position: bottom;
}

@media screen and (max-width: 1220px) {/*モバイルで左右に余白を設ける*/
    .mobile_padding {
        padding:0 10px;
        box-sizing: border-box;
    }
}





/***************************************************************************************************************************
　■footerリンクのデバイス別設定
***************************************************************************************************************************/

#footer {
	margin: 100px auto 40px auto;
	width: 100%;
	max-width: 1200px;
    box-sizing: border-box;
}
	#footer_format {
		display: table;
		margin: 0px auto 45px auto;
	}
		#footer #footer_info {
			/*background-color:#F9EAEA;*/
			display: table-cell;
			vertical-align: top;
			width: 270px;
		}
			#footer #footer_info ul {
				text-align: left;
				margin-left: 0px;
			}
				#footer #footer_info li {
					text-align: left;
					white-space: nowrap;
				}
				#footer #footer_info li.company {
					height: 50px;
					padding-top: 5px;
					font-size: 22px;
                    letter-spacing: 0.1em;
				}
				#footer #footer_info li.open {
					font-size: 16px;
				}
				#footer #footer_info li.close {
					font-size: 12px;
				}
				#footer #footer_info li.tel {
					margin-top: 0.6em;
					line-height: 1.3em;
				}
				
		#footer #footer_links {
			display: table-cell;
			vertical-align: top;
			/*background-color:#EAF5F9;*/
			width: 545px;
		}
			#footer #footer_links ul {
			}		
				#footer #footer_links li {
					float: left;
					text-align: center;
					margin: 0 0 20px 20px;
					box-shadow: 1px 1px 1px 0 #505B5B;
				}	
					#footer #footer_links li a {
						font-size: 14px;
						color: #ffffff;
						letter-spacing: 0.05em;
						text-decoration: none;
						display: table-cell;
						vertical-align: middle;
						height:50px;
						width: 160px;
                        background-color: #011945;                        
					}
	
	#footer p {
		text-align: center;
		font-size: 9px;
		letter-spacing: 0.3em;
	}

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

		#footer #footer_info {
			width: 230px;
		}
				#footer #footer_info li.open {
					font-size: 14px;
				}
				
		#footer #footer_links {
			width: 380px;
            padding-top: 15px;
		}
				#footer #footer_links li {
					margin: 0 0 20px 15px;
				}	
					#footer #footer_links li a {
						height:40px;
						width: 110px;
						/*background: url(../img/format/footer/basic.png) 0 center repeat;*/
					}
}
@media screen and (max-width: 639px) and (min-width: 560px) {

		#footer #footer_info {
			width: 240px;
		}
				#footer #footer_info li.open {
					font-size: 15px;
				}
				
		#footer #footer_links {
			width: 295px;
		}
				#footer #footer_links li {
					margin: 0 0 10px 15px;
				}	
					#footer #footer_links li a {
						height:35px;
						width: 130px;
					}
}
@media screen and (max-width: 559px) {

#footer {
	margin: 80px auto 0px auto;
	width: 100%;
    padding-bottom: 20px;
    box-sizing: border-box;
}
	#footer_format {
		display: block;
	}
		#footer #footer_info {
			display: block;
			width: 240px;
			margin: 0 auto;
		}
			#footer #footer_info ul {
				text-align: center;
			}
				#footer #footer_info li {
					text-align: center;
					white-space: nowrap;
				}
				#footer #footer_info li.company {
					letter-spacing: 0.1em;
					padding-left: 0px;
				}
				
		#footer #footer_links {
			display: block;
			vertical-align: auto;
			width: 294px;
			margin: 20px auto 50px auto;
		}
			#footer #footer_links ul {
			}		
				#footer #footer_links li {
					margin: 0 4px 10px 4px;
					box-shadow: 1px 1px 1px 0 #505B5B;
				}
					#footer #footer_info li.open {
						font-size: 14px;
					}
					#footer #footer_links li a {
						font-size: 13px;
						display: table-cell;
						vertical-align: middle;
						height:50px;
						width: 90px;
						/*background: url(../img/format/footer/basic.png) 0 center repeat;*/
						box-sizing: border-box;						
					}
}







#last_links {
    margin-bottom: 20px;
}
    #last_links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content:center;
        gap: 5px 30px;    
    }
        #last_links ul li {
        }
            #last_links ul li a {
                color:#232828;
                text-decoration: none;
                font-size: 14px;
            }





/***************************************************************************************************************************
　■PC用設定
***************************************************************************************************************************/
@media screen and (min-width: 919px) {
.br_pc {
	/*display: none;*/
}
	.br_mobile_l {
		display: none;
	}
	.br_mobile_m {
		display: none;
	}
	.br_mobile_s {
		display: none;
	}

}
	
/***************************************************************************************************************************
　■モバイル大
***************************************************************************************************************************/
@media screen and (max-width: 918px) and (min-width: 641px) {

#header_link {
	width: 97%;
	
}
		#header_link ul li {
			font-size: 15px;
		}
		
		#header_link ul li img.gohome {
		}
		
#breadlink {
	width: 90%;
	max-width: 1200px;
}		
		
		
#fixed_contents {
	width: 95%;
}
	#goback ul {
		width: 600px;
	}





/*h2下の標準的なp*/
p.basic {
	margin-left: 16px;
	margin-top: 16px;
	font-size: 15px;
}
	/*p下(2行目)の標準的なp*/
	p.basic2 {
		margin-left: 16px;
		margin-top: 0.5em;
		font-size: 15px;
	}
/*h2下の標準的なbox*/
.basic_box {
	margin-top: 27px;
}
	/*2段目以降の標準的なbox*/
	.basic_box2 {
		margin-top: 80px;
	}

.br_pc {
	display: none;
}
	.br_mobile_l {
		/*display: none;*/
	}
	.br_mobile_m {
		display: none;
	}
	.br_mobile_s {
		display: none;
	}
	
}


/***************************************************************************************************************************
　■モバイル中
***************************************************************************************************************************/
@media screen and (max-width: 640px) and (min-width: 416px) {

#header_link {
	width: 97%;
	
}
	#header_link ul {
		margin-right: 0.2em;
	}
		#header_link ul li {
			margin-left: 1em;
			font-size: 14px;
		}
		
		#header_link ul li img.gohome {
		}
		
	
#breadlink {
	width: 90%;
	font-size: 70%;
}
	#breadlink .arrow {
		margin: 0 4px 0 4px;
	}
		
		
		
		
#fixed_contents {
	width: 95%;
}
	#fixed_contents  {
        font-weight: normal;
	}
		#fixed_contents  img {/*縮小*/
			width: 200px;
			height: auto;
		}
	#goback ul {
		max-width: 800px;
		width: 100%;
	}
		#goback ul li {
			display: table-cell;
		}
			#goback ul li a {
				padding: 8px 8px;
				letter-spacing: 0em;
				font-size: 13px;
			}

#pagetop_btn {
	right: 10px;
	bottom: 10px;
}

#footer {
	margin: 80px auto 5px auto;
}
	#footer p {
		text-align: center;
		font-size: 9px;
		letter-spacing: 0.3em;
	}





/*h2下の標準的なp*/
p.basic {
	margin-left: 5px;
	margin-top: 16px;
	font-size: 16px;
}
	/*p下(2行目)の標準的なp*/
	p.basic2 {
		margin-left: 5px;
		margin-top: 0.5em;
		font-size: 16px;
	}
/*h2下の標準的なbox*/
.basic_box {
	margin-top: 27px;
}
	/*2段目以降の標準的なbox*/
	.basic_box2 {
		margin-top: 80px;
	}

.br_pc {
	display: none;
}
	.br_mobile_l {
		/*display: none;*/
	}
	.br_mobile_m {
		/*display: none;*/
	}
	.br_mobile_s {
		display: none;
	}
	
}


/***************************************************************************************************************************
　■モバイル小
***************************************************************************************************************************/
@media screen and (max-width: 415px) {

#header_link {
	width: 97%;
	
}
	#header_link ul {
		margin-top: 8px;
		margin-bottom: 8px;
		margin-right: 0.2em;
	}
		#header_link ul li {
			margin-left: 1em;
			font-size: 12px;
		}
		
		#header_link ul li img.gohome {
		}
	
#breadlink {
	width: 95%;
	font-size: 70%;
}
	#breadlink .arrow {
		margin: 0 4px 0 4px;
	}
		
		
		
		
#fixed_contents {
	width: 95%;
}
	#fixed_contents  {
		margin-top: 40px;
        font-weight: normal;
	}
		#fixed_contents  img {/*縮小*/
			width: 200px;
			height: auto;
		}

#goback {
	margin: 60px 0 60px 0;
}
	#goback ul {
		width: 280px;
		padding: 30px 0;
	}
			#goback ul li a {
				padding: 15px 4px;
				letter-spacing: 0em;
				font-size: 12px;
			}

#pagetop_btn {
	right: 5px;
	bottom: 5px;
}
	#pagetop_btn img {
		width: 45px;
		height: auto;
	}

#footer {
	margin: 80px auto 5px auto;
}
	#footer p {
		text-align: center;
		font-size: 9px;
		letter-spacing: 0.3em;
	}





/*h2下の標準的なp*/
p.basic {
	margin-left: 5px;
	margin-top: 5px;
	font-size: 16px;
	line-height: 1.3em;
}
	/*p下(2行目)の標準的なp*/
	p.basic2 {
		margin-left: 5px;
		margin-top: 0.5em;
		font-size: 16px;
		line-height: 1.3em;
	}
/*h2下の標準的なbox*/
.basic_box {
	margin-top: 15px;
}
	/*2段目以降の標準的なbox*/
	.basic_box2 {
		margin-top: 80px;
	}

.br_pc {
	display: none;
}
	.br_mobile_l {
		/*display: none;*/
	}
	.br_mobile_m {
		/*display: none;*/
	}
	.br_mobile_s {
		/*display: none;*/
	}
	
}


/*蛍光ペン協調*/
.growpen {
    border-radius: 2px;
    background: -webkit-linear-gradient(transparent 60%, #E7F07E 0%);
    background: -o-linear-gradient(transparent 60%, #E7F07E 0%);
    background: linear-gradient(transparent 60%, #E7F07E 0%);
}
.growpen2 {
    border-radius: 2px;
    background: -webkit-linear-gradient(transparent 60%, #FCE2FC 0%);
    background: -o-linear-gradient(transparent 60%, #FCE2FC 0%);
    background: linear-gradient(transparent 60%, #FCE2FC 0%);
}

/*リンクボタン*/

a.link_btn {
    background-color: #F0F5AE;
    color:#011945;
    text-decoration: none;
    padding: 15px;
    display: block;
    border-radius: 32px;
    text-align: center;
}

a.link_btn_2 {
    background-color: #F0F5AE;
    color:#011945;
    text-decoration: none;
    padding: 5px 20px;
    display: inline-block;
    border-radius: 32px;
    text-align: center;
}
