/*
Theme Name: Twenty Twenty Five Child
Template: twentytwentyfive
*/

/*-----------------------------------------------------------------------------------
　全体
-----------------------------------------------------------------------------------*/
:root{
	--color-darkorange:#b16115;
	--color-blue:#123dd9;
	--color-vividorange:#eb8322;
}

@media (max-width: 781px) {
  body {
    font-size: 17px;
  }
}
/* iOS26対策 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p{
	text-wrap:wrap!important;
}


/* 画像をクリックしたとき背景が黒くなるのを透過 */
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button){
	background-color:transparent;
}
/* 画像をクリックしたときに出る黒枠を解除 */
:where(.wp-site-blocks *:focus) {
    outline-width: 0px!important;
    outline-style: none!important;
}

html {
scroll-behavior: smooth;
}

.weight500{
	font-weight:500;
}
/* カバーブロック背景画像の透明度 */
.opa_bg .wp-block-cover__image-background{
	opacity:0.4;
}

/* リスト */
ul li::marker {
  color: var(--color-vividorange);
}
ul li{
	line-height:1.3em;
	margin-top:1em;
}
/* カバーブロック高さ制限 */
.wp-block-cover.cover-max-limit {
  max-height: 250px;
  min-height: 250px;          /* デフォルトの最小高さを解除 */
}

/*--------------------------------------------------
 * 見出し
 * -----------------------------------------------*/
h2{
	font-weight:400;
}
h2.serif, h3.serif, h4.serif{
  font-family: var(
    --wp--preset--font-family--noto-serif-jp,
    "Noto Serif JP","YuMincho","游明朝",serif
  )!important;	
  font-weight: 600;	
}
h2.sans, h3.sans, h4.sans{
  font-family: var( --wp--preset--font-family--noto-sans-jp );	
}

/* 左アクセントライン型（Proposal 2） */
.h2-accent-left {
  position: relative;
  margin: 2.2rem 0 1.2rem;
  padding: 0.2rem 0 0.2rem 1.1rem; /* 左ライン分の余白 */
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: #222;
  font-family: var(
    --wp--preset--font-family--noto-serif-jp,
    "Noto Serif JP","YuMincho","游明朝",serif
  );	
}

/* 左の縦ライン */
.h2-accent-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;                 /* 文字の上に揃える微調整 */
  width: 4px;                  /* ライン太さ */
  height: calc(100% - 0.3em);  /* 見出し高に追従 */
  background: var(--color-darkorange);
  border-radius: 2px;
}

/* 画面幅が広いとき少しだけ余白を増やす（任意） */
@media (min-width: 768px) {
  .h2-accent-left {
    padding-left: 1.25rem;
  }
}


h3:not(.none){
	font-weight:normal;
	color:var(--color-darkorange)!important;
	border-bottom:dashed 1px;
	font-size:30px;
}

/* h3 の左に小さな三角（▶）を付ける */
h3:not(.none){
  margin: 1.8rem 0 0.6rem;
  padding-bottom: 0.4rem;

  font-family: var(--wp--preset--font-family--noto-serif-jp);
  font-weight: 500;
  line-height: 1.4;

  color: var(--wp--preset--color--main, #c7772c);

  border-bottom: 1px dotted var(--wp--preset--color--main, #c7772c);
}

/*--------------------------------------------------
 * ヘッダ
 * -----------------------------------------------*/
header{
	border-top:solid 7px var(--color-vividorange);
}
/*
header  .wp-block-navigation{
	position: fixed;
    right: 10px;
    z-index: 9;
    background: #fff;	
	border-radius:50px;
}*/
header .wp-block-navigation__container {
	row-gap:0;
}
/*--------------------------------------------------
 * フッタ
 * -----------------------------------------------*/
footer{
	margin-top:0;
}
footer .wp-block-navigation__container {
	row-gap:0;
}
/*--------------------------------------------------
 * ホーム
 * -----------------------------------------------*/
/* ファーストビュー */
.firstview img{
	margin-top:-400px;
}
.firstview h2{
	z-index:8;
	position:relative;
}
@media screen and (max-width:1150px) { 
.firstview img{
	margin-top:0;
}	
}
@media screen and (max-width:781px) { 
.firstview h2{
	text-align:left;
}
/* スペーサーの高さを減らす */	
.firstview .wp-block-spacer{
	height:20px!important;
}
}
/* 今やるべきこと */
.imayaru{
	border:solid 2px var(--color-darkorange);
	padding:30px;
	border-radius:30px;
}
/* お知らせ */
.news .wp-block-column:first-child{
	border-right:solid var(--color-vividorange) 1px;
}
@media screen and (max-width:781px) { 
.news .wp-block-column:first-child{
	border-right:none;
}
}
.news .wp-block-query {
	padding-left:15px;
	padding-right:15px;
	
}

.news_con {
gap:0!important;
}
@media screen and (max-width:781px) { 
.news_con {
    display: block!important;
}
}

/*--------------------------------------------------
 * プロフィール
 * -----------------------------------------------*/
@media screen and (max-width:781px) { 
.wp-block-group .wp-block-columns{
	gap:0;	
}
}


/*--------------------------------------------------
 * リンクホバーアニメーション
 * -----------------------------------------------*/

h3.wp-block-post-title a:hover{
	text-decoration:none;
}

/* ナビゲーションリンク & 投稿タイトル共通 */
.wp-block-navigation a:where(:not(.wp-element-button)),
h3.wp-block-post-title {
  position: relative;
  text-decoration: none;
}

/* 下線（初期状態） */
.wp-block-navigation a:where(:not(.wp-element-button))::after,
h3.wp-block-post-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px; /* h3なので少し余裕を */
  width: 100%;
  height: 1px;
  background-color: var(--color-vividorange);

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

/* hover時：中央から左右へ */
.wp-block-navigation a:where(:not(.wp-element-button)):hover::after,
h3.wp-block-post-title:hover::after {
  transform: translateX(-50%) scaleX(1);
}


/*--------------------------------------------------
 * アコーディオン
 * -----------------------------------------------*/
.wp-block-accordion-heading__toggle{
	align-items:stretch;
}
.wp-block-accordion-heading__toggle span{
	text-decoration:none!important;
	font-size:28px;
}
.wp-block-accordion-heading__toggle-icon{
	background-color:var(--color-vividorange);
	color:#fff;
	border-radius:50px;
}

/*--------------------------------------------------
 * ボタンホバー
 * -----------------------------------------------*/
.wp-block-button__link{
	transition:0.3s;
	border:solid 2px var(--wp--preset--color--sub);
}
.wp-block-button__link:hover{
	background-color:#fff!important;
	color:var(--wp--preset--color--sub)!important;
	transition:0.3s;
}

/*-------------------------------------------------
 * バーガーメニュー改造
 * ----------------------------------------------*/
/* デフォルトのSVGアイコンを消す */
.wp-block-navigation__responsive-container-open svg {
  display: none !important;
}

/* 大きめの四角ボタン＋三本線（静止） */
.wp-block-navigation__responsive-container-open {
  /* 好みで変えられる部分 */
  --icon-size: 40px;          /* ボタンの大きさ（56px四方） */
  --icon-bg: #f8f8f8;         /* 背景色 */
  --icon-border-color: transparent;  /* 枠線色 */
  --icon-border-width: 1px;   /* 枠線太さ */

  --bar-color: #000;          /* 三本線の色 */
  --bar-width: 24px;          /* 線の長さ */
  --bar-thickness: 1px;       /* 線の太さ */
  --bar-gap: 4px;             /* 線の間隔（真ん中から上下へ） */

  position: fixed;       /* 画面右上に固定 */
  top: 20px;
  right: 10px;
  z-index: 9;            /* オーバーレイに隠れない程度に */

  width: var(--icon-size);
  height: var(--icon-size);
  box-sizing: border-box;
  background: var(--icon-bg)!important;
  border: var(--icon-border-width) solid var(--icon-border-color);
  cursor: pointer;
	border-radius:var(--icon-size);

  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-block-navigation__responsive-container-open:focus{
	outline:none!important;
}

.wp-block-navigation__responsive-container-close{
	--icon-bg:  #ffffff87;         /* 背景色 */
	background: var(--icon-bg)!important;
	right:-10px;
	top:0px;
}

/* 三本線を中央に描く（静止） */
.wp-block-navigation__responsive-container-open::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--bar-width);
  height: var(--bar-thickness);
  transform: translate(-50%, -50%);

  background:
    /* 真ん中の線 */
    linear-gradient(var(--bar-color) 0 0)
      center / 100% var(--bar-thickness) no-repeat;
  /* 上下に2本追加して合計3本 */
  box-shadow:
    0 calc(-1 * var(--bar-gap)) 0 0 var(--bar-color),
    0 calc( 1 * var(--bar-gap)) 0 0 var(--bar-color);

	 /* ３本線を２本線にする場合は、次のコメントアウトを外して 真ん中の線を消して間隔を調整します */
	background: transparent;
	
}

 

.wp-block-navigation__responsive-container {
  width: 280px;
  right: 0;
  left: auto;
  background-color: rgb(255 255 255 / 0.95)!important;

}

/* 開いたときに右からスライドイン */
.wp-block-navigation__responsive-container.is-menu-open {
  animation: MenuSlideIn 0.6s ease forwards;
}

@keyframes MenuSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/*-------------------------------------------------
 * お問い合わせ
 * ----------------------------------------------*/
.toiawase {
	margin: 0;
}
span.wpcf7-list-item {
display: block;
}

.wpcf7-form-control::placeholder{
	color:#aaa;
}

.toiawase input{
	display:inline;
}
.toiawase span.midashi{
	color:#72aee6;
	font-size:0.9em;
}
.toiawase span.hissu{
	color:#fff;
	background-color:#a60b10;
	padding:0 5px;
	font-size:0.7em;
	margin-right:0.3em;
	
}
.toiawase input[type=text],.toiawase input[type=email],.toiawase input[type=select],.toiawase input[type=number]{
	border:solid 1px #aaa;
}

.toiawase textarea{
	margin-top:10px;
	border:solid 1px #aaa;	
}
.toiawase dt{
	width:260px;
	float:left;
	padding-top:14px;
	font-weight:normal;
	font-size:1rem;
	min-height:5em;
/*	color:#72aee6;
	font-weight:bold;*/
}
.toiawase dd{
	padding-left:260px;
	border-bottom:dotted 1px #eee;
	padding-bottom:10px;
	padding-top:10px;
	line-height:1.5em;
	margin-left:0;
	min-height:5em;
}
.toiawase dd:last-child {
	border-bottom:none;
}

.form_nb input{
	max-width:30%!important;
}
label.drower_menu {
    color: #f2f2f2;
}

.toiawase input[type=text], .toiawase input[type=email], .toiawase input[type=select], .toiawase input[type=number], .toiawase input[type=tel], input[type=date], [type=checkbox], input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], input[type=month], input[type=week], input[type=time], input[type=datetime], input[type=datetime-local], input[type=color], .site textarea, .free_box {
    border-radius: 5px;
    padding: 10px!important;
	border: solid 1px #aaa!important;
	margin-top: 5px;
}
select {
    border-radius: 5px;
	border: solid 1px #aaa!important;
	padding: 10px !important;
}
input {
	border: solid 1px #aaa!important;
	padding: 10px !important;
}
.wpcf7 button, input[type="button"], input[type="submit"] {
    background-color: #a60b10!important;
    padding: 15px!important;
	/*border: solid 5px #fff!important;*/
	margin-top: 5px;
	border-radius: 0px;
	width: 100px;
	height: 60px;
	font-size: 1em;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none){
input[type=radio]:after {
    left: 6px!important;
    top: 6px!important;
}
}
@supports (-webkit-appearance: none) or (-moz-appearance: none){
input[type=checkbox]:after {
    left: 8px!important;
    top: 4px!important;
}
}

input[type="submit"] {
    background-color: #0b3190;
}

.toiawase textarea{
	width: 100%;
	margin-top:10px;
	border:solid 1px #aaa;	
	border-radius: 5px;
}

@media screen and (max-width: 800px) {
.toiawase dt{
	float:none;
	width:100%;
	min-height: 2em;
}
.toiawase dd {
	padding-left:0;
	margin-bottom: 0;
	padding-top: 0px;
	min-height: 2em;
}
.toiawase input[type=text], .toiawase input[type=email], .toiawase input[type=select], .toiawase input[type=number], .toiawase input[type=tel], input[type=date],  input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], input[type=month], input[type=week], input[type=time], input[type=datetime], input[type=datetime-local], input[type=color], .site textarea, .free_box {
	width:100%;
}
}
.toiawase .red{
	color:#dc0a3c;
}

input[type="button"], input[type="submit"]{
	background-color:#333;	
	color:#fff!important;
	font-weight:normal;
	transition:1s;	
}
input[type="button"]:hover, input[type="submit"]:hover{
	background-color:#888;
	transition:1s;
}
input + input[type="button"], input + input[type="submit"]{
	background-color:#e6191e;
	padding:1em 2em;
}

@media screen and (max-width: 820px) {
	.wpcf7 {
		margin: 0 20px!important;
	}
}
