/*==================================================
base
==================================================*/
.columns-3,
.columns-4 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.columns-3::after {
    content: '';
    width: 32%;
    display: block;
    height: 0;
}

.columns-4::before {
    content: '';
    width: 24%;
    display: block;
    height: 0;
    order: 1
}

.columns-4::after {
    content: '';
    width: 24%;
    display: block;
    height: 0;
}

:is(.columns-2, .columns-3, .columns-4) .entry {
    margin-bottom: 4%;
    position: relative;
    background-color: #fff;
    border: 1px solid #ddd
}

.columns-2 .entry {
    width: 46%;
}

.columns-3 .entry {
    width: 32%;
}

.columns-4 .entry {
    width: 24%;
}

.columns-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.columns-5 .entry {
    margin-bottom: 10px;
    position: relative;
    background-color: #fff;
    border: 1px solid #ddd
}

@media screen and (max-width:1099px) {
    .columns-5 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        font-size: .9em;
    }

    .columns-5 .entry:nth-child(5) {
        display: none;
    }
}

@media screen and (max-width:767px) {
    .columns-3 .entry,
    .columns-4 .entry {
        width: 100%;
        padding: 2%;
        margin-bottom: 3%;
        position: relative;
        background-color: #fff;
        border: 1px solid #ddd
    }

    .columns-5 {
        display: block;
    }

    .columns-5 .entry,
    .list-wrp .entry-list.columns-5.postcount-1 .entry,
    .list-wrp .entry-list.columns-5.postcount-2 .entry,
    .list-wrp .entry-list.columns-5.postcount-3 .entry,
    .list-wrp .entry-list.columns-5.postcount-4 .entry {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 3%;
    }
}

.columns-3 .entry .meta-wrp,
.columns-4 .entry .meta-wrp {
    padding: 3% 5%;
}

/* box size */
.w20 {
    width: 20%;
}

.w30 {
    width: 30%;
}

.w40 {
    width: 40%;
    margin: 2em auto;
}

.w50 {
    width: 50%;
    margin: 2em auto;
}

.w70 {
    width: 70%;
    margin: 2em auto;
}

.w80 {
    width: 80%;
    margin: 2em auto;
}

.w100 {
    width: 100%;
    margin: 2em auto;
}

@media screen and (max-width:767px) {
    .w80 {
        width: 100%;
        margin: 1em auto;
    }
}

@media screen and (min-width:768px) {

    /* thumb hover */
    a img {
        transition: all .3s ease;
    }

    a:hover img {
        transform: scale(1.05);
    }
}

/*==================================================
wp block css fix
==================================================*/
.has-medium-font-size{
    font-size:1.2em !important;
}

.has-large-font-size{
    font-size:1.5em !important;
}

figcaption{
    font-size:.9em;
    line-height: 1.5;
    padding:.5em 0;
}

.aligncenter figcaption{
    text-align: center;
}

.wp-block-table table {
    width:100%;
}

.wp-block-table th,
.wp-block-table td{
    font-weight: normal;
    padding:.5em;
}

.wp-block-image{
    margin: 1em auto 2em;
}

.wp-block-image img{
    width:100%;
    height: auto;
}

.wp-block-column ul{
    margin-bottom: 1em;
}

.wp-block-column li{
    line-height:1.6;
}

/*==================================================
tablepress
==================================================*/
.tablepress {
    width: 100%;
    border: none;
    margin-bottom: 1em;
}

.tablepress tr {
    border-bottom: 1px solid #ddd;
}

.tablepress tr:first-child {
    border-top: 1px solid #ddd;
}

.tablepress tr.odd,
.tablepress tr.odd td {
    background-color: transparent;
}

.tablepress tr:nth-child(odd) td {
    background-color: #f3f3f3;
}

.tablepress tr.odd:hover td,
.tablepress tr.even:hover td {
    pointer-events: none;
}

.tablepress th,
.tablepress td {
    font-size: .8em;
    line-height: 1.5;
    transition: none;
    padding: .75em;
}

.search .tablepress tr,
.archive .tablepress tr {
    background-color: transparent;
}

.search .tablepress th,
.search .tablepress td,
.archive .tablepress th,
.archive .tablepress td {
    font-size: .74em;
    line-height: 1.5;
    background-color: transparent !important;
}

.tablepress .column-1 {
    white-space: nowrap;
}

.tablepress caption a {
    display: inline-block;
    padding: .5em 1em;
    border: 1px solid #ccc;
    border-radius: 3em;
    margin: 1em 0;
}

/* hide edit */
/* .search .tablepress caption, */
.archive .tablepress caption {
    display: none;
}

/* .table-frame td {
    border: 1px solid #ccc;
    padding: .75em;
} */

/*==================================================
youtube
==================================================*/
.is-provider-youtube iframe {
    margin-left: auto;
    margin-right: auto;
}

.wp-embed-aspect-16-9 {
    margin-bottom: 2em;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 54%;
    position: relative;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.wp-embed-aspect-16-9.frame iframe {
    border: 1px solid #ccc;
}

/*==================================================
page header
==================================================*/
.page-header {
    text-align: center;
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.pagetitle-wrp {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    z-index: 2;
}

.pagetitle-wrp-inner {
    margin-bottom: 1.5em;
}

.page-header .title-en {
    font-size: 2.5em;
    display: block;
    width: 100%;
    font-weight: 700;
    margin-bottom: .2em;
}

.page-header .title-jp {
    font-size: 1.1em;
    display: block;
    width: 100%;
    position: relative;
}

.page-header .title-jp::before,
.page-header .title-jp::after {
    content: '';
    display: inline-block;
    width: 2em;
    height: 1px;
    background-color: #222;
    margin: 0 .75em;
    vertical-align: middle;
}

@media screen and (max-width: 767px) {
    .page-header {
        height: 180px;
    }

    .page-header .title-en {
        font-size: 2em;
    }

    .page-header .title-jp {
        font-size: 1em;
    }
}

.archive .cat-notice,
.page-header .title-jp.notice-title,
.page-header .title-jp.announcement-title {
    color: var(--color_red);
    border: 1px solid var(--color_red);
    padding: .25em 1em;
}

.archive .cat-notice,
.archive .cat-announcement {
    font-size: .7em;
    display: inline-block;
    padding: .25em 1em;
    margin-bottom: 1em;
}

.page-header .title-jp.notice-title::before,
.page-header .title-jp.notice-title::after,
.page-header .title-jp.announcement-title::before,
.page-header .title-jp.announcement-title::after {
    display: none;
}

/*==================================================
line up
==================================================*/
/* line-up page */
.line-up .wrp {
    padding: min(100px, 15vw) 2rem;
    margin:0 auto;
    background-color: #F6F5F2;
}

.line-up .archive-line-up-wrp {
    max-width: 100%;
    padding: 0;
}

.line-up .archive-line-up-wrp .inner{
    justify-content: center;
    gap: 3rem;
}

.line-up .archive-line-up-wrp .entry{
    margin: 0;
    background-color: #fff;
    border: solid 1px #afafaf;
}

.line-up .archive-line-up-wrp .entry figure{
    overflow: hidden;
}

.line-up .archive-line-up-wrp .entry .meta-wrp{
    padding: 1em;
    text-align: center;
}

.line-up .archive-line-up-wrp .entry .meta-wrp .cat-title{
    font-size: 1.2em;
}

.line-up .archive-line-up-wrp .entry .meta-wrp .cat-en-title{
    margin-top: .25em;
    font-size: 1.1em;
    color: var(--lifon_orange);
}

/* archive */
.archive-header .lineup-title {
    font-weight: bold;
    font-size: 2em;
}

.archive-header .archive-icon{
    width:70px;
    margin:1em auto;
}

.archive-header .page-title {
    font-size: 1.1em;
    margin-bottom: 1em;
}

.archive-header .archive-description {
    max-inline-size: max-content;
    margin-inline: auto;
    margin-bottom: 3em;
    padding: 0 15px;
    font-size: .95em;
    text-align: justify;
}

.entry .abox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.entry .figure-wrp {
    padding: 40px 60px 0;
    margin-bottom: 1em;
}

@media screen and (max-width: 767px) {
    .entry .figure-wrp {
        padding: 20px 40px 0;
    }
}

.entry .thumb {
    width: 100%;
    padding: 0;
    padding-bottom: 66%;
    display: block;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.entry .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0
}

.entry .meta {
    width: 100%;
    padding: 0 1em;
}

.entry .tag-wrp {
    width: 100%;
}

.entry .postdate {
    font-size: .9em;
    line-height: 1.4;
    margin-bottom: .5em;
}

.entry .cat {
    display: inline-block;
    padding: .25em 1em;
    font-size: .7em;
    line-height: 1.5;
    border: 1px solid #ccc;
    margin-right: .5em;
}

.entry .entry-title {
    font-size: 1em;
    padding: 0;
    display: block;
    width: 100%;
    line-height: 1.5;
    margin: 0 0 1em;
}

.entry .meta-title-wrp .entry-title {
    display: inline-block;
    width: auto;
}

.entry .entry-title-jp {
    font-size: .9em;
    padding: 0;
    display: block;
    width: 100%;
    line-height: 1.5;
    margin: 0 0 1em;
}

.entry .lead {
    font-size: .76em;
    padding: 0;
    display: block;
    width: 100%;
    line-height: 1.5;
    margin: 0 0 1.5em;
}

.entry .features {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
    list-style-type: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .entry .features {
        grid-template-columns: repeat(7, 1fr);
        gap: 6px;
    }
}

.entry .features li {
    width: fit-content;
    list-style-type: none;
}

.entry .features .parent-tax,
.entry .features .child-tax {
    display: contents;
}

.entry .features .parent-tax>a {
    display: none
}

.entry .tablepress dl {
    display: grid;
    grid-template-areas: "dt dd";
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: .5em 1em;
}

.entry :is(p, a) {
    word-break: break-all;
}


/*==================================================
news
==================================================*/
/* archive */
.archive .news .inner {
    max-width: 880px;
}

.archive .news .entry {
    border-bottom: 1px solid #ccc;
    padding-bottom: 3%;
    margin-bottom: 5%;
}

@media screen and (max-width: 767px) {
    .archive .news .entry {
        padding-bottom: 3%;
    }
}

.archive .news .entry .figure-wrp {
    display: block;
    width: 17%;
    padding: 0;
}

.archive .news .entry .figure-wrp .thumb {
    width: 100%;
    height: 0;
    padding: 0;
    padding-bottom: 100%;
    position: relative;
    margin-bottom: 0;
}

.archive .news .entry .figure-wrp .thumb img {
    object-fit: cover;
    /* border: 1px solid #ccc; */
    border: 10px solid #f3f3f3;
}

@media screen and (max-width: 767px) {
    .archive .news .entry .figure-wrp .thumb img {
        border: 4px solid #f3f3f3;
    }
}

.archive .news .entry .meta-wrp {
    width: 70%;
}
@media screen and (max-width: 767px) {
    .archive .news .entry .meta-wrp {
        font-size: .9em;
    }
}

.archive .news .entry .meta-wrp .entry-title {
    font-size: 1.05em;
}
@media screen and (max-width: 767px) {
    .archive .news .entry .meta-wrp .entry-title {
        font-size: 1em;
        margin-bottom: .5em;
    }
}

.archive .news .entry p:not(.cat) {
    font-size:.9em;
    line-height: 1.8;
    padding-bottom: 1em;
}

.archive .news .news-btn {
    width: 5%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #222;
    transition: all .3s ease;
}

.archive .news .news-btn:hover {
    opacity: .5;
}

/* single */
.single.news .entry{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px 40px;
}

@media screen and (max-width:767px) {
    .single.news .entry {
        font-size: .9em;
    }
}

.single.news .news-title {
    font-size: 1.5em;
    margin: 0 0 1.5em;
}

.single.news .entry h3 {
    font-size: 1.2em;
    padding: 0 0 .5em;
}

.single.news .entry .postdate {
    font-size: 1em;
    margin-bottom: 1.5em;
}

.single.news .entry p:not(.cat){
    font-size:1em;
    line-height: 2;
    padding-bottom: 2em;
}

.single.news .entry a {
    color: var(--lifon_orange);
    text-decoration: underline;
}

/*==================================================
contact
==================================================*/
.contact .wrp {
    padding-bottom: 0;
}

.contact .inner.info h2 {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 1em;
}

.contact .inner.info p {
    line-height: 2;
    margin-bottom: 1em;
}

.contact .contact-wrp {
    background-color: #f9f9f9;
}

.contact .inner {
    max-width: 800px;
    padding: 60px 15px;
}

.contact .contact-frame {
    border: 1px solid #ccc;
    padding: 2em;
    margin: 2em auto;
    background-color: #fff;
}

@media screen and (max-width: 767px) {
    .contact .contact-frame {
        padding: 1.5em;
        font-size: .9em;
    }
}

.contact .contact-frame p {
    line-height: 1.8;
    padding-bottom: .5em;
}

.contact .contact-frame .has-large-font-size{
    font-size:1.5em !important;
}

.contact .contact-frame p.freedial-number img {
    line-height: 1;
    display: inline-block;
    margin-right: .75em;
    vertical-align: middle;
}

.contact .contact-frame p.freedial-number strong {
    vertical-align: middle;
}

/*==================================================
support
==================================================*/
.support .inner {
    max-width: 960px;
}

.support .frame {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1em;
}


/*==================================================
policy
==================================================*/
.privacy-policy .inner {
    max-width: 960px;
}

.privacy-policy h2 {
    font-size: 1.6em;
}

.privacy-policy h3 {
    font-size: 1.4em;
    margin-top: 1em;
    margin-bottom: 1.5em;
}

.privacy-policy h4 {
    font-size: 1.2em;
    margin-top: 2em;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
    padding-bottom: .5em;
}

.privacy-policy p {
    font-size: .95em;
    line-height: 2;
}

@media screen and (max-width: 767px) {
    .privacy-policy .pagetitle-wrp {
        font-size: .7em;
        line-height: 1.4;
    }

    .privacy-policy h2 {
        font-size: 1.2em;
    }

    .privacy-policy h3 {
        font-size: 1em;
    }

    .privacy-policy h4 {
        font-size: .9em;
    }

    .privacy-policy p {
        font-size: .74em;
        line-height: 2;
    }
}

.privacy-policy strong {
    display: block;
    font-size: 1.1em;
    margin: 1em 0;
}

.privacy-policy ol {
    margin: 1em 0;
    margin-left: 1.5em;
}

.privacy-policy ol li {
    font-size: .9rem;
    line-height: 1.6;
    padding-bottom: .5em;
}


/*==================================================
404
==================================================*/
.error404 .index-main {
    text-align: center;
    padding: 50px 15px;
}

.error404 .index-main .page-title {
    font-size: 2em;
    margin: .5em auto;
}

.error404 .search-area {
    width: 100%;
    max-width: 900px;
    margin: 2em auto;
}

.search-form {
    display: flex;
    justify-content: space-between;
}

.search-form label {
    width: 90%;
}

.search-field {
    display: block;
    width: 100%;
}

.search .res-wrp {
    width: 100%;
}

.search .res {
    width: 100%;
    font-size: 1.2em;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 767px) {
    .error404 .index-main {
        font-size: .8em;
    }
}

/*==================================================
registration
==================================================*/
.registration .wrp {
    width: 100%;
    max-width: 1100px;
    margin: 2em auto;
    padding: 15px;
}