@charset "UTF-8";

/* --------------------------------
  reset
-------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul {
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
html {
    font-size: 100%;
}

/* --------------------------------
  body
-------------------------------- */
body {
    background-color: #fff;
    color: #333;
    font-size: 1rem;
    font-family: "Arial", "Noto Sans JP", sans-serif;
    line-height: 1.5;
}

/* --------------------------------
  layout
-------------------------------- */
.container {
    width: min(92%, 1110px);
    margin: 0 auto;
}

/* --------------------------------------------
ここまで先生のコピー
--------------------------------------------*/
/* header */
header {
    position: fixed; /* 固定表示に変更 */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    background-color: rgba(255, 255, 255, 1.0); /* 初期状態は白背景 */
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* スクロール時にheaderが隠れる */
header.hidden {
    transform: translateY(-100%); /* 上に隠れる */
}

/* スクロール戻したときに再表示 */
header.shown {
    transform: translateY(0); /* 再表示 */
}

.logo {
    z-index: 1001; /* ナビゲーションよりも前面に配置 */
    width: 200px;
}

/* nav */
.gnav ul {
    display: flex;
    gap: 20px;
}
.gnav ul li {
    position: relative;
}
.gnav ul li a {
    font-size: 16px;
    font-weight: bold;
    padding: 5px 0;
    display: inline-block;
    position: relative;
    color: #545454;
}
.gnav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #2563cd;
    transition: width 0.3s ease-in-out;
}
.gnav ul li a:hover::after {
    width: 100%;
}
/* ハンバーガーメニュー */
@media screen and (max-width: 767px) {
    .nav_button {
      position: fixed;
      right: 0;
      top: 0;
      width: 50px;
      height: 50px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      background-color: #fff;
      z-index: 1000;
    }
    .nav_button span {
      width: 30px;
      height: 3px;
      background: #444;
      border-radius: 2px;
      transition: all 0.2s ease-in-out;
    }
  
    /* イベントにより.openが付与されたときのアニメーション */
    .open .nav_button span:nth-child(1) {
      transform: translate(0, 8px) rotate(45deg);
      background: #444;
    }
    .open .nav_button span:nth-child(2) {
      transform: scaleX(0);
      opacity: 0;
    }
    .open .nav_button span:nth-child(3) {
      transform: translate(0, -10px) rotate(-45deg);
      background: #444;
    }
  
/* ---------- gnav ---------- */
.gnav {
    position: fixed;
    right: -100vw;  /* 初期位置は画面外 */
    top: 0;
    width: 100vw;
    height: 100svh;
    background-color: rgba(18, 112, 188, 1.0);
    color: white;
    transition: right 0.3s ease;
    z-index: 800;
  }
    .gnav ul {
      display: grid;
      place-content: center;
      height: 100vh;
    }
      .gnav ul li {
        margin: 15px 0;
        line-height: 1.4;
      }
      .gnav ul li a {
        color: white;
        text-decoration: none;
      }

      /* イベントにより.openが付与されたときの位置 */
      .open .gnav {
        right: 0;
      }
}

/* 　キービジュアル　 */
.key_visual {
    position: relative;
    height: 700px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: white;
    font-size: 32px;
    overflow: hidden; /* 見切れた部分は隠す */
}

.key_visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 高さ100%に */
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: transform 3s ease, opacity 1s ease-in-out; /* ズームイン＆スライドアニメーション */
}

.key_visual-text {
    white-space: pre-line;
    position: absolute;
    font-size: 72px;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    left: 10%;
    top: 40%;
    max-width: 80%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.key_visual-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* アニメーション開始時の初期状態 */
.key_visual-overlay.zoom-in {
    transform: scale(1.2) translateY(50px); /* 画像が初めはズームインして少し下がる */
}

/* アニメーション終了後の状態 */
.key_visual-overlay.fade-out {
    opacity: 0;
    transform: scale(1) translateY(-50px); /* ズームアウトしながら上にスライド */
}

/* スマホ用のフォントサイズ調整 */
@media (max-width: 767px) {
    .key_visual-text {
        font-size: 40px; /* スマホでのサイズ調整 */
        left: 5%; /* 左側の余白を調整（必要に応じて） */
        top: 30%; /* 上部の位置を調整（必要に応じて） */
    }
}


/* --------------------------------------------
main
--------------------------------------------*/
/* --------------------------------
Message Section
-------------------------------- */
.Message {
    background: linear-gradient(to right, #2563cd, #25a3cd); /* 上から下へのグラデーション */
    display: flex;
    align-items: center;
    width: 100%;
    padding: 50px 0; /* 上下の余白 */
    margin-top: 100px;
}
.Me-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    color: rgb(255, 255, 255);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.Me-text.active {
    opacity: 1;
    transform: translateY(0);
}
.Me-text .h2 {
    font-size: 50px;
    text-align: center;
    margin-top: 50px;
    color: rgb(255, 255, 255);
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.Me-text .h2 span {
    color: #FFD700; /* ゴールドっぽい色に変更（見やすさUP） */
}

.Me-text .h2p {
    font-size: 10px;
    text-align: center;
    position: relative;
    margin-top: 10px;
}

.Me-text .h2p::after {
    content: "";
    display: block;
    width: 70%;
    height: 5px;
    background-color: #FFD700;
    position: absolute;
    margin: -20px;
    bottom: -5px;
    left: 20%;
}
.Me-p {
    text-align: left;
    white-space: pre-line;
    margin: 30px auto;
}

.Me-img {
    width: 50%; /* 右側の画像を中央まで */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 右端に寄せる */
}

.Me-img img {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* 表示されるとき */
.Me-img.active img {
    opacity: 1;
    transform: translateY(0);
}
/* スクロール時にじわっと表示 */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  }
  
  .fade-in.active {
    opacity: 1;
    transform: translateY(0);
  }

@media screen and (max-width: 767px) {
    .Message {
        display: flex; /* スマホではflexを使う */
        flex-direction: column; /* 縦並び */
        text-align: center;
        padding: 50px 0; /* 余白を少し調整 */
    }

    .Me-img {
        width: 100%; /* 横幅いっぱい */
        padding: 0; /* 余白なし */
        order: -1; /* 画像を最初に表示 */
    }

    .Me-img img {
        width: 100%; /* 横幅いっぱい */
        height: auto; /* 縦横比を維持 */
    }

    .Me-text {
        width: 100%; /* 横幅いっぱい */
        padding: 20px 0; /* 上下余白を追加 */
    }

    .Me-text .h2 {
        font-size: 28px; /* ちょっと小さめに */
        text-align: center;
        width: 100%; /* 横幅いっぱい */
    }

    .Me-text .h2p {
        font-size: 16px;
        margin-top: 10px;
    }

    .Me-p {
        text-align: left;
        margin: 20px 20px 30px; /* 左右20pxの余白 */
    }

    .btn {
        display: block;
        width: fit-content;
        margin: 20px auto; /* ボタンを中央寄せ */
    }
}

/* --------------------------------
btn1
-------------------------------- */
.btn1 {
    display: inline-block;
    padding: 10px;
    width: 150px;
    border: 1px solid #989898;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    background-color: #ffffff;
    color: #2563CE;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
    border-radius: 30px; /* 値はお好みで、10px〜50pxぐらいまで */
}
.btn1::after {
    content: '▶'; /* Unicodeを使って右向き矢印 */
    font-size: 18px;
    margin-left: 10px;
}

.btn1:hover {
    background-color: #989898;
    color: #ffffff;
}
.button-wrapper {
    text-align: right;
}

@media screen and (max-width: 767px) {
    .btn1 {
        display: block;  /* インライン要素だと中央寄せできないのでブロック要素に */
        width: fit-content; /* ボタン幅を内容に合わせる */
        margin: 20px auto;  /* 上下20px・左右autoで中央寄せ */
        padding: 20px 100px;
        text-align: center; /* テキスト中央揃え */
    }
}


/* --------------------------------
btn2
-------------------------------- */
.btn2 {
    display: inline-block;
    padding: 10px;
    width: 150px;
    border: 1px solid #989898;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    background-color: #2563CE;
    color: #fff;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
    border-radius: 30px; /* 値はお好みで、10px〜50pxぐらいまで */
}
.btn2::after {
    content: '▶'; /* Unicodeを使って右向き矢印 */
    font-size: 18px;
    margin-left: 10px;
}

.btn2:hover {
    background-color:#989898;
    color: #ffffff;
}
.button-wrapper {
    text-align: right;
}

@media screen and (max-width: 767px) {
    .btn {
        display: block;  /* インライン要素だと中央寄せできないのでブロック要素に */
        width: fit-content; /* ボタン幅を内容に合わせる */
        margin: 20px auto;  /* 上下20px・左右autoで中央寄せ */
        padding: 20px 100px;
        text-align: center; /* テキスト中央揃え */
    }
}



/* --------------------------------
btn3
-------------------------------- */
.btn3 {
    display: inline-block;
    padding: 10px;
    width: 150px;
    border: 1px solid #989898;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    background-color: #989898;
    color: #fff;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
    border-radius: 30px; /* 値はお好みで、10px〜50pxぐらいまで */
}
.btn3::after {
    content: '▶'; /* Unicodeを使って右向き矢印 */
    font-size: 18px;
    margin-left: 10px;
}

.btn3:hover {
    background-color: #fff;
    color: #989898;
}
.button-wrapper {
    text-align: right;
}

@media screen and (max-width: 767px) {
    .btn {
        display: block;  /* インライン要素だと中央寄せできないのでブロック要素に */
        width: fit-content; /* ボタン幅を内容に合わせる */
        margin: 20px auto;  /* 上下20px・左右autoで中央寄せ */
        padding: 20px 100px;
        text-align: center; /* テキスト中央揃え */
    }
}


/* --------------------------------
  Building Maintenance Section
-------------------------------- */
.Building-Maintenance {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none; /* 最大幅の制限をなくす */
    background-image: url("../img/bg.webp");
    background-size: cover;       /* 全体に敷き詰める */
    background-position: center;  /* 中央に配置 */
    background-repeat: no-repeat; /* 繰り返さない */
}

.BM-img {
    width: 50%; /* 中央までの幅 */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左端に寄せる */
    padding-top: 50px; /* 上の余白 */
    padding-bottom: 50px; /* 下の余白 */
}

.BM-img img {
    width: 100%;
    height: 500px; /* 固定の高さを指定（例） */
    object-fit: cover; /* 中央を切り取って表示 */
}


.BM-text {
    flex: 1; /* 50% */
    display: flex;
    flex-direction: column; /* 縦に並べる */
    justify-content: center;
    padding: 0 20px;
}

.BM-text .h2 {
    font-size: 50px;
    text-align: center;
    margin-top: 100px;
    color: #333;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.BM-text .h2 span {
    color: #2563CE;
}

.BM-text .h2p {
    font-size: 18px;
    text-align: center;
    position: relative;
    margin-top: 10px;
}

.BM-text .h2p::after {
    content: "";
    display: block;
    width: 70%;
    height: 5px;
    background-color: #2563CE;
    position: absolute;
    bottom: -5px;
    margin: -20px;
    left: 20%;
}

.BM-p {
    text-align: left;
    white-space: pre-line;
    margin: 30px auto;
}
@media screen and (max-width: 767px) {
    .Building-Maintenance {
        display: block; /* スマホでは縦並び */
        text-align: center;
    }

    .BM-img {
        width: 100%; /* 横幅いっぱい */
        padding: 0; /* 余白なし */
    }

    .BM-img img {
        width: 100%;
        height: 500px; /* 固定の高さを指定（例） */
        object-fit: cover; /* 中央を切り取って表示 */
    }

    .BM-text {
        width: 100%; /* 横幅いっぱい */
        padding: 20px 0; /* 上下余白を追加 */
    }

    .BM-text .h2 {
        font-size: 28px; /* ちょっと小さめに */
        text-align: center;
        width: 100%; /* 横幅いっぱい */
    }

    .BM-text .h2p {
        font-size: 16px;
        margin-top: 10px;
    }

    .BM-p {
        text-align: left;
        margin: 20px 20px 30px; /* 左右20pxの余白 */
    }

    .btn {
        display: block;
        width: fit-content;
        margin: 20px auto; /* ボタンを中央寄せ */
    }
}

/* --------------------------------
Renovation Section
-------------------------------- */
.Renovation {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none; /* 最大幅の制限をなくす */
    background-image: url("../img/bg.webp");
    background-size: cover;       /* 全体に敷き詰める */
    background-position: center;  /* 中央に配置 */
    background-repeat: no-repeat; /* 繰り返さない */
    margin-top: 50px;
}

.RE-text {
    flex: 1; /* 50% */
    display: flex;
    flex-direction: column; /* 縦に並べる */
    justify-content: center;
    padding: 0 20px;
    color: #333; /* テキストカラーを白に */
}

.RE-text .h2 {
    font-size: 50px;
    text-align: center;
    margin-top: 50px;
    color: #333;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.RE-text .h2 span {
    color: #2563CE; /* ゴールドっぽい色に変更（見やすさUP） */
}

.RE-text .h2p {
    font-size: 18px;
    text-align: center;
    position: relative;
    margin-top: 10px;
}

.RE-text .h2p::after {
    content: "";
    display: block;
    width: 60%;
    height: 5px;
    background-color: #2563CE;
    position: absolute;
    margin: -20px;
    bottom: -5px;
    left: 23%;
}

.RE-p {
    text-align: left;
    white-space: pre-line;
    margin: 30px auto;
}

.RE-img {
    width: 50%; /* 右側の画像を中央まで */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 右端に寄せる */
    height: 500px; /* 固定の高さを指定（例） */
    object-fit: cover; /* 中央を切り取って表示 */
}

.RE-img img {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .Renovation {
        display: flex; /* スマホではflexを使う */
        flex-direction: column; /* 縦並び */
        text-align: center;
        padding: 50px 0; /* 余白を少し調整 */
    }

    .RE-img {
        width: 100%; /* 横幅いっぱい */
        padding: 0; /* 余白なし */
        order: -1; /* 画像を最初に表示 */
    }

    .RE-img img {
        width: 100%; /* 横幅いっぱい */
        height: auto; /* 縦横比を維持 */
    }

    .RE-text {
        width: 100%; /* 横幅いっぱい */
        padding: 20px 0; /* 上下余白を追加 */
    }

    .RE-text .h2 {
        font-size: 28px; /* ちょっと小さめに */
        text-align: center;
        width: 100%; /* 横幅いっぱい */
    }

    .RE-text .h2p {
        font-size: 16px;
        margin-top: 10px;
    }

    .RE-p {
        text-align: left;
        margin: 20px 20px 30px; /* 左右20pxの余白 */
    }

    .btn {
        display: block;
        width: fit-content;
        margin: 20px auto; /* ボタンを中央寄せ */
    }
}

/* --------------------------------
Diverse-Services　Section
-------------------------------- */
.Diverse-Services {
    background: #004aad;
    display: flex;
    align-items: center;
    width: 100%;
}

.DS-img {
    width: 50%; /* 中央までの幅 */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左端に寄せる */
    padding-top: 50px; /* 上の余白 */
    padding-bottom: 50px; /* 下の余白 */
}

.DS-img img {
    width: 100%;
    height: 500px; /* 固定の高さを指定（例） */
    object-fit: cover; /* 中央を切り取って表示 */
}

.DS-text {
    flex: 1; /* 50% */
    display: flex;
    flex-direction: column; /* 縦に並べる */
    justify-content: center;
    padding: 0 20px;
}

.DS-text .h2 {
    font-size: 50px;
    text-align: center;
    margin-top: 75px;
    color: #ffffff;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.DS-text .h2 span {
    color: #FFD700;
}

.DS-text .h2p {
    font-size: 18px;
    text-align: center;
    position: relative;
    margin-top: 10px;
    color: #ffffff;
}

.DS-text .h2p::after {
    content: "";
    display: block;
    width: 70%;
    height: 5px;
    background-color: #FFD700;
    position: absolute;
    margin: -20px;
    bottom: -5px;
    left: 18%;
}

.DS-p {
    text-align: left;
    white-space: pre-line;
    margin: 30px auto;
    color: #ffffff;
}
@media screen and (max-width: 767px) {
    .Diverse-Services {
        display: block; /* スマホでは縦並び */
        text-align: center;
        padding: 50px 0; /* 上下の余白を調整 */
    }

    .DS-img {
        width: 100%; /* 横幅いっぱい */
        padding: 0; /* 余白なし */
    }

    .DS-img img {
        width: 100%; /* 画像が横幅いっぱい */
        height: auto; /* 縦横比を維持 */
    }

    .DS-text {
        width: 100%; /* 横幅いっぱい */
        padding: 20px 0; /* 上下余白を追加 */
    }

    .DS-text .h2 {
        font-size: 28px; /* フォントサイズを少し小さめに */
        text-align: center;
        width: 100%; /* 横幅いっぱい */
    }

    .DS-text .h2p {
        font-size: 16px;
        margin-top: 10px;
    }

    .DS-p {
        text-align: left;
        margin: 20px 20px 30px; /* 左右20pxの余白 */
    }

    .btn {
        display: block;
        width: fit-content;
        margin: 20px auto; /* ボタンを中央寄せ */
    }
}

/* --------------------------------
Company　Section
-------------------------------- */
.Company {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url("../img/co1.webp"); /* 画像のパスを指定 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せ */
}
.Company::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒レイヤー */
    z-index: 1; /* テキストの下に配置 */
}
.Company-text {
    width: 50%; /* 左半分のエリアに配置 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 2; /* レイヤーの上に文字を表示 */
}

.Company-text .h2 {
    font-size: 50px;
    text-align: center;
    color: #fff;
    margin-top: 50px;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.Company-text .h2 span {
    color: #2563CE;
}

.Company-text .h2p {
    font-size: 18px;
    position: relative;
    margin-top: 10px;
}

.Company-text .h2p::after {
    content: "";
    display: block;
    width: 40%;
    height: 5px;
    background-color: #ffffff;
    position: absolute;
    bottom: -5px;
    margin: -20px;
    left: 32%;
}

.CO-p {
    text-align: left;
    white-space: pre-line;
    margin: 30px auto;
}
@media screen and (max-width: 767px) {
    .Company {
        height: 350px; /* 高さを少し調整 */
        padding-left: 0; /* 左側の余白を削除 */
        padding-right: 0; /* 右側の余白を削除 */
        text-align: center; /* テキストを中央に配置 */
    }

    .Company-text {
        width: 100%; /* 横幅いっぱい */
        padding: 20px 0; /* 上下余白を追加 */
        text-align: center;
    }

    .Company-text .h2 {
        font-size: 28px; /* フォントサイズを少し小さく */
    }

    .Company-text .h2p {
        font-size: 16px; /* フォントサイズを少し小さく */
        margin-top: 10px;
    }

    .Company-text .h2p::after {
        bottom: -5px; /* 下のラインの位置を調整 */
    }

    .CO-p {
        text-align: center;
        margin: 20px 20px 30px; /* 左右20pxの余白 */
    }

    .btn {
        display: block;
        width: fit-content;
        margin: 20px auto; /* ボタンを中央寄せ */
    }
}
/* --------------------------------
footer
-------------------------------- */
.footer {
    position: relative;
    width: 100%;
    background-image: url("../img/footer.webp"); /* 背景画像 */
    background-size: cover;
    background-position: center;
    color: #FFF;
    padding: 50px 10%;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo img {
    width: 300px;
    height: auto;
}

.footer-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.footer-nav li {
    position: relative;
}

.footer-nav a {
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    position: relative;
    display: inline-block;
}

.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: #2563CE;
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.contact-link {
    display: inline-block; /* 背景色を適用するために追加 */
    background-color: #2563CE;
    color: #fff !important; /* 他のスタイルを上書き */
    padding: 5px 30px !important;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    background-color: #fff;
    color: #2563CE !important;
}

.contact-link::after {
    width: 0 !important;
}

.footer-line {
    width: 100%;
    height: 1px;
    background-color: #FFF;
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: flex-end;
}

.copyright {
    font-size: 14px;
}

.copyright a {
    color: #FFF;
    text-decoration: none;
    margin-left: 10px;
}

.copyright a:hover {
    text-decoration: underline;
}

/* ------------------------------ スマホ対応--------------*/
@media screen and (max-width: 767px) {
    .footer-content {
        padding: 20px 0;
        text-align: center;
    }

    .footer-logo img {
        width: 120px; /* ロゴを小さく */
    }

    /* フッター内のナビゲーション */
    .footer-nav {
        justify-content: center;
        flex-wrap: wrap; /* 横並びで収まらない場合に折り返し */
        flex-basis: 100%; /* 全幅使用 */
        margin-top: 20px; /* ナビゲーションとロゴの間に余白を追加 */
    }

    .footer-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; /* 横並びで収まらない場合に改行 */
        gap: 10px; /* リスト項目間の間隔 */
        padding: 0;
    }

    .footer-nav li {
        margin: 5px; /* 各リスト項目の余白 */
    }

    .footer-nav a {
        display: inline-block;
        padding: 8px 15px; /* リンクのパディング調整 */
        color: #FFF;
        text-decoration: none;
        font-size: 14px;
        background-color: rgba(0, 0, 0, 0.4); /* 背景色 */
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }

    .footer-nav a:hover {
        background-color: #2563CE; /* ホバー時の背景色 */
    }

    /* お問い合わせリンクのスタイル */
    .contact-link {
        display: inline-block; /* 背景色を適用するために追加 */
        background-color: #2563CE !important;
        color: #fff !important; /* 他のスタイルを上書き */
        padding: 20px 100px !important;
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .contact-link:hover {
        background-color: #fff !important;
        color: #2563CE !important;
    }

    /* フッターのライン */
    .footer-line {
        width: 100%;
        height: 1px;
        background-color: #FFF;
        margin: 20px 0;
    }

    /* フッター下部のコピーライト */
    .footer-bottom {
        display: flex;
        justify-content: center; /* コピーライトのセンタリング */
        flex-direction: column; /* 複数行にする */
        align-items: center;
        margin-top: 20px;
    }

    .copyright {
        font-size: 12px; /* 小さく調整 */
        text-align: center;
    }

    .copyright a {
        color: #FFF;
        text-decoration: none;
        margin-left: 10px;
    }

    .copyright a:hover {
        text-decoration: underline;
    }

    /* プライバシーポリシーのリンクを改行して下に */
    .copyright {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .copyright a {
        margin-top: 5px; /* プライバシーポリシーとコピーライトの間に余白 */
    }
}
