@charset "utf-8";

/* ================================  
common
==================================*/
:root {
    --primary-white: #e3e3e3;
    --primary-title: #ffffff;
    --primary-black: #030303;
    --primary-gold: #C5A84A;
    --primary-red: #7E0000;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-white);
    background-color: var(--primary-black);
    line-height: 1.5;
}

/* ポップアップ表示中は背景スクロールを禁止 */
body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.title__container {
    text-align: center;
}

.title {
    display: inline-block;
    font-size: 3rem;
    text-align: center;

    margin-top: 65px;
}

.title span {
    font-size: 1.5rem;
}

.title::after {
    content: '';
    display: block;
    background-image: url(../images/title_decoration.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 183px;
    height: 17px;
    margin: 0 auto;
}

.brPc ,
.imgPc {
    display: none;
}

section.anchor {
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}

/* アンカーリンク遷移時に固定ヘッダーと重ならないよう調整 */
[id] {
    scroll-margin-top: 80px;
}

@media screen and (min-width:769px) {
    [id] {
        scroll-margin-top: 100px;
    }
}

.fadeIn {
    transform: translate3d(0, 50px, 0); 
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.fadeIn.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.back-to-top {
    position: fixed;      
    bottom: 30px;          
    right: 30px;           
    z-index: 100;         
    display: block;
    width: 80px;          
    opacity: 0;           
    transition: opacity 0.4s ease;
    pointer-events: none; 
}

.back-to-top.is-visible {
    opacity: 1;           
    pointer-events: auto;  
}

.back-to-top img {
    width: 88px;
}


/* common pc */
@media screen and (min-width:769px) {
    .brPc ,
    .imgPc {
        display: block;
    }

    .brSp ,
    .imgSp {
        display: none;
    }

    .title {
        font-size: 6rem;
        margin-top: 120px;
    }
    
    .title span {
        font-size: 3.2rem;
    }
    
    .title::after {
        width: 461px;
        height: 43px;
    }
}

/* ================================  
hrader
==================================*/
.header {
    padding: 20px 5.8%;
    width: 100vw;
    position: fixed;
    z-index: 99999;
}

.header__logo {
    width: 200px;
}

.header.change-color {
    background: linear-gradient(to bottom, 
        rgba(12, 7, 3, 0.7) 0%,
        rgba(12, 7, 3, 0.7) 80%,
        rgba(12, 7, 3, 0.5) 90%,
        rgba(12, 7, 3, 0.2) 100%
    );
}

/* .nav初期表示 */
.nav {
    background-image: url(../images/sp-menubg.jpg);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    padding: 20px 5.8%;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close__btn {
    width: 34px;
    height: 34px;
}

.close__txt,
.menu__txt {
    font-family: "Cormorant+Garamond", serif;
    font-size: 1.4rem;
    color: var(--primary-title);
}

.nav__item {
    margin-left: 11.5%;
    margin-top: 55px;
    padding-left: 15px;
    border-left: 1px solid var(--primary-title);
    color: var(--primary-title);
    font-size: 2rem;
    line-height: 1.5;
}

.nav__item span {
    font-size: 1.6rem;
}

.nav__item:first-of-type {
    margin-top: 59px;
}

/* .nav.active */
.nav.active {
    transform: translateX(0);
    z-index: 100;
}

.header__btn {
    display: block;
    width: 32px;
    height: 24px;

    position: absolute;
    top: 25px;
    right: 8%;
    cursor: pointer;
}

/* hrader pc */
@media screen and (min-width:769px) {
    .header {
        margin: 0 auto;
        padding: 30px 10%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .header__topic img {
        width: 250px;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translate(0);
    }

    .nav__list {
        margin-top: 0;
        display: flex;
    }

    .nav__header {
        display: none;
    }

    .nav__item {
        margin-left: 15px;
        margin-top: 0;
    }

    .nav__item:first-of-type {
        margin-top: 0;
    }

    .header__btn {
        display: none;
    }
}
/* pc end */

/* ================================  
footer
==================================*/
.footer {
    padding: 50px 17.3%;
    background-image: url(../images/footer_sp.jpg);
    background-size: cover;
    text-align: center;
}

.footer__logo {
    width: 184px;
    height: auto;
    margin: 0 auto;
}

.footer__menu {
    margin-top: 53px;
}

.menu__item {
    display: flex;
    justify-content: space-between;
    font-size: 2rem;
    margin-top: 28px;
    text-shadow: 1px 1px 2px var(--primary-black);
}

.menu__item span {
    font-size: 1.3rem;
    margin-left: 28px;
}

.copy {
    margin-top: 45px;
}

/* footer pc */
@media screen and (min-width:769px) {
    .footer {
        background-image: url(../images/footer_pc.jpg);
        background-size: cover;
    }

    .footer_pcFlex {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 0 108px;
    }

    .footer__logo {
        margin: 0;
    }

    .footer__menu {
        margin-top: 0;
    }

    .menu__list {
        margin-top: 0;
        font-size: 2rem;
    }

    .menu__item span {
        font-size: 1.6rem;
        margin-left: 28px;
    }

    .menu__item:first-of-type {
        margin-top: 0;
    }
}

/* ================================  
title
==================================*/

.title__detail {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 46px;
    line-height: 2.8rem;
}

.title__detail span {
    font-size: 20px;
}



/* scene pc */
@media screen and (min-width:769px) {
    
    .title__detail {
        font-size: 1.8rem;
        margin-top: 78px;
        line-height: 2;
    }

    .title__detail span {
        font-size: 2.4rem;
    }
}

/* ================================  
公式サイトボタン
==================================*/
.more {
    padding: 50px 0 55px;
}

.btn__logo img {
    display: block;
    margin: 0 auto;
    width: 205px;
    height: auto;
}

.btn {
    display: flex;

    position: relative;
    display: block;
    width: 259px;
    height: 58px;
    padding: 15px 0;
    background: linear-gradient(to right, #C5A84A, #EBDFB8, #C5A84A);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-red);
    text-decoration: none;
    text-align: center;
    margin: 19px auto 0;

    transition: 0.8s;
}

.btn:hover {
    background: var(--primary-red);
    color: var(--primary-title);
}

/* more pc */
@media screen and (min-width:769px) {
    .more {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0 44px;
    }

    .btn {
        margin: 0;
        font-size: 2.4rem;
        width: 341px;
        height: 68px;
    }

    .btn img {
        vertical-align: sub;
    }
}

/* ================================  
サブメニュー（商品ラインナップ）
==================================*/

/* SP：サブメニューはSPナビ内でインデント表示 */
.nav__submenu {
    margin-top: 15px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav__submenu-item {
    position: relative; /* 疑似要素の基準 */
}

.nav__submenu-item::before {
    content: '・'; /* 修正：文頭に中黒を追加 */
    position: absolute;
    left: -15px;
    top: 7px;
    color: var(--primary-white);
    font-size: 1.5rem;
}

.nav__submenu-item a {
    font-size: 1.5rem;
    color: var(--primary-white);
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav__submenu-item a:hover {
    color: var(--primary-gold);
}

/* PC：ホバーでドロップダウン表示 */
@media screen and (min-width:769px) {

    .nav__item--has-submenu {
        position: relative;
    }

    /* サブメニュー本体：初期非表示 */
    .nav__submenu {
        display: block;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 160px;
        background: rgba(12, 7, 3, 0.92);
        border-top: none;      /* ボックス全幅の金線を削除 */
        /* 上部に透明paddingを設けて、カーソルの移動経路をカバーする */
        padding: 22px 0 8px;
        margin-top: 0;
        border-left: none;
        gap: 0;
        /* 非表示状態 */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 100000;
    }

    /* 修正：PC表示では文頭の「・」を非表示にする */
    .nav__submenu-item::before {
        content: none;
    }

    /* 三角矢印（下向き）：透明padding内に配置 */
    .nav__submenu::before {
        content: '';
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 8px solid var(--primary-gold);
    }

    /* 金色の線：親nav__itemの幅で描く */
    .nav__item--has-submenu::after {
        content: '';
        position: absolute;
        bottom: -8px;          /* nav__itemの下端から矢印の根元あたりに配置 */
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--primary-gold);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .nav__item--has-submenu:hover::after {
        opacity: 1;
    }

    /* ホバーで表示 */
    .nav__item--has-submenu:hover .nav__submenu {
        opacity: 1;
        pointer-events: auto;
    }

    .nav__submenu-item {
        display: block;
    }

    .nav__submenu-item a {
        display: block;
        font-size: 1.6rem;
        color: var(--primary-white);
        padding: 10px 20px;
        white-space: nowrap;
        transition: background 0.2s, color 0.2s;
        letter-spacing: 0.05em;
    }

    .nav__submenu-item a:hover {
        background: var(--primary-gold);
        color: var(--primary-black);
    }

    /* 区切り線：左右paddingと揃えて親要素内に収める */
    .nav__submenu-item + .nav__submenu-item a {
        border-top: 1px solid rgba(255,255,255,0.15);
    }
}