@charset "UTF-8";
/*=====================================================================
　リセット
=====================================================================*/
 html,
 body,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p,
 ul,
 dl,
 dd,
 dt,
 ol{
     margin: 0;
     padding: 0;
 }
 ul {
     list-style: none;
 }
 ul, dl, ol{
 	list-style-position: inside;
 }
 a {
 	color: inherit;
 	text-decoration: none;
 }
img{
	height: auto;
	max-width: 100%;
    vertical-align: bottom;
	width: 100%;
}


/*=====================================================================
　PC
=====================================================================*/
*{
    box-sizing: border-box;
}

html {
	scroll-behavior: smooth; /* スムーススクロール */
}

body{
    background: var(--bg-color);
    
    color: var(--text-color);
    
    font-family: var(--text-set);
    font-size: var(--text-size);
    font-style: var(--text-style);
    font-weight: var(--text-weight_r);
    
    line-height: 1.8;
}
h1, h2, h3, h4, h5, h6{
    font-weight: var(--text-weight_bo);
}


/* 全般
----------------------------------------------*/
article{
    margin: var(--space-100) auto;
    max-width: 1200px;
    width: var(--inner-w);
}

/* section */
article section{}
article section:nth-child(n+2){
    margin-top: var(--space-150);
}

/* section内box */
article .box__cont{
    
}
article .box__cont:nth-child(n+2){
    margin-top: var(--space-40);
}
/* 大見出し */
article .box__cont .ttl__img{
    margin-bottom: var(--space-40);
}
article .box__cont .ttl__img img{
    width: 60%;
}

/* 小見出し */
article .box__cont .ttl__blue{
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--space-10);
}

/* 注釈 */
.notes{
    color: var(--third-color);
    font-size: 80%;
}

/* 改行 */
.br__sp{
    display: none;
}


/* 横スクロール ※PC時は折り返し表示
----------------------------------------------*/
.box__scroll{
    
}
.box__scroll_sub{
    
}

/* 横並び */
.li__flow_img{
    display: grid;
    gap: var(--space-40);
    grid-template-columns: repeat(4, 1fr);
}

/* カード */
.li__flow_img li{
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    
    position: relative;
}
.li__flow_img li::after{
    border: 15px solid transparent;
    border-left: 15px solid var(--primary-color);
    box-sizing: border-box;
    margin: auto;
    height: 15px;
    width: 15px;
    
    /* 位置 */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -10%;
}
.li__flow_img li:last-of-type::after{
    border: none;
    border-left: none;
}

/* テキスト */
.li__flow_img li .txt{
    /*display: flex;*/
    /*font-size: 90%;*/
}

/* 番号 */
.li__flow_img li .num{}
.li__flow_img li .num::before{
    content: "1";
    background: var(--primary-color);
    border-radius: 999px;
    color: var(--secondary-color);
    font-weight: var(--text-weight_bo);
    margin-bottom: 0.25rem;
    margin-right: 0.5rem;
    
    /* サイズ */
    height: 35px;
    width: 35px;
    
    /* 文字の中央寄せ */
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
}

.li__flow_img li .num__1::before{
    content: "1";
}
.li__flow_img li .num__2::before{
    content: "2";
}
.li__flow_img li .num__3::before{
    content: "3";
}
.li__flow_img li .num__4::before{
    content: "4";
}
.li__flow_img li .num__5::before{
    content: "5";
}
.li__flow_img li .num__6::before{
    content: "6";
}

/* 画像 */
.li__flow_img li .img{
    margin-top: auto;
}
.li__flow_img li .img img{
    display: block;
    margin: 0 auto;
    width: 65%;
}


/* list_大きい数字が見出し
----------------------------------------------*/
.li__benefit{}

.li__benefit li{}
.li__benefit li:nth-child(n+2){
    margin-top: var(--space-20);
}

/* 数字見出し */
.li__benefit .num__benefit{
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: var(--text-weight_bl);
    line-height: 1;
    margin-bottom: 5px;
}


/*=====================================================================
　850px以下
=====================================================================*/
@media screen and (max-width: 850px) {
    /* 全般
    ----------------------------------------------*/
    article{
        margin: var(--space-50) auto;
    }
    
    /* section */
    article section:nth-child(n+2){
        margin-top: var(--space-80);
    }
    
    /* 大見出し */
    article .box__cont .ttl__img{
        margin-bottom: var(--space-20);
    }
    article .box__cont .ttl__img img{
        width: 80%;
    }
    
    
    
    /* 横スクロール
    ----------------------------------------------*/
    .box__scroll{
        overflow-x: scroll;
    }
    .box__scroll_sub{
        overflow-x: scroll;
        padding-bottom: var(--space-20);
    }

    /* 横並び */
    .li__flow_img{
        display: grid;
        gap: var(--space-40);
        grid-template-columns: repeat(6, 1fr);
    }

    /* カード */
    .li__flow_img li{
        width: 280px;
    }
    
    /*スクロールバー全体の高さ*/
    .box__scroll::-webkit-scrollbar {
      height: 4px;
    }
    /*スクロールバー全体の背景*/
    .box__scroll::-webkit-scrollbar-track {
      background: #eee;
    }
    /*スクロールバーの動く部分*/
    .box__scroll::-webkit-scrollbar-thumb {
      background: #aaa;
      border: none;
    }
    /*スクロールバーの動く部分のホバー（マウスオーバー）*/
    .box__scroll::-webkit-scrollbar-thumb:hover {
      background: #999;
    }
    
    
}


/*=====================================================================
　580px以下
=====================================================================*/
@media screen and (max-width: 580px) {
    /* 全般
    ----------------------------------------------*/
    /* 大見出し */
    article .box__cont .ttl__img img{
        width: 100%;
    }
    
    /* 小見出し */
    article .box__cont .ttl__blue{
        font-size: 1.35rem;
        line-height: 1.4;
    }

    /* 改行 */
    .br__sp{
        display: block;
    }
    
    /* list_大きい数字が見出し
    ----------------------------------------------*/
    /* 数字見出し */
    .li__benefit .num__benefit{
        font-size: 2rem;
    }
}











