@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/* ===== H2 見出しデザイン ===== */
.entry-content h2 {
  position: relative;
  padding: 0.5em;
  background: #1e4a7b; /* 青に近いネイビー */
  color: #ffffff;      /* テキストを白に */
}

.entry-content h2::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  /* ボーダー線をリセットしつつ三角形を作る */
  border: none;
  border-bottom: solid 15px transparent; /* 下方向は透明 */
  border-right: solid 20px #2c3e50;      /* カーマインの三角形 */
}

/* ===== H3 見出しデザイン ===== */

/* テーマ側の見出し装飾をリセットする（強制的に削除） */
.entry-content h3,
.entry-content h3::before {
  border-left: none !important;
  margin-left: 0; /* 必要なら余白も調整 */
}

/* 独自デザインを適用 */
.entry-content h3 {
  position: relative;
  padding: 0.5em 0.5em 0.5em 1.5em;
  line-height: 1.4;
  color: #1e4a7b;  /* ネイビー文字 */
  border-top: dotted 1px #333333;   /* カーマインでドット線(例) */
  border-bottom: dotted 1px #333333;
  background: #f9f9f9;
}

.entry-content h3::before {
  font-family: "Font Awesome 5 Free";
  content: "\f138";
  font-weight: 900;
  position: absolute;
  font-size: 1em;
  left: 0.25em;
  top: 0.5em;
  color: #c41a41;      /* カーマインアイコン */
}

/* ===== H4 見出しデザイン ===== */
.entry-content h4 {
  position: relative;
  padding-left: 1.2em;/*アイコン分のスペース*/
  line-height: 1.4;
}

.entry-content h4:before {
  font-family: "Font Awesome 5 Free";
  content: "\f054";/*アイコンのユニコード*/
  font-weight: 900;
  position: absolute;/*絶対位置*/
  font-size: 1em;/*サイズ*/
  left: 0;/*アイコンの位置*/
  top: 0;/*アイコンの位置*/
  color: #1e4a7b; /*アイコン色*/
  font-weight: 900;
}

/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px){
.inquiry th,.inquiry td {
 display:block!important;
 width:100%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}
.inquiry tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}
/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}}
/*見出し欄*/
.inquiry th{
 text-align:left;
 font-size:14px;
 color:#444;
 padding-right:5px;
 width:30%;
 background:#f7f7f7;
 border:solid 1px #d7d7d7;
}
/*通常欄*/
.inquiry td{
 font-size:13px;
 border:solid 1px #d7d7d7;	
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr,.entry-content table{
 border:solid 1px #d7d7d7;	
}
/*必須の調整*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*任意の調整*/
.any{
 font-size:7px;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
 display:block;
}
/*送信ボタンのデザイン変更*/
#formbtn{
 display: block;
 padding:15px;
 width:350px;
 background:#ffaa56;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 margin:25px auto 0;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#fff;
 color:#ffaa56;
 border:2px solid #ffaa56;
}
