/* ==========================================
   ネットプライスマーケット 公式サイト
   style.css
========================================== */

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

:root {
  --navy: #0d1b2a;
  --navy-light: #1a2f45;
  --gold: #c9922a;
  --gold-light: #e8b84b;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray: #e8ecf0;
  --text: #1a1a2e;
  --text-sub: #5a6a7a;
  --accent: #ff6b35;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ========== HEADER ========== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  border-bottom: 1px solid rgba(201,146,42,0.3);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.header-logo-text {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

nav a:hover { color: var(--gold-light); }
nav a:hover::after { transform: scaleX(1); }

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 27, 42, 0.6) 0%,
    rgba(13, 27, 42, 0.2) 60%,
    rgba(13, 27, 42, 0.05) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 60px;
  padding-top: 64px;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.05em;
}

.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ========== SECTION COMMON ========== */
section {
  padding: 100px 40px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 600px;
  line-height: 1.9;
  margin-bottom: 60px;
}

/* ========== ABOUT ========== */
#about {
  background: var(--gray-light);
}

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

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

.about-table tr {
  border-bottom: 1px solid var(--gray);
}

.about-table td {
  padding: 14px 0;
  font-size: 14px;
  vertical-align: top;
}

.about-table td:first-child {
  color: var(--text-sub);
  font-weight: 500;
  width: 120px;
  white-space: nowrap;
}

.about-table td:last-child {
  color: var(--text);
  font-weight: 400;
}

.history-list {
  list-style: none;
  margin-top: 8px;
}

.history-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.history-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.history-year {
  font-weight: 700;
  color: var(--gold);
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

/* ========== SERVICE ========== */
#service {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 40px 32px;
  border-top: 3px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
}

/* ========== PRODUCTS ========== */
#products {
  background: var(--navy);
}

#products .section-title {
  color: var(--white);
}

#products .section-desc {
  color: rgba(255,255,255,0.65);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--navy-light);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201,146,42,0.2);
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 24px;
}

.product-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 16px;
}

.product-tag {
  display: inline-block;
  background: rgba(201,146,42,0.15);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  margin: 2px;
}

.product-amazon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,146,42,0.4);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.product-amazon:hover { color: var(--white); }

/* ========== CONTACT ========== */
#contact {
  background: var(--gray-light);
}

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

.contact-info-list {
  list-style: none;
  margin-bottom: 32px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray);
  font-size: 14px;
}

.contact-info-list .icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-list a {
  color: var(--gold);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--gray);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

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

.form-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 14px 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  align-self: flex-start;
}

.form-submit:hover { background: var(--gold); }

/* ========== FOOTER ========== */
footer {
  background: var(--navy);
  padding: 48px 40px 32px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

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

.footer-logo-text {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav { gap: 16px; }
  nav a { font-size: 12px; }

  section { padding: 70px 20px; }

  .hero-content { padding: 0 20px; padding-top: 64px; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

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

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

/* ========== FOOTER SNS ========== */
.footer-sns {
  display: flex;
  gap: 24px;
  margin-top: 14px;
}

.footer-sns a {
  color: #e0a940;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

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

.footer-sns .fa-facebook {
  color: #1877f2;
  font-size: 18px;
}

.footer-sns .fa-amazon {
  color: #ff9900;
  font-size: 18px;
}
