/* ----------------------------------------
   header
   ---------------------------------------- */
.header {
    position: -webkit-sticky;
    position: sticky;
    /*position: fixed;*/
    width: 100%;
    max-width: 100vw;
    top: 0;
    left: 0;
    z-index: 300;
    margin: 0;
    transition: .2s;
    background-color: #fff;
    margin: 0 calc(50% - 50vw);
    /* border-bottom: 1px solid #efefef; */
}

/* .header.scrolling {
    border-color: #fff;
    box-shadow: 0 0 4px #cfcfcf;
} */

.header-Inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 8px 12px;
    margin: 0 auto;
}

.header-Inner:last-of-type {
    border-bottom: 1px solid #efefef;
}

@media screen and (max-width: 1365px) {
    .header-Inner>div {
        flex: 1;
    }
}

@media screen and (min-width:1366px) {
    .header-Inner {
        padding: 0 24px;
        line-height: 60px;
    }
}

.header-Logo {
    text-align: center;
}

.header-Logo a:hover {
    opacity: .5;
}

@media screen and (max-width: 1365px) {
    .header-Logo {
        width: auto;
    }

    .header-Logo img {
        height: 24px;
        vertical-align: bottom;
    }
}

@media screen and (min-width:1366px) {
    .header-Logo {
        text-align: left;
        width: 120px;
    }
}

.header-Navi {
    margin-left: 2rem;
}
@media (max-width: 1365px) {
    .header-Navi {
        display: none;
    }
}

.header-Navi_List {
    display: flex;
    align-items: center;
}

.header-Navi_List_Item:not(:first-of-type) {
    margin-left: 2rem;
}

.header-Navi_Anchor {
    font-weight: bold;
    font-size: 1rem;
}

.header-Navi_Anchor:hover,
.header-Navi_Anchor.current {
    color: #d3533e;
}

.header-Search {
    display: none;
    flex: 1;
    margin: 0 4px 0 12px;
    position: relative;
    max-width: 300px;
    margin-right: 2rem;
    margin-left: auto;
}

@media screen and (min-width:1366px) {
    .header-Search {
        display: block;
    }
}

.searchForm {
    position: relative;
    padding: 0;
    background: none;
}

.searchForm form {
    display: flex;
    align-items: center;
}

.searchForm label {
    flex: 1;
}

.searchForm input {
    border: 1px solid #efefef;
    width: 100%;
    padding: 2px 12px;
    padding-right: 2rem;
    border-radius: 30px;
    font-size: 16px;
}

.searchForm input::placeholder {
    color: #aeada2;
}

.searchForm-Button {
    background: none;
    border: 0;
    margin-left: 8px;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}

.searchForm i {
    color: #D54A28;
}

@media screen and (min-width: 1024px) {
    .searchForm input {
        line-height: 28px;
    }
}

.header-Menu_List {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-Menu_List.alt {
    justify-content: flex-start;
}

.header-Menu_List_Item {
    position: relative;
}
.header-Menu_List_Item:not(:first-of-type) {
    margin-left: 12px;
}
/* @media screen and (min-width: 1366px) {
    .header-Menu_List_Item:not(:first-of-type) {
        margin-left: 24px;
    }
} */

.header-Menu_List_Item i {
    display: block;
    font-size: 22px;
    text-align: center;
    margin-bottom: 2px;
}

.header-Menu_List_Item img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 2px;
}

.header-Menu_List_Item .fa-bell,
.header-Menu_List_Item .fa-calendar-alt {
    -webkit-text-stroke: 0.5px #fff;
}
.header-Menu_List_Item .fa-torii-gate {
    -webkit-text-stroke: 1px #fff;
}

.header-Menu_Anchor {
    font-size: 9px;
    line-height: 1;
    display: block;
    text-align: center
}

.header-Menu_Anchor:hover {
    color: #d3533e;
}

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

    /* .header-Menu_List_Item.search {
      display: none;
    } */
    .header-Menu_List_Item i {
        font-size: 24px;
    }

    .header-Menu_List_Item img {
        width: 24px;
        height: 24px;
    }

    .header-Menu_Anchor {
        font-size: 12px;
    }
}

.header .notice {
    width: 14px;
    height: 14px;
    background-color: #3185FC;
    border: 2px solid #ffffff;
    /* color: #fff; */
    border-radius: 50%;
    text-align: center;
    position: absolute;
    top: -2px;
    right: 8px;
}

@media screen and (max-width: 1023px) {
    .header .notice {
        width: 12px;
        height: 12px;
        top: 0;
        right: 6px;
    }
}

.header-Toggle {
    position: relative;
    letter-spacing: 0;
    /* text-align: center; */
    line-height: 1;
    /* font-weight: bold; */
    font-size: 9px;
    cursor: pointer;
}

.header-Toggle span {
    transition: .4s;
}

.header-Toggle_Inner {
    display: inline-block;
    text-align: center;
}

.header-Toggle_Line {
    width: 20px;
    height: 20px;
    position: relative;
    margin: 0 auto 4px;
}

.header-Toggle_Line span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: #222222;
}

.header-Toggle_Line span:nth-of-type(1) {
    top: 3px;
}

.header-Toggle_Line span:nth-of-type(2) {
    top: 10px;
}

.header-Toggle_Line span:nth-of-type(3) {
    bottom: 1px;
}

.header-Tab_List {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: scroll !important;
}
.header-Tab_List_Item {
    position: relative;
    white-space: nowrap;
    border-bottom: 1px solid #efefef;
    color: rgba(34, 34, 34, .7);
    flex: 1;
    text-align: center;
}
.header-Tab_List_Item.current {
    color: rgba(34, 34, 34, 1);
    border-bottom: 3px solid rgba(34,34,34,1);
}
.header-Tab_Anchor {
  display: inline-block;
  padding: 8px 16px;
  font-weight: bold;
  color: inherit;
}
@media (max-width: 1023px) {
  .header-Tab_Anchor {
    padding: 4px 12px;
    font-size: 13px;
  }
}
.header-Tab_Anchor:hover {
  border-color: #d3533e;
  color: #d3533e;
}


/* ----------------------------------------
   footer
   ---------------------------------------- */
.footer {
    padding-bottom: 64px;
    margin-top: 64px;
    border-top: 1px solid rgba(34,34,34,.12);
}

.footer-Copyright {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 12px;
}

.footer-Inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 32px 0;
}

@media screen and (min-width: 1024px) {
    .footer-Inner {
        padding: 48px;
        padding-bottom: 0;
    }
}

.footer-List_Anchor {
    letter-spacing: 0.02em;
}

.footer-List_Anchor:hover {
    text-decoration: underline;
}

.footer-List_Anchor {
    font-size: 12px;
}

@media screen and (max-width: 1023px) {
    .footer-List {
        text-align: center;
    }

    .footer-List_Item:not(:first-of-type) {
        margin-top: .5rem;
    }
}

@media screen and (min-width: 1024px) {
    .footer-List {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .footer-List_Item {
        margin: 0;
    }

    .footer-List_Item:not(:first-of-type) {
        margin-left: 1rem;
        padding-left: 1rem;
        border-left: 1px solid #e5e5e5;
    }
}


/* ----------------------------------------
   レイアウト
   ---------------------------------------- */
@media screen and (max-width: 1365px) {
    .content {
        position: relative;
        /*これがないと横にはみ出す*/
        width: 100%;
        max-width: 100vw;
        min-height: 100vh;
        overflow: hidden;
    }
}

@media screen and (min-width: 1366px) {
    .content,
    .footer {
        overflow: hidden;
        padding-left: 240px;
    }

    .login .content {
        padding-left: 0;
    }
}

@media screen and (min-width: 1024px) {
    .single .content-Inner,
    .page-template-page-profile-php .content-Inner,
    .page-template-page-guide-php .content-Inner,
    .tax-group .single-Inner,
    .mypage .single-Inner  {
        width: 1000px;
        margin: 0 auto;
    }
}