/*****************************************************************
トップページ専用スタイル
*****************************************************************/

/* 基本情報 */
.top-page {
    margin: 0 auto;
    overflow-x: hidden;
}

.top-page h1 {
    margin-bottom: 0;
    font-size: 45px;
    font-weight: bold;
    color: #43403F;
}

.top-page h2 {
    font-size: 38px;
    font-weight: bold;
    color: #43403F;
}

.top-page h3 {
    font-size: 30px;
    font-weight: bold;
    color: #43403F;
}

.top-page h4 {
    font-size: 24px;
    font-weight: bold;
    color: #43403F;
}

.top-page h5 {
    font-size: 18px;
    font-weight: bold;
    color: #43403F;
}

.bigText {
    font-size: 18px;
    color: #43403F;
}

.p {
    color: #43403F;
}

.text {
    font-size: 16px;
    line-height: 32px;
}

.orange {
    color: #FF8811 !important;
}

.top-page strong {
    color: #43403F;
    font-weight: bold;
}

.top-page {
    background-color: #FCFCFA;
}

.maincontents {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top-page section[id] {
    scroll-margin-top: 20vh;
}

/*****************************************************************
ヒーロー
*****************************************************************/
.hero-section{
    padding-top: 80px;
}
.hero-wrapper{
    width: 100%;
    background-image: url('../img/top/hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    height: auto;
    padding: 50px;
}
.visual{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    height: 100%;
}
.trackbott_text {
    font-size: 6.5vw;
    font-weight: bolder;
    margin: 10px;
    background: linear-gradient(120deg, #ff6f45 0%, #ffc716 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.3rem;
}

.point {
    background-color: #FCFCFA;
    border: solid 2px #FF8811;
    padding: 0.7vw 2vw;
    border-radius: 10px;
    text-align: center;
    font-size: 1.8vw;
    letter-spacing: 0.1em;
}

.points {
    margin-top: 1vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 1vw;
}

.message {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    row-gap: 0.5vw;
    height: 100%;
}

.alter {
    margin: 10px;
    font-size: 2.5vw;
}

.slideMessage {
    font-size: 2.5vw;
    font-weight: bold;
    background-color: #04A8C5;
    width: 100%;
    color: #ffffff;
    padding: 2vw;
    text-align: center;
    margin: 0;
    letter-spacing: 0.1em;
    word-break: keep-all;
}

.mobile_slideMessage {
    display: none;
}

/*****************************************************************
AI外観検査とは
*****************************************************************/
#about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 50px;
    padding: 50px 0;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.aboutMain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 30px;
    width: 1100px;
}

.directionRow {
    padding: 20px;
    display: flex;
    justify-content: center;
    column-gap: 30px;
    align-items: flex-start;
}
.directionRow .text{
    /* width: 50%; */
    width: 100%;
}
.directionRow .video{
    width: 50%;
}
.video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/*****************************************************************
お悩み解決セクション
*****************************************************************/
.aboutMerit {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

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

.mainMerits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 30px;
    align-items: stretch;
    box-sizing: border-box;
}

.item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    grid-row: span 4;
    display: grid;
    grid-template-rows: subgrid;
    gap: 1rem;
}

.worry {
    background-color: #e6fbff;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    position: relative;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worry::after {
    content: '▼';
    font-size: 30px;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #e6fbff;
}

.titleOrange {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    width: 100%;
    min-height: 3em;
    margin-top: 1rem;
    text-align: left;
}

.titleMerit h4 {
    font-weight: bold;
    color: #FF8811;
}

.titleMerit {
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
    display: block;
    margin: 0 auto;
}

.titleMerit::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("/img/Vector.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 4px;
    left: -8px;
}

.item img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin: 10px auto;
}

.item .text {
    flex-grow: 1;
    align-self: stretch;
    text-align: left;
    line-height: 1.7;
}

/*****************************************************************
さらに期待できるメリット
*****************************************************************/
.plusMerit {
    width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    row-gap: 30px;
}

.plus {
    display: flex;
    max-width: 1100px;
    width: 100%;
    justify-content: space-between;
    margin: 20px 0;
}

.plusItem {
    width: 100%;
    border-radius: 20px;
    border: solid 3px #FF8811;
    overflow: hidden;
    max-width: 540px;
}

.plusItem h4 {
    background-color: #FF8811;
    padding: 15px;
    text-align: center;
    color: white;
}

.plusItem p {
    padding: 0 20px;
    display: block;
}

.textBox {
    display: flex;
    align-items: center;
    min-height: 150px;
}

/*****************************************************************
動画でわかるTRACKBOTT
*****************************************************************/
.trackbottVideo {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    padding: 50px 0;
}

.trackbottYoutube {
    display: flex;
    margin: 0 auto;
    width: 1100px;
    align-items: center;
}
.trackbottYoutube .youtube{
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.youtubeText {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
}

/*****************************************************************
TRACKBOTTの強み
*****************************************************************/
#strongth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 50px;
}

.appeal {
    background-color: #FEE6CE;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.appeal_contents {
    width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.appeal_img img {
    border-radius: 20px;
    width: 450px;
    height: 300px;
    object-fit: cover;
}

.appeal_point {
    display: flex;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    column-gap: 30px;
    justify-content: center;
    align-items: center;
}

.appeal_text .big_number {
    margin-bottom: 20px;
}

.appeal_text p {
    margin-top: 10px;
}

.appeal_points {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.appeal_text {
    width: 100%;
}

/*****************************************************************
検知の流れ
*****************************************************************/
.detectionFlow {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
    width: 1100px;
    padding: 50px 0;
}

.number p {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.flow_set {
    display: flex;
    align-items: flex-start;
    column-gap: 10px;
}

.flow_set .text {
    padding: 0 10px;
}

.detectionFlow_text {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.number {
    background-color: #04A8C5;
    padding: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.start {
    display: flex;
    flex-direction: column;
    align-items: start;
    row-gap: 20px;
}

/*****************************************************************
検知例・導入事例
*****************************************************************/
#cases {
    background-color: #e6fbff;
    width: 100%;
    padding: 50px 0;
}

.case_contents {
    width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 30px;
}

.separate {
    display: grid;
    grid-template-columns: 3fr 2fr;
}

.separateLeft {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.separateLeft img {
    width: 120px;
    height: 120px;
}

.example {
    padding: 20px 10px;
    margin: 10px;
    border-radius: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

.example p {
    text-align: center;
    display: block;
    margin: auto;
}

.company_name {
    position: relative;
    text-align: center;
    margin-left: 2.2rem;
    color: #43403F;
    font-weight: bold;
}

.company_name::before {
    content: '';
    display: inline-block;
    width: 35px;
    height: 35px;
    background-image: url("/img/goldpack_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -40px;
}

.separateRight {
    background-color: white;
    margin: 10px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
}

.separateRight .text {
    padding: 0 20px;
    font-weight: 500;
}

.small {
    font-size: 20px;
    font-weight: 400;
    margin-left: 10px;
}

/*****************************************************************
導入フロー
*****************************************************************/
.orange_arrow {
    width: 100%;
    height: 5px;
    background-color: #FF8811;
    position: relative;
}

.orange_arrow::after {
    content: '➤';
    color: #FF8811;
    font-size: 30px;
    font-weight: 900;
    position: absolute;
    right: -7px;
    bottom: -5px;
}

.illustration {
    position: relative;
    margin-top: 20px;
}

.illustration_contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

.orange_arrow_cycle {
    position: absolute;
    top:52px;
}

.orange_cycle {
    width: 30px;
    height: 30px;
    background-color: #FF8811;
    border-radius: 50%;
}

.month .step_big {
    font-size: 20px;
}

.step h4 {
    margin-top: 10px;
    font-weight: bold;
    color: #FF8811;
}

.support {
    display: flex;
    justify-content: end;
    width: 100%;
}

.flow_img {
    height: 120px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-color: #FEE6CE;
}

.flow_img img {
    height: auto;
    width: 80px;
}

.big_number {
    font-size: 38px;
}

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

.img_set {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    row-gap: 15px;
}

.steps {
    display: flex;
    justify-content: space-around;
    width: 1100px;
    margin-bottom: 20px;
}

.flow_contents {
    width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 5px;
    padding: 50px 0;
}

.flow_contents h3 {
    font-weight: bold;
}

/*****************************************************************
誕生物語
*****************************************************************/
.story {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    padding: 50px 0;
}

.band {
    background-color: #FF8811;
    width: 100%;
    padding: 20px;
}

.story_first {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
}

.band h3 {
    color: #ffffff;
    text-align: center;
    letter-spacing: 0;
}

.band h4 {
    margin-top: 10px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0;
}

.img_flex {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.img_flex img {
    width: 40%;
    border-radius: 20px;
}

.challenge {
    margin: 30px 0;
}

.story_first_title {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.story_first_title .number {
    background-color: #FF8811;
}

.story_point {
    background-color: #FEE6CE;
    width: 90%;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    padding: 20px;
    border-radius: 20px;
    margin: 20px auto;
    border-left: solid 7px #FF8811;
}

.story_point_li {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.story_second {
    background-color: #FF8811;
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-radius: 20px;
    margin: 0 auto;
    transition: transform .3s ease;
}

.story_second:hover {
    transform: scale(1.05);
}

.story_second h4 {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0;
}

.continue {
    color: #ffffff;
}

/*****************************************************************
ラベルチェッカー
*****************************************************************/
.label_checker {
    display: flex;
    justify-content: center;
}

.label_checker_img {
    max-width: 1100px;
    border-radius: 20px;
}

/*****************************************************************
セミナーバナー
*****************************************************************/
.seminarBox {
    display: block;
    width: 90%;
    max-width: 1100px;
    padding: 2em;
    margin-top: 2em;
    border-radius: 20px;
    position: relative;
    height: auto;
    box-sizing: border-box;
    line-height: 1.5;
    text-decoration: unset;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.12), 0 2px 3px 0 rgba(0, 0, 0, 0.22);
    transition: 0.3s;
}
.seminarBox:hover {
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 0 5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}
.seminarBox img {
    position: absolute;
    width: 180px;
    bottom: -50px;
    right: -2%;
}
.bggrad-bl {
    background: linear-gradient(45deg, #0fa3b1, #277da1);
    background-size: 100%;
}
/*****************************************************************
トピックス
*****************************************************************/
.topics-list ul {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.topics-list .topics li {
    display: flex;
    flex-wrap: wrap;
    justify-content: normal;
    align-items: baseline;
    margin-left: 2rem;
    column-gap: 15px;
}

.topics-list .topics li .cat {
    width: 100%;
    margin-left: 0.5em;
    margin-right: 0.5em;
    max-width: 8em;
    padding: 0.1em 0.5em;
    font-size: 80%;
    text-align: center;
    border-radius: 50px;
    cursor: unset;
}

.topics-list .topics {
    list-style: none;
}

#topics {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 50px;
    padding: 50px 0;
}

.topics_contens {
    padding: 50px;
    width: 1100px;
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    row-gap: 35px;
}

.topics .orangeButton {
    width: 300px;
}

.end {
    display: flex;
    flex-direction: column;
    align-items: end;
}

/*****************************************************************
レスポンシブ - 1450px以下
*****************************************************************/
@media (max-width: 1450px) {
    .top-page {
        padding-right: 0;
    }
}

/*****************************************************************
レスポンシブ - 1200px以下 (タブレット)
*****************************************************************/
@media (max-width: 1200px) {
    .aboutMain,
    .plusMerit,
    .trackbottYoutube,
    .detectionFlow,
    .appeal_contents,
    .case_contents,
    .topics_contens,
    .flow_contents,
    .steps,
    .story_first,
    .story_second {
        width: 100%;
        max-width: 1100px;
        padding: 1em;
        box-sizing: border-box;
        margin: 0 auto;
    }

    /* AI外観検査とは */
    .mainMerits {
        grid-template-columns: 1fr;
    }

    .plus {
        flex-direction: column;
        row-gap: 20px;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
    }

    /* 動画でわかるTRACKBOTT */
    .trackbottYoutube {
        flex-direction: column;
    }
    .youtubeText{
        padding: 30px 0;
    }

    /* TRACKBOTTの強み */
    .appeal_point {
        flex-direction: column;
        row-gap: 20px;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    /* 検知の流れ */
    .detectionFlow img {
        width: 90%;
        margin: 0 auto;
    }

    /* 検知例・導入事例 */
    .separate {
        grid-template-columns: 1fr;
    }

    .label_checker img {
        width: 90%;
        display: block;
        margin: 0 auto;
    }

    /* 導入フロー */
    .steps {
        flex-direction: column;
        row-gap: 40px;
        margin: 20px auto;
        align-items: center;
        padding: 0;
    }

    .step {
        width: 95%;
        margin: 0 auto;
        justify-content: center;
        position: relative;
        max-width: 600px;
        border-radius: 20px;
    }

    .step .text {
        padding: 20px;
    }

    .orange_arrow {
        display: none;
    }

    .orange_cycle {
        display: none;
    }

    .month strong {
        width: 100%;
        color: #ffffff;
        background-color: #04A8C5;
        padding: 10px 100px;
        border-radius: 10px;
    }
    .support {
        justify-content: center;
    }
    .story_second{
        padding: 30px 20px;
    }
}

/*****************************************************************
レスポンシブ - 767px以下 (スマホ)
*****************************************************************/
@media (max-width: 767px) {
    .hero-wrapper{
        padding: 20px;
    }
    .hero-section{
        padding-top: 50px;
    }
    .visual{        
        flex-direction: column;
    }
    .message{
        width: 100%;
    }
    .top-page h1{
        font-size: 7vw;
    }
    .trackbott_text{
        font-size: 13vw;
        line-height: 1em;
    }
    .alter{
        margin: 0;
    }
    .points{
        margin-top: 3vw;
    }
    .point{
        padding: 2vw;
        font-size: 1.2rem;
    }
    .separateLeft {
        width: 100%;
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 24px !important;
    }

    h3 {
        font-size: 20px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    .appeal_contents{
        gap: 0px;
    }
    .appeal_text .big_number{
        margin-bottom: 0;
    }
    .company_name{
        margin-left: 0;
    }
    .img_flex{
        flex-direction: column;
        row-gap: 10px;
    }
    .img_flex img {
        width: 90%;
        height: auto;
        object-fit: cover;
    }
    .story_second {
        flex-direction: column;
        padding: 20px;
    }
        .topics-list .topics li {
        row-gap: 10px;
        margin-left: 0;
        column-gap: 5px;
        align-items: center;
    }

    .story_point{
        width: 100%;
    }
    .story_point_li{
        align-items: flex-start;
    }
    #about,
    .trackbottVideo,
    .appeal,
    .detectionFlow,
    #cases,
    .flow_contents,
    .story {
        padding: 0 1em;
    }
    .item{
        padding: 1em;
    }
    .mainMerits{
        padding: 0;
    }
    #topics{
        row-gap: 20px;
    }
    .seminarBox{
        padding: 1em;
    }
    .seminarBox img{
        width: 100px;
    }
    .aboutMain{
        row-gap: 10px;
    }
    .directionRow {
        flex-direction: column-reverse;
        row-gap: 20px;
        padding: 0;
    }
    .directionRow .text {
    width: 100%;
    }
    .directionRow .video {
        width: 100%;
    }
}