@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Saira:wght@600&display=swap');

/* ==========================================================================
   original2.css - オリジナルユニフォーム2ページ 新セクション用スタイル
   ========================================================================== */

/* ------------------------------------------
   ヒーローセクション (.o2-hero)
   ------------------------------------------ */
.o2-hero {
	position: relative;
	min-height: 660px;
	color: #fff;
	overflow: hidden;
	background-size: cover;
	background-position: 50% 0%;
	margin-top: 203px;
}

.o2-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(0, 0, 0);
	opacity: 0.5;
	z-index: 1;
}

.o2-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 660px;
	gap: 20px;
	padding: 10px 0;
	max-width: 1140px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.o2-hero__title-main,
.o2-hero__title-sub {
	font-family: Roboto, sans-serif;
	font-size: 72px;
	font-weight: 600;
	line-height: 72px;
	color: #fff;
	background-color: rgb(1, 104, 183);
	display: block;
	height: 120px;
	display: flex;
	align-items: center;
	transform: rotate(-1deg);
	animation: o2SlideInLeft 0.8s ease-out both;
}

.o2-hero__title-main {
	width: 1000px;
	max-width: 100%;
	padding: 30px 20px 20px;
	clip-path: polygon(1% 15%, 100% 0px, 98% 90%, 0px 100%);
}

.o2-hero__title-sub {
	width: 1300px;
	max-width: 100%;
	padding: 24px 20px 20px;
	clip-path: polygon(1% 15%, 100% 0px, 98% 100%, 0% 90%);
	margin-top: -40px;
	margin-left: -11px;
	animation-delay: 0.15s;
}

@keyframes o2SlideInLeft {
	from {
		transform: rotate(-1deg) translateX(-100%);
		opacity: 0;
	}
	to {
		transform: rotate(-1deg) translateX(0);
		opacity: 1;
	}
}

.o2-hero__lead {
	font-size: 24px;
	line-height: 1.5;
	color: #fff;
}

.o2-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 21px;
	background-color: #fff;
	color: rgb(34, 77, 111);
	font-size: 19px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 3px;
	transition: background-color 0.3s, transform 0.3s;
	align-self: flex-start;
}

.o2-hero__btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.o2-hero__btn:hover {
	background-color: #e8f0fe;
	transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
	.o2-hero {
		min-height: 480px;
	}

	.o2-hero__inner {
		min-height: 480px;
		padding: 10px 20px;
	}

	.o2-hero__title-main,
	.o2-hero__title-sub {
		font-size: 28px;
		line-height: 28px;
		height: 70px;
	}

	.o2-hero__title-main {
		width: 100%;
		padding: 20px 16px 16px;
	}

	.o2-hero__title-sub {
		width: 100%;
		padding: 16px 16px 16px;
		margin-top: -16px;
		margin-left: 0;
	}

	.o2-hero__lead {
		font-size: 16px;
	}

	.o2-hero__btn {
		padding: 16px;
		font-size: 16px;
		align-self: center;
	}
}

/* ------------------------------------------
   イントロセクション (.o2-intro)
   ------------------------------------------ */
.o2-intro {
	background-color: rgb(1, 104, 183);
	padding: 40px 0;
	overflow: visible;
}

.o2-intro__label {
	display: block;
	text-align: center;
	font-family: Saira, sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 16px;
}

.o2-intro__heading {
	font-family: Roboto, sans-serif;
	font-size: 43px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	line-height: 1.4;
	margin-bottom: 24px;
	padding-bottom: 16px;
	overflow: visible;
}

.o2-intro__heading span {
	font-family: Roboto, sans-serif;
	font-size: 43px;
	font-weight: 700;
	color: #fff;
}

.o2-intro__heading-dynamic {
	position: relative;
	display: inline-block;
	white-space: nowrap;
	z-index: 0;
}

.o2-intro__heading-dynamic svg {
	position: absolute;
	top: -10px;
	left: -8px;
	width: calc(100% + 16px);
	height: calc(100% + 20px);
	overflow: visible;
	z-index: -1;
}

.o2-intro__heading-dynamic svg path {
	stroke: rgb(236, 54, 54);
	stroke-width: 9;
	fill: none;
	opacity: 0;
	stroke-dasharray: 0, 1500;
}

.o2-intro.is-animated .o2-intro__heading-dynamic svg path {
	animation: o2HeadlineDash 1.2s ease forwards;
}

@keyframes o2HeadlineDash {
	0% {
		stroke-dasharray: 0, 1500;
		opacity: 1;
	}
	100% {
		stroke-dasharray: 1500, 1500;
		opacity: 1;
	}
}

.o2-intro__lead {
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	color: #fff;
	margin-top: 24px;
}

.o2-intro__cta-area {
	display: flex;
	justify-content: center;
	padding: 32px 0;
}

.o2-intro__cta-image {
	width: 439px;
	max-width: 100%;
}

.o2-intro__cta-image a {
	display: block;
}

.o2-intro__cta-image img {
	width: 100%;
	height: auto;
}

@media screen and (max-width: 768px) {
	.o2-intro__heading,
	.o2-intro__heading span {
		font-size: 28px;
	}

	.o2-intro__lead {
		text-align: left;
	}

	.o2-intro__cta-image {
		max-width: 300px;
	}
}

/* ------------------------------------------
   CTAバナー画像 (.o2-cta-banner-img)
   ------------------------------------------ */
.o2-cta-banner-img {
	text-align: center;
	padding: 32px 0;
}

.o2-cta-banner-img img {
	max-width: 100%;
	height: auto;
}

/* ------------------------------------------
   青CTAバナー (.o2-cta-banner)
   ------------------------------------------ */
.o2-cta-banner {
	background: linear-gradient(135deg, #0068B7 0%, #004080 100%);
	padding: 32px 20px;
	text-align: center;
}

.o2-cta-banner__inner {
	max-width: 800px;
	margin: 0 auto;
}

.o2-cta-banner__text {
	color: #fff;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 4px;
}

.o2-cta-banner__heading {
	color: #fff;
	font-size: 2.4rem;
	font-weight: 700;
	margin-bottom: 16px;
}

.o2-cta-banner__heading em {
	font-style: normal;
	font-size: 2.8rem;
	letter-spacing: 0.05em;
}

.o2-cta-banner__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 32px;
	background: #fff;
	color: #0068B7;
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s, transform 0.3s;
}

.o2-cta-banner__btn::after {
	content: '→';
}

.o2-cta-banner__btn:hover {
	background: #e8f0fe;
	transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
	.o2-cta-banner {
		padding: 24px 16px;
	}

	.o2-cta-banner__heading {
		font-size: 1.8rem;
	}

	.o2-cta-banner__heading em {
		font-size: 2.2rem;
	}
}

/* ------------------------------------------
   メリットセクション (.s-merit) - 3カラム横並び
   ------------------------------------------ */
.s-merit {
	padding-top: 48px;
	padding-bottom: 48px;
}

.s-merit .container {
	max-width: 1140px;
}

.s-merit__lead {
	font-size: 1.5rem;
	line-height: 1.875;
	text-align: center;
	margin-bottom: 40px;
	color: #212121;
}

.s-merit__grid {
	display: flex;
	gap: 50px;
	background: #fff;
	padding: 11px 34px 34px;
}

.s-merit__card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	background: linear-gradient(rgb(1, 104, 183) 0%, rgba(1, 104, 183, 0.7) 100%);
	overflow: hidden;
	border-radius: 12px;
	padding: 16px 16px 0;
	animation: o2FadeInUp 0.8s ease-out both;
}

.s-merit__card:nth-child(2) {
	animation-delay: 0.15s;
}

.s-merit__card:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes o2FadeInUp {
	from {
		transform: translateY(40px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.s-merit__num-title {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	padding: 16px 0 0 23px;
	align-self: flex-start;
}

.s-merit__num {
	font-family: Righteous, sans-serif;
	font-size: 72px;
	font-weight: 400;
	color: #fff;
	line-height: 1.1;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.s-merit__card-title {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 24px;
	font-weight: 500;
	color: #fff;
	line-height: 1.3;
	text-align: left;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

.s-merit__card-desc {
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
	padding: 0 16px;
	text-align: left;
}

.s-merit__card-image {
	width: 233px;
	max-width: 100%;
	overflow: hidden;
}

.s-merit__card-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: top;
	display: block;
}

@media screen and (max-width: 768px) {
	.s-merit__grid {
		flex-direction: column;
		align-items: center;
		gap: 24px;
		padding: 16px;
	}

	.s-merit__card {
		max-width: 280px;
	}

	.s-merit__num {
		font-size: 48px;
	}

	.s-merit__card-title {
		font-size: 22px;
	}
}

/* ------------------------------------------
   営業提案セクション (.o2-proposal)
   ------------------------------------------ */
.o2-proposal {
	position: relative;
	background-color: rgb(34, 77, 111);
	background-size: cover;
	background-position: center;
	padding: 34px 0;
}

.o2-proposal::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(0, 0, 0);
	opacity: 0.5;
	z-index: 0;
}

.o2-proposal__inner {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 15px 32px;
}

.o2-proposal__heading {
	font-family: Roboto, sans-serif;
	font-size: 30px;
	font-weight: 600;
	color: #fff;
	text-align: center;
	margin-bottom: 20px;
}

.o2-proposal__desc {
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
	text-align: center;
	margin-bottom: 0;
}

.o2-proposal__carousel {
	position: relative;
	z-index: 1;
	overflow: hidden;
	width: 100%;
	margin-top: 32px;
}

.o2-proposal__slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.o2-proposal__slide img {
	height: 300px;
	width: auto;
	display: block;
}

/* ------------------------------------------
   ブランドカタログギャラリー (.s-brand-gallery)
   ------------------------------------------ */
.s-brand-gallery {
	margin-top: 48px;
}

.s-brand-gallery__heading {
	font-size: 2rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 24px;
	color: #212121;
}

.s-brand-gallery__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	max-width: 960px;
	margin: 0 auto;
}

.s-brand-gallery__item {
	width: calc(16.666% - 14px);
	min-width: 100px;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.s-brand-gallery__item img {
	width: 100%;
	height: auto;
	display: block;
}

@media screen and (max-width: 768px) {
	.s-brand-gallery__item {
		width: calc(33.333% - 12px);
	}
}

/* ------------------------------------------
   NOSセクション (.o2-nos)
   ------------------------------------------ */
.o2-nos {
	padding-top: 48px;
	padding-bottom: 48px;
}

.o2-nos .container {
	max-width: 1140px;
}

.o2-nos__logo {
	text-align: center;
	margin-bottom: 16px;
}

.o2-nos__logo img {
	max-width: 100%;
	height: auto;
}

.o2-nos__grid {
	display: flex;
	gap: 50px;
	margin-top: 40px;
}

.o2-nos__grid--2col .s-merit__card {
	flex: 1;
}

.o2-nos__grid--3col {
	margin-top: 24px;
}

.o2-nos__grid--3col .s-merit__card {
	flex: 1;
}

@media screen and (max-width: 768px) {
	.o2-nos__grid {
		flex-direction: column;
		gap: 24px;
	}
}

/* ------------------------------------------
   オーダーメイドの流れ (.s-steps) 調整
   ------------------------------------------ */
.original2 .s-steps {
	padding-bottom: 64px;
}

/* ------------------------------------------
   制作可能な作業着種類 (.s-worktype)
   ------------------------------------------ */
.s-worktype__lead {
	font-size: 1.5rem;
	line-height: 1.875;
	text-align: center;
	color: #212121;
}

.s-worktype__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin-top: 48px;
}

.s-worktype__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(20% - 20px);
	min-width: 140px;
	padding: 32px 16px;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	text-align: center;
	transition: box-shadow 0.3s, transform 0.3s;
}

.s-worktype__item:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

.s-worktype__icon {
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
}

.s-worktype__icon svg {
	width: 100%;
	height: 100%;
}

.s-worktype__title {
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.5;
	color: #212121;
}

@media screen and (max-width: 1024px) {
	.s-worktype__item {
		width: calc(33.333% - 16px);
	}
}

@media screen and (max-width: 768px) {
	.s-worktype__list {
		gap: 16px;
	}

	.s-worktype__item {
		width: calc(50% - 8px);
		min-width: auto;
		padding: 24px 12px;
	}
}

/* ------------------------------------------
   導入事例カルーセル (.s-case-slider)
   ------------------------------------------ */
.s-case-slider__wrapper {
	position: relative;
	margin-top: 40px;
}

.s-case-slider__swiper {
	overflow: hidden;
}

.s-case-slider__swiper .ca-item {
	padding: 0;
	max-width: none;
	width: auto;
}

.s-case-slider__swiper .ca-item__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.s-case-slider__swiper .ca-item__imagebox {
	height: 200px;
	overflow: hidden;
}

.s-case-slider__swiper .ca-item__imagebox img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.s-case-slider__prev,
.s-case-slider__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
}

.s-case-slider__prev {
	left: -40px;
}

.s-case-slider__next {
	right: -40px;
}

.s-case-slider .g-btn {
	margin-top: 48px;
}

@media screen and (max-width: 1024px) {
	.s-case-slider__prev { left: -20px; }
	.s-case-slider__next { right: -20px; }
}

@media screen and (max-width: 768px) {
	.s-case-slider__prev { left: 0; }
	.s-case-slider__next { right: 0; }
}

/* ------------------------------------------
   導入事例グリッド (.s-case-grid)
   ------------------------------------------ */
.s-case-grid__list {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 40px;
}

.s-case-grid__item {
	width: calc(33.333% - 16px);
}

.s-case-grid__item a {
	display: block;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	border-radius: 4px;
	transition: box-shadow 0.3s;
}

.s-case-grid__item a:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.s-case-grid__thumb {
	overflow: hidden;
}

.s-case-grid__thumb img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	transition: transform 0.6s;
}

.s-case-grid__item a:hover .s-case-grid__thumb img {
	transform: scale(1.05);
}

.s-case-grid__info {
	padding: 12px 4px;
}

.s-case-grid__company {
	font-size: 1.2rem;
	color: #666;
	margin-bottom: 4px;
}

.s-case-grid__title {
	font-size: 1.4rem;
	font-weight: 600;
	color: #212121;
	line-height: 1.5;
}

@media screen and (max-width: 768px) {
	.s-case-grid__item {
		width: calc(50% - 12px);
	}
}

@media screen and (max-width: 480px) {
	.s-case-grid__item {
		width: 100%;
	}
}

/* ------------------------------------------
   料金・納期・ロット情報 (.s-pricing-info)
   ------------------------------------------ */
.s-pricing-info__list {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-top: 48px;
}

.s-pricing-info__item {
	flex: 1;
	max-width: 320px;
	padding: 40px 24px;
	background-color: #f5f5f5;
	border-radius: 8px;
	text-align: center;
}

.s-pricing-info__icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 24px;
}

.s-pricing-info__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.s-pricing-info__title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 16px;
	color: #212121;
}

.s-pricing-info__desc {
	font-size: 1.4rem;
	line-height: 1.875;
	color: #212121;
}

@media screen and (max-width: 768px) {
	.s-pricing-info__list {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.s-pricing-info__item {
		max-width: 100%;
		width: 100%;
		padding: 32px 20px;
	}
}

/* ------------------------------------------
   デザインポイント (.s-design-point) - 3カラム横並び
   ------------------------------------------ */
.s-design-point__grid {
	display: flex;
	gap: 32px;
	margin: 40px 0;
}

.s-design-point__card {
	flex: 1;
	text-align: center;
}

.s-design-point__card-image {
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 16px;
}

.s-design-point__card-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.s-design-point__card-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: #212121;
}

.s-design-point__card-desc {
	font-size: 1.3rem;
	line-height: 1.7;
	color: #666;
	text-align: left;
}

.s-design-point__sub-link {
	font-size: 1.3rem;
	color: #0068B7;
	text-align: center;
	display: block;
	margin-top: 4px;
}

.s-design-point .g-btn {
	margin-top: 0;
}

@media screen and (max-width: 768px) {
	.s-design-point__grid {
		flex-direction: column;
		gap: 24px;
	}

	.s-design-point__card-image img {
		height: 180px;
	}
}

/* ------------------------------------------
   作業着種類ガイド (.s-clothes-guide) - 2x2グリッド
   ------------------------------------------ */
.s-clothes-guide__list {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 40px 0;
}

.s-clothes-guide__item {
	width: calc(50% - 12px);
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.s-clothes-guide__image {
	flex: 0 0 180px;
	overflow: hidden;
	border-radius: 4px;
}

.s-clothes-guide__image img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
	transition: transform 1.25s;
}

.s-clothes-guide__item:hover .s-clothes-guide__image img {
	transform: scale(1.05);
}

.s-clothes-guide__text {
	flex: 1;
}

.s-clothes-guide__title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: #212121;
}

.s-clothes-guide__desc {
	font-size: 1.3rem;
	line-height: 1.7;
	color: #212121;
}

@media screen and (max-width: 768px) {
	.s-clothes-guide__item {
		width: 100%;
		flex-direction: column;
	}

	.s-clothes-guide__image {
		flex: 0 0 auto;
		width: 100%;
	}

	.s-clothes-guide__image img {
		height: 200px;
	}
}

/* ------------------------------------------
   選び方ガイド (.s-choose-guide) - 3カラム横並び
   ------------------------------------------ */
.s-choose-guide__list {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 40px;
}

.s-choose-guide__item {
	flex: 1;
	max-width: 320px;
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s, transform 0.3s;
}

.s-choose-guide__item:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.s-choose-guide__image {
	overflow: hidden;
}

.s-choose-guide__image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	transition: transform 1.25s;
}

.s-choose-guide__item:hover .s-choose-guide__image img {
	transform: scale(1.05);
}

.s-choose-guide__text {
	padding: 20px;
}

.s-choose-guide__title {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: #212121;
}

.s-choose-guide__desc {
	font-size: 1.3rem;
	line-height: 1.7;
	color: #212121;
}

@media screen and (max-width: 768px) {
	.s-choose-guide__list {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.s-choose-guide__item {
		max-width: 100%;
		width: 100%;
	}
}

/* FAQはテーマ既存スタイルを使用 */
