.header {
    z-index: 99;
    position: fixed;
    background-color: #ffffff80;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    margin-top: 20px;
    backdrop-filter: blur(40px);
    display: grid;
    grid-template: "title  .       tagline .   menu    .       banner" 20px "title  .       search  .   menu    .       banner" auto /166px 14px auto 1fr auto 23px 315px;
    align-items: center
}

@media (max-width:900px) {
    .header {
        padding: 10px 15px;
        background-color: #ffffff80;
        grid-template: "title  menu" auto /1fr 52px;
        row-gap: 16px
    }

    .header:has(.header-menu_open_checkbox:checked) {
        grid-template: "title  menu" auto "nav    nav" auto "banner banner" auto /1fr 52px
    }

    .header:has(.header-menu_open_checkbox:not(:checked)) .header-menu,
    .header:has(.header-menu_open_checkbox:not(:checked)) .header-banner {
        display: none
    }
}

.header-site_title {
    grid-area: title
}

@media (max-width:900px) {
    .header-site_title {
        z-index: 90
    }
}

.header-site_tagline {
    grid-area: tagline;
    font-family: Zen Maru Gothic;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%
}

@media (max-width:900px) {
    .header-site_tagline {
        display: none
    }
}

.header-search {
    grid-area: search;
    display: flex;
    border-left: 1px solid #00AAD4;
    border-top: 1px solid #00AAD4;
    border-bottom: 1px solid #00AAD4;
    border-right: none;
    border-radius: 21px
}

@media (max-width:900px) {
    .header-search {
        display: none
    }
}

.header-search_input {
    border: none;
    width: calc(277px - 42px);
    height: 42px;
    background: none;
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-indent: 9px
}

.header-search_button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 42px;
    height: 42px;
    border: none;
    background: #00AAD4;
    border-radius: 100%;
    border: none;
    background: #00AAD4 url(../asset/common/search_icon.svg) no-repeat center/contain;
    background-size: 22px 24px;
    padding: 0;
    margin: 0;
    color: transparent
}

.header-menu {
    grid-area: menu;
    font-family: Zen Maru Gothic;
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: 0%;
    text-align: center
}

@media (max-width:900px) {
    .header-menu {
        grid-area: nav;
        display: block;
        width: 100%
    }
}

.header-menu_list {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 23px
}

@media (max-width:900px) {
    .header-menu_list {
        flex-direction: column;
        align-items: stretch
    }
}

@media (max-width:900px) {
    .header-menu_item {
        width: 100%
    }
}

.header-menu_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 2em;
    text-align: center;
    text-decoration: none;
    color: black
}

@media (max-width:900px) {
    .header-menu_link {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 20px;
        min-height: unset
    }
}

.header-menu_text {
    height: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.header-menu_button {
    display: none;
    width: 52px;
    height: 38px;
    background: url("../asset/header/menu_open.svg") no-repeat center/contain;
    z-index: 80
}

@media (max-width:900px) {
    .header-menu_button {
        grid-area: menu;
        display: block
    }
}

.header-menu_button:has(*:checked) {
    width: 39px;
    height: 39px;
    background: url("../asset/header/menu_close.svg") no-repeat center/contain
}

.header-menu_open_checkbox {
    display: none
}

.header-banner {
    grid-area: banner;
    background: linear-gradient(90deg, #FB3333 0%, #F93AA9 100%);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration-line: none;
}

.header-banner-text {
    color: white;
    text-decoration-line: none;
    margin: 15px 0px;
}

@media (max-width:900px) {
    .header-banner {
        width: 100%
    }
}

.header-banner_img {
    width: 100%;
    margin: auto
}

/* =========================================================
   アナウンス詳細モーダル
   ========================================================= */
.smakoe-announce {
    width: 100%;
    background: white;
    border: none;
    height: 8vh;
    font-size: 3vh;	
	text-decoration: underline;
}

.smakoe-modal {
    z-index: 1000;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.smakoe-modal[hidden] {
    display: none;
}

.smakoe-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}

.smakoe-modal__dialog {
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    width: min(1280px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    padding: 44px 40px 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    color: #333;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.9;
}

.smakoe-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: #666;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.smakoe-modal__close:hover {
    color: #111;
}

.smakoe-modal__title {
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #00AAD4;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.smakoe-modal__body p {
    margin: 0 0 18px;
    font-size: 15px;
}

.smakoe-modal__signoff {
    margin-bottom: 0;
    text-align: right;
}

@media (max-width:900px) {
	.smakoe-announce {
		font-size: 2vh;
	}
	
    .smakoe-modal__dialog {
        padding: 48px 20px 24px;
        border-radius: 12px;
    }

    .smakoe-modal__title {
        font-size: 17px;
    }

    .smakoe-modal__body p {
        font-size: 14px;
    }
}