/* CLARSTEL 公式サイト（下書き）スタイル
   カラー：紺 #0A1F44 / 青 #2563EB / 水色 #38BDF8 */

:root {
  --navy: #0A1F44;
  --navy-deep: #071633;
  --blue: #2563EB;
  --sky: #38BDF8;
  --ink: #1F2937;
  --ink-soft: #4B5563;
  --bg: #FFFFFF;
  --bg-alt: #F2F6FC;
  --line: #D9E2F0;
  --max-width: 1024px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", YuGothic, Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

.sp-only {
  display: none;
}

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo img {
  display: block;
  width: 132px;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  color: #E8EEF9;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.header-nav a:hover {
  color: var(--sky);
}

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, #0E2A5C 100%);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-stars .star {
  position: absolute;
  background: #FFFFFF;
  border-radius: 50%;
  opacity: 0.7;
}

.hero-stars .s1 { width: 3px; height: 3px; top: 18%; left: 12%; }
.hero-stars .s2 { width: 2px; height: 2px; top: 30%; left: 84%; opacity: 0.5; }
.hero-stars .s3 { width: 4px; height: 4px; top: 12%; left: 68%; opacity: 0.85; }
.hero-stars .s4 { width: 2px; height: 2px; top: 64%; left: 8%; opacity: 0.45; }
.hero-stars .s5 { width: 3px; height: 3px; top: 74%; left: 90%; opacity: 0.6; }

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 24px 96px;
  position: relative;
}

.hero-logo {
  width: min(520px, 86%);
  display: block;
  margin: 0 auto 40px;
}

.hero-catch {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.55;
  margin-bottom: 28px;
}

.hero-sub {
  color: #C9D6EF;
  font-size: 0.98rem;
  line-height: 2;
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 16px;
}

.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-lead {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 44px;
}

/* ---------- 事業内容 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 10px;
  padding: 28px 24px;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.card-tag {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.card p:last-child {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* ---------- CLARSTELについて ---------- */
.about-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 44px;
}

.about-text {
  flex: 1;
}

.about-quote {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 2;
  border-left: 3px solid var(--sky);
  padding-left: 18px;
  margin-bottom: 20px;
}

.about-text p:last-child {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.about-symbol {
  width: 170px;
  flex-shrink: 0;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.about-table th,
.about-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.96rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.about-table tr:last-child th,
.about-table tr:last-child td {
  border-bottom: none;
}

.about-table th {
  width: 22%;
  color: var(--navy);
  background: #EAF0FA;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- お問い合わせ ---------- */
#contact {
  text-align: center;
}

.contact-mail {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  border: 1px dashed var(--blue);
  border-radius: 10px;
  padding: 16px 32px;
  background: #F6FAFF;
  margin-bottom: 16px;
  word-break: break-all;
}

.contact-note {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ---------- プライバシー ---------- */
.privacy-list {
  list-style: none;
}

.privacy-list li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.privacy-list strong {
  color: var(--navy);
}

.privacy-note {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-top: 8px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy);
  color: #C9D6EF;
  text-align: center;
  padding: 48px 24px 40px;
}

.footer-logo {
  width: 150px;
  display: block;
  margin: 0 auto 14px;
}

.footer-tagline {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-copy {
  font-size: 0.82rem;
  color: #8FA5CC;
}

/* ---------- ヒーロー追加要素 ---------- */
.hero-biz {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-note {
  display: inline-block;
  margin-top: 26px;
  padding: 8px 18px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  border-radius: 999px;
  color: #BFE3FB;
  font-size: 0.85rem;
}

/* ---------- カード内リンク ---------- */
.card-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-links a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 5px 12px;
  text-decoration: none;
}

.card-links a:hover {
  background: var(--blue);
  color: #FFFFFF;
}

/* ---------- 販売中の商品 ---------- */
.product-list {
  list-style: none;
}

.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.product-name {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.product-buy {
  text-align: right;
  flex-shrink: 0;
}

.product-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.btn-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--blue);
  border-radius: 999px;
  padding: 7px 16px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-link:hover {
  background: var(--navy);
}

.products-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 20px;
}

.products-note a {
  color: var(--blue);
}

/* ---------- お問い合わせ追加要素 ---------- */
.contact-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-links a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  background: var(--bg);
}

.contact-links a:hover {
  background: var(--blue);
  color: #FFFFFF;
}

/* ---------- 品質への約束 ---------- */
.trust-strip {
  background: linear-gradient(90deg, var(--blue), #1D4ED8);
  color: #FFFFFF;
  text-align: center;
  padding: 36px 24px;
}

.trust-main {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.trust-sub {
  font-size: 0.94rem;
  color: #DBEAFE;
}

/* ---------- 商品グループ ---------- */
.product-group-title {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 30px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--sky);
}

.product-group-title:first-of-type {
  margin-top: 0;
}

.product-thumb {
  width: 132px;
  height: 99px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.product-info {
  flex: 1;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 760px) {
  .sp-only {
    display: inline;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav a {
    font-size: 0.82rem;
  }

  .header-logo img {
    width: 108px;
  }

  .hero-inner {
    padding: 60px 20px 68px;
  }

  .hero-catch {
    font-size: 1.45rem;
  }

  .section {
    padding: 56px 20px;
  }

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

  .about-grid {
    flex-direction: column;
    gap: 24px;
  }

  .about-symbol {
    width: 120px;
  }

  .about-table th {
    width: 30%;
  }

  .product-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .product-buy {
    text-align: left;
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
