/*
Theme Name: 株式会社HINATAE
Author: Six LLC
Author URI: 
Description: 20260715
*/
@charset "utf-8";
@import url(css/pc.css?20260717) screen and (min-width: 1025px);
@import url(css/tablet.css?20260717) screen and (min-width: 768px) and (max-width: 1024px);
@import url(css/smart.css?20260717) screen and (max-width: 767px);
.loader {
	position: fixed;
	z-index: 9999;
	inset: 0;

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

	overflow: hidden;

	background: linear-gradient(
		90deg,
		#9ad3ff,
		#27a9e3
	);
}


/* ロゴ */
.loader img {

	width: 220px;
	height: auto;

	opacity: 0;

	transform: scale(0);

	animation:
		logoZoom 1.2s cubic-bezier(.17,.89,.32,1.49) forwards;

}


/* 登場アニメーション */
@keyframes logoZoom {

	0% {
		opacity: 0;
		transform: scale(0);
	}


	60% {
		opacity: 1;
		transform: scale(1.7);
	}


	80% {
		transform: scale(.95);
	}


	100% {
		opacity:1;
		transform: scale(1);
	}

}


/* 終了時 */
.loader.finish img {

	animation:
		logoEnd .8s ease forwards;

}


/* ロゴが広がって消える */
@keyframes logoEnd {

	0% {
		transform: scale(1);
		opacity:1;
	}


	100% {
		transform: scale(25);
		opacity:0;
	}

}


/* ローダー消去 */
.loader.hide {

	opacity:0;
	transition:opacity .5s ease;

	pointer-events:none;

}
.hurricane {
  font-family: "Hurricane", cursive;
}

.btn{
	font-size: 18px;
	text-align: right;
	margin-top: 40px;
}
.btn a{
	color: #fff;
	font-weight: 700;
}
.btn a i{
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background: #008AC8;
	font-size: 25px;
	text-align: center;
	line-height: 55px;
	margin-left: 20px;
	display: inline-block;
	transition: .3s ease;
}
.btn a:hover i{
	transform: translateX(10px);
}

/* =============================
   COLOR VARIABLES
============================= */
:root {
  --color-main: #2864A1;
  --color-sub: #F8F8F8;
  --color-text: #333;
  --color-white: #fff;
  --color-border: #c3c3c3;

  --color-bg-table: #EFEFEF;
  --color-bg-th: #D8D8D8;

  --color-shadow: #f2f2f2;
  --color-accent: #5cbcd7;

  --color-btn: #2864A1;
  --color-btn-hover: #1f4f80;

  --color-file-btn: salmon;
}


/* =============================
   CONTACT FORM7
============================= */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: calc(100% - 20px);
  padding: 10px;
  background: #eee;
  border: none;
	font-size: 16px;
}
.wpcf7 select {
	width: 100%;
  appearance: none;        /* ←これ重要 */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background: #eee url("data:image/svg+xml;utf8,<svg fill='%23333' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>") no-repeat right 10px center;
  background-size: 16px;
}
.wpcf7 .submit_btn {
  text-align: center;
  margin: 40px 0;
}

.wpcf7 .submit_btn .btn {
  width: 340px;
  height: 60px;
  background: #fff;
  border: 2px solid #333;
  border-radius: 30px;
  margin: 60px auto 0;
  text-align: center;
  line-height: 58px;
  box-sizing: border-box;
  position: relative;
	font-size: 18px;
	color: #333;
	font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}
/* hover */
.wpcf7 .submit_btn .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-color: #E4007F;
}

.wpcf7 .submit_btn .btn:hover::after {
  transform: translateX(5px);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
	color: #fff;
	text-align: center;
}
/* PAGER */
.pagination {text-align: center;width: 100%;display: block;margin: 70px 0 0;}
.pagination a {background: #F8F8F8;color: #333;text-decoration: none;}
.pagination .inner {width: 90%;margin: 0 5%;position: relative;display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-pack: start;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;height: 46px}
.pagination .page-of {-webkit-box-ordinal-group: 2;-ms-flex-order: 2;-webkit-order: 2;order: 2;position: absolute;left: 37%;width: 26%;font-weight: 700;color: #fff;background: #2864A1;height: 46px;line-height: 46px;font-size: 13px;text-align: center;}
.pagination .m-prev {-webkit-box-ordinal-group: 0;-ms-flex-order: 0;-webkit-order: 0;order: 0;width: 15%;position: absolute;left: 0%;text-align: center;}
.pagination .pn-prev {-webkit-box-ordinal-group: 1;-ms-flex-order: 1;-webkit-order: 1;order: 1;width: 22%;position: absolute;left: 15%;text-align: center;}
.pagination .pn-next {-webkit-box-ordinal-group: 3;-ms-flex-order: 3;-webkit-order: 3;order: 3;width: 22%;position: absolute;left: 63%;text-align: center;}
.pagination .m-next {-webkit-box-ordinal-group: 4;-ms-flex-order: 4;-webkit-order: 4;order: 4;width: 15%;position: absolute;left: 85%;text-align: center;}
.pagination .current, .pagination .pn-numbers {display: none}
.pagination a {line-height: 46px;height: 46px;font-weight: 700;font-size: 13px;}
ul#pagenavi {margin: 40px 0;list-style: none;display: flex;flex-wrap: wrap;
justify-content: space-between;border-top: 1px solid #c3c3c3;padding: 40px 0 0;}
#pagenavi .prev a,#pagenavi .next a{color: #fff;margin: 5px 0;background-color: #2864A1;border-style: none;padding: 10px 25px;}
#pagenavi .prev{}
#pagenavi .next{}

/* =============================
   POST CONTENT
============================= */

/* text */
#post_col .box p {
  margin: 15px 0;
}

#post_col .box h1,
#post_col .box h2,
#post_col .box h3,
#post_col .box h4,
#post_col .box h5,
#post_col .box h6 {
  margin-bottom: 10px;
  padding-top: 10px;
  line-height: 1.2;
  font-weight: 700;
}

/* link */
#post_col .box a {
  color: var(--color-main);
  text-decoration: underline;
}

/* image */
#post_col .box .thumb{
	width: 510px;
	margin: 0 auto 40px;
}
#post_col .box .thumb img{
	width: 100%;
	object-fit: cover;
}
#post_col .box img {
  max-width: 100%;
  height: auto;
}

/* list */
#post_col .box ul {
  list-style: disc;
  margin-left: 1.3em;
}

#post_col .box ol {
  list-style: decimal;
  margin-left: 1.5em;
}

/* table */
#post_col .box table {
  width: 100%;
  border-collapse: collapse;
}

#post_col .box th,
#post_col .box td {
  padding: 10px 15px;
  border: 1px solid var(--color-border);
}

#post_col .box th {
  background: var(--color-bg-th);
}

#post_col .box td {
  background: var(--color-bg-table);
}

/* blockquote */
#post_col .box blockquote {
  margin-bottom: 25px;
  padding: 30px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 0 var(--color-shadow);
  position: relative;
}

#post_col .box blockquote:before,
#post_col .box blockquote:after {
  color: var(--color-accent);
}


/* =============================
   FILE BUTTON
============================= */
.wp-block-file a.wp-block-file__button {
  background-color: var(--color-file-btn);
  font-weight: 700;
}


/* =============================
   MOBILE
============================= */
@media (max-width:640px) {

	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"],
	.wpcf7 textarea,
	.wpcf7 select {
	  width: calc(100% - 20px);
	  padding: 10px;
	  background: #eee;
	  border: none;
		font-size: 16px;
	}
	.wpcf7 input{
		font-size: 16px;
	}
	input[type="file"]::file-selector-button {
  font-size: 16px;      /* 文字サイズ */
  padding: 10px 20px;  /* 余白（ボタンサイズ） */
  border-radius: 5px;  /* 角丸 */
  background-color: #f0f0f0;
}
	.wpcf7 select {
		width: 100%;
	  appearance: none;        /* ←これ重要 */
	  -webkit-appearance: none;
	  -moz-appearance: none;
	  cursor: pointer;
	  background: #eee url("data:image/svg+xml;utf8,<svg fill='%23333' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>") no-repeat right 10px center;
	  background-size: 16px;
	}
	.wpcf7 .submit_btn {
	  text-align: center;
	  margin: 40px 0;
	}

	.wpcf7 .submit_btn .btn {
	  width: 500px;
	  height: 80px;
	  background: #fff;
	  border: 4px solid #333;
	  border-radius: 40px;
	  margin: 60px auto 0;
	  text-align: center;
	  line-height: 72px;
	  box-sizing: border-box;
	  position: relative;
		font-size: 24px;
	color: #333;
	font-weight: 700;
	  transition: all 0.3s ease;
	  cursor: pointer;
	}
	/* hover */
	.wpcf7 .submit_btn .btn:hover {
	  transform: translateY(-3px);
	  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
	  border-color: #E4007F;
	}

	.wpcf7 .submit_btn .btn:hover::after {
	  transform: translateX(5px);
	}

  /* YouTube */
  .youtube {
    position: relative;
    padding-top: 56.25%;
  }

  .youtube iframe {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}