/* ============================================
   RADICAL REMOVER Landing Page Styles
   Brand: Scientific, Premium, Natural Purity
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Global Navigation --- */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 40, 70, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.global-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 16px 18px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: #8dd8ff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links li.nav-cta a {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-links li.nav-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.4);
  background: linear-gradient(135deg, #005f8f, #0096b4);
}

.nav-links li.nav-mypage a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.82rem;
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.nav-links li.nav-mypage a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.nav-links li.nav-mypage a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #001a2e;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/hero-bg.png') center center / cover no-repeat;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.35) 0%, rgba(0, 60, 100, 0.15) 50%, rgba(0, 20, 40, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-title-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 5.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-catchcopy {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.15em;
  font-weight: 400;
}

.hero-product {
  flex: 0 0 auto;
  max-width: 420px;
  position: relative;
}

.hero-product img {
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.35));
}

/* --- Section Common --- */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: #0a2540;
}

.section-title-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #0a2540;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}

/* --- About Section --- */
.about {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/about-bg.jpg') center center / cover no-repeat;
  z-index: 0;
}

.about-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.82);
}

.about .container {
  position: relative;
  z-index: 1;
}

.about .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.about .section-title-en {
  font-size: 1.6rem;
  color: #0a2540;
}

.about .section-title {
  font-size: 1.4rem;
  color: #0a2540;
  border-bottom: 2px solid #0077b6;
  display: inline-block;
  padding-bottom: 6px;
}

.about-text {
  font-size: 0.92rem;
  line-height: 2.2;
  color: #333;
  max-width: 900px;
}

.about-text p {
  margin-bottom: 24px;
}

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

/* --- Why Hydrogen Section --- */
.why-hydrogen {
  padding: 100px 0;
  background: linear-gradient(180deg, #f5fafd 0%, #e8f4f8 100%);
}

.why-hydrogen .section-header {
  text-align: left;
  margin-bottom: 50px;
}

.why-hydrogen .section-title {
  font-size: 1.8rem;
  color: #0a2540;
  position: relative;
  padding-bottom: 12px;
}

.why-hydrogen .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
}

.why-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.why-column h3 {
  font-size: 1.2rem;
  color: #0a2540;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 119, 182, 0.3);
  font-weight: 700;
}

.why-column p {
  font-size: 0.92rem;
  line-height: 2.2;
  color: #444;
}

/* --- Manufacturing Process Section --- */
.process {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
}

.process-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/process-bg.png') center center / cover no-repeat;
  z-index: 0;
}

.process-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 30, 60, 0.75);
}

.process .container {
  position: relative;
  z-index: 1;
}

.process .section-header {
  margin-bottom: 50px;
}

.process .section-title {
  color: #fff;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 12px;
}

.process .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #48cae4);
}

.process-block {
  margin-bottom: 60px;
}

.process-block:last-child {
  margin-bottom: 0;
}

.process-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #8dd8ff;
  letter-spacing: 0.04em;
}

.process-block p {
  font-size: 0.92rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.9);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.process-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 30px 24px;
  transition: transform 0.3s, background 0.3s;
}

.process-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step p {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}

/* --- Products Section --- */
.products {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff 0%, #f0f7fa 100%);
}

.products .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.products .section-title-en {
  font-size: 1.4rem;
  color: #0077b6;
  margin-bottom: 6px;
}

.products .section-title {
  font-size: 2rem;
  color: #0a2540;
}

.products .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  margin: 16px auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 40, 80, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 40, 80, 0.14);
}

.product-card .card-image {
  background: #f8fbfd;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.product-card .card-image img {
  max-height: 180px;
  object-fit: contain;
}

.product-card .card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .card-label {
  font-size: 0.78rem;
  color: #0077b6;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.product-card .card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 16px;
}

.product-card .card-price-area {
  margin-bottom: 16px;
}

.product-card .card-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0a2540;
}

.product-card .card-price .yen {
  font-size: 1rem;
  font-weight: 500;
}

.product-card .card-price .tax {
  font-size: 0.78rem;
  color: #888;
  font-weight: 400;
  margin-left: 4px;
}

.product-card .card-shipping {
  font-size: 0.82rem;
  color: #666;
  margin-top: 4px;
}

.product-card .card-shipping.free {
  color: #0077b6;
  font-weight: 700;
}

.product-card .card-btn {
  margin-top: auto;
  padding-top: 16px;
}

.btn-amazon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
}

.btn-amazon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
}

.btn-amazon.disabled {
  background: #999;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

.btn-amazon.disabled small {
  display: block;
  font-size: 0.72rem;
  margin-top: 2px;
  opacity: 0.9;
}

/* Primary CTA button (purchase) */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #d4380d, #ff4d2e);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 56, 13, 0.4);
}

.btn-primary.disabled {
  background: #999;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

.btn-primary.btn-subscription {
  background: linear-gradient(135deg, #005f8f, #0077b6);
}

.btn-primary.btn-subscription:hover {
  box-shadow: 0 6px 20px rgba(0, 95, 143, 0.35);
}

.btn-lg {
  padding: 18px 24px;
  font-size: 1.05rem;
}

.card-btn-group {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Card image link */
.card-image-link {
  display: block;
  transition: opacity 0.2s;
}

.card-image-link:hover {
  opacity: 0.85;
}

.card-name a {
  color: inherit;
  transition: color 0.2s;
}

.card-name a:hover {
  color: #0077b6;
}

/* Sold Out */
.product-card.sold-out {
  position: relative;
}

.sold-out-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.product-card .card-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00b4d8, #48cae4);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* --- News Section --- */
.news {
  padding: 100px 0;
  background: #fff;
}

.news .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.news .section-title-en {
  font-size: 1.2rem;
  color: #0077b6;
  margin-bottom: 6px;
}

.news .section-title {
  font-size: 1.8rem;
}

.news .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  margin: 16px auto 0;
}

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

.news-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e8eef2;
  transition: background 0.2s;
}

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

.news-item:hover {
  background: #f8fbfd;
}

.news-date {
  flex: 0 0 auto;
  font-size: 0.86rem;
  color: #0077b6;
  font-weight: 500;
  letter-spacing: 0.04em;
  min-width: 100px;
}

.news-title {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.news-title a:hover {
  color: #0077b6;
}

/* --- FAQ Section --- */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg, #f5fafd 0%, #eaf3f8 100%);
}

.faq .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq .section-title-en {
  font-size: 1.2rem;
  color: #0077b6;
  margin-bottom: 6px;
}

.faq .section-title {
  font-size: 1.8rem;
}

.faq .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  margin: 16px auto 0;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0, 40, 80, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 119, 182, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  color: #0a2540;
  line-height: 1.6;
  transition: background 0.2s;
  user-select: none;
}

.faq-question:hover {
  background: #f8fbfd;
}

.faq-question .q-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #fff;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
}

.faq-question .q-text {
  flex: 1;
}

.faq-question .q-toggle {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s;
}

.faq-question .q-toggle::before,
.faq-question .q-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #0077b6;
  transition: transform 0.3s;
}

.faq-question .q-toggle::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-question .q-toggle::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-question .q-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 24px 72px;
  font-size: 0.9rem;
  line-height: 2;
  color: #555;
}

/* --- Legal Section --- */
.legal {
  padding: 80px 0;
  background: #fff;
}

.legal .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.legal .section-title {
  font-size: 1.4rem;
}

.legal .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  margin: 16px auto 0;
}

.legal-table {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}

.legal-table tr {
  border-bottom: 1px solid #e8eef2;
}

.legal-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0a2540;
  width: 200px;
  vertical-align: top;
  background: #f8fbfd;
}

.legal-table td {
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  background: #0a1929;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .footer-logo {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav h4 {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: #8dd8ff;
}

.footer-contact h4 {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-contact p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 20px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-title-en {
    font-size: 4rem;
  }

  .hero-catchcopy {
    font-size: 1.9rem;
  }

  .hero-product {
    max-width: 330px;
  }

  .why-columns {
    gap: 40px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(0, 30, 60, 0.97);
    flex-direction: column;
    padding: 80px 0 40px;
    gap: 0;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li a {
    padding: 14px 28px;
    font-size: 0.92rem;
  }

  .nav-links li.nav-cta a {
    margin: 16px 28px 0;
    text-align: center;
  }

  .nav-links li.nav-mypage a {
    margin: 10px 28px 0;
    text-align: center;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 100px 24px 60px;
    gap: 30px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title-en {
    font-size: 3.2rem;
  }

  .hero-catchcopy {
    font-size: 1.8rem;
  }

  .hero-product {
    max-width: 270px;
  }

  .about {
    padding: 70px 0;
  }

  .why-hydrogen {
    padding: 70px 0;
  }

  .why-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process {
    padding: 70px 0;
  }

  .products {
    padding: 70px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .news {
    padding: 70px 0;
  }

  .news-item {
    flex-direction: column;
    gap: 6px;
  }

  .faq {
    padding: 70px 0;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.88rem;
  }

  .faq-answer-inner {
    padding: 0 18px 20px 56px;
  }

  .legal {
    padding: 60px 0;
  }

  .legal-table th {
    width: 130px;
    padding: 12px 14px;
  }

  .legal-table td {
    padding: 12px 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title-en {
    font-size: 2.4rem;
  }

  .hero-catchcopy {
    font-size: 1.5rem;
  }

  .hero-product {
    max-width: 225px;
  }

  .about-text {
    font-size: 0.86rem;
  }

  .legal-table,
  .legal-table thead,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr {
    margin-bottom: 12px;
  }

  .legal-table th {
    width: 100%;
    background: #f0f7fa;
    padding: 10px 14px;
  }

  .legal-table td {
    padding: 10px 14px;
  }
}

/* --- Mobile overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* --- Scroll animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb-bar {
  background: #f5f8fa;
  padding: 14px 0;
  margin-top: 56px;
  border-bottom: 1px solid #e8eef2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #888;
  list-style: none;
}

.breadcrumb li + li::before {
  content: '>';
  margin-right: 8px;
  color: #ccc;
}

.breadcrumb a {
  color: #0077b6;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #005f8f;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
  padding: 60px 0 100px;
  margin-top: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.detail-main-image {
  position: relative;
  background: #f8fbfd;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.detail-main-image img {
  max-height: 350px;
  object-fit: contain;
}

.sold-out-label--detail {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1rem;
  padding: 8px 20px;
}

.detail-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.thumb-btn {
  border: 2px solid transparent;
  background: #f8fbfd;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  transition: border-color 0.2s;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-btn:hover,
.thumb-btn.active {
  border-color: #0077b6;
}

.thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2540;
  line-height: 1.6;
  margin-bottom: 24px;
}

.detail-spec {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.detail-spec tr {
  border-bottom: 1px solid #e8eef2;
}

.detail-spec th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0a2540;
  width: 120px;
  vertical-align: top;
  background: #f8fbfd;
}

.detail-spec td {
  padding: 14px 16px;
  font-size: 0.92rem;
  color: #333;
}

.detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a2540;
}

.detail-price .tax {
  font-size: 0.78rem;
  color: #888;
  font-weight: 400;
}

.shipping-free {
  color: #0077b6;
  font-weight: 700;
}

.shipping-note {
  color: #888;
  font-size: 0.82rem;
}

.detail-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.sold-out-message {
  color: #d4380d;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.detail-description {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e8eef2;
}

.detail-description h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 16px;
}

.detail-description-body {
  font-size: 0.92rem;
  line-height: 2;
  color: #444;
}

.detail-back {
  margin-top: 50px;
  text-align: center;
}

.btn-back {
  display: inline-block;
  padding: 12px 30px;
  color: #0077b6;
  font-size: 0.92rem;
  font-weight: 600;
  border: 2px solid #0077b6;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-back:hover {
  background: #0077b6;
  color: #fff;
}

/* ============================================
   Purchase / Subscription Form
   ============================================ */
.purchase-section {
  padding: 60px 0 100px;
}

.purchase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.purchase-form-block {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0, 40, 80, 0.06);
  border: 1px solid #e8eef2;
}

.purchase-form-block h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0077b6;
}

/* Form elements (front-end) */
.purchase-form-block .form-group {
  margin-bottom: 18px;
}

.purchase-form-block .form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.purchase-form-block .form-group input[type="text"],
.purchase-form-block .form-group input[type="email"],
.purchase-form-block .form-group input[type="tel"],
.purchase-form-block .form-group input[type="password"],
.purchase-form-block .form-group input[type="date"],
.purchase-form-block .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.purchase-form-block .form-group input:focus {
  outline: none;
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.required {
  color: #d4380d;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: #888;
  line-height: 1.5;
}

.form-divider {
  border: none;
  border-top: 1px solid #e8eef2;
  margin: 30px 0;
}

.form-group-checkbox {
  margin-bottom: 16px;
}

.form-group-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0077b6;
  cursor: pointer;
}

.shipping-fields {
  padding-left: 4px;
  border-left: 3px solid #e8eef2;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.shipping-fields .form-group {
  padding-left: 16px;
}

.shipping-note-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: #d48806;
  font-weight: 600;
}

.alert-box.alert-warning {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  color: #ad6800;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.section-subtitle-text {
  font-size: 0.95rem;
  color: #666;
  margin-top: -8px;
  margin-bottom: 32px;
}

/* Alert boxes (front) */
.alert-box {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.88rem;
}

.alert-box.alert-error {
  background: #fff1f0;
  border: 1px solid #ffa39e;
  color: #cf1322;
}

.alert-box.alert-error ul {
  margin: 0;
  padding-left: 18px;
}

.alert-box.alert-success {
  background: #f0fff4;
  border: 1px solid #87e8a3;
  color: #135200;
}

.shipping-free-text {
  color: #0077b6;
  font-weight: 700;
}

/* Subscription notes */
.subscription-notes {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f5fafd;
  border-radius: 8px;
  border: 1px solid #e0eef5;
}

.subscription-notes h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
}

.subscription-notes ul {
  padding-left: 18px;
  list-style: disc;
}

.subscription-notes li {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 4px;
  line-height: 1.6;
}

.purchase-submit-area {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #e8eef2;
}

/* Legacy compat */
.purchase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.purchase-summary,
.purchase-payment {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0, 40, 80, 0.06);
  border: 1px solid #e8eef2;
}

.purchase-summary h2,
.purchase-payment h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0077b6;
}

.purchase-product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.purchase-breakdown {
  width: 100%;
  border-collapse: collapse;
}

.purchase-breakdown tr {
  border-bottom: 1px solid #e8eef2;
}

.purchase-breakdown th {
  text-align: left;
  padding: 12px 0;
  font-size: 0.88rem;
  color: #666;
  font-weight: 500;
}

.purchase-breakdown td {
  text-align: right;
  padding: 12px 0;
  font-size: 0.92rem;
  color: #333;
}

.purchase-breakdown .total-row {
  border-bottom: none;
}

.purchase-breakdown .total-row th,
.purchase-breakdown .total-row td {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a2540;
  padding-top: 16px;
}

.purchase-note {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.8;
}

.btn-checkout {
  width: 100%;
}

.purchase-secure {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #999;
  text-align: center;
}

/* ============================================
   Purchase Complete Page
   ============================================ */
.purchase-complete {
  padding: 120px 0 100px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.complete-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 60px 40px;
  box-shadow: 0 4px 24px rgba(0, 40, 80, 0.08);
}

.complete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 24px;
}

.complete-box h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 20px;
}

.complete-detail {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 8px;
}

.complete-box p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
}

.complete-box .btn-primary {
  display: inline-flex;
  width: auto;
  margin-top: 16px;
  padding: 14px 40px;
}

/* ============================================
   Responsive - Detail / Purchase
   ============================================ */
@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-name {
    font-size: 1.2rem;
  }

  .purchase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .purchase-summary,
  .purchase-payment {
    padding: 24px;
  }

  .complete-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .detail-spec th {
    width: 90px;
    padding: 10px 12px;
  }

  .detail-spec td {
    padding: 10px 12px;
  }
}

/* ============================================
   Mypage
   ============================================ */
.mypage-login-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.mypage-login-box {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 40, 80, 0.08);
  border: 1px solid #e8eef2;
}

.mypage-login-box h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 8px;
  text-align: center;
}

.mypage-login-desc {
  font-size: 0.88rem;
  color: #666;
  text-align: center;
  margin-bottom: 28px;
}

.mypage-login-box .form-group {
  margin-bottom: 18px;
}

.mypage-login-box .form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.mypage-login-box .form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
}

.mypage-login-box .form-group input:focus {
  outline: none;
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.forgot-password-link {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
}

.forgot-password-link a {
  color: #0077b6;
  text-decoration: underline;
}

.forgot-password-link a:hover {
  color: #005a8c;
}

.mypage-section {
  padding: 60px 0 100px;
  margin-top: 56px;
}

.mypage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mypage-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2540;
}

.mypage-block {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(0, 40, 80, 0.06);
  border: 1px solid #e8eef2;
}

.mypage-block h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0077b6;
}

.mypage-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e8eef2;
}

.btn-cancel {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: #cf1322;
  border: 2px solid #cf1322;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.btn-cancel:hover {
  background: #cf1322;
  color: #fff;
}

.cancel-notice {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.8;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  background: #fff;
  color: #0077b6;
  border: 2px solid #0077b6;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: #0077b6;
  color: #fff;
}

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

.mypage-form .form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.mypage-form .form-group input[type="text"],
.mypage-form .form-group input[type="email"],
.mypage-form .form-group input[type="tel"],
.mypage-form .form-group input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mypage-form .form-group input:focus {
  outline: none;
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.mypage-form .form-hint {
  font-size: 0.8rem;
  color: #888;
  margin-top: 6px;
}

.mypage-form .form-divider {
  border: none;
  border-top: 1px solid #e8eef2;
  margin: 24px 0;
}

.mypage-form-buttons {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mypage-table {
  width: 100%;
  border-collapse: collapse;
}

.mypage-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  background: #f5f8fa;
  border-bottom: 2px solid #e8eef2;
}

.mypage-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.no-data {
  font-size: 0.88rem;
  color: #999;
  text-align: center;
  padding: 24px;
}

/* Status badges */
.status-active {
  display: inline-block;
  padding: 3px 10px;
  background: #f0fff4;
  color: #135200;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-cancelled {
  display: inline-block;
  padding: 3px 10px;
  background: #fff1f0;
  color: #cf1322;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-shipped {
  display: inline-block;
  padding: 3px 10px;
  background: #e6f7ff;
  color: #0050b3;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pending {
  display: inline-block;
  padding: 3px 10px;
  background: #fff7e6;
  color: #ad6800;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Cancel page */
.cancel-confirm-box {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 40, 80, 0.08);
  border: 1px solid #e8eef2;
}

.cancel-confirm-box h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 24px;
}

.cancel-warning {
  margin: 24px 0;
  padding: 16px 20px;
  background: #fff1f0;
  border: 1px solid #ffa39e;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #cf1322;
  line-height: 1.8;
}

.cancel-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-cancel-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #cf1322;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-cancel-confirm:hover {
  background: #a8071a;
}

.complete-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.complete-buttons .btn-primary {
  width: auto;
  padding: 14px 30px;
  display: inline-flex;
}

.complete-buttons .btn-back {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 768px) {
  .purchase-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .purchase-form-block {
    padding: 24px;
  }

  .mypage-login-box {
    margin: 0 16px;
    padding: 32px 24px;
  }

  .mypage-block {
    padding: 24px;
  }

  .cancel-confirm-box {
    padding: 24px;
    margin: 0 16px;
  }

  .cancel-buttons {
    flex-direction: column;
  }

  .mypage-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================
   News Detail Page
   ============================================ */
.news-detail-section {
  padding: 60px 0 100px;
}

.news-detail {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: 0 2px 16px rgba(0, 40, 80, 0.06);
  border: 1px solid #e8eef2;
}

.news-detail-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8eef2;
}

.news-detail-date {
  display: inline-block;
  font-size: 0.88rem;
  color: #0077b6;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.news-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2540;
  line-height: 1.6;
}

.news-detail-body {
  font-size: 0.95rem;
  line-height: 2.2;
  color: #444;
}

.news-detail-body p {
  margin-bottom: 16px;
}

.no-news {
  font-size: 0.88rem;
  color: #999;
  text-align: center;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .news-detail {
    padding: 30px 24px;
  }

  .news-detail-title {
    font-size: 1.2rem;
  }
}

/* Admin table actions inline */
.admin-table-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
