@charset "UTF-8";

/* ==================================
   カスタムフッター（.footer_cus）
================================== */
/* --- PCレイアウト --- */
.footer_cus_inner {
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
  max-width: 1080px; /* サイト幅に合わせて調整 */
  margin: 0 auto;
}

.footer_cus_col {
  box-sizing: border-box;
}

/* ▼▼ カラムの幅と配置の修正 ▼▼ */
.col_left { 
  width: 22%; /* ロゴエリアを狭めに（折り返さないギリギリのゆとり） */
  text-align: center; /* ロゴ・タイトル・ボタンを中央揃えに！ */
}
.col_center, .studio_col_right { 
  width: 35%; /* メニュー側を広く取って「同幅」の均等感を無くす */
}

/* サイトタイトル（タグライン）のフォントサイズを落とす */
.col_left .tagline {
  font-size: 0.8rem; /* 文字を小さめに調整 */
  margin-top: 8px;
}

/* --- デザイン装飾 --- */
.col_left .btn_wrap {
  margin-top: 20px;
}
.col_left .contact_btn {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: bold;
}

/* タイトルの下線 */
.footer_cus_col .col_title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0; /* 下線の色 */
}

/* リストの装飾 */
.footer_cus_list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}
.footer_cus_list a {
  text-decoration: none;
  color: #666;
  font-size: 13px;
}
.footer_cus_list a:hover {
  text-decoration: underline;
}

.copyright_wrap {
  text-align: center;
  padding: 20px 0;
  font-size: 11px;
  color: #999;
}

/* --- スマホ・レスポンシブ（768px以下） --- */
@media screen and (max-width: 768px) {
  .footer_cus_inner {
    flex-wrap: wrap;
    padding: 40px 15px;
    justify-content: center; /* コンテンツ全体を中央に寄せる */
  }
  
  /* 1. 左カラム（ロゴ・タイトル・ボタン）を全幅＆中央揃えに */
  .col_left {
    width: 100%;
    margin-bottom: 40px;
    text-align: center; /* ★ロゴとボタンをド真ん中に！ */
  }
  
  /* 2. メニューとインフォを横並びに */
  .col_center, .studio_col_right {
    width: 45%; /* 余白を持たせてスッキリさせるため45%に */
  }
  
  /* スマホの時は少し文字を小さく */
  .footer_cus_col .col_title {
    font-size: 1rem;
  }
  .footer_cus_list a {
    font-size: 12px;
  }
}


/* =========================================
   フッターメニューをまとめて中央寄せ
========================================= */
.footer_menus_wrapper {
    display: flex;
    justify-content: center; /* 2つのブロックをまとめて中央へ */
    gap: 80px; /* PCでの2つのブロックの間の隙間（お好みで調整してください） */
    width: 100%;
    margin: 20px auto 30px; /* 上下の余白 */
}

/* PC：既存の幅指定(35%)を無効化して、中身のサイズに合わせる */
.footer_menus_wrapper .col_center,
.footer_menus_wrapper .studio_col_right {
    width: auto !important; 
    min-width: 200px; /* メニューが縮みすぎないように保護 */
}

/* リストの中身は左寄せをしっかりキープ */
.footer_menus_wrapper .col_title,
.footer_menus_wrapper ul {
    text-align: left !important;
}

/* スマホ表示時の調整（既存の横並びを維持する安全策） */
@media screen and (max-width: 768px) {
    .footer_menus_wrapper {
        gap: 10px; /* スマホでは隙間を狭く */
        justify-content: center;
    }
    .footer_menus_wrapper .col_center,
    .footer_menus_wrapper .studio_col_right {
        width: 45% !important; /* スマホ用の45%幅を再適用 */
        min-width: auto;
    }
}

/* コピーライトエリア */
.copyright_wrap {
    display: block;
    background-color: #8ca1b3;
    padding: 15px 0;
    text-align: center;
    border-top: none;
    margin-top: 0;
}

.copyright_wrap {
    color: #fff;
}