@charset "UTF-8";
/*
 * Theme Name: Kaigai2025
*/

* {
    box-sizing: border-box;
}

html {
    padding: 0;
    margin: 0;
    background-color: #f0f0f0;
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    background-color: #f0f0f0;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0;
    font-family: "游ゴシック", "Yu Gothic", "Noto Sans JP", "メイリオ", "meiryo", Helvetica, sans-serif;
    text-align: justify;
}

a {
    color: #3377cc;
    text-decoration: none;
}

.post-container a:visited {
    text-decoration: none;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.serif {
    font-family: YuMincho, "游明朝", 'Times New Roman', Times, serif;
}

.sans-serif {
    font-family: "游ゴシック", "Yu Gothic", "Noto Sans JP", "メイリオ", "meiryo", Helvetica, sans-serif;
}

.container {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container.container--short {
    max-width: 740px;
}

.container.container--top-news {
    max-width: 540px;
}

.container.container--footer {
    max-width: 840px;
}

.text-small {
    font-size: 0.68em;
}

.text-indent {
    text-indent: -1em;
    padding-left: 1em;
}

.mb00 { margin-bottom: 0px!important; }
.mb10 { margin-bottom: 10px!important; }
.mb20 { margin-bottom: 20px!important; }
.mb30 { margin-bottom: 30px!important; }
.mb40 { margin-bottom: 40px!important; }
.mb50 { margin-bottom: 50px!important; }
.mb60 { margin-bottom: 60px!important; }
.mb70 { margin-bottom: 70px!important; }
.mb80 { margin-bottom: 80px!important; }
.mb90 { margin-bottom: 90px!important; }
.mb100 { margin-bottom: 100px!important; }
.mt00 { margin-top: 0px!important; }
.mt10 { margin-top: 10px!important; }
.mt20 { margin-top: 20px!important; }
.mt30 { margin-top: 30px!important; }
.mt40 { margin-top: 40px!important; }
.mt50 { margin-top: 50px!important; }
.mt60 { margin-top: 60px!important; }
.mt70 { margin-top: 70px!important; }
.mt80 { margin-top: 80px!important; }
.mt90 { margin-top: 90px!important; }
.mt100 { margin-top: 100px!important; }
.ml00 { margin-left: 0px!important; }
.ml10 { margin-left: 10px!important; }
.ml20 { margin-left: 20px!important; }
.ml30 { margin-left: 30px!important; }
.ml40 { margin-left: 40px!important; }
.ml50 { margin-left: 50px!important; }
.ml60 { margin-left: 60px!important; }
.ml70 { margin-left: 70px!important; }
.ml80 { margin-left: 80px!important; }
.ml90 { margin-left: 90px!important; }
.ml100 { margin-left: 100px!important; }
.mr00 { margin-right: 0px!important; }
.mr10 { margin-right: 10px!important; }
.mr20 { margin-right: 20px!important; }
.mr30 { margin-right: 30px!important; }
.mr40 { margin-right: 40px!important; }
.mr50 { margin-right: 50px!important; }
.mr60 { margin-right: 60px!important; }
.mr70 { margin-right: 70px!important; }
.mr80 { margin-right: 80px!important; }
.mr90 { margin-right: 90px!important; }
.mr100 { margin-right: 100px!important; }

.header {
    position: fixed;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 200px;
    top: 0;
    right: 0px;
    background: #fff;
}

.site-logo {
    margin: 0;
    width: 100px;
}

.site-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.site-logo img {
    display: block;
}

.mobile-menu,
.mobile-toggle-menu {
    display: none;
}

.main {
    margin-right: 200px;
    margin-top: 80px;
}

.top-section {
    position: relative;
    margin-top: 80px;
    margin-bottom: 80px;
}

.top-section-heading {
    margin: 0 auto 40px;
    width: fit-content;
    padding: 0 45px;
    border-bottom: solid 2px #0077bb;
    font-size: 1.76em;
}
.top-section-heading.top-section-heading--news {
    color: #004f7d;
}

.top-news {
    font-size: 1.16em;
    line-height: 1.55;
    margin: 0;
}

.top-news-date {
    font-size: 0.88em;
}

.top-news-more.btn {
    border: solid 1px #0077bb;
    background: #0077bb;
    color: #fff;
}

.top-news-more.btn:hover {
    color: #0077bb;
    background: #fff;
}

.top-section-heading.top-section-heading--bg {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 30%;
    border: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 80px;
}

.top-section-heading.top-section-heading--bg > span {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    background: linear-gradient(0deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
    font-weight: normal;
    line-height: 1;
    display: block;
    white-space: nowrap;
}

.top-contents-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10%;
}

.top-contents-list > li {
    width: 26%;
    position: relative;
    font-size: 1.68em;
    line-height: 1.8;
}

.top-contents-list > li:after {
    content: "";
    display: block;
    padding-bottom: 100%;
    width: 100%;
    z-index: -1;
    position: relative;
    top: 0;
    left: 0;
}

.top-contents-list-item {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: inherit;
    padding: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.5s ease;
}

.top-contents-list-item:hover {
    transform: scale(1.1);
}

.top-contents-list-item:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

.top-contents-list-item--sewadori:after {
    background-image: url(./img/bg-lg.png);
    filter: drop-shadow(3px 3px 5px rgb(120, 160, 120));
}

.top-contents-list-item--oshie:after {
    background-image: url(./img/bg-y.png);
    filter: drop-shadow(3px 3px 5px rgb(210,190,100));
}
.top-contents-list-item--kyoten:after {
    background-image: url(./img/bg-p.png);
    filter: drop-shadow(3px 3px 5px rgb(160, 140, 170));
}

.top-contents-list-item:hover:after {
    transition: opacity 1s ease;
    opacity: 1;
}

.footer {
    border-top: solid 1px #fff;
    background: #0077bb;
    color: #fff;
    padding: 10px 0;
    margin-right: 200px;
    font-size: 0.92em;
    line-height: 1.8
}

.footer a {
    color: inherit;
}

.footer-menu {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 30px auto 50px;
    gap: 50px;
}

.footer-menu-column > * {
    display: block;
    width: fit-content;
    margin-top: 0;
}

.footer-menu-heading {
    width: 100%;
    text-align: center;
    font-size: 1.12em;
    border-bottom: solid 1px #fff;
    margin-bottom: 20px;
}

.footer-menu-column {
    width: 28%;
}

.footer-menu-column > a {
    margin-bottom: 5px;
    line-height: 1.5;
}

.footer-menu-column > p {
    margin-bottom: 20px;
}

.footer-menu--1 .footer-menu-column > a:before {
    content: "➤";
    display: inline-block;
    transform: scale(0.8);
    margin-right: 2px;
}

.footer-info {
    text-indent: -1em;
    padding-left: 1em;
}


/* archives */
.post-list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 0 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #ddd;
}

.post-img-wrap {
    width: 220px;
}

.post-img-wrap * {
    display: block;
}

.listpost-content-wrap {
    width: calc(100% - 235px);
}

.entry-title {
    font-size: 1.12em;
    font-weight: bolder;
    width: 100%;
    margin-bottom: 10px;
}

.entry-meta {
    font-size: 0.88em;
}

.entry-content {
    font-style: italic;
    font-size: 0.92em;
}

/* post page */
.section-header {
    font-weight: bold;
    margin-bottom: 1em;
    color: #004488;
}

.post .entry-title {
    font-size: 1.8em;
    margin-bottom: 0.5em;
}

.post .entry-meta {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    width: 100%;
    gap: 10px 20px;
    margin-bottom: 10px;
}

.post-container a {
    text-decoration: underline;
}

.post-container a:hover {
    font-weight: bolder;
}

.post-container h1 {
    font-size: 1.76em;
    font-weight: bolder;
    margin: 1em 0 1.5em;
    color: #004488;
    width: fit-content;
    position: relative;
}
.post-container h1.no-border:after {
    display: none;
}
.post-container h1:after {
    content: "";
    width: calc(100% + 30px);
    height: 1px;
    background: #004488;
    position: absolute;
    bottom: -5px;
    left: -5px;
}
.post-container h2 {
    font-size: 1.48em;
    font-weight: bold;
    margin: 1.5em 0 0.5em;
}
.post-container h3 {
    font-size: 1.28em;
    font-weight: bold;
    margin: 1.5em 0 0.5em;
}
.post-container h4 {
    font-size: 1.16em;
    font-weight: bold;
    margin: 0.5em 0;
}
.post-container h5 {
    font-size: 1.08em;
    font-weight: bold;
    margin: 0.5em 0;
}
.post-container h6 {
    font-weight: bolder;
    margin: 0.5em 0;
}

.post-container h1 .tel {
    font-size: 1rem;
    font-weight: normal;
    display: inline-block;
}

.post-container ul,
.post-container ol {
    padding-left: 1em;
    margin-top: 0px;
    line-height: 1.7;
}

.post-container ul > li,
.post-container ol > li {
    margin-bottom: 0.75em;
}

.post-container .line {
    width: 100%;
    height: 1px;
    background: #004488;
    border: none;
}

.post-container .yokonarabi {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0 25px;
    margin-bottom: 0;
}

.post-container .yokonarabi > * {
    margin-bottom: 0.5em;
}

.post-container .yokonarabi > *:last-child {
    margin-bottom: 0;
}

.post-container dl {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px 20px;
    line-height: 1.7;
}

.post-container dl > dt {
    width: 160px;
}

.post-container dl > dd {
    width: calc(100% - 180px);
    margin-bottom: 0;
}

.langbtn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    list-style: none;
    gap: 30px 45px;
    padding: 0!important;
}

.langbtn > li {
    width: calc(33.33% - 30px);
    margin-bottom: 0!important;
}

.langbtn > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3em;
    background: #4472c4;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    line-height: 1;
    font-size: 1.24em;
    text-align: center;
}

.langbtn > li > a:visited {
    color: #fff;
}

.langbtn > li > a img {
    width: 80%;
    margin: auto;
}

.langbtn > li > a:hover {
    opacity: 0.65;
}

.post-section:nth-of-type(4n+3) a {
    color: #fff;
}

article.post {
    padding-bottom: 50px;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-categories > li {
    margin-left: 1em;
}

.post-container ul.kyoten-list {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.post-container ul.kyoten-list > li {
    width: calc(33.33% - 40px);
}

.kyoten-item {
    position: relative;
    overflow: hidden;
}

.kyoten-image {
    position: relative;
    margin-bottom: 20px;
}

.kyoten-image img {
    display: block;
    object-fit: cover;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: auto;
}

.kyoten-name {
    text-align: center;
    font-size: 1.16em;
    margin-bottom: 10px;
}

.kyoten-description {
    position: absolute;
    top: -200px;
    left: 0;
    z-index: 2;
    overflow: hidden;
    padding: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    height: 0;
    font-size: 0.92em;
    line-height: 1.5;
    transition: all 0.5s ease;
}

.kyoten-item:hover .kyoten-description {
    top: 0px;
    height: 180px;
    width: 100%;
    overflow-y: scroll;
}

.kyoten-link-wrap {
    display: flex;
    align-items: center;
    gap: 0 15px;
    justify-content: center;
}

.kyoten-link {
    display: block;
    font-weight: normal!important;
}

.kyoten-link:hover {
    font-weight: normal;
    opacity: 0.6;
}

.kyoten-link.kyoten-link--website {
    background: #004488;
    color: white;
    text-decoration: none;
    padding: 0 5px;
}

.kyoten-link img {
    width: 24px;
    display: block;
}

.post-section:nth-of-type(4n+1) {
    background: #d0effb;
}

.post-section:nth-of-type(4n+2),
.post-section:nth-of-type(4n+4) {
    background: #abcce9;
}

.post-section {
    padding: 30px 0 120px;
    border-top-right-radius: 70px;
    margin-bottom: -70px;
}

.post-section:nth-of-type(4n+3) {
    background: #0277bb;
    color: #fff;
}

.post-container .post-section:nth-of-type(4n+3) h1 {
    color: #fff;
}

.post-container .post-section:nth-of-type(4n+3) h1:after {
    background: #fff;
}

.post-section:nth-of-type(4n+3) a {
    color: #fff;
}

.post-section:nth-of-type(4n+3) .langbtn > li > a {
    background: #fff;
    color: #004f7d;
}

.post-section:nth-of-type(4n+3) .kyoten-link.kyoten-link--website {
    background: #fff;
    color: #004488;
}

.post-section:nth-of-type(4n+3) .kyoten-link img {
    filter: brightness(10);
}

/* nav */
.navigation.posts-navigation {
    padding: 10px;
}

.navigation.post-navigation {
    border-top: solid 1px #fff;
    padding: 10px;
}

.nav-next {
    text-align: right;
}

.navigation.posts-navigation .wp-pagenavi * {
    display: none;
}

.navigation.posts-navigation .wp-pagenavi .nextpostslink,
.navigation.posts-navigation .wp-pagenavi .previouspostslink {
    display: block;
    border: none;
    padding: 0;
    margin: 0;
}

.navigation.posts-navigation .wp-pagenavi .nextpostslink {
    text-align: right;
}

.navigation.posts-navigation .wp-pagenavi .previouspostslink {
    text-align: left;
}





@media all and (max-width: 1024px){
    .top-contents-list > li {
        font-size: 1.4em;
    }
}

@media all and (max-width: 820px){
    .top-contents-list {
        gap: 15px;
    }
    .top-contents-list > li {
        font-size: 1.24em;
        width: calc(33.33% - 10px)
    }
    
    .header {
        width: 120px;
    }
    
    .site-logo {
        width: 65%;
    }
    
    .main {
        margin-right: 120px;
    }

    /* .top-contents-list-item:after {
        display: none;
    }
    
    .top-contents-list-item--sewadori {
        background-image: url(./img/bg-lg.png);
        filter: drop-shadow(3px 3px 5px rgb(120, 160, 120));
    }
    .top-contents-list-item--oshie {
        background-image: url(./img/bg-y.png);
        filter: drop-shadow(3px 3px 5px rgb(210,190,100));
    }
    .top-contents-list-item--kyoten {
        background-image: url(./img/bg-p.png);
        filter: drop-shadow(3px 3px 5px rgb(160, 140, 170));
    }
    .top-contents-list-item--sewadori:hover,
    .top-contents-list-item--oshie:hover,
    .top-contents-list-item--kyoten:hover {
        opacity: 0.6;
    } */
    
    .top-section-heading.top-section-heading--bg {
        padding-bottom: 40%;
    }

    .footer {
        margin-right: 120px;
    }
    
    .footer-menu {
        gap: 20px;
    }
    
    .footer-menu-column {
        width: 33.33%;
    }

    .langbtn {
        gap: 30px;
    }
    
    .langbtn > li {
        width: calc(33.33% - 20px);
    }

    .langbtn > li > a {
        font-size: 1.12em;
    }

    .post-container ul.kyoten-list {
        gap: 45px;
    }
    .post-container ul.kyoten-list > li {
        width: calc(33.33% - 30px);
    }

    .kyoten-name {
        font-size: 1em;
    }
    .kyoten-image img {
        width: 140px;
        height: 140px;
    }
}

@media all and (max-width: 640px){
    body {
        font-size: 15px;
        line-height: 1.8;
    }

    .text-small {
        font-size: 0.88em;
        padding: 1em;
    }
    
    .container {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .container.container--mobile-menu {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .header {
        position: sticky;
        z-index: 11;
        width: 100%;
        height: auto;
    }
    
    .site-logo {
        width: 100%;
        padding: 8px;
    }
    
    .site-logo a {
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .site-logo img {
        height: 42px;
        max-width: 64px;
    }
    
    .mobile-toggle-menu {
        display: block;
    }

    .main {
        margin-right: 0;
        margin-top: 40px;
    }
    
    .footer {
        margin-right: 0;
    }
    
    .top-section {
        margin-top: 40px;
        margin-bottom: 60px;
    }
    
    .top-section-heading {
        font-size: 1.48em;
    }
    
    .top-news {
        font-size: 1.04em;
    }
    
    .top-section-heading.top-section-heading--bg > span {
        padding: 15px;
    }
    
    .top-section-heading.top-section-heading--bg {
        padding-bottom: 200px;
        margin-bottom: 50px;
    }
    
    .top-contents-list {
        gap: 30px;
    }
    .top-contents-list > li {
        width: calc(50% - 15px);
        font-size: 1.12em;
    }
    .top-contents-list > li:nth-of-type(3n) {
        margin: -30px 20px;
    }

    .footer-menu.footer-menu--1 {
        display: none;
    }
    
    .footer-menu.footer-menu--2 {
        margin: 20px auto 0;
    }

    .footer-menu-column {
        display: none;
    }    
    
    .footer-menu-column.footer-menu-column--info {
        display: block;
        width: 100%;
        text-align: center;
    }    
    
    .footer-info {
        text-indent: 0;
        padding: 0;
        width: 100%;
    }

    .section-header {
        font-size: 1.68em;
    }

    .post-section {
        border-top-right-radius: 40px;
        margin-bottom: -40px;
        padding-bottom: 50px;
    }    
    
    .post-img-wrap {
        width: 100px;
    }
    
    .listpost-content-wrap {
        width: calc(100% - 115px);
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 9;
    }

    .mobile-toggle-menu {
        width: 36px;
        height: 36px;
        position: fixed;
        -webkit-appearance: none;
        appearance: none;
        border: none;
        padding: 0;
        background: none;
        top: 12px;
        right: 12px;
        z-index: 11;
    }
    
    .mobile-toggle-menu > span {
        width: 100%;
        height: 3px;
        background: #3377cc;
        display: block;
        position: absolute;
    }
    
    .mobile-toggle-menu > span:nth-child(1) {
        top: 6px;
    }
    
    .mobile-toggle-menu > span:nth-child(2) {
        top: 16px;
    }
    
    .mobile-toggle-menu > span:nth-child(3) {
        top: 26px;
    }
    
    .mobile-menu.active {
        display: block;
        background: #fff;
        padding: 80px 20px 80px;
        font-size: 1.12em;
        overflow-y: scroll;
        text-align: center;
    }

    .mobile-toggle-menu.active > span:nth-child(1) {
        top: 50%;
        transform: rotate(45deg);
    }
    
    .mobile-toggle-menu.active > span:nth-child(2) {
        display: none;
    }
    
    .mobile-toggle-menu.active > span:nth-child(3) {
        top: 50%;
        transform: rotate(-45deg);
    }
    
    .mobile-menu-container {
        width: 100%;
        height: 100%;
    }
    
    .mobile-menu-heading {
        text-align: center;
        border-bottom: solid 1px;
        margin-top: 0;
        margin-bottom: 5px;
    }
    
    .mobile-menu-column {
        margin-bottom: 20px;
    }
    
    .mobile-menu-column a {
        display: block;
    }
    
    .mobile-menu-separate {
        border: none;
        border-bottom: solid 1px #000;
        height: 0px;
        margin: 20px auto;
        opacity: 1;
    }
}

@media all and (max-width: 480px){
    .post-container dl {
        display: block;
    }
    
    .post-container dl > dd {
        margin-left: 1em;
        width: auto;
        margin-bottom: 1em;
    }
    
    .post-container dl > dt {
        width: 100%;
    }

    .langbtn {
        gap: 20px;
    }

    .langbtn > li {
        width: calc(50% - 10px);
    }
    
    .langbtn > li > a {
        font-size: 1em;
    }

    .post-container ul.kyoten-list {
        display: block;
    }
    
    .post-container ul.kyoten-list > li {
        width: 100%;
    }
    
    .kyoten-item {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .kyoten-image img {
        width: 100px;
        height: 100px;
    }
    
    .kyoten-text {
        width: calc(100% - 110px);
    }
    
    .kyoten-name {
        text-align: left;
        font-size: 1.08em;
        margin-bottom: 0;
        font-weight: bold;
    }
    
    .kyoten-description {
        position: relative;
        top: unset;
        left: unset;
        overflow: unset;
        height: auto;
        background: none;
        padding: 0;
        color: inherit;
        transition: none;
        margin-bottom: 10px;
    }
    
    .kyoten-link-wrap {
        justify-content: flex-start;
    }
    
    .kyoten-item:hover .kyoten-description {
        height: auto;
        overflow-y: unset;
    }
}
