/* FAQ Section Styles */

main {
    padding: 6.25rem 0 9rem;
    @media (768px > width) {
        padding: 5rem 0;
    }
}
figcaption {
    text-align: right;
    padding: .625rem 1rem 0 0;
    color: var(--color-dgray);
}
.page-header {
    position: relative;
    .page-header-title {
        position: absolute;
        top: 50%;
        left: calc(240/1440 * 100vw);
        transform: translateY(-50%);
        @media (768px > width) {
            left: calc(20/390 * 100vw);
        }
        h1 {
            margin: 0;
            font-size: .8125rem;
            font-weight: 500;
            color: var(--color-wh);
        }
        p {
            position: relative;
            margin-bottom: 1.875rem;
            line-height: 1;
            font-size: 3rem;
            font-weight: 800;
            font-family: var(--font-nunito);
            color: var(--color-wh);
            @media (768px > width) {
                margin-bottom: 1.5rem;
                font-size: 2.625rem;
            }
            &::after {
                position: absolute;
                content: "";
                bottom: -10px;
                left: -240px;
                width: 50vw;
                height: 1px;
                background-color: var(--color-main);
            }
            &.doctor-position {
                font-family: 'Noto Sans JP', sans-serif;
                font-weight: 500;
                &::after {
                    content: none;
                }
            }
        }
        &.single-menu-title {
            @media (768px > width) {
                top: 60%;
            }
            p {
                position: relative;
                margin-left: -1.25rem;
                margin-bottom: .75rem;
                padding: .75rem 1.25rem;
                font-size: 1.25rem;
                color: var(--color-wh);
                background-color: var(--color-bgMain);
                font-weight: 500;
                font-family: 'Noto Sans JP', sans-serif;
                letter-spacing: 3px;
                line-height: calc(34/20);
                @media (1024px > width) {
                    font-size: 1.125rem;
                }
                &::after {
                    content: none;
                }
            }
            h1 {
                margin-bottom: 1rem;
                font-size: 2.25rem;
                color: var(--color-dark);
                @media (1024px > width) {
                    font-size: 1.875rem;
                }
                &::after {
                    content: none;
                }
            }
            ul {
                li {
                    position: relative;
                    display: inline-block;
                    width: auto;
                    padding: .5rem 1.25rem .5rem 1rem;
                    font-weight: 500;
                    border-radius: .625rem;
                    background-color: var(--color-wh);
                    &:not(:last-of-type) {
                        margin-bottom: .625rem;
                    }
                    span {
                        color: var(--color-main);
                    }
                }
            }
        }
    }
    & .eyecatch-image {
        line-height: 1;
    }
    &.page01 {
        height: 265px;
        background-color: var(--color-lgray);
        .page-header-title {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            h1 {
                text-align: center;
                color: var(--color-dark);
            }
            p {
                margin-bottom: .375rem;
                color: var(--color-main);
            }
        }
    }
    .breadcrumb {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: .9375rem 1rem .9375rem calc(240/1440 * 100vw);
        background-color: #38383880;
        @media (768px > width) {
            padding: .9375rem 1rem .9375rem 1.25rem;
        }
        #breadcrumbs {
            display: flex;
            align-items: center;
        }
        a, span {
            font-size: .75rem;
            color: var(--color-wh);
        }
        .breadcrumb_last {
            color: var(--color-wh);
        }
    }
}
.feature-title {
    margin-bottom: 2.5rem;
}
.policy-list {
    .column-left {
        margin-right: 2.875rem;
        @media (768px > width) {
            margin-right: 0;
        }
    }
}
:root :where(.is-layout-flex).policy-list {
    gap: clamp(2.5rem, 4vw, 3.75rem);
    margin-bottom: 3.75rem;
    @media (768px > width) {
        gap: 2rem;
        margin-bottom: 0;
    }
}
.policy-list-group {
    position: relative;
    text-align: left;
    padding: .625rem 0 .625rem 1.25rem;
    @media (768px > width) {
        width: 100%;
        margin-bottom: .5rem;
        font-size: 2rem;
    }
    &::before {
      position: absolute;
      content: "";
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      display: block;
      width: 3px;
      height: 100%;
      background-color: var(--color-main);
      @media (768px > width) {
        min-height: auto;
      }
    }
    > p {
      font-size: .875rem;
      line-height: calc(26/14);
      color: var(--color-dark);
    }
}
.policy-title-group {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
      @media (768px > width) {
        margin-bottom:  .875rem;
      }
      & span {
        padding-right: .9125rem;
        font-size: 2.625rem;
        font-weight: 600;
        font-family: var(--font-nunito);
        color: var(--color-main);
        @media (768px > width) {
          font-size: 2.5rem;
        }
      }
      & h3 {
        font-size: 1.125rem;
        font-weight: 500;
        @media (768px > width) {
          font-size: .9375rem;
      }
    }
}
.menu-policy-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    @media (768px > width) {
        flex-direction: column;
        gap: 1rem;
    }
    &:not(:last-of-type) {
        margin-bottom: 2.5rem;
        @media (768px > width) {
            margin-bottom: 3.5rem;
        }
    }
    > img {
        max-width: 320px;
    }
    & .policy-list-group {
        &::before {
            height: 230px;
            @media (768px > width) {
                height: 100%;
            }
        }
    }
}
.cta-section {
    padding: 1rem 0 7.25rem;
    @media (768px > width) {
        padding: 1rem 1.25rem 6.25rem;
    }
    .cta-title {
        margin-bottom: 2.5rem;
        @media (768px > width) {
            margin-bottom: 2rem;
        }
    }
    .cta-text {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5rem;
        @media (768px > width) {
            flex-direction: column;
            gap: 2.5rem;
        }
        .cta-info {
          a {
            display: flex;
            justify-content: center;
            align-items: center;
            letter-spacing: .05rem;
            font-size: 2.25rem;
            font-weight: 700;
            font-family: var(--font-nunito);
            color: var(--color-main);
            @media (768px > width) {
                font-size: 2rem;
            }
            img {
              display: inline-block;
              width: 40px;
              margin: -.25rem .25rem 0 0;
              @media (768px > width) {
                width: 35px;
              }
            }
          }
          p {
            font-size: .875rem;
            @media (768px > width) {
                font-size: .75rem;
            }
          }
        }
    }
}
.concept-item {
    @media (768px > width) {
        margin-bottom: .5rem;
    }
    &.last {
        margin-bottom: 10rem;
        @media (768px > width) {
            margin-bottom: 5rem;
        }
    }
}
.concept-text {
    padding-bottom: 10rem;
    @media (768px > width) {
        padding-bottom: 6.25rem;
    }
}
main {
    &:has(.sitemap) {
        @media (768px > width) {
            padding: 4rem 0 5.25rem;
        }
    }
    &:has(.news) {
        padding: 3.25rem 0 9rem;
        @media (768px > width) {
            padding: 2.5rem 0 6.25rem;
        }
    }
}
.news-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
    .news-post-item {
        padding: 3rem 0;
        border-bottom: 1px solid var(--color-dgray);
        @media (768px > width) {
            padding: 2.5rem 0;
        }
    }
    .news-title {
        padding-bottom: 1rem;
        font-size: .875rem;
        font-weight: 500;
    }
    .news-date {
        display: inline-block;
        padding-bottom: 1.5rem;
        font-size: .875rem;
        font-weight: 600;
        font-family: var(--font-nunito);
        color: var(--color-main);
    }
    .news-excerpt {
        padding-bottom: 1rem;
        font-size: .875rem;
    }
    .pdf-link {
        position: relative;
        font-size: .875rem;
        letter-spacing: .05rem;
        color: var(--color-main);
        &::before {
            content: '';
            position: absolute;
            right: -1rem;
            top: 52%;
            transform: translateY(-50%);
            width: 5px;
            height: 8px;
            background-image: url("data:image/svg+xml,%3Csvg width='5' height='8' viewBox='0 0 5 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L1 7' stroke='%2326B7BC' stroke-width='1'/%3E%3C/svg%3E");
            background-size: 8px 10px;
            background-repeat: no-repeat;
            background-position: center;
            transition: left 0.3s ease;
        }
    }
}
.menu {
    p {
        margin-block-start: 0;
        line-height: 1.8;
    }
    & .entry-content {
        > .wp-block-group.wp-block-group-is-layout-constrained {
            margin-bottom: 3.75rem;
            @media (768px > width) {
                padding: 0 1.25rem;
            }
            &.menu-movie {
                margin-bottom: 10rem;
                @media (768px > width) {
                    margin-bottom: 5rem;
                }
            }
            &.menu-flow {
                margin-bottom: 10rem;
                @media (768px > width) {
                    margin-bottom: 5rem;
                }
            }
            &.menu-price {
                @media (768px > width) {
                    padding: 0;
                }
            }
            &.menu-attention {
                @media (768px > width) {
                    padding: 5rem 1.25rem;
                    margin: 0 auto 5rem;
                }
            }
            &.single-nolist {
                padding-top: 10rem;
                @media (768px > width) {
                    padding-top: 5rem;
                }
            }
            &.case-inner {
                width: 100vw;
                margin: 0 calc(50% - 50vw) 5rem;
                padding: 6.25rem 0;
                background-color: var(--color-bg);
                @media (768px > width) {
                    margin: 0 calc(50% - 50vw) 3.75rem;
                    padding: 3.75rem 1.25rem;
                }
            }
        }
    }
    .menu-price {
        & .c-detail-title {
            @media (768px > width) {
                width: calc(100% - 2.5rem);
            }
        }
        & .wp-block-flexible-table-block-table {
            margin-bottom: 3.375rem;
            th {
                text-align: center;
                padding: 1rem;
                font-size: .875rem;
                font-weight: 400;
                background-color: var(--color-lgray);
                @media (768px > width) {
                    padding: .625rem 0;
                    font-size: .75rem;
                }
            }
            td {
                padding: .875rem 0 .875rem 1.25rem;
                font-size: .875rem;
                background-color: var(--color-wh);
                @media (768px > width) {
                    padding: .875rem 1rem;
                }
            }
        }
    }
    .menu-attention {
        width: 100%;
        max-width: 920px;
        margin: 0 auto;
        padding: 3.75rem 0;
        background-color: var(--color-lgray);
        
        & .wp-block-flexible-table-block-table {
            padding: 0 2.5rem;
            @media (768px > width) {
                padding: 0 1.25rem;
            }
            tr {
                border-bottom: 1px solid var(--color-lgray2);
            }
            th {
                width: 160px;
                padding: 1rem;
                font-size: .875rem;
                font-weight: 500;
                background-color: var(--color-lgray);
                @media (768px > width) {
                    width: 72px;
                    padding: .625rem 0;
                }
            }
            td {
                padding: 1rem 0;
                font-size: .875rem;
                background-color: var(--color-lgray);
            }
        }
    }
}
.single-menu {
    main {
        padding: 0 0 6.25rem;
        @media (768px > width) {
            padding: 0 0 1.25rem;
        }
    }
    & .wp-block-flexible-table-block-table {
        @media (768px > width) {
            width: 100vw;
            margin: 0 calc(50% - 50vw)!important;
        }
    }
    & .page-header-title {
        & .entry-title {
            position: relative;
            line-height: 1;
            font-size: 2.25rem;
            font-weight: 500;
            color: var(--color-main);
            @media (768px > width) {
                padding-right: 1rem;
                line-height: 1.5;
                font-size: 1.875rem;
            }
            &::after {
                position: absolute;
                content: "";
                bottom: -10px;
                left: -240px;
                width: 100vw;
                height: 1px;
                background-color: var(--color-main);
            }
        }
    }
}
.menu-bg-inner {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 10rem;
    padding: 3.75rem 0 5rem;
    background-color: var(--color-lgray);
    @media (768px > width) {
        margin: 0 calc(50% - 50vw) 5rem;
        padding: 2.5rem 1.25rem;
    }
}
.c-title {
    &:has(+ .menu-bg-inner) {
        margin-bottom: 2.5rem;
        @media (768px > width) {
            margin-bottom: 2rem;
        }
    }
}
.menu-content {
    color: var(--color-wh);
    &.bk {
        color: var(--color-dark);
    }
    &.concept-item {
        margin-bottom: 7.25rem;
        background: rgba(56,56,56, 0.75);
        @media (768px > width) {
            margin-bottom: 5rem;
            padding: 1.5rem 1.25rem 0;
            box-sizing: border-box;
            background: linear-gradient(to bottom, var(--color-wh) 25%, rgba(56,56,56, 0.75) 25.1%, rgba(56,56,56, 0.75) 100%);
        }
        & .concept-box {
            @media (768px > width) {
                padding: 2rem 0 5rem;
            }
            h3 {
                color: var(--color-wh);
            }
        }
    }
    &.full {
        & .concept {
            max-width: none;
        }
    }
}
.menu-tab-list {
    &.case-tab-list {
        padding-top: 3.75rem;
        @media (768px > width) {
            padding-top: 2.5rem;
        }
    }
    & .menu-hifu-link {
        a {
            position: relative;
            display: block;
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--color-lgray2);
            font-size: 1rem;
            font-weight: 500;
            color: var(--color-main);
            @media (768px > width) {
                padding: 1.5rem 1rem 1.5rem 0;
                font-size: .9375rem;
            }
            &::after {
                content: '';
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 8px;
                height: 11px;
                background-image: url("data:image/svg+xml,%3Csvg width='5' height='8' viewBox='0 0 5 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L1 7' stroke='%2326B7BC' stroke-width='1'/%3E%3C/svg%3E");
                background-size: 8px 11px;
                background-repeat: no-repeat;
                background-position: center;
                transition: right 0.3s  ease;
            }
        }
    }
}
.menu-tab {
    display: flex;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    & .menu-tab-item {
        text-align: center;
        width: 50vw;
        padding: .75rem 0;
        color: #AAAAAA;
        background-color: #FAFAFA;
        cursor: pointer;
        &.active {
            background-color: #FFF;
            border-top: 4px solid var(--color-main);
            color: var(--color-main);
        }
        
    }
}
.price {
    & .wp-block-flexible-table-block-table {
        @media (768px > width) {
            width: 100vw;
            margin: 0 calc(50% - 50vw)!important;
        }
    }
    & .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr {
        th {
            text-align: center;
            font-size: .875rem;
        }
        td {
            padding: .875rem 1.25rem;
            font-size: .875rem;
        }
    }
}
.search-content {
    padding: 2.5rem 2.5rem 3.75rem;
    background: url(../images/bg-search.png), top center / cover no-repeat;
    @media (768px > width) {
        padding: 2rem 1.5rem 2.5rem;
    }
    & .search-detail-text {
        display: inline-block;
        font-size: .875rem;
        text-decoration: underline;
        text-decoration-color: var(--color-main);
        text-underline-offset: .625rem;
        line-height: calc(40/14);
        @media (768px > width) {
            line-height: calc(32/14);
        }
    }

}
.search-detail-inner {
    padding: 1.875rem 2.5rem 3.75rem;
    background-color: var( --color-lgray);
    @media (768px > width) {
        padding: 1rem 1.25rem 2.5rem;
    }
    & .search-detail-content {
        display: inline-block;
        padding: 2rem 0;
        color: var(--color-dark);
        border-bottom: 1px solid var(--color-lgray2);
        @media (768px > width) {
            padding: 1.5rem 0 2rem;
            line-height: calc(32/14);
        }
        & .search-detail-title {
            position: relative;
            margin-bottom: 2rem;
            font-size: 1.125rem;
            font-weight: 500;
            color: var(--color-main);
            @media (768px > width) {
                margin-bottom: 1.25rem;
                font-size: .9375rem;
            }
            &::after {
                content: '';
                position: absolute;
                right: .75rem;
                top: 50%;
                transform: translateY(-50%);
                width: 8px;
                height: 11px;
                background-image: url("data:image/svg+xml,%3Csvg width='5' height='8' viewBox='0 0 5 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L1 7' stroke='%2326B7BC' stroke-width='1'/%3E%3C/svg%3E");
                background-size: 8px 11px;
                background-repeat: no-repeat;
                background-position: center;
                transition: right 0.3s  ease;
            }
        }
        & .search-detail-text {
            font-size: .875rem;
        }
    }
}

/* ドクター紹介 */
.doctor-intro {
    @media (768px > width) {
        padding: 0 1.25rem;
    }
    & .doctor-intro-text {
        padding: 0 2.375rem;
        @media (768px > width) {
            padding: 0;
        }
    }
}
.single-doctor {
    .page-header {
        & .page-header-title {
            @media (768px > width) {
                top: unset;
                bottom: 20%;
                transform: translateY(0);
            }
            h1 {
                margin-bottom: 1.5rem;
                font-size: 3.25rem;
                color: var(--color-main);
                @media (768px > width) {
                    font-size: 2.375rem;
                }
                &::after {
                    position: absolute;
                    content: "";
                    bottom: 35px;
                    left: -240px;
                    width: 60vw;
                    height: 1px;
                    background-color: var(--color-main);
                    @media (768px > width) {
                        left: -1.25rem;
                        width: 100vw;
                    }
                }
            }
            p {
                margin-bottom: 0;
                font-size: .8125rem;
                color: var(--color-dark);
            }
        }
    }
    
}
.doctor-content {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    background-color: var(--color-bg);
    & .doctor-profile {
        display: flex;
        max-width: 780px;
        margin: 0 auto;
        padding: 5rem 0;
        @media (768px > width) {
            flex-direction: column;
            gap: 2rem;
            padding: 3.75rem 1.25rem;
        }
        & .doctor-career {
            width: 50%;
            font-size: .875rem;
            @media (768px > width) {
                width: 100%;
            }
            & .doctor-items {
                line-height: calc(26/14);
            }
            &:last-of-type {
                & .doctor-items {
                    margin-bottom: 2.625rem;
                    @media (768px > width) {
                        margin-bottom: 2rem;
                    }
                }
            }
            & .doctor-insta-link {
                color: var(--color-main);
                img {
                    padding-right: .625rem;
                }
            }
        }
    }
}
.career-title {
    font-size: clamp(0.875rem, 1.5vw, 0.875rem);
    font-weight: 500;
    line-height: 1.857;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.career-list {
    display: grid;
    gap: clamp(0.5rem, 1vw, 1rem);
}
.career-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1rem, 2vw, 1.25rem);
    align-items: start;
}
.career-year {
    font-size: clamp(0.875rem, 1.5vw, 0.875rem);
    font-weight: 400;
    line-height: 1.857;
    letter-spacing: 0.05em;
    color: #383838;
    min-width: 50px;
}
.career-detail {
    font-size: clamp(0.875rem, 1.5vw, 0.875rem);
    font-weight: 400;
    line-height: 1.857;
    letter-spacing: 0.05em;
    color: #383838;
}
.case-section {
    padding: 7.25rem 0;
    background-color: var(--color-bg);
    @media (768px > width) {
        padding: 5rem 0;
    }
}
.case-list {
    display: grid;
    justify-content: center;
    grid-template-columns: auto auto;
    gap: 3.375rem;
    max-width: 1040px;
    margin: 0 auto 4rem;
    @media (1024px > width) {
        gap: 2rem;
    }
    @media (768px > width) {
        grid-template-columns: 1fr;
        gap: 3.75rem;
        margin: 0 auto;
        padding: 0 1.25rem;
    }
    & .case-item {
        display: flex;
        flex-direction: column;
        & .case-link {
            transition: .3s ease;
            &:hover {
                opacity: .8;
            }
        }
        img {
            margin-bottom: .75rem;
        }
    }
    & .case-row {
        display: flex;
        margin-bottom: .5rem;
        font-size: .8125rem;
        @media (768px > width) {
            max-width: 310px;
        }
        & .case-name {
            text-align: center;
            align-content: center;
            width: 110px;
            margin-right: .625rem;
            padding: .125rem 0;
            font-weight: 400;
            color: var(--color-wh);
            background-color: var(--color-main);
            /* @media (1024px > width) {
                width: 100px;
            } */
        }
        & .case-content {
            text-align: left;
            width: calc(100% - 110px);
            color: var(--color-dark);
            @media (1024px > width) {
                
            }
        }
    }
}
& .case-item {
    & .case-link {
        transition: .3s ease;
        &:hover {
            opacity: .8;
        }
        > img {
            margin-bottom: .75rem;
        }
    }
    
}
.case-detail {
    background-color: var(--color-main);
    border-radius: 0;
    overflow: hidden;
    & .case-question {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2.5rem);
        cursor: pointer;
        transition: background-color 0.3s ease;
        & .case-text {
            font-size: .9375rem;
            font-weight: 500;
            color: var(--color-wh);
        }
    }
    & .case-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: var(--color-wh);
    }
    & .case-content {
        display: flex;
        gap: 3.75rem;
        padding: 2.5rem;
        @media (768px > width) {
            flex-direction: column;
            gap: 1rem;
            padding: 1rem;
        }
        & .case-detail-content {
            & .case-detail-title {
                padding-bottom: .5rem;
                margin-bottom: .5rem;
                border-bottom: 1px solid var(--color-lgray2);
                font-size: .875rem;
                font-weight: 500;
                color: var(--color-main);
            }
            > .case-detail-text {
                margin-bottom: 1.5rem;
                font-size: .875rem;
                font-weight: 400;
            }
        }
    }
    .case-question {
        .case-row {
            @media (768px > width) {
                max-width: 310px;
                margin: 0 auto .5rem;
            }
        }
    }
    .case-row {
        display: flex;
        margin-bottom: .5rem;
        font-size: .8125rem;
        @media (768px > width) {
            max-width: 310px;
        }
        & .case-name {
            text-align: center;
            align-content: center;
            width: 110px;
            margin-right: .625rem;
            padding: .125rem 0;
            font-weight: 400;
            color: var(--color-wh);
            background-color: var(--color-main);
            /* @media (1024px > width) {
                width: 100px;
            } */
        }
        & .case-text {
            align-content: center;
        }
    }
}

.faq-list {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
.faq-item {
	background-color: var(--color-main);
	border-radius: 0;
	overflow: hidden;
}
.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2.5rem);
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.faq-question:hover {
	background-color: rgba(255, 255, 255, 0.05);
}
.faq-question-text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(0.9375rem, 1.5vw, 0.9375rem);
	font-weight: 500;
	line-height: 1.733;
	letter-spacing: 0.05em;
	margin: 0;
	color: var(--color-wh);
	flex: 1;
}
.faq-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 20px;
	height: 20px;
	position: relative;
	flex-shrink: 0;
	margin-left: clamp(1rem, 2vw, 1.5rem);
}
.faq-toggle-icon {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
	content: '';
	position: absolute;
	background-color: var(--color-wh);
	transition: all 0.3s ease;
}
.faq-toggle-icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	transform: translateY(-50%);
}
.faq-toggle-icon::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	transform: translateX(-50%);
}
.faq-item--open .faq-toggle-icon::after,
.case-detail--open .faq-toggle-icon::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}
.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background-color: var(--color-wh);
}
.faq-answer-content {
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 4vw, 2.5rem);
    &.agreement-text {
        padding: 2.5rem 2.5rem 3.75rem;
        background-color: var(--color-bg);
        @media (768px > width) {
            padding: 2rem 1.25rem 3.75rem;
        }
        p {
            margin-bottom: 2.5rem;
            @media (768px > width) {
                margin-bottom: 1.25rem;
            }
        }
    }
    & .c-button {
        display: block;
        margin: 0 auto;
    }
}
.faq-answer p {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(0.875rem, 1.5vw, 0.875rem);
	font-weight: 400;
	line-height: 1.857;
	letter-spacing: 0.05em;
	margin: 0;
	color: var(--color-wh-dark);
}
.faq-link {
	color: var(--color-main);
	text-decoration: underline;
	transition: color 0.3s ease;
}
.faq-link:hover {
	color: var(--color-main-hover);
}
@media (min-width: 1024px) {
	.faq-container {
        padding: 0 2rem;
		max-width: 980px;
	}
}

.faq-toggle:focus {
	outline: 2px solid var(--color-wh);
	outline-offset: 2px;
}
.faq-toggle:focus:not(:focus-visible) {
	outline: none;
}
.faq-item {
	transition: all 0.3s ease;
}
.faq-answer {
	transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.access-video {
    max-width: 320px;
    margin: 0 auto;
}
.access-column {
    @media (768px > width) {
        flex-direction: column-reverse;
    }
}
.transfer-mgt {
    margin-top: 3.75rem;
    @media (768px > width) {
        margin-top: 2.5rem;
    }
}
.transfer-mgb {
    margin-bottom: 10rem;
    @media (768px > width) {
        margin-bottom: 6.25rem;
    }
}
.transfer-item {
    display: flex;
    align-items: center;
    /* &:not(:last-of-type) { */
    @media (1024px > width) {
        flex-direction: column;
    }
    margin-bottom: 10rem;
    @media (768px > width) {
        margin-bottom: 3.75rem;
    }
    /* } */
    img {
        width: 100%;
        max-width: 424px;
        margin-right: -4.75rem;
        z-index: 2;
        @media (768px > width) {
            margin-right: 0;
            margin-bottom: -5rem;
        }
    }
    & .transfer-content {
        width: calc(100% - 424px);
        padding: 3.75rem 3.75rem 5rem 7.5rem;
        background-color: var(--color-bg);
        @media (768px > width) {
            width: 100%;
            padding: 7.5rem 1.25rem 3.75rem;
        }
        h3 {
            margin-bottom: 2rem;
            letter-spacing: .2125rem;
            font-size: 1.5rem;
            font-weight: bold;
            @media (768px > width) {
                font-size: 1.125rem;
            }
            span {
                display: inline-block;
                padding: .5rem 1.125rem;
                color: var(--color-main);
                background-color: var(--color-wh);
                &.top {
                    margin-bottom: .5rem;
                }
            }
        }
        & .transfer-text {
            font-size: .875rem;
        }
    }
}
.sitemap {
    p {
        border-bottom: 1px solid var(--color-lgray2);
        @media (768px > width) {
            border-bottom: none;
        }
        &:first-of-type {
            border-top: 1px solid var(--color-lgray2);
            @media (768px > width) {
                border-top: none;
            }
        }
        a {
            position: relative;
            display: block;
            padding: 2rem 0 2rem 2.8125rem;
            font-size: 1.125rem;
            font-weight: 500;
            color: var(--color-dark);
            @media (768px > width) {
                font-size: 1rem;
                padding: 1rem 1.25rem;
            }
            &:hover {
                color: var(--color-main);
                &::before {
                    left: 1.75rem
                }
            }
            &::before {
                content: '';
                position: absolute;
                left: 1.5rem;
                top: 50%;
                transform: translateY(-50%);
                width: 5px;
                height: 8px;
                background-image: url("data:image/svg+xml,%3Csvg width='5' height='8' viewBox='0 0 5 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L1 7' stroke='%2326B7BC' stroke-width='1'/%3E%3C/svg%3E");
                background-size: 6px 9px;
                background-repeat: no-repeat;
                background-position: center;
                transition: left 0.3s ease;
                @media (768px > width) {
                    left: unset;
                    right: 1.25rem;
                }
            }
            &.sitemap-link-child {

            }
        }
    }
    & .sitemap-menu-parent {
        border-bottom: none;
        p {
            border-bottom: none;
            a {
                padding: 2rem 0 .75rem 2.8125rem;
                @media (768px > width) {
                    padding: 1rem 1.25rem .75rem;
                }
                &::before {
                    top: 65%;
                }
            }
        }
    }
    & .sitemap-menu-child {
        margin-bottom: 0;
        padding-left: 2.8125rem;
        @media (768px > width) {
            gap: 0;
            padding-left: 1.25rem;
        }
        p {
            margin-block-start: 0!important;
            border-top: none;
            border-bottom: none;
            a {
                padding: .75rem 0 .75rem 1.875rem;
                font-size: .875rem;
                font-weight: 400;
                &::before {
                    left: .25rem;
                    width: 12px;
                    height: 1px;
                    background-color: var(--color-main);

                }
            }
        }
    }
    & .custom-post-list {
        display: flex;
        width: 100%;
        & .custom-post-item {
            width: 50%;
        }
    }
    & .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        margin-left: 0!important;
        margin-right: 0!important;
    }
}
.sp-left {
    @media (768px > width) {
        text-align: left!important;
    }
}
.sp-center {
    @media (768px > width) {
        text-align: center!important;
    }
}
.mgt-res60 {
    margin-top: 3.75rem;
    @media (768px > width) {
        margin-top: 2.5rem;
    }
}
.mgt-res100 {
    margin-top: 6.25rem;
    @media (768px > width) {
        margin-top: 5rem;
    }
}
.mgb-res160 {
    margin-bottom: 10rem;
    @media (768px > width) {
        margin-bottom: 5rem;
    }
}
.mgb-res100 {
    margin-bottom: 6.25rem;
    @media (768px > width) {
        margin-bottom: 5rem;
    }
}
.mgb-res80 {
    margin-bottom: 5rem;
    @media (768px > width) {
        margin-bottom: 3.75rem;
    }
}
.mgb-res60 {
    margin-bottom: 3.75rem;
    @media (768px > width) {
        margin-bottom: 2.5rem;
    }
}
.mgb-res4032 {
    margin-bottom: 2.5rem;
    @media (768px > width) {
        margin-bottom: 2rem;
    }
}
.mgb-res40 {
    margin-bottom: 2.5rem;
    @media (768px > width) {
        margin-bottom: 1.25rem;
    }
}
.sp-pdx {
    @media (768px > width) {
        padding: 0 1.25rem;
    }
}