@charset "UTF-8";

/*==============================
トップページ
===============================*/

/*h2.YelowBG {
    font-weight: normal;
    display: inline-block;
    padding: 4px 20px;
    background-color: #ffe012;
    margin-bottom: .6em;
}*/

h2.Linewrap {
    font-size: 2.3em;
    font-weight: bold;
    font-style: italic;
    margin-bottom: .6em;
}
h2.Linewrap span {
    top: 0;
    left: 0;
    display: block;
    color: #000;
    white-space: nowrap;
}
h2.Linewrap span::before {
    content: "";
    display: inline-block;
    width: 2em;
    border-top: 2px solid #a29893;
    vertical-align: middle;
    margin-right: .5em;
    padding-bottom: 4px;
}
#Index h2.Linewrap span {
    color: #fff;
}


.h2OffsetConte {
    margin: calc(-1.65em - 29px) auto auto;
}
@media screen and (max-width: 800px) {
    .h2OffsetConte {
        margin: 0;
    }
}

/*========== NEWS ===========*/

/*#News h2.YelowBG {
    font-size: 1.65em;
}
@media screen and (max-width: 800px) {
	#News h2.YelowBG {
	    font-size: 1.45em;
	}
}*/
#News .NewsBox {
    width: 100%;
    /*height: 600px;*/
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    /*overflow-y: scroll;*/
    padding: 40px 60px;
}
@media screen and (max-width: 800px) {
    #News .NewsBox {
        width: 100%;
    }
}
#News .NewsBox dl {
    border-bottom: 1px solid #adadad;
    margin: 0 0 1.4em;
    padding: 0 0 1.4em;
    display: flex;
}
#News .NewsBox dl dt {
    width: 7em;
    min-width: 100px;
}
#News .NewsBox dl dt.Category span {
    width: 10em;
    font-size: .8em;
    background-color: #00a0dc;
    color: #fff;
    text-align: center;
    display: inline-block;
    width: 8em;
}
#News .NewsBox dl dd {
    width: calc(100% - 14em);
}

@media screen and (max-width: 800px) {
  #News .NewsBox dl {
    flex-direction: column;
  }
  #News .NewsBox dl dt,
  #News .NewsBox dl dd {
    width: 100%;
  }
}

#topics {
    position: relative;
    z-index: 10;
    padding-top: 3vw;
    /*width: 70%;*/
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 800px) {
    #topics {
        width: 100%;
    }
}
#topics .hide {
        display:none;
    }
 
#topics .tab{
    overflow:hidden;
    display: flex;
    transition: 0.5s;
    gap: 1px;
}
#topics .tab li{
    list-style: none;
    flex: 1;
    text-align: center;
    border-bottom: 2px solid #ddd;
    font-weight: 600;
    letter-spacing: .05em;
    width: 30%;
    padding: 8px 0;
    background-color: #ddd;
    color: #666;
    transition: background-color 0.4s, color 0.4s;
}
#topics .tab div {
    /*width: 36%;*/
    width: 10em;
    text-align: left;
    padding: 8px 0 8px 8px;
    font-weight: bold;
}
@media screen and (max-width: 800px) {
    #topics .tab div {
        font-size: .9em;
    }
}

#topics .tab li img {
    max-width: 80px;
    display: block;
    margin: 10px auto;
}
#topics .tab li&:last-child {
    margin-right: 0;
}
#topics .tab li&:hover {
    cursor: pointer;
    color: #000080;
}
#topics .tab .select {
    border-bottom: 2px solid #000080;
    background-color: #0068af;
    color: #fff;
}
 
#topics .topicon {
    /*height: 600px;
    overflow-y: scroll;*/
    background-color: #fff;
} 
#topics .topicon div {
    padding: 50px;
}
#topics .topicon p {
    line-height: 2;
    letter-spacing: .1em;
}

#Index:before {
content:"";
display:block;
position:fixed;
top:0;
left:0;
z-index:-2;
width:100%;
height:100vh;
background-repeat:no-repeat;
background-position:50% 100%;
background-image:url(../img/top/bg_index.jpg);
background-size:cover;
}
#Index:after {
content:"";
display:block;
position:fixed;
top:0;
left:0;
z-index:-2;
width:100%;
height:100vh;
background-size:cover;
background-color: rgba(0, 82, 183, .75);
}

#Index h2.YelowBG {
    font-size: 1.1em;
}

#Index .InnerInner .FlexBox {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}
#Index .InnerInner .FlexBox dl {
    width: 31.3333%;
    margin: 1%;
    background-color: #e6ecf0;
    padding: 15px 15px 7px;
}

@media screen and (max-width: 800px) {
  #Index .InnerInner .FlexBox dl {
    width: 48%;
  }
}

#Index .InnerInner .FlexBox dl dt {
    margin-bottom: 5px;
}
#Index .InnerInner .FlexBox dl dt img {
    vertical-align: bottom;
}
#Index .InnerInner .FlexBox dl dd {
    margin-bottom: 2px;
    position: relative;
    padding-left: 2em;
}
#Index .InnerInner .FlexBox dl dd:before {
    content: '';
    display: inline-block;
    width: 1.6em !important;
    height: 1.6em !important;
    background-color: #003366 !important;
    border-radius: 50%;
    position: absolute !important;
    text-align: unset !important;
    transform: none !important;
    top: .2em;
    left: 0;
    transition: all 0.3s ease;
}
#Index .InnerInner .FlexBox dl dd:after {
    content: '';
    position: absolute;
    left: .5em;
    top: .96em;
    transform: translateY(-50%) rotate(-45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    pointer-events: none;
    z-index: 1;
    transition: all 0.3s ease;
}
#Index .InnerInner .FlexBox dl a dd {
    color: #000;
}