/*------------------------
header
----------------------------*/
.header-container {
    display: flex;
    justify-content: space-between;
    padding-inline: clamp(20px, 2.66vw, 50px);
    padding-block: 30px;
    align-items: center;
    position: relative;
}

.header-img {
    position: absolute;
    width: 100%;
    top: 0;
    transform: translateY(-40%);
    right: 0;
}

.header-title {
    width: clamp(200px, 15.957vw, 300px);
    position: relative;
    z-index: 9999;
}

.header-title img {
    width: 100%;
}

.header-btn__container {
    display: flex;
    column-gap: 50px;
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 9999;
}

.header-btn__inner {
    border: 3px solid #333;
    border-radius: 10px;
    background: #ffffff;
    transition: 0.3s ease;
    padding-inline: 20px;
    padding-block: 15px;
    white-space: nowrap;
}

.header-btn__inner p {
    transition: 0.3s ease;
    font-weight: bold;
}

.header-btn__inner:hover {
    background: #333;
}

.header-btn__inner:hover p {
    color: #fff;
}

.header-btn__inner:nth-child(3) {
    display: none;
}

/*================
=================*/
@media (max-width: 1299px) {
    .header-btn__inner:nth-child(2) {
        display: none;
    }

    .header-btn__inner:nth-child(4) {
        display: none;
    }

    .header-btn__inner:nth-child(5) {
        display: none;
    }

    .header-btn__container {
        right: 0;
        writing-mode: vertical-lr;
    }

    .header-btn__inner {
        border-radius: 10px 0 0 10px;
    }
}

/*------------------------
page nav
----------------------------*/
.page-nav {
    display: flex;
    gap: 0 22px;
    padding: 0;
    font-size: 1.2em;
    position: relative;
    justify-content: flex-end;
    margin-right: 50px;
}

.page-nav li {
    display: flex;
    align-items: center;
}

.page-nav li:first-child::before {
    display: inline-block;
    width: 30px;
    height: 17px;
    margin-right: 4px;
    background-image: url("../img/page-nav.svg");
    background-repeat: no-repeat;
    content: "";
}

.page-nav li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    content: "";
    flex: 0 0 auto;
}

/*================
=================*/
@media (max-width: 1299px) {
    .page-nav {
        margin-right: 80px;
    }
}

/*------------------------
menu
----------------------------*/
/* 下の固定ボタン */
.fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    padding: 20px 25px;
    background: #ffffff;
    color: #333;
    border-radius: 10px;
    cursor: pointer;
    transition: bottom 0.3s ease, 0.3s ease;
    z-index: 9999;
    font-size: 2rem;
    border: 3px solid #333;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.fixed-btn::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    left: 0;
    z-index: -1;
    top: 0;
    border-radius: 10px;
    opacity: 0.5;
}

.fixed-btn::after {
    content: "";
    position: absolute;
    background-image: url("../img/search.svg");
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -2;
    opacity: 0;
    transition: 0.3s ease;
}

.fixed-btn:hover::after {
    opacity: 1;
}

/* 下から出るメニュー */
.bottom-menu {
    position: fixed;
    bottom: -200px;
    /* メニューの高さ分隠す */
    left: 0;
    width: 100%;
    height: 200px;
    /* メニューの高さ */
    background: #00000040;
    transition: bottom 0.3s ease;
    z-index: 9999;
    border-radius: 50px 50px 0 0;
}

.bottom-menu ul {
    display: flex;
    justify-content: space-around;
    font-size: 2rem;
    padding-block: 50px;
    width: 80%;
    margin-inline: auto;
    max-width: 100%;
}

.bottom-menu li {
    border: 3px solid#333;
    border-radius: 10px;
    background: #fff;
    position: relative;
    z-index: 100;
}

.bottom-menu a {
    padding: 15px 25px;
}

/* メニューが開いた状態 */
#open:checked~.bottom-menu {
    bottom: 0;
}

/* メニューが開いたら、ボタンも上げる */
#open:checked~.fixed-btn {
    bottom: 220px;
    /* 200px + 余白20px */
}

.zinbutu {
    position: relative;
}

.zinbutu::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    opacity: 0.5;
    background: #fff;
    z-index: -1;
}

.zinbutu::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("../img/boy.svg");
    top: 0;
    left: 0;
    z-index: -2;
    opacity: 0;
    transition: 0.3s ease;
}

.zinbutu:hover::after {
    opacity: 1;
}

.basyo {
    position: relative;
}

.basyo::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    z-index: -1;
    background: #fff;
    opacity: 0.5;
}

.basyo::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("../img/house.svg");
    top: 0;
    left: 0;
    z-index: -2;
    transition: 0.3s ease;
    opacity: 0;
}

.basyo:hover::after {
    opacity: 1;
}

.ibento {
    position: relative;
}

.ibento::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0;
    left: 0;
    border-radius: 10px;
    z-index: -1;
    opacity: 0.5;
}

.ibento::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("../img/birthday-hat.svg");
    top: 0;
    left: 0;
    z-index: -2;
    opacity: 0;
    transition: 0.3s ease;
}

.ibento:hover::after {
    opacity: 1;
}

.icon {
    position: relative;
}

.icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    border-radius: 10px;
    opacity: 0.5;
    z-index: -1;
}

.icon::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("../img/medical-record.svg");
    z-index: -2;
    opacity: 0;
    transition: 0.3s ease;
}

.icon:hover::after {
    opacity: 1;
}

.food {
    position: relative;
}

.food::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    z-index: -1;
    border-radius: 10px;
    opacity: 0.5;
}

.food::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("../img/rice.svg");
    z-index: -1;
    transition: 0.3s ease;
    opacity: 0;
}

.food:hover::after {
    opacity: 1;
}

.animaru {
    position: relative;
}

.animaru::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: #fff;
    opacity: 0.5;
    z-index: -1;
}

.animaru::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    background-image: url("../img/cat.svg");
    transition: 0.3s ease;
    opacity: 0;
}

.animaru:hover::after {
    opacity: 1;
}

/*------------------------
main
----------------------------*/
.main-container {
    display: flex;
    padding-inline: 50px;
    margin-block: 50px;
    /* height: 70vh; */
}

.main-left {
    width: 50%;
}

.main-right {
    width: 50%;
}

.image {
    width: clamp(250px, 66.741vw, 600px);
    margin-inline: auto;
    border: 5px solid #b7b7b7;
    padding: 30px;
    margin-bottom: 50px;
    border-radius: 10px;
}

.btn-wrapper {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin-inline: auto;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-inner {
    font-size: clamp(1.8rem, 2.781vw, 2.5rem);
    background: #ff9fd0;
    border: 3px solid #333;
    border-radius: 10px;
    box-shadow: 2px 2px;
}

.btn-inner a {
    padding-block: 15px;
    padding-inline: 70px;
}

.btn-inner:hover {
    transform: translateY(2px) translateX(2px);
    box-shadow: none;
}

.title-wrapper {
    margin-left: 50px;
    margin-bottom: 50px;
}

.visually-hidden {
    font-size: 0.7rem;
    margin-bottom: 10px;
    color: #333;
}

.section-title p {
    font-weight: bold;
    font-size: 3rem;
}

.section-title {
    margin-bottom: 10px;
}

.discription p {
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
}

.discription {
    margin-left: 10px;
}

.use-text p {
    font-size: 1.5rem;
    margin-top: 30px;
}

.use-text {
    margin-left: 10px;
}

/*================
=================*/
@media (max-width: 1499px) {
    .main-container {
        flex-direction: column;
    }

    .main-left {
        width: 100%;
    }

    .main-right {
        width: 100%;
    }

    .title-wrapper {
        margin-block: 50px;
        text-align: center;
        margin-left: 0;
    }

    .use-text {
        width: 100%;
        text-align: center;
    }
}

/*------------------------
banner
----------------------------*/
.banner-flex {
    display: flex;
    justify-content: center;
    padding-inline: 20px;
}

.banner-wrapper {
    margin-block: 50px;
    width: 50%;
    animation: powapowa 3s ease-in-out infinite;
}

.banner-inner {
    width: clamp(400px, 37.234vw, 700px);
    margin-inline: auto;
    transition: 0.3s ease;
}

.banner-inner img {
    width: 100%;
    height: 100%;
}

.banner-wrapper:first-child .banner-inner {
    border: 14px solid #06c755;
    border-radius: 20px;
    padding: 20px;
}

.banner-wrapper:last-child .banner-inner {
    border: 14px solid #068dc7;
    border-radius: 20px;
    padding: 20px;
}

@keyframes powapowa {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.99);
    }

    100% {
        transform: scale(1);
    }
}

.banner-wrapper:hover {
    animation-play-state: paused;
}

.banner-inner:hover {
    transform: scale(1.03);
}

/*================
=================*/
@media (max-width: 899px) {
    .banner-flex {
        flex-direction: column;
    }

    .banner-inner {
        width: clamp(250px, 77.864vw, 700px);
    }

    .banner-wrapper {
        width: 100%;
        margin-block: 10px;
    }
}

/*------------------------
footer
----------------------------*/
.footer-container {
    background: #aacfed;
    padding-block: 50px;
}

.footer-inner img {
    width: clamp(200px, 31.915vw, 600px);
    margin-left: 50px;
}

.footer-nav ul {
    display: flex;
    justify-content: space-around;
}

.footer-nav li {
    position: relative;
    font-size: 2rem;
    margin-block: 40px;
    border: 2px solid #333;
    background: #ffffff69;
    border-radius: 10px;
    box-shadow: 4px 3px #627e95b8;
    transition: 0.2s ease,
}

.footer-nav a {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding-inline: 30px;
    padding-block: 15px;
}

.footer-nav li:hover {
    box-shadow: none;
    transform: translateX(4px) translateY(3px);
}

.copy {
    font-size: 1.5rem;
    text-align: center;
    margin-block: 50px;
}

/*================
=================*/
@media (max-width: 899px) {
    .footer-nav ul {
        flex-direction: column;
        padding-inline: 20px;
        margin-block: 40px;
    }

    .footer-nav li {
        border: none;
        border-top: 2px solid #333;
        box-shadow: none;
        background: none;
        padding-block: 30px;
        margin-block: 0;
        text-align: center;
        border-radius: 0;
    }
}