@charset "utf-8";

/* top elements */

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

img {
    border: 0;
}

main {
    flex: 1;
    color: #343e5e;
    background: #fff;
    display: flex;
    flex-direction: column;
}

#content {
    text-align: left;
    gap: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 30px auto;
    --base-width: 1200px;
    width: var(--base-width);
    height: calc(var(--base-width) * 10 / 16);
    max-width: none;
}

#announce {
    margin-top: 25px;
    margin-bottom: 25px;
    color: blue;
    font: normal 1.2em Verdana, Sans-serif;
    text-align: center;
}


/* links */

a:link {
    color: #4a947b;
    text-decoration: none;
}

a:visited {
    color: #4a947b;
    text-decoration: none;
}

a:hover {
    color: #ff9000;
    text-decoration: underline;
}

a:active {
    color: #ff9000;
    text-decoration: none;
}





/* side box */

.sideUpperBox {
    flex: 1;
    line-height: 1.6;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: #eaf4fc;

    display: grid;
    grid-template-rows: auto 1fr 30px;
    height: 100%;

    h2 {
        margin: 10px 15px;
    }
}

.sideUpperBox .arrow_box {
	position: relative;
    pointer-events: none;
    user-select: none;
    color: white;
    font-size: 10px;
	background: #f8b500;
    padding: 2px 5px;
    border-radius: 2px 2px 2px 0px;
    vertical-align: text-bottom;
    margin-left: 8px;
    bottom: 2px;
}
.sideUpperBox .arrow_box:after {
    content: "";
    position: absolute;
    pointer-events: none;
    
    right: 100%;
    bottom: 0; 

    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 5px 5px;
    border-color: transparent transparent #f8b500 transparent;
}

.sideUpperBox h2 {
    color: #2e2930;
}

.sideUpperBox span {
    color: #19448e;
    margin-left: 25px;
}

.newsBox {
    overflow: auto;
    margin-bottom: 8px;
}

.newsBox span img {
    margin-left: 4px;
}

.newsBox ul {
    padding: 0 25px;
    margin-bottom: 16px;
    list-style: none;
}

.newsBox ul li {
    margin: 4px;
    margin-left: 15px;
    list-style-type: disc;
}

.sideUpperBox ul li a:link {
    color: #343e5e;
    text-decoration: underline;
}

.sideUpperBox ul li a:visited {
    color: #343e5e;
    text-decoration: underline;
}

.sideUpperBox ul li a:hover {
    color: #1abc9c;
    text-decoration: underline;
}

.sideUpperBox ul li a:active {
    color: #343e5e;
    text-decoration: underline;
}


/* left content */

#mainBox {
    width: 100%;
    flex: 1;
}

.post01 {
    width: 100%;
    /* margin-bottom: 20px; */
    line-height: 1.6;
}

#title_rap {
    float: left;
    padding-right: 10px;
    font-size: 190%;
    font-weight: normal;
    color: #d7003a;
}

.post01 p {
    font-weight: normal;
    margin: 0;
}


/* launcher */

ul.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    grid-gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    aspect-ratio: 1 / 1;

}

.grid li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.grid li.gridClore04 {
    aspect-ratio: 2 / 1;
    grid-column: span 2;
}

.grid li.description {
    aspect-ratio: 4 / 1;
    grid-column: span 4;
    min-height: 180px;
}

.grid li>a {
    width: 100%;
    height: 100%;
}

.grid li:has(>a:hover) {
    opacity: 0.7;
}

.grid a {
    text-decoration: none;
}

.grid .gridClore04 .formsearch01 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60%;
}

.grid .gridClore04 .formsearch01>div{
    width: 100%;
}

.grid li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid a li:hover {
    opacity: 0.7;
}

.grid li h2 {
    color: #FFFFFF;
    width: auto;
    font-size: 160%;
    font-weight: normal;
    margin-left: 8px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.grid li.tile {
    min-height: 150px;
    min-width: 150px;
}

.grid li.tile h2 a:link {
    color: #FFFFFF;
    text-decoration: none;
}

.grid li.tile h2 a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.grid li.tile h2 a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.grid li.tile h2 a:active {
    color: #FFFFFF;
    text-decoration: none;
}

.grid li.tile p {
    color: #FFFFFF;
    margin: 0 8px;
}

.grid li.tile p img {
    margin-top: 4px;
}

.gridClore01 {
    background-color: #b44c97;
}

.gridClore02 {
    background-color: #006e54;
}

.gridClore03 {
    background-color: #f8b500;
}

.gridClore04 {
    background-color: #0f2350;
}

.gridClore05 {
    background-color: #00a3af;
}

.gridClore06 {
    background-color: #2e2930;
}

.gridClore07 {
    background-color: #d7003a;
}

.gridClore08 {
    background-color: #19448e;
}

.gridBk01 {
    background-image: url(../images/bk_Icon_01.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    cursor: pointer;
}

.gridBk02 {
    background-image: url(../images/bk_Icon_02.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    cursor: pointer;
}

.gridBk03 {
    background-image: url(../images/bk_Icon_03.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}


/* launcher search */

.formsearch01 {
    width: 100%;
    margin-top: 5px;
    height: 28px;
    text-align: center;
}

.formsearch01 input.editbox_search {
    height: 28px;
    width: 280px;
    color: #333333;
    background: #FAFAFA;
    outline: none;
    border: 1px solid #acacac;
    padding-left: 4px;
    margin: 0 auto;
}

.formsearch01 input.editbox_search_home {
    display: block;
    height: 36px;
    width: 92%;
    color: #333333;
    background: #FAFAFA;
    outline: none;
    border: 1px solid #acacac;
    padding-left: 4px;
    margin: 0 auto;
    font-size: 1.3em;
}

.searchBtn {
    width: 90px;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 110%;
    padding: 6px 0;
    color: #fff;
    border: none;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin: 0 auto;
    margin-top: 14px;
    margin-left: 4px;
    margin-right: 4px;
}

.searchBtnColor01 {
    border-bottom: solid 2px #c4641b;
    background: #ff8223;
}

.searchBtnColor02 {
    border-bottom: solid 2px #149078;
    background: #1abc9c;
}

.searchBtnColor03 {
    border-bottom: solid 2px #646d76;
    background: #828e9a;
}

.searchBtnColor01:hover {
    border-bottom: solid 2px #f37719;
    background: #f37719;
}

.searchBtnColor02:hover {
    border-bottom: solid 2px #0bad8d;
    background: #0bad8d;
}

.searchBtnColor03:hover {
    border-bottom: solid 2px #646d76;
    background: #646d76;
}

.buttons_on_panel {
    display: flex;
    justify-content: center;
    gap: 5px;
}

#search_button_on_panel {
    font-size: 1.1em;
}

#advance_search_button_on_panel {
    font-size: 1.1em;
}


#extend_intro {
    padding-top: 30px;
}

#extend_intro a {
    text-decoration: underline;
}

.hidden {
    display: none;
}

.inactive_link {
    color: #8b8b8b;
}

.footer_menu span {
    margin-top: 0px;
}

/* read more */

.readmore {
    float: right;
    width: 56px;
    height: 14px;
    background-image: url(../images/bk_list_01.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    text-align: left;
    padding-left: 18px;
    line-height: .9;
}

.readmore a:link {
    color: #828e9a;
    text-decoration: none;
}

.readmore a:visited {
    color: #828e9a;
    text-decoration: none;
}

.readmore a:hover {
    color: #828e9a;
    text-decoration: underline;
}

.readmore a:active {
    color: #828e9a;
    text-decoration: none;
}
