@charset "UTF-8";

/*///////////////////// font-face 読み込み例 ///////////////////////////*/
/*Noto Sans JP 400*/
@font-face {
    font-family: 'Noto Sans JP';
    src: url(/fonts/NotoSansJP-Regular.woff2);
    font-weight: 400;
    font-display: swap;
}
/*Noto Sans JP 500*/
@font-face {
    font-family: 'Noto Sans JP';
    src: url(/fonts/NotoSansJP-Medium.woff2);
    font-weight: 500;
    font-display: swap;
}
/*Noto Sans JP 700*/
@font-face {
    font-family: 'Noto Sans JP';
    src: url(/fonts/NotoSansJP-Bold.woff2);
    font-weight: 700;
    font-display: swap;
}
/*///////////////////// font-face 読み込み例 ///////////////////////////*/

:root {
    --color-primary: #1E2189;
    --color-secondary: #68C0F0;
    --color-accent: #EAF98E;
    --color-line: #71FFAB;
    --color-black: #1E1E1E;
    --color-white: #FFFFFF;
    --color-gray: #8F8F8F;
    --color-light-gray: #CECECE;
    --color-bg-gray: #D9D9D9;
    --font-family: 'Noto Sans JP', sans-serif;
    --font-family-en: 'Jost', sans-serif;
}

/* --------------------------------------------------
   Header
-------------------------------------------------- */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease;
}

/* スクロール時の背景色（白） */
.l-header.is-scrolled {
    background-color: #FFFFFF;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
}

/* 下層ページのみ sticky にする */
.l-header.is-sub-page {
    position: sticky;
}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    height: 89px;
    margin: 0 auto;
}

.l-header__logo {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.l-header__logo:hover{
    opacity: 1;
    transition: all;
}
.l-header__logo img {
    width: 137px;
    margin-top: 2px;
    display: block;
}

/* スクロール時のロゴ（黒） */
.l-header.is-scrolled .l-header__logo {
    color: #1E1E1E;
}

.l-header__content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.l-header__info {
    display: flex;
    align-items: center;
    gap: 19px;
}

.l-header__tel-list {
    display: flex;
    align-items: center;
    gap: 11px;
}

.l-header__shop {
    display: flex;
    align-items: center;
    gap: 4px;
}

.l-header__shop-ttl {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 2px 7px;
    height: 28px;
    border: 1px solid #FFFFFF;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #FFFFFF;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.nav__btn--sale{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* スクロール時の店舗タイトル（黒） */
.l-header.is-scrolled .l-header__shop-ttl {
    border-color: #1E1E1E;
    color: #1E1E1E;
}

.l-header__tel {
    font-family: "Jost";
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* スクロール時の電話番号（黒） */
.l-header.is-scrolled .l-header__tel {
    color: #1E1E1E;
}

.l-header__schedule {
    display: flex;
    gap: 5px;
}

.l-header__schedule p {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

/* スクロール時のスケジュール（黒） */
.l-header.is-scrolled .l-header__schedule p {
    color: #1E1E1E;
}

.l-header__gnav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    height: 16px;
}

.l-header__gnav-link {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* スクロール時のナビリンク（黒） */
.l-header.is-scrolled .l-header__gnav-link {
    color: #1E1E1E;
}

.l-header__gnav-link:hover {
    opacity: 1;
}

.l-header__gnav-dropdown {
    position: relative;
}

.l-header__gnav-link--dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.l-header__gnav-arrow {
    width: 11px;
    height: 6px;
    transition: transform 0.3s ease;
}

.l-header__btn-wrap {
    display: flex;
    gap: 10px;
}

.l-header__btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    min-width: 80px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.l-header__btn:hover {
    opacity: 0.8;
}

.l-header__btn--line {
    background-color: #71FFAB;
}

.l-header__btn--satei {
    background-color: #EAF98E;
}

.l-header__btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.l-header__btn--line img {
    height: 28px;
}

.l-header__btn span {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #1E1E1E;
}

/*売却実績のプルダウン*/
.nav__box {
    display: none;
}

.nav__box.is-open {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1px;
    top: 33px;
    right: 0;
    left: -9px;
    margin: auto;
}

.nav__box.is-open .l-header__gnav-link{
    width: 100px;
    height: 36px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav__box.is-open .l-header__gnav-link{
    color: #fff;
}

/* 通常時はスクロール用を隠す */
.img-scrolled {
    display: none;
}

/* スクロール時（is-scrolledクラスがある時）の切り替え */
.is-scrolled .img-default {
    display: none;
}
.is-scrolled .img-scrolled {
    display: block;
    transform: rotate(180deg);
}

/*ホバー時*/

.l-header__gnav-link:hover,
.l-header.is-scrolled [class*="nav__btn--"]:hover{
    color: var(--color-primary);
    transition: 0.4s;
}

.nav__btn--sale:hover{
    transition: 0.4s;
}

svg.icon-arrow {
    width: 12px;
    height: 8px;
    fill: none;
    stroke: #fff;
    transition: 0.4s;
}

.nav__btn--sale:hover svg.icon-arrow{
    stroke: var(--color-primary);
    transition: 0.4s;
}

.is-scrolled svg.icon-arrow{
    width: 12px;
    height: 8px;
    stroke: #1E1E1E;
    fill: none;
}

.is-scrolled svg.icon-arrow:hover{
    stroke: var(--color-primary);
    transition: 0.4s;
}

.is-scrolled svg.icon-arrow:hover{
    stroke: var(--color-primary);
}

.l-header__gnav-link.animoshines:hover{
    background-color: #fff;
    color: #000;
    border-color: #000;
}
