html {
    font-size: 10px;  /* 中（デフォルト）10px */
}
body {
    position: relative;
    height: 100%;
    font-size: 1.6rem;
    background-color: #fff;
    color: #333;
    font-family: "BIZ UDGothic", sans-serif;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
a:hover {
    opacity: 0.8;
}

/* coomon */
#page {
    background-color: #F7F5EF;
}
#page-top {
    padding-bottom: 60px;
}
#page-top .block {
    max-width: 1200px;
    width: 85%;
    margin: auto;
}
#page-top .block ul {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}
#page-top .block ul li {
    margin-right: 20px;
}
#page-top .block ul li a {
    color: #151A8C;
    text-decoration: underline;
    font-weight: bold;
}
@media screen and (max-width: 768px) {
    #page-top .block {
        max-width: 1200px;
        width: 85%;
        margin: auto;
    }
    #page-top .block ul li {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
}
.card {
    border-radius: 30px 5px 30px 5px;
    box-shadow: 6px 7px 7px -1px rgba(0, 0, 0, 0.3);
}
.bnr {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    border-radius: 0 0 20px 20px;
    aspect-ratio: 6 / 1;
}
.bnr.kickoff {
    background-image: url('../img/kickoff_bg.png');
}
.bnr.otonavi {
    background-image: url('../img/otonavi_bnr.png');
}
.bnr.plaza {
    background-image: url('../img/plaza_bnr.png');
}
.bnr.higashi {
    background-image: url('../img/higashi_top.png');
}
.bnr.hakata {
    background-image: url('../img/hakata_top.png');
}
.bnr.chuo {
    background-image: url('../img/chuo_top.png');
}
.bnr.minami {
    background-image: url('../img/minami_top.png');
}
.bnr.jonan {
    background-image: url('../img/jonan_top.png');
}
.bnr.sawara {
    background-image: url('../img/sawara_top.png');
}
.bnr.nishi {
    background-image: url('../img/nishi_top.png');
}
.bnr.contents {
    background-image: url('../img/contents-top.png');
}
.bnr.supporter {
    background-image: url('../img/contents-top.png');
}
.bnr.special {
    background-image: url('../img/goudou.png?d=2');
}
.bnr .txt {
    width: 360px;
    padding-top: 20px;
    background-color: #fff;
    height: 100%;
    border-radius: 0 0 0 20px;
    text-align: center;
    color: #151A8C;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.bnr.special .txt {
    padding-top: 0;
}
.bnr .txt h2 {
    font-size: 2.4rem;
    line-height: 25px;
}
.bnr.special .txt h2 {
    line-height: 1.4;
}
.bnr.special .txt h2 span {
    font-size: 2.0rem;
}
.bnr .txt p {
    font-size: 1.2rem;
    line-height: 54px;
    font-weight: bold;
}
.bnr.special .txt p {
    line-height: 1;
    margin-bottom: 10px;
}

.line_bnr {
    position: fixed;
    right: 0;
    top: 210px;
    z-index: 10;
}
.line_bnr img {
    width: 70px;
}

.jump_top {
    position: fixed;
    background-color: #151A8C;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    bottom: 80px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px 12px 10px;
}
.jump_top img {
    width: 30px;
}

.nav_link a {
    position: relative;
    display: block;
    border: #151A8C 1px solid;
    color: #151A8C;
    font-weight: bold;
    text-align: center;
    box-shadow: 5px 5px 0px 0px #151A8C;
}
.nav_link a span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 13px;
}

.page-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}
.page-wrap .wp-pagenavi {
    display: flex;
    align-items: center;
}
.page-wrap .pages {
    display: none;
}
.page-wrap .current {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 10px;
    background-color: #151A8C;
    color: #fff;
    margin: 0 5px;
}
.page-wrap .page {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #151A8C;
    color: #151A8C;
    border-radius: 10px;
    margin: 0 5px;
}
.page-wrap .nextpostslink {
    font-size: 24px;
    margin-left: 10px;
}
.page-wrap .previouspostslink {
    font-size: 24px;
    margin-right: 10px;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 1.5rem;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .bnr {
        justify-content: flex-end;
        aspect-ratio: 2 / 1;
        background-size: cover;
    }
    .bnr.special {
        aspect-ratio: 5 / 4;
        background-position: center -60px;
    }
    .bnr .txt {
        width: 100%;
        padding: 20px 0;
        height: auto;
        border-radius: 0 0 20px 20px;
    }
    .bnr.special .txt {
        padding-top: 20px;
    }
    .bnr .txt h2 {
        font-size: 1.8rem;
    }
    .bnr.special .txt h2 span {
        font-size: 1.4rem;
    }
    .bnr .txt p {
        display: none;
    }
    .bnr.special .txt p {
        display: block;
    }
    .line_bnr {
        top: 140px;
        z-index: 10;
    }
    .line_bnr img {
        width: 48px;
    }
    .jump_top {
        right: 5px;
    }
}

header {
    z-index: 999;
    position: relative;
    background-color: #151A8C;
    width: 100%;
    height: 120px;
    padding: 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
}
header h1 img {
    width: 145px;
}
header nav {
    color: #fff;
}
header nav ul {
    position: relative;
    display: flex;
    align-items: flex-end;
}
header nav ul li {
    position: relative;
    margin-left: 20px;
    font-size: 1.4rem;
}
header nav ul li a {
    color: #fff;
}
header nav ul li .draw_menu {
    pointer-events: none;
    width: 250px;
    position: absolute;
    z-index: 100;
    bottom: -43px;
    left: 50%;
    transform: translate(-50%);
    background-color: #fff;
    border-radius: 10px;
    padding: 5px 10px;
    opacity: 0;
    transition: .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #151A8C;
}
header nav ul li .draw_menu.active {
    pointer-events: auto;
    opacity: 1;
}
header nav ul li .draw_menu li {
    position: relative;
    text-align: center;
    margin-left: 0;
    font-size: 1.4rem;
    font-weight: bold;
}
header nav ul li .draw_menu li::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 1px solid #151A8C;
    border-bottom: 10px solid #fff; /* 好みで高さ色を変えてください */
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
header nav ul li .draw_menu a {
    color: #151A8C;
}
header nav .font-change button {
    position: relative;
    display: block;
    margin: 0 0 0 auto;
    z-index: 999;
    border: 1px solid #fff;
    background-color: #151A8C;
    text-align: center;
    border-radius: 20px;
    color: #fff;
    width: 80px;
    padding: 5px 0;
    cursor: pointer;
}
header .header_tag {
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    right: 13%;
}
header .header_tag a {
    margin-right: 40px;
    border-radius: 0 0 20px 20px;
    background-color: #fff;
    text-align: center;
    border: none;
    padding: 5px 30px;
    color: #151A8C;
}
header .header_tag a:last-child {
    margin-right: 0;
}
header nav ul .size-menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #151A8C;
    background-color: #fff;
    width: 80px;
    height: 0;
    position: absolute;
    right: 0;
    top: 45px;
    padding: 20px 0;
    transition: all .3s;
    opacity: 0;
    pointer-events: none;
    border-radius: 0 0 50px 50px;
}
header nav ul .size-menu.active {
    opacity: 1;
    height: auto;
    display: block;
    pointer-events: all;
}
header nav ul .size-menu li {
    width: 100%;
    margin-left: 0;
    padding: 5px 0;
    text-align: center;
    cursor: pointer;
}

header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.8;
    visibility: visible;
    animation: slide 0.5s ease-in-out;
}
@keyframes slide {
    0% {
      transform: translateY(-100%);
    }
  
    100% {
      transform: translateY(0%);
    }
}
.nav_content {
    opacity: 0;
    height: 0;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    header {
        height: 80px;
        display: flex;
        align-items: center;
        padding: 35px 20px;
        font-size: 1.4rem;
        z-index: 999;
    }
    header h1 img {
        width: 90px;
    }
    header .header_tag a {
        display: none;
    }
    .header__hamburger {
        width: 35px;
        height: 100%;
        margin: 10px;
    } 
    .hamburger {
        background-color: transparent;
        border-color: transparent;
        z-index: 9999;
    }
    .hamburger span {
        width: 100%;
        height: 1px;
        background-color: #fff;
        position: relative;
        transition: ease .5s;
        display: block;
    }
    .hamburger span:nth-child(1) {
        top: 0;
    }
    .hamburger span:nth-child(2) {
        margin: 8px 0;
    } 
    .hamburger span:nth-child(3) {
        top: 0;
    }
    .header__nav.active {
        transform: translateX(0);
    }
    .hamburger.active span:nth-child(1) {
        top: 5px;
        transform: rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;  
    }
    .hamburger.active span:nth-child(3) {
        top: -13px;
        transform: rotate(-45deg);
    } 
    .nav_content {
        position: fixed;
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        background-color: #fff;
        padding: 105px 0;
        overflow: scroll;
    }
    .nav_content .font-size {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 80%;
        margin: 0 auto 40px;
        color: #151A8C;
    }
    .nav_content .font-size ul {
        display: flex;
    }
    .nav_content .font-size ul li {
        border: 1px solid #151A8C;
        border-radius: 5px;
        padding: 3px 10px;
        margin-left: 5px;
    }
    .nav_content .font-size ul li.active {
        background-color: #151A8C;
        color: #fff;
    }
    .nav_content.active {
        opacity: 1;
        pointer-events: all;
        transition: all .5s linear;
    }
    .nav_content ul.nav {
        width: 80%;
        margin: 0 auto 40px;
    }
    .nav_content ul.nav li {
        text-align: center;
        font-weight: bold;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .nav_content ul.nav .sub {
        font-weight: normal;
        margin-top: -10px;
        font-size: 1.4rem;
    }
    .nav_content ul.nav li a {
        color: #151A8C;
    }
    .nav_content .contact {
        display: block;
        text-align: center;
        width: 80%;
        margin: auto;
        padding: 10px;
        color: #151A8C;
        font-weight: bold;
        border: #151A8C 1px solid;
        border-radius: 50px;
        margin-bottom: 20px;
    }
}

footer {
    width: 100%;
    background-color: #151A8C;
    color: #fff;
    padding: 30px 45px 20px 30px;
}
footer .pc .block .logo img {
    width: 184px;
}
footer .pc .block {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
footer .pc .block ul li {
    line-height: 2;
    font-size: 1.4rem;
    font-weight: bold;
}
footer .pc .block ul li.sub {
    font-weight: normal;
}
footer .pc .block ul li a {
    color: #fff;
}
footer .pc .block .footer_menu {
    width: calc(100% - (184px + 11.6%));
    margin-left: 11.6%;
}
footer .pc .block .menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
footer .pc .block .footer_menu .document {
    display: flex;
    justify-content: flex-end;
} 
footer .pc .block .footer_menu .document li {
    margin-left: 18px;
}
footer .copy {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
}
footer .footer_bnr {
    width: 320px;
    margin: auto;
    margin-bottom: 35px;
}

@media screen and (max-width: 768px) {
    footer {
        padding: 20px 0 10px 0;
    }
    footer .pc .block .footer_menu .document {
        display: none;
    } 
    footer .sp .block ul li a {
        color: #fff;
    }
    footer .sp .block .top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        padding: 0 20px 0 15px;
    }
    footer .sp .block .top .logo {
        width: 136px;
    }
    footer .sp .block .top .document li {
        font-size: 1.2rem;
        line-height: 2.2;
        font-weight: bold;
    }
    footer .sp .block .menu {
        margin-bottom: 10px;
        padding: 0 20px;
    }
    footer .sp .block .menu ul li {
        font-weight: bold;
        line-height: 3.0;
        border-bottom: 1px solid #fff;
        font-size: 1.3rem;
        text-align: center;
    }
    footer .sp .block .menu ul li span {
        display: block;
        font-weight: normal;
        text-align: left;
        font-size: 1.2rem;
        margin-top: -12px;
    }
    footer .sp .block .plaza .main li {
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 5px;
        line-height: 1.8;
        text-align: center;
    } 
    footer .sp .block .plaza {
        margin-bottom: 55px;
    }
    footer .sp .block .plaza .sub {
        display: flex;
        justify-content: space-between;
        padding-left: 15px;
    }
    footer .sp .block .plaza .sub li {
        font-size: 1.2rem;
        line-height: 2;
    }
    footer .copy {
        font-size: 1.0rem;
    }
    footer .footer_bnr {
        width: 260px;
    }
}