/*共通要素*/

body {
    color: #000;
    font-size: 1.0rem;
    background-image: url('../images/bg.png');
    line-height: 25px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a:link, a:visited, a:hover {
    text-decoration: none;
}

#l-main, .main-srea, .main-treaty, .main-agent, .main-amazon, .main-caution, .aprilfool-caution, {
    margin: 20px 0;
}
/*共通要素>clearfix*/

.clearfix::after {
    content: '';
    display: block;
    clear: both;
}
/*ここからheader*/

#l-header {
    width: 100%;
    height: 120px;
    background-color: #fff;
}

.header-contenter {
    width: 960px;
    margin: 0 auto;
}

.header-contenter img {
    float: left;
}

.header-title {
    float: left;
    padding: 40px 20px;
    text-align: center;
}

.header-title p {
    font-size: 1.2rem;
    color: #13548d;
}


.header-contact div {
    float: right;
    margin-top: 20px;
    padding: 10px;
    background-color: #00a7f2;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;

    box-shadow: 2px 2px 3px 0px #cfcce3;
    -moz-box-shadow: 2px 2px 3px 0px #cfcce3;
    -webkit-box-shadow: 2px 2px 3px 0px #cfcce3;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.header-contact div a {
    display: block;
    width: 220px;
    color: #fff;
    font-weight: bold;
}
.header-contact div a span {
    font-size: 12px;
    color: #000;
}
.header-contact div:hover {
    /*background-color: #000000;*/
    opacity: 0.7;
}

/*ここからmain-image*/

#l-main-image {
    width: 100%;
    background-color: #000;
    text-align: center;
    margin-bottom: 30px;
}
#l-main-image img {
    max-width: 960px;
}

/*ここからmain*/

#l-main {
    width: 100%;
}
/*共通*/

.main-area, .main-treaty, .main-agent, .main-amazon, .main-caution, .aprilfool-caution {
    width: 960px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.content-title {
    margin-left: -25px;
    margin-bottom: 20px;
}


/*main-area*/

.main-area-des {
    width: 960px;
    background-color: #fff;
    margin-top: 30px;
}

.main-area-des .des {
    width: 100%;
    border-top: 1px solid #afafaf;
    border-bottom: 1px solid #afafaf;
}

.des-left {
    width: 190px;
    float: left;
    padding: 40px;
    text-align: center;
}

.des-left h3 {
    color: #13548d;
    font-size: 16px;
}

.des-right {
    width: 75%;
    float: left;
    padding: 20px;
}

/*ここからmain-treaty*/

.treaty-des {
    width: 100%;
}

.treaty-keyword {
    font-family: Georgia, 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}

.treaty-left {
    width: 70%;
    float: left;
}

.treaty-left h2 {
    display: block;
    padding: 30px;
    font-size: 2rem;
    line-height: 1.5;
    color: #13548d;
}

.treaty-left p {
    /*line-height: 1.2;*/
}

.treaty-right {
    width: 30%;
    float: right;
    text-align: center;
    color: #13548d;
}

.treaty-right p {
    margin-top: 20px;
    font-size: 0.9rem;
}

/*ここからagent*/

.agent-box {
    width: 400px;
    background-color: #fff;
    float: left;
    margin: 10px 40px;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1);
}

.agent-left {
    float: left;
    padding: 15px;
}

.agent-left img {
    max-width: 150px;
    max-height: 150px;
}

.agent-right {
    padding: 20px 20px;
    color: #13548d;
}

.agent-right h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.agent-right p {
    margin-bottom: 20px;
}

.agent-bottom {
    padding: 20px;
}

/*ここからamazon*/

.amazon-des {
    width: 100%;
}

.amazon-left {
    width: 60%;
    float: left;
}

.amazon-left h2 {
    display: block;
    padding: 30px;
    font-size: 2rem;
    line-height: 1.5;
    color: #13548d;
}

.amazon-left p {
    /*line-height: 1.2;*/
}

.amazon-right {
    width: 40%;
    float: right;
    text-align: center;
    color: #13548d;
}

.campaign-step {
    margin-top: 15px;
}

.campaign-step ul {
    margin: 5px 0 15px 0;
    padding-left: 25px;
    list-style: decimal;
}
.campaign-step span {
    font-size: 14px;
}

.campaign-caution {
    margin-top: 30px;
    font-size: 12px;
    font-color: #ccc;
}

.caution-des ul {
    padding-left: 25px;
}
.caution-des ul li {
    margin-bottom: 10px;
}

.aprilfool-caution {
    margin-bottom: 10px;
    font-size: 12px;
    color: #999;
}

/*ここからfooter*/

#l-footer {
    width: 100%;
    background-color: #13548d;
    height: 30px;
    text-align: center;
    color: #fff;
    padding: 5px;
}

.after-xday {
    margin: 20px 0;
}
.after-xday p {
    width: 960px;
    margin: 0 auto;
    padding: 10px;
    /*line-height: 20px;*/
    border: 1px solid;
    background-color: #003333;
    color: #fff;
}
.after-xday p a {
    color: #00bfff;
}

.tel {
    color: #00a7f2;
}

.amazon-font {
    font-family: "Verdana";
}
.amazon-gift {
    font-family: "ＭＳ Ｐゴシック", "MS PGothic";
}

.footer-company {
    width: 960px;
    margin: 0 auto;
    padding-bottom: 15px;
    text-align: right;
}
.footer-company p {
    color: #00a7f2;
}

/* responsive */

@media screen and (min-width: 640px) and (max-width:1024px) {
    body {
        width: 1024px;
    }
    #l-main-image {
        width: 100%;
        background: none;
    }
    #l-main-image img {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .header-contenter {
        width: 100%;
    }
    #l-header {
        margin: 0 auto;
        text-align: center;
        position: relative;
        overflow: inherit;
    }
    #l-header p,span {
        font-size: 0.6rem;
    }
    #l-header img {
        max-height: 80px;
    }
    .header-title {
        width: 45%;
        margin: 20px 20px 0 0;
        line-height: 15px;
        padding: 0;
        float: right;
    }
    .header-title h3 {
        font-size: 0.6rem;
    }

    .header-contact div {
        margin-top: 0;
        padding: 0;
        width: 100%;
        border-radius: 0;
    }
    .header-contact div span {
        font-size: 0.6rem;
    }
    .content-title img {
        width: 100%;
    }

    #l-main-image {
        width: 100%;
        margin: 20px 0 0 0;
        background: none;
    }
    #l-main-image img {
        width: 100%;
    }

    .main-area, .main-treaty, .main-agent, .main-amazon, .main-caution, .aprilfool-caution {
        width: 100%;
    }
    .main-title {
        height: 85px;
    }
    .main-title h2 {
        font-size: 1.0rem;
    }
    .main-title p {
        clear: both;
        font-size: 0.8rem;
    }

    .main-area-des {
        width: 100%;
    }
    .main-area img {
        width: 100%;
    }
    .des-right, .des-left {
        clear: both;
        width: 100%;
    }
    .des-left img {
        /*max-width: 100px;*/
        width: auto;
        height: 10%;
        min-height: 10px;
    }

    .treaty-right {
        float: left;
        width: 100%;
    }
    .treaty-left {
        width: 100%;
        margin-bottom: 30px;
        padding: 5px 20px;
    }
    .treaty-left h2 {
        font-size: 1.2rem;
    }
    .treaty-keyword {
        font-size: 1.3rem;
    }

    .agent-box {
        width: 100%;
        text-align: center;
        margin: 10px auto;
    }
    .agent-left, .agent-right {
        clear: both;
        width: 100%;
    }

    .after-xday p {
        width: 100%;
    }

    .amazon-left {
        width: 100%;
        margin-bottom: 30px;
        padding: 5px 20px;
    }
    .amazon-right {
        float: left;
        width: 100%;
    }
    .amazon-left h2 {
        font-size: 1.3rem;
    }

    #l-footer {
        font-size: 0.8rem;
    }

    .footer-company {
        width: 100%;
        margin: 0 auto;
        padding: 0 10px 10px 0;
        text-align: right;
    }
}






