﻿/* ---- HOME ---- */

.home-hero{
  min-height:calc(100vh - 72px);
  min-height:calc(100svh - 72px);
  padding:56px 0 48px;
  overflow:hidden;
  position:relative;
  background:#fff
}

.hh-grid{
  display:grid;
  grid-template-columns:minmax(340px,.82fr) minmax(0,1.18fr);
  gap:56px;
  align-items:center;
  min-height:clamp(560px,calc(100svh - 128px),700px)
}

@media (max-width:880px){
  .hh-grid{
    grid-template-columns:1fr
  }
}

.hero-copy{
  position:relative;
  z-index:3;
  align-self:center;
  padding-bottom:0;
  margin-left:0;
  max-width:520px;
  isolation:isolate
}

.hero-copy::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-36px -52px -34px -42px;
  border-radius:44px;
  background:radial-gradient(ellipse 78% 74% at 28% 46%,rgba(255,255,255,.96) 0%,rgba(255,255,255,.88) 52%,rgba(255,255,255,.58) 74%,rgba(255,255,255,0) 100%);
  filter:blur(7px);
  pointer-events:none
}

.hero-eyebrow{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px
}

.hero-eyebrow-line{
  display:block;
  width:42px;
  height:1.5px;
  background:var(--pink);
  flex:0 0 42px
}

.hero-eyebrow-text{
  font-size:12px;
  font-weight:900;
  color:var(--pink);
  letter-spacing:.22em;
  text-transform:none
}

.hero-copy > .hero-eyebrow-text{
  display:block;
  margin-top:18px
}

.hero-eyebrow-bottom{
  margin:18px 0 0
}

.hero-eyebrow-main{
  display:flex
}

.hero-eyebrow-sp{
  display:none
}

.home-hero h1{
  font-size:clamp(46px,4.8vw,68px);
  font-weight:900;
  line-height:1.42;
  letter-spacing:.03em;
  margin:0 0 26px
}

.home-hero h1 span{
  color:var(--ink);
  display:inline-block;
  white-space:nowrap
}

.home-hero h1 .hero-accent{
  display:inline;
  color:var(--pink)
}

.hero-script{
  font-family:"Brush Script MT","Segoe Script","Snell Roundhand",cursive;
  font-size:clamp(28px,2.6vw,38px);
  line-height:1.15;
  color:var(--pink-d);
  font-weight:400;
  margin:24px 0 28px;
  transform:rotate(-4deg);
  display:inline-block;
  opacity:.88;
  letter-spacing:.01em
}

.home-hero p.lead{
  font-size:18px;
  line-height:2;
  color:var(--ink);
  margin:0;
  font-weight:700;
  max-width:560px
}

.hero-actions{
  display:none
}

.hero-lineup{
  margin-top:28px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
  font-size:12px;
  font-weight:700;
  color:var(--ink-mid);
  letter-spacing:.06em;
  max-width:580px
}

.hero-lineup .dot{
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--pink);
  opacity:.6;
  flex:0 0 3px
}

.hero-scroll{
  position:absolute;
  right:34px;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  pointer-events:none
}

.hero-scroll-label{
  font-size:10px;
  font-weight:900;
  letter-spacing:.28em;
  color:var(--ink-mid);
  writing-mode:vertical-rl;
  text-orientation:mixed
}

.hero-scroll-line{
  width:1px;
  height:36px;
  background:linear-gradient(180deg,var(--pink) 0%,var(--pink) 50%,transparent 100%);
  position:relative;
  overflow:hidden
}

.hero-scroll-line::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:40%;
  background:#fff;
  animation:scrollHint 2.2s cubic-bezier(.45,.05,.55,.95) infinite
}

@keyframes scrollHint{
  0%{
    transform:translateY(-100%)
  }

  60%,100%{
    transform:translateY(250%)
  }
}

@media (max-width:880px){
  .hero-lineup{
    font-size:11px
  }
}

.hero-visual{
  position:relative;
  align-self:center;
  justify-self:end;
  width:100%;
  max-width:760px;
  height:clamp(470px,62vh,640px);
  aspect-ratio:auto;
  margin:0;
  isolation:isolate;
  overflow:hidden;
  border-radius:36px;
  background:#fff;
  box-shadow:0 20px 54px rgba(20,30,50,.1)
}

.hero-visual.reveal{
  transform:none
}

.hero-visual::before{
  display:none
}

.hero-visual::after{
  display:none
}

.hv{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  z-index:1;
  isolation:isolate;
  display:flex;
  align-items:center;
  justify-content:center;
  color:transparent;
  font-size:18px;
  font-weight:700;
  overflow:hidden;
  background:#fff
}

.hv::before{
  display:none
}

.hv .hero-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  aspect-ratio:auto;
  border-radius:inherit;
  background:#fff;
  z-index:1;
  -webkit-mask-image:none;
  mask-image:none;
  box-shadow:none;
  color:transparent
}

.hv .hero-photo img{
  width:100%;
  height:100%;
  margin:0;
  -o-object-fit:cover;
     object-fit:cover;
  -o-object-position:center top;
     object-position:center top;
  transform:none;
  -webkit-mask-image:none;
  mask-image:none;
  filter:none;
  border-radius:inherit
}

.hero-sub-visual{
  display:none
}

@media (min-width:1320px){
  .hero-copy{
    margin-left:-24px
  }

  .hero-visual{
    max-width:820px
  }
}

@media (min-width:1520px){
  .hero-copy{
    margin-left:-44px
  }

  .hero-visual{
    max-width:880px
  }
}

.news-bar{
  width:auto;
  max-width:none;
  margin:148px calc(50% - 50vw) 0;
  padding:54px max(32px,calc((100vw - 1120px)/2));
  background:transparent;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-left:0;
  border-right:0;
  border-radius:0;
  box-shadow:none
}

.news-bar-head{
  justify-content:flex-start;
  text-align:left;
  margin-bottom:28px
}

.news-items{
  display:block;
  border-top:1px solid var(--line)
}

.news-home-item{
  display:grid;
  grid-template-columns:140px 120px 1fr;
  align-items:center;
  gap:32px;
  min-height:84px;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  padding:20px 4px;
  transition:color 200ms,background-color 200ms,padding-left 200ms
}

.news-home-item:hover{
  color:var(--pink);
  background:rgba(255,255,255,.64);
  padding-left:14px
}

.news-bar .date{
  font-size:16px;
  font-weight:700;
  color:var(--ink-mid)
}

.news-cat{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:100px;
  min-height:34px;
  padding:6px 12px;
  border-radius:5px;
  background:var(--pink);
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1.35;
  text-align:center
}

.news-bar .title{
  font-size:18px;
  font-weight:900;
  line-height:1.65;
  color:var(--ink)
}

.news-bar .more{
  display:flex;
  align-items:center;
  justify-content:center;
  width:260px;
  max-width:100%;
  height:52px;
  margin:26px 0 0 auto;
  border:0;
  border-radius:999px;
  background:var(--cta-bg);
  color:var(--cta-text);
  font-size:15px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(var(--accent-rgb),.16);
  transition:transform 200ms,box-shadow 200ms
}

.news-bar .more:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(var(--accent-rgb),.24)
}

section.home-news{
  padding:56px 0 72px;
  background:#fff
}

.home-news .news-bar{
  width:auto;
  margin:0 calc(50% - 50vw)
}

@media (max-width:720px){
  .news-bar{
    margin-top:78px;
    padding:40px 20px;
    border-radius:0
  }

  .news-bar-head{
    margin-bottom:28px
  }

  .news-home-item{
    grid-template-columns:1fr;
    gap:10px;
    min-height:auto;
    padding:20px 0
  }

  .news-home-item:hover{
    padding-left:0
  }

  .news-cat{
    justify-self:start
  }

  .news-bar .title{
    font-size:16.5px;
    line-height:1.75
  }

  .news-bar .more{
    width:100%;
    min-width:0;
    margin-top:24px
  }
}

/* Feature card grid (HOME) */

.feat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:32px
}

@media (max-width:880px){
  .feat-grid{
    grid-template-columns:1fr
  }
}

.fcard{
  border:1px solid var(--line);
  border-radius:20px;
  padding:32px 28px;
  background:#fff;
  transition:transform 240ms,box-shadow 240ms
}

.fcard:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 32px rgba(20,30,50,.06)
}

.fcard .ico{
  width:48px;
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:900;
  font-size:23px;
  margin-bottom:18px
}

.fcard.f1 .ico,.fcard.f2 .ico,.fcard.f3 .ico{
  background:linear-gradient(135deg,var(--pink),var(--pink-d))
}

.fcard h3{
  font-size:21px;
  font-weight:900;
  margin:0 0 10px;
  letter-spacing:.02em
}

.fcard p{
  font-size:16px;
  line-height:1.9;
  color:var(--ink-mid);
  margin:0 0 18px
}

.fcard a.more{
  font-size:15px;
  font-weight:900;
  color:var(--pink)
}

/* Service strip (HOME) */

.svc-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:32px
}

@media (min-width:881px){
  .svc-strip{
    grid-template-columns:repeat(6,1fr)
  }

  .svc-strip .scard{
    grid-column:span 2
  }

  .svc-strip .scard:nth-child(4){
    grid-column:2 / span 2
  }

  .svc-strip .scard:nth-child(5){
    grid-column:4 / span 2
  }
}

@media (max-width:880px){
  .svc-strip{
    grid-template-columns:repeat(2,1fr)
  }

  .svc-strip .scard{
    grid-column:auto
  }
}

@media (max-width:540px){
  .svc-strip{
    grid-template-columns:1fr
  }
}

.scard{
  position:relative;
  border:1px solid var(--line);
  border-radius:20px;
  padding:26px;
  background:#fff;
  display:block;
  min-height:198px;
  transition:transform 220ms,box-shadow 220ms,border-color 220ms;
  overflow:hidden
}

.scard::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:5px;
  background:var(--pink)
}

.scard:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 36px rgba(20,30,50,.08);
  border-color:rgba(var(--accent-rgb),.28)
}

.scard .n{
  font-size:14px;
  font-weight:900;
  color:var(--pink);
  letter-spacing:.18em;
  margin-bottom:10px
}

.scard h4{
  font-size:19px;
  font-weight:900;
  margin:0 0 8px;
  letter-spacing:.02em
}

.scard p{
  font-size:15px;
  line-height:1.9;
  color:var(--ink-mid);
  margin:0
}

.scard .more{
  display:inline-block;
  margin-top:16px;
  font-size:14px;
  font-weight:900;
  color:var(--pink)
}

.scard-ico{
  width:48px;
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  margin-bottom:14px;
  transition:transform 240ms;
  background:linear-gradient(135deg,var(--pink),var(--pink-d))
}

.scard-ico svg{
  width:24px;
  height:24px
}

.scard:hover .scard-ico{
  transform:scale(1.08)
}

/* About preview / Greeting / Mission */

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center
}

@media (max-width:880px){
  .two-col{
    grid-template-columns:1fr
  }
}

.photo-block{
  position:relative;
  aspect-ratio:4/3;
  background:linear-gradient(135deg,var(--accent-soft),var(--accent-soft-2),var(--bg-pink));
  border-radius:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(43,54,70,.38);
  font-size:15px;
  font-weight:800;
  overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75)
}

.photo-block::before{
  content:"";
  position:absolute;
  top:28%;
  left:50%;
  width:56px;
  aspect-ratio:1;
  border-radius:50%;
  background:rgba(var(--accent-rgb),.2);
  transform:translateX(-50%)
}

.photo-block::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:22%;
  width:96px;
  height:54px;
  border-radius:42px 42px 12px 12px;
  background:rgba(var(--accent-rgb),.18);
  transform:translateX(-50%)
}

.hero-photo::before,.hero-photo::after{
  display:none
}

.photo-block img{
  position:relative;
  z-index:2
}

.photo-block.sq{
  aspect-ratio:1;
  border-radius:50%
}

.photo-block.tall{
  aspect-ratio:3/4;
  border-radius:42px
}

.hv img,.photo-block img,.hero-sub-visual img,.ccard .figure img,.iv .photo img,.cb .group-photo img{
  width:100%;
  height:100%;
  -o-object-fit:cover;
     object-fit:cover;
  border-radius:inherit
}

.hv img{
  position:relative;
  z-index:1;
  display:block;
  border-radius:0;
  background:#fff;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 368'%3E%3Cpath fill='black' d='M95 301C56 296 28 267 28 228C28 192 50 163 83 151C76 103 111 66 157 70C184 24 238 14 281 42C317 8 377 8 413 44C466 34 516 68 522 121C552 136 566 166 557 199C547 236 512 257 472 252C449 292 401 314 355 296C321 329 267 330 228 300C188 323 132 324 95 301Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 368'%3E%3Cpath fill='black' d='M95 301C56 296 28 267 28 228C28 192 50 163 83 151C76 103 111 66 157 70C184 24 238 14 281 42C317 8 377 8 413 44C466 34 516 68 522 121C552 136 566 166 557 199C547 236 512 257 472 252C449 292 401 314 355 296C321 329 267 330 228 300C188 323 132 324 95 301Z'/%3E%3C/svg%3E");
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  filter:drop-shadow(0 18px 34px rgba(var(--accent-rgb),.16))
}

