@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* 電話・LINEバナー（全ページ共通） */
.tel {
  max-width: 1024px;
  width: 100%;
  padding: 0 32px 80px;
  margin: 0 auto;
}
.tel .sp {
  display: none;
}
@media (max-width: 767px) {
  .tel {
    padding: 0 20px 40px;
  }
  .tel .sp {
    display: block;
    margin-top: 10px;
  }
}

/* サービス一覧カード */
.service_cards .box {
  text-align: center;
}
.service_cards .box a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.service_cards .box a:hover {
  opacity: 0.8;
}
.service_cards .service_title {
  font-weight: bold;
  font-size: 16px;
  margin: 12px 0 6px;
  color: var(--green);
}
.service_cards .service_desc {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 767px) {
  .service_cards.grid_box.four {
    grid-template-columns: 1fr 1fr;
  }
}

/* フロント・カテゴリーページのsection_box2 h2にCocoonデフォルトの枠を復元 */
body.front-top-page #main_area .wrapper .section_box2 h2,
body.category #main_area .wrapper .section_box2 h2 {
  background-color: var(--cocoon-xx-thin-color);
  border-radius: var(--cocoon-badge-border-radius);
  padding: 25px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ============================================================
 * 対応エリア（カテゴリ別駅リンク一覧）のスタイル
 * [nagare] ショートコードで生成される .area-list 内に適用
 * ============================================================ */
.area-list p {
  margin: 1em 0 1.5em;
  line-height: 1.8;
}
.area-list p strong {
  display: block;
  margin: 1.2em 0 0.8em;
  font-size: 1.05em;
  color: #333;
  border-left: 4px solid #f9840e;
  padding-left: 12px;
  line-height: 1.4;
}
.area-list p strong:first-child {
  margin-top: 0;
}
/* 駅リンクの<br>を非表示にしてpill風グリッドに */
.area-list p br {
  display: none;
}
.area-list p a[href*="-station/"] {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin: 0 6px 8px 0;
  background: #fff;
  border: 1.5px solid #f9840e;
  color: #f9840e;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92em;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.area-list p a[href*="-station/"]::before {
  content: "\f239"; /* Font Awesome train icon */
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  margin-right: 6px;
  font-size: 0.9em;
  opacity: 0.85;
}
.area-list p a[href*="-station/"]:hover {
  background: #f9840e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(249, 132, 14, 0.25);
}
@media (max-width: 767px) {
  .area-list p a[href*="-station/"] {
    padding: 7px 12px;
    font-size: 0.85em;
    margin: 0 5px 6px 0;
  }
  .area-list p strong {
    font-size: 1em;
  }
}


