@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;
}
a {
    color: #160079;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}

.blueback {
	background-color: #160079;
	border-radius: 6px;
	color: #fff;
	padding: 0.5rem;
}

.greenback {
	background-color: #00B2B2;
	border-radius: 6px;
	color: #fff;
	padding: 0.5rem;
}

.underline {
	border-bottom: 2px solid #160079;
	padding-bottom: 0.5rem;
}

.underline2 {
	border-left : 1rem solid  #160079;
	border-bottom:2px solid #160079;
	padding-left: 2rem;
}
.center {
	text-align: center;
}

.right {
	text-align: right;
}

.small {
    font-size: 16px;
    font-weight: 400;
    line-height: 180%;
    margin:0;
	padding:0;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
}
.pc_navbox {
	margin-left: auto;
	font-size: 1.4rem;
	padding: 1rem 0 0 0;
}

.pc_navbox ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 1.4rem;
}
.pc_navbox li {
    flex: 1 0 auto;
	margin: 0 0 0 1.4rem;
}
.pc_navbox li a {
    text-decoration: none;
    text-align: center;
}


.menu {
	background-color: #160079;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: #fff;
}
nav a:hover {
    background-color: #4682B4;    
	color: #fff;
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 769px){
#open,#close {
    display: none !important;
}
#pc_navi {
    display: block !important;
}
#sp_navi {
    display: none;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#pc_navi {
    display: none;
}
.pc_navbox  {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f5f5f5;
    padding: 5rem 0;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding-top: 2rem;
    background-color: #f5f5f5;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #160079;
    border-radius: 50%;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #4682B4;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 2em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
    font-size: 16px;
}
.breadcrumb li a {
    display: inline-block;
    color: #160079;
}
.breadcrumb li a:hover { 
    color: #999;
}


/* index.html
-----------------------------------*/
.index_block {
    background-color: #F5F5F5;
    padding:1rem;
    margin-bottom: 1rem;
}

.index_block p {
    font-size: 16px;
    font-weight: 400;
    line-height: 180%;
    margin:0;
	padding:0;
}

/* 社員インタビュー
-----------------------------------*/
.interview-font {
   color: #00B2B2;
   margin-left: 2rem;
}