@charset "UTF-8";

/*=============================================
グローバルナビに関するCSS
=============================================*/
/*---------------------------------
nav
---------------------------------*/

@media print, screen and (min-width: 768px) {    
  .l-g-nav{
    width: 100%;    
   > ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        /* グローバルナビのアイコンの設定 */
        a {
            text-decoration: none;
            display: inline-block;
        }
    }
  }
}

@media print, screen and (min-width: 768px) {
  .l-g-nav > ul > li {
    font-size: clamp(1.1rem, 1.2727272727vw, 1.4rem);
    font-weight: 600;
    height: 40px;
    display: block;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    text-align: center;
  }
}
@media print, screen and (min-width: 768px) {
  .l-g-nav > ul > li:not(:first-of-type) {
    border-left: 1px solid #ccc;
  }
  /* .l-g-nav > ul li::before {
    display: inline;
    font-size: 1.2rem;
  } */
}
/*--------------------------------------------
メガメニュー
--------------------------------------------*/
@media print, screen and (min-width: 768px) {
  #gnav > ul > li > a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 10px;
  }
  /* 親階層リンクのマウスオンアンダーバー */
  /*子階層*/
  /*子階層ドロップダウン*/
  /*子階層のレイアウト設定*/
}
@media print, screen and (min-width: 768px) {
  #gnav > ul > li > a {
    padding: 10px 20px;
    &::before {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 50%;
        width: 100%;
        height: 3px;
        border-radius: 5px;
        background: var(--blue-light);
        -webkit-transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
        transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
        -webkit-transform: translateX(-50%) scaleX(0);
                transform: translateX(-50%) scaleX(0);
        opacity: 0;
        z-index:100;
    }
}
.l-header-inner{
    container-type:inline-size;
}

.l-head-nav #gnav > ul{
    @container(min-width:768px){
        > li a{
            padding:8px !important;
        }
    }
}

#gnav > ul > li:hover a::before {
    opacity: 1;
    -webkit-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
  }
  #gnav > ul > li a.current:not(.l-gnav-home)::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    background: var(--blue-main);
    -webkit-transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    -webkit-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
    opacity: 1;
    z-index:1000;
  }
  .gnav_child {
    visibility: hidden;
    width: 100vw;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    z-index: 0;
    -webkit-transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    -webkit-transform-origin: center top;
            transform-origin: center top;
    opacity: 0;
  }
  #gnav > ul > li:hover .gnav_child {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    z-index: 100;
  }
  .l-gnav-container {
    background: linear-gradient(0deg, hsl(224, 71%, 31%), #1961ad 60%);
    height: 100%;
    min-height: 300px;
    display: grid;
    gap: 16px;
    container-type: inline-size;
    padding:2em 4em;
  }
}
@media print, screen and (min-width: 768px) {
  .l-gnav-container {
    grid-template-columns: 4fr 9fr;
  }
}
@media screen and (min-width: 768px) and (max-width: 767px) {
  .l-gnav-container {
    grid-template-columns: 3fr 10fr;
  }
}
@media print, screen and (min-width: 768px) {
  .l-gnav-container .l-gnav-image {
    -ms-flex-preferred-size: 35%;
        flex-basis: 35%;
  }
}
@media print, screen and (min-width: 768px) {
  .l-gnav-container .l-gnav-image .l-gnav-title {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    font-size: clamp(1.8rem, 2.1818181818vw, 2.4rem);
    color: #1861AB;
    margin-bottom: 10px;
    text-align: left;
  }
  .l-gnav-container .l-gnav-image .l-gnav-sub {
    padding: 16px;
  }
  .l-gnav-container .l-gnav-image span {
    font-size: clamp(1.5rem, 3vw, 3.6rem);
    place-content: center;
    color: #fff;
    text-shadow: 0px 0px 10px rgb(145, 145, 145);
  }
}
/*-----------------------------------
子階層リンク部分　PCのみ
-----------------------------------*/
@media print, screen and (min-width: 768px) {
  /* .l-gnav-sub ul {
    grid-gap: 20px;
    margin: 20px 20px 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  } */
   .l-gnav-sub{
    padding-top:2em;
   }
    .l-gnav-sub ul{
        text-align: left;
    }
  .l-gnav-sub ul li {
    font-size: clamp(1.4rem, 1.4vw, 1.6rem);
    display: inline-block;
    margin-right:2em;
    margin-bottom:1em;
    a{
        color:#fff;
        &:hover{
            color:var(--blue-light);
        }
    }
}
  .l-gnav-sub ul li a span::after {
    font: var(--fa-font-solid);
    content: "\f138";
    margin-left: 0.5em;
    color:#fff;
  }

  /*子階層　イメージ画像エリアの設定*/
  .image_area {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin:2em 4em;
    width: 300px;
  }
  .image_area__orikomi {
    background-image: url(../img/nav/sub-nav-orikomi.jpg);
  }
  .image_area__sunday {
    background-image: url(../img/nav/sub-nav-sunday.jpg);
  }
  .image_area__pos {
    background-image: url(../img/nav/sub-nav-pos.jpg);
  }
  .image_area__web {
    background-image: url(../img/nav/sub-nav-web.jpg);
  }
  .image_area__cost {
    background-image: url(../img/nav/sub-nav-cost.jpg);
  }
  .image_area__company {
    background-image: url(../img/nav/sub-nav-company.jpg);
  }
  .image_area span {
    display: block;
    width: 100%;
    height: 100%;
  }
}
/*=======================================================
スマホナビ
=======================================================*/
/*---------------------------------
ハンバーガーメニュー
---------------------------------*/
@media print, screen and (min-width: 768px) {
  .toggle {
    display: none;
  }
}
/*----------------------------------
スマホナビ
----------------------------------*/
@media screen and (max-width: 767px) {
  .l-head-nav {
    position: relative;
    overflow: scroll;
  }
  .l-g-nav-container,
  .l-g-nav-checkbox {
    width: 30px;
    height: 30px;
    position: fixed;
    right: 1rem;
    top: 20px;
  }
  .l-g-nav-checkbox {
    opacity: 0;
    z-index: 100;
  }
  .l-g-nav-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 90;
  }
  .l-g-nav-container span {
    width: 100%;
    height: 3px;
    background-color: #333;
    -webkit-transition: all 250ms ease-out;
    transition: all 250ms ease-out;
    -webkit-transform-origin: 0 0;
            transform-origin: 0 0;
  }
  .l-g-nav-checkbox:checked ~ .l-g-nav-container span:nth-last-child(1) {
    -webkit-transform: rotate(-45deg) translate(-1px, 0px);
            transform: rotate(-45deg) translate(-1px, 0px);
    background-color: #fff;
  }
  .l-g-nav-checkbox:checked ~ .l-g-nav-container span:nth-last-child(2) {
    -webkit-transform: rotate(0deg) scale(0.2, 0.2);
            transform: rotate(0deg) scale(0.2, 0.2);
    opacity: 0;
  }
  .l-g-nav-checkbox:checked ~ .l-g-nav-container span:nth-last-child(3) {
    -webkit-transform: rotate(45deg) translate(0px, -1px);
            transform: rotate(45deg) translate(0px, -1px);
    background-color: #fff;
  }
  .l-g-nav {
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 100px;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: rgba(48, 48, 48, 0.95);
    -webkit-transition: all 250ms ease-out;
    transition: all 250ms ease-out;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
    display: grid;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-line-pack: start;
        align-content: start;
    overflow: scroll;
  }
  .l-g-nav li {
    font-size: 1.6rem;
    padding: 0.5em;
    position: relative;
  }
  .l-g-nav a {
    text-decoration: none;
    color: white;
    margin: 1rem auto;
  }
  .l-g-nav a:hover {
    color: var(--blue-light);
  }
  .l-g-nav-checkbox:checked ~ .l-g-nav {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
}
@media print, screen and (min-width: 768px) {
  .l-g-nav-checkbox,
  .l-g-nav-container {
    display: none;
  }
}
/* チェックボックスを非表示 */
.menu-parent input {
  display: none;
}

@media (max-width: 767px) {
  .menu-parent .pd {
    width: 100%;
  }
  .menu {
    display: none;
  }
  .menu-parent {
    height: auto;
    width: 100%;
    padding: 0px 20px;
  }
  .menu-parent i {
    padding: 0px 6px;
  }
  /* メニューを移動させないため*/
  l-g-nav-checkbox:checked ~ .menu-parent {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
}
/* ハンバーガーがクリックされたら開く */
@media screen and (max-width: 767px) {
  .l-g-nav-checkbox:checked ~ * .menu {
    display: block;
    opacity: 1;
  }
  .l-g-nav-checkbox:checked ~ * .menu-parent {
    max-height: inherit;
    overflow-y: visible;
  }
  .l-g-nav-checkbox:checked ~ * .menu-child {
    max-height: 0;
    overflow-y: hidden;
    visibility: hidden;
  }
  /* 子メニュー */
  .menu-parent .menu-child {
    position: relative;
    padding: 0 20px;
    opacity: 1;
    top: 0;
    margin-left: auto;
    left: auto;
    width: auto;
    margin-top: 10px;
  }
  .menu-parent label {
    position: absolute;
    right: 0;
    border: 1px solid #fff;
  }
  .l-g-nav > label:hover {
    cursor: pointer;
    cursor: hand;
  }
  /* 子メニューがクリックされた時 */
  .l-g-nav input[type=checkbox]:checked ~ .menu-child {
    max-height: inherit;
    overflow-y: visible;
    visibility: visible;
  }
  .angletoggle:before {
    content: "+";
    color: #fff;
  }
  .l-g-nav input[type=checkbox]:checked ~ * .angletoggle:before {
    content: "\f068";
    color: #fff;
  }
  /* 子メニュー */
  .menu-child li {
    font-size: 1.6rem;
  }
  .menu-child li i {
    margin-right: 3px;
  }
}