/* RESET CSS */

/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

body {
  line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
  display:block;
}

nav ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colours to suit your needs */
mark {
  background-color:#ff9;
  color:#000; 
  font-style:italic;
   font-weight:bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;   
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}

/* ADD */

a {
    text-decoration: none;
}

ol, ul {
	list-style: none;
}

input[type=submit] {
	-webkit-appearance: none;
	border-radius: 0;
}
:focus {
	outline: none;
}

/* RESET CSS END */

/* PC */

html {
}
body {
    font-family: serif;
    color: #444;
}

#mybody {
    overflow: hidden;
}

h2, h3, h4 {
    font-family: 'Kosugi', sans-serif;
}
#header {
    position: fixed;
    top: 0;
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 9999;
    background: rgba(255,255,255,0.9);
    width: 100%;
    height: 80px;
}
#header img {
    padding: 14px;
    padding-left: 24px;
    height: 80px;    
    box-sizing: border-box;
}
#header ul.navi {
    position: absolute;
    top: 0;
    right: 18px;
    display: flex;
    box-sizing: border-box;
    margin-top: 16px;
}
#header ul.navi li {
    display: block;
    box-sizing: border-box;
    height: 48px;
    box-sizing: border-box;
    line-height: 48px;
    background: linear-gradient(#6CF,#187FC3);
    box-shadow: 0px 3px 6px rgba(0,0,0,0.3);
    border-radius: 12px;
    font-size: 18px;
    margin-left: 16px;
}
#header ul.navi a {
    display: block;
    box-sizing: border-box;
    text-decoration: none;
    color: #FFF;
    width: 180px;
    text-align: center;
    font-family: 'Kosugi', sans-serif;
}
#header ul.navi a:hover {
    color: #FFF;
}
#header ul.navi i {
    padding-right: 6px;
}

#main-visual {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 80px;
    z-index: 99;
}
#main-visual img {
    width: 100vw;
    height: auto;
}

#product {
    position: relative;
    z-index: 9;
    display: block;
    box-sizing: border-box;
    background: url(./images/back-product.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    
    margin-top: -80px;
    padding-top: 80px;
    
    padding-bottom: 80px;
}
#product h2, #product h3 {
    display: block;
    text-align: center;
    text-align: center;
    font-size: 200%;
    padding-top: 80px;
    padding-bottom: 48px;
}
#product h3 {
    font-size: 160%;
    padding-bottom: 24px;
}
#product .left {
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    width: 50%;
    padding: 0px 48px 0px 80px;
}
#product .right {
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    width: 50%;
    padding: 0px 80px 0px 48px;
}
#product img {
    width: 100%;
    height: auto;
}
#product img.moshiki {
    padding-top: 48px;
}
#product p {
    font-size: 110%;
    line-height: 2.2;
}
#product h4 {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 24px;
    font-size: 160%;
}
#product .button {
    width: 65%;
    height: 80px;
    font-size: 200%;
    background: linear-gradient(#6CF,#187FC3);
    box-shadow: 0px 3px 6px rgba(0,0,0,0.3);
    font-family: sans-serif;
    border-radius: 12px;
}
#product .button a {
    display: block;
    color: #FFF;
    padding-top: 24px;
}
#product dl {
    display: block;
    width: 65%;
    margin: 0 auto;
    font-size: 110%;
    line-height: 1.8;
}
#product dl dt {
   font-family: 'Kosugi', sans-serif;
    border-bottom: 1px solid #999;
    margin-top: 24px;
    padding-bottom: 6px;
}
#product dl dd {
    padding-top: 12px;
}

#instruct {
    position: relative;
    padding-left: 80px;
    padding-right: 80px;
    background: #CCEEFF;
    
    margin-top: -80px;
    padding-top: 80px;
    
    padding-bottom: 80px;
    
    z-index: 5;
}
#instruct h2 {
    text-align: center;
    font-size: 200%;
    padding-top: 80px;
    padding-bottom: 48px;
}
#instruct .card {
    position: relative;
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    width: calc(100% / 3 - 48px);
    margin: 24px 24px 24px 24px;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
    line-height: 1.6;
    font-family: 'Kosugi', sans-serif;
    background: #FFF;
    font-size: 120%;
}
#instruct .card p {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 64px;
    height: 64px;
    border-radius: 64px;
    background: linear-gradient(135deg,#FFF,#088);
    color: #FFF;
    font-size: 40px;
    font-family: "Times",serif;
    text-align: center;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}
#instruct img {
    width: 100%;
    height: auto;
    padding-bottom: 24px;
}

#company {
    position: relative;
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    background-image: url(./images/back-company.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    padding-bottom: 36px;
    padding-left: 80px;
    padding-right: 80px;
    
    margin-top: -80px;
    padding-top: 80px;
}
#company .container {
    width: 100%;
    margin: 0 auto;
    padding-top: 36px;
}
#company .left {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    overflow: hidden;
    width: calc(100% - 400px - 32px);
    height: 400px;
    margin-right: 32px;
    background: rgba(255,255,255,0.85);
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 80px 0px 80px 0px;
}
#company .right {
    display: block;
    box-sizing: border-box;
}
#company p {
    width: 100%;
    line-height: 1.8;
    font-size: 120%;
}
#company a {
    color: #444;
}
#company img {
    width: 360px;
    height: auto;
    margin-bottom: 48px;
}

#footer {
    background: #187FC3;
    color: #FFF;
    text-align: center;
    padding-top: 48px;
    padding-bottom: 48px;
}
#footer img {
    width: 240px;
    height: auto;
}
#footer img {
    margin-bottom: 18px;
}
#footer p {
    line-height: 1.8;
    font-size: 90%;
}

.left {
    float: left;
}
.flex {
    display: flex;
    flex-wrap: wrap;    
    justify-content: center;
}
.button {
    position: relative;
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    border-radius: 6px;
}
.button a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* PC over 1440px */

@media (min-width: 1921px) {
    #mybody {
        width: 1920px;
        margin: 0 auto;
        box-shadow: 0px 0px 12px #CCC;
    }
    
    #header {
        width: 1920px;
        margin: 0 auto;
    }
    
    #main-visual img {
        width: 1920px;
        height: auto;
    }
}

/* SMP under 768px */

@media (max-width: 768px) {
    #header {
        width: 100%;
        height: 76px;
        background: #FFF;
    }
    #header img {
        display: block;
        width: auto;
        height: 42px;
        padding: 0;
        padding-top: 8px;
        margin: 0 auto;
    }
    #header ul.navi {
        position: fixed;

        top: 52px;
        left: 0;
        right: 0;
        
        margin: 0;
        padding: 0;
        
        flex-wrap: wrap;
    }
    #header ul.navi li {
        border-radius: 0;
        height: 34px;
        line-height: 32px;
        font-size: 90%;
        width: calc(100% / 3);
        
        padding: 0;
        margin: 0;
    }
    #header ul.navi a {
        width: 100%;
        
        padding: 0;
        margin: 0;
    }
    #main-visual {
        margin-top: 76px;
    }
    #product {
        padding-left: 24px;
        padding-right: 24px;
    }
    #product p {
        font-size: 100%;
        line-height: 1.8;
    }
    #product dl {
        font-size: 100%;
    }
    #product .left {
        float: none;
        width: 100%;
        padding: 0;
    }
    #product .right {
        float: none;
        width: 100%;
        padding: 0;
    }
    #product img {
        display: block;
        box-sizing: border-box;
        width: 80%;
        margin: 0 auto;
    }
    #product dl {
        display: block;
        box-sizing: border-box;
        width: 100%;
    }
    #product .button {
        width: 100%;
    }
    #product h2 {
        font-size: 120%;
        line-height: 1.4;
    }
    #product h3 {
        font-size: 120%;
        line-height: 1.4;
    }
    #product h4 {
        font-size: 120%;
        line-height: 1.4;
    }
    #product .button {
        font-size: 120%;
        height: 72px;
    }
    #instruct {
        padding-left: 24px;
        padding-right: 24px;
    }
    #instruct .card {
        width: 100%;
        margin: 0px 0px 36px 0px;
        font-size: 100%;
    }
    #instruct h2 {
        font-size: 120%;
    }
    #instruct .card p {
        font-size: 180%;
        width: 48px;
        height: 48px;
    }
    #company {
        padding-left: 24px;
        padding-right: 24px;
    }
    #company p {
        font-size: 90%;
    }
    #company .left {
        width: 100%;
        height: 220px;
        margin-right: 0;
        margin-bottom: 24px;
        font-size: 100%;
        padding: 24px 0px 24px 0px;
    }
    #company img {
        width: 60vw;
        margin-bottom: 24px;
    }
    #company iframe {
        width: 100% !important;
        height: 300px !important;
    }
    #footer img {
        width: 40vw;
        height: auto;
    }
}