/* =========================================================
  pages.css
  - 共通パーツ（section/head/wave/btn/cta 等）
========================================================= */

/* -------------------------
  Sections base
------------------------- */
.section{
  padding: 86px 0;
  position: relative;
}

.section--paper{
  background:
    radial-gradient(960px 420px at 50% 12%, rgba(111,143,122,.10), transparent 62%),
    radial-gradient(820px 420px at 12% 52%, rgba(111,143,122,.06), transparent 62%),
    transparent;
}

.section--paper::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background-image: var(--noise);
  opacity:.55;
  mix-blend-mode:multiply;
}

/* -------------------------
  Headings (serif)
------------------------- */
.section-head{
  text-align: center;
  margin: 0 0 34px;
  position: relative;
  z-index: 1;
}

.section-head .en{
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(26,26,26,.56);
  margin: 0 0 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
}
.section-head .en::before,
.section-head .en::after{
  content:"";
  width: 84px;
  height: 1px;
  background: rgba(0,0,0,.22);
  opacity:.55;
}
.section-head .en .cap{
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.55);
}

.section-head .jp{
  font-family:"Noto Serif JP","Noto Sans JP",serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: .06em;
  margin: 0 0 10px;
}
.section-head .lead{
  margin: 0 auto;
  max-width: 68ch;
  font-size: 14.5px;
  color: rgba(26,26,26,.66);
  line-height: 2.0;
}

/* -------------------------
  Wave separators
------------------------- */
.wave{
  position: absolute;
  left: 0; right: 0;
  height: 30px;
  pointer-events: none;
  opacity: .60;
  z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,20 C120,10 240,30 360,20 C480,10 600,30 720,20 C840,10 960,30 1080,20 C1140,15 1170,18 1200,20' fill='none' stroke='rgba(0,0,0,.24)' stroke-width='2'/%3E%3C/svg%3E")
    center / 1200px 30px repeat-x;
}
.wave--top{ top: -16px; }
.wave--bottom{ bottom: -16px; }

/* -------------------------
  Buttons (base)
------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.55);
  color: rgba(17,17,17,.86);
  text-decoration:none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing:.04em;
  cursor:pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
  transition: transform .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); filter: brightness(1.01); }

.btn--primary{
  background: linear-gradient(180deg, rgba(111,143,122,.92), rgba(92,127,105,.92));
  color:#fff;
  border-color: rgba(0,0,0,.12);
}
.btn--ghost{ background: rgba(255,255,255,.44); }

.btn.is-small{
  padding: 10px 14px;
  font-size: 13px;
  box-shadow: 0 12px 24px rgba(0,0,0,.10);
}

/* -------------------------
  Split / Block
------------------------- */
.split{
  display:grid;
  grid-template-columns:1fr;
  gap: 18px;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}
@media (min-width:820px){
  .split{ grid-template-columns:1fr 1fr; gap: 18px 22px; }
}

.block{
  padding: 16px 16px 14px;
  border-radius: 18px;
  position: relative;
}
.block.card{
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
  overflow:hidden;
}
.block.card::after{
  content:"";
  position:absolute; inset:0;
  background-image: var(--noise);
  opacity:.55;
  mix-blend-mode:multiply;
  pointer-events:none;
}
.block .k{
  margin:0 0 8px;
  font-size: 13px;
  letter-spacing:.10em;
  color: rgba(92,127,105,.98);
  position: relative;
  z-index: 1;
}
.block .t{
  margin:0;
  font-size: 15px;
  color: rgba(26,26,26,.66);
  line-height: 2.0;
  position: relative;
  z-index: 1;
}

/* -------------------------
  CTA Panel
------------------------- */
.cta-panel{
  margin-top: 22px;
  border-radius: 20px;
  background:
    radial-gradient(520px 260px at 22% 35%, rgba(255,255,255,.55), transparent 62%),
    radial-gradient(620px 260px at 78% 45%, rgba(111,143,122,.14), transparent 62%),
    rgba(255,255,255,.46);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
  padding: 18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  position: relative;
  overflow:hidden;
  z-index: 1;
}
.cta-panel::after{
  content:"";
  position:absolute; inset:0;
  background-image: var(--noise);
  opacity:.55;
  mix-blend-mode:multiply;
  pointer-events:none;
}
.cta-panel > *{ position: relative; z-index: 1; }

.cta-panel .kicker{
  margin:0 0 6px;
  font-size: 12px;
  color: rgba(26,26,26,.60);
  letter-spacing:.14em;
}
.cta-panel .title{
  margin:0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height:1.6;
  font-family:"Noto Serif JP","Noto Sans JP",serif;
}
.cta-panel .note{
  margin:0;
  font-size: 13px;
  color: rgba(26,26,26,.62);
}
.cta-actions{ flex:0 0 auto; }

/* -------------------------
  Responsive (SP)
------------------------- */
@media (max-width: 600px){
  :root{ --section-px: 20px; }
  .section{ padding: 74px 0; }
  .cta-panel{ flex-direction: column; align-items: stretch; }
  .cta-actions{ width: 100%; }
  .cta-actions .btn{ width: 100%; }
}

/* =========================================================
  Footer
========================================================= */
.footer{
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}

.footer-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 28px;
  text-align: center;
}

.footer-logo img{
  height: 36px;
  width: auto;
  margin: 0 auto 10px;
}

.footer-message{
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(17,17,17,.70);
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 0 auto 18px;
}

.footer-links a{
  font-size: 13px;
  color: rgba(17,17,17,.78);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,127,111,.14);
  background: rgba(255,255,255,.85);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.footer-links a:hover{
  background: rgba(47,127,111,.06);
  border-color: rgba(47,127,111,.24);
  transform: translateY(-1px);
}

.footer-copy{
  margin: 0;
  font-size: 12px;
  color: rgba(17,17,17,.60);
}

@media (max-width: 600px){
  .footer-inner{ padding: 28px 18px; }
  .footer-links{ gap: 8px 10px; }
  .footer-links a{ font-size: 12.5px; padding: 8px 10px; }
}

.wave{
  display: none;
}
