﻿/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.8.1
*/

html {
    font-size: 62.5%;
}

body {
    font-size: 1.5rem;
}

img.normal {
    display: none;
}

@media screen and (orientation: portrait) and (max-device-width: 720px) {
    img.normal {
        display: block;
        width: 85%;
        margin: auto;
    }
    /* normalを表示 */
    img.wide {
        display: none;
    }
    /* wideを非表示 */
}


/*blue*/

@media screen and (orientation: landscape) and (max-device-height: 720px) {
    img.normal {
        display: block;
        width: 50%;
        margin: auto;
    }
    /* normalを表示 */
    img.wide {
        display: none;
    }
    /* wideを非表示 */
}


/*yellow*/

@media screen and (orientation: portrait) and (min-device-width: 721px) {
    img.normal {
        display: none;
    }
    /* normalを非表示 */
    img.wide {
        display: block;
        width: 85%;
        margin: auto;
    }
    /* wideを表示 */
}


/*red*/

@media screen and (orientation: landscape) and (min-device-height: 721px) {
    img.normal {
        display: none;
    }
    /* normalを非表示 */
    img.wide {
        display: block;
        width: 50%;
        margin: auto;
    }
    /* wideを表示 */
}


/*gray*/

h2 {
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px #ccc;
    color: #f4b800;
    margin-bottom: 10px;
    margin-top: 10px;
    border-top: 1px solid #cccccc;
    padding-top: 10px;
}

h3 {
    padding-left: 20px;
    color: #f4b800;
    margin-bottom: 1em;
    min-height: 23px
}

h4 {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px #ccc;
    color: #f4b800;
    margin-bottom: 10px;
    border-top: 1px solid #cccccc;
    text-align: center;
    padding-top: 10px;
}

h5 {
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px #ccc;
    color: #fff;
}

h6 {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px #ccc;
    color: #6C6A9E;
    margin-bottom: 10px;
    border-top: 1px solid #cccccc;
    text-align: center;
    padding-top: 10px;
}

h7 {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px #ccc;
    color: #6C6A9E;
    text-align: center;
}

#wrap {
    padding: 10px;
}

nav {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    background-color: #84cc3d;
    background: -webkit-gradient(linear, left top, left bottom, from(#84cc3d), to(#63992d));
    font-size: 1.1rem;
    width: 300px;
    margin: 0 auto;
}

nav li {
    text-align: center;
    float: left;
    font-weight: bold;
    font-size: 1.5rem;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    text-shadow: -1px -1px 0 rgba(150, 150, 150, 0.3);
    height: 40px;
    line-height: 25px;
}

nav li a {
    display: block;
    width: 99px;
    padding: 8px 0;
}

nav li:first-child {
    border-left: none;
}

nav a {
    color: #fff;
    text-decoration: none;
}

section,
nav {
    margin-bottom: 5px 0px 0px;
}

p {
    margin-bottom: 1em;
}

footer {
    border-top: 1px solid #cccccc;
    padding-top: 10px;
    margin-bottom: 1em;
    text-align: center;
}

#text {
    padding: 0px 10px;
    line-height: 1.5;
}

#icon {
    padding: 10px 10px;
    border-top: 2px solid #4ca5ff;
    border-bottom: 2px solid #4ca5ff;
}

#iconRight {
    padding: 0px 10px;
    text-align: right;
}

#iconImg {
    padding: 10px 10px;
    border-top: 2px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

#btnBlue {
    border-radius: 5px;
    background-color: #3d84cc;
    background: -webkit-gradient(linear, left top, left bottom, from(#4ca5ff), to(#3d84cc));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: 20px auto;
}

#btnBlue a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnGreen {
    border-radius: 5px;
    background-color: #63992d;
    background: -webkit-gradient(linear, left top, left bottom, from(#84cc3d), to(#63992d));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: 20px auto;
}

#btnGreen a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnYellow {
    border-radius: 5px;
    background-color: #FCEC22;
    background: -webkit-gradient(linear, left top, left bottom, from(#FCEC22), to(#D8CF1D));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: 20px auto;
}

#btnYellow a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnPink {
    border-radius: 5px;
    background-color: #c71585;
    background: -webkit-gradient(linear, left top, left bottom, from(#ff1493), to(#c71585));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: 20px auto;
}

#btnPink a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnPeach {
    border-radius: 5px;
    background-color: #cc5192;
    background: -webkit-gradient(linear, left top, left bottom, from(#ff66b7), to(#cc5192));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: 20px auto;
}

#btnPeach a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnRed {
    border-radius: 5px;
    background-color: #b20026;
    background: -webkit-gradient(linear, left top, left bottom, from(#f00033), to(#b20026));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: 20px auto;
}

#btnRed a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnOrange {
    border-radius: 5px;
    background-color: #cc6033;
    background: -webkit-gradient(linear, left top, left bottom, from(#ff793f), to(#cc6033));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: 20px auto;
}

#btnOrange a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnGray {
    border-radius: 5px;
    background-color: #acaeb0;
    background: -webkit-gradient(linear, left top, left bottom, from(#cbcccf), to(#acaeb0));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: 20px auto;
}

#btnGray a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnScroll {
    border-radius: 5px;
    background-color: #acaeb0;
    background: -webkit-gradient(linear, left top, left bottom, from(#cbcccf), to(#acaeb0));
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 13px 0px;
    margin: 20px auto;
}

#btnScroll2 {
    border-radius: 5px;
    background-color: #FF9900;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFCC66), to(#F4900B));
    width: 300px;
    font-size: 1.8rem;
    text-align: center;
    padding: 13px 0px;
    margin: 20px auto;
}

#btnMS {
    border-radius: 5px;
    background-color: #FF9900;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFCC66), to(#F4900B));
    width: 300px;
    font-size: 1.8rem;
    text-align: center;
    padding: 13px 0px;
    margin: 20px auto;
}

#btnMS a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

.btnMymagi {
    border-radius: 5px;
    background-color: #b20026;
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    padding: 8px 0px;
    margin: -1em auto 10px;
}

#btnMymagi a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

.btnMymagt {
    border-radius: 5px;
    background-color: #FF9900;
    width: 300px;
    font-size: 1.8rem;
    text-align: center;
    padding: 13px 0px;
    margin: 10px auto 10px;
}

#btnMymagt a {
    display: block;
    padding: 5px 0px;
    color: #fff;
    text-decoration: none;
}

#btnScrollOK {
    border-radius: 5px;
    background-color: #FF9900;
    background: -webkit-gradient(linear, left top, left bottom, from(#92A3F4), to(#4966F4));
    width: 300px;
    font-size: 1.8rem;
    text-align: center;
    padding: 13px 0px;
    margin: 20px auto;
}

#btnScrollNG {
    border-radius: 5px;
    background-color: #FF9900;
    background: -webkit-gradient(linear, left top, left bottom, from(#F46649), to(#F4330C));
    width: 300px;
    font-size: 1.8rem;
    text-align: center;
    padding: 13px 0px;
    margin: 20px auto;
}

#btnTop {
    border-radius: 5px;
    background-color: #cbcccf;
    background: -webkit-gradient(linear, left top, left bottom, from(#cbcccf), to(#acaeb0));
    width: 7em;
    font-size: 1.1rem;
    text-align: center;
    float: right;
    margin-right: 10px;
}

#btnTop a {
    text-shadow: 1px 1px 0 #ddd;
    display: block;
    padding: 5px 0;
    color: #444444;
    text-decoration: none;
}

footer p {
    clear: both;
    padding: 0;
    font-size: 1.0rem;
}

footer img {
    vertical-align: top;
}

footer p:last-child {
    margin: 0;
}

#mailtotitle {
    width: 100%;
    height: 10px;
    padding: 3px;
}

#mailto {
    height: 15px;
    margin-top: 5px;
    padding: 5px;
    background: #FFF;
    -webkit-border-radius: 5px;
}

#mailto a {
    color: #666666;
    font-weight: bold;
    text-decoration: none;
}

article:not(.display) {
    display: none;
}

article {
    text-align: left;
    font-size: 1.4rem;
}

div.article {
    width: 100%;
}

div.article div {
    border-radius: 5px;
    background-color: #3d84cc;
    background: -webkit-gradient(linear, left top, left bottom, from(#4ca5ff), to(#3d84cc));
    width: 100px;
    font-size: 1.1rem;
    text-align: center;
    padding: 8px 0;
    margin: 12px;
    float: right;
}

div.article div a {
    display: block;
    padding: 20px 0 20px;
    color: #fff;
    text-decoration: none;
}

#container {
    width: 95%;
    display: -webkit-box;
    display: -moz-box;
    padding: 0px 10px;
}

#main {
    width: 55%;
}

#rightBox {
    width: 40%;
}

.clearRight {
    clear: right;
}

hr.gray {
    height: 1px;
    border: none;
    border-top: 1px #000000 solid;
}


/* clearfix */

.clearfix:after {
    content: ".";
    /* 新しい要素を作る */
    display: block;
    /* ブロックレベル要素に */
    clear: both;
    height: 0;
    visibility: hidden;
}