@charset "utf-8";
/* ----------------------------------------- 

2019-05 書道教室そらまめTOPページ用Style
    
2019-05-24 : 作成
------------------------------------------ */

/* 下層ページ用ヘッダー
------------------------------------------ */
header {
    background-color: #25A7FB;
    height: 88px;
    margin: 0 auto;
    padding: 0 0 8px 0;
    position: relative;
    width: 100%;
}
nav {
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 999;
}
.underHeadImg {
    background-color: #25A7FB;
    height: 70px;
    margin: -50px auto 0 auto;
    padding: 50px 0 0 0;
    width: 100%;
}
.underHeadImg .uhiIn {
    align-items: center;
    color: #fff;
    display: -webkit-flex;
    display: flex;
    font-size: 28px;
    font-weight: bold;
    height: 100%;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0;
    width: 100%;
}
.underHeadImg .uhiIn > span {
    font-size: 20px;
    padding-left: 5px;
}

/* パンくず
------------------------------------------ */
.bread {
    background-color: #eee;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
.bread .breadIn {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 0;
    width: 100%;
}
.bread .breadIn ul {
    color: #666;
    list-style: none;
    letter-spacing: -.4em;
    margin: 0 0 0 auto;
    width: auto;
}
.bread .breadIn ul li {
    letter-spacing: normal;
    display: inline-block;
}
.bread .breadIn ul li.arw {
    padding: 0 8px;
}
.bread .breadIn ul li a {
    color: #666;
}

/* コンテンツ部＋サイドメニュー部レイアウト
------------------------------------------ */
/*2カラムレイアウト*/
.mainBodyIn {
	margin: 50px auto;
	max-width: 1200px;
	width: 100%;
}
.mainBodyIn::after {
    /* clearFix */
	clear: both;
	content: "";
	display: block;
	height: 0;
	visibility: hidden;
}
.mainContWrap {
	float: left;
	width: 100%;
	margin-right: -350px;
	padding-right: 350px;
	box-sizing: border-box;
	overflow: hidden;
}
.sideContWrap {
	float: right;
	padding-left: 50px;
	position: relative;
	height: 100%;
	width: 350px;
}

/* メインコンテンツ部詳細
------------------------------------------ */
section.contents {
    margin: 0 auto 40px auto;
    padding: 0;
    width: 100%;
}
section h1 {
    align-items: center;
    display: -webkit-flex;
    display: flex;
    color: #000;
    line-height: 1.25;
    margin-bottom: 1.5em;
    min-height: 60px;
    padding: 0 0 0 65px;
    position: relative;
}
section h1::before {
    background-image: url(../img/common/under-h1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: "";
    display: block;
    height: 60px;
    position: absolute;
        top: 50%;
        left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 60px;
}
section h2 {
    background-color: #c7dcb2;
    border-radius: 16px;
    border-bottom: 0;
    color: #387000;
    display: block;
    font-size: 16px;
    padding: 8px 8px 8px 2em;
    position: relative;
    margin-bottom: 1.5em;
}
section h2::before {
    background-color: #387000;
    background-image: none;
    border-radius: 50%;
    width: .5em;
    height: .5em;
    content: "";
    position: absolute;
        top: 50%;
        left: 16px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

section.contents p {
    margin-bottom: 1.5em;
}
section.contents p:last-child {
    margin-bottom: 0;
}

/* メインコンテンツ:テーブル
------------------------------------------ */
section table {
    margin: 0 auto 1.5em auto;
    padding: 0;
    table-layout: fixed;
    width: 100%;
}
section table th,
section table td {
    border: 1px solid #bbb;
    padding: 8px 5px;
}

section table td span {
    color: #000;
    font-size: 14px;
}
section table td ul {
    color: #000;
    font-size: 14px;
    margin: 1em 0 1em 1.5em;
}
section table td ul li {
    margin-bottom: .5em;
}


section table th {
    background-color: #ecf3e5;
    color: #000;
}


/* テキスト文字・緑大 ------------- */
section table.greenBic th {
    font-size: 16px;
}
section table.greenBic td {
    color: #387000;
    font-size: 16px;
}
section table.resB.greenBic th,
section table.resB.greenBic td {
    font-size: 14px;
}
section table.resB td {
    color: #000;
}


/* GoogleMapレスポンシブ　--------- */
.gmap {
    position: relative;
    /* padding-bottom: 56.25%; */
    padding-bottom: 47.0588%; /* 850x400px */   
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}
 
.gmap iframe,
.gmap object,
.gmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* サイドバー部
------------------------------------------ */
aside {
    margin: 0;
    padding: 0;
    width: 100%;
}
aside .sideWidget {
    margin: 0 auto 16px auto;
    padding: 0;
    width: 100%;
}
h3.side {
    border-bottom: 2px dotted #468C00;
    color: #000;
    font-size: 16px;
    margin: 0 auto 16px auto;
    padding: 0 0 5px 1.5em;
    position: relative;
    width: 100%;
}
h3.side::before {
    background-color: #468C00;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 1em;
    width: 1em;
    position: absolute;
        top: 50%;
        left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.sideWidget ul {
    margin-left: 1em;
    margin-bottom: 2em;
}
.sideWidget ul li {
    line-height: 1.2;
    margin-bottom: .5em;
}

/* サイドメニュー用カレンダー部詳細
------------------------------------------ */
.calTitle {
    align-items: center;
    display: -webkit-flex;
    display: flex;
    margin: 0 0 5px 0;
    padding: 0;
    width: 100%;
}
.calTitle div.ym {
    color: #336600;
    font-size: 18px;
    font-weight: bold;
}
.calTitle div.ym > span {
    font-size: 14px;
    padding: 0 2px;
}
.calTitle div.bot {
    margin-left: 5px;
    height: 100%;
}
.calTitle div.bot > ul {
    align-items: center;
    display: -webkit-flex;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}
.calTitle div.bot > ul > li {
    margin-right: 5px;
    margin-bottom: 0;
    width: 50px;
}
.calTitle div.bot > ul > li a {
    align-items: center;
    background: rgb(221,221,221);
    background: linear-gradient(180deg, rgba(221,221,221,1) 0%, rgba(254,254,254,1) 100%);
    border: 1px solid #bbb;
    border-radius: 8px;
    color: #333;
    display: -webkit-flex;
    display: flex;
    font-size: 12px;
    height: 26px;
    justify-content: center;
    opacity: 1.0;
    text-align: center;
    text-decoration: none;
    width: 100%;
}
.calTitle div.bot ul li a:hover {
    opacity: 0.5;
}

table.calender {
    background-color: #fff;
    margin: 0 auto 1em auto;
    padding: 0;
    table-layout: fixed;
    width: 100%;
}
table.calender th,
table.calender td {
    border: 1px solid #ccc;
}
table.calender th > div,
table.calender td > div {
    align-items: flex-end;
    display: -webkit-flex;
    display: flex;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
}
table.calender th > div {
    align-items: center;
}
table.calender th {
    background-color: #468C00;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    height: 25px;
}
table.calender td {
    vertical-align: bottom;
    height: 60px;
}
table.calender td span {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
        top: 2px;
        left: 2px;
}
table.calender td p.pat {
    font-size: 10px;
    line-height: 1.25;
    margin-bottom: 3px;
}


.sch {
    color: #f00;
    font-size: 12px;
    margin-left: 1em;
}

table.time-table th.ttl-cal {
    width: 42px;
}

/* サイド・お知らせ部詳細
------------------------------------------ */
.sideWidget .newsContWrap {
    margin: 0 auto 30px auto;
    height: auto;
    padding: 0;
    width: 100%;
}
.sideWidget ul.news {
    list-style: none;
    margin: 0 auto;
    padding: 0 10px 0 0;
    width: 100%;
}
.sideWidget ul.news li {
    border-bottom: 1px dotted #666;
    width: 100%;
}
.sideWidget ul.news li a,
.sideWidget ul.news li > span {
    align-items: flex-start;
    color: #000;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 20px 5px;
    text-decoration: none;
    width: 100%;
}
.sideWidget ul.news li a:hover {
    background-color: #ececec;
}
.sideWidget ul.news li a > span,
.sideWidget ul.news li > span span {
    display: block;
}
.sideWidget ul.news li a span.date,
.sideWidget ul.news li > span span.date {
    margin-right: 10px;
    width: 80px;
}
.sideWidget ul.news li a span.cat,
.sideWidget ul.news li > span span.cat {
    color: #fff;
    font-size: 12px;
    text-align: center;
    width: 100px;
}
.sideWidget ul.news li a span.title,
.sideWidget ul.news li > span span.title {
    display: block;
    width: 100%;
    padding-left: 0;
    margin-top: 10px;
    flex: none;
}
.sideWidget ul.news li span.info {
    background-color: #336600;
    border-radius: 16px;
    display: block;
    padding: 1px 0;
    width: 100%;
}
.sideWidget ul.news li span.rec {
    background-color: #ff0000;
    border-radius: 16px;
    display: block;
    padding: 1px 0;
    width: 100%;
}


/* サイド・バナー部詳細
------------------------------------------ */
.sideWidget .bannerWrap .banner {
    background-color: #F0F0E1;
    margin-bottom: 10px;
    text-align: center;
}
.sideWidget .bannerWrap .banner:last-of-type {
    margin-bottom: 0;
}

.sideWidget .bannerWrap .banner img {
    display: block;
    margin: 0 auto;
    text-align: center;
}


/* フッター部 レイアウト
------------------------------------------ */
footer {
    margin: 20px auto 0 auto;
}


/* 画像配置 レイアウト
------------------------------------------ */
.photoWrap {
    margin: 0;
    padding: 0;
    width: auto;
}
.photoWrap.left {
    float: left;
    margin: 0 1.5em .5em 0;
}
.photoWrap.right {
    float: right;
    margin: 0 0 .5em 1.5em;
}

.photoWrap > img {
    border: 1px solid #ccc;
    padding: 5px;
}
.photoWrap p.cap {
    color: #666;
    font-size: 12px;
    margin-bottom: 1em;
    text-align: center;
}

/* コンテンツに署名を付ける
------------------------------------------ */
.signature {
    align-items: center;
    margin: 20px auto;
    display: -webkit-flex;
    display: flex;
    /* justify-content: flex-end; */
    justify-content: center;
    text-align: center;
}
.signature div.ico {
    display: inline-block;
    margin-right: 8px;
    width: 60px;
    height: 60px;
}
.signature div.name > span {
    display: block;
    font-size: 18px;
}


/* ---------------------------------------
    1200px以下レスポンシブ
---------------------------------------- */
@media only screen and (max-width : 1200px) {
    
    header {
        padding: 0 10px;    
    }
    
    /* パンくず
    ------------------------------------------ */
    .bread .breadIn {
        font-size: 14px;
        max-width: inherit;
        padding: 5px 10px;
    }
    
    /* コンテンツ部＋サイドメニュー部レイアウト
    ------------------------------------------ */
    /*2カラムレイアウト*/
    .mainBodyIn {
	   margin: 20px auto;
       max-width: inherit;
       padding: 0 30px;
    }
    
}


/* ---------------------------------------
    1024px以下レスポンシブ
---------------------------------------- */
@media only screen and (max-width : 1024px) {

    /* コンテンツ部＋サイドメニュー部レイアウト
    ------------------------------------------ */
    /*2カラムレイアウト*/
    .mainBodyIn {
       padding: 0 10px;
    }

}

/* ---------------------------------------
    767px以下レスポンシブ
---------------------------------------- */
@media only screen and (max-width : 767px) {

    header {
        padding-top: 5px;
        padding-bottom: 14px;
        height: auto;
    }
    .underHeadImg {
        display: none;
    }
    nav {
        background-color: #F0F0E1;
        margin: inherit;
        padding: inherit;
        position: absolute;
            top: 97.5px;
        width: 100%;
        z-index: 999;
    }
    
    
    /* パンくず
    ------------------------------------------ */
    .bread .breadIn {
        font-size: 12px;
    }

    
    /* コンテンツ部＋サイドメニュー部レイアウト
    ------------------------------------------ */
    /*2カラムレイアウト*/
    .mainBodyIn {
	   margin: 10px auto 20px auto;
    }
    .mainContWrap {
        float: inherit;
        margin-right: 0;
        padding-right: 0;
        margin-bottom: 20px;
    }
    .sideContWrap {
        float: inherit;
        padding-left: 0;
        position: relative;
        height: auto;
        width: 100%;
    }
    
    
    section.contents {
        margin: 0 auto 20px auto;
    }
    
    section h1 {
        font-size: 18px;
        margin-bottom: .5em;
        padding: 0 0 0 40px;
    }
    section h1::before {
        height: 40px;
        width: 40px;
    }

    section table.resA th,
    section table.resA td,
    section table.resB th,
    section table.resB td {
        display: block;
        width: 100% !important;
    }
    section table.resA th,
    section table.resB th {
        border: 0px solid #bbb;
        border-width: 1px 1px 0 1px;
    }
    section table.resA td,
    section table.resB td {
        border: 0px solid #bbb;
        border-width: 1px 1px 0 1px;
    }
    
    section table.resA tr:last-child td,
    section table.resB tr:last-child td {
        border: 0px solid #bbb;
        border-width: 1px 1px 1px 1px;
    }
    
    /* テキスト文字・緑大 ------------- */
    section table.greenBic th {
        font-size: 14px;
    }
    section table.greenBic td {
        color: #387000;
        font-size: 16px;
    }
    section table.resB.greenBic td {
        color: #333;
        font-size: 14px;
    }
    
    section table td ul li {
        font-size: 14px;
        margin-bottom: 1em;
    }
    
    
/* サイド・バナー部詳細
------------------------------------------ */
    .sideWidget .bannerWrap .banner {
    margin-bottom: 10px;
        width: 100%;
    }
    .sideWidget .bannerWrap .banner a {
        display: block;
        width: 100%;
    }
    .sideWidget .bannerWrap .banner a img {
        
    }
    .sideWidget .bannerWrap .banner:last-of-type {
        margin-bottom: 0;
    }
    
}
