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

html {  /*EDIT*/
    color: white;
    /*font-size:62.5%;*/
    font-size: 13px;
    line-height: 1.4;
    background-color: #0098b1; /*ADD*/
    margin: 0;  /* 余白の削除 */
    padding: 0; /* 余白の削除 */
    height: 100%;   /* 縦の高さを100% */
    width: 100%;    /* 横の幅を100% */
}

/*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*/
    height: 40%;

}

.wrapper {
    /*width: 100%;*/
    margin: 0 auto;
}

/* ===================
    ALL:  MAIN
   =================== */
.header-container {
   /* border-top: 6px solid #050728;*/
    /*max-height: 50px;*/
    /*min-height: 4vh;*/
}


.main-container{/*ADD*/

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

.footer-container { /*EDIT footer背景*/
   /* max-height: 300px;*/
    min-height: 10vh;
}

.header-container,
.footer-container,
.main {
    /*background: #f16529;*/
}

.title {
    color: white;
}



/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0px 0 20px; /*EDIT*/
}

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


.footer-container footer { /*EDIT footer文字*/
    color: white;
    margin: 0 auto;
    max-width: 840px;
    padding: 14px 10px;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ========================================================
   Author's custom styles   ADD CSS
   ======================================================= */
/* =======================================================
   ADD
   ====================================================== */
section {/*RESP*/
    margin-bottom: 10px !important;
}
h1, h2, h3{
   color: #cccccc;
}
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 }

/*LINK*/
a {
    background-color: transparent;
    text-decoration: none;
    color: #dddddd;
}
a:link{
    color: #dddddd;
}
a:visited {
    color: #dddddd;
}
a:hover{
    color: #ff8000;
}
a:active{
    color: #ff8000;
}

/*FONT*/
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;
}


/*CONTENT*/
#main01, #main02, #main03,#main02-two, #main04{
    display: inline-block;
    text-align: center;
    width: 98%;
}
#main01{
    position: relative; /*z-index*/
}
#main02 { /*RESP*/
    margin-bottom: -20px;
    margin-top: -50px;
}
#main04{
    margin-bottom: 30px;
}


.ch-title { /*RESP*/
    float: left;
    margin: 0 auto;
    width: 100%;
}
.ch-s-title{
    float: left;
    margin: 0 auto;
}

.ch-title img {/*RESP*/
    height: auto;
    width: 200px;
}

/* MENU */
.ch-menu{
    display: inline-block;
    margin: -30px auto 0px;
}
.ch-menu img { /*not change size! for clickmap.*/
    float: right;
    margin: 20px auto 0;
}

/* SUB menu */
.header-smenu {
    font-family: Meiryo,verdana;
    font-size: 12px;
    margin: 6px !important;
    padding: 6px;
    text-align: right;
}
.header-smenu li{
    display: inline;
}
.header-smenu a {}

/* main image*/
.ch-imgchocorey{
    margin-top: -30px;
}
.ch-imgchocorey img {
    max-width: 100%;
    height: auto;
}
/*common image*/
.ch-imgtext{
    padding: 0 0 20px;
}


/*news*/
.ch-news{
    background: #017d98 none repeat scroll 0 0;
    border-radius: 6px;
    color: white;
    display: inline-block;
    margin: 0 20px;
    padding: 0 30px;
    text-align: left;
}

/* second page all*/
.backto-home{
    max-width: 900px;
    color: white;
    font-size: 11px;
    margin: 10px auto 0;
    padding: 0 20px;
    text-align: right;
}

/*about page  1/4 */
#main02-two{ /*RESP*/
    margin-top: -50px;
}
.ch-about-chocorey01{ /*RESP*/
}
.ch-about-chocorey01 img{
    max-width: 300px;
    height: auto;
}
.ch-about-chocorey02{

}
.ch-about-chocorey02 img{
    max-width: 300px;
    height: auto;
}
.ch-text01{
    /*background: #4eabca none repeat scroll 0 0;*/
    background: #017d98 none repeat scroll 0 0;
    border-radius: 6px;
    color: white;
    display: inline-block;
    margin: 0 20px 20px;
    padding: 0 30px;
    text-align: left;
}
.ch-text01 p{
    font-size: 12px;
}
.ch-text02{
    background: #017d98 none repeat scroll 0 0;
    border-radius: 6px;
    color: white;
    display: inline-block;
    margin: 0 20px 20px;
    padding: 0 30px;
    text-align: left;
}
.ch-text02 p{
    font-size: 13px;
}
.ch-text10 {
    font-style: italic;
    font-weight: bold;
    text-align: right;
}
.ch-text04{
    background: #017d98 none repeat scroll 0 0;
    border-radius: 6px;
    color: white;
    display: inline-block;
    margin: 0;
    padding: 10px 30px;
    text-align: left;
}

/*profile page **/
/* HOME news -- (/plugins/aa_ndlab/) */ 
.prof-titlemini{
    background: none;

}
#main04 .profile { /*home*/
    display: inline-block;
    max-width: 260px;
    text-align: left;
    vertical-align: top;
}
.profile { /*action,openshool*/
  -moz-hyphens: auto !important;
  /*max-width: 780px;*/
  width: 96%;
  margin:0 auto;
}
.profile ul {
    padding: 0 !important;
}
.profile li{
    line-height: 1.2;
    margin: 0 0 0 10px !important;
}
li.profile-txt{
    display: block;
  color:white;
  font-size: 12px;
  }
.profile-name {
    color: #f0c17f;
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 4px;

}
.profile p {
  line-height: 1.4;
  margin: 0;
  padding: 0;
  word-wrap:break-word;
  font-size: 12px;
}
li.profile-thumb{
    background: #90c2cd none repeat scroll 0 0;
    border-radius: 4px;
    display: block;
    float: right;
    margin: 0 !important;
    max-height: 100%;
    padding: 2px 2px 0px;
}
li.profile-thumb img{
  border: 0;
  padding: 0;
}

/*gallrey*/
.gallery #main04{
    text-align: left; 
    border-radius: 6px;
}

.ch-text03{
    /*display: inline-block;*/
    color: white;
    background: #017d98;
    margin: 0 0 20px;
    padding: 30px;
    text-align: left;
}
/* HOME news -- (/plugins/aa_ndlab/) */ 
/* news */
.gallery .block2 { /*home*/
  /*max-width: 580px;*/
}
.block2 { /*action,openshool*/
  -moz-hyphens: auto !important;
  max-width: 780px;
  width: 96%;
  margin:0 auto;
    text-align: left !important;
}
.block2 ul {
    padding: 0 !important;
}
.block2 li{
    line-height: 1.2;
    margin: 0 0 0 20px !important;
}
li.block2-txt{
    display: block;
}
.block2 p {
  line-height: 1.4;
  margin: 0;
  padding: 0;
  word-wrap:break-word;
}
li.block2-thumb{
    display: block;
    float: right;
    max-height: 100%;
}
li.block2-thumb img{
  margin-left: 5px;
  max-height: 355px;
  border: 0;
  padding: 0;
}


/*contact*/
.contact #main04{
    display:block;
}
.ch-textimgset{
    text-align: left; 
    background: #017d98;
    border-radius: 6px;
}
.ch-text03{
    /*display: inline-block;*/
    color: white;
    background: rgba(0, 0, 0, 0) url("../imgset/gallery-awaodori.png") no-repeat scroll right bottom ;
    margin: 0 0 20px;
    padding: 30px;
    text-align: left;
}
.contact .ch-text10 {
    font-style: italic;
    font-weight: bold;
    text-align: left;
}


/*IMG*/
.mia-icons {
    margin-top: -3px;
}
/* FOOTER */
.footer-div{
    margin: 0 auto;
    display: table;
}
.footer-list01 {
    display: inline-block;
    list-style-type: none;
    margin: 0 10px;
    vertical-align: top;
}
.footer-list02 {
    display: inline-block;
    margin: 0 10px;
    vertical-align: top;
}
.footer-list03 {
    display: inline-block;
    line-height: 1.6;
    list-style-type: none;
    margin: 10px 10px 0;
    vertical-align: top;
}
.footer-list03 ul {
    margin: 0;
    padding: 0 0 0 13px;
}
.footer-link01 {
    display: inline-block;
    font-size: 12px;
    margin: 10px 20px 10px 0;
    max-width: 230px;
    vertical-align: top;
    line-height: 1.6
}


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

/*480pxより小さい場合が標準*/
/* ========================================================
   Media Queries
   ======================================================= */
/*480pxより大きい場合*/
@media only screen and (min-width: 480px) {

/*profile*/

/* ====================
    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%;
    }
}

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

.ch-title {
    float: left;
    width: auto;
}

/*about page  2/4*/
#main02-two{ /*RESP*/
    margin-top: -20px;
}
.ch-about-chocorey01{ /*RESP*/
    display: inline-block;
}
.ch-about-chocorey01 img{
    max-width: 320px;
    height: auto;
}
.ch-about-chocorey02{
    display: inline-block;
}
.ch-about-chocorey02 img{
    max-width: 350px;
    height: auto;
}

}

/*660pxより大きい場合*/
@media only screen and (min-width: 660px) {
#main02 { /*RESP*/
    margin-top: -100px;
}

.ch-title {
    display: inline-block;
    float: left;
}
.ch-title img {
    width: 270px;
    height: auto;
}
.ch-menu {
    float: right;
    margin: 20px auto 0;
}

/*profile*/
.prof-titlemini {
    background: rgba(0, 0, 0, 0) url("../imgset/prof_titlemini.png") no-repeat scroll 38px bottom;
}


}

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

.ch-title {
    display: inline-block;
    float: left;
}
.ch-title img {
    width: 270px;
    height: auto;
}
.ch-menu {
    float: right;
    margin: 20px auto 0;
}

/*about page  3/4*/
#main02-two{ /*RESP*/
    margin-top: -30px;
}
.ch-about-chocorey01{ /*RESP*/
    display: inline-block;
}
.ch-about-chocorey01 img{
}
.ch-about-chocorey02{
    display: inline-block;
}
.ch-about-chocorey02 img{
    max-width: 380px;
    height: auto;
}


/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside { /*EDIT*/

    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav { /*EDIT*/
        display: inline-block;
        float: right;
        margin-top: 6px;
        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%;
}


/* 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;
}

}


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


/*about page  4/4*/
#main02-two{ /*RESP*/
    margin-top: -40px;
}
.ch-about-chocorey01{ /*RESP*/
    display: inline-block;
}
.ch-about-chocorey01 img{
    max-width: 320px;
    height: auto;
}
.ch-about-chocorey02{
    display: inline-block;
}
.ch-about-chocorey02 img{
    max-width: 480px;
    height: auto;
}

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        max-width: 840px; /* 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;
    }
}