@charset "utf-8";
/* CSS Document */
  *, *::before, *::after { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; }

  body {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
  }
  /* スキップリンク */
  .skip-link {
    position: absolute;
    left: 16px; top: -48px;
    z-index: 10;
    padding: 8px 16px;
    background: var(--color-text);
    color: #fff;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: top 0.15s ease;
  }
  .skip-link:focus { top: 16px; }

  /* キーボードフォーカスの可視化 */
  a:focus-visible,
  :focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
  }

p {
	margin: 0;
}
p + p {
	margin-top: 10px;
}

.text--serif {
	font-family: var(--serif);
}

.shadow {
	box-shadow: var(--shadow);
}
.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.grid .pct img {
	width: 100%;
	height: auto;
}

.align-right {
	display: flex;
	justify-content: flex-end;
}

.text-s {
	font-size: var(--small-text);
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	max-width: 1400px;
	margin: 0 auto;
}


header .name {
	display: inline-block;
	margin-right: 1em;
	font-size: 1.1rem;
}
header .name--subtext {
	font-size: var(--tag-size);
}

header .header--inner-link {
	list-style-type: none;
	display: flex;
	margin: 0;
	padding: 0;
	font-size: var(--tag-size);
	color: var(--primary-text);
	text-decoration: none;
}
header .header--inner-link li:not(:last-child) {
	margin-right: 20px;
}

header .header--inner-link li a {
	color: var(--primary-text);
	text-decoration: none;
}

header .header--inner-link li a::after {
	display: inline-block;
	content:"";
	background: url("../images/arrow_down.svg");
	width: 24px;
	height: 24px;
	background-size: contain;
	vertical-align: middle;
}
header .header--inner-link li a:hover {
	text-decoration: underline;
}

h1,h2 {
	margin: 0;
	font-weight: normal;
}

dl {
	font-size: var(--small-text);
}
dl dt {
	display: inline-block;
	float: left;
	margin-right: 1.5em;
}

dl dd {
	display: block;
	margin-left: 0; 
}

.inner__box {
	margin: 0 auto;
	padding: 2em;
	max-width: 1400px;
}

.heroArea,#strength,#message{
	background: var(--bg);
}
.card__left, #career{
	background: var(--bg-gr-pale);
}
.card__right {
	background: var(--bg-red-pale);
}

.heroArea .inner__box{
    grid-template-columns: 1fr clamp(240px, 40%, 400px);
    align-items: center;
	max-width: 1200px;
}
.heroArea .text-container {
	text-align: center;
}
.heroArea h1 {
	margin-bottom: 1em;
	font-weight: normal;
	font-size: clamp(1.5rem, 3vw, 40px);
}
.heroArea .hero--text {
	font-size: clamp(0.875rem, 1.8vw, 1.25rem);
}

.text-accent {
	color: var(--text-accent);
}

.cardArea .grid {
	grid-template-columns: repeat(2,1fr);
	gap: 2em;
	margin: 0 auto;
}
.cardArea .grid section {
	padding: 1em;
	border-radius: 10px;
}

.cardArea .icon {
	width: 50px;
    height: 50px;
	margin-right: 10px;
    padding: 10px;
    border-radius: 50%;
    vertical-align: middle;
	
}

.card__left {
	border: 1px solid var(--bg-gr);
}
.card__left .left--eyebrow {
	color: var(--text-gr);
}

.card__left .left--eyebrow .icon {
	background-color: var(--bg-gr);
}

.card__right {
	border: 1px solid var(--bg-red);
}
.card__right .right--eyebrow {
	color: var(--text-accent);
}
.card__right .right--eyebrow .icon {
	background-color: var(--bg-red);
}

.cardArea .imageArea.grid {
	grid-template-columns: 1fr clamp(150px, 50%, 400px);
	gap: 10px;
}
.card__tag ul {
	display: flex;
	list-style-type: none;
	flex-wrap: wrap;
	padding: 0;
	gap: 6px;
	font-size: var(--tag-size);
}
.card__tag ul li {
	padding: 2px 6px;
	border-radius: var(--radius);
}
.card__tag.green ul li {
	background-color: var(--bg-gr);
}

.card__tag.red ul li {
	background-color: var(--bg-red);
}

.imageArea.grid-reverse .pct {
	grid-area: image;
}

.imageArea.grid-reverse .text-container {
	grid-area: text;
}

#works h2,
#strength h2,
#skills h2,
#career h2 {
	display: block;
	margin-bottom: 2em;
	color: var(--text-gr);
	font-size: 1.25rem;
	font-family: var(--serif);
	letter-spacing: 4px;
}

#works h2 span.title--subtext,
#strength h2 span.title--subtext,
#skills h2 span.title--subtext,
#career h2 span.title--subtext {
	display: block;
	color: var(--text-primary);
	font-size: 1rem;
	font-family: var(--sans) !important;
	letter-spacing: normal;
}


#works .imageArea.grid {
	grid-template-columns: 1fr clamp(300px, 50%, 600px);
	align-items: center;
	gap: 2em;
	margin: 1em auto;
	max-width: 1000px;
}
#works .border--top {
	margin-top: 2em !important;
	padding-top: 3em;
	border-top: 1px solid var(--text-primary);
}

#works .works--eyeblow {
	display: inline-block;
	margin-bottom: 5px;
	padding: 0 10px;
	border: 1px solid var(--text-primary);
	font-size: var(--tag-size);
	border-radius: 5px;
}

#works .imageArea.grid-reverse {
	grid-template-columns: clamp(300px, 50%, 600px) 1fr;
	grid-template-areas: "image text";
}

#works dl {
	margin-top: 1.5em;
	padding-top: 1.5em;
	border-top : 1px dotted var(--text-primary);
}

.work--link {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	color: var(--text-primary);
	font-size: 1rem;
	text-decoration: none;
}

.work--link::after {
	content: "";
	display: block;
	width: 130px;
	height: 1px;
	background: currentColor;
	transition: width 0.3s ease;
}

.work--link span::after {
	content: "→";
	display: inline-block;
	margin-left: 8px;
	transition: transform 0.3s ease;
}

.work--link:hover::after,
.work--link:focus-visible::after {
	width: 150px;
}

.work--link:hover span::after,
.work--link:focus-visible span::after {
  transform: translateX(6px);
}

.work--link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 6px;
}

#strength .inner__box.grid {
	grid-template-columns: 16% 84%;
}
#strength ul {
	list-style-type: none;
    grid-template-columns: repeat(auto-fit, minmax(247px, 1fr));
    padding: 0;
    gap: clamp(1em, 4vw, 6em);
}

#strength ul li {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#strength .bg-circle {
	margin-bottom: 10px;
	border: 1px solid var(--accent-red);
	background: #fff;
	border-radius: 50%;
}
#strength .icon {
	width: 60px;
	height: 60px;
	padding: 10px;
	vertical-align: middle;
	color: var(--accent-red);
}

#skills dl {
	display: grid;
	grid-template-columns: auto 1fr;
	margin-top: 2em;
}

#skills dl dt {
	display: flex;
	align-items: baseline;
}

#skills dl dt::after {
	content: "";
	flex: 1; 
	margin: 0 0.5em;
	border-bottom: 1px dotted #999;
	transform: translateY(-0.3em);
}
#skills dl dd {
	display: table-cell;
	padding-bottom: 1em;
}

#career dl {
	display: grid;
	grid-template-columns: 10em 1fr;
	row-gap: 3rem;
}
#career dl dt {
	position: relative;
	font-size: 1rem;
}
#career dl dt ::after {
	content: "";
	position: absolute;
	top: 2em;
	bottom: -3rem;
	left: 3em;
	width: 1px;
	background-image: linear-gradient(to bottom, #666 2px, transparent 2px);
	background-size: 1px 5px;
	background-repeat: repeat-y;
}

#career dl dd {
	margin: 0;
	font-size: var(--small-text);
}

#message .grid {
	align-items: center;
}

#message .text-container {
	text-align: center;
	font-family: var(--serif);
}

#message .pct {
	text-align: center;
}

#message .pct img {
	max-width: 360px;
}


.message--text {
	margin-bottom: 1rem;
	font-size: clamp(1.5rem, 3vw, 40px);
	color: var(--text-accent);
}

footer {
	padding: 1em;
	background-color: var(--bg-red);
	text-align: center;
}
	
	
/* PC */
/* タブレット */
@media screen and (max-width: 1024px) {
	
	.heroArea h1 {
	}
	.heroArea .text-container {
		min-width: 422px;
	}
	
	.cardArea .grid {
		grid-template-columns: 1fr;
	}
	.skills__area .grid {
		grid-template-columns: 1fr;
	}
	#skills dl,
	#career dl {
		max-width: 600px;
		margin: 2em auto;
	}
}

/* スマホ */
@media screen and (max-width: 767px) {
	header {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
	
	.heroArea .grid,
	#message .grid {
		grid-template-columns: 1fr;
	}
	
	.heroArea .pct img,
	#message .pct img{
		display: none;
	}
	
	.grid .pct img {
		max-width: 400px;
	}	
	#works .imageArea.grid {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
	}
	#works dl {
		padding-top: 0;
		border: none;
	}
	#works .text-container {
		width: 100%;
	}
	
	#skills dl {
		display: block;
	}
	#skills dl dt {
		display: list-item;
		float: none;
		margin-left: 1.5em;
	}
	#skills dl dd {
		display: block;
		padding-left: 1.5em;
	}
	#career dl {
		grid-template-columns: 10em 1fr;
	}
	#career dl dt {
		margin-right: 0.5em;
	}
	
}
@media screen and (max-width: 600px) {
	.heroArea h1 {
		font-size: 20px;
	}
	.heroArea .text-container {
		min-width: unset;
	}
	
	.cardArea .imageArea.grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.cardArea .imageArea .pct {
		text-align: center;
	}
}