<?php
global $page, $paged, $depth;

preg_match_all('|/|', $_SERVER["REQUEST_URI"], $matches, PREG_SET_ORDER);
$depth = count($matches);
$depth = str_repeat('../', $depth-2);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="keywords" content="検索キーワード" />
<meta name="description" content="概要を説明する文章" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="css/seting.css" rel="stylesheet" type="text/css" />
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/font.css" rel="stylesheet" type="text/css" />
<link href="css/flexslider.css" rel="stylesheet" type="text/css" />
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<!--#set var="group" value="index" -->
<?php wp_head(); ?>
<title><?php wp_title(' | ', true, 'right'); ?> <?php bloginfo('name'); ?> - 大阪大学未来研究イニシアティブ・グループ支援事業</title>
</head>
<body <?php body_class(); ?>>
<div id="wrapper">
	<!-- ヘッダー -->
    <?php require($depth . "lib/header.html");?>
	<!-- /ヘッダー -->
