@charset "utf-8";

html{
    font-size: 100%;
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body{
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
}

a{
    text-decoration: none;
    color: #333;
}

p{
    font-size: 1.3rem;
}

img{
    max-width: 100%;
}

li{
    list-style: none;
    font-size: 1.2rem;
}

address{
    font-style: normal;
}

/* hover */
.header-copy-top-name:hover,.header-nav-item:hover,.menu-modal-item-title:hover,.header-modal-sns-item:hover,.sec-button>a:hover,.news-card.visible:hover,.footer-mtf>a:hover,.footer-sns-item:hover,.footer-address:hover,.footer-nav-item:hover{
    opacity: 0.5;
}

/* header */
.header{
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.header-copy{
    position: relative;
    width: 70%;
    z-index: 700;
}

.header-copy-title{
    position: absolute;
    top: 15px;
    left: 30px;
}

.header-copy-title.is-active{
    color: #fff;
}

.header-copy-top-name{
    position: absolute;
    top: 50px;
    left: 30px;
}

.header-copy-top-name>p{
    font-size: 1.5rem;
    font-weight: 600;
}

.header-copy-top-name.is-active>p{
    color: #fff;
}

.header-nav{
    position: relative;
    width: 100%;
}

.header-nav-list{
    position: absolute;
    right: 50px;
    bottom: 20px;
    display: flex;
}

.header-nav-item:not(:first-child){
    padding-left: 20px;
}

.menu-modal-open-button{
    position: absolute;
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    top: 60px;
    right:30px;
    z-index: 999;
}

.menu-modal-open{
    content: "";
    width: 25px;
    display: block; 
}

.menu-modal-open i{
    content: "";
    position: absolute;
    background: #24292e;
    top: calc(50% - 0px);
    width: 100%;
    height: 2px;
}

.menu-modal-open::before{
    content: "";
    position: absolute;
    background: #24292e;
    top: calc(50% - 5px);
    width: 100%;
    height: 2px;
    transition: .25s;
}

.menu-modal-open::after{
    content: "";
    position: absolute;
    background: #24292e;
    top: calc(50% - -5px);
    width: 100%;
    height: 2px;
    transition: .25s;
}

.menu-modal-open.modal-expanded-state i{
    display: none;
}

.menu-modal-open.modal-expanded-state::before{
    background-color: #fff;
    transform: rotate(45deg);
    transition: .25s;
    top: 15px;
}

.menu-modal-open.modal-expanded-state::after{
    background-color: #fff;
    transform: rotate(-45deg);
    transition: .25s;
    top: 15px;
}

.menu-modal-overlay{
    display: none;
    position: fixed;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.menu-modal-container{
    display: none;
    position: absolute;
    background-color: #009FCD;
    padding: 100px 0 20px;
    right: 0;
    width: 100%;
    z-index: 300;
}

.menu-modal-list{
    padding: 0 0 20px;
}

.menu-modal-item{
    padding: 5px 0;
    border-bottom: 2px solid #fff;
}

.menu-modal-item-title{
    display: flex;
    justify-content: space-between;
    padding: 5px 4%;
}

.menu-modal-item-title>p{
    color: #fff;
}

.header-modal-sns{
    padding: 0 4%;
}

.header-modal-sns-title{
    color: #fff;
    font-weight: 600;
}

.header-modal-sns-list{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0;
}

.header-modal-sns-item{
    width: 70px;
}

.header-modal-sns-item-icon-image{
    position: relative;
    height: 40px;
    text-align: center;
}

.header-modal-sns-item-icon-image>img{
    position: absolute;
    width: 40px;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50%);
}

.header-modal-sns-item-icon>p{
    padding-top: 5px;
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
}

.page-top{
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: transform 0.3s ease-in-out; /* スライドイン・アウトのアニメーション */
    transform: translateY(400%); /* 画面上部から隠す */
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

.page-top.visible{
    transform: translateY(0); /* 画面内に表示 */
}

@media screen and (max-width: 800px) {
    .header-copy{
        width: 100%;
    }
    .header-nav{
        display: none;
    }
    .menu-modal-open-button{
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .header{
        height: 80px;
    }
    .header-copy-title{
        top: 15px;
        left: 10px;
        font-size: 1.1rem;
    }
    .header-copy-top-name{
        top: 40px;
        left: 10px;
    }

    .header-copy-top-name>p{
        font-size: 1.3rem;
    }

    .menu-modal-open-button{
        top: 40px;
        right:20px;
    }

    .page-top{
        right: 10px;
        bottom: 45px;
    }
}

/* main */
/* base */
.page-blank{
    height: 100px;
    background-color: #fff;
}

.section-button{
    text-align: center;
}

.button{
    display: inline-block;
    text-align: center;
    margin-top: 10px;
    padding: 2px 5px;
    border: 2px solid #333;
    border-radius: 15px;
    transition: color,border .25s;
}

.wrapper{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4% 50px;
}

.section.page-title-box{
    background-color: #009FCD;
    padding-bottom: 10px;
}

.wrapper.page-title{
    padding-bottom: 5px;
}

.wrapper.page-content{
    padding-top: 20px;
    min-height: 500px;
}

.sec-title{
    font-size: 1.2rem;
    padding: 20px 0 0;
    text-align: center;
}

.sec-title>h2{
    padding: 10px 20px;
    background-color: #009FCD;
    width: fit-content;
    margin: 0 auto;
    color: #fff;
}

.sec-button{
    margin: 0 auto;
    width: fit-content;
}

.sec-button>a{
    padding: 2px 5px;
    background-color: #009FCD;
    color: #fff;
    font-size: 0.8rem;
}

.wrapper.pankuzu{
    padding: 20px;
    text-align: left;
}

.pankuzu a:hover{
    opacity: 0.5;
}

@media screen and (max-width: 480px) {
    .page-blank{
        height: 80px;
    }

    .sec-title{
        font-size: 0.82rem;
    }

    .wrapper.pankuzu{
        padding: 10px;
        font-size: 0.8rem;
    }
}

/* grid */
.grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 1%;
}

.grid-4 > .grid-item{
    width: 23%;
    transition: all .25s;
}

@media screen and (max-width: 800px) {
    .grid-4 > .grid-item{
        width: 48%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .grid-4 > .grid-item{
        width: 100%;
    }
}

/* main-image */
.main-image{
    padding: 120px 4% 20px;
    text-align: center;
}

/* profile */
.profile{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 20px 0 10px;
}

.profile-body{
    padding: 0 0 20px 30px;
}

.profile-header>p{
    font-weight: 600;
    font-size: 1.2rem;
}

.profile-item{
    position: relative;
    font-size: 1.0rem;
}

.profile-item::before{
    position: absolute;
    top: 7px;
    left: -20px;
    content: "";
    width: 12px;
    height: 12px;
    background-color: #009FCD;
    border-radius: 50%;
    z-index: 0;
}

@media screen and (max-width: 480px) {
    .profile-item{
        font-size: 0.8rem;
    }
    .profile-item::before{
        top: 5px;
        left: -20px;
    }
}

/* news */
.sec-content.news-content{
    display: flex;
    justify-content: center; 
}

.news-list{
    padding: 10px 0 20px;
}

.news-card{
    width: 250px;
    height: 273.5px;
    border: 2px solid #333;
    margin: 10px 0;
    padding: 10px;
    box-shadow: 0 0 8px gray;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    overflow: hidden;
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* .news-card.visible:hover{
    overflow: hidden;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.news-card.visible:hover>.news-card-image{
    max-height: 187.5px;
    max-width: 250px;
    overflow: hidden;
}

.news-card.visible:hover>.news-card-image>img{
    transform: scale(1.05);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
} */

.news-card-info{
    display: flex;
    justify-content: space-between;
    padding: 0 20px 5px;
    font-size: 1.0rem;
}

.news-card-category{
    font-size: 1.0rem;
}

.news-card-image{
    width: 226px;
    height: 169.5px;
    margin: 0 auto;
    overflow: hidden;
}

.news-card-title{
    margin-top: 7px;
    font-size: 1.0rem;
}

@media screen and (min-width: 1200px) {
    .news-list{
        width: 1100px;
    }
}

@media screen and (max-width: 1102px) {
    .news-item{
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 590px) {
    .news-list{
        justify-content: center;
    }
}

/* policy */
.policy-title{
    margin-bottom: 10px;
}

.policy-title>h2{
    margin-bottom: 10px;
}

.policy-content{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-images{
    width: 400px;
    height: 400px;
    padding:  0 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.policy-images-right{
    margin-top: 150px;
}

/* 画面内に入ったときに付与するクラス */
.policy-images.is-visible {
    opacity: 1;
    transform: translateY(0);
}
  
  /* 右側の画像を少し遅れて表示させたい場合（オプション） */
  .policy-images-right.is-visible {
    transition-delay: 0.2s; /* 0.2秒遅れてアニメーション開始 */
}

@media screen and (max-width: 869px) {
    .policy-images.is-visible{
        margin-top: 10px;
    }
    .policy-images-right{
        margin-top: 0;
    }
}

@media screen and (max-width: 480px) {
    .policy-images{
        width: 300px;
        height: 300px;
    }
}

/* sns */
.sns{
    display: flex;
    justify-content: center;
    /* gap: 4%; */
}

.sns-content{
    width: 100%;
    min-height: 500px;
}

.sns-title{
    margin-top: 10px;
    padding: 20px 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

@media screen and (max-width: 800px) {
    .sns{
        display: block;
    }
    .sns-content{
        width: 100%;
    }
}

/* footer */
.footer{
    padding: 20px 4% 10px;
    background-color: #009FCD;
    color: #fff;
}

.footer-contact{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 10px;
}

.footer-contact-box>.footer-address>address>a,.footer-mtf>a,.footer-nav-item>a,.copyright>p>a{
    color: #fff;
    font-size: 1.2rem;
}

.footer-sns-title{
    margin-top: 20px;
}

.footer-sns-list{
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0;
}

.footer-sns-item{
    width: 74px;
}

.footer-sns-item-icon-image{
    position: relative;
    height: 40px;
}

.footer-sns-item-icon-image>img{
    position: absolute;
    width: 40px;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50%);
}

.footer-sns-item-icon>p{
    padding-top: 5px;
    color: #fff;
    font-size: 1.0rem;
    text-align: center;
}

.footer-contact-box>.footer-address>address>a>span{
    display: block;
}

.footer-map>iframe{
    padding: 10px;
    width: 400px;
    height: 250px;
}

.footer-nav{
    display: flex;
    gap: 20px;
}

.copyright{
    text-align: center;
    margin-top: 5px;
    padding-bottom: 10px;
}

@media screen and (max-width: 800px) {
    .footer-contact-box{
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .footer-contact-box>.footer-address>address>a,.footer-mtf,.footer-mtf>a,.footer-nav-item>a,.copyright>p>a{
        font-size: 0.8rem;
    }

    .footer-sns-title{
        font-size: 1.1rem;
    }

    .footer-sns-item-icon>p{
        font-size: 0.8rem;
    }

    .footer-nav{
        display: block;
    }

    .footer-nav-item>a{
        font-size: 0.9rem;
    }

    .copyright>p{
        font-size: 0.9rem;
    }

    .footer-map>iframe{
        width: 250px;
        height: 150px;
    }
}


/* contact */
/* contact */
.contact-contents{
    min-height: 200px;
}

.contact-msg{
    margin: 10px 0 40px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
}

.wpcf7>.wpcf7-form>table{
    margin: 20px auto 0;
    text-align: left;
}

.contact-body>tr{
    height: 40px;
}

.label,.input,.textarea{
    font-weight: 400;
}

.form-required{
    margin-left: 10px;
    padding: 2px 5px;
    border-radius: 5px;
    background-color: #d3381c;
    color: #fff;
    font-weight: 400
}

.contact-input-2 p{
    display: flex;
    justify-content: space-between;
    gap: 2%;
}

.wpcf7-form-control.wpcf7-text,.wpcf7-form-control.wpcf7-textarea{
    padding: 0 2px;
    width: 100%;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
}

.contact-input.contact-input-2>p>span>input{
    max-width: 250px !important;
}

.input{
    height: 35px;
}

.wpcf7-form>p{
    text-align: center;
}

.wpcf7-form>p>input{
    color: #333;
}

@media screen and (max-width: 480px) {
    .contact-msg{
        font-size: 1.0rem;
        margin: 10px 0 20px;
    }
}

/* 404 */
.nf-contents h3{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.nf-contents p{
    text-align: center;
    font-size: 1.2rem;
}

.nf-contents p a{
    font-weight: 600;
    font-size: 1.2rem;
}

/* single */
.article{
    width: 80%;
    margin: 0 auto;
}

.article-info{
    display: flex;
    justify-content: space-between;
}

.article-title{
    padding: 10px 0 20px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.article-content>p{
    font-size: 1.1rem;
}

.wp-block-image{
    margin-top: 10px;
    text-align: left;
}

@media screen and (max-width: 480px) {
    .article{
        width: 100%;
    }
    .article-date,.article-category{
        font-size: 0.8rem;
    }
}

/* home */
.nav-links{
    padding: 20px 0;
    text-align: center;
}

.page-numbers{
    padding: 2px 5px;
    background-color: #009FCD;
    color: #fff;
}

.page-numbers.dots{
    background-color: #fff;
    color: #333;
}

/* privPoli */
.privPoli-header{
    margin: 0 0 20px;
    padding: 10px;
    border: 1px solid #24292e;
}

.privPoli-content-item{
    margin: 10px 0 30px;
    text-align: left;
}

.privPoli-item-title{
    margin: 10px 0;
    font-size: 1.3rem;
}

.privPoli-item-content{
    font-size: 0.8rem;
}

.privPoli-item-content ul li{
    font-size: 0.8rem;
}

.privPoli-item-content-go{
    margin-left: 10px;
}

.privPoli-item-content-go-go{
    margin-left: 10px;
}

@media screen and (max-width: 480px) {
    .privPoli-item-title{
        font-size: 1.0rem;
    }
}

/* sitemap */
.sitemap-box{
    margin: 10px 0.5%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    /* border: 2px solid #24292e; */
    box-shadow: 0 0 8px gray;
    text-align: left;
}

.sitemap-title{
    border-left: 3px solid #009FCD;
    margin-bottom: 5px;
    padding-left: 5px;
    font-size: 1.2rem;
    font-weight: 600;
}

.sitemap-content-item{
    padding: 3px 2px 0;
    font-size: 1.0rem;
    font-weight: 400;
}

.sitemap-title:hover,.sitemap-content-item:hover{
    opacity: 0.5;
}

.sitemap-content-item::before{
    content: "> ";
    font-weight: 400;
}

@media screen and (max-width: 800px) {
    .grid-4 > .sitemap-box{
        width: 48%;
        margin-bottom: 20px;
    }
}


@media screen and (max-width: 480px) {
    .grid-4 > .sitemap-box{
        width: 100%;
    }
}