@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", Osaka,
    sans-serif;
  line-height: 1;
}

img {
  max-width: 100%;
  max-height: 100%;
  white-space: pre;
}

/*header*/
header {
  position: relative;
  z-index: 2;
  padding: max(10px, 0.5%) 0;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.logoimg {
  display: inline-block;
  margin: 0 auto;
}

.logoimg img {
  width: auto;
  height: max(35px, 2.5vw);
}

/*footer*/
/* footer {
 padding: 30px;
 background-color: #ffffff;
 box-shadow: 0 0 10px rgba(0, 0, 0, .3);
 color: #000000;
 text-align: center;
}

footer .logoimg {
 margin: 2% auto 1%;
}

footer .p_cregit {
 font-size: 12px;
}

@media (max-width:769px) {
 footer p {
  font-size: 12px;
 }
 footer .logoimg {
  margin: 3% auto;
 }
 footer .p_cregit {
  font-size: 10px;
 }
} */

/* main */
main {
  position: relative;
  z-index: 1;
}

/*sns*/
.sns_btn {
  display: flex;
  justify-content: flex-end;
}

.sns_btn a {
  display: block;
  max-width: 42px;
  width: 100%;
}

.sns_btn a img {
  width: 100%;
}

.sample_bg {
  margin: 1rem 0;
  padding: 0.5rem;
  background-color: #f2f2f2;
}

/* topbtn */
.c_pagetop {
  display: block;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  box-sizing: border-box;
  padding-top: 27px;
  width: 60px;
  height: 60px;
  border-radius: 40px;
  background-color: #b1b1b1;
  color: #ffffff;
  text-align: center;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  pointer-events: auto;
}
@media (max-width: 769px) {
  .c_pagetop {
    right: 10px;
    bottom: 10px;
  }
}

.c_pagetop:before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  content: "▲";
  text-align: center;
  font-size: 16px;
}

.c_pagetop:hover {
  opacity: 0.5;
  transition: 0.5s;
}
