@charset "UTF-8";

/*----------------------------------------------------------------------------------------------------
共通
----------------------------------------------------------------------------------------------------*/

header {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

footer {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    background-color: #00253a;
    color: #fff;
    padding: 15px;
}

#wrap {
    position: relative;
    min-height: 100vh;
    padding-bottom: 200px;
}

#content {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
}

section {
    margin-bottom: 50px;
}

.header-img .title {
    font-size: 4.2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 5px 5px 15px #000;
    position: absolute;
    top: calc(50% - 33.5px);
    left: 50px;
}

.pagenation {
    margin: 0 auto;
    display: block;
    text-align: center;
    color: #0054a2;
    margin-top: 50px;
}

.pagenation a {
    color: #0054a2;
    text-decoration: none !important;
}

.oldpage:after {
    content: "　|　";
}

.main {
    width: 70%;
}

#sidebar {
    width: 30%;
    padding: 0 20px;
}

.portTitle {
    margin-block-end: 100px;
    background: #00253a;
    color: #fff;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 6rem;
}

.portTitle-inner {
    text-align: center;
}

.single .post a {
    color: #fff;
    text-decoration: none;
    background: #000;
    margin-block-end: 20px;
    box-shadow: inset 5px 5px 20px 0px #333;
    width: 200px;
}

.has-text-align-center {
    text-align: center;
    margin-block-end: 40px;
    font-size: 2.4rem;
}

form.post-password-form {
    text-align: center;
}

@media screen and (min-width:415px) {
    footer {
        position: absolute;
        bottom: 0;
    }
}

@media only screen and (max-width:767px) {
    .main {
        width: 100%;
        padding: 0 20px;
    }
    #sidebar {
        width: 100%;
    }
}


/*----------------------------------------------------------------------------------------------------
ヘッダメニュー
----------------------------------------------------------------------------------------------------*/

.header-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    -webkit-box-align: end;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-top: 5px;
}

.title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.logo {
    width: 100px;
    height: 100px;
}

#nav.pc ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#nav.pc li {
    padding: 0 15px;
}

#nav.pc .menu li a:hover {
    color: #999;
}

#nav.pc ul.sub-menu {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}

#nav.pc .menu li:hover {
    -webkit-transition: all .5s;
    transition: all .5s;
}

#nav.pc .sub-menu li {
    border-top: 1px solid #ccc;
    padding: 0 10px;
}

#nav.pc .menu>li {
    height: 30px;
    position: relative;
}

#nav.pc li.menu-item ul.sub-menu {
    position: absolute;
    top: 10px;
    background: rgba(255, 255, 255, .8);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    width: 100%;
}

#nav.pc li.menu-item:hover ul.sub-menu {
    top: 30px;
    visibility: visible;
    opacity: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    line-height: 2.5;
    width: 100%;
}


/*----------------------------------------------------------------------------------------------------
フッタメニュー
----------------------------------------------------------------------------------------------------*/

.footer_menu {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

footer li {
    display: inline-block;
}

footer li a {
    color: #fff;
}

footer ul li:after {
    content: "　|　";
}

footer ul li:last-child:after {
    content: "";
}


/*----------------------------------------------------------------------------------------------------
モバイルメニュー
----------------------------------------------------------------------------------------------------*/

#mg-wprm-wrap {
    background-color: rgba(65, 144, 204, 0.9) !important;
}

html body #wprmenu_menu_ul li.wprmenu_parent_item_li>ul {
    background-color: rgba(39, 108, 150, .5) !important;
}

#mg-wprm-wrap li.current-menu-item>a {
    background: rgba(0, 51, 79, .5) !important;
}


/*----------------------------------------------------------------------------------------------------
TOPへ戻るボタン
----------------------------------------------------------------------------------------------------*/

#sr-page-top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 10px;
    background: #848484;
    opacity: 0.6;
    border-radius: 50%;
}

#sr-page-top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#sr-page-top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    font-size: 2.5rem;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}


/*----------------------------------------------------------------------------------------------------
TOP
----------------------------------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------------------------------
info
----------------------------------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------------------------------
検索窓
----------------------------------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------------------------------
お問い合わせ
----------------------------------------------------------------------------------------------------*/

.form-title {
    background-color: #e2e2e2;
    padding: 5px 10px;
    margin: 20px 0 10px;
}

form.wpcf7-form {
    line-height: 2;
}

input.wpcf7-text,
textarea.wpcf7-textarea.wpcf7-validates-as-required {
    width: 100%;
    line-height: 3;
    border: 1px solid #ccc;
}

.submit-btn {
    text-align: center;
}

input.wpcf7-form-control.wpcf7-submit {
    background-color: #00334f;
    padding: 5px 20px;
    color: #fff;
    border: none;
    width: 200px;
    height: 40px;
}


/*----------------------------------------------------------------------------------------------------
プライバシーポリシー
----------------------------------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------------------------------
サイドメニュー
----------------------------------------------------------------------------------------------------*/