@charset "UTF-8";
@import url(https://fonts.googleapis.com/earlyaccess/sawarabimincho.css);

/*
Theme Name: CoderDojo-Nada
Author: Tsuji 
Description: This is CoderDojo-Nada Theme
Version: 1.0/
*/

body {
    margin: 0;
    font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif
}

.container {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px
}

code {
    display: block;
    background-color: #e8e8e8;
    padding: 10px;
}

article section {
    margin: 18px 12px;
}

article section h1 {
    font-size: 18px;
}


/* 記事 */

article {
    margin-bottom: 30px;
    overflow: hidden
}

article h1 {
    margin: 0;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}

article h1 a {
    color: #000000;
    text-decoration: none
}

article h3 {
    margin: 20px 0 0 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}


/* 記事の付加情報 */

.postinfo {
    margin-top: 10px;
    font-size: 14px
}

.postinfo a {
    color: #000000;
    text-decoration: none
}

.postinfo .postcat {
    margin-left: 20px
}

.postinfo .postcom {
    margin-left: 20px
}

.postinfo i {
    color: #888888
}


/* 前後の記事へのリンク */

.pagenav a {
    padding: 5px 10px;
    border: solid 1px #cccccc;
    border-radius: 10px;
    color: #666666;
    font-size: 12px;
    text-decoration: none
}

.pagenav .old a {
    float: left
}

.pagenav .new a {
    float: right
}

.pagenav {
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
    clear: both
}


/* ヘッダー */

header {
    margin-bottom: 30px;
    background-color: #4a5f7e;
    color: #ffffff
}

header a {
    color: #ffffff;
    text-decoration: none
}
.siteinfo {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding-top: 14px;
    padding-bottom: 14px;
    background-color: #ffffff;
    color: #000000
}

.siteinfo a {
    color: #000000;
    vertical-align: middle;
}

.siteinfo img {
    vertical-align: middle;
    margin-right: 20px;
}

.siteinfo h1 {
    margin: 0;
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 36px;
    text-align: center;
}

.siteinfo p {
    margin: 40px 0 0 0;
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 32px;
    text-align: center;
}

/* ヘッダー画像 */

header img {
    vertical-align: bottom
}


/* ナビゲーションメニュー */

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    overflow: hidden
}

nav li {
    float: left;
    margin-right: 0;
    width: 110px;
    text-align: center;
}

nav li a {
    display: block;
    padding-top: 15px;
    padding-bottom: 10px;
    border-bottom: solid 5px transparent
}

nav li a:hover {
    border-bottom-color: #00ccff
}

nav li.current-menu-item a {
    border-bottom-color: #e6cc1c
}


/* フッター */

footer {
    margin-top: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #4a5f7e;
    color: #ffffff
}


/* 本文中の画像 */

article img {
    border: none;
    max-width: 100%;
    height: auto
}

.aligncenter {
    display: block;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto
}

.alignright {
    float: right;
    margin-bottom: 30px;
    margin-left: 30px
}

.alignleft {
    float: left;
    margin-bottom: 30px;
    margin-right: 30px
}

.wp-caption {
    max-width: 100%
}

.wp-caption-text {
    margin: 0;
    color: #666666;
    font-size: 14px;
    text-align: center
}


/* メニュー */

.blogmenu ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.blogmenu .widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #e8e8e8
}

.blogmenu .widgettitle {
    margin-top: 10px;
    margin-bottom: 20px;
    border-right: solid 10px #4a5f7e;
    color: #4a5f7e;
    font-size: 14px
}

.blogmenu li a {
    display: block;
    padding: 10px 5px;
    color: #666666;
    font-size: 14px;
    text-decoration: none
}

.blogmenu li a:hover {
    background-color: #ffffff
}


/* 見出し */

.archive-title {
    margin-top: 0;
    margin-bottom: 30px;
    background-color: #eeeeee;
    font-size: 14px;
    font-weight: normal
}

.archive-title i {
    padding: 15px;
    background-color: #4a5f7e;
    color: #ffffff
}


/* コメント投稿フォーム */

#respond p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 12px
}

#respond label {
    font-size: 14px
}

#respond input,
#respond textarea {
    width: 100%;
    padding: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

#respond input[type="submit"] {
    width: 200px;
    padding: 10px;
    border: none;
    background-color: #e6cc1c;
    -webkit-appearance: none;
    cursor: pointer
}

#respond input[type="submit"]:hover {
    background-color: #ffaa00
}

#respond .required {
    color: #ff0000
}


/* コメント */

#comments footer {
    background: none;
    margin: 0;
    color: #000000;
    font-size: 12px
}

#comments footer a {
    color: #000000
}

#comments footer div {
    display: inline
}

#comments ul {
    list-style: none;
    margin: 0;
    padding: 0
}

#comments article {
    border: dotted 1px #aaaaaa;
    margin-bottom: 10px;
    padding: 10px 20px 20px 20px
}

#comments .comment-content {
    margin-left: 30px
}


/* お問い合わせフォーム */

.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    padding: 3px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 16px;
}

.wpcf7 input[type="submit"] {
    width: 200px;
    padding: 10px;
    border: none;
    background-color: #e6cc1c;
    -webkit-appearance: none;
    cursor: pointer
}

.wpcf7 input[type="submit"]:hover {
    background-color: #ffaa00
}


/* メディアクエリの設定 */

@media (min-width: 768px) {
    /* ２段組 */
    .container {
        max-width: 1000px;
        overflow: hidden
    }
    .contents {
        width: 65%;
        float: left
    }
    .blogmenu {
        width: 30%;
        float: right
    }
    /* ナビゲーションメニュー 
nav li	{margin-right: 40px}
*/
}


/* 記事の概要 */

.excerpt p {
    font-size: 14px
}

.excerpt .more a {
    padding: 5px 20px;
    border: solid 1px #cccccc;
    border-radius: 5px;
    color: #000000;
    text-decoration: none;
}

.excerpt .more a:hover {
    background-color: #e6cc1c
}

.excerpt .more i {
    margin-left: 10px;
    color: #cccccc
}

@media (min-width: 500px) {
    .excerpt img {
        float: left;
        margin-right: 20px;
        width: 40%
    }
}

@media (max-width: 499px) {
    .excerpt img {
        display: block;
        margin-left: auto;
        margin-right: auto
    }
}


/* トップページ */

.largeheader {
    width: 100%;
    height: auto;
    vertical-align: bottom
}

.home header {
    margin-bottom: 0
}

.home footer {
    margin-top: 0
}


/* トップページのメニュー */
/* トップページのメニュー */

.topmenu {
    padding-top: 20px;
}

.link {
    text-align: center;
    margin-bottom: 15px
}

.link a {
    color: #aaaaaa;
    font-size: 18px;
    text-decoration: none
}

.link i {
    display: block;
    margin: 15px auto 10px auto;
    width: 100px;
    line-height: 100px;
    border-radius: 50px;
    background-color: #fa8072;
    color: #ffffff;
    font-size: 60px;
}

.link i:hover {
    transform: scale(1.06) translate(0, -8px);
    transition: transform 0.2s ease-in-out;
    /*
    animation: menu-anime 1s

    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    transition: transform 0.4s ease-out;
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
*/
}

.link:nth-child(2) i {
    background-color: #ffa500
}

.link:nth-child(3) i {
    background-color: #ffd700
}

.link:nth-child(4) i {
    background-color: #b7ef6b
}

.link:nth-child(5) i {
    background-color: #87cefa
}

.link:nth-child(6) i {
    background-color: #4267b2
}

.link:nth-child(7) i {
    background-color: #dda0dd
}


/*
.link a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    background-color: #87cefa;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    width: 140px;
    line-height: 60px;
    border-radius: 35px;
}

.link:nth-child(2) a {
    background-color: #b7ef6b
}

.link:nth-child(3) a {
    background-color: #e8a380
}

.link:nth-child(4) a {
    background-color: #ecc952
}
*/

.center {
    width: 100%;
    height: auto;
    text-align: center;
    overflow: hidden;
}


@media (min-width: 500px) {
    .topmenu {
        overflow: hidden
    }
    .link {
        float: left;
        width: 12%
    }
    .gmap {
        display: inline-block;
        width: 45%;
        padding: 10px 10px;
    }
}


/*ゲームヘッダ*/

#gameHeader {
    margin: 0;
    padding: 5px;
    width: 100%;
}


/*ゲームボックス*/

div.gameBox {
    border: 1px solid #e2e0d4;
    position: relative;
    display: block;
    float: left;
    height: 160px;
    width: 140px;
    margin: 5px;
    overflow: hidden;
    padding: 5px;
    border-radius: 7px;
    line-height: 14px;
    background-color: #f7f4e2;
}

.gameBox .gameName {
    font-size: 12px;
    text-decoration: none;
    margin: 0px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: clip;
    overflow: hidden;
}

.gameBox .gameName a:link,
.gameBox .gameName a:visited {
    color: #596277;
}

#gameFooter {
    border-top: 1px solid #e2e0d4;
    clear: both;
    margin: 0px auto;
    padding: 5px;
    width: 100%;
}

#gameContents {
    margin: 15px auto;
    padding-top: 0px;
    padding-bottom: 30px;
    width: 100%;
    height: 100%;
}

p.indent-1 {
    padding-left: 1em;
    text-indent: -1em;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    border: 1px solid;
    font: 10pt normal;
    background-color: #eeeeee;
}

td {
    border: 1px solid;
}

form span.wpcf7-form-control-wrap.mentor-acceptance {
    display: inline-block;
}

