/* colors  */
body{background-color: Black;}
main{ background-color: lightcyan; }

body,p,ul,li{
    margin:0px;
    padding:0px;
}

body{ font-size: 0.8em; }

/* IE11 TOP固定がありでレイアウト崩れる対策 */
/* 理由:ie11 はdisplay:inlineがmainにデフォルト指定が入っている */
main { display: block; }

/* 見出し */
h1{
    padding:5px;
    margin:0;
    color: white;
    font-size: 3em; 
}

h2{
    display: inline-block;
    position: relative;

    padding: 15px 20px;
    width:90%;

    font-size: 22px; /*フォントサイズ*/
    color: #FFF; /*フォントカラー*/
    background: #a6d3c8; /*リボンの色*/
}

h2:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px rgb(149, 158, 155); /*折り返し部分*/
}

/* table */
table{
    border-collapse:collapse;
    background:#FFF;
    width:96%;
    margin:6px 10px;
}
td,th{
    border-bottom:1px solid #ccc;
    padding:10px;
}

th{ 
    background-color: rgb(238, 238, 238);
    width: 80px;
}

/* btn */
.btn-n {
    border: 2px solid #9ec34b;

    height: 38px;

    margin:2px;
    padding:4px 6px;
    border-radius: 4px;
}

.btn-n a{
    text-decoration: none;
    color: #9ec34b;
    font-weight: bold;
    font-size: 1.2em;
}

.btn-n:hover{
    border: 2px solid orange;
}

.btn-n a:hover{
    color:orange;
}

/* ************************************************* */

/* ---------------------------------------------------- */
/* header                                               */
/* ---------------------------------------------------- */

header {
    margin:0;
    padding: 0;
}

/* TOP固定部 */
.top-title{
    background-color: #222; 

    position: fixed;
    width: 100%;
    height: 60px;
    top:0;

    z-index: 3;
}

.no-dec-link{ text-decoration: none; }

/* TOP固定によるjump対策 */
.jump-box{
    padding-top: 60px;
    margin-top: -60px;
}

/* 注意 ********************************************
    画像分以下はmainにあるのでそちら参照
************************************************* */

/* ---------------------------------------------------- */
/* drawerで表示されるメニュー                             */
/* ---------------------------------------------------- */

.nav-m-sp{
    margin-top:5px;
    padding-left: 1em;
    font-size: 2em;
}

#nav-contents li{
    height: 40px;
    padding-left:8px;
    padding-top:8px;

    margin:2px 0;
    
    border: 1px rgb(120, 216, 144);
    border-style:solid none;

    background-color: black;
}

#nav-contents a{
    text-decoration: none;
    font-size : 1.7em;

    color: white;
}

/* ---------------------------------------------------- */
/* main                                                 */
/* ---------------------------------------------------- */
main{
    padding-top:60px;
    padding-bottom: 20px;

    width:100%;
}


/* ************ TOP画像部 ******************************* */
/* TOP画像部 - pc-nav */
#nav-list-pc { display: none; }

/* TOP画像部 - img */
.nav{ 
    height: 300px;

    background-image: url('../img/top-bg-img.png');
    background-size: cover;

    position:relative
}

/* TOP画像部 説明文*/
#nav-info{
    padding-top: 30px;
    margin-left: 15%;
}

#nav-info p{
    color:rgb(106, 90, 172);
    font-size: 2em;

    text-shadow: 1px 1px 4px rgb(119, 115, 115);
}

/* ************************ contents ****************** */
#contents{
    width:90%;
    margin: 0 auto;
}

.left16{ margin-left: 1.6em;}

/* ************************card ************************ */
.card {
    font-size: 0;
    margin-left:20px;
}

.product {
    display: inline-block;
    vertical-align: middle;
    width:48%;
}

/* ************************ 改行位置調整 ***************** */
.css-br::after {
    content: "\A" ;
    white-space: pre;
}
.css-br-sp0::after {
    content: "\A" ;
    white-space: pre;
}

/* ************************ img ***************** */
.payimg{
	width:50%;
}


/* ---------------------------------------------------- */
/* footer                                               */
/* ---------------------------------------------------- */

footer{
    width:100%;
    height: 80px;

    background-color: #174a5c;

    color: white;
    text-align: center;
}

.footer-menu{ padding-top: 0.8em;}
.footer-menu a {
    text-decoration: none;
    color: white;
}

.footer-menu img{ height: 2em;}

/* ================================================= */
/* タブレット、PC 表示                                */
/* ================================================= */
@media screen and (min-width: 768px) {
    body{ font-size: 1em; }

    h1{
        font-size: 56px;
        padding:0;
    }

    /* ************************ TOP固定 ************************ */
    .top-title{ height: 80px; }
    main{ padding-top: 80px;}
    
    /* TOP固定によるjump対策 */
    .jump-box{
        padding-top: 80px;
        margin-top: -80px;
    }


    /* ************************ 改行位置調整 ************************ */
    .css-br::after { content:" ";}
    .css-br-sp0::after { content:"";}


    /* ************************ tableの見た目 ************************ */
    table{ 
        margin-left:20px;
        width: 90%;
    }
    th{ width: 160px;}
    

    /* ************************ PC用のトップのナビ ********************** */
    #nav-list-pc { 
        display: block;

        background-color: #222222;
        color: white;

        position: absolute;
        bottom: 0;

        width:100%
    }

    #nav-list-pc ul{
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
                flex-flow: row;
        margin: 0;
        padding: 6px;
        list-style-type: none;
    }

    #nav-list-pc a {
        display: block;
        border-radius: 4px;
        padding: 12px 24px;
        color: white;
        text-decoration: none;
    }

    #nav-list-pc li a:hover { background-color: #8cae47; }

    /* ************************ main top nav ********************** */
    #nav-info{
        padding-top:1em;
        margin-left: 20%;
    }

    /* 会社案内 */
    .card{ margin-left:65px; }
    .product { width:40%; }

    /* ************************ */
}
