/*基本情報*/

body {
    font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#sukima {
    padding-bottom: 20px;
}

#midashi {
    padding-bottom: 20px;
}

.min-menu li {
    list-style: none;
}

h1.pageTitle {
    padding: 1rem 2rem;
    border-bottom: 3px solid #2589d0;
    background: #efefef;
}

h2.midashi {
    position: relative;
    padding: 0.6em;
    background: -webkit-repeating-linear-gradient(-45deg, #ffffff, #ffffff 4px, #ffd1d1 3px, #ffd1d1 8px);
    background: repeating-linear-gradient(-45deg, #ffe9e9, #ffe9e9 4px, #ffd1d1 3px, #ffd1d1 8px);
    border-radius: 7px;
    font-size: 25px;
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans";
    font-weight: 600;
}

h2.midashi_canva {
    color: #fff;
    padding: 10px;
    background-image: linear-gradient(90deg, #73c6c8, #34b4e9 50%, #5f31c4);
    font-size: 25px;
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans";
    font-weight: 600;
}

h2.midashi::after {
    position: absolute;
    content: "";
    top: 100%;
    left: 30px;
    border: 15px solid transparent;
    border-top: 15px solid #ffd1d1;
    width: 0;
    height: 0;
}

.wb {
    word-break: auto-phrase;
}

/*小見出し*/
h3.komidashi {
    position: relative;
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans";
    color: #ce0000;
}

h3.komidashi::after {
    position: absolute;
    top: 20px;
    left: 0;
    content: "";
    width: 100%;
    height: 3px;
    background-color: #ffd1d1;
    border-radius: 1.5px;
}


h4.midashi_canva-h4 {
    display: flex;
    align-items: center;
    color: #34b4e9;
    margin-bottom: 10px;
}

h4.midashi_canva-h4::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    background-color: #34b4e9;
}

#komidashi {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    line-height: 1;
    margin: 28px 20px 20px 20px;
    text-align: justify;
}

#n-komidashi {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    line-height: 0.5;
    text-align: justify;
}

#n-komidashi p {
    line-height: 1.5;
}

.article {
    margin-bottom: 30px;
}

.article p {
    padding-top: 10px;
}

.scene {
    margin-top: 10px;
}

.h3-text {
    line-height: 1.5;
}

h3.n-h3 {
    color: #c8161d;
    border-bottom: 1px solid #c8161d;
    margin-bottom: 10px;
}

h4 {
    font-size: 20px;
    color: rgb(20, 137, 220);
}

#setumei {
    margin-bottom: 40px;
}

#setumei .reportsiyou {
    padding: 20px 0 10px 0;
}

a {
    text-decoration: none;
}

.mane-banner picture {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.mane-banner img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.anchor {
    display: block;
    padding-top: 20px;
    margin-top: -20px;
}

@media (width <=650px) {
    .anchor {
        display: block;
        padding-top: 220px;
        margin-top: -220px;
    }
}

/*レイアウト*/

#Flame {
    display: flex;
    flex-direction: column;
}

#Bread {
    display: flex;
    width: 70%;
    margin: auto;
    margin-bottom: -10px;
    margin-top: 10px;
}

#mein-Contents {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 1em;
    margin: 0 auto;
    padding: 0;
    margin-top: 20px;
}

#sideMenu {
    float: left;
    width: 18%;
    padding-bottom: 20px;
}

#Main {
    float: right;
    width: 52%;
}

#footer {
    clear: both;
}

@media (650px < width < 1020px) {
    #Main {
        width: 80%;
    }

    #Bread {
        width: 80%;
    }
}

@media (width <=650px) {
    #Main {
        width: 90%;
    }

    #Bread {
        width: 90%;
    }
}

@media (418px < width < 550px) {
    #setumei h2.midashi {
        font-size: 5vw;
    }

    h3.komidashi {
        font-size: 3.5vw;
    }
}

@media (width < 419px) {
    #setumei h2.midashi {
        font-size: 5vw;
    }

    h3.komidashi {
        font-size: 3.666vw;
    }
}

@media (380px < width < 550px) {
    h2.midashi {
        font-size: 3.333vw;
    }
}

@media (width < 380px) {
    h2.midashi {
        font-size: 5.5vw;
    }
}

/*みんなDE印刷を学ぼうに戻るボタン*/
.button-51 {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 0.9em 2em;
    border: none;
    border-bottom: 2px solid #e6edf3;
    background-color: #eeeeee;
    color: #333;
    font-weight: 600;
    font-size: 1em;
}

.button-51::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center left;
    width: 100%;
    height: 2px;
    background-color: #2589d0;
    content: "";
    transition: transform 0.3s ease;
}

.button-51:hover::after {
    transform: scaleX(1);
}

/*目次-list008*/
.list-008 {
    position: relative;
    padding: 1.5em 1em 1em 2.5em;
    border: 2px solid #2589d0;
}

.list-008>div {
    position: absolute;
    top: -0.75em;
    left: 1em;
    padding: 0 0.5em;
    background-color: #fff;
    color: #2589d0;
    font-weight: 600;
}

.list-008 ul {
    list-style-type: disc;
    margin: 0;
    padding: 0;
}

.list-008 li {
    padding: 0.3em 0.3em 0.3em 0;
}

.list-008 li::marker {
    color: #2589d0;
    font-size: 1.1em;
}

.list-008 a {
    color: #2589d0;
}

.list-008 a:hover {
    color: rgb(255, 248, 145);
}

.list-1 {
    list-style-type: disc;
    padding: 1em 1em 1em 2.5em;
}

.list-1 li {
    padding: 0.3em 0.3em 0.3em 0;
    font-feature-settings: "palt";
}

.list-1 li::marker {
    color: #000000;
    font-size: 1.1em;
}

/*******基本情報ここまで*******/

/*関連商品*/
.connection-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em;
}

.connection {
    background-color: #87b7ff;
    text-align: center;
    padding: 10px;
    border-radius: 15px;
    color: #fff;
}

.connection:hover {
    background-color: #ffdb87;
}

@media (1020px <=width < 1078px) {
    .connection {
        font-size: 1.3vw;
    }
}

@media (width < 700px) {
    .connection-list {
        display: flex;
        flex-direction: column;
    }
}

.heading-17 {
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;
    padding: 0.5em 0.7em;
    overflow: hidden;
    border: 2px solid #2589d0;
    border-radius: 5px;
    color: #333333;
    margin-bottom: 15px;
    font-size: 1.47rem;
}

.heading-17:before {
    position: absolute;
    top: -50%;
    left: -30px;
    z-index: -1;
    transform: rotate(22deg);
    width: 130px;
    height: 200%;
    background-color: #2589d0;
    content: "";
}

.heading-17 span {
    margin-right: 1.1em;
    color: #fff;
    font-size: 1.1em;
}

@media (600px < width < 1220px) {
    .heading-17 {
        font-size: 1.2em;
    }

    .heading-17:before {
        position: absolute;
        top: -50%;
        left: -50px;
        z-index: -1;
        transform: rotate(20deg);
        width: 130px;
        height: 200%;
        background-color: #2589d0;
        content: "";
    }
}

@media (width <=600px) {
    .heading-17 {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .heading-17 p {
        padding: 10px;
        font-size: 3.85vw;
    }

    .heading-17:before {
        display: none;
    }

    .heading-17 span {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        background-color: #2589d0;
        color: #fff;
        font-weight: 600;
        margin: 0;
        font-size: 3.5vw;
        padding: 10px 0;
    }

    .ream-weight {
        flex-direction: column;
    }

    .ream-weight02 {
        flex-direction: column;
    }

    .ream-img {
        width: 50%;
        height: auto;
        object-fit: cover;
    }
}

/*メイン内容*/


.canva_img_01 {
    display: flex;
    margin: 20px 0;

    img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.canva_img_02 {
    display: flex;

    img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.canva_img_03 {
    display: block;

    img {
        width: 200px;
        height: auto;
        object-fit: contain;
    }

}

.canva_img_04 {
    display: block;

    img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

}

.canva_box {
    margin-bottom: 40px;
}


.box-011 {
    position: relative;
    width: 300px;
    margin: 3em 0 1em 0;
    padding: 1em;
    border: 2px solid #ff6083;
    border-radius: 3px;

}

.box-011 span {
    position: absolute;
    top: -1.72em;
    left: -2px;
    padding: .2em .8em;
    border-radius: 5px 5px 0 0;
    background-color: #ff6083;
    color: #fff;
}

.box-011 p {
    margin: 0;
    text-align: justify;
    color: #ff6083;
}


/*ポイント枠*/
.box-007 {
    margin: 20px auto;
    border: 2px solid #2589d0;
    border-radius: 5px;
    color: #333333;
}

.box-007 div {
    display: inline-flex;
    align-items: center;
    column-gap: 4px;
    position: relative;
    top: -13px;
    left: 10px;
    margin: 0 7px;
    padding: 0 8px;
    background: #fff;
    color: #2589d0;
    font-weight: 600;
    vertical-align: top;
}

.box-007 p {
    margin: 0;
    padding: 0 1.5em 1em;
}

/*相関表*/
.table_ream-weight {
    border-spacing: 0;
    border-collapse: separate;
    width: 100%;
}

.table_ream-weight th,
.table_ream-weight td {
    border-top: 1px solid #76b0bf;
    border-left: 1px solid #76b0bf;
    text-align: center;
    vertical-align: middle;
}

.table_ream-weight th {
    width: 25%;
    padding: 5px 11px;
    background: #89c6cf;
    color: #ffffff;
    font-weight: bold;
}

.table_ream-weight .th_purpose {
    width: 50%;
}

.table_ream-weight td {
    padding: 8px 10px;
    background: #fcfcfc;
    color: #000000;
}

.table_ream-weight tr:nth-child(even) td {
    background: #eeeeee;
}

.table_ream-weight th:last-child,
.table_ream-weight td:last-child {
    border-right: 1px solid #76b0bf;
}

.table_ream-weight tr:last-child th,
.table_ream-weight tr:last-child td {
    border-bottom: 1px solid #76b0bf;
}

.table_ream-weight tr:first-child :first-child {
    border-top-left-radius: 5px;
}

.table_ream-weight tr:first-child :last-child {
    border-top-right-radius: 5px;
}

.table_ream-weight tr:last-child :first-child {
    border-bottom-left-radius: 5px;
}

.table_ream-weight tr:last-child :last-child {
    border-bottom-right-radius: 5px;
}

.table_ream-weight tr:not(:first-child) th,
.table_ream-weight tr:not(:first-child) td {
    border-top: none;
}

/*紙の説明*/
.box-017 {
    max-width: 100%;
    margin: 20px auto;
    padding: 0.5em 1.5em 1em;
    border-top: 5px solid #2589d0;
    border-radius: 3px;
    background-color: #f2f2f2;
}

.box-017>div {
    margin-bottom: 0.5em;
    color: #2589d0;
    font-weight: 600;
    font-size: 1.2em;
}

.box-017>p {
    margin: 0;
    color: #333;
}

/*関連商品*/
.connection-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

.connection {
    background-color: #8fc31f;
    text-align: center;
    padding: 10px;
    border-radius: 15px;
    color: #fff;
}

.connection:hover {
    background-color: #8fc31f;
    opacity: 0.7;
}

@media (1020px <=width < 1078px) {
    .connection {
        font-size: 1.3vw;
    }
}

@media (width < 700px) {
    .ream-weight-ul {
        grid-template-columns: 1fr;
    }

    .connection-list {
        display: flex;
        flex-direction: column;
    }
}

/*おすすめリスト*/
.osusume-list {
    display: flex;
    gap: 1.5em;
    flex-wrap: wrap;

    a:hover {
        opacity: 0.7;
    }
}

/*データ入稿*/
.upload-link {
    text-decoration: none;
}

.upload {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5em;
    padding: 15px;
    max-width: 300px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    background-color: #c8161d;
    border-radius: 30px;
    margin-bottom: 50px;
}

.upload:hover {
    opacity: 0.7;
}

/*詳細ボタン*/
.contents-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5em;
    padding: 15px;
    max-width: 300px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    background-color: #009deb;
    border-radius: 30px;
    margin-bottom: 50px;
    margin-top: 30px;
}

.contents-button:hover {
    opacity: 0.7;
}

@media (width < 450px) {

    p {
        line-height: 1.5;
    }
}