@charset "utf-8";

:root {
	--navy: #071A4D;
	--text: #1F2A44;
	--blue-light: #EAF3FA;
	--blue-line: #AFC4D8;
	--orange: #F05A24;
	--white: #FFFFFF;
	--gray: #F7F9FB;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック", sans-serif;
	color: var(--text);
	background: linear-gradient(90deg, var(--blue-light) 0 88px, var(--blue-line) 88px 90px, var(--white) 90px 100%);
	letter-spacing: 0.06em;
	line-height: 1.9;
}

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

#Container {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	padding: 56px 0 40px 72px;
}

.site-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 56px;
}

.brand__en,
.section-label {
	position: relative;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--navy);
	letter-spacing: 0.12em;
	padding-bottom: 12px;
	margin-bottom: 18px;
}

.brand__en::after,
.section-label::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 360px;
	height: 2px;
	background: linear-gradient(90deg, var(--orange) 0 42px, var(--navy) 42px 100%);
}

.brand h1 {
	font-size: clamp(2.6rem, 8vw, 5.6rem);
	line-height: 1.28;
	font-weight: 900;
	color: var(--navy);
	letter-spacing: 0.09em;
}

.global-nav ul {
	display: flex;
	gap: 8px;
	list-style: none;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.global-nav a {
	display: block;
	padding: 10px 14px;
	border: 1px solid var(--blue-line);
	background: var(--white);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--navy);
	transition: 0.2s ease;
}

.global-nav a:hover,
.global-nav a.is-current {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--white);
}

#Main {
	display: grid;
	gap: 72px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 48px;
	align-items: center;
	padding: 40px 0 32px;
}

.hero h2,
.section-heading h2 {
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.45;
	font-weight: 900;
	color: var(--navy);
	letter-spacing: 0.08em;
}

.hero__lead,
.intro p,
.section-copy {
	max-width: 760px;
	margin-top: 26px;
	font-size: 1rem;
	font-weight: 500;
}

.hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 34px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 156px;
	padding: 12px 22px;
	border: 1px solid var(--navy);
	font-weight: 700;
	font-size: 0.95rem;
}

.button--primary {
	background: var(--navy);
	color: var(--white);
}

.button--ghost {
	background: var(--white);
	color: var(--navy);
}

.hero__panel {
	position: relative;
	padding: 40px 32px;
	border: 1px solid var(--blue-line);
	background: var(--gray);
	min-height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero__panel::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 34px;
	width: 6px;
	height: 38px;
	background: var(--orange);
}

.panel__small {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--navy);
	text-transform: uppercase;
}

.panel__large {
	margin-top: 18px;
	font-size: clamp(2.1rem, 4vw, 4.2rem);
	line-height: 1.12;
	font-weight: 900;
	color: var(--navy);
	letter-spacing: 0.04em;
}

.panel__note {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--blue-line);
	font-weight: 700;
	color: var(--text);
}

.intro,
.strength,
.works {
	padding-top: 8px;
}

.section-heading--row {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
	gap: 40px;
	align-items: end;
}

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

.strength-card,
.work-card__link {
	display: block;
	height: 100%;
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 26px;
}

.strength-card span {
	color: var(--orange);
	font-size: 0.85rem;
	font-weight: 900;
}

.strength-card h3,
.work-card h3 {
	margin-top: 12px;
	font-size: 1.25rem;
	line-height: 1.55;
	font-weight: 900;
	color: var(--navy);
}

.strength-card p,
.work-card p {
	margin-top: 12px;
	font-size: 0.92rem;
}

.work-card {
	list-style: none;
}

.work-card--featured {
	grid-column: span 2;
}

.work-card__link {
	position: relative;
	min-height: 260px;
	transition: 0.22s ease;
}

.work-card__link:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(7, 26, 77, 0.10);
	border-color: var(--navy);
}

.work-card__type {
	margin-top: 0 !important;
	font-size: 0.75rem !important;
	font-weight: 900;
	color: var(--orange);
	letter-spacing: 0.1em;
}

.work-card__link span {
	position: absolute;
	left: 26px;
	bottom: 22px;
	font-size: 0.9rem;
	font-weight: 900;
	color: var(--navy);
	border-bottom: 2px solid var(--orange);
}

footer {
	margin-top: 88px;
	padding-top: 24px;
	border-top: 1px solid var(--blue-line);
}

address {
	font-style: normal;
	font-size: 0.85rem;
	color: var(--navy);
}

@media screen and (max-width: 900px) {
	body {
		background: linear-gradient(90deg, var(--blue-light) 0 28px, var(--blue-line) 28px 30px, var(--white) 30px 100%);
	}

	#Container {
		width: min(100% - 32px, 760px);
		padding: 32px 0 32px 24px;
	}

	.site-header,
	.hero,
	.section-heading--row {
		grid-template-columns: 1fr;
		display: grid;
	}

	.global-nav ul {
		justify-content: flex-start;
	}

	.brand__en::after,
	.section-label::after {
		width: min(360px, 100%);
	}

	.strength__grid,
	.works__grid {
		grid-template-columns: 1fr;
	}

	.work-card--featured {
		grid-column: span 1;
	}

	.hero__panel {
		min-height: 260px;
	}
}

@media screen and (max-width: 520px) {
	#Container {
		width: calc(100% - 24px);
		padding-left: 20px;
	}

	.global-nav a {
		font-size: 0.78rem;
		padding: 8px 10px;
	}

	.hero h2,
	.section-heading h2 {
		font-size: 2rem;
	}

	.hero__actions,
	.button {
		width: 100%;
	}
}
/* ========================================
   画像タイトル・画像ボタン用 追加CSS
   base.css の一番下に追記してください
======================================== */

.site-header {
	display: block;
	margin-bottom: 56px;
}

.site-title {
	margin: 0 0 28px;
	line-height: 1;
}

.site-title img {
	width: min(945px, 100%);
	height: auto;
	display: block;
}

.global-nav ul {
	display: flex;
	gap: 0;
	list-style: none;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.global-nav li {
	width: 189px;
	height: 50px;
	margin: 0;
	padding: 0;
}

.global-nav a {
	position: relative;
	display: block;
	width: 189px;
	height: 50px;
	padding: 0;
	border: none;
	background: transparent;
	overflow: hidden;
}

.global-nav a:hover,
.global-nav a.is-current {
	border: none;
	background: transparent;
	color: inherit;
}

.nav-img {
	position: absolute;
	left: 0;
	top: 0;
	width: 189px;
	height: 50px;
	display: block;
	transition: opacity 0.18s ease;
}

.nav-img--on {
	opacity: 0;
}

.global-nav a:hover .nav-img--off,
.global-nav a.is-current .nav-img--off {
	opacity: 0;
}

.global-nav a:hover .nav-img--on,
.global-nav a.is-current .nav-img--on {
	opacity: 1;
}

.pagetop {
	text-align: right;
	margin-top: 32px;
}

.pagetop img {
	width: 70px;
	height: 70px;
	display: inline-block;
}

@media screen and (max-width: 900px) {
	.global-nav ul {
		justify-content: flex-start;
	}
}

@media screen and (max-width: 520px) {
	.global-nav li,
	.global-nav a {
		width: 50%;
		max-width: 189px;
	}

	.nav-img {
		width: 100%;
		height: 50px;
		object-fit: cover;
	}
}


/* ========================================
   kadai01.html 豊田シルバー 詳細ページ用
======================================== */

.work-detail {
	display: grid;
	gap: 64px;
}

.work-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 42px;
	align-items: center;
	padding: 20px 0 8px;
}

.work-hero__text h2 {
	font-size: clamp(2.3rem, 5vw, 4.6rem);
	line-height: 1.32;
	font-weight: 900;
	color: var(--navy);
	letter-spacing: 0.08em;
}

.work-hero__subtitle {
	margin-top: 18px;
	font-size: 1.15rem;
	font-weight: 900;
	color: var(--navy);
}

.work-hero__lead {
	margin-top: 22px;
	max-width: 760px;
	font-size: 1rem;
	font-weight: 500;
}

.work-hero__image {
	position: relative;
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 18px;
}

.work-hero__image::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 28px;
	width: 6px;
	height: 42px;
	background: var(--orange);
}

.work-hero__image img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--blue-line);
	background: var(--gray);
}

.work-hero__caption {
	margin-top: 12px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--text);
}

.work-summary {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.summary-card {
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 22px;
	min-height: 150px;
}

.summary-card span {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--orange);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.summary-card h3 {
	font-size: 1.12rem;
	line-height: 1.5;
	color: var(--navy);
	font-weight: 900;
}

.summary-card p {
	margin-top: 10px;
	font-size: 0.9rem;
}

.detail-section {
	padding-top: 4px;
}

.detail-section h3 {
	position: relative;
	color: var(--navy);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	line-height: 1.45;
	font-weight: 900;
	padding-bottom: 14px;
	margin-bottom: 26px;
}

.detail-section h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 260px;
	height: 2px;
	background: linear-gradient(90deg, var(--orange) 0 42px, var(--navy) 42px 100%);
}

.detail-table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid var(--blue-line);
}

.detail-table th,
.detail-table td {
	border-bottom: 1px solid var(--blue-line);
	padding: 22px 18px;
	vertical-align: top;
}

.detail-table th {
	width: 190px;
	color: var(--navy);
	font-weight: 900;
	text-align: left;
	background: var(--gray);
}

.detail-table td {
	background: var(--white);
}

.detail-table ul {
	padding-left: 1.2em;
}

.detail-table li {
	margin-bottom: 6px;
}

.process-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	counter-reset: process;
}

.process-card {
	position: relative;
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 24px 20px 22px;
	min-height: 200px;
}

.process-card::before {
	counter-increment: process;
	content: "0" counter(process);
	display: inline-block;
	margin-bottom: 12px;
	color: var(--orange);
	font-size: 0.85rem;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.process-card h4 {
	color: var(--navy);
	font-size: 1.08rem;
	font-weight: 900;
	line-height: 1.5;
}

.process-card p {
	margin-top: 10px;
	font-size: 0.9rem;
}

.note-box {
	border: 1px solid var(--blue-line);
	border-left: 6px solid var(--orange);
	background: var(--gray);
	padding: 26px;
}

.note-box h3 {
	margin: 0 0 12px;
	padding: 0;
	font-size: 1.35rem;
}

.note-box h3::after {
	display: none;
}

.note-box p {
	font-weight: 500;
}

.tool-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
	padding-left: 0 !important;
	list-style: none;
}

.tool-list li {
	border: 1px solid var(--blue-line);
	background: var(--white);
	color: var(--navy);
	font-weight: 900;
	padding: 6px 12px;
	margin: 0;
}

@media screen and (max-width: 900px) {
	.work-hero,
	.work-summary,
	.process-list {
		grid-template-columns: 1fr;
	}

	.detail-table th,
	.detail-table td {
		display: block;
		width: 100%;
	}

	.detail-table th {
		border-bottom: none;
		padding-bottom: 8px;
	}

	.detail-table td {
		padding-top: 10px;
	}
}

@media screen and (max-width: 520px) {
	.work-detail {
		gap: 48px;
	}

	.work-hero__image,
	.summary-card,
	.process-card,
	.note-box {
		padding: 18px;
	}

	.detail-section h3::after {
		width: min(260px, 100%);
	}
}


/* ========================================
   トップページ修正：右側の空白を消す
   hero--single は1カラム・横幅いっぱいで表示
   ※この指定は必ず base.css の一番下に置く
======================================== */

#Main > .hero.hero--single {
	display: block !important;
	grid-template-columns: unset !important;
	gap: 0 !important;
	width: 100% !important;
	max-width: none !important;
	padding: 40px 0 32px;
}

#Main > .hero.hero--single .hero__text {
	width: 100% !important;
	max-width: none !important;
}

#Main > .hero.hero--single .hero__lead {
	max-width: 900px;
}

#Main > .hero.hero--single .hero__actions {
	max-width: 900px;
}

/* 万一HTMLに残っていても表示しない */
#Main > .hero.hero--single .hero__panel {
	display: none !important;
}
/* ========================================
   豊田シルバー 作品画像表示用
   base.css の一番下に追記してください
======================================== */

.work-showcase {
	display: grid;
	gap: 14px;
	align-content: start;
}

.showcase-subgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.showcase-card,
.portfolio-image-card {
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 10px;
}

.showcase-card img,
.portfolio-image-card img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--blue-line);
	background: var(--gray);
}

.showcase-card figcaption,
.portfolio-image-card figcaption {
	margin-top: 8px;
	font-size: 0.82rem;
	font-weight: 900;
	color: var(--navy);
	text-align: center;
}

.portfolio-image-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.portfolio-image-card--large,
.portfolio-image-card--wide {
	grid-column: span 2;
}

.portfolio-image-card--large img {
	max-height: 760px;
	object-fit: contain;
}

.portfolio-image-card--wide img {
	max-height: 520px;
	object-fit: contain;
}

@media screen and (max-width: 900px) {
	.showcase-subgrid,
	.portfolio-image-grid {
		grid-template-columns: 1fr;
	}

	.portfolio-image-card--large,
	.portfolio-image-card--wide {
		grid-column: span 1;
	}
}

/* ========================================
   kadai01 右上A2ポスター画像サイズ調整
   base.css の一番下に追記してください
======================================== */

.work-hero__image--small {
	width: 50%;
	justify-self: end;
}

@media screen and (max-width: 900px) {
	.work-hero__image--small {
		width: 100%;
		justify-self: stretch;
	}
}
/* ========================================
   楠木珈琲店 作品画像表示用
   base.css の一番下に追記してください
======================================== */

.portfolio-image-grid--single {
	grid-template-columns: 1fr;
}

.portfolio-image-grid--single .portfolio-image-card--wide {
	grid-column: span 1;
}

.portfolio-image-grid--single img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
/* ========================================
   さなげ農園 動画ページ用
   base.css の一番下に追記してください
======================================== */

.movie-thumb a {
	display: block;
}

.movie-section {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 24px;
	align-items: start;
}

.movie-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--blue-line);
	background: var(--gray);
	overflow: hidden;
}

.movie-embed iframe {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.qr-card {
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 18px;
	text-align: center;
}

.qr-card img {
	width: 100%;
	max-width: 220px;
	height: auto;
	margin: 0 auto;
}

.qr-card figcaption {
	margin-top: 10px;
	font-size: 0.9rem;
	font-weight: 900;
	color: var(--navy);
}

@media screen and (max-width: 900px) {
	.movie-section {
		grid-template-columns: 1fr;
	}

	.qr-card img {
		max-width: 180px;
	}
}

/* ========================================
   名古屋城・和ページ用
   base.css の一番下に追記してください
======================================== */

.work-visual-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: 24px;
	align-items: start;
	margin-bottom: 32px;
}

.work-visual-row--flyer {
	grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.portfolio-image-card {
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 12px;
}

.portfolio-image-card img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--blue-line);
	background: var(--gray);
}

.portfolio-image-card figcaption {
	margin-top: 8px;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 900;
	color: var(--navy);
}

.flyer-card img {
	max-height: 720px;
	object-fit: contain;
}

.qr-placeholder {
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 18px;
	text-align: center;
}

.qr-placeholder__title {
	color: var(--navy);
	font-weight: 900;
	margin-bottom: 12px;
}

.qr-placeholder__box {
	display: grid;
	place-items: center;
	width: 160px;
	height: 160px;
	margin: 0 auto 12px;
	border: 2px dashed var(--blue-line);
	background: var(--gray);
	color: var(--text);
	font-weight: 900;
}

.qr-placeholder__note {
	font-size: 0.9rem;
	font-weight: 900;
	color: var(--navy);
}

.note-box--side {
	align-self: stretch;
}

@media screen and (max-width: 900px) {
	.work-visual-row,
	.work-visual-row--flyer {
		grid-template-columns: 1fr;
	}

	.qr-placeholder__box {
		width: 140px;
		height: 140px;
	}
}

.nowrap {
	white-space: nowrap;
}

.intro p + p {
	margin-top: 14px;
}

/* ========================================
   さなげ農場：動画サムネイル表示の修正
   base.css の一番下に追記してください
======================================== */

/* iframe用の拡大・切り抜き表示を使わず、画像全体が見えるカードにする */
.movie-section--thumbnail {
	display: grid;
	grid-template-columns: minmax(0, 700px) 220px;
	gap: 24px;
	align-items: start;
}

.movie-link-card {
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 12px;
	text-align: center;
}

.movie-link-card img {
	display: block;
	width: 100%;
	max-width: 700px;
	height: auto;
	object-fit: contain;
	border: 1px solid var(--blue-line);
	background: var(--gray);
}

.movie-link-card__text {
	margin: 12px 0 14px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--text);
}

.movie-link-card .button {
	margin: 0 auto 6px;
}

.qr-card {
	border: 1px solid var(--blue-line);
	background: var(--white);
	padding: 18px;
	text-align: center;
}

.qr-card img {
	display: block;
	width: 100%;
	max-width: 180px;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

.qr-card figcaption {
	margin-top: 10px;
	font-size: 0.9rem;
	font-weight: 900;
	color: var(--navy);
}

/* 以前のiframe用CSSが残っていても、このページでは効かせない */
.movie-section--thumbnail .movie-embed {
	position: static;
	aspect-ratio: auto;
	overflow: visible;
}

@media screen and (max-width: 900px) {
	.movie-section--thumbnail {
		grid-template-columns: 1fr;
	}

	.qr-card img {
		max-width: 160px;
	}
}


/* ========================================
   index.html 修正：Profile改行とWorks 2×2表示
   既存指定より後ろに置いて上書きする
======================================== */

.profile-text {
	max-width: 980px;
	margin-top: 26px;
}

.profile-line {
	display: block;
	max-width: none !important;
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 2;
	letter-spacing: 0.035em;
}

.profile-line + .profile-line {
	margin-top: 10px;
}

.works__grid.works__grid--four {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 22px;
}

.works__grid.works__grid--four .work-card,
.works__grid.works__grid--four .work-card--featured {
	grid-column: auto !important;
}

.works__grid.works__grid--four .work-card__link {
	min-height: 260px;
}

@media screen and (max-width: 900px) {
	.works__grid.works__grid--four {
		grid-template-columns: 1fr !important;
	}

	.profile-line {
		line-height: 1.9;
	}
}
