@charset "utf-8";

@import "common.css";

body {
	font-size: 16px;
	color: #333333;
	background-color: #fff;
	font-weight: 500;
	letter-spacing: 0.05em;
}

a:link, a:visited {
	color: #0066CC;
	text-decoration: underline;
}

a:hover {
	color: #FF0000;
	text-decoration: underline;
}

#wrapper {
	padding: 0 10px;
	width: 100%;
	overflow: hidden;
}

.headerbg{
    margin: 0 -20px;
} 

header#top {
	width: 100%;
	background-image: url(../img/bg-header.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 1200px;
}

header#top a {
	height: 120px;
	background: url(../img/img-header.png) no-repeat calc(50% + 120px) center/68px 100px;
}

header#top h1 {
    background: url(../img/title-header.png) no-repeat calc(50% - 35px) center/240px 91px;
}


#breadcrumb {
	font-size: 12px;
	margin: 0 -10px 40px;
	padding: 10px;
}


#totop {
	font-size: 12px;
	text-align: center;
	margin: 20px auto;
	line-height: 6;
}

footer#bottom {
	font-size: 12px;
	text-align: center;
	color : #fff;
	margin: 0 -20px;
}

footer#bottom p {
	padding: 20px 20px;
	line-height: 1.3;
	color : #333;
}

footer#bottom ul {
	margin: 0 auto 10px;
	display: table;
}

footer#bottom li {
	float: left;
}



/* main */

#home #main {
	padding-top: 10px;
}

#main .h1-title {
    padding: 0.5em 20px 1.5em;
}

#main h1 {
	font-size: 1.25em;
    border-bottom: 4.2px double #e7e7e7;
    padding-bottom: 0.1em;
    display: inline;
    line-height: 2;
}

#main #h1-block{
    margin: 3px -10px;
}

#main #h1-block img{
    width: 84px;
}

.h1-img{
    width: 168px;
	height: 121px;
	border-radius: 10px;
	padding-top: 6px;
}

.h1-img:before {
 width: 90%;
 height: 85%;
}

#main #h1-block p {
    padding: 0.5em 20px 1.5em;
}

#main h2 {
	font-size: 1.12em;
    color: #333;
    margin: 30px 0;
    padding: 0.5em 0;
	border-bottom: solid 4px #eee;
	position: relative;
}

#main h2:after {
    position: absolute;
	content: "";
	display: block;
    border-bottom: solid 4px #c21b2f;
    bottom: -4px;
    width: 30%;
}

#main h3 {
	font-size: 18px;
	color: #000000;
	margin: 2em 0 1em 0;
	padding: 0.25em 0.5em;
	border-left: solid 4px #c21b2f;
	
}

#main h4 {
	font-size: 18px;
	color: #000000;
	margin-bottom: 20px;
}


#main .topimg-box {
    width: 100%;
	border-left: 1px solid #959595;
    border-right: 1px solid #959595;
}

#main .fadein {
    opacity: 0;
    transition: all 1s;
    transform: translateY(30px);
    -webkit-transform: translateY(30px);
}


#main .fade_on {
    opacity: 1!important;
    transform: translateY(0px)!important;
    -webkit-transform: translateY(0px)!important;
}

#main .topnav-img {
    width: 300px;
    margin: 0 auto;
    display: block;
    padding-bottom: 20px;
}


#main img {
	margin: 0 auto;
}

#main p {
	line-height: 1.8;
	padding: 0 10px 0.5em;
	border-left: 1px solid #959595;
	border-right: 1px solid #959595;
}

#main p strong{
    background: linear-gradient(transparent 60%, #ffff66 60%);
}

#main p[class="sankou"] {
    padding: 1em 10px;
    border: none;
}

#main nav ul {
	font-size: 1em;
	margin: 20px 0 20px 0;
	font-weight: bold;
}

#main ol {
	font-size: 14px;
	margin-bottom: 20px;
}

#main nav * > li {
	margin: 0 0 1.5em 1.5em;
}

#main ul li {
	list-style-type: disc;
}

#main ul li a{
    text-decoration: none;
}

#main ol li {
	list-style-type: decimal;
}

#main .p-list {
    border-left: 1px solid #959595;
    border-right: 1px solid #959595;
    padding-left: 40px;
}

#main .p-list li:first-child {
    padding-top: 0.5em;
}

#main .p-list li {
    padding-bottom: 1em;
}

#main .p-list li:last-child {
    padding-bottom: 1em;
}

#main dl {
	border: 1px solid #CCCCCC;
	padding: 20px 20px 50px 20px;
	margin-bottom: 20px;
}

#main dt {
	border-bottom: 2px dotted #ccc;
	margin: 14px 14px 3px 14px;
	font-weight: bold;
	font-size: 16px;
}

#main dd {
	font-size: 13px;
	margin: 3px 14px 30px 14px;
}

#main dd:last-child {
	margin-bottom: 0;
}

#main blockquote {
	background-color: #F7F7F7;
	border: 1px solid #DDDDDD;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	padding: 10px;
	margin-bottom: 20px;
}

#main blockquote p {
	font-size: 14px;
	margin-bottom: 10px;
}

#main blockquote cite {
	font-size: 13px;
}

#main table {
	border: 3px solid #138a51;
	font-size: 13px;
	margin: 50px auto 0;
	width: 100%;
	table-layout: fixed;
}

#main table caption {
	font-weight: bold;
    margin-bottom: 1em;
    font-size: 1.2em;
    text-align: center;
}

#main table tr {
	border-bottom: 2px solid #cdcdcd;
}

#main table tr:last-child {
	border-bottom: none;
}

#main table th {
	text-align: center;
	font-weight: bold;
	vertical-align: middle;
	border-bottom: 2px solid #cdcdcd;
	line-height: 1.8;
	position: relative;
}

#main table[class="toptable"] th {
	padding: 6.5em 0 0.5em;
}

#main table .tb-fin:before{
    position: absolute;
	content: "";
    background: url(../img/finpecia.png) no-repeat 50% 50%/63px;
    width: 100%;
    height: 100%;
    top: -3em;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#main table .tb-pro:before{
    position: absolute;
	content: "";
    background: url(../img/propecia.png) no-repeat 50% 50%/63px;
	width: 100%;
    height: 100%;
    top: -2.5em;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#main table th span {
    display: block;
	font-size: 0.8em;
}

#main table th:first-child {
	border-right: 2px solid #cdcdcd;
}

#main table td {
    line-height: 1.8;
	padding: 4px;
	text-align: center;
	vertical-align: middle;
}

#main table td:first-child {
	border-right: 2px solid #cdcdcd;
}

#main table .tb-price{
    font-size: 1.3em;
	margin-right: 0.1em;
}

#main table a {
	display: block;
}

#main > *:last-child { margin-bottom: 0; }

#main hr {
	margin: 70px;
}

#main .comment {
	background-color: #fff9a7;
	border-radius: 8px;
	padding: 8px;
	margin: 1.5em 0;
}

#main .comment p {
	font-size: 12px !important;
	margin-bottom: 6px;
	border: none;
}

#main .comment p:first-child {
	font-weight: bold;
	font-size: 13px !important;
}


/* sub（下にある記事一覧） */

#sub {
	margin: 0 -10px;
}

#sub .menu h2 {
	font-size: 1.125em;
	background-color: #eee;
    color: #138a51;
	padding: 22px 22px 20px 100px;
	min-height: 100px;
    box-sizing: border-box;
	position: relative;
	display: table;
    line-height: 1.8;
    width: 100%;
}

#sub .menu h2 span{
	display: table-cell;
	vertical-align: middle;
}


#sub .menu h2:before {
    position: absolute;
	content: "";
	background: url(../img/finpecia.png) no-repeat 50% 50%/42px;
    width: 70px;
    height: 70px;
    top: 0;
    bottom: 0;
    left: 12.5px;
    margin: auto;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #333;
	box-sizing: border-box;
}

#sub .menu ul {
	background-color: #138a51;
	color: #fff;
}


#sub .menu li {
	font-size: 1em;
	position: relative;
	display: table;
	width: 100%;
}

#sub .menu li:before {
    position: absolute;
    content: "";
    border-bottom: 1px solid #b5b5b5;
    width: 90%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
}

#sub .menu li:last-child:before {
	border-bottom: none;
}

#sub .menu li span {
	padding: 0.8em 35px 0.8em 1.5em;
    display: table-cell;
    vertical-align: middle;
    font-weight: bold;
    height: 3.6em;
    line-height: 1.8;
	position: relative;
	z-index: 1;
}

#sub .menu li span:before {
	position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 1px);  /* borderとのズレ解消 */
    background-color: #0E663C;
    top: 0;
    left: 0;
	z-index: -1;
}


#sub .menu li a {
	padding: 0.8em 35px 0.8em 1.5em;
    display: table-cell;
    vertical-align: middle;
    font-weight: bold;
    height: 3.6em;
    line-height: 1.8;
	position: relative;
}

#sub .menu li a:before{
    display: block;
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    right: 15px;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    background: #fff;
}

#sub .menu li a:after{
    display: block;
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    right: 20px;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    background: #138a51;
}

#sub .menu li a:link, #sub .menu li a:visited {
	color: #fff;
	text-decoration: none;
}



/* nav(上にあるページ内アンカー) */
nav {
	margin: 50px auto;
	padding: 2em;
	width: 80%;
	border: solid 3px #333;
    background-color: #eee;
	position: relative;
}

nav ul li{
	font-weight: bold;
}

nav ul li ul li {
	font-size: 14px;
	margin: 0 0 4px 30px !important;
	font-weight: normal;
}

#main nav p {
	text-align: center;
	padding: 0;
}

.more {
    border: 2px solid #959595;
	text-align: center;
    padding: 0.5em 1em;
    width: 60%;
    margin: 0 auto;
    border-radius: 3px;
	background-color: #e0efe8;
}

.mokuji {
    position: absolute;
	background-color: #138a51;
	text-align: center;
    line-height: 4em;
	border-radius: 50%;
	width: 4em;
	height: 4em;
	font-size: 1em;
	font-weight: bold;
	color: #fff;
	top: -2em;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* linear nav */

#linear-nav {
    
}

#linear-nav ul {
    
}

#linear-nav ul li {
    display: block;
}

#linear-nav ul li[class="next-link"] {
    background-color: #c21b2f;
	margin: 0 2em 1em 0;
	box-shadow: -3px 3px 2px rgba(0, 0, 0, 0.25);
}

#linear-nav ul li[class="next-link"]:active {
    background-color: #c21b2f;
	margin: 0 2em 1em 0;
	-webkit-transform: translate(-3px,3px);
    transform: translate(-3px,3px);
	box-shadow: none;
}

#linear-nav ul li[class="prev-link"] {
	background-color: #dcdcdc;
	margin: 0 0 1em 2em;
}

#linear-nav ul li[class="next-link"] a{
    color: #fff;
	padding: 0.5em;
}

#linear-nav ul li[class="prev-link"] a{
    color: #333;
	padding: 0.5em;
}

#linear-nav ul li[class="next-link"] a:before{
    position: absolute;
	content: "";
	height: 100%;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 40px solid #c21b2f;
    right: -40px;
    box-sizing: border-box;
    top: 0;
}

#linear-nav ul li[class="prev-link"] a:before{
    position: absolute;
	content: "";
	height: 100%;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-right: 40px solid #dcdcdc;
    left: -40px;
    box-sizing: border-box;
    top: 0;
}

#linear-nav ul li a {
    display: table;
	position: relative;
	text-decoration: none;
	height: 80px;
	width: 100%;
	box-sizing: border-box;
}

#linear-nav ul li a span{
    display: table-cell;
	vertical-align: middle;
	font-size: 15px;
}