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

html { scroll-behavior: smooth;}

a {
    outline: none;
}

.serif {
	font-family: serif;
}

/* Recaptchaマークの非表示 */
.grecaptcha-badge {
    display: none;
}

.wp-block-columns {
	width: 100%;
	max-width: 1200px;
	margin:0px auto !important;
}


.title-box {
	margin: 0px auto !important;
}

.top-img {
	width: 100%;
	max-width: 1200px;
	margin: 0px auto !important;
}

.top_link a {
	text-decoration: none;
}
/*
.list1 li:last-child {
	padding: 0px 10px !important;
	border-right: 0px #FFF solid;
}

.list2 li:last-child {
	padding: 7px 20px !important;
	border-right: 0px #FFF solid;
}
*/
.list1 li:last-child , .list2 li:last-child , .list3 li:last-child , .list4 li:last-child {
	border-right: 0px #000 solid;
}
	
.list1 li a , .list2 li a , .list3 li a , .list4 li a {
	text-decoration-color: #aa0000;
	text-underline-offset: 5px;
}
.top-post {
	width: 100%;
	max-width: 1200px !important;
	padding: 10px 0px;
	margin: 0px auto !important;
}
.top-post li {
	margin:2% auto;
	border:1px #333 solid;
	padding: 20px;
	overflow: hidden;
	background-color: #FFF;
}
.wp-block-latest-posts__list {
	/*background-image: linear-gradient(135deg, #cc0000 300px, transparent 0);*/
}

.yukari a {
	width: 100%;
	display: block;
    outline: none;
	transition: 0.3s;
}
.yukari a:hover {
    opacity: 0.8;
}
.yukari img , .yukari a img {
	margin: 3px auto;
	padding: 7px;
	display: block;
}
.yukari .wp-block-image {
    border: 1px #000 solid;
	background-image: url(/img/dot4.png),url(/img/dot4.png),url(/img/dot4.png),url(/img/dot4.png);
	background-repeat: no-repeat,no-repeat,no-repeat,no-repeat;
	background-position: top 2px left 2px,top 2px right 2px,bottom 2px left 2px,bottom 2px right 2px;
}

.yukari figcaption {
	text-align: center;
	font-size: 1rem;
}




@media screen and (min-width: 801px){
  .list1 li {
	padding: 0px 10px !important;
	border-right: 1px #FFF solid;
  }
  .list2 {
	width: 100%;
	max-width: 1200px;
	padding: 20px 0px 0px 0px;
	margin: 0px auto 0px auto !important;
  }
  .list2 li {
	padding: 7px 20px !important;
	margin: 0px;
	border-right: 1px #FFF solid;
	line-height: 0px;
  }
  .list3 {
	width: 100%;
	max-width: 1200px;
	padding: 20px 0px 0px 0px;
	margin: 0px auto 0px auto !important;
  }
  .list3 li {
	padding: 7px 20px !important;
	margin: 0px;
	border-right: 1px #FFF solid;
  }
  .list4 {
	width: 100%;
	max-width: 1200px;
	padding: 0px 0px 0px 0px;
	margin: 0px auto 0px auto !important;
  }
  .list4 li {
	padding: 1px 5px !important;
	margin: 0px;
	border-right: 1px #000 solid;
  }
  .isshou { background-color: #73704D; }
  .isshou th { background-color: #545338;color: #FFF;font-weight: bold;text-align: center; }
  .isshou td { padding: 5px;vertical-align: top; }
  .isshou .tr1 { background-color: #FFF; }
  .isshou .tr2 { background-color: #DDDCCC; }
	
  .syozou { width: 100%;background-color: #73704D; }
  .syozou th { background-color: #545338;color: #FFF;font-weight: bold;text-align: center; }
  .syozou th, .syozou td { padding: 3px;vertical-align: top;font-size: 1.1rem; }
  .syozou .tr1 { background-color: #FFF; }
  .syozou .tr2 { background-color: #DDDCCC; }
  .syozou .tr3 { background-color: #FFF;text-align: center;font-weight: bold; }
  .syozou tr td:nth-child(1) ,
  .syozou tr td:nth-child(2) ,
  .syozou tr td:nth-child(4) ,
  .syozou tr td:nth-child(5) { text-align: center; }
  .syozou tr th:nth-child(1) { width: 9%; }
  .syozou tr th:nth-child(2) { width: 12%; }
  .syozou tr th:nth-child(3) { width: 55%; }
  .syozou tr th:nth-child(4) { width: 6%; }
  .syozou tr th:nth-child(5) { width: 16%; }

}
@media screen and (max-width:800px){
  .list1 li {
	padding: 0px 10px !important;
	border-right: 1px #FFF solid;
	font-size: 80% !important;
  }
  .list2 {
	width: 100%;
	max-width: 1200px;
	padding: 20px 0px 0px 0px;
	margin: 0px auto 0px auto !important;
  }
  .list2 li {
	padding: 0px 0px !important;
	margin: 0px;
	border-bottom: 1px #FFF solid;
	font-size: 90% !important;
  }
  .list3 {
	width: 100%;
	max-width: 1200px;
	padding: 20px 0px 0px 0px;
	margin: 0px auto 0px auto !important;
  }
  .list3 li {
	padding: 0px 0px !important;
	margin: 0px;
	border-bottom: 1px #FFF solid;
	font-size: 90% !important;
  }
  .list4 {
	width: 100%;
	max-width: 1200px;
	padding: 20px 0px 0px 0px;
	margin: 0px auto 0px auto !important;
  }
  .list4 li {
	padding: 1px 5px !important;
	margin: 0px;
	border-right: 1px #000 solid;
	font-size: 90% !important;
  }
  .isshou { background-color: #73704D }
  .isshou th { background-color: #545338;color: #FFF;font-weight: bold;text-align: center;display: block; }
  .isshou td { padding: 4px;vertical-align: top;display: block;text-align: left; }
  .isshou td:first-child { font-weight: bold; }
  .isshou .tr1 { background-color: #FFF; }
  .isshou .tr2 { background-color: #DDDCCC; }
	
  .syozou { width: 100%;background-color: #73704D; }
  .syozou th { background-color: #545338;color: #FFF;font-weight: bold;text-align: center; }
  .syozou th, .syozou td { padding: 2px;vertical-align: top;font-size: 0.9rem; }
  .syozou .tr1 { background-color: #FFF; }
  .syozou .tr2 { background-color: #DDDCCC; }
  .syozou .tr3 { background-color: #FFF;text-align: center;font-weight: bold; }
  .syozou tr td:nth-child(1) ,
  .syozou tr td:nth-child(2) ,
  .syozou tr td:nth-child(4) ,
  .syozou tr td:nth-child(5) { text-align: center; }
  .syozou tr th:nth-child(1) { width: 9%; }
  .syozou tr th:nth-child(2) { width: 12%; }
  .syozou tr th:nth-child(3) { width: 55%; }
  .syozou tr th:nth-child(4) { width: 6%; }
  .syozou tr th:nth-child(5) { width: 16%; }
}



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

table.CF7_table tr {
	border-top: 1px solid #e5e5e5;
	text-align: left;
	padding: 4px 4px 4px 10px;
	overflow: hidden;
}

table.CF7_table th {
    font-size: 1rem;
}

table.CF7_table td {
    background-color: #e3e3e3;
}

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

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	padding: 8px;
	border: 1px solid #888;
	width: 90%;
	margin-left: 10px;
}

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

/*「必須」文字*/
.CF7_req{
	font-size:.7em;
	padding: 5px;
	background: #f79034;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
	margin-left: 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: #666;
		color: #FFF;
	}
}

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

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

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

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