/*
Theme Name:  Gifu
Theme URI:  001
Description:  デザインのテーマ
Version:  1.0
Author:  HERC
Author URI:  
*/


/*---reset--------------------------------------------------------------------*/

@import url("./reset.css");

/*---body--------------------------------------------------------------------*/

body{
	background-color: #d5b1b1;
	padding-bottom: 20px;
}

a{
	color: #172a88;
}

/*---breadcrumb_list--------------------------------------------------------------------*/

div#breadcrumb_list{
	padding-left: 5px;
        height:14px;
}

div#breadcrumb_list ul{
	float:left;
	padding-left:210px;
}

div#breadcrumb_list li{
	display: inline;
}

/*---header-gifu--------------------------------------------------------------------*/

div#header-gifu{
	width: 100%;
}

div#header_container-gifu{
	position: relative;
	width: 980px;
	height: 223px;
	background-image: url(./image/bg-header.jpg);
	text-align: center;
	margin: 0 auto;
}

#logo{
        position: absolute;
        left: 160px;
        top: 85px;
        width: 365px;
        height: 100px;
}

#logo a {
	height: 100px;
	display: block;
}

/*---seo control--------------------------------------------------------------------*/

div.top-page h1{
	position: absolute;top: 90px;left: 541px;
	width: 270px;
	font-size: 19px;
	line-height: 22px;
	font-weight: bold;
	text-align: left;
}

div.top-page p#lead{
	position: absolute;top: 135px;left: 541px;
	width: 270px;
	font-size: 15px;
	text-align: left;
}

div#main_topix-gifu{
	padding-left: 31px;
}

div#inner-contents-gifu{
	background-image: url(./image/bg-main-topix.jpg);
	background-repeat: repeat;
	padding: 12px;
	padding-top:55px;	
	margin-top:10px;
}



/*---footer--------------------------------------------------------------------*/

div#footer{
	width:980px;
	background-color:#FFFFFF;
	text-align:center;
	padding:12px 0;
	margin:0 auto;
}

/*---contents--------------------------------------------------------------------*/

div#contents-gifu{
	width: 980px;
	background-color: #FFFFFF;
	margin: 0 auto;
}

div#contents_container-gifu{
	float: left;
	width: 615px;
}



/*---spot-gifu--------------------------------------------------------------------*/

div#spot-gifu{
	width: 100%;
	height: 617px;
	background-image: url(./image/bg-spot.jpg);
        padding-top:45px;
}

div#spot-gifu h2{
	width: 615px;
	color: #000000;
	font-size: 22px;
	font-weight: bold;
	text-align: center;
	line-height:25px;
}

div#spot-gifu dl{
	width: 520px;
	margin: 0 auto;
	margin-top: 80px;
}

div#spot-gifu dl dt{
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

div#spot-gifu dd{
	background-image: url(./image/line-spot.jpg);
	background-position: 0 bottom;
	line-height:17px;
	padding-bottom:24px;
	margin-bottom: 15px;
}
div#spot-gifu dd a{
	text-align:right;
	display: block;
}

/*---tenshoku-gifu--------------------------------------------------------------------*/

div#tenshoku-gifu{
	width: 100%;
	height: 354px;
	background-image: url(./image/bg-tenshoku.jpg);
	padding-top: 70px;
	margin-top: 15px;
}

div#tenshoku-gifu div{
	float: left;
	width: 164px;
	height: 336px;
	padding: 0 12px;
}

div#tg-left{
	background-image: url(./image/bg-tenshoku-box1.jpg);
	margin-left: 8px;
}
div#tg-center{
	background-image: url(./image/bg-tenshoku-box2.jpg);
}
div#tg-right{
	background-image: url(./image/bg-tenshoku-box3.jpg);
}

div#tg-left h3{
	padding-top: 18px;
	padding-left: 2px;
	padding-bottom: 10px;
}

div#tg-left p{
	line-height:15px;
}

div#tg-center h3{
	padding-top: 10px;
	padding-left: 2px;
}

div#tg-center p{
	line-height:15px;
}

div#tg-right h3{
	padding-top: 10px;
	padding-left: 2px;
}

div#tg-right p{
	line-height:15px;
}

div#tenshoku-gifu div h3{
	color: #FEFEFE;
	font-size: 15px;
	font-weight: bold;
	line-height: 17px;	
}

div#tenshoku-gifu div p{
padding-top: 20px;
}

div#tenshoku-gifu div a{

float: right;
}

/*---kaibou-gifu--------------------------------------------------------------------*/

div#ninki-gifu{
	clear: both;
	width: 574px;
	height: 703px;
	background-image: url(./image/bg-ninki.jpg);
	padding-top: 75px;
	padding-left: 8px;
}

div#ninki-gifu div{
	float: left;
	width: 164px;
	height: 336px;
	padding: 0 12px;
}

div#ninki-header{
}

div#ninki-header h3{
	color: #ff0000;
	font-size: 15px;
	font-weight: bold;
	line-height: 17px;
	padding-top: 10px;
}

div#ninki-header p{
padding-top: 10px;
}

div.ninki-child{
	background-image: url(./image/bg-ninki-box.jpg);
}

div.ninki-child h3{
	color: #FEFEFE;
	font-size: 15px;
	font-weight: bold;
	line-height: 17px;
	padding-top: 18px;
}

div.ninki-child p{
padding-top: 20px;
}

div.ninki-child a{
float: right;
}


/*---side--------------------------------------------------------------------*/
#side-gifu a{
     display:block;
}

#side-gifu ul li a{
     color:#fff;
     font-weight: bold;
     width:285px;
     font-size:16px;
     height:72px;
     padding:0 40px 0 20px;
     background-image:url(image/gifu-sidetop-bg.jpg);
	display:table-cell;
	vertical-align:middle;
}

#side-gifu li ul.children li a{
     color:#762f2b;
     font-weight:500;
     width:285px;
     height:57px;
     font-size:13px;
     padding:0 50px 0 20px;
     background-image:url(image/gifu-sidekiji-bg.jpg);
	display:table-cell;
	vertical-align:middle;
}

div#side-gifu{
	float: right;
	width: 347px;
}

dl#side_menu-gifu{
	width: 306px;
}

dl#side_menu-gifu dt{
	margin-bottom: 6px;
}

dl#side_menu-gifu dt a{
	color: #FEFEFE;
	font-size: 18px;
	font-weight: bold;
	text-align: left;
	background-color: #8ec31f;
	display: block;
	padding: 12px 8px;
}

dl#side_menu-gifu dt span{
	color: #000000;
	font-size: 12px;
	display: block;
	margin-bottom: 4px;
}

dl#side_menu-gifu dd{
	background-image: url(./image/bar-side_menu.jpg);
	background-position: bottom;
	padding-bottom: 8px;
	margin-bottom: 2px;
}

dl#side_menu-gifu dd a{
        width: 306px;
	color: #000000;
	font-size: 15px;
	font-weight: bold;
	display:block;
	vertical-align: middle;
	padding: 8px 15px;
	border-left: 8px #8ec31f solid;
}

dl#side_menu-gifu dd a.nigyou{
	color: #000;
	font-size: 15px;
	font-weight: bold;
	text-align: left;
	display: block;
	padding: 3px 15px 3px;
	border-left: 8px #8ec31f solid;
}

dl#side_menu-gifu dd span{
	color: #000;
	font-size: 15px;
	font-weight: bold;
	display: block;
	margin-bottom: 4px;
}


/*---inner tags--------------------------------------------------------------------*/

div.page-inner h1{
	position:absolute;top:250px;left:0;
	width: 550px;
	background-color:#fcf7e5;
	color:#7d6414;
	font-size:18px;
	font-weight:bold;
	padding:6px 8px;
	margin-left:40px;
	margin-bottom:15px;
	border-bottom:3px #7d6414 solid;
}

h1#sitemap-title {
	position:absolute;top:275px;left:48px;
	width: 550px;
	background-color:#fcf7e5;
	color:#7d6414;
	font-size:18px;
	font-weight:bold;
	padding:6px 8px;
	margin-left:40px;
	margin-bottom:15px;
	border-bottom:3px #7d6414 solid;
}

div#inner-contents-gifu p#lead{
	text-align: left;
        padding-left:13px;
	margin-bottom:12px;
}

div#inner-contents-gifu h2{
	background-color:#f3ebca;
	color:#7d6414;
	font-size:16px;
	font-weight:bold;
	padding:6px 8px;
	margin-bottom:15px;
	border-bottom:1px #7d6414 solid;
}

div#inner-contents-gifu h3{
	color:#7d6414;
	font-size:15px;
	font-weight:bold;
	margin-bottom:15px;
	border-bottom:1px #7d6414 solid;
}

p.pb-lead{
	margin-bottom:12px;
}

ul.pb-list-gifu{
	width:100%;
	margin-bottom:30px;
}

ul.pb-list-gifu li{
	padding:6px 8px;
	border-left:8px #8fc320 solid;
	margin-bottom:6px;
}

table.pb-table-gifu{
	width:100%;
	border-collapse:collapse;
}

table.pb-table-gifu th{
	width:30%;
	background-color:#8fc320;
	color:#FEFEFE;
	font-weight:bold;
	text-align:center;
	padding:8px 8px;
	border:4px #b9e064 solid;
}

table.pb-table-gifu td{
	background-color:#fffbe9;
	padding:8px 8px;
	border-bottom:1px #a18c36 dashed;
}

/*---freespace--------------------------------------------------------------------*/

p.pspacetyosei{
        margin-top:15px;
        margin-bottom:15px;
}

.komokusuzikyotyo{
      font-size:15px;
      color:#336600;
      font-weight:bold;
}

.komokudaikyotyo{
      font-size:15px;
      color:#FF6666;
      font-weight:bold;
}

.koromozikyotyo{
      font-weight:bold;
}

.daikomoku{
	background-color:#f3ebca;
	color:#7d6414;
	font-size:16px;
	font-weight:bold;
	padding:6px 8px;
	margin-bottom:15px;
	border-bottom:1px #7d6414 solid;
}

.mozicolormark{
       background:#ffcccc;
}

.akazikyotyo{
      color:#ff0000;
}
.tar{
      text-align: right;
}
.tartop{
        margin-right:40px;
      text-align: right;

}

.tal{
      text-align: left;
}

.tac{
      text-align: center;
}

.clearb{
        clear:both;
        padding-top:20px;
}

.vam{
      vertical-align: middle;
}

.vab{
      vertical-align: bottom;
}

img.hidaridume{
      float:left;
      margin-right:10px;
      margin-bottom:10px;
}

img.migidume{
      float:right;
      margin-left:10px;
      margin-bottom:10px;
}

table.pb-table-ranking{
	width:550px;
	border-collapse:collapse;
}

table.pb-table-ranking th{
	width:200px;
	background-color:#8fc320;
	color:#FEFEFE;
	font-weight:bold;
	text-align:center;
	padding:8px 8px;
	border-bottom:1px #FEFEFE dashed;
}

table.pb-table-ranking td{
        color:#FF9933;
        font-size:20px;
	background-color:#fffbe9;
	text-align:center;
	padding:8px 8px;
	border-bottom:1px #a18c36 dashed;
}

table.pb-table-tigai{
	width:100%;
	border-collapse:collapse;
}

table.pb-table-tigai th{
        font-size:12px;
	width:70px;
	background-color:#8fc320;
	color:#FEFEFE;
	font-weight:bold;
	text-align:center;
	padding:8px 8px;
	border-bottom:1px #FEFEFE dashed;
}

table.pb-table-tigai td{
        font-size:11px;
	background-color:#fffbe9;
	text-align:center;
	padding:8px 8px;
	border-bottom:1px #a18c36 dashed;
}

.kakomi{

        border: 4px dotted #8fc320;
	padding:8px 8px;
        margin-top:20px;
        margin-bottom:20px;
}

.komokusuzikyotyo a.zubalink {
	font-size: 15px;
	color: #336600;
	font-weight: bold;
	text-decoration: none;
}

/* タブレット */
@media screen and (max-width: 959px) {
	* {
		box-sizing:border-box;
	}
	
	body {
		background-color: #fff;
	}
	
	div#header_container-gifu {
		width: 800px;
		height: 182px;
		background-size: 800px;
	}
	
	#logo {
		width: 294px;
		top: 66px;
		left: 134px;
	}
	
	#logo a {
		height: auto;
	}
	
	div.top-page h1 {
		left: 430px;
	}
	
	div.top-page p#lead {
		top: 125px;
		left: 430px;
	}
		
	div#contents-gifu{
		width: 800px;
	}
	
	div#contents_container-gifu {
		width: calc(100% - 303px);
	}
	
	div#spot-gifu {
		height: auto;
		padding-bottom: 30px;
		background-position: right -15px;
		background-size: 100% 100%;
	}
	
	div#spot-gifu h2 {
		width: 100%;
		position: relative;
		top: -30px;
	}
	
	div#spot-gifu dl {
		width: 100%;
		padding: 0 20px;
	}
	
	div.page-inner h1 {
		width: 56%;
		top: 200px;
		left: 40px;
		margin: 0;
	}
	
	table.pb-table-ranking {
		width: 100%;
	}
	
	table.pb-table-ranking th {
		width: 25%;
	}
	
	div#side-gifu {
		width: 283px;
	}
	
	div#side-gifu > a img {
		width: 100%;
		height: auto;
	}
	
	div#side-gifu ul {
		width: 250px;
	}
	
	div#tenshoku-gifu {
		height: auto;
		display: flex;
		align-items: stretch;
		justify-content: space-around;
		padding: 70px 10px 20px 10px;
		background-size: 100% 100%;
	}
	
	div#tenshoku-gifu div {
		width: 31%;
		height: auto;
		padding: 0 12px 10px;
	}
	
	div#tg-left {
		background-size: 100% 100%;
		margin-left: 0;
	}
	
	div#tg-center,
	div#tg-right {
		background-size: 100% 100%;
	}
	
	div#ninki-gifu {
		width: 100%;
		height: auto;
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: space-around;
		background-size: 100% 100%;
		padding: 90px 10px 20px 10px;
	}
	
	div#ninki-gifu div {
		width: 31%;
		height: auto;
		padding: 0 12px 10px;
		margin-bottom: 10px
	}
	
	div.ninki-child {
		background-size: 100% 100%;
	}
		
	div#footer{
		width: 100%;
	}
		
}

@media screen and (max-width: 799px) {
	div#header_container-gifu {
		width: 600px;
		height: 137px;
		background-size: 600px;
	}

	#logo {
		width: 223px;
		height: 68px;
		top: 52px;
		left: 99px;
	}
	
	div.top-page h1 {
		top: 64px;
		font-size: 14px;
		left: 327px;
	}
	
	div.top-page p#lead {
		width: 166px;
		top: 89px;
		left: 326px;
		font-size: 12px;
	}
	
	div#contents-gifu {
		width: 600px;
	}

	div#contents_container-gifu {
		width: calc(100% - 222px);
	}
	
	div#spot-gifu {
		background-image: none;
		background-color: #f2e9ca;
	}
	
	div#spot-gifu::before {
		content:'病院と周辺スポット';
		width: 100%;
		display: block;
		font-size: 22px;
		font-weight: bold;
		color: #fff;
		text-shadow: 3px 3px 2px #000000, -3px 3px 2px #000000, 3px -3px 2px #000000, -3px -3px 2px #000000, 3px 0px 2px #000000, 0px 3px 2px #000000, -3px 0px 2px #000000, 0px -3px 2px #000000;
		text-align: center;
		position: relative;
		top: 40px;		
	}
	
	div#spot-gifu dl {
		width: calc(100% - 40px);
		padding: 20px 15px;
		background-color: #fff;
		border-top: 5px dashed #f2e9ca;
		margin-top: 40px;
	}
	
	div#tenshoku-gifu {
		position: relative;
		flex-direction: column;
		background-image: none;
		background-color: #f2e9ca;
	}
	
	div#tenshoku-gifu::before {
		content:'看護師転職サイトを直撃!!';
		width: 95%;
		display: block;
		font-size: 22px;
		font-weight: bold;
		color: #fff;
		text-shadow: 3px 3px 2px #000000, -3px 3px 2px #000000, 3px -3px 2px #000000, -3px -3px 2px #000000, 3px 0px 2px #000000, 0px 3px 2px #000000, -3px 0px 2px #000000, 0px -3px 2px #000000;
		text-align: center;
		position: absolute;
		top: 35px;		
	}	
	
	div#tenshoku-gifu div {
		width: 100%;
		float: none;
		padding: 15px
	}
	
	div#tg-center {
		margin: 10px auto;
	}
	
	div#tenshoku-gifu div h3 {
		padding-top: 0;
		text-shadow: 2px 2px 0px #000, -2px 2px 0px #000, 2px -2px 0px #000, -2px -2px 0px #000, 2px 0px 0px #000, 0px 2px 0px #000, -2px 0px 0px #000, 0px -2px 0px #000;
	}
	
	div#tenshoku-gifu div h3 br {
		display: none;
	}
	
	div#ninki-gifu {
		position: relative;
		flex-direction: column;
		background-image: none;
		background-color: #f2e9ca;
		padding-top: 70px;
		margin-top: 15px;
	}
	
	div#ninki-gifu::before {
		content:'人気の医療転職サイトをスバリ解剖!!';
		width: 95%;
		display: block;
		font-size: 19px;
		font-weight: bold;
		color: #fff;
		text-shadow: 3px 3px 2px #000000, -3px 3px 2px #000000, 3px -3px 2px #000000, -3px -3px 2px #000000, 3px 0px 2px #000000, 0px 3px 2px #000000, -3px 0px 2px #000000, 0px -3px 2px #000000;
		text-align: center;
		position: absolute;
		top: 35px;		
	}	
	
	div#ninki-gifu div {
		width: 100%;
	}
	
	div.ninki-child h3 br {
		display: none;
	}
	
	div.page-inner h1 {
		width: 55%;
		top: 154px;
		left: 40px;
		font-size: 14px;
	}
	
	table.pb-table-ranking td img {
		width: 120px;
		height: auto;
	}

	table.pb-table-ranking th {
		width: 50%;
	}	
	
	div#side-gifu {
		width: 212px
	}
	
	div#side-gifu ul {
		width: 187px;
	}
	
	#side-gifu ul li a {
		font-size: 14px;
		padding: 10px;
	}
	
	#side-gifu li ul.children li a {
		padding: 10px;
		background-size: 100% 100%;
	}
	
}


@media screen and (max-width: 599px) {
	div#header_container-gifu {
		width: 480px;
		height: 109px;
		background-size: 480px;
	}
	
	div#contents-gifu {
		width: 480px;
	}
	
	div#contents_container-gifu {
		width: calc(100% - 180px);
	}
	
	#logo {
		width: 181px;
		height: 57px;
		top: 41px;
		left: 78px;
	}
	
	div.top-page h1 {
		width: 129px;
		top: 43px;
		left: 264px;
		font-size: 12px;
		line-height: 1.2;
	}
	
	div.top-page p#lead {
		width: 136px;
		top: 75px;
		left: 264px;
		font-size: 10px;
		line-height: 1.2;
	}
	
	div#spot-gifu h2 {
		top: -45px;
		font-size: 18px;
	}
	
	div#spot-gifu::before {
		top: 15px;
	}
	
	div#tenshoku-gifu::before {
		font-size: 21px;
		top: 25px;
	}
	
	div#ninki-gifu::before {
		width: 92%;
		font-size: 21px;
		top: 17px;
		line-height: 1.3;
	}
	
	div#spot-gifu dl {
		margin-top: 20px;
	}
	
	div#tenshoku-gifu div {
		padding-top: 10px;
	}
	
	div#tenshoku-gifu div h3 br + br {
		display: initial;
	}
	
	div.ninki-child h3 {
		padding-top: 10px;
	}
	
	div.page-inner h1 {
		width: 54%;
		top: 123px;
		left: 35px;
		font-size: 13px;
		line-height: 1.3;
	}
	
	img.hidaridume,
	img.migidume {
		width: 60%;
		height: auto;
	}
	
	ul.pb-list-gifu + p.pspacetyosei {
		padding: 6px 8px;
		border-bottom: 1px #7d6414 solid;
		background-color: #f3ebca;
	}
	
	.daikomoku {
		padding: 0;
		background-color: initial;
		border-bottom: none;
		margin-bottom: 0;
	}
	
	div#side-gifu {
		width: 170px;
	}
	
	div#side-gifu ul {
		width: 150px;
	}
	
	#side-gifu ul li a {
		height: auto;
		background-size: 100% 100%;
	}
	
}


/* スマートフォン */
@media screen and (max-width: 480px) {
	div#header_container-gifu {
		width: 90%;
		height: 121px;
		background-image: none;
		background-color: #eadeb0;
		background-size: 136%;
		background-position: -24px top;
	}

	div.top-page h1 {
		width: 90%;
		top: 5px;
		left: 10px;
	}

	div.top-page p#lead {
		width: 90%;
		top: 20px;
		left: 10px;
	}
	
	#logo {
		width: 220px;
		height: auto;
		position: relative;
		top: 41px;
		left: 0;
		overflow: hidden;
		margin: 0 auto;
	}
	
	#logo a {
		width: 135%;
		height: auto;
		content: url(http://www.vonnegutweb.com/wp-content/themes/gifu/image/bg-header.jpg);
		position: relative;
		left: -12px;
	}

	div#contents-gifu {
		width: 90%;
		margin: 15px auto;
	}
	
	div#contents_container-gifu {
		width: 100%;
		float: none;
	}
	
	div#main_topix-gifu {
		padding-left: 0;
	}
	
	div.page-inner h1 {
		width: 100%;
		top: 143px;
		left: 0;
		font-size: 12px;
	}
	
	div#side-gifu {
		width: 80%;
		max-width: 285px;
		float: none;
		margin: 40px auto;
	}
	
	#side-gifu a {
		width: 100%;
		max-width: 285px;
		height: auto;
	}
	
	#side-gifu > a::before {
		content: 'TOPページ';
	}
	
	div#side-gifu > a img {
		display: none;
	}
	
	div#side-gifu ul {
		width: 100%;
		max-width: 285px;
	}

	
	
	
}