@charset "UTF-8";

:root {
  --link: #003cb4;
  --white: #fff;
  --black: #222;
}

html,body {
  position: relative;
  font-size: clamp(14px, 2.2vw, 18px);
  color: var(--black);
  width: 100%;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-feature-settings: "palt";
}

body {
  background: #F9F9F9 top center fixed;
  background-image: url(https://hakurei-sukeikai.com/img/bg.png);
  background-size: 100% auto;
  position: relative;
  z-index: 0;
  transition: background-image 1s;
}

p {
  margin: 0;
  padding: 0;
  word-break: break-all;
}
p span {
  display: inline-block;
}

a,
a:visited,
a:active {
  color: var(--link);
  text-decoration: underline;
}
a:hover {
  color: #0078ff;
}
img {
  width: 100%;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}


header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  background: #333;
  box-sizing: border-box;
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  padding: 0 .5rem;
}
.logo {
  width: auto;
  height: 80%;
  margin: 0;
  display: flex;
  align-items: center;
}
.logo a,.logo img {
  width: auto;
  height: 100%;
}
ul.social {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.social li {
  width: 35px;
  margin: 0 1rem;
}
ul.social li a{
  display: flex;
  justify-content: center;
  align-items: center;
}
ul.social li svg{
  fill:#fff;
}
@media screen and (max-width: 768px){
  header {
    height: 40px;
  }
  ul.social li {
    width: 20px;
    margin: 0 .5rem;
  }
}


/* main */
main {
  position: relative;
  margin-top: 100px;
  max-width: 1000px;
  margin: 100px auto 0;
  background: #fff;
  padding: 1rem 2rem 3rem;
}
@media screen and (max-width: 768px){
  main {
    margin-top: 40px;
    padding: 1rem 1rem 3rem;
  }
}

p.lead {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #c80000;
}
p.attention {
  font-size: 90%;
  text-align: justify;
}
h1 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  border-bottom: 1px solid #a0a0a0;
  padding: .5rem 0;
}
h2 {
  background: #eee;
  border-left: 6px solid #333333;
  font-size: 1.4rem;
  font-weight: 600;
  padding: .2rem .5rem;
  margin: 2rem 0 1rem;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin: 1rem 0;
}
h4 {
  margin: 1rem 0 .5rem;
  font-size: .9rem;
  font-weight: 500;
  display: inline-block;
  padding: 0 .8rem;
  background: var(--black);
  color: var(--white);
}

.bookimg {
  max-width: 400px;
  width: 80%;
  margin: 1rem auto;
}

.info-table {
  border-collapse: collapse;
  margin: 1rem auto;
  border: 1px solid #a0a0a0;
  background: var(--white);
  width: 100%;
}
.info-table th{
  font-weight: 500;
  text-align: center;
  padding: 1em;
  white-space: nowrap;
}
.info-table td{
  line-height: 1.4;
  padding: 1em;
}
.info-table td span{
  font-size: 1.3em;
}
.info-table tr:not(:last-child) {
  border-bottom: 1px dashed #ccc;
}

ul.store-link {
  margin: 1rem 0;
  padding: 0 .2rem;
  list-style-type: disc;
  list-style-position: inside;
}

footer {
  position: relative;
  width: 100%;
  padding: 1.8rem 0 2rem;
  font-size: .9rem;
  margin: 0;
  color: var(--white);
  background: #333333;
  text-align: center;
}
