@charset "UTF-8";

/*=============================================
レイアウトに関するCSS
=============================================*/

/*---------------------------------
header
---------------------------------*/
header {
  -webkit-box-shadow: 0px 10px 10px -8px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 10px 10px -8px rgba(0, 0, 0, 0.3);
}

.l-head-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
          margin-bottom:8px;
}
.l-head-btn li {
  background: #1861AB;
}

.l-head-btn li.l-head-btn__office {
    background: var(--blue-middle);
    border-bottom-left-radius: 16px;
    border-right: 1px solid #fff;
    a::before{
        content: "\f1ad";
    }
}

.l-head-btn li.l-head-btn__faq {
    background: var(--green);
    border-bottom-left-radius: 4px;
    border-right: 1px solid #fff;
    a::before{
        content: "\f059";
    }
}

.l-head-btn li.l-head-btn__contact {
  background: var(--blue-main);
  border-left: 1px solid #fff;
  a::before{
    content: "\f0e0";
  }
}

.l-head-btn li a {
  color: #fff;
  font-size: clamp(1.2rem, 1.3vw, 1.3rem);
  display: block;
  padding: 4px 16px;
  text-decoration: none;
}
.l-head-btn li a::before {
  font: var(--fa-font-regular);
  content: "\f0e0";
  margin-right: 0.5em;
  font-size:1.5rem;
}

.l-head-logo img {
    margin-left:1em;
    @media(min-width:860px){
        max-width: 250px;
    }
}

.l-header-inner {
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 2em;
  align-items:center;
  @media(max-width:860px){
    grid-template-columns: 180px 1fr;
    column-gap:0;
    height:60px;
  }
}  

@media (max-width: 767px) {
  .l-head-nav {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
}

/*---------------------------------
ヘッダー固定
---------------------------------*/

  header {
    height:60px;
    @media print, screen and (min-width: 768px) {
        position: sticky;
        position: -webkit-sticky;
        z-index: 100;
        width: 100%;
        top: 0;
        height: 85px;
        background: #fff;
        -webkit-box-shadow: 0 4px 4px rgba(204, 204, 204, 0.4);
        box-shadow: 0 4px 4px rgba(204, 204, 204, 0.4);
  }
}

/*-------------------------------------
ページ内リンク時ヘッダー固定分の高さを差し引く
-------------------------------------*/
:target {
  -webkit-animation: targetmodify 0.3s;
  animation: targetmodify 0.3s;
}

@-webkit-keyframes targetmodify {
  0% {
    padding-top: 180px;
    margin-top: -180px;
  }
  100% {
    padding-top: 0;
    margin-top: 0;
  }
}
@keyframes targetmodify {
  0% {
    padding-top: 180px;
    margin-top: -180px;
  }
  100% {
    padding-top: 0;
    margin-top: 0;
  }
}

/*----------------------------------------------------
外部リンクの時の表示
-----------------------------------------------------*/
.fa-duotone {
  display: inline;
  width: 1em;
  position: absolute;
  right: 1em;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

/*---------------------------------
背景画像
---------------------------------*/
.l-index-wrapper {
  background: url(../img/top/bg-m.png) no-repeat left top 90px;
  background-attachment: fixed;
  background-size: cover;
  @media(max-width:767px){
    background-position: left top 61px;
  }
}

/*---------------------------------
main
---------------------------------*/
.l-bg-blue {
  background: var(--blue-middle);
  margin: 0 calc(50% - 50vw);
  padding: 0 calc(50vw - 50%);
  width: 100vw;
  padding-top: 40px;
  padding-bottom: 40px;
}

/*---------------------------------
下層ページメイン画像部分
---------------------------------*/
.l-page-main-area {
  display: grid;
}
@media print, screen and (min-width: 768px) {
  .l-page-main-area {
    gap: 20px;
    grid-template-columns: 460px 1fr;
  }
}



/*---------------------------------
footer
---------------------------------*/

footer {
  position: relative;
  background: #333;
  color: #fff;
  border-top: 6px solid #1861AB;
  padding-top: 20px;
}
footer p {
  font-size: 12px;
  font-size: 1.2rem;
}
/* @media screen and (max-width: 767px) {
  footer {
    padding-bottom: 40px;
  }
} */

.l-fnav-wrapper {
  display: grid;
  grid-template-columns: 7fr 3fr;
}
/* @media screen and (max-width: 767px) {
  .l-fnav-wrapper {
    display: none;
  }
} */
.l-fnav-wrapper p {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.l-fnav-wrapper p span {
  border-left: 4px solid rgba(255, 255, 255, 0.6);
  padding-left: 0.5em;
}
.l-fnav-wrapper a, .l-fnav-wrapper p {
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
}

.l-fnav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  gap: 3em;
  padding-right: 2em;
}
.l-fnav-inner ul {
  margin-bottom: 1em;
}

.l-fnav-inner__about {
  padding-left: 2em;
  -ms-flex-item-align: end;
      align-self: end;
}

/* 右側社名 */
.l-foot-logo {
  margin-bottom: 1em;
  padding-bottom: 1em;
}

.l-foot-company {
  padding-bottom: 1em;
  margin-bottom: 1em;
}

.l-foot-company-name::before {
  font: var(--fa-font-solid);
  content: "\f0c8";
  margin-right: 10px;
  font-size: 1.2rem;
}

/* コピーライト */
.l-foot-copyright {
  background: #333;
  padding:0.5em 0; 
  @media(min-width:768px){
    padding: 1em 0;
    margin-top: 1em;
  }  
}

footer address {
  font-size: 1.2rem;
}

/*---------------------------------------------
ページTOPへ
--------------------------------------------*/
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 0;
  z-index: 999;
}
@media screen and (max-width: 767px) {
  #scrollTopBtn {
    display: none !important;
  }
}



/*---------------------------------------------
スマホの時のレイアウト
--------------------------------------------*/

/* 追加　20250114 */

.l-foot-sp {
  position: fixed;
  bottom: -100px; /* 初期状態で画面外に隠す */
  left: 0;
  width: 100%;
  transition: transform 0.5s ease; /* アニメーションをスムーズにする */
  transform: translateY(100%);
  background: linear-gradient(0deg, hsl(224, 71%, 31%), hsl(211, 99%, 29%) 60%);
  color:#fff;
  border-top:1px solid #fff;
  z-index:100;
}

.l-foot-sp.visible {
  transform: translateY(-100px); /* 表示状態 */
}

/* ここまで追加 */

/* .l-foot-sp {
  
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
} */

/* @media print, screen and (min-width: 768px) {
  .l-foot-sp {
    display: none;
  }
} */

.l-foot-sp ul {
  border-top: 1px solid #fff;
  display: grid;
  grid-template-columns: 3fr 5fr 6fr 5fr 3fr;
}
.l-foot-sp ul li {
  text-align: center;
  padding: 10px 0;
}
.l-foot-sp ul li:not(:last-of-type) {
  border-right: 1px solid #fff;
}
.l-foot-sp ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.l-foot-sp ul li .l-foot-sp-ico{
    font-size:1.8rem;
}

