
/* Remikoa Website - 基本デザイン */

:root {
  --navy: #15243d;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --pale-blue: #eaf4ff;
  --text: #243247;
  --muted: #64748b;
  --white: #ffffff;
  --light-gray: #f6f8fc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ヘッダー */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
/* Remikoa ヘッダーロゴ */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .header-logo {
    width: 190px;
  }
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

/* メインビジュアル */
.hero {
  background: var(--pale-blue);
  padding: 100px 0;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  margin: 0 0 24px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
}

/* ボタン */
.button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  margin-top: 24px;
  transition: background 0.2s;
}

.button:hover {
  background: var(--blue-hover);
}

.button-disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* 製品紹介 */
.products {
  padding: 80px 0;
  background: var(--white);
}

.section-title {
  font-size: 32px;
  margin: 0 0 32px;
}

.product-card {
  padding: 36px;
  background: var(--light-gray);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.product-card h3 {
  font-size: 26px;
  margin: 0 0 12px;
}

.product-card p {
  color: var(--muted);
}

/* フッター */
.site-footer {
  padding: 36px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: 13px;
}

/* スマートフォン対応 */
@media (max-width: 640px) {
  .header-inner {
      flex-direction: column;
      align-items: flex-start;
  }

  .nav-links {
      flex-wrap: wrap;
      gap: 14px;
  }

  .hero {
      padding: 64px 0;
  }

  .hero p {
      font-size: 16px;
  }

  .products {
      padding: 56px 0;
  }

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

/* フッターを画面下部に配置 */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* RunGlyph 操作画面 */
.screenshots {
  padding: 80px 0;
  background: #ffffff;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.screenshot-item {
  margin: 0;
}

.screenshot-item a {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.screenshot-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.screenshot-item a:hover img {
  transform: scale(1.02);
}

.screenshot-item figcaption {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 640px) {
  .screenshots {
      padding: 56px 0;
  }

  .screenshot-grid {
      grid-template-columns: 1fr;
      gap: 28px;
  }
}


/* RunGlyph 使い方：PCでは3列表示 */
.feature-grid.howto-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* スマートフォンでは1列表示 */
@media (max-width: 640px) {
  .howto-grid {
      grid-template-columns: 1fr;
  }
}
/* RunGlyph 使い方：スマートフォン表示の修正 */
@media screen and (max-width: 640px) {
  .feature-grid.howto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .howto-grid .feature-card {
    min-width: 0;
    width: auto;
  }
}
/* Remikoa homepage redesign - scoped to avoid changing existing product/contact layouts */
html { scroll-behavior: smooth; }
.home-hero { background: linear-gradient(112deg,#f8fbff 0%,#edf6ff 55%,#dceeff 100%); padding: 76px 0 82px; overflow: hidden; }
.home-hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 56px; }
.eyebrow { color: #0877f9; letter-spacing: .16em; font-size: 12px; font-weight: 800; margin: 0 0 17px; }
.home-hero h1 { font-size: clamp(36px,4.1vw,58px); letter-spacing: -.045em; line-height: 1.32; margin: 0 0 24px; color: #14253f; }
.home-hero h1 span { color: #0877f9; }
.home-hero .hero-lead { color: #46566c; font-size: 16px; line-height: 2; max-width: 510px; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 27px; }
.hero-actions .button, .home-product-content .button { margin-top: 0; }
.button-outline { color: #126df0; background: #fff; border: 1px solid #126df0; }
.button-outline:hover { background: #e9f3ff; color: #126df0; }
.home-hero-visual { background: #fff; border: 1px solid #d6e5f8; padding: 13px; border-radius: 18px; box-shadow: 0 22px 55px #17426b2b; transform: rotate(-1deg); }
.home-hero-visual img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; border-radius: 10px; }
.visual-topline { font-size: 12px; font-weight: 700; color: #4c6480; padding: 1px 4px 11px; }
.visual-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1382ff; margin-right: 6px; }
.home-hero-visual p { font-size: 11px; text-align: right; color: #7d8fa4; margin: 9px 4px 0; }
.benefit-strip { border-bottom: 1px solid #e5edf7; background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.benefit { display: flex; align-items: center; gap: 12px; padding: 22px 14px; border-right: 1px solid #e7edf5; }
.benefit:last-child { border-right: 0; }
.benefit-icon { color: #0877f9; font-size: 27px; line-height: 1; }
.benefit strong { display: block; font-size: 13px; }
.benefit small { display: block; color: #718198; font-size: 11px; }
.home-products { padding: 75px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading h2 { font-size: 30px; margin: 0; color: #15243d; }
.section-note { color: #718198; font-size: 13px; }
.home-product-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #f6f9fd; border: 1px solid #e1e9f3; border-radius: 18px; }
.home-product-content { padding: 42px; align-self: center; }
.product-label { font-size: 11px; font-weight: 800; color: #1378f3; letter-spacing: .09em; }
.home-product-content h3 { font-size: 34px; margin: 10px 0; }
.home-product-content p { font-size: 15px; color: #53647a; line-height: 1.9; margin-bottom: 26px; }
.home-product-image { background: #e4eefb; min-height: 270px; }
.home-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-bottom { padding: 0 0 82px; }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.notice-panel { background: #fff; border: 1px solid #e2eaf3; border-radius: 16px; padding: 30px; }
.section-heading.compact h2 { font-size: 24px; }
.notice-placeholder { border-top: 1px solid #e7edf5; padding-top: 20px; font-size: 14px; color: #62748a; }
.about-panel { padding: 30px 35px; border-radius: 16px; color: #fff; background: linear-gradient(120deg,#11243f,#0861b4); }
.about-panel .eyebrow { color: #9acbff; }
.about-panel h2 { margin: 0 0 14px; line-height: 1.5; font-size: 25px; }
.about-panel p:not(.eyebrow) { font-size: 13px; line-height: 1.9; color: #d6e7fa; }
.about-panel a { display: inline-block; margin-top: 12px; border: 1px solid #a5d4ff; border-radius: 999px; padding: 8px 18px; font-size: 13px; }
.header-contact { display: inline-block; border-radius: 999px; background: #0877f9; color: white; padding: 9px 18px; font-size: 12px; font-weight: 700; }
.site-header .header-logo { width: 205px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand img { width: 160px; display: block; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 12px; }
.footer-inner small { color: #b9c9de; font-size: 11px; }
@media (max-width: 900px) { .home-hero-inner { gap: 28px; } .benefit-grid { grid-template-columns: repeat(2,1fr); } .benefit:nth-child(2) { border-right: 0; } .benefit:nth-child(-n+2) { border-bottom: 1px solid #e7edf5; } .header-contact { display: none; } }
@media (max-width: 640px) { .site-header .header-logo { width: 155px; } .header-inner { gap: 10px; } .nav-links { gap: 11px; font-size: 11px; } .home-hero { padding: 48px 0 55px; } .home-hero-inner { grid-template-columns: 1fr; } .home-hero h1 { font-size: 37px; } .home-hero .hero-lead { font-size: 14px; } .home-hero-visual { transform: none; } .benefit { padding: 16px 7px; gap: 8px; } .benefit-icon { font-size: 20px; } .benefit strong { font-size: 11px; } .benefit small { font-size: 10px; } .home-products { padding: 50px 0; } .section-heading h2 { font-size: 25px; } .section-note { display: none; } .home-product-card { grid-template-columns: 1fr; } .home-product-content { padding: 27px; } .home-product-image { min-height: 0; } .home-product-image img { height: auto; } .bottom-grid { grid-template-columns: 1fr; } .home-bottom { padding-bottom: 50px; } .footer-inner { flex-direction: column; align-items: flex-start; } }

/* Stage 4: RunGlyph product page — scoped styles */
.rg-page {color:#14253f}.rg-page .header-logo{width:205px}.rg-page .rg-crumb{padding:20px 0;font-size:12px;color:#71829a}.rg-crumb span{padding:0 9px;color:#a3b0c1}.rg-crumb a:hover,.rg-tab-inner a:hover{color:#0877f9}.rg-hero{background:linear-gradient(112deg,#f9fbff,#e8f4ff);padding:42px 0 68px}.rg-hero-grid{display:grid;grid-template-columns:1fr 1.02fr;gap:55px;align-items:center}.rg-titleline{display:flex;align-items:center;gap:18px;margin-bottom:30px}.rg-appicon{width:75px;height:75px;flex-shrink:0;display:grid;place-items:center;background:#091c2e;border-radius:18px;color:#00c5ff;font-size:61px;font-weight:800;line-height:1}.rg-titleline h1{font-size:42px;margin:0 0 4px;line-height:1.2}.rg-os{font-size:12px;background:#e0edff;color:#1266e4;padding:5px 10px;border-radius:30px;font-weight:700}.rg-hero h2{font-size:clamp(29px,3.4vw,43px);line-height:1.4;margin:0 0 18px}.rg-lead{font-size:15px;color:#52647b;line-height:1.95;max-width:530px}.rg-status{color:#708198;font-size:12px;margin:15px 0 0}.rg-hero-shot{background:#fff;padding:13px;border-radius:17px;box-shadow:0 18px 45px #173b6426;border:1px solid #dce9f6}.rg-hero-shot img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;border-radius:9px}.rg-tabs{background:#fff;border-bottom:1px solid #e4eaf3;position:sticky;top:0;z-index:3}.rg-tab-inner{display:flex;gap:36px;overflow-x:auto;white-space:nowrap}.rg-tab-inner a{padding:17px 0;font-size:13px;font-weight:700}.rg-section{padding:65px 0;scroll-margin-top:60px}.rg-section h2{font-size:30px;margin:0 0 25px}.rg-soft{background:#f6f9fe}.rg-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.rg-feature{border:1px solid #e0e9f5;background:white;border-radius:13px;padding:25px 20px;box-shadow:0 5px 20px #122d5008}.rg-feature-icon{font-size:38px;color:#0877f9;line-height:1.2;display:block;margin-bottom:16px}.rg-feature h3{font-size:16px;margin:0 0 10px}.rg-feature p{font-size:13px;color:#61728a;line-height:1.85;margin:0}.rg-section-lead{font-size:14px;color:#60728a;margin-top:-15px;margin-bottom:25px}.rg-shot-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.rg-shot-grid figure{margin:0;background:white;border:1px solid #e0e9f5;padding:12px;border-radius:14px}.rg-shot-grid img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;display:block}.rg-shot-grid figcaption{font-size:13px;color:#5d7089;padding:12px 4px 3px}.rg-steps{display:grid;gap:15px}.rg-steps article{display:flex;gap:22px;align-items:start;border:1px solid #e1e9f4;border-radius:12px;padding:20px 24px}.rg-steps b{display:grid;place-items:center;border-radius:50%;background:#0877f9;color:white;min-width:36px;height:36px}.rg-steps h3{margin:0 0 5px;font-size:17px}.rg-steps p{margin:0;color:#64758a;font-size:14px}.rg-spec{border:1px solid #dce6f3;border-radius:12px;overflow:hidden;background:white;max-width:760px}.rg-spec>div{display:grid;grid-template-columns:220px 1fr;border-bottom:1px solid #e7edf6}.rg-spec>div:last-child{border:0}.rg-spec strong,.rg-spec span{padding:16px 20px;font-size:14px}.rg-spec strong{background:#edf4fd}.rg-faq{border-top:1px solid #e0e8f3}.rg-faq details{border-bottom:1px solid #e0e8f3;padding:19px 12px}.rg-faq summary{cursor:pointer;font-size:15px;font-weight:700}.rg-faq details p{font-size:14px;color:#60728a;margin:12px 0 0}.rg-faq p a{color:#0877f9;text-decoration:underline}.rg-download{background:#edf5ff}.rg-download-box{display:flex;align-items:center;justify-content:space-between;gap:25px}.rg-download-box p:not(.eyebrow){color:#5b6e86;font-size:14px;max-width:650px}.rg-pending{display:inline-block;background:#d8e2ef;color:#60748e;padding:15px 30px;border-radius:10px;font-weight:700;white-space:nowrap}
@media(max-width:850px){.rg-hero-grid{gap:25px}.rg-feature-grid{grid-template-columns:repeat(2,1fr)}.rg-tab-inner{gap:22px}}
@media(max-width:640px){.rg-page .header-logo{width:150px}.rg-hero{padding:32px 0 45px}.rg-hero-grid{grid-template-columns:1fr}.rg-titleline h1{font-size:34px}.rg-appicon{width:62px;height:62px;font-size:48px}.rg-feature-grid,.rg-shot-grid{grid-template-columns:1fr}.rg-section{padding:48px 0}.rg-section h2{font-size:25px}.rg-spec>div{grid-template-columns:1fr}.rg-spec strong,.rg-spec span{padding:10px 16px}.rg-download-box{align-items:flex-start;flex-direction:column}.rg-tab-inner a{font-size:12px}.rg-page .nav-links{gap:10px;font-size:10px}}
/* RunGlyph 正式アイコンの背景修正 */
.rg-appicon {
    background: transparent;
    border-radius: 8px;
    object-fit: contain;
}

/* Stage 5: RunGlyph download page */
.rg-download-page .dl-intro{padding:52px 0 26px}
.dl-intro h1{font-size:clamp(29px,3vw,39px);margin:10px 0 14px;color:#14253f}
.dl-intro>p:not(.eyebrow){color:#61728a;font-size:15px;line-height:1.8}
.dl-notice{margin-top:24px;background:#eaf4ff;border:1px solid #cfe4ff;border-radius:12px;padding:16px 20px;color:#275d9d;font-size:14px;line-height:1.7}
.dl-notice span{font-size:19px;margin-right:7px}
.dl-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:12px;padding-bottom:35px}
.dl-card,.dl-info-card{background:#fff;border:1px solid #e0e8f3;border-radius:16px;box-shadow:0 7px 25px rgba(18,43,78,.045)}
.dl-card{padding:26px;display:flex;flex-direction:column;gap:23px}
.dl-card-heading{display:flex;gap:18px;align-items:center}
.dl-icon{width:66px;height:66px;object-fit:contain;background:transparent;border-radius:12px;flex-shrink:0}
.dl-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.dl-card h2{font-size:21px;color:#14253f;margin:0}
.dl-card-heading p{color:#63748a;font-size:13px;line-height:1.65;margin:8px 0 0}
.dl-tag{display:inline-block;background:#e7edf5;color:#5b708a;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:700}
.dl-meta{margin:0;border:1px solid #e5ecf5;border-radius:10px;overflow:hidden}
.dl-meta>div{display:grid;grid-template-columns:37% 1fr;border-bottom:1px solid #e5ecf5}
.dl-meta>div:last-child{border-bottom:0}
.dl-meta dt,.dl-meta dd{padding:11px 13px;margin:0;font-size:12px;line-height:1.5}
.dl-meta dt{background:#f1f6fc;font-weight:700;color:#425b7a}
.dl-meta dd{color:#283e5b}
.dl-disabled{align-self:stretch;text-align:center;background:#d8e2ef;color:#667b94;border-radius:9px;padding:15px 18px;font-size:14px;font-weight:700;cursor:not-allowed}
.dl-bottom{display:grid;grid-template-columns:1fr 1.3fr;gap:24px;padding:4px 0 36px}
.dl-info-card{padding:25px}
.dl-info-card h2{font-size:19px;color:#14253f;margin:0 0 20px}
.dl-info-card h2 span{color:#0877f9;margin-right:7px}
.dl-info-card ul{margin:0;padding-left:22px;color:#536880;font-size:13px;line-height:2.1}
.dl-info-card a,.dl-back a{color:#0877f9;text-decoration:underline}
.dl-back{padding:0 0 60px;font-size:14px}
@media(max-width:760px){.dl-cards,.dl-bottom{grid-template-columns:1fr}.rg-download-page .dl-intro{padding-top:34px}.dl-card{padding:20px}.dl-info-card{padding:20px}}

/* ダウンロードページ：フッターロゴの表示修正 */
.site-footer .footer-logo,
.site-footer .footer-logo img,
.site-footer .footer-inner img {
    width: auto;
    max-width: 150px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}
/* Stage 6: RunGlyph guide page (scoped) */
.rg-guide-page .guide-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:42px;padding-top:45px;padding-bottom:95px;align-items:start}
.rg-guide-page .guide-sidebar{position:sticky;top:22px;background:#fff;border:1px solid #e1e9f4;border-radius:13px;padding:12px;display:flex;flex-direction:column;gap:3px}
.rg-guide-page .guide-sidebar-title{font-size:14px;font-weight:800;color:#14253f;margin:8px 10px 12px}
.rg-guide-page .guide-sidebar a{display:block;padding:11px 12px;border-radius:8px;text-decoration:none;color:#4f6380;font-size:13px;line-height:1.5}
.rg-guide-page .guide-sidebar a:hover{background:#eef5ff;color:#0769e9}
.rg-guide-page .guide-sidebar a.guide-current{background:#0877f9;color:#fff;font-weight:700}
.rg-guide-page .guide-content{min-width:0}
.rg-guide-page .guide-intro{margin-bottom:28px}
.rg-guide-page .guide-title-row{display:flex;align-items:center;gap:16px;margin:15px 0 25px}
.rg-guide-page .guide-title-row img{width:54px;height:54px;object-fit:contain;background:transparent;flex-shrink:0}
.rg-guide-page .guide-title-row h1{font-size:clamp(27px,3vw,37px);line-height:1.25;margin:0 0 10px;color:#14253f}
.rg-guide-page .guide-title-row p,.rg-guide-page .guide-step p,.rg-guide-page .guide-help p{font-size:14px;line-height:1.85;color:#60718a;margin:0}
.rg-guide-page .guide-tip{background:#eaf4ff;color:#245d9e;border:1px solid #d3e5fb;border-radius:11px;padding:15px 19px;font-size:14px;line-height:1.75}
.rg-guide-page .guide-step{border:1px solid #e0e9f5;border-radius:15px;padding:26px;margin:20px 0;background:#fff;box-shadow:0 6px 22px rgba(18,43,78,.04);scroll-margin-top:20px}
.rg-guide-page .guide-step-head{display:flex;align-items:flex-start;gap:16px}
.rg-guide-page .guide-step-number{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#0877f9;color:white;font-weight:800;font-size:13px;flex-shrink:0}
.rg-guide-page .guide-step h2,.rg-guide-page .guide-extra h2,.rg-guide-page .guide-help h2{font-size:21px;color:#14253f;margin:3px 0 11px}
.rg-guide-page .guide-step figure{margin:22px 0 0 51px;max-width:680px}
.rg-guide-page .guide-step figure img{display:block;width:100%;height:auto;border-radius:11px;border:1px solid #e2eaf5}
.rg-guide-page .guide-step figcaption{color:#718199;font-size:12px;margin-top:9px}
.rg-guide-page .guide-step>.guide-tip{margin:20px 0 0 51px}
.rg-guide-page .guide-extra,.rg-guide-page .guide-help{padding-top:35px;scroll-margin-top:20px}
.rg-guide-page .guide-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.rg-guide-page .guide-feature-grid article{border:1px solid #e0e9f5;border-radius:13px;padding:22px 18px;background:#fff}
.rg-guide-page .guide-feature-grid article>span{font-size:27px;color:#0877f9}
.rg-guide-page .guide-feature-grid h3{font-size:15px;color:#14253f;margin:13px 0 8px}
.rg-guide-page .guide-feature-grid p,.rg-guide-page .guide-note{font-size:13px;color:#60718a;line-height:1.8}
.rg-guide-page .guide-note{margin-top:18px}
.rg-guide-page .guide-help{border-top:1px solid #e1e9f4;margin-top:38px}
.rg-guide-page .guide-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.rg-guide-page .site-footer .footer-logo,.rg-guide-page .site-footer .footer-inner img{width:auto;max-width:150px;height:auto;max-height:48px;object-fit:contain}
@media(max-width:800px){.rg-guide-page .guide-layout{grid-template-columns:1fr;gap:22px;padding-top:25px}.rg-guide-page .guide-sidebar{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}.rg-guide-page .guide-sidebar-title{width:100%}.rg-guide-page .guide-sidebar a{padding:9px 11px}.rg-guide-page .guide-feature-grid{grid-template-columns:1fr}}
@media(max-width:520px){.rg-guide-page .guide-step{padding:18px}.rg-guide-page .guide-step figure,.rg-guide-page .guide-step>.guide-tip{margin-left:0}.rg-guide-page .guide-title-row{align-items:flex-start}.rg-guide-page .guide-title-row img{width:42px;height:42px}.rg-guide-page .guide-step h2{font-size:18px}}
/* Stage 7: RunGlyph history page (scoped; append to public/style.css) */
.rg-history-page .history-layout{max-width:1000px;padding-top:52px;padding-bottom:105px}
.rg-history-page .history-intro{margin-bottom:26px}
.rg-history-page .history-heading-row{display:flex;align-items:center;gap:17px;margin-top:15px}
.rg-history-page .history-heading-row img{width:56px;height:56px;object-fit:contain;flex:none;background:transparent}
.rg-history-page .history-heading-row h1{font-size:clamp(27px,3vw,38px);line-height:1.3;color:#14253f;margin:0 0 9px}
.rg-history-page .history-heading-row p,.rg-history-page .history-bottom p{color:#60718a;font-size:14px;line-height:1.85;margin:0}
.rg-history-page .history-notice{padding:18px 22px;border:1px solid #d6e7fa;border-radius:12px;background:#eaf4ff;color:#295e95;font-size:14px;line-height:1.8;margin:30px 0 36px}
.rg-history-page .history-timeline{border-left:2px solid #d6e6fa;margin-left:11px;padding:0 0 0 30px}
.rg-history-page .history-entry{position:relative}
.rg-history-page .history-marker{position:absolute;left:-39px;top:25px;width:16px;height:16px;border:4px solid #0877f9;border-radius:50%;background:#fff}
.rg-history-page .history-card{background:#fff;border:1px solid #e0e9f5;border-radius:15px;padding:30px;box-shadow:0 8px 28px rgba(18,43,78,.05)}
.rg-history-page .history-card-top{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.rg-history-page .history-card h2{font-size:22px;margin:0;color:#14253f}
.rg-history-page .history-badge{font-size:12px;font-weight:700;padding:6px 12px;background:#e6edf5;color:#687d96;border-radius:999px}
.rg-history-page .history-card p{font-size:14px;color:#60718a;line-height:1.85;margin:18px 0 24px}
.rg-history-page .history-placeholder{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rg-history-page .history-placeholder span{border:1px dashed #cfdbeb;background:#f6f9fd;color:#73859b;border-radius:8px;text-align:center;padding:15px 7px;font-size:13px}
.rg-history-page .history-bottom{margin-top:52px;padding-top:34px;border-top:1px solid #e3ebf5}
.rg-history-page .history-bottom h2{font-size:22px;color:#14253f;margin:0 0 12px}
.rg-history-page .history-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}
.rg-history-page .history-text-link{font-size:14px;color:#0877f9;padding:10px}
.rg-history-page .site-footer .footer-logo,.rg-history-page .site-footer .footer-inner img{max-width:150px;width:auto;height:auto;max-height:48px;object-fit:contain}
@media(max-width:640px){.rg-history-page .history-layout{padding-top:35px;padding-bottom:70px}.rg-history-page .history-heading-row{align-items:flex-start}.rg-history-page .history-heading-row img{width:44px;height:44px}.rg-history-page .history-card{padding:22px 18px}.rg-history-page .history-placeholder{grid-template-columns:1fr}.rg-history-page .history-card h2{font-size:19px}.rg-history-page .history-timeline{padding-left:22px}.rg-history-page .history-marker{left:-31px}}

/* Step 8: RunGlyph FAQ page */
.rg-faq-page .faq-layout { max-width: 1000px; padding-top: 54px; padding-bottom: 105px; }
.rg-faq-page .faq-heading-row { display: flex; align-items: center; gap: 16px; margin: 14px 0 24px; }
.rg-faq-page .faq-heading-row img { display: block; width: 52px; height: 52px; object-fit: contain; background: transparent; flex-shrink: 0; }
.rg-faq-page .faq-heading-row h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.3; margin: 0 0 8px; color: #14253f; }
.rg-faq-page .faq-heading-row p { margin: 0; color: #61728a; font-size: 14px; line-height: 1.8; }
.rg-faq-page .faq-notice { background: #eaf4ff; color: #446680; border: 1px solid #d8e9fa; padding: 16px 20px; border-radius: 10px; font-size: 14px; line-height: 1.8; margin: 24px 0 30px; }
.rg-faq-page .faq-list { display: grid; gap: 12px; }
.rg-faq-page .faq-item { border: 1px solid #e3eaf2; border-radius: 12px; background: #fff; box-shadow: 0 5px 22px rgba(18,48,85,.035); overflow: hidden; }
.rg-faq-page .faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 24px; color: #182b47; font-size: 15px; font-weight: 700; line-height: 1.65; }
.rg-faq-page .faq-item summary::-webkit-details-marker { display: none; }
.rg-faq-page .faq-item summary::before { content: 'Q'; display: inline-grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%; background: #087bff; color: #fff; font-size: 14px; font-weight: 800; }
.rg-faq-page .faq-item summary:hover { background: #f6faff; }
.rg-faq-page .faq-item summary:focus-visible { outline: 3px solid #087bff; outline-offset: -3px; }
.rg-faq-page .faq-chevron { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid #456a90; border-bottom: 2px solid #456a90; transform: rotate(45deg); transition: transform .15s ease; flex-shrink: 0; }
.rg-faq-page .faq-item[open] .faq-chevron { transform: rotate(225deg); }
.rg-faq-page .faq-answer { padding: 0 24px 21px 65px; color: #53677e; font-size: 14px; line-height: 1.9; }
.rg-faq-page .faq-answer p { margin: 0; }
.rg-faq-page .faq-support { margin-top: 50px; padding-top: 32px; border-top: 1px solid #e5ebf2; }
.rg-faq-page .faq-support h2 { color: #172b45; font-size: 23px; margin: 0 0 12px; }
.rg-faq-page .faq-support p { color: #61728a; font-size: 14px; line-height: 1.9; }
.rg-faq-page .faq-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 23px; }
.rg-faq-page .site-footer .footer-logo, .rg-faq-page .site-footer .footer-inner img { width: auto; max-width: 150px; height: auto; max-height: 48px; object-fit: contain; }
@media (max-width: 640px) { .rg-faq-page .faq-layout { padding-top: 30px; padding-bottom: 65px; } .rg-faq-page .faq-heading-row { align-items: flex-start; } .rg-faq-page .faq-heading-row img { width: 42px; height: 42px; } .rg-faq-page .faq-item summary { padding: 17px 15px; font-size: 14px; gap: 10px; } .rg-faq-page .faq-answer { padding: 0 17px 19px 52px; } }

/* Stage 9: unified navigation / compact header */
.site-header { padding: 5px 0; }
.site-header .header-inner { min-height: 46px; gap: 18px; }
.site-header .header-logo { width: 155px; max-width: 100%; height: auto; }
.site-header .nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.5vw, 22px); font-size: 12px; line-height: 1.3; }
.site-header .nav-links a { white-space: nowrap; padding: 8px 0; }
.site-header .nav-links a:hover, .site-header .nav-links a[aria-current="page"] { color: #80bcff; }
.site-header .header-contact { white-space: nowrap; margin: 0; padding: 8px 15px; font-size: 12px; line-height: 1.3; }
.site-footer .footer-inner { gap: 18px; }
.site-footer .footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.site-footer .footer-inner nav a { white-space: nowrap; }
.site-footer .footer-inner img, .site-footer .footer-logo, .site-footer .footer-brand img { width: auto; max-width: 150px; max-height: 48px; height: auto; object-fit: contain; }
@media (max-width: 900px) {
 .site-header .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 6px 0; }
 .site-header .nav-links { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; gap: 18px; padding-bottom: 4px; scrollbar-width: thin; }
 .site-header .header-logo { width: 145px; }
}
@media (max-width: 480px) {
 .site-header .header-logo { width: 125px; }
 .site-header .header-contact { font-size: 11px; padding: 7px 10px; }
 .site-header .nav-links { font-size: 12px; }
}


/* Remikoa ヘッダー・フッター色調整 */
.site-header,
.site-footer {
    background: #111E2C;
}


/* Remikoa ヘッダー：帯の高さとロゴサイズを独立 */
.site-header .header-inner {
    height: 56px;
    min-height: 56px;
    padding-top: 0;
    padding-bottom: 0;
}

.site-header .header-logo {
    width: 220px;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
}

/* Mobile navigation: desktop header and 220px logo remain unchanged */
.mobile-menu-toggle, .site-header .mobile-contact-link { display: none; }

@media (max-width: 768px) {
  .site-header { position: relative; z-index: 50; padding: 0; }
  .site-header .header-inner {
    position: relative;
    height: 56px;
    min-height: 56px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .site-header .logo { flex: 0 1 auto; min-width: 0; }
  .site-header .header-logo {
    width: 170px;
    max-width: 100%;
    height: auto;
    max-height: 48px;
    object-fit: contain;
  }
  .site-header .header-contact { display: none; }
  .site-header .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 9px;
    background: transparent;
    color: white;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
  }
  .site-header .mobile-menu-toggle:focus-visible {
    outline: 3px solid #80bcff;
    outline-offset: 3px;
  }
  .site-header .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 18px 16px;
    margin: 0;
    background: #111e2c;
    border-top: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 12px 24px rgba(10,25,40,.18);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 14px;
  }
  .site-header .nav-links.is-open { display: flex; }
  .site-header .nav-links a {
    display: block;
    padding: 13px 8px;
    white-space: normal;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .site-header .mobile-contact-link { display: block; }
  .site-footer .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .site-footer .footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    line-height: 1.8;
  }
  .site-footer .footer-inner nav a { font-size: 13px; }
}
@media (max-width: 360px) {
  .site-header .header-logo { width: 150px; }
}

/* v2: override older mobile column layout */
@media (max-width: 768px) {
  .site-header .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .site-header .mobile-menu-toggle {
    display: inline-flex;
    visibility: visible;
    opacity: 1;
    order: 2;
    background: #087ff5;
    border: 1px solid #69b9ff;
    color: #ffffff;
    z-index: 3;
  }
  .site-header .nav-links { order: initial; }
}


/* Remikoa mobile menu Design 5: frameless animated hamburger */
@media (max-width: 768px) {
  .site-header .mobile-menu-toggle,
  .site-header .mobile-menu-toggle:hover,
  .site-header .mobile-menu-toggle:active,
  .site-header .mobile-menu-toggle.is-active {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .site-header .mobile-menu-toggle .menu-lines {
    width: 27px;
    height: 22px;
    position: relative;
    display: block;
  }
  .site-header .mobile-menu-toggle .menu-lines span {
    position: absolute;
    left: 0;
    width: 27px;
    height: 2.5px;
    border-radius: 3px;
    background: #fff;
    transform-origin: center;
    transition: top .24s ease, transform .24s ease, opacity .16s ease, background .2s ease;
  }
  .site-header .mobile-menu-toggle .menu-lines span:nth-child(1) { top: 2px; }
  .site-header .mobile-menu-toggle .menu-lines span:nth-child(2) { top: 10px; }
  .site-header .mobile-menu-toggle .menu-lines span:nth-child(3) { top: 18px; }
  /* Color follows menu state, not sticky touch hover/focus. */
  .site-header .mobile-menu-toggle .menu-lines span,
  .site-header .mobile-menu-toggle:hover .menu-lines span,
  .site-header .mobile-menu-toggle:active .menu-lines span,
  .site-header .mobile-menu-toggle:focus .menu-lines span { background: #ffffff; }
  .site-header .mobile-menu-toggle[aria-expanded="true"] .menu-lines span,
  .site-header .mobile-menu-toggle[aria-expanded="true"]:hover .menu-lines span,
  .site-header .mobile-menu-toggle[aria-expanded="true"]:focus .menu-lines span { background: #9dd1ff; }
  .site-header .mobile-menu-toggle.is-active .menu-lines span:nth-child(1) { top: 10px; transform: rotate(45deg); }
  .site-header .mobile-menu-toggle.is-active .menu-lines span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .site-header .mobile-menu-toggle.is-active .menu-lines span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .mobile-menu-toggle .menu-lines span { transition: none; }
}
