/* ABOUT.CSS — Variables replaced */

.about-hero {
		padding: calc(72px + 8rem) 0 3rem
}
.about-hero__grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8rem;
		align-items: center
}
.about-hero__title {
		font-size: clamp(3rem, 6vw, 5.5rem);
		overflow: hidden
}
.about-hero__title span {
		display: inline-block;
		transform: translateY(100%);
		animation: titleIn 1s cubic-bezier(.16, 1, .3, 1) .3s forwards
}
@keyframes titleIn {
		to {
				transform: translateY(0)
		}
}
.about-hero__intro {
		font-size: 1.05rem;
		line-height: 2;
		opacity: 0;
		animation: fadeUp .8s cubic-bezier(.16, 1, .3, 1) .6s forwards
}
@keyframes fadeUp {
		from {
				opacity: 0;
				transform: translateY(25px)
		}
		to {
				opacity: .7;
				transform: translateY(0)
		}
}
.about-hero__image {
		position: relative;
		aspect-ratio: 3/4;
		border: 1.5px solid #2D2926;
		overflow: hidden;
		opacity: 0;
		animation: fadeUp .8s cubic-bezier(.16, 1, .3, 1) .8s forwards
}
.about-hero__img-placeholder {
		width: 100%;
		height: 100%;
		background: linear-gradient(135deg, #EDE9E1, #E5E0D7);
		display: flex;
		align-items: center;
		justify-content: center
}
.about-hero__img-placeholder svg {
		width: 80px;
		height: 80px;
		opacity: .12;
		stroke: #2D2926
}
.about-hero__deco {
		position: absolute;
		z-index: 2;
		mix-blend-mode: multiply
}
.about-hero__deco--circle {
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: #D63426;
		opacity: .4;
		top: -15px;
		right: -15px;
		animation: breathe 4s ease-in-out infinite
}
.about-hero__deco--square {
		width: 40px;
		height: 40px;
		background: #EBB424;
		opacity: .4;
		bottom: 30px;
		left: -15px;
		animation: breathe 5s ease-in-out 1s infinite reverse
}
@keyframes breathe {
		0%, 100% {
				transform: scale(1)
		}
		50% {
				transform: scale(1.08)
		}
}

/* Profile */
.profile {
		padding: 8rem 0
}
.profile__grid {
		display: grid;
		grid-template-columns: 220px 1fr;
		gap: 8rem
}
.profile__sidebar-title {
		font-family: 'Space Grotesk', sans-serif;
		font-size: 1.4rem;
		font-weight: 700;
		position: sticky;
		top: calc(72px + 1.5rem)
}
.profile__details {
		display: grid;
		gap: 3rem
}
.profile__item {
		padding-bottom: 3rem;
		border-bottom: .5px solid rgba(45, 41, 38, .06)
}
.profile__item:last-child {
		border: none
}
.profile__label {
		font-family: 'DM Mono', monospace;
		font-size: .65rem;
		letter-spacing: .12em;
		text-transform: uppercase;
		color: #D63426;
		margin-bottom: .5rem
}
.profile__value {
		font-size: 1.05rem;
		line-height: 1.8
}
.profile__value a {
		color: #D63426;
		text-decoration: underline;
		text-underline-offset: 3px
}

/* Skills detail */
.skills-detail {
		padding: 8rem 0
}
.skills-detail__title {
		font-size: clamp(2rem, 4vw, 3rem);
		margin-bottom: 5rem
}
.skills-detail__grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem
}
.sd-card {
		border: 1.5px solid #2D2926;
		padding: 2.5rem;
		overflow: hidden;
		transition: border-color .4s ease;
		position: relative
}
.sd-card::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 3px;
		height: 0;
		background: #D63426;
		transition: height .5s cubic-bezier(.16,1,.3,1)
}
.sd-card:hover {
		border-color: #D63426
}
.sd-card:hover::after {
		height: 100%
}
.sd-card__header {
		display: flex;
		align-items: baseline;
		gap: .8rem;
		margin-bottom: 2rem;
		padding-bottom: 1rem;
		border-bottom: .5px solid rgba(45,41,38,.1)
}
.sd-card__num {
		font-family: 'DM Mono', monospace;
		font-size: .6rem;
		letter-spacing: .2em;
		color: #D63426;
		opacity: .7
}
.sd-card__name {
		font-family: 'Space Grotesk', sans-serif;
		font-size: 1rem;
		font-weight: 600;
		letter-spacing: -.01em
}

/* 修正10: スキルタグ表示（案B） */
.sd-card__tags {
		display: flex;
		flex-wrap: wrap;
		gap: .5rem
}
.sd-card__tag {
		font-family: 'DM Mono', monospace;
		font-size: .7rem;
		letter-spacing: .06em;
		padding: .4rem .85rem;
		border: 1px solid rgba(45, 41, 38, .12);
		color: #2D2926;
		transition: all .3s ease
}
.sd-card__tag:hover {
		border-color: #D63426;
		color: #D63426;
		background: rgba(214, 52, 38, .06)
}

/* Legacy list style kept for backwards compatibility */
.sd-card__list {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 0
}
.sd-card__list li {
		font-family: 'Noto Sans JP', sans-serif;
		font-size: .9rem;
		color: #2D2926;
		padding: .65rem 0;
		border-bottom: .5px solid rgba(45,41,38,.06);
		letter-spacing: .02em;
		transition: color .3s ease, padding-left .3s ease
}
.sd-card__list li:last-child {
		border-bottom: none
}
.sd-card:hover .sd-card__list li {
		padding-left: .4rem
}

/* Timeline */
.timeline {
		padding: 8rem 0
}
.timeline__title {
		font-size: clamp(2rem, 4vw, 3rem);
		margin-bottom: 5rem
}
.timeline__list {
		position: relative;
		padding-left: 3rem
}
.timeline__list::before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 1.5px;
		background: #D63426;
		opacity: .25
}
.timeline__item {
		position: relative;
		padding-bottom: 5rem
}
.timeline__item:last-child {
		padding-bottom: 0
}
.timeline__dot {
		position: absolute;
		left: calc(-3rem - 4px);
		top: 5px;
		width: 9px;
		height: 9px;
		background: #D63426;
		border-radius: 50%;
		border: 2px solid #F2EFE9
}
.timeline__date {
		font-family: 'DM Mono', monospace;
		font-size: .65rem;
		letter-spacing: .12em;
		text-transform: uppercase;
		color: #D63426;
		margin-bottom: .5rem
}
.timeline__item-title {
		font-family: 'Space Grotesk', sans-serif;
		font-size: 1.15rem;
		font-weight: 600;
		margin-bottom: .5rem
}
.timeline__item-desc {
		opacity: .5;
		font-size: .9rem;
		line-height: 1.8
}

/* ===== Responsive ===== */
@media(max-width:991px) {
		.about-hero {
				padding: calc(72px + 5rem) 0 3rem
		}
		.about-hero__grid {
				grid-template-columns: 1fr;
				gap: 3rem
		}
		.about-hero__image {
				max-width: 360px;
				aspect-ratio: 4/3
		}
		.profile {
				padding: 5rem 0
		}
		.profile__grid {
				grid-template-columns: 1fr;
				gap: 2rem
		}
		.profile__sidebar-title {
				position: static
		}
		.skills-detail {
				padding: 5rem 0
		}
		.skills-detail__title {
				margin-bottom: 4rem
		}
		.skills-detail__grid {
				grid-template-columns: 1fr
		}
		.timeline {
				padding: 5rem 0
		}
		.timeline__title {
				margin-bottom: 4rem
		}
}
@media(max-width:767px) {
		.about-hero {
				padding: calc(60px + 3.5rem) 0 3rem
		}
		.about-hero__deco--circle, .about-hero__deco--square {
				display: none
		}
		.profile {
				padding: 3.5rem 0
		}
		.skills-detail {
				padding: 3.5rem 0
		}
		.skills-detail__title {
				margin-bottom: 3rem
		}
		.timeline {
				padding: 3.5rem 0
		}
		.timeline__title {
				margin-bottom: 3rem
		}
		.timeline__list {
				padding-left: 1.5rem
		}
		.timeline__dot {
				left: calc(-1.5rem - 4px)
		}
		.timeline__item {
				padding-bottom: 3rem
		}
}
@media(max-width:480px) {
		.about-hero {
				padding: calc(60px + 3rem) 0 2.5rem
		}
		.profile {
				padding: 3rem 0
		}
		.skills-detail {
				padding: 3rem 0
		}
		.timeline {
				padding: 3rem 0
		}
}
