@charset "UTF-8";
body{
    margin: 0;
    font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",sans-serif;
}
/*共通スタイル*/
header,footer,.keyvisual{
    max-width: 1200px;
    margin: 0 auto;
}
main{
    width: 800px;
    margin: 0 auto;
}
section,.keyvisual{
    margin-bottom: 50px;
}
h1{
    line-height: 0;
}
h2{
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 30px;
    border-bottom: 5px solid #0070c0;
    padding: 0 10px 5px;
}
ul{
    list-style-type: none;
}
p{
    line-height: 1.6;
    margin: 0;
}
table{
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 50px;
}
th,td{
    border: 1px solid #000;
    padding: 5px;
}
th{
    background-color: #ccecff;
}
/*フレックスボックス*/
.flex{
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
}
/*グロナビホバー*/
.gnav a{
    position: relative;
    font-size: 18px;
    text-decoration: none;
    color: #000;
}
.gnav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 4px;
    background-color: #0070c0;
    border-radius: 3px;
    transform: translateX(-50%);
    transition: width 220ms ease;
}
.gnav a:hover::before{
    width: 100%;
}
/*ヘッダ*/
header ul{
    gap: 50px;
}
/*フッタ*/
footer{
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-bottom: 10px;
}
footer p:first-child{
    text-align: left;
}
footer p:last-child{
    text-align: center;
}
footer li:first-child{
    margin-bottom: 30px;
}
/*topページ*/
.keyvisual img{
    width: 100%;
    height: auto;
}
.goaisatu img{
    float: right;
    margin: 0 0 .3rem .3rem;
    width: 22%;
}
.goaisatu div::after{
    content: "";
    display: block;
    clear: both;
}
.syatyou-name{
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    text-align: center;
}
.gyousyotai{
    font-family: "HG行書体","HGP行書体","HGS行書体","YuMincho","MS PMincho",serif;
    font-size: 18px;
}
.company{
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}
.company a {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 250px;
      height: 250px;
      font-size: 20px;
      text-decoration: none;
      color: #fff;
      background-color: transparent;
      position: relative;
      z-index: 1;
      overflow: hidden;
      background-image: linear-gradient(135deg, #1b85fb, #00d4ff, #0072ff);
      background-size: 200% 200%;
      background-position: 100% 100%;
      transition: background-position 0.4s ease;
}
.company span {
    display: inline-block;
    transition: transform 0.4s ease;
}
.company a:hover {
    background-position: 0% 0%;
}
.company a:hover span {
    transform: scale(1.2);
}
/*会社概要ページ*/
.about-table th{width: 15%;}
.about-table td{width: 85%;}
.about-table .flex{
    gap: 15px;
    margin: 25px 15px;
    justify-content: start;
    text-align: left;
    align-items: normal;
}
.about-table span{
    font-size: 20px;
}