.header_pc_only {
    display: block;
}

.header_sp_only {
    display: none;
}


@media screen and (max-width: 699.98px) {
    .header_pc_only {
        display: none;
    }

    .header_sp_only {
        display: block;
    }
}
.header_container{
    padding-bottom:3rem;
}
.header_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0rem 2.5rem;
}

.header_logo_box,
.footer_logo_box {
    width: 30rem;
    height: 10rem;
}

.header_contact_box {
    display: flex;
    align-items: center;
}


    

.header_tel {
    font: 3rem/4.4rem "Noto Serif JP";
    color: #000000;
    margin-left: 1rem;
    padding-bottom:0.8rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.header_webbutton {
    font: 3rem/4.4rem "Noto Serif JP";
    color: #ffffff;
    background-color: #C80081;
    padding: 0.3rem 3.5rem;
    margin-left: 6.4rem;
    border-radius: 3rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.header_webbutton:hover {
    background-color: #C95CA2;
}

.header_tel_icon,
.footer_tel_icon img {
    width: 3rem;
    height: 3rem;
    margin-top: 1rem;
    
}
.header_tel_icon img{
    width:3.5rem;
    height:auto;
    position:relative;
    bottom:0.9rem;
    right:1.8rem;
}
.header_link_box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_link_list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    margin-top: 2.2rem;
}

.header_link_item {
    font: 1.6rem/2.3rem "Noto Serif JP";
    color: #000000;
    position: relative;
}

.header_link_item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.05rem;
    height: 1.6rem;
    background-color: #000000;
}

.header_link_item:hover {
    color: #C95CA2;
}

@media screen and (max-width: 699.98px) {
    .header_pc_only {
        display: none;
    }

    .header_sp_only {
        display: block;
    }

    .header_logo_box {
        width: 17.5rem;
        height: 5.8rem;
    }
}

/* ハンバーガーメニュー */
.hamburger_menu {
    width: 4.8rem;
    height: 4.8rem;
    position: relative;
    background-color: #C80081;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    border-radius: 0.4rem;
}

.hamburger_bar {
    display: block;
    width: 3.5rem;
    height: 0.1rem;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.hamburger_bar:nth-child(1) {
    top: 1.3rem;
}

.hamburger_bar:nth-child(2) {
    top: 50%;
}

.hamburger_bar:nth-child(3) {
    bottom: 1.3rem;
}

/* メニューオープン時のハンバーガーメニュー */
.hamburger_menu.active .hamburger_bar:nth-child(1) {
    transform: translate(-50%, 0) rotate(45deg);
    top: 50%;
}

.hamburger_menu.active .hamburger_bar:nth-child(2) {
    opacity: 0;
}

.hamburger_menu.active .hamburger_bar:nth-child(3) {
    transform: translate(-50%, 0) rotate(-45deg);
    bottom: 50%;
}

/* スマホ用ナビゲーション */
.sp_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 71%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding-top: 9rem;
    overflow-y: auto;
}

.sp_nav.active {
    opacity: 1;
    visibility: visible;
}

.sp_nav_content {
    padding: 0rem;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.1s;
    opacity: 0;
}

.sp_nav.active .sp_nav_content {
    transform: translateY(0);
    opacity: 1;
}

/* メニューアイテムのアニメーション */
.sp_nav_item {
    margin-bottom: 0.7rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sp_nav.active .sp_nav_item {
    opacity: 1;
    transform: translateY(0);
}

/* 各メニューアイテムに遅延を設定 */
.sp_nav_item:nth-child(1) {
    transition-delay: 0.1s;
}

.sp_nav_item:nth-child(2) {
    transition-delay: 0.15s;
}

.sp_nav_item:nth-child(3) {
    transition-delay: 0.2s;
}

.sp_nav_item:nth-child(4) {
    transition-delay: 0.25s;
}

.sp_nav_item:nth-child(5) {
    transition-delay: 0.3s;
}

.sp_nav_item.sp_nav_tel {
    transition-delay: 0.35s;
}

.sp_nav_item.sp_nav_button {
    transition-delay: 0.4s;
}

.sp_nav_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp_nav_item a {
    font: 1.6rem/2.3rem "Noto Serif JP";
    color: #000;
    text-decoration: none;
    display: block;
    padding: 0.3rem 3rem;
    transition: color 0.3s ease;
    margin-bottom:2.1rem;
}
.ham_sp_tel{
    margin-bottom:0.7rem!important;
}
.sp_nav_item a:hover {
    color: #C95CA2;
}

.sp_nav_tel {
    margin-top: 5rem;
    margin-bottom: 0rem;
}

.sp_nav_tel::before {
    content: "";
    display: block;
    width: 90%;
    height: 0.1rem;
    background-color: #000;
    margin-top: 0.5rem;
    position: relative;
    top: -2.3rem;
    left:5%;
}

.sp_nav_tel_icon {
    font-size: 2.4rem;
    vertical-align: top;
    margin-right: 0rem;

}
.sp_nav_tel_icon img{
    width: 2.4rem !important;
    height:auto !important;
  
}
.sp_nav_item a:nth-of-type(6) {
    margin-bottom:1rem;
}
.sp_nav_tel_number {
    font: normal normal normal 2rem/2.9rem "Noto Serif JP";
    color: #000;
    text-decoration: none;
}

.sp_nav_button {
    margin: 0 auto;
    margin-top: 0rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sp_webbutton {
    display: inline-block;
    font: 1.8rem/2.9rem "Noto Serif JP" !important;
    color: #ffffff !important;
    background-color: #C80081 !important;
    padding: 0.1rem 2.5rem !important;
    border-radius: 3rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    letter-spacing:0.16rem;
}

.sp_webbutton:hover {
    background-color: #b54c8c;
    color: #fff;
}

@media screen and (max-width: 699.98px) {
    .header_container{
        padding-bottom: 0rem;
    }
    .header_box {
        justify-content: space-between;
        align-items: center;
        padding: 0.3rem 0rem;
        position: relative;
        z-index: 1000;
        margin:0rem 1rem;
    }

    .sp_nav_tel_icon img {
        width: 2.4rem;
        height: 3.4rem;
    }
}