* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend Mega', sans-serif;
    overflow: hidden;
    position: relative;
    height: 100vh;
    letter-spacing: 0.05rem;
    background-color: rgb(246 242 233);
    color: #4D3932;
}

body.scroll-enabled {
    overflow: auto;
}

dl > div {
    display: flex;
    align-items: flex-start; /* 上揃え。中央揃えなら center */
    margin-bottom: 8px;      /* 行間調整はお好みで */
}

dl dt, dl dd {
    margin: 0;
    padding: 0 8px 0 0;      /* 右に余白 */
    min-width: 100px;        /* ラベル幅調整。お好みで */
}

dl dd {
    flex: 1;                 /* 内容部分を広げる */
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.mincho {
    font-family: 'Shippori Mincho', serif;
}

.gothic {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    letter-spacing: 0.01rem;
}

/* ヘッダーのスタイル */
header {
    position: fixed;
    top: 25%;
    right: 6%;
    width: min(230px, 15vw);
    z-index: 2;
}

header .logo {
    display: none;
}



img {
    width: 100%;
}

.logo {
    width: min(191px, 12.6vw);
    font-weight: bold;
    color: #333;
}

nav ul {
    list-style: none;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

header nav ul {
    opacity: 0;
}

nav ul li a {
    position: relative;
    text-decoration: none; /* 既存の下線を消す */
    color: #4D3932;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 24px;
    line-height: 2;
    cursor: pointer;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1em; /* 下線の位置を調整 */
    width: 0;
    height: 2.5px;
    background: #4D3932; /* 下線の色 */
    transition: width 0.4s cubic-bezier(.77,0,.18,1);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.instagram {
    padding-left: 0;
    position: relative;
    line-height: 2.5;
}

nav ul li a.instagram span {
    padding-left: min(50px, 3.3vw);
}

nav ul li a.instagram::before {
    position: absolute;
    content: "";
    width: 43px;
    height: 43px;
    background-image: url(../img/Instagram.svg);
    background-size: cover;
    background-repeat: no-repeat;
    left: 0;
    bottom: 0;
}

nav ul li a:hover {
    color: #666;
}

/* 丸いナビボタン */
.nav-toggle {
    display: none;
    position: fixed;
    top: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4D3932;
    border: none;
    z-index: 2001;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    margin: 4px auto;
    transition: all 0.3s;
}

/* メインコンテンツのスタイル */

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: position 0.3s ease;
}

.background::before {
    content: "";
    width: 12px;
    height: 100vh;
    position: absolute;
    background-image: url(../img/backgroud-line.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 0;
    top: 0;
}

.background::after {
    content: "";
    width: 12px;
    height: 100vh;
    position: absolute;
    background-image: url(../img/backgroud-line.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    right: 0;
    top: 0;
    transform: scaleX(-1);
}

.background .backgroud-img01 {
    width: 620px;
    position: absolute;
    animation: pulse 6s infinite ease-in-out;
    opacity: 0;
    right: 0;
    bottom: 0;
    transition: transform 0.8s ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.5; /* やや薄く、滲んだ状態から開始 */
        filter: blur(10px);
        transform: translateY(0px); /* 開始位置 */
    }
    50% {
        opacity: 1; /* はっきり表示 */
        filter: blur(0px);
        transform: translateY(-15px); /* 上に移動 */
    }
    100% {
        opacity: 0.5; /* 再びにじんだ状態に戻る */
        filter: blur(10px);
        transform: translateY(0px); /* 終了位置 (開始と同じ) */
    }
} 

.background.scrollable {
    position: absolute;
}

.left-content {
    width: 42%;
    height: 100vh;
    position: relative;
}

.left-content .logo {
    position: absolute;
    top: 7%;
    left: 22%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.left-content-text {
    position: absolute;
    top: 33vh;
    right: 10%;
    text-align: right;
    font-size: min(20px, 1.32vw);
    color: #4D3932;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.left-content-text-top {
    font-size: min(22px, 1.45vw);
    font-weight: 600;
}


/* name-circle 回転アニメーション */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.name-circle {
    width: 163px;
    position: absolute;
    animation: spin 10s linear infinite; /* 5秒で一周、等速、無限繰り返し */
    bottom: 34%;
    transform: translateY(-50%);
    left: 10%;
    z-index: 2;
}


.left-content-move {
    position: absolute;
    width: min(455px, 30.1vw);
    height: 346px;
    background-color: #4D3932;
    color: white;
    bottom: 3%;
    left: 19%;
    border-radius: 25px;
}

.content-container {
    position: absolute;
    top: 50%;
    right: 23%;
    transform: translateY(-50%);
    width: 467px;
    height: 98vh;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #4D3932;
    border-radius: 100px;
    overflow: hidden;
    transition: transform 0.5s ease;
    padding: 2px;
}

.content-container-border {
    border: 4px solid #4D3932;
    border-radius: 100px;
    width: 100%;
    height: 100%;
    padding: 5px;
}

.content-container.scrolled {
    transform: translateY(-100vh);
}

.scrollable-content {
    height: 100%;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 100px;
}

.scrollable-content .mv h2 {
    font-size: 34px;
}

.scrollable-content .mv .h2-img01 {
    width: 336px;
    margin: auto;
}

.scrollable-content .about {
    text-align: center;
    padding-top: 15px;
}

.scrollable-content .about .text01 {
    font-size: 22px;
    font-weight: 600;
    padding: 0 0 15px;
}

.scrollable-content .about .text {
    line-height: 2;
    font-size: 16px;
    padding-bottom: 15px;
}

.content-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.content-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.01rem;
    text-align: center;
}

/* Products Section */
.products {
    padding: 60px 0;
}

.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    text-align: left;
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-image {
    width: 150px;
    margin-right: 30px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.product-info p {
    font-size: 14px;
}


/* Shop Section */
.shop {
    text-align: center;
    padding: 20px 0 60px;
}

.shop p {
    font-size: 18px;
    margin-bottom: 30px;
}

.shop-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #4D3932;
    color: #4D3932;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.shop-button .arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-top: 2px solid #4D3932;
    border-right: 2px solid #4D3932;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
}

.shop-button:hover {
    background-color: #4D3932;
    color: #fff;
}

.shop-button:hover .arrow {
    border-color: #fff;
    right: 15px;
}


/* News Section */
.news {
    padding: 20px 0 0;
}

.news-list {
    list-style: none;
}

.news-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    text-align: left;
}

.news-item:first-child {
    border-top: 1px solid #ddd;
}

.news-date {
    margin-right: 20px;
    font-size: 14px;
    color: #30201a;
}

.news-title {
    font-size: 16px;
}

/* company */
.company {
    padding: 60px 0 200px;
}

.company dl {
    margin-bottom: 20px;
}

.company dd .mail {
    font-size: 14px;
    letter-spacing: -0.05rem;
}


/* フッターのスタイル */
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(246 242 233);
    color: #4D3932;
    padding: 2rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer a {
    color: #4D3932;
    transition: color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

footer a:hover {
    opacity: 0.75;
}

footer.visible {
    opacity: 1;
    transform: translateY(0);
    top: 0;
    pointer-events: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.footer-content .logo-content {
    padding-top: min(50px,3.3333333333333335vw);
    padding-left: min(50px,3.3333333333333335vw);
}

.footer-content .logo {
    width: 220px;
}

.footer-content .instagram {
    padding-top: 15%;
    padding-left: 9%;
}

.footer-content .instagram a {
    font-family: 'Lexend Mega', sans-serif;
    text-decoration: none;
}

.footer-content .instagram a span {
    position: relative;
    padding-left: 50px;
}

.footer-content .instagram a span::before {
    position: absolute;
    content: "";
    width: min(43px, 2.85vw);
    height: min(43px, 2.85vw);
    background-image: url(../img/Instagram.svg);
    background-size: cover;
    background-repeat: no-repeat;
    left: 0;
    bottom: -37%;
}

.footer-content::before {
    content: "";
    position: absolute;
    background-image: url(../img/logo2_footer.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 550px;
    height: 640px;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.footer-shops {
    background-color: white;
    padding: min(40px,2.645502645502645vw) min(100px,6.666666666666667vw);
}

.footer-shops-list {
    display: flex;
    gap: 30px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #4D3932;
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 2;
}

.footer-contact {
    background-color: #4D3932;
    color: white;
    padding: min(40px,2.645502645502645vw) min(100px,6.666666666666667vw);
    text-align: center;
}

.footer-contact .line {
    margin: 20px 0;
}

.footer-contact a {
    display: block;
    width: 320px;
    padding: 20px 0;
    background-color: white;
}

.footer-contact .mail a span {
    font-size: 13px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2%;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    font-family: 'Lexend Mega', sans-serif;
}

.footer-bottom p {
    color: #4D393289;
    font-size: 0.9rem;
}

@media (max-width: 750px) {
    .footer-content {
        display: block;
        width: 100%;
    }

    .footer-content .logo-content {
        display: none;
    }

    .footer-shops {
        padding: 3% 8%;
    }

    .footer-shops-list {
        gap: 0;
        justify-content: space-between;
    }

    .footer-contact a {
        width: 100%;
    }

    .footer-contact {
        padding: 4% 8%;
    }
}


/* JavaScriptで付与するクラス */
.left-content .logo.visible-on-load,
.left-content-text.visible-on-load,
nav ul.visible-on-load {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1340px) {
    .left-content-text {
        right: 12vw;
    }

    .left-content-move {
        left: 10%;
        width: 28vw;
    }

    .name-circle {
        width: 150px;
        bottom: 39%;
        left: 2%;
    }

    nav ul li a.instagram span {
        display: none;
    }

    nav ul li a.instagram::before {
        bottom: -50px;
    }
}

@media (max-width: 1080px) {
    .left-content .logo {
        left: 13%;
    }
    

    .left-content-text {
        display: none;
    }

    .name-circle {
        display: none;
    }

    .left-content-move {
        display: none;
    }
}


@media (max-width: 980px) {

    .left-content .logo {
        top: 3%;
    }
}


@media (min-width: 1600px) {
    .content-container {
        right: 30%;
    }
    .left-content-move {
        bottom: 10%;
    }
}

@media (min-width: 751px) {
    .nav-overlay {
        display: none;
    }
}

@media (max-width: 750px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .left-content {
        display: none;
    }

    .left-content .logo {
        position: static;
        width: 18.5%;
    }

    .content-container {
        position: absolute;
        width: 98%;
        right: 1%;
        height: 100vh;
        border: 0;
        border-radius: 0;
        background: none;
        z-index: 1;
    }

    .content-container-border {
        border: 0;
        border-radius: 0;
    }

    .scrollable-content {
        border-radius: 0;
        padding: 7rem 2rem 0;
    }

    .background .backgroud-img01 {
        width: 100vw;
        right: -20%;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 1000;
        background: transparent;
        padding: 20px 20px 0 25px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    header .logo {
        display: block;
        width: 65px; /* 適切なサイズに設定 */
        height: auto;
        position: static;
        order: 1; /* 左側に配置 */
    }

    .nav-toggle {
        order: 2; /* 右側に配置 */
        position: static;
        margin-left: auto;
    }

    nav ul li a {
        font-size: 18px;
    }    

    header nav ul {
        position: fixed;
        top: 0;
        right: -80vw;
        width: 50vw;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 12px rgba(0,0,0,0.08);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 60px 24px 24px 24px;
        z-index: 2000;
        transition: right 0.4s cubic-bezier(.77,0,.18,1);
        opacity: 1;
        display: flex;
        gap: 20px;
    }
    header nav ul.open {
        right: 0;
    }
    .nav-toggle {
        display: block;
    }
    /* オーバーレイ */
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(255, 255, 255, 0.3);
        z-index: 100;
        opacity: 1;
        transition: opacity 0.3s;
    }
    .pc {
        display: none !important;
    }

    .scrollable-content .mv .h2-img01 {
        width: 90%;
    }

    .footer-content .logo {
        position: absolute;
        top: -240%;
        left: 3%;
        width: 35%;
    }
}

/* .content-container スクロールバーカスタマイズ */
.content-container::-webkit-scrollbar {
    width: 1px !important;
}
.content-container::-webkit-scrollbar-thumb {
    background: #d2bfa335;
    border-radius: 10px;
}
.content-container::-webkit-scrollbar-track {
    background: transparent;
}
.content-container {
    scrollbar-width: thin; /* Firefox用 */
    scrollbar-color: #d2bfa35b transparent; /* Firefox用 */
}
