@charset "utf-8";
:root {
	--main-color: #30529a;
	--main-color_br: #2a5bc6;
	--main-colorBg75: rgb(48, 82, 154,0.75);
	--main-colorOp75: rgba(224, 229, 240, 0.75);
	--main-color50: #e0e5f0;
	--ac-color: #e83820;
	--ac-color50: #d15747;
	--ac-color25: #f9cdc8;
    --fzMsg:4.0vw;
    --fz24:4.4vw;
    --fz22:4.2vw;
    --fz14:3vw;
    --fzBnr:4.4vw;
    --fzNewsLink:4vw;
    --fzNewsDate:2vw;
    --fzNewsHeight:3em;

  }
  /* pc-fz */
  @media only screen and (min-width:600px) {
    :root {
        --fzMsg:1.6rem;
        --fz24:2.4rem;
        --fz22:2.2rem;
        --fz14:1.4rem;
        --fzBnr:2.0rem;
        --fzNewsLink:2.4rem;
        --fzNewsDate:1.2rem;
        --fzNewsHeight:1em;
    } 
  }
html {
    scroll-behavior: smooth;
	font-size: 62.5%;
    color: var(--main-color);
	font-style: normal;
	font-family: 'Noto Sans JP', 'ＭＳ Ｐゴシック', 'MS UI Gothic', Osaka, sans-serif;
	text-align: left;
	word-break: break-all;
	scroll-behavior:smooth;
}
body {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
a{
    color: var(--main-color);
}

/* 戻るボタン */
.toTop{
    position: fixed;
    bottom: 3vw;
    right: 3vw;
    z-index: 999;
    width: 60px;
    height: 60px;
}

/* header */
#main_header {
    width: 100%;
    background-color: var(--main-color);
}

.navBox ul li a{
    display: block;
    color: var(--main-color);
}
.sitemapBox {
    width: 100%;
    margin: 10vh auto 0;
}
ul#sitemap li a {
    display: block;
    color: var(--main-color);
}
.sitemapInBox {
    background-color: var(--main-color50);
}
.sitemapInBox p {
    text-align: center;
    padding: 4em 0;
}
/* 折り返し防止 */
.topMsg span,
.joinBtn span,
.postBtn span,
.boBtn span
 {
    display: inline-block;
}

.topNews01,
.topNews02,
#topSlider,
#topNewsBox {
    aspect-ratio: 1/1;
}
.topNews01,
.topNews02 {
    background-color: var(--main-colorBg75);
    display: flex;
    flex-direction: column;
}
.topNews01{
    justify-content: space-between;
}
.topNews02{
    justify-content: center;
}
.topNews01 p {
    text-align: center;
    color: #fff;
}
.topNews01 p.slickFade-center {
    padding: 2rem 0;
}
.topNews02 p.slickFade-center {
    width: 90%;
    margin: 0 auto;
    padding: 2rem 0;
}
.slickFade-center img {
    margin: 0 auto;
}
.topMsg {
    font-size: var(--fzMsg);
    line-height: 2.2;
}
.topNews01 .topBtnBox {
    width: 100%;
    padding: 5%;
    margin-top: auto;
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}
.topNews02 .topBtnBox {
    width: 30%;
    padding: 5% 0;
    margin: 0 auto;
}
.joinBtn,
.postBtn,
.qaBtn,
.boBtn {
    width: 100%;
    flex: 0 0 40%;
    border: 0px solid transparent;
    padding: 0.5em 0;
    font-size: var(--fzBnr);
    border-radius: 20px;
}
.joinBtn {
    background-color: var(--ac-color);
    color: #fff;
}
.topBtnBox .postBtn,
.topBtnBox .joinBtn {
    aspect-ratio: 2/1;
    padding: 0 1em;
}
.topNews02 .joinBtn {
    /* max-width: 175px; */
    aspect-ratio: 1/1;
    padding: 1em;
}
.postBtn {
    background-color: var(--main-color50);
    color: var(--main-color);
}

.heroBox {
    position: relative;
    padding: 0;
    margin: 0;
    z-index: 0;
}

/* h2装飾 */
.headingBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.headingBox,
section.sideBox h2 {
    color: var(--main-color);
    width: 100%;
    padding: 1rem;
    text-align: left;
    background-color: var(--main-color50);
    margin: 1em 0;
} 
.headingBox h2,
section.sideBox h2 {
    font-size: var(--fzMsg);
    line-height: 2em;
}
.headingBox p {
    font-size: var(--fzMsg);
    font-weight: lighter;
} 

.headingBox h2 span,
section.sideBox h2 span {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    color: #fff;
    background-color: var(--main-color);
    line-height: 1.5em;
    font-size: var(--fz24);
    margin-right: 0.125em;
}

/* News */
#update div.newsBox {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    font-size: var(--fzNewsLink);
    margin: 1em auto;
    line-height: var(--fzNewsHeight);

}
#update div.newsBox p {
    margin: 0;
    height: var(--fzNewsHeight);
}
#update div.newsBox p:first-of-type {
    font-size: var(--fzNewsDate);
    line-height: var(--fzNewsHeight);
}
.pBG {
    flex: 1 1 auto;
    background-image:url(../images/dot.svg);
    background-size: 0.25em;
    background-position: center center;
    background-repeat: repeat-x;
}


.contentBox {
    font-size: 1.6rem;
    line-height: 1.6;
}
.contentBox section div:not(.headingBox) p {
    width: 90%;
    margin: 1em auto;
}
.contentBox .joinBtn,
.contentBox .qaBtn,
.contentBox .boBtn {
    width: 80%;
    margin: 1em auto;
    padding: 0.5em;
}
.contentBox .qaBtn {
    background-color: var(--ac-color25);
    color: var(--ac-color);
}
.contentBox .qaBtn span {
    display: inline-block;
    background-image: url(../images/pdf.png);
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: 0 center;
    padding-left: 1.25em;
}
.contentBox .boBtn {
    background-color: var(--main-color);
    color: #fff;
}

/* bnr */
.bnrBox {
    width: 100%;
}
.bnrBox a{
    font-size: var(--fzBnr);
    text-align: center;
}
.bnrBox .bnr {
    width: 100%;
    border-radius: 10px;
}
.bnrBox:nth-of-type(1) img {
    width: 100%;
    height: auto;
}
.bnrBox:nth-of-type(2) p,
.bnrBox:nth-of-type(4) p {
    background-color: var(--main-color);
}
.bnrBox:nth-of-type(3) p {
    background-color: #fff;
    border: 1px solid var(--main-color);
}
.bnrBox .bnr a {
    display: block;
}
.bnrBox:nth-of-type(2) a,
.bnrBox:nth-of-type(4) a {
    color: #fff;
}
.bnrBox:nth-of-type(3) a {
    color: var(--main-color);
}
.bnrBox:nth-of-type(3) p:first-child {
    background-image: url(../images/fbLogo.svg);
    background-repeat: no-repeat;
}
.bnr span {
    display: inline-block;
}


/* 投稿 */
.postForm p,
.postForm div,
.postForm input,
.postForm textarea
 {
    font-size: var(--fzMsg);
}
.postForm p,
.postForm form,
.postForm>div:not(:first-of-type)
{
    width: 90vw;
    margin: 0 auto;
}
.postForm dl div {
    margin: 1em 0 ;
}
.postForm dl dt span,
.postForm h4
{
    color: var(--ac-color);
}
.postForm dl dd {
    margin-left: 0;
}
.postForm dl input
 {
    width: 100%;
    padding: 0.5em 0;
}
.postForm textarea
 {
    width: 100%;
    height: 10em;
    padding: 0;
}
.postForm .point {
    font-size: var(--fz14);
}
p.submit {
    text-align: center;
}
.postForm input[type="submit"],
.postForm input[type="reset"],
#postThx input[type="button"],
#nyukai button[type="submit"],
#contactThx input[type="button"],
.thxTotop a
{
    text-align: center;
    padding: 0.5em 1em;
    color: #fff;
    background-color: var(--main-color);
    border: none;
    border-radius: 6px;
    font-size: var(--fzMsg);
}
#nyukai button[type="submit"] {
    background-image: none;
}
/* .postForm input[type="submit"],
.postForm input[type="reset"]{
    width: 5em;   
} */
#postThx input[type="button"],
.formTable+p input[type="submit"],
#nyukai button[type="submit"]
 {
    display: block;
    margin: 1em auto;
    width: initial;
}
.postForm input[type="submit"]{
    margin-right: 1em;
}
.radioBox dd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}
.postForm .radioBox dd input {
    width: initial;
}

/* postThx */
.formTable {
    font-size: var(--fzMsg);
}
.formTable+p{
    display: flex;
    justify-content: center;
    align-items: center;
}
#postThx .formWrapper,
#contactThx .formWrapper{
    font-size: var(--fzMsg);
}
#postThx table,
#contactThx table
 {
    border-collapse: collapse;
    width: 100%;
    margin: 1em auto;
}
#postThx table th,
#postThx table td,
#contactThx table th,
#contactThx table td{
    border: 1px solid var(--main-color);
    padding: 0.5em;
}
#postThx table th,
#contactThx table th{
    width: 33%;
}
#postThx table tr:nth-of-type(even),
#contactThx table tr:nth-of-type(even){
    background-color: var(--main-colorOp75);

}
/* nyukai */
dl,dd,dt {
    margin: 0;
    padding: 0;
}
#nyukai .headingBox+div p {
    font-size: var(--fzMsg);
    width: 80%;
    margin: 1em auto;
}
#nyukai .headingBox+div p:last-of-type {
    margin-bottom: 4em;
}
.thxTotop {
    text-align: center;
}

#mailformpro {
    font-size: var(--fzMsg);
}
#mailformpro .dib {
    display: inline-block;
}
#nyukai dt:has(.must){
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5em;
}
#nyukai .must {
    display: block;
    flex: 0 0 auto;
    aspect-ratio: 1/1;
    width: 3em;
    background-color: var(--ac-color);
    color: #fff;
    text-align: center;
    line-height: 3em;
}
/* #nyukai dd {
    margin: 1em 0;
    padding-bottom: 1em;
} */
#nyukai input[type="text"],
#nyukai input[type="email"],
#nyukai select
{
    height: 2.5em;
}
#nyukai dl.mailform div.box1st {
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 1em;
    margin-bottom: 1em;
}
#nyukai dl.mailform div.ddBox .mfp_rows {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2em;
}
#nyukai .box2nd .mfp_col10:not(:first-of-type) {
    margin-top: 1em;
}
/* #nyukai .radioBox dd {
    justify-content: center;
    margin-bottom: 0;
} */
/* #nyukai .postForm form dl div{
    justify-content: flex-start;
}

#nyukai .postForm form dl div {
    align-items: center;
} */

/* gian */

#gian .honbun,
#kiyaku .honbun,
#kyousan .honbun
#kiyaku .honbun,
#kyousan .honbun,
#bn .honbun,
#kaiko .honbun,
.kaiin_container
 {
    width: 80%;
    margin: 1em auto 6em;
    font-size: var(--fz24);
    font-weight: normal;
}
#gian .honbun,
#bn .honbun
 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    grid-template-rows: repeat(auto-fit,minmax(3em,1fr));
    gap: 2em 2%;    
}
#gian .honbun p,
#bn .honbun p 
{
    text-align: center;
    background-color: var(--main-colorOp75);
    border-radius: 8px;
}
#gian .honbun p a,
#bn .honbun p a
{
    padding: 1em;
    display: block;
    color: var(--main-color);
}
#gian .honbun p a:hover,
#bn .honbun p a:hover,
#kaiko .honbun p a:hover
{
    color: #fff;
    background-color: var(--main-color);
    border-radius: 8px;
}
#gian .pdfIcon a,
#bn .pdfIcon a
{
    display: inline-block;
    background-image: url(../images/pdf.png);
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: calc(50% - 3em) center;
    padding-left: 1.25em; 
}

/* kiyaku */
#kiyaku .honbun h4 {
    font-size: var(--fz24);
}
#kiyaku .honbun h4:not(:first-of-type){
    margin-top: 1em;
}
#kiyaku .honbun p {
    font-weight: normal;
    font-size: var(--fzMsg);
    padding-left: var(--fz24);
}

/* #kyousan */
#kyousan .honbun h3 {
    font-size: var(--fz24);
    margin-bottom: 1em;
}
#kyousan .honbun h4 {
    font-size: var(--fz24);
    margin: 2em 0 1em;
}
#kyousan .honbun p {
    font-size: var(--fzMsg);
    margin-top: 1em;
}

/* bn */
#bn .honbun p a {
    padding: 1em 0 1em 1em;
}
#bn .pdfIcon a {
    background-position: calc(50% - 3.25em) center;
}

/* kaiko */
#kaiko .kaiko_heading label {
    display: block;
    text-align: center;
    background-color: var(--main-colorOp75);
    color: var(--main-color);
    border-radius: 8px;
    padding: 1em;
    }
    
#kaiko input:checked+label {
    color: #fff;
    background-color: var(--main-color);
    }
#kaiko .tab_content {
    display: none;   
}
.kaiko_heading:has(#kaiko1:checked) ~ #kaiko1_content,
.kaiko_heading:has(#kaiko2:checked) ~ #kaiko2_content,
.kaiko_heading:has(#kaiko3:checked) ~ #kaiko3_content,
.kaiko_heading:has(#kaiko4:checked) ~ #kaiko4_content
 {
    display: block;
}
#kaiko input[type="radio"] {
    display: none;
}
#kaiko .honbun a {
    text-decoration: underline;
    color: var(--main-colorBg75);
}
#kaiko a:hover {
    color: var(--ac-color);
}

#kaiko .tab_content h1 {
    margin: 0.5em 0;
    padding: 0.5em;
    background-color: #f5f59b;
}

#kaiko .tab_content dl div dt,
#kaiko .tab_content dl div dd{
    flex: 0 0 auto;
}
 
#kaiko .tab_content dl div dd {
    display: block;
}
#kaiko .tab_content dl div {
    display: flex;
    justify-content: space-between;
}
#kaiko .tab_content dl div:nth-of-type(even) {
    background-color: var(--main-colorOp75);
}
#kaiko .tab_content dl div dd {
display: flex;
justify-content: flex-start;
align-items: center;
}
#kaiko .tab_content dl dt p span {
    display: inline-block;
}

#kaiko .tab_content dl dt p,
#kaiko .tab_content dl dd {
    padding: 1em 0.5em;
}
#kaiko .tab_content #kaiko1 dl dt {
    display: flex;
    justify-content: space-between;
}
#kaiko .tab_content dl dt p:last-of-type {
    text-align: center;
}
#kaiko .tab_content dl div {
    border: 1px solid var(--main-color);    
}
#kaiko .tab_content #kaiko1 dl dt p:last-of-type {
    border-left: 1px solid var(--main-color);
}
 
#kaiko .tab_content dl dd {
    border-left: 1px solid var(--main-color);
}
#kaiko .tab_content dl div:nth-of-type(even) {
    border-top: none;
    border-bottom: none;
} 
#kaiko .tab_content dl div:last-child {
    border-bottom: 1px solid var(--main-color);
} 

#kaiko .tab_content dl dt p {
    text-align: left;
}
#kaiko section:not(#kaiko1) dd a {
    margin-right: 1em;
}
#kaiko .tab_content #kaiko1 dl dt p span:last-of-type {
    text-align: center;
}

/* kaiin */
#kaiin .list {
    width: 80%;
    margin: 1.5em auto;
    font-size: var(--fzMsg);
}
.fwBold {
    font-weight: bold;
}
#kaiin .list .type,
#kaiin .list .nameType {
    font-size: var(--fz14);
}
#kaiin .list .pBG{
    display: none;
}
#kaiin p.bnLink {
    font-size: var(--fz14);
    text-align: right;
    padding-right: 1em;
}
#kaiin p.bnLink a {
    text-decoration: underline;
}
#kaiin .list .kaiin-title {
    font-size: var(--fz24);
}
.kaiin_container {
    font-size: var(--fzMsg);
    line-height: 1.8;
}
.kaiin_container h2 {
    line-height: 1.0;
    padding: 1em 0 0.25em 0;
    margin-bottom: 0.5em;
    border-bottom: 1px solid var(--main-color);
}
.kaiin_container h2 span {
    font-weight: normal;
    font-size: var(--fz14);
}
.kaiin_container p.honbun,
p.chosyo 
{
    text-indent: 1em;
}
p.reki,
p.chosyo {
    font-size: var(--fz14);
}
p.reki:has(img){
    display: flex;
    justify-content: space-between;
    gap: 1em;
}
p.reki img {
    width: 25%;
    height: auto;
    flex: 0 0 auto;
}
.kaiin_container h3 {
    text-align: right;
    font-weight: normal;
    font-size: var(--fzMsg);
    line-height: 1.0;
    padding: 1em 0 0.25em 0;
    margin: 2em 0 0.5em 0;
    border-bottom: 1px solid var(--main-color);
}
.kaiin_container .pm {
    text-indent: 0;
    font-size: var(--fz24);
    color: var(--ac-color50);
    margin-bottom: 0.5em;
    line-height: 1.2;
    margin-top: 2em;
}
.kaiin_container .pm span {
    display: inline-block;
}
.kaiin_container h3+.pm,
.kaiin_container .honbunBox p:first-child
 {
    margin-top: 0;
}
.kaiin_container .honbun,
.kaiin_container .honbun_int
 {
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    margin-top: 1.5em;
}
.kaiin_container figure {
    margin-bottom: 1em;
}
.kaiin_container figure+.honbun {
    margin-top: 0;
}
.kaiin_container .end {
    border-top: 1px solid var(--main-color);
    padding: 0.25em 0 1em 0;
    margin-top: 1em;
    text-align: right;
    font-size: var(--fz14);
}
.kaiin_container .postBtn,
#kaiin .postBtn
 {
    text-indent: 0;
    text-align: center;
    width: 14em;
    margin: 1em auto 1em;
}
.kaiin_container .postBtn a,
#kaiin .postBtn a {
    display: block;
}
.kijibosyu {
    width: 80%;
    margin: 2em auto;
    font-size: var(--fzMsg);
    line-height: 1.7;
}
.kijibosyu h4 {
    color: #fff;
    background-color: var(--main-color);
    text-align: center;
    padding: 0.5em;

}
.kijibosyu .bosyuBox {
    padding: 1em;
    color: var(--main-color);
    background-color: var(--main-colorOp75);
}

.kijibosyu .bosyuBox .postBtn {
    background-color: var(--ac-color);
}
.kijibosyu .bosyuBox .postBtn a {
    color: #fff;

}
.kaiin_container .ps {
    text-indent: 0;
    margin: 2em 0;
    font-weight: 500;
    font-family: "Noto Sans JP", sans-serif;

}
.kaiin_container .fc_redB {
    color: var(--ac-color);
    display: inline-block;
    margin-right: 1em;
}
.kaiin_container .honbun_int {
    margin: 1em 0;
}
/* .kaiin_container figure figcaption {
    text-align: right;
    margin-bottom: 1em;
}  */
.kaiin_container h5 {
    color: var(--main-color_br);
    font-size: var(--fz22);
    margin: 2em 0;
}
.kaiin_container h5 span {
    display: inline-block;
}
.kaiin_container .ashirai {
    margin-top: 1.5em;
    text-align: center;
    letter-spacing: 4em;
    padding-left: 4em;
}
.kaiin_container .ulBas {
    padding-left: 1em;
    list-style-type: disc;
    margin: 1.5em 0;
}
.kaiin_container .honbun.ku {
    text-indent: 0;
    text-align: center;
    margin: 0.5em auto ;
}
.kaiin_container .honbun.ku+.honbunBox {
    margin-top: 2em;
}

/* footer */
.footer {
    width: 100%;
    padding: 2em;
    background-color: var(--main-color);
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-top: auto;
}


/* モバイルのみ */
@media only screen and (max-width:599px){
    /* kaiko */
    #kaiko .kaiko_heading {
        display: grid;
        grid-template-columns: 1fr 1fr ;
        grid-template-rows: 1fr 1fr ;
        gap: 4%;
    }
/* kaiko */
    #kaiko .tab_content dl dt {
        border-bottom: 1px solid var(--main-color);
    }
    #kaiko .tab_content dl div {
        display: block
    }
    #kaiko .tab_content dl dt,
    #kaiko .tab_content dl dd {
        flex: 0 0 auto;
    }
    #kaiko .tab_content dl dd {
        border-left: none;
    }
    #kaiko section:not(#kaiko1) dd a {
        display: block;
    }
    #kaiko .tab_content #kaiko1 dl dt p:first-of-type {
        width: calc(100% - 6em);
    }
    #kaiko .tab_content #kaiko1 dl dt p:last-of-type {
        text-align: center;
        width: 6em;
    }
/* kaiin */
    .kaiin-title {
        border-bottom: 1px solid var(--ac-color50);
        border-left: 0.75em solid var(--ac-color50);
        padding-left: 0.25em;
    }
    .kijibosyu h4 {
        border-radius: 12px 12px 0 0 ;
    }
    .kijibosyu .bosyuBox {
        border-radius:  0 0 12px 12px;
    }
    .kaiin_container h5 span:last-child {
        margin-left: 1.25em;
    }
    .kaiin_container .honbun.ku {
        letter-spacing: 0.125em;
    }
}


/* PC以下 */
@media only screen and (max-width:1199px){
    .container {
        width: 100vw;
        padding-top: 16vw;
    }
    #main_header {
        padding: 4vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        z-index: 999;
    }
    #main_header h1 {
        width: 48vw;
    }
    #open_nav {
        width: 10vw;
    }
    #close_nav {
        width: 12vw;
        position: absolute;
        top: 4vw;
        right: 4vw;
    }
    .navBox {
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.9);
        position: fixed;
        top: 0;
        right: -100%;
        transition: all 1s;
        z-index: 9999;
        overflow-y: scroll;
    }
    .navBox ul {
        width: 66vw;
        margin: 0 auto 0;
        padding-top: 8em;
    }
    .navBox ul li{
        font-size: var(--fz24);
        height: 3em;
        /* line-height: 13.5vw; */
    }
    .navShow {
        right: 0;
    }
    .scrollOff {
        min-height: 100vh;
        overflow: hidden;
    }

    .heroBox {
        aspect-ratio: 1/1;
    }

    #topNewsBox {
        width: 90vw;
        position: absolute;
        top: 5vw;
        left: 5vw;
        z-index: 99;
    }
    #topSlider {
        width: 100vw;
        position: absolute;
        top: 0;
        left: 0;
    }
    .topMsg {
        font-size: var(--fzMsg);
    }
    /* News */
    #update div.newsBox p:first-of-type {
        font-size: var(--fzNewsDate);
    }


    .bnrBox {
        width: 70vw;
        margin: 4vw auto;
    }
    .bnrBox:not(:nth-of-type(1)) .bnr{
        padding: 2em 2em;
        align-self: stretch;
    }

    .bnrBox:nth-of-type(2),
    .bnrBox:nth-of-type(3) {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .bnrBox:nth-of-type(2) {
        gap: 4vw;
    }
    .bnrBox:nth-of-type(3) {
        height: 20vw;
        gap: 4vw;
    }
    .bnrBox:nth-of-type(3) .bnr {
        flex: 1 1 20vw;
        align-self: center;
    }
    .bnrBox:nth-of-type(3) .bnr:first-child {
        background-size: 50%;
        background-position: top 3vw center;
        padding: 2.75vw 0;
    }
    .bnrBox:nth-of-type(3) p:first-child a{
        font-size: 1.4rem;
        padding-top: 10vw;
    }

    .sitemapInBox {
        overflow: hidden;
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 2s;
    }
    .sitemapInBox.open {
        grid-template-rows: 1fr;
    } 
    .sitemapBox h3 {
        text-align: center;
        font-size: 2.8vw;
        padding: 0.5em;
        width: 50%;
        margin: 0 auto;
        color: var(--main-color);
        background-color: var(--main-color50);
        border-top-left-radius:5% 25%;
        border-top-left-radius:5% 25%;
        border-top-right-radius:5% 25%;
    }

    ul#sitemap {
        width: 30%;
        margin: 0 auto;
        padding: 4em 0 2em;
    }
    ul#sitemap li{
        font-size: 2.5vw;
        height: 8vw;
        line-height: 8vw;
    }
    .sitemapBox div {
        overflow-y: hidden;
    }

    /* nyukai */
    .postForm {
        margin-bottom: 25vw;
    }
    p.submit {
        margin-bottom: 6vw;
    }
    .formWrapper {
        width: 90vw;
        margin: 1em auto;
    }
    .ddBox {
        padding: 1em 0;
    }
    
}
/* モバイル以上 */
@media only screen and (min-width:599px) {
    .postForm form dl div {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 3%;
    }
    .postForm form dl dt {
        width: 25%;
    }
    .postForm form dl dd {
        width: 72%;
    }
    .postForm form p {
        width: 100%;
    }
    .postForm dl dt span {
        display: inline-block;
    }
    .postForm>p,
    .postForm form,
    .postForm>div:not(.headingBox)
    {
        width: 70%;
    }

    /* kaiko */
    #kaiko .tab_content dl dd {
        width: 60%;
    }
    #kaiko .kaiko_heading {
        display: flex;
        justify-content: space-between;
        gap: 2%;
    }
    #kaiko .kaiko_heading label{
        width: 24%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #kaiko .tab_content dl dt {
        width: 33%;
    }  
    #kaiko .tab_content dl dd {
        width: 67%;
    }  

    #kaiko .tab_content #kaiko1 dl dt p:first-of-type {
        width:100%;
    }
    #kaiko .tab_content #kaiko1 dl dt p:last-of-type {
        border-left: 1px solid var(--main-color);
        width: 8em;
        display: flex;
        align-items: center;
    }
    /* kaiin */
    #kaiin .list {
        width: 60%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        flex-wrap: wrap;
    }
    #kaiin .list .gou,
    #kaiin .list .kaiin-title
    {
        flex: 0 0 auto;
    }
    #kaiin .list .kaiin-title {
        margin-left: auto;

    }
    #kaiin .list .pBG{
        display: block;
        width: auto;
        height: 1em;
    }
    #kaiin .kijibosyu {
        display: flex;
    }
    #kaiin .kijibosyu h4 {
        display: flex;
        align-items: center;
    }
    .kijibosyu h4 {
        border-radius: 12px 0 0 12px;
        text-align: left;
        padding-left: 1em;
    }
    .kijibosyu .bosyuBox {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius:  0 12px 12px 0;
        gap: 2em;
    }
    #kaiin .kijibosyu .bosyuBox .postBtn {
        width: 25%;
        flex: 0 0 auto;
    }
    .kaiin_container figure {
        width: 50%;
        height: auto;
        float: right;
        margin-left: 2em;
    }
    .kaiin_container .honbun:has(figure),
    .kaiin_container .honbun_int:has(figure),
    .kaiin_container .honbunBox
    {
        overflow: hidden;
    }
    .kaiin_container .honbun.ku {
        letter-spacing: 0.3em;
    }

}
/* tablet */
@media only screen and (min-width:599px) and (max-width:1200px){
    #main_header h1 {
        width: 28vw;
    }
    #open_nav,
    #close_nav {
        max-width: 44px;
        height: auto;
    }

    .heroBox {
        width: 100%;
        aspect-ratio: 2/1;
    }
    #topNewsBox,
    #topSlider {
        width: 50%;
        position: absolute;
        top: 0;
    }
    #topNewsBox{
        left: 50%;
    }
    #topSlider {
        left: 0;
    }
    .topMsg {
        font-size: var(--fzMsg);
        line-height: 2;
    }
    /* #topNewsBox .joinBtn{
        font-size: 1.6rem;
    } */


    .bnrBox {
        width: 50vw;
    }
    .bnrBox:nth-of-type(3) {
        display: block;
        height: auto;
    }
    .bnrBox:nth-of-type(3) .bnr {
        padding: 0;
        margin-top: 1em;
    }
    .bnrBox:nth-of-type(3) .bnr a {
        padding: 1em;
    }
    .bnrBox:nth-of-type(3) .bnr:first-child {
        background-size: 4em;
        background-position :calc(50% - 7em) center;
        padding-left: 0;
    }
    .bnrBox:nth-of-type(3) p:first-child a{
        font-size: var(--fzBnr);
        padding-top: 1em;
    }
    .bnrBox:nth-of-type(3) .bnr:first-child {
        padding: 0;
    }

}

/* pc */
@media only screen and (min-width:1200px){
    .container {
        display: flex;
        justify-content: center;
        gap: 2%;
    }
    #open_nav,
    #close_nav {
        display: none;
    }
    #main_header {
        padding: 20px;
    }
    #main_header h1 {
        width: 200px;
        margin: 0 auto;
    }
    .navBox,
    .sideBox {
        width: 15%;
        flex: 0 0 auto;
    }
    .sideBox {
        padding-right: 2%;
    }
    .mainBox {
        width: 66%;
        max-width: 1200px;
        margin: 0;
        flex: 0 0 auto;
    }
    .navBox ul {
        width: 100%;
        padding: 10%;
    }
    .navBox ul li{
        font-size: 1.4rem;
        height: 5rem;
        line-height: 5rem;
    }

    .heroBox {
        width: 100%;
        aspect-ratio: 2/1;
    }
    #topNewsBox,
    #topSlider {
        width: 50%;
        position: absolute;
        top: 0;
    }
    #topNewsBox{
        right: 0;
    }
    #topSlider {
        left: 0;
    }
    .topMsg {
        font-size: var(--fzMsg);
        line-height: 2;
    }
    #topNewsBox .joinBtn{
        font-size: 1.6rem;
    }
    /* News */
    #update div.newsBox p:first-of-type {
        font-size: 1.4rem;
    }
    

    section.sideBox h2 {
        display: none;
    }

    .bnrBox a {
        font-size: var(--fzBnr);
    }
    .bnrBox .bnr {
        margin: 40px 0;
        padding: 1em 0;
    }
    .bnrBox:nth-of-type(1) .bnr {
        padding: 0;
    }
    .bnrBox:nth-of-type(3) .bnr:first-child {
        background-size: 4em;
        background-position :calc(50% - 5em) center;
        padding-left: 4em;
    }

    .contentBox {
        display: flex;
        width: 100%;
        gap: 20px;
    }
    .joinBox,
    .postBox {
        flex: 0 0 calc(50% - 10px);
    }
    .topBtnBox .postBtn,
    .topBtnBox .joinBtn {
        max-width: 175px;
    }
    /* .sitemapBox {

    } */
    .sitemapInBox {
        height: auto;
    }
    .sitemapBox h3 {
        display: none;
    }
    ul#sitemap {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 56%;
        max-width: 1200px;
        min-width: 630px;
        margin: 0 auto 0;
        padding: 6em 0 0 6%;
    }
    ul#sitemap li{
        font-size: 1.4rem;
        width: 25%;
        height: 4em;
        line-height: 4em;
    }

    .formWrapper {
        width: 80%;
        margin: 1em auto;
    }

    #nyukai .box1st {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .dtBox {
        width: 30%;
        flex:0 0 auto;
    }
    .ddBox {
        width: 70%;
        flex:0 0 auto;
    }
    #kaiin a:has(.list):hover {
        color: var(--ac-color50);
    }

}
#sokai .headingBox+div p {
    font-size: var(--fzMsg);
    width: 80%;
    margin: 1em auto;
}
#sokai .headingBox+div p:last-of-type {
    margin-bottom: 4em;
}
#sokai img {margin: 1em auto;}