/* resetCSS */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}
strong{
    font-weight: bolder;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 15ex;
}

/* */
ol, ul, li {
    list-style: none;
    text-decoration: none;
    padding: 0;
}

a{
    text-decoration: none;
}
div{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: 0 0;
}

/* ------------------------------- */
/* ------------------------------- */

.wrap{
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    min-height: 100vh;
}
.footer{
    margin-top: auto;
}


/*PC header*/
.header{
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 999;
}
#header{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 2rem;
}
.header-menu{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    font-size: 1rem;
}
.header-inner{
    align-items: center;
    display: flex;
    justify-content: flex-start;
    height: 96px;
    position: relative;
    z-index: 2;
}
#header .header-menu{
    align-items:center;
    display: flex;
    justify-content: left;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}
#header .menu-item{
    margin: 0 0 0 3rem;
    cursor: pointer;
    position: relative;
}
#header .sub-menu{
    visibility: hidden;
    position: absolute;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.sub-menu::before{
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 8px;
    right: 8px;
    border: dashed 1px #542D24;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top: none;

}
.sub-menu li{
    margin: 0 !important;
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: auto;
}
.no{
    word-break: keep-all;
    overflow-wrap: break-word;
}
.menu-item:hover, .footer-inner a:hover{
    text-decoration: underline;
    transform: .7s cubic-bezier(.2,.6,.4,1);
}
.menu-item:hover .sub-menu{
    background-color:#fff;
    visibility: visible !important;
}

#sma-header{
    display: none;
}
@media only screen and (max-width:767px) {
    #header{
        display: none;
    }    
    #sma-header{
        display: block !important;
        position: fixed;
        z-index: 999;
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        overflow-y: scroll;
        background: #fff;
        transition: all 0.6s cubic-bezier(.14,1,.34,1);
    }
    #sma-header.panelactive{
        right: 0;
    }
    .sma-header-cnts{
        background: #fff;
        color: #542D24;
        position: relative;
        padding: 80px 40px 50px;
    }
    .sma-header-cnts-wrapper{
        margin-top: 52px;
    }
    .cnts-wrapper{
        border-bottom: 1px solid #926e66;
        position: relative;
        cursor: pointer;
        padding: 30px 0;
        transition: all .5s ease;
    }
    .accordion-cnts{
        display: none;
    }
    .accordion-btn::before {
        top: 48%;
        left: 90.5%;
        transform: rotate(0deg);
    }
    .accordion-btn::after {
        top: 48%;
        left: 90.5%;
        transform: rotate(90deg);
    }
    .accordion-btn::before,.accordion-btn::after{
        position: absolute;
        content: '';
        width: 15px;
        height: 2px;
        background-color: #926e66;
        transition: all 1s cubic-bezier(.14,1,.34,1);
    }
    .accordion-btn.close::before {
        transform: rotate(45deg);
    }
    .accordion-btn.close::after {
        transform: rotate(-45deg);
    }
    .cnts-title-ac{
        margin: 0;
    }
    .accordion-cnts-list a{
        display: block;
        color: #926e66;
        font-size: 16px;
        margin-top: 15px;
    }
}

/* ------------------------------- */
/* ------------------------------- */

/* pic */
#main::before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    /* background-image: url(./pic/top16-9.png); */
    background-color: #f8f5f0;
    background-size: cover;
    background-position: center center;
}
.header-logo{
    padding-left: 30px;
}
.header-logo img{
    display: block;
    object-fit: cover;
    width: 160px;
}
.top-pic{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.PC{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-width: 1200px;

}
.sma, #btn-nav{
    display: none !important;
}

@media only screen and (max-width:767px) {
    .sma{
        display: block !important;
        max-height: 650px;
    }
    .PC{
        display: none !important;
    }
    .header-logo img{
        width: 125px;
    }
    #btn-nav{
        display: block !important;
        position: absolute;
        top: 40px;
        right: 0;
        width: 50px;
        height: 25px;
        border-radius: 5px;
        z-index: 9999;
    }
    #btn-nav span{
        display: block;
        width: 25px;
        height: 2px;
        border-radius: 2px;
        background-color: #542D24;
    }
    #btn-nav span:nth-child(1){
        position: absolute;
        top: 15px;
        left: 0px;
        transition: all 0.25s ease;
    }
    #btn-nav span:nth-child(2){
        transition: all 0.25s ease;
    }
    #btn-nav.active span:nth-of-type(1){
        top: 5px;
        left: 0px;
        transform: translateY(2px) rotate(-45deg);
        width: 50%;
    }
    #btn-nav.active span:nth-of-type(2){
        top: 20px;
        left: 0px;
        transform: translateY(6px) rotate(45deg);
        width: 50%;
    }

}



/* ------------------------------- */
/* ------------------------------- */


/* main paragraph */

.content-wrapper{
    padding-top: 96px;
    padding-bottom: 140px;
}

.content-block{
    line-height: 1.8;
    margin-top: 150px;
    margin-bottom: 150px;
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 35px !important;
    padding-right: 35px !important;
    position: relative;
}
.inner{
    max-width: 760px !important;
    text-align: center;
    z-index: 5;
    margin: 0;
    padding: 80px;
    width: 100%;
    position: relative;
    /* border: solid 1px #4A4A4A; */
    border-radius: 55px;
    background-color: #fff;
}
.inner::before{
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 8px;
    right: 8px;
    border: dashed 1px #542D24;
    border-radius: 45px;
}
.text-title{
    font-size: 32px !important;
    line-height: 1.6em !important;
    text-align: center;
    margin: 0 0 8px;
}
.text-text{
    font-size: 18px;
    font-weight: normal;
}

@media only screen and (max-width:767px) {
    .text-title{
        font-size: 1.6rem !important;
    }
    .text-text{
        font-size: 1rem;
    }
}

/* ------------------------------- */
/* ------------------------------- */

#note{
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 70px;
    margin-bottom: 0 !important;
    padding-top: 150px;
    padding-right: 35px !important;
    padding-bottom: 120px !important;
    padding-left: 35px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-top-left-radius: 50% 10%;
    border-top-right-radius: 50% 10%;
    border-bottom-left-radius: 50% 10%;
    border-bottom-right-radius: 50% 10%;
}
.note_inner{
    text-align: center;
    z-index: 5;
    margin: 0;
    padding: 30px;
    width: 100%;
    position: relative;
    min-width: 720px;
    max-width: 1200px!important;
}

.block-title{
    font-size: 40px;
    margin-bottom: 40px !important;
    margin: 0 0 64px;
}

#note .block-cnt{
    display: grid;
    grid-column-gap: 35px;
    grid-row-gap: 60px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.posts-item{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 !important;
    border-style: solid !important;
    border-color: #542D24 !important;
    border-top-width: 0 !important;
    border-right-width: 0 !important;
    border-bottom-width: 0 !important;
    border-left-width: 0 !important;
    box-shadow: 0 0 0 1px hsla(0, 0%, 47.1%, .1) !important;
    animation: appear .7s cubic-bezier(.2,.6,.4,1);
}
@keyframes appear{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.posts-item.is-hidden{
    display: none;
}

.posts-pic{
    margin: 0;
}
.posts-pic img{
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    width: 100%;
    display: block;
}
.posts-cnt{
    flex: 1;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: 50%;
    padding: 30px;
    background-color: #fff !important;
}
.posts-title{
    order: 2;
    font-size: 16px !important;
    text-align: left !important;
    margin: 0;
    cursor: pointer;
}
.posts-detail{
    order: 1 !important;
    font-size: 14px !important;
    text-align: left;
    line-height: 1.8em !important;
    margin-bottom: 10px !important;
    margin: 0 0;
}
.posts-etc{
    order: 3;
    font-size: 14px !important;
    text-align: left;
    margin-bottom: -10px;
}
.button-container{
    grid-column: 1 / -1;
    text-align: center;
}
.posts-button{
    border: 2px solid;
    border-color: #542D24;
    border-radius: 50px;
    display: inline-block;
    padding: 8px 26px;
    cursor: pointer;
    opacity: 1;
    font-size: 1em;
    line-height: 1.5 !important;
    position: relative;
}

@media only screen and (max-width:767px) {
    #note{
        margin-bottom: 0 !important;
        padding-right: 35px !important;
        padding-bottom: 120px !important;
        padding-left: 35px !important;
        border-top-left-radius: 50% 3%;
        border-top-right-radius: 50% 3%;
        border-bottom-left-radius: 50% 3%;
        border-bottom-right-radius: 50% 3%;
    }
    .note_inner{
        min-width: 0 !important;
    }
    #note .block-cnt{
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ------------------------------- */
/* ------------------------------- */

/* contact block */

#contact{
    line-height: 1.8;
    margin-top: 200px;
    margin-bottom: 250px;
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 35px !important;
    padding-right: 35px !important;
}
#contact .text-title{
    font-size: 36px !important;
}
#contact .block-cnt{
    margin-bottom: 60px;
}

#contact .contact-button{
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
#contact .button-container{
    width: 100%;
    background-color: #542D24;
    border-radius: 50px;
    padding-top: 16px;
    padding-bottom: 16px;
    z-index: 10;
}
#contact span{
    color: #fff;
    font-size: 36px !important;
    font-weight: bold !important;
    letter-spacing: 0 !important;
}

@media only screen and (max-width:767px) {
    .inner{
        padding: 40px;
    }
    #contact .text-title{
        font-size: 1.6rem !important;
    }
    #contact .text-text{
        font-size: 1rem !important;
    }
    #contact span{
        font-size: 1.5rem !important;
    }
}

/* ------------------------------- */
/* ------------------------------- */
.cover-pic,.tree,.seminer-cover{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em;
    box-sizing: border-box;
    position: relative;
    background-size: cover;
    background-position-x: 50%; 
    background-position-y: 60%;
    background-image: url(./pic/consalting-header.jpg);
    background-color: #010e22;
    min-height: 350px;
    /* margin-top: 60px; */
    margin-bottom: 60px;
    /* background-attachment: fixed; */
    mix-blend-mode: hard-light;
}
.cover-pic:before,.tree:before,.seminer-cover:before{
    opacity: .6;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    content: "";
    background-color: inherit;
}
.tree{
    background-image: url(./pic/support-header.jpg) !important;
    background-position-y: 65% !important;
}
.seminer-cover{
    background-image: url(./pic/seminar-header.jpg) !important;
    background-position-y: 30% !important;    
}
.cover-text{
    width: 100%;
    z-index: 1;
    color: #fff;
    max-width: 1200px;
}
.cover-text-p{
    font-size: 54px;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.service-block-inner{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}
#ser{
    max-width: 700px !important;
}
.media-block{
    display: grid;
    grid-template-columns: 50% 1fr;
    grid-template-rows: auto;
    width: calc(100% - 5rem);
    margin: 60px auto;
    max-width: 1200px;
}
.media-block-text{
    align-self: start;
    padding: 0 7%;
    word-break: break-word;
}
.large-font{
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
.normal-font{
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
.media-block-pic{
    margin: 0 !important;
}
.media-block-pic img{
    max-width: unset;
    width: 100%;
    vertical-align: middle;
}

@media only screen and (max-width:767px) {
    .service-block-inner{
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-right: 20px !important;
        padding-bottom: 0 !important;
        padding-left: 20px !important;
    }
    #ser .title-wrapper{
        display: flex;
        flex-direction: column;
        padding-top: 0 !important;
        padding-right: 14px !important;
        padding-bottom: 0 !important;
        padding-left: 14px !important;
    }
    #ser .text-title{
        font-size: 24px !important;
        text-align: left;
        margin-bottom: -8px !important;
    }
    #ser .text-wrapper{

        padding-top: 0 !important;
        padding-right: 14px !important;
        padding-bottom: 0 !important;
        padding-left: 14px !important;
    }
    #ser .text-text p{
        font-size: 14px !important;
    }
}

@media only screen and (max-width:600px) {
    .media-block{
        margin-top: calc(38px + 22*((100vw - 320px) / 880));
        margin-bottom: calc(38px + 22*((100vw - 320px) / 880));
        grid-template-columns: 100% !important;
    }
    .large-font{
        font-size: calc(18px + 6*((100vw - 320px) / 880));
    }
    .normal-font{
        font-size: calc(14px + 2*((100vw - 320px) / 880));
    }
}

/* ------------------------------- */
/* ------------------------------- */
#news{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    margin-top: calc(60px + 36*((100vw - 320px) / 880));
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    width: calc(100% - 5rem);

}


.page-title-wrapper{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-title{
    margin-top: calc(60px + 36*((100vw - 320px) / 880));
    margin-bottom: calc(80px + 60*((100vw - 320px) / 880));
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.page-title.pic{
    margin-top: 0;
}

#title{
    text-align: left !important;
    margin-bottom: calc(40px + 12*((100vw - 320px) / 880));
    margin-top: 0 !important;
}

.page-title-text{
    font-size: calc(39px + 19*((100vw - 320px) / 880));
}


.article-item-wrap{
    margin: 0 0 3rem;
}
.article-item{
    color:#000;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.article-item-img-wrap{
    flex-basis: 40%;
}
.article-item-img{
    display: block;
    width: 100%;
}
.article-item-img > img{
    width: 100%;
}

.article-item-img-end{
#    display: block;
    width: 100%;
  position: relative;
  display: inline-block;
}
.article-item-img-end::before {
  content: "終了しました";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* 画像全体を覆う半透明マスク */
  color: #fff;
  font-size: 2em;
  display: flex;
  justify-content: center; /* 水平方向中央寄せ */
  align-items: center;    /* 垂直方向中央寄せ */
  text-align: center;
  z-index: 2;
}
.article-item-img-end > img{
    width: 100%;
}
.article-item-description{
    flex-basis: 55%;
}

.post-tag{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: .75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}
.meta li{
    flex-shrink: 0;
    margin-top: 0;
}
.categories{
    margin-right: 0;
    margin-bottom: .9em;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
}
.meta-text{
    background-color: #fff;
    display: block;
    padding: .25rem .5rem;
    border-radius: 50px;
}


.article-item-title{
    font-size: calc(14px + 2*((100vw - 320px) / 880));
    font-weight: 700;
    margin-top: -.325em;
    margin-bottom: 0;
    position: relative;
    transition: all 333ms ease;
}
.article-item-title:hover{
    color:#926e66;
}

.article-text{
    display: block;
    margin-top: .5em;
    font-size: .875rem;
}
.article-text > p{
    margin-top: .3rem;
}

.post-meta-wrapper{
    font-size: .75rem;
    color: #767676;
    margin-top: .85rem;
}
.post-meta{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: .75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}
.post-date{
    margin-right: 0;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    margin-top: 0;

}

@media only screen and (max-width:599px) {
    .article-text{
        font-size: .875rem;
        display: none;
    }
    .article-item-img-end::before {
        font-size: 1.1em;
    }

}

/* ------------------------------- */
/* ------------------------------- */
.page-top-img{
    height: calc(60vh - 96px);
    margin-bottom: 96px;
}
.page-top-img img{
    object-fit: scale-down;
    height: 100%;
    width: 100%;
}

.page-cnt p{
    line-height: 1.9;
}
.page-cnt h2{
    margin-top: 1.95em;
    margin-bottom: 1.2em;
    font-size: calc(18px + 6*((100vw - 320px) / 880));
}
.page-cnt a{
    color: #542D24;
    text-decoration: underline;
}

.block-image{
    margin-top: calc(38px + 22*((100vw - 320px) / 880));
    margin-bottom: calc(38px + 22*((100vw - 320px) / 880));
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    object-fit: cover;   
}
.block-image img{
    width: 100%;
    max-width: 100%;
}
figcaption{
    text-align: center;
    color: #767676;
    display: block;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.5;
    margin-top: .5rem;
    margin-bottom: 1em;

}

/* ------------------------------- */
/* ------------------------------- */

/* footer */

.footer-wrapper{
    background-color: #fff;
}
.footer-wrapper::before{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        border-top: dashed 1px #542D24;
}
.footer-inner{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}
.footer-inner p{
    margin: 0;
}
