﻿@charset "utf-8";
@font-face { font-family: "hiraginokakugo"; src: url("../../font/hiraginokakugostdw3.otf"); font-weight: normal;}
@font-face { font-family: "hiraginokakugo"; src: url("../../font/hiraginokakugostdw7.otf"); font-weight: bold; }
body{margin: 0;}
img{max-width: 100%; object-fit: contain;}
.inr1100{
    width: 1100px;
    margin: 0 auto;
}
.inr840{
    width: 840px;
    margin: 0 auto;
}
@media screen and (max-width:1140px) {
    .inr1100{
        padding: 0 20px;
        box-sizing: border-box;
    }
}

body{
    min-width: 1100px;  
}
#wrap{
    overflow: hidden;
    margin-bottom: 80px;
}
#header{
    width: 1100px;
    height: 110px;
    background: #FFF;
    border-radius: 10px;
    margin: 0px auto 0px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    font-family: "hiraginokakugo" !important;
    -webkit-font-smoothing: antialiased;
}
#header h1{
    padding-left: 20px;
    margin-left: 0;
}
#header h2{
    font-size: 13px;
    color: #04286E;
    margin-left: 20px;
    margin-top: 3px;
    font-weight: bold;
}
#header > a.contact{
    display: none!important;
    justify-content: center;
    align-items: center;
    width: 178px;
    height: 74px;
    background: #FD9F4E;
    position: absolute;
    top: 19px;
    right: 0;
    border-radius: 37px;
    transition: .3s;
}
#header > a.contact:hover {
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
    background: #FD8822;
}
@media screen and (max-width:1140px) {
    #header{
        width: calc(1100px - 40px);
    }
}




#navi{
    width: 100%;
    overflow: hidden;
    height: 110px;
    background: linear-gradient(70deg, #4F44B8,76%, #1999BF);
    /*background: linear-gradient(to top right, #4F44B8, #1999BF);*/
    position: relative;
    margin-bottom: 70px;
    font-family: "hiraginokakugo" !important;
    -webkit-font-smoothing: antialiased;
}
.top #navi{
    margin-bottom: 0px;
    margin-top: 620px;
    z-index: 99;
}
#navi:after{
    content: "";
    width: 104%;
    height: 10vw;
    position: absolute;
    bottom: -2px;
    left: -2vw;
    background: url("../../images/navi_wave.svg") no-repeat bottom left;
    background-size: contain;
}
#navi .inr1100{
    position: relative;
    z-index: 3;
}
#navi ul.pt1{
    display: flex;
    /* justify-content: space-betweesn; */
    width: calc(100% - 100px);
    margin: 0 auto;
    gap: 5px 15px ;
}
#navi ul.pt1 li{
    list-style-type: none;
}
#navi ul.pt1 li a{
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    padding-top: 28px;
    display: block;
    color: #FFF;
    position: relative;
}
#navi ul.pt1 li a::after {
	position: absolute;
	content: '';
	bottom: -4px;
	left: 0;
	width: 0%;
	height: 1px;
	background: #FFF;
	transition: all 0.3s ease 0s;
}
.top #navi ul.pt1 li a{
    padding-top: 23px;
}
.top #navi ul.pt1 li a:after{
	bottom: 0;
}
#navi ul.pt1 li a:hover::after {
	width: 100%;
}

.fixednavi{
    height: 50px;
    background: #FFF;
    position: fixed;
    width: 100%;
    top: -50px;
    left: 0;
	transition: all 0.9s cubic-bezier(0.155, 0.91, 0.695, 0.95);
    z-index: 10;
    box-shadow: 0px 0px 14px 1px rgba(0,0,0,0.1);
}
#navi.is-fixed .fixednavi{
    top: 0px;
    display: flex;
}
#navi .fixednavi{
    display: flex;
}
#navi .fixednavi .logo{
    display: flex;
    align-items: center;
    margin-left: 20px;
}
#navi .fixednavi ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    height: 100%;
    width: calc(100% - 500px);
}
#navi .fixednavi ul li{
    position: relative;
    list-style-type: none;
}
#navi .fixednavi ul li a{
    color: #04286E;
    font-size: 13px;
    text-decoration: none;
    font-weight: bold;
    padding-top: 0;
}
#navi .fixednavi a.contact{
    background: #FD9F4E;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}


#newfooter{
    margin-top: 160px;
    background: linear-gradient(70deg, #4F44B8, #1999BF);
    position: relative;
    clear: both;
    font-family: "hiraginokakugo" !important;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}
.top #newfooter{
    margin-top: 0px;
}
#newfooter{
    color: #FFF;
}
#newfooter .inr840{
    padding-top: 110px;
    font-size: 14px;
}
#newfooter .inr840 a{
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
}
#newfooter .inr840 a:hover{
    border-bottom: 1px solid #FFF;
}
#newfooter .inr840 .linkbox {
    display: flex;
    justify-content: space-between;
}
#newfooter .inr840 .linkbox > ul li{
    margin-bottom: 4px;
    list-style-type: none;
    text-align: left;
}
#newfooter .inr840 .linkbox > ul li a{
    line-height: 180%;
}
#newfooter .inr840 .linkbox > ul li img{
    display: block;
    margin-top: 10px;
}
#newfooter .inr1100{
    font-size: 14px;
    margin-top: 50px;
    position: relative;
    text-align: left;
}
#newfooter .inr1100 h3{
    margin-bottom: 14px;
    border-bottom: none;
    color: #005163;
    background: none;
    padding: 0;
}
#newfooter .inr1100 h3 img{max-width: 384px;}
#newfooter .inr1100 p{
    font-size: 14px;
    line-height: 180%;
}
#newfooter .inr1100 > img{
    position: relative;
    max-width: 185px;
    object-fit: contain;
    margin-top: 10px;
}
#newfooter .inr1100 .copy{
    text-align: center;
    margin-top: 40px;
    padding-bottom: 10px;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}
/***************** footer waves *************/
/* Animation */
.waves{
    transform: rotateX(180deg);
}
.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
    position: relative;
}
.parallax > use:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: #000;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
    margin-top: -100px;
}

@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

@media (min-width: 1100px) {
    #navi ul.pt1{justify-content: space-between;}
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
  h1 {
    font-size:24px;
  }
}
/***************** footer waves END *************/






@media screen and (max-width: 1100px) {
    body{
        min-width: unset;  
    }
    #header{
        width: 100%;
        max-width: 100%;
        height: 64px;
        left: 0;
        margin: 0;
        margin-left: 0;
        top: 0;
        border-radius: 0;
        padding: 0 4vw;
        box-sizing: border-box;
    }
    
    #header h1{
        padding-left: 0;
    }
    #header h1 img{
        height: 32px;
        width: auto;
    }
    #header h2{
        display: none;
    }
    
    #header > a.contact{
        width: auto;
        height: 40px;
        padding: 0 16px;
        top: 12px;
        right: 4vw;
        border-radius: 999px;
    }
    #header > a.contact img{
        height: 20px;
        width: auto;
    }
    
    #navi{margin-top: 15px;margin-bottom: 15px;}

    #navi .inr1100{
        width: 100%;
        max-width: 100%;
        padding: 0 4vw;
        box-sizing: border-box;
    }
    #navi .pt1{
        display: flex;
        flex-wrap: wrap;
        gap: 4px 16px;
        padding: 0;
        font-size: 13px;
    }
    .top #navi{height: 120px;}
    #navi ul.pt1{width: calc(100%);}
    #navi ul.pt1 li a{font-size: 14px; padding-top: 14px;}
    /* コンテンツ枠 */
    #wrap{
        width: 100%;
        max-width: 100%;
        padding: 80px 4vw 40px;
        box-sizing: border-box;
    }
    
    /* 見出し画像 840px を可変に */
    #wrap img[width="840"]{
        width: 100% !important;
        height: auto !important;
    }
    
    /* お問い合わせページなどにある 2 カラム表を縦並びに */
    table.border,
    table.border tr,
    table.border td{
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* フッターのインナー幅 */
    #newfooter .inr840,
    #newfooter .inr1100{
        width: 100%;
        max-width: 100%;
        padding: 0 4vw 24px;
        box-sizing: border-box;
    }
    .top #navi{margin-top: 0;}
    .fixednavi{display: none!important;}
}


@media (max-width: 768px) {
    .tableWrap{overflow: auto;}
    .tableWrap table{min-width: 600px;}
    #navi{margin-top: 10px;margin-bottom: 10px;}
    #wrap{padding: 30px 4vw 40px;}
    #newfooter .inr840 .linkbox{flex-direction: column;}
    #newfooter .inr1100 > img{position: relative; right: 0; top: 0;}
    #wrap #leftcolumn{width: 100%;}
    h2 span#pankuzu a,h2 span#pankuzu {font-size: 14px; margin-top: 10px;}
    #newfooter .inr840 ul{padding-left: 0;}
    h2 span#pankuzu{top: 8px;}
}
