@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-color: #f5f5f7;
  --text-color: #6e6e73;
  --heading-color: #000000;
  --s3-title-color: #1d1d1f;
  --menu-color: #333333;
  /* Gradients */
  --blue-gradient: linear-gradient(
    90deg,
    #4c5b65 0%,
    #697b8b 50%,
    #7b8fa3 100%
  );
  --purple-gradient: linear-gradient(180deg, #8348b1 30%, #ce78c8 80%);
  --tab-bg-inactive: #e8e8ed;
  /* Typography */
  --font-japanese: "Noto Sans JP", sans-serif;
  --font-english: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Layout & Spacing */
  --max-width: 1200px;
  --radius-image: 24px;
  --radius-header: 34px;
  --radius-button: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-japanese);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  width: 100%;
  letter-spacing: -0.04em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

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

/* ==========================================================================
   Typography & Headers
   ========================================================================== */

h1,
h2,
h3,
h4 {
  color: var(--heading-color);
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: var(--max-width);
  height: 52px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-header);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.header-logo img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-japanese);
  font-size: 12px;
  font-weight: 400;
  color: var(--menu-color);
  opacity: 0.8;
  position: relative;
}

.nav-link:hover {
  opacity: 1;
}

.lang-switch.active {
  font-weight: 700;
  opacity: 1;
  border-bottom: 1px solid var(--menu-color);
  padding-bottom: 2px;
}

/* Hamburger Menu (Mobile Only) */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  z-index: 1010;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--menu-color);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Common Components
   ========================================================================== */

.section-padding {
  padding: 50px 20px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* Gradient Buttons */

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-gradient);
  color: #ffffff;
  font-family: var(--font-japanese);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 36px;
  border-radius: var(--radius-button);
  box-shadow: 0 4px 15px rgba(105, 123, 139, 0.2);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(105, 123, 139, 0.35);
  filter: brightness(1.05);
}

.btn-blue:active {
  transform: translateY(0);
}

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 20px 60px 20px;
  text-align: center;
}

.hero-logo {
  margin-bottom: 24px;
}

.hero-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.hero-tagline {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 60px;
  line-height: 1.4;
}

.hero-tagline span {
  background: linear-gradient(180deg, #4c5b65 0%, #697b8b 50%, #7b8fa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  aspect-ratio: 1200 / 645;
  object-fit: cover;
  border-radius: var(--radius-image);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Section 2: Tabs and Carousel
   ========================================================================== */

.section2-intro {
  text-align: center;
  max-width: 830px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.sub-title-purple {
  font-family: var(--font-english);
  font-size: 41px;
  font-weight: 600;
  background: var(--purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0px;
  padding: 0;
  margin: 0;
  line-height: 1em;
  letter-spacing: -0.04em;
}

.main-title-black {
  font-size: 40px;
  font-weight: 900;
  color: var(--heading-color);
  margin-bottom: 24px;
  line-height: 1.2em;
}

.intro-desc {
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.4;
  text-align: center;
  font-weight: 600;
}

/* Product Tabs Navigation */

.tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.tabs-nav {
  display: flex;
  background-color: var(--tab-bg-inactive);
  padding: 4px;
  border-radius: 9999px;
  gap: 2px;
}

.tab-btn {
  font-family: var(--font-japanese);
  font-size: 12px;
  font-weight: 500;
  color: var(--menu-color);
  padding: 10px 24px;
  border-radius: 9999px;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
  background-color: #2b3a4a;
  /* シックなネイビー調ブルー */
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Tab Contents */

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  max-width: 800px;
  margin: 0 auto 50px auto;
  text-align: left;
  padding: 0 20px;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(180deg, #4c5b65 0%, #697b8b 50%, #7b8fa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0px;
  text-align: left;
  display: inline-block;
}

.product-desc {
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.4;
  white-space: pre-line;
  font-weight: 600;
}

.product-desc strong {
  color: #000;
}

/* Carousel Outer */

.carousel-outer {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: visible;
  padding: 20px 0;
}

.carousel-container {
  width: 100%;
  overflow: visible;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 700px;
  width: 700px;
  padding: 0 10px;
  transition: var(--transition-smooth);
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-image-wrapper {
  width: 100%;
  aspect-ratio: 700 / 460;
  overflow: hidden;
  border-radius: var(--radius-image);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  background-color: #eaeaea;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-image);
  transition: transform 0.5s ease;
}

/* Carousel Title Display (Below Slide) */

.slide-title {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--heading-color);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-slide.active .slide-title {
  opacity: 1;
}

/* Control Navigation (Below Carousel) */

.carousel-controls {
  max-width: var(--max-width);
  margin: 40px auto 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Navigation Arrows (Bottom Right) */

.carousel-arrows {
  display: flex;
  gap: 12px;
  position: absolute;
  right: 20px;
  top: 0;
}

.arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(220, 220, 225, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition-fast);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.arrow-btn:hover {
  background-color: rgba(200, 200, 205, 0.9);
  transform: scale(1.05);
}

.arrow-btn:active {
  transform: scale(0.95);
}

/* Purchase Button (Below Carousel Centered) */

.purchase-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ==========================================================================
   Section 3: Feature Cards
   ========================================================================== */

.features-section {
  background-color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  padding: 0 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-image-wrapper {
  width: 100%;
  max-width: 370px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-image);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  background-color: #f5f5f7;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-image-wrapper {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-image);
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--s3-title-color);
  line-height: 1.4;
  padding: 0 10px;
}

.manual-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ==========================================================================
   Section 4: Disclaimer / Footer
   ========================================================================== */

.disclaimer-section {
  background-color: var(--bg-color);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 60px 20px;
}

.disclaimer-container {
  max-width: 800px;
  margin: 0 auto;
  font-size: 10px;
  color: #86868b;
  line-height: 1.4;
  text-align: justify;
}

.disclaimer-text p {
  margin-bottom: 12px;
}

.disclaimer-text p:last-child {
  margin-bottom: 0;
}

.footer-copy {
  margin-top: 30px;
  text-align: center;
  font-size: 9px;
  color: #b0b0b5;
}

/* ページ下部バナー */

.banner-container {
  display: flex;
  justify-content: center;
  margin: 20px auto;
  gap: 10px;
}

.banner-container img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: 0.2s;
  padding: 16px;
}

.banner-container img:hover {
  transform: scale(1.02);
  border-color: var(--primary);
}

/* Counter Section Styles */

.counter-wrapper {
  display: flex;
  justify-content: center;
  gap: 120px;
  margin-bottom: 70px;
  text-align: center;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-number {
  font-family: var(--font-english);
  font-size: 60px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.1;
}

.counter-label {
  font-family: var(--font-japanese);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  margin-top: 8px;
}

/* ==========================================================================
   Responsive & Adaptive Styles (Mobile / Tablet)
   ========================================================================== */

@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 550px;
    width: 550px;
  }
}

@media (max-width: 768px) {
  .banner-container {
    flex-direction: column;
    align-items: center;
  }
  /* Common Adjustments */
  .section-padding {
    padding: 80px 20px;
  }
  .site-header {
    width: 92%;
    padding: 0 20px;
  }
  /* Header Navigation Drawer */
  .hamburger {
    display: flex;
  }
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: var(--transition-smooth);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.05);
    border-radius: 24px 0 0 24px;
  }
  .header-nav.open {
    right: 0;
  }
  .nav-link {
    font-size: 18px;
    font-weight: 500;
  }
  /* Hamburger Open State */
  .hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  /* Section 1 Hero */
  .hero-section {
    padding: 100px 20px 40px 20px;
  }
  .hero-tagline {
    font-size: 15px;
    margin-bottom: 40px;
  }
  /* Section 2 Intro Titles */
  .sub-title-purple {
    font-size: 24px;
  }
  .main-title-black {
    font-size: 28px;
    margin-bottom: 16px;
  }
  /* Section 2 Carousels (Mobile Mode) */
  .carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 15px;
    opacity: 0;
    transform: scale(0.95);
    display: none;
    /* JSでアクティブなものだけ表示・フェードイン */
  }
  .carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    display: flex;
  }
  .carousel-image-wrapper {
    aspect-ratio: 700 / 460;
  }
  .slide-title {
    opacity: 1;
    font-size: 14px;
    margin-top: 16px;
  }
  /* Controls Mobile Layout */
  .carousel-controls {
    margin-top: 30px;
  }
  .carousel-arrows {
    position: static;
    margin-top: 15px;
    justify-content: center;
    width: 100%;
  }
  /* Section 3 Features (Vertical Stack) */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    justify-items: center;
  }
  .feature-card {
    max-width: 370px;
    width: 100%;
  }
  .feature-title {
    font-size: 20px;
  }
  .counter-wrapper {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
  }
  .counter-number {
    font-size: 44px;
  }
  .counter-label {
    font-size: 12px;
    margin-top: 4px;
  }
}

/* ==========================================================================
   Concept Page Styles
   ========================================================================== */

.concept-page-section {
  padding-top: 120px;
  padding-bottom: 80px;
  background-color: var(--bg-color);
}

.concept-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  color: var(--text-color);
  font-family: "游明朝", "Yu Mincho", YuMincho, serif;
}

.concept-title {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--heading-color);
}

.concept-intro {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: left;
}

.concept-section-title {
  font-size: 24px;
  color: var(--heading-color);
  margin-top: 50px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8e8ed;
  text-align: left;
}

.concept-subsection-title {
  font-size: 20px;
  color: var(--heading-color);
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.concept-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.concept-list {
  margin-left: 20px;
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 14px;
}

.concept-list li {
  margin-bottom: 8px;
}

.concept-image-container {
  text-align: center;
  margin: 30px 0;
}

.concept-image {
  max-width: 100%;
  height: auto;
  /* border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
  display: inline-block;
}

.concept-image-caption {
  font-size: 12px;
  color: #8e8e93;
  margin-top: 8px;
  text-align: center;
}

.toc-container {
  background-color: #ffffff;
  border: 1px solid #e8e8ed;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
}

.toc-title {
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
  font-size: 16px;
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  color: var(--text-color);
  font-size: 14px;
  transition: var(--transition-fast);
}

.toc-list a:hover {
  color: #697b8b;
  text-decoration: underline;
}

/* ==========================================================================
   Concept Page White Background & Formula Box
   ========================================================================== */

body.page-concept {
  background-color: #fff;
}

body.page-concept .concept-page-section,
body.page-concept .disclaimer-section {
  background-color: #fff;
}

.formula-box {
  /* background-color: #f5f5f7;
  border-left: 4px solid #697b8b; */
  padding: 15px;
  margin: 20px 0;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  /* border-radius: 0 8px 8px 0; */
}

.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  margin-bottom: 40px;
  font-family: "游明朝", "Yu Mincho", YuMincho, serif;
}

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

.disclosure-table th {
  width: 250px;
  font-weight: 700;
  color: var(--heading-color);
  background-color: #f5f5f7;
  border-right: 1px solid #e8e8ed;
}

.disclosure-table td {
  color: var(--text-color);
}

@media (max-width: 768px) {
  .disclosure-table,
  .disclosure-table tbody,
  .disclosure-table tr,
  .disclosure-table th,
  .disclosure-table td {
    display: block;
    width: 100%;
  }
  .disclosure-table th {
    border-right: none;
    background-color: #f5f5f7;
    padding: 10px 15px;
  }
  .disclosure-table td {
    border-bottom: 2px solid #e8e8ed;
    padding: 15px;
  }
}




