/*
Theme Name: tkst-lly-2017ch
Theme URI: https://wordpress.org/themes/twentyseventeen/
Author: tekst
Author URI: https://www.tekst.jp/
Template: twentyseventeen
Description: Twenty Seventeen Child Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive
Text Domain: tkst-lly-2017ch
*/


/*  site color
white #ffffff
Rich Black #00171f
Prussian Blue #003459
CG Blue #007ea7
Carolina Blue #00a8e8
palegray #e5e5e5
orange #e3a92d
*/


/*////////////////////
COMMON
////////////////////*/
body {
    background-color: #ffffff;
    color: #00171f;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
}
html[lang="ja"] body {
    font-family: 'Noto Sans JP', sans-serif;
}
body.has-header-image .site-title {
    font-weight: normal;
    font-size: 15px;
    text-shadow: 1px 1px 3px #666;
}

/* header */
.site-header {
    overflow: hidden;
}
.site-description {
    font-size: 11px;
}
.custom-logo-link {
    padding-right: 3px;
}
.custom-logo-link img {
    display: inline-block;
    max-height: 32px;
    width: auto;
}
.has-header-image .custom-header-media img {
    padding-bottom: 0;
}
.daihyou {
    position: absolute;
    width: 35%;
    top: 0;
    bottom: auto;
    left: 60%;
    margin: 0;
    padding: 0;
}
body.home .daihyou {
    top: auto;
    bottom: 0;
}
.daihyou img {
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

/* gnavi */
.main-navigation ul {
    background-color: #003459;
}
.navigation-top {
    background: #003459;
    border-bottom: 0;
    border-top: 0;
    font-size: 16px;
    font-size: 1rem;
    position: relative;
}
.navigation-top a {
    color: #fff;
    font-weight: 600;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a,
.navigation-top a:hover {
    color: #00a8e8;
}
.menu-toggle {
    color: #fff;
    margin: 0 auto;
}


/*////////////////////
PAGE
////////////////////*/
p.entry-sub-title {
    text-transform: uppercase;
}


/*////////////////////
POST
////////////////////*/


/*////////////////////
TOP
////////////////////*/
body.home .entry-header {
    display: none;
}
body.home.page-two-column #primary .entry-content {
    width: 100%;
}
.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
  height: 200px;  /* 75vh  */
}
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
  position: absolute; /* fixed */
}
.greeting-bloc {
    margin: 0 0 60px 0;
    padding: 10px;
    position: relative;
}
.greeting-bloc:before,
.greeting-bloc:after { 
    content:'';
    width: 20px;
    height: 30px;
    position: absolute;
    display: inline-block;
}
.greeting-bloc:before {
    border-left: solid 1px #003459;
    border-top: solid 1px #003459;
    top:0;
    left: 0;
}
.greeting-bloc:after {
    border-right: solid 1px #003459;
    border-bottom: solid 1px #003459;
    bottom:0;
    right: 0;
}
h2.greeting-catch {
    font-size: 18px;
    color: #003459;
    margin: 0 0 10px 0;
    padding: 0;
}
.greeting-txt {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/* bloc */
.content-bloc {
    margin: 0 2% 70px 2%;
    padding: 0;
}
.content-bloc.last {
    margin: 0 2%;
}
h2.bloc-title {
    color: #00171f;
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding: 0 0 0 10px;
    border-left: #003459 8px solid;
}
.main2list {
    margin: 0;
    padding: 0;
    font-size: 0;
    list-style-type: none;
}
.main2list li {
    display: inline-block;
    /display: inline;
    /zoom: 1;
    width: 48%;
    margin: 0 1%;
    padding: 0;
    font-size: 15px;
    vertical-align: top;
}
.main3list {
    margin: 0;
    padding: 0;
    font-size: 0;
    list-style-type: none;
}
.main3list li {
    display: inline-block;
    /display: inline;
    /zoom: 1;
    width: 31.33%;
    margin: 0 1%;
    padding: 0;
    font-size: 15px;
    vertical-align: top;
}
.main3list li dl {
    margin: 0;
    padding: 0;
}
.main3list li dl dt {
    margin: 0;
    padding: 0;
}
.main3list li dl dd {
    color: #003459;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
.main4list {
    margin: 0 0 -10px 0;
    padding: 0;
    font-size: 0;
    list-style-type: none;
}
.main4list li {
    display: inline-block;
    /display: inline;
    /zoom: 1;
    width: 48%;
    margin: 0 1% 10px 1%;
    padding: 0;
    vertical-align: top;
    font-size: 15px;
    -webkit-box-shadow: 0px 0px 0px 1px #e5e5e5;
    -moz-box-shadow: 0px 0px 0px 1px #e5e5e5;
    box-shadow: 0px 0px 0px 1px #e5e5e5;
}
.main4list li dl {
    margin: 0;
    padding: 0 0 10px 0;
    position: relative;
}
.main4list li dl dt {
    position: relative;
    margin: 0 0 10px 0;
    padding: 60% 0 0 0;
    overflow: hidden;
}
.main4list li dl dt img {
    position: absolute;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main4list li dl dd.listdate {
    font-size: 13px;
    margin: 0 0 5px 0;
    padding: 0 8px;
}
.main4list li dl dd.listtitle {
    font-size: 15px;
    margin: 0;
    padding: 0 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.main4list li dl dd.listlink {
    font-size: 15px;
    margin: 0;
    padding: 0;
}
.main4list li dl dd.listlink a {
    text-indent: -9999px;
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: none;
    background-color: #fff;
    opacity: 0;
    transition: .2s;
}
.main4list li dl dd.listlink a:hover {
    opacity: .23;
}
.more-link {
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    margin: 15px 0 0 0;
    padding: 0;
}
.more-link a {
    display: inline-block;
    margin: 0 auto;
    padding: 10px 20px;
    border: #ccc 1px solid;
    color: #fff;
    background-color: #00a8e8;
    box-shadow: none;
    transition: 0.2s;
}
.more-link a:hover {
    color: #fff;
    background-color: #007ea7;
    box-shadow: none;
    transition: 0.2s;
}
.contact-link {
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    margin: 0;
    padding: 0;
}
.contact-link a {
    display: inline-block;
    width: 98%;
    margin: 0 auto;
    padding: 20px 20px;
    border: #ccc 1px solid;
    color: #fff;
    background-color: #e3a92d;
    box-shadow: none;
    transition: 0.2s;
}
.contact-link a img {
    box-shadow: none;
    vertical-align: top;
    margin: 0 3px 0 0;
}
.contact-link a:hover {
    color: #fff;
    background-color: #c08f25;
    box-shadow: none;
    transition: 0.2s;
}


/*////////////////////
ABOUT
////////////////////*/
ul.memberlist {
    margin: 0;
    padding: 0;
    font-size: 0;
}
ul.memberlist li.memberimg {
    display: inline-block;
    /display: inline;
    /zoom: 1;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 100% 0 0 0;
    font-size: 15px;
    vertical-align: top;
    position: relative;
    overflow: hidden;
}
ul.memberlist li.memberimg img {
    position: absolute;
    top: 0;
    left: 0;
}
ul.memberlist li.memberprof {
    display: inline-block;
    /display: inline;
    /zoom: 1;
    width: 100%;
    margin: 0;
    padding: 0;
    vertical-align: top;
}
ul.memberlist li.memberprof dl {
    margin: 0;
    padding: 0;
}
ul.memberlist li.memberprof dl dt.profname {
    font-size: 16px;
    margin: 0 0 10px 0;
    padding: 10px 15px 5px 15px;
    border-top: #e5e5e5 1px dotted;
}
ul.memberlist li.memberprof dl dd.profmessage {
    font-size: 16px;
    margin: 0 0 20px 0;
    padding: 0 15px;
}
ul.memberlist li.memberprof dl dd.proftxt {
    font-size: 13px;
    margin: 0;
    padding: 0 15px;
}
ul.memberlist li.memberprof dl dd.proftxt span {
    border: #e5e5e5 1px solid;
    margin: 0 5px 0 0;
    padding: 0 5px;
}
dl.companylist {
    margin: 0 1%;
    padding: 0;
}
dl.companylist dt {
    margin: 0 0 5px 0;
    padding: 0 10px 3px 10px;
    border-bottom: #e5e5e5 1px dotted;
}
dl.companylist dd {
    margin: 0 0 20px 0;
    padding: 0 10px;
}
.accessmap {
    width: 100%;
    margin: 0 0 10px 0;
    padding: 80% 0 0 0;
    position: relative;
}
.accessmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


/*////////////////////
SERVICE
////////////////////*/
dl.servicelist {
    margin: 0 1%;
    padding: 0;
}
dl.servicelist dt {
    margin: 0 0 15px 0;
    padding: 0;
}
dl.servicelist dd {
    margin: 0 0 15px 0;
    padding: 0;
}


/*////////////////////
WORKS
////////////////////*/
body.archive article.hentry {
    margin-bottom: 4em;
    border-bottom: #ccc 1px solid;
}


/*////////////////////
NEWS BLOG
////////////////////*/
body.blog article.hentry {
    margin-bottom: 4em;
    border-bottom: #ccc 1px solid;
}


/*////////////////////
CONTACT
////////////////////*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    font-size: 16px;
}
.submit-btn {
    text-align: center;
}
input[type="submit"] {
    background-color: #00a8e8;
}
input[type="submit"]:hover {
    color: #fff;
    background-color: #007ea7;
    box-shadow: none;
    transition: 0.2s;
}
.cf-must {
    color: #fff;
    font-size: 12px;
    margin: 0 0 0 8px;
    padding: 4px;
    background-color: #cc0033;
}
.cf-notmust {
    color: #fff;
    font-size: 12px;
    margin: 0 0 0 8px;
    padding: 4px;
    background-color: #336699;
}


/*////////////////////
PRIVACY POLICY
////////////////////*/
h2#pptitle {
    font-size: 18px;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: center;
}
#ppname {
    font-size: 13px;
    margin: 0 0 30px 0;
    padding: 0;
    text-align: center;
}
#ppcopy {
    font-size: 14px;
    margin: 0 1% 50px 1%;
    padding: 10px;
    border: #333333 1px solid;
}
dl.pplist {
    margin: 0 1% 30px 1%;
    padding: 0;
}
dl.pplist dt {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 15px;
}
dl.pplist dd {
    margin: 0 0 0 15px;
    padding: 0;
    font-size: 14px;
}
dl.pplist dd span {
    color: #cc0033;
    font-weight: 700;
}
dl.pplist dl {
    margin: 15px 0 0 0;
    padding: 0;
}


/*////////////////////
SITEMAP
////////////////////*/
ul.sitemaplist {
    margin: 0 1%;
    padding: 15px 0 0 0;
    list-style-type: none;
    border-top: #cccccc 1px dotted;
}
ul.sitemaplist li {
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
    border-bottom: #cccccc 1px dotted;
    font-size: 15px;
    line-height: 30px;
}
ul.sitemaplist li a {
    margin: 0;
    padding: 0 0 0 23px;
    background: url(/images/sitemap/sitemaplist-bg.png) 0 0 no-repeat;
    background-size: contain;
    box-shadow: none;
}
ul.sitemaplist li ul {
    margin: 15px 0 0 0;
    padding: 15px 0 0 0;
    border-top: #cccccc 1px dotted;
    list-style-type: none;
    font-size: 0;
}
ul.sitemaplist li ul li {
    display: inline-block;
    margin: 0 0 0 30px;
    padding: 0;
    border-bottom: none;
    font-size: 15px;
    line-height: 30px;
}
ul.sitemaplist li ul li a {
    margin: 0;
    padding: 0 0 0 23px;
    background: url(/images/sitemap/sitemaplist-bg.png) 0 0 no-repeat;
    background-size: contain;
    box-shadow: none;
}


/*////////////////////
RESPONSIVE
////////////////////*/
@media screen and (min-width: 480px) {
    .daihyou {
        width: 30%;
    }
    body.has-header-image .site-title {
        font-size: 20px;
    }
    .site-description {
        font-size: 12px;
    }
    .custom-logo-link {
        padding-right: 1em;
    }
    .custom-logo-link img {
        max-height: 80px;
    }
    .greeting-txt {
        font-size: 15px;
    }
    ul.memberlist li.memberimg {
        width: 35%;
        margin: 0;
        padding: 0;
    }
    ul.memberlist li.memberimg img {
        position: static;
    }
    ul.memberlist li.memberprof {
        width: 65%;
        margin: 0;
        padding: 0;
    }
}
@media screen and (min-width: 600px) {
    .daihyou {
        width: 25%;
    }
    .main4list {
        margin: 0;
    }
    .main4list li {
        width: 23%;
        margin: 0 1%;
    }
}
@media screen and (min-width: 768px) {
    .has-header-image.twentyseventeen-front-page .custom-header,
    .has-header-video.twentyseventeen-front-page .custom-header,
    .has-header-image.home.blog .custom-header,
    .has-header-video.home.blog .custom-header {
        height: auto;
    }
    .twentyseventeen-front-page.has-header-image .custom-header-media,
    .twentyseventeen-front-page.has-header-video .custom-header-media,
    .home.blog.has-header-image .custom-header-media,
    .home.blog.has-header-video .custom-header-media {
        height: 500px;
    }
    .daihyou {
        width: 35%;
        max-width: 300px;
    }
    body.home .daihyou {
        bottom: 80px;
    }
    .navigation-top {
        margin-top: -136px;
    }
    body.has-header-image .site-title {
        font-size: 28px;
    }
    .site-description {
        font-size: 13px;
    }
    .main-navigation ul {
        background-color: transparent;
    }
    .greeting-bloc {
        padding: 15px 20px 10px 20px;
    }
    h2.greeting-catch {
        font-size: 22px;
        margin: 0 0 15px 0;
    }
    .greeting-txt {
        font-size: 16px;
    }
}
@media screen and (min-width: 954px) {
    .navigation-top {
        margin-top: -80px;
    }
}
