/*-------------------- ヘッダー --------------------*/
/* 枠 */
#header {
    border-bottom: 1px solid #000;
}

#menu {
    width: 1240px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ロゴ */
#menu h1 {
    float: left;
}

/* メニュー */
#menu ul {
    display: flex;
    float: right;
    padding-top: 10px;
    list-style: none;
}

#menu ul li {
    display: inline-block;
    padding-left: 2em;
    font-size: 18px;
    font-family: Futura, 'Century Gothic';
    font-weight: 900;
}

#menu ul li a {
    color: #000;
    text-decoration: none;
}

#menu ul li a:hover {
    color: #444;
    text-decoration: none;
}


/*-------------------- 本文設定 --------------------*/
.section {
    text-align: left;
}

.section h3 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-size: 18px;
    font-family: 'Kosugi', sans-serif;
    font-weight: 900;
}

.section h4 {
    margin-top: 1em;
    font-size: 16px;
    font-family: 'Kosugi', sans-serif;
    font-weight: 600;
}

.section ul {
    margin: 1em 2em;
}

.section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.section th,
.section td {
    padding: 10px 20px;
    border-bottom: 1px solid #dadada;
}

.section th {
    width: 13em;
    text-align: left;
    vertical-align: text-top;
}

.section td ul {
    list-style-type: none;
}

.section td li {
    float: left;
    width: 33.3%;
}

.aligncenter {
    display: block;
    margin: 1em auto;
}

/*-------------------- 京阪グリーンの強み --------------------*/
#strength {
    display: flex;
    flex-wrap: wrap;
}

#strength dt {
    width: 150px;
    padding: 30px 0 50px 0;
}

#strength dd {
    width: 850px;
    padding: 0 0 50px 80px;
}

#strength dd h3 {
    margin-top: 0;
}

#strength dd h4 {
    margin-bottom: 0.75em;
    font-size: 16px;
    font-family: 'Kosugi', sans-serif;
    font-weight: 900;    
}

#strength dd ul {
    margin-bottom: 1em;
    list-style: none;
}

#strength dd li {
    float: left;
    width: 385px;
}

/*-------------------- 業務内容 --------------------*/
#service-list ul {
    list-style: none;
}

#service-list ul li {
    float: left;
    width: 320px;
    margin-right: 20px;
    padding-top: 3em;
    text-align: left;
}

#service-list ul li:nth-child(3n) {
    margin: 0;
}

#service-list ul li a {
    color: #000;
    text-decoration: none;
}

#service-list ul li a:hover {
    color: #444;
}

#service-list ul li a:hover img {
    opacity: 0.75;
}

#service-list ul li h3 {
    margin: 0.5em 0;
    padding: 0 15px;
    font-size: 18px;
    font-family: 'Kosugi', sans-serif;
    font-weight: 900;
}

#service-list ul li p {
    padding: 0 15px;
}


/*-------------------- 各業務内容 --------------------*/
#service h3 {
    position: relative;
    display: inline-block;
    margin: 40px 0;
    padding: 0 45px;
    font-size: 24px;
    font-weight: 400;
}

#service h3:before, #service h3:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: black;
    -webkit-transform: rotate(-60deg);
    transform: rotate(-60deg);
}

#service h3:before { left:0; }
#service h3:after { right: 0; }

#service h4 {
    position: relative;
	padding-bottom: 20px;
    margin: 40px 0 20px 0;
    font-size: 24px;
    font-weight: 400;
}

#service h4:nth-of-type(2) {
    margin-top: 80px;
}

#service h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 6px 0 6px;
	border-color: #333333 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);
}

#service ul {
    list-style: none;
}

#service ul li {
    float: left;
    width: 235px;
    margin-right: 20px;
    padding-top: 3em;
    text-align: left;
}

#service ul li:nth-child(4n) {
    margin: 0;
}

#service ul li a {
    color: #000;
    text-decoration: none;
}

#service ul li a:hover {
    color: #444;
}

#service ul li a:hover img {
    opacity: 0.75;
}

#service ul li h5 {
    margin: 0.5em 0;
    padding: 0 15px;
    font-size: 18px;
    font-family: 'Kosugi', sans-serif;
    font-weight: 900;
}

#service ul li p {
    padding: 0 15px;
}



/*-------------------- 会社案内 --------------------*/
.company td ul {
    margin: 0;
    padding: 0;
}

.accessmap {
    width: 100%;
    height: 350px;
    margin-top: 20px;
    /*margin-bottom: -50px;*/
    border: none;
}


/*-------------------- ページ送り --------------------*/
.wp-pagenavi {/* 全体 */
    margin: 20px 0;
    font-size: 14px;
}
.wp-pagenavi a {/* フォント色 */
    color: #000;
    text-decoration: none;
}
.pages {/* 左の表記 */
    margin-right: 20px;
}
.wp-pagenavi .current,
.wp-pagenavi a.page {/* ボタン */
    margin: 0 6px 6px 0;
    display: inline-block;
    border: solid 1px #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
}
.wp-pagenavi .current {/* カレント数字 */
    border: none;
    background: #000;
    color: #fff;
}
.wp-pagenavi a.page:hover {/* マウスオーバー */
    background: #000;
    color: #fff;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {/* ... */
    margin-right: 10px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {/* 記号の削除 */
    display: none;
}


/*-------------------- 施工実績一覧 --------------------*/
#works-list h3 {
    position: relative;
    display: inline-block;
    margin: 0 0 20px 0;
    padding: 0 45px;
    font-size: 24px;
    font-weight: 400;
}

#works-list h3:before, #works-list h3:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: black;
    -webkit-transform: rotate(-60deg);
    transform: rotate(-60deg);
}

#works-list h3:before { left:0; }
#works-list h3:after { right: 0; }

#works-list .section {
    text-align: center;
}

#works-list ul {
    list-style: none;
    margin: 0!important;
}

#works-list ul li {
    float: left;
    width: 235px;
    height: 400px;
    margin-right: 20px;
    padding-top: 3em;
    text-align: left;
}

#works-list ul li:nth-child(4n) {
    margin: 0;
}

#works-list ul li a {
    color: #000;
    text-decoration: none;
}

#works-list ul li a:hover {
    color: #444;
}

#works-list ul li a:hover img {
    opacity: 0.75;
}

#works-list ul li h4 {
    margin: 0.5em 0;
    padding: 0 15px;
    font-size: 18px;
    font-family: 'Kosugi', sans-serif;
    font-weight: 900;
}

#works-list ul li p {
    padding: 0 15px;
}


/*-------------------- 施工事例詳細 --------------------*/
.works h3 a {
    margin-left: 1em;
    padding: 0.25em;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    font-weight: 300;
    border: 1px solid #000;
    border-radius: 5px;
}

.works h3 a:hover {
    color: #fff;
    background-color: #333;
}

.slider {
    margin: 0!important;
}

.slider li {
    text-align: center;
}

.slider li img {
    margin: 0 auto 20px auto;
}

.slider + div {
    padding: 1em;
}

/* BeforeAfter */
.beforeafter {
    list-style: none;
    width: 100%;
    font-size: 0;
    clear: both;
}

.beforeafter li {
    display: inline-block;
    position: relative;
    font-family: serif;
    font-weight: bold;
}

.beforeafter li a:hover {
    text-decoration: none;
}

.before { width: 40%; font-size: 28px; color: forestgreen; text-align: left; }
.after { width: 60%; font-size: 36px; color: firebrick; text-align: right; }

.beforeafter li p {
    margin-bottom: 0;
}

.before img {
    width: auto;
    height: auto;
    max-width: 95%;
    margin: 0 auto;
}

.after img {
    width: auto;
    height: auto;
    max-width: 80%;
    margin: 0 auto;
}

/*-------------------- ブログ一覧 --------------------*/
.blog-list h3 {
    position: relative;
    display: inline-block;
    margin: 0 0 20px 0;
    padding: 0 45px;
    font-size: 24px;
    font-weight: 400;
}

.blog-list h3:before, .blog-list h3:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: black;
    -webkit-transform: rotate(-60deg);
    transform: rotate(-60deg);
}

.blog-list h3:before { left:0; }
.blog-list h3:after { right: 0; }

.blog-list .section {
    text-align: center;
}

.blog-list .section ul {
    list-style: none;
    margin: 0!important;
}

.blog-list .section ul li {
    float: left;
    width: 235px;
    height: 400px;
    margin-right: 20px;
    padding-top: 3em;
    text-align: left;
}

.blog-list .section ul li a {
    color: #000;
    text-decoration: none;
}

.blog-list .section ul li a:hover {
    color: #444;
}

.blog-list .section ul li a:hover img {
    opacity: 0.75;
}

.blog-list .section ul li h4 {
    margin: 0.5em 0;
    padding: 0 15px;
    font-size: 18px;
    font-family: 'Kosugi', sans-serif;
    font-weight: 900;
}

.blog-list .section ul li p {
    padding: 0 15px;
}



/*-------------------- ブログ詳細 --------------------*/
.blog .section,
.blog-list .section{
    float: left;
    width: 765px;
}

.sidebar {
    width: 150px;
    margin-left: 850px;
}

.sidebar dt {
    font-size: 16px;
    font-family: Futura, 'Century Gothic';
    font-weight: 900;
}

.sidebar dd {
    padding: 1em 0 2em 0;
}

.sidebar dd ul {
    text-align: left;
    list-style: none;
}

.sidebar dd a {
    color: #000;
    text-decoration: none;
}

.bloginfo {
    font-size: 12px;
    padding: 0.5em 0;
    border-top: 1px dashed #000;
    text-align: right;
}

.bloginfo a {
    color: #000;
    text-decoration: none;
}