/*
Theme Name: Nishiki Child
Author: AnimaGate, Inc.
Template: nishiki
Version: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nishiki-child
*/
/*---------------------------------------------------------------------共通部、SP---------------------------------------------------------------------*/
html {
    font-size: 14px !important;
}
h2 {
    font-weight: normal;
    text-align: center;
}
h2 span {
    display: block;
    font-size: 0.8rem;
    border-top: solid 1px #006699;
    width: 90%;
    margin: 0 auto;
}
h3 {
    color: #004F9E;
    margin-top: 4rem;
}
article.entry,
.entry-content
{
    text-align:center;
}
.single-post .entry ul,
.single-post .entry ol
{
	text-align:left;
}

/*bottun*/
p.main-button {
    width: 100%;
}
p.main-button a
{
    display: block;
    background-color: #004F9E;
    color: #fff;
    text-decoration: none;
    line-height: 3rem;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
}
p.main-button a:hover {
    color: #fff;
    opacity: 0.5;
}
.page .entry-content p.main-button a {
    text-decoration: none;
}

/*ページナビゲーション*/
div.nav-links {
	clear: both;
}
/*table*/
.single .entry-content table, .page .entry-content table {
    display: inline-block;
}
table.common-table {
    margin: 0 auto;
    text-align:center;
}
table.common-table th {
    font-weight: normal;
    background-color: #eeeeee;
    word-wrap: normal;
}
table.common-table td {
    word-wrap: break-word;
}
table.common-table td ul {
    margin:0;
    padding:0 1.5rem;
}
/*header*/
.archive header::after,
.single header::after,
header.page
{
    background-image: url(https://llc-tm.net/wp-content/uploads/2020/05/page_bg.png);
    background-color: #004F9E;
    background-size: cover;
}
header.page,
header.news,
header.post{
    margin-top: 55px;
}

}
.page .page-header h1 {
    font-weight: normal;
}
/*footer*/
#footer-widget {
    border-bottom: solid 1px #fff;
}
#footer-widget ul li {
    border: none;
}
#footer-widget ul li a:hover {
    text-decoration: underline;
}
#footer-widget ul.footer-widget_menu01,
#footer-widget ul.footer-widget_menu02 {
    border-bottom: dotted 1px #ccc;
    margin-top:0;
}

p.copyright {
    font-size: 0.8rem;
}
/*Products*/
dl.products {
    padding: 0;
    margin: 9rem 0 0 0;
}
dl.products div {
    background-color: #F0F5F9;
    text-align: center;
    padding: 1rem 1rem 0.3rem 1rem;
    margin: 0 0 9rem 0;
}
dl.products div dt {
    padding: 0;
    margin: 0m 0 1rem 0;
    text-align: center;
    font-weight: 600;
}
dl.products div dt img {
    display: block;
    margin: -8rem auto 1.3rem auto;
    box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, .3)
}
dl.products div dd {
    padding: 0;
    margin: 0.5rem 0 0 0;
    font-size: 0.8rem;
    line-height: 1.3rem;
    text-align: left;
}
/*-----------------
トップページ
------------------*/
.page .entry-content .top-page h2,
.page .entry-content .top-page_block02 h2{
    border-bottom: none;
    margin-top: 2rem;
}

html .main-visual .main-visual-content .description {
    margin-top: 50px;
}

/*News*/
div.news {
    background-color: #eee;
    background-image: url(https://llc-tm.net/wp-content/uploads/2020/05/top_news_bg.jpg);
    background-size: cover;
    background-position: bottom center;
    margin-top: -6rem;
    padding: 1rem;
    text-align: center;
}
div.news ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
div.news ul li {
    text-align: left;
}
div.news ul li a {
    display: block;
    margin-left: 0.5rem;
}
/*------------------------------------
プロダクツページ
-------------------------------------*/
.page .entry-content h2 {
    border-bottom: solid 1px #006699;
}
.product-child header.page,
.products-child header.page{
    margin-top: 55px;
    background-image: none;
    background-color: #F0F5FA;
}
.product-child .page .page-header h1,
.products-child .page .page-header h1{
    color: #000;
}
.product-child,
.products-child{
    background-color: #F0F5FA;
}
.product-child .wp-block-group,
.products-child .wp-block-group{
    background-color: #fff;
    margin-top: -2rem;
    margin-bottom: 5rem;
    text-align: center;
    padding: 0.1rem 1rem;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .3);
}
.wp-block-group_block01_01 {
    text-align:center;
}
.wp-block-group_block01_01 div {
    text-align:left;
}
.wp-block-group_block01_01 div span{
    display:block;
    margin-bottom:1rem;
}
.wp-block-group_block01_01 img {
    margin:1rem 0;
}
.wp-block-group_block01 h3 {
    border-left: 3px solid #004F9E;
    line-height: 1.4rem;
    padding-left: 0.5rem;
    color: #000;
    text-align: left;
}
.product-child .container.column,
.products-child .container.column{
    margin-top: 0;
}

.wp-block-group_block01_02 div h3{
    margin-bottom:0;
}
.wp-block-group_block01_02 ul {
    margin-top:1rem;
}
.product-child .wp-block-group p,
.product-child .wp-block-group ul,
.products-child .wp-block-group p,
.products-child .wp-block-group ul{
    text-align: left;
}
.product-child .wp-block-group ul,
.products-child .wp-block-group ul{
    margin-bottom: 3rem;
}
.wp-block-group ul {
    list-style:none;
}
.wp-block-group_block01 ul {
    list-style: none;
    padding:0;
    margin:1rem;
}
.wp-block-group_block01 ul li { 
    padding-left: 1em; 
    text-indent: -1em;
}
.wp-block-group_block01 ul li:before {
    content: "• ";
    color: #004F9E;
}
.product-child .wp-block-group　ul.product-child_menu,
.products-child .wp-block-group ul.product-child_menu{
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-child .wp-block-group .product-child_menu {
    padding:0;
    margin-left:0;
}
.product-child .wp-block-group ul.product-child_menu li,
.products-child .wp-block-group ul.product-child_menu li {
    margin: 0.3rem 0 0 0;
    padding: 0.1rem;
}
.product-child .wp-block-group ul.product-child_menu li a,
.products-child .wp-block-group ul.product-child_menu li a {
    display: block;
    background-color: #004F9E;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 0.5rem;
}
.product-child .wp-block-group ul.product-child_menu li a:hover,
.products-child .wp-block-group ul.product-child_menu li a:hover{
    opacity: 0.5;
}
.product-child .wp-block-group p.wp-block-group_img,
.products-child .wp-block-group p.wp-block-group_img
{
    margin:2rem 0;
    text-align:center;
}
.product-child .wp-block-group .wp-block-group_img img,
.products-child .wp-block-group .wp-block-group_img img {
    margin:1rem 0;
}


/*------------------------------------
お知らせ
-------------------------------------*/
article.post header {
    border-bottom: 1px dotted #ccc;
}
article.post span.date {
    color: #999;
    font-size: 0.9rem;
}
html .articles article .excerpt {
    font-size: 1rem;
    margin-top: 0.8rem;
}
/*各記事*/
article.entry p {
    text-align: left;
}


/*------------------------------------
会社概要・お問い合わせ
-------------------------------------*/
.top-page_block03 dl {
    text-align: center;
    padding: 0;
    margin: 2em 0;
    display: flex;
    justify-content: space-between;
}
.top-page_block03 dl div {
    background-color: #ffffff;
    text-align: center;
    padding: 0;
    margin: 1rem 0;
    width: 49%;
}
.top-page_block03 dl dt {
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 1.1rem;
}
.top-page_block03 dl dt img {
    margin-bottom: 0.5rem;
}
.top-page_block03 dl dd {
    padding: 0 1rem;
    margin: -1.5rem 0;
}


/*---------------------------------------------
お問い合わせ
-----------------------------------------------*/
.wpcf7 dl {
    margin: 0 auto;
    padding: 0;
    border-bottom: 1px solid #ccc;
}
.wpcf7 dl dt {
    margin: 0;
    padding: 0.3rem 1rem;
    border: 1px solid #ccc;
    background-color: #eee;
    text-align: left;
}
.wpcf7 dl dt span {
    color: #f00;
    font-size:0.8rem;
    font-weight: bold;
}
.wpcf7 dl dd {
    margin: 0;
    padding: 0.8rem;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.wpcf7 dl select,
.wpcf7 dl input {
    width:100%;
}
.wpcf7 p.confirmation {
    border: solid 1px #ccc;
    padding: 0.5rem;
}
input.wpcf7-submit {
    width: 100%; 
    background-color: #004F9E;
    color: #fff;
    text-decoration: none;
    line-height: 2rem;
    text-align: center;
    margin: 0 auto;
}
input.wpcf7-submit:hover {
    color: #fff;
    opacity: 0.5;
}

/*---------------------------------------------
メディアクエリ
-----------------------------------------------*/
@media only screen and (max-width: 768px){
    /*ハンバーガーメニュー*/
    html #masthead .global-nav #menu-collapse.panel {
        background-color:rgba(0, 31, 62, 0.9);
    }
    html #masthead .global-nav #menu-collapse.panel ul li a:hover {
        background-color:rgba(178, 187, 197, 0.9);
        color: #001f3e;
    }
    #masthead .global-nav #menu-collapse.panel address {
        max-width: 500px;
        margin: 1rem auto;
        padding: 1rem;
        font-style:normal;
        color:#fff;
        text-align:left;
        border-top:1px solid #fff;
    }
    html .single .entry-content h2, .page .entry-content h2 {
        font-size: 1.8rem;
    }
}
/* tablet,PC */
@media only screen and (min-width: 481px) {
    /*共通部、SP*/
    .entry h2 > span,
    .page .entry-content .top-page_block02 h2 > span
    {
        width: 10rem;
        padding-top: 0.7rem;
        margin: 0.3rem auto;
    }
    html .single .entry-content h2, 
    html .page .entry-content h2 {
        border-top: none;
        border-bottom: none;
        font-size: 1.8rem;
    }
    .page .entry-content h2:after {
        display: block;
        content: "";
        width: 2rem;
        height: 2px;
        margin: 0.5rem auto 0;
        background: #006699;
    }
    
    /*table*/
    html .single .entry-content table, 
    html .page .entry-content table {
        display: inline;
    }
    
    #footer-widget {
        display: flex;
        flex-flow:row-reverse nowrap;
    }
    #footer-widget h2{
        text-align:left;
    }
    #footer-widget ul.footer-widget_menu01,
    #footer-widget ul.footer-widget_menu02 {
        border: none;
        margin-top:1rem;
    }
    #footer-widget ul.footer-widget_menu01 li {
        display: inline;
        margin-right: 2rem;
    }
    #footer-widget ul.footer-widget_menu02 li {
        line-height: 1.3rem;
    }
    /*bottun*/
    p.main-button a {
        width: 10rem;
        line-height: 2.5rem;
    }
    /*Products*/
    dl.products {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    dl.products div {
        width: 49%;
    }
    dl.products div dt {
        font-size: 1rem;
    }
    dl.products div dd {
        max-width:287px;
        margin: 1rem auto;
        font-size: 0.9rem;
        line-height: 1.8rem;
    }
    /*トップページ*/
    html .main-visual .main-visual-content .description {
        margin-top: 70px;
        font-size: 2.5rem;
    }
    .page .entry-content .top-page h2:after,
    .page .entry-content .top-page_block02 h2:after{
        display: none;
    }
    .page .entry-content .top-page h2{
        margin: 5rem 0 6em 0;
    }
    .page .entry-content .top-page_block02 h2{
        margin: 1rem 0 0 0;
    }
    div.news {
        padding: 2rem 3.5rem;
        font-size: 0.9rem;
    }
    div.news ul li span.news_date_jn,
    div.news ul li span.news_date_en,
    div.news ul li span.news_category
    {
        margin: 0;
		display: inline-block;
    }

    div.news ul li span.news_post_title {
        display: block;
    }
	div.news ul li span.news_date_jn {
		width:8rem;
	}
	div.news ul li span.news_date_en {
		width:6rem;
	}
	div.news ul li span.news_category {
		width:4.5rem;
	}
    .top-page_block03 dl dt img {
        margin-bottom: 1rem;
    }
    .top-page_block03 dl dt {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    /*プロダクツページ共通*/
    .product-child .wp-block-group,
    .products-child .wp-block-group{
        padding: 1.1rem 3rem;
    }
    .product-child .wp-block-group ul.product-child_menu,
    .products-child .wp-block-group ul.product-child_menu{
        display:flex;
        justify-content: space-between;
    }
    .product-child .wp-block-group ul.product-child_menu li,
    .products-child .wp-block-group ul.product-child_menu li{
        width:33%;
    }

    .product-child .wp-block-group ul.product-child_menu li a,
    .products-child .wp-block-group ul.product-child_menu li a {
        line-height: 4rem;
        font-size: 1.4rem;
    }

    /*お知らせ*/
    article.post p.main-button a{
        width: 10rem;
        line-height: 1.8rem;
        margin-left: 0;
        font-size: 0.8rem;
    }
}
/* PC */
@media only screen and (min-width: 769px) {
    /*共通*/
    .page .entry-content h2:after {
        margin: 1rem auto;
    }
    /*header*/
    header.page,
    header.news,
    header.post{
        margin-top: 70px;
    }
    #masthead .global-nav #menu-collapse.panel address {
        display:none;
    }

    /*Products*/
    dl.products div dt {
        font-size: 1.3rem;
    }


    /*フッター*/
    #footer-widget ul.footer-widget_menu01,
    #footer-widget ul.footer-widget_menu02 {
        margin-left:3rem;
    }
    /*トップページ*/
    html .main-visual img {
        height: auto;
    }
    html .main-visual .main-visual-content .description {
        margin-top: 70px;
        font-size: 2.5rem;
    }
    .page .entry-content .top-page h2{
        margin: 7rem 0 8em 0;
    }
    div.news {
        padding: 3.5rem;
        font-size: 0.9rem;
    }
    html div.news ul {
        margin: 5rem;
        padding: 0 10%;
        text-align: center;
    }
    div.news ul li span.news_date_jn {
        width:10rem;
    }
    div.news ul li span.news_date_en {
        width:8rem;
    }
    div.news ul li span.news_category {
        width:4.5rem;
    }
    div.news ul li span.news_post_title {
        display: inline-block;
    }
    .top-page_block03 dl dt {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    .top-page_block03 dl dt img {
        width: 100%;
        height: auto;
    }

    /*プロダクツページ共通*/
    .product-child .wp-block-group,
    .products-child .wp-block-group{
        padding: 1.5rem 4rem;
    }
    .wp-block-group_block01_01 {
        display: flex;
        justify-content: around;
    }
    .wp-block-group_block01_01 div {
        margin-right:2rem;
    }
    .wp-block-group_block01_01 img {
        width: 50%;
        height:auto;
    }
    .wp-block-group_block01_02 {
        display: flex;
        justify-content: flex-start;
    }
    .wp-block-group_block01_02 div h3{
        margin-right:6rem;
        margin-bottom:0;
        width:auto;
    }
    .wp-block-group_block01_02 ul {
        margin-top:3.5rem;
    }

    /*お問い合わせ*/
    html .wpcf7 p.copy {
        width:80%;	
        margin: 0 auto 1rem auto;
    }
    .wpcf7 dl {
        margin: 0 auto;
        padding: 0;
        display: flex;	
        flex-wrap: wrap;
        border-top: 1px solid #ccc;		
        border-right: 1px solid #ccc;		
        border-bottom: none;
        border-left: 1px solid #ccc;	
        width:80%;
    }
    .wpcf7 dl dt {
        border-top: none;		
        border-right: none;		
        border-bottom:  1px solid #ccc;
        border-left: none;	
        background-color: #eee;
        text-align: left;
        width: 30%;

        box-sizing: border-box;
    }
    .wpcf7 dl dd {
        border-top: none;		
        border-right: none;		
        border-bottom:  1px solid #ccc;
        border-left: none;	
        width: 70%;
        box-sizing: border-box;
    }
    html .wpcf7 p.confirmation {
        width:80%;
        margin: 1rem auto;
        text-align: center;
    }
    .wpcf7  p.confirmation +p {
        text-align: center;
    } 
    input.wpcf7-submit {
        width:20%;
    }

}
