@charset "UTF-8";
a:hover {
  color: #3f8fc8;
}

p,
li,
h5 {
  font-size: 1.05rem;
  transition: ease 0.35s;
}

h2,
h3 {
  font-size: 1.5rem;
  transition: ease 0.35s;
}

header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  height: 60px;
}
header img {
  max-height: 48px;
}

nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  background-color: #f7f7f7;
  z-index: 50;
  box-sizing: border-box;
  border-bottom: 1px solid #ebebeb;
}
nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 48px);
  margin: 0 auto;
}

main {
  max-width: inherit;
  padding: 0px;
  box-sizing: border-box;
}
main section {
  padding: 20px 0px;
}

.app_guide {
  position: relative;
  min-height: 450px;
  height: calc(90vh - 100px);
  text-align: center;
  background-color: #ebebeb;
  box-sizing: border-box;
  padding: 0;
}
.app_guide div {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.app_guide div img {
  height: 100%;
}
.app_guide h2 {
  opacity: 0;
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text_c {
  text-align: center;
}

.app_download h1,
.service_policy h1 {
  font-size: 1.75rem;
  margin: 0px;
  padding: 20px 0px;
}

.app_download {
  background-color: #fff;
  border-radius: 40px;
  padding: 20px 15px 0px;
}
.app_download h2 {
  position: relative;
  z-index: 5;
  margin-top: 30px;
  margin-bottom: 10px;
}
.app_download p {
  position: relative;
  z-index: 5;
}
.app_download .device_url {
  width: 90%;
  margin: 0px auto;
  padding: 12px 0px 24px 0px;
}
.app_download .device_url > img {
  max-width: 240px;
  object-fit: cover;
  opacity: 0.3;
}
.app_download .device_url ul {
  display: grid;
  row-gap: 24px;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  justify-content: center;
  margin: 16px auto;
}
.app_download .device_url ul li {
  justify-self: center;
  max-width: 360px;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  column-gap: 16px;
}
.app_download .device_url ul li a {
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0;
}
.app_download .device_url ul li .cover {
  width: 50%;
}
.app_download .device_url ul li h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #505050;
  text-align: left;
  word-break: keep-all;
}
.app_download .device_url ul li.dl_ios h3::after {
  content: "iOS 16 (含) 以上";
  font-size: 1.15rem;
  font-weight: 400;
  word-break: keep-all;
  white-space: nowrap;
}
.app_download .device_content {
  text-align: justify;
  padding: 24px 0px 52px 0px;
  line-height: 30px;
}
.app_download .device_content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #3f8fc8;
}
.app_download .device_content p {
  font-size: 1rem;
  font-weight: 400;
  color: #505050;
  margin-top: 8px;
}
.app_download > div {
  text-align: center;
}

.service_policy div {
  max-width: 700px;
  max-height: 300px;
  overflow-y: auto;
  margin: 0px auto 40px;
  padding: 0px 5% 15px;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.bookstore {
  text-align: center;
}

.storelist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: clamp(360px, 98%, 1680px);
  gap: 8px;
  margin: 30px auto 40px;
  padding: 0 10%;
  box-sizing: border-box;
}
.storelist li {
  display: flex;
  align-items: center;
  width: clamp(36px, 45%, 400px);
  margin: 20px 0px;
  padding: 4px;
  border-radius: 20px;
  box-sizing: border-box;
  mix-blend-mode: initial;
  transition: ease 0.35s;
}
.storelist li a {
  aspect-ratio: 1/0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 360px;
  margin: 0 auto;
}
.storelist li img {
  width: 100%;
  max-width: 180px;
  margin: 0px auto;
}
.storelist li:hover {
  background-color: #ded8d0;
}

.service_policy {
  margin-top: -20px;
  margin-bottom: 0px;
}
.service_policy h2 {
  line-height: 2.5;
}
.service_policy div h3 {
  margin-top: 15px;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #3f8fc8;
}

.contentText {
  font-size: 1.25rem;
  line-height: 1.8;
}

.brand {
  font-weight: 500 !important;
  padding: 0px 4px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  h2,
  h3 {
    font-size: 1.5rem;
  }
  p,
  li,
  h5 {
    min-width: fit-content;
    font-size: 1.025rem;
  }
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    flex-direction: row;
    justify-content: space-between;
    background-color: #f7f7f7;
    box-shadow: 0px 0px 5px 2px rgba(100, 100, 100, 0.8);
  }
  header h1 img {
    max-width: 300px;
  }
  nav {
    position: sticky;
    top: 82px;
    transform: translateY(-70px);
    float: right;
    width: 34%;
    margin-right: 24px;
    border: none;
  }
  nav ul {
    gap: 8px;
  }
  .storelist {
    flex-direction: row;
    align-items: center;
    padding: 0 18%;
    gap: 0px;
  }
  .storelist li {
    width: clamp(36px, 20%, 25px);
  }
  .app_download .device_url {
    max-width: 769px;
    display: flex;
    column-gap: 48px;
  }
  .app_download .device_url > img {
    max-width: 357px;
  }
  .app_download .device_url ul {
    width: 100%;
    margin: auto;
  }
  .app_download .device_url ul li {
    align-self: center;
  }
  .app_download .device_content {
    max-width: 739px;
    margin: 0px auto;
  }
}