@charset "utf-8";
/* CSS Document */
/*
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 300 to 800

/*single*/
.container {
  background-color: #fff;
  padding: 50px 30px;
}

/*home*/
#particles-js{ 
	position:fixed;/*描画固定*/
	z-index:-1;/*描画を一番下に*/
	width: 100%;
  height: 100vh;
  background: url("https://www.h-inc.co.jp/wp-content/uploads/2024/09/top_main_img.jpg")
    center / cover;
}
.home-top-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  z-index:1;
}

section {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: url("https://www.h-inc.co.jp/wp-content/uploads/2024/07/section-bg1.jpg");
}
section h2 {
  font-size: 42px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 50px;
  text-align: center;
}

body {
  font-size: 16px;
  font-family: "Open Sans", sans-serif; !important;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none !important;
}

p {
  font-size: 18px;
}

/* Nav Screen */

.nav-screen {
  height: 100%;
  z-index: 500;
  position: fixed;
  background-color: #666;
  right: -220px; /* start off behind the scenes */
  -webkit-font-smoothing: antialiased;
  position: fixed;
  width: 220px;
}

.nav-screen .active {
  display: block;
}

/* nav header links */

.nav-brand {
  position: fixed;
  left: 50px;
  z-index: 600;
  padding: 10px;
}
.nav-brand h1 {
  padding: 0;
  margin: 0;
}
.nav-brand img {
  width: 62px;
}

.fa-bars {
  display: none !important;
  color: #fff;
  float: right;
  padding: 20px;
  position: fixed;
  right: 0;
  z-index: 500;
  cursor: pointer;
}

.fa-times {
  color: #fff;
  float: right;
  padding: 20px;
  right: 0;
  z-index: 600;
  cursor: pointer;
}

.header-links {
  position: fixed;
  width: 100%;
  z-index: 400;
  background-color:#000;
}
.header-links ul {
  padding-right:35px;
}
.header-links li {
  color: white;
  display: inline;
  float: right;
  padding: 15px;
  font-size: 16px;
}

.header-links a {
  color: #fff;
  -webkit-transition: all 0.2s ease-in;
}

.header-links a:hover {
  color: #d20b1d !important;
}

.header-links a:visited, .header-links a:active {
  color : #fff;
}

/* slide out nav menu styles */

.nav-container {
  padding-top: 10%;
}

.nav-links {
  width: 220px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.nav-links ul {
  margin-top: 15%;
  text-align: center;
  padding-top: 10%;
}

.nav-links a {
  color: #ffffff;
  font-size: 18px;
  line-height: 2.5;
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
}

.nav-links a:hover {
  color: #d20b1d;
  -webkit-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}

#fp-nav ul li .fp-tooltip {
  color: #5f5f5f !important;
}

/* Expanding border effect */

.header-links a::after {
  display: block;
  margin: 0 auto;
  margin-top: 5px;
  width: 0;
  height: 2px;
  background-color: #fff;
  content: "";
  opacity: 0;
  -webkit-transition: width 0.6s, opacity 0.8s;
  -moz-transition: width 0.6s, opacity 0.8s;
  transition: width 0.6s, opacity 0.8s;
}

.header-links a:hover::after,
.header-links a:focus::after {
  opacity: 1;
  width: 100%;
}

/* main header section */

.home-top {
  display: flex;
  justify-content: center;
  align-items: center;
}
.opaque-bg {
  max-width: 400px;
  padding: 10px;
  text-align: center;
  position: absolute;
  top: 42%;
  transform: translate(0, -42%);
}
.opaque-bg p {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: normal;
  color: white;
  font-size: 30px;
}

/* Topics */
.topics-wrap {
  max-width:400px;
  padding: 15px;
  position: absolute;
  left:3%;
  bottom: 4%;
  background-color:#000;
  text-align: center;
    filter: alpha(opacity = 70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
}
.topics-wrap p {
  color: white;
  font-size: 18px;
}
.topics-wrap table {
  border: none;
}
.topics-wrap table tr{
  border: none;
}
.topics-wrap table td{
  border: none;
  text-align: left;
  padding:2px 8px;
  color: white;
  font-size: 13px;
}
.topics-wrap table td.date{
  width:90px;
}
.topics-wrap table a {
  color: white;
  font-size: 13px;
}
.topics-wrap table a:hover {
  color: #d20b1d !important;
  -webkit-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
.topics-wrap table a:visited, .topics-wrap table a:active {
  color : #fff;
}
  .topics-wrap ul{
  padding:0;
  margin:0;
  text-align:left;
  }
  .topics-wrap li {
    color: white;
    font-size: 14px;
  }
  .topics-wrap li a:hover {
    color: #d20b1d !important;
    -webkit-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
  }
  .topics-wrap li a:visited, .topics-wrap li a:active {
    color : #fff;
  }
  @media only screen and (max-width : 768px) {
    .topics-wrap {
      max-width:768px;
      left:0%;
      bottom:0%;
      width: 100%;
    }
    }

/* bouncing arrow */

.fa-chevron-down {
  color: #fff !important;
  bottom: 10px;
  margin-left: -30px;
  cursor: pointer;
  position: absolute;
z-index:100;
  opacity: 0.8;
  -webkit-transition: 1.2s ease;
}
.fa-angle-down {
  color: #fff !important;
  bottom: 10px;
  cursor: pointer;
  position: absolute;
  z-index:700;
  opacity: 0.8;
  -webkit-transition: 1.2s ease;
}

/* Scroll down indicator (bouncing) */

@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateX(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -ms-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -ms-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.bounce {
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

.top-content1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  padding: 15px;
}

/* philosophy section */

section#philosophy {
  padding-top: 100px;
  /*background: url("https://www.h-inc.co.jp/wp-content/uploads/2024/07/philosophy-bg.jpg")
    center / cover;*/
}
#philosophy-title-wrap {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#philosophy-title-wrap img {
  width: 120px;
}
#philosophy .top-content1 {
  max-width: 800px;
}

/* service section */

#service-title-wrap {
  height: 380px;
  width: 100%;
  background: url("https://www.h-inc.co.jp/wp-content/uploads/2024/07/section-title-bg12.jpg")
    center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.title-wrap {
  text-align: center;
}
#service-title-wrap h2 {
  margin-bottom: 20px;
}
.services-wrap {
  display: grid;
  gap: 20px;
	grid-template-columns:repeat(3, 1fr);
}
.service-box {
	display:block;
	background-color:#000;
 	padding:0px;
	/*border-bottom: 4px solid #efefef;*/
	-webkit-transition: all ease 0.55s;
	transition: all ease 0.55s;
	margin-top:0px;
}
/*.service-box:hover {
	text-decoration:none;
	border-bottom: 4px solid #20a0e9;
}*/
.service-box img {
width:100%;
}
.service-box .service-item {
padding: 15px;
}
.service-item p {
	color: #fff;
	font-size: 16px;
	font-weight: 100;
}

@media only screen and (max-width : 768px) {
.services-wrap {
	grid-template-columns:repeat(1, 1fr);
}
	a.semin-wrap:nth-child(n+2) {
		margin-top:0px;
	}
	a.semin-wrap h3 {
		font-size: 20px;		
	}
}

/* blog section */
#breadcrumbs {
  font-size: 12px;
  padding-top:2px;
  padding-bottom: 20px;
}
.breadcrumbs .container {  
  padding: 25px 30px;
  font-size: 12px;
}
section#blog {
  padding-bottom: 100px;
}
#blog-title-wrap {
height: 380px;
  width: 100%;
  background: url("https://www.h-inc.co.jp/wp-content/uploads/2024/07/section-title-bg14.jpg")
    center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blog-title-wrap {  
  height: 250px;
  width: 100%;
  background: url("https://www.h-inc.co.jp/wp-content/uploads/2024/07/section-title-bg14.jpg")
    center / cover;
  padding-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.title-wrap h2 {
  font-size: 42px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}
.blog-content {
  background: url("https://www.h-inc.co.jp/wp-content/uploads/2024/07/section-bg1.jpg");
}
.blog-archive {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding: 15px;
}
.blog-wrap {
  display: grid;
  gap: 20px;
	grid-template-columns:repeat(3, 1fr);
  margin-bottom: 40px;
}
.blog-post {
	display:block;
	background-color:#fff;
 	padding:0px;
	-webkit-transition: all ease 0.55s;
	transition: all ease 0.55s;
	margin-top:0px;
}
.thumbnail_blog {
	overflow:hidden;
}
.thumbnail_wrap img {
	width:100%;
}
.blog-post a .thumbnail_blog img {
	transition:1s all;
}
.blog-post a:hover .thumbnail_blog img {
  transform: scale(1.1);
  transition-duration: 0.5s;
	opacity: 0.9;
}
.thumbnail_wrap {
  position: relative;
}
.post_cat {
  font-size: 11px;
  color: #fff;
  position: absolute;
  background-color: #000;
  padding: 2px 5px;
  top: 0px;
  right: 0px;
  filter: alpha(opacity = 85);
  -moz-opacity: 0.85;
  -khtml-opacity: 0.85;
  opacity: 0.85;
}
.post_text {
  padding: 15px;
}
.post_text h3.post-title {
	text-align: center;  
	font-size: 18px;
	font-weight: 200;
  color: #000;
}
.post_text p {
  font-size: 14px;
  padding:0 5px;
}
ul.post_meta {
  color: #000;
  text-align: right;
  padding-right: 5px;
}
li.post_date {
  font-size: 12px;
}
.to-blog-page-wrap {
  display: flex;
  justify-content: center;
  /*align-items: center;*/
}
a.to-blog-page {
  text-align:center;
  display:block;
  width: 120px;
  padding: 10px;
  font-size: 14px;
  color: #fff;
  background-color: #000;
}
.pagination-wrap {
  text-align: center;
  margin-bottom: 30px;
}
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5em;
  color: var(--pagination-text);
}
.widget {
  margin-bottom: 40px;
}
/* 記事作成 */
main#main {
  margin-bottom: 40px;
}
.singular-header__title {
    font-size: 1.8em;
}
article.post {
  margin-left: 20px;
}
.entry-content section {
  background-image: none;
  padding-top: 1rem;
}
.entry-content section h2 {
  font-size: 30px;
  margin-top: 0rem;
  margin-bottom: 2rem;
  text-align: left;
}
.entry-content h3 {
  margin-top: 30px;
  margin-bottom: 20px;
}
.entry-content h4 {
  margin: 1em 0;
}
.entry-content nav.table-of-contents {
  background-color: #efefef;
  padding: 5px 20px 20px 20px;
  margin-bottom: 30px;
  border-radius: 10px;
}
.entry-content table {
  margin: 20px 0;
}
.entry-content table th, .entry-content table td {
  padding: .5em 1em;
}
.entry-content table th {
  text-align: center;
  font-weight: bold;
}
.entry-content img{
  max-height: 800px;
  object-fit: cover;
  margin-bottom: 20px;
}
img.tate-img{
  width: 80%;
}
.entry-content ul li {
  list-style-type: disc;
}
.entry-content .warning-box {
  background-color: #efefef;
  padding: 20px;
  margin-bottom: 30px;  
  border: 2px dashed #999;
  border-radius: 10px;  
}

@media only screen and (max-width : 768px) {
.blog-wrap {
	grid-template-columns:repeat(1, 1fr);
}
	a.semin-wrap:nth-child(n+2) {
		margin-top:0px;
	}
	a.semin-wrap h3 {
		font-size: 20px;		
	}
}


/* about section */

section#about {
  padding-top: 80px;
  background: url("https://www.h-inc.co.jp/wp-content/uploads/2024/07/section-bg2.jpg");
  padding-bottom: 100px;
}

#about .top-content1 p {
  text-align: center;
}

#about table.about-content {
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  border: none;
}
#about table.about-content tr {
  border-left: none;
  border-bottom: solid 1px;
}
#about table.about-content th { 
  font-weight: bold;
  background-color: transparent;
  padding: 20px;
  border-right: none;
  border-bottom: none;
}
#about table.about-content td {
  padding: 20px;
  border-right: none;
  border-bottom: none;
}


/* contact section */

section#contact {
  padding-top: 100px;
  padding-bottom: 100px;
}

#contact .top-content1 {
  text-align: center;
}
#contact .top-content1 p {
  font-size:16px;
}

/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px){
  table.inquiry {
      margin-left: 15px;
      margin-right: 15px;
    }
.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 th {
  border-bottom:none!important;
}
.inquiry tr:first-child th{
 /*border-top:1px solid important;*/
}
/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
  font-size:10px;
}
}

td input, td textarea {
  width: 100%;
  border:none;
}

table.inquiry {
  margin-bottom:20px;
  margin-left: auto;
  margin-right: auto;
  border:none;
}
table.inquiry input,table.inquiry textarea {
  background: #fff;
  opacity:0.8;
}	
/*見出し欄*/
.inquiry tr{
  border: none;
}
.inquiry th{
  font-weight: bold;
  text-align:left;
  color:#444;
  padding:10px 10px 0px;
  width:30%;
  background-color: transparent;
  border-right: none;
  border-bottom: solid 1px;
}
/*通常欄*/
.inquiry td{
  border-right: none;
  border-bottom: solid 1px;
  padding: 15px 15px 3px;
  color:#000;
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr,.entry-content table{
 /*border:solid 1px #d7d7d7;*/	
}
/*必須の調整*/
.haveto{
  font-size:10px;
  padding:5px;
  background:#d20b1d;
  color:#fff;
  border-radius:2px;
  margin-right:10px;
  position:relative;
  bottom:1px;
}
/*任意の調整*/
.any{
  font-size:10px;
  padding:5px;
  background:#666;
  color:#fff;
  border-radius:2px;
  margin-right:10px;
  position:relative;
  bottom:1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
  display:block;
}
/*送信ボタンのデザイン変更*/
#formbtn{
  display: block;
  padding:10px;
  background:#000;
  color:#fff;
  font-size:14px;
  font-weight:bold;	 
  border-radius:2px;
  margin:25px auto 0;
  border:2px solid #000;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
  background:#fff;
  color:#333;
  border:2px solid #d20b1d;
}

/*
.fa-paper-plane {
  color: #484848;
}

/* paper plane shake on hover */

.plane-animated {
  animation-duration: 6s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}

.fa-paper-plane:hover {
  /* Toggle our animation play state to running when we are hovering over our sticker */
  animation-play-state: running;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}
.shake {
  animation-name: shake;
}

/* footer styles */

.footer-content {
  background-color: #d3d3d3;
  /*padding: 30px auto;*/
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-logo {
  margin-bottom: 15px;
}
.footer-content .footer-logo img {
width: 120px;
}
.footer-content .social-links img {
  width: 15px;
  }
.social-links {
  text-align: center;
} 
.social-links a {
  color: #000;
  padding: 0px 5px 0px 5px;
}
.social-links a:hover {
opacity:0.7;
}
/*.social-links a:hover {
  color: #d20b1d;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}*/
.site-info {
  color: #fff;
  background-color: #000;
  text-align: center;
  padding: 10px;
}
p#footer-copy {
  font-size: 12px;
}
.page-header {
  margin: 0px 0 20px;
}


/* smaller resolution styles */

@media (max-width: 992px) {
  article.post {
  margin-left: 0px;
  }
}

@media (min-width: 100px) and (max-width: 768px) {
  .fa-bars {
    display: block !important;
    z-index: 500;
  }
  .header-links {
    height: 70px;
  }
  .header-links li {
    display: none !important;
  }
  .nav-brand {
    left: 0px;
  }
  .singular-header__title {
    font-size: 1.4em;
  }
  section h2 {
  font-size: 36px;
  }
  #service-title-wrap,#blog-title-wrap {
  height: 300px;
  }
  .fa-angle-down {
    display: none !important;
  }
  .opaque-bg {
    top: 36%;
    transform: translate(0, -36%);
  }
  .container{
    padding: 50px 20px;
  }
 img.tate-img{
    width: 100%;
  }
}

/* mobile styles */

@media (min-width: 100px) and (max-width: 400px) {
  .content {
    max-width: 300px;
  }

  .aboutme h1 {
    font-size: 28px;
  }
}


/* Loading Block */

#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
.spinner {
  width: 80px;
  height: 80px;
  margin: 250px auto;
  background-color: #d20b1d;
  border-radius: 100%;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}
/* Loading Animation */

@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  } 100% {
    transform: scale(1.0);
    opacity: 0;
  }
}

/* Hide Loading Block */
.loaded {
  opacity: 0;
  visibility: hidden;
}
