/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
*/

/* カスタマイズする場合にはこれより下に追記してください  */

/*-------------------------------
　　　　　　　　　全体
PC-smart切替
フェードイン・フェードアウト
ヘッダー
ハンバーガーメニュー
フッター
---------------------------------*/

html {
  scroll-padding-top: 180px!important; /* 固定ヘッダの高さ分 */
}


body{
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	line-height:160%;
	font-size:15px;
	color:#000!important;
}

/*PC-smart切替*/
.pc-only {
	display:block!important;
}
.smart-only {
	display:none!important;
}
#main-wrap,
.articleblock {
	width:1200px!important;
	margin:0 auto;
}
.content {
	font-size:100%!important;
}
#container {
	margin:0!important;
	padding:0!important;
	display:block!important;
}
.strong11 {
	font-size:1.1em;
	font-weight:bold;
}
.strong12 {
	font-size:1.2em;
	font-weight:bold;
}
.strong13 {
	font-size:1.3em;
	font-weight:bold;
}
.strong14 {
	font-size:1.4em;
	font-weight:bold;
}
/*フェードイン*/
.fadein {
  opacity: 0;
  animation: fadein 1s;
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
/*フェードアウト*/
.fadeout {
  opacity: 1;
  animation: fadeout 1s;
}

@keyframes fadeout {
  from { opacity: 1; }
  to { opacity: 0; }
}


/*---------------
　ヘッダー
-----------------*/
header {
	margin-bottom:0;
}
.orgheader {
	padding:0!important;
	margin:0!important;
	margin:0;
	padding:0;
}
.headbox2 {
	display:flex;
	width:100%;
	margin:0 auto;
	flex-wrap: nowrap;
	justify-content:space-between;
	padding-bottom:8px;
	border-bottom:2px solid #1a458a;
}

.headbox2 .headtitle2 {
	display:flex;
	width:10%;
	min-width:250px;
	
}
.headbox2 .headtitle2 a {
	display:block;
	margin:0 auto;
	width:100%;
	padding:0 0 0 20px;
}
.headbox2 .headtitle2 a img {
	width:100%;
}

.headbox2 .headmenu2a {
	display:flex;
	text-align:right;
	flex:1;
}
.headbox2 .headmenu2a .line {
	padding:18px 8px;
	width:100%;
	text-align:center;
}
.headbox2 .headmenu2a .line a {
	display:inline-block;
	padding-right:2%;
	font-size:0.9em;
}

.headbox2 .headmenu2b {
	display:block;
	width:20%;
	min-width:400px;
}
.headbox2 .headmenu2b .line {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	width:100%;
	height:auto;
	padding-top:8px;
	padding-bottom:8px;
	background:#1a458a;
	border-radius: 0 0 20px 20px;
	text-align:center;
	
}
.headbox2 .headmenu2b .line a {
	display:block;
	padding:0 8px;
	border-right:1px solid #fff;
	text-align:center;
	color:#fff;
	font-size:0.75em;
	
}
.headbox2 .headmenu2b .line a:last-child {
	border-right:0;
	
}
.headbox2 .headmenu2b .line img {
	width:auto;
	max-height:20px;
}
.headbox2 .headmenu2b .line span {
	display:block;
	text-align:center;
	font-weight:bold;
	margin:0;
	padding:0;
}

.headbox2 .headlink {
	display:block;
	width:120px;
	padding:4px 8px 0 8px;
	text-align:right;
}
.headbox2 .headlink a {
	display:inline-block;
	padding:4px 16px;
	background:#7a7a7a;
	color:#fff;
	font-weight:400;
	font-size:0.8em;
	text-align:center;
	border-radius: 10px;
}

.headbox2 .headhanb {}


/*---------------
　ハンバーガーメニュー
-----------------*/
/*ハンバーガーメニュー*/
#nav-drawer {
  position: relative;
	margin-top:30px;
	margin-left:10px;
}

/*チェックボックス等は非表示に*/
#nav-drawer .nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-drawer #nav-open {
  display: inline-block;
  width: 30px;
  height: 32px;
  vertical-align: middle;
}

/*ハンバーガーの形をCSSで表現*/
#nav-drawer #nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  content: '';
  cursor: pointer;

}
#nav-drawer #nav-open span:before {
  bottom: -8px;
}
#nav-drawer #nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒箇所*/
#nav-drawer #nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*メニューの中身*/
#nav-drawer #nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 90%;
  max-width: 330px;/*最大幅（お好みで調整を）*/
  height: 100%;
  background:#E9E9E9;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
	padding:8px;
}

/*チェックがついたら表示させる*/
#nav-drawer #nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-drawer #nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

#nav-drawer .header-logo-menu{
 display: flex;
 display: -moz-flex;
 display: -o-flex;
 display: -webkit-flex;
 display: -ms-flex;
 flex-direction: row;
 -moz-flex-direction: row;
 -o-flex-direction: row;
 -webkit-flex-direction: row;
 -ms-flex-direction: row;
}

/*ロゴやサイトタイトルをセンタリング*/
#nav-drawer .logo-area{
	text-align:center;
	margin-top:30px;
}
#nav-drawer .logo-area img {
	width:auto;
	max-width:250px!important;
}

#nav-drawer .hammenu {
	padding:8px;
	font-size:0.9em;
	padding-bottom:30px;
}
#nav-drawer .hammenu h3 {
	display:inline-block;
	margin-top:20px;
	margin-left:10px;
	margin-bottom:0;
	padding:8px 10px;
	border-radius: 15px 15px 0 0;
	background:#1a5baa;
	font-weidht:bold;
	color:#fff;

}
#nav-drawer .hammenu a.menu1 {
	display:block;
	padding:10px 8px;
	background:#fff;
	border-bottom:#e6f4ff 1px solid;
}
#nav-drawer .hammenu a.menu2 {
	display:block;
	padding:4px 8px;
	background:#fff;
	font-size:0.8em;
	border-bottom:#e6f4ff 1px solid;
}

/*-----------------------------
     フッタ
-----------------------------*/
#footer {
	background:#fff !important;
	color:#1a458a !important;
	border-top:3px solid #1a458a;
}
#footer ul#menu-footer_menu li {
    margin-right:10px !important;
    padding-left:10px !important;
}
#footer ul#menu-footer_menu li+li {
    border-left:1px solid #1a458a !important;
}
#footer ul#menu-footer_menu li a {
	color:#1a458a !important;
}
#footer p#copyright {
	display:block !important;
	float:none !important;
	margin-left:10px !important;
}




