@charset "UTF-8";
/* CSS Document */
*,*::before,*::after{
/*リセット*/
margin: 0;
padding: 0;
box-sizing: border-box;
}
a{
color: #333;
text-decoration: none;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
body{
font-family: "Jost", sans-serif;
font-optical-sizing: auto;
  font-weight: thin;
  font-style: normal;
    line-height: 1.75rem;
    letter-spacing: 1px;
    color: #333;
}
.container{
 max-width: 1160px;
 padding: 0 40px;
 margin: 0 auto;
}
h2{
font-size: 40px;
padding: 150px 0 80px 0;
text-align: center;
position: relative;
width: 10rem;
margin: 0 auto;
}
h2:after{
content: "";
display: block;
width: 100%;
height: 5px;
background-color: #4a74a5;
position: absolute;
left: 0;
bottom: 65px;
}
.sub-title{
font-size: 14px;
width: 100%;
height: auto;
text-align: center;
margin-top: -60px;
padding-bottom: 60px;
}
p{font-size: 18px;}
.more-button {
    display: inline-block;
    padding: 10px 50px;
    background-color: #4a74a5;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}
.more-button:hover {
    transform: translateY(2px);
    background-color: #3e638c; 
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
.box-button-blue{
    transition: 0.3s ease-in-out;
    position: relative;
    background-color: #4a74a5;
    color: #fff;
}
.box-button-blue:hover {
  background: #fff;
  color: #4a74a5;
}
.box-button-white{
    transition: 0.3s ease-in-out;
    position: relative;
    background-color: #fff;
    color: #4a74a5;
}
.box-button-white:hover {
  background: #4a74a5;
  color: #fff;
}
.all-view{display: flex;
    justify-content: center;
    text-align: right;
    position: relative;
    width: 10rem;
    padding: .9em 0 0;
    border: none;
    border-bottom: 2px solid #e6edf3;
    background-color: transparent;
}
.all-view::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center left;
    width: 100%;
    height: 2px;
    background-color: #4a74a5;
    content: '';
    transition: transform .3s ease;
}
.all-view:hover::after {
    transform: scaleX(1);
}

button {
    position: fixed; /* 画面に対して位置を固定 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    right: 20px;
    bottom: -160px; /* 初期位置: 画面外の-160px (ボタンの高さ以上) */
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border: 0;
    background: #4a74a5;
    transition: .2s; /* アニメーション速度 */
    letter-spacing: 3px;
    font-weight: bold;
    border-radius: 100px 100px 0 0; /* 上部だけ丸い形状 */
}

button i{
    position: absolute;
    font-size: 30px;
    color: #FFF;
    top: 15px;
    font-weight: 300;z-index: 10;
}
button p{
    margin: 0;
    font-size: 15px;
    bottom: 13px;
    position: absolute;
}

/* スクロール時に適用されるクラス */
.is-active {
    opacity: 1;
    visibility: visible;
}

button.is-active {
    bottom: 0px; /* 画面内にスライドイン */
}

/*＝＝＝＝＝ヘッダー＝＝＝＝＝*/
ul{
list-style-type: none;
display: flex;
}
.global-nav{
background-color: rgba(255,255,255,0.3);
backdrop-filter: blur(30px);
box-shadow: 0 0 30px rgba(230,230,230,0.4);
border: 1px solid rgba(255,255,255,0.2);
display: flex;
justify-content: space-between;
border-radius: 50px;
margin: 1rem auto;
align-items: center;
height: 4rem;
position: fixed;
width: 100%;
    right: 0;
    left: 0;
z-index: 5;
}
.global-nav img{height: 40px;width: auto;}
.global-nav ul li a{
    display: block;
    margin: 0;
    padding: 1rem;
    width: 100%;
}
.global-nav ul li a::after{
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  background: #4a74a5;
  position: relative;
  bottom: 0;
  left: 0;
  transform: scale(0, 1);
  transition: .3s;
 }
.global-nav ul li a:hover{color: #4a74a5;}
.global-nav ul li a:hover::after{transform: scale(1, 1);}

header{
width: 100%;
height: 100px;
position: absolute;
}
/*;ファーストビュー*/
.first-vw-img{
    min-width: 100vw;
    height: 100vh;
    position: relative;
    top: 0;
    overflow: hidden; 
  }
/* --- スライド画像を重ねて配置するコンテナ --- */
.slideshow-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
/* --- 各スライドアイテムの基本設定 --- */
.slide-item {
    width: 100%;
    height: 100%;
    position: absolute; /* 画像をすべて重ねる */
    top: 0;
    left: 0;
    opacity: 0; 
    /* アニメーション設定 (アニメーション名: zoom-fade、40秒無限ループ) */
    animation: zoom-fade 40s infinite;
}
.slide-1 {
    background: url("../images/top/FV-bg01.jpg") no-repeat center center/cover;
    animation-delay: 0s;
}
.slide-2 {
    background: url("../images/top/FV-bg02.jpg") no-repeat center center/cover;
    /* 2枚目は8秒遅延 */
    animation-delay: 8s; 
}
.slide-3 {
    background: url("../images/top/FV-bg03.jpg") no-repeat center center/cover;
    /* 3枚目は16秒遅延 */
    animation-delay: 16s;
}
.slide-4 {
    background: url("../images/top/FV-bg04.jpg") no-repeat center center/cover;
    /* 4枚目は24秒遅延 */
    animation-delay: 24s;
}
.slide-5 {
    background: url("../images/top/FV-bg05.jpg") no-repeat center center/cover;
    /* 5枚目は32秒遅延 */
    animation-delay: 32s;
}
.catch-copy{
    color: #fff;
    font-size: 21px;
    width: 100%;
    line-height: 1.5em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}
.catch-copy1{font-size: 45px;display: inline-block;margin-bottom: 20px;}

.first-vw-img::after{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0,0,0,0.2);
z-index:1;
}
/* --- @keyframesによるズーム＆フェードアニメーションの定義 --- */
@keyframes zoom-fade {
    /* 0% (0秒): 初期状態（フェードイン開始） */
    0% {
        opacity: 0;
        transform: scale(1); /* 1.0倍からスタート */
    }
    /* 1% (約0.4秒): フェードイン直後 */
    1% {
        opacity: 1; 
        transform: scale(1.02); /* わずかにズーム開始 */
    }
    /* 19% (約7.6秒): フェードアウト直前 */
    19% {
        opacity: 1;
        transform: scale(1.2); /* 1.2倍までゆっくりズーム */
    }
    /* 20% (8秒): 次の画像へ瞬時に切り替わるタイミング */
    20% {
        opacity: 0; /* フェードアウト完了（次の画像に切り替えるため） */
        transform: scale(1.2); /* ズーム状態は維持 */
    }
    /* 100% (40秒): 周期の終わり */
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/*スクロールバー*/
.scroll_down{
  position:absolute;
  bottom: 0;
  left: 7%;
}
.scroll_down a{
  position: absolute;
  left: 10px;
  bottom: 87px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background:#fff;
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}
@keyframes circlemove{
  0%{bottom:160px;}
  100%{bottom:0px;}
}
@keyframes cirlemovehide{
  0%{opacity:0}
  50%{opacity:1;}
  80%{opacity:0.9;}
  100%{opacity:0;}
}
.scroll_down:after{
  content:"";
  position: absolute;
  bottom:0;
  left:0;
  width:2px;
  height: 160px;
  background:#fff;
}

#topics-section .container{
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 0 40px;
margin: 70px auto 100px;
max-width: 1160px;
}

/*Topicsヘッダー (左側)*/
.topics-head {
    min-width: 300px;
    margin-right: 50px;
}

.topics-head h2 {
    font-size: 48px;
    padding: 10px 0 20px 0;
    margin: 0 0 20px;
    width: 100%;
    text-align: left ;
    border-bottom: 5px solid #4a74a5;
}
.topics-head h2:after{content: none;}
.topics-head p {
    font-size: 14px;
    display: inline-block;
    margin-bottom: 50px;
    opacity: 1; 
    visibility: visible;
    position: static;
}

/* スクロールコンテナ (右側)*/
/*スクロールボタン*/
.topics-list {
    width: 730px;
    display: flex;
    flex-shrink: 0;  /* 水平スクロールの設定 */
    overflow-x: scroll; /* 水平スクロール有効*/
    overflow-y: hidden; /* 垂直スクロール無効 */
    scroll-behavior: smooth;

    gap: 20px;
    position: relative;
}
.scroll-buttons{
    display: flex;
    gap: 15px;
    z-index: 10;
}
.left-btn, .right-btn{
    width: 40px;
    height: 40px;
    border: 1px solid #4a74a5;
    background-color: transparent;
    color: #4a74a5;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
    padding: 0;
}
.left-btn{
    position: absolute;
    bottom: -50px;
    left: 0; 
}
.right-btn{
    position: absolute;
    bottom: -50px;
    right: 0;
}
.scroll-btn:hover{
    background-color: #4a74a5;
    color: #fff;
}
.scroll-buttons .scroll-btn {
    opacity: 1; 
    visibility: visible;
}

.card-scroll-wrapper {
    flex-grow: 1; /* 残りのスペースを全て占める */
    position: relative;
}
/*個々のカードスタイル*/
.card-item {
    flex-shrink: 0; /* カードが縮まないように */
    }
.card-item a {
    display: block;
    width: 200px;
    height: 270px;
    padding: 7px;
    border: 0.5px solid #aaa;
}
.card-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}
.card-item p {
    text-align: left;
    font-size: 14px;
}
.card-item time{
font-size: 13px;
text-align: right;
display: block;
}

/*About us*/
#about-section {
    position: relative; 
}
#about-section .container-weapper{
background: url("../images/about/about-bg.jpg");
background-size: cover;
background-attachment: fixed;
background-position: center;
background-color: aqua;
color: #fff;
}
#about-section .container{
display: flex;
justify-content: space-between;
flex-direction: row-reverse;
align-items: center;
padding: 160px 0;
}

#about-section h2{
display: block;
width: 400px;
background-color: rgba(255,255,255,0.5);
padding: 0;
}
.about_btn a{
 display: block;
 color: #fff;
 padding: 80px 0;
 position: relative;
  transition: color 0.5s ease;
}
.about_btn:hover{
 color: #fff;
}
.about_btn:hover::before{
 transform: scaleY(1);
}
.about_btn::before{
 position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  transform: scaleY(0);
  transition: all 0.5s ease;
  transition-property: transform;
}
#about-section h2::after{content: none;}
.about_txt{
width: 700px;
}
#about-section h3{
font-size: 40px;
margin-bottom: 20px;
}
#about-section p{
font-size: 18px;
}
#about-section .about_txt .all-view{
color: #fff;
border: none;
justify-content: flex-start;
font-size: 14px;
width: 5rem;
}
.all-view::after {
    background-color: #fff;
}
/* 左上の「NEXA」装飾文字 */
#about-section::before {
    content: "NEXA";
    position: absolute;
    top: 50px; 
    left: 0; 
    font-size: 200px; 
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    pointer-events: none;
}
/* 右下の「REALS」装飾文字 */
#about-section::after {
    content: "REALS";
    position: absolute;
    bottom: 50px; 
    right: 0;
    font-size: 200px; 
    font-weight: bold;
    font-family: sans-serif; 
    color: rgba(255, 255, 255, 0.8); 
    z-index: 1;
    pointer-events: none; 
}

/*Service*/
#service-section{text-align: center;}
#service-section h3{
font-size: 36px;
margin-bottom: 70px;
position: relative;
}
#service-section h3::after{
position: absolute;
content: "Reality Beyond Screens.";
 letter-spacing: 5px;
top: 70%;
left: 50%;
transform:translateX(-50%);
color: rgba(0,0,0,0.1)
}
#service-section .service-title-txt{
font-size: 14px;
margin-bottom: 40px;
padding: 0 100px;
 }
.service-card{display: flex;}
.service-card a{
 width: 25%;
 height: 350px;
 margin: 0 5px;
}
.service-card-list {
  color: #fff;
  background-image: linear-gradient(90deg, rgba(233, 233, 233, 1), rgba(172, 172, 172, 0.7));
  background: url("../images/about/about-bg.jpg") ;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  box-shadow: 5px 7px 3px rgba(0,0,0,0.5);
  transition: all 0.3s ease-out;
  position: relative;
  overflow: hidden; 
  z-index: 1; /* テキストレイヤーより奥 */
 }
 .service-card1{
 background:  linear-gradient(to top, rgba(10, 0, 20, 0.5), rgba(168, 194, 238, 0.5)), url("../images/service/real-copy.jpg"); 
 background-size:cover;
 background-repeat: no-repeat;
 background-position: bottom;
 }
  .service-card2{
 background:  linear-gradient(to top, rgba(0, 30, 20, 0.7), rgba(168, 194, 238, 0.5)), url("../images/service/real-reaction.jpg"); 
 background-size:cover;
 background-repeat: no-repeat;
 background-position: bottom;
 }
  .service-card3{
 background:  linear-gradient(to top, rgba(20, 30, 0, 0.7), rgba(168, 194, 238, 0.5)), url("../images/service/real-texture.jpg"); 
 background-size:cover;
 background-repeat: no-repeat;
 background-position: bottom;
 }
  .service-card4{
 background:  linear-gradient(to top, rgba(30, 10, 0, 0.7), rgba(168, 194, 238, 0.5)), url("../images/service/real-modeling.jpg"); 
 background-size:cover;
 background-repeat: no-repeat;
 background-position: bottom;
 }
.service-card__img{
width: 100px;
height: auto;
margin: 0 auto;
}
.service-card__h-img h4{
font-weight: bold;
margin-top: 20px;
line-height: 1.75;
font-size: 18px;
opacity: 1;
}
.service-card__txt{
font-size: 14px;
padding: 0 30px;
text-align: center;
position: absolute; 
width: 100%;
height: 50%;
display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease,;
}
.service-card-list:hover .service-card__h-img{/*ホバーしたら非表示*/
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card-list:hover .service-card__txt {/*ホバーしたらp表示*/
    opacity: 1; 
    background-color:rgba(0, 0, 0, .3);
    z-index: 1;
    height: 100%;
}
/* ========================================= */
/* 背景画像 (::after) の設定 */
/* ========================================= */
.service-card-list::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    ransform: scale(1.05); 
    /* アニメーション設定: 不透明度と変形を滑らかに */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.service-card1::after { background-image: url("../images/service/01real.jpg"); }
.service-card2::after { background-image: url("../images/service/02real.jpg"); }
.service-card3::after { background-image: url("../images/service/03real.jpg"); }
.service-card4::after { background-image: url("../images/service/04real.jpg"); }
.service-card-list:hover::after {
    opacity: 1; 
    transform: scale(1);
}
/*Works*/
/* メイン記事を表示するカードのコンテナ */
.work-card {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    text-align: right;
    margin-bottom: 70px;
}
.work-image-box {
    width: 610px;
    height: 340px;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; /* 画像を繰り返さない */
    transition: background-image 0.5s ease-in-out;
    box-shadow: 5px 7px 3px rgba(0,0,0,0.5);
}
.work-text-box {
    width: 420px;
    position: relative;
}
.work-title {
    font-size: 40px;
    margin-bottom: 30px;
}
.work-desc { 
    text-align: justify;
    padding-left: 50px;
    margin-bottom: 20px;
}
.work-actions {
    margin-top: 30px;
    position: absolute;
    right: 0;
    bottom: 10px;
}
.work-tag {
    font-size: 0.9rem;
    color: #888;
    margin-right: 10px;
}
/* 下のサムネイルリストのコンテナ */
.thumb-list {
    display: flex;
    gap: 10px;
    width: 100%;
}
/* 個々のサムネイルリンク */
.thumb-item {
    display: block;
    flex-grow: 1;
    text-decoration: none;
}
/* サムネイルの四角（背景色/画像を設定するボックス） */
.thumb-box {
    width: 100%;
    padding-top: 100%;
    background-color: #a8a8a8;
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* 非選択時は暗く */
    transition: opacity 0.3s, transform 0.3s;
}
.thumb-item:hover .thumb-box {
 opacity: 0.8;
 transform: scale(1.03);
 box-shadow: 0 4px 8px rgba(0,0,0,0.2);
 }
.thumb-a{background-image: url("../images/works/works01.jpg");}
.thumb-b{background-image: url("../images/works/works02.jpg");}
.thumb-c{background-image: url("../images/works/works03.jpg");}
.thumb-d{background-image: url("../images/works/works04.jpg");}
.thumb-e{background-image: url("../images/works/works05.jpg");}
/* 選択中のサムネイル */
.thumb-item.is-active .thumb-box {
    opacity: 1;
    transform: scale(1.02); /* 選択中は少し大きめに拡大 */
    box-shadow: 5px 7px 5px rgba(0,0,0,0.5);
}

/*contact*/
.contact-card{
border: 1px solid #aaa;
padding: 30px 60px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 40px;
 box-shadow: 5px 7px 5px rgba(0,0,0,0.5);
}
/*左*/
.contact-card__txt h3{
 color: #4a74a5;
 font-size: 30px;
 margin-bottom: 30px;
}
.contact-card__txt p{
font-size: 14px;
margin-bottom: 70px;
}
.contact-card__img{
 width: 50%; 
}
.contact-btn * {
 border: 1px solid #4a74a5;
 padding: 10px 50px;
 margin-right: 30px;
 margin-bottom: 20px;
 box-shadow: 5px 5px 4px rgba(0,0,0,0.3);
 }
 .info-request{
 background-color: #4a74a5;
 color: #fff;
 }
 .free-consultation{
  color: #4a74a5;
 }
/*フッター*/
footer{
background-color: #4a74a5;
color: #fff;
padding: 20px 0;
margin-top: 80px;
}
footer table{
width: 100%;
border: none;
border-collapse: collapse;
border-spacing: 0;
font-size: 14px;
margin: 10px;
}
footer th,footer td{
  vertical-align:top;
  border:none;  text-align:left;
}
footer th{
 text-align: left;
    width: 70px;
    font-weight: normal;
    font-size: 0.85rem;
    vertical-align: top;
}
footer td{
 font-size: 0.85rem;
    color: #f0f0f0;
    vertical-align: top;
}
footer a{color: #fff;}
.footer-inner{
display: flex;
justify-content: space-between;
align-items: center;
margin: 80px auto;
}
.footer-left{
 width: 30%;
 display: flex;
 flex-direction: column;
 align-items: center;
 }
.footer-left img{
    margin-bottom: 10px;
    border-bottom: 1px solid #fff;
    padding: 20px;
}

.footer-left th{
width: 5rem;
text-align: center;
padding-right: 10px;
}
.footer-left td{
}

.footer-nav{
display: flex;
}
.nav-list{
display: flex;
flex-direction: column;
margin-right: 50px;
row-gap: 10px;
}
.footer-nav a {
    position: relative; 
    overflow: hidden; 
    display: inline-block;
    padding-bottom: 2px; 
}
.nested-list {
    font-weight: normal; 
    margin-top: -10px; 
}
.nested-list ul{
 display: flex;
 flex-direction: column;
    margin-top: 5px;
}
.nested-list li {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #c0c0c0;
}
.footer-nav a::after {
    content: '';
    display: block;
    height: 1px; 
    width: 100%;
    background: #fff; 
    position: absolute;
    bottom: 0; 
    left: 0;
    transform: scale(0, 1); 
    transform-origin: center left; 
    transition: transform .3s ease;
}
.footer-nav a:hover {
    color: #fff; 
}
.footer-nav a:hover::after {
    transform: scale(1, 1); 
}
.nested-list li a {
    color: #c0c0c0; 
}
.nested-list li a:hover {
    color: #fff; 
}
.footer-contct-btn{
 text-align: center;
 border: 1px solid #fff;
 margin-top: 60px;
 display: block;
 width: 300px;
 height: auto;
 padding: 10px 0;
}
.copy{
 text-align: center;
 font-size: 12px;
 padding: 10px;
}
/* ========================================= */
/* 右下 固定コンタクトカードのスタイル */
/* ========================================= */
.fixed-contact-card {
    /* 画面右下に固定 */
    position: fixed;
    right: 20px;
    bottom: -200px;
    z-index: 100; /* ページトップボタン (z-index: 20) より手前に */
    /* 非表示状態の設定 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-out;
}
.card-inner {
    width: 160px; /* カードの幅 */
    padding: 0 0 10px 0;
    background-color: rgba(255,255,255,0.95); /* 半透明の白背景 */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-align: center;
}
.card-header-body {
    padding: 0; /* 上下のパディングをここで設定 */
    padding-bottom: 10px; /* 見出しと本文の間の調整 */
    text-align: left;
}
.fixed-contact-card h3 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    background-color: #4a74a5;
    width: 160px;
    margin-bottom: 10px;
    padding: 15px; 
    display: inline-block; 
    border-radius: 0 0 5px 5px;
    text-align: center;
}
.fixed-contact-card p {
    font-size: 12px;
    color: #555;
    margin-bottom: 0;
    padding: 5px 15px 10px 15px;
}
.contact-card-btn {
    display: block;
    padding: 8px;
    margin: 10px;
    color: #4a74a5;
    text-decoration: none;
    border: 1px solid #4a74a5;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.contact-card-btn:hover {
    background-color: #3e638c;
    color: #fff;
}
/* 表示時に適用するクラス */
.fixed-contact-card.is-active{
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}
/* PAGE TOPボタンが出現した時に適用するクラス */
/* is-active と is-offset の両方がついたときに適用 */
.fixed-contact-card.is-offset {
    bottom: 100px;
}
.hamburger-btn, .mobile-menu {
    display: none !important; 
}

/*ハンバーガー*/
/* ============================
   ハンバーガーメニュー対応（works用）
============================ */

/* ボタン見た目 */
.hamburger {
  display: none;
  position: absolute;
  top: 20px;
  right: 25px;
  width: 32px;
  height: 22px;
  cursor: pointer;
  z-index: 100;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  margin-bottom: 6px;
  transition: all 0.4s;
}
.hamburger span:last-child {
  margin-bottom: 0;
}

/* 開閉アニメーション */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* メニュー本体（スマホ〜タブレット共通） */
@media screen and (max-width: 1024px) {
  .hamburger { display: block; }

  #js-global-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px;
    gap: 0;
    transition: 0.4s;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    z-index: 90;
  }

  #js-global-nav.open {
    left: 0;
  }

  body.nav-open {
    overflow: hidden;
  }
}
