* {
    font-family: -apple-system, YuGothic, "Yu Gothic Medium", "Yu Gothic", BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, Verdana, Meiryo, sans-serif;
}

body {
    /* background-color: var(--main_body_color); */
    --base_gradient_bg_color: linear-gradient(90deg, rgb(123, 124, 125), rgb(37, 49, 49) 20%, rgb(0, 12, 12));
    animation: fadeIn 3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ********************************** */
/* サブページのメインビジュアル領域 */
/* 共通領域 */
/* ********************************** */
.sub_page_base {
    background-image: url(/image/image_infomation_bgimage.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh;
    position: relative;

    h1 {
        font-size: min(2rem, 2vw);
        font-weight: 100;
        margin-top: min(1rem, 1vw);
        margin-bottom: min(1rem, 1vw);
    }

    h2 {
        font-size: min(1rem, 1vw);
    }

    p {
        font-size: min(0.9rem, 0.9vw);
    }
}

.sub_page_text_contaier {
    color: white;
    position: absolute;
    top: 20vh;
    left: 20vw;
}

/* ***************************** */
/* ニュースコンテンツ領域 */
/* ***************************** */
.news_contents_contaier {
    display: flex;
    justify-content: center;
}

.news_text_contents_box {
    width: 60vw;
    padding: 5rem 8rem 7rem 7rem;

    data {
        color: rgb(1, 110, 177);
        font-size: win(1rem, 1vw);
        padding: 1rem 0 1rem 0;
    }

    h2 {
        font-size: min(1.5rem, 1.5vw);
        border-bottom: 1px solid gray;
        font-weight: 300;
        padding: 1rem 0 1rem 0;
    }

    p {
        text-indent: 10px;
        text-align: justify;
        text-justify: inter-ideograph;
        line-height: 2;
        padding: 1rem 0 1rem 0;
    }
}

.news_other_contents_box {
    width: 50vw;
    height: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(237, 241, 248);
    padding: 2rem;
}

/* ********************************** */
/* 事務所紹介用メインビジュアル領域 */
/* ********************************** */
.whoweare_page_base {
    background-image: url(/image/image_whoweare_bgimage.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 65vh;
    position: relative;

    h1 {
        font-size: min(2rem, 2vw);
        font-weight: 100;
        margin-top: min(1rem, 1vw);
        margin-bottom: min(1rem, 1vw);
    }

    h2 {
        font-size: min(1rem, 1vw);
    }

    p {
        font-size: min(0.9rem, 0.9vw);
    }
}

.whoweare_page_text_contaier {
    color: white;
    position: absolute;
    top: 20vh;
    left: 20vw;
}

/* ***************************** */
/* メディアクエリ */
/* ***************************** */
@media screen and (max-width:720px) {

    .sub_page_base {
        height: 40vh;

        h1 {
            font-size: min(4.5rem, 4.5vw);
            font-weight: 100;
            margin-top: min(1rem, 1vw);
            margin-bottom: min(1rem, 1vw);
        }

        h2 {
            font-size: min(3rem, 3vw);
        }

        p {
            font-size: min(3rem, 3vw);
        }
    }

    .sub_page_text_contaier {
        top: 18vh;
        left: 9vw;
    }

    /* ***************************** */
    /* ニュースコンテンツ領域 */
    /* ***************************** */
    .news_contents_contaier {
        display: flex;
        justify-content: left;
        flex-wrap: wrap;
    }

    .news_text_contents_box {
        width: 100vw;
        padding: 1rem 1rem 1rem 1rem;

        data {
            color: rgb(1, 110, 177);
            font-size: min(4rem, 4vw);
            padding: 1rem 0 1rem 0;
        }

        h2 {
            font-size: min(4.5rem, 4.5vw);
            border-bottom: 1px solid gray;
            font-weight: 300;
            padding: 1rem 0 1rem 0;
        }

        p {
            text-indent: 10px;
            text-align: justify;
            text-justify: inter-ideograph;
            line-height: 2;
            padding: 1rem 0 1rem 0;
            font-size: min(3.3rem, 3.3vw);
        }
    }

    .news_other_contents_box {
        width: 100vw;
        height: 40vh;
        background-color: rgb(237, 241, 248);
    }

    /* ********************************** */
    /* 事務所紹介用メインビジュアル領域 */
    /* ********************************** */
    .whoweare_page_base {
        height: 50vh;
      
        h1 {
            font-size: min(4.5rem, 4.5vw);
        }

        h2 {
            font-size: min(4rem, 4vw);
        }

        p {
            font-size: min(3rem, 3vw);
        }
    }

    .whoweare_page_text_contaier {
        position: absolute;
        top: 20vh;
        left: 10vw;
    }
}