:root{
  --wrap: 980px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  background:#fff;
  font-family:'Zen Maru Gothic', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* HERO（付箋演出はここだけ） */
.hero{
  position: relative;           /* absolute配置の基準 */
  height: 100vh;
  height: 100svh;
  overflow: hidden;             /* heroからはみ出さない */
  cursor: pointer;
  background: #ffffff;
}

.hero-inner{
  position: relative;
  z-index: 2;
  padding: 56px 22px 0;
  max-width: var(--wrap);
  margin: 0 auto;
}

.hero-title{
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
}

.hero-lead{
  margin: 0;
  color: #666;
  line-height: 1.7;
}

.scroll-hint{
  position:absolute;
  left:50%;
  bottom: 16px;
  transform: translateX(-50%);
  color:#888;
  font-size: 12px;
  z-index: 2;
}

/* 付箋コンテナ：hero内に固定 */
#memo-container-root{
  position:absolute;
  inset: 0;
  z-index: 1;
}

/* 生成される付箋のスタイル */
.memo-item{
  position: absolute;
  width: 300px;
  opacity: 0;
  transform: scale(0) rotate(var(--start-deg, 20deg));
  transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  filter: drop-shadow(5px 8px 15px rgba(0,0,0,0.12));
}

.memo-item.is-visible{
  opacity: 1;
  transform: scale(1) rotate(var(--end-deg, -5deg));
}

.memo-img{
  width: 100%;
  height: auto;
  display: block;
}

.memo-text{
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
}

.main-txt{
  font-weight: 700;
  font-size: 15px;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.sub-txt{
  font-size: 11px;
  color: #777;
  margin-top: 6px;
  line-height: 1.3;
}

/* 下の通常セクション */
.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.section{
  padding: 70px 0;
  background: #fff;
}

.section.alt{
  background: #0f0f10;
  color: #f3f3f4;
}

.section-title{
  margin: 0 0 14px;
  font-size: 28px;
}

.section-text{
  margin: 0;
  color: #666;
  line-height: 1.9;
}
.section.alt .section-text{ color:#cfcfd4; }

.cta{
  display:inline-flex;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color:#111;
  text-decoration:none;
  font-weight: 700;
}

/* =========================================================
   ABOUT：左画像 / 右テキスト
   ========================================================= */

.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.about-media{
  border-radius: 18px;
  overflow: hidden;
  background: #f6f6f7;
  border: 1px solid rgba(0,0,0,.08);
}

.about-img{
  width: 100%;
  height: auto;
  display: block;
}

/* ★ ABOUTラベル（大きめ） */
.about-label{
  margin: 0 0 10px;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #111;
  text-transform: uppercase;
}

.about-title{
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.about-desc{
  margin: 0;
  color: #666;
  line-height: 1.9;
}

/* =========================================================
   Scroll reveal（共通）※重複排除
   ========================================================= */

.js-reveal-down,
.js-reveal-left{
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity .85s ease, transform .85s ease;
}

/* 上→下へフェードイン */
.js-reveal-down{
  transform: translateY(-26px);
}

/* 左→右へスライドイン */
.js-reveal-left{
  transform: translateX(-34px);
}

/* 表示状態（JSで付与） */
.is-in{
  opacity: 1;
  transform: translate(0,0);
}

/* 順番に出す（delay） */
.about-label{ transition-delay: 0s; }
.about-title{ transition-delay: .10s; }
.about-desc { transition-delay: .20s; }

/* responsive */
@media (max-width: 920px){
  .about-grid{
    grid-template-columns: 1fr;
  }
  .about-title{
    font-size: 26px;
  }
  .about-label{
    font-size: 42px; /* スマホでは大きすぎないように */
    letter-spacing: .14em;
  }
}
/* =========================================================
   NEWS（プレスリリース）
   ========================================================= */

.news{
  background: #fff;
}

.news-head{
  margin-bottom: 18px;
}

.news-label{
  margin: 0 0 8px;
  font-size: 64px;     /* ABOUTと同系統で大きく */
  font-weight: 700;
  letter-spacing: .18em;
  color: #111;
  text-transform: uppercase;
}

.news-sub{
  margin: 0;
  color: #666;
  line-height: 1.8;
}

.news-list{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.news-item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;

  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.news-date{
  font-size: 13px;
  color: #777;
  letter-spacing: .06em;
}

.news-link{
  color: #111;
  text-decoration: none;
  line-height: 1.6;
}

.news-link:hover{
  text-decoration: underline;
}

.news-more{
  margin-top: 18px;
}

.news-btn{
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  text-decoration: none;
  color: #111;
  font-weight: 700;
}

/* responsive */
@media (max-width: 920px){
  .news-label{
    font-size: 42px; /* スマホは少し抑える */
    letter-spacing: .14em;
  }

  .news-item{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-date{
    font-size: 12px;
  }
}
/* =========================================================
   Modal
   ========================================================= */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.is-open{
  display: block;
}

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.modal-panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: min(720px, calc(100vw - 44px));
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 26px 70px rgba(0,0,0,.20);
}

.modal-close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  font-size: 22px;
  cursor: pointer;
}

.modal-meta{
  margin-bottom: 8px;
}

.modal-date{
  color: #777;
  font-size: 13px;
  letter-spacing: .06em;
}

.modal-title{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
  color: #111;
}

.modal-body{
  margin: 0;
  color: #444;
  line-height: 1.9;
}

/* モーダル表示中の背景スクロール抑止 */
body.is-modal-open{
  overflow: hidden;
}
