/*------------------------
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;
    z-index: 9999;
}

.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;
    white-space: nowrap;
}

.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: 180px;
    /* メニューの高さ */
    background: #00000040;
    transition: bottom 0.3s ease;
    z-index: 9999;
}

.scroll {
    position: relative;
    opacity: 0;
}

.scroll span {
    display: inline-block;
    position: absolute;
    right: 100px;
    bottom: 10px;
    font-size: 1.8rem;
    color: #fff;
}

.scroll::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 80px;
    height: 1px;
    background: #fff;
    bottom: 20px;
    right: 0;
    transform-origin: left;
    transform: scale(0);
    animation: scrollbar 2s infinite;
}

@keyframes scrollbar {
    0% {
        transform: scaleX(0);
        opacity: 1;
    }

    60% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

/*================
=================*/
@media (max-width: 1050px) {
    .scroll {
        opacity: 1;
    }
}

.bottom-menu ul {
    display: flex;
    justify-content: space-around;
    font-size: 2rem;
    padding-block: 50px;
    width: 2015px;
    margin-inline: auto;
    max-width: 100%;
    overflow: hidden;
    overflow-x: auto;
    gap: 20px;
    white-space: nowrap;
}

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

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

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

.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;
    margin-block: 50px;
}

/*------------------------
left
----------------------------*/

.left {
    width: 70%;
    padding-inline: 30px;
}

.left-title {
    width: 70%;
    margin-inline: auto;
}

.left-title img {
    width: 100%;
    height: 100%;
}

.left-site__title h1 {
    font-size: clamp(2rem, 2.128vw, 4rem);
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.left-site__text {
    text-align: center;
    line-height: 2;
    margin-bottom: 50px;
}

.content-title {
    /* width: 800px; */
    /* height: 350px; */
    /* max-width: 100%; */
    /* margin-inline: auto; */
    padding: 30px;
    text-align: center;
}

.content-wrapper {
    background: #ededed;
    border-radius: 10px;
    padding-block: clamp(10px, 2.66vw, 50px);
}

.content-title img {
    width: clamp(400px, 42.553vw, 800px);
    /* height: 100%; */
    /* object-fit: contain; */
    border-radius: 10px;
}

.content-item__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 2.66vw, 50px);
    justify-content: center;
    margin-top: clamp(10px, 2.66vw, 50px);
    padding-inline: 10px;
}

.content-item {
    padding: clamp(10px, 1.596vw, 30px);
    background: #fff;
    border-radius: 10px;
}

.content-item img {
    width: clamp(100px, 10.638vw, 200px);
}

.right {
    width: 30%;
    padding-inline: 30px;
    margin-inline: auto;
    position: sticky;
    right: 50px;
    height: fit-content;
    top: 180px;
}

.right img {
    width: 80%;
}

/* PCでは link を非表示 */
.right .link {
    display: none;
}

/* =================
   レスポンシブ
================= */
@media (max-width: 899px) {
    .main-container {
        flex-direction: column;
    }

    .left {
        width: 100%;
        margin-top: 50px;
    }

    .left-title {
        width: 100%;
    }

    .right {
        order: -1;
        margin-inline: 0;
        width: clamp(300px, 66.741vw, 600px);
        top: 20px;
    }

    /* QRを消す */
    .right .qr {
        display: none;
    }

    /* linkを表示 */
    .right .link {
        display: inline-block;
    }

    .right .link img {
        background: #fff;
    }

    .content-title img {
        width: clamp(200px, 44.494vw, 400px);
    }
}

/*------------------------
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;
    }
}