@charset "UTF-8";
/* fonts */
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&subset=japanese");
:root {
  /* === Color Palette === */
  --brand: #2474b5;       /* 基本の青 */
  --brand-dark: #1a548b;  /* 濃い青 */
  --brand-light: #f4f9ff; /* 背景用薄い青 */
  --navy: #172554;        /* Webコネクト用ネイビー */
  
  /* Accent */
  --accent: #f08080;      /* ライトコーラル */
  
  /* グラデーション定義 */
  --gradient-hub: linear-gradient(135deg, #2474b5 0%, #f08080 100%);
  --gradient-prism: linear-gradient(90deg, rgba(36,116,181,0.08) 0%, rgba(240,128,128,0.15) 50%, rgba(36,116,181,0.08) 100%);
  
  /* Text */
  --text: #334155;
  --text-light: #64748b;  
  --text-blue: #2474b5;
  --white: #ffffff;
  
  /* UI */
  --radius: 20px;
  --shadow: 0 10px 40px -10px rgba(36, 116, 181, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  background: var(--white);
}

/* Scroll Reveal */
.js-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-fade-up.is-shown {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* ===== Layout Utility ===== */
section {
  padding: 100px 24px;
  position: relative;
  scroll-margin-top: 60px;
}

#diagram {
  padding: 40px 24px 20px;
}

.inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }

/* 背景色の切り替え */
.bg-white { background: var(--white); }
.bg-blue  { background: var(--brand-light); }

/* 省略：以下のコードも同様に波括弧やコロンの間に適切なスペースを入れると認識されやすくなります */

/* ===== Header ===== */

.site-header{

  position:sticky; top:0; z-index:1000;

  background:rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(10px);

  border-bottom:1px solid #e2e8f0;

}

.header-inner{

  max-width:1100px; margin:0 auto; padding:14px 24px;

  display:flex; align-items:center; justify-content:space-between;

}

.header-logo{height:50px;}

.header-nav{display:flex;align-items:center;gap:28px;}



.header-nav a{

  text-decoration:none; 

  font-size:14px; 

  font-weight:700; 

  color: var(--text-blue);

  transition: opacity 0.3s;

}

.header-nav a:hover{ opacity: 0.7; } 



.header-nav .nav-cta{

  padding:10px 24px;

  border-radius:999px;

  background: var(--gradient-hub);

  color: #fff !important;

  font-weight: 700;

  box-shadow: 0 4px 10px rgba(240, 128, 128, 0.3);

  transition: transform 0.3s, box-shadow 0.3s;

}

.header-nav .nav-cta:hover{

  transform: translateY(-1px);

  box-shadow: 0 6px 15px rgba(240, 128, 128, 0.4);

  opacity: 0.9;

}



/* ===== Hamburger Menu ===== */

.hamburger{

  display:none; 

  width:40px; height:40px; 

  background:none; border:none; 

  cursor:pointer; 

  position:relative; 

  z-index: 1200;

}

.hamburger span{

  position:absolute; left:8px; right:8px; height:2px; 

  background:var(--brand); 

  transition:all .3s;

}

.hamburger span:nth-child(1){ top:12px; }

.hamburger span:nth-child(2){ top:19px; }

.hamburger span:nth-child(3){ top:26px; }



.hamburger.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); background: var(--text); }

.hamburger.is-open span:nth-child(2){ opacity:0; }

.hamburger.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); background: var(--text); }



@media(max-width:768px){

  .hamburger{ display:block; }

  

  .header-nav{

    position:fixed; 

    top:0; left:0; right:0; bottom:0;

    width: 100%; height: 100vh;

    background:#ffffff;

    flex-direction:column; 

    justify-content:center; 

    align-items: center;

    padding:40px;

    gap: 30px;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease; 

    z-index: 1100;

  }

  

  .header-nav.is-open{ 

    opacity: 1;

    visibility: visible;

  }

  

  .header-nav a{ 

    font-size: 18px; 

    width: auto;

    text-align: center; 

    color: var(--text);

  }

  

  .header-nav .nav-cta { 

    margin-top: 10px; 

    width: 100%; 

    max-width: 280px;

    text-align: center;

  }

}



/* ===== Typography ===== */

.section-head {

  position: relative;

  text-align: left;

  margin-bottom: 20px;

  padding-top: 20px;

  padding-left: 10px;

}



.section-en-bg {

  position: absolute;

  top: -35px;

  left: -5px;

  font-family: 'Impact', sans-serif;

  font-size: clamp(80px, 15vw, 120px);

  line-height: 1;

  z-index: 0;

  pointer-events: none;

  white-space: nowrap;

  background: var(--gradient-prism);

  -webkit-background-clip: text;

  color: transparent;

  background-size: 200% 100%;

  animation: prismWave 8s ease-in-out infinite alternate;

}



@keyframes prismWave {

  0% { background-position: 0% 50%; }

  100% { background-position: 100% 50%; }

}



.section-jp {

  position: relative;

  z-index: 1;

  font-size: clamp(24px, 4vw, 32px);

  font-weight: 800;

  color: var(--text);

  margin: 0;

  display: inline-block;

}



.section-jp::after {

  content: ""; display: block; 

  width: 60px; height: 5px;

  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%); 

  margin-top: 12px;

  border-radius: 99px;

}



/* ===== HERO (PC設定) ===== */

.hero {

  position: relative;

  width: 100%;

  min-height: 600px;

  background-color: #ffffff; 

  display: flex;

  align-items: center;

  padding: 80px 0;

  z-index: 1;

}



.hero-visual {

  position: absolute;

  top: 0; left: 0; width: 100%; height: 100%;

  background-image: url('https://valueconnect.forcia.com/assets/valueconnecttop.jpg'); 

  background-size: cover;

  background-position: center center;

  background-repeat: no-repeat;

  background-color: #f0f9ff;

  z-index: 0;

  overflow: hidden; 

}



/* ===== ふわ〜と左から右へ流れる粒子の表現 ===== */

.hero-bg-glows {

  position: absolute;

  top: 0; left: 0;

  width: 100%; height: 100%;

  pointer-events: none; 

}



.glow {

  position: absolute;

  border-radius: 50%;

  filter: blur(60px); 

  opacity: 0; 

  animation: driftRight linear infinite;

  will-change: transform, opacity;

}



.glow-1 { width: 400px; height: 400px; background: #bae6fd; top: 5%; left: -400px; animation-duration: 10s; animation-delay: 0s; }

.glow-2 { width: 550px; height: 550px; background: #fbcfe8; top: 40%; left: -550px; animation-duration: 12s; animation-delay: 2s; }

.glow-3 { width: 450px; height: 450px; background: #c7d2fe; top: -10%; left: -450px; animation-duration: 10s; animation-delay: 6s; }

.glow-4 { width: 350px; height: 350px; background: #fed7aa; bottom: 5%; left: -350px; animation-duration: 11s; animation-delay: 8s; }



@keyframes driftRight {

  0% { transform: translateX(0) translateY(0) scale(0.8); opacity: 0; }

  15% { transform: translateX(15vw) translateY(10px) scale(0.9); opacity: 0.8; }

  35% { transform: translateX(35vw) translateY(20px) scale(1.0); opacity: 0.8; }

  55% { transform: translateX(55vw) translateY(30px) scale(1.1); opacity: 0; }

  100% { transform: translateX(120vw) translateY(-20px) scale(0.9); opacity: 0; }

}



.scroll-prompt { display: none; }



.hero-inner {

  max-width: 1100px;

  width: 100%;

  margin: 0 auto;

  position: relative;

  z-index: 2;

  display: flex;

  justify-content: flex-start; 

}



.hero-content {

  max-width: 540px; 

  text-align: left;

  padding-right: 20px;

}



.hero-catch {

  font-size: 22px;

  font-weight: 700;

  color: var(--text);

  margin-bottom: 20px;

  letter-spacing: 0.05em;

}



.hero-title {

  font-size: clamp(36px, 5vw, 54px); 

  font-weight: 800;

  color: var(--text);

  line-height: 1.2;

  margin-bottom: 30px;

  letter-spacing: 0.02em;

}



.hero-desc {

  font-size: 18px;

  color: var(--text-light);

  line-height: 1.8;

  margin-bottom: 40px;

  font-weight: 500;

}



.hero-btn {

  display: inline-block;

  padding: 16px 48px;

  background: var(--gradient-hub);

  color: #fff;

  font-size: 18px;

  font-weight: 700;

  text-decoration: none;

  border-radius: 999px;

  box-shadow: 0 10px 25px rgba(240, 128, 128, 0.4);

  transition: all 0.3s ease;

}



.hero-btn:hover {

  transform: translateY(-3px);

  box-shadow: 0 15px 35px rgba(240, 128, 128, 0.5);

  opacity: 0.95;

}





/* === スマートフォン向けの調整 === */

@media(max-width: 900px) {

  .hero {

    display: block; 

    min-height: auto;

    padding: 0;

  }

  

  .hero-visual {

    position: relative; 

    height: 100svh; 

    background-position: 70% center; 

  }



  .scroll-prompt {

    display: block;

    position: absolute;

    bottom: 30px;

    left: 50%;

    color: var(--text);

    text-align: center;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.1em;

    /* ▼ 修正点: なめらかに上下にフワフワ動くアニメーションを追加 ▼ */

    animation: floatUpDown 2s ease-in-out infinite;

    z-index: 10;

  }

  .scroll-prompt i {

    display: block;

    font-size: 24px;

    margin-top: 5px;

  }



  .hero-inner {

    padding: 40px 24px; 

    background-color: #ffffff; 

  }



  .hero-content {

    max-width: 100%;

    text-align: center; 

    padding: 0;

    background: transparent;

    backdrop-filter: none;

    -webkit-backdrop-filter: none;

    box-shadow: none;

  }



  .hero-catch { font-size: 18px; margin-bottom: 15px; }

  .hero-title { font-size: 32px; margin-bottom: 20px; }

  .hero-title br { display: block; } 

  

  .hero-desc {

    font-size: 15px; margin-bottom: 30px; text-align: left; display: inline-block;

  }

  .hero-desc br { display: block; } 

  

  .hero-btn { width: 100%; max-width: 320px; padding: 14px 30px; font-size: 16px; }

}



/* ▼ 新規追加: スクロールアイコン用のフワフワアニメーション ▼ */

@keyframes floatUpDown {

  0% { transform: translate(-50%, 0); }

  50% { transform: translate(-50%, 15px); } /* 15px下に下がる */

  100% { transform: translate(-50%, 0); }

}



/* ===== About ===== */

.about-box {

  background: #fff;

  border-radius: var(--radius); padding: 20px 20px; position: relative; overflow: hidden;

  box-shadow: var(--shadow);

}

.about-box::after {

  content: '\f178'; font-family: FontAwesome;

  position: absolute; bottom: -20px; right: -10px; font-size: 150px; color: var(--brand); opacity: 0.04; transform: rotate(-15deg);

}

.about-text { position: relative; z-index: 2; font-size: 16px; text-align: center; }



/* ===== Diagram ===== */

.diagram-container {

  display: flex; align-items: center; justify-content: space-between; gap: 16px;

  background: #fff;

  border: 1px solid #f1f5f9; border-radius: 24px; 

  padding: 24px 30px; 

  box-shadow: 0 20px 50px rgba(0,0,0,0.05);

}

.diagram-column { display: flex; flex-direction: column; align-items: center; flex: 1; }

.diagram-col-title { font-weight: 700; margin-bottom: 12px; font-size: 14px; }

.diagram-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }



.vc-card {

  background: #fff; border-radius: 12px; padding: 15px 10px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  width: 100%; max-width: 160px; min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center;

  font-size: 13px; font-weight: 700; margin-bottom: 8px;

  border-left: 3px solid transparent;

}

.vc-card i { font-size: 20px; margin-bottom: 6px; color: var(--brand); }

.vc-card-full { max-width: 100%; margin-top: 10px; }

.vc-card-tall { height: 100px; justify-content: center; }

.vc-card-note { font-size: 10px; opacity: 0.9; font-weight: normal; margin-top: 4px; }



.vc-card-short { min-height: 40px !important; padding: 8px 10px !important; }

.mb-none { margin-bottom: 0 !important; }

.mt-narrow { margin-top: 4px !important; }



.type-supplier { background-color: #f8fafc; border: 2px solid #cbd5e1; }

.type-web { background-color: #254e93; color: #fff; max-width: 200px; }

.type-web i { color: #fff !important; }

.type-system { background-color: #fff; border: 2px solid #94a3b8; color: #333; max-width: 200px; }

.type-system i { color: #333 !important; }



.vc-main-hub {

  flex: 1.5;

  border: 2px solid transparent;

  background: linear-gradient(#fff, #fff) padding-box, var(--gradient-hub) border-box;

  border-radius: 24px; padding: 24px; position: relative;

}

.vc-main-hub::before {

  content: "CORE SYSTEM"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);

  background: var(--gradient-hub); color: #fff; font-size: 11px; padding: 4px 12px; border-radius: 99px; font-weight: bold; letter-spacing: 0.05em;

}

.hub-title { text-align: center; font-weight: 800; font-size: 18px; margin-bottom: 20px; color: var(--text); }

.hub-subtitle { font-size: 12px; font-weight: normal; color: var(--text-light); display: block; }

.hub-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

.hub-card {

  background: #f8fafc; 

  padding: 10px 5px; 

  border-radius: 8px; 

  font-size: 11px; 

  font-weight: 700; 

  text-align: center;

  min-height: 60px; 

  display: flex; 

  align-items: center; 

  justify-content: center;

  border: 2px solid #94a3b8; 

  color: var(--text); 

  box-shadow: 0 2px 5px rgba(0,0,0,0.03);

}



.vc-arrow-group { 

  display: flex; 

  flex-direction: row; 

  gap: 4px; 

  color: var(--brand); 

  font-size: 28px; 

}

.vc-arrow-group i { animation: flowLight 1.5s infinite linear; }

.vc-arrow-group i:nth-child(1) { animation-delay: 0s; }

.vc-arrow-group i:nth-child(2) { animation-delay: 0.2s; }

.vc-arrow-group i:nth-child(3) { animation-delay: 0.4s; }



@keyframes flowLight { 

  0% { opacity: 0.1; } 

  30% { opacity: 1; } 

  100% { opacity: 0.1; } 

}



@media (max-width: 900px) {

  .diagram-container { flex-direction: column; } 

  .hub-grid { grid-template-columns: 1fr 1fr; }

  .vc-arrow-group { transform: rotate(90deg); margin: 20px 0; } 

  .vc-card { max-width: 100%; }

}



/* ===== Flow ===== */

.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; margin-top: 50px; }



.flow-steps.js-fade-up { opacity: 1; transform: none; transition: none; }



.flow-steps::before {

  content: ""; position: absolute; top: 50%; transform: translateY(-50%); left: 15%; right: 15%; height: 3px;

  background-image: linear-gradient(90deg, var(--brand) 50%, #e2e8f0 50%); background-size: 20px 100%;

  z-index: 0; animation: moveDash 1s linear infinite;

  opacity: 0;

  transition: opacity 0.8s ease 1s;

}

.flow-steps.is-shown::before {

  opacity: 1;

}



@keyframes moveDash { 0% { background-position: 0 0; } 100% { background-position: 40px 0; } }



.flow-step {

  background: #fff; 

  border-radius: var(--radius); 

  padding: 40px 24px; 

  text-align: center;

  border: 1px solid #cbd5e1; 

  position: relative; 

  z-index: 1;

}



.flow-icon-circle {

  width: 80px; height: 80px; margin: 0 auto 20px; 

  background: var(--brand); 

  border-radius: 50%;

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

  font-size: 32px; color: #fff; 

  position: relative; 

}



.flow-num {

  position: absolute; top: -5px; right: -5px; width: 30px; height: 30px; background: var(--text); color: #fff;

  border-radius: 50%; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff;

}

.flow-step h3 { font-size: 18px; margin-bottom: 12px; font-weight: 700; }

.flow-desc { font-size: 14px; color: var(--text-light); }

@media (max-width: 768px) { .flow-steps { grid-template-columns: 1fr; gap: 30px; } .flow-steps::before { display: none; } }



/* ===== Solution ===== */

.solution-list { display: flex; justify-content: center; gap: 32px; list-style: none; padding: 0; margin: 0; }

.solution-list__item {

  flex: 1; max-width: 480px; position: relative; border-radius: var(--radius); overflow: hidden;

  box-shadow: var(--shadow); transition: all 0.4s ease; background: #000;

}

.solution-list__item a { display: block; text-decoration: none; height: 100%; }

.solution-list__item:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(36, 116, 181, 0.2); }

.solution-list__item .img-block { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; opacity: 1; transition: opacity 0.4s; }

.solution-list__item:hover .img-block { opacity: 0.8; }

.solution-list__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }

.solution-list__item:hover img { transform: scale(1.1); }

.solution-list__item .block-note {

  position: absolute; bottom: 0; left: 0; right: 0;

  background: rgba(255,255,255,0.95); backdrop-filter: blur(5px);

  padding: 24px; font-weight: 700; font-size: 18px; text-align: center; color: var(--text);

}

.solution-list__item .block-note span { display: block; font-size: 13px; font-weight: normal; color: var(--text-light); margin-top: 4px; }



.solution-list__item.is-coming-soon {

  pointer-events: none;

}

.solution-list__item.is-coming-soon::after {

  content: "Coming Soon";

  position: absolute;

  top: 0; left: 0; width: 100%; height: 100%;

  background: rgba(0, 0, 0, 0.65); 

  color: #ffffff;

  font-size: 26px; 

  font-weight: 700; 

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 10;

  letter-spacing: 0.05em;

}



@media (max-width: 768px) { .solution-list { flex-direction: column; } .solution-list__item { width: 100%; } }



/* ===== FAQ ===== */

.faq-container { max-width: 800px; margin: 0 auto; }

.faq details {

  background: #fff; border-radius: 12px; margin-bottom: 16px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.03);

  border-left: 5px solid #e2e8f0; transition: all 0.3s;

}

.faq details[open] { border-left-color: var(--brand); } 

.faq details:hover { transform: translateX(5px); }

.faq summary {

  padding: 24px 50px 24px 24px; cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; position: relative;

}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {

  content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);

  font-size: 24px; color: var(--brand); font-weight: 400; transition: transform 0.3s;

}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--brand-dark); }

.faq-content {

  padding: 0 24px 24px; color: var(--text-light); font-size: 15px; border-top: 1px solid #f1f5f9;

  padding-top: 16px; animation: slideDown 0.3s ease;

}

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

.faq-cta { text-align: center; margin-top: 40px; }

.faq-cta-link { color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--brand); font-weight: 700; }



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

#contact {

  background: var(--white);

  padding: 100px 24px 50px; text-align: center;

  position: relative; overflow: hidden;

}

.contact-wrapper {

  max-width: 900px; margin: 0 auto; position: relative; border-radius: 30px; padding: 5px; 

  background: var(--gradient-hub); box-shadow: 0 20px 60px rgba(36, 116, 181, 0.15);

}

.contact-card {

  background: #fff; border-radius: 25px; padding: 60px 40px; position: relative; overflow: hidden;

}

.contact-card::before {

  content: '\f0ac'; font-family: FontAwesome; position: absolute; top: -50px; left: -50px;

  font-size: 300px; color: var(--brand); opacity: 0.03; pointer-events: none;

}

.contact-title { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 16px; }

.contact-text { margin-bottom: 40px; font-size: 16px; color: var(--text-light); }



#contact .btns { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }

#contact .btns a {

  display: flex; align-items: center; justify-content: center; gap: 8px; width: 300px; height: 64px;

  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; 

  transition: all 0.3s ease; position: relative; overflow: hidden;

}

.btn--doc { background: #fff; color: var(--brand); border: 2px solid #e2e8f0; }

.btn--doc:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.btn--inq { background: var(--gradient-hub); color: #fff; box-shadow: 0 10px 25px rgba(240, 128, 128, 0.3); }

.btn--inq:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(240, 128, 128, 0.4); }

.btn--inq i.fa-arrow-right { transition: transform 0.3s; }

.btn--inq:hover i.fa-arrow-right { transform: translateX(5px); }



/* ===== Footer ===== */

footer { background: #fff; text-align: center; padding: 50px 24px; border-top: 1px solid #f1f5f9; }

.footer-logo img { height: 32px; margin-bottom: 16px; opacity: 1; transition: opacity 0.3s; }

.footer-logo img:hover { opacity: 0.5; }

.footer-copy { font-size: 12px; color: #cbd5e1; }



.pageTopBtn {

  position: fixed; right: 24px; bottom: 30px; width: 50px; height: 50px;

  background: var(--brand); color: #fff; border-radius: 50%;

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

  cursor: pointer; z-index: 1001; box-shadow: 0 4px 15px rgba(36, 116, 181, 0.4);

  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease;

}

.pageTopBtn.is-show { opacity: 1; visibility: visible; transform: translateY(0); }

.pageTopBtn:hover { background: var(--brand-dark); transform: translateY(-5px); }

