@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');
@import url("ress.css");
@import url("kiso.css");
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700&display=swap');

body {
	margin: 0;
	padding: 0;
	background: #f8f8f8;
	font-family: sans-serif;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

/* ===== ナビゲーション帯（黄色） ===== */
header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 25px 0 20px;
	height: 52px;
	background-color: #000000;
	position: sticky;
	top: 0;
	z-index: 100;
	transition: transform 0.3s ease;
}

header.hide {
	transform: translateY(-100%);
}

.nav-logo {
    display: flex;
    align-items: center;
	 margin-left: -3px; /* ← 数値を大きくするほど左に移動 */
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.nav-logo a:hover {
    opacity: 0.6;
}

.nav-logo-img {
    height: 33px;
    width: auto;
    display: block;
}

/* ===== ハンバーガーボタン（PC・SP両方で表示） ===== */
.hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0px;
	width: 30px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1100;
    position: relative;
	left: 8px; /* ←追加 */
}

.hamburger.open {
	top: 20px;
}

.hamburger:hover {
    opacity: 0.6;
}

.hamburger span {
	display: block;
	margin: 3px 0;
	width: 20px;
	height: 2px;
	background: #ffffff;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

/* メニューを開いたとき×ボタンは白に */
.hamburger.open span {
	background: #000;
}

.hamburger.open span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ===== 全画面オーバーレイメニュー ===== */
.nav-menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #fff;
	z-index: 1000;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.nav-menu.open {
	display: flex;
}

/* 赤い円 */
.nav-menu .circle {
    display: flex !important;
    width: min(80vmin, 600px);
    height: min(80vmin, 600px);
    aspect-ratio: 1 / 1;
    background: #000000;
    border-radius: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: -1vh;
    padding: 0;
    box-sizing: border-box;
}

.circle-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 5%;
}

/* ul（PCメニュー）は常に非表示 */
.nav-menu > ul {
	display: none !important;
}

/* .circle 内のリンク（直接 a タグ） */
.nav-menu .circle-inner > a:not(.nav-instagram) {
	position: relative;
	display: flex;
	align-items: center;
	font-family: "Aktiv Grotesk", sans-serif;
	font-size: clamp(14px, 4vmin, 30px);
	font-weight: 400;
	letter-spacing: 0.18em;
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.2s;
	padding-left: 24px;
	margin-left: -16px;
	-webkit-text-stroke: 2px #ffffff; /* ← 追加 */
}

/* ホバー時の白い丸（左側） */
.nav-menu .circle-inner > a:not(.nav-instagram)::before {
	content: '';
	position: absolute;
	left: 0;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #ffffff;
	opacity: 0;
	transform: scale(0.4);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-menu .circle-inner > a:not(.nav-instagram):hover::before {
	opacity: 1;
	transform: scale(1);
}

.nav-menu .circle-inner > a:not(.nav-instagram):hover {
	opacity: 0.8;
}

/* Instagram アイコン */
.nav-instagram {
	font-size: 32px;
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.2s;
	display: flex;
	align-items: center;
	margin-top: 2vmin;
	position: relative;
	padding-left: 24px;
	margin-left: -16px;
}

.nav-instagram::before {
    content: '';
    position: absolute;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #000000;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-instagram:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-instagram:hover {
	opacity: 0.6;
}

.nav-instagram i {
	font-size: 32px !important;
	width: auto !important;
	height: auto !important;
}

/* ===== メインコンテンツ ===== */
main {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px 25px;
	padding: 20px 20px 60px;
}

main a {
	display: block;
	overflow: hidden;
}

main img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

main a img:hover {
	transform: scale(1.2);
}

main a video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.sp-only { display: none !important; }
.pc-only { display: block; }

main a:hover video {
    transform: scale(1.2);
}

.thumb {
    overflow: hidden;
}

footer {
    text-align: center;
    padding: 0 0 60px;
    margin-top: auto;
}

.contact + footer,
.profile-main + footer {
    padding-bottom: 60px;
}

.page-content {
    padding: 20px 5vw 80px;
}

/* タイトル共通 */

.page-title {
    font-size: 40px;
    font-weight: 700;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.08em;
    text-align: center;

    margin-top: 20px;
    margin-bottom: 30px;
}

footer .cr {
	font-family: "Aktiv Grotesk", sans-serif;
	letter-spacing: 0.05em;
	font-size: 10px;
	color: #000000;
}

.contact,
.profile-main {
    flex: 1;
}

.animated-text {
	display: inline-block;
	overflow: hidden;
	white-space: pre-wrap;
	word-break: break-word;
}

.animated-text .char {
	display: inline-block;
	opacity: 0;
}

/* ===== 実績詳細ページ ===== */
main.wrap {
	display: block;
	padding-top: 20px;
	padding-left: 0px;
	padding-right: 0px;
}

.detail {
    display: block;
	align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0 4vw 0 4vw;
    padding-top: 0px;
}

h1 {
	font-size: 60px;
	text-align: center;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	-webkit-text-stroke: 0px #000;  /* 数値を大きくすると太く見える */
	letter-spacing: 0.02em;
	line-height: 1.2em;
	padding: 0;
}

.info {
    font-size: 14px;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 0.8;
    width: auto;
    padding: 0;
    position: static;
	padding-left: 0;
	padding-top: 5px;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rw {
	display: block;
	align-items: center;
	margin-bottom: 0.2em;
	justify-content: center;
}

.lbl {
	font-weight: 400;
	white-space: nowrap;
	padding-right: 0.4em;
	flex-shrink: 0;
	line-height: 1.4em;
}

.cnt {
	text-align: left;
	line-height: 1.4em;
	margin-right: 0px;
	font-weight: 400;
	flex: none;
}

.ph {
    display: none;
}

.info2 {
	font-size: 15px;
	font-family: "Yu Gothic", "YuGothic", sans-serif;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.3em;
	padding: 20px 0 15px;
}

.phw {
	max-width: 100%;
	margin: 0;
	padding-top: 45px;
	padding-left: 3vw;
	padding-right: 3vw;
}

.phw img {
    max-width: 700px;  /* ← 追加 */
    width: 72%;
    display: block;
    margin: 0 auto;
}

.phw-small img {
    width: 40%;  /* 縮小したい割合 */
    margin: 0 auto;
    display: block;
}

.phw-wide img {
    width: 72%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.credit {
	text-align: center;
    padding: 8px 35px;
    padding-left: 40px;
    font-size: 14px;
    font-family: "Aktiv Grotesk", sans-serif;
    font-weight: 400;   /* ← 太くする */
    letter-spacing: 0.05em;
	margin-top: 15px;
}

/* video */
main.wrap video {
    width: 72%;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 45px;
    display: block;
}

/* home btn */
.home {
	width: 35px;
	margin-top: -50px;
	margin-left: -100px;
}

.home img {
	width: 100%;
}

.home a img {
	transition: all 0.3s ease;
}

.home a:hover img {
	opacity: 0.5;
	transform: scale(1);
}

/* visit btn */
.visit-btn {
	display: inline-block;
	padding: 10px 24px;
	border: 1px solid #999;
	color: #333;
	text-decoration: none;
	font-family: 'Lexend', sans-serif;
	font-size: 14px;
	letter-spacing: 0.05em;
	transition: all 0.3s ease;
}

.visit-btn:hover {
	background-color: #f0f0f0;
	color: #000;
}

/* PageTop btn */
.pagetop {
	position: fixed;
	right: 2vw;
	bottom: -70px;
	opacity: 0;
	transition: all 0.4s ease;
	z-index: 9999;
}

.pagetop img {
	width: 100%;
}

.pagetop.show {
	bottom: 52px;
	opacity: 1;
}

/* Text Style */
.thumb {
	font-size: 13px;
	font-family: "Aktiv Grotesk", sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
}

.thumb p {
    padding-top: 0.8em; /* ← この数値で隙間を調整 */
}

/* ===== SP Style ===== */
@media screen and (max-width: 768px) {

	header {
		padding: 0 5vw;
		height: 47px;
		align-items: center;
	}

.nav-logo-img {
        height: 28px;
		margin-left: 6px;
    }

	/* SP：全画面オーバーレイはPCと同じスタイルを継承 */
	.hamburger {
    display: flex;
    width: 28px;
    height: 38px;
	left: -5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    margin: 3px 0;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(0.53em) rotate(45deg);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-0.53em) rotate(-45deg);
}

.nav-menu .circle-inner > a:not(.nav-instagram) {
    font-weight: 300;
    -webkit-text-stroke: 1.4px #ffffff;
}

	main {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1.5em 1em;
		padding: 1em;
		padding: 1.7em 5vw 4em;
	}

	.thumb {
    width: 96%;
    margin: 0 auto;
}

	/* 実績詳細ページ */
	main.wrap {
    display: block;
    padding-top: 0;
}

	/* home btn */
	.home {
		width: 8vw;
		margin: 0;
		padding-top: 3em;
	}

	.home img {
		width: 100%;
	}

	.home a img {
		transition: all 0.3s ease;
	}

	.detail {
    display: block;
    padding: 1.5em;
}

.detail .ph {
    display: none;
}

	h1 {
		font-size: 3em;
		line-height: 1.2em;
		padding: 5vh 0 5vh 0vw !important;
		margin: 0 !important;
	}

	.info {
    display: block;
    padding: 0;
}

	.rw {
		margin-bottom: 0.6em;
	}

	.cnt {
		margin-right: 0;
	}

	.info2 {
		font-size: 1em;
		line-height: 1.8em;
		padding-top: 4vh;
		padding-bottom: 8vh;
	}

	/* visit btn */
	.visit-btn {
		font-size: 1em;
	}

	.ph img {
		width: 100%;
	}

	main.wrap .ph {
    width: 100%;
    margin: 0 auto;
    padding: 0;
	padding-top: 20px;
    padding-bottom: 40px;
}

	.phw {
    padding: 0 0vw;
    margin: 0 auto;
    width: 100%;
    padding-top: 22px;
}

.phw img {
    width: 90%;
    display: block;
    margin: 0 auto;
}

main.wrap video {
    width: 90%;
    max-width: 100%;
    padding-top: 22px;
}

.sp-only { display: block !important; }
.pc-only { display: none !important; }

.credit {
    width: 90%;
    margin: 0 auto;
    padding: 5px 0 40px;
    text-align: center;
    font-size: 9px;
    line-height: 2;
}

.credit .info2 {
    padding-bottom: 10px;
    line-height: 1.5;
}

.credit p {
    margin: 0;
}

.credit .rw {
    display: block;
    text-align: center;
    margin-bottom: -6px;
}

.credit .lbl,
.credit .cnt {
    display: inline;
    margin: 0;
    padding: 0;
}

	/* PageTop btn */
	.pagetop {
		right: 4vw;;
		bottom: -5vh;
	}

	.pagetop.show {
		bottom: 4.5vh;
	}

	/* Text Style */
	.thumb {
		font-size: 0.9rem;
		letter-spacing: 0.05em;
	}

	.thumb p {
		padding: 0.5em 0 0 0;
	}

footer {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-bottom: 60px;
}

/* SP 共通ページ */
.page-content{
    padding:20px 8vw 70px;
}

.page-title{
    font-size:20px;
    margin-top:10px;
    margin-bottom:25px;
}


	footer .cr {
		font-size: 0.5rem;
		color: #000;  /* ← 今のデザインに合わせるなら黒 */
	}

	.phw-small img {
		width: 100%;
	}
	.nav-menu .circle {
    margin-top: -8vh;
}

.circle-inner {
    margin-top: 0;
}

.nav-instagram i {
    font-size: 24px !important;
}
}
