/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fafafa;
  color: #333230;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Banner */
.top-banner {
  background: linear-gradient(90deg, #333230 0%, #4a4845 50%, #333230 100%);
  color: #fff;
  padding: 12px 50px 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, opacity 0.3s;
}

.top-banner.hidden {
  display: none;
}

.top-banner.scrolled {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-icon {
  font-size: 14px;
  color: #f0fffa;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.top-banner p {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0;
}

.banner-highlight {
  background-color: #fff;
  color: #333230;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
}

.banner-close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  line-height: 1;
  padding: 5px;
}

.banner-close:hover {
  opacity: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  padding: 40px 20px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, top 0.3s, padding 0.3s;
}

.site-header.scrolled {
  top: 0;
  background-color: rgba(255, 250, 240, 0.95);
  padding: 15px 20px;
}

.site-header.banner-hidden {
  top: 0;
}

/* Main content area - 固定ヘッダーの下に配置 */
main {
  padding-top: 154px;
  flex: 1;
}

body.banner-hidden main {
  padding-top: 110px;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo {
  width: 220px;
  height: 30px;
  color: #333230;
  transition: color 0.3s;
}

.site-header.scrolled .logo {
  color: #B49762;
}

.site-header nav {
  margin-top: 0;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-header nav a {
  text-decoration: none;
  color: #333230;
  font-size: 13px;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.site-header nav a:hover {
  opacity: 0.6;
}

.instagram-link {
  display: flex;
  align-items: center;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  color: #333230;
}

.favorites-link {
  display: flex;
  align-items: center;
  position: relative;
}

.header-heart-icon {
  width: 22px;
  height: 22px;
  color: #333230;
}

.favorites-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #e85a71;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.favorites-count.show {
  opacity: 1;
}

.cart-link {
  display: flex;
  align-items: center;
  position: relative;
}

.cart-icon {
  width: 22px;
  height: 22px;
  color: #333230;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #333230;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.cart-count.show {
  opacity: 1;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page Header */
.page-header {
  padding: 30px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 3px;
}

.page-header p {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.8;
}

/* Page Header Small (for news detail) */
.page-header-small {
  padding: 20px 20px;
}

.page-header-small h1 {
  font-size: 24px;
}

.page-header-small p {
  margin-top: 10px;
  font-size: 13px;
}

/* Hero Slider */
.hero-slider {
  background-color: #fafafa;
  margin-top: 0;
  padding: 20px 60px 40px;
  position: relative;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 20;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background-color: #333230;
  border-radius: 50%;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: #333230;
}

.scroll-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #333230;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: 10px;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}

.slider-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.slider-sp {
  display: none;
}

.slider-images {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-slider .slide-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e8e8e8;
  border-radius: 16px;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 0 5px;
}

.slider-nav {
  display: flex;
  gap: 8px;
}

.slider-prev,
.slider-next {
  background: none;
  border: 1px solid #333230;
  color: #333230;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: #333230;
  color: #fff;
}

.slider-counter {
  font-size: 13px;
  color: #333230;
  letter-spacing: 1px;
  min-width: 60px;
}

.slider-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.slider-item-name {
  font-size: 14px;
  color: #333230;
  letter-spacing: 0.5px;
}

.slider-item-link {
  font-size: 13px;
  color: #333230;
  text-decoration: none;
  border-bottom: 1px solid #333230;
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.slider-item-link:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero-slider {
    padding: 30px 20px;
  }

  .slider-wrapper {
    max-width: 100%;
  }

  .slider-pc {
    display: none;
  }

  .slider-sp {
    display: block;
  }

  .slider-images {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }

  .hero-slider .slide img {
    border-radius: 12px;
  }

  .slider-controls {
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: space-between;
    align-items: center;
  }

  .slider-nav {
    display: none;
  }

  .slider-counter {
    order: 1;
    flex-shrink: 0;
  }

  .slider-info {
    order: 2;
    flex: 1;
    margin-left: 0;
    gap: 8px;
    justify-content: flex-end;
  }

  .slider-item-name {
    font-size: 11px;
  }

  .slider-item-link {
    font-size: 11px;
  }
}

/* Hero Blank */
.hero-blank {
  height: 100vh;
  min-height: 500px;
  background-color: #fafafa;
  margin-top: 0;
}

/* Hero */
.hero {
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 40px;
  opacity: 0.8;
}

/* Button */
.btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #333230;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #555;
}

/* Content */
.content {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(51, 50, 48, 0.1);
}

.content-section p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 15px;
}

/* Quality Notice */
.quality-notice {
  padding: 30px 20px;
  text-align: center;
}

.notice-content {
  max-width: 800px;
  margin: 0 auto;
}

.notice-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #333230;
  margin: 0;
}

.notice-content p + p {
  margin-top: 5px;
}

/* SP Break - PCでは改行なし、SPでは改行 */
.sp-break {
  display: inline;
}

/* PC Only - SPでは非表示 */
.pc-only {
  display: inline;
}

@media (max-width: 768px) {
  .sp-break {
    display: block;
  }

  .pc-only {
    display: none;
  }
}

/* Product Section */
.product-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-section h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-link.hidden-product {
  display: none;
}

.section-more {
  text-align: center;
  margin-top: 30px;
}

.more-link {
  display: inline-block;
  color: #333230;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 10px 30px;
  border: 1px solid #333230;
  transition: all 0.3s ease;
}

.more-link:hover {
  background-color: #333230;
  color: #fff;
}

.product-card {
  cursor: pointer;
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background-color: #f5f5f5;
  border-radius: 6px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-image .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .img-main {
  opacity: 0;
}

.product-card:hover .img-hover {
  opacity: 1;
}

.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 250, 240, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.favorite-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

.favorite-btn.active {
  background: #fff;
}

.favorite-btn.active .heart-icon {
  fill: #e85a71;
  stroke: #e85a71;
}

.heart-icon {
  width: 18px;
  height: 18px;
  color: #333230;
}

.product-info {
  padding: 15px 5px;
  text-align: center;
}

.product-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.product-price {
  font-size: 14px;
  font-weight: 400;
  color: #333230;
}

.product-price-original {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}

.product-price-sale {
  font-size: 14px;
  font-weight: 500;
  color: #c44;
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #c44;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  letter-spacing: 1px;
  z-index: 2;
}

/* Features */
.features {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 40px 30px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.feature-item p {
  font-size: 14px;
  opacity: 0.8;
}

/* Concept Section */
.concept {
  padding: 80px 20px;
  text-align: center;
}

.concept h2 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.concept p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
}

/* Highlight Box */
.highlight-box {
  background-color: #f5f5f5;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin: 40px 0;
}

.highlight-box p {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

/* Benefits */
.benefits {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

.benefit-item {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
}

.benefit-item h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.benefit-item p {
  font-size: 14px;
  opacity: 0.8;
}

/* Benefits Header */
.benefits-header {
  text-align: center;
  margin-bottom: 30px;
}

.benefits-header h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
}

/* VIP Register Section */
.vip-register-section {
  background-color: #f5f5f5;
  padding: 50px 30px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 40px;
}

.vip-register-section h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.vip-register-section p {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.vip-contact {
  margin: 30px 0;
}

.vip-email {
  font-size: 16px;
  font-weight: 500;
  color: #333230;
  letter-spacing: 1px;
  margin-top: 10px;
}

.vip-welcome {
  font-style: italic;
  margin-top: 20px;
}

/* VIP Tagline */
.vip-tagline {
  text-align: center;
  padding: 30px 20px;
}

.vip-tagline p {
  font-size: 14px;
  font-style: italic;
  color: #666;
  letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
  padding: 50px 30px;
  text-align: center;
}

.cta-section h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 14px;
  margin-bottom: 30px;
  opacity: 0.8;
}

/* Founder Section */
.founder-section {
  text-align: center;
  padding: 40px 20px;
  margin: 40px 0;
}

.founder-signature {
  font-size: 14px;
  font-style: italic;
  color: #666;
  line-height: 2;
  letter-spacing: 1px;
}

/* Contact Form */
.contact-form {
  padding: 40px 0;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  border: 1px solid rgba(51, 50, 48, 0.2);
  border-radius: 5px;
  background-color: #fff;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #333230;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.required {
  color: #c44;
  margin-left: 5px;
  font-size: 12px;
}

.contact-info {
  margin-top: 50px;
  text-align: center;
}

.contact-info h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Company Table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
}

.company-table tr {
  border-bottom: 1px solid rgba(51, 50, 48, 0.1);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th,
.company-table td {
  padding: 20px 25px;
  text-align: left;
  font-size: 14px;
}

.company-table th {
  width: 30%;
  font-weight: 500;
  background-color: rgba(51, 50, 48, 0.03);
}

.company-table td {
  width: 70%;
}

.company-note {
  margin-top: 40px;
  padding: 30px;
  background-color: #f5f5f5;
  border-radius: 10px;
  text-align: center;
}

.company-note p {
  font-size: 14px;
  opacity: 0.8;
}

/* Policy Page (返品・返金ポリシー) */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.policy-section p {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 12px;
}

.policy-section a {
  color: #333230;
  text-decoration: underline;
}

.return-address {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  font-style: normal;
  margin: 16px 0;
  line-height: 1.8;
}

.policy-update-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.policy-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  line-height: 1.8;
}

.policy-list li:last-child {
  border-bottom: none;
}

.policy-list li strong {
  display: block;
  margin-bottom: 4px;
  color: #333230;
}

/* VIP Intro */
.vip-intro {
  text-align: center;
  margin-bottom: 50px;
}

.vip-intro p {
  font-size: 15px;
  line-height: 2;
}

/* Contact Intro */
.contact-intro {
  text-align: center;
  margin-bottom: 50px;
}

.contact-intro p {
  font-size: 15px;
  line-height: 2;
}

/* Footer */
footer {
  background-color: #333230;
  color: #fff;
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo-img {
  max-width: 140px;
  height: auto;
}

.footer-nav {
  margin-bottom: 30px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.6;
}

.copyright {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* Size Guide */
.size-guide {
  margin: 40px 0;
}

.size-guide h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-align: center;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
}

.size-table th,
.size-table td {
  padding: 15px 20px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid rgba(51, 50, 48, 0.1);
}

.size-table th {
  background-color: rgba(51, 50, 48, 0.05);
  font-weight: 500;
}

.size-table tr:last-child td {
  border-bottom: none;
}

.measurement-guide {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.measurement-item {
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 10px;
}

.measurement-item h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.measurement-item p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.highlight-box h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

.highlight-box ul {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.highlight-box li {
  font-size: 14px;
  line-height: 2;
  padding-left: 20px;
  position: relative;
}

.highlight-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #333230;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

/* Rotating Logo */
.rotating-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100px;
  height: 100px;
  z-index: 10;
}

.rotating-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: rotate 12s linear infinite;
}

.rotating-text svg {
  width: 100%;
  height: 100%;
}

.rotating-text text {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 2px;
  fill: #333230;
}

.rotating-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
}

.rotating-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .rotating-logo {
    width: 80px;
    height: 80px;
    top: 15px;
    left: 15px;
  }

  .rotating-text text {
    font-size: 7px;
  }

  .rotating-icon {
    width: 35px;
    height: 35px;
  }
}

/* Hamburger Menu Button (SP only) */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333230;
  transition: all 0.3s;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* SP Header Icons */
.header-icons-sp {
  display: none;
  align-items: center;
  gap: 15px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1005;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: #fff;
  z-index: 1010;
  padding: 100px 30px 40px;
  overflow-y: auto;
  transition: left 0.3s ease-in-out;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #333230;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: opacity 0.3s;
}

.mobile-menu-close:hover {
  opacity: 0.6;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(51, 50, 48, 0.1);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  text-decoration: none;
  color: #333230;
  font-size: 15px;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.mobile-menu a:hover {
  opacity: 0.6;
}

.mobile-menu .instagram-icon {
  width: 20px;
  height: 20px;
}

.mobile-menu .header-heart-icon {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .logo {
    max-width: 160px;
  }

  /* Hide PC nav, show hamburger and icons */
  .nav-pc {
    display: none;
  }

  .hamburger-btn {
    display: flex;
    order: 1;
    flex: 0 0 40px;
  }

  .logo-link {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .header-icons-sp {
    display: flex;
    order: 3;
    flex: 0 0 40px;
    justify-content: flex-end;
  }

  .mobile-menu {
    display: block;
  }

  .instagram-icon {
    width: 18px;
    height: 18px;
  }

  .cart-icon {
    width: 20px;
    height: 20px;
  }

  .header-heart-icon {
    width: 20px;
    height: 20px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-section h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .product-name {
    font-size: 12px;
  }

  .product-price {
    font-size: 13px;
  }

  .favorite-btn {
    width: 32px;
    height: 32px;
  }

  .heart-icon {
    width: 16px;
    height: 16px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 15px 20px;
  }

  .company-table th {
    padding-bottom: 5px;
  }

  .company-table td {
    padding-top: 5px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .footer-nav a {
    font-size: 13px;
  }

  footer {
    padding: 40px 20px 25px;
  }

  .size-table th,
  .size-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .measurement-guide {
    gap: 15px;
  }

  .measurement-item {
    padding: 20px;
  }
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #888;
}

.breadcrumb-item:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #ccc;
}

.breadcrumb-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: #333230;
}

.breadcrumb-item.current span {
  color: #333230;
  font-weight: 500;
}

.breadcrumb-season {
  color: #888;
}

/* Product Detail Page */
.product-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px 80px;
}

/* Product Gallery - 2カラム（左：メイン画像、右：サムネイルグリッド4x2） */
.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-main-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Navigation Buttons */
.gallery-nav-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.gallery-nav-btn {
  padding: 6px 16px;
  background-color: transparent;
  border: none;
  color: #666;
  font-size: 11px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: underline;
}

.gallery-nav-btn:hover {
  color: #333230;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: min-content;
  gap: 6px;
  align-content: start;
}

.thumbnail {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.thumbnail:hover {
  opacity: 0.75;
}

.thumbnail.active {
  opacity: 1;
}

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

/* Product Info Section - 2カラム（左：説明、右：購入情報） */
.product-info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.product-info-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-detail-name {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #333230;
  margin-bottom: 10px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-tag {
  display: inline-block;
  background-color: #f5f5f5;
  color: #666;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
}

.product-info-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Color Selection */
.product-color {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

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

.color-label {
  font-size: 14px;
  font-weight: 500;
  color: #333230;
}

.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-option {
  min-width: 60px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #333230;
  background-color: #fff;
  color: #333230;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
}

.color-option:hover {
  background-color: #333230;
  color: #fff;
}

.color-option.selected {
  background-color: #333230;
  color: #fff;
}

/* Size Selection */
.product-size {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.size-label {
  font-size: 14px;
  font-weight: 500;
  color: #333230;
}

.size-guide-link {
  font-size: 13px;
  color: #333230;
  text-decoration: none;
  border-bottom: 1px solid #333230;
  padding-bottom: 1px;
  transition: opacity 0.3s;
}

.size-guide-link:hover {
  opacity: 0.6;
}

.size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-option {
  min-width: 50px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #333230;
  background-color: #fff;
  color: #333230;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
}

.size-option:hover:not(.out-of-stock) {
  background-color: #333230;
  color: #fff;
}

.size-option.selected {
  background-color: #333230;
  color: #fff;
}

.size-option.out-of-stock {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Size Table in Product Detail */
.size-table-wrapper {
  margin-top: 15px;
}

.size-table-wrapper .size-table {
  font-size: 12px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.size-table-wrapper .size-table th,
.size-table-wrapper .size-table td {
  padding: 8px 10px;
  font-size: 11px;
  border-bottom: 1px solid #e0e0e0;
}

.size-table-wrapper .size-table th {
  background-color: #fafafa;
}

.size-table-wrapper .size-guide-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: #666;
}

.size-table-wrapper .size-guide-link:hover {
  color: #333230;
  text-decoration: underline;
}

/* Price */
.product-detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-regular {
  font-size: 22px;
  font-weight: 500;
  color: #333230;
}

.price-original {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.price-sale {
  font-size: 22px;
  font-weight: 500;
  color: #c44;
}

.price-tax {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  margin-left: 4px;
}

/* Quantity */
.product-quantity {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quantity-label {
  font-size: 14px;
  font-weight: 500;
  color: #333230;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: #f5f5f5;
  color: #333230;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quantity-btn:hover {
  background-color: #e8e8e8;
}

#quantityInput {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  -moz-appearance: textfield;
}

#quantityInput::-webkit-outer-spin-button,
#quantityInput::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Stock */
.product-stock {
  font-size: 14px;
  color: #666;
}

.stock-label {
  font-weight: 500;
}

.stock-count {
  font-weight: 700;
  color: #333230;
}

/* Product Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.btn-add-cart {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 4px;
  background-color: #fff;
  color: #333230;
  border: 1px solid #333230;
}

.btn-add-cart:hover {
  background-color: #f5f5f5;
}

.btn-buy-now {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 4px;
  background-color: #333230;
  color: #fff;
  border: 1px solid #333230;
}

.btn-buy-now:hover {
  background-color: #555;
}

.btn-buy-now:disabled {
  background-color: #999;
  border-color: #999;
  cursor: not-allowed;
}

.btn-shop {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 4px;
  background-color: #fff;
  color: #333230;
  border: 1px solid #333230;
  text-align: center;
}

.btn-shop:hover {
  background-color: #f5f5f5;
}

/* Description Section (now in left column) */
.description-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(51, 50, 48, 0.1);
}

.product-description {
  font-size: 14px;
  line-height: 2;
  color: #333230;
}

/* SP Responsive for Product Detail */
@media (max-width: 768px) {
  .product-detail {
    padding: 20px 20px 60px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
  }

  .gallery-main {
    aspect-ratio: 3 / 4;
    border-radius: 10px;
  }

  .gallery-nav-buttons {
    gap: 8px;
  }

  .gallery-nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .gallery-thumbnails {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 10px;
  }

  .thumbnail {
    flex-shrink: 0;
    width: 70px;
    aspect-ratio: 3 / 4;
  }

  .product-info-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail-name {
    font-size: 20px;
  }

  .product-info-left {
    gap: 15px;
    order: 2;
  }

  .product-info-right {
    order: 1;
    gap: 20px;
  }

  .price-regular,
  .price-sale {
    font-size: 20px;
  }

  .price-original {
    font-size: 14px;
  }

  .product-actions {
    margin-top: 5px;
  }

  .btn-add-cart,
  .btn-buy-now,
  .btn-shop {
    padding: 14px;
    font-size: 14px;
  }
}

/* Favorites Page */
.favorites-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.favorites-empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
}

.favorites-empty p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.favorites-empty .btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: #333230;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: opacity 0.3s;
}

.favorites-empty .btn:hover {
  opacity: 0.8;
}

.favorites-grid {
  display: none;
}

.error-message {
  text-align: center;
  color: #c44;
  padding: 40px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .favorites-section {
    padding: 0 15px 60px;
  }

  .favorites-empty {
    padding: 60px 20px;
  }

  .favorites-empty p {
    font-size: 14px;
  }
}

/* Cart Page */
.cart-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.cart-empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
}

.cart-empty p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.cart-empty .btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: #333230;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: opacity 0.3s;
}

.cart-empty .btn:hover {
  opacity: 0.8;
}

.cart-content {
  display: none;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
}

.cart-item-image {
  width: 100px;
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 500;
  color: #333230;
  text-decoration: none;
  transition: opacity 0.3s;
}

.cart-item-name:hover {
  opacity: 0.7;
}

.cart-item-color {
  font-size: 13px;
  color: #666;
}

.cart-item-size {
  font-size: 13px;
  color: #666;
}

.cart-item-stock {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.cart-item-price {
  font-size: 14px;
  color: #333230;
}

.cart-item-price-original {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}

.cart-item-price-sale {
  color: #c44;
}

.cart-item-actions {
  display: flex;
  align-items: center;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.cart-item-quantity .quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  background-color: #f5f5f5;
  color: #333230;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cart-item-quantity .quantity-btn:hover {
  background-color: #e8e8e8;
}

.cart-item-quantity .quantity-value {
  width: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.cart-item-total {
  font-size: 15px;
  font-weight: 500;
  color: #333230;
  min-width: 80px;
  text-align: right;
}

.cart-item-remove {
  width: 36px;
  height: 36px;
  border: none;
  background-color: transparent;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  color: #c44;
}

/* SP用削除ボタン（デフォルトは非表示） */
.cart-item-remove-sp {
  display: none;
}

/* Cart Summary */
.cart-summary {
  padding: 0;
  position: sticky;
  top: 120px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
  color: #666;
}

.cart-summary-row.cart-shipping-note span:last-child {
  font-size: 12px;
  color: #999;
}

.cart-summary-row.cart-total {
  padding-top: 20px;
  margin-top: 8px;
  border-top: 1px solid #e8e8e8;
  font-size: 18px;
  font-weight: 600;
  color: #333230;
}

.btn-checkout {
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  background-color: #333230;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn-checkout:hover {
  opacity: 0.8;
}

.btn-continue {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background-color: #fff;
  color: #333230;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  border: 1px solid #333230;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn-continue:hover {
  background-color: #f5f5f5;
}

/* Cart SP Responsive */
@media (max-width: 768px) {
  .cart-section {
    padding: 0 15px 60px;
  }

  .cart-empty {
    padding: 60px 20px;
  }

  .cart-empty p {
    font-size: 14px;
  }

  .cart-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 15px;
    padding: 15px 0;
    position: relative;
  }

  .cart-item-image {
    width: 80px;
    grid-row: span 2;
  }

  .cart-item-info {
    grid-column: 2;
  }

  .cart-item-actions {
    grid-column: 2;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 16px;
    width: auto;
  }

  .cart-item-quantity {
    flex-shrink: 0;
  }

  .cart-item-total {
    position: absolute;
    right: 0;
    bottom: 15px;
  }

  /* SP: ×マークを非表示 */
  .cart-item-remove {
    display: none;
  }

  /* SP: 削除ボタンを表示 */
  .cart-item-remove-sp {
    display: inline-block;
    padding: 0;
    border: none;
    background-color: transparent;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
  }

  .cart-item-remove-sp:hover {
    color: #c44;
  }

  .cart-summary {
    position: static;
    padding: 0;
  }

  .cart-summary-row.cart-total {
    font-size: 16px;
  }

  .btn-checkout {
    padding: 14px;
    font-size: 14px;
  }

  .btn-continue {
    padding: 12px;
    font-size: 13px;
  }
}

/* ===========================================
   News Page Styles (note-like design)
   =========================================== */

/* News List Page */
.news-page {
  padding: 0 20px 80px;
  background-color: #fff;
  min-height: 60vh;
}

.news-container {
  max-width: 800px;
  margin: 0 auto;
}

.news-page-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 50px;
  color: #333230;
}

.news-empty {
  text-align: center;
  color: #888;
  font-size: 15px;
  padding: 60px 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  border-bottom: 1px solid #eee;
}

.news-item:first-child {
  border-top: 1px solid #eee;
}

.news-item-link {
  display: block;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.news-item-link:hover {
  opacity: 0.7;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.news-item-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #333230;
}

.news-item-date {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.02em;
}

.news-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tag {
  font-size: 12px;
  color: #666;
  letter-spacing: 0.02em;
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 50px;
  padding-top: 30px;
}

.pagination-link {
  font-size: 14px;
  color: #333230;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s;
}

.pagination-link:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.pagination-current {
  font-size: 14px;
  color: #888;
  letter-spacing: 0.02em;
}

/* News Article Page */
.news-article {
  padding: 30px 20px 100px;
  background-color: #fafafa;
  min-height: 60vh;
}

.news-article-container {
  max-width: 680px;
  margin: 0 auto;
}

.news-article-header {
  margin-bottom: 48px;
}

.news-article-title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #333230;
  margin-bottom: 16px;
}

.news-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.news-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-article-date {
  font-size: 14px;
  color: #888;
  letter-spacing: 0.03em;
}

.news-article-image {
  margin: 0 0 48px;
  border-radius: 8px;
  overflow: hidden;
}

.news-article-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Body - note-like typography */
.news-article-body {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #333230;
}

.news-article-body h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.news-article-body h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 40px 0 20px;
}

.news-article-body h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 32px 0 16px;
}

.news-article-body p {
  margin: 0 0 28px;
}

.news-article-body p:last-child {
  margin-bottom: 0;
}

.news-article-body a {
  color: #333230;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-article-body a:hover {
  opacity: 0.7;
}

.news-article-body ul,
.news-article-body ol {
  margin: 0 0 28px;
  padding-left: 1.5em;
}

.news-article-body li {
  margin-bottom: 8px;
  line-height: 1.9;
}

.news-article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background-color: #f9f9f9;
  border-left: 3px solid #ddd;
  border-radius: 0 4px 4px 0;
}

.news-article-body blockquote p {
  margin-bottom: 0;
  color: #555;
}

.news-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px 0;
}

.news-article-body figure {
  margin: 32px 0;
}

.news-article-body figcaption {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 12px;
}

.news-article-body pre {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.6;
}

.news-article-body code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9em;
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
}

.news-article-body pre code {
  background-color: transparent;
  padding: 0;
}

.news-article-body hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 48px 0;
}

.news-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}

.news-article-body th,
.news-article-body td {
  padding: 12px 16px;
  border: 1px solid #eee;
  text-align: left;
}

.news-article-body th {
  background-color: #f9f9f9;
  font-weight: 500;
}

/* Article Footer */
.news-article-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.news-back-link {
  font-size: 14px;
  color: #333230;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.news-back-link:hover {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header-small {
    padding: 15px 20px;
  }

  .page-header-small h1 {
    font-size: 20px;
  }

  .page-header-small p {
    font-size: 12px;
  }

  .news-page {
    padding: 0 16px 60px;
  }

  .news-page-title {
    font-size: 24px;
    margin-bottom: 36px;
  }

  .news-item-link {
    padding: 20px 0;
  }

  .news-item-title {
    font-size: 15px;
  }

  .news-item-meta {
    gap: 10px;
  }

  .news-pagination {
    gap: 16px;
    margin-top: 36px;
  }

  .pagination-link {
    padding: 10px 16px;
    font-size: 13px;
  }

  .news-article {
    padding: 30px 16px 60px;
  }

  .news-article-header {
    margin-bottom: 36px;
  }

  .news-article-title {
    font-size: 22px;
  }

  .news-article-meta {
    gap: 12px;
  }

  .news-article-image {
    margin-bottom: 36px;
    border-radius: 4px;
  }

  .news-article-body {
    font-size: 15px;
    line-height: 1.9;
  }

  .news-article-body h2 {
    font-size: 19px;
    margin: 40px 0 20px;
  }

  .news-article-body h3 {
    font-size: 17px;
    margin: 32px 0 16px;
  }

  .news-article-body p {
    margin-bottom: 24px;
  }

  .news-article-body blockquote {
    padding: 20px;
    margin: 24px 0;
  }

  .news-article-footer {
    margin-top: 48px;
  }

}

/* ========================================
   共通モーダル
======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  padding: 32px 24px 24px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.modal-message {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  white-space: pre-line;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.modal-btn:active {
  transform: scale(0.98);
}

.modal-btn-primary {
  background-color: #333230;
  color: #fff;
}

.modal-btn-primary:hover {
  background-color: #4a4845;
}

.modal-btn-secondary {
  background-color: #f5f5f5;
  color: #333;
}

.modal-btn-secondary:hover {
  background-color: #e8e8e8;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 28px 20px 20px;
  }

  .modal-title {
    font-size: 16px;
  }

  .modal-message {
    font-size: 13px;
  }

  .modal-btn {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* ===== Thanks Page ===== */
.thanks-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.thanks-content {
  text-align: center;
  max-width: 600px;
  background: #fff;
  padding: 60px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.thanks-icon {
  color: #4CAF50;
  margin-bottom: 30px;
}

.thanks-icon svg {
  width: 80px;
  height: 80px;
}

.thanks-title {
  font-size: 28px;
  font-weight: 600;
  color: #333230;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.thanks-message {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.thanks-info {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 6px;
  margin-bottom: 40px;
}

.thanks-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.thanks-info p:last-child {
  margin-bottom: 0;
}

.thanks-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.thanks-actions .btn {
  min-width: 180px;
  padding: 14px 30px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.thanks-actions .btn-primary {
  background-color: #333230;
  color: #fff;
}

.thanks-actions .btn-primary:hover {
  background-color: #4a4845;
}

.thanks-actions .btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.thanks-actions .btn-secondary:hover {
  background-color: #e8e8e8;
}

@media (max-width: 768px) {
  .thanks-page {
    padding: 60px 15px;
  }

  .thanks-content {
    padding: 40px 25px;
  }

  .thanks-icon svg {
    width: 60px;
    height: 60px;
  }

  .thanks-title {
    font-size: 22px;
  }

  .thanks-message {
    font-size: 14px;
  }

  .thanks-info {
    padding: 20px;
  }

  .thanks-info p {
    font-size: 13px;
  }

  .thanks-actions {
    flex-direction: column;
  }

  .thanks-actions .btn {
    width: 100%;
    min-width: auto;
  }
}
