
body, html ,h1 {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

h1{
    color: #007BFF;
}

h2,.concept_text{
    font-size:3rem;
    text-align:center;

}

.concept_text{
    font-size:1.3em;
}

header {
	margin: 0;
    padding: 0;
    text-align: center;
}


header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: #007BFF;
    text-decoration: none;
}

.header-logo {
    float: left; /* ロゴを左側に配置 */
    margin-right: 10px; /* ロゴと隣のテキストの間に余白を設定 */
}

.header-logo img {
    height: 80px; /* ロゴのサイズを調整。必要に応じて変更 */
    width: auto;
}

.header-content {
    display: inline-block;
    vertical-align: middle; /* テキストをロゴの中央に合わせる */
}


nav ul, nav ul li {
    padding: 0;
    margin: 0;
    /* 以下、元のスタイル */
}

section {
    background-color: #f8f9fa; /* セクションの背景色を設定 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* セクションに影を追加 */
}


section p {
    
    line-height: 1.5; /* 行の高さを設定し、読みやすくする */
    text-align: justify; /* テキストを両端揃えにする */
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #007BFF;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}


/* コンテンツセクションスタイル */
.content-section {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */

    align-items: center; /* アイテムを縦方向中央に揃える */
    justify-content: space-between; /* アイテムの間隔を均等に分布させる */
}

.content-section .text-content, 
.content-section .image-content {
    flex-basis: 50%; /* アイテムのベースサイズ */
    max-width: 50%; /* アイテムの最大幅 */
}

.text-content p{
    text-align:center;
}
/* 画像スタイル */
.image-content img {
    width: 100%;
    height: auto;
    display: block;
}


/* スライダの為のcss */
#slider {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto; /* スライドショーの高さを調整 */
    overflow: hidden;
}



#slider img {
    width: 100%; /* 動画の幅をスライダーの幅に合わせる */
    height: auto; /* 動画の高さは自動調整 */
    object-fit: cover; /* 動画をトリミングせずにコンテナ全体にフィットさせる */
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* 動画に合わせて適宜変更してください */
    text-align: center;
    z-index: 2; /* 動画よりも前面に表示 */
}

#slider .video-overlay p {

    font-size: 1.5em; /* 適宜調整してください */
    background: rgba(0, 0, 0, 0.5); /* 背景を半透明の黒に */
    padding: 10px 20px; /* 適宜調整してください */
    border-radius: 5px; /* 角を滑らかに */
    display: inline-block;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}


.slide.active {
    opacity: 1;
}


.company-info {
    max-width: 1200px; /* コンテナの最大幅を設定 */
    margin: auto; /* 上下左右中央に */
    padding: 20px;
    box-sizing: border-box;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 項目間の余白を均等に */
    max-width: 1000px; /* グリッドの最大幅を設定 */
    margin: auto; /* 上下左右中央に */
}

.info-item {
    width: calc(50% - 20px); /* 各アイテムの幅を計算し、余白を引く */
    margin: 10px; /* 上下のマージンを設定 */
    box-sizing: border-box;
}

.info-item span {
    display: block; /* spanをブロック要素に変更 */
    min-width: 100px; /* spanの最小幅を設定 */
    font-weight: bold; /* 項目名を太字に */
}

@media (max-width: 768px) {
    .info-grid {
        flex-direction: column; /* モバイルビューでは縦並びに */
    }

    .info-item {
        width: 100%; /* 各アイテムの幅を100%に */
    }

    .info-item span {
        min-width: 0; /* モバイルビューではspanの最小幅をリセット */
    }
}




@media (max-width: 767px) {
    header nav ul li {
        display: block;
        margin: 0;
    }

    header .header-content h1, header nav {
        text-align: center;
    }

    section {
        padding: 15px;
        margin: 10px 0;
    }

    section p {
        text-indent: 10px;
    }

    /* セクションスタイルの調整 */
    .content-section {
        flex-direction: column; /* スマートフォン表示では縦並び */
    }

    .content-section .image-content,
    .content-section .text-content {
        /* 順序リセット、スタイル調整 */
        order: unset;
        flex-basis: 100%;
        max-width: 100%;
        text-align: center;
        padding: 15px;
    }
}



