@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0 auto 20px;
    font-family: "ヒラギノ角ゴ Pro W3", "メイリオ", Osaka, Arial, Verdana, "ＭＳ Ｐゴシック", sans-serif;
    font-size: 14px;
    background: url(../image/background.png) center top/100px;
}

h1 img {
    margin-top: 0;
}

h2 {
    clear: both;
    margin: 20px auto 0;
    padding: 5px 13px;
    color: white;
    font-size: 18px;
    background: #0cc;
}

h2.place {
    margin-bottom: 20px;
    width: 50%;
}

h3 {
    clear: both;
    margin: 20px auto 0;
    padding: 5px 10px;
    color: #0cc;
    font-size: 16px;
    border: solid #0cc;
    border-radius: 20px;
}

h4 {
    clear: both;
    margin: 20px auto 0;
    color: #0cc;
    font-size: 15px;
    border-bottom: 2px solid #0cc;
}

p {
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 2;
}

p.bold {
    font-size: 16px;
    font-weight: bold;
}

a {
    color: #0cc;
    font-weight: bold;
}

a:hover {
    color: #c00;
    font-weight: bold;
}

/*a[href$=".pdf"] {
    display: inline-block;
    padding-left: 25px;
    background: url(../image/icon_pdf.png) no-repeat;
}*/

a.image {
    padding-left: 0;
    background: none;
}

span {
    color: red;
}

ul, ol {
    line-height: 2;
}

dl {
    display: flex;
    flex-wrap: wrap;
    line-height: 1.5;
}

dl dt {
    width: 10%;
    margin-top: 10px;
    font-weight: bold;
}

dl dd {
    width: 90%;
    margin-top: 10px;
}

dl dd span {
    display: inline-block;
    margin-left: 5px;
    padding: 0 5px;
    vertical-align: middle;
    color: white;
    font-size: 10px;
    font-weight: bold;
    background: red;
}

img {
    display: block;
    margin: 10px;
}

img.size-large {
    width: 100%;
}

img.right {
    float: right;
    margin: 10px;
}

img.\31 {
    width: 10%;
}

img.\32 {
    width: 20%;
}

img.\33 {
    width: 30%;
}

img.\34 {
    width: 40%;
}

img.\35 {
    width: 50%;
}

table {
    margin: 10px auto 0;
    max-width: 550px;
    text-align: center;
    border: solid #ccc;
    border-collapse: collapse;
}

table tr.double {
    border: 10px double #ccc;
}

table tr th, table tr td {
    padding: 10px;
    border: 1px solid #ccc;
}

table tr td.right {
    text-align: right;
}

iframe {
    display: block;
    width: 100%;
    margin: 10px auto 0;
}

.site-title a {
    display: flex;
}

/*pcメニュー*/
@media screen and (min-width: 751px) {
    header {
        display: flex;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: auto;
    }

    #information {
        text-align: right;
    }

    #firstMenu {
        width: 100%;
        margin-top: 10px;
    }

    .menu-item {
        width: 16%;
    }

    .menu-item a {
        display: block;
        padding: 15px 0 12px;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        color: white;
        font-size: 16px;
        font-weight: bold;
        border-radius: 20px 20px 0px 0px;
        background: #0cc;
    }

    #menu-item-9 a {
        background-color: #f26522;
    }

    #menu-item-9 a:hover, .menu-item a:hover {
        background-color: #c00;
    }

    .main-navigation li.current-menu-ancestor > a {
        background: #c00;
    }

    .main-navigation li.current_page_item > a {
        background: #c00;
    }

    #firstMenu ul li:first-child a {
        background: #f26522;
    }

    #firstMenu ul li a span {
        font-size: 1vw;
        font-weight: normal;
        color: white;
    }
}

#container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1200px;
    margin: auto;
    /*padding: 20px;*/
    border-radius: 0 0 20px 20px;
    background: rgba(255, 255, 255, 0.5);
}

#topImage {
    width: 100%;
    margin: 20px 0 0;
    border: 5px solid #fff;
    box-shadow: 0 0 5px #ccc;
}
.top-sp-text{
    display: none;
}

#topImage ul, #topImage ul li a img {
    margin-top: 0;
}

#menu {
    width: 100%;
    margin-bottom: 20px;
    font-size: 0;
}

#secondMenu {
    margin-bottom: 10px;
}

#secondMenu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
    padding-left: 0;
}

#secondMenu ul li {
    width: 50%;
    list-style: none;
}

#secondMenu ul li a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #0cc;
    font-size: 1.4vw;
    font-weight: bold;
    border: solid #0cc;
    background: white;
}

#secondMenu ul li a:hover, #secondMenu ul li.active a {
    color: #c00;
    border-color: #c00;
}

#thirdMenu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 0;
}

#thirdMenu ul li {
    width: 19.5%;
    list-style: none;
}

#thirdMenu ul li a {
    display: block;
    padding: 0.3rem;
    text-align: center;
    text-decoration: none;
    color: #0cc;
    font-size: calc(0.75rem + ((1vw - 7.5px) * 0.1709)); /*14px～12px*/
    font-weight: bold;
    border: solid #0cc;
    border-radius: 20px;
    background: white;
    line-height: 1.3;
}

#thirdMenu ul li a:hover, #thirdMenu ul li.active a {
    color: #c00;
    border-color: #c00;
}

.post-5.type-page {
    width: 100%;
    padding: 0 20px 20px;
    border-radius: 20px;
    background: white;
}

#mainContents {
    width: 100%;
    padding: 0 20px 20px;
    border-radius: 20px;
    background: white;
}

#mainContents.home {
    width: 63%;
    margin-top: 20px;
}

#mainContents.home dl dt {
    width: 18%;
}

#mainContents.home dl dd {
    width: 82%;
}

#banner {
    font-size: 0;
}

#banner ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 0;
    padding-left: 0;
    list-style: none;
}

#banner ul li {
    width: 49%;
}

.gallery {
    font-size: 0;
}

.gallery ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 0;
    padding-left: 0;
}

.gallery ul li {
    width: 19%;
    list-style: none;
}

.gallery ul li a img {
    margin-top: 10px;
}

#subContents.home {
    width: 34%;
    margin-top: 20px;
    font-size: 0;
}

footer {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
}

#copyright {
    text-align: center;
}

/*ハンバーガーメニュー*/
@media screen and (max-width: 750px) {
    header .site-branding {
        margin: 0 auto;
    }

    header .site-branding img {
        width: 80%;
        margin: 10px auto;
    }
    #mainContents{
        padding-left: 0;
        padding-right: 0;
    }

    #mainContents.home, #mainContents.home dl dt, #mainContents.home dl dd, #banner ul li {
        width: 100%;
    }
    #mainContents.home dl dt{
        margin-top: 15px;
    }
    #mainContents.home dl dd{
        margin-top: 0;
    }

    .gallery ul li {
        width: 32%;
    }

    #subContents.home {
        width: 100%;
        margin-top: 20px;
    }

    .post-5.type-page {
        padding-left: 0;
        padding-right: 0;
    }

}

#post-99 ul, ol {
    margin: 0;
    padding-left: 2em;
}

.flex-prev, .flex-next {
    height: 30px !important;
    width: 30px !important;
}

.flex-prev::before, .flex-next::before {
    height: 20px !important;
    width: 20px !important;
}

#mainContents dd {
    margin-top: 10px;
}

#mainContents dd p {
    margin: 0;
    line-height: 1.5;
}

#primary-menu {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 0;
    padding-left: 0;
    list-style: none;
    align-items: flex-end;
}

.post-5.type-page {
    margin: 0;
}

.entry-title {
    clear: both;
    margin: 20px auto 0;
    padding: 5px 13px;
    color: white;
    font-size: 18px;
    background: #0cc;
}

.entry-header {
    display: inline;
}

#mainContents article {
    flex-wrap: wrap;
}

.site-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    border-radius: 0 0 20px 20px;
    background: rgba(255, 255, 255, 0.5);
}

.content-area {
    width: 100%;
    padding: 0 20px 20px;
    border-radius: 20px;
    background: white;
}

.entry-content {
    margin: 0;
}

#post-35 .entry-content article {
    display: flex;
    flex-wrap: wrap;
}

h2.place {
    padding: 0;
    background-color: #fff;
}

h2.place a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #0cc;
    font-size: 1.4vw;
    font-weight: bold;
    border: solid #0cc;
    background: white;
}

h2.place a:hover {
    color: #c00;
    border-color: #c00;
}

/*トップのスライダー*/
ul.bxSlider {
    margin: 0 !important;
}

@media screen and (min-width: 751px) {
    /*ドロップメニュー*/
    ul.sub-menu li.menu-item-has-children {
        width: 100%;
    }

    li.menu-item-has-children {
        overflow: hidden;
    }

    li.menu-item-has-children:hover {
        overflow: visible;
    }

    .nav-menu > .menu-item-has-children > .sub-menu > li {
        transition: all ease-in-out 0.5s;
        overflow: hidden;
        height: 0;
        opacity: 0;
    }

    .nav-menu > .menu-item-has-children:hover > .sub-menu > li {
        overflow: visible;
        height: inherit;
        opacity: 1;
    }

    ul.sub-menu li ul {
        transition: all ease-in-out 0.5s;
        height: 0;
        left: 100%;
        overflow: hidden;
        opacity: 0;
    }

    ul.sub-menu li:hover ul {
        position: absolute;
        display: block;
        overflow: visible;
        opacity: 1;
    }

    ul.sub-menu li ul li {
        display: block;
        width: 100%;
        box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    }

    .main-navigation ul ul a {
        border-radius: 0;
    }
}

.nav-unshown {
    display: none;
}
.entry-content .wp-block-media-text>figure>img, .entry-content .wp-block-media-text>figure>video{
    margin: auto;
    padding: 10px;
}


/*ヘッダー共通*/
.site-title {
    width: 100%;
    margin: 0 auto;
}

.site-title span {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.site-title span img[src*=rogo] {
    width: 15%;
}
/*pdfダウンロードボタン*/
.wp-block-file .wp-block-file__button{
    background-color: #00cccc;
}
.wp-block-file a.wp-block-file__button:hover{
    color: #ffde00;
}
/*検索画面*/
.entry-title a {
    color: #fff;
    text-decoration: none;
}
.entry-title a:hover {
    color: #c00;
    text-decoration: underline;
}
.entry-summary p a{
    text-decoration: none;
}
.entry-summary p a:hover{
    text-decoration: underline;
}
/*お問い合わせ*/
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea{
    width: 25rem;
}
input[type="submit"]{
    background: #FF9800;
    border-radius: 1em;
    letter-spacing: 0.5rem;
    text-align: center;
    text-indent: 0.5rem;
    font-size: 1.5rem;
    color: #fff;
    padding: .6rem 2rem;
}
input[type="submit"]:hover{
    background-color: #ffb549;
}
@media screen and (max-width: 750px) {
    /*ヘッダー*/
    #thirdMenu ul{
        margin-left: 0;
    }
    #thirdMenu ul li{
        width: 49%;
        margin-bottom: 10px;
    }
    .site-title {
        width: 70%;
        margin: auto auto auto 1rem;
    }

    .site-title span {
        align-items: center;
    }

    .site-title span img[src*=title] {
        width: calc(100% - 70px);
        margin: 10px 0;
    }

    .site-title span img[src*=rogo] {
        width: 60px;
        margin: 10px 10px 10px 0;
    }
    .sp-hide{
        display: none;
    }
    ul{
        margin-left: 1.5rem;
    }
    .alignright, .alignleft{
        float: none;
        margin: 0;
        width: 100%;
    }
    .sp-img-50{
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    /*レポートページ*/
    .entry-content dt{
        width: 100%;
        margin-top: 16px;
    }
    .entry-content dd{
        margin-top: 0;
    }
    /*お問い合わせ*/
    .wpcf7-form-control-wrap input,
    .wpcf7-form-control-wrap textarea{
        width: 100%;
    }
    /*ハンバーガーメニュー*/
    .menu-toggle {
        display: none;
    }

    #site-navigation {
        z-index: 999;
        position: absolute;
        top: 0;
        left: 0;
    }

    /*アイコン部分*/
    #nav-open {
        display: inline-block;
        position: absolute;
        right: 0;
        margin: 17px 10px auto 20px;
        width: 30px;
        height: 22px;
        vertical-align: middle;
        z-index: 999;
        transition: .3s ease-in-out;
    }

    #nav-open span {
        position: absolute;
        height: 3px; /*線の太さ*/
        width: 25px; /*長さ*/
        border-radius: 3px;
        background: #555;
        display: block;
        content: '';
        cursor: pointer;
        transition: .3s ease-in-out;
    }

    #nav-open span:nth-of-type(2) {
        bottom: 10px;
    }

    #nav-open span:nth-of-type(3) {
        bottom: 2px;
    }

    /*背景の黒部分*/
    #nav-close {
        display: none; /*はじめは隠しておく*/
        position: fixed;
        z-index: 99;
        top: 0; /*全体に広がるように*/
        left: 0;
        width: 100%;
        height: 100%;
        background: black;
        opacity: 0;
        transition: .3s ease-in-out;
    }

    /*中身*/
    .menu-global-menu-container {
        overflow: auto;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 9999; /*最前面に*/
        width: 240px; /*右側に隙間を作る（閉じるカバーを表示）*/
        /*max-width: 400px;/*最大幅*/
        height: 100%;
        background: #fff;
        transition: .3s ease-in-out;
        -webkit-transform: translateX(105%);
        transform: translateX(105%); /*左に隠しておく*/
    }

    #primary-menu {
        display: block;
        margin: 20px;
    }

    .main-navigation ul.sub-menu {
        display: inline;
    }

    .main-navigation li {
        float: none;
        font-size: 1.2rem;
        line-height: 2.5;
    }

    .main-navigation ul ul {
        float: unset;
        position: unset;
    }

    ul.sub-menu li {
        padding: 0 0 0 .75rem;
    }

    .main-navigation li a {
        font-size: 13px;
        font-weight: 100;
        width: 100% !important;
    }

    /*input*/
    #nav-input:checked ~ #nav-close {
        display: block; /*カバーを表示*/
        opacity: .5;
    }

    #nav-input:checked ~ .menu-global-menu-container {
        transform: translateX(0%);
    }

    #nav-input:checked ~ #nav-open {
        transform: translateX(-240px);
    }

    #nav-input:checked ~ #nav-open span {
        background: #fff;
    }

    #nav-input:checked ~ #nav-open span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg);
    }

    #nav-input:checked ~ #nav-open span:nth-of-type(2) {
        left: 50%;
        opacity: 0;
    }

    #nav-input:checked ~ #nav-open span:nth-of-type(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .has-medium-font-size {
        font-size: 16px;
    }
    a:visited {
        color: #0cc !important;
    }

    img {
        height: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    /*テーブル*/
    .participation-contact{
        overflow: auto;
        white-space: nowrap;
    }

    .top-sp-text{
        display: block;
        color: rgb(246,120,0);
        font-size: 1rem;
        text-align: center;
    }
}
.wp-block-gallery{
    margin: 15px 0 0 0;
}
.wp-block-gallery img{
    margin: 0;
}
.owl-carousel .owl-item img{
    margin: 0;
}

a[href$=".pdf"] {
    display: inline-block;
    padding-left: 25px;
    background: url(../image/icon_pdf.png) no-repeat;
}
