/* ===== Base ===== */
:root{
  --line-green:#07b53b;
  --text:#111;
  --muted:#8a8a8a;
  --border:#1d1d1d;
  --bg:#fff;
  --btn-grey:#cfcfcf;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP",
               "Hiragino Kaku Gothic ProN", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* ===== Header ===== */
/* 画像の雰囲気：スマホは余白大きく左上にLINE、PCは上部に線＋中央 */
.header{
  width:100%;
}

/* モバイルは「左上のLINE」っぽく */
.header-inner{
  padding: 32px 0 0 32px;
}
.brand{
  display:inline-block;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--line-green);
  text-decoration:none;
  font-size: 32px; /* 1枚目の大きさに寄せ */
  line-height:1;
}

/* ===== Main ===== */
.main{
  min-height: calc(100vh - 0px);
}

/* ===== Mobile layout ===== */
.mobile{
  min-height: calc(80vh - 110px);
  position: relative;
  padding-bottom: 10vh; /* 下部ボタン分の余白 */
}

.mobile-center{
  min-height: calc(80vh - 110px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 28px;
  padding: 0 20px;
}

.app-icon{
  display:flex;
  align-items:center;
  justify-content:center;
}

.app-icon-img{
  width: 40vw;
  object-fit: contain;
}

.app-icon-img-desktop{
  width: 20vw;
  object-fit: contain;
}

.mobile-title{
  margin:0;
  font-size: 5vw;
  font-weight: 900;
  text-align:center;
  line-height: 1.25;
}

.mobile-actions{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  padding: 0 22px;
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 7vh;
  border-radius: 7px;
  font-weight: 700;
  font-size: 5vw;
  letter-spacing: .02em;
  text-decoration:none;
  user-select:none;
}

.btn2{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 5vh;
  border-radius: 7px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
  text-decoration:none;
  user-select:none;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.btn-primary{
  background: var(--line-green);
  color:#fff;
  border: 2px solid var(--line-green);
}

.btn-secondary{
  background:#fff;
  color:#4a4a4a;
  border: 1px solid #d6dbe2; /* 1枚目の薄い枠線っぽく */
}

.qr-size{
  text-align: center;
  width: 10vw;
  height: auto;
}


/* ===== Desktop layout (hidden by default) ===== */
.desktop{ display:none; }

/* ===== PC breakpoint ===== */
@media (min-width: 768px){
  /* PCは上部に線＋中央ロゴ */
  .header{
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
    padding: 10px 0;
  }
  .header-inner{
    padding: 0;
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .brand{
    font-size: 34px;
  }

  /* スマホ用セクション非表示 */
  .mobile{ display:none; }

  /* PC用セクション表示 */
  .desktop{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    min-height: calc(100vh - 88px);
    padding-top: 84px;  /* 上の余白を広めに */
  }

  .desktop-wrap{
    width: 720px;
    text-align:center;
  }

  .qr-block{
    display:flex;
    justify-content:center;
    margin-bottom: 22px;
  }

  .qr-img{
    width: 240px;
    height: 240px;
    object-fit: cover;
    border: 1px solid #d0d0d0;
    background:#fff;
  }

  .desktop-title{
    margin: 10vh 0 10px;
    font-size: 16px;
    font-weight: 700;
    color:#333;
  }

  .desktop-desc{
    margin: 0 0 22px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
  }

  .desktop-link{
    font-size: 12px;
    color: #1a5cff;
    text-decoration: underline;
  }
}