html,body {
    background-color: #ffffff;
    max-width: 100%;
    }

.header_login{
    display: none;
}    

.hamburger,
#sp_menu {
    display: none; /* ハンバーガーメニューとスマホ用メニューは最初は非表示 */
}

.hamburger {
    position: fixed;
    right: 20px;
    z-index: 100;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #333;
    transition: all .4s;
}

.hamburger__line:nth-of-type(1) {
    top: 14px;
}
.hamburger__line:nth-of-type(2) {
    top: 23px;
}
.hamburger__line:nth-of-type(3) {
    top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
    opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}

.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 4px rgba(0,0,0,.1);
    transform: translateX(-100%);
    transition: transform .4s;
    z-index: 90;
}

.sp-nav.active {
    transform: translateX(0);
}

.nav__list {
    margin: 0;
    padding: 100px 0 0;
    list-style: none;
}

.nav__item {
    padding: 0 20px;
}

.nav__link {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

/* メニューが開いている状態 */
.nav-sp.is-open {
    left: 0; /* 画面内に移動 */
}

.index_container {
    background-color: #ffffff;
}

.index_header{
    height: 75px;
    background-color: #ffffff;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    /* justify-content: center;  */
    justify-content: space-between; /* ヘッダーのコンテンツを両端に配置 */    
}

.header_title{
    margin-left: 20px;
    font-size: 1.5em;
    font-weight: bold;
    /* text-shadow: 2px 2px 4px #666; */
}

.first_view{
    height:600px;
    background-image: url('https://cdpg-data.s3.ap-northeast-1.amazonaws.com/static/images/icon/bg.png');
    background-size: auto 100%; /* 高さ100%に、幅は自動調整 */
    background-repeat: repeat-x;
    background-position: top; /* 背景画像を上端に配置 */
}

.index_header nav ul {
    /* リストの初期設定をリセット */
    list-style: none; /* 箇条書きの点を消す */
    padding: 0;
    margin: 0;

    /* メニュー項目を横並びにする */
    display: flex;
    white-space: nowrap;
}

.index_header nav li {
    margin-right: 20px; /* 各メニュー項目の右側にスペースを空ける */
}

.index_header nav a {
    /* リンクの見た目を調整 */
    text-decoration: none; /* 下線を消す */
    color: #333; /* 文字の色 */
    font-size: 16px;
    font-weight: bold;
}

.inner{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    height: 600px;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    /* flex-direction: column; 
    justify-content: center; */
}

.inner_left{
    flex-direction: column; 
    justify-content: center;
    flex: 1;
    text-align: center;
}
.inner_right{
    flex-direction: column; 
    justify-content: center;
    flex: 1;
}

.first_view_title{
    font-size: 3.0em;
    font-weight: bold;
    /* text-shadow: 2px 2px 4px #666; */
}

.first_view_subtitle{
    font-size: 1.3em;
}

.inner_button{
    margin-top: 40px;
}

.inner_login{
    margin-right: 20px;
    font-weight: bold;
    padding: 1rem 2rem;
    border: 1px solid #000;
    background-color: #ffffff;
}


.inner_signup{
    font-weight: bold;
    padding: 1rem 2rem;
    border: 1px solid #000;
    background-color: #ffffff;
}

.inner_image{
    height:500px;
}

.second_view{
    max-width: 860px;
    margin: 0 auto;
    height: 200px;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    padding-left: 10px;
    padding-right: 10px;
}

.second_view_inner{
    font-size: 1.3em;
}

.inner_topics{
    max-width: 860px;
    margin: 0 auto;
    height:200px;
    align-items: center; /* 垂直方向の中央揃え */
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 50px;
}

.inner_features{
    max-width: 860px;
    margin: 0 auto;
    /* height:1150px; */
    align-items: center; /* 垂直方向の中央揃え */
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.news-list {
    list-style: none; /* リストの黒丸を非表示に */
    padding: 0;
    margin: 0;
  }
  
  .news-list li {
    border-bottom: 1px solid #eee; /* 下線で区切り */
    padding: 10px 0;
    display: flex; /* 日付とタイトルを横並びに */
    align-items: center;
  }
  
  .news-list li:last-child {
    border-bottom: none; /* 最後の要素には下線なし */
  }
  
  .news-date {
    font-size: 1.0em;
    color: #888;
    margin-right: 15px; /* 日付とタイトルの間にスペース */
    flex-shrink: 0; /* 日付が縮まないように */
  }
  
  .news-list a {
    text-decoration: none; /* 下線を非表示に */
    color: #333;
    transition: color 0.2s;
  }
  
  .news-list a:hover {
    color: #007bff; /* ホバー時の色変更 */
  }

.feature_item{
    display: flex;
    height:500px;
}
.feature_item_left{
    width: 40%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.feature_item_right{
    width: 60%;
    align-items: center;
    display: flex;
}
.feature_image{
    margin-left: 20px;
    width: 240px;
    height: 480px;
    border-radius: 10px; 
    box-shadow: 5px 5px 10px #7e7e7e; /* 影を付けて立体感を出す */
}

.feature_title{
    font-size: 2.0em;
    font-weight: bold;
    margin-bottom: 30px;
}

.feature_subtitle{
    font-size: 1.0em;
}

.feature_item2{
    display: flex;
    height:500px;
    /* background-color: #f0f0f0; 背景色を追加 */
}

.feature_item2_left{
    width: 60%;
    align-items: center;
    display: flex;
}

.feature_item2_right{
    width: 40%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.feature_item2_right_sp{
    display: none;
}


.feature_image2{
    margin-right: 20px;
    width: 240px;
    height: 480px;
    border-radius: 10px; 
    box-shadow: 5px 5px 10px #7e7e7e; /* 影を付けて立体感を出す */
}

.inner_function{
    max-width: 860px;
    margin: 0 auto;
    align-items: center; /* 垂直方向の中央揃え */
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 30px;
}


.function_list {
    display: grid; /* グリッドレイアウトで整列 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 画面幅に合わせて自動で列を調整 */
    gap: 20px; /* アイテム間の隙間 */
}
  
.function_item {
    border: 1px solid #ddd; /* 枠線 */
    border-radius: 8px; /* 角を丸くする */
    padding: 20px; /* 内側の余白 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を付けて立体感を出す */
    transition: transform 0.3s ease; /* マウスホバー時のアニメーション */
}

.function_item:hover {
    transform: translateY(-5px); /* マウスホバー時に少し上に移動 */
}

.function_item h3 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.function_subtitle {
    font-size: 1.0em;
    margin-bottom: 20px;
}

.inner_next{
    max-width: 860px;
    margin: 0 auto;
    height:300px;
    align-items: center; /* 垂直方向の中央揃え */
    padding-left: 10px;
    padding-right: 10px;
}

.inner_footer{
    max-width: 860px;
    margin: 0 auto;
    height:200px;
    flex-direction: column; 
    justify-content: center;
    text-align: center;
}

.slidar-container{
    display: none;
}

/*===========
inview
===========*/

.fadeIn_right {
    opacity: 0;
    transform: translate(50%, 0);
    transition: 2s;
  }
  .fadeIn_right.is-show {
    transform: translate(0, 0);
    opacity: 1;
  }

.fadeIn_up {
    opacity: 0;
    transform: translate(0, 50%);
    transition: 2s;
}
.fadeIn_up.is-show {
    transform: translate(0, 0);
    opacity: 1;
}

.start_button{
    display: none;
}

/********************************/
/*       スマホ用のスタイル        */
/********************************/
@media (max-width: 768px) {
    .index_container {
        width: 100%;
        background-color: #ffffff;
    }
    

    .first_view{
        height:850px;
        background-image: url('https://cdpg-data.s3.ap-northeast-1.amazonaws.com/static/images/icon/bg.png');
        background-size: auto 100%; /* 高さ100%に、幅は自動調整 */
        background-repeat: repeat-x;
        background-position: top; /* 背景画像を上端に配置 */
    }

    .first_view_title{
        font-size: 3.0em;
        font-weight: bold;
        padding-top: 30px;
        /* text-shadow: 2px 2px 4px #666; */
    }


    .header_login{
        display: block;
    }    

    .login_icon{
        width: 24px;
        height: 24px;
        margin-right: 80px;
    }

    .inner_image{
        height:400px;
    }
        

    .second_view{
        margin: 0 auto;
        height: 250px;
        display: flex;
        align-items: center; /* 垂直方向の中央揃え */
        padding-left: 10px;
        padding-right: 10px;
    }   

    .second_view_inner{
        font-size: 1.0em;
    }

    .inner_title{
        font-size: 2.0em;
        font-weight: normal !important;
        /* font-family: "Kurashikom-M", HelveticaNeue, Arial, sans-serif !important; */
        padding: 0 0 15px;
        margin-bottom: 20px;
        border-bottom: 1px solid #000;
        letter-spacing: 7px;
    }
    
    .inner_subtitle{
        font-size: 0.5em;
        text-align: right;
    }

    .inner_button{
        display: none;
    }    
    
    .feature_item{
        display: block;
        height:1000px;
        margin: 0 auto;
    }

    .feature_item_left{
        width: 90%;
        display: flex;
        margin: 0 auto;
        height: 200px;
    }

    .feature_item_right{
        width: 90%;
        align-items: center;
        display: none;
    }

    .feature_item2{
        display: block;
        height:1000px;
        margin: 0 auto;
    }

    .feature_item2_left{
        display: none;
    }
    
    .feature_item2_right{
        display: none;
    }

    .feature_item2_right_sp{
        width: 90%;
        display: block;
        margin: 0 auto;
        height: 200px;
    }


    .slidar-container{
        display: block;
        width: 320px; /* 幅を200ピクセルに設定 */
        height: 750px; /* 高さを150ピクセルに設定 */
        margin: 0 auto;
        box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.09);
    }
    .slidar-container img {
        width: 320px; /* 幅を200ピクセルに設定 */
        height: 750px; /* 高さを150ピクセルに設定 */
      }

    .feature_image{
        margin-left: 20px;
        width: 240px;
        height: 480px;
        border-radius: 10px; 
        box-shadow: 5px 5px 10px #7e7e7e; /* 影を付けて立体感を出す */
    }
    
    
    .pc_menu {
        display: none; /* PC用メニューを非表示に */
    }
    .hamburger,#sp_menu {
        display: block; /* ハンバーガーボタンを表示に */
    }

    .inner{
        margin: 0 auto;
        padding: 0 15px;
        align-items: center; /* 垂直方向の中央揃え */
        display: block;
        /* flex-direction: column; 
        justify-content: center; */
    }
    
    .inner_left{
        text-align: center;
    }
    .inner_right{
        margin: 0 auto;
        text-align: center;
    }
    
    .inner_features{
        margin: 0 auto;
        /* height:2100px; */
        align-items: center; /* 垂直方向の中央揃え */
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
    .inner_function{
        margin: 0 auto;
        align-items: center; /* 垂直方向の中央揃え */
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 30px;
    }
    .inner_next{
        max-width: 860px;
        margin: 0 auto;
        height:250px;
        align-items: center; /* 垂直方向の中央揃え */
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .inner_footer{
        max-width: 860px;
        margin: 0 auto;
        height:50px;
        flex-direction: column; 
        justify-content: center;
        text-align: center;
    }       

    a, a:hover, a:visited{
        color: #342014;
    }

    .start_button {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 250px;
        margin: 20px auto;
        padding: 1em 2em;
        overflow: hidden;
        border: none;
        /* border-radius: 25px; */
        /* background-color: #82ad24; */
        background-image: url('/static/images/bg_pickup.webp');
        background-position: center;
        background-size: contain;
        color:#342014;
        /* color: #fff; */
        font-weight: 600;
        font-size: 1em;
    }
    
    .start_button::before {
        display: block;
        position: absolute;
        top: -50%;
        left: -30%;
        transform: rotate(30deg);
        width: 70px;
        height: 100px;
        content: '';
        background-image: linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
        background-image: -webkit-gradient(linear, left bottom, right bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
        animation: animation-start_button 2s infinite linear;
    }
    
    @keyframes animation-start_button {
        17% {
            left: 120%;
        }
        100% {
            left: 120%;
        }
    }
    
    .start_button:hover {
        /* background-color: #82ad24; */
        background-image: url('/static/images/bg_pickup.webp');
        background-position: center;
        background-size: contain;
        }
    
}
