:root {
    --header-bg-color: var(--color-beige);
}

body {
    color: var(--color-dark-brown);
    background-color: var(--color-beige); 
}

.single-main{
    padding: 30px 0 80px;

    @media (width >= 768px) {
        padding: 50px 0 160px;
    }

    .container{
        width: 100%;
        max-width: 1160px;
        padding: 0 20px;
        margin: 0 auto;
    }

    .date{
        margin-bottom: 10px;
        font-size: var(--text-en-12);
        color: var(--color-brown);
    }

    .title{
        margin-bottom: 30px;
        font-size: var(--text-ja-24);
        line-height: 1.7;
        color: var(--color-dark-brown);
        letter-spacing: 0.08em;
    }
}

.single-custom{
    color: var(--color-dark-brown);
    text-align: justify;
    letter-spacing: 0.08em;

    *{
        line-height: 1.7;
    }

    p{
        margin-bottom: 40px;
        font-size: var(--text-ja-13);

        @media (width >= 768px) {
            margin-bottom: 80px;
            font-size: var(--text-ja-15);
        }
    }

    a{
        color: #00E;
    }

    img{
        display: block;
        width: 100%;
        margin-bottom: 40px;

        @media (width >= 768px) {
            margin-bottom: 80px;
        }
    }

    h3{
        margin-bottom: 20px;
        font-size: var(--text-ja-18);
        text-decoration: underline;

        @media (width >= 768px) {
            margin-bottom: 80px;
            font-size: var(--text-ja-20);
        }
    }

    h2{
        margin-bottom: 20px;
        font-size: var(--text-ja-20);
        text-decoration: underline;

        @media (width >= 768px) {
            margin-bottom: 80px;
            font-size: var(--text-ja-24);
        }
    }
}

.single-topics{
    margin-bottom: 40px;
    color: var(--color-dark-brown);
    text-align: justify;

    p{
        margin-bottom: 8px;
        font-size: var(--text-ja-13);
        line-height: 1.7;
        letter-spacing: 0.08em;

        @media (width >= 768px) {
            margin-bottom: 12px;
            font-size: var(--text-ja-15);
        }
    }

    a{
        color: #00E;
    }

    @media (width >= 768px) {
        margin-bottom: 80px;
    }
}

.single-share{
    margin-bottom: 64px;
    text-align: center;

    @media (width >= 768px) {  
            display: flex;
        gap: 16px;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 80px;  
    }

    p{
        margin-bottom: 14px;
        font-size: var(--text-ja-11);
        line-height: 1.7;
        color: var(--color-medium-brown-2);
        letter-spacing: 0.08em;

        @media (width >= 768px) {
            margin: 0;
            font-size: var(--text-ja-13);
        }
    }

    .share-list{
        display: flex;
        gap: 16px;
        align-items: center;
        justify-content: center;

        img{
            height: 40px;

            @media (width >= 768px) {
                height: 24px;
            }
        }

        .sns_button_list{
            width: 40px;
            height: 40px;

            @media (width >= 768px) {
                width: 24px;
                height: 24px;
            }

            iframe{
                width: 40px !important;
                height: 40px !important;
                opacity: 0 !important;

                @media (width >= 768px) {
                    width: 24px !important;
                    height: 24px !important;
                }
            }
        }

        .sns-twitter{
            background: url("../img/sns/twitter.png") no-repeat center center/100% auto;
        }

        .sns-line{
            position: relative;
            background: url("../img/sns/line-pc.png") no-repeat center center/100% auto;  

            .sns-line-box{
                width: 40px !important;
                height: 40px !important;
                opacity: 0;

                iframe{
                    width: 40px !important;
                    height: 40px !important;

                    @media (width >= 768px) {
                        width: 24px !important;
                        height: 24px !important;
                    }
                }

                @media (width >= 768px) {
                    width: 24px !important;
                    height: 24px !important;
                }
            }
        }
    }
}

.line-it-button-wrapper {
    position: relative;
    display: inline-block;
}

.line-it-button {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    opacity: 0;
}

.custom-line-icon {
    z-index: 1;
    display: block;
}

.single-news{
    display: flex;
    align-items: center;
    justify-content: space-between;

    .news-prev, .news-next{
        a{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 39px;
            height: 39px;
            border: 1px solid var(--color-dark-brown);
            border-radius: 50%;
        }
        
        img{
            width: 10px;

            @media (width >= 768px) {
                width: 12px;
            }
        }

        @media (width >= 768px) {
            width: 39px;
            height: 39px;
        }
    }

    .news-all{
        a{
            display: flex;
            gap: 7px;
            align-items: center;
            font-family: var(--font-family-en);
            font-size: var(--text-en-12);
            line-height: 1.4;
            color: var(--color-dark-brown);
            letter-spacing: 0.08em;

            @media (width >= 768px) {
                font-size: var(--text-en-13);
            }

            svg{
                width: 18px;
                height: 15px;

                @media (width >= 768px) {
                    width: 24px;
                    height: 20px;
                }
            }
        }
    }
}
