.topContainer {
    height: auto;
    padding: 15px 0;
    background: #fff;
}
#top_seminar {
    line-height: 1.5em;
}
#top_seminar figure {
    overflow: hidden;
}
#top_seminar figure p {
    padding-top: 50%;
    background: url(../images/home/img_seminar2.gif) no-repeat center center;
    transform: scale(1, 1) rotate(0.1deg);
    animation-name: zoom-in;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
@keyframes zoom-in {
    0% {
        opacity: 0;
        transform: scale(1.5, 1.5) rotate(0.1deg);
        background: url(../images/home/img_seminar.gif) no-repeat center center;
    }
    3% {
        opacity: 1;
    }
    19% {
        background: url(../images/home/img_seminar.gif) no-repeat center center;
    }
    22% {
        background: url(../images/home/img_seminar2.gif) no-repeat center center;
    }
    39% {
        background: url(../images/home/img_seminar2.gif) no-repeat center center;
    }
    42% {
        background: url(../images/home/img_seminar3.gif) no-repeat center center;
    }
    59% {
        background: url(../images/home/img_seminar3.gif) no-repeat center center;
    }
    62% {
        background: url(../images/home/img_seminar4.gif) no-repeat center center;
    }
    79% {
        background: url(../images/home/img_seminar4.gif) no-repeat center center;
    }
    82% {
        background: url(../images/home/img_seminar5.gif) no-repeat center center;
    }
    97% {
        opacity: 1;
        background: url(../images/home/img_seminar5.gif) no-repeat center center;
    }
    100% {
        opacity: 0;
        transform: scale(1, 1) rotate(0.1deg);
        background: url(../images/home/img_seminar.gif) no-repeat center center;
    }
}
.mb10 {
    margin-bottom: 10px;
}
.mb15 {
    margin-bottom: 15px;
}

.semi_sub_box {
    margin: 0 0 5px;
    padding: 5px 36px 5px 5px;
    background-image: url(../images/common/icon_arrow_double.svg), url(../images/common/pattern01.jpg);
    background-repeat: no-repeat, repeat;
    background-position: right 7px center, center center;
    transition: all 0.1s ease;
}
.semi_sub_box:hover {
    background-image: url(../images/common/icon_arrow_double_on.svg), url(../images/common/pattern01.jpg);
    background-position: right 0 center, center center;
}
.semi_sub_box h4 {
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    margin: 9px 0;
}
.semi_sub_box p {
    text-indent: 1em;
}
#top_seminar .aboutrkk,
#top_seminar .aboutseminar {
    margin-bottom: 5px;
    padding: 5px;
}
#top_seminar .aboutrkk {
    background: #f4fbf9;
}
#top_seminar .aboutseminar {
    background: #fef8f3;
}
#top_seminar h5 {
    color: #fff;
    font-size: 1.25em;
    font-weight: bold;
    padding: 0.2em;
    margin: -5px -5px 0 -5px;
}
#top_seminar .aboutrkk h5 {
    background-color: #22aa8b;
}
#top_seminar .aboutseminar h5 {
    background-color: #ed7d31;
}
.rkkexplain {
    font-size: 0.9em;
    line-height: 1.1;
    padding: 0.5em;
    color: #222;
    background: #fff;
}
.aboutrkk .rkkexplain {
    background: #e9f7f3;
    border: 1px dashed #22aa8b;
}
.aboutseminar .rkkexplain {
    background: #fdf1e8;
    border: 1px dashed #ed7d31;
}
/*
#top_news,#top_column,#top_books{
	border-top:2px solid #003857;
}*/
.topContainer {
    position: relative;
}

.topContainer h3 {
    position: relative;
    font-size: 1.5em;
    font-family: georgia, "times new roman", "ヒラギノ明朝 Pro W6", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", serif;
    font-weight: 700;
    line-height: 1;
    padding: 0.5em 0 0.5em 48px;
    margin-bottom: 0.6em;
    color: #041840;
    background: url(../images/common/bg_titleh3_L.jpg) no-repeat left center;
    border-bottom: 1px solid #041840;
}
.topContainer h3.secondary_title {
    background-image: url(../images/common/bg_titleh3_L.jpg), url(../images/common/bg_titleh3_R.jpg);
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    border-bottom: 1px solid #041840;
}
#top_news li {
    list-style: none;
}
#top_news li a,
#top_lawlibrary li a {
    display: flex;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.4s ease;
}
#top_lawlibrary li a .title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 160%;
}
#top_news li a .newIcon {
    margin-right: 10px;
}
#top_news li a time {
    margin-left: auto;
}
#top_news li a:hover,
#top_lawlibrary a:hover {
    background: #f0f0f2;
}
#top_news .btn_more,
#top_column .btn_more,
#top_books .btn_more,
#top_lawlibrary .btn_more {
    margin-top: 1em;
}
#top_column div > div > a {
    position: relative;
    display: block;
    padding-left: 1.25em;
    border-left: 2px solid #022859;
    transition: all 0.4s ease;
}
#top_column div > div > a:after {
    position: absolute;
    top: 0;
    left: -2px;
    content: "";
    display: block;
    width: 2px;
    height: 38px;
    background: #0476d9;
}
#top_column div > div > a:hover {
    background: #f0f0f2;
}
#top_column h5 {
    font-size: 1.25em;
    line-height: 1.5em;
    font-weight: normal;
    color: #555;
}
#top_column a p {
    font-size: 1.5em;
    line-height: 1.75;
    color: #333;
    font-weight: bold;
}
#top_column .newIcon {
    position: absolute;
    top: 0;
    right: 0;
}
#top_books h3 {
    margin-bottom: 0;
}
#top_books h4 {
    margin-top: 1.2em;
    color: #667;
    font-size: 1.6em;
    font-weight: bold;
    padding-bottom: 0.6em;
    margin-bottom: 0.6em;
    border-bottom: 2px dashed #667;
}

#top_books h5 {
    position: relative;
    margin-top: -3px;
    margin-bottom: 5px;
    padding: 0.5em 0;
    color: #fff;
}
#top_books h5:first-letter {
    font-size: 1.5em;
}
#books_jlc h5 {
    border-bottom: 2px solid #019fe9;
    color: #019fe9;
}
#books_quar h5 {
    border-bottom: 2px solid #d58d81;
    color: #d58d81;
}
#books_keizai h5 {
    border-bottom: 2px solid #1dad4c;
    color: #1dad4c;
}
#top_books h5:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    display: block;
    height: 2px;
}
#books_jlc h5:after {
    width: 134px;
    background: #0065e7;
}
#books_quar h5:after {
    width: 80px;
    background: #cd3106;
}
#books_keizai h5:after {
    width: 80px;
    background: #008600;
}
#top_books .row > div {
    border-left: 1px solid #aeb7bf;
}
#top_books .row > div:first-child {
    border: none;
}
#top_books figure img {
    padding: 1px;
    border: 1px solid #ccc;
}
#book_sample {
    position: relative;
}
#book_sample > div:after {
    content: "◆";
    display: block;
    position: absolute;
    top: 34%;
    right: -16px;
    color: #aeb7bf;
    font-size: 0.75em;
}
#book_sample figcaption {
    font-weight: bold;
    color: #222;
    font-size: 0.9em;
}

.importantInfo {
    width: 100%;
    margin: 15px 0;
    padding: 15px;
    border: 2px dashed #f00;
    background: #fff5ff;
    color: #ff0000;
    font-size: 1.25rem;
    line-height: 1.5em;
}

/*サービス動画紹介
-----------------------------------------------------------------------*/
.rkk_video h6 {
    font-size: 1.15em;
    margin: 0.5em 0;
}

@media (min-width: 576px) {
    .topContainer h3 {
        font-size: 1.5em;
        white-space: nowrap;
        /*		background:linear-gradient(90deg, #023373,#0487d9);
		padding:0.5em;
		color:#fff;
*/
    }
}
@media (min-width: 992px) {
    .middle-line {
        display: flex;
        align-items: center;
    }
    .middle-line:after {
        margin-left: 0.4em;
        content: "";
        flex-grow: 1;
        height: 1px;
        background: #444;
        display: block;
    }
}
