/* FP SYSTEM LP Skeleton
   方針：デザインは後で削ぎ落とし＆肉付けする前提で、骨組みを崩さない
*/

:root{
  --bg: #e1e1e1;
  --panel: #465dd0;
  --text: #05050593; /*title*/
  --muted: #1b1b1b; /*text*/
  --subtitle: #ffffffe6;
  --line: rgba(255,255,255,.12);
  --accent: #dad71f;
  --accent2: #ec542e;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --container: 1120px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: radial-gradient(1100px 600px at 20% 0%, rgba(119, 187, 255, 0.14), transparent 60%),
              radial-gradient(900px 560px at 80% 10%, rgba(255, 236, 63, 0.14), transparent 60%),
              var(--bg);
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  
}

.section{ padding: 84px 0; }
.section-head{ margin-top: -52px; }
.section-head h2{ margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 34px); }
.section-sub{ margin: 0; color: var(--muted); }

.small{ font-size: 0.95rem; color: var(--muted); }
.note{ margin-top: 10px; color: var(--muted); font-size: 0.92rem; }

.skip-link{
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  transform: translateY(-120%);
}
.skip-link:focus{ transform: translateY(0); }

.site-header{
  position: fixed; /*sticky*/
  top: 0;
  width: 100%;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(14, 110, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}
.brand img{
  padding: 1px;
  background-color: #0022a9ca;


  place-items: center;
  border-radius: 6px;
  text-decoration: none;
}
.brand a{ display: inline-flex;
   align-items: center;
   text-decoration: none;
   margin: 0 0 8px 10px;

  }
.brand-mark{
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(234, 255, 0, 0.794), rgba(255, 251, 0, 0.852));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 700;
}
.brand-name{ font-weight: 600;
  font-size: 2em;
  line-height: 1.6em;
  color: #ffffffe1;
  text-shadow: 0 0 10px #ffffff,
    0 0 20px #52abff,
    0 0 30px #177ac6,
    0 0 40px #005ccc
}

.nav{ display: flex; align-items: center; gap: 12px; }
.nav-toggle{
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}
.nav-toggle-lines{
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-lines::before{ top: -6px; }
.nav-toggle-lines::after{ top: 6px; }

.nav-menu{
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
  align-items: center;
}
.nav-menu a{ color: var(--muted); }
.nav-menu a:hover{ color: var(--text); text-decoration: none; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(255, 192, 20, 0.811), rgba(255, 226, 4, 0.793));
  box-shadow: var(--shadow);
  text-decoration: none !important;
  font-weight: 650;
}
.btn:hover{ filter: brightness(1.06); }
.btn-ghost{
  color: #1b3f00;
  background: rgba(170, 204, 21, 0.556);
  box-shadow: var(--shadow);
  
}
.btn-small{ 
  padding: 10px 12px;
  background: #f4d24a;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,60,120,0.12);
  font-weight: 700;
 }

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.hero{ padding-top: 64px; }
.hero-inner{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}
.eyebrow{
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .91rem;
  margin: 0 0 8px;
}
.hero h1{
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
}
.lead{ margin: 0 0 18px; color: var(--muted); font-size: 1.35rem; }
.cta-row{ display: flex; gap: 12px; flex-wrap: wrap; margin: 15px 0 0 0; }

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 18px 0 0;
}

.hero-badges li{
  padding: 10px 10px 10px 20px;
  font-size: .92rem;
  
  display: inline-block;
  text-decoration: none;
  background:  rgba(45, 153, 255, 0.837);
  color: var(--muted);
  color: #fbff00;
  width: 240px;
  height: 38px;
  margin: 5px 0px 15px 40px;
  line-height: 15px;
  border-radius: 5px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0px 0px 0px 5px #3794ffdd;
  border: dashed 1px #FFF;
  
}
.hero-badges li:hover{
  color: #fff;
  padding: 10px;
  background: #668ad8;
  box-shadow: 0px 0px 0px 5px #668ad8;
}


/* 右側のカード全体（外側） */
.hero-visual .visual-card{
  /* “黄色い面”は残しつつ、くどくならないように整える */
  background: linear-gradient(
    180deg,
    rgba(252, 255, 163, 0.42),
    rgba(252, 255, 163, 0.26)
  );
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 14px;

  /* 黒影ではなく“青み影”でサイトのブルーと馴染ませる */
  box-shadow:
    0 18px 44px rgba(0, 60, 120, 0.16),
    0 2px 0 rgba(255,255,255,0.45) inset;
}

/* メディア枠（動画の器） */
.hero-visual .visual-card .visual-grid{
  background: #fff;
  border-radius: 14px;
  overflow: hidden; /* 角丸を中身に効かせる */
  border: 1px solid rgba(0,0,0,0.06);

  /* “画面”らしい立体感は軽く */
  box-shadow:
    0 12px 26px rgba(0, 60, 120, 0.10);

  /* “動画枠”っぽい比率に統一（画像でもOK） */
  aspect-ratio: 16 / 12;
  display: grid;
  place-items: center;
}

/* 画像を動画枠いっぱいに（将来 video/iframe にしても同じ思想） */
.hero-visual .visual-card .visual-grid img{
  width: 100%;
  height: 100%;
  object-fit: cover;  /* 枠にフィット */
  display: block;
}

/* キャプション（控えめ＆整列） */
.hero-visual .visual-caption{
  margin: 10px 4px 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(0,0,0,0.70);
  letter-spacing: 0.02em;
}

/* hoverで“再生できそう感”をほんの少し（不要なら削除OK） */
.hero-visual .visual-card:hover{
  box-shadow:
    0 22px 56px rgba(0, 60, 120, 0.18),
    0 2px 0 rgba(255,255,255,0.50) inset;
  transform: translateY(-1px);
  transition: 180ms ease;
}

p.sendtoblog { font-size: 1.3em; text-align: right;}

.visual-block{
  height: 92px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.visual-caption{ margin: 0; color: var(--muted); font-size: .92rem; }

.hero-anchor{
  display: grid;
  place-items: center;
  padding-top: 28px;
}
.hero-anchor a{
  color: #7b0000;
  border: 1px solid var(--line);
  background: rgba(226, 7, 7, 0.497);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* Cards */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  border: 1px solid var(--line);
  background: rgba(102, 144, 34, 0.497);
  border-radius: var(--radius);
  color: var(--subtitle);
  padding: 18px;
}
.card h3{ margin: 0 0 10px; font-size: 1.1rem; }
.card ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.card li{ margin: 6px 0; }

/* Pills */
.pill-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  border: 1px solid var(--line);
  background: rgba(167, 196, 38, 0.515); /*syookugyou color*/
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
}

/* Work */
.work-box{
  border: 1px solid var(--line);
  background: rgba(13, 97, 199, 0.55);
  color: var(--subtitle);
  border-radius: var(--radius);
  padding: 18px;
}
.work-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.work-box h3{ margin: 0 0 12px; }
.work-box h4{ margin: 0 0 8px; color: var(--text); }
.work-box ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.work-box li{ margin: 6px 0; }

/* Steps */
.steps{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.steps li{
  border: 1px solid var(--line);
  background: rgba(18, 95, 189, 0.55);
  color:  var(--subtitle);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.steps h3{ margin: 0 0 6px; font-size: 1.05rem; }
.steps p{ margin: 0; color: var(--muted); }

/* Posts */
.posts{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.post{
  border: 1px solid var(--line);
  background: rgba(17,22,28,.55);
  border-radius: var(--radius);
  padding: 16px;
}
.post h3{ margin: 0 0 8px; font-size: 1.02rem; }
.post time{ color: var(--muted); font-size: .92rem; }
.post p{ color: var(--muted); margin: 10px 0 0; }
.post-skeleton{
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--muted);
}

.center{ display: grid; place-items: center; margin-top: 16px; }

/* FAQ */
.faq details{
  border: 1px solid var(--line);
  background: rgba(227, 233, 240, 0.808);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 10px 0;
}
.faq summary{ cursor: pointer; font-weight: 650; }
.faq p{ margin: 10px 0 0; color: var(--muted); }

/* Contact */
.contactformbg{
  width: 1300px;
  height: 800px;
  margin: 0 auto;
  background: url('../img/6ab97f93-f66f-49f0-87c9-50b2e38f3196.png');
}
.contact-form{
  border: 1px solid var(--line);
   /*formbg
   background: rgba(191, 179, 0, 0.55);*/
  
  height: 800px;
  border-radius: var(--radius);
  padding: 18px;
}

.field{ display: grid; gap: 8px; margin-bottom: 14px; }
label{ color: var(--muted); }
input, textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(28, 98, 228, 0.04);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
}
input:focus, textarea:focus{
  outline: 2px solid rgba(110,231,255,.28);
  border-color: rgba(110,231,255,.35);
}

/* Footer border-top: 1px solid var(--line); background: rgba(9, 124, 255, 0.829); */
.site-footer{
  text-align: center;
  padding: 28px 0 18px;
  background-image: linear-gradient(#0e52dcdb,#1d95ffdb);
}
.footer-brand{ 
  
  padding: 150px 0 0 0;
  text-align: center;}
.footer-brand .brand-mini{
  font-size: 29px;
  color: #ffffffed;
}
.footer-brand p{
  color: #fff;
}
div.contactformbg h2{
  text-align: center;
  
}
div.contactformbg label{
  margin: 0 0px 0 24px;
}
div.contactformbg p.section-sub{
  text-align: center;
}
.contactformbg2{
  width: 1300px;
  height: 300px;
  margin: -90px auto 0 auto;
  background: url('../img/f5aac666-aa59-488d-8932-adac9eae1124bg.png');
}
.footer-inner{
  color: #ffffffe6;
  /*
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  
  */
  gap: 18px;
}
.footer-links{
  /*
  display: flex;
  flex-wrap: wrap;
  
  */
  gap: 12px;
}
.footer-links a{ color:#ffffffe6; }
.footer-links a:hover{ color: var(--text); text-decoration: none; }
.footer-bottom{ padding-top: 10px; }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .posts{ grid-template-columns: 1fr; }
  .work-grid{ grid-template-columns: 1fr; }
  .nav-toggle{ display: inline-flex; }
  .nav-menu{
    display: none;
    position: absolute;
    right: 20px;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(28, 93, 191, 0.92);
    box-shadow: var(--shadow);
    min-width: 220px;
  }
  .nav-menu.is-open{ display: flex; }
}


/*JSobject slidegazo*/
/* ===== Divider Trace ===== */
.divider-trace{ padding: 0 0 0px 15%; }

.trace-wrap{
  position: relative;
  max-width: 1200px;
  margin: -50px auto 0 auto;
  border-radius: 18px;
  overflow: hidden;
  /* 白背景で“区切り”として成立させる */
  /*border: 1px solid rgba(0,0,0,.10);*/
}

/* 線画ベース：白背景では「少し濃い」方が安定 */
.trace-base{
  display:block;
  width:80%;
  height:auto;
  opacity: 1;
  /* 線が薄い場合、ここで見やすくする */
  filter: contrast(1.25) brightness(.85);
}

/* 色を乗せるインク層（線部分だけ出る） */
.trace-ink{
  position:absolute;
  inset:0;
  pointer-events:none;

  /* 目立つ“色変化” */
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    rgba(59,130,246,.0) 25%,
    rgba(59,130,246,.95) 45%,
    rgba(168,85,247,.95) 62%,
    rgba(34,197,94,.75) 78%,
    rgba(0,0,0,0) 100%
  );

  /* スクロールで左→右へ移動 */
  transform: translateX(var(--trace-x, -70%));
  opacity: var(--trace-opacity, 0);

  /* 白背景で“線に色が乗った”を強調 */
  mix-blend-mode: multiply;

  /* PNGマスクで線部分だけ表示 */
  -webkit-mask-image: var(--trace-mask);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: var(--trace-mask);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  /* 発光：白背景でも見えるようにドロップシャドウ */
  filter:
    drop-shadow(0 0 10px rgba(59,130,246,.55))
    drop-shadow(0 0 14px rgba(168,85,247,.35));
}

/* スキャン光（帯が通るので“動いてる感”が強い） */
.trace-scan{
  position:absolute;
  inset:-10% 0;
  pointer-events:none;

  width: 38%;
  transform: translateX(var(--scan-x, -120%)) skewX(-12deg);
  opacity: var(--scan-opacity, 0);

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.0) 20%,
    rgba(255, 254, 240, 0.85) 50%,
    rgba(255,255,255,.0) 80%,
    rgba(255,255,255,0) 100%
  );

  /* 白背景でも見えるように少し影 */
  filter: blur(1.2px) drop-shadow(0 0 10px rgba(0,0,0,.15));
  mix-blend-mode: overlay;
}

/* “浮き”演出（軽いパララックス） */
.trace-wrap{
  transform: translateY(var(--lift-y, 0px));
  transition: transform 120ms linear;
}

@media (prefers-reduced-motion: reduce){
  .trace-ink, .trace-scan{ display:none; }
}


.visual-grid img {
  display: block;
  opacity: 1;
  visibility: visible;
}


/*WPinc*/

article.posttop{
  width: 350px;
  padding: 20px 10px;
  font-size: 0.85rem;
  background-color: #d5e6ff7b; /*#82d1588b*/
  color: #666;
  margin-bottom: 4px;
  border-radius: 12px;
  box-shadow: var(--shadow);

  /* カード全体を縦に並べる */
  display: flex;
  flex-direction: column;
}

/* 画像は同じ高さでトリミング */
article.posttop img{
  width: 100%;
  height: 180px;      /* ★ここを揃えたい高さに調整（例: 180〜220px） */
  margin-top: 0;
  object-fit: cover;  /* 画像の中心付近でトリミング */
  display: block;
}
article.posttop div.sumposts{
  height: 100%;
  padding: 10px;
  background-color: #ffffff8b;
}


article.posttop div.post-meta{
  text-align: right;
}

/* 既存 */
.section-blog {
  padding: 40px 0;
}

.blog-list {
  display: grid;
  gap: 20px;
}

/* タイトルや本文はそのままでOK */
.blog-item-title {
  font-size: 1.1rem;
  margin: 0 0 2px;
  
}

.blog-item-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  background: #ffffffa4;
}

