
@charset "UTF-8";

/* =========================
   Root / Reset
========================= */
:root{
  --bg:#070810;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --glass:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.12);
  --shadow: 0 30px 70px rgba(0,0,0,.45);
  --r: 22px;

  --a1: rgba(140, 90, 255, .55);
  --a2: rgba(0, 255, 210, .35);
  --a3: rgba(255, 80, 190, .30);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  color:var(--text);
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background: var(--bg);
  overflow-x:hidden;
}

/* =========================
   Background (Aurora)
========================= */
.bg{
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(900px 700px at 15% 8%, var(--a1), transparent 55%),
    radial-gradient(900px 700px at 80% 15%, var(--a2), transparent 55%),
    radial-gradient(800px 650px at 60% 85%, var(--a3), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%, rgba(0,0,0,.20));
  filter:saturate(1.15);
}

.bg::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle, rgba(255,255,255,.10) 1px, transparent 1.6px);
  background-size: 22px 22px;
  opacity:.18;
  transform: rotate(8deg);
  animation: drift 18s linear infinite;
}

.bg::after{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.08), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.06), transparent 60%);
  filter: blur(28px);
  opacity:.35;
  animation: floaty 10s ease-in-out infinite alternate;
}

@keyframes drift{
  from{ transform: translate3d(0,0,0) rotate(8deg); }
  to{ transform: translate3d(-80px, 60px, 0) rotate(8deg); }
}
@keyframes floaty{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(30px,-20px,0); }
}

/* =========================
   Layout
========================= */
.container{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
  padding: 56px 0 90px;
}

/* =========================
   Intro Screen
========================= */
.introScreen{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.introTitle{
  margin: 0;
  font-size: clamp(58px, 9vw, 120px);
  line-height: 1.1;
  color: rgba(255,255,255,.95);
  text-shadow: 0 30px 90px rgba(0,0,0,.55);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;

  opacity: 0;
  transform: translateY(110%);
  animation: introFadeIn 2.5s ease-out 1.5s forwards;
}

@keyframes introFadeIn{
  to{ opacity: 1; transform: translateY(0); }
}

.introTagline{
  margin-top: 14px;
  font-size: 35px;
  letter-spacing: 0.21em;
  font-weight: 500;
  color: rgb(255, 255, 255);

  opacity: 0;
  transform: translateY(8px);
  animation: introFadeIn 2.5s ease-out 1.8s forwards;
}

@media (max-width: 600px){
  .introTagline{
    font-size: 15px !important;
    letter-spacing: 0.14em !important;
    white-space: nowrap !important;
    margin-top: 18px !important;
  }
}

/* =========================
   Hero (Top)
========================= */
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:end;
  margin-bottom: 26px;
}

.kicker{
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(255, 255, 255, 0.888);
}

.h1{
  margin: 12px 0 10px;
  font-size: clamp(38px, 5.2vw, 70px);
  color: rgba(255, 255, 255, 0.888);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.sub{
  margin:0;
  color: rgba(255, 255, 255, 0.892);
  line-height:1.8;
  max-width: 64ch;
  font-size: 15px;
}

.heroRight{
  display:flex;
  justify-content:flex-end;
}

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-size: 13px;
}

.pillDot{
  width:9px;height:9px;border-radius:50%;
  background: rgba(0,255,210,.85);
  box-shadow: 0 0 18px rgba(0,255,210,.6);
}

/* =========================
   Work Grid / Card
========================= */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.work{
  grid-column: span 6;
  border-radius: var(--r);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);

  transform: translateY(18px);
  opacity: 0;
  transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .75s;
}
.work.is-visible{
  transform: translateY(0);
  opacity: 1;
}

.workMedia{
  position:relative;
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,.04);
}
.workMedia img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center 32%;
  display:block;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.02);
}
.workMedia::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 240px at 20% 10%, rgba(255,255,255,.18), transparent 45%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
  opacity:.75;
  pointer-events:none;
}

.workBody{ padding: 14px 16px 16px; }

.workTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}

.workTitle{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: .06em;
  font-weight: 500;
}

.workDesc{
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 13px;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.tag{
  font-size:12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
}

/* hover */
.work:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}
.work:hover .workMedia img{
  transform: scale(1.06);
  transition: transform .5s ease;
}
.work:hover .tag{
  border-color: rgba(0,255,210,.25);
}

/* card link */
.workLink{
  display:block;
  height:100%;
  color: inherit;
  text-decoration: none;
}
.workLink:hover{
  color: inherit;
  text-decoration: none;
}

/* responsive */
@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
  .heroRight{ justify-content:flex-start; }
}
@media (max-width: 840px){
  .work{ grid-column: span 12; }
}

/* =========================
   Floating chat hide (必要なら)
========================= */
iframe[src*="tawk"],
iframe[src*="crisp"],
iframe[src*="chat"],
#chaty,
.chaty-widget,
.floating-button,
.fixed-button,
.sticky-button{
  display:none !important;
}

/* =========================
   Contact Page
========================= */

.contactWrap{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: stretch; /* 左右同じ高さ */
  padding: 64px 0;
  min-height: calc(100vh - 220px);
}

.contactLeft{
  display:flex;
  flex-direction:column;
  min-height: 0;
}

.contactTitle{
  font-size: 60px;
  letter-spacing: .02em;
  margin:0 0 12px;
}

.contactLead{
  opacity: .95;
  line-height: 1.9;
  margin:0;
  font-size: 17px;
}

/* 2行固定（leadLine1/2を使ってる前提） */
.contactLead .leadLine1,
.contactLead .leadLine2{
  display:block;
}
.contactLead .leadLine2::before{ content: " "; }

.contactExtras{
  margin-top:auto;
  display:grid;
  gap: 14px;
  max-width: 520px;
}

.miniCard{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(10px);
}
.miniTitle{
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
  margin: 0 0 10px;
}
.miniLinks{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.miniLink{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: inherit;
  text-decoration:none;
  font-size: 13px;
  opacity: .95;
}
.miniLink:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
}
.miniI{
  font-size: 16px;
  line-height: 1;
  opacity: .95;
}
.miniList{
  margin:0;
  padding-left: 1.1em;
  opacity: .92;
  line-height: 1.8;
  font-size: 15px;
}

.contactCard{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.contactNotice{
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}
.contactNotice.ok{
  border:1px solid rgba(80,200,120,.35);
  background: rgba(80,200,120,.10);
}
.contactNotice.ng{
  border:1px solid rgba(255,100,100,.35);
  background: rgba(255,100,100,.10);
}

.contactForm .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: 10px;
}

.contactForm label{
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
}

/* ラベル＋必須/任意 */
.contactForm .field > label{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.contactForm .field > label .badge{
  flex: 0 0 52px;
  min-width: 52px;
  justify-content: center;
  text-align: center;
}

.badge{
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
}
.badge.req{
  color: rgba(255,255,255,.98);
  background: rgba(255, 80, 190, .22);
  border: 1px solid rgba(255, 80, 190, .55);
  box-shadow: 0 0 0 4px rgba(255, 80, 190, .10),
              0 10px 26px rgba(0,0,0,.25);
}
.badge.opt{
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
}

.contactForm input,
.contactForm textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  padding: 12px 12px;
  color: rgba(255,255,255,.95);
  outline: none;
  font-size: 16px;
}
.contactForm input::placeholder,
.contactForm textarea::placeholder{
  color: rgba(255,255,255,.65);
}
.contactForm input:focus,
.contactForm textarea:focus{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 0 0 5px rgba(255,255,255,.10);
}

.btnSend{
  width:100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.18);
  cursor:pointer;
  font-size: 16px;
}
.btnSend:hover{
  background: rgba(255,255,255,.26);
  border-color: rgba(255,255,255,.34);
}

.contactNote{
  margin: 10px 0 0;
  font-size: 13px;
  opacity: .85;
}

/* spam honeypot */
.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
}

/* contact lottie */
.contactIllust{
  flex: 1;
  display: flex;
  align-items: center;
  margin: 18px 0;
}
.contactIllust lottie-player,
.contactIllust dotlottie-wc{
  width: 100%;
  max-width: 520px;
  height: 220px;
  display: block;
  opacity: .95;
}
@media (max-width: 900px){
  .contactWrap{
    grid-template-columns: 1fr;
    padding: 40px 0;
    min-height: auto;
  }
  .contactLeft{ min-height: auto; }
  .contactExtras{ margin-top: 18px; }
  .contactIllust{ flex: 0; margin: 10px 0 8px; }
  .contactIllust lottie-player,
  .contactIllust dotlottie-wc{ height: 200px; }
  .contactLead{ font-size: 15px; line-height: 1.85; }
}

/* =========================
   Buttons (共通)
========================= */
.btnGhost, .btnSolid{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-size: 13px;
  line-height: 1;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
}
.btnSolid{
  background: rgba(255,255,255,.18);
}
.btnSolid:hover{
  background: rgba(255,255,255,.26);
  border-color: rgba(255,255,255,.30);
}
.btnGhost{
  background: rgba(255,255,255,.06);
}
.btnGhost:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
}

/* =========================
   About Page (ここが今回の主修正)
========================= */
/* Aboutページのコンテナ（テンプレで container aboutPage を付けてる前提） */
.container.aboutPage{
  padding-top: 60px;
}

/* --- 自己紹介：カード（.aboutIntroCard / .aboutHero どっちでもOK） --- */
.aboutIntroCard,
.aboutHero{
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 22px;
  margin: 8px 0 28px;
}

/* --- 自己紹介：2カラム（.aboutIntroGrid / .aboutHeroLayout どっちでもOK） --- */
.aboutIntroGrid,
.aboutHeroLayout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* 50:50固定 */
  gap: 22px;
  align-items: start;
}
.aboutIntroLeft,
.aboutHeroMain{ min-width:0; }
.aboutIntroRight,
.aboutHeroSide{ min-width:0; }

/* タイトル・本文 */
.aboutTitle{
  margin: 8px 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: .02em;
  color: rgba(255,255,255,.92);
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

/* 名前/肩書き行（使ってる場合） */
.aboutProfileRow,
.aboutHeroTop{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 10px;
}

.aboutProfileName{ font-size: 18px; letter-spacing: .04em; font-weight: 650; }
.aboutProfileRole{ margin-top: 4px; font-size: 13px; color: var(--muted); }

/* タイピング本文：高さ確保でガタつき防止 */
.aboutType{
  display: block;
  width: 100%;
  min-height: 12em;              /* 足りなければ 14em に */
  line-height: 1.9;
  margin: 12px 0 12px;
  color: rgba(255,255,255,.86);
  white-space: pre-line;
}

/* CTA */
.aboutProfileActions,
.aboutCtas{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 8px;
}

/* AboutのCTAを同色に統一（好みで消してOK） */
.aboutPage .btnSolid,
.aboutPage .btnGhost,
.container.aboutPage .btnSolid,
.container.aboutPage .btnGhost{
  background: rgba(0, 170, 255, .42);
  border-color: rgba(0, 170, 255, .85);
  color: rgba(255,255,255,.98);
  box-shadow: 0 18px 50px rgba(0, 170, 255, .22);
}
.aboutPage .btnSolid:hover,
.aboutPage .btnGhost:hover,
.container.aboutPage .btnSolid:hover,
.container.aboutPage .btnGhost:hover{
  background: rgba(0, 170, 255, .56);
  border-color: rgba(0, 170, 255, .98);
  box-shadow: 0 22px 70px rgba(0, 170, 255, .28);
}

/* --- Aboutの写真：必ず表示されるように “枠＋imgのfit” を固定 --- */
/* あなたのテンプレで写真枠に使ってそうなクラスを全部面倒見ます */
.aboutMainPhoto,
.aboutIntroMedia,
.aboutHeroPhoto{
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
  aspect-ratio: 16 / 10;
}

/* 旧：aboutHeroSide の中で aboutAvatar を“大写真”にしてる場合 */
.aboutHeroSide .aboutAvatar{
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
  aspect-ratio: 16 / 10;
}

/* img を確実に出す */
.aboutMainPhoto img,
.aboutIntroMedia img,
.aboutHeroPhoto img,
.aboutHeroSide .aboutAvatar img{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* --- 左下Lottie（2枚） --- */
.aboutMiniLotties{
  display: flex;
  gap: 16px;
  margin-top: 28px;
  align-items: flex-end;
}
.aboutMiniLottie{
  background: transparent;
  border-radius: 16px;
  overflow: visible;
}
.aboutMiniLottie.is-big{ width: 200px; height: 150px; }
.aboutMiniLottie.is-small{ width: 160px; height: 120px; }

.aboutMiniLottie lottie-player,
.aboutMiniLottie dotlottie-wc{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: transparent !important;
}

/* --- CONCEPT（前の形に寄せる） --- */
.aboutConcept,
.aboutConceptCard{
  margin-top: 16px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 22px;
}

.aboutSectionTitle{
  margin: 8px 0 12px;
  font-size: 18px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.92);
}

.aboutConceptPoints{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 6px;
}
.aboutConceptPoint{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 14px;
}
.conceptIcon{
  font-size: 18px;
  line-height: 1;
  margin-bottom: 10px;
  opacity: .95;
}
.conceptText{
  color: rgba(255,255,255,.88);
  line-height: 1.8;
  font-size: 14px;
}
.aboutConceptNote{
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
  line-height: 1.9;
  font-size: 14px;
}

/* --- できること（2枚横） --- */
.aboutDo,
.aboutDoCard{
  margin-top: 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 22px;
}

.aboutDoGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.doItem{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 16px;
  overflow: hidden;
}

.doLottie{
  width: 100%;
  height: 170px;
  margin-bottom: 10px;
}
.doLottie lottie-player,
.doLottie dotlottie-wc{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: transparent !important;
}

.doTitle{
  margin: 0 0 8px;
  font-size: 16px;
  color: rgba(255,255,255,.92);
}
.doList{
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.9;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

/* --- About：お問い合わせ（別枠） --- */
.aboutContactCard{
  margin-top: 20px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 22px;
}

.aboutContactLead{
  margin: 0 0 12px;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
  font-size: 14px;
}

.aboutContactInner{ margin-top: 10px; }

/* --- responsive --- */
@media (max-width: 900px){
  .aboutIntroGrid,
  .aboutHeroLayout{
    grid-template-columns: 1fr;
  }
  .aboutConceptPoints{
    grid-template-columns: 1fr;
  }
  .aboutDoGrid{
    grid-template-columns: 1fr;
  }
  .aboutType{
    min-height: 18em;
  }
}

/* =========================
   Safari/スマホの自動文字拡大抑制
========================= */
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* =========================
   About：自己紹介 右側写真を「下まで」広げる（上書き用）
========================= */
.aboutPage .aboutIntroGrid{
  align-items: stretch !important; /* 左右の高さを揃える */
}

.aboutPage .aboutIntroRight{
  display: flex !important;        /* 右カラムを伸ばせるように */
}

.aboutPage .aboutMainPhoto{
  flex: 1 1 auto !important;
  height: 100% !important;         /* 右カラムの高さいっぱい */
  min-height: 520px !important;    /* もっと下まで欲しければ 560/600 に */
}

.aboutPage .aboutMainPhoto img{
  width: 100% !important;
  height: 100% !important;         /* 画像も枠いっぱい */
  object-fit: cover !important;
  aspect-ratio: auto !important;   /* 16/10固定を無効化 */
  display: block !important;
}

/* スマホは自然な高さでOKに戻す */
@media (max-width: 900px){
  .aboutPage .aboutMainPhoto{
    min-height: 0 !important;
    height: auto !important;
  }
  .aboutPage .aboutMainPhoto img{
    height: auto !important;
  }
}


/* About：スキルタグ */
.aboutPage .aboutTags{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 16px;
}

.aboutPage .aboutTags .tag{
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
}

/* =========================
   CONCEPT（画像のように：大見出し＋丸3つ）
========================= */
.aboutConceptCard.is-circle{
  text-align: center;
  padding: 56px 22px 44px;
  min-height: 520px; /* 高さを出したいならここ。不要なら消してOK */
}

/* 上：CONCEPT / 大切にしていること */
.aboutConceptTop{
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-bottom: 34px;
}

.aboutConceptBig{
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: 0.08em;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.05;
  color: rgba(255,255,255,.92);
}

.aboutConceptSub{
  font-size: 24px;
  letter-spacing: .14em;
  color: rgb(255, 255, 255);
}

/* 真ん中：丸3つ */
.aboutConceptCircles{
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 0 auto 34px;
}

.conceptCircle{
  width: 240px;
  height: 240px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.conceptImg{
  font-size: 34px;
  line-height: 1;
  margin-bottom: 12px;
}

.conceptTxt{
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,.88);
}

/* 下：リード文 */
.aboutConceptLead{
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: rgba(255,255,255,.86);
}

/* モバイル調整 */
@media (max-width: 600px){
  .aboutConceptCard.is-circle{
    padding: 44px 18px 34px;
    min-height: 0; /* スマホは自然な高さ */
  }
  .conceptCircle{
    width: 220px;
    height: 220px;
  }
  .aboutConceptLead{
    font-size: 14px;
    line-height: 1.9;
  }
}

/* =========================
   CONCEPTカード：もう少し大きく（上書き）
   ※Styles.css の一番下に貼ってください
========================= */
.aboutConceptCard.is-circle{
  padding: 34px !important;          /* カードの余白を増やす */
  min-height: 580px !important;      /* カードを大きく（必要なら 560/600） */
}

.aboutConceptCard.is-circle .aboutConceptTop{
  margin-bottom: 18px !important;
}

/* CONCEPT の大見出し */
.aboutConceptCard.is-circle .aboutConceptBig{
  font-size: clamp(56px, 7vw, 86px) !important;
  letter-spacing: 0.06em !important;
}

/* 「大切にしていること」 */
.aboutConceptCard.is-circle .aboutConceptSub{
  margin-top: 6px !important;
  font-size: 22px !important;
}

/* 丸3つ：全体の間隔 */
.aboutConceptCard.is-circle .aboutConceptCircles{
  gap: 22px !important;
  margin-top: 18px !important;
  margin-bottom: 20px !important;
}

/* 丸：サイズUP */
.aboutConceptCard.is-circle .conceptCircle{
  width: 220px !important;           /* 丸の直径（好みで 200〜260） */
  height: 220px !important;
}

/* ⚠️ のサイズ */
.aboutConceptCard.is-circle .conceptImg{
  font-size: 22px !important;
  margin-bottom: 10px !important;
}

/* 丸の中の文字 */
.aboutConceptCard.is-circle .conceptTxt{
  font-size: 15px !important;
  line-height: 1.8 !important;
}

/* 下のリード文 */
.aboutConceptCard.is-circle .aboutConceptLead{
  font-size: 16px !important;
  line-height: 1.9 !important;
}

/* スマホは自然に縮める */
@media (max-width: 900px){
  .aboutConceptCard.is-circle{
    min-height: 0 !important;
    padding: 22px !important;
  }
  .aboutConceptCard.is-circle .conceptCircle{
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
}

/* =========================
   CONCEPT：丸カードの枠を消す＋下の文章をもっと下へ
========================= */

/* 丸カードの枠線/背景を消す（透明にする） */
.aboutConceptCard.is-circle .conceptCircle{
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* （もし丸の「円そのもの」も消したい場合）
   width/height は残して中央配置だけ維持してます */

/* ⚠️ と文章を中央に整える（ズレ防止：任意） */
.aboutConceptCard.is-circle .conceptCircle{
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  padding: 0 !important;
}

/* 下のリード文をもっと下に下げる */
.aboutConceptCard.is-circle .aboutConceptLead{
  margin-top: 90px !important;   /* 好みで 60〜140 に調整 */
}

.aboutConceptCard.is-circle .conceptCircle{
  width: auto !important;
  height: auto !important;
}

/* =========================
   CONCEPT：枠を完全に消す＋間隔を広げる＋Lottie化
========================= */

/* 3つの並び：間隔を広げる */
.aboutConceptCard.is-circle .aboutConceptCircles{
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 90px !important;            /* ←ここで間隔調整 */
  margin-top: 54px !important;
  flex-wrap: wrap !important;
}

/* “枠”の正体（背景/枠線/影/ぼかし）を全部無効化 */
.aboutConceptCard.is-circle .conceptCircle{
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;

  border-radius: 0 !important;
  padding: 0 !important;

  width: min(240px, 100%) !important; /* 文字の幅を揃える */
  text-align: center !important;
}

/* もし疑似要素で枠を作ってても殺す */
.aboutConceptCard.is-circle .conceptCircle::before,
.aboutConceptCard.is-circle .conceptCircle::after{
  content: none !important;
  display: none !important;
}

/* Lottieサイズ（⚠️の代わりのアイコン） */
.aboutConceptCard.is-circle .conceptLottie{
  width: 78px !important;
  height: 78px !important;
  margin: 0 auto 14px !important;
}
.aboutConceptCard.is-circle .conceptLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* テキスト */
.aboutConceptCard.is-circle .conceptTxt{
  margin: 0 !important;
  line-height: 1.8 !important;
  font-size: 14px !important;
  color: rgba(255,255,255,.88) !important;
}

/* 下の文章をもっと下に */
.aboutConceptCard.is-circle .aboutConceptLead{
  margin-top: 140px !important;    /* ←もっと下げたいなら 170/200 に */
  text-align: center !important;
}

/* スマホは詰める */
@media (max-width: 900px){
  .aboutConceptCard.is-circle .aboutConceptCircles{
    gap: 28px !important;
    margin-top: 30px !important;
  }
  .aboutConceptCard.is-circle .aboutConceptLead{
    margin-top: 60px !important;
  }
}

/* =========================
   CONCEPT：Lottie 3つを大きくする（上書き）
========================= */

/* Lottie枠を大きく */
.aboutConceptCard.is-circle .conceptLottie{
  width: 300px !important;   /* ←ここを大きくする */
  height: 300px !important;  /* ←ここを大きくする */
  margin: 0 auto 14px;       /* 下の余白 */
}

/* 中のlottie-playerも枠いっぱいに */
.aboutConceptCard.is-circle .conceptLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* ついでに丸カード内の余白も少し増やすと見栄えが良い */
.aboutConceptCard.is-circle .conceptCircle{
  padding-top: 30px !important;
}

/* =========================
   CONCEPT：下の文章（aboutConceptLead）を大きく＋余白調整
========================= */
.aboutConceptCard.is-circle .aboutConceptLead{
  font-size: 25px !important;     /* 文字を大きく（例：18〜20） */
  line-height: 1.5 !important;
  margin-top: 80px !important;    /* 上の余白を詰めたいなら 24〜30 に */
  margin-bottom: 25px !important;    /* 下の余白をなくす */
}

/* CONCEPTカード自体の余白が多い場合（上下だけ詰める） */
.aboutConceptCard.is-circle{
  padding-top: 28px !important;   /* 上の余白 */
  padding-bottom: 24px !important;/* 下の余白 */
}

/* =========================
   CONCEPT見出し下の余白を詰める
========================= */
.aboutConceptCard.is-circle .aboutConceptTop{
  margin-bottom: 10px !important; /* ←ここが見出し下の余白 */
}

.aboutConceptCard.is-circle .aboutConceptBig{
  margin: 0 !important;
  line-height: 1.1 !important;
}

.aboutConceptCard.is-circle .aboutConceptSub{
  margin-top: 7px !important;     /* CONCEPT と「大切にしていること」の間 */
  margin-bottom: 0 !important;
}

/* 見出し→3つの並び の間も詰めたい場合 */
.aboutConceptCard.is-circle .aboutConceptCircles{
  margin-top: 14px !important;    /* ←必要なら 8〜16 で調整 */
}

/* =========================
   CONCEPTの3つの文章を少し大きく
========================= */
.aboutConceptCard.is-circle .conceptTxt,
.aboutConceptCard.is-circle .conceptText{
  font-size: 19px !important;   /* 15〜18あたりで好み調整OK */
  line-height: 1.5 !important;
  letter-spacing: .02em !important;
}

/* =========================
   CONCEPT / SERVICES 共通（見出しを同じ見た目に）
   ※Styles.css の一番下に貼る
========================= */
.aboutConceptTop{
  text-align: center;
  margin: 0 0 32px !important; /* 見出し下の余白を少し減らす */
}

.aboutConceptBig{
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1.05;
  margin: 0 !important;
}

.aboutConceptSub{
  margin: 10px 0 0 !important; /* “大切にしていること / できること”の下余白を減らす */
  letter-spacing: .14em;
  font-size: 15px;
  opacity: .85;
}

/* =========================
   CONCEPT：3つ（枠を消す / 間隔を広げる / 文字を少し大きく）
========================= */
.aboutConceptCard.is-circle .aboutConceptCircles{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px !important;          /* 3つの間隔 */
  margin-top: 10px !important;
  justify-items: center;
}

.aboutConceptCard.is-circle .conceptCircle{
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: center;
  max-width: 280px;
}

.aboutConceptCard.is-circle .conceptLottie{
  width: 190px !important;      /* concept1/2/3 を大きく */
  height: 190px !important;
  margin: 0 auto 12px !important;
}
.aboutConceptCard.is-circle .conceptLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.aboutConceptCard.is-circle .conceptTxt{
  font-size: 16px !important;   /* 3つの文章を少し大きく */
  line-height: 1.8 !important;
  margin: 0 !important;
}

/* 下の“きれい”〜を「もっと下」に＆少し大きく */
.aboutConceptCard.is-circle .aboutConceptLead{
  margin-top: 84px !important;
  font-size: 17px !important;
  line-height: 2.0 !important;
}

/* =========================
   SERVICES（できること）：CONCEPTと同じ感じ＋枠なし
========================= */
.aboutServices .aboutDoGrid{
  gap: 84px !important;         /* 2つの間隔を広げる */
  margin-top: 12px !important;
  align-items: start;
}

/* できることの「個別カード枠」を完全に消す */
.aboutServices .doItem{
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
  text-align: center;
}

/* ロッティも枠感なく、サイズを整える */
.aboutServices .doLottie{
  height: 230px !important;
  margin: 0 auto 14px !important;
  max-width: 320px;
}
.aboutServices .doLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: transparent !important;
}

.aboutServices .doTitle{
  font-size: 18px !important;
  margin: 0 0 10px !important;
}

/* リストは読みやすく（中央の見た目＋中身は左寄せ） */
.aboutServices .doList{
  display: inline-block;
  text-align: left;
  font-size: 15px !important;
  line-height: 1.9 !important;
  margin: 0 !important;
}

/* スマホ */
@media (max-width: 900px){
  .aboutConceptCard.is-circle .aboutConceptCircles{
    grid-template-columns: 1fr;
    gap: 34px !important;
  }
  .aboutConceptCard.is-circle .aboutConceptLead{
    margin-top: 36px !important;
  }
  .aboutServices .aboutDoGrid{
    grid-template-columns: 1fr;
    gap: 40px !important;
  }
}

/* =========================
   CONCEPT：Lottieだけ大きくする（配置は触らない）
   ※Styles.css の一番下に貼る
========================= */
.aboutConceptCard.is-circle .conceptLottie{
  width: 180px !important;   /* 好みで 160〜220 */
  height: 180px !important;
  margin-bottom: 12px !important;
}

.aboutConceptCard.is-circle .conceptLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* CONCEPT：丸い枠だけ消す */
.aboutConceptCard.is-circle .conceptCircle{
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* =========================
   CONCEPT：Lottie 3つを大きくする（上書き）
========================= */

/* Lottie枠を大きく */
.aboutConceptCard.is-circle .conceptLottie{
  width: 300px !important;   /* ←ここを大きくする */
  height: 300px !important;  /* ←ここを大きくする */
  margin: 0 auto 14px;       /* 下の余白 */
}

/* 中のlottie-playerも枠いっぱいに */
.aboutConceptCard.is-circle .conceptLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* ついでに丸カード内の余白も少し増やすと見栄えが良い */
.aboutConceptCard.is-circle .conceptCircle{
  padding-top: 30px !important;
}

/* =========================
   CONCEPT：下の文章（aboutConceptLead）を大きく＋余白調整
========================= */
.aboutConceptCard.is-circle .aboutConceptLead{
  font-size: 25px !important;     /* 文字を大きく（例：18〜20） */
  line-height: 1.5 !important;
  margin-top: 80px !important;    /* 上の余白を詰めたいなら 24〜30 に */
  margin-bottom: 25px !important;    /* 下の余白をなくす */
}

/* CONCEPTカード自体の余白が多い場合（上下だけ詰める） */
.aboutConceptCard.is-circle{
  padding-top: 28px !important;   /* 上の余白 */
  padding-bottom: 24px !important;/* 下の余白 */
}

/* =========================
   CONCEPT見出し下の余白を詰める
========================= */
.aboutConceptCard.is-circle .aboutConceptTop{
  margin-bottom: 10px !important; /* ←ここが見出し下の余白 */
}

.aboutConceptCard.is-circle .aboutConceptBig{
  margin: 0 !important;
  line-height: 1.1 !important;
}

.aboutConceptCard.is-circle .aboutConceptSub{
  margin-top: 7px !important;     /* CONCEPT と「大切にしていること」の間 */
  margin-bottom: 0 !important;
}

/* =========================
   SERVICES（できること）：左右でLottieサイズを別々に＋文字も大きく
   ※Styles.css の一番下に貼る
========================= */

/* まず共通：ロッティの枠（.doLottie）をしっかり表示 */
.aboutDoCard .doItem .doLottie{
  width: 100%;
}

/* 左（1つ目）のロッティだけ大きく */
.aboutDoCard .doItem:nth-child(1) .doLottie{
  height: 260px !important;   /* ←左だけ。好みで 220〜300 */
}

/* 中の lottie-player を枠いっぱいに */
.aboutDoCard .doItem .doLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* タイトル（Webデザイン / Webサイト制作）を大きく */
.aboutDoCard .doTitle{
  font-size: 20px !important;     /* 好みで 18〜24 */
  line-height: 1.3 !important;
  margin-top: 6px !important;
}

/* 箇条書き（LP/バナー〜）を大きく */
.aboutDoCard .doList{
  font-size: 16px !important;     /* 好みで 15〜18 */
  line-height: 1.9 !important;
}

/* 箇条書きの行間も少し広げる（読みやすく） */
.aboutDoCard .doList li{
  margin: 6px 0 !important;
}


/* =========================
   SERVICES：右のロッティだけ「ズラさず」大きくする（推奨）
========================= */

/* ロッティ枠の高さは固定（ここは好みで） */
.aboutDoCard .doItem:nth-child(2) .doLottie{
  height: 190px !important;      /* 枠の高さは固定 */
  overflow: visible !important;  /* はみ出しても見せる */
  position: relative;
}

/* 中身だけ拡大して見た目を大きく（下に押し下げない） */
.aboutDoCard .doItem:nth-child(2) .doLottie lottie-player{
  transform: scale(1.8);         /* ←ここで大きさ調整 */
  transform-origin: center top;  /* 上基準で拡大（下にずれにくい） */
}

/* 念のため：右カードの中で重なり順 */
.aboutDoCard .doItem:nth-child(2){
  position: relative;
}

/* =========================
   SERVICES：ロッティ拡大しても文字と重ならない版
========================= */

/* doItem内を縦並びで安定させる */
.aboutDoCard .doItem{
  display: flex;
  flex-direction: column;
}

/* ロッティの枠：ここで“高さを確保”して重なり防止 */
.aboutDoCard .doLottie{
  position: relative;
  overflow: hidden !important;   /* ←重なりの原因を止める */
  margin-bottom: 14px;           /* ←文字との間隔 */
  background: transparent !important;
  border: none !important;
}

/* 左（1つ目） */
.aboutDoCard .doItem:nth-child(1) .doLottie{
  height: 260px !important;      /* 好みで調整 */
}
.aboutDoCard .doItem:nth-child(1) .doLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  transform: scale(1.35);
  transform-origin: center top;
}

/* 右（2つ目） */
.aboutDoCard .doItem:nth-child(2) .doLottie{
  height: 230px !important;      /* 右だけ大きく */
}
.aboutDoCard .doItem:nth-child(2) .doLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  transform: scale(1.65);
  transform-origin: center top;
}

/* =========================
   SERVICES：ロッティと文字が重なるのを防ぐ（上書き）
   Styles.css の一番下に貼る
========================= */

/* 2カラム内の各ブロック */
.aboutDoCard .doItem{
  /* 変な absolute/重なり対策の保険 */
  position: relative !important;
}

/* ロッティ枠：はみ出しを必ず止める */
.aboutDoCard .doLottie{
  position: relative !important;
  display: block !important;
  overflow: hidden !important;      /* ← これが最重要（はみ出し防止） */
  background: transparent !important;
  border: 0 !important;

  /* ロッティの下に“確実に”余白を作る */
  margin: 10px 0 26px !important;
  line-height: 0 !important;
}

/* 左右で高さを別々に（ここで“大きさ”を作る） */
.aboutDoCard .doItem:nth-child(1) .doLottie{
  height: 320px !important;         /* 左：好みで 280〜380 */
}
.aboutDoCard .doItem:nth-child(2) .doLottie{
  height: 420px !important;         /* 右：好みで 360〜520 */
}

/* ロッティ本体：枠いっぱいに表示 */
.aboutDoCard .doLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;

  /* 変なズレ・重なりの元になりがちな指定を無効化 */
  position: relative !important;
}

/* 「もっと大きく見せたい」場合はスケールもOK（被らないよう枠高も上で確保してる） */
.aboutDoCard .doItem:nth-child(1) .doLottie lottie-player{
  transform: scale(1.10) !important;
  transform-origin: center center !important;
}
.aboutDoCard .doItem:nth-child(2) .doLottie lottie-player{
  transform: scale(1.18) !important;
  transform-origin: center center !important;
}

/* 文字側：ロッティの上に乗らない保険 */
.aboutDoCard .doTitle,
.aboutDoCard .doList{
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
}

/* 文字も少し大きく（必要なければ消してOK） */
.aboutDoCard .doTitle{
  font-size: 22px !important;
  margin-bottom: 12px !important;
}
.aboutDoCard .doList{
  font-size: 16px !important;
  line-height: 1.9 !important;
}
.aboutDoCard .doList li{
  margin: 10px 0 !important;
}

/* =========================
   SERVICES：左右50:50でバランス良く＋文字も中央揃え（上書き）
   Styles.css 一番下に貼る
========================= */

/* 2カラムをキレイに50:50 */
.aboutDoCard .aboutDoGrid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 46px !important;                 /* 間隔は好みで */
  align-items: start !important;
}

/* 各カラム：中身を中央寄せ */
.aboutDoCard .doItem{
  text-align: center !important;
}

/* ロッティ枠：左右同じ高さ＆中央配置 */
.aboutDoCard .doLottie{
  width: 100% !important;
  max-width: 520px !important;          /* 大きく見せたいなら 560〜600 */
  height: 360px !important;             /* ←左右統一（好みで 320〜420） */
  margin: 0 auto 22px !important;
  overflow: hidden !important;           /* はみ出しで文字に被るの防止 */
  border: 0 !important;
  background: transparent !important;
  line-height: 0 !important;
}

/* ロッティ本体：枠いっぱい */
.aboutDoCard .doLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;

  /* 以前の拡大/変形をリセット（バランス崩れ対策） */
  transform: none !important;
}

/* タイトル：中央 */
.aboutDoCard .doTitle{
  text-align: center !important;
  font-size: 22px !important;           /* 好みで */
  margin: 0 0 12px !important;
}

/* 説明（箇条書き）：全体を中央に配置 */
.aboutDoCard .doList{
  display: inline-block !important;     /* ← これで“ブロックごと”中央に置ける */
  text-align: left !important;          /* ← 行の中身は読みやすく左揃え */
  list-style-position: inside !important;
  padding-left: 0 !important;
  margin: 0 auto !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}
.aboutDoCard .doList li{
  margin: 10px 0 !important;
}

/* スマホは1カラムに */
@media (max-width: 900px){
  .aboutDoCard .aboutDoGrid{
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .aboutDoCard .doLottie{
    max-width: 560px !important;
    height: 320px !important;
  }
}

/* 右（2つ目）のロッティだけ少し小さく */
.aboutDoCard .doItem:nth-child(2) .doLottie lottie-player{
  transform: scale(1.03) !important;   /* 0.88〜0.96で調整 */
  transform-origin: center center !important;
}

/* =========================
   SERVICES：左右で高さを揃える + 右ロッティだけ上に＆小さく
========================= */

/* ① 左右の項目を同じ構造（ロッティ枠 → タイトル → リスト）で揃える */
.aboutDoCard .doItem{
  display: grid !important;
  grid-template-rows: 320px auto 1fr !important; /* ←ここが揃うポイント（好みで 280〜360） */
  gap: 14px !important;
}

/* ② ロッティの枠は左右同じ高さにする（タイトル位置が揃う） */
.aboutDoCard .doLottie{
  height: 320px !important; /* ←ここも同じ数値に */
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
}

/* ③ ロッティ本体を枠いっぱいに */
.aboutDoCard .doLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* ④ 右（2つ目）だけ：少し上に＆小さく（枠はそのままなので下の文字位置は揃ったまま） */
.aboutDoCard .doItem:nth-child(2) .doLottie lottie-player{
  transform: translateY(-18px) scale(0.90) !important; /* ←上にしたいなら -24 / 小さくなら 0.88 */
  transform-origin: center center !important;
}

/* ⑤ タイトル＆説明を中央揃え（リストは読みやすく左揃えのまま中央配置） */
.aboutDoCard .doItem{
  text-align: center !important;
}
.aboutDoCard .doList{
  display: inline-block !important;
  text-align: left !important;
  margin: 0 auto !important;
}

/* スマホは固定高さを解除（崩れ防止） */
@media (max-width: 900px){
  .aboutDoCard .doItem{
    grid-template-rows: auto auto auto !important;
  }
  .aboutDoCard .doLottie{
    height: auto !important;
  }
  .aboutDoCard .doItem:nth-child(2) .doLottie lottie-player{
    transform: none !important;
  }
}

/* =========================
   SERVICES（できること）
   重なり解消 + カードを大きく + 左右50:50で揃える
   ※Styles.css の一番下に貼る
========================= */

/* カード自体を大きく（高さ不足対策） */
.aboutDoCard{
  padding: 40px 34px 54px !important;
  min-height: 760px !important; /* まだ足りなければ 820 に */
}

/* 左右の並びを安定させる */
.aboutDoGrid{
  align-items: start !important;
  gap: 56px !important;
}

/* 各カラムは「上から順に積む」= 重なり防止 */
.aboutDoCard .doItem{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* ロッティ枠：ここで高さを確保して、文字と分離する */
.aboutDoCard .doLottie{
  width: 100% !important;
  height: 340px !important;          /* ←左右共通の枠高さ（好みで 300〜380） */
  margin: 0 0 22px !important;
  position: relative !important;
  overflow: hidden !important;        /* はみ出して文字に被らない */
  display: block !important;
}

/* ロッティ本体は枠の中に収める */
.aboutDoCard .doLottie lottie-player{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* 右だけ「少し小さく + 少し上へ」 */
.aboutDoCard .doItem:nth-child(2) .doLottie lottie-player{
  transform: translateY(-14px) scale(0.88) !important;
  transform-origin: center center !important;
}

/* タイトルと説明（中央揃え） */
.aboutDoCard .doTitle{
  margin: 0 0 14px !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
}

/* リストは読みやすく左揃え、でもブロック自体は中央配置 */
.aboutDoCard .doList{
  margin: 0 auto !important;
  padding-left: 1.2em !important;
  display: inline-block !important;
  text-align: left !important;
  font-size: 16px !important;
  line-height: 2.0 !important;
}
.aboutDoCard .doList li{
  margin: 10px 0 !important;
}

/* スマホは自然な高さに戻す */
@media (max-width: 900px){
  .aboutDoCard{
    min-height: 0 !important;
    padding: 28px 20px 32px !important;
  }
  .aboutDoGrid{ gap: 22px !important; }

  .aboutDoCard .doLottie{
    height: 260px !important;
    overflow: visible !important;
  }
  .aboutDoCard .doLottie lottie-player{
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }
}

/* =========================
   SERVICES（できること）
   左右の「タイトル＆説明」を同じ高さで揃える
   ※ Styles.css の一番下に貼る
========================= */

/* 2カラムは上揃え＆余白ちょい広め */
.aboutDoCard .aboutDoGrid{
  align-items: start !important;
  gap: 56px !important;
}

/* 各カラム：上から「ロッティ枠 → タイトル → リスト」の順で固定 */
.aboutDoCard .doItem{
  display: grid !important;
  grid-template-rows: 340px auto 1fr !important; /* ←ここが揃えるキモ（必要なら 320〜380） */
  align-content: start !important;
  justify-items: center !important;
  text-align: center !important;

  /* もし内側の枠（カード）を消したいならON */
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* ロッティ表示エリア（左右で同じ高さにする） */
.aboutDoCard .doLottie{
  width: 100% !important;
  height: 340px !important;         /* ←上と同じ数値にする */
  margin: 0 0 14px !important;
  display: flex !important;
  align-items: flex-start !important; /* 上寄せ */
  justify-content: center !important;
}

/* ロッティ本体は枠いっぱいに（基本） */
.aboutDoCard .doLottie lottie-player,
.aboutDoCard .doLottie dotlottie-wc{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* 右（2つ目）だけ：少し小さく＋少し上に */
.aboutDoCard .doItem:nth-child(2) .doLottie lottie-player,
.aboutDoCard .doItem:nth-child(2) .doLottie dotlottie-wc{
  transform: translateY(-10px) scale(0.90) !important;
  transform-origin: top center !important;
}

/* タイトル＆リストの見た目（中央寄せ） */
.aboutDoCard .doTitle{
  margin: 0 0 12px !important;
  font-size: 24px !important; /* 好みで */
  line-height: 1.2 !important;
}

/* リストは “ブロックとして中央”、文字は読みやすく左揃え */
.aboutDoCard .doList{
  margin: 0 auto !important;
  display: inline-block !important;
  text-align: left !important;
  font-size: 16px !important; /* 好みで */
  line-height: 2.0 !important;
}

/* スマホは自然に縦積み */
@media (max-width: 900px){
  .aboutDoCard .doItem{
    grid-template-rows: auto auto auto !important;
  }
  .aboutDoCard .doLottie{
    height: auto !important;
  }
  .aboutDoCard .doItem:nth-child(2) .doLottie lottie-player,
  .aboutDoCard .doItem:nth-child(2) .doLottie dotlottie-wc{
    transform: none !important;
  }
}

/* SERVICES：右（2つ目）だけ少し下にずらす */
.aboutDoCard .aboutDoGrid .doItem:nth-of-type(2) .doLottie{
  position: relative !important;
  top: 22px !important;   /* ←下げる量：10〜20で調整 */
}

/* SERVICES（見出し）とロッティ2枚の間に余白を追加 */
.aboutDoCard .aboutSectionTitle{
  margin-bottom: 22px !important; /* ←余白量：16〜32で調整 */
}

/* もし効かなければ、Grid側にも余白を足す */
.aboutDoCard .aboutDoGrid{
  margin-top: 50px !important;    /* ←余白量：16〜32で調整 */
}

/* =========================
   SERVICES（微調整：右ロッティ少し大きく + 余白 + カード高さ）
   ※Styles.css の一番下に貼る
========================= */

/* カードを少し大きく */
.aboutDoCard{
  min-height: 820px !important;         /* 800〜880で好み */
  padding-bottom: 70px !important;      /* 下に余裕 */
}

/* SERVICES見出し（できること）とロッティ2枚の間 */
.aboutDoCard .aboutDoGrid{
  margin-top: 40px !important;          /* 30〜55で調整 */
}

/* ロッティ ↔ タイトル（Webデザイン/制作）↔ リスト の間隔 */
.aboutDoCard .doItem{
  gap: 22px !important;                 /* 14→22：ロッティとタイトルが離れる */
}

/* 右ロッティ：ほんの少しだけ大きく（今の位置感は維持） */
.aboutDoCard .doItem:nth-child(2) .doLottie lottie-player,
.aboutDoCard .doItem:nth-child(2) .doLottie dotlottie-wc{
  transform: translateY(-10px) scale(0.95) !important;  /* 0.93〜0.98で微調整 */
  transform-origin: top center !important;
}

/* =========================
   CONCEPT：3カラムをしっかり固定＋横に広げる（上書き）
   ※Styles.css 一番下
========================= */

/* CONCEPTカードだけ「container幅」より少し広げる（左右に伸ばす） */
.aboutPage .aboutConceptCard.is-circle{
  width: min(1320px, calc(100% - 32px)) !important; /* 1120→1320に拡張 */
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 3つを“必ず3カラム”にする（PC時） */
.aboutConceptCard.is-circle .aboutConceptCircles{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  justify-items: center !important;
  align-items: start !important;

  /* もう少し左右に広げた感じ */
  column-gap: 90px !important;   /* 横の間隔（70〜110で調整） */
  row-gap: 30px !important;
  max-width: 1200px !important;  /* 3カラム全体の横幅 */
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 1つ1つの幅を少し広げる（文章が詰まらないように） */
.aboutConceptCard.is-circle .conceptCircle{
  width: 100% !important;
  max-width: 360px !important;   /* 300〜400で調整 */
}

/* Lottieは中央 */
.aboutConceptCard.is-circle .conceptLottie{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* スマホ/タブレットは崩れ防止で縦積み */
@media (max-width: 900px){
  .aboutPage .aboutConceptCard.is-circle{
    width: auto !important;
  }
  .aboutConceptCard.is-circle .aboutConceptCircles{
    grid-template-columns: 1fr !important;
    max-width: 520px !important;
    column-gap: 0 !important;
  }
  .aboutConceptCard.is-circle .conceptCircle{
    max-width: 520px !important;
  }
}

/* =========================
   CONTACT：CONCEPT/SERVICESと同じ見た目に
========================= */
.aboutContactCard.aboutContact{
  text-align: center !important;
  padding: 56px 34px 54px !important; /* 好みで微調整OK */
}

/* リード文（「まず相談だけ〜」） */
.aboutContactCard.aboutContact .aboutContactLead{
  margin: 18px auto 28px !important;
  max-width: 70ch !important;
  font-size: 17px !important;
  line-height: 2.0 !important;
  color: rgba(255,255,255,.86) !important;
}

/* フォームのカードは中央寄せ＆幅を整える */
.aboutContactCard.aboutContact .aboutContactInner{
  max-width: 760px !important;  /* 700〜860で調整 */
  margin: 0 auto !important;
  text-align: left !important;  /* 入力欄は左の方が使いやすいので */
}

/* Contact：左の「目安」カードで高さをカバーする */
.contactLeft{
  display: flex;
  flex-direction: column;
}

/* 余った高さを contactExtras に渡す（＝カードを伸ばせる） */
.contactExtras{
  margin-top: 18px !important;
  flex: 1 1 auto !important;
  display: grid !important;
  align-content: stretch !important;
  grid-auto-rows: 1fr !important;
}

/* カードを縦に伸ばす */
.contactExtras .miniCard{
  height: 100% !important;
}

/* 目安カードの見た目（好みで調整OK） */
.miniCard--guide{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px !important;
}

.miniCard--guide .miniTitle{
  margin-bottom: 12px !important;
}

.miniCard--guide .miniList{
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.9;
}

/* Contact：左カラムを「見出し→ロッティ→目安」で安定させる */
.contactLeft{
  display: flex;
  flex-direction: column;
}

/* ロッティは固定（伸びない） */
.contactIllust{
  flex: 0 0 auto !important;
  margin: 18px 0 22px !important;
}

/* 目安エリアが残り高さを使って伸びる */
.contactExtras{
  flex: 1 1 auto !important;
  display: grid !important;
  align-content: stretch !important;
  grid-auto-rows: 1fr !important;
}

/* 目安カードを縦に伸ばす */
.contactExtras .miniCard{
  height: 100% !important;
}

/* 目安カードの中身 */
.miniCard--guide{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px !important;
}

/* Contactページ：Lottieを確実に見せる */
.contactPage .contactIllust{
  margin: 20px 0 18px !important;
}
.contactPage .contactIllust lottie-player{
  width: 100% !important;
  height: 260px !important; /* 好みで 220〜320 */
  display: block !important;
}

/* =========================
   Skill Page Accordion
   Styles.css の一番下に貼る
========================= */
.container.skillPage{ padding-top: 60px; }

/* Hero */
.skillHero{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 28px 24px;
  margin: 8px 0 18px;
}
.skillKicker{
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(255,255,255,.88);
}
.skillTitle{
  margin: 10px 0 10px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}
.skillLead{
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.9;
  font-size: 15px;
  max-width: 72ch;
}
.skillHeroCtas{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.skillMeta{
  color: rgba(255,255,255,.72);
  font-size: 13px;
  letter-spacing: .06em;
}

/* Accordion wrapper */
.skillAccordion{
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

/* details card */
.skillAccItem{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

/* summary */
.skillAccSummary{
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.skillAccSummary::-webkit-details-marker{ display:none; }

.skillSumTitle{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.94);
}
.skillSumSub{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.76);
  line-height: 1.7;
}

.skillSumRight{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-shrink: 0;
}
.skillSumHint{
  font-size: 12px;
  color: rgba(255,255,255,.68);
  letter-spacing: .08em;
}
.skillChevron{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.72);
  border-bottom: 2px solid rgba(255,255,255,.72);
  transform: rotate(45deg);
  transition: transform .22s ease;
}

/* open state */
.skillAccItem[open] .skillChevron{
  transform: rotate(-135deg);
}
.skillAccItem[open] .skillAccSummary{
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* body */
.skillAccBody{
  padding: 18px 18px 22px;
}

/* grid inside body */
.skillAccGrid{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

/* lottie */
.skillAccLottie{
  width: 100%;
  height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  overflow: hidden;
}
.skillAccLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display:block !important;
}

/* columns */
.skillAccCols{
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 16px;
}

.skillAccH{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 10px;
}

/* steps */
.skillSteps{ display:grid; gap: 10px; }
.skillStep{
  display:grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.skillStepBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  letter-spacing: .10em;
}
.skillStepTitle{
  font-weight: 650;
  color: rgba(255,255,255,.92);
  margin-bottom: 4px;
}
.skillStepDesc{
  color: rgba(255,255,255,.76);
  line-height: 1.8;
  font-size: 14px;
}

/* deliverables */
.skillDeliverablesList{
  margin: 0;
  padding-left: 1.2em;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
  font-size: 14px;
}
.skillDeliverablesList li{ margin: 6px 0; }

.skillAccMiniCta{ margin-top: 12px; }

/* Tools */
.skillTools{
  margin-top: 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 22px;
}
.skillToolsHead{ text-align:center; margin-bottom: 12px; }
.skillToolsTitle{
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 0;
}
.skillToolsSub{
  margin-top: 10px;
  letter-spacing: .14em;
  font-size: 14px;
  opacity: .85;
}
.skillTags{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

/* responsive */
@media (max-width: 900px){
  .skillAccGrid{ grid-template-columns: 1fr; }
  .skillAccCols{ grid-template-columns: 1fr; }
  .skillAccLottie{ height: 200px; }
}
@media (max-width: 640px){
  .skillStep{ grid-template-columns: 1fr; }
  .skillStepBadge{ justify-self: start; }
}

/* =========================
   SKILL（Accordion）
========================= */
.container.skillPage{
  padding-top: 60px;
}

.skillHero{
  text-align: center;
  margin: 10px 0 22px;
}

.skillLead{
  margin: 14px auto 0;
  max-width: 70ch;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
}

.skillAccordion{
  margin-top: 18px;
}

.skillAccList{
  display: grid;
  gap: 14px;
}

.skillAccItem{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.skillAccBtn{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.skillAccTitle{
  font-size: 18px;
  font-weight: 650;
  letter-spacing: .02em;
}

.skillAccMeta{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.68);
  letter-spacing: .08em;
}

.skillAccIcon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-size: 18px;
  line-height: 1;
}

.skillAccPanel{
  border-top: 1px solid rgba(255,255,255,.10);
}

.skillAccBody{
  padding: 16px 18px 18px;
}

.skillAccDesc{
  margin: 0 0 10px;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
}

.skillAccUl{
  margin: 0;
  padding-left: 1.2em;
  line-height: 2.0;
  color: rgba(255,255,255,.80);
}

@media (max-width: 900px){
  .skillLead{ font-size: 15px; }
  .skillAccBtn{ padding: 16px; }
  .skillAccBody{ padding: 14px 16px 16px; }
}


/* =========================
   SKILL：進め方（Flow）
========================= */
.skillFlow{
  position: relative;
}

/* ---- A) 左でかLottie（おすすめ） ---- */
.skillFlow--left{
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 18px;
}

.skillFlowLottie{
  width: 100%;
  height: 420px;                 /* ←ここで“でかく写す” */
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}

.skillFlowLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  transform: scale(1.18);        /* ←さらに大きく見せたいならここ */
  transform-origin: center center;
}

/* Step list */
.skillFlowMain{ min-width: 0; }

.skillFlowSteps{
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.skillFlowSteps li{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  padding: 14px 14px;
}

.stepNo{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 6px;
}
.stepTitle{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.stepDesc{
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,.82);
}

/* Deliverables */
.skillFlowDeliverables{
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.deliverTitle{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0 0 8px;
}

.deliverList{
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.9;
  color: rgba(255,255,255,.82);
}

.skillFlowCta{
  margin-top: 16px;
}

/* ---- B) 背景Lottie（雰囲気） ---- */
.skillFlow--bg{
  padding: 18px;
}

.skillFlow--bg .skillFlowLottie{
  position: absolute;
  inset: 10px;
  height: auto;
  border-radius: 16px;
  background: transparent;
  opacity: .16;                  /* ←薄くするほど読みやすい */
  filter: blur(0px);
  pointer-events: none;
  z-index: 0;
}

.skillFlow--bg .skillFlowMain{
  position: relative;
  z-index: 1;
}

/* スマホ */
@media (max-width: 900px){
  .skillFlow--left{
    grid-template-columns: 1fr;
  }
  .skillFlowLottie{
    height: 320px;
  }
}

/* アコーディオン：hidden を正しく効かせる */
.skillAccPanel { display: block; }
.skillAccPanel[hidden] { display: none !important; }

/* =========================
   SKILL：Tabs（左メニュー × 右詳細）
========================= */
.skillPage .skillHero{
  margin-bottom: 18px;
}
.skillPage .skillLead{
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.9;
}

.skillTabs{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* 左：ナビ */
.skillTabsNav{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 14px;
  position: sticky;
  top: 18px;
}

.skillTabBtn{
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  border-radius: 16px;
  padding: 14px 14px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.skillTabBtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.skillTabBtn.is-active,
.skillTabBtn[aria-selected="true"]{
  background: rgba(0,170,255,.18);
  border-color: rgba(0,170,255,.55);
  box-shadow: 0 18px 50px rgba(0,170,255,.12);
}

.skillTabTitle{
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .02em;
}
.skillTabMeta{
  font-size: 12px;
  color: rgba(255,255,255,.72);
}

.skillTabsHint{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
  opacity: .95;
}
.skillTabsHint .hintDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,255,210,.85);
  box-shadow: 0 0 16px rgba(0,255,210,.45);
}

/* 右：パネル */
.skillTabsMain{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 22px 22px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.skillTabPanel{
  outline: none;
}
.skillTabPanel.is-enter{
  animation: skillPanelIn .28s ease both;
}
@keyframes skillPanelIn{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}

.skillPanelHead{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 14px;
  align-items: start;
  position: relative;
  margin-bottom: 16px;
}

.panelKicker{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.panelTitle{
  margin: 8px 0 8px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 34px;
  line-height: 1.1;
  color: rgba(255,255,255,.92);
}
.panelMeta{
  font-size: 13px;
  color: rgba(255,255,255,.78);
  margin-bottom: 8px;
}
.panelDesc{
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
  font-size: 14px;
  max-width: 70ch;
}

/* 右上に薄くLottie */
.skillPanelLottie{
  width: 240px;
  height: 200px;
  opacity: .55;
  filter: saturate(1.1);
  pointer-events: none;
  display: grid;
  place-items: center;
}
.skillPanelLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}
.skillPanelLottie--soft{
  opacity: .22;
  filter: blur(0px);
}

/* 箇条書き */
.skillBullets{
  margin: 10px 0 0;
  padding-left: 1.2em;
  line-height: 2.0;
  color: rgba(255,255,255,.84);
  font-size: 15px;
}
.skillBullets li{
  margin: 8px 0;
}

/* Flow */
.skillFlowSteps{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.skillFlowSteps li{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 14px 14px;
}
.stepNo{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 6px;
}
.stepTitle{
  font-size: 16px;
  font-weight: 650;
  color: rgba(255,255,255,.92);
  margin-bottom: 4px;
}
.stepDesc{
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
}

.skillFlowDeliverables{
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 14px;
}
.deliverTitle{
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .04em;
  margin: 0 0 10px;
  color: rgba(255,255,255,.90);
}
.deliverList{
  margin: 0;
  padding-left: 1.2em;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
  font-size: 14px;
}
.deliverList li{
  margin: 6px 0;
}

.skillPanelCta{
  margin-top: 18px;
}

/* responsive */
@media (max-width: 980px){
  .skillTabs{
    grid-template-columns: 1fr;
  }
  .skillTabsNav{
    position: relative;
    top: auto;
  }
  .skillPanelHead{
    grid-template-columns: 1fr;
  }
  .skillPanelLottie{
    width: 100%;
    height: 220px;
    opacity: .18;
    justify-self: center;
  }
}


/* =========================
   SKILL：左カード → 右サイドパネル（モーダル）
========================= */
.skillHero{ margin-bottom: 18px; }
.skillLead{
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.9;
}

/* 左：カード一覧 */
.skillSelect{ position: relative; }
.skillCardList{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.skillCard{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 16px;
  color: rgba(255,255,255,.92);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.skillCard:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.skillCard.is-active{
  border-color: rgba(0,170,255,.6);
  box-shadow: 0 18px 50px rgba(0,170,255,.12);
}
.skillCardTop{ display: grid; gap: 6px; margin-bottom: 10px; }
.skillCardTitle{ font-size: 16px; font-weight: 650; letter-spacing: .02em; }
.skillCardMeta{ font-size: 12px; color: rgba(255,255,255,.72); }
.skillCardDesc{ font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.9; }
.skillCardHint{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.70);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.skillCardHint::before{
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(0,255,210,.85);
  box-shadow: 0 0 16px rgba(0,255,210,.45);
}
.skillCard--flow .skillCardHint::before{
  background: rgba(255,200,0,.92);
  box-shadow: 0 0 16px rgba(255,200,0,.35);
}

/* モーダル：overlay + drawer */
.skillDrawerOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 9998;
}
.skillDrawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(560px, 92vw);
  z-index: 9999;
  transform: translateX(102%);
  transition: transform .2s ease;
  border-left: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(1200px 600px at 10% 10%, rgba(0,170,255,.12), transparent 60%),
              linear-gradient(180deg, rgba(20,22,28,.96), rgba(12,14,18,.96));
  box-shadow: -30px 0 80px rgba(0,0,0,.45);
}
.skillSelect.is-drawer-open .skillDrawer{ transform: translateX(0); }

.skillDrawerInner{
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}
.skillDrawerHead{
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.skillDrawerClose{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor: pointer;
}
.skillDrawerKicker{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}
.skillDrawerTitle{
  margin-top: 8px;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: rgba(255,255,255,.94);
}
.skillDrawerBody{
  overflow: auto;
  padding: 16px;
}

/* 中身 */
.panelTop{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}
.panelKicker{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}
.panelTitle{
  margin: 8px 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 30px;
  line-height: 1.1;
  color: rgba(255,255,255,.94);
}
.panelMeta{ font-size: 13px; color: rgba(255,255,255,.78); }
.panelDesc{ margin: 10px 0 0; line-height: 1.9; color: rgba(255,255,255,.82); font-size: 14px; }

.panelLottie{
  width: 220px;
  height: 190px;
  opacity: .22;
  pointer-events: none;
}
.panelLottie--strong{ opacity: .55; }
.panelLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.panelBullets{
  margin: 0;
  padding-left: 1.2em;
  color: rgba(255,255,255,.84);
  line-height: 2.0;
  font-size: 15px;
}
.panelBullets li{ margin: 8px 0; }

.flowSteps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.flowSteps li{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 14px;
}
.stepNo{ font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 6px; }
.stepTitle{ font-size: 16px; font-weight: 650; color: rgba(255,255,255,.92); margin-bottom: 4px; }
.stepDesc{ font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.9; }

.deliverBox{
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 14px;
}
.deliverTitle{ font-size: 14px; font-weight: 650; color: rgba(255,255,255,.90); margin-bottom: 10px; }
.deliverList{ margin: 0; padding-left: 1.2em; color: rgba(255,255,255,.82); line-height: 1.9; font-size: 14px; }
.deliverList li{ margin: 6px 0; }

.panelCta{ margin-top: 18px; }

/* モーダル中スクロール抑止 */
.is-modal-open{ overflow: hidden; }

/* responsive */
@media (max-width: 860px){
  .skillCardList{ grid-template-columns: 1fr; }
  .panelTop{ grid-template-columns: 1fr; }
  .panelLottie{ width: 100%; height: 210px; opacity: .18; }
}


/* =========================
   SKILL 見出し：SKILL + できること を横並び＆同サイズ
========================= */
.skillTitleRow{
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.skillTitleMain,
.skillTitleSub{
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: clamp(52px, 7vw, 96px); /* ←SKILLと同じサイズ */
  line-height: 1.05;
  color: rgba(255,255,255,.92);
  margin: 0;
}

/* 目的に合わせて〜 を中央揃え */
.skillLead{
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* SKILL見出しを ContactTitle と同じ見た目で使う（配置だけ調整） */
.skillPage .skillHero{
  text-align: center;
  margin-bottom: 18px;
}

.skillPage .skillHero .contactTitle.skillTitle{
  margin: 0 0 14px;
}

/* リード文：中央揃え */
.skillPage .skillLead{
  text-align: center !important;
  margin: 0 auto !important;
}

/* ドロワー背景(overlay)の中にLottieを配置 */
.skillDrawerOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
}

/* 左側の余白に出すLottie */
.skillOverlayLottie{
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 42vw);
  height: min(520px, 42vw);
  opacity: .22;           /* 背景っぽく薄く */
  pointer-events: none;   /* クリックを邪魔しない */
  filter: blur(0px);
}

.skillOverlayLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* モバイル時は少し小さめに */
@media (max-width: 900px){
  .skillOverlayLottie{
    left: 16px;
    width: min(360px, 70vw);
    height: min(360px, 70vw);
    opacity: .18;
  }
}

.skillCardTitle{ font-size: 22px !important; }

.skillCardMeta{ font-size: 14px !important; }

/* =========================
   SKILL Drawer：右のLottieを“大きい背景”にする
   ※Styles.css の一番下に貼る
========================= */

/* パネルを重ね順管理しやすくする */
.skillDrawerPanel{
  position: relative;
  isolation: isolate; /* z-indexの事故防止 */
}

/* 2カラム(本文+220px)をやめて本文をフル幅に */
.skillDrawerPanel .panelTop{
  grid-template-columns: 1fr !important;
  position: relative;
  z-index: 1;
}

/* Lottieを背景化（でかく・薄く・クリック無効） */
.skillDrawerPanel .panelLottie{
  position: absolute !important;
  right: -160px !important;  /* 右にはみ出させて“背景感” */
  top: -40px !important;
  width: 560px !important;   /* ←大きさはここ */
  height: 560px !important;
  opacity: .10 !important;   /* ←薄さはここ（0.06〜0.14あたりで調整） */
  pointer-events: none !important;
  z-index: 0 !important;
}

/* 中身を枠いっぱいに */
.skillDrawerPanel .panelLottie lottie-player{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* 本文は常に前面 */
.skillDrawerPanel .panelBullets,
.skillDrawerPanel .flowSteps,
.skillDrawerPanel .deliverBox,
.skillDrawerPanel .panelCta{
  position: relative;
  z-index: 1;
}

/* スマホは少し小さく */
@media (max-width: 860px){
  .skillDrawerPanel .panelLottie{
    right: -120px !important;
    top: -30px !important;
    width: 420px !important;
    height: 420px !important;
    opacity: .08 !important;
  }
}

.skillDrawerPanel .panelLottie{
  opacity: .16 !important;   /* ← .10 → .16 に */
}

.skillDrawerPanel .panelLottie{
  opacity: .18 !important;
  filter: brightness(1.25) saturate(1.1) !important;
}

/* =========================
   SKILL：右ドロワー内の横スクロール禁止
   Styles.css 一番下に貼る
========================= */

/* ドロワー＆オーバーレイは横はみ出し禁止 */
.skillDrawerOverlay{
  overflow: hidden !important;
}

.skillDrawer,
.skillDrawerInner,
.skillDrawerBody{
  overflow-x: hidden !important;
}

/* 縦スクロールだけ許可（横は絶対出さない） */
.skillDrawerBody{
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* 長い英数字(URLなど)で横に伸びるのを防ぐ */
.skillDrawerBody,
.skillDrawerBody *{
  max-width: 100% !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* グリッドのはみ出し保険（念のため） */
.panelTop{
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px) !important;
}
/* =========================
   SKILL：about2（banner背景）だけ小さくする
========================= */

/* バナーだけ縮小（数値は好みで 0.70〜0.95） */
.panelLottiePlayer--banner{
  transform: scale(0.60) !important;
  transform-origin: center center !important;
}

/* 位置も少し整えたい場合（上下左右の微調整） */
.panelLottiePlayer--banner{
  transform: translateY(6px) scale(0.60) !important; /* ←Yは-10〜+10で調整 */
}

/* バナー制作（about2.json）の背景Lottieだけ小さく */
.skillDrawerPanel[data-skill-panel="banner"] .panelLottie lottie-player{
  transform: scale(0.78) !important;  /* 0.70〜0.95で調整 */
  transform-origin: center center !important;
}


/* =========================
   SKILL：右パネル内タイムライン（縦線＋黒丸）
========================= */

/* 横スクロール完全防止（念押し） */
.skillDrawer,
.skillDrawerBody,
.skillDrawerInner{
  overflow-x: hidden !important;
}

/* タイムラインの外枠（軽くカード感） */
.panelMiniFlow{
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 14px 14px;
}

.panelMiniFlowTitle{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 12px;
}

/* 縦線は ol に一本入れる */
.miniTimeline{
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 縦線（左側） */
.miniTimeline::before{
  content:"";
  position: absolute;
  left: 12px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
}

/* 1行（黒丸＋内容） */
.miniTimelineItem{
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 8px 0;
  min-width: 0;
}

/* 黒丸（線の上に乗せる） */
.miniRail{
  position: relative;
  display: grid;
  place-items: start center;
  padding-top: 2px;
}
.miniDot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);                 /* ←黒っぽい丸 */
  border: 2px solid rgba(255,255,255,.22);     /* 暗背景でも見えるよう輪郭 */
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  position: relative;
  z-index: 1;
}

/* 右側のテキスト */
.miniContent{ min-width: 0; }

.miniLabel{
  font-size: 11px;
  letter-spacing: .10em;
  color: rgba(255,255,255,.66);
  margin-bottom: 4px;
}

.miniTitle{
  font-size: 15px;
  font-weight: 650;
  color: rgba(255,255,255,.92);
  line-height: 1.4;
}

.miniDesc{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 860px){
  .miniTimeline::before{ left: 11px; }
  .miniTimelineItem{ grid-template-columns: 24px 1fr; gap: 10px; }
}

/* =========================
   SKILL：panelTimeline（縦線＋黒丸）最終上書き
   ※ Styles.css の一番下に貼る
========================= */

/* ドロワー内：横スクロール完全禁止 */
.skillDrawer,
.skillDrawerInner,
.skillDrawerBody{
  overflow-x: hidden !important;
}
.skillDrawerBody{
  overflow-y: auto !important;
}

/* panelTop を1カラム固定（背景Lottie運用の事故防止） */
.skillDrawerBody .panelTop{
  grid-template-columns: 1fr !important;
}

/* ===== タイムライン本体 ===== */
.skillDrawerBody .panelTimeline{
  list-style: none !important;
  margin: 18px 0 0 !important;
  padding: 0 0 0 36px !important; /* 線＆丸のスペース */
  position: relative !important;
}

/* 縦線 */
.skillDrawerBody .panelTimeline::before{
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 2px !important;
  background: rgba(255,255,255,.18) !important;
  border-radius: 2px !important;
}

/* 各アイテム */
.skillDrawerBody .panelTimeline > li{
  position: relative !important;
  padding: 10px 0 14px !important;
}

/* 黒丸（はみ出さない配置なので消えない） */
.skillDrawerBody .panelTimeline > li::before{
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  top: 16px !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 999px !important;
  transform: translateX(-50%) !important;

  background: #0a0a0a !important;
  border: 2px solid rgba(255,255,255,.26) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.25) !important;
}

.skillDrawerBody .panelTimeline > li:last-child{
  padding-bottom: 0 !important;
}

/* テキスト（flow用） */
.skillDrawerBody .panelTimeline .tlMeta{
  font-size: 12px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.66) !important;
  margin-bottom: 6px !important;
}
.skillDrawerBody .panelTimeline .tlTitle{
  font-size: 15px !important;
  font-weight: 650 !important;
  color: rgba(255,255,255,.92) !important;
  line-height: 1.55 !important;
}
.skillDrawerBody .panelTimeline .tlDesc{
  margin-top: 6px !important;
  font-size: 13px !important;
  color: rgba(255,255,255,.78) !important;
  line-height: 1.85 !important;
}

/* =========================
   SKILL：panelTimeline 重なり解消（左レール分離）
   ※ Styles.css の一番下に追記
========================= */

/* タイムライン全体：左にレール幅を作る */
.skillDrawerBody .panelTimeline{
  padding-left: 0 !important;          /* 以前の余白をリセット */
}

/* 縦線を「左レール」の中央に */
.skillDrawerBody .panelTimeline::before{
  left: 14px !important;
}

/* 1行を「左：レール」「右：本文」に分ける */
.skillDrawerBody .panelTimeline > li{
  display: grid !important;
  grid-template-columns: 28px 1fr !important; /* 左レール幅 */
  gap: 12px !important;
  padding: 10px 0 14px !important;
}

/* 黒丸は左レールの上に固定（本文と完全分離） */
.skillDrawerBody .panelTimeline > li::before{
  left: 14px !important;               /* 縦線と同じX */
  top: 18px !important;                /* 文字ではなく“行の上”基準 */
  transform: translate(-50%, 0) !important;
}

/* 右側の本文を「2列目」へ */
.skillDrawerBody .panelTimeline > li > *{
  grid-column: 2 !important;
}

/* Step（tlMeta）がある時は、丸を少しだけ上に寄せてバランス調整 */
.skillDrawerBody .panelTimeline.panelTimeline--flow > li::before{
  top: 16px !important;
}

/* スマホはレール幅を少し詰める */
@media (max-width: 860px){
  .skillDrawerBody .panelTimeline::before{
    left: 13px !important;
  }
  .skillDrawerBody .panelTimeline > li{
    grid-template-columns: 26px 1fr !important;
    gap: 10px !important;
  }
  .skillDrawerBody .panelTimeline > li::before{
    left: 13px !important;
  }
}

/* =========================
   SKILL：panelTimeline の丸を明るく（ネオンシアン）
   ※一番下に貼る
========================= */
.skillDrawerBody .panelTimeline > li::before{
  background: #00FFD2 !important;                 /* 丸の色 */
  border-color: rgba(255,255,255,.30) !important; /* 輪郭 */
  box-shadow:
    0 0 18px rgba(0,255,210,.45),
    0 10px 26px rgba(0,0,0,.25) !important;
}

.skillDrawerBody .panelTimeline::before{
  background: rgba(0,255,210,.35) !important;
}


/* =========================
   Timeline Dot : White（無難で上品）
   Styles.css の一番下に貼る
========================= */
:root{
  --tl-dot: rgba(169, 202, 254, 0.92);
  --tl-dot-border: rgba(255,255,255,.34);
  --tl-dot-glow: rgba(255,255,255,.22);
}

/* panelTimeline（ドロワー内の縦タイムライン） */
.skillDrawerBody .panelTimeline > li::before{
  background: var(--tl-dot) !important;
  border-color: var(--tl-dot-border) !important;
  box-shadow:
    0 0 14px var(--tl-dot-glow),
    0 10px 26px rgba(0,0,0,.25) !important;
}

/* miniTimeline（別タイムラインも白で揃える） */
.miniDot{
  background: var(--tl-dot) !important;
  border-color: var(--tl-dot-border) !important;
  box-shadow:
    0 0 14px var(--tl-dot-glow),
    0 10px 26px rgba(0,0,0,.25) !important;
}

/* =========================
   SKILL：panelTimeline 丸と文字の位置をピタ合わせ（最終上書き）
   Styles.css の一番下に貼る
========================= */

.skillDrawerBody .panelTimeline{
  --rail: 28px;          /* 左レール幅 */
  --line-x: 14px;        /* 縦線のX（レール中央） */
  --dot-size: 12px;      /* 丸のサイズ */
  --dot-offset: -10;    /* 丸の縦位置（←ここだけ微調整ポイント） */
  padding: 0 !important;
  margin: 18px 0 0 !important;
  list-style: none !important;
  position: relative !important;
}

/* 縦線 */
.skillDrawerBody .panelTimeline::before{
  content: "" !important;
  position: absolute !important;
  left: var(--line-x) !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 2px !important;
  background: rgba(255,255,255,.18) !important;
  border-radius: 2px !important;
}

/* =========================
   panelTimeline：丸と文字をズレなく揃える（absolute殺す版）
   Styles.css の一番下
========================= */

.skillDrawerBody .panelTimeline{
  --rail: 28px;          /* 左レール幅 */
  --line-x: 14px;        /* 縦線の中心X（railの半分） */
  --dot-size: 12px;      /* 丸サイズ */
  --dot-offset: 18px;    /* 丸の上下微調整（ここだけ触る） */

  list-style: none !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  position: relative !important;
}

/* 縦線 */
.skillDrawerBody .panelTimeline::before{
  content:"" !important;
  position:absolute !important;
  left: var(--line-x) !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 2px !important;
  background: rgba(255,255,255,.18) !important;
  border-radius: 2px !important;
}

/* 1行：左レール / 右本文 */
.skillDrawerBody .panelTimeline > li{
  display: grid !important;
  grid-template-columns: var(--rail) 1fr !important;
  column-gap: 12px !important;
  align-items: start !important;
  padding: 10px 0 14px !important;
}

/* ★丸：昔の absolute 指定を完全に無効化して、左レールに固定 */
.skillDrawerBody .panelTimeline > li::before,
.skillDrawerBody .panelTimeline.panelTimeline--flow > li::before{
  content:"" !important;

  /* absolute を殺す（これが最重要） */
  position: static !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;

  /* グリッドの左列に置く */
  grid-column: 1 !important;

  width: var(--dot-size) !important;
  height: var(--dot-size) !important;
  border-radius: 999px !important;

  justify-self: center !important;
  align-self: start !important;
  margin-top: var(--dot-offset) !important;

  /* 無難に白 */
  background: rgba(255,255,255,.92) !important;
  border: 2px solid rgba(255,255,255,.34) !important;
  box-shadow: 0 0 12px rgba(255,255,255,.22),
              0 10px 26px rgba(0,0,0,.25) !important;
}

/* 本文は右列へ */
.skillDrawerBody .panelTimeline > li > *{
  grid-column: 2 !important;
}

/* スマホ */
@media (max-width: 860px){
  .skillDrawerBody .panelTimeline{
    --rail: 26px;
    --line-x: 13px;
  }
}

/* 1行を「左：レール / 右：本文」に固定 */
.skillDrawerBody .panelTimeline > li{
  display: grid !important;
  grid-template-columns: var(--rail) 1fr !important;
  column-gap: 12px !important;
  padding: 10px 0 14px !important;
  position: relative !important;
}

/* 丸：absolute をやめて “グリッド要素” にする（ズレなくなる） */
.skillDrawerBody .panelTimeline > li::before{
  content: "" !important;
  grid-column: 1 !important;
  grid-row: 1 !important;

  width: var(--dot-size) !important;
  height: var(--dot-size) !important;
  border-radius: 999px !important;

  justify-self: center !important;
  align-self: start !important;
  margin-top: var(--dot-offset) !important; /* ←ここで上下合わせる */

  background: var(--tl-dot, rgba(255,255,255,.92)) !important;
  border: 2px solid var(--tl-dot-border, rgba(255,255,255,.34)) !important;
  box-shadow:
    0 0 14px var(--tl-dot-glow, rgba(255,255,255,.22)),
    0 10px 26px rgba(0,0,0,.25) !important;
}

/* 本文は必ず2列目へ */
.skillDrawerBody .panelTimeline > li > *{
  grid-column: 2 !important;
}

/* スマホはレール少し詰める */
@media (max-width: 860px){
  .skillDrawerBody .panelTimeline{
    --rail: 26px;
    --line-x: 13px;
  }
}

/* =========================
   SKILL：タイムライン「丸と文字」ズレ修正（最終上書き）
   Styles.css の一番下に貼る
========================= */

/* 1) いま画面に出てる方（miniTimeline系）を確実に揃える */
.skillDrawerBody .panelMiniFlow .miniTimelineItem{
  display: grid !important;
  grid-template-columns: 28px 1fr !important; /* 左レール幅 */
  column-gap: 12px !important;
  align-items: start !important;
}

.skillDrawerBody .panelMiniFlow .miniRail{
  display: flex !important;
  justify-content: center !important;
  padding-top: 0 !important; /* 変なズレ要因を殺す */
}

.skillDrawerBody .panelMiniFlow .miniDot{
  /* ★ここがキモ：文字の行高に合わせて“em”で揃える */
  margin-top: 0.38em !important; /* 0.30〜0.45emで微調整OK */
}

/* 縦線の位置も「レール中央」に合わせる */
.skillDrawerBody .panelMiniFlow .miniTimeline{
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.skillDrawerBody .panelMiniFlow .miniTimeline::before{
  left: 14px !important; /* 28pxレールの中央 */
}

/* miniTitle が他（Contact等）と衝突しやすいので、ここだけ見た目固定 */
.skillDrawerBody .panelMiniFlow .miniTitle{
  margin: 0 !important;
  line-height: 1.55 !important; /* 今の見た目に合わせる */
}

/* 2) panelTimeline（擬似要素の丸）版も同じ考え方で“em”揃えに統一 */
.skillDrawerBody .panelTimeline > li{
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  column-gap: 12px !important;
  align-items: start !important;
}

.skillDrawerBody .panelTimeline > li::before{
  /* absolute系の指定が残ってても、ここで確実に“流れ”に戻す */
  position: static !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;

  grid-column: 1 !important;
  justify-self: center !important;
  align-self: start !important;

  margin-top: 0.38em !important; /* ★ここも同じ（0.30〜0.45em） */
}

.skillDrawerBody .panelTimeline > li > *{
  grid-column: 2 !important;
}

/* ちょい上げ（おすすめ） */
.skillDrawerBody .panelMiniFlow .miniDot,
.skillDrawerBody .panelTimeline > li::before{
  margin-top: 0.34em !important; /* 0.38 → 0.34 */
}

/* =========================================================
   進め方：STEP 01〜05 のラベル文字を非表示
   Styles.css の一番下に貼る
========================================================= */

/* まずは想定クラス（あなたのCSS内で使ってる .tlMeta を消す） */
.skillDrawerBody .panelTimeline .tlMeta,
.skillDrawer .panelTimeline .tlMeta,
.skillPanel .panelTimeline .tlMeta{
  display: none !important;
}

/* 念のため：stepNo というクラス名のパターンも消す */
.skillDrawerBody .panelTimeline .stepNo,
.skillDrawer .panelTimeline .stepNo,
.skillPanel .panelTimeline .stepNo{
  display: none !important;
}

/* =========================================================
   進め方：白丸を「見出し（タイトル行）」にピタ合わせ（最終版）
   Styles.css の一番下に貼る
========================================================= */

.skillDrawerBody .panelTimeline{
  --rail: 28px;     /* 左レール幅 */
  --dot: 12px;      /* 丸サイズ */
  --dot-y: 0px;     /* ← ほんの微調整したい時は 1px / -1px など */

  list-style: none !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  position: relative !important;
}

/* 縦線 */
.skillDrawerBody .panelTimeline::before{
  content: "" !important;
  position: absolute !important;
  left: calc(var(--rail) / 2) !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 2px !important;
  background: rgba(255,255,255,.18) !important;
  border-radius: 2px !important;
}

/* 1行を「左：レール / 右：本文」にして、見出し行を1段目に固定 */
.skillDrawerBody .panelTimeline > li{
  display: grid !important;
  grid-template-columns: var(--rail) 1fr !important;
  grid-template-rows: auto auto !important;
  column-gap: 12px !important;
  row-gap: 6px !important;
  align-items: start !important;
  padding: 10px 0 14px !important;
}

/* STEPラベルは非表示のまま */
.skillDrawerBody .panelTimeline .tlMeta{
  display: none !important;
}

/* 見出し（タイトル）を1段目に固定 */
.skillDrawerBody .panelTimeline .tlTitle{
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}

/* 説明文を2段目に固定 */
.skillDrawerBody .panelTimeline .tlDesc{
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
}

/* 丸：absoluteを完全にやめて、見出し行(1段目)の中央に合わせる */
.skillDrawerBody .panelTimeline > li::before{
  content: "" !important;

  /* ←ここが重要：absoluteの名残を殺す */
  position: static !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  transform: translateY(var(--dot-y)) !important;

  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  align-self: center !important;

  width: var(--dot) !important;
  height: var(--dot) !important;
  border-radius: 999px !important;

  /* 他と同じ“白丸” */
  background: var(--tl-dot, rgba(255,255,255,.92)) !important;
  border: 2px solid var(--tl-dot-border, rgba(255,255,255,.34)) !important;
  box-shadow:
    0 0 14px var(--tl-dot-glow, rgba(255,255,255,.22)),
    0 10px 26px rgba(0,0,0,.25) !important;
}

/* スマホ微調整 */
@media (max-width: 860px){
  .skillDrawerBody .panelTimeline{ --rail: 26px; }
}

/* =========================================================
   SKILL：進め方タイムライン
   - STEP 表示を消す（残っても消える）
   - 白丸を「タイトル行」にピタ合わせ
   ※ Styles.css の一番下に貼る
========================================================= */

.skillDrawer .panelTimeline .tlMeta{
  display: none !important;
}

/* タイムライン全体 */
.skillDrawer .panelTimeline{
  list-style: none !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  position: relative !important;
}

/* 縦線（左レール中央） */
.skillDrawer .panelTimeline::before{
  content: "" !important;
  position: absolute !important;
  left: 14px !important;     /* 28pxレールの中央 */
  top: 8px !important;
  bottom: 8px !important;
  width: 2px !important;
  background: rgba(255,255,255,.18) !important;
  border-radius: 2px !important;
}

/* 1行：左レール / 右本文（タイトル行を1段目に固定） */
.skillDrawer .panelTimeline > li{
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  grid-template-rows: auto auto !important;
  column-gap: 12px !important;
  row-gap: 6px !important;
  padding: 10px 0 14px !important;
}

/* 白丸：absolute を捨てて、グリッドの1段目（=タイトル行）中央へ */
.skillDrawer .panelTimeline > li::before{
  content: "" !important;
  position: static !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  align-self: center !important;

  width: 12px !important;
  height: 12px !important;
  border-radius: 999px !important;

  background: rgba(255,255,255,.92) !important;
  border: 2px solid rgba(255,255,255,.34) !important;
  box-shadow:
    0 0 14px rgba(255,255,255,.22),
    0 10px 26px rgba(0,0,0,.25) !important;
}

/* タイトル/説明の段を固定 */
.skillDrawer .panelTimeline .tlTitle{
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}
.skillDrawer .panelTimeline .tlDesc{
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
}

/* モバイル */
@media (max-width: 860px){
  .skillDrawer .panelTimeline::before{ left: 13px !important; }
  .skillDrawer .panelTimeline > li{ grid-template-columns: 26px 1fr !important; }
}

/* =========================
   Timeline（白丸を見出しに揃える最終版）
   ※必ず style.css の一番下に置く
========================= */

/* タイムライン全体 */
.panelTimeline{
  --tl-dot-size: 12px;      /* 白丸サイズ */
  --tl-gutter: 34px;        /* 左の余白（見出しの開始位置まで） */
  --tl-line-x: 14px;        /* 縦線のX位置（左から） */
  --tl-dot-offset: 0.42em;  /* 白丸の縦位置（見出しの行頭に合わせる） */

  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各行 */
.panelTimeline > li{
  position: relative;
  padding-left: var(--tl-gutter);
  padding-bottom: 18px;
}

.panelTimeline > li:last-child{
  padding-bottom: 0;
}

/* 縦線（白丸の中心から下に伸ばす） */
.panelTimeline > li::after{
  content: "";
  position: absolute;
  left: var(--tl-line-x);
  top: calc(var(--tl-dot-offset) + (var(--tl-dot-size) * 0.5));
  bottom: -18px;
  width: 1px;
  background: rgba(255,255,255,.22);
}

.panelTimeline > li:last-child::after{
  display: none;
}

/* 見出し（タイトル） */
.panelTimeline .tlTitle{
  position: relative;
  line-height: 1.6;
  font-weight: 600;
}

/* 白丸を “見出し” に紐づけて置く（←ここがキモ） */
.panelTimeline .tlTitle::before{
  content: "";
  position: absolute;
  left: calc(-1 * var(--tl-gutter));
  top: var(--tl-dot-offset);
  width: var(--tl-dot-size);
  height: var(--tl-dot-size);
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}

/* 説明文 */
.panelTimeline .tlDesc{
  margin-top: 6px;
  line-height: 1.8;
  opacity: .85;
}

/* =========================
   panelTimeline：白丸が2つ出るのを防ぐ（li側を無効化）
   ※style.css 一番下に貼る
========================= */
.panelTimeline > li::before{
  content: none !important;
  display: none !important;
}

/* 念のため：ドロワー内で強い指定が当たってても確実に消す */
.skillDrawerBody .panelTimeline > li::before,
.skillDrawer .panelTimeline > li::before{
  content: none !important;
  display: none !important;
}

/* =========================
   panelTimeline：縦線を少し左へ（微調整）
   ※style.css 一番下に貼る
========================= */
.panelTimeline{
  --tl-line-x: 12px; /* ← 14px → 12px（好みで 11/10 に） */
}

/* =========================
   panelTimeline：縦線が2重になるのを防ぐ
   → 古い ::before の縦線を無効化して、
     最新の li::after の縦線だけに統一
   ※style.css の一番下に貼る
========================= */
.panelTimeline::before,
.skillDrawer .panelTimeline::before,
.skillDrawerBody .panelTimeline::before{
  content: none !important;
  display: none !important;
}

.panelTimeline > li::after{
  width: 2px !important;
  background: rgba(255, 255, 255, 0.328) !important;
}

/* =========================
   panelTimeline：縦線を少し太く（1px→2px）
   ※style.css の一番下に貼る
========================= */
.panelTimeline > li::after{
  width: 2px !important; /* 1→2（好みで 3 もOK） */
}

/* =========================
   SKILL：カード（LP/バナー/WP/進め方）の高さを少し大きく
   ※Styles.css の一番下に貼る
========================= */

.skillCardList{
  align-items: stretch !important; /* 行の中で高さを揃えやすく */
}

.skillCard{
  height: 100% !important;
  min-height: 250px !important;   /* ←ここで高さUP（例：220〜280） */
  padding: 20px !important;       /* ←余白も少し増やす */
}

/* スマホは自然に（大きすぎ防止） */
@media (max-width: 860px){
  .skillCard{
    min-height: 0 !important;
    padding: 18px !important;
  }
}

/* =========================
   SKILL：カード背景にLottieを薄く敷く
   ※Styles.css の一番下に貼る
========================= */

/* カード自体を“背景レイヤーを置ける箱”にする */
.skillCard{
  position: relative !important;
  overflow: hidden !important;
}

/* 背景Lottieレイヤー（薄く・クリック邪魔しない） */
.skillCard .skillCardBg{
  position: absolute !important;
  inset: -18px !important;          /* 少しはみ出させると“背景感”が出る */
  pointer-events: none !important;  /* クリックを邪魔しない */
  opacity: .10 !important;          /* 濃さ：0.06〜0.14で好み調整 */
  filter: saturate(1.1) brightness(1.05);
  z-index: 0 !important;
}

/* 背景Lottieを枠いっぱいに */
.skillCard .skillCardBg lottie-player,
.skillCard .skillCardBg dotlottie-wc{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* 前面（文字・アイコン類）は必ず上 */
.skillCard .skillCardInner{
  position: relative !important;
  z-index: 1 !important;
}

/* しんどい端末向け：動き控えめ（背景自体を消したいなら display:none でもOK） */
@media (prefers-reduced-motion: reduce){
  .skillCard .skillCardBg{
    opacity: .06 !important;
  }
}

/* 進め方カードの「クリックで詳細を見る」左の丸を他と同じ色に */
.skillCard--flow .skillCardHint::before{
  background: rgba(0,255,210,.85) !important;
  background-color: rgba(0,255,210,.85) !important;
  box-shadow: 0 0 16px rgba(0,255,210,.45) !important;
}

/* トップのカード見出し（About / Works / Skill / Contact）を大きく */
.home .workTitle{
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  font-weight: 700;
}

/* トップのカード説明文（ユーザー行動を意識した〜等）を非表示 */
.home .workDesc{
  display: none;
}

/* 見出し（workTop）とタグ（tags）の間をあける */
.home .workTop{
  margin-bottom: 14px;
}

/* 念のためタグ側にも余白（どっちか片方でもOK） */
.home .tags{
  margin-top: 14px;
}

/* 画像と見出し（本文）の間に余白をつける */
.home .workMedia{
  margin-bottom: 12px;
}


/* Aboutページ：見出し類を少しだけ大きく */
.aboutPage .aboutTitle{
  font-size: clamp(28px, 2.2vw, 36px);
  line-height: 1.2;
}

.aboutPage .aboutProfileName{
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
}

.aboutPage .aboutProfileRole{
  font-size: clamp(14px, 1.2vw, 18px);
}

.aboutPage .aboutProfileRow{
  margin-top: 15px;
  margin-bottom: 12px;
}

/* ===== 文字サイズ（強制的に上書き） ===== */
.page-template-about .aboutTitle,
.page-template-about-php .aboutTitle,
.aboutPage .aboutTitle{
  font-size: 60px !important;
  line-height: 1.2 !important;
}

.page-template-about .aboutProfileName,
.page-template-about-php .aboutProfileName,
.aboutPage .aboutProfileName{
  font-size: 32px !important;
  line-height: 1.2 !important;
}

.page-template-about .aboutProfileRole,
.page-template-about-php .aboutProfileRole,
.aboutPage .aboutProfileRole{
  font-size: 20px !important;
}

/* 自己紹介（h1）の上に余白を追加 */
.aboutPage .aboutTitle{
  margin-top: 25px !important; /* 好みで 8〜20px くらいで調整 */
}

/* 「自己紹介」(h1) と 名前の間を広げる */
.aboutPage .aboutTitle{
  margin-bottom: 14px !important; /* ここを増減：10〜24pxくらいで調整 */
}

/* 名前ブロック側に上余白を追加 */
.aboutPage .aboutProfileRow{
  margin-top: 14px !important; /* ここを増減 */
}

.page-template-about .aboutTitle,
.page-template-about-php .aboutTitle,
.aboutPage .aboutTitle{
  font-size: 50px !important;
  line-height: 1.2 !important;
}

.page-template-about .aboutProfileName,
.page-template-about-php .aboutProfileName,
.aboutPage .aboutProfileName{
  font-size: 32px !important;
  line-height: 1.2 !important;
}

.page-template-about .aboutProfileRole,
.page-template-about-php .aboutProfileRole,
.aboutPage .aboutProfileRole{
  font-size: 20px !important;
}

/* About：タグをPhotoshopで改行（強制折り返し） */
.aboutPage .aboutTags .tagBreak{
  flex-basis: 100%;
  height: 0;
}

/* タグ：1行目と2行目の間隔（縦）だけ詰める */
.aboutPage .aboutTags{
  row-gap: 6px;     /* ← ここを小さくすると行間が詰まる（例: 4px〜8px） */
  column-gap: 12px; /* ← 横の間隔。好みで（既にあるなら合わせる） */
}

/* ボタン2つの並び（例: .btnRow）の直後にタブ（.aboutTags）が来る場合だけ余白 */
.aboutPage .btnRow + .aboutTags{
  margin-top: 16px; /* ← ここで調整（12〜24pxくらいが多い） */
}

/* 「まず相談する」「実績を見る」を包んでる要素のクラス名に置き換え */
.aboutPage .btnRow{
  margin-bottom: 25px !important;
}





/* sticky で貼り付いてる場合は top も下げる（効く要素だけ残せばOK） */
.skillPage .skillTabsNav,
.skillPage .tabsNav,
.skillPage .skillNav{
  top: 36px !important;
}

/* 大切にしていること（aboutConceptSub）を白く＆大きく（強制） */
.aboutConceptSub,
.aboutConceptSub * {
  color: #fff !important;
  font-size: 20px !important; /* ←ここを好きな数値に */
  font-weight: 700;
  line-height: 1.3;
}

/* 「大切にしていること」を「お問い合わせ」と同じフォントサイズ＆色に */
.aboutConceptSub {
  font-size: 24px !important; /* ← お問い合わせと同じサイズ（必要なら数値調整OK） */
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-align: center;
}

/* =========================
   CONCEPT / SERVICES / CONTACT 見出しサイズ統一
   ========================= */

/* ① ここをCONCEPTのサイズにする（例：32px） */
:root{
  --sectionTitleSize: 32px;
}

/* ② SERVICES 見出し */
#services .sectionTitle,
#services .workTitle,
#services .kicker,
.section--services .sectionTitle,
.section--services .workTitle,
.section--services .kicker,
.servicesTitle{
  font-size: var(--sectionTitleSize) !important;
}

/* ③ CONTACT 見出し */
#contact .sectionTitle,
#contact .workTitle,
#contact .kicker,
.section--contact .sectionTitle,
.section--contact .workTitle,
.section--contact .kicker,
.contactTitle{
  font-size: var(--sectionTitleSize) !important;
}

/* =========================
  「大切にしていること」と同じサイズに統一
  (できること / お問い合せ も同じ)
========================= */

/* ここを1箇所いじるだけで全部同じサイズになる */
:root{
  --conceptSubSize: 40%; /* ←ここを好みで変更 */
}

/* 大切にしていること */
.aboutConceptSub{
  font-size: var(--conceptSubSize) !important;
}

/* できること（SERVICES側の見出し候補を広めに拾う） */
.servicesTitle,
.serviceTitle,
#services .sectionTitle,
#services .workTitle,
.section--services .sectionTitle,
.section--services .workTitle{
  font-size: var(--conceptSubSize) !important;
}

/* お問い合せ（CONTACT側の見出し候補を広めに拾う） */
.contactTitle,
#contact .sectionTitle,
#contact .workTitle,
.section--contact .sectionTitle,
.section--contact .workTitle{
  font-size: var(--conceptSubSize) !important;
}

/* =========================
   banner（about2）背景Lottieだけ確実に小さくする：最終上書き
   ※Styles.css の一番下に貼る
========================= */

/* 1) banner パネルだけ、ラッパー(.panelLottie)ごと縮小（確実） */
.skillDrawerPanel[data-skill-panel="banner"] .panelLottie{
  transform: scale(0.68) !important;         /* ←小ささ：0.55〜0.85 */
  transform-origin: top right !important;    /* ←右上基準で縮める */
}

/* 2) 中身が lottie-player / dotlottie-wc どっちでもOKにする */
.skillDrawerPanel[data-skill-panel="banner"] .panelLottie lottie-player,
.skillDrawerPanel[data-skill-panel="banner"] .panelLottie dotlottie-wc{
  width: 100% !important;
  height: 100% !important;
  transform: none !important;               /* 二重transform防止 */
}

/* 見出しの下を少し広げる */
.conceptTitle {
  margin-bottom: 24px; /* 16→24くらいがちょうど良いこと多い */
}

/* もしくは3カラム側を下げる */
.conceptGrid {
  margin-top: 24px;
}

.conceptTitle{
  font-size: clamp(24px, 2.4vw, 34px);
  margin-bottom: 24px;
  line-height: 1.2;
}

/* 見出し（CONTACT / お問い合わせ）とフォームの間の余白 */
.contactTitle {
  margin-bottom: 24px;
}

/* =========================
   CONTACT：見出しとフォームの間に余白
========================= */
@media (max-width: 900px){
  .contactWrap{
    gap: 48px !important;   /* ← 28px → 48px（好みで 36〜64） */
  }
}

/* === CONCEPT：「大切にしていること」を少しだけ大きく === */
:where(#concept, .conceptWrap, .aboutConceptWrap, .aboutConceptSection) 
:where(.aboutConceptTitle, .conceptTitle, .sectionTitle, h2){
  font-size: 28px;   /* ←ここを 26px / 30px など好みで微調整 */
  line-height: 1.2;
}

/* お問い合わせ見出しとフォームの間に余白 */
.contactTitle{
  margin-bottom: 32px; /* 好みで 24〜48px */
}

/* =========================================================
   FINAL OVERRIDES（最終上書き）
========================================================= */

/* デバッグ表示を消す（必要ならコメントアウト） */
html::before{
  content: none !important;
  display: none !important;
}

/* 見出しサイズを1箇所で管理（px推奨） */
:root{
  --conceptSubSize: 22px; /* ←ここだけ変えれば揃う */
}

/* 「大切にしていること」 */
.aboutConceptSub{
  font-size: var(--conceptSubSize) !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-align: center !important;
}

/* 「できること」「お問い合わせ」も同じサイズ */
.servicesTitle,
.serviceTitle,
#services .sectionTitle,
#services .workTitle,
.section--services .sectionTitle,
.section--services .workTitle,
.contactTitle,
#contact .sectionTitle,
#contact .workTitle,
.section--contact .sectionTitle,
.section--contact .workTitle{
  font-size: var(--conceptSubSize) !important;
}

/* =========================================================
   SKILL：banner（about2.json）背景Lottieだけ確実に小さくする
   - “ラッパーだけ” を縮小（中身のtransformはリセット）
========================================================= */
.skillDrawerPanel[data-skill-panel="banner"] .panelLottie{
  transform: scale(0.68) !important;      /* 0.55〜0.85で調整 */
  transform-origin: top right !important;
}

/* 中身側にscale指定が残ってると二重になるのでリセット */
.skillDrawerPanel[data-skill-panel="banner"] .panelLottie lottie-player,
.skillDrawerPanel[data-skill-panel="banner"] .panelLottie dotlottie-wc{
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
}




/* =========================
   Intro Animation (Line -> Texts)
========================= */

.introScreen{
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.introInner{
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

/* ① 横線：中央から伸びる */
.introLine{
  width: min(740px, 82vw);
  height: 2px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: center;

  animation: introLineGrow 1.3s cubic-bezier(.2,.9,.2,1) forwards;
}

/* ② 上：線から上へフェードイン（開始は線が伸びた後） */
.introTitle{
  font-size: clamp(62px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: 0.02em;

  opacity: 0;
  transform: translateY(14px); /* 線に寄せておいて… */
  animation: introTitleUp 0.65s ease forwards;
  animation-delay: 1.3s; /* ←線が終わったら同時に開始 */
}

/* ③ 下：線から下へフェードイン（上と同時） */
.introTagline{
  font-size: clamp(24px, 2vw, 18px);
  letter-spacing: 0.03em;

  opacity: 0;
  transform: translateY(-14px); /* 線に寄せておいて… */
  animation: introTaglineDown 0.65s ease forwards;
  animation-delay: 1.3s; /* ←上と同時に開始 */
}

/* keyframes */
@keyframes introLineGrow{
  to { transform: scaleX(1); }
}

@keyframes introTitleUp{
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introTaglineDown{
  to { opacity: 1; transform: translateY(0); }
}

/* 端末や設定でアニメOFFしたい人向け */
@media (prefers-reduced-motion: reduce){
  .introLine,
  .introTitle,
  .introTagline{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* SKILLページのヒーロー内だけ、--conceptSubSize を大きくする */
.skillPage .skillHero{
  --conceptSubSize: clamp(26px, 4vw, 48px);
}

/* Contactページ：見出し（Contact / お問い合せ）だけ大きく */
.contactPage{
  --conceptSubSize: clamp(34px, 3.4vw, 46px);
}

/* TOPページ：About/Work/Skill/Contact の見出し上下に余白 */
body.home .grid .workTitle,
body.home .grid .sectionTitle,
body.home .grid .contactTitle {
  display: block;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* ===== Header ===== */
.skipLink{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skipLink:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid rgba(0,0,0,.15);
  border-radius:10px;
  z-index:9999;
}

.siteHeader{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

body.admin-bar .siteHeader{
  top: 32px;
}

.siteHeaderInner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.siteLogo{
  text-decoration:none;
  color: inherit;
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.siteLogoMain{
  font-weight: 700;
  letter-spacing: .02em;
}
.siteLogoSub{
  font-size: 12px;
  opacity: .75;
  margin-top: 4px;
}

.siteNavList{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 18px;
}
.siteNavList a{
  text-decoration:none;
  color: inherit;
  opacity: .85;
}
.siteNavList a:hover{
  opacity: 1;
}

.navToggle{
  display:none;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.8);
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
  align-items:center;
  gap: 10px;
}
.navToggleLabel{
  font-size: 12px;
  opacity:.8;
}
.navToggleBar{
  display:block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
}
.navToggleBar + .navToggleBar{ margin-top: 4px; }

/* ===== Mobile ===== */
@media (max-width: 860px){
  .navToggle{ display:flex; }

  .siteNav{
    position: fixed;
    left: 0;
    right: 0;
    top: 58px;
    padding: 14px 18px 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transform: translateY(-120%);
    transition: transform .22s ease;
  }
  body.admin-bar .siteNav{ top: 90px; }

  .siteNavList{
    flex-direction:column;
    align-items:flex-start;
    gap: 12px;
  }

  body.navOpen .siteNav{
    transform: translateY(0);
  }
}

/* =========================
   Site Background (restore)
   ========================= */

/* 以前の背景っぽい “紫×緑” グラデに戻す */
:root{
  --siteBg:
    radial-gradient(1100px 900px at 12% 18%, rgba(76,54,137,.95) 0%, rgba(76,54,137,0) 60%),
    radial-gradient(1100px 900px at 88% 18%, rgba(20,76,69,.95) 0%, rgba(20,76,69,0) 60%),
    radial-gradient(1200px 900px at 55% 88%, rgba(94,23,85,.85) 0%, rgba(94,23,85,0) 60%),
    linear-gradient(180deg, #141920 0%, #0f121a 100%);
}

/* 単色の上書きを打ち消して、背景を固定表示 */
html{
  background: var(--siteBg) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}
body{
  background: transparent !important;
  min-height: 100%;
}

/* もし全体を白/黒で塗ってるラッパーがいたら透過させる */
.container,
main.container,
#content{
  background: transparent !important;
}

/* =========================
   Header background = transparent
   ========================= */

.siteHeader,
.siteHeaderInner{
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}

/* もし疑似要素で背景を敷いてた場合の保険 */
.siteHeader::before,
.siteHeader::after{
  background: transparent !important;
}

/* fixedにする（stickyが効かない時だけこっちを使う） */
.siteHeader{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}

/* ヘッダー分だけ本文を下げる（高さは実物に合わせて微調整） */
body{ padding-top: 84px; }

/* 管理バー対策 */
.admin-bar .siteHeader{ top: 32px; }
@media (max-width: 782px){
  .admin-bar .siteHeader{ top: 46px; }
}



/* =========================
   Header: font size up + height up
   ========================= */

/* ヘッダーの高さ（上下の余白） */
.siteHeaderInner{
  padding: 18px 30px; /* ←高さはここで調整 */
}

/* ロゴ（Ryuto Design） */
.siteLogoMain{
  font-size: 32px;   /* ←大きさ */
  line-height: 1.1;
}

/* メニュー文字（Home/About/Work/Skill/Contact） */
.siteNavList a{
  font-size: 26px;   /* ←大きさ */
  padding: 10px 12px; /* ←クリックしやすく + 高さにも効く */
}

/* メニューの行間 */
.siteNavList{
  gap: 30px; /* flexなら効く。効かなければ後述で対応 */
}

/* =========================
   Header menu hover color
   ========================= */
.siteNavList a{
  transition: color .2s ease, opacity .2s ease;
}

.siteNavList a:hover{
  color: #e08888;       /* ←ホバー時の文字色（好きな色に変えてOK） */
  opacity: .85;      /* ←ほんの少しだけ雰囲気出す */
}

.siteLogoMain,
.siteLogoSub{
  transition: color .2s ease, opacity .2s ease;
}

.siteLogo:hover .siteLogoMain{
  color: #e08888;     /* 好きな色に */
}

.siteLogo:hover .siteLogoSub{
  opacity: .85;
}

/* =========================
  FIX: 固定ヘッダー追加後に
  トップ見出し( Ryuto Design / 納得できる〜 / 横線 )が下がったのを戻す
========================= */

/* トップだけ、ヘッダー分の押し下げを相殺 */
.home .introScreen,
.front-page .introScreen {
  margin-top: calc(var(--headerH, 70px) * -1);
}

.home .introScreen .introTitle,
.home .introScreen .introTagline {
  transform: translateY(-12px);
}

/* ② 上：線から上へフェードイン（開始は線が伸びた後） */
.introTitle{
  font-size: clamp(62px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: 0.02em;

  opacity: 0;
  transform: translateY(14px); /* 線に寄せておいて… */
  animation: introTitleUp 0.65s ease forwards;
  animation-delay: 1.3s; /* ←線が終わったら同時に開始 */
}

/* ③ 下：線から下へフェードイン（上と同時） */
.introTagline{
  font-size: clamp(24px, 2vw, 18px);
  letter-spacing: 0.03em;

  opacity: 0;
  transform: translateY(-14px); /* 線に寄せておいて… */
  animation: introTaglineDown 0.65s ease forwards;
  animation-delay: 1.3s; /* ←上と同時に開始 */
}

/* keyframes */
@keyframes introLineGrow{
  to { transform: scaleX(1); }
}

@keyframes introTitleUp{
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introTaglineDown{
  to { opacity: 1; transform: translateY(0); }
}

/* ====== Intro（最初のRyuto Design部分） ====== */
.introTitle{
  opacity: 0;
  transform: translateY(18px); /* ← ここがポイント：下にズラす（下→上に出る） */
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.introTagline{
  opacity: 0;
  transform: translateY(-18px); /* ← 上にズラす（上→下に出る） */
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: .12s; /* タイトルの後に出したい場合 */
  will-change: opacity, transform;
}

/* 表示状態（is-show は既存の仕組みに合わせて変えてOK） */
.introScreen.is-show .introTitle,
.introScreen.is-show .introTagline{
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.introTitle{
  animation: fadeUp 0.65s ease both;
  animation-delay: 1.3s;
}

.introTagline{
  animation: fadeDown 0.65s ease both;
  animation-delay: 1.3s;
}

/* ===== Marker: 若め・ポップな蛍光マーカー ===== */
.marker {
  padding: 0 0.12em;
  border-radius: 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* レモンイエロー（ポップで安っぽくなりすぎない蛍光感） */
.marker--lemon {
  background-image: linear-gradient(
    transparent 62%,
    rgba(246, 114, 109, 0.848) 0
  );
}

/* ミント（軽さ・若さ） */
.marker--mint {
  background-image: linear-gradient(
    transparent 62%,
    rgba(246, 114, 109, 0.848)0
  );
}

/* ちょい「手書きっぽさ」出したい時（任意） */
.marker--lemon,
.marker--mint {
  filter: saturate(1.05);
}

/* =========================
   SKILL 右ドロワーの幅を広げる
   ========================= */

/* 好きな幅に調整：最小420px / 画面の46% / 最大760px */
.skillPage{
  --drawerW: clamp(440px, 50vw, 860px);
}

/* 右パネル本体 */
.skillDrawer{
  width: var(--drawerW);
  max-width: var(--drawerW);
}

/* 中身が変に制限されてる時の保険 */
.skillDrawerInner{
  width: 100%;
  max-width: none;
}

/* 背景オーバーレイ側がドロワーの下に潜り込むのを防ぐ（必要なら） */
.skillDrawerOverlay{
  padding-right: var(--drawerW);
}

/* スマホは全幅にする */
@media (max-width: 900px){
  .skillPage{ --drawerW: 100vw; }
  .skillDrawer{ width: 100vw; max-width: 100vw; }
  .skillDrawerOverlay{ padding-right: 0; }
}

/* =========================================================
   Skill drawer：特定Lottie（skill1/about2/about4/skill2）
   明るく ＋ 少し中央寄せ（最終上書き）
========================================================= */

/* 共通：ちょい明るく */
.skillDrawer .panelLottie .panelLottiePlayer{
  filter: brightness(1.22) contrast(1.06) saturate(1.06) !important;
  opacity: 1 !important;
  display: block !important;
}

/* skill1.json（lp） */
.skillDrawer .panelLottie .panelLottiePlayer--lp{
  transform: translateX(-80px) translateY(40px) scale(1.2) !important;
  transform-origin: top right !important;
}

/* about2.json（banner） */
.skillDrawer .panelLottie .panelLottiePlayer--banner{
  transform: translateX(-40px) translateY(40px) scale(1.2) !important;
  transform-origin: top right !important;
}

/* about4.json（wp） */
.skillDrawer .panelLottie .panelLottiePlayer--wp{
  transform: translateX(-40px) translateY(30px) scale(1.2) !important;
  transform-origin: top right !important;
}

/* skill2.json（flow） */
.skillDrawer .panelLottie .panelLottiePlayer--flow{
  transform: translateX(-40px) translateY(20px) scale(1.2) !important;
  transform-origin: top right !important;
}

/* banner（about2.json）だけ：中央寄せ + 大きく + 見た目ちょい明るく */
.skillDrawerPanel[data-skill-panel="banner"] .panelLottie{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: visible !important; /* クリップされてたら解除 */
}

.skillDrawerPanel[data-skill-panel="banner"] lottie-player.panelLottiePlayer--banner{
  width: 280px !important;      /* ←ここで確実にサイズが変わる */
  height: 280px !important;
  max-width: none !important;   /* max-width制限があっても突破 */
  transform: translateX(-220px) translateY(255px) scale(2.5) !important;
  transform-origin: center !important;
  filter: brightness(1.12) saturate(1.05) !important; /* 明るく */
}

/* skill1.json（lp）だけ発色を落ち着かせる */
.skillDrawer .panelLottie .panelLottiePlayer--lp{
  transform: translateX(-80px) translateY(40px) scale(1.2) !important;
  transform-origin: top right !important;

  /* ← ここ追加（全体filterをlpだけ上書き） */
  filter: brightness(1.10) contrast(1.02) saturate(0.85) !important;
}

/* ✅ 上の「SKILL / できること」ブロックだけ：枠（背景カード感）を消す */
.skillPage .skillHero{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 枠が疑似要素で出てるパターンも潰す */
.skillPage .skillHero::before,
.skillPage .skillHero::after{
  content: none !important;
  display: none !important;
}

/* Contact：textarea の手動リサイズを無効化して固定 */
.contactPage .contactForm textarea#message{
  resize: none !important;      /* ← つまみ消える＆伸縮できなくなる */
  width: 100% !important;       /* 幅はフォームに合わせる */
  max-width: 100% !important;   /* 横に広がるのも防ぐ */
  box-sizing: border-box;
}

/* Aboutページ：フォーム内だけ（より安全） */
.aboutPage form textarea{
  resize: none !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* 【PC含む全幅】CONCEPTカードだけ細いのを解消（自己紹介カードに揃える） */
.aboutPage .aboutConceptCard.is-circle{
  width: 100% !important;
  max-width: 1120px !important;   /* ←自己紹介カードの幅に合わせて調整 */
  margin-inline: auto !important;
}

/* 親側に幅制限があるケースも潰す */
.aboutPage .aboutConceptSection,
.aboutPage .aboutConceptWrap{
  width: 100% !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}

/* 【スマホ】は今まで通りでもOK（むしろ不要なら消してもOK） */
@media (max-width: 900px){
  .aboutPage .aboutConceptCard.is-circle{
    max-width: 100% !important;
  }
}

/* === Works page === */
.worksHero { margin: 12px 0 18px; }
.worksTitle { font-size: 34px; margin: 0; }
.worksLead { margin: 8px 0 0; opacity: .85; }

.worksFilters { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 22px; }
.filterBtn {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
}
.filterBtn.is-active {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}

.workBadge{
  position:absolute; top:12px; left:12px; z-index:2;
  font-size:12px; padding:6px 10px; border-radius:999px;
  background: rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.workCard .workMedia { position: relative; overflow: hidden; }
.workNoThumb { width: 100%; aspect-ratio: 16/9; background: rgba(255,255,255,.06); }

.worksCta{
  margin-top: 42px;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.worksCtaBtn{
  display:inline-block; padding:10px 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  text-decoration:none;
}

.workSingle { padding: 32px 0 70px; }
.workSingleThumb img { width: 100%; border-radius: 18px; display: block; }
.workSingleNav { display:flex; justify-content:space-between; gap:12px; margin-top:28px; }
.workSingleBack, .workSingleContact{
  display:inline-block; padding:10px 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  text-decoration:none;
}
.workSingleContact{ background: rgba(255,255,255,.14); }

/* =========================
   Works Accordion
========================= */
.worksPage { padding: 24px 0 64px; }

.worksHero { padding: 12px 0 18px; }
.worksTitle { font-size: 28px; letter-spacing: .04em; margin: 0 0 8px; }
.worksLead { opacity: .85; margin: 0; }

.worksAccordion { display: grid; gap: 12px; margin-top: 18px; }

.workAcc {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  overflow: clip;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}

.workAccSummary {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 14px;
  padding: 14px;
  cursor: pointer;
  align-items: center;
  user-select: none;
  list-style: none;
}
.workAccSummary::-webkit-details-marker { display:none; }

.workThumb {
  width: 140px;
  height: 92px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
}
.workThumb img { width: 100%; height: 100%; object-fit: cover; display:block; }
.workThumb.isDemo { background: rgba(255,255,255,.10); }
.workThumbPh { font-size: 12px; letter-spacing: .14em; opacity: .75; }

.workSumMain { min-width: 0; }
.workSumTop { display:flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.workName { margin: 0; font-size: 16px; line-height: 1.3; }
.workType {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  white-space: nowrap;
}

.workLead { margin: 6px 0 0; opacity: .82; font-size: 13px; line-height: 1.55; }
.workChips { display:flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chip {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  opacity: .9;
}

.workChevron {
  opacity: .75;
  font-size: 18px;
  transform: translateY(-1px);
  transition: transform .18s ease;
}
.workAcc[open] .workChevron { transform: rotate(180deg); }

.workAccBody { padding: 0 14px 14px; }
.workBodyGrid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.workBodyMain :is(p,li) { line-height: 1.8; }
.workBodyMain p { margin: 0 0 10px; }

.workFacts { margin: 0; }
.workFacts .fact {
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius: 14px;
  margin-bottom: 10px;
}
.workFacts dt { opacity: .75; }
.workFacts dd { margin: 0; text-align: right; }
.workFacts a { text-decoration: underline; }

.worksEmptyNote { margin-top: 10px; opacity: .75; font-size: 13px; }

.worksCta {
  margin-top: 26px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}
.worksCtaTitle { margin: 0 0 6px; font-size: 18px; }
.worksCtaLead { margin: 0 0 12px; opacity: .85; }
.worksCtaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  text-decoration: none;
}

@media (max-width: 900px) {
  .workAccSummary { grid-template-columns: 110px 1fr auto; }
  .workThumb { width: 110px; height: 78px; }
  .workBodyGrid { grid-template-columns: 1fr; }
}

/* Filter */
.worksFilter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.filterBtn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: inherit;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  opacity: .9;
}

.filterBtn.is-active {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
  opacity: 1;
}

.workAcc.is-hidden { display: none; }

.worksNoMatch {
  margin: 14px 0 0;
  opacity: .8;
  font-size: 13px;
}

.worksTabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 26px;
}

.worksTab{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:inherit;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}

.worksTab:hover{ transform: translateY(-1px); }

.worksTab.is-active{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.32);
}

/* WORKS タイトルを大きく */
.worksHero .worksTitle{
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}



/* works：リード文を下に下げる */
.worksPage .worksLead{
  margin-top: 15px;   /* ←上に余白を作って下に“押し出す” */
}

/* works：タブ（すべて/HP/LP/バナー）を下に下げる */
.worksPage .worksTabs{
  margin-top: 18px;   /* ←リード文との間隔 */
}

/* さらに全体（タイトル〜リード〜タブ）をまとめて下げたい時 */
.worksPage .worksHero{
  padding-bottom: 15px; /* 下に少し余白 */
}


/* Works：ボタン（すべて/HP/LP/バナー）→ 一覧の間を詰める */
.worksPage .worksTabs{
  margin-bottom: 0px; /* ←ここを小さくすると上の空白が減る */
}

/* Works：アコーディオンの上余白がある場合はゼロ or 少なめに */
.worksPage .worksAccordion{
  margin-top: 0;
}

/* それでも空くなら「最初のカードだけ」上余白を消す */
.worksPage .worksAccordion > .workAcc:first-child{
  margin-top: 0;
}

/* Works：タブ（すべて/HP/LP/バナー）直下の余白をゼロに */
.worksPage .worksTabs{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 次のブロック（アコーディオン）側の上余白もゼロに */
.worksPage .worksAccordion{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 念のため：タブ内ボタン自体の下余白が影響してるケースを潰す */
.worksPage .worksTabs .worksTab{
  margin-bottom: 0 !important;
}

/* =========================
   Works：フィルターボタン下の余白を消す（上書き）
   ※style.css の一番下に貼る
========================= */

/* ボタン列の親（あなたのHTMLのクラスに合わせて広めに拾う） */
.worksFilter,
.workFilter,
.worksFilters,
.workFilters,
.filterBar,
.filterBtns{
  margin: 0 !important;
  padding: 0 !important;

  /* inline由来の下の隙間を消す定番 */
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  line-height: 1 !important;
}

/* もし ul/li で作ってる場合の “デフォ余白” を殺す */
.worksFilter ul,
.workFilter ul,
.worksFilters ul,
.workFilters ul,
.filterBar ul,
.filterBtns ul{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* ボタン行の直下（グリッド等）に margin-top が付いてるとスキマになるので殺す */
.worksFilter + *,
.workFilter + *,
.worksFilters + *,
.workFilters + *,
.filterBar + *,
.filterBtns + *{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
