/* カスタマイズ用CSS */

/* ==========================================================
   既存cssの変更
   ========================================================== */
.ec-headerSearch .ec-headerSearch__category {
  display: none; /* カテゴリ検索を非表示 */
}
.ec-headerSearch .ec-headerSearch__keyword {
	display: flex;
  	position: relative;
  	color: #525263;
  	background-color: #faf9f5;
	width: 210px;　/* 検索窓の幅 */
	margin-left: 14px;
}
.ec-headerSearch .ec-headerSearch__keyword input[type=search] {
  width: 150px;　/* 検索窓内のテキストエリア幅 */
  height: 34px;
  font-size: 16px;
  border: 0 none;
  padding: 0.5em 0 0.5em 0.5em;
  box-shadow: none;
  background: none;
  box-sizing: border-box;
  margin-bottom: 0;
}
  .ec-headerSearch .ec-headerSearch__keyword {
    border-radius: 5px;
  }

.ec-drawerRole .ec-headerSearch {
	display: flex;
	padding: 20px 18px;
	background-color: transparent;
	border-bottom: solid 2px #F86387;
}

.ec-drawerRoleClose{
	font-size: 28px;
	color: white;
	background-color: #F86387;
}

.ec-drawerRoleClose.is_active {
    z-index: 100001; /* パネルのz-index（100000）よりも高い値を設定 */
	margin-left: 55px;
    margin-top: 7px;
}

.ec-itemNav {
	height: 55.5%;	
}


/* ==========================================================
   共通コンテナ（フッターと同じものを想定）
   ========================================================== */
.container {
    margin: 0 auto;
    padding: 0 ;
}

/* ==========================================================
   ヘッダー大枠
   ========================================================== */
.site-header {
    display: flex; /* 親CSSに指定がなくても、念のため指定しておくと確実です */
    flex-direction: column; /* 中の要素を縦列配置 */
}


/* ==========================================================
   PCヘッダー1段目
   ========================================================== */
.header-top-bar {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    text-align: left;
}

.header-motto {
    margin: 0;
    padding: 0;
}

.cation-sp {
    margin: 0;
    padding: 0;
	font-size: 12px;
	text-align: left;
}

/* ==========================================================
   PCヘッダー2段目
   ========================================================== */
.header-main-bar {
    padding: 0 0 5px;
}

/* Flexboxを有効にするためのコンテナ */
.header-main-flex {
    display: flex;
    justify-content: space-between; /* 要素を両端に配置 */
    align-items: center; /* ★要素の高さを垂直方向に中央揃え */
	gap: 15px;
}

/* 左エリア */
.logo-area img {
    display: flex;
    max-height: 50px; /* ロゴの高さを指定 */
    width: auto;
}

/* 右エリア */
.header-right-area {
    display: flex;
    gap: 0; /* ★検索窓、メニュー、カートの間の隙間を指定 */
	margin-left: 42px;
}


/* ==========================================================
   PCヘッダー3段目
   ========================================================== */
/* メニューのスタイル */
.header-nav ul {
    display: flex;
    gap: 7px; /* 各メニュー項目間の隙間 */
    margin: 14px 0 0 170px;
    padding: 0;
    list-style: none;
}

.header-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 15px;
}
.ec-headerNav .ec-headerNav__item {
  font-size: 0;
}
.ec-headerNav .ec-headerNav__itemLink {
  	font-size: 15px;
}
.ec-headerNav .ec-headerNav__itemLink {
	color: #B1A999;
}
/* ヘッダーメニュー*/
.ec-itemNav {
  text-align: left;
}
.ec-itemNav__nav {
  text-align: left;
}
.ec-itemNav__nav > li{
	display: flex; /* ★区切り画像とリンク(a)を横並びにする */
    align-items: center;
}
/* トップカテゴリの「前（左側）」に区切り画像を設置 */
.ec-itemNav__nav > li::before {
	content: ''; /* 疑似要素には必須 */
    display: block;
    width: 2px;  /* ★区切り画像の幅 */
    height: 16px; /* ★区切り画像の高さ */
    background-image: url('https://xs303399.xsrv.jp/html/template/default/assets/img/footer/rectangle.webp'); /* ★区切り画像のパスを指定 */
    background-size: contain;
    background-repeat: no-repeat;
}
.ec-itemNav__nav li ul {
	border-left: 2px solid #F86387;
}
.ec-itemNav__nav li a {
  padding: 16px 17px;
  font-size: 15px;
}
/* 問い合わせボタン */
.header-action-button {
    display: inline-block;
    background-color: #F86387;
    color: white;
	font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 5px;
	margin: 0 0 6px 16px;
	transition: background-color 0.3s ease, color 0.3s ease;
}
/* ボタンのホバースタイル */
.header-action-button:hover {
    background-color: #F8EDED; /* ホバー時の背景色 */
    color: #000;            /* ホバー時の文字色 */
}
.ec-itemNav__nav li ul li a {
    display: flex; /* ★テキストと矢印を横並びにするため */
    justify-content: space-between; /* ★テキストを左、矢印を右に配置 */
    align-items: center; /* ★テキストと矢印を上下中央に揃える */
  	border-bottom: 1px solid #E8E8E8;
  	padding: 16px 22px 16px 16px;
  	font-size: 15px;
  	font-weight: bold;
  	color: black;
  	text-align: left;
  	background: white;
}
.ec-itemNav__nav > li:hover > a {
  	background: #F86387;
	color: white;
}
.ec-itemNav__nav > li:hover li:hover > a {
  background: #F8EDED;
}
.ec-itemNav__nav li ul li ul {
  	top: 0;
  	left: 100%;
  	width: auto;
	border-left: 2px solid #F86387;
	/*border: 2px solid #F86387;  ★色付きの枠線（色は適宜変更してください） */
    background: white; /* 背景色も指定しておくと確実です */
	display: flex;
    flex-direction: column;
}
.ec-itemNav__nav li:hover ul li ul li a:hover {
  background: #F8EDED;
}
  .ec-itemNav__nav li ul li ul:before {
	  color: #F86387;
  }
.ec-itemNav__nav li ul li ul li a {
  background: white;
}

/* ヘッダーメニュースマートフォン版 */
/* ==========================================================
   1. 新しいヘッダーバー全体（Flexboxの親コンテナ）
   ========================================================== */
.mobile-header-bar {
    display: flex;
    align-items: center; /* ★要素を垂直方向に中央揃え */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 15px 8px; /* 上下の余白と、左右の余白 */
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影を付けると見やすい */
    z-index: 999; /* ハンバーガーメニュー本体より少し下 */
    box-sizing: border-box;
}

/* ==========================================================
   2. 左側エリア（ロゴとモットー）
   ========================================================== */
.mobile-header-left {
    display: flex;
    align-items: center;
    gap: 0; /* ロゴとモットーの間の隙間 */
	width: 83%; /* ★左側エリア全体の幅を制限 */
}
/* ロゴのスタイル */
.mobile-logo {
    width: 103px;      /* ★ロゴのコンテナ幅を80pxに固定（この数値を調整） */
	flex-shrink: 0;   /* コンテナが縮まないようにする */
	margin-top: -5px;
}
.mobile-logo img {
    display: block;
    height: auto;
	width: 100px;
}
.mobile-motto {
	flex-grow: 1;     /* ★残りの利用可能なスペースを全て埋めるように広げる */
    min-width: 0; /* ★長い単語などがあった場合のはみ出し防止 */
    font-size: 10px;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================
   3. 右側エリア（ハンバーガーメニュー）
   ========================================================== */
.hamburger-menu-wrapper {
	margin-left: auto; /* ★左側の余白を自動で最大化し、要素を右端に押しやる */
    display: flex;
    flex-direction: column; /* アイコンとテキストを縦に並べる */
    align-items: center;
}

.hamburger-label {
    font-size: 12px;
    color: #333;
    margin-top: -2px; /* アイコンとの隙間を微調整 */
}

/* ==========================================================
   4. 親CSSの上書き（最重要）
   ========================================================== */
.ec-headerNavSP {
    position: static; /* ★fixedから変更。これによりFlexbox内で配置できるようになる */
    border: none; /* 親CSSのborderが不要な場合はリセット */
    padding: 0;
    width: auto; /* サイズをアイコンに合わせる */
    height: auto;
}
/* ★ハンバーガーメニューの画像サイズを指定 */
.ec-headerNavSP img {
    display: block; /* 画像の下にできる余分な隙間を防ぐ */
    width: 47px; /* ★お好みの画像の幅を指定 */
    height: auto; /* 高さは幅に合わせて自動調整 */
}
@media (max-width: 1129px) { /* スマホ表示に切り替える画面幅を指定 */
    body {
        /* ヘッダーの高さ分（padding等も考慮して少し余裕を持つ）の余白を設ける */
        padding-top: 70px; 
    }
}
/*
 * デフォルトのスタイル（主にPCで適用）
 * まず、スマホ用のヘッダー関連要素をすべて非表示にします。
*/
.mobile-header-bar,
.sp-menu-panel {
    display: none;
}

.site-spHeader {
    display: none; /* 親CSSに指定がなくても、念のため指定しておくと確実です */
}

/*
 * 画面幅が1399px以下の場合のスタイル（スマホ・タブレット用）
*/
@media (max-width: 1399px) {

    /* 1. PC用のヘッダーを非表示にする */
    /*.site-header {
        display: none;
    }
	 */

    /*
     * 補足：.sp-menu-panel はJavaScriptで表示/非表示を制御するため、
     * ここで display: block; を指定する必要はありません。
     * 親である .mobile-header-bar が表示されれば、中のハンバーガーボタンも
     * 表示されるようになり、クリックすればJSがパネルを表示してくれます。
    */
}

/* ==========================================================
   ハンバーガーメニュー内部全体のスタイル上書き
   ========================================================== */
.ec-drawerRole {
    width: 100%; /* 幅を画面いっぱいに */
    transform: translateX(-100%); /* 初期位置を画面左外へ */
    background: white; /* 背景色を白に */
    /* その他の overflow-y, position, top, left, z-index は親CSSのままでOK */
}
.ec-drawerRole.is_active {
    transform: translateX(0); /* アクティブ時に画面内に表示 */
}


/* ==========================================================
   1. トップエリア
   ========================================================== */
.sp-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #F86387;
}
.sp-menu-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.sp-menu-top .search-area {
    flex-grow: 1; /* 検索窓が残りのスペースを埋める */
    margin-right: 15px;
}
.sp-menu-top .cart-area img,
.sp-menu-top .close-button-wrapper img {
    width: 28px;
    height: 28px;
}
.sp-menu-top .close-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.sp-menu-top .close-button-wrapper span {
    font-size: 10px;
    margin-top: 2px;
}



/* ==========================================================
   新カテゴリナビ(SP) トップエリアのスタイル
   ========================================================== */

/* 3つの要素を囲む親コンテナ（Flexbox） */
.sp-nav-top-actions {
    display: flex;
    align-items: center; /* 要素を垂直方向に中央揃え */
    gap: 5px;            /* ★ご指定の、各アイテム間の隙間 */
    padding: 10px 15px;  /* 上下の余白と、左右の余白 */
    background-color: #f8f8f8; /* 背景色（親テーマに合わせて調整） */
    border-bottom: 1px solid #ddd;
}

/* 1. 検索窓エリアのスタイル */
.sp-nav-top-actions .ec-headerNaviRole__search {
    flex-grow: 1; /* ★利用可能な残りのスペースを全て埋めるように広がる */
    min-width: 0;   /* ★flexアイテムが縮む際のオーバーフローを防ぐ */
}

/* 2. カートアイコンエリアのスタイル */
.sp-nav-top-actions .ec-headerRole__cart {
    flex-shrink: 0; /* ★画面が狭くなっても縮まないようにする */
}
/* カートアイコン自体の見た目を調整（必要に応じて） */
.sp-nav-top-actions .ec-cartNavi__icon {
    font-size: 24px;
    color: #333;
}

.ec-cartNavi {
    position: absolute;
    left: 32px;
}

@media (max-width: 1399px) {
	.ec-cartNavi {
		top: 20px;
    	left: 250px;
	}
}

/* 3. 閉じるボタンエリアのスタイル */
.sp-nav-top-actions .close-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0; /* ★縮まないようにする */
    cursor: pointer;
}
.sp-nav-top-actions .close-button-wrapper img {
    width: 24px;
    height: 24px;
}
.sp-nav-top-actions .close-button-wrapper span {
    font-size: 10px;
    color: #333;
    margin-top: 2px;
}

/* ==========================================================
   2. カテゴリメニュー（アコーディオン）
   ========================================================== */
/* リスト全体の基本スタイル */
.sp-menu-accordion, .sp-menu-static-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* アコーディオン内部のul（下層リスト）も余白をリセット */
.sp-menu-accordion ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- 各リスト項目のスタイル --- */

/* 全てのリンク（aタグ）に共通するスタイル */
.sp-menu-accordion li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 20px;
    box-sizing: border-box;
}

/* 全ての矢印に共通する形状のスタイル */
.sp-menu-accordion li a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0; /* 矢印が縮まないように */
    margin-left: 15px; /* テキストと矢印の間の余白 */
}

/* --- トップカテゴリの専用スタイル --- */
.sp-menu-accordion .top-category > a {
    font-weight: bold;
    border-bottom: 2px solid #F86387;
}

.sp-menu-accordion .top-category > a::after {
	content: '';
    display: inline-block;
    width: 13px;
    height: 12px;
    background-image: url('/html/template/default/assets/img/header/arrow_5.svg'); /* ★トップカテゴリ用の下向き矢印 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-left: 15px;
    transition: transform 0.3s ease; /* 回転アニメーション */
}

/* --- 下層カテゴリの専用スタイル --- */
.sp-menu-accordion .sub-category a {
    font-weight: normal;
    border-bottom: 1px solid #E8E8E8;
    padding-left: 40px; /* インデント */
}

.sp-menu-accordion .sub-category a::after {
	content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    background-image: url('/html/template/default/assets/img/header/arrow_6.svg'); /* ★下層カテゴリ用の右向き矢印 */
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-left: 15px;
}


/* --- アコーディオンパネル（開閉部分）のスタイル --- */
.accordion-panel {
    max-height: 0; /* ★高さを0にして、デフォルトでは非表示にする */
    overflow: hidden; /* ★中身がはみ出さないようにする */
    transition: max-height 0.4s ease-out; /* ★高さの変化を滑らかにアニメーションさせる */
    background-color: #f9f9f9; /* 開いた部分の背景色 */
}


/* --- 開いた状態（.is-active）のスタイル --- */
/* JavaScriptによって li.has-submenu に .is-active が付与されることを想定 */

/* .is-active が付いたパネルを表示状態にする */
.sp-menu-accordion li.is-active > .accordion-panel {
    max-height: 1000px; /* ★中身が十分収まる大きな値を指定 */
    transition: max-height 0.4s ease-in;
}

/* 開いたトップカテゴリのボーダー色を変更 */
.sp-menu-accordion .top-category.is-active > a {
    border-bottom-color: #E8E8E8; 
}

/* 開いたトップカテゴリの矢印を180度回転させる */
.sp-menu-accordion .top-category.is-active > a.accordion-trigger::after {
    transform: rotate(180deg);
}


/* トップカテゴリの矢印にもtransitionを追加しておくと、より滑らかになります */
.sp-menu-accordion .top-category > a::after {
    /* ... 既存のスタイル ... */
    transition: transform 0.3s ease;
}




/* ==========================================================
   3. サードエリア（静的リンク）
   ========================================================== */
.sp-menu-static-links {
    margin-top: 0;
}

.sp-menu-static-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 20px;
    box-sizing: border-box;
	font-weight: bold;
	border-bottom: 2px solid #DEDBCF;
}

.sp-menu-static-links li a::after {
	content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    background-image: url('/html/template/default/assets/img/header/arrow_7.svg'); /* ★下層カテゴリ用の右向き矢印 */
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-left: 15px;
}

/* ==========================================================
   4. ボタンエリア
   ========================================================== */
.sp-menu-button-area {
    padding: 30px 20px;
}
.sp-menu-button-area .c-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #F86387;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}


/* 共通コンテナ */
.c-container {
    max-width: 1200px; /* サイト全体の最大幅 */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}



/* ==========================================================
   表示切り替え（メディアクエリ）
   ========================================================== */
@media (max-width: 1399px) {
    /* PC用ヘッダーを強制的に非表示 */
    .site-header {
        display: none !important;
    }
	.sp-menu-accordion {
		display: block !important;
	}
    /* スマホ用ヘッダーを強制的に表示 */
    .mobile-header-bar {
        display: flex !important;
    }
    /* スマホ表示時にbodyにpadding-topを追加 */
    body {
        padding-top: 60px; /* mobile-header-barの高さ分 */
    }
	.site-spHeader {
    	display: flex; /* 親CSSに指定がなくても、念のため指定しておくと確実です */
    	flex-direction: column; /* 中の要素を縦列配置 */
	}
}



/* ==========================================================
   スライダー
   ========================================================== */
.ec-sliderRole {
	max-width: 640px;
	margin-top: 10px;
}

/* ==========================================================
   カテゴリ一覧
   ========================================================== */
/* Category Section */
.p-top-category {
    padding: 7px 0 20px;
}

.p-top-category__grid {
    display: grid;
    /* PCでは7カラムに設定 */
    grid-template-columns: repeat(7, 1fr);
    gap: 20px; /* 各アイテム間の隙間 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-top-category__item a {
    display: block;
    text-decoration: none;
    color: #333;
    text-align: center;
}

.p-top-category__image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 0 0 10px 0;
    aspect-ratio: 1 / 1; /* 正方形を維持 */
}

.p-top-category__image-wrapper img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.p-top-category__name {
    font-size: 14px;
    font-weight: bold;
}

/* スマホ専用カテゴリを、デフォルト（PC表示）では非表示にする */
.p-top-category__item.is-sp-only {
    display: none;
}

/* スマホ用のスタイル（ブレイクポイントは適宜調整） */
@media (max-width: 767px) {
    .p-top-category__grid {
        /* スマホでは4カラムに設定 */
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .p-top-category__name {
        font-size: 10px;
    }
	.p-top-category__image-wrapper {
		border-radius: 3px;
    	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.09);
    	margin: 0 0 5px 0;
	}
	.p-top-category__image-wrapper img {
        max-width: 80%;  /* ★画像の最大幅を80%に広げる */
        max-height: 80%; /* ★画像の最大高さを80%に広げる */
    }
	.p-top-category__item.is-sp-only {
        display: block; /* または list-item */
    }
}



/* ==========================================================
   画像付きセクションヘッダーコンポーネント
   ========================================================== */

/* ヘッダー全体を囲むコンテナ（これが「窓枠」の役割） */
.c-image-header {
    position: relative;          /* ★テキストを絶対配置するための基準点 */
    overflow: hidden;            /* ★はみ出した画像を切り取る（スクロールさせない） */

    /* 中の巨大な画像を、垂直・水平方向ともに中央に配置する */
    display: flex;
    flex-direction: column;
    align-items: center;

    /* このコンテナ自体の高さを指定（重要） */
    min-height: 190px;           /* ★表示したい画像の高さに合わせて調整 */
	padding: 50px 0;
}

/* 画像自体のスタイル */
.c-image-header__image {
    /* レスポンシブな挙動を完全に無効化するための設定 */
    width: 1920px;      /* ★画像の本来の幅など、大きな値を指定 */
    height: auto;       /* ★高さを自動計算にすることで、画像の縦横比が保たれる */
    max-width: none;    /* ★他のCSSによるmax-width指定を打ち消す */
    flex-shrink: 0;     /* Flexコンテナ内で画像が縮むのを防ぐ */
}

/* テキストタイトルのスタイル */
.c-image-header__title {
    /* 画像の中央に配置するための指定 */
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* テキスト自体のスタイル */
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0 15px; /* 画面端で文字が改行されないように余白を確保 */
    box-sizing: border-box;

    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #F86387;
}

/* テキストタイトルのスタイル */
.c-image-header__title2 {
    /* 画像の中央に配置するための指定 */
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* テキスト自体のスタイル */
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0 15px; /* 画面端で文字が改行されないように余白を確保 */
    box-sizing: border-box;

    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: black;
}


/* ==========================================================
   ★レスポンシブな表示の切り替え（ここが重要）
   ========================================================== */

/* デフォルト（PC表示）では、スマホ用コンテナ(.is-sp)を非表示にする */
.is-sp {
    display: none;
}

/* 画面幅が767px以下の場合（スマホ表示） */
@media (max-width: 767px) {
    /* PC用コンテナ(.is-pc)を非表示に */
    .is-pc {
        display: none;
    }
    /* 非表示にしていたスマホ用コンテナ(.is-sp)を表示 */
    .is-sp {
        display: flex; /* 元のレイアウトに合わせてflexを指定 */
    }

    /* スマホ表示の時の細かいスタイル調整 */
    .c-image-header {
        padding: 0 15px 40px;
        box-sizing: border-box;
		min-height: 90px; 
    }
	.c-image-header__image {
    	width: 320px;  /* レスポンシブな挙動を完全に無効化するための設定 */
	}
    .c-image-header__title {
        font-size: 16px;
		top: 61%;
    }
	.c-image-header__title2 {
		font-size: 16px;
		top: 56%;
	}
}

/* ==========================================================
   共通コンポーネント：もっと見るボタン
   ========================================================== */

/* ボタンを配置するフッターエリアのスタイル */
.p-top-section-footer {
    text-align: center;
    margin-top: 40px; /* 上の商品グリッドとの余白 */
}

/* ボタンの基本スタイル */
.c-button {
    display: inline-block; /* インライン要素でありながら、paddingやmarginが効くようにする */
    padding: 12px 40px; /* ボタンの内側の余白（上下 左右） */
    border-radius: 50px; /* 角を完全に丸くして、楕円形にする */
    text-decoration: none; /* テキストの下線を消す */
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease; /* ホバー時の変化を滑らかにする */
	width: 280px; /* ★希望の幅をピクセルで指定 */
}

/* 白抜き・枠線ありボタンのスタイル */
.c-button--outline {
    background-color: white; /* 背景は透明 */
    border: 2px solid #333;     /* 黒い枠線 */
    color: #333;                /* 文字色は黒 */
}

/* 白抜きボタンのホバー時のスタイル */
.c-button--outline:hover {
    background-color: #333; /* 背景を黒に */
    color: white;           /* 文字色を白に */
}

/* ==========================================================
   特価商品セクション
   ========================================================== */
.p-top-special-price {
    padding: 0 0 60px;
	border-bottom: 6px solid #F86387;
    /* 背景画像を指定する場合はここに記述 */
    /* background: url(...) ...; */
}

/* 商品グリッドのレイアウト */
.c-product-grid {
    display: grid;
    gap: 30px; /* アイテム間の隙間 */
    /* PCでは5カラム */
    grid-template-columns: repeat(5, 1fr);
}

/* 商品カードのスタイル */
.c-product-card {
    border-radius: 3px;
    overflow: hidden;
    display: flex;/* ★カード内のレイアウトをFlexboxで制御 */
    flex-direction: column; /* カード内の要素を縦に並べる */
}
.c-product-card__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.c-product-card__body {
    padding: 15px;
    flex-grow: 1; /* ★テキストエリアが伸びて高さを揃える */
}
.c-product-card__brand {
    font-size: 12px;
    color: #888;
    margin: 0 0 5px 0;
}
.c-product-card__name {
    font-size: 14px;
    margin: 0 0 10px 0;
    /* 2行までに制限し、超えたら...で省略（お好みで） */
    /* display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden; */
}
.c-product-card__name a {
    text-decoration: none;
    color: inherit;
}
.c-product-card__price {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}
.c-product-card__price--regular {
    font-size: 12px;
    color: #888;
    text-decoration: line-through;
    margin-left: 5px;
}
.c-product-card__price--discount {
    font-size: 12px;
    color: #ce505d;
}
.c-product-card__actions {
    padding: 0 15px 15px 15px;
}
.c-product-card__actions .c-button {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}


/* ==========================================================
   スマホ用のスタイル
   ========================================================== */
@media (max-width: 767px) {
    .p-top-special-price {
        padding: 0 0 20px;
		border-bottom: 2px solid #F86387;
		margin: 0 0 20px;
    }
    .c-product-grid {
        /* スマホでは2カラムに */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .p-top-section-header {
        margin-bottom: 25px;
    }
    .p-top-section-header__title {
        font-size: 20px;
    }
}

/* ==========================================================
   ランキングセクション
   ========================================================== */
/* 試し */

.tabs {
  max-width: 500px;
  margin: 10% auto;
}

.tab-list {
  display: flex;
}

.tab-item {
  border-radius: 5px 5px 0 0;
  background-color: #fff;
  border: solid 1px skyblue;
  padding: 0.5em 1.2em;
  cursor: pointer;
}

.tab-content {
  background-color: #f5f5f5;
}

.tab-panel {
  display: none;
}

.tab-item.active {
  background-color: skyblue;
  color: #fff;
  font-weight: bold;
}

.tab-panel.active {
  display: block;
  padding: 3%;
}
.tab-panel.active h2 {
  font-size: 20px;
  font-weight: bold;
}

/* ↑ここまで試し */

/* セクション全体 */
.p-top-ranking {
    padding: 0 0 60px;
    background-color: #f8eded; /* 背景色 */
	margin: 60px 0 0;
}

/* フィルターナビゲーション */
.c-filter-nav {
    display: flex;
    justify-content: left;
    flex-wrap: wrap; /* スマホで折り返すように */
    gap: 5px;
    margin-bottom: 30px;
}

.c-filter-nav__button {
    padding: 6px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid #ddd;
}
/* 通常時のボタン */
.c-filter-nav__button {
    background-color: #fff;
    color: #bebebe;
}
/* アクティブ（選択中）のボタン */
.c-filter-nav__button.is-active {
    background-color: #ce505d;
    color: #fff;
    border-color: #ce505d;
}

/* 商品カード */
.c-filter-nav__button {
    padding: 6px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #bebebe;
}
.c-filter-nav__button.is-active,
.c-filter-nav__button:hover {
    background-color: #ce505d;
    color: #fff;
    border-color: #ce505d;
}

/* 商品グリッド */
.c-product-grid.c-product-grid--ranking {
    display: grid;
    gap: 15px; /* アイテム間の隙間 */
    /* PCでは5カラム */
    grid-template-columns: repeat(5, 1fr);
}

/* 商品カード */
.c-product-card > a { /* 画像とテキストを囲むリンク */
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* ★このエリアが可能な限り高さを広げる */
}
/* ★ランキングナンバー */
.c-product-card__image {
    position: relative; /* ランキングナンバー配置の基準 */
    margin: 0;
	background-color: #fff; /* ★白背景をこちらに移動 */
    aspect-ratio: 1 / 1;    /* ★正方形を維持する */
    display: flex;/* ★中の画像(img)を中央に配置するためのFlexbox設定↓ */
    align-items: center;
    justify-content: center;
}
.c-product-card__image img {
    display: block;
    object-fit: contain; /* ★画像の比率を保ったままコンテナに収める */
    max-width: 90%;/* ★画像が白い背景いっぱいに広がらないように、サイズを少し小さくする↓ */
    max-height: 90%;
}

.c-product-card__body {
    padding: 15px;
    flex-grow: 1; /* ★テキストエリアが伸びて高さを揃える */
}

.c-product-card__rank {
    position: absolute; /* 画像の左上に絶対配置 */
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-image: url('path/to/rank-badge.png'); /* No.1などの王冠画像など */
    background-size: contain;
    color: white;
    font-size: 16px;
    font-weight: bold;
    /* もし王冠画像がなければ、以下の背景色とボーダーでも表現可能 */
    /* background-color: #ce505d; */
    /* border-bottom-right-radius: 10px; */
}

/* ==========================================================
   商品カードの価格表示スタイル
   ========================================================== */
.c-product-card__price {
    /* 横並びにして、ベースラインを揃える */
    display: flex;
    flex-wrap: wrap; /* スマホで改行できるように */
    align-items: baseline;
    gap: 0 8px; /* 各価格要素の間の隙間 */
    margin: 0;
}

/* 販売価格 */
.c-product-card__price--sale {
    font-size: 18px; /* 商品名(14px)より少し大きく */
    font-weight: bold;
    color: #333; /* 黒字 */
    line-height: 1.2;
}
.c-product-card__price--saleDetail {
    font-size: 28px; /* 商品詳細ページの販売価格 */
	color: #333; /* 黒字 */
}

/* 通常価格 */
.c-product-card__price--regular {
    font-size: 13px; /* 商品名(14px)より少し小さく */
    color: #d5605e; /* 赤字 */
    text-decoration: line-through; /* 打ち消し線 */
}

/* 割引率 */
.c-product-card__price--discount {
    font-size: 13px; /* 通常価格と同じサイズ */
    color: #333; /* 黒字 */
    font-weight: normal;
}

/* ==========================================================
   商品カード内のボタン
   ========================================================== */

/* 商品カード内の数量入力欄を非表示にする */
.c-product-card .ec-numberInput {
    display: none;
}

//* カートボタンのエリア */
.c-product-card__actions {
    padding: 0 15px 15px;
}
/* カートボタンのスタイル */
.c-button.c-button--add-to-cart {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 3px;
    background-color: #CE505D;
    color: white;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s;
}
.c-button.c-button--add-to-cart:hover {
    opacity: 0.8;
}
.c-button.c-button--add-to-cart.is-disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* ==========================================================
   スマホ用のスタイル
   ========================================================== */
@media (max-width: 767px) {
    .p-top-ranking {
        padding: 40px 0;
    }
    .c-filter-nav {
        gap: 8px;
        margin-bottom: 25px;
    }
    .c-filter-nav__button {
        font-size: 12px;
        padding: 4px 15px;
    }
    .c-product-grid.c-product-grid--ranking {
        /* スマホでは2カラムに */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .c-product-card__name {
        font-size: 13px;
        min-height: 39px; /* 2行分の高さを確保 */
    }
    .c-product-card__price--sale {
        font-size: 16px;
    }
	.c-product-card__price--saleDetail {
    	font-size: 26px; /* 商品詳細ページの販売価格 */
		color: #333; /* 黒字 */
	}
    .c-product-card__price--regular,
    .c-product-card__price--discount {
        font-size: 12px;
    }
}

/* ==========================================================
   最近チェックしたアイテムセクション
   ========================================================== */
.p-top-history {
    padding: 0 0 60px;
}

.c-history-list {
    display: flex; /* ★アイテムを横並びにする */
    overflow-x: auto; /* ★横方向にはみ出た場合にスクロールバーを表示 */
    gap: 20px; /* アイテム間の隙間 */
    list-style: none;
    padding: 0 0 15px 0; /* スクロールバーのための下部余白 */
    margin: 0;

    /* --- スクロールバーの見た目を隠す（お好みで） --- */
    -ms-overflow-style: brock;  /* IE and Edge */
    scrollbar-width: brock;  /* Firefox */
}
.c-history-list::-webkit-scrollbar {
    display: brock; /* Chrome, Safari, Opera */
}


.c-history-item {
    flex: 0 0 120px; /* ★各アイテムの幅を120pxに固定（縮まないように） */
}

.c-history-item__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.c-history-list--empty {
    text-align: center;
    color: #888;
    padding: 40px 0;
}

/* ==========================================================
   スマホ用のスタイル
   ========================================================== */
@media (max-width: 767px) {
    .p-top-history {
        padding: 40px 0;
    }
    .c-history-item {
        flex-basis: 90px; /* スマホでは少し小さくする */
    }
    .c-history-list {
        gap: 15px;
    }
}

/* ==========================================================
   Instagramセクション
   ========================================================== */
.p-top-instagram {
    padding: 0 0 80px;
    background-color: #faf9f5; /* 元のデザインに合わせた背景色 */
}

.c-instagram-grid {
    display: grid;
    /* PCでは4カラム */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* アイテム間の隙間 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-instagram-grid__item a {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* 画像の角を少し丸くする */
    overflow: hidden; /* 角丸を画像に適用させるため */
}

.c-instagram-grid__item a:hover {
    transform: translateY(-5px); /* ホバー時に少し浮き上がる効果 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.c-instagram-grid__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* ★常に正方形を維持する */
    object-fit: cover; /* ★画像がコンテナに合わせてトリミングされる */
}


/* ==========================================================
   スマホ用のスタイル
   ========================================================== */
@media (max-width: 767px) {
    .p-top-instagram {
        padding: 40px 0;
    }
    .c-instagram-grid {
        /* スマホでは2カラムに */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* ==========================================================
   お知らせセクション
   ========================================================== */
.ec-newsRole {
  padding: 0;
}

.ec-newsRole .ec-newsRole__newsTitle {
  color: #000;
}

 .ec-newsRole .ec-newsRole__news {
	background-color: #fff;
	border: 2px solid #ce505d;
	border-radius: 3px;
    padding: 15px 30px;
  }

.ec-newsRole .ec-newsRole__newsItem:not(:last-of-type) {
  border-bottom: 1px solid #ce505d;
}

.ec-newsRole .ec-newsRole__newsCloseBtn {
  background: #CE505D;
}

.p-top-news {
    padding: 0 0 80px;
    background-color: #f8eded; /* 元のデザインに合わせた背景色 */
}

/* お知らせリスト全体の枠線 */
.c-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border: 2px solid #ce505d;
    border-radius: 8px;
    overflow: hidden; /* 角丸を内側の要素にも適用させるため */
}

/* 各項目（最後の項目以外に下の罫線を引く） */
.c-news-list__item:not(:last-child) {
    border-bottom: 2px solid #ce505d;
}

/* 各項目のリンク（Flexboxコンテナ） */
.c-news-list__link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.c-news-list__link:hover {
    background-color: #fafafa;
}

/* 日付のスタイル */
.c-news-list__date {
    font-size: 16px;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0; /* 日付が縮まないようにする */
}

/* タイトルのスタイル */
.c-news-list__title {
    font-size: 16px;
    flex-grow: 1; /* ★残りのスペースを全て埋めるように広がる */
    /* 長いタイトルを省略する（お好みで） */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 矢印のスタイル（疑似要素で追加） */
.c-news-list__link::after {
    content: '';
    display: block;
    width: 8px;
    height: 12px;
    background-image: url('path/to/your/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
    flex-shrink: 0; /* 矢印が縮まないようにする */
}


/* ==========================================================
   スマホ用のスタイル
   ========================================================== */
@media (max-width: 767px) {
    .p-top-news {
        padding: 40px 0;
    }
    .c-news-list__link {
        padding: 15px;
    }
    .c-news-list__date {
        font-size: 14px;
        margin-right: 15px;
    }
    .c-news-list__title {
        font-size: 14px;
    }
}

/* ==========================================================
   店舗情報セクション
   ========================================================== */
hr:not([size]) {
  height: 2px;
}

.p-top-access {
    padding: 0 0 80px;
}

/* コンテンツ全体の外枠 */
.p-top-access__content-wrapper {
    background-color: #fff;
    border: 2px solid #ce505d;
    border-radius: 3px;
    padding: 30px;
}

/* 店舗情報ブロックとマップ情報ブロックの共通レイアウト */
.p-top-access__block {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* テキストコンテンツエリア */
.p-top-access__text-content {
    flex: 1; /* 残りのスペースを埋める */
}

/* 画像とマップのエリア */
.p-top-access__image,
.p-top-access__map-embed {
    flex-shrink: 0; /* 縮まないようにする */
}
.p-top-access__image {
    width: 650px;
    height: 332px;
}
.p-top-access__map-embed {
    width: 650px;
    height: 238px;
}
.p-top-access__image img,
.p-top-access__map-embed iframe {
    width: 100%;
    height: 100%;
    object-fit: cover; /* コンテナに合わせて画像をトリミング */
    border-radius: 3px;
}


/* 説明リスト（dl）のスタイル */
.c-definition-list {
    margin: 0;
	border-top: 1px solid #E8E8E8; /* 上部に罫線を追加 */
}
.c-definition-list div {
    display: flex;
    align-items: center; /* 中段で揃える */
    padding: 15px 0;
    border-bottom: 1px solid #E8E8E8; /* ★セットごとの罫線 */
	font-size: 17px;
}
.c-definition-list dt {
    flex: 0 0 83px; /* 表題の幅を70pxに固定 */
    font-weight: bold;
}
.c-definition-list dd {
    margin: 0;
    line-height: 1.7;
    display: flex; /* ★ ddもFlexboxにする */
    align-items: center; /* ★ 中のドットとテキストを垂直中央揃え */
}
/* ★表題と値の間のドットを疑似要素で作成 */
.c-definition-list dd::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: #E8E8E8;
    border-radius: 50%;
	margin-right: 14px; /* ★ドットとテキストの間の隙間を指定 */
    flex-shrink: 0; /* ★ドットが縮まないようにする */
}

/* 区切り用の破線 */
.c-dotted-line {
    height: 2px;  /* ★破線の太さに合わせる */
    border: none; /* 元のborderは不要なのでリセット */
    margin: 30px 0 30px;

    /* ★ここが破線の本体です */
    background: repeating-linear-gradient(
        to right, /* グラデーションの方向（右へ） */
        #CE505D, /* 線の色 */
        #CE505D 4px, /* 4px地点まで同じ色（＝線の長さが4pxになる） */
        transparent 4px, /* 4px地点から透明に切り替え */
        transparent 8px /* 8px地点まで透明（＝間隔が4pxになる） */
    );
}


/* ==========================================================
   スマホ用のレスポンシブスタイル
   ========================================================== */
@media (max-width: 991px) { /* PCとSPでレイアウトが変わる画面幅 */
    .p-top-access__block {
        flex-direction: column; /* ★横並びを縦積みに変更 */
    }
    .p-top-access__image,
    .p-top-access__map-embed {
        width: 100%; /* 幅を100%に */
        /* heightはautoにしても良いし、固定でもOK */
    }
}

@media (max-width: 767px) {
    .p-top-access {
        padding: 40px 0;
    }
    .p-top-access__content-wrapper {
        padding: 20px 15px;
    }
    .c-definition-list div {
        font-size: 14px;
        padding: 12px 0;
    }
    .c-definition-list dt {
        flex-basis: 80px; /* スマホでは表題の幅を少し狭める */
    }
}

/* ==========================================================
   フッター
   ========================================================== */
/* PC用のスタイルは今まで通り */
.footer-desktop {
    display: block; /* PCではこちらを表示 */
}
.footer-mobile {
    display: none;  /* PCではスマホ用を非表示にする */
}
/* 共通パーツ：コンテンツの幅を制限し中央揃えにする */
.footer-container {
    max-width: 1130px;
    margin: 0 auto;
    padding: 0 15px;
}
/* 役割1：大カテゴリの行（ボーダーと背景担当） */
.footer-category-bar {
    background: white;
    border-top: 2px solid #DEDBCF;
    border-bottom: 2px solid #DEDBCF;
    padding: 20px 0;
}
/* 役割2：大カテゴリのリスト（ul） - Flexboxで横並びを実現 */
.footer-categories {
    display: flex;
    justify-content: flex-start; /* 横方向の配置（左揃え） */
    align-items: center;
    gap: 89px; /* ★項目間の隙間を80pxに指定（この値を自由に変更してください） */
    padding: 0 0 0 9px;
    margin: 0;
    list-style: none;
}
/* 役割3：大カテゴリの項目（li） - 区切り画像を担当 */
.footer-categories li {
    position: relative; /* ★区切り画像を配置するための基準点 */
	width: 138px; /* ★各カテゴリの幅を固定 */
    box-sizing: border-box;
}
/* 最後の項目以外の右側に区切り線を表示する */
.footer-categories li::after {
    content: ''; /* 疑似要素には必須 */
    display: block;
    position: absolute;
    top: 50%; /* 上から50%の位置に */
    right: -50px; /* ★liの右側に配置、値はgapに合わせて調整 */
    transform: translateY(-50%); /* 垂直方向の中央に補正 */

    width: 2px;  /* 区切り画像の幅 */
    height: 20px; /* 区切り画像の高さ */
    background-image: url('https://xs303399.xsrv.jp/html/template/default/assets/img/footer/rectangle-2.webp'); /* ★区切り画像のパス */
    background-size: contain;
    background-repeat: no-repeat;
}
/* 役割4：大カテゴリのテキスト（h3）のスタイル */
.footer-categories h3 {
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}
/* 親要素（ul）をFlexコンテナにして、子要素(li)を横に並べる */
ul.ec-footerNavi {
	display: flex;          /* これで子要素である li が横に並びます */
    flex-wrap: wrap;        /* 画面幅が狭い時に折り返す設定 */
    gap: 25px;              /* 横に並んだ li 同士の隙間 */
    padding: 0;             /* ulが元々持っている内側の余白を消す */
    list-style: none;       /* liの先頭にある黒い点を消す */
  	color: black;
  	text-align: left;
    justify-content: flex-start; /* 横方向の配置（左揃え） */
}
/* 子要素（li）自身もFlexコンテナにするが、中身は「縦方向」に並べるように指定 */
ul.ec-footerNavi > li.ec-footerNavi__link {
    display: flex;
	flex-direction: column; /* ★中身を縦方向に並べるための重要な指定 */
	gap: 15px;              /* 縦に並んだ孫要素（リンクなど）同士の隙間 */
    /* width: 200px; */     /* 必要に応じて、各カラムの幅を固定することもできます */
    /* justify-content: flex-start;  (必要なら) 縦方向の揃え位置を指定（上揃え） */
    /* align-items: flex-start;      (必要なら) 横方向の揃え位置を指定（左揃え） */
}
/* 個別リンク（a）のスタイル */
.ec-footerNavi .ec-footerNavi__link a {
	display: block;
	width: 190px;
	margin: 16px 0 -13px 9px;
	padding-bottom: 14px; /* 下の余白 */
	border-bottom: 1px solid #E8E8E8; /* 下線 */
	text-decoration: none;
	background-image: url('https://xs303399.xsrv.jp/html/template/default/assets/img/footer/arrow-2.webp'); /* ★ここに画像のパスを記述 */
	background-repeat: no-repeat;
	background-position: 175px 6px; /* 右端・垂直中央に配置 */
	padding-right: 22px; /* ★矢印の幅 + 余白分を確保 */
	background-size: 3.5%; /* ← ここでサイズを指定（幅 高さ） */
	font-size: 14px;
}
/* ==========================================================
   メインレイアウト（CSS Grid）
   ========================================================== */
.footer-main-layout {
    display: grid;
    grid-template-columns: 3fr 2fr; /* ★左エリアと右エリアの幅の比率を 3:2 に設定 */
    gap: 10px; /* ★左右エリア間の隙間 */
	align-items: start; /* ★追加：カラムを上揃えにする */
}

/* ==========================================================
   1. 左側メインナビ（ec-footerNavi）
   ========================================================== */
.ec-footerNavi {
    display: flex;
    justify-content: space-between; /* 3つのカラムを均等に配置 */
    padding: 0;
    margin: 0;
    list-style: none;
}

.ec-footerNavi__link {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ec-footerNavi__link h3 {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

/* ==========================================================
   2. 右側メニュー（side-menu-area）
   ========================================================== */
.side-menu-area {
    display: flex;
    flex-direction: column;
    gap: 15px; /* メニューの各行の間の余白 */
	align-items: flex-end; /* 横方向の配置（右揃え） */
	margin-top: 19px;
}

.side-menu-list {
    display: flex;
    justify-content: space-between; /* 4つのメニューを均等に配置 */
    padding: 0;
    margin: 0;
    list-style: none;
}

.side-menu-list li {
    position: relative;
}

/* 最後の項目以外の右側に区切り画像を表示 */
.side-menu-list li:not(:last-child)::after {
    content: '';
    display: inline-block;
    vertical-align: text-top;
    width: 3px; /* 区切り画像の幅 */
    height: 14px; /* 区切り画像の高さ */
    background-image: url('https://xs303399.xsrv.jp/html/template/default/assets/img/footer/rectangle-3.webp');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 21px; /* テキストと区切り線の間の余白 */
	margin-right: 19px;
}

.side-menu-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    /* font-weight: normal; ← 太字にしない（デフォルト） */
}

/* ==========================================================
   3. ボタンエリア
   ========================================================== */
.button-area {
    text-align: center;
}

.footer-button {
    display: inline-block;
    background-color: #f86387;
    color: white;
    padding: 12px 21px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
	font-size: 16px;
	transition: background-color 0.3s ease, color 0.3s ease;
}
/* ボタンのホバースタイル */
.footer-button:hover {
    background-color: #F8EDED; /* ホバー時の背景色 */
    color: #000;            /* ホバー時の文字色 */
}

/* ==========================================================
   4. Copyrightエリア
   ========================================================== */
.copyright-area {
    text-align: right;
}

.copyright-area .site-name {
    font-size: 24px;
    font-weight: bold;
    margin: 50px 0 10px 0;
	color: black;
}

.copyright-area .site-name a {
	color: inherit;
}
.copyright-area small {
    font-size: 12px;
    color: black;
}

/* ★背景色を画面いっぱいに広げるためのラッパー */
.main-nav-background-wrapper {
    background-color: #FDFDFC; /* ★ここに画面いっぱいに広げたい背景色を指定 */
    padding: 0 0 60px; /* 中のコンテンツとの間に上下の余白を作る */
}

/* ==========================================================
   メディアクエリ（画面幅が1399px以下の場合に適用）
   ========================================================== */
@media (max-width: 1399px) {

    /* --- 表示の切り替え（変更なし） --- */
    .footer-desktop {
        display: none;
    }
    .footer-mobile {
        display: block;
    }

    /* --- スマホ用レイアウトのスタイリング --- */
    .footer-mobile {
        border-top: 2px solid #DEDBCF;
        /* ★左右のpaddingを0にする */
        padding: 2px 0 60px; 
        margin-top: 30px;
		background-color: #FDFDFC;
    }

    .mobile-nav-list {
        padding: 0;
        margin: 0 0 40px 0;
        list-style: none;
    }

    .mobile-nav-list li {
        border-bottom: 1px solid #e0e0e0;
        /* ★liにはpaddingを設定しない。これでborderが画面幅いっぱいになる */
    }

    .mobile-nav-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* ★上下のpaddingに加え、左右のpaddingもここで設定する */
        padding: 18px 20px;
        text-decoration: none;
        color: #333;
        font-weight: bold;
		font-size: 15px;
    }

    /* 矢印の実装（変更なし） */
    .mobile-nav-list a::after {
        content: '';
        display: inline-block;
        width: 8px;
        height: 12px;
        background-image: url('https://xs303399.xsrv.jp/html/template/default/assets/img/footer/arrow-3.webp');
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    /* ボタンとCopyrightのスタイルも、左右の余白が必要な場合は
       それぞれの要素にpadding-left/rightを設定します。*/
    .button-area {
        margin-bottom: 40px;
        padding: 0 20px; /* ボタンも左右に余白を持たせる */
    }

    .copyright-area {
        text-align: center;
        padding: 0 20px; /* Copyrightも左右に余白を持たせる */
    }

}