/*
Theme Name: 日興セラミックス
*/

body {
	margin: 0;
	padding: 0;
	font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	background: #fff;
	color: #111;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

.top-br--pc {
	display: inline;
}

.top-br--sp {
	display: none;
}

@media (max-width: 768px) {
	.top-br--pc {
		display: none;
	}

	.top-br--sp {
		display: inline;
	}
}

/* header */

.header {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ccc;
	background: #fff;
}

.header-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: 20px;
}

.header-logo img {
	height: 40px;
}

.header-nav {
	margin-left: auto;
	display: flex;
	gap: 20px;
	margin-right: 40px;
}

.header-nav a {
	text-decoration: none;
	color: #000;
	font-weight: bold;
}

.header-contact {
	display: flex;
	align-items: center;
	text-decoration: none;
	font-weight: bold;
	font-family: 'Jost', sans-serif;
}

.header-contact-btn {
	background: #002f87;
	/* 右側の青色 */
	color: #fff;
	padding: 12px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.header-contact-btn span {
	font-size: 14px;
}

.header-contact-btn img {
	width: 24px;
	height: auto;
	margin-top: 4px;
}

/* footer.css */
.footer-wrapper {
	background: #b6c58d;
	/* ライトグリーン */
	color: #0d0d0d;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

/* 左カラム */
.footer-brand {
	margin-bottom: 20px;
}

.footer-logo {
	height: 48px;
	display: block;
}

.footer-company {
	margin: 8px 0 0;
	font-size: 20px;
	font-weight: 700;
}

.footer-address {
	margin-top: 20px;
	font-style: normal;
	font-weight: 500;
}

.footer-address p {
	margin: 8px 0;
	letter-spacing: .04em;
}

/* SNS（画像版） */
.footer-social {
	display: flex;
	gap: 18px;
	margin-top: 26px;
}

.footer-sns {
	width: 40px;
	height: 40px;
	display: inline-grid;
	/* 中央寄せが楽 */
	place-items: center;
	overflow: hidden;
	/* はみ出し防止 */
}

.footer-sns img {
	display: block;
	width: 32px !important;
	/* 他のCSS/inline属性に勝つ */
	height: 32px !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	/* 縦横比維持 */
	aspect-ratio: 1/1;
}

/* 右カラム */
.footer-right {
	display: grid;
	gap: 16px;
	justify-items: start;
}

.footer-nav {
	display: grid;
	gap: 10px;
}

.footer-nav a {
	color: #111;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
}

.footer-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: #111;
	border: 2px solid #111;
	border-radius: 999px;
	padding: 8px 16px;
	text-decoration: none;
	font-weight: 700;
}

.footer-cta-icon svg {
	width: 22px;
	height: 22px;
	fill: #111;
}

.footer-cta-label {
	font-size: 14px;
}

.footer-map {
	margin-top: 8px;
	width: 100%;
}

.footer-map iframe {
	width: 100%;
	max-width: 560px;
	height: 300px;
	display: block;
	border-radius: 4px;
}

/* コピーライト */
.footer-bottom {
	text-align: center;
}

.footer-copy {
	font-weight: 700;
	font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
	.footer-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-right {
		justify-items: stretch;
	}

	.footer-map iframe {
		max-width: 100%;
	}
}

/* TOP */

.top-mainvisual img {
	width: 100%;
	display: block;
}

/* ===== 新着情報 ===== */
.top-news {
	padding: 32px 0 40px;
}

.top-news__container {
	width: min(1100px, 92vw);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 210px 1fr;
	align-items: start;
	gap: 28px;
}

/* ラベル（左のピル） */
.top-news__label {
	margin: 0;
	display: inline-block;
	padding: 10px 26px;
	border-radius: 999px;
	background: #6f7f3f;
	/* くすみグリーン */
	color: #fff;
	font-weight: 800;
	letter-spacing: .2em;
	text-align: center;
	white-space: nowrap;
	font-size: 28px;
	font-weight: 600;
}

/* リスト */
.top-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.top-news__item {
	display: grid;
	grid-template-columns: 1fr auto;
	/* 本文 / ボタン */
	align-items: center;
	gap: 18px;
	padding: 18px 0;
	border-bottom: 2px solid #c7d0ad;
	/* 薄いグリーンの下線 */
}

.top-news__item:first-child {
	border-top: 2px solid #c7d0ad;
}

/* 本文リンク（日時＋タイトル） */
.top-news__link {
	display: grid;
	grid-template-columns: 190px 1fr;
	gap: 18px;
	text-decoration: none;
	color: #222;
}

.top-news__date {
	font-feature-settings: "palt";
	white-space: nowrap;
	font-weight: 600;
}

.top-news__title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 600;
}

/* ボタン */
.top-news__btn {
	display: inline-block;
	padding: 10px 18px;
	background: #6f7f3f;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	border: 2px solid #6f7f3f;
	transition: .25s ease;
}

.top-news__btn:hover {
	background: #fff;
	color: #6f7f3f;
}

/* 空状態 */
.top-news__item--empty {
	grid-template-columns: 1fr;
	border-top: 2px solid #c7d0ad;
}

.top-news__empty {
	color: #666;
}

/* ===== レスポンシブ ===== */
@media (max-width: 880px) {
	.top-news__container {
		grid-template-columns: 1fr;
	}

	.top-news__label {
		justify-self: start;
	}

	.top-news__item {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.top-news__link {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.top-news__date {
		opacity: .9;
	}

	.top-news__btn {
		justify-self: end;
	}
}

/* styles.css（bodyの一部用） */
.top-section {
	background-color: #e9ecdf;
	padding: 40px 0;
	text-align: center;
}

.top-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.top-heading {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 20px;
}

.top-text {
	margin-bottom: 16px;
	line-height: 1.8;
	font-weight: 500;
	font-size: 18px;
}

.top-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin-top: 40px;
}

.top-card {
	max-width: 320px;
}

.top-img {
	width: 100%;
	display: block;
}

.top-btn {
	display: inline-block;
	margin: 16px 0;
	padding: 8px 20px;
	border-radius: 20px;
	text-decoration: none;
	color: #333;
	font-weight: bold;
	border: 1px solid #000;
	background-color: transparent;
	transition: all 0.3s ease;
}

.top-btn:hover {
	background-color: #000;
	color: #fff;
}

@media (max-width: 880px) {
	.top-text {
		text-align: left;
	}
}

/* 可児追加分 */

/*  *  */

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* contract */

.title {
	text-align: center;
	font-weight: bold;
	margin-bottom: 0 !important;
}

.en-title {
	text-align: center;
	width: fit-content;
	padding: 5px 25px;
	margin: 5px auto;
	background-color: #778A4A;
	font-family: 'futura-pt', sans-serif;
	color: white;
	font-weight: bold;
	border-radius: 40px;
}

.subtitle {
	color: #86916E;
	font-family: 'futura-pt', sans-serif;
	font-weight: bold;
}

.p-30 {
	padding: 30px;
}

.bold {
	font-weight: bold;
}

.center {
	text-align: center;
}

.font30 {
	font-size: 30px;
}

.font24 {
	font-size: 24px;
}

.font20 {
	font-size: 20px;
}

.font14 {
	font-size: 14px;
}

.w-90 {
	width: 90%;
	margin: 0 auto;
}

.flex-between {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.w-48 {
	width: 48%;
}

.b-e1 {
	border-bottom: 2px solid #E1E9D3;
}

.w-80 {
	width: 80%;
	margin: 0 auto;
}

.table-row {
	border-collapse: collapse;
	border-spacing: 0;
}

.b-top {
	border-top: 1px solid #BEB1AA;
}

.b-right {
	border-right: 1px solid #BEB1AA;
}

.b-bottom {
	border-bottom: 1px solid #BEB1AA;
}

.w-100 {
	width: 100%;
}

.w-18 {
	width: 18%;
}

.table-pad {
	padding: 15px 30px;
}

.left {
	text-align: left;
}

/* factory */

.w-70 {
	width: 70%;
	margin: auto;
}

.p-15 {
	padding: 15px;
}

/* company */

.w-20 {
	width: 20%;
}

/* business */

.table-pad-mini {
	padding: 5px 10px;
}

.b-box {
	border-top: 1px solid #BEB1AA;
	border-right: 1px solid #BEB1AA;
	border-left: 1px solid #BEB1AA;
}

.bg-ash {
	background-color: #F1F0EB;
}

.other-fam {
	font-family: 'futura-pt', sans-serif;
	font-weight: bold;
}

.w-30 {
	width: 30%;
}

.table-pad-extra {
	padding: 5px 30px;
}

.bg-green {
	background-color: #F0F4E9;
}

.item-center {
	align-items: center;
}

.black {
	color: #000;
}

.title-effect {
	color: #86916E;
	position: relative;
	border-bottom: 1px solid #000;
	padding-bottom: 10px;
}

.title-effect::before {
	position: absolute;
	content: '';
	width: 7px;
	height: 40px;
	background-color: #86916E;
}

.bg-ee {
	background-color: #EEEFEA;
}

.font-green {
	color: #7CC346;
}

.green-num {
	background-color: #7CC346;
	color: #fff;
	padding: 2px 13px;
}

.black-en {
	background-color: #000;
	color: #fff;
	padding: 2px 5px;
}

.p-5 {
	padding: 5px;
}

.w-45 {
	width: 45%;
}

.w-52 {
	width: 52%;
}

.red {
	color: red;
}

.bg-cream {
	background-color: #FEFEF2;
}

/* contact */

.scrollable {
	overflow-y: scroll;
	height: 240px;
	background-color: rgba(252, 252, 252, 0.3);
	border: 2px solid #6f7f3f;
}

.required-srt {
	color: #FF0000;
	border-radius: 5px;
	white-space: nowrap;
	margin-right: 10px;
	padding: 0 2px;
}

.vertical-top {
	vertical-align: top;
}

.wpcf7-form {
	width: 100%;
	margin: auto;
}

.cform {
	width: 80%;
	margin: auto;
}

.cform input {
	width: 60%;
	border: none;
	background-color: #fff;
	box-sizing: inherit;
	padding: 8px 2px;
}

.cform textarea {
	width: 100%;
	border: none;
	background-color: #Fff;
	padding: 0 2px 30px;
}

.cform th, .cform td {
	padding: 1% 2%;
}

.cform th {
	text-align: left;
}

.sending_button {
	text-align: center;
	margin-top: 3%;
}

.btn-flat-border {
	background-color: #6f7f3f;
	color: white;
	border: none !important;
	border-radius: 10px;
	padding: 5px 15px;
}

.wpcf7-spinner {
	display: none;
}

/* news */

.radius-30 {
	border-radius: 30px;
}

#nav-links {
	display: flex;
	list-style: none;
	gap: 30px;
	justify-content: center;
	margin-top: 5%;
	font-size: 24px;
	font-weight: bold;
}

.current {
	border-bottom: 2px solid #6f7f3f;
}

.next,.prev {
	color: #6f7f3f;
}

.page-numbers {
	padding: 0 5px;
}

.news-content {
	display: flex;
	gap: 30px;
	align-items: center;
	flex-direction: column;
}

.news-item {
	padding: 20px;
	margin-bottom: 15px;
}

.wrap {
	flex-wrap: wrap;
}

.bg-00 {
	background-color: #6f7f3f;
}

.gap20 {
	gap: 40px;
}

.b-g {
	border: 1px solid #c7d0ad;
	border-radius: 24px;
	padding: 3% 5%;
}

.m0 p {
	margin-bottom: 0 !important;
}

.font30 {
	font-size: 30px;
}

.sp {
	display: none;
}

.w-85 {
	width: 85%;
	margin: auto;
}

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

.news-page {
	background-color: #778A4A;
	color: #fff;
	padding: 10px 30px;
	border-radius: 20px;
	text-decoration: none;
	font-weight: bold;
}

.font-green-77 {
	color: #778A4A;
}

.circle {
	padding: 5px 10px;
	border-radius: 50%;
}

.de-none {
	text-decoration: none;
}

.white {
	color: #fff;
}

/* hamburger */

.header-hamburger-menu {
	display: flex;
	align-items: center;
	width: 13vw;
	text-align: right;
	position: fixed;
	top: 10px;
	right: 0;
	z-index: 50;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.header-hamburger-menu.visible {
	opacity: 1;
}

#header-hamburger {
	margin-right: 10px;
	background: #6f7f3f;
	cursor: pointer;
	width: 66px;
	aspect-ratio: 1/1;
	margin-left: auto;
	position: relative;
	z-index: 20;
	border-radius: 2px
}

#header-hamburger span {
	display: inline-block;
	background: #fff;
	width: 50%;
	height: 2px;
	transition: all .4s;
	position: absolute;
	left: 50%;
	transform: translateX(-50%)
}

#header-hamburger span:nth-of-type(1) {
	top: 30%
}

#header-hamburger span:nth-of-type(2) {
	top: 50%
}

#header-hamburger span:nth-of-type(3) {
	top: 70%
}

#header-hamburger.active span:nth-of-type(1) {
	top: 50%;
	left: 25%;
	transform: rotate(-45deg);
	width: 50%
}

#header-hamburger.active span:nth-of-type(2) {
	opacity: 0
}

#header-hamburger.active span:nth-of-type(3) {
	top: 50%;
	left: 25%;
	transform: rotate(45deg);
	width: 50%
}

#hamburger-window {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: calc(100vh - 50px);
	overflow-y: scroll;
	overflow-x: hidden;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s ease-in-out 0.3s, transform 0.5s ease-in-out 0.3s;
	transform: translateY(-100%);
	z-index: 450;
	margin-top: 25vh;
}

#hamburger-window::-webkit-scrollbar {
	display: none
}

#hamburger-window.open {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

#hamburger-window:not(.open) {
	visibility: hidden;
	opacity: 0;
	transform: translateY(-25vh);
	transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out
}

#hamburger-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	z-index: 40;
	pointer-events: none;
}

#hamburger-background.open {
	pointer-events: auto;
	opacity: 1
}

.hamburger-window__link {
	display: block;
	margin: 0 auto;
	width: 100%;
	position: relative
}

.hamburger-window__link:hover {
	opacity: .5
}

.hamburger-window__link a:hover {
	color: #FFF
}

.acordion-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 23px 0;
	color: #fff;
	font-size: 18px;
	text-decoration: none
}

.hamburger-window__title {
	color: #333
}

li ::marker {
	display: none !important;
}

@media only screen and (max-width: 850px) {
	.header-nav {
		display: none;
	}

	.header {
		justify-content: space-between;
	}
}

@media only screen and (min-width: 851px) {
	.header-hamburger-menu {
		display: none;
	}
}

/* respo */
@media only screen and (max-width: 768px) {
	.sp-column {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.reverse {
		flex-direction: column-reverse !important;
	}

	.w-35 img, .w-28 img, .img-w {
		width: 60%;
	}

	.b-r-ash {
		border-bottom: 3px solid #808080;
		border-right: none;
	}

	.w-20, .table-pad {
		width: 100%;
	}

	.sp-center {
		text-align: center;
	}

	.sp-none {
		display: none;
	}

	.sp {
		display: block;
	}

	.sp-b-b-ash {
		border-bottom: 1px solid #808080;
	}

	.cform tr {
		display: flex;
		flex-direction: column;
	}

	.cform input {
		width: 100%;
	}

	.content-start {
		align-content: flex-start !important;
	}

	.sp-b-bottom {
		border-bottom: 1px solid #666;
		border-right: none;
		padding: 15px 0 !important;
	}

	.gap0 {
		gap: 0;
	}

	.footer-nav {
		justify-content: center;
	}

	.footer-cta {
		justify-content: center;
	}
}

@media only screen and (max-width: 768px) and (min-width: 561px) {
	.font24 {
		font-size: 20px;
	}

	.font20 {
		font-size: 18px;
	}

	.title, .title-white {
		font-size: 24px;
	}

	.w-48, .w-30, .w-35, .w-62, .w-70, .w-28, .w-45, .w-52, .w-18 {
		width: 80%;
		margin: auto;
	}

	.cform, .w-70 {
		width: 90%;
		margin: auto;
	}

	.font30 {
		font-size: 28px;
	}
}

@media only screen and (max-width: 560px) {
	.font24 {
		font-size: 18px;
	}

	.sm-none {
		display: none;
	}

	.font20 {
		font-size: 16px;
	}

	.title, .title-white {
		font-size: 20px;
	}

	.w-48, .w-30, .w-35, .w-62, .w-70, .w-28, .w-45, .w-52, .w-18 {
		width: 90%;
		margin: auto;
	}

	.sm-border {
		border-bottom: 1px solid #e6e6e6;
		padding: 5%;
	}

	.cfrom th, .cform td {
		width: 100%;
	}

	.cform, .w-70 {
		width: 95%;
		margin: auto;
	}

	.btn-flat-border {
		width: 150px;
	}

	.sm-w-100 {
		width: 100%;
	}

	.font30 {
		font-size: 24px;
	}

	.header-hamburger-menu {
		width: 15% !important
	}

	#header-hamburger {
		border-radius: 2.6vw !important
	}

	.sm-column {
		flex-direction: column;
		gap: 20px;
		align-items: center;
		display: flex;
	}
}