/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
html {

    /*EDIT*/
    color: #555555;
    font-size: 62.5%;
    line-height: 1.4;
    margin: 0;  /* 余白の削除 */
    padding: 0; /* 余白の削除 */
    height: 100%;   /* 縦の高さを100% */
    width: 100%;    /* 横の幅を100% */
    background-color: white;
    background: url("/css-common/homebase.jpg") center center / cover no-repeat fixed;
}

/*ADD*/
h1 {
    font-size: 2.4em;
}

/* =24px */
p {
    font-size: 1.4em;
}

/* =14px */
li {
    font-size: 1.4em;
}

/* =14px? */
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ===== Initializr Styles ======================================
  Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
  ====================================================== */
body {
    font: 16px/26px  font-family:"メイリオ", Meiryo, verdana; /*EDIT*/
    margin: 0;
    padding: 0;
}

.wrapper {

    /*width: 100%;*/
    margin: 0 auto;
}

/* ===================
ALL:  MAIN
   =================== */
.header-container {

    /*border-bottom: 20px solid #e44d26;*/

    /*border-top: 10px solid #050728;*/

    /*max-height: 50px;*/
    min-height: 30vh;
}

.main-container {

    /*ADD*/
    max-height: 4000px;
    min-height: 40vh;
}

.footer-container {

    /*EDIT footer背景*/
    max-height: 300px;
    min-height: 30vh;
}

.header-container,
.footer-container,
.main {

    /*background: #f16529;*/
}

.title {
    color: white;
}

/* ==============
MOBILE: Menu
   ============== */
.header-container nav a {

    /*EDIT*/
    display: block; /*縮小時に横いっぱい*/
    border-bottom: 2px solid #bbbbbb;
    color: #777777;
    font-family: "メイリオ", Meiryo, verdana;
    font-size: 12px;
    font-weight: normal;
    margin: 4px !important;
    padding: 0px 2px;
    text-align: center;
    text-decoration: none;
}

.header-container nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.header-container nav a:hover,
.header-container nav a:visited {

    /*EDIT*/
    color: #777777;
    text-decoration: none;
}

.header-container nav a:hover {

    /*EDIT*/
    color: #668E55;
    text-decoration: none;
    border-bottom: 2px solid #57B42F;
}

/* ==============
   MOBILE: Main
  ============== */
.main {
    padding: 0px 0 50px; /*EDIT*/
    color: #777777; /*ADD*/
}

.main article h1 {
    font-size: 2em;
}

.footer-container footer {

    /*EDIT footer文字*/
    color: #888888;
    margin: 0 auto;
    max-width: 900px;
    padding: 14px 4px;
}

/* ===============
   ALL: IE Fixes
  =============== */
.ie7 .title {
    padding-top: 20px;
}

/* ========================================================
  Author's custom styles   ADD CSS
  ======================================================= */

/* =======================================================
  ADD
  ====================================================== */
section {

    /*RESP*/
    margin-bottom: 10px !important;
}

h1 {
    font-size: 18px
}

h2 {
    font-size: 16px
}

h3 {
    font-size: 14px
}

p {
    font-size: 13px;
    line-height: 1.4;
    margin: 1rem 0;
}

li {
    font-size: 12px
}

a {
    background-color: transparent;
    text-decoration: none;
}

p .web-program {
    margin: 0;
    padding: 0;
}

h2.web-title {
    display: block;
    float: left;
    margin: 10px 10px 0 0;
    -moz-text-shadow: -1px -1px 1px #000;
    -webkit-text-shadow: -1px -1px 1px #000;
    text-shadow: -1px -1px 1px #bbbbbb, 1px 1px 1px #ffffff;
}

.font12 {
    font-size: 12px;
}

.font10 {
    font-size: 10px;
}

.font14b-green {
    font-size: 14px;
    font-weight: bold;
    color: #3BA66F;
}

.font14b-orange {
    font-size: 14px;
    font-weight: bold;
    color: #DFA828;
}

.font14b-purple {
    font-size: 14px;
    font-weight: bold;
    color: #6648E1;
}

#main-left {
    margin: 0;
}

#miaou-enter {
    margin-left: -5px;
}

#miaou-title {
    height: 110px;
    text-align: center;
}

#enter-menu {
    text-align: center;
}

#enter-menu ul {
    margin: 0;
    padding: 0;
}

#enter-menu li {
    display: inline-block;
    list-style-type: none;
    margin: 5px;
    padding: 0;
}

li.menu-shop {
    display: block;
}

li.menu-shop a {
    background: url('/css-common/entermenu_shop.png');
    background-position: 0px 0px;
    display: inline-block;
    width: 77px;
    height: 35px;
}

li.menu-shop a:hover {
    background: url('/css-common/entermenu_shop.png');
    background-position: 0px -45px;
    display: inline-block;
    width: 77px;
    height: 35px;
}

li.menu-design {
    display: block;
}

li.menu-design a {
    background: url('/css-common/entermenu_design.png');
    background-position: 0px 0px;
    display: inline-block;
    width: 77px;
    height: 35px;
}

li.menu-design a:hover {
    background: url('/css-common/entermenu_design.png');
    background-position: 0px -45px;
    display: inline-block;
    width: 77px;
    height: 35px;
}

/* FOOTER */
.footer-div {
    margin: 0 auto;
    display: table;
}

.copyright {
    color: #888888;
    font-size: 11px;
    margin: 14px 0 10px;
    text-align: center;
    font-family: verdana;
}

/*480pxより小さい場合が標準*/

/* ========================================================
  Media Queries
  ======================================================= */

/*480pxより大きい場合*/
@media only screen and (min-width:480px) {

    /* ====================
       INTERMEDIATE: Menu
      ==================== */

    /*    nav a { EDIT
           float: left;
           width: 27%;
           margin: 0 1.7%;
           padding: 25px 2%;
           margin-bottom: 0;
       }*/

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    /* ========================
       INTERMEDIATE: IE Fixes
      ======================== */
    nav ul li {
        display: inline-block; /*EDIT*/
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

}

/*768pxより大きい場合*/
@media only screen and (min-width:768px) {

    /* ====================
       WIDE: CSS3 Effects
      ==================== */
    .header-container,
    .main aside {

        /*EDIT*/
    }

    /* ============
       WIDE: Menu
      ============ */
    .title {
        float: left;
    }

    nav {

        /*EDIT*/
        display: inline-block;
        float: right;
        margin-top: 14px;
        margin-right: 10px;
        text-align: right;
        vertical-align: top;
    }

    /* ============
       WIDE: Main
      ============ */
    .main article {

        /* float: left;*/
        width: 57%;
    }

    .main aside {

        /*EDIT*/

        /* float: right;*/

        /* width: 28%; */
    }

    /*ADD*/
    #main-nav {
        display: inline-block;
        float: left;
        margin: 0 10px;
        width: 25%;
    }

    #widget-image {
    }

    #swiffycontainer {
        height: 322px !important;
        width: 250px !important;
    }

    #welcome {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 2px 4px #aaa;
        float: right;
        margin: 40px 10px 0;
        padding: 20px;
        max-width: 70%;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        -o-box-sizing: border-box;
        display: inline-block;
        -webkit-box-shadow: 0 2px 4px #aaa;
        -moz-box-shadow: 0 2px 4px #aaa;
        -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */
        -moz-border-radius: 10px;   /* Firefox用 */
    }

    #main-left {
        display: block;
        margin: 0 10px;
        float: left;
        width: 24%;
    }

    .miaou-title {
        background: rgba(0, 0, 0, 0) url("/miaoudesign/imgset/hometitle_w170.png") no-repeat scroll 0 0;
        height: 90px;
        width: 170px;
        margin: 0 auto;
        text-align: center;
        display: inline-block;
    }

    .miaou-menu {
        margin: 0 0 10px 10px;
    }

    /* MENU */
    ul.menuset {
        margin-top: 24px;
        padding: 0;
    }

    ul.menuset {
        display: block;
        margin-top: 24px;
    }

    .menuset li {
        list-style: none;
        margin: 0 0 6px;
        float: none;
    }

    /******************** http://csssprites.com/   **********/
    .menutitle {
        text-align: center;
        background-color: #bbbbbb;
        color: white;
    }

    .menu-web a {
        background: url("../imgset/menu_web.png") no-repeat;
        display: inline-block;
        width: 194px;
        height: 50px;
    }

    .menu-web a:hover {
        background-position: bottom right;
    }

    .menu-movie a {
        background: url("../imgset/menu_movie.png") no-repeat;
        display: inline-block;
        width: 194px;
        height: 50px;
    }

    .menu-movie a:hover {
        background-position: bottom right;
    }

    .menu-dtp a {
        background: url("../imgset/menu_dtp.png") no-repeat;
        display: inline-block;
        width: 194px;
        height: 50px;
    }

    .menu-dtp a:hover {
        background-position: bottom right;
    }

    .menu-miaou a {
        background: url("../imgset/menu_miaou.png") no-repeat;
        display: inline-block;
        width: 194px;
        height: 50px;
    }

    .menu-miaou a:hover {
        background-position: bottom right;
    }

}

/*900pxより大きい場合*/
@media only screen and (min-width:900px) {

    /* ===============
        Maximal Width
       =============== */
    .wrapper {
        max-width: 900px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

}

/* =========================================================
   Helper classes
   ======================================================== */
.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* =======================================================
   Print styles
   ====================================================== */
@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

}
