@charset "utf-8";

body{
  font-family: 'Eczar', serif;
 }

.contain{
  position: relative;
  width:100%;
 }
.img{
  width: auto;
}
.ikm{
  width: 100%;
  object-fit: cover;
  height: 450px;
}
@media screen and (max-width: 767px) {
 .ikm{
  object-fit: cover;
  height: 450px;
  max-width:100%;
 }
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0; /* 背景動画は一番下！ */
  pointer-events: none; /* クリック妨げないように */
}






.title{
  text-align: center;
  color: rgb(255, 255, 255);
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
 
.title h3{
  font-size:2.5rem;
}
.title p{
  font-size: 1.8rem;
}

.fas{
  text-align: center;
  margin:0 1em 3em;
  width:100%;
  overflow: hidden;
  font-family: inherit;
  font-weight:lighter;
}

.fas {
   color: #616161;
   animation: fadein 5s  forwards;
   transform:translateX(100%);      /*開始位置*/
   line-height: 180%;
   letter-spacing: 1px;
   font-size: 1.3rem;
}

@keyframes fadein {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(30px);
  }
}


#service{
  background: url(img/sample2.jpg) no-repeat;
  
  color: #e1e1e1;
  animation: fade 10s forwards;
  background-size: cover;
  height: 300px;
}
@keyframes fade {
  0% {
    transform: translateX(150px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}
.text{
  position: absolute;
  bottom: 3%;
  left:10%;
  z-index: 99;
}

.text h5{
  font-size: 1.5rem;
}

#service::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
}





#inline{
  background: url(img/image2.jpg) no-repeat;
  
  color: #dfdfdf;
  animation: fall 10s forwards;
  background-size: cover;
  height: 300px;
}
@keyframes fall {
  0% {
    transform: translateX(-180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}
.texts{
  position: absolute;
  bottom: 3%;
  left:10%;
  z-index: 99;
}
.texts h5{
  font-size: 1.5rem;
}
#inline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
}



.tables{
  background-color: #e1e1e1;
}

 /* table01 */
.table{
  display: flex;
  width: 100%;
  color: #616161;
  padding-left: 20%;
}
#table01 tr {
  border-bottom: 1px solid #b5b1b1;
}


/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}


a{
  color: inherit;
  text-decoration: none;
}
.copyright{
  text-align: center;
}

.coment{
  font-size: 1.2rem;
}

/* 追加 */
.hero {
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: white;
  padding: 5rem 2rem;
}

.hero h2 {
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
}

.cta-button {
  background-color: #facc15;
  color: #0f172a;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #eab308;
}

.section {
  padding: 4rem 1rem;
}

.section h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.feature {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.faq p {
  background-color: #f1f5f9bd;
  border-left: 4px solid #0f172a;
  font-size: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #0a1f44;
}

.break-sm {
  display: inline;
}

@media (max-width: 768px) {
  .break-sm {
    display: block;
  }
}

.problem{
  text-align: center;
}
.problem-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.problem-item {
  flex: 1 1 300px;
  background-color: white;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.problem-item img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.problem-item p {
  font-size: 1.2rem;
  color: #334155;
}



.features-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-box {
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature-icon {
  max-width: 300px;
  margin-bottom: 1rem;
  height: 200px;
}

.feature-box h5 {
  font-size: 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}


.feature-box p {
  font-size: 1.2rem;
  line-height: 2.5;  /* ← 行間を広くして見やすく */
}

.section-title{
  text-align: center;
}

.hero-section {
  position: relative;
  min-height: 80vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #050e1f;
  z-index: 1;
}

.hero-section .container{
  position: relative;
  z-index: 2;
  transform: translateY(-40px); /* ← 数値はお好みで微調整 */
}

.wave-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 150px;
  overflow: hidden;
  line-height: 0;
  margin-top: -150px; /* 波を上に被せる */
  background: transparent;
}

.wave-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 17, 37, 0.3), rgba(10, 31, 68, 0.5));
  z-index: 1;
}

.contact-section {
  background-color: #050b14;
  padding-top: 180px;
  padding-bottom: 80px;
}
.contact-section1 {
  background-color: #4d4d4d5e;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  font-family: 'Eczar', serif;
}

.toggle-btn{  
  display: inline-block;
  padding: 1em 2.5em;
  background-color: transparent;
  border: 2px solid #231f20;
  border-radius: 50px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #bebdbd;
  text-decoration: none;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.toggle-btn::before {
  content: "";
  position: absolute;
  background-color: #231f20;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  z-index: 0;
  transition: all 0.4s ease;
}

.toggle-btn:hover::before {
  left: 0;
}

.logo-button__text {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.toggle-btn:hover .logo-button__text {
  color: #fff;
}

.footer{
  font-size: 1.2rem;
  padding-left: 50px;
}
@media screen and (max-width: 768px) {
  .footer{
    font-size: 1rem;
    padding-left: 0;
  }}

.bg-dark-blue {
  background-color: #0a1f44;
}

.bg-light-gray {
  background-color: #f1f5f9;
}

.bg-black {
  background-color: #000000;
}

.bg-white {
  background-color: #ffffff;
}

.btn-consult {
  background-color: #11463b;
  color: white;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-consult:hover {
  background-color: #0f5546;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(150, 158, 154, 0.3);
}



.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.8s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-contact-img {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: inline-block;
}

.floating-contact-img img {
  width: 200px; /* サイズは自由に調整OK */
  height: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}
@media (max-width: 768px) {
  .floating-contact-img img {
  width: 90px; /* サイズは自由に調整OK */
}}


.floating-contact-img:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.particle-section {
  position: relative;
  overflow: hidden;
  background-color:  #1c2029; /* fallback */
  color: white;
}


/*背景設定*/

#particles-js {
  position: fixed; /* ←固定！全体に敷く */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  background-color: #1c2029; /* 予備で背景色も指定 */
  pointer-events: none;
}

body, .section {
  background: transparent !important;
  color: #ffffff;
  position: relative;
  z-index: 1;
}


.particle-section .container {
  position: relative;
  z-index: 1; /* パーティクルの上に文字 */
}

.wave-section {
  position: relative;
  height: 150px;
  background-color:  #1c2029; /* 紺背景 */
  z-index: 1;
  overflow: hidden;
}

.wave-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 2;
}

.wave-shape svg {
  width: 100%;
  height: 100%;
  display: block;
}

#particles-wave {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.problem-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.problem-box {
  background-color: #1f2937; /* ダークグレー */
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-in-out;
  height: 100%;
}

.problem-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.problem-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1); /* SVGを白く見せる裏技 */
  opacity: 0.9;
}



.problem-box p {
  font-size: 1.2rem;
  color: #cbd5e1; /* 薄い白 */
  line-height: 1.6;
}

.section-title{
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}


/* CASEセクション共通 */
.case-card {
  background: rgba(35, 39, 57, 0.87);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: transform 0.3s ease;
  z-index: 9999;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* ← テキストも中央揃えに */
  padding: 2rem 1.5rem;
}





.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.case-label-img img {
  width: 110px;
  display: block;
  margin: 0 auto 1rem;
}

.case-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.case-icon-img img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: grayscale(100%) brightness(1.2);
}

.case-role {
  font-size: 1.2rem;
  line-height: 1.4;
  color: #e2e8f0;
}

/* セクションタイトル調整（任意） */
#cases .section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 2.5rem;
}


/* ① カードの高さを揃える */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}



.case-title {
  margin: 2rem 0;
}

/* ② タイトル・本文の高さを強制統一するなら */
.case-title {
  min-height: 48px; /* 2行ぶん程度 */
  margin-bottom: 1rem;
}

.case-role {
  min-height: 40px;
  margin-bottom: 0;
}


/* ③ アイコンをカード内の下部に揃えるなら */
.case-icon-img {
  margin-top: auto;
}



.section-heading {
  text-align: left;
  margin-bottom: 4rem;
}

.en-title {
  font-family: 'Georgia', serif;
  font-size: 5rem;
  font-weight: 500;
  color: rgba(70, 91, 137, 0.51);
  line-height: 1;
}

.jp-title {
  font-family: 'Eczar', serif;
  font-size: 3.5rem;
  color: rgba(0, 0, 0, 0.3);
  font-weight: 400;
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

.en-title {
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.case-section {
  background-color: #12151c;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.case-section h2 {
  font-family: 'Eczar', serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #fff;
}

.case-section p.text-secondary {
  letter-spacing: 2px;
  font-size: 0.875rem;
}

.case-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}

.case-text {
  color: #ccc;
  font-size: 1.2rem;
  line-height: 1.9;
}

.spec{
  padding-bottom: 35px;
}

.case-section .text-warning {
  font-weight: 600;
  letter-spacing: 1px;
}

.case01{
  padding: 0px 0px 0px 56px;
}

.img-fluid {  
  min-height: 350px;
  max-height: 350px;
  object-fit: cover;
  width: 100%;
}

.shadow {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .case-section h2 {
    font-size: 2rem;
  }

  .case-title {
    font-size: 1.2rem;
  }

  .case-text {
    font-size: 1.2rem;
  }

  .case-section {
    padding: 60px 15px;
  }
  .case01{
  padding: 56px 0px 0px 56px;
}
.case1{
  padding: 56px 0px 0px 56px;
  height: 350px;
}
}

.case-line-vertical {
  position: absolute;
  left: 0px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #9999997a;
  content: "";
  height: 350px;
}


.case-line-vertical.mobile-only {
  display: none;
}


/* スマホ時はmobile-only表示 */
@media (max-width: 767px) {
  .case-line-vertical.mobile-only {
    display: block;
    left: 0;
    top: 0;
    height: 350px;
    width: 1px;
    background-color: #9999997a;
    content: "";
}
.case-line-vertical.desktop-only{
  display: none;
}}


.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 40px;
}

.py-3{
  text-align: center;
}

/* 導入の流れセクション */
.section-flow {
  color: #f0f0f0;
  padding: 80px 20px;
}

.flow-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #ffffff;
  position: relative;
}

.flow-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #303759;
  margin: 16px auto 0;
}

/* ステップリスト */
.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.flow-steps li {
  position: relative;
  padding: 16px 24px 16px 60px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #303759;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.flow-steps li:hover {
  background: rgba(255, 255, 255, 0.08);
}

.flow-steps li span {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #303759;
  color: #fff;
  font-weight: bold;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 0 0 2px #fff;
}


a {
  color: inherit;         
  text-decoration: none; 
}
a:hover,
a:focus,
a:visited,
a:active {
  color: inherit;          
  text-decoration: none;   
}


.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 2rem;
}

.benefit-single-card {
  background: #2c2f38;
  color: #fff;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-single-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.benefit-single-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-single-card li {
  font-size: 1.2rem;
  padding: 12px 0;
}

.benefit-single-card li:last-child {
  border-bottom: none;
}


#contact-content {
  transition: all 0.3s ease;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  h1.display-4 {
    font-size: 2.3rem ;
  }
  #cases .section-title {
  font-size: 1.3rem;
  font-weight: bold;
  }
  .mb-4{
    font-size: 1.8rem;
  }
}