/* =========================================================
   LP COMMON (final)
   photoreal / hyperreal 共通で崩れない版
   ========================================================= */

.lp,
.lp *{
  box-sizing: border-box;
}

.lp{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 14px;
  overflow-wrap: anywhere;

  position: relative;
  z-index: 1;
}

/* media */
.lp img,
.lp iframe,
.lp video{
  max-width: 100%;
}

.lp img,
.lp video{
  height: auto;
  display: block;
}

.lp iframe{
  display: block;
  border: 0;
}

/* text rhythm */
.lp p{
  margin: 0 0 18px;
  line-height: 1.85;
}

.lp ul,
.lp ol{
  margin: 14px 0 18px;
  padding-left: 22px;
}

.lp li{
  margin: 6px 0;
}

/* hero */
.lp .lp-hero img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* headings */
.lp .lp-h1{
  margin: 18px 0 10px;
  line-height: 1.25;
}

.lp .lp-h2{
  position: relative;
  padding-left: 16px;
  margin: 32px 0 14px;
  line-height: 1.35;
}

.lp .lp-h2::before{
  content:"";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 3px;
  height: 1.4em;
  background: #ff9933;
  pointer-events: none;
}

.lp .lp-h3{
  margin: 24px 0 12px;
}

/* separators */
.lp .lp-vline{
  border: 0;
  width: 1px;
  height: 34px;
  margin: 18px auto;
  background: rgba(255,255,255,0.25);
  pointer-events: none;
}

.lp .lp-sec{
  padding: 2px 0;
}

/* lead / notes */
.lp .lp-lead{
  margin-top: 14px;
}

.lp .lp-note{
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(215,215,215,0.85);
}

.lp .lp-cta-sub{
  color: rgba(215,215,215,0.85);
  font-size: 0.95rem;
}

/* =========================================================
   CTA
   ========================================================= */
.lp .lp-cta{
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;

  position: relative;
  z-index: 50;
}

/* =========================================================
   Buttons（ここが肝）
   ========================================================= */
.lp .lp-btn{
  position: relative;
  z-index: 60;
  pointer-events: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* 高さ基準 */
  min-height: 56px;

  /* 左右だけa側 */
  padding: 0 22px;

  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: 0.2s ease;

  max-width: 100%;
}

/* 中身を span で包む前提 */
.lp .lp-btn > span{
  display: block;
  padding: 12px 0;           /* 上下余白はここで管理 */
  line-height: 1.25;
  transform: translateY(-1px); /* 日本語の沈み補正 */
}

/* primary */
.lp .lp-btn--primary{
  border: 2px solid rgba(255,153,51,0.9);
  background: rgba(255,153,51,0.9);
  color: #000;
}

/* sub */
.lp .lp-btn--sub{
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  color: #fff;
}

@media (hover:hover){
  .lp .lp-btn:hover{
    transform: translateY(-1px);
    filter: brightness(1.02);
  }
}

/* =========================================================
   works grid
   ========================================================= */
.lp .lp-works-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.lp .lp-works-grid img{
  width: 100%;
  border-radius: 10px;
}

/* responsive */
@media screen and (max-width: 800px){
  .lp .lp-works-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 520px){
  .lp .lp-works-grid{
    grid-template-columns: 1fr;
  }

  .lp .lp-btn{
    width: 100%;
    min-height: 56px;
  }
}

/* safety */
.lp .lp-h2::before,
.lp .lp-vline{
  pointer-events: none;
}

/* yoast */
.yoast-hook{
  position:absolute;
  left:-9999px;
  top:-9999px;
  height:1px;
  width:1px;
  overflow:hidden;
}
