@charset "UTF-8";

body {
    _background: #2aa7e1;
    overflow-x: hidden;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

section#list_of_errata ul li,
section#information ul li {
    font-size: 16px;
    margin: 10px auto;
}

a.a_tdn:hover {
    text-decoration: none
}

.img-border-radius {
    border-radius: 30px;
}

section#header {
    display: block;
    width: 100%;
    padding: 20px;
    position: fixed;
    top: 0;
}

.wrap__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

section#header .wrap__header p {
    width: 15%;
    font-size: 14px
}

section#header .wrap__header ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-left: auto;
    width: 85%;
}

.btn01__header {
    background: #2aa7e1;
    color: #fff;
    padding: 7px 50px;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 14px;
    border-radius: 5px;
    transition: all .25s;
}

.btn01__header:hover {
    background: #008cce;
}

a.btn02__header {
    background: #ffffff;
    color: #000;
    padding: 7px 30px 7px;
    display: block;
    text-align: center;
    font-size: 14px;
    border-radius: 5px;
    margin-left: 10px;
    -webkit-box-shadow: 0px 1px 5px 0 rgba(0, 0, 0, .35);
    box-shadow: 0px 1px 5px 0 rgba(0, 0, 0, .35);
    transition: all .25s;
}

.btn02__header:hover {
    background: #c9c9c9;
}

@media screen and (max-width:767px) {
    section#header {
        padding: 5px 10px;
        background: #fff;
    }

    .btn01__header {
        padding: 7px 20px;
        font-size: 13px;
    }

    .btn02__header {
        padding: 7px 20px;
        font-size: 13px;
    }
}

@media screen and (max-width:480px) {
    section#header .wrap__header p {
        width: 15%;
        font-size: 13px;
    }

    section#header .wrap__header ul {
        width: 50%;
    }

}

#hero {
    margin-top: 80px
}

.book_img {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #111;
}

.tac {
    text-align: center
}

.tb1 {
    color: #2aa7e1;
}

#hero h1 {
    text-align: center;
    color: #000;
    font-size: 40px;
    margin: 10px auto 25px;
    line-height: 1.3;
}

.h1_sub {
    text-align: center;
    display: block;
    color: #000;
    font-size: 32px;
    font-weight: bold;
    margin: 20px auto 0;
    padding: 7px;
}

.h1__name {
    font-size: 27px;
    margin: 0px auto 0px;
    color: #000;
    display: block;
    text-align: center;
    font-weight: bold;
}

.h1__name_en {
    font-size: 14px;
    margin: 0px auto 30px;
    display: block;
    text-align: center;
    color: #2aa7e1;
}

.hero_release {
    font-size: 18px;
    margin: 30px auto;

}

.btn01 {
    background: #2aa7e1;
    color: #fff;
    padding: 15px 50px;
    width: 80%;
    max-width: 400px;
    display: block;
    text-align: center;
    font-size: 15px;
    border-radius: 30px;
    margin: 0 auto;
    transition: all .25s;
}

.btn01:hover {
    background: #008cce;
}

@media screen and (max-width:1100px) {

    #hero h1 {
        _font-size: 40px;
    }
}

@media screen and (max-width:767px) {

    #hero h1 {
        font-size: 32px;
    }

    .h1_sub {
        font-size: 20px;
        margin: 15px auto 0;
        padding: 0;
    }

    .hero_release {
        font-size: 17px;
        margin: 30px auto;
        line-height: 1.4;
    }
}

@media screen and (max-width:480px) {
    #hero {
        margin-top: 70px
    }

    #hero h1 {
        font-size: 28px;
        margin: 10px auto 25px;
    }

    .h1_sub {
        font-size: 18px;
        margin: 15px auto 0;
        padding: 0;
    }

    .hero_release {
        font-size: 15px;
        margin: 25px auto;
    }
}

#infomation {
    padding: 20px 0 60px
}

#infomation a {
    font-size: 15px
}

#infomation h2 {
    margin-bottom: 40px
}

@media screen and (max-width:480px) {
    #infomation a {
        font-size: 14px
    }
}

p.p__hajimeni {
    font-size: 16px;
    margin: 50px auto;
}

p.p__hajimeni span {
    text-align: center;
    display: block;
}

section#author,
section#book_image {
    background: #f3f3f3;
    width: 100%;
    padding: 40px 0;
}

section h2 {
    font-size: 25px;
    text-align: center;
}

section#author h3 {
    font-size: 18px;
    text-align: center;
    margin-top: 35px;
    font-weight: 300;
}

section#author small {
    font-size: 13px;
    text-align: center;
    font-weight: 300;
    display: block;
    margin-top: 5px;
}

section#author p,
section#renewal-info p,
section#merit p,
section#matomegai p,
section#list_of_errata p {
    font-size: 16px;
    margin: 40px auto 20px;
}

section#author img {
    width: 90%;
    max-width: 650px;
    margin: 0 auto;
}


section#sample {
    width: 100%;
    padding: 40px 0;
    margin-top: 30px
}

section#sample p {
    font-size: 16px;
    margin: 40px auto 20px;
}


section#sample img {
    border: 1px solid #111;
}

section#sample .acms-col-3 {
    margin-bottom: 25px;
}

section#list_of_errata {
    padding: 20px 0 60px;

}

section#list_of_errata h3 {
    font-size: 17px;
    margin: 20px auto 20px;
}

@media screen and (max-width:480px) {
    section#list_of_errata {
        padding: 20px 0 40px;

    }

    section#list_of_errata h3 {
        font-size: 14px;
        margin: 20px auto 20px;
    }
}

section#book_image .acms-container {
    padding: 0;
}

section#buy {
    width: 100%;
    padding: 40px 0;
    margin-top: 30px
}

section#buy p {
    font-size: 16px;
    margin: 40px auto 20px;
}

section#buy form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

section#buy form td {
    font-size: 15px;
}

section#buy form input.input02 {
    font-size: 18px;
    margin: 10px auto;
    width: 800px;
    padding: 10px;
    background: #ebebeb;
    border: none;
    border-radius: 12px;
}

section#buy form input.input02::-webkit-input-placeholder {
    color: #ccc;
}

section#buy form input.input02:-ms-input-placeholder {
    color: #ccc;
}

section#buy form input.input02::placeholder {
    color: #ccc;
}

section#buy form input.input03 {
    width: 80%;
    max-width: 150px;
}

#buy .p__danger {
    color: red;
    margin: 20px auto 45px;
    font-weight: bold;
}

@media screen and (max-width:480px) {
    section#buy form input.input02 {
        width: 100%;
    }

    section#buy table {
        width: 100%;
    }
}

/* お問い合わせ */

section#contact {
    width: 100%;
    padding: 40px 0;
    margin-top: 30px
}

section#contact p {
    font-size: 16px;
    margin: 40px auto 20px;
}

footer {
    margin: 40px auto 20px
}

footer small {
    display: block;
    font-size: 13px;
    text-align: center;
    margin: 3px auto;
}

@media screen and (max-width:480px) {
    section h2 {
        font-size: 20px;
        text-align: center;
    }

    section#buy,
    section#contact {
        margin-top: 0px
    }
}


/* thanks */
section#thanks_text {
    width: 100%;
    padding: 40px 0;
    margin-top: 30px
}

section#thanks_text p {
    font-size: 16px;
    margin: 40px auto 20px;
    width: 600px;
}

h3.h3__ryoshu_thanks {
    text-align: center;
    margin: 60px auto 10px;
    font-size: 20px;
}


/* merit */
section#merit {
    padding: 80px 0 40px;
}

section#merit p {
    font-size: 16px;
    margin: 40px auto 20px;
}

section#merit ul li {
    font-size: 16px;
    margin: 10px;
    list-style: initial;
    font-weight: bold
}

section#merit ul {
    padding-left: 10px;
    margin: 30px auto;
}

/* 特定商取引法に基づく表記 */
.a__tokusyohou {
    text-align: center;
    display: block;
}

section#tokusyohou {
    display: block;
    margin: 120px auto 40px;
}

section#tokusyohou table {
    width: 100%;
}

section#tokusyohou table th,
section#tokusyohou table td {
    font-size: 14px;
    padding: 10px;
    line-height: 1.35;
}

@media screen and (max-width:480px) {

    section#tokusyohou table th,
    section#tokusyohou table td {
        display: block
    }

    section#tokusyohou table th {
        border-bottom: 1px solid #a2a2a2;
    }
}


/* 全体 */
a {
    font-size: 15px
}

@media screen and (max-width:480px) {
    section p {
        font-size: 15px !important;
        line-height: 1.6;
    }

    section li {
        font-size: 15px !important;
        line-height: 1.6;
    }
}


/* デバイス別display設定 */

@media screen and (max-width: 767px) {
    .pc_only {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .pc_tb_only {
        display: none !important;
    }
}

@media screen and (min-width: 768px) {
    .sp_tb_only {
        display: none !important;
    }
}

@media screen and (min-width: 481px) {
    .sp_only {
        display: none !important;
    }
}