html { overflow-y: scroll; }

body {
    margin: 0;
    padding: 0;
}
/* system.css 側 */
.header-ph { min-height: 54px; }   
.footer-ph { min-height: 415px; }  


#firstview {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#waveCanvas {
  width: 100%;
  height: 100vh;  /* ここを固定 */
  display: block; /* inline要素として扱われないように */
}

.top {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}
.top-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.top-background canvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

.catch {
    position: relative;
    width: 100%;
    max-width: 1080px;
    box-sizing: border-box;  
    margin: 10% 5%;
    top: -5%;
}
.catch h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin: 0;
}

.sub-catch {
    position: relative; 
    margin-bottom: 2rem;
    width: 40%;
    max-width: 1080px;
    text-align: left; 
    margin: 0 5%;
    margin-top: -10%;
}

.sub-catch h3{
    color: #fff;
    font-weight: 100;
    text-align: left;
}

/* サービスセクション */
#service {
    text-align: center;
    margin: 3rem 0;
    background-color: #f1f0f0;
    position: relative; 
    padding: 5%;
}

.service-title {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.service-title h2 {
    position: absolute;
    width: 100%;
    max-width: 1080px;
    font-size: 16rem;
    opacity: 0.1;
    margin-top: -10%;
    margin-left: -10%;
    text-align: left;
}
.service-title p {
    position: relative;
    z-index: 1; 
    font-size: 1.2rem;
    text-align: left;
}


.service-item-container .service-title h3 {
    position: relative;
    z-index: 1; 
    font-size: 1rem;
    text-align: left;
}

.service-item-container .service-text p {
    position: relative;
    z-index: 1; 
    font-size: 1rem;
    text-align: left;
}

.service-list {
    padding: 20px 0;
}

.service-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.service-item-container {
    flex: 1;
    min-width: 0; 
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-image {
    margin-bottom: 15px;
}

.service-image img {
    max-width: 100%;
    height: auto;
}

.service-title h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

#feature {
    padding: 5%;
}

.feature-title {
    text-align: center;
    margin-bottom: 40px;
}

.feature-title h2 {
    font-size: 1.8rem;
    line-height: 1.4;
    position: relative; 
}

.feature-title h2:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #007bff;
    }

.feature-subtitle {
    margin-bottom: 2%;
    width: 100%;
    max-width: 1080px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-subtitle p {
    font-size: 1.2rem;
    line-height: 1.6;
}


#feature .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item > div {
    display: grid;
    grid-template-columns: 1fr 3fr 5fr; 
    align-items: start;
    gap: 2%;
    background: #fff;
    padding: 2%;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 1rem solid #328be9;
    background-color: #eeeeee;
    margin-bottom: 1%;
}

.feature-item number {
    font-size: 3rem;
    font-weight: bold;
    color: #8d8d8d;
    text-align: center; 

}

.feature-item h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 0;
    padding-top: 10px;
    text-align: left; 
}

.feature-list ul {
    margin: 0;
    padding: 0;
    padding-top: 2%;
    width: 100%; 
}

.feature-item li {
    list-style: none;
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    line-height: 1.6;
    color: #666;
}

.feature-item li:last-child {
    margin-bottom: 0;
    
}

.feature-item li:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
    position: absolute;
    left: 0;
    top: 10px;
}

/*skills section*/
#skills {
    padding: 80px 0;
    background-color: #f8f9fa;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.skills-title {
    width: 100%;
    max-width: 1080px;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 40px;
}

.skills-title p{
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.6;
}

.skills-list-head {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
    background-color: #328be9;
    padding: 0px;
    border-radius: 15px;
}   

.skills-list-head h3 {
    margin: 0;
    font-size: 1.5rem;
    padding: 10px 0; 
    margin-left: 1%;
    color: #ffffff;
    font-weight: 600;
}


#skills .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;  
    justify-content: center;
    align-items: center;
    margin: 2% auto 0;  
    max-width: 1200px;
    padding: 0 20px;  
}


.skills-image, .skills-list {
    flex-basis: calc(50% - 10px); 
    min-width: 300px;
    padding: 0;
    box-sizing: border-box;
    margin-top: -2%; 
}

.skills-image img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 5%;
}

.skills-list p {
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    gap: 10%;
    margin-top: 3%;
}

.skills-list {
    width: 100%;
    max-width: 1000px;
    font-family: Arial, sans-serif;
}

.skill-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    line-height: 1.6;
    margin: 0;
}

.skill-category {
    width: 120px;
    font-weight: bold;
    flex-shrink: 0;
}

#skills .skills-list p {
    color: #000000;
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
}
/* 導入事例 */
.carousel {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.example-title {
    text-align: center; 
    margin: 0 auto; 
    margin-top: 3%;
}


.text-container p{
    margin-bottom: 10%;
    font-size: 0.8vw;
}

.carousel-container {
    width: 60%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 0 150px 0 ;
}

.description-container {
    display: grid;
    grid-template-columns: repeat(2, 3fr); 
    gap: 20px; 
    align-items: start; 
    overflow: hidden; 
}

.description-item { 
    padding: 0 10px 10px 10px; 
    border-radius: 5px; 
    position: relative; 
    padding-left: 20px; 
    width: 80%;
    object-fit: cover;
    font-size: 0.8vw;
}

.description-item::before {
    content: "▶"; 
    position: absolute;
    left: 0; 
    top: 12%; 
    color: #4b5563; 
    font-size: 1vw; 
}

.text-container {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.text-container .title {
    font-size: 1.5vw;
    font-weight: bold;
    line-height: 1.2;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

  /* スライド */
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.slide-content {
    display: flex;
    height: 100%;
    padding: 0.5rem;
    gap: 2rem;
    box-sizing: border-box;
}

  /* 画像コンテナ */
.image-container {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    border-radius: 0.5rem;
}

  /* テキストコンテナ */
.text-container {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

  /* ナビゲーションボタン */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 1);
}

.prev-button {
    left: 0px;
}

.next-button {
    right: 0px;
}

  /* ドットナビゲーション */
.dots-container {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #cbd5e0;
    border: none;
    padding: 0;
    cursor: pointer;
}

.dot.active {
    background: #2563eb;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 90%;
    line-height: 1.6;
}

.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.left {
    border-right: 12px solid #000; 
}

.right {
    border-left: 12px solid #000; 
}