@charset "utf-8";
/*
Theme Name: 株式会社ヨシカワ
Theme URI: 
Description: 
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}
body {
    line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}
ol, ul {
    list-style: none;
}
blockquote {
    quotes: none;
}
blockquote:before, blockquote:after {
    content: '';
    content: none;
}
del {
    text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a img {
    border: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/*	アンドロイドver4のバグ回避CSS
===============================================================*/

p {background-image:url('');}
li {background-image:url('');}



/* -------------------------------------------------------------- 
		■　リセットcss　■
-------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    clear: inherit;
    font-weight: normal;
}


/* =font
-------------------------------------------------------------- */
/*
#main #container_top .content_area {
    font-size:13px;
    line-height:1.7;
}
.content_area {
    font-size:13px;
    line-height:1.7;
}
*/

/*==========================================================================================
    ページ共通　見出し
==========================================================================================*/
/*
.top-entry-title {
    background: url("/files/top_entry_title.jpg") no-repeat scroll left top transparent;
    font-size: 18px;
    font-weight: bold;
    height: 55px;
    line-height: 55px;
    margin: 0;
    padding: 0 0 15px;
    text-align: center;
    width: 700px;
}

.widget-title {
    background: url("/files/widget_title_bg.jpg") no-repeat scroll left top transparent;
    font-size: 14px;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0 0 5px 40px;
}

.entry-title a:link, .entry-title a:visited {
    text-decoration: none;
}
.entry-title a:hover, .entry-title a:active {
    text-decoration: underline;
}

.entry-title {
    background: url("/files/entry_title_bg.jpg") no-repeat scroll left top transparent;
    font-size: 14px;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    padding: 0 0 0 40px;
    overflow: hidden;
    width: 660px;
    position: static;
}

span.read_more_btn {
    float: right;
    height: 40px;
    width: 120px;
}
span.read_more_btn a {
    background: url("/files/read_more_btn.jpg") no-repeat scroll left top transparent;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    width: 120px;
}
*/


/* =Menu
-------------------------------------------------------------- */
#access {
    float: none;
    /*max-width: 1100px;*/
    width: 100%;
    /*height: 100px;*/
    margin: 0 auto;
    background: none transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0;
}

body#home #access h1,
body#page #access h1,
body#single #access h1 {
    display: none;
}

#access ul {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
  /*overflow: hidden;*/
}

#access ul li {
    width: calc(100% / 6);
    float: left;
    list-style: none;
}

#access ul li a {
    color: #000000;
    display: block;
    font-size: 80%;
    padding: 22px 0; /* 30px 0 */
    letter-spacing: 1.5px;
    text-align: center;
    text-decoration: none;
    position: relative;
    transition: 0.5s;
}

#access ul li a:hover {
    /* color: #ffffff; */
    background-color: #308aaf;
}

/* 子要素にも適用される為、セレクタで指定 */
/* 元の文字を消す */
#access>ul>li>a:hover {
    color: transparent;
}

#access>ul>li:nth-child(1)>a:hover:before {
    content: "トップページ";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: transparent;
    text-align: center;
    white-space: nowrap;
    transition: 0.5s;
    color: #fff;
}

#access>ul>li:nth-child(2)>a:hover:before {
    content: "会社概要";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: transparent;
    text-align: center;
    white-space: nowrap;
    transition: 0.5s;
    color: #fff;
}

#access>ul>li:nth-child(3)>a:hover:before {
    content: "事業内容";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: transparent;
    text-align: center;
    white-space: nowrap;
    transition: 0.5s;
    color: #fff;
}

#access>ul>li:nth-child(4)>a:hover:before {
    content: "施工実績";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: transparent;
    text-align: center;
    white-space: nowrap;
    transition: 0.5s;
    color: #fff;
}

#access>ul>li:nth-child(5)>a:hover:before {
    content: "採用情報";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: transparent;
    text-align: center;
    white-space: nowrap;
    transition: 0.5s;
    color: #fff;
}

#access>ul>li:nth-child(6)>a:hover:before {
    content: "お問い合わせ";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: transparent;
    text-align: center;
    white-space: nowrap;
    transition: 0.5s;
    color: #fff;
}

/* #access ul li:nth-child(1) a:after {
    content: "TOPPAGE";
}

#access ul li:nth-child(1) a:hover:after {
    content: "トップページ";
}

#access ul li:nth-child(2) a:after {
    content: "COMPANY";
}

#access ul li:nth-child(2) a:hover:after {
    content: "会社概要";
}

#access ul li:nth-child(3) a:after {
    content: "BUSINESS";
}

#access ul li:nth-child(3) a:hover:after {
    content: "事業内容";
} */

#access ul li:nth-child(3) a span.down:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f107';
    margin: 0 25px 0 0;
    position: relative;
    top: -2px;
    float: right;
}

/* #access ul li:nth-child(4) a:after {
    content: "WORKS";
}

#access ul li:nth-child(4) a:hover:after {
    content: "施工実績";
}

#access ul li:nth-child(5) a:after {
    content: "RECRUIT";
}

#access ul li:nth-child(5) a:hover:after {
    content: "採用情報";
}

#access ul li:nth-child(6) a:after {
    content: "CONTACT";
}

#access ul li:nth-child(6) a:hover:after {
    content: "お問い合わせ";
} */

/*----- プルダウンメニュー -----*/
#access li:hover > ul > li {
    height: 56px; /* 57px */
    overflow: visible;
}

#access li li {
    width: 100%;
    height: 0;
    float: none;
    overflow: hidden;
    transition: .5s;
    position: relative;
}

#access ul li a span.right:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f105';
    margin: 0 18px 0 0;
    position: relative;
    top: -2px;
    float: right;
}

#access li li a:after,
#access li li a:hover:after {
    display: none;
}

#access li li a {
    color: #ffffff;
    background-color: #308aaf;
    display: block;
    font-size: 80%;
    padding: 22px 8px; /* 30px 0 */
    letter-spacing: 0;
    text-align: left;
    text-decoration: none;
}

#access li li a span.br {
    display: block;
    line-height: 1.5;
    position: relative;
    top: -12px;
}

#access li li a:hover {
    background-color: #09658c;
}

#access li ul li ul {
    left: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

#access li ul li ul li a {
    color: #ffffff;
    background-color: #308aaf;
    display: block;
    font-size: 80%;
    padding: 22px 8px; /* 30px 0 */
    letter-spacing: 0;
    text-align: left;
    text-decoration: none;
}


@media screen and (max-width: 900px) {

    body#home #access.fixed h1,
    body#page #access h1,
    body#single #access h1 {
        width: 210px;
        margin: 10px 10px 10px 15px;
        display: block;
    }

    body#page #access.fixed h1 img,
    body#page #access h1 img,
    body#single #access h1 img {
        width: 100%;
        height: auto;
    }

}

.catch{
    background-color:rgba(0, 0, 0, 0.7);
    padding: 10px;
}