/*
Theme Name: LINKINGMAX
Version: 1.0
Author: 制作者 Mobility Support
Description: このテーマはLINKINGMAX専用テーマです
*/


html{
  scroll-behavior: smooth;
}

body{
  max-width: 100%;
  margin:auto;
}
#navArea{
    display: none;
}

h1, #logo{
    margin: 0;
    width: 23%;
}
.logo_img{
    width: 20vw;
}
header{
    width: 100%;
    z-index: 1;
}
/*
.header_flex{
    width: 94%;
    display: flex;
    height: 4.8vw;
    align-items: center;
    margin: 0 3%;
    justify-content: space-between;
}
*/
.header_flex{
    width: 100%;
    display: flex;
    height: 4.8vw;
    align-items: center;
    justify-content: space-around;
    background: #fff;
    border-bottom: 0.6px solid #000;
    position: fixed;
    z-index: 1;
}
.width_area{
    width: 40%;
}
.width_area2{
    width: 14%;
}
.center_nav{
    display: flex;
    gap: 8%;
    height: 4vw;
    align-items: center;
}
.right_nav{
    display: flex;
    gap: 18%;
    align-items: center;
}
.sns_icon_img{
    width: 2vw;
}


.under_line {
    position: relative; /*アンダーラインの位置を決めるための基準 */
}   
.under_line::after {
    position: absolute; /*親要素であるaタグを基準に位置を指定*/
    left: 0;            /*アンダーラインを各メニュー（aタグ）の左端に指定*/
    content: '';        /*本来は、擬似要素に入るテキストなどを’’内に指定。*/
    width: 100%;        /*アンダーラインを各aタグの幅に合わせる*/
    height: 6px;        /*アンダーラインの高さ（太さ）*/
    background: #000000;/*アンダーラインの色*/
}
.under_line::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: -6px;
    transform: scale(0, 1);
    transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.15s;   /*変形の時間*/
}
    
.under_line:hover::after {
    transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}


.top_img{
    width:100%;
    
    position:relative;
}
.sp_top_img{
    display: none;
}
a{
    text-decoration: none;
    color: #000000;
}
li{
    list-style: none;
}
.nav-link{
    color: #ffffff;
}
.nav_header .ul_nav_header{
    color: aliceblue;
    text-shadow: 1px 2px 3px #808080;
}
.ul_nav_header{
    position: absolute;
    font-size: 30px;
    line-height: 60px;
    top:50%;
    right:1%;
    width: 200px;
}
.ul_nav_header li{
    transition: all 0.8s;
}

.ul_nav_header li:hover{
    color:aliceblue;
    font-size: 40px;
    transition: 0.8s;
}
/*
.container, .header_container{
    margin: 0 1.5%;
}
*/
.title_area{
    position: absolute;
    top: 24vw;
    left: 0; 
}


.top_img{
    animation-name: fadein;

}
.ul_nav_header{
    animation-name: fadein;
    animation-delay: 6s;
}
.top_img{
    animation: fadein 4s ease 0s 1 normal;
}
.ul_nav_header{
    animation: fadein 6s ease 0s 1 normal;
}
@keyframes fadein{
    from{
        opacity: 0;
        transform: translateY(0);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.title_area{
    animation: Slidein 3s ease ;
    margin: 0 4%;
}
.title_area2{
    animation: Slidein 4s ease ;
}
.title_area3{
    animation: Slidein 5s ease ;
}

@keyframes Slidein{
    from{
        opacity: 0;
        transform: translateX(-200px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}


.fadein {
  opacity : 0;
  transform: translateY(20px);
  transition: all 1s;
}







/*PROFILE*/

.area_PROFILE{
    max-width: 100%;
}

.PROFILE_container{
    width: 86%;
    margin: 0 auto;
    background-repeat:no-repeat;
    background-size: cover;
    vertical-align: bottom;
    margin-bottom: 70px;
}
.title_area .title_img{
    width: 42vw;
}

.head_PROFILE{
    margin-top: 40px;
    margin-bottom: 60px;
}
.head_PROFILE .title_PROFILE {
    font: 545 32px/1em   'futura PT','noto sans japanese',sans-serif;
    position: relative;
    color: #4973EB;
}
.head_PROFILE .title_PROFILE:after{
    content: "";
    display: block;
    width: 64%;
    height: 2px;
    background: #CCCCCC;
    position: absolute;
    bottom: -14px;
    left: 0;
}
.area_flex{
    display: flex;
    justify-content: center;
}
.company_area{
    margin-bottom: 8%;
}
.body_home{
    width:80%;
    margin-top: 6%;
}
.body_home_2{
    width:50%;
}
.text_home{
    text-align:left;
    width: 50%;
}

.body_home_img{
    width:92%;
    
}
.name_text{
    font-size: 210%;
    font-family: 'ヒラギノ明朝 ProN','MSゴシック',sans-serif;
    font-weight: bold;
    margin: 0;
}
.name_text_2{
    font-size: 210%;
    font-family: 'ヒラギノ明朝 ProN','MSゴシック',sans-serif;
    font-weight: bold;
    color: #888888;
    margin: 0;
}
.name_text_3{
    font-size: 100%;
    font-family: 'ヒラギノ明朝 ProN','MSゴシック',sans-serif;
    color: #4973EB;
    margin-top: 0;
}

.corporate_area{
    width: 100%;
}
.corporate_area_flex{
    display: flex;
    width: 100%;
}
.corporate_area_flex h3{
    margin: 0;
}
.corporate_img{
    width: 48%;
}
.area{
    width: 20%;
}
.area_2{
    width: 80%;
}
.top{
    margin-top: 2%;
    margin-bottom: 0;
}
.under{
    margin: 0;
    color: #888888;
}




.PROFILE_text{
    width: 100%;
    font-size: 21px;
    letter-spacing: 3px;
    line-height: 26px;
}
.PROFILE_text_2{
    width: 100%;
    font-size: 21px;
    letter-spacing: 3px;
    line-height: 26px;
    margin: 0 0 80px 0;
    color: #888888;
}
.PROFILE_text_sub{
    width: 100%;
    font-size: 30px;
    font-family: 'ヒラギノ明朝 ProN', 'MSゴシック', sans-serif;
    letter-spacing: 3px;
    line-height: 26px;
    margin-bottom: 8px;
}
.PROFILE_text_sub2{
    width: 100%;
    font-size: 30px;
    font-family: 'ヒラギノ明朝 ProN', 'MSゴシック', sans-serif;
    letter-spacing: 3px;
    line-height: 26px;
    margin: 0px 0 16px 0;
    color: #888888;
}
.parent {
    width: 88%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.parent > div {
    width: 27%;
    height: 90%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 1%;
    padding: 1%;
    font-weight: bold;
    font-size: 2vh;
}
  
.blue {
   background-color: #fff;
   border: 1px solid #cccccc;
}
.h3_title{
    margin: 0;
}
.icon_area{
    padding: 2% 0;
}
.icon_img{
    height: 12vh;
}
.h4_top_text{
    margin: 0;
    color: #000;
}
.h4_bottom_text{
    margin: 0;
    color: #888888;
}
.icon_top_text{
    color: #000;
}
.icon_bottom_text{
    color: #888888;
}



/*会社概要*/
.kaisha {
    width: 82%;
}
    
.kaisha th,
.kaisha td {
    border: 1px solid #000;
    padding: 20px;
}
    
.kaisha th {
    font-weight: bold;
    background-color: #fff; 
}


/*お問い合わせ */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}


.btn,
a.btn,
button.btn {
    /*
  font-size: 1.6rem;
     */
  font-weight: 700;
  line-height: 1.3;
    position: relative;
    display: inline-block;
    padding: 1rem 2.4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

/*ボタン続き*/

a.btn-border {
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
  
    -webkit-transform-style: preserve-3d;
  
    transform-style: preserve-3d;
}
  
a.btn-border:before {
    position: absolute;
    top: 0;
    left: 0;
  
    width: 15px;
    height: 100%;
  
    content: '';
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  
    border-radius: 0 50% 50% 0;
    background: #000;
}
  
a.btn-border:hover:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
    line-height: 30px;
  
    width: 30px;
    height: 30px;
  
    content: '\f061';
    -webkit-transform: translateX(460%) translateY(.5rem);
    transform: translateX(460%) translateY(.5rem);
  
    color: #fff;
    border-radius: 50%;
}






/*マウスオーバー*/
figure {
  width: 280px;
  height: 162px;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
figure img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
}
figure:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
  
}

/*photo*/
.photo_area{
     display: flex;
     width:100%;
     margin: auto;
     align-items: center;
     
     overflow: hidden;
}
.photo_img {
    
    height: 13vw;
    display: block;
	transition-duration: 0.3s;
}
.photo_img:hover{
    transform: scale(1.2);	/*画像の拡大率*/
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}

.slideshow {
    margin: 0;
    padding: 0;
    display: flex;
    animation: loop-slide 20s infinite linear 1s both;
}
.slide-paused:hover .slideshow {
  animation-play-state: paused;
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
} 

/*ホバーテキスト*/

.sample1 {
	width: 280px;
    height: 162px;
	overflow: hidden;
	position: relative;	
}
.sample1 .caption {
	font-size: 130%;
	text-align: center;
	padding-top: 55px;
	color: #fff;
}
.sample1 .mask {
	width: 100%;
	height:	100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;	
	background-color: rgba(0,0,0,0.7);	
	-webkit-transition:	all 0.2s ease;
	transition:	all 0.2s ease;
}
.sample1:hover .mask {
	opacity: 1;	
}



/*footer*/
.header_bottom{
    margin-top: 12%;
}
.form_area{
    display: flex;
    align-items: flex-end;
}
.footer_flex_area{
    justify-content: center;
    margin: auto;
    display: flex;
    background: #000;
    color: #fff;
}
.footer_contact{
    margin-bottom: 8px;
}
.footer_flex_area, .copyright{
    align-items: flex-end;
}
.contact_mail{
    width: 40%;
    margin-left: 16px;
}
.text_copyright{
    margin-bottom: 8px;
    color: #fff;
}
.color{
    color: #fff;
}

/*TOPページへ戻る*/
#for_top {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 10;
}
.top_arrow{
    opacity: .8;
}

/*form.html*/
.header_form{
    display: inline-grid;
    width: 100%;
    height: 5vw;
    text-align: center;
    align-items: center;
    border-bottom: 0.6px solid #000;

}
h1, #logo {
    margin: 0;
}
#logo_form{
    width: 50%;
}
.logo_form_img{
    width: 32vw;
}
#contents {
    padding: 8% 2% 4%;
}


@media screen and (max-width: 1280px) {
    .top {
        font-size: 0.9rem;
    }
    .under {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 1024px) {
    .name_text {
        font-size: 180%;
    }
    .name_text_2 {
        font-size: 180%;
    }
    .head_PROFILE .title_PROFILE {
        font: 545 28px / 1em 'futura PT', 'noto sans japanese', sans-serif;
    }
    .area_2 h3{
        font-size: 0.8rem;
    }
    .top {
        font-size: 0.8rem;
    }
    .under {
        font-size: 0.8rem;
    }
    .body_home_img {
        margin-top: 6vw;
    }
    .PROFILE_text_2 {
        margin: 0px 0 48px 0;
    }
    .PROFILE_text_sub {
        font-size: 1.6rem;
    }
    .PROFILE_text_sub2 {
        font-size: 1.6rem;
    }
    .h3_title {
        font-size: 0.8rem;
    }
    .icon_top_text {
        font-size: 0.8rem;
    }
    .icon_bottom_text {
        font-size: 0.8rem;
    }
    .h4_top_text {
        font-size: 0.8rem;
    }
    .h4_bottom_text {
        font-size: 0.8rem;
    }
}


@media screen and (max-width: 930px) {
    .PROFILE_text {
        width: 100%;
        font-size: 22px;
        letter-spacing: 10;
        line-height: 100%;
        margin: 0 0 25px 0;
    }
    .name_text {
        font-size: 160%;
    }
    .name_text_2 {
        font-size: 160%;
    }
    .body_home_img {
        margin-top: 9vw;
    }
    .head_PROFILE .title_PROFILE {
        font: 545 24px / 1em 'futura PT', 'noto sans japanese', sans-serif;
    }
    .PROFILE_text_sub {
        font-size: 1.4rem;
    }
    .PROFILE_text_sub2 {
        font-size: 1.4rem;
    }
    .photo_img {
         height: 20vw;
  
      }
}

@media screen and (max-width: 912px) {
    .parent > div {
        width: 100%;
        height: auto;
    }
}




@media screen and (max-width: 864px) {
    
      .title_area .title_img{
        width: 56vw;
      }
      .top_img{
          display: none;
      }  
      .sp_top_img {
        display: block;
        width: 100vw;
        height: auto;
      }
      .sp_title_img{
          display: none;
      }
      
      
      /*WORK*/
      .WORK_container{
        width: 660px;
        margin: auto;
     }
      .work_img {
        width: 220px;
        height: 142px;
     }
      .sample1 {
        width :auto;
        height:auto;
        overflow: hidden; 
        position: relative; 
      }
      .sample1 .caption {
        font-size: 100%;
        text-align: center;
        padding-top: 55px;
        color: #fff;
      }
       figure {
        width: 100%;
        height: 142px;
        margin: auto;
      }
      /*TOPページへ戻る*/
        #for_top {
            position: fixed;
            bottom: 7px;
            right: 7px;
            z-index: 10;
        }
}



@media screen and (max-width: 853px) {
    .PROFILE_text {
        width: 100%;
        font-size: 22px;
    }
    .area_PROFILE {
        max-width: 96%;
        margin: auto;
    }

    .header_flex {
        text-align: center;
        display: grid;
        height: 6.8vw;
    }


    nav {
        display: none;
    }
    .top_img{
        height: 100%;
    }
    .title_img{
        width: 100%;
    }
    #navArea{
        display: block;
    }

    .PROFILE_container{
        width: 100%;
    }
    .parent > div {
        width: 100%;
        height: auto;
    }
    .sns_area, .sns_icon{
        height:5vw;
    }
    .sns_icon{
        margin: 0 10px;
    }
    /*TOPページへ戻る*/
    #for_top {
        position: fixed;
        bottom: 0px;
        right: 3px;
        z-index: 10;
    }
    
    
        /*============
    nav
    =============*/
    nav {
      display: block;
      position: fixed;
      top: 0;
      left: -300px;
      bottom: 0;
      width: 300px;
      background: #ffffff;
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      transition: all .5s;
      z-index: 3;
      opacity: 0;
    }
    .open nav {
      left: 0;
      opacity: 1;
    }
    nav .inner {
      padding: 25px;
    }
    nav .inner ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    nav .inner ul li {
      position: relative;
      margin: 0;
      border-bottom: 1px solid #333;
    }
    nav .inner ul li a {
      display: block;
      color: #333;
      font-size: 14px;
      padding: 1em;
      text-decoration: none;
      transition-duration: 0.2s;
    }
    nav .inner ul li a:hover {
      background: #e4e4e4;
    }

    /*============
    .toggle_btn
    =============*/
    
    h1, #logo {
        width: 100%;
    }
    .logo_img {
        width: 40vw;
    }
    .center_nav {
        display: none;
    }


    .width_area2 {
        display: none;
    }


    .toggle_btn {
        display: block;
        position: fixed;
        top: 12px;
        right: 20px;
        width: 30px;
        height: 30px;
        transition: all .5s;
        cursor: pointer;
        z-index: 3;
    }
    .toggle_btn span {
        display: block;
        position: absolute;
        left: 0px;
        width: 34px;
        height: 2.4px;
        background-color: #000;
        border-radius: 4px;
        transition: all .5s;
    }
    .toggle_btn span:nth-child(1) {
      top: 4px;
    }
    .toggle_btn span:nth-child(2) {
      top: 14px;
    }
    .toggle_btn span:nth-child(3) {
      bottom: 4px;
    }
    .open .toggle_btn span {
      background-color: #fff;
    }
    .open .toggle_btn span:nth-child(1) {
      -webkit-transform: translateY(10px) rotate(-315deg);
      transform: translateY(10px) rotate(-315deg);
    }
    .open .toggle_btn span:nth-child(2) {
      opacity: 0;
    }
    .open .toggle_btn span:nth-child(3) {
      -webkit-transform: translateY(-10px) rotate(315deg);
      transform: translateY(-10px) rotate(315deg);
    }
    /*============
    #mask
    =============*/
    #mask {
      display: none;
      transition: all .5s;
    }
    .open #mask {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #000;
      opacity: .8;
      z-index: 2;
      cursor: pointer;
    }
    /*============
    main
    =============*/
    main h1 {
      font-family: 'Open Sans', sans-serif;
      font-weight: 400;
      text-align: center;
    }
    /*============
    body
    =============*/
    body {
      font-family: 'Open Sans', sans-serif;
      font-weight: 400;
    }
}







@media screen and (max-width: 830px) {
    .PROFILE_text{
        width: 85%;
        font-size:20.5px;
        letter-spacing: 10;
        line-height: 100%;
        margin: 0 0 25px 0;
    }
}

@media screen and (max-width: 768px) {
      
      /*PROFILE*/
      .area_flex{
          display: block;
    }
      .sns_icon_img {
        width: 3vw;
    }
      .title_area .title_img{
        width: 68vw;
    }
      .toggle_btn {
        top: 9px;
    }
      .PROFILE_text {
        width: 100%;
    }
      .title_area2 .title_img{
        width: 42vw;
    }
      .title_area3 .title_img{
        width: 42vw;
    }
      .body_home {
        width: 80%;
        margin: 6% auto;
    }
    .body_home_2 {
        width: 64%;
        margin: auto;
    }
    .body_home_img {
        width: 100%;
    }
    .text_home {
        margin: auto;
        width: 88%;
    }
    .corporate_img {
        width: 50%;
    }
    .parent {
        margin: auto;
    }
    .parent > div {
        width: 100%;
    }
    .kaisha {
        margin: auto;
        width: 82%;
    }


    .header_form {
        height: 10vw;
    }
    .logo_form_img {
        width: 46vw;
    }



      /*TOPページへ戻る*/
        #for_top {
            position: fixed;
            bottom: 7px;
            right: 7px;
            z-index: 10;
    }
        
      /*============
    nav
    =============*/
    nav {
      display: block;
      position: fixed;
      top: 0;
      left: -300px;
      bottom: 0;
      width: 300px;
      background: #ffffff;
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      transition: all .5s;
      z-index: 3;
      opacity: 0;
    }
    .open nav {
      left: 0;
      opacity: 1;
    }
    nav .inner {
      padding: 25px;
    }
    nav .inner ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    nav .inner ul li {
      position: relative;
      margin: 0;
      border-bottom: 1px solid #333;
    }
    nav .inner ul li a {
      display: block;
      color: #333;
      font-size: 14px;
      padding: 1em;
      text-decoration: none;
      transition-duration: 0.2s;
    }
    nav .inner ul li a:hover {
      background: #e4e4e4;
    }
}
    


@media screen and (max-width: 696px){
      .PROFILE_text{
        text-align: left;
      }
    .sp_top_img{
        height: 110vw;
    }
    .title_img{
        height: 100%;
    }
    .head_PROFILE{
        display: flex;
        justify-content: center;
        margin-top: 40px;
        margin-bottom: 35px;
    }
    .area_flex .body_home{
        width: 80vw;
        text-align: center;
        margin-right: 40px;
    }
    /*.SERVICE*/
      .SERVICE_container{
        width: auto;
    }
    /*footer*/
    .form_area{
        display: flex;
        justify-content: center;
    }
    .footer_flex_area{
        width: 100%;
    }
    .footer_contact{
        margin-bottom: 8px;
    }
    .footer_flex_area, .copyright{
        align-items: flex-end;
    }
    .contact_mail{
        width: 60%;
        margin-left: 16px;
    }
    .text_copyright{
        text-align: center;
    }
    .form_area {
            display: flex;
            text-align: right;       
    }
    /*TOPページへ戻る*/
        #for_top {
            position: fixed;
            bottom: 7px;
            right: 2px;
            z-index: 10;
    }
}

@media screen and (max-width: 540px){
    .header_flex {
        text-align: center;
        height: 8.8vw;
    }
    .sns_icon_img {
        width: 6vw;
    }
    h1, #logo {
        margin: 0;
        width: 100%;
    }
    .title_area {
        position: absolute;
        top: 60vw;
        left: 0;
    }
    .width_area {
        width: auto;
    }

    h1, #logo {
        margin: 0 auto;
    }
}

@media screen and (max-width: 412px){
    .header_flex {
        height: 11.8vw;
    }
    .logo_img {
        width: 48vw;
    }
}

@media screen and (max-width: 280px){
    .logo_img {
        width: 60vw;
    }
    .header_flex {
        height: 16.8vw;
    }
    .toggle_btn {
        top: 56px;
    }
    .toggle_btn span {
        display: block;
        position: absolute;
        left: 6px;
        width: 30px;
    }
    .area_flex .body_home {
        width: 80vw;
        text-align: center;
        margin: auto;
    }
    .name_text {
        font-size: 148%;
    }
    .name_text_2 {
        font-size: 148%;
    }
    .PROFILE_text_sub {
        font-size: 1rem;
    }
    .PROFILE_text_sub2 {
        font-size: 1rem;
    }
}