@charset "UTF-8";

/*ログイン*/
.modaal_wrapper{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: auto;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.modaal_wrapper .modaal_bg{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: auto;
    opacity: 1;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    background: rgb(0, 0, 0);
    opacity: 0.8;
}

/* ログイン済み（login）と、検証用のプレビュー（URL に ?preview=1 → preview）ではモーダルを出さない */
.login .modaal_wrapper,.login #login_box,
.preview .modaal_wrapper,.preview #login_box{
  display: none;
}
.not_login {
    /* overflow: hidden; */
}
.not_login .modaal_wrapper,.not_login #login_box{
  display: block;
}
#login_box{
    position: absolute;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    text-align: center;
    color: #000;
    width: 90%;
    max-width: 500px;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    cursor: auto;
    z-index: 99999;
    border-radius: 10px;
    border: solid 2px #d50000;
}

#login_box .c-button::after {
    font-family: "Font Awesome 5 Free";
    content: '\f061';
    font-weight: 700;
    background: #fff;
    width: 27px;
    height: 27px;
    color: #d61919;
    display: inline-block;
    border-radius: 100px;
    line-height: 27px;
    font-size: 0.7rem;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transition: all .2s;
}

#login_box h4 {
    font-weight: bold;
    padding: 20px;
    font-size: 1.2rem;
    color: #d50000;
    background: #fbebeb;
    border-radius: 10px 10px 0 0;
}

#login_box ul {
    padding: 30px;
    margin: auto;
}

#login_box ul li h5 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
}
#login_box ul li h5:before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-bottom: -1px;
    margin-right: 7px;
    background-color: #003a97;
    display: inline-block;
}
#login_box ul li.regist_btn {
    margin-bottom: 30px;
}

#login_box ul li.regist_btn a.c-button {
    background: #d50000;
}

#login_box ul li a.c-button {
    border: 0;
    font-size: 1.4rem;
    max-width: 320px;
    margin: auto;
    padding: 20px;
}

#login_box .login_btn .c-button::after {
    color: #0046d5;
}

#login_box ul li.login_btn a.c-button {
    background-color: #0046d5;
}

body.AI_search{
    background:#fff;
}

/*タイトル*/
.single_title_page .head_wrap{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
}

.single_title_page .head_wrap .inner {
    position: relative;
    max-width: 1400px;
    margin: auto;
    padding: 20px;
}

.single_title_page .head_wrap .inner h2{
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-top: 6px;
    margin-bottom: 0;
}

.single_title_page .head_wrap .inner p{
    color: #fff;
}

.single_title_page .head_wrap .inner .ribbon {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
}

.single_title_page .head_wrap .inner .ribbon {
  --r: 1rem;
  border-block: 0.3em solid #0000;
  padding-inline: 0px calc(var(--r) + 1em);
  line-height: 1.4;
  clip-path: polygon(100% 0, 0 0, 0 100%, 100% 100%, 100% calc(109% - .25em), calc(100% - var(--r)) 50%, 98% .25em);
  background: #cd0a0b;
  width: fit-content;
  /* position: absolute; */
  top: 20px;
  /* comingsoon外れたら↓ */
  left: 0;
}

.single_title_page .head_wrap .inner .ribbon span {
  font-weight: bold;
  color: #fff;
  position: relative;
  padding-left: 10px;
}

.single_title_page .head_wrap .inner .ribbon span:before {
  font-family: "Font Awesome 5 Free";
  margin-right: 11px;
  color: #fff;
  content: "\f023";
}

@media screen and (max-width: 600px) {
    .single_title_page .head_wrap .inner {
        padding: 20px 20px;
    }
    .single_title_page .head_wrap .inner h2 {
        font-size: 1.8rem;
    }
    .single_title_page .head_wrap .inner p {
        margin-top: 10px;
        text-shadow: #142429 1px 1px 10px, #142428 -1px 1px 10px, #142429 1px -1px 10px, #142429 -1px -1px 10px;
    }
}

@media screen and (max-width: 600px) {
    .single_title_page .head_wrap .inner h2 {
        font-size: 1.5rem;
    }
}

/*common*/
.AI_search_cont .fa-solid {
    font-size: inherit;
}

.AI_search_cont .head_wrap{
    background-image: url("../../../../assets/img/forvisitors/AI_search/AI_search_bg.webp");
}

/*main_cont*/
.AI_search_cont{
    background: #fff;
}
.AI_search_cont .main_cont .main_cont_inner{
    max-width: 1400px;
    margin: auto;
    padding: 40px 20px 20px;
}

/*attention_area*/
.AI_search_cont .attention_wrap {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
}
.AI_search_cont .attention_robot {
    width: 130px;
    height: auto;
    flex-shrink: 0;
}
.AI_search_cont .attention_area {
    position: relative;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fbebeb;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 12px;
}
/* 吹き出しのしっぽ（右のロボットに向ける） */
.AI_search_cont .attention_area::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fbebeb;
}
.AI_search_cont .attention_area dd li {
    font-size: 0.8rem;
    text-indent: -0.8rem;
}
.AI_search_cont .attention_area dt{
    width: 140px;
    color: #cd0a0a;
    font-weight: bold;
    font-size: 1rem;
}
.AI_search_cont .attention_area dd {
    width: calc(100% - 140px);
    border-left: solid #edd1d1 1px;
    padding-left: 30px;
}

/*h3*/
.AI_search_cont h3 {
    /* font-size: 1.6rem; */
    font-weight: bold;
    display: flex;
    align-items: center;
}
.AI_search_cont h3 span {
    font-size: 1.6rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    background: #003a97;
    text-align: center;
    color: #fff;
}


/*search_talk_area*/
.AI_search_cont .search_talk_area .title_wrap {
    padding: 10px 0 20px;
}

.AI_search_cont .search_talk_area .title_wrap p {
    margin-top: 4px;
    /* font-size: 1.2rem; */
}

/*スクロールバー参考：https://ccg-wheads.jp/journal/article-634/*/

/*吹き出し参考：https://saruwakakun.com/html-css/reference/speech-bubble*/

/*loading 参考：https://photopizza.design/css_loading/*/

@media screen and (max-width: 850px) {

    .AI_search_cont .attention_wrap {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 10px;
        /* margin-bottom: 20px; */
    }

    .AI_search_cont .attention_robot {
        width: 90px;
        margin-right: 20px;
        display: none;
    }

    .AI_search_cont .attention_area {
        flex-wrap: wrap;
        padding: 20px;
        width: 100%;
    }

    /* しっぽは下向き（ロボットは下） */
    .AI_search_cont .attention_area::after {
        top: auto;
        bottom: -14px;
        right: 50px;
        transform: none;
        border-width: 16px 12px 0 12px;
        border-color: #fbebeb transparent transparent transparent;
        display: none;
    }

    .AI_search_cont .attention_area dt {
        width: 100%;
        margin-bottom: 10px;
    }

    .AI_search_cont .attention_area dd {
        width: 100%;
        border: none;
        margin: 0;
        text-indent: -1rem;
        padding-left: 1rem;
    }

    .AI_search_cont h3 {
        /* font-size: 1.5rem; */
    }

    .AI_search_cont h3 span {
        font-size: 1.4rem;
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .AI_search_cont .search_talk_area .title_wrap {
        padding: 10px 0 20px;
    }

    .AI_search_cont .search_talk_area .title_wrap p {
        margin-top: 5px;
    }

    .AI_search_cont .fa-solid {}

}

@media screen and (max-width: 480px) {

    #login_box ul li h5 {
        font-size: 1.2rem;
    }

    #login_box ul li h5:before {
        width: 15px;
        height: 15px;
        margin-bottom: -1.7px;
    }

    .AI_search_cont .head_wrap {
        background-position-x: 90%;
    }

    .AI_search_cont .title_wrap p {
        font-size: 1rem!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
    }

    .AI_search_cont .main_cont .main_cont_inner {
        padding: 20px 20px 50px;
    }

}