@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Oswald:wght@200..700&display=swap');

/* constant */
:root {
  --main-color: #004797;  
  --sub-color: #cee0ff;
  --font-color: #1b1b1b;
  --bg-color: #fff;
  --bg-highlight: #f2f2f2;
  --font-family-gothic: 'Noto Sans JP', 'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  --font-family-mincho: 'Noto Serif JP', serif;
  --font-family-en-gothic: 'Oswald', sans-serif;
  --font-family-en-mincho: "EB Garamond", serif;
}
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0
}

*,
*:after,*::before {
  box-sizing: border-box
}

article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,main {
  display: block
}

a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  pointer-events: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

ul {
  list-style: none;
  padding: 0;
  margin: 0
}

html {
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);  /* PC:16px */
  height: 100%;
  overflow-y: scroll
}

body {
  font-family: var(--font-family);
  color: var(--font-color-text);
  background: var(--bg-color);
  letter-spacing: .1em;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  overflow-x: hidden;
}

main{
  padding-top: 120px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: .3s
}

p {
  margin: 0
}

.pcOnly{
  display: block!important;
}
.spOnly{
  display: none!important;
}

.container {
  margin: 0 auto;
  position: relative;
  width: 1280px;
  max-width: calc(100% - 40px);
  overflow: hidden
}

section {
  position: relative;
  padding: 120px 0
}

.bg-highlight {
  background-color: var(--bg-highlight);
}

h2.sec-title{
  font-family: var(--font-family-en-mincho);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 0.1em;
  font-weight: 400;
  line-height: 1.4;
  font-size: clamp(1.5rem, 0.841rem + 3.3vw, 3.313rem);
}
h2.sec-title span{
  display: block;
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  margin-top: 10px;
  font-family: initial;
}
@media only screen and (max-width:767px) {
  h2.sec-title{
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 1023px) {
  section {
    padding: 35px 0
  }
  .container {
    padding: 0 30px
  }
}
@media screen and (max-width: 767px) {
  main{
    padding-top: 0;
  }
  .container {
    padding: 0 15px;
    max-width: 100%;
  }
  .pcOnly{
    display: none!important;
  }
  .spOnly{
    display: block!important;
  }
}
.button {
  position: relative;
  background: var(--main-color);
  width: 450px;
  margin-top: 45px;
  margin: 0 auto;
  max-width: 80%;
  border: 2px solid var(--main-color);
  transition: all 0.8s;
}

.button a {
  color: #fff;
  letter-spacing: 0.2rem;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  display: block;
  line-height: 60px;
  position: relative;
  text-align: center;
}

.button::before {
  position: absolute;
  top: calc(50% - 1px);
  left: -50px;
  width: 50px;
  height: 2px;
  content: '';
  background: var(--main-color);
}

.button a::before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 50px;
  height: 2px;
  content: '';
  background: #fff;
}

.button:hover{
  background: #fff;
}

.button:hover a{
  color: var(--main-color);
}

.button.white {
  background: #fff;
  border-color: #fff;
}

.button.white a {
  color: var(--main-color);
}

.button.white::before {
  background: #fff;
}
.button.white a::before {
  background: var(--main-color);
}

.button.white:hover{
  background-color: var(--main-color);
}

.button.white:hover a{
  color: #fff;
}

@media only screen and (max-width:767px) {
  .button a {
    line-height: 40px;
  }

  .button::before {
    left: -30px;
    width: 30px;
  }
  .button a::before {
    width: 30px;
  }
}


#header {
  height: 90px;
  z-index: 9997;
  transition: all .4s ease-out;
  background-color: var(--main-color);
  color: #fff;
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 90%;
}
#header .logo img{
  max-width: 200px;
}
#header .container nav .site-gnav {
  display: flex;
  align-items: center;
  gap: 0 40px;
}

#header .container nav .site-gnav li {
  font-weight: 600;
  letter-spacing: 0
}
#header .header-bottom__color{
  background-color: var(--sub-color);
  width: 100%;
  height: 30px;
}
@media screen and (min-width: 768px) {
  /* ヘッダー */
  #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9997;
  }
  /* ログイン時の管理バーがある場合 */
  .admin-bar #header {
    top: 32px; /* デスクトップ（管理バーの高さ） */
  }
}
@media screen and (max-width: 767px) {
  #header{
    position: relative;
    height: 65px;
  }
  #header .logo img{
    max-width: 110px;
  }
  #header .header-bottom__color{
    height: 15px;
  }
  #humburger{
    position: fixed;
    background: var(--main-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 10px;
    right: 10px;
    color: #fff;
    text-align: center;
    z-index: 9999;
  }
  #humburger i{
    font-size: 40px;
    line-height: 50px;
  }
  #humburger .bx-x{
    display: none;
  }
  #humburger.active .bx-menu-alt-right{
    display: none;
  }
  #humburger.active .bx-x{
    display: block;
  }
  #humburger-gnav{
    width: 100vw;
    height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
    background: var(--main-color);
    position: fixed;
    left: 0;
    top: -100%;
    transition: all 0.4s ;
    z-index: 9998;
  }
  #humburger-gnav.active{
    top: 0;
  }
  #humburger-gnav li{
    border-bottom: 1px solid #fff;
  }
  #humburger-gnav li a{
    color:  #fff;
    padding: 15px 30px;
    display: block;
    font-size: 16px;
  }
}

/* CONTACT */
#secContact {
  text-align: center;
  background: url('../img/common/contact_bg.png') no-repeat;

}
#secContact p{
  margin-bottom: 60px;
}


/* footer */
#footer {
  background: var(--sub-color);
  text-align: left;
  padding: 100px 0 0;
}
#footer .flogo{
  max-width: 450px;
  width: 100%;
}
#footer #fnav{
  display: flex;
  justify-content: space-between; 
  align-items: flex-end;
  margin-bottom: 65px;
}
#footer #fnav #nav{
  flex: 1;
}
#footer #fnav #nav ul{
  display: flex; 
  flex-wrap: wrap; 
  justify-content: flex-end; 
  align-items: center;
  margin: 0;
  column-gap: 40px;
  padding: 15px 0;
  border-bottom: var(--main-color) solid 2px;
}
#footer .jigyosho-list{
  display: flex;
  column-gap: 60px;
  margin-bottom: 80px;
}
#footer .jigyosho-list table th{
  padding: 10px 40px 10px 0;
  vertical-align: top;
  font-family: var(--font-family-en-mincho);
  font-size: 110%;
}
#footer .jigyosho-list table td{
  padding: 10px 0;
  vertical-align: top;
}
#footer .copyright{
  background:var(--main-color);
  text-align: center;
  color: #fff;
  padding: 10px 0 20px;
  font-size: 12px;
}
@media only screen and (max-width:767px){
  #footer {
      padding-top: 40px;
    }
  
    #footer .flogo {
      max-width: 200px;
      margin-bottom: 20px;
    }
  
    #footer #fnav {
      flex-direction: column;
      align-items: center;
      margin-bottom: 20px;
    }
  
    #footer #fnav #nav {
      width: 100%;
    }
  
    #footer #fnav #nav ul {
      padding: 15px 0;
      justify-content: center;
    }
  
    #footer .jigyosho-list {
      display: block;
      margin-bottom: 20px;
    }
  
    #footer .jigyosho-list table th {
      display: block;
      width: 100%;
      padding: 10px 0 0;
    }
  
    #footer .jigyosho-list table td {
      display: block;
      width: 100%;
    }
  
    #footer .copyright {
      text-align: center;
    }
  }


/* breadcrumb */
#breadcrumbs{ font-size: 12px;background-color:#eff0f3;padding: 5px 0;}


/* common */


#pager .btn-block{display: inline-block;text-align: center;width: 210px; }
#pager .btn a::before{content:'';}
@media only screen and (max-width:599px){
  #pager .btn{margin-bottom: 40px;}
}
/* TOPへ戻る */
#return_top { display:none; position:fixed; bottom:40px; right:20px; z-index:990; }
#return_top a { display:block; width:55px; height:55px; text-decoration:none; background:var(--sub-color); border-radius:50%; opacity:0.8; }
#return_top a:before {content:'\f106';color:#fff; font-size:24px; line-height:1; display:block; position:absolute; top:50%; left:50%;font-weight: 900;font-family: 'Font Awesome 5 Free';transform: translate(-50%, -50%);}
#return_top a:hover { opacity:1; }
#return_top a span { display:none; }



/* animation */
.fadein{
  opacity: 0;
  transform: translateY(50px);
}

.fadein.is-animated{
  opacity: 1;
  transition: 1.5s;
  transform: translateY(0px);
}

/* PAGE */
.p-title {
  background-size: cover;
  text-align: center;
  padding: 125px 0;
  line-height: 1.2;
  letter-spacing: 0.6em;
  text-shadow:0 0 5px #fff;
  position: relative;
}

.p-title::before{
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.4);
  position:absolute;
  top: 0;
  left: 0;
}

.p-title .title-main {
  font-family: var(--font-family-en-mincho);
  font-size: clamp(1.563rem, 0.767rem + 3.98vw, 3.75rem);
  font-weight: 400;
}

.p-title .title-sub {
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  display: inline-block;
  font-weight: 600;
}

#p-404 .main-content {
  text-align: center;
  padding: 120px 0;
}

#p-404 .p-title {
  background: url("../img/company/title_bg.jpg") no-repeat center;
}

@media only screen and (max-width:599px) {
  .p-title {
    padding: 60px 0;
  }

}