/* ヘッダー全体のスタイル */
.header {
    width: 100%;
    background-color: #6AC15D;;
    border-radius: 0 0 15px 15px;
    position: relative;
    padding: 0;
    margin: 0;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ヘッダー内部のスタイル */
.header_inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* ロゴのスタイル */
.logo {
    width: 180px;
    object-fit: contain;
    filter: 
    drop-shadow(0 0 0 #FEFBF6)
    drop-shadow(1px 0 0 #FEFBF6)
    drop-shadow(-1px 0 0 #FEFBF6)
    drop-shadow(0 1px 0 #FEFBF6)
    drop-shadow(0 -1px 0 #FEFBF6)
    drop-shadow(1px 1px 0 #FEFBF6)
    drop-shadow(-1px 1px 0 #FEFBF6)
    drop-shadow(1px -1px 0 #FEFBF6)
    drop-shadow(-1px -1px 0 #FEFBF6)
    drop-shadow(1.1px 0 0 #FEFBF6)
    drop-shadow(-1.1px 0 0 #FEFBF6)
    drop-shadow(0 1.1px 0 #FEFBF6)
    drop-shadow(0 -1.1px 0 #FEFBF6);
}

/* 検索バーのスタイル */
.search-bar {
    width: 450px;
    height: 40px;
    border-radius: 32px;
    background-color: #FFFFFF;
    box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 20px;
    border: none;
    margin-left: 30px;
}

.search-input {
    width: 100%;
    height: 100%;
    border: none; /* 枠線を削除 */
    background: transparent; /* 背景を透明に */
    outline: none; /* 選択時の青い枠を削除 */
    font-size: 18px;
    padding: 0;
}

/* 虫眼鏡アイコンのスタイル */
.search-icon {
    width: 24px;
    height: 24px;
    margin-left: auto;
}

/* 新規作成ボタン */
.create-button {
    width: 130px;
    height: 43px;
    border-radius: 21px;
    background-color: #EDCF3B;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 20px;
    color: #625651;
    border: none;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

/* ログインボタン */
.login-button {
    width: 130px;
    height: 43px;
    border-radius: 21px;
    background-color: #EDCF3B;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 20px;
    color: #625651;
    border: none;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}
.header-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    }
/* 波線のスタイル */
.header_wave {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: -30;
    left: 0;
    z-index: -1;
    gap: -10px;
}

.header_wave .wave-box,
.footer_wave .wave-box
{
    width: 170px;
    height: 180px;
    background-color: #6AC15D;
    border-radius: 0 0 65px 65px; /* 下2つの角を丸くする */
    margin-left: -10px;
}

html, body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.footer {
    margin-top: auto;
    width: 100%;
    border-radius: 15px 15px 0px 0px;
    position: relative;
    padding: 0;
}

.footer_inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 130px;
    padding: 0 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}
/* 波線のスタイル */
.footer_wave {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: -30px;
    left: 0;
    z-index: -1;
    gap: -10px;
}

.footer_wave .wave-box {
    width: 170px;
    height: 180px;
    background-color: #4FB7DB;
    border-radius: 65px 65px 0px 0px; /* 上2つの角を丸くする */
    margin-left: -10px;
}

.guidelines_links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 24px;
    position: relative;
    height: 100px;
    gap: 90px;
}

.guidelines_link {
    position: static;
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
}

.guidelines_link:hover {
    text-decoration: underline;
}

.guidelines_link.scroll {
    left: 669px;
    top: 59px;
}

.guidelines_link.guideline {
    left: 980px;
    top: 59px;
}

.footer_copyright {
    text-align: center;
    width: max-content;
    font-size: 14px;
    color: #FFFFFF;
    position: absolute; /* 絶対配置で下に固定 */
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.create-button img,
.login-button img {
    display: none;
}

@media (max-width: 768px){
    .header_inner{
    flex-direction:row;
    height:auto;
    padding: 20px;
    gap: 20px;
    }

    .logo{
    width: 140px;
    }

    .header_wave .wave-box,
    .footer_wave .wave-box
    {
    height: 110px;
    }

    .search-bar, .create-button, .login-button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #EDCF3B;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    /* 中のテキストやinputはスマホ時は非表示に */
    .search-input {
        display: none;
    }
    .create-button::after,
    .login-button::after {
        display: none;
    }

    .search-bar img,
    .create-button img,
    .login-button img {
        display:block;
        width: 20px;
        height: 20px;
        object-fit: contain;
    }
    .button-text {
        display: none;
    }

    .footer_inner{
    flex-direction:column;
    align-items: center;
    height: auto;
    padding: 20px;
    gap: 10px;
    }

    .footer_links {
    flex-direction: column;
    gap: 10px;
    }

    .footer_wave .wave-box {
    width: 80px;
    height: 180px;
    border-radius: 40px 40px 0 0;
    }

    .footer_copyright {
    font-size: 8px;
    bottom: 5px;
    }
}