/*--------------------------------------------------------------
    osaka reception party
--------------------------------------------------------------*/
section {
    padding: 60px 0;
}

.h-e-doublecolor-blgl,
.h-e-doublecolor-wh {
    display: flex;
    height: auto;
    width: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-e);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 auto 2rem auto;
    color: var(--p-color-01);
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1;
    gap: 0rem;
}

.h-e-doublecolor-blgl > span:not([class]) {
    font-family: var(--font-e);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--p-color-02);
    margin: 0; 
    line-height: 1; 
}

.h-e-doublecolor-wh {
    color: var(--p-color-00);
}

.h-j-lefthorizontalline-y {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    margin: 2rem 0 0.9rem 0;
}

.h-j-lefthorizontalline-y::before {
    content: "";
    width: 1rem;
    height: 2px;
    background-color: var(--s-color-01);
    margin-right: 0.4rem;
}

.link-j-right-arrow-bl > span {
    color: var(--p-color-01);
    text-align: center;
}

.link-j-right-arrow-bl > span::after {
    content: "\f105";
    font-family: 'Font Awesome 6 Free';
    color: var(--p-color-01);
    padding-left: 0.2em;
    font-weight: 900;
}

@media only screen and (min-width: 768px) {
    section {
        padding: 80px 0;
    }

    .h-e-doublecolor-blgl,
    .h-e-doublecolor-wh {
        display: flex;
        height: auto;
        width: fit-content;
        flex-direction: row;
        justify-content: center;
        align-items: baseline; 
        font-family: var(--font-e);
        font-size: 2.4rem;
        font-weight: 600;
        margin: 0 auto 2rem auto;
        color: var(--p-color-01);
        text-align: center;
        letter-spacing: 0.05em;
        line-height: 1; 
        gap: 0.1em;
    }
    
    .h-e-doublecolor-blgl > span:not([class]) {
        font-family: var(--font-e);
        font-size: 2.4rem;
        font-weight: 600;
        color: var(--p-color-02);
        margin: 0; 
        line-height: 1; 
    }

    .h-e-doublecolor-wh {
        color: var(--p-color-00);
    }


    .h-j-lefthorizontalline-y {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        margin: 2rem 0 0.9rem 0;
    }
    
    .h-j-lefthorizontalline-y::before {
        content: "";
        width: 1.4rem;
        height: 2px;
        background-color: var(--s-color-01);
        margin-right: 0.4rem;
    }
}

#cosaka-content .inner {
    width: 100%;
}


#cosaka-kv {
    height: 100svh;
    position: relative;
    z-index: 0;
    background-color: var(--p-color-00);
    margin: 0;
    padding: 0;
}

#cosaka-kv-area {
    position: relative;
    z-index: -3;
    width: 100vw;
    height: 100svh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.cosaka-kv-image {
    z-index: -3;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation-name: fadeslidein;
    animation-duration: 15s;
    animation-iteration-count: infinite;
}

.cosakasrc1 {
    background-image: url(/wp-content/uploads/osaka_photo_3.jpg);
}
.cosakasrc2 {
    animation-delay: 5s;
    background-image: url(/wp-content/uploads/osaka_photo_2.jpg);
}
.cosakasrc3 {
    animation-delay: 10s;
    background-image: url(/wp-content/uploads/osaka_photo_4.jpg);
}

@keyframes fadeslidein {
    0%{
        opacity: 0;
        transform: scale(1.2);
    }
    20%{
        opacity: 7;
    }
    80%{
        opacity: 0;
        transform: scale(1.0);
    }
    100%{
        z-index: 0;
        opacity: 0;
    }
}

#cosaka-kv-area::after {
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.65) 55%);
    background-blend-mode: multiply;
}

#cosaka-kv-text {
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    flex-direction: column;
    padding: 60px 1rem 1rem 1rem;
} 

#cosaka-kv-logo {
    width: 70%;
    height: auto;
}

#cosaka-kv-logo > img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

@media only screen and (min-width: 768px) {
    #cosaka-content .inner {
        width: 1100px;
    }
    
    #cosaka-kv {
        height: 100svh;
        position: relative;
        z-index: 0;
        background-color: var(--p-color-00);
        margin: 0;
        padding: 0;
    }

    #cosaka-kv-area {
        position: relative;
        z-index: -3;
        width: 100vw;
        height: 100svh;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
    }

    .cosaka-kv-image {
        z-index: -3;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        animation-name: fadeslidein;
        animation-duration: 15s;
        animation-iteration-count: infinite;
    }

    #cosaka-kv-area::after {
        content: "";
        display: block;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.65) 55%);
        background-blend-mode: multiply;
    }

    #cosaka-kv-text {
        display: flex;
        position: relative;
        z-index: 1;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        flex-direction: column;
        padding: 75px 1rem 1rem 1rem;
    } 

    #cosaka-kv-logo {
        width: 20%;
        height: auto;
    }

    #cosaka-kv-logo > img {
        width: 100%;
        height: auto;
        vertical-align: bottom;
    }
}

#cosaka-intro {

}

.cosaka-intro-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.cosaka-intro-text > p {
    text-align: center;
}

.cosaka-intro-btn {
    display: flex;
    padding: 1rem 3rem;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    border: 1px solid var(--p-color-01);
    color: var(--p-color-01);
    text-align: center;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 300;
    margin-top: 20px;
    letter-spacing: 0.1em;
    transition: 0.2s;
    width: fit-content;
}

.cosaka-intro-btn:hover {
    box-shadow: 0px 0px 2px 0px rgba(116, 110, 108, 0.30);
    text-shadow: 0px 0px 2px rgba(116, 110, 108, 0.30);
    color: var(--p-color-01);
    font-family: var(--font-main);
    opacity: 1;
    background-color: var(--s-color-01);
}

#cosaka-intro-photo {
    width: 100vw;
    height: auto;
    margin-bottom: 60px;
}

#cosaka-intro-photo img {
    width: calc(100vw / 1.3);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cosaka-sns-block {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.cosaka-sns-block > a {
    width: 100%;
    height: auto;
}

.cosaka-sns-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media only screen and (min-width: 768px) {
    #cosaka-intro {

    }

    .cosaka-intro-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 80px;
    }

    .cosaka-intro-text > p {
        text-align: center;
    }

    .cosaka-intro-btn {
        display: flex;
        padding: 1rem 3rem;
        justify-content: center;
        align-items: center;
        border-radius: 3px;
        border: 1px solid var(--p-color-01);
        color: var(--p-color-01);
        text-align: center;
        font-family: var(--font-main);
        font-size: 0.8rem;
        font-weight: 300;
        margin-top: 20px;
        letter-spacing: 0.1em;
        transition: 0.2s;
        width: fit-content;
    }

    .cosaka-intro-btn:hover {
        box-shadow: 0px 0px 2px 0px rgba(116, 110, 108, 0.30);
        text-shadow: 0px 0px 2px rgba(116, 110, 108, 0.30);
        color: var(--p-color-01);
        font-family: var(--font-main);
        opacity: 1;
        background-color: var(--s-color-01);
    }

    #cosaka-intro-photo {
        width: 100vw;
        height: auto;
        margin-bottom: 40px;
    }

    #cosaka-intro-photo img {
        width: calc(100vw / 3);
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .cosaka-sns-block {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .cosaka-sns-block > a {
        width: 60%;
        height: auto;
    }

    .cosaka-sns-block img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    }

#cosaka-treatment {

}

#cosaka-treatment-parts {
    width: 100%;
}


#cosaka-treatment-parts {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 1rem;
}

.cosaka-treatment-parts-btn {
    font-family: var(--font-e);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--p-color-01);
    width: calc((100% / 2) - 0.5rem);
    aspect-ratio: 1 / 1;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-collapse: collapse;
    border-radius: 1rem;
    background-color: var(--p-color-00);
}

.cosaka-treatment-parts-btn > span {
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.5;
    height: auto;
    color: var(--p-color-01);
    display: inline-block;
}

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

    #cosaka-treatment {

    }

    #cosaka-treatment-parts {
        width: 100%;
    }


    #cosaka-treatment-parts {
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 20px;
        gap: 1rem;
    }

    .cosaka-treatment-parts-btn {
        font-family: var(--font-e);
        font-size: 1.3rem;
        font-weight: 500;
        line-height: 1.1;
        color: var(--p-color-01);
        width: calc((100% / 4) - 12px);
        aspect-ratio: 1 / 1;
        padding: 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-collapse: collapse;
        border-radius: 1rem;
        background-color: var(--p-color-00);
    }

    .cosaka-treatment-parts-btn > span {
        font-family: var(--font-main);
        font-size: 0.8rem;
        font-weight: 300;
        line-height: 1.5;
        height: auto;
        color: var(--p-color-01);
        display: inline-block;
    }
}



#cosaka-doctor-area {
    margin-top: 0.6rem;
}

.cosaka-doctor-list {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.cosaka-doctor-list > li {
    width: calc((100% / 2) - 6px);
}

.cosaka-doctor-img > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.5rem;
    border: 1px solid var(--p-color-03);
}

.cosaka-doctor-name {
    padding: 0.6rem 1rem;
}

.cosaka-doctor-name-txt-en {
    font-family: var(--font-e);
    font-size: 0.7rem;
    color: var(--p-color-01);
    text-align: left;
    margin-bottom: 0;
    line-height: 1.25;
}

.cosaka-doctor-name-txt-jp {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--p-color-01);
    text-align: left;
    margin-bottom: 0;
    line-height: 1.6;
}

.cosaka-doctor-name-block {
    display: flex;
    flex-direction: column;
    position: relative;
}

.cosaka-doctor-name-block::after {
    position: absolute;
    bottom: 0.4rem;
    right: 10px;
    width: 0.6rem;
    height: 0.6rem;
    transform: translateY(-50%) rotate(-45deg);
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    content: "";
}

@media only screen and (min-width: 768px) {
    #cosaka-doctor-area {
        margin-top: 0.6rem;
    }

    .cosaka-doctor-list {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0;
    }

    .cosaka-doctor-list > li {
        width: calc((100% / 3) - 12px);
    }

    .cosaka-doctor-img > img {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 0.5rem;
        border: 1px solid var(--p-color-03);
    }

    .cosaka-doctor-name {
        padding: 0.6rem 1rem;
    }

    .cosaka-doctor-name-txt-en {
        font-family: var(--font-e);
        font-size: 0.9rem;
        color: var(--p-color-01);
        text-align: left;
        margin-bottom: 0;
        line-height: 1.5;
    }

    .cosaka-doctor-name-txt-jp {
        font-family: var(--font-main);
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--p-color-01);
        text-align: left;
        margin-bottom: 0;
        line-height: 1.6;
    }

    .cosaka-doctor-name-block {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .cosaka-doctor-name-block::after {
        position: absolute;
        bottom: 0.2rem;
        right: 10px;
        width: 0.8rem;
        height: 0.8rem;
        transform: translateY(-50%) rotate(-45deg);
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        content: "";
    }
}

.cosaka-doctor-modal {
    width: 90vw;
    min-width: auto;
    max-width: 80vw;
    height: 90svh;
    min-height: auto;
    border-radius: 1rem;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
}

.cosaka-doctor-modal .fancybox-close-small svg path {
    fill: var(--p-color-01);
}

.cosaka-modal-inner {
    height: 100%;
    overflow: scroll;
}

.cosaka-modal-name {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 0;
    width: 100%;
    background: var(--p-color-00);
    position: sticky; 
    top: 0; 
    z-index: 10;
}

.cosaka-modal-wish-head {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 0;
    width: 100%;
    background: var(--p-color-00);
    top: 0; 
    z-index: 10;
}

.cosaka-modal-name-jp {
    font-size: 1.5rem;
    font-weight: 700;
    width: fit-content;
    line-height: 1.4;
    margin-bottom: 0;
}

.cosaka-modal-name-en {
    font-family: var(--font-e);
    font-size: 0.9rem;
    font-weight: 400;
    width: fit-content;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.cosaka0-modal-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    padding-top: 1rem;
}

.cosaka-modal-img {
    width: 100%;
    height: auto;
}

.cosaka-modal-img > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--p-color-03);
    border-radius: 1rem;
}

.cosaka-modal-text > table {
    margin-bottom: 1.6rem;
}

.cosaka-modal-text > table .career-year {
    margin-right: 1rem;
    text-align: left;
    width: 5rem;
}

.cosaka-modal-text > table td {
    text-align: left;
    align-items: center;
    display: table-cell;
    vertical-align: middle;
}

.cosaka-doctor-sns {
    display: flex;
    width: auto;
    justify-content: flex-start;
    gap: 1.2rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
}

.cosaka-doctor-sns img {
    height: 1.6rem;
    width: auto;
}

.cosaka-doctor-modal .archive-case-list-sc,
.cosaka-doctor-modal .archive-case-list {
    padding: 0 0 1rem 0;
}

@media only screen and (min-width: 768px) {
    .cosaka-doctor-modal {
        width: 80vw;
        min-width: 800px;
        max-width: 1000px;
        height: 80svh;
        min-height: 400px;
        border-radius: 1rem;
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
    
    .cosaka-doctor-modal .fancybox-close-small svg path {
        fill: var(--p-color-01);
    }
    
    .cosaka-modal-inner {
        height: 100%;
        overflow: scroll;
    }
    
    .cosaka-modal-name {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 1rem;
        width: 100%;
        background: var(--p-color-00);
        position: sticky; 
        top: 0; 
        z-index: 10; /* 他の要素の上に配置 */
    }
    
    .cosaka-modal-name-jp {
        font-size: 2rem;
        font-weight: 700;
        width: fit-content;
        line-height: 1;
        margin-bottom: 1rem;
    }
    
    .cosaka-modal-name-en {
        font-family: var(--font-e);
        font-size: 1rem;
        font-weight: 400;
        width: fit-content;
        line-height: 1;
        margin-bottom: 1rem;
    }
    
    .cosaka0-modal-content {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
        gap: 2rem;
        padding-top: 1rem;
    }
    
    .cosaka-modal-img {
        width: 48%;
        height: auto;
    }
    
    .cosaka-modal-img > img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border: 1px solid var(--p-color-03);
        border-radius: 1rem;
    }
    
    .cosaka-modal-text > table {
        margin-bottom: 1.6rem;
    }
    
    .cosaka-modal-text > table .career-year {
        margin-right: 1rem;
        text-align: left;
        width: 5rem;
    }
    
    .cosaka-modal-text > table td {
        text-align: left;
        align-items: center;
        display: table-cell;
        vertical-align: middle;
    }
    
    .cosaka-doctor-sns {
        display: flex;
        width: auto;
        justify-content: flex-start;
        gap: 1.2rem;
        margin-top: 1rem;
        padding-bottom: 1rem;
    }

    .cosaka-doctor-sns img {
        height: 1.6rem;
        width: auto;
    }

    .cosaka-doctor-modal .archive-case-list-sc,
    .cosaka-doctor-modal .archive-case-list {
        padding: 0 0 1rem 0;
    }
} 


#cosaka-calendar {

}

#cosaka-calendar-area {
    width: 100%;
    height: auto;
}

#cosaka-calendar .link-j-right-arrow-bl {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

@media only screen and (min-width: 768px) {
    #cosaka-calendar {

    }

    #cosaka-calendar-area {
        width: 50%;
        height: auto;
    }
    #cosaka-calendar .link-j-right-arrow-bl {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-top: 1rem;
    }
}

#cosaka-access {

}

.cosaka-access-block {
    width: 100%;
}

@media only screen and (min-width: 768px) {
    #cosaka-access {

    }

    .cosaka-access-block {
        width: 100%;
    }
}