@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ================================================= */
/* ===== 1. お問い合わせフォーム全体の装飾 ===== */
/* ================================================= */
.c-form {
  max-width: 760px;
  margin: 0 auto;
  border-top: 2px solid #1B3E2B;
}

.c-form__row {
  display: flex;
  flex-wrap: wrap;
  padding: 18px 15px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
  background-color: #fff;
}

.c-form__label {
  width: 240px;
  font-weight: bold;
  color: #2B241E;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-form__field {
  width: calc(100% - 240px);
}

.c-form__badge {
  background-color: #e74c3c;
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: normal;
  display: inline-block;
}

.c-form__field input[type="text"],
.c-form__field input[type="email"],
.c-form__field input[type="tel"],
.c-form__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fafafa;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.c-form__field input:focus,
.c-form__field textarea:focus {
  border-color: #1B3E2B;
  box-shadow: 0 0 6px rgba(27, 62, 43, 0.2);
  background-color: #fff;
  outline: none;
}

.c-form__field .wpcf7-list-item {
  margin: 0 15px 0 0;
  display: inline-block;
}

.c-form__submit {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.c-form__submit input[type="submit"] {
  background-color: #1B3E2B;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 16px 60px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.c-form__submit input[type="submit"]:hover {
  background-color: #C86A1D;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .c-form__label {
    width: 100%;
    margin-bottom: 8px;
  }
  .c-form__field {
    width: 100%;
  }
  .c-form__row {
    padding: 15px 10px;
  }
}


/* ================================================= */
/* SWELL 下部固定メニュー：アイコンとラベルの間隔修正 */
/* ================================================= */

@media screen and (max-width: 959px) {

  /* メニュー全体 */
  #fix_bottom_menu {
    width: 100% !important;
  }

  #fix_bottom_menu ul,
  #fix_bottom_menu .menu {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 各メニューを4等分 */
  #fix_bottom_menu .menu-item {
    flex: 1 1 25% !important;
    width: 25% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* リンク内を中央揃え */
  #fix_bottom_menu .menu-item > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  /*
   * アイコン要素の余白を完全に削除
   * ここが今回の重要部分
   */
  #fix_bottom_menu .menu-item > a > i,
  #fix_bottom_menu .menu-item > a i {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    transform: none !important;
    overflow: visible !important;
    text-align: center !important;
  }

  /* SWELL標準アイコン */
  #fix_bottom_menu .menu-item > a > i::before,
  #fix_bottom_menu .menu-item > a i::before {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

  /* ラベル */
  #fix_bottom_menu .menu-item > a > span,
  #fix_bottom_menu .menu-item > a .p-menuItem__text {
    display: block !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  /* アイコン用クラス */
  #fix_bottom_menu .icon-instagram,
  #fix_bottom_menu .icon-mail,
  #fix_bottom_menu .icon-line,
  #fix_bottom_menu .icon-phone {
    text-align: center !important;
  }
}