/* =========================================================
   Sekaino Takara Japan — ポップ版（白ベース＋コーラル・イエロー・ターコイズ）
   ・暗い色は使わない（本人の希望）
   ・色や文字を変える時は、下の :root の値を変える
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #fff8ec;        /* 淡いクリーム */
  --text: #3a3550;           /* 本文（読める濃さだけ確保した、やわらかい紫みのグレー） */
  --heading: #2f2a47;
  --muted: #6f6a85;
  --line: #f0e6d6;

  --coral: #ff6b6b;
  --coral-soft: #ffe1e1;
  --yellow: #ffc93c;
  --yellow-soft: #fff4cf;
  --turquoise: #1fc8b4;
  --turquoise-soft: #d6f7f2;
  --pink: #ff8fb1;

  --font-display: "Fredoka", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito", "Helvetica Neue", Arial, sans-serif;
  --radius: 28px;
  --shadow: 0 6px 0 rgba(47,42,71,.06), 0 18px 40px -18px rgba(47,42,71,.25);
  --max: 1120px;
}
html[lang="ja"] {
  --font-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
html[lang="ja"] body { line-height: 1.95; letter-spacing: .03em; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] .lead { word-break: auto-phrase; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); margin: 0; line-height: 1.25; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 3px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--yellow); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  text-decoration: none; color: var(--heading); display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.brand-mark { width: 40px; height: 40px; flex: none; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--coral); }
.lang-switch {
  background: var(--turquoise); color: #fff !important; padding: 6px 16px; border-radius: 999px;
}
.lang-switch:hover { background: var(--coral); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 5px 0 #e04f55; }
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 3px 0 #e04f55; }
.btn-ghost { background: #fff; color: var(--heading); border: 3px solid var(--heading); }
.btn-ghost:hover { background: var(--yellow-soft); }

/* ---------- 冒頭 ---------- */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; background: var(--bg-soft); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; background: var(--yellow); color: var(--heading);
  font-weight: 800; font-size: .9rem; padding: 6px 16px; border-radius: 999px; margin: 0 0 20px;
  transform: rotate(-2deg);
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-weight: 700; letter-spacing: -.01em; }
html[lang="ja"] .hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: 0; }
.hero h1 .hl { color: var(--coral); }
.hero h1 .hl2 { color: var(--turquoise); }
.lead { font-size: 1.15rem; margin: 24px 0 32px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-keys { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-keys li {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow);
}
.hero-keys svg { width: 18px; height: 18px; color: var(--coral); flex: none; }
.hero-keys li:nth-child(2) svg { color: var(--turquoise); }
.hero-keys li:nth-child(3) svg { color: #e0a800; }

/* 写真の枠（画像ができるまでは色の面） */
.photo-frame {
  position: relative; border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%;
  aspect-ratio: 4 / 5; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--turquoise-soft), var(--yellow-soft) 55%, var(--coral-soft));
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual { position: relative; }
.hero-visual .sticker {
  position: absolute; left: -18px; bottom: 28px; background: var(--coral); color: #fff;
  font-family: var(--font-display); font-weight: 700; padding: 12px 20px; border-radius: 18px;
  transform: rotate(-6deg); box-shadow: var(--shadow); font-size: 1.05rem;
}

/* 飾りの図形 */
.shape { position: absolute; z-index: 0; pointer-events: none; }
.shape.c1 { width: 340px; height: 340px; border-radius: 50%; background: var(--yellow); opacity: .55; top: -120px; right: -80px; }
.shape.c2 { width: 180px; height: 180px; border-radius: 50%; background: var(--turquoise); opacity: .35; bottom: -60px; left: -50px; }
.shape.c3 { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); top: 9%; left: 54%; }
.shape.star { width: 46px; height: 46px; color: var(--yellow); }
.shape.s1 { top: 3%; left: 30%; }
.shape.s2 { bottom: 16%; right: 42%; color: var(--pink); width: 34px; height: 34px; }
.wave { display: block; width: 100%; height: 60px; position: absolute; bottom: -1px; left: 0; z-index: 1; }

/* ---------- セクション共通 ---------- */
.block { padding: 96px 0; position: relative; }
.label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 700; color: var(--coral); font-size: 1rem; letter-spacing: .04em;
}
.label .num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--coral); color: #fff; font-size: .9rem;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 18px; }
html[lang="ja"] .section-title { font-weight: 800; }
.section-intro { font-size: 1.08rem; max-width: 40em; margin: 0 0 8px; }

/* ---------- 会社概要 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.profile {
  margin: 32px 0 0; border: 6px solid #fff; border-radius: var(--radius); padding: 8px 28px; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--turquoise-soft), var(--yellow-soft) 50%, var(--coral-soft));
}
.profile > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 2px dashed rgba(255,255,255,.9); }
.profile > div:last-child { border-bottom: 0; }
.profile dt { font-weight: 800; color: var(--turquoise); }
.profile dd { margin: 0; }
.about-media .photo-frame { aspect-ratio: 1 / 1; border-radius: 40px; transform: rotate(3deg); }

/* ---------- メーカーのためにできること ---------- */
.services { background: var(--turquoise-soft); }
.services .container { position: relative; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px 28px;
  box-shadow: var(--shadow); border-top: 10px solid var(--c, var(--coral));
  transition: transform .2s;
}
.card:hover { transform: translateY(-6px) rotate(-.5deg); }
.card:nth-child(1) { --c: var(--coral); --c-soft: var(--coral-soft); }
.card:nth-child(2) { --c: var(--yellow); --c-soft: var(--yellow-soft); }
.card:nth-child(3) { --c: var(--turquoise); --c-soft: var(--turquoise-soft); }
.card:nth-child(4) { --c: var(--pink); --c-soft: var(--coral-soft); }
.card:nth-child(5) { --c: #8c7cf0; --c-soft: #ece8ff; }
.card .no {
  position: absolute; top: 18px; right: 22px; font-family: var(--font-display);
  font-weight: 700; font-size: 2.4rem; color: var(--c-soft); line-height: 1;
}
.card .icon {
  width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center;
  background: var(--c-soft); color: var(--c); margin-bottom: 18px;
}
.card:nth-child(2) .icon { color: #d9a400; }
.card .icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { margin: 0; font-size: .98rem; }

/* ---------- 日本のメーカーさまへ（日本語ページだけ） ---------- */
.jp-makers { background: var(--coral-soft); }
/* ---------- お問い合わせへ誘う帯 ---------- */
.cta { padding: 80px 0; background: var(--yellow); text-align: center; position: relative; overflow: hidden; }
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.35);
}
.cta::before { width: 220px; height: 220px; left: -60px; top: -80px; }
.cta::after { width: 140px; height: 140px; right: 6%; bottom: -50px; }
.cta .container { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
html[lang="ja"] .cta h2 { font-weight: 800; }
.cta p { font-size: 1.1rem; max-width: 36em; margin: 0 auto 28px; }

/* ---------- お問い合わせ ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; margin-top: 36px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 20px; padding: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: 20px; padding: 16px 18px; }
.contact-list svg { width: 24px; height: 24px; color: var(--coral); flex: none; margin-top: 3px; }
.contact-list span { display: block; font-weight: 800; color: var(--turquoise); font-size: .9rem; }
.map-card, .form-card { border-radius: var(--radius); overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); background: #fff; }
.map-card iframe { display: block; width: 100%; height: 300px; border: 0; }
.form-card iframe { display: block; width: 100%; height: 820px; border: 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--yellow-soft); padding: 64px 0 28px; border-top: 6px solid var(--yellow); }
.community {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin-bottom: 48px;
}
.community-logo { background: #fff; border-radius: 16px; }
.community-logo img { width: 100%; }
.community .tag {
  display: inline-block; background: var(--pink); color: #fff; font-weight: 800; font-size: .85rem;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 10px;
}
.community h2 { font-size: 1.5rem; margin-bottom: 10px; }
html[lang="ja"] .community h2 { font-weight: 800; }
.community p { margin: 0 0 12px; }
.community a.ext { font-weight: 800; color: var(--coral); text-decoration: none; word-break: break-all; }
.community a.ext:hover { text-decoration: underline; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0 0 4px; color: var(--heading); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--coral); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 2px dashed #f2dca6; font-size: .9rem; color: var(--muted); }

/* ---------- ふわっと出す ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 24px auto 0; }
  .shape.c3, .shape.s1 { display: none; }
  .about-media { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav a:not(.lang-switch) { display: none; }
  .brand { font-size: 1.1rem; }
  .hero { padding: 40px 0 80px; }
  .block { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .profile { padding: 4px 20px; }
  .profile > div { grid-template-columns: 1fr; gap: 2px; }
  .community { grid-template-columns: 1fr; padding: 24px; }
  .community-logo { max-width: 280px; }
  .shape.c1 { width: 220px; height: 220px; }
}
