@charset "UTF-8";
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: "ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.6;
}

h2 {
	margin-bottom: 60px;
    font-size: 36px;
    font-weight: 600;
	text-align: center;
    color: #222;
}

p



.hero {
	background-size: cover;
	background-position: center;
	height: 100vh;
	color: white;
	position: relative;
}
.hero {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: opacity 0.3s ease-in-out;
	}

.hero-overlay {
	background-color: rgba(0, 0, 0, 0.4);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.hero-content {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-left: 5%;
	max-width: 800px;
}
.mission {
	font-size: 14px;
	letter-spacing: 1px;
	margin-bottom: 15px;
}
.hero-text {
	font-size: 24px;
	/* line-height: 2; */
	white-space: pre-line;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	height: 40px;         /* ロゴの高さを固定（調整可） */
	width: auto;          /* 横比率は自動 */
	display: block;       /* 余計な余白を防ぐ */
}

.wrap {
	display: block;
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
}



/** works
********************/
.works {
	padding: 0 0 70px;
	background: #fff;
}

.works .wrap {
	display: flex;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	gap: 40px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.work-card {
	width: calc(50% - 20px);
	padding: 0 0 20px;
}

.work-card a.card-img {
	display: block;
	margin-bottom: 20px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.work-card a.card-img img {
	width: 100%;
	display: block;
}

.work-card h3 {
	margin: 16px 0 5px;
	color: #111;
	font-size: 16px;
	font-weight: bold;
}

.work-card h3 a {
	color: #000;
}

.work-card p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}
.tag {
	display: inline-block;
	background: #000;
	color: #fff;
	font-size: 12px;
	padding: 6px 12px;
	border-radius: 20px;
}
@media screen and (max-width: 750px) {
	.works .wrap {
		padding: 0 3%;
	}
	.work-card {
		width: 100%;
	}
}



/** works_page
********************/
#works_page {
	padding: 100px 0;
}
#works_page .works_siteimg {
    width: 70%;
    margin: 0 auto;
}
#works_page .works_siteimg_typesm {
    width: 30%;
    margin: 0 auto;
}
#works_page .works_siteimg img,
#works_page .works_siteimg_typesm img {
	width: 100%;
}
#works_page table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }
#works_page th,
#works_page td {
	border: 1px solid #e0e0e0;
	padding: 20px 16px;
	font-size: 15px;
	color: #333;
	text-align: left;
	vertical-align: top;
}
#works_page th {
	background-color:#f6f4f4;
	white-space: nowrap;
	width: 180px;
	font-weight: bold;
}
#works_page td {
	background-color: #fff;
}

@media screen and (max-width: 750px) {
	#works_page .wrap {
		padding: 0 3%;
	}
	#works_page .works_siteimg {
		width: 85%;
	}
	#works_page .works_siteimg_typesm {
		width: 60%;
	}
	#works_page th,
	#works_page td {
		display: block;
		width: 100%;
	}
	#works_page th {
		background-color: #f0f0f0;
	}
	#works_page tr {
		display: block;
	}
}











/** footer
********************/
footer {
	background-color: #1f1f1f;
	color: #eee;
	padding: 40px 20px;
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 14px;
}

.footer-wrap {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 30px;
}

.footer-left {
	flex: 1;
	min-width: 280px;
}

.footer-logo {
	width: 120px;
	margin-bottom: 16px;
}

.footer-left p {
	line-height: 1.8;
	color: #ccc;
}

.footer-right {
	flex: 1;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.footer-menu,
.footer-policy {
	display: flex;
    justify-content: flex-end;
	width: 100%;
	gap: 20px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 10px 0;
}

.footer-menu a,
.footer-policy a {
	color: #ddd;
	text-decoration: none;
	font-size: 14px;
}

.footer-menu a:hover,
.footer-policy a:hover {
	text-decoration: underline;
}

.footer-copy {
	width: 100%;
	margin-top: 20px;
	font-size: 12px;
	color: #aaa;
	text-align: right;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	.footer-wrap {
		flex-direction: column;
		align-items: flex-start;
	}
	.footer-menu,
	.footer-policy {
		flex-direction: column;
		gap: 6px;
	}
}







.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
    background-color: #fff;
	padding: 20px 40px 20px 20px;
	transition: background-color 0.4s ease; /* ← フェード効果 */
}

.header-inner {
	/* max-width: 1200px; */
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 48px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav a {
	text-decoration: none;
	color: #333;
}

.nav .cta {
	background: linear-gradient(to right, #ff6a00, #ff4500);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
}


/* --- スクロール後 --- */
.site-header.scrolled {
	background-color: #fff;
}
.scrolled .nav a {
	color: #333;
}
.scrolled .nav a:last-child {
	color: #FFF;
}


@media (max-width: 750px) {
	.hamburger {
		display: flex;
	}

	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 25px;
		height: 25px;
		position: relative;
		cursor: pointer;
		z-index: 1100;
	}

	.hamburger.active span {
		background-color: #333;
	}

	.hamburger span {
		display: block;
		position: absolute;
		width: 100%;
		height: 3px;
		background-color: #333;
		transition: 0.5s ease;
		border-radius: 2px;
	}

	.hamburger span:nth-child(1) {
		top: 4px;
	}

	.hamburger span:nth-child(2) {
		top: 11px;
	}

	.hamburger span:nth-child(3) {
		top: 18px;
	}

	/** 開いた時の状態 **/
	.hamburger.active span:nth-child(1) {
		transform: rotate(45deg);
		top: 11px;
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		transform: rotate(-45deg);
		top: 11px;
	}

	.nav {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		background: #fff;
		justify-content: center;
		flex-direction: column;
		align-items: center;
		padding: 20px 0;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		height: 100vh;
		gap: 40px;
	}

	.nav a {
		font-size: 17px;
		color: #333;
	}

	.nav.open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	/** 開いた時の状態 **/
	.site-header.scrolled .hamburger span {
		background: #333;
	}
}
