/*
================================================================================


Header Styles
- ファイルパス: /assets/css/header.css
- 説明: ヘッダー、ロゴ、ナビゲーションに関するスタイル

================================================================================
*/

/* ヘッダー全体 */
.l-header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}
.l-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* ロゴ */
.l-header__logo a {
    display: inline-block;
    width: 130px;
}
.l-header__logo img {
    width: 100%;
    height: auto;
}
.l-header__logo a:hover {
    opacity: 0.7;
}
/* PC用ナビゲーション */
.l-header__nav {
    height: 100%;
}
.header-nav-list {
    display: flex;
    align-items: center;
    height: 100%;
}
.header-nav-list > li {
    position: relative;
    padding: 0px 30px 0px 30px;
    border-right: 1px solid #ccc;
}
.header-nav-list > li:first-child {
    margin-left: 0;
}
.header-nav-list > li:last-child {
    border-right: none;
    padding-right: 0;
}
.header-nav-list > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* PC用ナビゲーションラベル */
.nav-label-en {
    font-family: 'Questrial', sans-serif;
    font-size: 1rem;
    color: #c1ae9c;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}
.nav-label-ja {
    font-family: 'Noto Serif JP', serif;
    color: #333;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.4s ease;
}
.header-nav-list > li > a:hover .nav-label-ja,
.header-nav-list > li > a:hover .nav-label-en {
    color: #c2ad89;
}

/* ▼▼▼【ここを追記】PC用ナビゲーション ホバー時のアンダーラインを無効にする ▼▼▼ */
.header-nav-list > li > a:hover {
    text-decoration: none;
}
/* ▲▲▲【ここまで追記】▲▲▲ */

/* PC用ドロップダウンメニュー */
.header-nav-list > .menu-item-has-children > a {
    position: relative;
    padding-right: 15px;
}
.header-nav-list > .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 0;
    width: 7px;
    height: 7px;
    border-bottom: 2px solid #b7a18b;
    border-right: 2px solid #b7a18b;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s;
}
.header-nav-list > li:hover > a::after {
    transform: translateY(-50%) rotate(225deg);
}
.header-nav-list .sub-menu {
    position: absolute;
    left: 0;
    transform: none;
    background-color: #f0e8d9;
    padding: 0;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, top 0.2s;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 15px;
}
.header-nav-list > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    top: 85%;
}
.sub-menu li {
    width: 100%;
    border-bottom: 1px solid #fff;
}
.sub-menu li:last-child {
    border-bottom: none;
}
.sub-menu li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-size: 1.4rem;
    white-space: nowrap;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
}
.sub-menu li a:hover {
    background-color: #d0e0dc;
    opacity: 1;
}

/*
================================================================================
Header Responsive Styles
================================================================================
*/
@media screen and (max-width: 1200px) { /* PC/SP切り替え */
    .l-header__inner {
        height: 80px;
        padding: 0 20px;
    }
    .l-header__logo a {
        width: 110px;
    }
}

@media screen and (max-width: 768px) { /* スマートフォンサイズ */
    .l-header__inner {
        height: 60px;
    }
    .l-header__logo a {
        width: 100px;
    }
}