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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** トップページ：弁護士事務所バナー＋コラム（スマホ幅の1カラム）
** PCで開いたときも、スマホ幅（最大600px）の列を中央に表示する
************************************/
.home #sidebar{
  display:none !important;
}
.home .content-in{
  display:block;
}
.home #main{
  float:none !important;
  width:100% !important;
  max-width:600px;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box;
}
.kf-page{
  padding:0 0 24px;
}
.kf-h1{
  font-size:1.25rem;
  line-height:1.5;
  font-weight:700;
  margin:8px 0;
  padding:0;
}
.kf-note{
  font-size:0.8125rem;
  line-height:1.6;
  color:#666;
  margin:0 0 12px;
}
.kf-admin-note{
  font-size:0.75rem;
  line-height:1.6;
  color:#8a5a00;
  background:#fff4d6;
  border:1px solid #f0d58a;
  border-radius:6px;
  padding:6px 10px;
  margin:0 0 12px;
}
.kf-firm-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}
.kf-firm{
  margin:0;
  padding:0;
}
.kf-firm a{
  display:block;
  line-height:0;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 1px 4px rgba(0,0,0,0.18);
}
.kf-firm-img{
  display:block;
  width:100%;
  height:auto;
}
.kf-firm-intro{
  font-size:0.8125rem;
  line-height:1.7;
  color:#444;
  margin:8px 2px 0;
}
.kf-heading{
  font-size:1.125rem;
  line-height:1.5;
  font-weight:700;
  margin:32px 0 12px;
  padding:0 0 8px;
  border-bottom:2px solid #333;
}
.kf-column-list{
  list-style:none;
  margin:0;
  padding:0;
}
.kf-column{
  margin:0;
  padding:0;
}
.kf-column a{
  display:block;
  padding:12px 4px;
  border-bottom:1px solid #e5e5e5;
  color:inherit;
  text-decoration:none;
}
.kf-column-date{
  display:block;
  font-size:0.75rem;
  color:#888;
}
.kf-column-title{
  display:block;
  font-size:0.9375rem;
  line-height:1.5;
  font-weight:700;
}

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

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

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