/* ヘッダー全体のスタイル */
/* デフォルトのフォントサイズ */
html {
    font-size: 14px;
}
body{
    font-family: "Noto Sans JP", sans-serif;
    overflow-x:clip;
    text-align: justify; /* 均等揃え */
    text-justify: inter-ideograph; /* 日本語のための均等揃え */
    word-break: break-word; /* 単語の途中で折り返さないように設定 */
    position: relative;
    background: linear-gradient(45deg, #c9c8c8, #ffffff, #c9c8c8);
}


a{
    cursor: pointer;
}

.header-image-logo-wrap {
    position: fixed;  /* 一番上で固定 */
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 10;
    padding-top: 10px;
    padding-left: 10px;
    height: 60px; /* ヘッダーの高さを設定 */
}
.header-image-logo-wrap img{
    width: fit-content;
    height: 100%;
}
.logo-back{
    background-color: #ffffffed;
}
/* 画面幅が480px以下の時（スマホ向け） */
@media screen and (max-width: 480px) {
    .header-image-logo-wrap {
        padding-top: 5px;
        padding-left: 5px;
        height: 33px; /* ヘッダーの高さを設定 */
    }
}
.secA{
    max-width: 1000px;
}
.visually-hidden,
.scroll-toggle-btn {
    display: none;
}
/************************************************************************************************ AIconsulting 基本以外*/
.sec-ai01{
    font-family: "Zen Old Mincho", serif;
}
h1{
    text-align: center;
}

.title-catchphrase-1{
    margin-top: 80px;
    text-align: left;
}
.title-catchphrase-1 p{
    margin-bottom: 20px;
    line-height: 1.5;
    font-family: "Yuji Syuku", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: #000;
}
.title-catchphrase-2{
    font-family: "Yuji Syuku", serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
    margin-top: 150px;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
text-align: center;
}
.title-catchphrase-2::after{
    position: absolute;
    bottom: -80px ;
    right: -190px ;
    content: "";
    background-image: url(../images-AIconsulting/title-syatyo.png);
    width: 180px;
    height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
}
.title-catchphrase-2 p:nth-of-type(1){
    font-size: 28px ;
    margin-bottom: 50px;
    color: #004573;
    border-bottom: #004573 3px solid;
    line-height: 1.5;
    padding-left: 1em;
    padding-right: 1em;
}
.title-catchphrase-2 p:nth-of-type(2){
    font-size: 22px ;
    margin-bottom: 50px;
}
.title-catchphrase-2 p:nth-of-type(3){
    font-size: 20px;
}


@media screen and (max-width: 2000px) {
    .secA{
        max-width: 1000px;
        width: 90% !important;
    }
    .title-catchphrase-1{
        margin-top: 50px;
    }
    .title-catchphrase-2{
        margin-top: 110px;
    }

}
@media screen and (max-width: 768px) {
    h1 img{
        width: 300px;
    }
    .title-catchphrase-1{
        margin-top: 30px;
    }
    .title-catchphrase-1 p{
        font-size: 16px;
    }
    .title-catchphrase-2{
        margin-top: 50px;
    }
    .title-catchphrase-2::after{
        bottom: -200px ;
        right: -100px ;
        width: 100px;
    }
    .title-catchphrase-2 p:nth-of-type(1){
        font-size: 20px;
    }
    .title-catchphrase-2 p:nth-of-type(2){
        font-size: 18px;
    }
}
@media screen and (max-width: 480px) {
    .title-catchphrase-1{
        margin-top: 10px;
    }
    .title-catchphrase-1 p{
        font-size: 14px;
        margin-bottom: 10px;
    }
    .title-catchphrase-2{
        margin-top: 20px;
    }
    .title-catchphrase-2::after{
        filter: opacity(20%);
        bottom: -240px;
        right: -20px ;
    }
    .title-catchphrase-2 p:nth-of-type(1){
        font-size: 18px;
    }
    .title-catchphrase-2 p:nth-of-type(2){
        font-size: 16px;
    }
    .title-catchphrase-2 p:nth-of-type(3){
        font-size: 15px;
    }

    .title-catchphrase-2 p:nth-of-type(1),
    .title-catchphrase-2 p:nth-of-type(2){
        margin-bottom: 30px;
    }

}
/************************************************************************************************ お悩み解決*/
.UseCases-wrap{
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap; /* 画面幅が狭くなると折り返し */
    margin-top:40px
}
.UseCases-box{
    width: 32%;
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    position: relative;
    border: #37bef0 1px solid;
}
.UseCases-box::before{
    position: absolute;
    top:-10px;
    left: -5px;
    color:#00538b;
    background-color: #fff;
    border: #00538b 1px solid;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
}
.UseCases-box:nth-of-type(1)::before{
    content: "お悩みCASE 01";
}
.UseCases-box:nth-of-type(2)::before{
    content: "お悩みCASE02";
}
.UseCases-box:nth-of-type(3)::before{
    content: "お悩みCASE03";
}
.UseCases-title{
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}
.UseCases-problem{
    margin-bottom: 10px;
}
.problem-title,
.answer-title{
    display: block;
    text-align: center;
    color:#fff;
    font-size: 15px;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
}
.problem-title{
    background-color: #00538b;
}
.answer-title{
    background-color:rgb(0, 207, 226);
}
.problem-title,
.answer-title{
    display: flex;
    align-items: center;   /* 縦中央揃え */
    justify-content: center; /* 横中央揃え */
}
.problem-title img,
.answer-title img{
    margin-right: 5px;
    margin-left: -20px;
}
.problem-text,
.answer-text{
    padding-left: 7px;
    padding-right: 7px;
}
.UC3-br{
    display: none;
}
@media screen and (max-width: 950px) {
    .UseCases-title{
        height: 50px;
        display: flex;
        justify-content: center;  /* 水平方向の中央揃え */
        align-items: center;      /* 垂直方向の中央揃え */
    }
    .UC3-br{
        display: block;
    }
}
/* 画面幅が768px以下の時（タブレット向け） */
@media screen and (max-width: 768px) {
    .problem-title img,
    .answer-title img{
        display: none;
    }
    .problem-text,
    .answer-text{
        font-size: 13px;
    }
}
@media screen and (max-width: 700px) {
    .UseCases-wrap{
        display: none;
        }
}
/************************************************************************************************ パスポート*/
.sec-header{
    z-index: 1;
}
h2{
    font-size: 2rem;   /* 28px */
    font-weight: bold;
    color: #00538b;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing:0.1em;
}

.contents-wrap p{
    margin-bottom: 20px;
    line-height: 1.4;
}
.passport-wrapImg {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* 画面幅が狭くなると折り返し */
    gap: 10px; /* 画像間の間隔 */
}
@media screen and (max-width: 900px) {
    .passport-wrapImg a:nth-of-type(1) img,
    .passport-wrapImg a:nth-of-type(3) img{
        width: 150px;
        height: auto;
    }
    .passport-wrapImg a:nth-of-type(2) img{
        width: 250px;
        height: auto;
        margin-top: 10px;
    }
}
@media screen and (max-width: 650px) {
    .passport-wrapImg a:nth-of-type(1) img,
    .passport-wrapImg a:nth-of-type(3) img{
        width: 100px;
        height: auto;
    }
    .passport-wrapImg a:nth-of-type(2) img{
        width: 150px;
        height: auto;

    }
}
@media screen and (max-width: 430px) {
    .passport-wrapImg a:nth-of-type(1) img,
    .passport-wrapImg a:nth-of-type(3) img{
        width: 80px;
        height: auto;
    }
    .passport-wrapImg a:nth-of-type(2) img{
        width: 120px;
        height: auto;
    }
}
/* 画面幅が480px以下の時（スマホ向け） */
@media screen and (max-width: 480px) {
    h2{
        font-size: 18px;   /* 28px */
        margin-bottom: 10px;
        letter-spacing:0em;
    }
    .contents-wrap p{
        margin-bottom: 10px;
        line-height: 1.1;
    }
}

/************************************************************************************************ セクション-フロー */
.ai-flow-inner{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    padding-left: 35px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 5px;
    border: #00538b 1px solid;
    margin-bottom: 20px;
    position: relative;
}
.ai-flow-inner::before {
    position: absolute;
    top: 10px;
    left: -25px;
    background-color: #00538b;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center; /* 縦方向中央配置 */
    justify-content: center; /* 横方向中央配置 */
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px; /* 文字間隔を広げる */
    border: 1px solid #00538b; /* 内側に白い線を追加 */
    box-sizing: border-box; /* 線が内側に収まるように調整 */
}

.ai-flow-inner:nth-of-type(1):before {
    content: "01";
}
.ai-flow-inner:nth-of-type(2):before {
    content: "02";
}
.ai-flow-inner:nth-of-type(3):before {
    content: "03";
}
.ai-flow-inner:nth-of-type(4):before {
    content: "04";
}
.ai-flow-inner h3{
    font-size: 16px;
    color: #00538b;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: bold;
    font-style: normal;
}
.ai-flow-inner p{
    line-height: 1.5;
}

@media screen and (max-width: 480px) {
    .ai-flow-inner{
        padding-left: 25px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-bottom: 5px;
        font-size: 12px;
    }
    .ai-flow-inner::before {
        top: 10px;
        left: -20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
        letter-spacing: 1px; 
    }
    .ai-flow-inner h3{
        font-size: 16px;
    }
    .ai-flow-inner p{
        line-height: 1.2;
    }
    .h2-subtext{
        font-size: 12px;
    }
}
/************************************************************************************************ セクション-研修 */

.training-box{
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: #c6c6c6 5px 5px 5px;
}
.training-box h3,
.training-box h4{
    text-align: center;
}
.training-box h3{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color:#fff;
    background-color: #00538b;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px 5px 0px 0px;
}
.training-box h4{
    font-size: 16px;
}
.training-list{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 10px;
}
.training-list li{
    border: #53a4d4 1px solid;
    margin-left: 10px;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    margin-top: 10px;
    border-radius: 5px;
}
@media screen and (max-width: 480px) {
    .training-box{
        padding: 10px;
        margin-bottom: 10px;
    }
    .training-box h3{
        font-size: 16px;
        margin-bottom: 5px;
    }
    .training-box h4{
        font-size: 14px;
    }
    .training-box:last-of-type{
        margin-bottom: 0;
    }
    .training-list{
        padding-bottom: 0px;
    }
    .training-list li{
        margin-top: 5px;
        line-height: 1.4;
        font-size: 12px;
        padding-top: 2px;
        padding-bottom: 2px;
    }
}
/************************************************************************************************ footer*/

.footer-last{
    padding-bottom: 50px;

    position: fixed;/*  一番下で固定↓ */
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 10;
}
.footer-text{
    font-size: 0.857rem; /* 12px */
    position: absolute;
    bottom: 10px;
    right: 20px;
}
.footer-text p:nth-of-type(2){
    margin-top: 10px;
}
.footer-text a{
    transition: 0.3s ease;
}
.footer-text a:hover{
    color: #37bef0;
}
/* 画面幅が768px以下の時（タブレット向け） */
@media screen and (max-width: 768px) {
    .footer-text p:nth-of-type(2){
        margin-top: 3px;
    }
}
/*************************************************** ボタン */
.AIcontactButton,
.ToZept{
    font-size: 1.143rem;  /* 16px */;
    color:#fff;
    background-color:#004573;
    border-radius: 5px;
    height: 50px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}
.ToZept{
    background-color: #fff;
    color: #00538b;
    border: #00538b 1px solid;
}
.AIcontactButton a,
.ToZept a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: 0.3s ease;
}
.AIcontactButton a:hover,
.ToZept a:hover{
    background-color:#37bef0;
    color: #fff;
    transform: scale(1.1); /* 110% に拡大 */
}
.ToZept a:hover{
    background-color: #00538b;
}

/* 画面幅が480px以下の時（スマホ向け） */
@media screen and (max-width: 480px) {
    .footer-index{
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .contactButton{
        font-size: 0.9rem;  /* 16px? */;
        height: 35px;
    }

    .footer-text{
        display: none;
    }
}
/************************************************************************************************ 大きいデバイス*/
