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

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

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

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

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

/* ==================================================================
 * ドメイン共通セクションナビ（2026-08-26）
 * 本体 / lettercodes / kabuyu を横断するための細いバー。
 * HTMLは cocoon-child-master/tmp-user/body-top-insert.php にある。
 * 3サイトで同一の定義にすること。
 * ================================================================== */
.section-switcher{
	background: #f5f6f7;
	border-bottom: 1px solid #e0e2e5;
	font-size: 13px;
}
.section-switcher ul{
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.section-switcher li{ margin: 0; }
.section-switcher a,
.section-switcher span{
	display: block;
	padding: .55em 1.1em;
	color: #555;
	line-height: 1.4;
	text-decoration: none;
}
.section-switcher a:hover,
.section-switcher a:focus{
	background: #e9ebed;
	color: #111;
}
.section-switcher .is-current span{
	color: #111;
	font-weight: 700;
	box-shadow: inset 0 -2px 0 #0a6ebd;
}
@media (max-width: 480px){
	.section-switcher{ font-size: 12px; }
	.section-switcher a,
	.section-switcher span{ padding: .5em .7em; }
}

/* ==================================================================
 * トップページ（フロントページ）用（2026-08-26）
 * 対象は固定ページ「ホーム」。ブロックエディタで編集できる構成のため、
 * レイアウトはコア（columns / buttons）に任せ、ここでは見た目のみ整える。
 * ================================================================== */

/* リード文 */
.front-lead{
	font-size: 1.05em;
	line-height: 1.9;
}

/* 3つの入口カード */
.front-cards{
	gap: 1.2em;
	margin-bottom: 2.4em;
}
.front-cards .wp-block-column{
	display: flex;
	flex-direction: column;
	padding: 1.3em 1.3em 1.5em;
	background: #fff;
	border: 1px solid #dfe3e8;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.front-cards .wp-block-column > h3{
	margin: 0 0 .6em;
	padding: 0 0 .5em;
	border-bottom: 2px solid #0a6ebd;
	font-size: 1.15em;
	line-height: 1.4;
}
.front-cards .wp-block-column > p{
	flex: 1 1 auto;
	margin: 0 0 1.2em;
	font-size: .93em;
	line-height: 1.8;
	color: #444;
}
.front-cards .wp-block-buttons{ margin: 0; }
.front-cards .wp-block-button__link{
	display: block;
	padding: .7em 1em;
	background: #0a6ebd;
	border-radius: 4px;
	font-size: .95em;
	text-align: center;
}
.front-cards .wp-block-button__link:hover,
.front-cards .wp-block-button__link:focus{ background: #08588f; }

/* スマートフォンでは1列に積む（コアの縦積みに余白を足す） */
@media (max-width: 781px){
	.front-cards{ gap: 1em; }
	.front-cards .wp-block-column + .wp-block-column{ margin-top: 1em; }
}
