@charset "utf-8";
/* CSS Document */

/* -----------------------------------------------
 [Global Normalize CSS]
-------------------------------------------------- */
/* /common/css/normalize.css */

/* -----------------------------------------------
 [Global Styles CSS]
-------------------------------------------------- */
/* /common/css/styles.css */

/* -----------------------------------------------
 [CSS for JavaScript]
-------------------------------------------------- */
/* for JavaScript Name
-------------------------------------------------- */

/* -----------------------------------------------
 [Exclusive use CSS]
-------------------------------------------------- */

/* header→contents_header（2026）
-------------------------------------------------- */
header.contents_header {
    background: url(/hanamizuki/wedding-img/common/bg_head_hanamizuki.png)
        no-repeat center top;
}
#logo-area {
    display: flex;
    margin: 0 auto;
    padding: 20px 0 20px 18px;
    width: 1000px;
    align-items: center;
    gap: 16px;
}
#logo {
    margin: 0;
    padding: 0;
    width: auto;
}
#hotel-top-link {
    color: #282424;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: underline;
    cursor: pointer;
}
#hotel-top-link:hover {
    text-decoration: none;
}
.contents_header h1 {
    margin: 55px auto 50px;
    text-align: center;
}
@media (max-width: 1023px) {
    header.contents_header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        position: relative;
    }
    header.contents_header h1 {
        width: 100%;
    }
    #logo-area {
        flex: 1;
        width: auto;
        margin: 0;
        padding: 12px 15px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    #logo {
        margin: 0;
        padding: 0;
        width: auto;
        flex: 0 0 auto;
    }
    .contents_header h1 {
        margin: 55px 25px 50px;
        img {
            max-width: 100%;
            height: auto;
        }
    }
}

/* main
-------------------------------------------------- */
#special_day,
#wedding_plan,
#bridal_photo {
    background: url(/hanamizuki/wedding-img/common/bg_contents.gif) no-repeat
        center bottom;
}
article {
    width: 1000px;
    margin: 0 auto;
    padding-bottom: 70px;
    @media (max-width: 1023px) {
        width: 100%;
        margin: 0 auto;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
}
article .contents_top {
    background: url(/hanamizuki/wedding-img/common/bg_contents_top.gif)
        no-repeat left top;
    padding-top: 19px;
    margin-bottom: 70px;
    @media (max-width: 1023px) {
        background-size: 100% auto;
        padding-top: min(19px, calc(19 / 994 * 100%));
    }
}
article .contents_bottom {
    background: url(/hanamizuki/wedding-img/common/bg_contents_bottom.gif)
        no-repeat left bottom;
    padding-bottom: 19px;
    @media (max-width: 1023px) {
        background-size: 100% auto;
        padding-bottom: min(19px, calc(19 / 994 * 100%));
    }
}
article .contents_inner {
    background: url(/hanamizuki/wedding-img/common/bg_contents_inner.gif)
        repeat-y left top;
    @media (max-width: 1023px) {
        background-size: 100% auto;
    }
}

#gnavi li.active {
    background: url(/hanamizuki/wedding-img/common/icon_navi_active.gif)
        no-repeat center 56px;
}

/* -----------------------------------------------
 [Hamburger Menu - SP（max-width: 1023px）]
-------------------------------------------------- */
#hamburger {
    display: none;
}

@media (max-width: 1023px) {
    #hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 44px;
        height: 44px;
        padding: 12px 8px;
        box-sizing: border-box;
        background: transparent;
        border: 1px solid #c6c6c6;
        border-bottom-width: 2px;
        border-radius: 3px;
        cursor: pointer;
        margin-right: 15px;
        flex-shrink: 0;
    }
    #hamburger span {
        display: block;
        width: 100%;
        height: 1px;
        background: #272424;
        border-radius: 1px;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }
    #hamburger.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    #hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    #hamburger.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    /* サブページ: ハンバーガーメニュー（header.contents_header 内） */
    header.contents_header #gnavi {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        margin-left: 0;
        z-index: 500;
        width: 100%;
    }
    header.contents_header #gnavi.open {
        display: block;
        height: auto;
    }
}

/* SVG clipPath定義用（TinyMCEがstyle属性を除去するためクラスで対応） */
.svg-clip-defs {
    position: absolute;
}
