@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
*/


/* 会員サイト: ピックアップバナー(ヘッダーの帯)を非表示 */
#pickup_banner { display: none !important; }

/* 会員サイト: トップのヒーロー背景を本サイトの配色に */
.p-mainVisual .p-mainVisual__imgLayer,
.p-mainVisual .p-mainVisual__imgLayer img,
.p-mainVisual.c-filterLayer {
  background-color: #5A6346 !important;
}
.p-mainVisual .p-mainVisual__imgLayer img { opacity: 0; }

/* 会員サイト: スマホ専用ヘッダーメニューがPC幅でも出てしまう不具合の修正 */
@media (min-width: 768px) {
  .l-header__spNav { display: none !important; }
}

/* 会員サイト: テキストロゴが折り返されて縦になる不具合の修正 */
.l-header__logo { width: auto !important; max-width: 220px; }
.c-headLogo.-txt { white-space: normal; }
.c-headLogo__link { font-size: 16px; line-height: 1.4; }

/* 会員サイト: ロゴ幅の上書き(詳細度を上げて確実に効かせる) */
body .l-header .l-header__logo.l-header__logo {
  width: auto !important;
  max-width: 220px !important;
  flex: 0 1 auto !important;
}

/* 会員サイト: ロゴの日本語テキストが1文字ずつ折り返される不具合の修正 */
body .l-header .l-header__logo.l-header__logo {
  flex: 0 0 auto !important;
}
.c-headLogo__link {
  white-space: nowrap !important;
  font-size: 18px !important;
}

/* 会員サイト: グローバルナビをボタン風に */
#gnav .c-gnav > li.menu-item > a,
#fix_header .c-gnav > li.menu-item > a {
  padding: 6px 14px;
  border-radius: 999px;
  transition: background-color .2s;
}
#gnav .c-gnav > li.menu-item > a:hover,
#fix_header .c-gnav > li.menu-item > a:hover {
  background-color: rgba(90,99,70,0.1);
}

/* トップページのカード一覧(サイトへのリンク)を見やすいボタン風に */
.tm-hubs {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.tm-hubs li { margin: 0; }
.tm-hubs li a {
  display: block;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-left: 4px solid #5A6346;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: box-shadow .2s, transform .2s;
}
.tm-hubs li a:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
