@charset "utf-8";
/* 共通 */
*{margin: 0;}
body {
    overflow-x: hidden;
}
main{
    margin: 0 auto;
}

.philosophy_p,ol,.sns>div,.sns>p,.solution>ul,.solution>div,.solution>p,.info>div{
    width: clamp(600px, 85vw, 1200px);
    margin: 0 auto;
}

section{
   margin-bottom: 100px; 
}
h1{
    display: none;
}
h2,h3{
    color: #6bb93f;
    text-align: center;
}
h2{
    font-size: 1.5em; 
    margin-bottom: clamp(30px, 5vw, 100px);
}
h2::before{
    content: "";
    display:inline-block;
    width: 20vw;
    margin: 0 auto;
    border: 1px solid #6bb93f;
    margin-bottom: 5px;
    margin-right: 30px;
}
h2::after{
    content: "";
    display:inline-block;
    width: 20vw;
    margin: 0 auto;
    border: 1px solid #6bb93f;
    margin-bottom: 5px;
    margin-left: 30px;
}
h3{ 
    font-size: 0.75em;  
}
h3::after{
    content: "";
    display: block;
    width: 50px;
    margin: 0 auto;
    border-bottom: 1px solid #6bb93f;
    margin-bottom: 5px;
}
.logo{
    width: clamp(250px, 23vw, 300px);
}
/* TOP */
.scroll img{
max-width: 100%;
}
header{
    overflow: hidden;
}


/* 会社説明 */
.philosophy_p{
    display: flex;
    justify-content: space-between;
}
.comsept{
    background-image: url(../img/philosophy.png);
    background-size:clamp(280px, 28vw, 400px);
    background-repeat: no-repeat;
    background-position:center;
    height: clamp(300px, 35vw, 400px);
    width: clamp(330px, 30vw, 400px);
    padding: 0 33px;
}
.comsept>p{
    font-size: clamp(1.2em, 1.8vw, 1.5em);
    text-align: center;
    font-weight: 900;
    position: relative;
    top: 37%;
}
.collar_y{
    font-size: clamp(1.5em, 3.2vw, 1.8em);
    color: #f7931e;
    background:linear-gradient(transparent 50%, #ff0 50%, #ff0 80%,transparent 80%);
}
.comsept_p{
    padding-left: 20px;
    align-self: center;
    max-width: 50vw;
}
.comsept_p>p{
    border-bottom: 1px solid #6bb93f;
    margin: 10px 0;
    padding: 10px 0;
    font-size: clamp(1em, 2vw, 1.5em);
}
.comsept_p>p:last-child{
    border-bottom: none;
}
.point_1,.point_2{
    display: flex;
}
.point_2{
    justify-content: flex-end;
    padding: 10px 0;
    overflow: hidden;
}
.point_1>img,.point_2>img{
    width: 1em;
    height: 1em;
}
.point_1>img{
    margin-right: 10px;
}
.point_2>img{
    margin-left: 10px;
}
/* 四角アニメーション */

.fadeIn{
    animation: point 1.5s;
    animation-fill-mode: backwards;
}
.fadeInTrigger{
    opacity: 0;
}
@keyframes point {
    0% {
      opacity: 0;/*初期状態では透明に*/
      transform: translateX(150px) rotate(0deg);
    }
    100% {
      opacity: 1;
      transform: translateX(0) rotate(-360deg);
    }
  }


/* サービス紹介 */
.s_number{
   position: relative;
   top: 1.85em;
   padding-left: 1em;
   font-size: 2em;
   color: #326432;
}

h4{
    color:#6bb93f;
    font-weight: bolder;
    font-size: 1.5em;
    text-align: right;
    line-height: 3em;
    background-image: url(../img/point_2.png);
    background-size:1.5em;
    background-repeat: no-repeat;
    padding-left: 1.5em;
}
ol{
    display: flex;
    justify-content: space-between;
    padding-inline-start: 0px;
}
ol>li{
   /* margin-right: 50px; */
   width: clamp(150px, 23vw, 357px);
   list-style-type: none;
}
.service>ol>li:last-child{
    margin-right: 0;
}

li>img{
    width: clamp(180px, 23vw, 357px);
}
.collar_g{
   background-color: #6bb93f;
   height: 80px;
   align-self: center;
   left: 10px;
   width: clamp(150px, 23vw, 357px);
   color:#fff;
   font-weight: bolder;
   margin-bottom: 20px;
}
.collar_g>p{
    padding: 12px 10px;
    font-size: 1.2em;
}


/* 実績 */
.value>ol>li>p{
    width: clamp(150px, 23vw, 357px);
    text-align: center;
    font-size: 1.2em; 
    height: 8em;
    color: #6bb93f;
    align-self: center;
}
.number{
    font-size: 1.2em;
    display: block;
    width: 30px;
    color:#fff;
    background-color: #6bb93f;
    padding: 5px 10px;
    font-weight: bold;
    margin: 0 auto;
}
.sizup{
    font-size: 1.5em;
    font-weight: bold;
    background:linear-gradient(transparent 50%, #ff0 50%, #ff0 80%,transparent 80%);    
}


/* SNS */
.sns_img{
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
}
.sns_img>img{
   width: 18%;
   height: auto;
   margin: 0 -10px;
}
.sns>p{
    text-align:right;
    font-weight: bold;
}
.sns_link{
    text-align: center;
}
.ya_1,.ya_2,.ya_3{
    width: clamp(25px, 10%, 70px)
}
.sns_link>a>.inst{
    width: 480px;
    transition: 0.75s;
}

.inst:hover{
    transition: 0.75s;
    transform: translate(0, -15px);
    cursor: pointer;
}



/* お悩みに答えます */
.solution{
    background-image: url(../img/bg_grd.png);
    background-size:120% 60% ;
    background-repeat: no-repeat;
    background-position:50% 0%;
}
.solution_1,.solution_2{
    max-width: 40%;
}
.solution_flex1,.solution_flex2{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 0;
}
.solution_flex1>ul,.solution_flex2>p{
    align-self: center;
    font-size: 1em;
}
.solution_flex1>ul{
    border: solid 1px #000;
    border-right: none;
    list-style-type: none;
    padding: 1em;
    width: 75%;
}
.solution_flex1>ul>li{
  padding-left: 1.5em;
  background-image: url(../img/reten.png);
  background-repeat: no-repeat;
  background-size: 1em;
  background-position: left center;
  line-height: 2em;
}
/* MAP */
.map>iframe{
    display: block;
    height: 45vw;
    width: clamp(300px, 70vw, 800px);
    margin: 0 auto;
}

/* お問い合わせ */
.info{
      background-image: url(../img/info-bgi.png);
      background-size:110%;
      background-repeat: no-repeat;
      background-position:50% 7vw;
      padding: 10px 0 30px;
}
.info_box{
    background-color: #fff;
    opacity: 0.7;
    height: 14vw;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.info_box_0{
    display: none;
    opacity: 0.7;
}
.info_box_2 p{
    padding: 10px 0 10px 3vw;
}
.info_box_2 p:first-of-type{
font-size: 1.5em;
font-weight: bold;
background-image: url(../img/tel.png);
background-size:1em ;
background-repeat: no-repeat;
background-position: 0 50%;
}
.info_box_2 p:nth-of-type(2) {
    background-image: url(../img/fax.png);
    background-size:1.5em ;
    background-repeat: no-repeat;
    background-position: 0 50%;
}
.info_box_2 p:nth-of-type(3) {
    background-image: url(../img/mail.png);
    background-size:1.5em ;
    background-repeat: no-repeat;
    background-position: 0 50%;
}


.info_box>div{
    align-self: center;
}
.line_1,.line_2{
    height: 8vw;
    width: 2px;
    margin-right: 10px;
    margin-left: 10px;
}

/* 会社概要 */
.companyoverview>table{
    min-width: 50vw;
    margin: 0 auto;
}
table{
    border-collapse: collapse;
}
table>tbody>tr{
    background-color: #fff;  
    height: 4em;
    font-size: 1em;
}
tr>td:first-child{
    text-align: center;
    background-color: #a0de82;
    border: 2px solid #fff;
    padding: 0 20px;
    font-size: 1.25em;
    border-left: 1px solid #a0de82 ;
    border-right:1px solid #a0de82 ;
}
tr:first-child>td:first-child{
    border-top:2px solid #a0de82;
}
tr:last-child>td:first-child{
    border-bottom:2px solid #a0de82;
}
tr>td:last-child{
    padding: 0 1em;
    border:2px solid #a0de82;
}

/* フッター */
footer{
    text-align: center;
    margin-bottom: 20px;
}
/* 可変 */

@media (max-width:1000px) {
/* 共通(1000) */
.philosophy_p,ol,.sns>div,.sns>p,.solution>ul,.solution>div,.solution>p,.info>div{
    width: clamp(400px, 85vw, 800px);
}
.solution>h2::before,.solution>h2::after{
    width: 10vw;
}
/* 会社説明 (1000)*/
.comsept{
    background-size:clamp(200px, 30vw, 400px);
    height: clamp(250px, 35vw, 400px);
    width: clamp(280px, 30vw, 400px);
    padding: 0 33px;
}
.comsept>p{
    font-size: clamp(0.85em, 1.9vw, 1.5em);
    text-align: center;
    font-weight: 900;
    position: relative;
    top: 37%;
}
.collar_y{
    font-size: clamp(1.2em, 3.5vw, 1.8em);
}
.comsept_p{
    padding-left: 20px;
    align-self: center;
    max-width: 50vw;
}


/* サービス(1000) */
.s_number{
    top: 1.85em;
    padding-left: 0.5em;
 }
 .collar_g>p{
     font-size: 1em;
 }
li>img,ol>li,.collar_g{
        max-width: 30vw;
    }

/* SNS(1000) */
.sns>p{
    margin-top: 8px;
}
 .sns_link>a>.inst{
    width:clamp(260px, 55%, 480px);
}

 /* お悩み(1000) */
.solution_flex1{
    flex-direction:column-reverse;
}

.solution_1{
    max-width: 80vw;
    margin: 0 auto;
}
.info>.info_box{
    width: 80%;
}
.solution_flex1>ul{
    border-right: solid 1px #000;
}

/* 問い合わせ(1000)*/
.info{
    background-position:50% 80px;
}
    .info_box{
        height: 16vw;
        padding-top: 5vw; 
        font-size: 0.85em;
    }
    .info>div{
        width: 85vw;
    }
    .line_1,.line_2{
        height: 11vw;
    }

@media (min-width: 601px) and (max-width:850px) {
    h2::before,h2::after{
        width: 15vw;
    }
    h2::before{
        margin-right: 20px;
    }
    h2::after{
        margin-left: 20px;
    }
    .solution>h2::before{
        margin-right: 15px;
        width: 10vw;
    }
    
    .solution>h2::after{
        margin-left: 15px;
        width: 10vw;
    }

    h4{
        font-size: 1.2em;
        height: 2.5em;
        line-height: 1em;
        padding-left: 2.5em;
    }
    .s_number{
        font-size: 1.3em;
        top: 1.3em;
        padding-left: 1.5em;
    }
    .collar_g>p {
        padding: 7px 5px;
        }

    li>img, ol>li,.collar_g,.value>ol>li>p{
        width:clamp(100px, 26vw, 180px);
    }
    .value>ol>li>p{
        margin: 0 auto;
        height: 10em;
    }

    .sizup{
        font-size: 1.2em;
    }

    .map>iframe{
        height: 450px;
    }
    .info>.info_box{
        margin-top: -2em;
        justify-content: space-evenly;
    }
    .info>.info_box_0{
        display: block;
        text-align: center;
        position: relative;
        top: 1.3em;
        z-index: 2;
        margin-bottom: 3px;
    }
    .info_box_1{
       display: none;
    }
    .info_box_2,.info_box_3,.line_2{
        padding-top: 2em;
    }
    .info_box_2 p{
        padding: 5px 0 5px 5vw;
    }
    .info_box_2 p:first-of-type{
        font-size: 1.2em;
        }
    .line_1{
        display: none;
    }
    .line_2{
        height: 11vw;
        width: 2px;
        margin-right: 5px;
        margin-left: 5px;
    }

    }
@media (max-width:600px) {
    h2::before,h2::after{
        display: none;
    }    
    section{
        margin-bottom: 40px;
    }
    .philosophy_p, ol, .sns>div, .sns>p, .solution>ul, .solution>div, .solution>p, .info>div,.companyoverview>table{
    width: 85vw;
    }
    p{
        text-align: center;
    }
    .collar_g{
        height: 90px;
    }
    .philosophy_p,ol,.solution_flex2,.info_box{
    flex-direction: column;
    justify-self: center;
    }
    .comsept{
    margin: 0 auto;
    background-size: clamp(200px, 30vw, 400px);
    max-width: 300px;;
    min-height: 300px;
    padding: 0 ;
    }
    .comsept>p{top: 40%;}
    .comsept_p{
    padding: 0;
    min-width: 90vw;
    font-size: 0.85em;
    }
    .solution_flex1{
    flex-direction:column-reverse;
    }
    li>.s_number>p{
    text-align: left;
    padding-left: 10px;
    }
    ol>li{
    display: block;
    margin: 0 auto;
    }
    .service>ol>li:last-child {
    margin: 0 auto;
    }
    .collar_g>p{
    font-size: 1.4em;
    }
    li>img,li>img,ol>li,.collar_g,.value>ol>li>p{
    max-width: 85vw;
    width: 90vw;
    }
    .number{
    margin: 20px auto;
    }
    .value>ol>li>p{
    height: auto;
    }
    .value>ol>li>p>br{
    display: none;
    }
    .sns_img{
    flex-wrap: wrap;
}
.sns_img>img{
    width: 35%;
}
.ya_1,.ya_2,.ya_3{
    width: 2em;
}
.solution>h2{
    font-size: 1.35em;
}
.solution_1, .solution_2{
    max-width: 80vw;
    margin: 0 auto;
}

.map>iframe{
    height: 400px;
    width: 85%;
}
.info{
    background-size: 300%;
}
.info>.info_box{
    width: 80%;
    height: 45%;
}
.line_1,.line_2{
    display: none;
}
.info_box_2 p{
    width:max-content;
    padding-left: 30px;
}
.solution_flex1>ul{
    border-right: solid 1px #000;
}
tr>td:first-child{
    padding: 0 ;
    font-size: 1em;
    min-width: 86px;
}


}}