@charset "utf-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
 
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
  line-height: 1;
  color: rgb(105, 104, 104);
  max-width: 500px;
  width: 100%;
  margin: auto;
  overflow-x: hidden !important;
}
ol, ul {
	list-style: none;
}
a {
  text-decoration: none !important;
  color: #212529 !important;
}
a:hover {
  opacity: 0.8;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ==============================
   ここから
============================== */
img {
	vertical-align: bottom;
}

/* ---- トップバー ---- */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #fff;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  z-index: 9998;
  box-sizing: border-box;
}
.top-bar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 6px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08), transparent);
}
.top-bar-spacer {
  height: 52px; /* top-barの高さ分の余白 */
}
.top-bar-logo img {
  height: 20px;
  width: auto;
}

/* ---- 訪問者数 ---- */
#fix_visitor {
  flex-shrink: 0;
}
.fix_visitor_text {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #e74c3c;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.fix_visitor_text span {
  color: #e74c3c;
  font-weight: bold;
  font-size: 16px;
}

/* ---- CTA ---- */
.cta-area {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.cta-in {
  display: flex;
  width: 95%;
  margin: auto;
  background-color: #234f98;
  border-radius: 10px;
  justify-content: space-evenly;
  padding: 1rem 0;
}
.cta-in a {
  width: 45%;
}

/* ---- フローティングCTA ---- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
}
.floating-cta .cta-in {
  margin: 0 auto;
  border-radius: 10px 10px 0 0;
  width: 100%;
  padding: 5px 0;
}
.floating-cta .cta-in a {
  width: 48%;
}

/* ---- フッター ---- */
.footer {
  padding-bottom: 6rem;
}

/* ==============================
   レスポンシブ
============================== */
@media screen and (max-width: 400px) {
  .top-bar {
    padding: 6px 8px;
  }
  .top-bar-logo img {
    height: 16px;
  }
  .fix_visitor_text {
    font-size: 10px;
    padding: 5px 8px;
  }
  .fix_visitor_text span {
    font-size: 14px;
  }
  .cta-in {
    padding: 0.8rem 0;
  }
}

@media screen and (max-width: 340px) {
  .top-bar-logo img {
    height: 14px;
  }
  .fix_visitor_text {
    font-size: 9px;
    padding: 4px 6px;
  }
  .fix_visitor_text span {
    font-size: 12px;
  }
}