@charset "utf-8";

/* style */
body,td,th {
	font-size: small;
	line-height: 140%;
	font-weight: normal;
}
body {
	padding: 0px;
	margin: 0px;
}
h1,h2,h3,h4,h5,h6,form,ol,ul,li,hr,dl,dt,dd,address,em {
	margin: 0px;
	padding: 0px;
}
img {
	border:0px;
}
em {
	font-style: normal;
	font-weight: bold;
}
table {
	margin: 0px;
	padding: 0px;
	empty-cells: show;
	font-size: 100%;
	rules: all;
	border-collapse:collapse;
}
tr,th,td {
	text-align: left;
}
li {
	list-style-type: none;
}
p {
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 8px;
	padding-left: 0px;
}
a {
	font-weight: normal;
	color: #1D3994;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #810081;
}
a:active {
	text-decoration: none;
}
address {
	font-style: normal;
	font-weight: normal;
}
.red {
	color: #E20029;
}
.green {
	color: #66992d;
}

/* container */
#container {
	margin: 0px;
	padding: 0px;
	width: 600px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
#container:after{
	content:".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* header */
#header {
	background-image: url(../img/safety_plan/window_line.gif);
	background-repeat: repeat-x;
	background-position: bottom;
}
#header h1 {
	text-align: right;
}
#header h1 a {
	font-size: 10px;
	color: #a4a4a4;
	font-weight: normal;
}

/* main */
h2 {
	font-size: medium;
	color: #2897D7;
	padding-top: 20px;
	background-image: url(../img/safety_plan/w_h2_bg.gif);
	background-repeat: repeat-x;
}
.main-box {
	clear: both;
	margin-bottom: 20px;
	margin-top: 20px;
	padding-right: 10px;
	padding-left: 10px;
}
h3 {
	background-image: url(../img/safety_plan/w_h3_bg.gif);
	background-repeat: no-repeat;
	font-size: 12px;
	color: #FFF;
	height: 24px;
	width: 565px;
	margin-bottom: 10px;
	padding-top: 7px;
	padding-left: 15px;
}
.main-box table {
	width: 580px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #99A1AA;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #99A1AA;
	margin-bottom: 10px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #99A1AA;
}
.main-box th {
	background-color: #99A1AA;
	font-size: x-small;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #FFF;
}
.w-th-l {
	border-right-width: 1px;
	border-right-style: dotted;
	border-right-color: #FFF;
}
.main-box td {
	padding: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #99A1AA;
}
.w-td-l {
	border-right-width: 1px;
	border-right-style: dotted;
	border-right-color: #99A1AA;
}
.icon-name {
	font-weight: bold;
	color: #2897D7;
}

/* footer */
#footer {
	background-image: url(../img/window_line.gif);
	background-repeat: repeat-x;
	font-size: 10px;
	color: #99A1AA;
	text-align: center;
	padding-top: 15px;
}

.small-font {
	font-size: 10px;
}
.b-10 {
	margin-bottom: 10px;
}

/* スマホ用 */
@media screen and (max-width: 560px) {
  h2 {
    font-size: 1.7em;
    width: 98%;
    height: 3vw;
    padding: 3% 0% 0 2%;
  }
  h3 {
    background-size: cover;
    font-size: 1.7em;
    height: 9vw;
    width: 95%;
    padding: 17px 0 0 5%;
    margin: 2% 0 2% 0;
  }
  .main-box th {
    width: 100%;
    font-size: 1.7em;
    font-weight: bold;
    text-align: center;
    padding: 2% 0 2% 0;
  }
  p {
    font-size: 1.5em;
    line-height: 1.5em;
    width: 96%;
    padding: 1% 2% 3%;
  }
}