.ao-footer__container {
    background: #F2FFEF;
    border-radius: 100px 100px 0 0;
    padding-top: 12rem;
    margin-top: 9.6rem;
}

.ao-footer__logo--pc {
    margin-bottom: 3rem;
    width: 382px;
}

/* メニュー */
.ao-footer__menu {
    max-width: 60rem;
    width: 60%;
    order: 1;
}

.ao-footer__menu-title a {
    font-size: 2rem;
    font-weight: bold;
    color: #333333;
    line-height: 1em;
    text-decoration: none;
    position: relative;
}

.ao-footer__menu-title a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #333333;
}

.ao-footer__menu-detail {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
}

.ao-footer__menu-detail-title {
    margin: 0 0 0.8rem 0;
}

.ao-footer__menu-detail-title a {
    font-size: 1.5rem;
    color: #605757;
}

.ao-footer__menu-item--single {
    display: flex;
    justify-content: space-between;
    width: 43%;
}

.ao-footer__menu-item--single-left p,
.ao-footer__menu-item--single-right p {
    margin-bottom: 2rem;
}

/* お問い合わせ */
.ao-contact {
    width: 35%;
    position: relative;
}

.ao-contact__txt {
    font-size: 1.7rem;
    color: #605757;
    margin: 2.4rem 0 0.7rem;
    font-weight: 500;
    line-height: 1.47;
}

.ao-contact__txt.mail-text {
    margin-top: 2rem;
}

.ao-contact__txt:nth-of-type(1){
    position: absolute;
    top: -3.2rem;
    margin: 0;
}

.ao-contact-link-btn {
    display: block;
    max-width: 35rem;
    width: 100%;
    height: 6rem;
    line-height: 6rem;
    margin: 0;
    background-color: #56C68E;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 100vh;
    position: relative;
    padding-left: 12.8rem;
}

.link-btn__circle--mail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ao-contact__tel {
    display: flex;
    width: 100%;
}

.ao-contact__tel--icon {
    display: block;
    background-color: #8E9B96;
    width: 6rem;
    height: 7.6rem;
    border-radius: 5px 0 0 5px;
}

.ao-contact__tel--icon img {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ao-contact__tel--info {
    display: block;
    background-color: #fff;
    width: 29rem;
    height: 7.6rem;
    border-radius: 0 5px 5px 0;
}

.ao-contact__tel--time {
    font-size: 1.5rem;
    color: #333333;
    margin: 0.8rem 0 0 1.5rem;
    font-family: Overpass;
    line-height: 1.43;
}

.ao-contact__tel--time span{
    font-size: 1.4rem;
    display: inline-block;
    padding-right: 0.5rem;
}

.ao-contact__tel--number {
    font-size: 3.6rem;
    font-weight: bold;
    color: #605757;
    margin: 5px 0 0 1.5rem;
    line-height: 1; 
    font-family: Overpass;
}

.footer-mail .ao-contact__tel--info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-mail .ao-contact__tel--number {
    font-size: 2.0rem;
    margin: unset;
}

/* 関連施設 */
.ao-related-facilities {
    margin-bottom: 3rem;
}

.ao-related-facilities__list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
}

.ao-related-facilities__item {
    width: calc(calc(100% / 4) - 1.9rem);
    height: 12rem;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    display: flex;
    position: relative;
    z-index: 5;
}

.ao-facilities-fuukushima {
    background-image: url(../../image/pc/common/pc_facilities_fukujyukai.jpg);
}

.ao-facilities-happyland {
    background-image: url(../../image/pc/common/pc_facilities_seine.jpg);
}

.ao-facilities-miyabe {
    background-image: url(../../image/pc/common/pc_facilities_miyabe.jpg);
}

.ao-facilities-fukujukai {
    background-image: url(../../image/pc/common/pc_facilities_sugi-hospital.jpg);
}

.ao-related-facilities__item a {
    max-width: 318px;
    width: 100%;
    display: flex;
    font-size: 2rem;
    font-weight: 500;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
    text-shadow: 0px 0px 18px rgba(0,0,0,0.16);

    position: relative;
    z-index: 7;
}

.ao-related-facilities__item a img {
    position: absolute;
    top: 1.6rem;
    right: 1.7rem;
    z-index: 7;
}

.ao-privacy-policy__link {
    order: 2;
}

.ao-privacy-policy__link ul {
    display: flex;
    gap: 5px;
    padding: unset;
}

.ao-privacy-policy__link li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}

/* SNSリンク */
.ao-sns__link {
    display: flex;
    gap: .5rem;
    order: 1;
    position: absolute;
    right: 17.5rem;
}

.ao-sns__link--icon {
    width: 5rem;
    height: 5rem;
}

.ao-sns__link--icon img {
    width: 100%;
}

.ao-copy {
    font-size: 1.4rem;
    color: #605757;
    margin: unset;
}

/* flex */
.ao-footer--top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    margin-top: 8.2rem;
    padding-right: 35px;
}

.ao-footer__menu--flex {
    display: flex;
    justify-content: space-between;
}

.ao-footer--bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-bottom: 4rem;
}

@media screen and (max-width: 1024px) {
    .ao-footer__container {
        border-radius: 40px 40px 0 0;
        padding-top: 3.2rem;
        margin-top: 4rem;
    }

    .ao-footer__logo {
        margin-bottom: 5rem;
    }

    .ao-footer__logo--sp {
        margin: 0 auto;
        width: 315px;
    }

    /* メニュー */
    .ao-footer__menu {
        width: 100%;
        flex-direction: column;
        padding: 0;
        padding-bottom: 5rem;
        margin-bottom: 3rem;
        border-bottom: 1px dashed #707070;
        max-width: unset;
    }

    .ao-footer__menu-title {
        margin: 0;
        display: inline;
    }

    .ao-footer__menu-title a {
        font-size: 1.7rem;
    }

    .ao-footer__menu-detail {
        padding: 0;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.8rem 2rem;
        margin: 2.1rem 0 2.7rem;
        flex-direction: inherit;
    }

    .ao-footer__menu-detail-title {
        margin: 0;
    }

    .ao-footer__menu-item--single {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 3rem;
    }

    .ao-footer__menu-item--single-left,
    .ao-footer__menu-item--single-right {
        display: flex;
        gap: 3rem;
    }

    .ao-footer__menu-item--single-left p,
    .ao-footer__menu-item--single-right p {
        margin-bottom: 0;
    }

    /* お問い合わせ */
    .ao-contact {
        width: 100%;
    }

    .ao-contact__txt {
        text-align: center;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .ao-contact__txt:nth-of-type(1){
        position: static;
        margin-bottom: 1rem;
        line-height: 1.43;
    }

    .ao-contact-link-btn {
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 3rem;
        font-size: 1.8rem;
    }

    .ao-contact__tel:nth-of-type(1) {
        justify-content: center;
    }

    .ao-contact__tel:nth-of-type(2) {
        justify-content: center;
        margin-bottom: 4.6rem;
    }

    .ao-contact__tel--info {
        max-width: 29rem;
        width: 81%;
    }

    .ao-contact__tel--time {
        font-size: 1.2rem;
        margin: 1.1rem 0 0 1.6rem;
    }

    .ao-contact__tel--number {
        font-size: 3.2rem;
        margin: .1rem 0 0 1.5rem;
        line-height: 1.25;
    }

    /* 関連施設 */
    .ao-related-facilities {
        margin-bottom: 3.4rem;
    }

    .ao-related-facilities__txt {
        text-align: center;
        font-size: 1.4rem;
        color: #605757;
        margin-bottom: 1rem;
        font-weight: 500;
    }

    .ao-related-facilities__list {
        max-width: 35rem;
        gap: 1.5rem;
        margin: 0 auto;
    }

    .ao-related-facilities__item {
        width: 47%;
        height: 8.5rem;
    }

    .ao-facilities-fuukushima {
        background-image: url(../../image/sp/common/fukujukai.jpg);
    }

    .ao-facilities-happyland {
        background-image: url(../../image/pc/common/pc_facilities_seine.jpg);
    }

    .ao-facilities-miyabe {
        background-image: url(../../image/sp/common/miyabe.jpg);
    }

    .ao-facilities-fukujukai {
        background-image: url(../../image/sp/common/hospital.jpg);
    }

    .ao-related-facilities__item a {
        font-size: 1.4rem;
    }

    .ao-related-facilities__item a img {
        top: .6rem;
        right: .6rem;
    }

    .ao-privacy-policy__link {
        margin-bottom: 1.7rem;

        display: flex;
        justify-content: center;
    }

    /* SNSリンク */
    .ao-sns__link {
        justify-content: center;
        padding: 0;
        margin-bottom: 2.7rem;
        position: initial;
    }


    .ao-copy {
        font-size: 1.2rem;
        text-align: center;
        margin: 0;
        line-height: 1.416;
    }

    /* flex */
    .ao-footer--top {
        display: block;
        margin-bottom: 0;
        margin-top: 5.5rem;
        padding-right: unset;
    }

    .ao-footer__menu--flex {
        width: 100%;

        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .ao-footer--bottom {
        display: block;
        padding-bottom: 2.9rem;
    }

    .ao-related-facilities__item a {
        padding-right: unset;
    }

    .ni-footer__external-link-title {
        text-align: center;
        font-family: "Noto Sans CJK JP";
        font-size: 1.4rem;
        margin: 0.6rem 0;
    }
    .ni-footer__external-link {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        font-family: "Noto Sans CJK JP";
        font-size: 1.4rem;
        font-weight: bold;
        text-shadow: 0px 3px 16px #00000033;
    }
    .ni-footer__external-link-list {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: gray;
        border-radius: 7px;
        width: calc(50% - 0.6rem);
        height: 8.5rem;
        margin: 0.6rem 0;
        color: white;
        text-decoration: none;
    }
    .ni-footer__external-link-list:nth-of-type(1),
    .ni-footer__external-link-list:nth-of-type(2),
    .ni-footer__external-link-list:nth-of-type(3),
    .ni-footer__external-link-list:nth-of-type(4) {
        background-size: cover;
        background-position: bottom;
    }
    .ni-footer__external-link-list:hover .ni-footer__external-link-list--icon-arrow {
        transform: translate(1px, -1px);
    }
    /* アイコン部分 */
    .ni-footer__external-link-list--icon {
        position: absolute;
        top: 6px;
        right: 6px;
        width: 12px;
        height: 12px;
        background-image: url(../image/sp/common/tab.svg);
    }
    .yk-exp-movingin__phone-content{
        width: 100%;
        display: flex;
        max-width: 315px;
        margin: 0 auto;
    }
    .yk-exp-movingin__phone-content--left{
        max-width: 55px;
        width: 100%;
        background-color: #A59584;
        border-radius: 0.5rem 0 0 0.5rem;
        position: relative;
    }
    .yk-exp-movingin__phone-content--left img{
        max-width: 25px;
        width: 100%;
        filter: brightness(0) invert(1);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        margin: auto;
    }
    .yk-exp-movingin__phone-content--right{
        width: calc(100% - 55px);
        background-color: #FFF;
        border-radius: 0 0.5rem 0.5rem 0;
    }
    .yk-exp-movingin__phone-content--right-inner{
        padding: 1.3rem 0 0.5rem 6%;
    }
    .yk-exp-movingin__phone-content--right-inner p{
        margin: 0;
        line-height: 1.3;
    }
    .yk-exp-movingin__phone-content--right-inner .text{
        font-size: 1.1rem;
    }
    .yk-exp-movingin__phone-content--right-inner .time{
        font-size: 1.1rem;
    }
    .yk-exp-movingin__phone-content--number{
        font-size: 2.5rem;
        color: #605757;
        font-weight: 600;
    }
    .ao-footer__menu-title a::after {
        bottom: 0;
    }
    .ao-contact__tel--time span {
        font-size: 1.2rem;
    }
    .ao-contact__tel--time span {
        padding-right: 3px;
    }
}

@media screen and (max-width: 550px) {
    .ao-footer__menu--flex {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 430px) {
    .footer-mail .ao-contact__tel--number {
        font-size: 2.1rem;
    }
}

@media screen and (max-width: 370px) {
    .ao-contact__tel--number {
        font-size: 3rem;
    }

    .footer-mail .ao-contact__tel--number {
        font-size: 1.9rem;
    }
}

@media screen and (max-width: 350px) {
    .footer-mail .ao-contact__tel--number {
        font-size: 2.2rem;
    }
}