body {
	font-family: 'M PLUS 1p', sans-serif;
	margin: 0;
	background-color: #fff;
}
/* ヒーローセクション */
.hero {
	position: relative;
	height: 100vh;
	overflow: hidden;
	color: white;
}
.hero h1 {
	margin-bottom: 1rem;
}
.hero p {
	margin-bottom: 2.5rem;
}
.hero-bg img {
	width: 100%;
	height: auto;
	object-fit: cover;
}
.hero-slider {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 0;
}
.slide {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 0;
}
.zoom-left {
	transform-origin: left center;
}
.zoom-right {
	transform-origin: right center;
}
.zoom-out {
	transform-origin: center center; transform: scale(0.95);
}
.hero-darken {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 1;
	pointer-events: none;
}
.hero-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1rem;
	color: white;
}
.logo {
	max-width: 5%;
	height: auto;
	vertical-align: middle;
	position: relative;
	top: -0.2em;
}
.cta-startbutton,
.cta-button,
.cta-button2 {
	background: #0072bc;
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	transition: background 0.3s ease;
}
.cta-startbutton:hover,
.cta-button:hover,
.cta-button2:hover {
	background: #005fa3;
}
.hero-copy span {
	display: inline-block;
	text-align: center;
	opacity: 0;
	transform: translateY(30px);
	animation: floatIn 0.6s ease-out forwards;
}

@keyframes floatIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.hero-copy .logo {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeUpLogo 0.6s ease-out forwards;
	animation-delay: 0.8s;
}
@keyframes fadeUpLogo {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.hero-overlay p,
.cta-startbutton,
.hero-overlay .cta-button,
.hero-overlay .cta-button2 {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 0.8s ease-out forwards;
	animation-delay: 1.2s;
}
@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* 製品紹介 */
.products {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 2rem 1rem;
}
.product-card {
	background: white;
	border-radius: 8px;
	padding: 1.5rem;
	text-align: center;
	opacity: 0;
}
.product-card.highlight {
	background: white;
	border-radius: 8px;
}
.product-card h2 {
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #555555;
	margin-bottom: 2.5rem;
}
.product-card p {
	line-height: 1.7;
	margin-bottom: 1em;
	color: #666;
}
.product-card1,
.product-card2,
.product-card3,
.product-card4 {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.product-content {
	display: flex;
	flex-direction: row;
	gap: 6rem;
	align-items: flex-start;
	width: 90vw;
	margin: 0 auto;
	background: linear-gradient(to right, #fdfcf9 0%, #f3f0ea 50%, #e5e1d8 100%);
	padding: 2rem;
	border-radius: 14px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}
.product-card1.in-view,
.product-card2.in-view,
.product-card3.in-view,
.product-card4.in-view {
	opacity: 1;
	transform: translateY(0);
}
.product-text {
	flex: 1.2;
	min-width: 250px;
	opacity: 0;
}
.product-card .question-text {
	font-weight: 500;
	letter-spacing: 0.03em;
	color: #3a3a3a;
	line-height: 1.5;
	margin-bottom: 1em !important;
	margin-bottom: 2.5rem;
}
.product-card .answer-text {
	line-height: 1.8;
	margin-bottom: 2.5rem;
	color: #444;
}
.product-image {
	margin-top:80px;
	flex: 1.2;
	width: 20vw;
	height: 100%;
}
.product-image img {
	width: 90%;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	box-sizing: border-box;
	opacity: 0;
	transform: scale(0.98) translateX(-20px);
}

/* CASIA2 */
.product-card1.in-view .product-text {
	animation: fadeReveal1 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes fadeReveal1 {
	0% {
		opacity: 0;
		filter: blur(4px);
		text-shadow: 0 0 6px rgba(0, 0, 0, 0.04);
	}
	50% {
		opacity: 0.7;
		filter: blur(1px);
	}
	100% {
		opacity: 1;
		filter: blur(0);
		text-shadow: none;
	}
}
.product-card1.in-view .swiper-slide.product-card1-1 img {
	animation: zoomSlideIn1-1 1s ease-out forwards;
	animation-delay: 0.4s;
}
@keyframes zoomSlideIn1-1 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.swiper-slide.product-card1-2.in-view img {
	animation: zoomSlideIn1-2 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes zoomSlideIn1-2 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.swiper-slide.product-card1-3.in-view img {
	animation: zoomSlideIn1-3 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes zoomSlideIn1-3 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.modal {
	display: none;
	position: 
	fixed;
	z-index: 9999;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
}
.modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 800px;
	width: 80%;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 20px #000;
	padding: 0;
	overflow: hidden;
}
.modal-content video {
	display: block;
	width: 100%;
	heigth: auto;
	border-radius: 0;
}
.close-button {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	color: #fff;
	background-color: transparent;
	border: none;
	cursor: pointer;
	z-index: 10001;
}
.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: #FFFFFF;
	clip-path: polygon(30% 20%, 30% 80%, 80% 50%);
}
/* OA-2000 */
.product-card2.in-view .product-text {
	animation: fadeReveal2 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes fadeReveal2 {
	0% {
		opacity: 0;
		filter: blur(4px);
		text-shadow: 0 0 6px rgba(0, 0, 0, 0.04);
	}
	50% {
		opacity: 0.7;
		filter: blur(1px);
	}
	100% {
		opacity: 1;
		filter: blur(0);
		text-shadow: none;
	}
}
.product-card2.in-view .swiper-slide.product-card2-1 img {
	animation: zoomSlideIn2-1 1s ease-out forwards;
	animation-delay: 0.4s;
}
@keyframes zoomSlideIn2-1 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.swiper-slide.product-card2-2.in-view img {
	animation: zoomSlideIn2-2 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes zoomSlideIn2-2 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.swiper-slide.product-card2-3.in-view img {
	animation: zoomSlideIn2-3 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes zoomSlideIn2-3 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.product-card2 .product-image .swiper {
	position: relative;
	height: 100%;
	min-height: 37vw;
}
/* MR-6000 */
.product-card3.in-view .product-text {
	animation: fadeReveal3 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes fadeReveal3 {
	0% {
		opacity: 0;
		filter: blur(4px);
		text-shadow: 0 0 6px rgba(0, 0, 0, 0.04);
	}
	50% {
		opacity: 0.7;
		filter: blur(1px);
	}
	100% {
		opacity: 1;
		filter: blur(0);
		text-shadow: none;
	}
}
.product-card3.in-view .swiper-slide.product-card3-1 img {
	animation: zoomSlideIn3-1 1s ease-out forwards;
	animation-delay: 0.4s;
}
@keyframes zoomSlideIn3-1 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.swiper-slide.product-card3-2.in-view img {
	animation: zoomSlideIn3-2 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes zoomSlideIn3-2 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.swiper-slide.product-card3-3.in-view img {
	animation: zoomSlideIn3-3 1s ease-out forwards;
	animation-delay: 0.2s;
}
.product-card3 .product-image .swiper {
	position: relative;
	height: 100%;
	min-height: 39.5vw;
}
@keyframes zoomSlideIn3-3 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
/* UD-9000 */
.product-card4.in-view .product-text {
	animation: fadeReveal4 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes fadeReveal4 {
	0% {
		opacity: 0;
		filter: blur(4px);
		text-shadow: 0 0 6px rgba(0, 0, 0, 0.04);
	}
	50% {
		opacity: 0.7;
		filter: blur(1px);
	}
	100% {
		opacity: 1;
		filter: blur(0);
		text-shadow: none;
	}
}
.product-card4.in-view .swiper-slide.product-card4-1 img {
	animation: zoomSlideIn4-1 1s ease-out forwards;
	animation-delay: 0.4s;
}
@keyframes zoomSlideIn4-1 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.swiper-slide.product-card4-2.in-view img {
	animation: zoomSlideIn4-2 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes zoomSlideIn4-2 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.swiper-slide.product-card4-3.in-view img {
	animation: zoomSlideIn4-3 1s ease-out forwards;
	animation-delay: 0.2s;
}
@keyframes zoomSlideIn4-3 {
	to {
		opacity: 1;
		transform: scale(1) translateX(0);
	}
}
.product-card4 .product-image .swiper {
	position: relative;
	height: 100%;
}







/* TOMEYってどんな会社 */
.about {
	position: relative;
	padding: 3rem 1.5rem;
	text-align: center;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
	overflow: hidden;
}
.tomey-shapes {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
}
.shape {
	position: absolute;
	opacity: 0.8;
}
.square {
	position: absolute;
	background-color: #4287f5;
	width: 24px;
	height: 24px;
	top: 30px;
	left: -120px;
	opacity: 0.9;
	transform: rotate(15deg);
}
.semicircle {
	width: 28px;
	height: 19px;
	background-color: #50d890; /* 緑系 */
	border-top-left-radius: 18px;
	border-top-right-radius: 18px;
	transform: rotate(-20deg);
	top: 20px;
	left: -30px;
}
.triangle {
	width: 0;
	height: 0;
	border-bottom: 21px solid #e64e4e; /* 赤系 */
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	transform: rotate(25deg);
	top: 35px;
	right: -100px;
}
.about-heading::before {
	content: "「";
	font-size: 2rem;
	transform: rotate(-10deg);
	display: inline-block;
	color: #444;
	margin-right: 0.2em;
}
.about-heading::after {
	content: "」";
	font-size: 2rem;
	transform: rotate(10deg);
	display: inline-block;
	color: #444;
	margin-left: 0.2em;
}
.about h2 {
	font-size: 1.6rem;
	font-weight: 600;
	color: #444;
	margin-bottom: 1rem;
	border-bottom: 1px solid #ccc;
	display: inline-block;
	padding-bottom: 0.3rem;
}
.about p {
	font-size: 1.1rem;
	color: #3a3a3a;
	line-height: 1.8;
	margin-bottom: 1.2rem;
	font-style: italic;
}
/* フッター */
.footer {
	background: #e0e0e0;
	text-align: center;
	padding: 2rem 1rem;
}
.recruit-link {
	background: #0072bc;
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
}
.recruit-link:hover {
	background: #005fa3;
}
/* オブジェクトのアニメーション */
.tomey-shapes .shape {
	display: inline-block;
	opacity: 0;
	transform: scale(0.5);
}
.tomey-shapes .shape:nth-child(1) { animation-delay: 0.2s; }
.tomey-shapes .shape:nth-child(2) { animation-delay: 0.4s; }
.tomey-shapes .shape:nth-child(3) { animation-delay: 0.6s; }
.tomey-shapes.in-view .shape {
  animation: shapePop 0.6s ease-out forwards;
}
@keyframes shapePop {
	0% {
		opacity: 0;
		transform: scale(0.5) translateY(30px);
	}
	60% {
		opacity: 1;
		transform: scale(1.1) translateY(-10px);
	}
	100% {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}
.shape.semicircle {
	animation: shapePop 0.6s ease-out forwards;
}
/* TOMEYってどんな会社のアニメーション */
.about-heading,
.about-heading + p {
	opacity: 0;
	transform: translateY(20px);
	animation-delay: 0.9s;
}
.about-heading.in-view,
.about-heading.in-view + p {
  animation: textRise 0.7s ease-out forwards;
}
@keyframes textRise {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* フッターボタンのアニメーション */
.footer .recruit-link {
	opacity: 0;
	transform: translateY(30px);
	animation-delay: 1s;
}
.footer.in-view .recruit-link {
  animation: fadeFooterCTA 0.6s ease-out forwards;
}
@keyframes fadeFooterCTA {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* デスクトップ以上 */
@media screen and (min-width: 1300px) {
	/* ヒーローセクション */
	.hero h1 {
		font-size: 2.4rem;
	}
	.hero p {
		font-size: 1.4rem;
	}
	.cta-button2 {
		display:none;
	}
	.cta-button {
		font-size: 1.1rem;
	}
	.break768 {
		display: none;
	}
	/* 製品紹介 */
	.product-card h2 {
		font-size: 3rem;
	}
	.product-card .question-text {
		font-size: 2rem;
	}
	.product-card p {
		font-size: 1.2rem;
	}
	/* TOMEYってどんな会社 */
	.break529 {
		display: none;
	}
}

/* デスクトップ以上2 */
@media screen and (min-width: 1100px) and (max-width: 1299px) {
	/* ヒーローセクション */
	.hero h1 {
		font-size: 2.4rem;
	}
	.hero p {
		font-size: 1.4rem;
	}
	.cta-button2 {
		display:none;
	}
	.cta-button {
		font-size: 1.1rem;
	}
	.break768 {
		display: none;
	}
	/* 製品紹介 */
	.product-card h2 {
		font-size: 2.5rem;
	}
	.product-card .question-text {
		font-size: 1.8rem;
	}
	.product-card p {
		font-size: 1.1rem;
	}
	.product-image img {
		width:100%;
	}
	/* TOMEYってどんな会社 */
	.break529 {
		display: none;
	}
}
/* タブレット横以上1 */
@media screen and (min-width: 768px) and (max-width: 1099px) {
	/* ヒーローセクション */
	.hero h1 {
		font-size: 2rem;
	}
	.hero p {
		font-size: 1.5rem;
	}
	.cta-button {
		display:none;
	}
	.cta-button2 {
		font-size: 1rem;
	}
	.hero-copy .logo {
		display: block;
		margin: 1rem auto;
		max-width: 160px;
	}
	.slide.zoom-right {
		object-position: 60% center;
	}
	.slide.zoom-left {
		object-position: 60% center;
	}
	.zoom-out {
		object-position: 20% center;
	}
	/* 製品紹介 */
	.products {
		padding: 2rem 0rem;
	}
	.product-content {
		display: flex;
		flex-direction: column;
		gap: 0rem;
		width: 85vw;
	}
	.product-text {
		min-width: 100%;
		order: -1;
		padding: 0 0rem;
	}
	.product-image {
		width: 100%;
		margin-top: 1rem;
	}
	.swiper {
		max-width: 100%;
	}
	.swiper-slide img {
		width: 100%;
		height: auto;
	}
	.product-card {
		padding: 0rem;
	}
	.product-card h2 {
		font-size: 3rem;
	}
	.product-card .question-text {
		font-size: 2rem;
	}
	.product-card p {
		font-size: 1.3rem;
	}
	.product-image img {
		width:100%;
	}
	/* TOMEYってどんな会社 */
	.break529 {
		display: none;
	}
}
/* スマホ以上 */
@media screen and (min-width: 567px) and (max-width: 767px) {
	/* ヒーローセクション */
	.hero h1 {
		font-size: 1.8rem;
	}
	.hero p {
		font-size: 1.1rem;
	}
	.cta-button {
		display:none;
	}
	.cta-button2 {
		font-size: 1rem;
	}
	.hero-copy .logo {
		display: block;
		margin: 1rem auto;
		max-width: 140px;
	}
	.slide.zoom-right {
		object-position: 70% center;
	}
	.slide.zoom-left {
		object-position: 50% center;
	}
	.zoom-out {
		object-position: 85% center;
	}
	.change-image {
		content: url('../img/sample3-2.webp');
	}
	/* 製品紹介 */
	.products {
		padding: 2rem 0rem;
	}
	.product-content {
		display: flex;
		flex-direction: column;
		gap: 0rem;
		width: 85vw;
	}
	.product-text {
		min-width: 100%;
		order: -1;
		padding: 0 0rem;
	}
	.product-image {
		width: 100%;
		margin-top: 1rem;
	}
	.swiper {
		max-width: 100%;
	}
	.swiper-slide img {
		width: 100%;
		height: auto;
	}
	.product-card {
		padding: 0rem;
	}
	.product-card h2 {
		font-size: 2.8rem;
	}
	.product-card .question-text {
		font-size: 1.9rem;
	}
	.product-card p {
		font-size: 1.1rem;
	}
	.product-image img {
		width:100%;
	}
	/* TOMEYってどんな会社 */
	.about p {
		font-size: 1rem;
	}
	.break529 {
		display: none;
	}
}
/* スマホ以下 */
@media screen and (max-width: 566px) {
	/* ヒーローセクション */
	.hero-overlay {
		padding: 0rem;
	}
	.cta-button {
		display:none;
	}
	.hero-copy .logo {
		display: block;
		margin: 1rem auto;
		max-width: 90px;
	}
	.slide.zoom-right {
		object-position: 60% center;
	}
	.slide.zoom-left {
		object-position: 42% center;
	}
	.zoom-out {
		object-position: 70% center;
	}
	.change-image {
		content: url('../img/me_syain3-2.webp');
	}
	/* 製品紹介 */
	.products {
		padding: 2rem 0rem;
	}
	.product-content {
		display: flex;
		flex-direction: column;
		gap: 0rem;
		width: 83vw;
	}
	.product-text {
		position: relative;
		min-width: 100%;
		order: -1;
		padding: 0 0rem;
	}
	.product-image {
		width: 100%;
		margin-top: 1rem;
	}
	.swiper {
		max-width: 100%;
	}
	.swiper-slide img {
		width: 100%;
		height: auto;
	}
	.product-card {
		padding: 0rem;
	}
	.product-image img {
		width:100%;
	}
}
/* 微調整1 */
@media screen and (min-width: 530px) and (max-width: 566px) {
	/* ヒーローセクション */
	.hero h1 {
		font-size: 1.8rem;
	}
	.hero p {
		font-size: 1.1rem;
	}
	.cta-button2 {
		font-size: 1rem;
	}
	/* 製品紹介 */
	.product-card h2 {
		font-size: 2.7rem;
	}
	.product-card .question-text {
		font-size: 1.7rem;
	}
	.product-card p {
		font-size: 1.05rem;
	}
	.product-text {
		width: 370px;
		left: -10px;
	}
	/* TOMEYってどんな会社 */
	.about p {
		font-size: 1.1rem;
	}
}
/* 微調整2 */
@media screen and (min-width: 430px) and (max-width: 529px) {
	.hero h1 {
		font-size: 1.6rem;
	}
	.hero p {
		font-size: 1rem;
	}
	.cta-button2 {
		font-size: 0.9rem;
	}
	/* 製品紹介 */
	.product-card h2 {
		font-size: 2.3rem;
	}
	.product-card .question-text {
		font-size: 1.4rem;
	}
	.product-card p {
		font-size: 1rem;
	}
	.product-text {
		width: 370px;
		left: -10px;
	}
	/* TOMEYってどんな会社 */
	.about p {
		font-size: 1rem;
	}
}
/* 微調整3 */
@media screen and (max-width: 429px) {
	.hero h1 {
		font-size: 1.4rem;
	}
	.hero p {
		font-size: 0.9rem;
	}
	.cta-button2 {
		font-size: 0.8rem;
	}
	.slide.zoom-right {
		object-position: 55% center;
	}
	.zoom-out {
		object-position: 65% center;
	}
	/* 製品紹介 */
	.product-card h2 {
		font-size: 2rem;
	}
	.product-card .question-text {
		font-size: 1.2rem;
	}
	.product-card p {
		font-size: 0.9rem;
	}
	.product-text {
		width: 320px;
		left: -10px;
	}
	/* TOMEYってどんな会社 */
	.about-heading::before {
		font-size: 1.9rem;
		padding-top: 1rem;
	}
	.about-heading::after {
		font-size: 1.9rem;
		padding-top: 1rem;
	}
	.about h2 {
		font-size: 1.2rem;
	}
	.about p {
		font-size: 1rem;
	}
}
