:root {
  --main: #000050;
  --black: #222;
  --white: #fdfdfd;
  --link: #0050aa;
}

*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
body {
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
img {
  height: auto;
}
a {
  color: inherit;
}
p {
  margin: 0;
}
p + p {
  margin-top: .5rem;
}

html {
  font-size: clamp(14px, 2.4vw, 18px);
}

body {
  color: var(--main);
  text-rendering: optimizeLegibility;
  font-family: "Noto Sans JP", serif;
  font-feature-settings: "palt";
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.8;
  font-size: 1rem;
  background-image: url(img/bg.webp);
  background-position: center top;
  background-size: min(100%, 1680px);
  background-repeat: repeat;
}
@media screen and (max-width: 700px) {
  body {
    background-size: 800px;
  }
}


header {
  position: relative;
  padding: 0;
}
header a {
  display: block;
  width: 30%;
  max-width: 200px;
  margin: 0 auto;
  background: var(--main);
  padding: .6rem 1rem;
  border-radius: 0 0 .5rem .5rem;
}

footer {
  width: 100%;
  background: rgba(0, 0, 0, 0.125);
  text-align: center;
  padding: .5rem 0;
  font-size: 70%;
}
footer p {
  font-feature-settings: normal;
}
footer p span {
  display: inline-block;
  margin: 0 .5em;
}

main {
  max-width: 1200px;
  margin: 0 auto;
}

#fv {
  text-align: center;
}
#fv h1 {
  margin: 1rem .2rem;
}
#fv>div {
  border-top: 2px solid var(--main);
  border-bottom: 2px solid var(--main);
  padding: 1.5rem 0 1rem;
  margin: 0 1rem;
}
p.lead {
  font-weight: 800;
  font-size: 1.1rem;
}
p.lead a:hover{
  color: var(--link);
}
p.lead span{
  display: inline-block;
}
a.x_button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  max-width: 18rem;
  margin: 1rem auto;
  color: var(--white);
  text-decoration: none;
  border-radius: .5rem;
  padding: .8rem;
  font-weight: 500;
  border: 2px solid #b4b4c8;
  transition: all .1s;
}
a.x_button .x_id {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
a.x_button .x_id::before {
  display: inline-block;
  content: '';
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: .4rem;
  background: var(--white) url(img/x_logo.png) center / 60% no-repeat;
}
a.x_button span.x_t {
  position: relative;
  background-color: var(--white);
  color: var(--main);
  font-size: .7rem;
  padding: .2rem .4rem;
  border-radius: .2rem;
  transition: all .1s;
}
a.x_button span.x_t::before {
  content: '';
  position: absolute;
  width: .5rem;
  height: .5rem;
  background-color: var(--white);
  top: 0;
  bottom: 0;
  margin: auto;
  left: -.4rem;
  clip-path: polygon(0 50%, 100% 100%, 100% 0);
}
@media (hover: hover) {
  a.x_button:hover {
    border-color: #ffe600;
  }
  a.x_button:hover span.x_t {
    transform: translateX(-.1rem);
  }
}

section:not(#fv) {
  padding: 1rem;
  margin: 2rem 0;
}

/* about */
.wrap {
  background-color: var(--white);
  padding: 1rem;
  color: var(--black);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 6px;
  border-radius: 4px;
}
#about h2 {
  position: relative;
  margin: 2rem 0 1rem;
  background: var(--main);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 2px;
  text-align: center;
  overflow: hidden;
}
#about h2:first-of-type {
  margin-top: .5rem;
}
#about h2::before, #about h2::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: var(--white);
  padding: 2px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(-45deg);
  width: 4px;
  height: 200%;
}
#about h2::before {
  left: 10%;
}
#about h2::after {
  right: 10%;
}
#about table {
  display: block;
  margin: 1rem 0;
  padding: 0 .5em;
  border-collapse: collapse;
  border-radius: 4px;
  background: #f7f7f7;
  font-weight: 500;
}
#about table tbody {
  width: 100%;
  display: block;
}
#about table tr {
  width: 100%;
  display: block;
  border-bottom: 1px dotted #aaa;
  padding: .5em 0;
}
#about table tr:last-of-type {
  border-bottom: none;
}
#about table th {
  background: var(--white);
  color: var(--main);
  text-align: center;
  border-radius: 2px;
  vertical-align: middle;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 0 0 1px #dcdcdc;
  width: 100px;
}
@media screen and (max-width: 500px) {
  #about table th {
    width: 70px;
  }
}
#about table td {
  padding: .4em 0 .4em .5em;
  line-height: 1.6;
}
#about table td a:hover {
  color: var(--link);
}
a.nw::after {
  content: '';
  display: inline-block;
  width: .8em;
  height: .8em;
  background: var(--black) url(img/n_w.png) center / 60% no-repeat;
  margin: 0 0 0 .2em;
}
a.nw:hover::after {
  background-color: var(--link);
}
.pay {
  background: #000000;
  text-align: center;
}
.pay img {
  margin: 0 auto;
}
ul.a-list {
  padding: 0;
  list-style: none;
  list-style-position: inside;
  margin: 1rem 0;
  text-align: left;
  font-size: .85rem;
}
ul.a-list li {
  position: relative;
  padding-left: 1.1em;
  line-height: 1.4;
  margin: 0 0 .5em;
}
ul.a-list li::before {
  content: '※';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: flex;
  justify-content: center;
}