/* reset */
body,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  padding: 20px;
  padding: calc(env(safe-area-inset-top) + 20px)
    calc(env(safe-area-inset-left) + 20px);
  -webkit-text-size-adjust: none;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
    Arial, sans-serif;
  word-break: keep-all;
  color: #262d39;
  background-color: #fff;
  text-align: center;
}

img {
  display: block;
  width: 100%;
}

/* common */
.hidden {
  overflow: hidden;
  position: absolute;
  margin: 0;
  border: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
  overflow-wrap: normal;
  color: transparent;
}

.wrap {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100%;
}

.ic-googlepaly {
  display: block;
  width: 26px;
  height: 26px;
  background: url(../images/ic-26-googlepaly.svg) no-repeat center / contain;
}
.ic-appstore {
  display: block;
  width: 26px;
  height: 26px;
  background: url(../images/ic-60-appstore.svg) no-repeat center / contain;
}

.title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.25;
}
.img-box {
  width: 240px;
  height: 240px;
}
.desc {
  padding: 16px 0;
  font-size: 12px;
  line-height: 1.5;
}
.link-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.link-box > a {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 1px solid rgba(38, 45, 57, 0.16);
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.4;
  color: #262d39;
}
.link-box > a:not(:first-child) {
  margin-left: 8px;
}
.logo-box {
  width: 130px;
  margin: 64px auto 0;
}

/*  웹 */
.web .title {
  max-width: 232px;
  padding-top: 30px;
  padding-bottom: 20px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}
.web .img-box {
  order: -1;
}
.web .link-box {
  flex-direction: column;
}
.web .link-box > a {
  width: 165px;
  height: 56px;
  font-weight: 700;
}
.web .link-box > a:not(:first-child) {
  margin-left: 0;
  margin-top: 12px;
}
.web .link-box > a::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 11px;
  background: left top / contain no-repeat;
}
.web .link-box > .link-appstore::before {
  background-image: url(../images/ic-32-appstore.png);
}
.web .link-box > .link-googleplay::before {
  background-image: url(../images/ic-32-googleplay.png);
}
/* PC (해상도 760px 이상) */
@media only screen and (min-width: 768px) {
  .web .title {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.2;
  }
  .web .link-box {
    flex-direction: row;
  }
  .link-box > a {
    max-width: 200px;
    width: auto;
    height: 68px;
    font-size: 20px;
  }
  .web .link-box > a:not(:first-child) {
    margin-left: 15px;
    margin-top: 0;
  }
  .web .img-box {
    width: 294px;
    height: 294px;
  }
}
