@charset "utf-8";
/* DreamGacha LP - cleaned & accessible (60+ friendly)
   - PC iframe max 950px
   - Inline styles removed from HTML
*/

/* basic reset */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
img{ max-width:100%; height:auto; vertical-align:bottom; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font:inherit; color:inherit; background:transparent; border:0; padding:0; cursor:pointer; }

/* theme tokens */
:root{
  --max: 950px;

  /* palette */
  --blue-bg: #66c7e8;
  --cyan: #00b3e6;
  --pink: #ff4fa3;
  --yellow: #ffd400;
  --brown: #3a2416;
  --white: #ffffff;
  --black: #000000;

  /* typography (bigger for seniors) */
  --fs-body: clamp(17px, 2.2vw, 20px);
  --fs-small: clamp(15px, 2.0vw, 18px);
  --fs-h2: clamp(26px, 4.0vw, 40px);
  --fs-h3: clamp(20px, 3.0vw, 26px);
  --fs-btn: clamp(17px, 2.4vw, 20px);

  --line: 1.9;
  --pad: clamp(14px, 3vw, 22px);
  --gap: clamp(14px, 2.8vw, 22px);
  --radius: 18px;

  --shadow: 0 10px 28px rgba(0,0,0,.12);
  --shadow-soft: 0 8px 18px rgba(0,0,0,.10);
}

/* base */
body{
  font-family: system-ui, -apple-system, "Noto Sans JP", "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: var(--line);
  letter-spacing: .02em;
  color:#111;
  background: var(--blue-bg);
  overflow-x:hidden;
  -webkit-text-size-adjust: 100%;
}

/* background layer */
.bg{
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 700px at 20% 10%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(900px 700px at 80% 70%, rgba(255,79,163,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(0,0,0,0));
}

/* layout */
.l-main{ min-height: 100vh; }
.pg-content{
  width:100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 48px;
}

/* hero */
.p-visual{
  margin-top: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.p-visual img{ width:100%; display:block; }

/* section spacing */
.p-section{ padding: clamp(18px, 3.8vw, 30px) 0; }

/* H2 (high contrast + readable) */
.p-tit{
  margin: 18px 0 18px;
  font-size: var(--fs-h2);
  font-weight: 900;
  text-align:center;
  color: var(--white);
  background: rgba(0,0,0,.88);
  border-top: 6px solid var(--yellow);
  border-bottom: 6px solid var(--yellow);
  border-left: 6px solid var(--brown);
  border-right: 6px solid var(--brown);
  border-radius: 16px;
  padding: 14px 16px;
  letter-spacing: .08em;
  box-shadow: var(--shadow-soft);
}

/* card */
.p-card{
  background: var(--white);
  border: 6px solid var(--brown);
  border-radius: 20px;
  box-shadow: 0 12px 0 var(--yellow);
  padding: clamp(16px, 3.2vw, 24px);
}

/* paragraphs inside cards */
.p-card p{
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 3px dashed rgba(58,36,22,.25);
}
.p-card p:last-child{
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* emphasis badge */
.p-card b, .p-card strong{
  display:inline-block;
  font-size: 1.05em;
  font-weight: 900;
  background: var(--pink);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 12px;
  border: 3px solid var(--brown);
  box-shadow: 0 4px 0 rgba(0,0,0,.15);
  margin: 0 0 8px;
}

/* centered callout */
.p-callout{
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  text-align:center;
}
.p-callout__label{
  display:block;
  background: var(--cyan);
  color: var(--white);
  border: 4px solid var(--brown);
  border-radius: 16px;
  padding: 12px 12px;
  font-weight: 900;
  font-size: clamp(18px, 2.8vw, 24px);
  box-shadow: 0 8px 0 rgba(58,36,22,.35);
}

/* dl (works with your current HTML) */
.p-dl{ margin:0; padding:0; }
.p-dl > div{
  padding: 12px 0;
  border-bottom: 3px dashed rgba(58,36,22,.18);
}
.p-dl > div:last-child{ border-bottom: 0; }
.p-dl dt{
  font-weight: 900;
  color: var(--brown);
  margin-top: 10px;
}
.p-dl dd{
  margin: 6px 0 0;
  color: rgba(0,0,0,.80);
  font-size: var(--fs-small);
  white-space: pre-line;
}
@media (min-width: 520px){
.p-dl > div{

display:flex;

flex-wrap:wrap;

align-items:center;

gap:10px 18px;

padding:14px 0;

border-bottom:3px dashed rgba(58,36,22,.18);

}

/* 見出し */
.p-dl dt{

flex:0 0 120px;   /* ← 固定幅 */

font-weight:900;

color:var(--brown);

}

/* 内容 */
.p-dl dd{

flex:1;

margin:0;

font-size:var(--fs-body);

white-space:normal;

}
}

/* grid */
.p-grid{ display:grid; gap: var(--gap); }
@media (min-width: 560px){ .p-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px){ .p-grid{ grid-template-columns: 1fr 1fr 1fr; } }

/* item cards */
.p-item{
  background: var(--white);
  border: 5px solid var(--brown);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 0 var(--yellow);
}
.p-item--cyan{ background: var(--cyan); }
.p-item--pink{ background: var(--pink); }

.p-item__tit{
  margin: 0 0 10px;
  font-size: var(--fs-h3);
  font-weight: 900;
  color: var(--brown);
  background: var(--yellow);
  border: 4px solid var(--brown);
  border-radius: 14px;
  padding: 10px 12px;
  text-align:center;
  box-shadow: 0 6px 0 rgba(58,36,22,.30);
}
.p-item__tit--cyan{
  background: var(--cyan);
  color: var(--white);
}

.p-item__txt{
  margin: 0;
  font-size: var(--fs-body);
  color: rgba(0,0,0,.88);
}
.p-item--cyan .p-item__txt,
.p-item--pink .p-item__txt{
  color: rgba(255,255,255,.98);
}
.p-item__txt--lead{
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 900;
}
.p-item__txt--right{ text-align:right; }

/* modest buttons/links, but large */
/* 横並び用 */
.p-item__row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	margin-top:10px;
}

/* ボタン */
.p-item__btn,
.p-item__link {

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

	width:auto;              /* ← 幅解除 */
	padding:10px 20px;

	font-size: var(--fs-btn);
	font-weight: 800;

	background: rgba(58,36,22,1);
	color:#fff;

	border: 3px solid #fff;
	border-radius: 14px;

	white-space: nowrap;     /* 折り返し防止 */
}

/* hover */
.p-item__btn:hover,
.p-item__link:hover{
	filter: brightness(.95);
	transform: translateY(1px);
}
.p-item__btn:hover,
.p-item__link:hover{
  filter: brightness(.97);
  transform: translateY(1px);
}

/* page top */
.p-pagetop{ margin: 24px 0 0; }
.p-pagetop__link{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 70px;
  background: rgba(0,0,0,.90);
  border: 5px solid var(--brown);
  border-radius: 18px;
  box-shadow: 0 10px 0 rgba(0,0,0,.18);
  position: relative;
}
.p-pagetop__link::before{
  content:"";
  width: 16px;
  height: 16px;
  border-top: 5px solid #fff;
  border-right: 5px solid #fff;
  transform: translateY(2px) rotate(-45deg);
}

/* footer */
.pg-footer{
  margin-top: 18px;
  padding: 18px 0 10px;
}
.p-link{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 10px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: rgba(0,0,0,.72);
}
.p-link a{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.10);
}

/* hide modal for now (you can enable later) */
.pg-modal{ display:none; }

/* mobile */
@media (max-width: 420px){
  .pg-content{ padding: 0 12px 40px; }
  .p-card{ padding: 16px; }
}


/* scroll reveal animation */
.js-reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.js-reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* 60代向け：動き控えめ設定に従う */
@media (prefers-reduced-motion: reduce){
  .js-reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}
