/* assets/css/style.css */

/* =========================
   Base
========================= */
:root{
  /* 左右背景（PCのみ見せたい黄色） */
  --bg-yellow: #f6e25e;

  /* 中央の縦ストライプ（赤） */
  --stripe-red-1:#a51518;
  --stripe-red-2:#b51b1f;
  --stripe-width: 22px;

  /* 中央帯・パネル幅 */
  --center-width: 920px; /* PC時の中央縦縞帯の固定幅 */
  --panel-max: 800px;
  --kv-max: 980px;
  --panel-side-gap: 24px;

  /* 白パネル */
  --panel:#ffffff;
  --panel-radius: 28px;
  --panel-shadow: 0 18px 40px rgba(0,0,0,.28);

  /* 余白 */
  --wrap-pad-y: 28px;
  --wrap-pad-x: 14px;

  /* HERO/KVの重なり量（PDF寄せ） */
  --panel-overlap: -18px; /* 0〜-60pxあたりで調整 */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:#222;
  font-family: "M PLUS Rounded 1c", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* PCでは左右に見せたい黄色 */
  background: var(--bg-yellow);
}

/* 画像は基本的に親幅に収める */
img{
  max-width:100%;
  height:auto;
}

/* 見た目は非表示、検索/読み上げには残す */
.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Central stripe band (PC: fixed width / SP: full width)
   - bodyが黄色
   - .wrapが縦縞
========================= */
.wrap{
  width: var(--center-width);
  max-width: 100%;
  margin: 0 auto;
  padding: var(--wrap-pad-y) var(--wrap-pad-x) 40px;

  background:
    repeating-linear-gradient(
      90deg,
      var(--stripe-red-1) 0,
      var(--stripe-red-1) var(--stripe-width),
      var(--stripe-red-2) var(--stripe-width),
      var(--stripe-red-2) calc(var(--stripe-width) * 2)
    );

  min-height: 100vh;
}

/* =========================
   HERO (text + KV image)  ※縦縞の上
========================= */
.hero{
  text-align:center;
  padding: 26px 16px 18px;
  background: transparent;
  position: relative;
  z-index: 2; /* KVを白パネルより前面に */
}

.hero__logo{
  margin:0;
  font-family:"Montserrat", system-ui, sans-serif;
  font-weight:800;
  letter-spacing:.08em;
  color:#fff;
  line-height:1.05;
  font-size: clamp(34px, 6vw, 60px);
}
.hero__x{
  margin: 6px 0 0;
  color:#fff;
  font-weight:800;
  font-size: 22px;
}
.hero__sub{
  margin: 8px 0 0;
  color:#fff;
  font-weight:900;
  letter-spacing:.12em;
  font-size: clamp(22px, 5vw, 44px);
}
.hero__tag{
  display:inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #6b2a10;
  color: #ffd33a;
  font-weight:900;
  font-size: 22px;
}

/* KV（完成イメージに寄せて“大きく”） */
.kv{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  padding: 0 8px 10px;
}
.kv img{
  width: 100%;
  max-width: var(--kv-max); /* KVはパネルより少し大きく見せる */
  height: auto;
  display:block;
}

/* =========================
   Coming soon banner
========================= */
.coming-soon{
  width: 100%;
  margin: calc(var(--wrap-pad-y) * -1) auto 10px;
  padding: 45px 12px 0px;
  border-radius: 18px;
  text-align: center;
  position: relative;
}
.coming-soon::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 60px;
  background: var(--bg-yellow);
  transform: translateX(-50%);
}
.coming-soon__label{
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0px 0px;
  z-index: 1;
  transform: translateX(-50%);
}
.coming-soon__label img{
  display: block;
  width: min(120px, 50%);
  height: auto;
}

/* =========================
   White rounded panel  ※KVに被せる
========================= */
.panel{
  width: min(var(--panel-max), calc(100% - var(--panel-side-gap)));
  margin: var(--panel-overlap) auto 0;  /* ←ここでKVと重ねる */
  background: var(--panel);
  border-radius: var(--panel-radius);
  box-shadow: var(--panel-shadow);
  padding: 10px 10px;
  overflow: hidden;

  position: relative;
  z-index: 1;
}

/* =========================
   Image blocks (copy/taisyou/product/info etc.)
========================= */
.block-img{
  width:100%;
  height:auto;
  display:block;
  margin:0 auto;
}

/* =========================
   Lead (copy.png area)
========================= */
.lead{
  padding: 25px 25px 6px;
  text-align:center;
}

/* =========================
   Clearfile area (4 + 1)
========================= */
.files{
  padding: 6px 18px 10px;
}

.asset1{
  margin-top: 10px;
  margin-bottom: clamp(12px, 5vw, 28px);
  padding-left: clamp(12px, 4vw, 24px);
  padding-right: clamp(12px, 4vw, 24px);
}

.files__grid{
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  justify-items:center;
  margin-top: 6px;
}

.files__grid img{
  width:100%;
  height:auto;
  max-width: 320px;
  display:block;
}

.files__single{
  display:flex;
  justify-content:center;
  margin-top: 12px;
}
.files__single img{
  width:min(360px,100%);
  height:auto;
  display:block;
}

/* =========================
   Target / Mark / Products / Contact
========================= */
.target{
  padding: 10px 35px 0;
}

.mark{
  padding: 10px 16px 0;
  display:flex;
  justify-content:center;
}
.mark img{
  width: min(740px, 100%);
  height:auto;
  display:block;
}

.products{
  padding: 45px 45px 30px;
}

.contact{
  padding: 40px 25px 50px;
}

/* =========================
   Fine print (outside panel, on stripe band)
========================= */
.fineprint{
  max-width: var(--panel-max);
  margin: 12px auto 0;
  padding: 10px 6px 0;
  color:#111;
  font-size: 13px;
  line-height:1.65;
  font-weight: 700;
}
.after{ padding-bottom: 12px; }

/* =========================
   Responsive (SP)
   - SPでは黄色を見せない（全面縦縞）
   - KV重なり量を弱めて安全運用
========================= */
@media (max-width: 520px){
  :root{
    --wrap-pad-y: 18px;
    --wrap-pad-x: 10px;
    --panel-overlap: -18px; /* SPは被せ量を少なめ */
  }

  /* SPは左右黄色を消す */
  body{
    background: transparent;
  }

  /* SPは縦縞を全面に */
  .wrap{
    width: 100%;
    max-width: none;
  }

  .hero{ padding: 22px 12px 14px; }
  .kv{ padding: 0 0 8px; }

  /* クリアファイルは1列 */
  .files{ padding: 6px 12px 10px; }
  .files__grid{ grid-template-columns: 1fr; }

  .target,.mark,.products,.contact{ padding-left: 12px; padding-right: 12px; }
  .fineprint{ padding-left: 6px; padding-right: 6px; }
  .footer-note__inner{ font-size: 14px; }
}

@media (min-width: 521px){
  .coming-soon{
    padding: 72px 12px 22px;
    margin-bottom: 18px;
  }
  .coming-soon::before,
  .coming-soon__label{
    height: 86px;
  }
  .coming-soon__label img{
    width: min(200px, 60%);
  }
}

/* =========================
   (Optional) PCで中央帯に軽い影を足したい場合
   - 必要なら解除コメント
========================= */
/*
@media (min-width: 521px){
  .wrap{
    box-shadow: 0 0 30px rgba(0,0,0,.08);
  }
}
*/

/* =========================
   Footer note (independent white area)
========================= */
.footer-note{
  background: #ffffff;     /* 常に白 */
  width: 100%;
  padding: 18px 14px 28px;
}

.footer-note__inner{
  max-width: 860px;        /* 白パネルと同じ基準幅 */
  margin: 0 auto;
  color: #111;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 400;
}

.footer-note__inner p{
  margin: 2px 0;
}

@media (max-width: 520px){
  .footer-note__inner{ font-size: 15px; }
}
