@charset "UTF-8";

/* 共通 */
html {
    font-size: 100%;
}
body {
    font-size: 16px;
    line-height: 1.7;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "ＭＳＰゴシック", "MS PGothic", sans-serif;
}
a {
    text-decoration: none;
    color: #432;
}
img {
    max-width: 100%;
    max-height: 100%;
}

/* ボディー */
main {
    justify-content: column;
    margin: 0 auto;
    background-color: aliceblue;
}
section {
    margin: 0 auto 24px auto;
    background-color: #fff;
}

/* 各アイテム */
section {
    width: 970px;
    padding: 20px;
}

.itemA .A-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 0px;
    margin-bottom: 5px;
}
.itemA .top-logo {
    height: 110px;
}
.itemA .dgsm {
    height: 50px;
}
.itemA .A-info {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2rem;
    padding-top: 20px;
}
.itemA .A-info span {
    font-size: 18px;
    font-weight: 500;
    color: rgb(74 114 206);
}
.itemA .A-banner {
    padding-top: 45px;
}
.itemA .A-banner img:hover {
    opacity: 0.7;
}
/* クエリ990 */
@media screen and (max-width: 990px){
    section {
        width: 760px;
    }
.itemA .A-flex {
        margin-top: 0px;
        margin-bottom: 16px;
    }
    .itemA .top-logo {
        height: 105px;
    }
    .itemA .A-info {
        font-size: 15px;
        letter-spacing: 0.15rem;
        width: 360px;
        margin: 0 14px;
        padding-top: 40px;
    }
    .itemA .A-banner {
        padding-top: 36px;
        width: 196px;
    }
    .itemA .dgsm {
        height: 48px;
    }
}
/* クエリ760 */
@media screen and (max-width: 760px){
    section {
        width: 100%;
    }
    .itemA .top-logo {
        height: 80px;
    }
    .itemA .A-flex {
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .itemA .A-info {
        font-size: 14px;
        padding: 6px 0px 0px 9px;    
    }
    .itemA .A-info span {
        font-size: 18px;
    }
    .itemA .A-banner {
        display: none;
    }
}
/* クエリ520 */
@media screen and (max-width: 520px){
    section {
        min-width: 400px;
    }
    .itemA {
        margin-bottom: 10px;
    }
    .itemA .A-flex {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 8px;
    }
    .itemA .A-flex img {
        width: 200px;
    }
}

/* itemB 記事部分 */

.itemB .subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #432;
    margin: 20px 0;
    border-bottom: black solid 2px;
}

.itemB article {
    width: 80%;
    margin: 0 auto;
}
.itemB .hov {
    color: rgb(50, 59, 184);
}
.itemB .hov:hover {
    color: rgb(155, 103, 6);
}
.itemB img {
    width: 250px;
    margin: 10px;
}

@media screen and (max-width: 760px){
    article {
        width: 90%;
    }
}

h1 {
    color: #ad9626;
    margin-top: 30px;
}

.price-t {
    background-color: rgb(219, 240, 249);
    margin: 10px 0;
    padding: 5px;
    font-size: 1rem;
    color: black;

}

h2 {
    font-weight: 500;
    color: rgb(38, 38, 163);
    margin-top: 8px;
    font-size: 18px;
}

.price-i h3 {
    font-size: 18px;
    color: #432;
    font-weight: 600;
    margin-top: 20px;
}
.price-i p {
    margin: 10px 0;
}


button {
    background-color: rgb(28, 46, 150);
    border-radius: 10px;
    margin-top: 25px;
}
button :hover {
    background-color: rgb(109, 63, 19);
    border-radius: 10px;
}
button a {
    color: #fff;
    font-size: 20px;
    padding: 15px;
}
