/* 共通設定 */
/*header > h1, header > p, ul.menu, div#contents{
    border: 3px solid red;
}
main.inline{
    border: 3px solid blue;
}*/
body {
    margin: 0;
    background-color: #fddea5;
    line-height: 1.5;
    font-size: 0.9em;
    color: black;
    font-family: 'Hiragino Maru Gothic Pro', sans-serif;
}
/* コンテナ */
div#container {
    margin: 0px;
    padding: 0px;
}
/* ヘッダ */
header {
    background-color: #a8c97f;
    background-image: url(../images/back.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 170px;
    padding: 0% 15%;
    line-height: 1;
    border: 1px solid #a8c97f;
}
header h1{
    font-size: 3.5em;
    margin: 15px 0px 0px 0px;
}
/*
色のセット
a. {1e50a2, be1c68/856812}
b. {007bbb, 08c97f}
c. {f08300, a8c97f} *applied
*/
header h1 a {
    color: #f08300;
    text-shadow: 1px 1px 1px black;
}
header h1 a:link, header h1 a:visited{
    text-decoration: none;
}
header > p{
    font-size: 1.2em;
    text-shadow: 1px 1px 1px black;
    margin: 29px 0px 0px 0px;
    color: #f08300;
}
/*メニュー*/
nav {
    margin-bottom: 0px;
    padding: 0;
    font-size: 1.6em;
    /* position: webkit-sticky;
    position: sticky; */
    top: 0;
    background-color: #a8c97f;
    height: 35px;
}
div#menu-container{
    float: right;
    position: relative;
    left: -50%; /* or right 50% */
}
ul.menu {
    margin: 0;
    height: 35px;
    background-color: #a8c97f;
    padding: 0;

    position: relative;
    left: 50%;
}
ul.menu li {
    width: 177px;
    float: left;
    list-style-type: none;
    min-width: 177px;
}
ul.menu li a{
    display: block;
    background-color:  #a8c97f;
    border-right: 1px solid white;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    color: white;
}
ul.menu li:last-child a{
    border-right: none;
}
ul.menu a:hover {
    color: white;
    background-color:  #82ae46;
    text-shadow: 0px 0px 1px yellow;
}
ul.menu a:active {
    color: orange;
}
/*お問い合わせ*/
#contact a{
    position: absolute;
    top: 0;
    right: 15%;
    padding: 10px 30px;
    text-align: center;
    color: white;
    background-color: #a8c97f;
    border-radius: 0px 0px 10px 10px;
    font-size: 18px
}
#contact a:hover {
    color: white;
    background-color:  #82ae46;
    text-shadow: 0px 0px 1px yellow;
}
#contact a:link, #contact a:visited{
    text-decoration: none;
}
/* メインコンテンツ */
/** 全ページ共通 **/
main h1#title{
    font-size: 3em;
    border-left: 6px solid #007bbb;
    border-bottom: 1px dotted #007bbb;
    padding-left: 0.4em
}
main section h2{
    font-size: 2em;
}
main section p{
    padding-left: 2em;
    font-size: 1.5em;
}
/** トップページ **/
.slideshow {
    /*overflow: hidden;*/
    width: 60%;
    height: 460px;
    background-color: #fddea5;
    float: left;
    margin: 5px 2% 20px 0;
}
.slideshow img {
    max-width: 100%;
    max-height: 100%;
}
.article{
    margin: 0px;
}
.title1{
    margin-bottom: 0px;
    padding-left: 71%;
}
.title2{
    margin: 5px 0 0 0;
    padding-left: 73%;
}

iframe#blog{
    width : 37%;
    height: 294px;
}
h2#greeting {
    clear: left;
    margin-top: 0;
    margin-bottom: 0;
}
img.shortschool {
    width: 80%;
    margin: 0 10% 0;
}
p.greeting {
    margin-top: 0!important;
}
#children{
    width: 50%;
    margin: 0 auto;
}
#children img{
    max-width: 100%;
    max-height: 100%;
}
/* こども教室 */
.slideshow_school {
    width: 100%;
}
.slideshow_school img {
    max-width: 100%;
    max-height: 100%;
}
/* アクセス */
#accessmap {
    width: 70vw;
    height: 43vw;
}
/** 講師紹介 **/
.profile h2, footer{
    clear: left;
}
main section.profile img{
    float: left;
    margin: 0em 2em 2em 0em;
    width: 14em;
}
/* メイン */
main > section{
    padding: 0px;
    min-width: 1000px;
    width: 70%;
    margin: 0% auto 3em;
}
/* フッタ */
footer p{
    border-top: solid 1px #666666;
    background-color: #333333;
    font-size: 0.9em;
    text-align: center;
    padding: 5px;
    margin: 0;
    color: white;
}
footer p a{
    color: white;
}
footer p a:visited{
    text-decoration: none;
}
