@charset "UTF-8";

/*======================================================
ヘッダー
======================================================*/
header{
    max-width:1200px;
    margin-inline:auto;
    padding:1em;
    background-color: #fff;
    @media(min-width:768px){
        display: grid;
        grid-template-columns: auto 1fr;
    }
    align-items: center;    
}

.heading-head{
    img{
        width:80%;
        margin:auto;
    }
}


/*======================================================
ナビゲーション（PCの場合のみ表示）
======================================================*/

@media(min-width:800px){
    .g-nav ul{
        grid-area: gnav;
        display: flex;
        gap: 12px;
        justify-content: end;
        width: 100%;
        li{
            padding-left:40px;
            font-size:1.7rem;
        }
    }

    .g-nav ul li a{
        font-weight: bold;
        color:var(--main-text);
        display: inline-block;

    }

    .g-nav ul li.g-nav-content a{
        color:#00a0e9;
        border:2px solid;
        border-radius: 100px;
        text-align: center;
        padding:0 1em 0 1em;
    }
}
@media(max-width:799px){
    .g-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 初期状態では画面の外に隠れている */
        width: 300px;
        height: 100%;
        background-color: #f2f2f2;
        color: #333;
        transition: right 0.3s ease; /* スライドインのアニメーション */
        padding: 20px;
        box-sizing: border-box;
        z-index: 10;
      }
      
      /* メニューが開いているとき */
      .g-nav.open {
        right: 0;
      }
      
      /* ボタンのスタイル */
      .hamburger {
        position: fixed;
        top: 10px;
        right: 20px;
        width: 50px;
        cursor: pointer;
        z-index: 99999;
        background:#fff;
        padding:10px;
      }
      
      .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #333;
        margin: 5px 0;
        transition: 0.4s;
      }
      
      /* バツ印に変化するスタイル */
      .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      
      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }
      
      .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
      }
      
      /* メニューリストのスタイル */
      .g-nav ul {
        list-style-type: none;
        padding: 0;
        margin-top: 80px;
      }
      
      .g-nav li {
        padding: 20px 0;
        border-bottom: 1px solid #444;
      }
      
      .g-nav li a {
        color: #333;
        text-decoration: none;
        display: block;
      }
      

}








/*======================================================
footer
======================================================*/

footer{
    position: relative;
    background-color: #ededed;
    padding:20px 2%;
    @media(min-width:768px){
    padding:100px 2%;
}
}

.foot-info{
    background: #00a0e9;
    color:#fff;
    padding:60px 2%;
}

.foot-info-inner{
    max-width:1400px;
    margin-inline:auto;
    @media(min-width:768px){
        display:grid;
        grid-template-columns: auto 1fr;
    }
    column-gap:80px;
    p{
        color:#fff;
        font-weight: bold;
    }
}

.foot-tel-number{
    font-size:clamp(1.8rem, 3.0vw, 3.0rem);
    font-weight: bold;
    display: inline-block;
}

.foot-tel-number-wrapper{
    @media(min-width:768px){
        display: flex;
        align-items: center;
    }
    gap:20px;
}

.foot-info-contact{
    font-size:clamp(1.6rem,2.4vw,2.4rem);
    font-weight: bold;

}

.foot-nav-wrapper{
    max-width:1400px;
    margin-inline:auto;
    @media(min-width:768px){
        display: grid;
        grid-template-columns: 1fr auto;
    }
    align-items: center;
    column-gap: 100px;
}

.foot-nav ul{
    display: flex;
    align-items:center;
    justify-content: start;
    li{
        padding:0 20px;
        color:var(--main-text) !important;
        font-weight: bold;
        a{
            color:var(--main-text) !important;
        }
    }
    .foot-nav-border{
        color: var(--main-text) !important;
        text-align: center;
        border-right:1px solid;
    }
    .foot-nav-border-left{
        border-left:1px solid;
    }

}



.pagetop {
    cursor: pointer;
    position: fixed;
    right: 20px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;    
  /*   デフォルトは非表示 */
    opacity: 0;
  }
