@charset "UTF-8";

html {
 scroll-behavior: smooth;
}

body {
 font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", Osaka, sans-serif;
 line-height: 1;
}

section {
 position: relative;
 z-index: 1;
}

img {
 max-width: 100%;
 max-height: 100%;
 height: auto;
 white-space: pre;
}

a {
 font-size: inherit;
 cursor: pointer;
 transition: .3s;
}

a:hover {
 opacity: .5;
 transform: translate(1px, 1px);
}

a[href=""] {
 pointer-events: none;
}

[data-lity] {
 cursor: pointer;
 transition: .3s;
}
[data-lity]:hover {
 opacity: .5;
}

/*header*/
header {
 position: relative;
 z-index: 2;
 padding: max(10px,.5%) 0;
 background-color: #ffffff;
 box-shadow: 0 0 10px rgba(0, 0, 0, .3);
 text-align: center;
}

.logoimg {
 display: inline-block;
 margin: 0 auto;
}
.logoimg:hover {
 opacity: .5;
 transition: .5s;
}

.logoimg img {
 width: auto;
 height: max(35px,2.5vw);
}

/*footer*/
footer {
 position: relative;
 z-index: 2;
 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;
  line-height: normal;
 }
 footer .logoimg {
  margin: 3% auto;
 }
 footer .p_cregit {
  font-size: 10px;
 }
}

/*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: .5rem;
 background-color: #f2f2f2;
}

/* topbtn */
.p_topBtn {
 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) {
 .p_topBtn {
  right: 10px;
  bottom: 10px;
 }
}

.p_topBtn:before {
 position: absolute;
 top: 10px;
 left: 0;
 width: 100%;
 content: "▲";
 text-align: center;
 font-size: 16px;
}

.p_topBtn:hover {
 opacity: .5;
 transition: .5s;
}
