/*
Theme Name: oota-seikotsuin-com
Template: wp-theme-by-sekaikan
Theme URI: https://sekaikan.nits-inc.com/wp-theme/
Author: SEKAIKAN by NITS
Author URI: https://sekaikan.nits-inc.com/
Description: 株式会社NITSのクリエイティブ事業部「SEKAIKAN」が作成・管理しております。お問合せ・ご相談に関しては<a href="https://sekaikan.nits-inc.com/">公式サイト</a>をご確認ください。
*/

/* sections */
.sections {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* NAV scroll hide */
.navbar{
  transition: 1s;
}

.navbar.hidenav {
  transform:translateY(-80px);
}

.navbar-sp{
  transition: 0.8s;
}

.navbar-sp.hidenav-sp {
  transition: 0.8s;
  transform:translateY(80px);
}


/* モーダル */

.modal{
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
}
.modal__bg{
  background: rgba(0,0,0,0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modal__content{
  background: #fff;
  left: 50%;
  padding: 10px 10px 60px 10px;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 70%;
  border-radius: 1rem;
}
.js-modal-close {

}

.modal-b {
  position: absolute;
  bottom: 10px;
  color: #484848;
  border-radius: 99px;
  display: block;
  text-align: center;
  background: #d9d9d9;
  padding: 3px 15px;
  right: 0px;
  margin: 0 auto;
  left: 0px;
  width: 100px;
  font-size: 13px;
}

/* --- モーダル用 --- */


.fade-img-box {
 width: 100%;
 height: 450px;
 overflow:hidden;
 margin-left: auto;
 position:relative;
}

.fade-img-box img {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 object-fit:cover;
}

@media screen and (max-width: 767px){
  .fade-img-box {
    height: 230px;
  }
}
@media screen and (max-width: 350px){
  .fade-img-box {
    height: 180px;
  }
}

.next-post a , .nav-previous a {
    background: white;
    padding: 1rem 1.3rem;
    border-radius: 1rem;
    border: 3px solid #00CA97;
}
.back-post a , .nav-next a {
    background: white;
    padding: 1rem 1.3rem;
    border-radius: 1rem;
    border: 3px solid #00CA97;
}

.next-post a:after , .nav-next a:after {content: "\f345";padding-left: 5px;font-size: 1.5rem;font-weight: bold;font-family: 'dashicons';vertical-align: middle;color: #00ca97;}
.back-post a:before , .nav-previous a:before {content: "\f341";padding-right: 5px;font-size: 1.5rem;font-weight: bold;font-family: 'dashicons';vertical-align: middle;color: #00ca97;}

/* ブロックエディターで画像を角丸にした時のスタイル */
.wp-block-image.is-style-circle-mask img, .wp-block-image.is-style-rounded img {
  border-radius: 1.5rem !important;
  margin-bottom:1rem;
}

/* LIST BOX */
.listbox {
  margin:0px;
}
.listbox .wp-block-group {
    border: 3px solid #65a1f9;
    padding: 1rem;
    border-radius: 1rem;
    margin: 5px;
}
.listbox .wp-block-group h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #65a1f9;
}
.listbox .wp-block-group p {
    color: gray;
}


/* LIST BOX pink */
.listbox-pink {
  margin:0px;
}
.listbox-pink .wp-block-group {
    border: 3px solid #ec4899;
    padding: 1rem;
    border-radius: 1rem;
    margin: 5px;

}
.listbox-pink .wp-block-group h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ec4899;
}
.listbox-pink .wp-block-group p {
    color: gray;
}

/* TAG Discription */

.tag-description {
  margin-bottom:2rem;
}

.tag-description div.h2 {
  margin-top: 2.5rem;
}

.tag-description p {
  line-height: 30px;
  font-size: 15px;

}

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

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;
  width:100%;
}

.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:#00ce9363;/*ブルーグレー*/
  text-align:left;
	}
}

/* レスポンシブ */
@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:#00ce9363;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color: #00ca97;
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	padding: 10px 40px;
	border-radius: 1rem;
	margin-top: 1.3rem;
	box-shadow: rgb(0 206 147 / 34%) 0px 13px 27px -5px, rgb(0 206 147 / 21%) 0px 8px 16px -8px;
}

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

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

div.notitle {
  position: relative;
   padding: 1.5rem 2rem 1.5rem 160px;
   border-bottom: 3px solid #000;
 }
 
 div.notitle span {
   font-family: 'Roboto', sans-serif;
   font-size: 100px;
   font-size: 10rem;
   line-height: 1;
   position: absolute;
   bottom: -1.6rem;
   left: 0;
 }

 /* TABLE */
figure.wp-block-table table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0px;
 }
 figure.wp-block-table th {
  padding: 10px;
  background: #e9faf9;
  border: solid 1px #778ca3;
 }
 figure.wp-block-table td {
  padding: 10px;
 }

 figure.wp-block-table {
  border-radius: 1rem;
  border: solid #65a1f9 2px;
}

figure.wp-block-table tr:first-child {
  background: #73a0f3;
  color: white;
}

figure.wp-block-table tr {
  background: #e7f1ff;
}

figure.wp-block-table tr:first-child td {
  border-right: 2px dotted #fff;
}
figure.wp-block-table tr td:last-child {
    border: none;
}

figure.wp-block-table tr td:last-child {
    border: none;
}

figure.wp-block-table td {
    border-right: 2px dotted #65a1f9;
}

/* <em>イタリックにマーカー */
em {
    background: linear-gradient(transparent 60%, #fdc52573 60%);
    font-style: normal;
}

/* Menu Card */

div.o-menucard {
  font-size:1.2rem;
}

div.o-menucard-b {
  width: 20%;
    margin-left: 20px;
}

@media screen and (max-width:767px) {
  
  div.o-menucard-b {
    width: 100%;
    text-align:center;
  }

  div.o-menucard {
    flex-direction: column;
  font-size:1.2rem;

}

div.o-menucard-t {
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

div.o-menucard-icon {
    width: 25px;
    padding: 0px;
    margin: 10px 0px;
}

}

/* Time Line css */

.timeline {
list-style: none;
}
.timeline li {
margin-bottom: 30px;
}div

.timeline-content {
margin-top: 1rem;
}

ul.timeline {
  border: dashed 3px #d0d5db;
    border-radius: 1rem;
}

.timeline span.midashi{
  font-size: 120%;
    color: #65a1f9;
    font-weight: bold;
}

ul.timeline li::before {
font-family: “Font Awesome 5 Free”;
content: “\f111”;
transform: scale(1.0);
font-weight: bold;
color: #fdc44f;
font-size:80%;
}

@media ( min-width : 640px ){
.timeline li {
overflow: hidden;
margin: 0;
position: relative;
}

.timeline-date {
width: 110px;
margin-top: 0px;
font-size: 1.2rem;
margin-bottom: 0px!important;
font-weight: bolder;
    color: #b3bbc3;
}

.timeline-content {
width: auto;
float: left;
border-left: 3px #e4f1ff solid;
padding-left: 20px;
}
}

.timeline li:last-child .timeline-content {
    border-left: none;
}

/* 記事 */
.entry-content ul, .entry-content ol {
  background: #f5f5f5;
    padding: 1em 1em 1em 3em;
    border-radius: 1rem;
    width: 70%;
    margin-left: 40px;
}

.entry-content ul li, .entry-content ol li {
  line-height: 1.5; 
  padding: 0.5em 0; 
}

.entry-content ul li {
  list-style: disc;
}

.entry-content ol li {
  list-style: auto;
}

.entry-content a {
  border-bottom: 2px solid;
  color: #00ca97;
}

.entry-content .cat-links a {
  color: #485564;
}

span.cat-links:before {
  content: "\f323";
  font-family: 'dashicons';
  padding-right: 3px;
  padding-left: 5px;
}

@media screen and (max-width:767px){
  
span.cat-links {
    position: absolute;
    bottom: -40px;
    width: 120px;
    right: 0;
    left: 0;
    margin: 0 auto;
    background: whitesmoke;
    padding: 3px 10px;
    border-radius: 99px;
    text-align:left;
  }

  header .w-3\/5.pl-2 {
    width:100%;
  }
}

.entry-content .wp-block-button a {
    border: 0px!important;
    color: white!important;
}

hr.wp-block-separator.is-style-wide {
    max-width: 70%;
    margin: 40px auto;
    color: #e5e5e5;
    border-bottom-width: 2px;
}