@charset "UTF-8";
/* トップページCSS用エントリーポイント */
/* カラーミーショップの「トップCSS」に貼り付けるファイルを生成するために使用 */
/* 変数のみ読み込み（top.scssが参照するため必要） */
/* 
 * Design Tokens (Synced with mizuhiki-houyou.jp)
 */
:root {
  /* Colors */
  --primary-color: #3E1D1D;
  --secondary-color: #F7F6F4;
  --tertiary-color: #9B8F8F;
  --accent-color: #FFF367;
  --white: #FFF;
  --black: #000;
  --red: #d70000;
  --border-color: #D2CCCB;
  --bg-secondary: rgba(247, 246, 244, 0.8);
  /* Typography */
  --headline_font: "kinuta-maruminold-stdn", serif;
  --headline_font_weight: 400;
  --body_font: 'YuGothic', 'Yu Gothic medium', 'Hiragino Sans', 'Meiryo', sans-serif;
  --body_font_size: 1rem;
  --body_font_weight: 400;
  --body_font_weight_bold: 700;
  --label_font: "kinuta-maruminold-stdn", serif;
  --label_font_weight: 400;
  /* Font Size Base (Responsive) */
  --font-size-base: clamp(0.875rem, 0.828rem + 0.202vw, 1rem);
  /* Spacing */
  --spacing-section-y: clamp(5rem, 7.3207vw, 6.25rem);
  --spacing-subsection-y: clamp(3.75rem, 5.8566vw, 5rem);
  --spacing-element-y: 3.125rem;
  /* Transitions */
  --transition-base: all 0.3s ease;
}

/* SCSS Variables for Breakpoints (Keeping for media queries) */
/* トップページ専用スタイル */
/* トップページCSS用エントリーポイント */
/* カラーミーショップの「トップCSS」に貼り付けるファイルを生成するために使用 */
/* 変数のみ読み込み（top.scssが参照するため必要） */
/* 
 * Top Page Styles (Synced with mizuhiki-houyou.jp)
 */
/* Main Slider Area */
#slide {
  margin-bottom: clamp(5rem, 7.3207vw, 6.25rem); /* Official main-section padding */
}
@media (max-width: 768px) {
  #slide .sp-arrows {
    display: none !important;
  }
}
@media (min-width: 769px) {
  #slide .sp-slide {
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }
  #slide .sp-slide.sp-selected {
    opacity: 1;
  }
}
#slide .sp-previous-arrow, #slide .sp-next-arrow {
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (max-width: 768px) {
  #slide .sp-previous-arrow, #slide .sp-next-arrow {
    display: none !important;
  }
}
#slide .sp-previous-arrow:hover, #slide .sp-next-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}
#slide .sp-previous-arrow::after, #slide .sp-next-arrow::after {
  display: none !important;
  content: none !important;
}
#slide .sp-previous-arrow::before, #slide .sp-next-arrow::before {
  position: static !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  background: none !important;
  background-color: transparent !important;
  display: block !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: var(--primary-color) !important;
  font-size: 1.2rem !important;
}
#slide .sp-previous-arrow {
  left: 20px;
}
#slide .sp-previous-arrow::before {
  content: "\f053" !important;
  margin-right: 2px;
}
#slide .sp-next-arrow {
  right: 20px;
}
#slide .sp-next-arrow::before {
  content: "\f054" !important;
  margin-left: 2px;
}
#slide {
  /* Slider Pro Pagination Override (Nakagawa Masashichi Style) */
}
#slide .sp-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}
#slide .sp-buttons .sp-button {
  width: 40px;
  height: 2px;
  border: none;
  border-radius: 0;
  background-color: rgba(62, 29, 29, 0.2);
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
  margin: 0; /* Reset default margin */
}
#slide .sp-buttons .sp-button.sp-selected-button {
  background-color: var(--primary-color);
}
#slide .sp-buttons .sp-button:hover {
  background-color: rgba(62, 29, 29, 0.4);
}

/* Common Layout for Lists (New Items, Popular, Banners) */
#recommend,
#new_item,
#popular,
#service,
#gift,
#profile,
#info,
#topbnr {
  margin-bottom: clamp(5rem, 7.3207vw, 6.25rem);
}

/* Section Title is now unified in _main.scss as .section-title, 
   but CMS template uses <h3>. Let's style h3 directly if needed. */
#recommend h3,
#new_item h3,
#popular h3,
#service h3,
#gift h3,
#profile h3,
#info h3 {
  font-family: var(--headline_font);
  font-size: clamp(1.125rem, 0.9rem + 0.7vw, 1.5rem); /* One size smaller */
  font-weight: var(--headline_font_weight);
  text-align: center;
  line-height: 1.8;
  margin-bottom: clamp(2.25rem, 3.9532vw, 3.375rem);
}

#recommend h3 {
  font-size: 1.125rem !important;
  margin-bottom: 1.5rem !important;
}

#topbnr {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}
@media (max-width: 768px) {
  #topbnr {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0 5% 1rem;
    margin: 0 -5%;
  }
  #topbnr::-webkit-scrollbar {
    display: none;
  }
  #topbnr {
    scrollbar-width: none;
  }
}

#topbnr li {
  width: calc(33.333% - 1.35rem); /* 3 columns on desktop */
  list-style: none;
}
@media (max-width: 1024px) {
  #topbnr li {
    width: calc(50% - 1rem); /* 2 columns on small desktop/large tablet */
  }
}
@media (max-width: 768px) {
  #topbnr li {
    width: 70%; /* 70% width on mobile for horizontal scrolling */
    flex-shrink: 0;
  }
}
#topbnr li a {
  display: block;
  text-align: left; /* Change to left align */
  font-size: 0.875rem; /* One size smaller */
  line-height: 1.6;
}
#topbnr li a img {
  width: 100%;
  margin-bottom: 0.75rem; /* Reduced margin */
  transition: opacity 0.3s ease;
  /* Official site image style */
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 0.625rem; /* 10px */
}
#topbnr li a:hover img {
  opacity: 0.8;
}

/* Product DL/LI styling */
#new_item h3 {
  font-size: 1.125rem !important;
  margin-bottom: 1.5rem;
  font-family: var(--headline_font);
  font-weight: var(--headline_font_weight);
  text-align: center;
  line-height: 1.8;
}
#new_item .box {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}
@media (max-width: 768px) {
  #new_item .box {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0 5% 1rem;
    margin: 0 -5%;
  }
  #new_item .box::-webkit-scrollbar {
    display: none;
  }
  #new_item .box {
    scrollbar-width: none;
  }
}
#new_item dl {
  width: calc(25% - 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1024px) {
  #new_item dl {
    width: calc(33.333% - 1.35rem);
  }
}
@media (max-width: 768px) {
  #new_item dl {
    width: 40%;
    flex-shrink: 0;
  }
}
@media (max-width: 480px) {
  #new_item dl {
    width: 40%;
    flex-shrink: 0;
  }
}
#new_item dl dt, #new_item dl dd {
  margin: 0;
}
#new_item dl a {
  display: block;
  text-align: left; /* Unified with banners */
  font-size: 0.875rem; /* Unified with banners */
}
#new_item dl a img {
  width: 100%;
  height: auto;
  margin-bottom: 0.75rem; /* Reduced margin, unified with banners */
  aspect-ratio: 1/1; /* Square images */
  object-fit: cover;
  transition: opacity 0.3s ease;
  border-radius: 0.625rem; /* Keep rounded corners for consistency */
}
#new_item dl a:hover img {
  opacity: 0.8;
}
#new_item dl dd {
  line-height: 1.6;
}

/* Popular items styling */
#popular {
  margin-top: 4rem; /* Increased top margin */
}
#popular h3 {
  font-size: 1.125rem !important; /* Matched with #new_item */
  margin-bottom: 1.5rem; /* Matched with #new_item */
}
#popular ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}
@media (max-width: 768px) {
  #popular ul {
    gap: 1.25rem;
  }
}
#popular .seller-unit {
  width: calc(25% - 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1024px) {
  #popular .seller-unit {
    width: calc(33.333% - 1.35rem);
  }
}
@media (max-width: 768px) {
  #popular .seller-unit {
    width: calc(50% - 0.625rem);
  }
}
@media (max-width: 480px) {
  #popular .seller-unit {
    width: calc(50% - 0.625rem);
  }
}
#popular .seller-unit a {
  display: block;
  text-align: left; /* Unified with #new_item */
  font-size: 0.875rem; /* Unified with #new_item */
  line-height: 1.6;
}
#popular .seller-unit a img {
  width: 100%;
  height: auto;
  margin-bottom: 0.75rem; /* Unified with #new_item */
  aspect-ratio: 1/1; /* Square images */
  object-fit: cover;
  transition: opacity 0.3s ease;
  border-radius: 0.625rem;
}
#popular .seller-unit a:hover img {
  opacity: 0.8;
}

/* Information / News */
#info {
  max-width: 800px;
  margin: 0 auto 2.5rem; /* Further reduced bottom margin */
  text-align: center;
}
#info h3 {
  font-size: 1.125rem !important; /* Matched with #new_item title */
  margin-bottom: 1rem;
}
#info ul {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
}
#info ul li {
  display: flex; /* Prevent text wrap under date */
  gap: 1.5rem;
  font-size: 0.8125rem; /* Overall slightly smaller */
  padding: 0.4rem 0;
  text-align: left;
  line-height: 1.7; /* デスクトップ・全体で行間を広げる */
}
@media (max-width: 480px) {
  #info ul li {
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1.8; /* スマホで行間をさらに少し広げる */
  }
}
#info ul li .date {
  flex-shrink: 0;
  width: 100px; /* Fixed width for date */
  font-size: 0.7rem; /* Smaller date */
  color: #888;
}
@media (max-width: 480px) {
  #info ul li .date {
    width: auto;
  }
}
#info ul li a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}
#info ul li a:hover {
  opacity: 0.7;
}

/* Gift Area */
#gift h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
}
#gift h3 span {
  display: block;
  font-size: 0.625rem;
  font-weight: normal;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  color: #999;
  font-family: var(--body_font);
}
#gift .box {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  #gift .box {
    gap: 1rem;
  }
}
#gift .box a {
  width: calc(33.333% - 1.35rem);
  text-align: center;
}
@media (max-width: 768px) {
  #gift .box a {
    width: calc(50% - 0.5rem);
  }
}
#gift .box a img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 0.75rem;
  transition: opacity 0.3s ease;
}
#gift .box a h4 {
  font-family: var(--headline_font);
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  #gift .box a h4 {
    font-size: clamp(1.125rem, 0.9rem + 0.7vw, 1.5rem);
    font-weight: var(--headline_font_weight);
    line-height: 1.5;
  }
}
#gift .box a:hover img {
  opacity: 0.8;
}

/* Service Area */
#service {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.5vw, 3rem); /* 見出し、メイン画像、リスト間の余白を調整 */
  margin-bottom: clamp(5rem, 7.3207vw, 6.25rem);
}
#service > h3 {
  width: 100%;
  margin-bottom: 0; /* 下の要素との間隔は flex gap で制御するため */
  font-size: 1.125rem !important;
  text-align: center;
}
@media (max-width: 768px) {
  #service > h3 {
    font-weight: var(--headline_font_weight);
  }
}
#service .service-visual {
  width: 100%;
}
#service .service-visual img {
  width: 100%;
  aspect-ratio: 21/9; /* 横長サイズ */
  object-fit: cover;
  border-radius: 0.625rem; /* 10px - 他の画像と統一 */
  display: block;
}
#service .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  width: 100%;
}
#service .service-list a {
  width: calc(33.333% - 1.35rem); /* 3列レイアウト */
  text-align: left;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 768px) {
  #service .service-list a {
    width: calc(50% - 1rem); /* タブレットサイズでは2列 */
  }
}
@media (max-width: 480px) {
  #service .service-list a {
    width: 100%; /* スマホサイズでは1列 */
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 1.25rem;
    row-gap: 0.25rem;
    align-items: start;
  }
}
#service .service-list a img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 0.75rem;
  transition: opacity 0.3s ease;
  border-radius: 0.625rem; /* 10px */
}
@media (max-width: 480px) {
  #service .service-list a img {
    grid-column: 1;
    grid-row: 1/span 2;
    width: 100% !important;
    margin-bottom: 0 !important;
    aspect-ratio: 1/1 !important; /* スマホではコンパクトに正方形 */
  }
}
#service .service-list a h4 {
  font-family: var(--headline_font);
  font-size: 1.125rem; /* 他のセクションと統一（少し小さめに） */
  margin-bottom: 0.5rem;
  font-weight: var(--body_font_weight_bold);
}
@media (max-width: 768px) {
  #service .service-list a h4 {
    font-size: clamp(1.125rem, 0.9rem + 0.7vw, 1.5rem);
    font-weight: var(--headline_font_weight);
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  #service .service-list a h4 {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0.2rem !important; /* 窮屈さを解消するため、少しだけ上の余白を追加 */
    margin-bottom: 0.15rem !important;
  }
}
#service .service-list a p {
  font-size: 0.8125rem; /* 本文より若干小さめにしてすっきり見せる */
  line-height: 1.6;
  color: #555;
}
@media (max-width: 480px) {
  #service .service-list a p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.75rem !important; /* スマホ用に若干サイズ調整 */
    line-height: 1.5 !important;
    margin: 0 !important;
  }
}
#service .service-list a:hover img {
  opacity: 0.8;
}

/* Profile Area */
#profile {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(3.75rem, 5.8566vw, 5rem);
  max-width: 983px; /* Match #author .container-md */
  margin: 0 auto clamp(5rem, 7.3207vw, 6.25rem);
}
#profile .about {
  width: 100%;
}
#profile .about p {
  font-family: var(--headline_font);
  line-height: 1.7;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #profile .about p {
    font-size: 1rem;
    line-height: 1.8;
  }
}
#profile .about .about-photo {
  width: 100%;
  margin-bottom: 2rem;
}
#profile .about .about-photo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.625rem;
  display: block;
  object-fit: cover;
}
#profile .about h3 {
  font-size: 1.125rem !important;
  margin-bottom: 1.5rem !important;
}
#profile .about h3 .yomi {
  font-size: 0.7em;
  vertical-align: middle;
}
#profile .about .bnr {
  text-align: center;
  margin-top: 2.5rem;
}
#profile .about .bnr a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 2.5rem;
  border: 1px solid var(--tertiary-color);
  text-decoration: none;
  color: var(--tertiary-color);
  font-family: var(--headline_font);
  transition: background-color 0.25s ease, color 0.25s ease;
}
#profile .about .bnr a:hover {
  background-color: var(--tertiary-color);
  color: #fff;
}
#profile .about .bnr a .bnr-lead {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
#profile .about .bnr a .bnr-name {
  font-size: 1rem;
  font-weight: var(--body_font_weight_bold);
  letter-spacing: 0.1em;
}
#profile .morita {
  width: 100%;
}
#profile .morita .morita-inner {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  #profile .morita .morita-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}
#profile .morita .morita-photo {
  flex-shrink: 0;
}
#profile .morita .morita-photo img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
@media (max-width: 768px) {
  #profile .morita .morita-photo img {
    width: clamp(180px, 40vw, 240px);
    height: clamp(180px, 40vw, 240px);
  }
}
@media (max-width: 480px) {
  #profile .morita .morita-photo img {
    width: clamp(160px, 45vw, 200px);
    height: clamp(160px, 45vw, 200px);
  }
}
#profile .morita .morita-text {
  flex: 1;
}
#profile .morita .morita-text h4 {
  font-family: var(--headline_font);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
}
#profile .morita .morita-text h4 .morita-name-en {
  font-size: 0.75em;
  letter-spacing: 0.08em;
  color: var(--tertiary-color);
}
#profile .morita .morita-text p {
  font-size: 0.875rem;
  line-height: 1.9;
  margin-bottom: 0;
  text-align: left;
}
#profile .morita .morita-more {
  margin-top: 1.25rem !important;
}
@media (max-width: 768px) {
  #profile .morita .morita-more {
    text-align: center;
    margin-top: 1.5rem !important;
  }
}
#profile .morita .morita-more a {
  font-size: 0.8125rem;
  color: var(--tertiary-color);
  text-decoration: none;
  border-bottom: 1px solid var(--tertiary-color);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
  display: inline-block;
}
@media (max-width: 768px) {
  #profile .morita .morita-more a {
    font-size: 0.9375rem; /* 15px */
    padding: 6px 16px; /* タップ領域の確保 */
  }
}
#profile .morita .morita-more a:hover {
  opacity: 0.65;
}
#profile .book-title {
  text-align: center;
  font-family: var(--headline_font);
  font-size: 1rem;
  font-weight: var(--headline_font_weight);
  margin-bottom: 2rem;
  margin-top: 0;
}
#profile .book {
  width: 100%;
}
#profile .book .book-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #profile .book .book-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  #profile .book .book-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
  }
}
#profile .book .book-list a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}
#profile .book .book-list a:hover {
  opacity: 0.8;
}
#profile .book .book-list a .ph {
  margin: 0 0 0.875rem;
}
#profile .book .book-list a .ph img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
#profile .book .book-list a h5 {
  font-family: var(--headline_font);
  font-size: 0.9375rem;
  font-weight: var(--body_font_weight_bold);
  margin-bottom: 0.5rem;
  margin-top: 0;
  line-height: 1.5;
}
#profile .book .book-list a p {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
  flex: 1;
}
#profile #media-history {
  margin-top: 3.5rem;
}
#profile #media-history .media-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #profile #media-history .media-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 100%;
  }
}
#profile #media-history .media-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
#profile #media-history .media-section {
  text-align: left;
}
#profile #media-history .media-category {
  font-family: var(--headline_font);
  font-size: 1.0625rem;
  font-weight: var(--body_font_weight_bold);
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(62, 29, 29, 0.25);
}
#profile #media-history .media-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
#profile #media-history .media-list li {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--primary-color);
  position: relative;
  padding-left: 0.875rem;
}
#profile #media-history .media-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--tertiary-color);
}
