/*-------------------------------------------------
共通パーツ
---------------------------------------------------*/



/*四角あしらい*/
.square{
    width:890px;
    height:auto;
    position: absolute;
    top:-88px;
    right:-70px;
    z-index: -1;
    opacity: .25;
}
@media(max-width:1440px){
    .square{
        width: clamp(700px, 61.81vw, 890px);
    }
}
@media(max-width:1024px){
    .square{
        width: 600px;
    }
}
@media(max-width:768px){
    .square{
        width: clamp(500px, 78.13vw, 600px);
    }
}
@media(max-width:600px){
    .square{
        width: clamp(400px,83.33vw,500px);
    }
}
@media(max-width:425px){
    .square{
        width: 105.88vw;
    }
}

/*セクションタイトル*/
.section_ttl{
    position: relative;
}
.section_ttl .section_ttl_en{
    font-size: 8.75rem;
    font-weight:900;
    font-family: "Roboto", sans-serif;
}
.about .section_ttl_en,
.reasons .section_ttl_en,
.company .section_ttl_en,
.blog .section_ttl .section_ttl_en{
    color:#3B4A60;
}
.service .section_ttl .section_ttl_en,
.message .section_ttl .section_ttl_en{
    color:#55647E;
}
.section_ttl h2{
    display: inline-block;
    font-size: 1.75rem;
    border-bottom:solid 2px #FFC400;
    padding-bottom:0.625rem;
    font-weight: bold;
    color:#FFC400;
    position: absolute;
    bottom:10px;
    left:0;
}
@media(max-width:425px){
    .section_ttl .section_ttl_en{
        font-size: 4.625rem;
    }
    .section_ttl h2{
        font-size: 1.25rem;
        bottom:3px;
    }
}


/*-------------------------------------------------*/



/*メインビュー*/
.main_view{
    width:100vw;
    margin-top:98px;
    position: relative;
    overflow: hidden;
}
.main_view::after{
    content:"";
    width:100%;
    height:100%;
    display: block;
    background:linear-gradient(rgba(59, 74, 96,.17),#3B4A60);
    position: absolute;
    top:0;
    left:0;
}
.main_view img{
    width:100%;
    height:100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.2);  /* 最初は少し拡大してスタート */
    filter: blur(10px); 
    animation: zoomLoop 10s ease-in-out forwards;
}
@keyframes zoomLoop {
    0% {
        opacity: 0;
        transform: scale(1.2);
        filter: blur(10px);
      }
      30% {
        opacity: 1;
        filter: blur(0px);   /* ぼやけ解除 */
      }
      100% {
        opacity: 1;
        transform: scale(1); /* ゆっくりズームアウト */
        filter: blur(0px);
    } 
  }
.main_view h2{
    width:100vw;
    font-family: "Zen Antique", serif;
    font-weight: 400;
    font-size: 3rem;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    text-align: center;
    color:white;
    text-shadow: 0px 0px 10px rgba(0,0,0,1);
}


/*news*/
.news{
    background-color: #3B4A60;
    padding:3.75rem 0;
}

.news .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.news_section_ttl h2{
    font-size: 2rem;
    font-weight: 500;
    color:white;
}

.news .view_btn{
    margin-top:3.75rem;
}

.news_wrapper{
    width:calc(862px - 1.25rem);
}
.news_wrapper article{
    width:100%;
    transition: .3s;
}
.news_wrapper article:hover{
    opacity: .6;
}
.news_wrapper article a{
    display: block;
    color:white;
    padding:1.25rem 0.625rem;
    border-bottom:solid 1px white;
}
.news_wrapper article:first-of-type a{
    padding:0rem 0.625rem 1.25rem 0.625rem;
}
.news_wrapper article a div{
    display: flex;
    align-items: center;
    justify-content:flex-start;
}
.news_wrapper article a div .tag{
    font-size: 0.875rem;
    padding:0.313rem 0;
    width:120px;
    background-color: #FFC400;
    color:#3B4A60;
    text-align: center;
    margin:0 1.875rem;
}
.news_wrapper article a div .news_post_ttl{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width:557px;
}





/*リンクスについて*/
.about{
    position: relative;
}

.about_content{
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about_content .content_info h3{
    color:#FFC400;
    font-size: 1.25rem;
}
.about_content.philosophy{
    margin:3.125rem 0;
}
.about_content.philosophy .content_info{
    width:612px;
}
.about_content.philosophy .content_info .philosophy_copy{
    font-size: 2rem;
    font-family: 'yu-mincho-pr6n', sans-serif;
    font-weight: bold;
    color:white;
    margin-bottom: 2rem;
}
.about_content.philosophy .content_info .philosophy_copy br{
    display: none;
}
.about_content.philosophy img{
    width:623px;
    height:350px;
    object-fit: cover;
    position: relative;
    right:-14%;
}

.about_content .content_txt{
    color:white;
    line-height:2.5rem;
}
.about_content.guidelines{
    flex-flow: row-reverse;
}
.about_content.guidelines .content_info{
    margin-right:2rem;
}
.about_content.guidelines .content_info .view_btn{
    margin-top:3.75rem;
    text-align: right;
}
.about_content.guidelines img{
    width:500px;
    height:auto;
}




/*事業内容*/
.service{
    width:100vw;
    height:100%;
    background: linear-gradient(115deg,#465D7E,#273243);
    position: relative;
    overflow: hidden;
}
.service .section_ttl{
    text-align: center;
}
.service .section_ttl h2{
    left:50%;
    transform: translateX(-50%);
}
.service_wrapper{
   width:100%;
   display: flex;
   justify-content: space-between;
   align-items:stretch;
   margin-top:3.75rem;
}
.service_content{
    width:calc((100% - 50px) / 3);
    overflow: hidden;
    background-color: #FFFFFF;
    position: relative;
    z-index: 2;
}
.service_content img{
    width:130%;
    height:200px;
    object-fit: cover;
    object-position: center -50px;
    position: relative;
}
.service_content::after{
    content:"";
    display: block;
    width:100%;
    height:200px;
    background-color: rgba(13, 75, 171,.22);
    position: absolute;
    top:0;
    left:0;
    z-index: 2;
}
.service_info{
    width:90%;
    margin:1.875rem auto;
}
.service_info_wrapper h3{
    font-size: 1.125rem;
    font-weight: 600;
    color:#0D4BAB;
    text-align: center;
}
.service_info_wrapper p{
    line-height:2rem;
    margin-top:1.875rem;
}
.service .view_btn{
    margin:3.75rem auto 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.bill{
    position: absolute;
    width:433.49px;
    height:auto;
    bottom:-6%;
    right:-3%;
    opacity: .4;
}



/*選ばれる理由*/
.reasons{
    position: relative;
}
.reasons_container .reasons_content{
    width:100%;
    position: relative;
    margin-top:3.75rem;
}

.reasons_content span{
    font-family: "Lobster", sans-serif;
    font-size: 7.938rem;
    color:#3B4A60;
    position: absolute;
    top:0;
    z-index: -1;
}
.reasons_content .content_area{
    width:93%;
    margin:0 auto;
    padding-top:6rem;
}
.reasons_content .content_ttl{
    font-size: 1.25rem;
    color:white;
    position: relative;
    left:21px;
    margin-bottom:2.813rem;
}
.reasons_content .content_ttl::before{
    content:"";
    display: block;
    width:10px;
    height:10px;
    border-radius: 90px;
    background-color:#FFC400;
    position: absolute;
    top:50%;
    left:-21px;
    transform: translateY(-50%);
}
.reasons_container .reasons_content p{
    color:white;
    line-height:1.875rem;
}
.reasons_container .reasons_content .cost_img{
    display: flex;
    justify-content: space-between;
}
.reasons_container .reasons_content .cost_img .cost_content{
    width:calc((100% - 3.125rem) / 2);
    margin:1.25rem 0 2rem 0;
}
.reasons_container .reasons_content .cost_img .cost_content img{
    width:100%;
    height:auto;
}
.reasons_container .reasons_content .cost_img .cost_content p{
    margin-top:1.25rem;
}
.content_flex{
    display: flex;
    justify-content: space-between;
    align-items: self-start;
}
.content_flex .reason_img{
    width:550px;
    height:310px;
    overflow: hidden;
    position: relative;
}
.content_flex .reason_img::after{
    content:"";
    display: block;
    width:100%;
    height:100%;
    background:linear-gradient(-115deg,rgba(141, 185, 255,0),#191F29);
    position: absolute;
    top:0;
    left:0;
    z-index: 2;
}
.content_flex .reason_img img{
    width:100%;
    height:auto;
    object-fit: cover;
}
.content_flex .reason_img.zoom img{
    width:180%;
    height:auto;
    object-fit: cover;
    object-position: -15vw -23vw;
}
.content_flex p,
.content_flex .reason_info{
    width:500px;
}
.content_flex .reason_info .contact_btn{
    margin-top:2.5rem;
}
.content_flex .reason_info .contact_btn a{
    width:350px;
    display: inline-block;
    text-align: center;
    padding:1.25rem 0;
    background:linear-gradient(115deg,#FFC400,#A37E00);
    color:white;
    transition: .3s;
}
.content_flex .reason_info .contact_btn a:hover{
    opacity: .8;
}



/*代表挨拶*/
.message_bg{
    width:100%;
    padding:3.75rem 0;
    background: linear-gradient(115deg,#465D7E,#273243);
}
.message .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.responsive{
    display: none;
}
.president_img{
    position: relative;
    width:480px;
}
.president_img img:first-of-type{
    width:480px;
    height:auto;
}
.president_img img:last-of-type{
    width:458px;
    height:auto;
    position: absolute;
    bottom:-250px;
    left:-33.5%;
}
.president_pro{
    width:calc((100% - 480px) - 5%);
    color:white;
}
.message_txt,.career_txt{
    line-height:1.875rem;
}
.message_txt{
    margin-top:3.75rem;
}
.career{
    width:100%;
    background-color:#55647E;
    cursor: pointer;
    margin-top:2.5rem;
}
.career_ttl{
    padding:0.938rem 0;
    display: flex;
    justify-content: space-between;
}
.career_ttl p{
    font-weight:bold;
}
.career_ttl .down_arrow{
    width:1rem;
    height:1rem;
    position: relative;
}
.career_ttl .down_arrow span{
    display: block;
    width:.8rem;
    height:3px;
    background-color: white;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
}
.career_ttl .down_arrow span:first-of-type{
    left:-30%;
    transform: rotate(45deg);
}
.career_ttl .down_arrow span:last-of-type{
    right:0;
    transform: rotate(-45deg);
}
.career_ttl .down_arrow.rotate span:first-of-type{
    transform: rotate(-45deg);
}
.career_ttl .down_arrow.rotate span:last-of-type{
    transform: rotate(45deg);
}
.career_ttl,.career_txt{
    width:90%;
    margin:0 auto;
}
.career_txt{
    padding:0.625rem 0 0.938rem 0;
    display: none;
}
.message .view_btn{
    text-align: right;
    margin-top:3.75rem;
}

/*ビデオサムネ*/
.video .container{
    display: flex;
    justify-content: flex-end;
    padding:0 !important;
}
.video .video_wrapper{
    width:calc((100% - 480px) - 5%);
}
.video .video_ttl{
    width:100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin:1.25rem 0;
}
.video .video_ttl img{
    width:25px;
    height:25px;
    margin-right:10px;
}
.video .video_ttl p{
    font-weight: bold;
    color:white;
}
.video iframe{
    width:100%;
    height:23vw;
}



/*会社概要*/
.company{
    margin-top:5rem;
}
.company .company_bg{
    width:100%;
    height:100%;
    padding-bottom:6.25rem;
    background-image: url(./img/company_bg.JPG);
    background-position: center;
    background-size: cover;
    position: relative;
}
.company .company_bg::after{
    content:"";
    display: block;
    width:100%;
    height:100%;
    background: linear-gradient(#55647E,rgba(39, 50, 67,.46));
    position: absolute;
    top:0;
}
.company .container{
    position: relative;
    z-index: 2;
    padding: 0 !important;
}
.company .section_ttl .section_ttl_en:last-of-type{
    position: absolute;
    top:90%;
    right:0;
    z-index: -1;
}
.company .container .company_txt{
    color:white;
    margin-top:2.5rem;
}
table{
    width:70%;
    margin:1.25rem auto 0 auto;
}
table tr{
    color:white;
    display: flex;
    justify-content: center;
    align-items: center;
}
table tr th,
table tr td{
    border-bottom: solid 1px white;
    padding-top:1.25rem;
    padding-bottom:1.25rem;
}
table tr th{
    width:calc(20% - 1.25rem);
    text-align: left;
    padding-left:1.25rem;
}
table tr td{
    width:calc(56% - 1.25rem);
    padding-right:1.25rem;
}



/*ブログ*/
.blog .section_ttl .section_ttl_en{
    text-align: center;
}
.blog .section_ttl h2{
    left: 50%;
    transform: translateX(-50%);
}

.blog_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top:2.5rem;
}
.blog_wrapper article{
    width:calc((100% - 5%) / 3);
    margin-top:1.25rem;
}
.blog_wrapper article a{
    color:white;
    transition: .3s;
}
.blog_wrapper article a:hover{
    opacity: .8;
}
.blog_wrapper article a:hover .blog_thumbnail img{
    transform: scale(1.1);
}
.blog_wrapper article .blog_thumbnail{
    width: 100%;
    aspect-ratio: 350 / 220; /* 比率を固定 */
    overflow: hidden;   
}
.blog_wrapper article .blog_thumbnail img{
    width:100%;
    height:100%;
    object-fit: cover;
    transition: .3s;
}
.blog_wrapper article h3{
    font-size: 1.125rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* 行数を指定 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top:1.25rem;
    margin-bottom:.5rem;
}
.blog_wrapper article .date{
    font-size: 0.875rem;
}
.blog .view_btn{
    margin-top:3.75rem;
    text-align: center;
}
/*-------------------------------------------------------------
                            レスポンシブ
---------------------------------------------------------------*/

@media(max-width:1440px){
    /*メインビジュアル*/
    .main_view{
        margin-top:6.81vw;
    }


    /*ニュース*/
    .news_wrapper{
        width:calc(80% - 1.25rem);
    }
    .news_wrapper article a div .news_post_ttl{
        width: clamp(450px, 41.67vw, 600px);
    }

    
    /*リンクスとは*/
    .about_content.philosophy .content_info {
        width: 50%;
    }
    .about_content.guidelines img{
        width: clamp(400px, 34.72vw, 500px);
    }
    .about_content.guidelines .content_info {
        margin-right: 3.5rem;
    }


    /*事業内容*/
    .service_content {
        width: calc((100% - 3vw) / 3);
    }
    .service_content img {
        width: 475px;
        height: 14vw;
        object-position: center -2.5vw;
    }
    .service_content::after{
        height: 14vw;
    }


    /*選ばれる理由*/
    .content_flex .reason_img{
        width: 50%;
        height: 21vw;
    }
    .content_flex p, .content_flex .reason_info {
        width: 45%;
    }
    .content_flex .reason_info p{
        width:100%;
    }


    /*代表挨拶*/
    .president_img{
        width: 40%;
    }
    .president_img img:first-of-type,
    .president_img img:last-of-type{
        width:100%;
    }
    .president_img img:last-of-type{
        bottom: -17.36vw;
        left: -31.5%;
    }
    
    .president_pro,
    .video .video_wrapper{
        width: calc((100% - 40%) - 5%);
    }



    /*会社概要*/
    table{
        width:85%;
    }
}



@media(max-width:1024px){
    /*メインビジュアル*/
    .main_view{
        margin-top:7.81vw;
    }
    .main_view h2{
        font-size: 2.5rem;
    }


    /*ニュース*/

    .news_wrapper article a div .tag{
        margin:0 1.25rem;
    }
    .news_wrapper article a div .news_post_ttl{
        width: clamp(300px, 43.95vw, 450px);
    }



    /*リンクスとは*/
    .about_content.philosophy .content_info .philosophy_copy br{
        display: block;
    }
    .about_content.philosophy img{
        width: 60%;
        height: 27.34vw;
        right: -7%;
    }
    .about_content.guidelines img{
        width: clamp(350px, 39.06vw, 400px);
    }
    .about_content.guidelines .content_info {
        width: calc((100% - clamp(350px, 39.06vw, 400px)) - 2rem);
    }


    /*事業内容*/
    .service_content img {
        height: 17vw;
    }
    .service_content::after{
        height: 17vw;
    }


    /*選ばれる理由*/
    .cost_txt br{
        display: none;
    }
    .content_flex .reason_img {
        width: 50%;
        height: 26vw;
    }
    .content_flex .reason_img.zoom img{
        width: 190%;
        object-position: -20vw -25vw;
    }
    .content_flex .reason_info .contact_btn a{
        width: 100%;
    }




    /*代表挨拶*/
    .president_img {
        width: 30%;
    }
    .president_img img:last-of-type {
        bottom: -14.36vw;
        left: -23%;
    }
    .president_pro{
        width: calc((100% - 30%) - 5%);
    }
    .video .container{
        display: block;
    }
    .video .video_wrapper{
        width:70%;
        margin: 0 auto;
    }
    .video iframe{
        height:35vw;
    }



    /*会社概要*/
    table {
        width: 90%;
    }
}


@media(max-width:768px){
    /*メインビジュアル*/
    .main_view {
        margin-top: 80px;
    }
    .main_view h2{
        line-height:4rem;
    }


    /*ニュース*/
    .news .container{
        flex-flow: column;
    }
    .news .view_btn{
        display: none;
    }
    .news_wrapper{
        width: 100%;
        margin-top:1.875rem;
    }
    .news_wrapper article a div .news_post_ttl{
        width: 70%;
    }


    /*リンクスとは*/

    .about_content.philosophy,
    .about_content.guidelines{
        flex-flow: column;
    }
    .about_content.philosophy .content_info,
    .about_content.guidelines .content_info {
        width: 100%;
    }
    .about_content.guidelines .content_info{
        margin-right:0;
    }
    .about_content.guidelines .content_info br{
        display: none;
    }
    .about_content.guidelines .content_info .content_txt br,
    .about_content.philosophy .content_info .philosophy_copy br {
        display: none;
    }
    .about_content.guidelines .content_info .view_btn{
        margin-top: 1.875rem;
    }
    .about_content.philosophy img{
        width: 500px;
        height: 210px;
        margin-top: 1.875rem;
        right: -23%;
    }
    .about_content.guidelines img {
        width: 100%;
        margin-top: 1.875rem;
    }
    .about_content.philosophy .content_txt .br_768{
        display: none;
    }



    /*事業内容*/
    .service_wrapper{
        flex-flow: column;
        align-items: center;
    }
    .service_content {
        width: 80%;
    }
    .service_content img {
        width: 120%;
        height: 45vw;
    }
    .service_content::after{
        height:45vw;
    }
    .service_content:nth-of-type(2){
        margin:2.5rem;
    }


    /*選ばれる理由*/
    .reasons_content .content_area{
        width:90%;
    }
    .reasons_container .reasons_content .cost_img{
        flex-flow: column;
    }
    .reasons_container .reasons_content .cost_img .cost_content{
        width:100%;
    }
    .reasons_container .reasons_content .cost_img .cost_content img{
        width: 80%;
        display: block;
        margin: 0 auto;
    }
    .content_flex{
        flex-flow: column;
    }
    .content_flex .reason_img {
        width: 80%;
        height: 40vw;
        margin: 0 auto;
    }
    .content_flex .reason_img.zoom img {
        width: 190%;
        object-position: -35vw -45vw;
    }
    .content_flex p, .content_flex .reason_info{
        width:100%;
        margin-top:1.25rem;
    }




    /*代表挨拶*/
    .responsive{
        display: block;
    }
    .message_bg{
        padding:0;
    }
    .message .container{
        flex-flow: column;
    }
    .president_img img:last-of-type,
    .president_pro .section_ttl{
        display: none;
    }
    .president_img {
        width: 60%;
        margin:3.75rem auto 0 auto;
    }
    .message_txt{
        margin-top:1.875rem;
    }
    .president_pro {
        width: 100%;
    }
    .message .view_btn{
        margin-top:2.5rem;
    }
    .video .video_wrapper {
        width: 80%;
    }
    .video iframe {
        height: 43vw;
    }



    /*会社概要*/
    table{
        margin-top:2.5rem;
    }
    table tr{
        align-items: self-start;
        flex-flow: column;
    }
    table tr th,
    table tr td{
        width:100%;
    }
    table tr th{
        border-bottom:none;
        padding:1.25rem 0 0 0;
    }
    table tr td{
        padding:1rem 0 1.25rem 0;
    }


    /*ブログ*/
    .blog_wrapper article h3 {
        font-size: 1rem;
    }
}


@media(max-width:600px){
    /*ニュース*/
    .news_wrapper article a{
        padding: 1.25rem 0rem;
    }
    .news_wrapper article:first-of-type a {
        padding: 0rem 0rem 1.25rem 0rem;
    }
    .news_wrapper article a div{
        flex-wrap: wrap;
    }
    .news_wrapper article a div .news_post_ttl{
        width: 100%;
        margin-top:0.938rem;
        white-space: normal;            
        display: -webkit-box;           
        -webkit-box-orient: vertical;   
        -webkit-line-clamp: 2;          
        overflow: hidden;             
        text-overflow: ellipsis;
    }



    /*リンクスとは*/
    .about_content.philosophy .content_info .philosophy_copy{
        margin-bottom: 1rem;
    }
    .about_content.philosophy img {
        width: 450px;
        height: 210px;
        margin-top: 1.875rem;
        right: -14%;
    }



    /*選ばれる理由*/
    .reasons_container .reasons_content .cost_img .cost_content img{
        width: 100%;
    }
    .content_flex .reason_img {
        width: 100%;
        height: 50vw;
    }
    
}


@media(max-width:425px){
    /*メインビジュアル*/
    .main_view {
        margin-top: 60px;
    }
    .main_view h2 {
        font-size: 1.75rem;
        line-height:3rem;
    }

    /*ニュース*/
    .news_section_ttl h2{
        font-size: 1.25rem;
    }


    /*リンクスとは*/
    .about_content .content_info h3{
        font-size: 1.125rem;
    }
    .about_content.philosophy .content_info .philosophy_copy{
        font-size: 1.25rem;
        margin-top: .5rem;
    }
    .about_content.philosophy img{
        width: 76.71vw;
        min-width: 310px;
        height: 43.06vw;
        min-height: 170px;
        right: -12%;
    }
    .about_content.guidelines img {
        width: 100%;
    }


    /*事業内容*/
    .service_content {
        width: 100%;
    }
    .service_content::after,
    .service_content img {
        height: 55vw;
    }


    /*代表挨拶*/
    .president_img {
        width: 80%;
    }
    .video .video_wrapper {
        width: 100%;
    }
    .video iframe {
        height: 53vw;
    }



    /*会社概要*/
    table {
        width: 100%;
    }


    /*ブログ*/
    .blog_wrapper article{
        width: calc((100% - 5%) / 2);
    }
}


@media(max-width:320px){
    /*メインビジュアル*/
    .main_view h2 {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
}