:root {
  --color-tempubunsho: #1d426b;
  --color-kensachi: #009de1;
  --color-hayamihyou: #6d5646;
}

#wrapper {
  background-color: #ffffff;
}
#wrapper .download-links {
  display: flex;
  align-items: center;
  justify-content: center;
}
#wrapper .download-links img {
  width: 150px;
  height: auto;
}
@media screen and (min-width: 959px) {
  #wrapper .download-links img {
    width: 180px;
  }
}

.show-pc {
  display: none;
}

@media screen and (min-width: 959px) {
  .show-sp {
    display: none;
  }
  .show-pc {
    display: block;
  }
}
.d-none {
  display: none;
}

@media screen and (min-width: 959px) {
  #banners {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #ffffff;
  }
  #banners .heading {
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: bold;
  }
  #banners .banners {
    display: flex;
    column-gap: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
  }
  #banners .banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 328px;
    height: 80px;
    border: 1px solid var(--color-tempubunsho);
  }
  #banners .banner img {
    width: 280px;
  }
  #banners .banner--kensachi {
    border-color: var(--color-kensachi);
  }
  #banners .banner--kensachi img {
    width: 254px;
  }
  #banners .banner--hayamihyou {
    border-color: var(--color-hayamihyou);
  }
  #banners .banner--hayamihyou img {
    width: 253px;
  }
}
@media screen and (max-width: 960px) {
  #banners {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #ffffff;
  }
  #banners .heading {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: bold;
  }
  #banners .banners {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
  }
  #banners .banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 328px;
    height: 80px;
    border: 1px solid var(--color-tempubunsho);
  }
  #banners .banner img {
    width: 280px;
  }
  #banners .banner--kensachi {
    border-color: var(--color-kensachi);
  }
  #banners .banner--kensachi img {
    width: 254px;
  }
  #banners .banner--hayamihyou {
    border-color: var(--color-hayamihyou);
  }
  #banners .banner--hayamihyou img {
    width: 253px;
  }
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 16px;
  background-color: #ffffff;
}
#header .logo img {
  height: 30px;
  object-fit: contain;
}
#header .series {
  display: none;
}

@media screen and (min-width: 959px) {
  #header {
    padding: 8px 16px;
  }
  #header .logo img {
    height: 35px;
  }
  #header .series {
    display: flex;
    column-gap: 36px;
  }
  #header .series img {
    height: 35px;
    object-fit: contain;
  }
}
/* footer */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 52px;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  background: var(--color-tempubunsho) 0% 0% no-repeat padding-box;
  border-radius: 31px;
}

.button--kensachi {
  background-color: var(--color-kensachi);
}

.button--hayamihyou {
  background-color: var(--color-hayamihyou);
}

.button--external::after {
  display: block;
  width: 18px;
  content: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h48v48H0z%22%2F%3E%3Cpath%20d%3D%22M27%2012h9v9m-4%205v8H14V16h8m2%208l11-11%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E");
}

.button .button span {
  font-size: 12px;
}

.services--hidden {
  display: none;
}

@media screen and (min-width: 959px) {
  #footer {
    background-color: #f2f2f2;
  }
  #footer .services {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #ffffff;
  }
  #footer .services > .title {
    margin-bottom: 36px;
    font-size: 28px;
    font-weight: bold;
  }
  #footer .services .container {
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
  }
  #footer .services .container ul {
    display: flex;
  }
  #footer .services .container ul li {
    display: grid;
    grid-template-rows: 1fr auto 1fr auto 1fr;
    align-items: center;
    padding-right: 40px;
    padding-left: 40px;
  }
  #footer .services .container ul li:first-child {
    padding-left: 0;
  }
  #footer .services .container ul li:last-child {
    padding-right: 0;
  }
  #footer .services .container ul li:last-child .logo img {
    height: 40px;
  }
  #footer .services .container ul li:not(:last-child) {
    border-right: 1px dotted #cccccc;
  }
  #footer .services .container ul li .logo {
    margin-bottom: 16px;
  }
  #footer .services .container ul li .logo img {
    height: 32px;
    object-fit: contain;
  }
  #footer .services .container ul li .title {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: bold;
  }
  #footer .services .container ul li .body {
    align-self: start;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: normal;
    text-align: left;
  }
  #footer .services .container ul li .links {
    display: flex;
    column-gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }
  #footer .services .container ul li .links img {
    height: 20px;
  }
  #footer .services .container ul li .links--store img {
    width: 105px;
    height: auto;
  }
  #footer .services .container ul li .button a {
    text-decoration: none;
  }
  #footer .services .container .bottom {
    margin-top: 24px;
    font-size: 18px;
    font-weight: bold;
  }
  #footer .services .container .bottom a {
    color: var(--color-tempubunsho);
  }
  #footer .index {
    max-width: 1080px;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-right: auto;
    margin-left: auto;
  }
  #footer .index .logo {
    width: 200px;
    margin-right: auto;
    margin-bottom: 24px;
    margin-left: auto;
  }
  #footer .index .contentinfo_links {
    display: flex;
    justify-content: space-around;
    color: #333333;
  }
  #footer .index .contentinfo_links a {
    font-size: 12px;
    color: #333333;
  }
  #footer .copyright {
    padding-bottom: 8px;
    font-size: 12px;
    color: #777777;
    text-align: center;
  }
}
@media screen and (max-width: 960px) {
  #footer {
    background-color: #f2f2f2;
  }
  #footer .services {
    padding: 40px 16px;
    background: #ffffff;
  }
  #footer .services > .title {
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
  }
  #footer .services .container ul li {
    display: grid;
    grid-template-rows: 1fr auto 1fr auto 1fr;
    row-gap: 12px;
    align-items: center;
    justify-items: center;
    margin-bottom: 48px;
  }
  #footer .services .container ul li .logo {
    margin-bottom: 16px;
  }
  #footer .services .container ul li .logo img {
    height: 32px;
    object-fit: contain;
  }
  #footer .services .container ul li .title {
    font-size: 16px;
    font-weight: bold;
  }
  #footer .services .container ul li .body {
    font-size: 14px;
    font-weight: normal;
  }
  #footer .services .container ul li .links {
    display: flex;
    column-gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }
  #footer .services .container ul li .links img {
    height: 20px;
  }
  #footer .services .container ul li .links--store img {
    width: 105px;
    height: auto;
  }
  #footer .services .container ul li .button a {
    text-decoration: none;
  }
  #footer .services .container .bottom {
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
    text-align: center;
  }
  #footer .index {
    max-width: 1080px;
    padding: 40px 16px;
    margin-right: auto;
    margin-left: auto;
  }
  #footer .index .logo {
    margin-bottom: 16px;
    text-align: center;
  }
  #footer .index .logo img {
    width: 138px;
  }
  #footer .index .contentinfo_links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
    color: #333333;
  }
  #footer .index .contentinfo_links a {
    font-size: 12px;
    color: #333333;
  }
  #footer .copyright {
    padding-bottom: 8px;
    text-align: center;
  }
}
.terms {
  max-width: 1080px;
  padding: 40px 30px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: left;
  background-color: #ffffff;
}
.terms .text-right {
  text-align: right;
}
.terms .disc {
  margin-left: 2em;
  list-style: disc;
}
.terms .my16 {
  margin-top: 16px;
  margin-bottom: 16px;
}
.terms a {
  color: var(--color-tempubunsho);
}
.terms hr {
  margin: 24px 0;
}
.terms h1 {
  font-size: 30px;
  font-weight: bold;
}
.terms h2 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: bold;
}
.terms h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: bold;
}
