/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/
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, 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, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {
margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: bottom;}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,q:before, q:after {content: '';content: none;}
table {border-collapse: collapse;border-spacing: 0;}

@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
html,body{width: 100%;}
body {
    font-size: 18px;
    font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.pc{ display: block;}
.sp{ display: none;}
.left{ float: left;}
.right{ float: right;}
.clear{ clear: both;}
.bold{ font-weight: bold;}
.mb30{ margin-bottom: 30px;}
.mt60{ margin-top: 60px;}
.mb60{ margin-bottom: 60px;}
.wrapper,.inner{
    width: 1000px;
    margin: auto;
    display: block;
}

section{
    clear: both;
    margin-bottom: 90px;
    overflow: hidden;
}

h1,h2,h3{font-weight: bold}

.btn{
    margin: 0 auto 64px;
    text-align: center;
    display: block;
    transition: all 200ms 0s ease;
}

.btn:hover{ opacity: 0.8;}
.btn img{ margin: auto;}

header{
    padding: 1em 0;
    background: #d9efff;
    text-align: center;
}

#kv{
    padding: 40px 0;
    background-image: url(images/kv_bg.jpg);
    background-size: cover;
    background-position: center;
}

#uj{ margin-left: 20px;}

#uj p{
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.3;
    display: block;
    margin-left: 110px;
}

#kv h2{
    margin-top: -56px;
    font-size: 26px;
    line-height: 1.6;
    text-align: center;
    text-shadow: 1px 1px 2px #ffffff;
}

#toha{
    width: 100%;
    margin-bottom: 60px;
    display: inline-block;
    background: #fffeea;
    overflow: visible;
}

#toha img.left{ margin-top: -96px;}
#toha .right{ padding: 30px 20px 16px 0px;}

#toha h1{
    margin-bottom: 14px;
    text-align: center;
    font-size: 36px;
    color: #0099df;
}

#toha h1 span{ font-size: 28px;}

#toha p{
    line-height: 1.4;
    font-weight: bold;
}

#triple{
    padding-bottom: 22px;
    background-image: url(images/con02_bg.jpg);
    background-position: 0 230px;
    border: 1px solid #dddddd;
    overflow: hidden;
}

#triple h1{ margin-bottom: 40px;}

#triple div.left{
    margin-right: 32px;
    padding-left: 30px;
    width: 480px;
}

#triple div.left h2{ margin-bottom: 10px;}

#triple div.left p{
    margin-bottom: 24px;
    line-height: 1.4;
    font-weight: bold;
}

#chara{
    padding-top: 40px;
    background-color: #fafafa;
    background-image: url(images/con03_moon.jpg);
    background-position: right top;
    background-repeat: no-repeat;
    border: 1px solid #aaaaaa;
}

#chara h1{
    float: left;
    margin-left: 40px;
}

#chara h1 img{ margin-top: 10px;}
#chara h1+img{ margin-left: 10px;}

#chara ul:nth-of-type(1){
    clear: both;
    display: inline-block;
    margin-top: 110px;
    padding-bottom: 30px;
    background: url(images/con03_bg.jpg) repeat;
}

#chara ul:nth-of-type(1) li {
    float: left;
    width: 25%;
    padding: 0 16px;
    box-sizing: border-box;
    line-height: 1.4;
    font-weight: bold;
}

#chara ul:nth-of-type(1) li>img {
    margin: -80px auto 0px;
    display: block;
}

#chara ul:nth-of-type(1) li>h2 {
    padding: 20px 0 12px;
    font-size: 24px;
    color: #e50000;
    text-align: center;
    font-style: italic;
}

#chara ul:nth-of-type(2) {
    padding: 30px;
}

#chara ul:nth-of-type(2) li {
    clear: both;
    margin-bottom: 20px;
    height: 87px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    font-weight: bold;
    line-height: 1.4;
}

#chara ul:nth-of-type(2) li img{ margin-right: 10px;}
#chara ul:nth-of-type(2) li span{ font-size: 14px;}

#model h1,#spec h1,#company h1{
    margin-bottom: 50px;
    padding-bottom: 16px;
    font-size: 40px;
    line-height: 1.4em;
    font-weight: normal;
    text-align: center;
    border-bottom: 5px solid #d9efff;
}

#spec h2{
    margin-bottom: 24px;
    font-size: 24px;
    text-align: center;
}

#spec table th,#spec table td{
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
    border: 1px solid #ffffff;
}

#spec table th{
    background: #f2f2f2;
    vertical-align: middle;
    font-weight: bold;
    text-align: center;
}

#spec table td{ background: #dadada;}
#qa{ background: url(images/con06_bg.jpg) repeat;}

#qa h1{
    padding: 36px 0 0;
    color: #0085c6;
    font-size: 40px;
    text-align: center;
}

#qa ul li dl{
    position: relative;
    margin: 36px 0;
}

#qa ul li dl::before,#qa ul li dl::after{
    position: absolute;
    width: 126px;
    height: 162px;
    background-repeat: no-repeat;
    background-size: contain;
}

#qa ul li dl::before{
    content: "";
    top: 0; left: 0;
    background-image: url(images/con06_01.png);
}

#qa ul li dl::after{
    content: "";
    top: 0; right: 0;
    background-image: url(images/con06_02.png);
}

#qa ul li dl dt,#qa ul li dl dd{
    position: relative;
    margin: 10px 124px;
    padding: 18px 40px 18px 76px;
    font-weight: bold;
    line-height: 1.6;
    border-radius: 10px;
}

#qa ul li dt{ background: #aedeff;}
#qa ul li dd{ background: #ffe3fd;}

#qa ul li dt span,#qa ul li dd span{
    position: absolute;
    top: 18px; left: 21px;
    margin-right: 16px;
    font-size: 28px;
    line-height: 1;
}

#qa ul li dt span{ color: #0085c6;}
#qa ul li dd span{ color: #c60054;}


#qa ul li dt::after,#qa ul li dd::after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 26px 0 10px 17.32px;
}

#qa ul li dt::after{
    left: -14px;
    bottom: -12px;
    border-color: transparent transparent transparent #aedeff;
    transform: rotate(254deg);
}

#qa ul li dd::after{
    right: -15px;
    top: -12px;
    border-color: transparent transparent transparent #ffe3fd;
    transform: rotate(74deg);
}

#qa hr{
    width: 70%;
    opacity: 0.4;
}

#company .left{
    width: 500px;
    text-align: center;
    font-weight: bold;
}

#company .left img{ margin-bottom: 20px;}
#company .left p{ line-height: 2;}

a.to_top {
    padding: 10px;
    position: fixed;
    right: 25px;
    bottom: 51px;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    font-weight: bold;
    line-height: 1;
    font-size: 32px;
    cursor: pointer;
}

footer{
    padding: 20px 0;
    background: #d9efff;
    color: #005caf;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
footer img{ margin-bottom: 10px;}
footer #copy{
    padding: 10px 0;
    color: #777;
    font-size: 12px;
}

#inquiry table{
    width: 720px;
    margin: auto;
    font-size: 18px;
}
#inquiry table th,#inquiry table td{
    padding: 20px 30px;
    border: 1px solid #c7c7c7;
    vertical-align: middle;
}

#inquiry table th{
    background: #005caf;
    color: #ffffff;
}

#inquiry h3{
    padding: 80px 0 40px;
    font-size: 20px;
    text-align: center;
}

.hissu,.ninni{
    margin-left: 18px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: normal;
    color: #ffffff;
    line-height: 2;
}

.hissu{ background: #ff0000;}
.ninni{ background: #005caf;}

select,input,textarea{
    font-size: 18px;
    line-height: 1.4;
    border: none;
    background: #f0f0f0;
}

p.btn{
    margin-top: 60px;
    font-size: 16px;
    text-align: center;
}

p.btn input{
    margin:0 30px;
    padding: 18px 50px;
    display: table-cell;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.btn input:hover{
    opacity: 0.8;
}

.btn input#confirm{
    background: #005caf;
    color: #ffffff;
}

.btn input#reset{
    background: #ffffff;
    border: 2px solid #005caf;
    color: #005caf;
}


/*
 メディアクエリ
*/

@media screen and (max-width: 768px) {
    body, header, .wrapper, .inner{ width: 100%;}
    .pc{ display: none;}
    .sp{ display: block;}
    section{ margin-bottom: 44px;}

    #uj{ margin-left: 10px;}
    #uj img{ width: 14%;}
    #uj p{
        margin: 0 0 0 60px;
        font-size: 0.7em;
    }
    #kv{ padding-top: 20px;}
    #kv h1 img{
        width: 100%;
        height: auto;
    }
    
    #kv h2{ font-size: 20px;}
    #kv div.left+img{
        margin: 22px auto 0;
        padding-top: 16px;
        width: 80%;
        height: auto;
        display: block;
    }

    #toha{ margin-bottom: 20px;}
    #toha img.left {
        margin-top: -48px;
        width: 46%;
        height: auto;
    }
    #toha .right{
        padding: 25px 5% 20px;
        float: none;
    }
    #toha h1{
        font-size: 24px;
        line-height: 1.3;
    }
    #toha h1 span{ font-size: 20px;}
    #toha p{
        padding-top: 20px;
        clear: both;
    }
    #toha p br{ display: none;}
    
    .btn{
        margin-bottom: 30px;
        padding: 0 2%;
    }

    #triple{ padding-bottom: 0;}
    #triple h1{ margin: 0;}
    #triple div.left{
        padding: 20px 3% 0;
        float: none;
        width: 94%;
    }
    #triple div.left h2 img{ width: 100%;}
    #triple div.left+img.left{
        margin: 0 5% 0 15%;
        width: 80%;
        height: auto;
    }
    
    #chara{
        padding-top: 20px;
        background-position: -188% top;
    }
    #chara h1{
        width: 78%;
        margin-left: 2%;
    }
    #chara h1 img{
        width: 100%;
        height: auto;
    }
    #chara h1+img{
        margin-left: 0;
        width: 17%;
        height: auto;
    }
    #chara ul:nth-of-type(1) li{
        padding: 0 10px;
        width: 50%;
    }
    #chara ul:nth-of-type(1) li>h2{
        padding-top: 10px;
        font-size: 18px;
    }
    #chara ul:nth-of-type(1) li:nth-of-type(3),
    #chara ul:nth-of-type(1) li:nth-of-type(4){
        margin-top: 10px;
    }
    #chara ul:nth-of-type(1) li:nth-of-type(3)>img,
    #chara ul:nth-of-type(1) li:nth-of-type(4)>img{
        margin-top: 0;
    }
    #chara ul:nth-of-type(2) li{
        height: auto;
        display: block;
        background: inherit;
    }
    #chara ul:nth-of-type(2) { padding: 20px 2%; background: #f0f0f0;}
    #chara ul:nth-of-type(2) li img.left{
        margin: 0;
        float: none;
        width: 66%;
        height: auto;
    }
    #chara ul:nth-of-type(2) li p{
        padding: 10px 1%;
        background: #ffffff;
        line-height: 1.2;
    }
    #chara ul:nth-of-type(2) li p span{
        line-height: 0.8;
    }

    #model h1, #spec h1, #company h1{
        margin-bottom: 30px;
        font-size: 22px;
    }
    #model img{
        margin: auto;
        width: 96%;
        height: auto;
    }
    #spec .right{ padding: 0 2%;}
    #spec h2 {
        margin-bottom: 10px;
        font-size: 18px;
    }
    #spec table{ margin-bottom: 20px;}

    #qa h1{
        padding: 24px 0 0;
        font-size: 32px;
    }
    #qa ul{ padding: 0 2% 20px;}
    #qa ul li dl { margin: 20px 0;}    
    #qa ul li dl dt,#qa ul li dl dd{
        position: relative;
        line-height: 1.4;
        border-radius: 6px;
    }
    #qa ul li dl dt{
        margin: 0px 0px 20px 18%;
        padding: 10px 8px 10px 14%;
        min-height: 50px;
    }
    #qa ul li dl dd {
        margin: 0px 18% 12px 0px;
        padding: 10px 8px 10px 14%;
    }
    #qa ul li dl::before, #qa ul li dl::after {
        width: 20%;
        padding-bottom: calc(100%*126/162);/* calc(100*ImageHeight/ImageWidth)% */
        background-size: 100% auto;
    }
    #qa ul li dl::after{ top: 50%;}
    #qa ul li dt::after{ bottom: 16px;}
    #qa ul li dd::after{ top: 40%;}
    #qa ul li dt span, #qa ul li dd span {
        top: 12px; left: 4%;
        margin-right: 3%;
        font-size: 22px;
    }
    #qa hr { width: 90%;}

    #company .left{ width: 100%;}
    #company .left p{
        margin-bottom: 30px;
        line-height: 1.6;
        font-size: 18px;
    }
    #company .left img{ width: 38%;}
    #company .right{
        float: none;
        width: 100%;
    }
    #company .right iframe{ width: 100%;}
    
    #inquiry h3{
        line-height: 1.4;
    }
    #inquiry table{
        margin: 0 2%;
        width: 96%;
        font-size: 16px
    }
    #inquiry table th, #inquiry table td {
        padding: 14px 3%;
    }
    select, input, textarea {
        margin-bottom: 10px;
        width: 100%;
        font-size: 16px;
    }
    .hissu, .ninni{
        margin: 0;
    }
    p.btn {
        margin-top: 20px;
    }
    p.btn input {
        margin: 10px 0px;
    }
}
