/*
Theme Nme: MODA_NOVA
Description: Interior shop MODA NOVA
Author: T.Ohmori
Version: 1.0
*/
/* style.css - MODA NOVA サイト用スタイル */
/* 共通設定 */
@import url('https://fonts.googleapis.com/css?family=BioRhyme+Expanded');

html {
  scroll-behavior: smooth;
  scroll-padding: 58px;
}
body {
  font-family: 'Helvetica Neue', sans-serif;
  color: #1b1b1b;
  background-color: #fcfcfc;
  margin: 0;
  padding: 0;
}
.container {
  max-width: max-content;
  background: #fcfcfc;
}
h3 {
  text-align: left;
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 18px;
  margin-left: 50px;
}
/* トップコントロール（検索＋アイコン） */
.top-controls {
  display: flex;
  align-items: center;
  gap: 0px;
/*  margin-bottom: 20px;*/
  width: 100%;
  flex-direction: row;
  justify-content: flex-end;
  background: #f3eeec;

}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 4px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  flex: 1;
  max-width: 160px;
  margin-right: 10px;
}

.search-box input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.search-box button {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 14px;
}

.top-icon {
  font-size: 18px;
  color: #1b1b1b;
  text-decoration: none;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s ease;
  margin-right: 10px;
}

.top-icon:hover {
  background: #fcfcfc;
}

/* ヘッダー全体を横並びに */
.main-header {
  display: flex;
  width: 100%;
  height: 100vh;
  background: #fcfcfc;
}

/* サイドバー（ロゴ＋グローバルメニュー） */
.sidebar {
/*  width: 100%;*/
  background: #f3eeec;
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.logo {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 50px;
  font-weight: bold;
  letter-spacing: 2px;
}

.global-nav {
  list-style: none;
  padding: 10px;
  margin: 0;
  width: 100%;
}

.global-nav li {
  margin-bottom: 30px;
}

.global-nav a {
  text-decoration: none;
  color: #1b1b1b;
  font-size: 16px;
}

/* ハンバーガー初期非表示 */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
}

/* レスポンシブ用 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    padding: 8px;
  }
  .global-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    padding: 20px 0 0 0;
    position: absolute;
    top: 58px;
    right: 0px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  /* メニューがアクティブなときのスタイル */
  .global-nav.active{
    display: block;
    z-index: 1;
    width: 100%;
  }
  /* 開閉アニメーション */
  .hamburger.active span:nth-of-type(1){
    transform: rotate(45deg) translateY(8px) translateX(8px);
  }
  .hamburger.active span:nth-of-type(2){
    opacity: 0;  
  }
  .hamburger.active span:nth-of-type(3){
    transform: rotate(-45deg) translateY(-8px) translateX(8px);
  }
    /* ヘッダー固定 */
  .main-header{
    flex-direction: column;
    height: auto;

  }
  .logo{
    margin: 0 auto;
    padding: 15px;
  }
  .global-nav {
/*    display:none;*/
        width: 0;
        transition: .8s;
        overflow: hidden;
  }
  .global-nav li{
    margin: 0 auto;
    padding-bottom: 20px;
    text-align: center;
  }
  .sidebar {
    width: 100%;
    height:58px;
    padding: 0;
    flex-direction: row;
    align-items: center;
  }
  .sidebar .is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
  }
}

/* Heroセクション（右側ビジュアル） */
.hero-section {
/*  flex: 1;*/
  width: 100%;
  background: url("../images/main_visua_1280x1080l.jpg") no-repeat center center / cover;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 25px;
  /* border-radius: 8px; */
  text-align: center;
  max-width: 80%;
  margin-left: -180px;
  margin-bottom: 120px;
}

.hero-overlay h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 18px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .top-controls {
    display: none;
  }

  .hero-overlay {
    margin: 100px 0 220px 0;

  }
  .hero-overlay h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }
}
/* 商品バナーセクション */
#product-banner {
  background: #f3eeec;
  padding: 40px 20px;
  text-align: center;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 60px;
}

.banner-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.banner-item img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-item p {
  padding: 10px;
  font-size: 16px;
  color: #1b1b1b;
}

/* メイン商品はより大きく */
.banner-item.main {
  grid-column: span 2;
}
@media screen and (max-width: 768px) {
  .banner-grid {
    margin:0;
  }
  .banner-item.sub {
    grid-column: span 2;
  }
}
/* セクションタイトル　レイアウト */
.section-block {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
/*  padding: 60px 20px;
  background: #fcfcfc; */
  max-width: 1200px;
/*  margin: 0 auto;*/
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  font-size: 24px;
  color: #1b1b1b;
  margin-bottom: 20px;
}
.section-title h3{
  margin-left: 50px;
}

.section-sub {
  max-width: 800px;
  margin-left: 100px;
}

.section-subtitle {
  font-size: 14px;
  color: #1b1b1b;
  white-space: nowrap;
  /* min-width: 120px; */
  /* margin-top: 5px; */
  margin-left: 50px;
}

.section-description {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  flex: 1;
  min-width: 200px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .section-block {
    flex-direction: column;
  }
  .section-title h3 {
    margin-left:0;
    text-align: center;
  }

  .section-subtitle {
    text-align: center;
    margin-left:0;
  }
  .section-sub {
    margin-left: 0;
    padding: 10px;
  }
}
/* CATEGORYセクション：グリッドで整列（スクロールなし） */
.category {
  background: #fcfcfc;
  padding: 40px 20px;
/*  text-align: center;*/
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
/*  gap: 20px;*/
  max-width: 1000px;
  margin: 20px auto 0;
}

.category-item {
  display: flex;
  align-items: center;
  background: #fcfcfc;
  border-radius: 8px;
  padding: 10px 15px;
  text-decoration: none;
  color: #1b1b1b;
/*  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: background 0.2s ease;*/
}

.category-item:hover {
  background: #fcfcfc;
}

.category-item img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.category-item p {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}



@media screen and (max-width: 768px) {
  .category-grid {
    gap: 0;
    flex-direction: column;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);

  }

  .category-grid div {
    width: 90%;
    margin-bottom: 10px;
  }

  .category-item p {
    font-size: 13px;
  }
}
/* RANKINGセクション */
.ranking {
  background-color: #f3eeec;
  padding: 40px 20px;
  text-align: center;
}

.ranking-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.ranking-card {
  position: relative;
  background: #fff;
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: left;
}

.ranking-card img {
  width: 100%;
/*  border-radius: 6px;*/
}

.ranking-card h4 {
  margin-top: 10px;
  font-size: 16px;
  color: #1b1b1b;
  text-align: center;
}

.ranking-card p {
  font-size: 14px;
  color: #555;
}

/* ランキング番号アイコン */
/* 共通スタイル */
.rank-icon {
  position: absolute;
  top: -3px; /* 10px -> -3px;*/
  left: -8px; /* 10px ->-8px;*/
  color: white;
  font-weight: bold;
  padding: 0px;
  border-radius: 50%;
  width: 65px; /*32px -> 65px; */
  height: 32px;
  text-align: center;
  line-height: 27px;
  font-size: 20px;
}

/* ランク別の色分け */
.rank-icon.rank1 {
  background-color: #d4af37; /* ゴールド */
}

.rank-icon.rank2 {
  background-color: #c0c0c0; /* シルバー */
}

.rank-icon.rank3 {
  background-color: #cd7f32; /* ブロンズ */
}

/* NEW ARRIVALSセクション */
.new-arrivals {
  background: #fcfcfc;
  padding: 40px 20px;
  text-align: center;
}

/* アイテムカード */
.item-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

.item-card {
  background: #ffffff;
  width: 260px;
  height: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.item-card img {
  width: 100%;
  border-radius: 6px;
}

.item-card h4 {
  margin: 10px 0 5px;
  font-size: 16px;
}
.item-card p{
  font-size: 14px;
  text-align: left;
}
.item-card .price {
  color: #a3522f;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
.item-card {
   width:auto;
}
}
/*
@media screen and (max-width: 768px) {
  .global-nav {
    flex-direction: column;
    align-items: center;
  }

  .item-grid, .category-grid {
    flex-direction: column;
    align-items: center;
  }

  .item-card, .category-grid div {
    width: 90%;
    margin-bottom: 20px;
  }
}
*/
.coordinate {
  background-color: #f3eeec;
  padding: 40px 20px;
  text-align: center;

}
/* STORY */
#story {
  background: #fcfcfc;
  padding: 60px 20px;
}

.story-container {
  display: flex;
  flex-wrap: wrap;
  align-items:flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.story-text {
  flex: 1;
  min-width: 300px;
}

.story-text h3 {
  font-size: 24px;
  margin-bottom: 5px;
/*  margin-left: 0;*/
  color: #1b1b1b;
  text-align: left;
}

.story-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1b1b1b;
  font-weight: bold;
}

.story-description {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.story-image {
  flex: 1;
  min-width: 300px;
}

.story-image img {
  width: 100%;
/*  border-radius: 8px;*/
}

/* RECOMMEND セクション　*/
.recommend {
  background: #fcfcfc;
  padding: 40px 20px;
  text-align: center;
}

.recommend h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.recommend-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: left;
}

.recommend-card img {
  width: 100%;
  border-radius: 8px;
}

.recommend-card h4 {
  font-size: 16px;
  margin: 10px 0;
  color: #1b1b1b;
}

.staff-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.staff-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.staff-info span {
  font-size: 14px;
  color: #1b1b1b;
}


/* SHOP BLOG セクション */
.shop-blog {
  background: #f3eeec;
  padding: 40px 20px;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 50px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-card h4 {
  font-size: 16px;
  margin: 12px 15px 8px;
  color: #1b1b1b;
  text-align: center;
}

.blog-card p {
  font-size: 14px;
  color: #555;
  margin: 0 15px 15px;
}
@media screen and (max-width: 768px) {
.blog-grid {
  margin:0;
}
}
.service {
  background: #fcfcfc;
  padding: 40px 20px;
  text-align: center;
}

.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* カードグリッド */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
/*  margin: 0 auto;*/
  margin: 50px;
}

/* 各カード */
.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  width: 100%;
  height: auto;
  display: block;
}

.service-card h4 {
  font-size: 16px;
  margin: 15px 15px 8px;
  color: #1b1b1b;
  text-align: center;
}

.service-card p {
  font-size: 14px;
  color: #555;
  margin: 0 15px 15px;
}

@media screen and (max-width: 768px) {
  .service-grid {
  margin: 0px;
  }
}
/* SHOPPING GUIDE セクション（アイコン付き） */
#shopping-guide {
  background-color:#f3eeec;
  padding: 40px 20px;
  text-align: center;
}

.guide-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.guide-card {
  background: #fff;
  width: 200px;
  /*border-radius: 8px;*/
  padding: 25px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-card:hover {
  transform: translateY(-4px);
}

.guide-card i {
  font-size: 32px;
  color: #a3522f;
  margin-bottom: 12px;
}

.guide-card h4 {
  font-size: 14px;
  color: #1b1b1b;
  margin: 0;
}



.site-header {
  background-color: #f3eeec;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content {
  padding: 2rem;
  background-color: #fcfcfc;
}

.hero {
  background-color: #f3eeec;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
}

.feature-section, .ranking-section, .story-section {
  margin-bottom: 2rem;
}

.feature-section h3,
.ranking-section h3,
.story-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.feature-item {
  background-color: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: box-shadow 0.3s;
}

.feature-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-item .tag {
  font-size: 0.9rem;
  font-weight: bold;
  color: #a45c3f;
  margin-bottom: 0.5rem;
}

.ranking-list {
  padding-left: 1.2rem;
  line-height: 1.6;
}

.story-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* FOOTER セクション */
.site-footer {
  background: #1b1b1b;
  color: #fff;
  padding: 40px 20px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* 左側画像エリア */
.footer-left {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.footer-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.footer-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 27, 27, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 8px;
}

.footer-overlay .catch {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-overlay .brand {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* 右側リンク＋SNS */
.footer-right {
  flex: 1;
  min-width: 250px;
  margin-left: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
}

.footer-links li a:hover {
  text-decoration: underline;
}

/* SNSアイコン */
.sns-icons {
  display: flex;
  gap: 15px;
  font-size: 18px;
}

.sns-icons a {
  color: #fff;
  transition: opacity 0.3s ease;
}

.sns-icons a:hover {
  opacity: 0.7;
}

/* コピーライト */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #ccc;
}
/* トップに戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #a62c2b;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* 表示時 */
.back-to-top.active {
  opacity: 1;
  pointer-events: auto;
}

/* Company Profile Page */
.content-section {
/*  padding: 40px 20px;*/
  background-color: #fcfcfc;
}

.company-info {
  max-width: 800px;
  margin: 0 auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.info-table th,
.info-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
  color: #1b1b1b;
}

.info-table th {
  width: 30%;
  background-color: #f3eeec;
}
/* Recruit Page */
.recruit-info {
  max-width: 800px;
  margin: 0 auto;
}

.recruit-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1b1b1b;
}

.recruit-block {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.recruit-block h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #a3522f;
}

.recruit-block ul {
  padding-left: 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.apply-note {
  font-size: 14px;
  text-align: center;
}
/* Privacy Policy Site */
.policy {
  max-width: 800px;
  margin: 0 auto;
  font-size: 14px;
  color: #1b1b1b;
  line-height: 1.8;
}

.policy h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1b1b1b;
}

.policy h4 {
  font-size: 16px;
  margin-top: 20px;
  color: #a3522f;
}

.policy ul {
  padding-left: 20px;
  margin: 10px 0 20px;
  list-style: disc;
}
/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 14px;
  color: #1b1b1b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.submit-button {
  background: #a3522f;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.submit-button:hover {
  background: #884423;
}
