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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* PC用（769px以上）のみ適用 */
@media screen and (min-width: 769px) {
	
	.main {
		margin-top: 0px !important;
	}
	

/*ウィジェットメニュー対応症状*/
	.widget-sidebar-title.widget-title {
		margin-top: 0px !important;
		margin-bottom: 0px !important;
	}
 	.widget_nav_menu ul li a {
  padding-left: 20px !important;
}
/* リンク全体をflexにしてテキストと▶︎を縦中央揃え */
.widget_nav_menu ul li a {
  display: flex;
  justify-content: space-between; /* 左右に配置 */
  align-items: center;            /* 縦方向中央揃え */
}

.widget_nav_menu ul li a::after {
  content: "▶︎";
  font-size: 0.7em;
  color: inherit;
  margin-left: 8px; /* 文字との間隔調整（必要に応じて） */
}
	.widget_nav_menu ul li {
  border-bottom: 1px dashed #ddd; /* 点線にして柔らかい印象 */
  padding: 10px 0;
}
	.widget_nav_menu ul li:last-child {
  border-bottom: none; /* 最後は線なし */
	}
	.widget.widget-sidebar.widget-sidebar-standard.widget_nav_menu {
		margin-bottom: 0px !important;
	}
	
	.sidebar.nwa.cf {
		padding: 0px !important;	
	}
	
	.widget_nav_menu ul li {
  padding: 0 10px !important;  /* 上下は0、左右は10px */
		font-size: 14px !important;
}

/*ヘッダー文字太字*/
	#navi .navi-in ul li > a {
  font-weight: 700 !important;
	font-size: 14px;
		line-height: 10em;
}

	
	
	
	
	
	/* PCだけメニュー高さを1.5倍に（調整用変数） */
@media (min-width: 960px) {
  :root { --gnav-h: 70px; } /* お好みで 80～100px などに */

  /* 行の高さ・クリック領域を拡張 */
  #navi .navi-in > ul > li { 
    height: var(--gnav-h) !important;
  }
  #navi .navi-in > ul > li > a {
    display: block;
    line-height: var(--gnav-h) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* ドロップダウンの位置がズレるテーマ用の保険（不要なら削除可） */
  #navi .navi-in > ul > li .sub-menu {
    top: var(--gnav-h) !important;
  }
}
	


	
	
	/* ヘッダー全体を横並び */
  #header-container {
    align-items: center;
    justify-content: space-between;
  }



  .header-contact img {
    transition: opacity 0.3s ease;
  }

  .header-contact img:hover {
    opacity: 0.8;
  }
}

/*TOP画像縮小・レスポンシブ設定*/
/* 共通スタイル（PC用画像を背景に） */
#appeal {
  background-image: url("http://repair2025.com/wp-content/uploads/2025/09/TOP（修正）.jpg");
  background-size: cover;      /* 幅に合わせて拡大縮小 */
  background-position: center; /* 中央寄せ */
  background-repeat: no-repeat;
  width: 100%;
  height: auto; /* 必要に応じて高さ指定 */
}

/* 769px以下（スマホ用）で画像切り替え */
@media screen and (max-width: 769px) {
  #appeal {
    background-image: url("http://repair2025.com/wp-content/uploads/2025/09/スマホ用@3x.jpg");
	  height: 400px; /* ← スマホだけ高さを固定 */
	  width: 100%;
  }
}



/*ヘッダーカスタマイズ*/
/*お問い合わせボタン（ヘッダー）*/


#header-in .header-contact img {
  max-width: none !important;         /* ← 160px上限を解除 */
  width: 230px !important;            /* お好みで 220〜280px などに */
  height: auto !important;
  display: block;
}
	
	/* 位置を上へ：PC */
@media (min-width: 960px){
  #header-in .header-contact{
    margin-top: 15px !important;   /* ← ここを 0〜12px で微調整 */
  }
}
	
	#header-in .header-contact {
  gap: 6px !important;          /* ← ここを 2～6px で微調整 */
}

/* 余白の混入対策（テーマ側の余白をゼロに） */
#header-in .header-contact a {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;               /* 画像周りの行間を消す */
}
#header-in .header-contact img {
  display: block;
  margin: 0 !important;
}
	


/*ヘッダーロゴ(テキスト)の反対側に問い合わせボタン表示*/

div#header-in {
/* ヘッダーロゴ(テキスト)と問い合わせボタンを横並び */
flex-direction: row;
}

.header-in .logo-header {
/* ヘッダーロゴ(テキスト)と問い合わせボタンの位置を両端にする */
margin-right: auto;

}


.header-contact a {
  color: #fff !important;
}

.btn {
color: #fff ;
border-color: #F39800 ;
border-radius: 6px;
height: 45px;
font-size: 14px;
padding-top: 10px;
background: #F39800 ;
}

}
/*お問い合わせボタン終わり*/

#n2-ss-2item4 {
font-family: YuGothic,"Yu Gothic", Meiryo,"Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
}

#n2-ss-2item2 {
	font-family: YuGothic,"Yu Gothic", Meiryo,"Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
}

/*字間*/
p, body {
	letter-spacing: 1px;
}

h1, h2, h3 {
	letter-spacing: 0px;
}



/* 見出しデザインのリセット */
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    background-color: transparent; /* 背景色を透明に */
    border: none; /* 枠線なし */
    border-radius: 0; /* 角の丸みなし */
}

h2  {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-style: normal;
}


/*ヘッダーフッターまわり*/
.breadcrumb,
.article-header,
.article-footer{
	display: none;
}





/*セクションまわりの細々とした余白の調整*/
.main {
   margin-top: 10px;
	padding-bottom:0!important;
	margin-bottom:0!important;
	margin-left:0!important;
	margin-right:0!important;
}











/*ブログ記事一覧のカスタマイズ*/

.new-entry-cards {
	width: 1000px;
}

.new-entry-card-thumb {
    transition-duration: 0.3s; /*アニメーションの時間*/
    box-shadow: 0px 10px 10px -5px rgba(85,85,85,0.75); /*通常時の画像の影*/
}
.new-entry-card-thumb:hover {
    transform: translateY(-6px); /*マウスホバーで上に移動*/
    box-shadow: 0px 5px 5px -5px rgba(85,85,85,0.75); /*マウスホバー時の画像の影*/
}
.new-entry-card-thumb img { /*画像下の隙間を消す*/
    vertical-align: bottom;
}

.new-entry-card-title {
    margin-top: 5px; /*上に余白を付ける*/
    line-height: 1; /*行間を広く*/
	font-size: 14px !important;
	padding-bottom: 0px!important;
}

.is-list-horizontal.large-thumb .card-title, .is-list-horizontal.large-thumb-on .card-title {
    height: 1.5em;
}
/*タイトルと日付の間の調整*/

.new-entry-card-title:hover {
    color: #85A4B5; /*マウスホバー時の色*/
}
@media screen and (max-width: 768px){
    .new-entry-card-title {
        font-size: 12px; /*スマホでの文字の大きさ*/
        line-height: 1.2; /*スマホでの行間*/
    }
}

.e-card-info {
  color: #666; /*色を薄く*/
}
@media screen and (max-width: 768px){
    .e-card-info {
  font-size: 11px; /*スマホでの文字サイズ*/
    }
}


/*記事一覧の投稿日表示カスタム*/
/*ウィジェット記事の投稿日・更新日を表示*/
.widget-entry-card-date {
	display:block;
	text-align: right;/*右寄せ*/
}

/*更新日を非表示にする*/
.widget-entry-card-update-date{
	display: none;
}

/*日付にアイコン追加*/
.widget-entry-card-post-date::before,
.widget-entry-card-update-date::before{
	font-family: "Font Awesome 5 Free";
	padding-right: 3px; /*右余白*/
	font-size:10px;
}

/*投稿日アイコン*/
.widget-entry-card-post-date::before{
	font-weight:normal; 
	content: "\f017"; /*fa fa-clock-oアイコン*/
}

/*更新日アイコン*/
.widget-entry-card-update-date::before{
	font-weight:bold; 
	content: "\f1da"; /*fa-historyアイコン*/
}

/*記事一覧カスタマイズ終わり*/





.site-name-text {
	color: #0265B3 !important;
	font-weight: 600;
	position: relative;
	font-size: 25px;
}

.logo.logo-header.logo-text {
	padding-top: 25px;
}




.btn-shine {
	height: 60px !important;
}


.btn {
	  background: linear-gradient(to bottom right, #6345bf, #667eea);
	color: #fff;
	border-color:#E5F0F7;
	border-radius: 6px;
	height: 53px;
	letter-spacing:0.1rem;
	font-size: 18px;
	margin-top: 15px !important;
	padding-top: 10px;

}
 
  

}
/*お問い合わせボタン終わり*/

/*contact form7 カスタマイズ*/
/*ContactForm7カスタマイズ*/
table.CF7_table{
	width:80%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #f79034;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	}
	

}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#f79034;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}
  opacity: .6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {

  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }

  /* 送信ボタン */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }

}
/*contact form 7*/


/* キャンペーン画像切り替え */
img.wp-image-485 {
  width: 100%;
  height: auto;
}

/* 769px以下：表示画像を差し替え */
@media (max-width: 769px) {
  img.wp-image-485 {
    content: url("http://repair2025.com/wp-content/uploads/2025/09/スマホ用キャンペーン.png");
  }
}


/*ボタンホバー色*/
.wp-block-button__link:hover {
	color: #b3b3b3;
	border-color: #b3b3b3;
}


/*TOPスライド*/
. {
	margin-left:0px !important;
	margin-right:0px !important;
}

	.header-contact {
margin-top:15px !important;
	}

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


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


	


/* PCは元画像を表示 */
.topimage img {
  width: 100%;
  height: auto;
}

/* スマホ（769px 以下）でスマホ用画像に切り替え */
@media (max-width: 769px) {
  .topimage img {
    content: url("http://repair2025.com/wp-content/uploads/2025/09/スマホ用@2x.jpg");
  }
	
	.reason {
		font-size: 23px !important;
	}
}


/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.navi-footer {
		display: none;
	}
	
	body {
		background-color: #fff !important;
	}
	
	.footer-bottom.fdt-left-and-right.fnm-text-width.cf {
		margin-top: 0px;
	}
	
	.source-org.copyright {
		margin-top: 0px;
	}
	
	p, body {
	letter-spacing: 1px;
}

	.header-contact {
	
	}

	.header-container {
	margin-right: 0px !important;
			margin-left: 0px !important;
	}
	
	.logo.logo-header.logo-image {
		margin-left: 10px !important;
		margin-right: 10px !important;
	}
	
	.menu-item {
		width: 200px !important;
		height: 45px !important;
	}
	
	.menu-drawer {
		margin-top: 20px !important;
	}
	

	
	.header-insta {
		margin-top: 7px;
		height: 40px;
    	width: 40px;
	}
	
	.header-line {
		margin-top: 7px;
		height: 40px;
	    width: 40px;
		margin-right: 10px;
}

	  #header .site-name-text {
    font-size: 23px !important;
    text-align: center !important;
		  width: 300px !important;
  }

	.tagline {
		display: none;
	}
	.logo.logo-header.logo-text {
		margin-right: 0px !important;
		padding-top: 30px !important; 
		padding-bottom: 5px !important;
}
	
	.logo.logo-header.logo-image {
		text-align: center !important;
		margin: auto !important;
	}
	

	
.header-container {
	height: 130px !important;
	margin-bottom: 0px !important;
}
	
.header-container-in {
	height: 100px !important;	
}
}

.logo.logo-header.logo-image {
	padding-bottom: 0px !important;
	padding-top: 10px !important;
}

/* ---- PC：グローバルメニューの上に 10px 余白 ---- */
  #navi { 
    margin-top: 0px !important;
	  
}


/* PC：ホバー時は文字色だけ少し薄く */
@media (min-width: 960px){
  #navi .navi-in > ul > li > a,
  #navi .sub-menu li > a {
    transition: color .2s ease;
  }
  #navi .navi-in > ul > li > a:hover,
  #navi .navi-in > ul > li > a:focus-visible,
  #navi .sub-menu li > a:hover,
  #navi .sub-menu li > a:focus-visible {
    color: color-mix(in srgb, currentColor 78%, white 22%) !important;
  }
}


/* デスクトップ：グローバルメニューの各項目の間に仕切り線（両端は無し） */
@media (min-width: 960px){
  #navi .navi-in > ul > li{
    position: relative; /* 仕切り線の基準にする */
  }
  /* 最後の項目以外の右端に線を描く＝外側左右には出ない */
  #navi .navi-in > ul > li:not(:last-child)::after{
    content: "";
    position: absolute;
    right: 0;
    top: 22%;              /* 線の上下余白（％で高さに追従） */
    bottom: 22%;
    width: 1px;            /* 線の太さ */
    background: #ddd;      /* 線の色（お好みで #e5e5e5 や rgba(0,0,0,.15) など） */
    pointer-events: none;
  }
}



/*アピールエリア画像の縮小*/
@media screen and (min-width: 769px) { .appeal.adt-front-page-only {
        max-width: 100% !important; /* 例：アピールエリアの最大幅を90%にする */
        margin: 0 auto !important; /* 中央寄せ */
    }
}



@media screen and (max-width: 769px) {	
	#header-in .header-contact img {
  max-width: 150px !important;         /* ← 160px上限を解除 */
  width: 50vw !important;            /* お好みで 220〜280px などに */
  height: auto !important;
  display: block;
	text-align: right !important;

}
	
	.logo.logo-header.logo-image {
		width: 60vw !important;
		padding: 0px !important;
		margin: 0px !important;
		margin-top: 10px !important;
	}
	
	.header-in.wrap.cf {
		width: 60vw !important;
	}
	.header-contact {
		margin-top: 5px !important
	}
	
	.site-name.site-name-text-link {
		padding-left: 0px !important;
	}
	
}