/* Responsive Styles */

/* Tablets */
@media (max-width: 1200px) {

	.pc-only {
		display: none!important;
	}

	.sp-only {
		display: block!important;
	}

	.container {
		padding: 0 40px;
	}

	header .container {
		height: 100px;
	}

	header nav ul {
		gap: 40px;
	}

	header nav ul li a {
		font-size: 20px;
	}

	header .contact-button a {
		width: 180px;
		height: 55px;
	}

	header .contact-button span {
		font-size: 20px;
	}

	.hero {
		height: 600px;
	}

	.hero-text h1,
	.hero-text p {
		font-size: 50px;
	}

	.hero-text h2 {
		font-size: 70px;
	}

	.about-us-content {
		flex-direction: column-reverse;
	}

	.about-us-text,
	.about-us-images {
		width: 100%;
	}

	.service {
		height: auto;
	}

	.service-title {
		background-color: #CC1669;
		width: 317px;
		padding: 10px;
		clip-path: polygon(0% 0, 100% 0, 85% 100%, 0% 100%);
		color: #fff;
	}

	.service-title h2 {
		margin: 10px 0;
	}

	.service-title p {
		margin: 10px 0;
	}

	.service-container {
		display: block;
		background-image: url('img/top-service_sp.png');
		background-size: cover;
		background-position: center;
		position: relative;
	}

	.service-left-panel,
	.service-right-panel {
		width: 100%;
		background: none;
	}

	.service-left-panel::after {
		display: none;
	}

	.service-right-panel {
		padding: 40px 0;
	}

	.service-description {
		font-size: 18px;
		line-height: 1.8;
		color: #454545
	}

	.service-boxes {
		position: relative;
		bottom: auto;
		right: auto;
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 0;
	}

	.service-box {
		margin: 10px !important;
	}

	.recruit-content {
		flex-direction: column-reverse;
		gap: 30px;
	}

	.recruit-text,
	.recruit-image {
		width: 100%;
	}

	.gallery .container {
		flex-direction: column;
	}

	.case-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.recruit-message__item {
		flex-direction: column;
	}

	.recruit-message__text-box,
	.recruit-message__img-box {
		width: 100%;
	}

	.recruit-message__img-box {
		margin-top: 40px;
	}

	.recruit-benefits__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.recruit-requirements__list {
		width: 100%;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.container {
		padding: 0 20px;
	}

	header .container {
		height: 60px;
		padding: 0 20px;
		justify-content: center;
		align-items: center;
		position: relative;
	}

	header .logo {
		margin: 0;
	}

	header .logo img {
		width: 72px;
	}

	header .global-nav,
	header .contact-button {
		display: none;
	}

	.hero {
		height: 450px;
		margin-top: 10px;
	}

	.hero-text h1,
	.hero-text p {
		font-size: 34px;
		line-height: 1.4;
	}

	.hero-text h2 {
		font-size: 45px;
	}

	.section-title {
		margin-bottom: 20px;
	}

	.section-title h2 {
		font-size: 28px;
		padding: 0 20px;
	}

	.section-title-w h2 {
		font-size: 28px;
		padding: 0 20px;
	}

	.section-title h2:before,
	.section-title h2:after,
	.section-title-w h2:before,
	.section-title-w h2:after {
		height: 2px;
		top: 40px;
	}

	.section-title p,
	.section-title-w p {
		font-size: 18px;
		margin: 5px 0 0;
	}

	.about-us {
		padding: 60px 0;
	}

	.about-us-text h3 {
		font-size: 28px;
	}

	.about-us-text p {
		font-size: 16px;
	}

	.service-left-panel {
		padding: 10px 20px;
		background: none;
	}

	.service-description {
		font-size: 16px;
		margin: 60px 0 10px;
	}

	.service-box {
		font-size: 20px;
		width: 45%;
		height: 120px;
		margin: 10px 5px !important;
	}

	.recruit-text h4 {
		font-size: 24px;
	}

	.recruit-text p {
		font-size: 16px;
	}

	.recruit-button {
		width: 100%;
		height: auto;
		padding: 20px;
		font-size: 22px;
		box-sizing: border-box;
		border: 3px solid #fff;
	}

	.recruit-button::after {
		right: 20px;
	}

	.recruit-button::before {
		right: 42px;
	}

	.gallery {
		padding: 60px 0;
	}

	.gallery-text h6 {
		font-size: 32px;
	}

	.gallery-text p {
		font-size: 20px;
	}

	.contact .container {
		padding: 30px;
	}

	.contact-details-wrapper {
		flex-direction: column;
		gap: 20px;
	}

	.contact-button-main {
		width: 100%;
		height: 55px;
		font-size: 18px;
	}

	.contact-button-main::before {
		content: '';
		position: absolute;
		right: 45px;
		top: 52%;
		transform: translateY(-50%) rotate(45deg);
		width: 10px;
		height: 10px;
		border-top: 3px solid #fff;
		border-right: 3px solid #fff;
	}

	.contact-button-main::after {
		content: '';
		position: absolute;
		right: 34px;
		top: 50%;
		transform: translateY(-50%);
		width: 25px;
		height: 25px;
		border: 3px solid #fff;
		border-radius: 50%;
	}

	.contact-info .tel {
		font-size: 32px;
		text-align: center;
	}

	.contact-info .tel span {
		font-size: 26px;
	}

	.contact-info .hours {
		font-size: 14px;
	}

	footer {
		padding: 30px 0 0;
	}

	footer .footer-nav ul {
		gap: 20px;
		padding: 0;
	}

	footer .footer-nav ul li a {
		font-size: 16px;
	}

	.footer-logo {
		margin-top: 0;
	}

	footer .footer-logo img {
		width: 140px;
	}

	.case-gallery__grid {
		gap: 15px;
	}

	.recruit-benefits__grid {
		gap: 20px;
	}

	.recruit-requirements__item {
		flex-direction: column;
	}

	.recruit-requirements__item dt {
		margin-bottom: 10px;
	}

	.hamburger-menu {
		display: block;
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
		z-index: 1001;
		background: none;
		border: none;
		cursor: pointer;
	}

	.hamburger-menu span {
		display: block;
		width: 35px;
		height: 3px;
		background-color: #CC1669;
		margin: 8px 0;
		transition: 0.4s;
	}

	.global-nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 60%;
		background-color: rgba(255, 255, 255, 0.95);
		z-index: 1000;
		padding-top: 100px;
	}

	.global-nav ul {
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}
	
	.global-nav ul li {
		width: 70%;
		text-align: center;
		background: #cc1669;
		padding: 10px 0;
	}

	.global-nav ul li a {
		font-size: 20px;
		color:#fff;
	}

	.global-nav.active {
		display: block;
	}

	.hamburger-menu.active span:nth-child(1) {
		transform: rotate(-45deg) translate(-8px, 8px);
	}

	.hamburger-menu.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger-menu.active span:nth-child(3) {
		transform: rotate(45deg) translate(-8px, -7px);
	}

	/* about.html */
	.hero-about {
		height: 180px;
		margin-top: 10px;
	}

	.hero-about-content h1 {
		font-size: 32px;
	}

	.message {
		padding: 60px 0;
	}

	.message-content {
		flex-direction: column-reverse;
		gap: 20px;
	}

	.message-text,
	.message-image {
		width: 100%;
	}

	.message-text p {
		font-size: 16px;
		line-height: 1.8;
		letter-spacing: 0;
	}

	.message-image {
		margin-top: 30px;
	}

	.profile-table {
		width: 100%;
	}

	.profile-table th,
	.profile-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 15px 10px;
		font-size: 14px;
	}

	.profile-table th {
		background-color: #f5f5f5;
		font-weight: bold;
		border-bottom: none;
	}

	.profile-table td {
		border-bottom: 1px solid #BCBCBC;
	}

	.profile-table tr:last-child td {
		border-bottom: none;
	}

	/* service.html */
	.service-hero {
		height: 180px;
		margin-top: 55px;
	}

	.service-hero h1 {
		font-size: 32px;
	}

	.service-intro {
		padding: 60px 20px;
	}

	.service-intro h2 {
		font-size: 24px;
	}

	.service-intro p {
		font-size: 16px;
		margin-top: 50px;
		line-height: 1.8;
		letter-spacing: 0;
	}

	.service-bg {
		padding: 60px 0;
	}

	.service-item {
		flex-direction: column !important;
		gap: 20px;
		padding: 0 20px;
		margin-bottom: 60px;
	}

	.service-item h3 {
		position: relative;
		font-size: 24px;
		font-weight: 600;
		color: #CC1669;
		text-shadow: 0px 0px 16.5px #fff;
	}

	.service-item h3::after {
		content: '';
		position: absolute;
		bottom: -15px;
		right: 0;
		left: 0;
		margin: 0 auto;
		width: 100px;
		height: 1px;
		background-color: #CC1669;
	}

	.service-item-img,
	.service-item-content {
		width: 100%;
	}

	.service-item-content h3 {
		font-size: 24px;
	}

	.service-type h4 {
		font-size: 20px;
	}

	.service-item-content p {
		font-size: 16px;
		line-height: 1.8;
		letter-spacing: 0;
	}

	.contact-banner {
		flex-direction: column;
		padding: 40px 20px;
		gap: 30px;
	}

	.contact-banner .contact-button {
		width: 100%;
		height: auto;
		padding: 20px;
		font-size: 18px;
	}

	/* case.html */
	.case-hero {
		height: 180px;
		margin-top: 55px;
	}

	.case-hero h1 {
		font-size: 32px;
	}

	.case-gallery {
		padding: 60px 20px;
	}

	/* recruit.html */
	.recruit-hero {
		height: 180px;
		margin-top: 55px;
	}

	.recruit-hero__title {
		font-size: 32px;
	}

	.recruit-message {
		padding: 60px 0;
	}

	.recruit-message__item {
		margin-bottom: 60px;
	}

	.recruit-message__text-box {
		margin: -25px 0 0 0;
		padding: 20px;
		width: 95%;
	}

	.reverce-box {
		margin: -25px 0 0 0;
	}

	.recruit-message__title {
		font-size: 20px;
	}

	.recruit-message__text {
		font-size: 15px;
		line-height: 1.8;
		letter-spacing: 0;
	}

	.recruit-benefits {
		padding: 60px 20px;
	}

	.recruit-benefits .container {
		padding: 0;
	}

	.recruit-benefits__item {
		padding: 15px 5px;
	}

	.recruit-benefits__item img {
		width: 80px;
		height: 80px;
		object-fit: contain;
		margin-bottom: 5px;
	}

	.recruit-benefits__title {
		font-size: 28px;
	}

	.recruit-benefits__item p {
		font-size: 16px;
	}

	.recruit-requirements {
		padding: 60px 20px;
	}

	.recruit-requirements__title h2 {
		font-size: 28px;
	}

	.recruit-requirements__item dt {
		font-size: 18px;
	}

	.recruit-requirements__item dd {
		font-size: 16px;
	}

	/* contact.html */
	.contact-hero {
		height: 180px;
		margin-top: 55px;
	}

	.contact-hero__title {
		font-size: 32px;
	}
}