/*
--------------------------------------------------------------
 theme-legacy.css
 役割: 「旧デザイン」時代のスタイルを退避するためのファイルです。
       現在のサイトは style.css / front.css / theme-final.css で上書きされており、
       このファイルは互換性のため残している旧ルールの集まりです。
       (例: 旧サイドバー .left-bar、旧メニュー .menu、旧カテゴリカード etc)

 読み込み順: normalize -> このファイル -> style.css -> front.css(トップのみ)
             -> 各ページ用CSS -> theme-final.css(最優先)

 ※このファイルは原則「編集禁止」です。UIの調整は style.css 以降へ書いてください。
   このファイル内のルールは後続のファイルがすべて上書きするため、
   消しても表示は変わらないものが大半ですが、一部(ボタン初期化など)は
   後継ルールが style.css の「ベース」欄に移設済みです。

 out of scope: このファイルはレイアウトの最終決定権を持ちません。
--------------------------------------------------------------
*/

/* ===== 旧 style.css より(全343行を互換用に退避) ===== */
/* 全体のスタイル */
body{
    font-family: var(--font-sans);
    display: flex;
}

p{
    margin: 0;
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    padding: 0;
    margin: 0
}

li{
    list-style: none;
}

button{
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 0 0 0;
}


.page-title{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    font-weight: bold;
    text-align: center;
    color:#f2f2f2;
    background-color: #100169;
    margin-bottom: 40px;
}

.single-page-title{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    color:#100169;
    border-bottom: 2px solid #100169;
    margin-bottom: 40px;
}

h1{
    font-size: 24px;
    margin: 0;
}

h2{
    font-size: 20px;
    font-weight: bold;
    color: #100169;
    border-bottom: #100169 solid 2px;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

h3{
    margin: 0;
    font-size: 18px;
}

h4{
    margin: 0;
    font-size: 16px;
}

address{
    font-style: normal;
}

/* header内のスタイル  */
.left-bar{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 335px;
    height: 100vh;
    padding:0 20px 0 20px;
    background-color: #f2f2f2;
    float: left;
    gap: 35px;

}

.left-bar img{
    width: 232px;
    height: 122px;
    margin-top: 40px;
}

.main-nav{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.main-nav li{
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    color: #100169;
    cursor: pointer;
}

.main-nav li:hover{
    opacity: 0.5;
}

.sns-nav {
    display: flex;
    gap: 12px;
}

.sns-nav img{
    width: 50px;
    height: 50px;
}

.main-contents-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: url(../img/bg-img.svg);
    background-size: cover;
    background-repeat: repeat;; 
}

.main-contents{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 500px;
    background:#f2f2f2;
    height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.609);
    overflow-y: auto;
}

header{
    display: flex;
    align-items: center;
    padding: 0 15px 0 15px;
    justify-content: space-between;
}


.main-contents header img{
    width: 121px;
    height: 64px;
    padding: 0 5px 0 0;
}

.header-shop-name{
    font-size: 12px;
    font-weight: bold;
    color: #100169;
    padding: 4px 0 4px 0;
    border-top:2px solid #100169;
    border-bottom: 2px solid #100169;
    text-align: center;
}

.header-logo{
    display: flex;
    align-items: center;
}

/* ハンバーガー */
.hamburger {
    width: 37px;
    height: 37px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    position: fixed;
    top: 15px;
    right: 20px;
}

.hamburger span {
    display: block;
    position: absolute;
    left: 50%;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    transform-origin: center;
    background-color: #100169;
}

.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}
.hamburger span:nth-child(3) {
  bottom: 10px;
}

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: #f2f2f2;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: #f2f2f2;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.menu ul {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    padding:50px 0 0 0;
    margin:0;
    background-color: #100169;
    width: 100%;
    height: 100dvh;  
    min-height: 100vh;
    align-items: center; 
    z-index: 99;
}

.menu ul li {
    width: 80%;        
    text-align: left;     
    padding: 8px;        
    margin: 8px 0;  
}

.menu ul li a {
    text-decoration: none;
    color: #f2f2f2;
    font-weight: bold;
    padding: 8px 10px;
    display: block;
    border-bottom: #f2f2f2 solid 1px;
    cursor: pointer;
}

.menu.active ul {
    display: flex;
}


/* フッターのスタイル */
footer{
    margin-top: 40px;
    background-color: #100169;
    text-align: center;
}

footer img{
    width: 100%;
    height: auto;
}

footer address{
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    color: #f2f2f2;
    gap: 24px;
}

.shop-name{
    color: #f2f2f2;
    font-size: 24px;
    font-weight: bold;
}

.footer-info{
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
}

.footer-nav{
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 20px 0;
}

.footer-nav img{
    width: 50px;
    height: 50px;
}

footer .copy-right{
    padding: 80px 0 10px 0;
    font-size: 10px;
    color: #f2f2f2;
}


/* ===== 旧 responsive.css より ===== */
@media (max-width: 600px) {
    .left-bar {
        display: none;
    }
    .main-contents {
        width: 100%;
    }
}
@media (min-width: 601px) and (max-width: 768px){
    .left-bar {
        display: none;
    }
    header{
        justify-content: center;
    }
}

@media (min-width: 769px){
    .menu {
        display: none;
    }
    header{
        justify-content: center;
    }
}

/* ===== 旧 front.css より(上書き前提の旧ルールを退避) ===== */
.main-visual{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #100169;
    padding-bottom: 120px;
    gap: 20px;
}

.main-visual h1{
    width: 100%;
}

.main-visual-img{
    width: 100%;
    height: auto;
}

.sp-only{
    width: 100%;
    height: auto;
}

.news-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;
    width: 311px;
}

.news-item{
    display: flex;
    width: 100%;
    padding: 10px 0 10px;
    border-bottom: #100169 dotted 2px;
    color: #242424;
}

.news-date{
    font-weight: bold;
    margin-right: 10px;
    color: #737373;
    font-size: 12px;
    margin-bottom: 8px;
}

.news-title{
    font-weight: bold;
    font-size: 14px;
}

.news-archive-button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 50px;
    margin-top: 30px;
    background-color: #100169;
    color: #f2f2f2;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
}

.news-archive-button:hover{
    cursor: pointer;
    color: #f2f2f2;
    background-color: #7a67e6;
}

.item-archive-button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 50px;
    margin-top: 30px;
    background-color: #100169;
    color: #f2f2f2;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
}

.item-archive-button:hover{
    cursor: pointer;
    color: #f2f2f2;
    background-color: #7a67e6;
}


.no-post{
    font-size: 16px;
    color: #242424;
}

.item-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.precious-metal{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.precious-metal a{
    width: 100%;
}

.precious-metal img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.precious-metal p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.jewelry{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jewelry a{
    width: 100%;
}

.jewelry img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.jewelry p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.brand-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-item a{
    width: 100%;
}

.brand-item img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.brand-item p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.watch{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.watch a{
    width: 100%;
}

.watch img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.watch p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.camera{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.camera a{
    width: 100%;
}

.camera img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.camera p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.antique{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.antique a{
    width: 100%;
}

.antique img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.antique p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.painting{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.painting a{
    width: 100%;
}

.painting img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.painting p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.gift-certificate{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gift-certificate a{
    width: 100%;
}

.gift-certificate img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.gift-certificate p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.old-money{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 172px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.old-money a{
    width: 100%;
}

.old-money img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.old-money p{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    padding: 8px;
}

.fr-only{
    font-size: 20px;
    font-weight: bold;
    color: #f2f2f2;
    border-bottom: #f2f2f2 solid 2px;
    padding-bottom: 8px;
}

.reason-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 311px;
    height: auto;
    color: #242424;
}

.reason-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    border: #100169 solid 2px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap: 12px;
}

.reason-item h3{
    margin-top: 8px;
    font-weight: bold;
}

.reason-item p{
    font-size: 15px;
    line-height: 1.6;
}

.works-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.works-item{
    width: 311px;
    height: 316px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background:#fff;
    border-radius: 8px;
    overflow: hidden;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.works-item a{
    width: 100%;
}

.works-thumb{
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 16px;
}

.works-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 90%;
    gap: 8px;
    padding: 0 8px 0 8px;
}

.works-date{
    font-size: 12px;
    font-weight: bold;
    color: #737373;
}

.works-title{
    font-size: 16px;
    font-weight: bold;
    color: #242424;
    text-align: start;
}

.works-archive-button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 50px;
    margin-top: 30px;
    background-color: #100169;
    color: #f2f2f2;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
}

.works-archive-button:hover{
    cursor: pointer;
    color: #f2f2f2;
    background-color: #7a67e6;
}

.methods-section{
    width: 100%;
    height: auto;
    background-color: #E8F6FE;
    padding-bottom: 20px;
}

.methods-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-weight: bold;
}

.methods-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 231px;
    height: auto;
    background-color: #CDEDFF;
    padding: 8px;
    border-radius: 8px;
    gap: 16px;
}

.methods-item h3{
    color: #100169;
}

.methods-description{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 211px;
    height: auto;
    gap: 12px;
    font-size: 14px;
    color: #242424;
    background-color: #f2f2f2;
    padding: 8px;
    border-radius: 8px;
}

.methods-check{
    display: flex;
}

.methods-archive-button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 50px;
    margin-top: 30px;
    background-color: #100169;
    color: #f2f2f2;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
}

.methods-archive-button:hover{
    cursor: pointer;
    color: #f2f2f2;
    background-color: #7a67e6;
}

.organize-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 311px;
    height: auto;
}

.organize-section img{
    width: 100%;
    height: auto;
}

.organize-section p{
    font-size: 16px;
    color: #242424;
    text-align: start;
}

.organize-archive-button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 50px;
    margin-top: 30px;
    background-color: #100169;
    color: #f2f2f2;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
}

.organize-archive-button:hover{
    cursor: pointer;
    color: #f2f2f2;
    background-color: #7a67e6;
}
