@charset "utf-8";
/* sub page styles */
#sub .header__nav a{
	color: #f4f4f4;
}
#sub .h_logo a{
	filter: brightness(0) invert(1);
}

#sub .is-scroll .header__nav a{
	color: #333;
}
#sub .is-scroll .h_logo a{
	filter: brightness(1) invert(0);
}

/* ========================================
   Page Hero（下層ページヘッダー）
======================================== */
.page-hero {
	position: relative;
	height: 380px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 0 clamp(20px, 6vw, 100px);
	overflow: hidden;
	margin-top: 0;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(0,0,0,.55) 0%,
		rgba(0,0,0,.25) 60%,
		rgba(0,0,0,.05) 100%
	);
	z-index: 1;
}
.page-hero::after{
	position: absolute;
	content: "";
	width: 20%;
	height: 65%;
	background: url("../img/index/marble.jpg");
	clip-path: polygon(0 0,100% 0, 0 100%,0 100%);
	top: 0;
	left: 0;
	z-index: 0;
}

.page-hero__content {
	position: relative;
	z-index: 2;
}

.page-hero__en {
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 800;
	color: #fff;
	line-height: 1;
	letter-spacing: .05em;
}

.page-hero__ja {
	font-size: clamp(16px, 2vw, 22px);
	color: rgba(255,255,255,.8);
	font-weight: 400;
	letter-spacing: .2em;
	margin-top: 10px;
}

.page-hero__title {
	display: none;
}

/* パンくず */
.breadcrumb {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 2;
	background: rgba(255,255,255,.12);
	backdrop-filter: blur(4px);
}

.breadcrumb__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px clamp(20px, 6vw, 100px);
	font-size: 13px;
}

.breadcrumb__inner a {
	color: rgba(255,255,255,.85);
	transition: .3s;
}

.breadcrumb__inner a:hover {
	color: #fff;
}

.breadcrumb__inner span {
	color: rgba(255,255,255,.6);
}

.breadcrumb__inner .current {
	color: #fff;
}

/* ========================================
   Sub Section Head（共通）
======================================== */
.sub-sec-head {
	margin-bottom: 60px;
}

.sub-sec-head__en {
	font-size: clamp(28px, 3.5vw, 48px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: .04em;
}

.sub-sec-head__ja {
	font-size: 16px;
	color: var(--color-sub);
	letter-spacing: .2em;
	margin-top: 8px;
}

.sub-sec-head__bar {
	display: block;
	width: 40px;
	height: 3px;
	background: var(--color-main);
	margin-top: 20px;
}

/* ========================================
   service.php — 事業内容
======================================== */
.service-detail {
	background: #fff;
}

.service-list {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.service-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.service-item:nth-child(even) {
	direction: rtl;
}

.service-item:nth-child(even) > * {
	direction: ltr;
}

.service-item__img {
	overflow: hidden;
	border-radius: var(--radius-md);
}

.service-item__img img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	transition: .7s;
}

.service-item:hover .service-item__img img {
	transform: scale(1.05);
}

.service-item__num {
	display: block;
	font-size: 60px;
	font-weight: 800;
	line-height: 1;
	color: #e8e8e8;
	letter-spacing: -.02em;
	margin-bottom: -10px;
}

.service-item__en {
	font-size: 12px;
	letter-spacing: .2em;
	color: var(--color-sub);
	margin-top: 6px;
}

.service-item__content h2 {
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 700;
	margin-top: 4px;
}

.service-item__bar {
	display: block;
	width: 32px;
	height: 2px;
	background: var(--color-main);
	margin: 16px 0 20px;
}

.service-item__content p {
	font-size: 15px;
	line-height: 2;
	color: #555;
}

/* ========================================
   service.php — 施工事例
======================================== */
.works-sub {
	background: var(--color-bg);
}

.works-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 50px;
}

.works-card--hidden {
	display: none;
}

.works-card {
	background: #fff;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.works-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.works-card__img {
	display: block;
	height: 220px;
	overflow: hidden;
}

.works-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .6s;
}

.works-card:hover .works-card__img img {
	transform: scale(1.06);
}

.works-card__body {
	padding: 20px;
}

.works-card__tag {
	display: inline-block;
	font-size: 11px;
	letter-spacing: .1em;
	background: var(--color-main);
	color: #fff;
	padding: 3px 10px;
	border-radius: 2px;
	margin-bottom: 10px;
}

.works-card__title {
	font-size: 16px;
	font-weight: 600;
}

.works-card__sub {
	font-size: 13px;
	color: var(--color-sub);
	margin-top: 4px;
}
/*==詳細ページ====================================== */
.works-detail-head {
	text-align: center;
	padding: 60px 0 40px;
}
.works-detail-head .works-card__tag {
	font-size: 12px;
	padding: 4px 14px;
	margin-bottom: 16px;
	display: inline-block;
}
.works-detail-head__title {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: .05em;
	margin-bottom: 12px;
}
.works-detail-head__sub {
	color: #777;
	font-size: .95rem;
}
.works-detail-body {
	padding-bottom: 80px;
}
.works-ba-section {
	margin-bottom: 48px;
}
.works-ba-title {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 20px;
	border-radius: 40px;
	margin-bottom: 20px;
}
.works-ba-title.before { background: #e8eaf0; color: #444; }
.works-ba-title.after  { background: #2f3135; color: #fff; }
.works-ba-title.other  { background: #f5f5f3; color: #555; }
.works-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
}
.works-gallery li {
	list-style: none;
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 4/3;
}
.works-gallery li a {
	display: block;
	width: 100%;
	height: 100%;
}
.works-gallery li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.works-gallery li:hover img { transform: scale(1.04); }
.works-text-block {
	line-height: 1.9;
	margin-bottom: 28px;
	color: #444;
}
.works-back {
	text-align: center;
	margin-top: 60px;
}

/* ========================================
   company.php — 会社概要
======================================== */
.company-section {
	background: #fff;
}

.company-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin-top: 50px;
}

.company-table th,
.company-table td {
	padding: 20px 24px;
	text-align: left;
	border-bottom: 1px solid #eee;
	line-height: 1.8;
}

.company-table th {
	width: 180px;
	font-weight: 600;
	color: var(--color-main);
	white-space: nowrap;
}

.company-table tr:first-child th,
.company-table tr:first-child td {
	border-top: 1px solid #eee;
}

/* アクセス */
.access-section {
	background: var(--color-bg);
}

.access-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: start;
	margin-top: 50px;
}

.access-info p {
	font-size: 15px;
	line-height: 2;
}

.access-info address {
	font-style: normal;
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 2;
}

.access-map {
	border-radius: var(--radius-md);
	overflow: hidden;
	height: 320px;
	background: #ddd;
}

.access-map iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* ========================================
   company.php — お問合せ
======================================== */
.contact-form-section {
	background: #fff;
}

.contact-form-section .inner {
	max-width: 860px;
}

.cform {
	margin-top: 50px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cform__row {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 16px;
	align-items: start;
}

.cform__label {
	padding-top: 12px;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.cform__req {
	font-size: 11px;
	background: #c0392b;
	color: #fff;
	padding: 2px 6px;
	border-radius: 2px;
	letter-spacing: .05em;
}

.cform__opt {
	font-size: 11px;
	background: #aaa;
	color: #fff;
	padding: 2px 6px;
	border-radius: 2px;
	letter-spacing: .05em;
}

.cform input[type="text"],
.cform input[type="email"],
.cform input[type="tel"],
.cform select,
.cform textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	font-family: inherit;
	color: #333;
	background: #fafafa;
	transition: .3s;
	outline: none;
}

.cform input:focus,
.cform select:focus,
.cform textarea:focus {
	border-color: var(--color-main);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(47,49,53,.08);
}

.cform textarea {
	min-height: 180px;
	resize: vertical;
}

.cform__privacy {
	text-align: center;
	font-size: 14px;
	line-height: 1.8;
}

.cform__privacy a {
	text-decoration: underline;
	color: var(--color-main);
}

.cform__check {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
	cursor: pointer;
	font-size: 14px;
}

.cform__check input {
	width: 18px;
	height: 18px;
	accent-color: var(--color-main);
	cursor: pointer;
}

.cform__submit {
	text-align: center;
	margin-top: 10px;
}

.cform__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 300px;
	height: 64px;
	padding-inline: 40px;
	background: var(--color-main);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .05em;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: var(--transition);
	font-family: inherit;
}

.cform__btn::after {
	content: "→";
	font-size: 18px;
	transition: var(--transition);
}

.cform__btn:hover {
	opacity: .9;
	transform: translateY(-2px);
}

/* ========================================
   company.php — プライバシーポリシー
======================================== */
.privacy-section {
	background: var(--color-bg);
}

.privacy-body {
	max-width: 860px;
	margin: 50px auto 0;
}

.privacy-body h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 40px 0 12px;
	padding-left: 14px;
	border-left: 3px solid var(--color-main);
}

.privacy-body h3:first-child {
	margin-top: 0;
}

.privacy-body p {
	font-size: 14px;
	line-height: 2;
	color: #555;
}

.privacy-body ul {
	list-style: disc;
	padding-left: 20px;
	margin-top: 8px;
}

.privacy-body ul li {
	font-size: 14px;
	line-height: 2;
	color: #555;
}

/* ========================================
   news.php — 記事詳細
======================================== */
.news-detail-section {
	padding: 80px 0 100px;
	background: #fff;
}

.news-article {
	max-width: 860px;
	margin: 0 auto;
}

.news-article__head {
	border-bottom: 2px solid #eee;
	padding-bottom: 32px;
	margin-bottom: 48px;
}

.news-article__date {
	display: inline-block;
	font-size: 13px;
	letter-spacing: .08em;
	color: #999;
	margin-bottom: 16px;
}

.news-article__title {
	font-size: clamp(1.3rem, 3vw, 1.9rem);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .03em;
	color: #2f3135;
}

.news-article__bar {
	display: block;
	width: 40px;
	height: 3px;
	background: var(--color-main);
	margin-top: 24px;
}

/* 本文エリア */
.news-article__body {
	font-size: 15px;
	line-height: 2;
	color: #444;
}

.news-article__text {
	margin-bottom: 28px;
}

.news-article__text p {
	margin-bottom: 1.4em;
}

.news-article__text h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 2em 0 .8em;
	padding-left: 14px;
	border-left: 3px solid var(--color-main);
	color: #2f3135;
}

.news-article__text h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 1.8em 0 .6em;
	color: #2f3135;
}

.news-article__text ul,
.news-article__text ol {
	padding-left: 1.4em;
	margin-bottom: 1.2em;
}

.news-article__text li {
	margin-bottom: .5em;
}

.news-article__text a {
	color: var(--color-main);
	text-decoration: underline;
}

/* 画像・ファイル */
.news-article__file {
	margin: 28px 0;
	text-align: center;
}

.news-article__file img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.news-article__file a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	color: #444;
	transition: .3s;
}

.news-article__file a:hover {
	border-color: var(--color-main);
	color: var(--color-main);
}

/* 戻るボタンエリア */
.news-article__nav {
	max-width: 860px;
	margin: 60px auto 0;
	text-align: center;
}

.btn--outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 36px;
	border: 2px solid var(--color-main);
	border-radius: 8px;
	background: transparent;
	color: var(--color-main);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .05em;
	transition: .3s;
	text-decoration: none;
}

.btn--outline:hover {
	background: var(--color-main);
	color: #fff;
}

@media (max-width: 767px) {
	.news-detail-section {
		padding: 60px 0 80px;
	}
	.news-article__head {
		padding-bottom: 24px;
		margin-bottom: 32px;
	}
}

/* ========================================
  Newslist
======================================== */
#newsLists{
    list-style:none;
    margin:0;
    padding:0;
}

#newsLists li{
    border-bottom:1px solid #dcdcdc;
}

#newsLists li a{
    display:block;
    text-decoration:none;
    color:#222;
    padding:20px 0;
    transition:.3s;
}

#newsLists li a:hover{
    opacity:.7;
}

#newsLists .news-item{
    display:flex;
    align-items:center;
    gap:40px;
}

#newsLists .news-date{
    width:130px;
    flex-shrink:0;
    font-size:14px;
    letter-spacing:.05em;
    color:#888;
}

#newsLists .news-title{
    flex:1;
    font-size:15px;
    font-weight:500;
    line-height:1.8;
}


/* ========================================
   Responsive
======================================== */
@media (max-width: 915px) {
	.page-hero {
		height: 280px;
	}
}

@media (max-width: 820px) {
	/* Works grid */
	.works-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.works-card__img {
		height: 160px;
	}
}
@media (max-width: 767px) {

	/* Page Hero */
	.page-hero {
		height: 220px;
		padding: 0 20px;
	}
	.page-hero__en {
		font-size: 36px;
	}
	.page-hero__ja {
		font-size: 13px;
	}

	/* Service */
	.service-list {
		gap: 50px;
	}
	.service-item {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.service-item:nth-child(even) {
		direction: ltr;
	}
	.service-item__img img {
		height: 240px;
	}
	.service-item__num {
		font-size: 44px;
	}


	/* Company table */
	.company-table th,
	.company-table td {
		display: block;
		padding: 10px 16px;
	}
	.company-table th {
		width: 100%;
		border-bottom: none;
		padding-bottom: 4px;
		font-size: 13px;
		color: var(--color-sub);
	}
	.company-table td {
		padding-top: 4px;
		padding-bottom: 16px;
	}

	/* Access */
	.access-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.access-map {
		height: 240px;
	}

	/* Form */
	.cform__row {
		grid-template-columns: 1fr;
		gap: 6px;
	}
	.cform__label {
		padding-top: 0;
	}
	.cform__btn {
		min-width: 0;
		width: 100%;
	}
}
@media (max-width: 499px) {
	/* Works grid */
	.works-grid {
		grid-template-columns: repeat(1, 1fr);
		gap: 14px;
	}
}
/* ========================================
   Greeting（代表挨拶）
======================================== */
.greeting-section {
	padding: 80px 0;
	background: #faf9f7;
}
.greeting-layout {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 60px;
	align-items: flex-start;
	margin-top: 48px;
}
.greeting-img {
	position: sticky;
	top: 100px;
}
.greeting-img img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
	border-radius: 4px;
	display: block;
}
.greeting-body p {
	line-height: 2;
	margin-bottom: 1.2em;
	font-size: 15px;
	color: #444;
}
.greeting-body p:last-child {
	margin-bottom: 0;
}
.greeting-name {
	font-size: 14px !important;
	color: #888 !important;
	margin-bottom: 20px !important;
}
.greeting-name span {
	font-size: 20px;
	font-weight: 700;
	color: #2f3135;
	margin-left: 8px;
	letter-spacing: .05em;
}

@media (max-width: 768px) {
	.greeting-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.greeting-img {
		max-width: 220px;
		margin: 0 auto;
	}
}
@media screen and (max-width:480px){

    #newsLists .news-item{
        display:block;
    }

    #newsLists .news-date{
        width:100%;
        margin-bottom:8px;
    }

}