#ADVANTAGE .block .hed:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#ADVANTAGE .block .hed {
zoom: 1;
}

/* CONTENTS */
#HEAD {
overflow: hidden;
position: relative;
background-color: #fff;
padding: 0 0 1px 0;
}
#HEAD::before {
content: '';
display: block;
position: absolute;
left: 0;
top: 0;
background-color: #f2f2f2;
height: 100%;
}
.initView #HEAD::before {
transition: width 1s ease;
transition-delay: 0.3s;
width: 0;
}
.activeView #HEAD::before {
width: 100%;
}
#HEAD .image {
transform: translateX(100%);
padding: 0 0 0 0;
}
.initView #HEAD .image {
transition: transform 1s ease;
transition-delay: 0.6s;
}
.activeView #HEAD .image {
transform: translateX(0);
}
#HEAD img {
width: 100%;
height: auto;
}
#HEAD .catch {
outline: 1px solid transparent;
position: relative;
margin: -20px 0 0 0;
background-color: #fff;
padding: 20px;
text-align: left;
transform: scale(1.2);
opacity: 0;
}
.initView #HEAD .catch {
transition: all 1.5s ease;
transition-delay: 1.5s;
opacity: 0;
}
.activeView #HEAD .catch {
transform: scale(1);
opacity: 1;
}
#HEAD .catch h1 {
margin-bottom: 15px;
font-family: fot-tsukuardgothic-std, sans-serif;
font-style: normal;
font-weight: 700;
font-size: 32px;
letter-spacing: 0.1em;
line-height: 1.5;
}
#HEAD .catch h1 span {
display: inline-block;
}
#HEAD .catch p {
font-size: 16px;
line-height: 2;
}
#HEAD ul.tab {
outline: 1px solid transparent;
position: relative;
list-style: none;
transform: scale(1.2);
opacity: 0;
}
.initView #HEAD ul.tab {
transition: all 1.5s ease;
transition-delay: 1.7s;
opacity: 0;
}
.activeView #HEAD ul.tab {
transform: scale(1);
opacity: 1;
}
#HEAD ul.tab li {
display: block;
overflow: hidden;
position: relative;
box-sizing: border-box;
float: left;
border-top: solid 1px #eee;
width: 50%;
font-size: 14px;
line-height: 40px;
text-align: center;
}
#HEAD ul.tab li:nth-child(odd) {
border-right: solid 1px #eee;
}
#HEAD ul.tab li span {
display: block;
overflow: hidden;
position: relative;
background-color: #fff;
}
#HEAD ul.tab li a {
position: relative;
display: block;
padding: 0 10px;
text-decoration: none;
color: #333;
}
#HEAD ul.tab li a::after {
content: 'keyboard_arrow_down';
display: inline-block;
margin-left: 5px;
font-family: "Material Symbols Outlined";
font-weight: normal;
font-style: normal;
line-height: 1;
vertical-align: -0.15em;
color: #BF3939;
}
#HEAD ul.tab li span:before {
transition: all 0.3s ease;
content: "";
position: absolute;
top: 0;
right: -50px;
bottom: 0;
left: 0;
border-right: 50px solid transparent;
border-bottom: 60px solid #bf3939;
transform: translateX(-100%);
}
#HEAD ul.tab li a:hover {
color: #fff;
}
#HEAD ul.tab li a:hover::after {
color: #fff;
}
#HEAD ul.tab li:hover span:before {
transform: translateX(0);
}
@media (min-width: 769px) {
	#HEAD {
	position: relative;
	padding: 0 0 0 0;
	}
	#HEAD::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	background: url("/common/img/service/serv_pht1.jpg") no-repeat center center;
	background-size: cover;
	height: 100%;
	z-index: 0;
	}
	body.service-web #HEAD::after {
	background-image: url("/common/img/service/serv_pht1.jpg");
	}
	body.service-ec #HEAD::after {
	background-image: url("/common/img/service/serv_pht2.jpg");
	}
	body.service-graphic #HEAD::after {
	background-image: url("/common/img/service/serv_pht3.jpg");
	}
	body.service-support #HEAD::after {
	background-image: url("/common/img/service/serv_pht4.jpg");
	}
	.initView #HEAD::after {
	transition: all 1s ease;
	transition-delay: 0.6s;
	width: 100%;
	left: -100%;
	}
	.activeView #HEAD::after {
	width: 100%;
	left: 0;
	}
	#HEAD .image {
	display: none;
	}
	#HEAD .cont {
	position: relative;
	margin: 0 auto;
	max-width: 1200px;
	z-index: 1;
	}
	.virtual-service #HEAD .cont,
	.virtual-service #HEAD {
	height: auto;
	}
	#HEAD .set {
	padding: 100px 50px 20px 50px;
	box-sizing: border-box;
	}
	#HEAD .catch {
	margin: 0 0 0 0;
	}
	#HEAD .catch h3 {
	font-size: 48px;
	}
	#HEAD .catch p {
	line-height: 2.25;
	}
	#HEAD ul.tab li {
	box-sizing: border-box;
	border-top: none;
	width: calc(100% / 3);
	margin-top: 20px;
	padding: 0 10px;
	}
	#HEAD ul.tab li:nth-child(odd) {
	border-right: none;
	}
	#HEAD ul.tab span {
	border-radius: 20px;
	}
}
@media (min-width: 950px) {
	#HEAD ul.tab li {
	width: calc(100% / 6);
	}
}

.service-detail-section {
overflow: hidden;
position: relative;
background-color: #fff;
padding-bottom: 40px;
}
.service-detail-section::before {
box-sizing: border-box;
transition: all 1s ease;
transition-delay: 1s;
content: '';
display: block;
position: absolute;
top: 0;
background-color: #f2f2f2;
width: 50%;
}
section:nth-child(even) .service-detail-section::before {
left: 0;
}
section:nth-child(odd) .service-detail-section::before {
right: 0;
}
.initView .service-detail-section::before {
height: 0;
}
.activeView .service-detail-section::before {
height: 100%;
}
.service-detail-section .head {
position: relative;
padding: 40px 20px;
}
.service-detail-section .head .en {
font-family: garamond-premier-pro, serif;
font-style: normal;
font-weight: 400;
font-size: 36px;
letter-spacing: 0.1em;
line-height: 1.2;
}
.service-detail-section .head .en::before {
content: '';
display: block;
background-color: #333;
margin: 0 auto 20px auto;
width: 2px;
height: 50px;
}
.service-detail-section .head h2 {
font-size: 16px;
font-weight: 700;
}
.service-detail-section .head h2::before {
content: '';
display: block;
background-color: #bcbf56;
margin: 0 auto 10px auto;
width: 40px;
height: 3px;
}
.service-detail-section .head .lead {
margin-top: 20px;
font-size: 16px;
line-height: 1.5;
text-align: left;
}
.service-detail-section .cont {
padding: 0 20px;
text-align: left;
}
.service-detail-section .block .image {
margin-top: 20px;
}
.service-detail-section .imageModalTrigger {
cursor: zoom-in;
}
.service-detail-section .imageModalTrigger img {
transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}
.service-detail-section .imageModalTrigger:hover img,
.service-detail-section .imageModalTrigger:focus img {
opacity: 0.85;
transform: scale(1.02);
}
.service-detail-section .imageModalTrigger:focus {
outline: none;
}
.service-detail-section .imageModalTrigger:focus img {
box-shadow: 0 0 0 3px #fff, 0 0 0 6px #BF3939;
}
.service-detail-section .block img {
width: 100%;
height: auto;
}
.service-detail-section .cont h2 {
border-left: solid 3px #bcbf56;
margin-top: 25px;
padding-left: 15px;
line-height: 1.2;
}
.service-detail-section .cont h2 span {
font-family: garamond-premier-pro, serif;
font-style: normal;
font-weight: 400;
font-size: 30px;
letter-spacing: 0.1em;
}
.service-detail-section .cont h2 strong {
font-size: 14px;
font-weight: 700;
}
.service-detail-section .list:not('#PRICE .list, #FLOW .list') {
display: flex;
flex-direction: column;
gap: 40px;
}
.service-detail-section .block h3 {
margin-top: 40px;
font-size: 18px;
font-weight: 700;
line-height: 1.5;
}
.service-detail-section--right .block h3 {
margin-top: 20px;
}
.service-detail-section .block h3:first-child {
margin-top: 0;
}
.service-detail-section .block p {
margin-top: 10px;
font-size: 16px;
line-height: 1.5;
}
@media (min-width: 769px) {
	.service-detail-section {
	padding-bottom: 40px;
	}
	.service-detail-section .head {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 40px 50px;
	max-width: 1200px;
	}
	.service-detail-section .head .en {
	font-size: 48px;
	}
	.service-detail-section .head .lead {
	text-align: center;
	}
	.service-detail-section .cont {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 50px;
	max-width: 1200px;
	}
	.service-detail-section .block {
	display: flex;
	align-items: flex-start;
	gap: 50px;
	}
	#WORKS.service-detail-section .block {
	display: block;
	}
	.service-detail-section .block::after {
	display: none;
	}
	.service-detail-section .block .image {
	box-sizing: border-box;
	flex: 1;
	}
	.service-detail-section .block .pack {
	box-sizing: border-box;
	flex: 1;
	}
	.service-detail-section .block:nth-child(even) .pack,
	.service-detail-section .block:nth-child(odd) .image {
	float: left;
	}
	.service-detail-section .block:nth-child(odd) .pack,
	.service-detail-section .block:nth-child(even) .image {
	margin-left: 0;
	float: right;
	}
	.service-detail-section .block h3 {
	margin-top: 40px;
	font-size: 24px;
	}
	.service-detail-section .block h3:first-child {
	margin-top: 0;
	}
	.service-detail-section .block p {
	margin-top: 20px;
	font-size: 16px;
	}
	.service-detail-section .block .cnt h3 {
	font-size: 24px;
	}
	.service-detail-section .block .cnt p {
	column-count: 2;
	column-gap: 50px;
	margin-top: 20px;
	font-size: 16px;
	}
}

.activeImageModal {
overflow: hidden;
}
.imageModal {
position: fixed;
inset: 0;
z-index: 10000;
box-sizing: border-box;
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.imageModal.active {
visibility: visible;
opacity: 1;
pointer-events: auto;
transition-delay: 0s;
}
.imageModal__overlay {
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.82);
opacity: 0;
transition: opacity 0.3s ease;
}
.imageModal.active .imageModal__overlay {
opacity: 1;
}
.imageModal__dialog {
position: relative;
box-sizing: border-box;
max-width: min(1100px, 100%);
max-height: 100%;
z-index: 1;
opacity: 0;
transform: translateY(16px) scale(0.98);
transition: opacity 0.3s ease, transform 0.3s ease;
}
.imageModal.active .imageModal__dialog {
opacity: 1;
transform: translateY(0) scale(1);
}
.imageModal__image {
display: block;
background-color: #fff;
max-width: 100%;
max-height: calc(100vh - 110px);
width: auto;
height: auto;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.imageModal__caption {
margin-top: 10px;
font-size: 14px;
line-height: 1.6;
text-align: center;
color: #fff;
}
.imageModal__close {
position: absolute;
top: -46px;
right: 0;
border: 0;
background: transparent;
width: 40px;
height: 40px;
cursor: pointer;
}
.imageModal__close::before,
.imageModal__close::after {
content: '';
position: absolute;
top: 19px;
left: 8px;
background-color: #fff;
width: 24px;
height: 2px;
}
.imageModal__close::before {
transform: rotate(45deg);
}
.imageModal__close::after {
transform: rotate(-45deg);
}
.imageModal__close:focus {
outline: 2px solid #fff;
outline-offset: 3px;
}
@media (max-width: 768px) {
	.imageModal {
	padding: 15px;
	}
	.imageModal__image {
	max-height: calc(100vh - 100px);
	}
	.imageModal__close {
	top: -42px;
	}
}

.flowList,
.priceList,
.worksList {
display: grid;
grid-template-columns: 1fr;
gap: 25px 50px;
}
.worksList {
gap: 25px;
}
.flowList::after,
.priceList::after,
.worksList::after {
display: none;
}
.flowList .block,
.priceList .block,
.worksList .block {
box-sizing: border-box;
background-color: #fff;
padding: 20px;
box-shadow: 0 0 0 1px #eee inset;
}
.flowList .block .pack,
.priceList .block .pack,
.worksList .block .pack,
.worksList .block .image {
float: none;
box-sizing: border-box;
margin: 0;
padding: 0;
width: auto;
}
.flowList h3 span {
display: inline-block;
margin-right: 10px;
font-family: garamond-premier-pro, serif;
font-weight: 400;
font-size: 24px;
letter-spacing: 0.05em;
color: #BF3939;
}
.priceList .price {
font-family: garamond-premier-pro, serif;
font-size: 30px;
font-weight: 700;
letter-spacing: 0.05em;
color: #BF3939;
}
.price-section .note {
position: relative;
margin-top: 20px;
font-size: 14px;
line-height: 1.7;
}
.worksList .block .image {
margin-bottom: 15px;
overflow: hidden;
}
.worksList .block .image a {
display: block;
}
.worksList .block .image img {
transition: transform 0.5s ease;
}
.worksList .block .image a:hover img {
transform: scale(1.05);
}
.worksList h3 a {
transition: all 0.5s ease;
background: linear-gradient(#BF3939, #BF3939) 0 100%/0 3px no-repeat;
padding-bottom: 3px;
text-decoration: none;
color: #333;
}
.worksList h3 a:hover {
background-size: 100% 3px;
}
.works-section .more {
position: relative;
overflow: hidden;
display: inline-block;
background-color: #7c8c42;
margin-top: 20px;
margin-right: auto;
margin-left: auto;
width: 100%;
text-align: center;
}
.works-section .more::before {
transition: transform 0.3s ease;
content: "";
position: absolute;
top: 0;
right: -50px;
bottom: 0;
left: 0;
border-right: 50px solid transparent;
border-bottom: 60px solid #BF3939;
transform: translateX(-100%);
}
.works-section .more:hover::before {
transform: translateX(0);
}
.works-section .more a {
display: inline-block;
position: relative;
padding: 14px 45px 14px 25px;
text-decoration: none;
font-size: 14px;
font-weight: 700;
line-height: 1.4;
color: #fff;
}
.works-section .more a::after {
content: 'keyboard_double_arrow_right';
position: absolute;
top: 50%;
right: 18px;
transform: translateY(-50%);
font-family: "Material Symbols Outlined";
font-weight: normal;
font-style: normal;
line-height: 1;
}
@media (min-width: 769px) {
	.flowList,
	.priceList {
	grid-template-columns: repeat(2, 1fr);
	}
	.worksList {
	grid-template-columns: repeat(3, 1fr);
	}
	.flowList .block,
	.priceList .block,
	.worksList .block {
	padding: 30px;
	}
	.works-section .more {
	width: 100%;
	}
}

#LINKS {
overflow: hidden;
position: relative;
background-color: #bcbf56;
padding-bottom: 20px;
}
#LINKS .head {
position: relative;
padding: 40px 20px;
}
#LINKS .head .en {
font-family: garamond-premier-pro, serif;
font-style: normal;
font-weight: 400;
font-size: 30px;
letter-spacing: 0.1em;
line-height: 1.2;
}
#LINKS .head h2 {
font-size: 16px;
font-weight: 700;
}
#LINKS .head h2::before {
content: '';
display: block;
background-color: #7c8c42;
margin: 0 auto 10px auto;
width: 40px;
height: 3px;
}
#LINKS .list {
display: flex;
flex-wrap: wrap;
text-align: left;
}
#LINKS .list .block {
padding-bottom: 20px;
width: 50%;
float: left;
}
#LINKS .block .image {
display: block;
position: relative;
overflow: hidden;
}
#LINKS .block .image:before,
#LINKS .block .image:after {
transition: all 0.5s ease;
content: '';
position: absolute;
background-color: #fff;
height: 2px;
width: 100%;
z-index: 1;
}
#LINKS .block .image:before {
top: 10px;
left: 0;
transform: translateX(100%);
}
#LINKS .block .image:after {
bottom: 10px;
right: 0;
transform: translateX(-100%);
}
#LINKS .block .image a {
display: block;
}
#LINKS .block .image a:before,
#LINKS .block .image a:after {
transition: all 0.5s ease;
content: '';
position: absolute;
background-color: #fff;
width: 2px;
height: 100%;
z-index: 1;
}
#LINKS .block .image a:before {
top: 0;
left: 10px;
transform: translateY(100%);
}
#LINKS .block .image a:after {
bottom: 0;
right: 10px;
transform: translateY(-100%);
}
#LINKS .pack.hover .image a:before,
#LINKS .pack.hover .image a:after,
#LINKS .pack.hover .image:before,
#LINKS .pack.hover .image:after,
#LINKS .block .image:hover a:before,
#LINKS .block .image:hover a:after,
#LINKS .block .image:hover:before,
#LINKS .block .image:hover:after {
transform: translate(0, 0);
}
#LINKS .block img {
transition: transform 0.5s ease;
width: 100%;
height: auto;
}
#LINKS .block a:hover img {
transform: scale(1.1) rotate(3deg);
}
#LINKS .block h3 {
margin: 5px 20px 0 20px;
font-size: 14px;
font-weight: 700;
line-height: 1.5;
}
#LINKS .block h3 a {
transition: all 0.5s ease;
background: linear-gradient(#BF3939, #BF3939) 0 100%/0 3px no-repeat;
padding-bottom: 3px;
text-decoration: none;
color: #333;
}
#LINKS .pack.hover h3 a,
#LINKS h3 a:hover {
background-size: 100% 3px;
}
#LINKS .block h3 a::after {
content: 'keyboard_double_arrow_right';
display: inline-block;
margin-left: 5px;
font-family: "Material Symbols Outlined";
font-weight: normal;
font-style: normal;
line-height: 1;
vertical-align: -0.15em;
font-size: 12px;
color: #BF3939;
}
#LINKS .block h3 span {
display: inline-block;
}
#LINKS .list img {
width: 100%;
height: auto;
}
@media (min-width: 769px) {
	#LINKS {
	padding-bottom: 40px;
	}
	#LINKS .head {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 40px 50px;
	max-width: 1200px;
	}
	#LINKS .head .en {
	font-size: 36px;
	}
	#LINKS .head .lead {
	text-align: center;
	}
	#LINKS .cont {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 50px;
	max-width: 1200px;
	}
	#TOPICS .block {
	margin-bottom: 30px;
	}
	#LINKS .list {
	display: flex;
	justify-content: center;
	}
	#LINKS .list .block {
	padding-bottom: 20px;
	max-width: 25%;
	flex: 1;
	}
	#LINKS .block h3 {
	margin: 5px 0 0 0;
	}
}
