@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%;
}

/* 枠 */
body {
    background-color: aliceblue;
}

.container {
    display: flex;
}

/* メイン */
main {
    flex-direction: column;
    margin: 0 auto;
}
section {
    width: 900px;
    margin: 10px auto 30px auto;
}

/* 見出し */
.subtitle {
    font-size: 24px;
    font-weight: 500;
    color: rgb(108 80 4 / 88%);
    letter-spacing: 0.2rem;
}

.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(55, 103, 235);
}
.itemA .A-banner {
    padding-top: 45px;
}
.itemA .A-banner img:hover {
    opacity: 0.7;
}

.itemB .B-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4%;
    justify-content: space-between;
}
.itemB .B1 ul {
    flex-direction: column;
    width: 100%;
}
.itemB .B1 p {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 0;
}

.itemB ul li {
    width: 160px;
    list-style: none;
    font-size: 18px;
}
.itemB ul li a {
    display: block;
    border-bottom: 1px solid #1545cb;
    padding: 6px 0 0 0;
}
.itemB ul li :hover {
    background-color: #275a72;
    color: #fff;
}

.itemD .containerD {
    flex-direction: column;
}

.D1 {
    padding: 20px;
    background-color: #fff;
    margin-bottom: 40px;
}
.D1 ul {
    margin-top: 30px;
    margin-bottom: 30px;
}
.D1 h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 2px solid #171C61;
    color: #171C61;
    padding: 8px 15px 8px;
    box-shadow: 0 10px 10px -9px rgb(0 0 0 / 50%);
    border-top: 1px solid #eee;
}

.D1 h3 {
background: none;
box-shadow: none;
border-left: 3px solid #6DB3D4;
border-bottom: 1px solid #6DB3D4;
color: #036EB8;
font-size: 18px;
margin: 35px 0 35px 0px;
padding: 1px 0 1px 5px;
}

.D1 ul li {
    list-style: none;
    font-size: 16px;
}

.D1 a {
    color: blue;
}  
.radius {
    border-radius: 7px;
}

/* クエリ990 */
@media screen and (max-width: 990px){
    section {
        width: 95%;
    }
    .itemA .top-logo {
        height: 105px;
    }
    .itemA .A-info {
        font-size: 15px;
        letter-spacing: 0.15rem;
        width: 360px;
        margin: 0 14px;
        padding: 20px 0 0 20px;
    }
    .itemA .A-banner {
        padding-top: 0px;
        width: 196px;
    }
    .itemA .dgsm {
        height: 48px;
    }
}


/* クエリ760 */
@media screen and (max-width: 760px){
    section {
        width: 100%;
    }
    .subtitle {
        font-size: 26px;
        letter-spacing: 0.15rem;
    }
    .itemA .top-logo {
        height: 100px;
    }
    .itemA .A-flex {
        margin-top: 0px;
        margin-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
    }
    .itemA .A-info {
        font-size: 18px;
        padding: 18px 0px 0px 0px; 
    }
    .itemA .A-info span {
        font-size: 18px;
    }
    .itemA .A-banner {
        padding-top: 8px;
        width: 328px;
        padding-left: 16px;
        gap: 16px;
    }
    .itemD .D1 h2 {
        font-size: 20px;
        margin-bottom: 18px;
        border-bottom: 2px solid #171C61;
        padding: 3px 8px 3px;
}
}

/* クエリ520 */
@media screen and (max-width: 520px){
    section {
        min-width: 400px;
    }
    .subtitle {
        font-weight: 600;
        font-size: 20px;
    }
    /* .subtitle span {
        font-size: 24px;
        font-weight: 500;
    } */
    .itemA {
        margin-bottom: 10px;
    }
    .itemA .A-info {
        font-size: 18px;
        padding: 2px 0px 0px 0px;
    
    }
    .itemA .A-flex {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 8px;
    }
    .itemA .A-flex .top-logo {
        height: 100px;
    }
    .itemA .A-banner {
        width: 380px;
    }
    .itemA .A-banner img g {
        width: 160px;
    }
    .itemB .B-menu {
        font-size: 16px;
        padding: 0 8%;
    }
    .itemB ul li {
        font-size: 16px;
}
}