@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.1
*/

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

/*ヘッダー詰める*/
.entry-title,
.content {
padding: 0;
margin: 0;
}

#main{
Padding: 0;
margin: 0;
background-color: transparent;
	letter-spacing: 0.1em;
}

.logo-image * {
display: block;
margin: auto;
width:280px;
	float:left;
	height:80px;
}

.menu-header .menu-item a:hover{
border-bottom:3px solid #ef844a !important;/*線の太さ色*/
transition: all .5s;/*線が出てくる時間*/
	color:#ef844a;
	background-color:#ffffff;
}

.header-container{
margin-top:0.5em;
border-bottom:1px solid #ababab;
}

.entry-content{
	margin:0;
	padding:0;
}

.article-footer.entry-footer {
	display: none;
}

p{
	margin:1em 0;
}

.navi{
	font-weight:bold;
}

/*タイトル、投稿日時、投稿者の非表示*/
.page .entry-title,
.page .date-tags,
.page .author-info{
  display: none;
}

/*hタグリセット*/
.article h1 {
    padding: 0;
    background: none;
}
.article h2 {
    padding: 0;
    background: none;
}
.article h3 {
    border: none;
    padding: 0;
}
.article h4 {
    border: none;
    padding: 0;
}
.article h5 {
    border: none;
    padding: 0;
}
.article h6 {
    border: none;
    padding: 0;
}

.article h1 {
	padding:0;
	margin:0.5em 0;
	font-weight:600;
	font-size:230%;
	text-align:center;
}

.article h2 {
     position: relative;
     padding:0.5em 0.5em 0.5em 1.4em;
	margin:0 0 20px 0;
	border-bottom:1px solid #ababab;
}
 
.article h2::after {
     position: absolute;
     top: 50%;
     left:0;
     transform:translateY(-50%);
     content: '';
     width: 18px;
     height:6px;
     background-color:#ef844a;
}

.article h3 {
	padding:0;
	margin:1.5em 0 0.75em 0;
	font-weight:600;
	font-size:180%;
}

.article h4 {
	padding:0.75em 1em;
	margin:1.5em 0 1em 0;
	font-weight:600;
	font-size:120%;
	color:#ef844a;
	background-color:#f7f7f7;
	border:1px solid #ef844a;
}

.font1{
	font-size:180%;
	color:#183d9b;
	font-weight:bold;
	font-style:italic;
}

.font2{
	font-size:130%;
	font-weight:bold;
}

.font3{
	font-size:110%;
	font-weight:bold;
}

.font4{
	font-size:180%;
	color:#66397b;
	font-weight:bold;
	font-style:italic;
}


.sfont{
	font-size:14px;
	color:#ef844a;
}

/*ボックス*/

contents{
  display: flex;
	justify-content:center;
  flex-wrap: wrap;
	padding:0 2em;
	margin:0 !important;
}

box3{
	width:1160px;
	padding:2em 0 3em 0;
}

.boxin2 {
  display: flex;
	justify-content:center;
  flex-wrap: wrap;
}

.con {
  width:33.3%;
  padding: 0.75em 1.5em;
  margin-bottom: 0.5em ;
}

.con2 {
  width:66.7%;
  padding: 0.75em 1.5em;
  margin-bottom: 0.5em ;
}

.con3 {
  width:50%;
  padding: 0.75em 1.5em;
}

.con4 {
  width:100%;
  padding: 0.75em 1.5em;
}

.con5 {
  width:25%;
  padding: 0.75em 1.5em;
}

.cover{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/メイン画像3.png') center center;
	min-height:700px;
}

.cover2{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/4558519_m-1.jpg') center center;
}

.massage{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/massage-e1622700044464.png') center right;
	background-repeat:no-repeat;
	min-height:700px;
}

.massage2{
background: linear-gradient(180deg,#f7f7f7 0%,#f7f7f7 500px,white 500px,white 100%);
}

.menu1,
.menu2,
.menu3,
.menu4,
.menu5,
.menu6
{
position: relative;
overflow: hidden;
width: 32%;
height: 200px;
margin:0.25em;
text-align:center;
	font-size:150%;
}

.menu1:after,
.menu2:after,
.menu3:after,
.menu4:after,
.menu5:after,
.menu6:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
	filter: brightness(80%);
}
.menu1:after{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/616464_m-e1622771810638.jpg') bottom center;
}
.menu2:after{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/menu2-e1622771416744.png') center center;
}
.menu3:after{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/H30.12定例会-1-e1622771262410.jpg') center center;
}
.menu4:after{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/7月25日議会報告会-scaled-e1622771684156.jpg') left center;
}
.menu5:after{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/10月31日道の駅みつまた-scaled-e1622771637988.jpg') right center;
}
.menu6:after{
background: url('http://k-tanimura.com/wp-content/uploads/2021/06/4558519_m-e1622771772467.jpg') bottom center;
}

.menu1:hover:after,
.menu2:hover:after,
.menu3:hover:after,
.menu4:hover:after,
.menu5:hover:after,
.menu6:hover:after {
opacity: .8;
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}

.menu1 a,
.menu2 a,
.menu3 a,
.menu4 a,
.menu5 a,
.menu6 a
{
position: relative;
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
height: 100%;
text-decoration: none;
color: #fff;
  outline : 1px solid #FFFFFF; /* 線の太さ・線状・色 */
  outline-offset : -10px; /* どれだけ内側に線を表示したいかを負の値で指定 */
}

.menu1 a:hover,
.menu2 a:hover,
.menu3 a:hover,
.menu4 a:hover,
.menu5 a:hover,
.menu6 a:hover
{
  outline : 3px solid #ef844a; /* 線の太さ・線状・色 */
  outline-offset : -10px; /* どれだけ内側に線を表示したいかを負の値で指定 */
}


/*-----------ボタン-----------*/
.article .btn-flat-logo {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.75em 2em;
  text-decoration: none;
	background-color:#e07a02;
  transition: .4s;
	margin:1em 0;
	border:1px solid #ffffff;
	color:#ffffff;
	font-size:120%;
}

.article .btn-flat-logo:hover,
.article .btn-flat-logo2:hover,
.article .btn-flat-logo3:hover{
	opacity:0.7;
}

.article .btn-flat-logo2 {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.4em 1em;
  text-decoration: none;
	background-color:#3b5998;
  transition: .4s;
	color:#ffffff;
	border-radius:3px;
	margin:0.1em;
}

.article .btn-flat-logo3 {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.4em 1em;
  text-decoration: none;
	background-color:#06c755;
  transition: .4s;
	color:#ffffff;
	border-radius:3px;
	margin:0.1em;
}


/*-----------ブログ横幅調整-----------*/
.post-template-default .content,
.archive .content,
.category .content{
	max-width:1250px;
	padding:2em;
	margin:0 auto;
}
.post-template-default .content h1{
	font-size:200%;
}

/*-----------テーブル-----------*/

.article table{
	margin:0;
}

.container table tr{
  background-color: transparent;
}
.article td {
  border: 1px solid transparent;
	padding:0.75em 0em;
	font-size:110%;
}

/*------------メールフォーム------------*/

@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;
 color:#444;
 padding:0.75em 1em;
 border:solid 1px #f7f7f7;
	font-weight:normal;
	background-color:#eeeeee;
}
/*通常欄*/
.inquiry td{
 border:solid 1px #eeeeee;
	padding:0.75em 1em;
	background-color:#ffffff;
}

/*必須の調整*/
.haveto{
 font-size:80%;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*任意の調整*/
.any{
 font-size:80%;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}

/*------------続きを読む------------*/

.cp_box *, .cp_box *:before, .cp_box *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_box {
	position: relative;
  padding: 1.5em;
}
.cp_box label {
	position: absolute;
	z-index: 1;
	bottom: 0;
	width: 100%;
	height: 140px; /* グラデーションの高さ */
	cursor: pointer;
	text-align: center;
	/* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
	background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}
.cp_box input:checked + label {
	background: inherit; /* 開いた時にグラデーションを消す */
}
.cp_box label:after {
	line-height: 2.5rem;
	position: absolute;
	z-index: 2;
	bottom: 20px;
	left: 48%;
	width: 16rem;
	font-family: FontAwesome;
	content: '\f13a'' 続きをよむ';
	transform: translate(-50%, 0);
	letter-spacing: 0.05em;
	color: #ffffff;
	border-radius: 20px;
	background-color: rgba(27, 37, 56, 1);
}
.cp_box input {
	display: none;
}
.cp_box .cp_container {
	overflow: hidden;
	height: 250px; /* 開く前に見えている部分の高さ */
	transition: all 0.5s;
}
.cp_box input:checked + label {
	/* display: none ; 閉じるボタンを消す場合解放 */
}
.cp_box input:checked + label:after {
	font-family: FontAwesome;
	content: '\f139'' 閉じる';
}
.cp_box input:checked ~ .cp_container {
	height: auto;
	padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
	transition: all 0.5s;
}

/*-----------メイン画像スライド-----------*/
.box {
  position   : relative;
  max-width  : 1920px;
  height     : 690px;
  margin     : auto;
  overflow   : hidden;
}

.box .bgImg {
  position   : absolute;
  top        : 0;
  left       : 0;
  bottom     : 0;
  right      : 0;
  opacity    : 0;
  animation  : bgAnime 12s infinite;   /* 4画像 × 各5s = 20s */

}

.box .src1 {
background: linear-gradient( 0deg, transparent 0%, transparent 50%, #FFFFFF 50%, #FFFFFF 100%),
  url(http://k-tanimura.com/wp-content/uploads/2021/06/616464.png) center center;
	background-repeat:no-repeat;
	background-size:100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.box .src2 {
background: linear-gradient( 0deg, transparent 0%, transparent 50%, #FFFFFF 50%, #FFFFFF 100%),
  url(http://k-tanimura.com/wp-content/uploads/2021/06/616538_m.jpg) center center;
	background-repeat:no-repeat;
	background-size:100%;
	display: flex;
	justify-content: center;
	align-items: center;
  animation-delay  : 4s;
}

.box .src3 {
background: linear-gradient( 0deg, transparent 0%, transparent 50%, #FFFFFF 50%, #FFFFFF 100%),
  url(http://k-tanimura.com/wp-content/uploads/2021/06/4558519_m-1.jpg) center center;
	background-repeat:no-repeat;
	background-size:100%;
	display: flex;
	justify-content: center;
	align-items: center;
  animation-delay  : 8s;
}


@keyframes bgAnime {
   0% { opacity: 0; }
  25% { opacity: 1; }
  50% { opacity: 1; }
  70% { opacity: 0; }
 100% { opacity: 0; }
}

.box .boxString{
  position   : absolute;
  display    : inline-block;
  padding    : 0;
  top        : 50%;                               /* 中央寄せ */
  left       : 50%;
  transform  : translate(-50%,-50%);
  z-index    : 11;
	width:100%;
	text-align:center;
}

/*-----------レスポンシブ改行-----------*/
@media screen and (min-width: 650px){	
  .br-pc { display:block; }
  .br-sp { display:none; }
}
@media screen and (max-width: 650px){	
  .br-pc { display:none; }
  .br-sp { display:block; }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1024px以下*/
@media screen and (max-width: 1024px){
  /*必要ならばここにコードを書く*/
.box {
  height     : 630px;
}
.navi-in a{
	font-size:15px !important;
	padding:0.75em 0;
	margin: 0;
}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
.box {
  height     : 460px;
}
.menu1,
.menu2,
.menu3,
.menu4,
.menu5,
.menu6
{
width: 45%;
	font-size:130%;
}
.article td {
	font-size:90%;
	padding:0.5em 0em;
}
.article h4 {
	font-size:110%;
}
.header-container{
border-bottom:1px solid transparent;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.box {
  height     : 230px;
}
.article h1 {
	font-size:180%;
}
.article h3 {
	margin:1em 0 0.75em 0;
	font-size:130%;
}

.font1{
	font-size:150%;
}
.con {
	width:100%;
  padding: 0.75em 0em;
}

.con2 {
	width:100%;
  padding: 0.75em 0em;
}

.con3 {
	width:100%;
  padding: 0.75em 0em;
}

.con4 {
  padding: 0.75em 0em;
}
	
.con5 {
  width:50%;
  padding: 0.25em 0.75em;
}

.massage{
background: unset;
}

.massage2{
	background-color:#f7f7f7;
}
.menu1,
.menu2,
.menu3,
.menu4,
.menu5,
.menu6
{
width: 100%;
height: 200px;
	font-size:130%;
}
.cp_box {
  padding: 1.5em 0;
}

}
