@charset "UTF-8";

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

img {
  max-width: 100%;
  height: auto;
}


/* バナースタイル */
.banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #F2E8DC;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.banner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 80px;
}

/* ハンバーガーメニューボタン */
.hamburger {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    left: 20px;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ロゴスタイル */
.logo {
	padding-top: 10px;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* ヘッダーユーティリティ（検索とカート） */
.header-utilities {
    margin-left: auto;
    flex-shrink: 0;
    position: absolute;
    right: 20px;
}

.header-utilities ul {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-utilities li {
    display: flex;
}

/* アイコンボタン */
.icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.icon {
    font-size: 22px;
}

/* サイドメニュー */
nav.side-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: left 0.3s ease;
    overflow-y: auto;
}

nav.side-menu.active {
    left: 0;
}

.header-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    background-color: #F2E8DC;
    color: white;
    min-height: 60px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* アコーディオンメニュー */
.accordion-menu {
    padding: 10px 0;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
    width: 100%;
    background: white;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #f5f5f5;
}

.accordion-header.active {
    background-color: #f0f0f0;
    color: #e3d8ca;
}

.arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;

  border-top: 2px solid #999;
  border-right: 2px solid #999;
  border-radius: 1px;

  transform: rotate(135deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fafafa;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-content li {
    display: block;
}

.menu-link {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-link:hover {
    background-color: #f0f0f0;
    color: #F2E8DC;
    border-left-color: #F2E8DC;
}

/* 通常メニュー項目（アコーディオンなし） */
.menu-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.menu-link {
    display: block;
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: white;
    transition: all 0.3s ease;
}

.menu-link:hover {
    background-color: #f5f5f5;
    color: #333;
}


/* オーバーレイ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* メイン */
.main-banner {
  width: 100%;
  max-width: 840px;
  aspect-ratio: 16 / 9;
  margin: 100px auto 30px;
  list-style: none;
  overflow: hidden;
  position: relative;
}


.main-banner .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.main-banner .slide.now {
  opacity: 1;
  z-index: 1;
}

.main-banner .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 18px;
  cursor: pointer;
  z-index: 5;

  font-size: 20px;
  color: #777;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  border: none;
}

.banner-arrow.prev { left: 8px; }
.banner-arrow.next { right: 8px; }

.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  list-style: none;
  z-index: 5;
}

.dots li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.dots li.active {
  background: #333;
}

/* メインコンテンツ */

/* 商品一覧 */

h2 {
    font-size: 24px;
    color: #333;
    margin: 40px auto 20px;
    text-align: center;
}

.section-title {
    background-image: url(../images/装飾下1.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-bottom: 55px;
}

.section-newitem {
    background-image: url(../images/装飾下1.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding: 55px 0;
}

.div-item-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.div-item-list .item {
    text-decoration: none;
    color: #000;
}

.div-item-list img {
	  aspect-ratio: 4 / 5;
	  object-fit: cover;
	  display: block;
}

.item {
	  display: block;
	  transition: opacity .3s ease;
}

.item img {
	  width: 100%;
	  aspect-ratio: 4 / 5;
	  object-fit: cover;
}

.item:hover img {
  	opacity: 0.7;
}

a.item span.line:hover{
    text-decoration: underline;
}


div.andmore{
	display: flex;
  	justify-content: center;
}

a.andmore {
	 display: inline-block;
	 padding: 20px 28px;
	 margin: 50px auto 0;
	 text-decoration: none;
	
	 font-size: 18px;
	 color: #555;
	 border: 1px solid #555;
	 border-radius: 34px;
}

a.andmore:hover{
    text-decoration: underline;
}

/* お知らせ */
aside.news-section {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

h3.news-title {
    border-bottom: #ccc 2px solid;
    text-align: left;
    font-size: 20px;
    color: #333;
    margin: 50px 0 15px;
}

ul.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.news-list li a{
    display: flex;
    align-items: center;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    margin-bottom: 10px;
}

ul.news-list li a:hover{
    margin: 0 0 10px 0;
    text-decoration: underline;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

/* フッター */
footer {
    background-color: #F2E8DC;
    margin-top: 50px;
}

.footer-menu {
    padding: 10px 0 10px;
}

ul.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
  position: relative;
  padding: 0 12px;
}

.footer-nav li::after {
  content: "｜";
  position: absolute;
  color: #ccc;
}

.footer-nav li:last-child::after {
  content: "";
}

.footer-nav a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav a:hover {
    text-decoration: underline;
    color: #999;
}

.copyright {
    color: white;
    text-align: center;
    padding: 10px;
}


