@media (max-width: 767px) {
body {
font-size: 14px;
}
} .frontpage-mv {
width: 100%;
height: 800px;
position: relative;
background-color: var(--color-back-dark);
overflow: hidden;
}
.frontpage-mv::before {
z-index: 4;
content: "";
position: absolute;
display: block;
width: 100%;
height: 150px;
background: linear-gradient(
to bottom,
rgb(252 245 236 / 100%),
rgb(252 245 236 / 0%)
);
top: 0;
left: 0;
}
.frontpage-mv__copy {
padding: 190px 0 0 150px;
position: relative;
width: fit-content;
}
.frontpage-mv__copy::after {
content: "";
position: absolute;
display: block;
background-image: url(//www.ye-p.co.jp/wp-content/themes/yep/assets/images/index/mv_back_pc.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
width: 393px;
height: 278px;
top: 130px;
right: -200px;
z-index: 1;
}
.frontpage-mv__copy h2 {
letter-spacing: 0.15em;
line-height: 1.5;
font-weight: 700;
position: relative;
z-index: 2;
font-size: 48px;
margin-bottom: 40px;
}
.frontpage-mv__copy h2 span {
font-size: 38px;
}
.frontpage-mv__deco {
position: relative;
}
.frontpage-mv__deco::after {
content: "";
position: absolute;
display: block;
background-image: url(//www.ye-p.co.jp/wp-content/themes/yep/assets/images/index/mv_copy_deco.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 29px;
width: 26px;
top: -15px;
right: -20px;
}
.frontpage-mv__copy h3 {
font-size: 20px;
line-height: 2;
letter-spacing: 0.15em;
position: relative;
z-index: 2;
}
.frontpage-mv__copy h3 span {
font-size: 16px;
}
.frontpage-mv__wave {
width: 100%;
color: var(--color-back-light);
position: absolute;
bottom: 0;
left: 0;
z-index: 3;
}
.frontpage-mv__photo {
display: flex;
flex-direction: column;
gap: 30px;
max-width: 600px;
width: 100%;
margin: 0;
padding: 0;
list-style: none;
will-change: transform;
position: absolute;
top: 0;
right: 100px;
z-index: 2;
}
.frontpage-mv__photo li {
flex-shrink: 0;
width: 100%;
}
.frontpage-mv__photo img {
display: block;
width: 100%;
height: auto;
border-radius: 15px;
}
.frontpage-mv__backtext {
width: 100%;
overflow: hidden;
position: absolute;
bottom: 90px;
left: 0;
z-index: 1;
}
.frontpage-mv__backtext p {
display: flex;
align-items: center;
width: max-content;
margin: 0;
padding: 0;
white-space: nowrap;
will-change: transform;
color: #fae8e0;
font-weight: 700;
font-size: 200px;
}
.frontpage-mv__backtext-item {
display: block;
flex-shrink: 0;
padding-right: 0.3em;
}
.frontpage-banner {
position: absolute;
width: 340px;
bottom: 20px;
left: 20px;
z-index: 5;
}
.frontpage-banner__sp {
display: none;
}
@media (max-width: 1300px) {
.frontpage-mv__copy {
padding: 190px 0 0 50px;
}
.frontpage-mv__photo {
max-width: 500px;
right: 50px;
}
}
@media screen and (max-width: 1140px) {
.frontpage-mv {
height: 100dvh;
}
.frontpage-mv__photo {
flex-direction: row;
width: max-content;
position: relative;
max-width: 100%;
margin: 60px 0 0;
}
.frontpage-mv__photo li {
width: min(78vw, 360px);
}
.frontpage-mv__backtext {
bottom: 0;
}
.frontpage-mv__backtext p {
line-height: 1;
}
.frontpage-banner__pc {
display: none;
}
.frontpage-banner {
position: static;
}
.frontpage-banner__sp {
width: 100%;
padding: 15px 20px;
display: flex;
justify-content: left;
}
.frontpage-banner__sp img {
width: auto;
max-width: 400px;
}
}
@media (prefers-reduced-motion: reduce) {
.frontpage-mv__photo {
transform: none !important;
}
}
@media (max-width: 767px) {
.frontpage-mv {
height: 737px;
}
.frontpage-mv__photo {
gap: 15px;
}
.frontpage-mv__photo li {
width: 300px;
}
.frontpage-mv__copy {
padding: 130px 20px 0;
width: 100%;
}
.frontpage-mv__copy h2 {
font-size: 34px;
margin-bottom: 20px;
}
.frontpage-mv__copy h2 span {
font-size: 24px;
}
.frontpage-mv__copy h3 {
font-size: 16px;
}
.frontpage-mv__copy h3 span {
font-size: 12px;
}
.frontpage-mv__backtext p {
font-size: 120px;
}
.frontpage-mv__copy::after {
width: 325px;
height: 231px;
top: 200px;
right: -40px;
z-index: 1;
}
.frontpage-banner__sp {
padding: 60px 20px 15px;
}
} .frontpage-philosophy {
padding-top: 100px;
position: relative;
}
.frontpage-philosophy__inner {
display: grid;
grid-template-columns: 1fr 1fr;
}
.frontpage-philosophy__point {
position: relative;
z-index: 3;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: center;
gap: 40px;
border-right: var(--color-border-beige) solid 1px;
padding: 100dvh 50px 20px;
min-width: 760px;
}
.frontpage-philosophy__card {
width: calc((100% - 40px) / 2);
max-width: 310px;
background-color: var(--color-white);
border: var(--color-border-beige) solid 1px;
border-radius: 20px;
padding: 25px 30px 30px;
box-shadow: 0 0 3px rgb(232, 217, 218);
}
.frontpage-philosophy__card.fade-delay-1 {
transition-delay: 0.05s;
}
.frontpage-philosophy__card.fade-delay-2 {
transition-delay: 0.1s;
}
.frontpage-philosophy__card.fade-delay-3 {
transition-delay: 0.15s;
}
.frontpage-philosophy__card.fade-delay-4 {
transition-delay: 0.2s;
}
.frontpage-philosophy__card:nth-of-type(2) {
margin-top: 165px;
}
.frontpage-philosophy__card:nth-of-type(3) {
margin-top: -165px;
}
.frontpage-philosophy__title {
font-size: 28px;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: var(--color-border-beige) solid 1px;
letter-spacing: 0.1em;
}
.frontpage-philosophy__title span {
font-size: 16px;
}
.frontpage-philosophy__info {
font-size: 12px;
color: var(--text-sub-color);
line-height: 1.8;
min-height: 4lh;
margin-bottom: 30px;
}
.frontpage-philosophy__copy {
padding: 35px 0 200px 70px;
position: sticky;
top: 120px;
overflow: hidden;
align-self: start;
}
.frontpage-philosophy__copy p {
font-size: 20px;
letter-spacing: 0.15em;
line-height: 2;
font-weight: 700;
position: relative;
z-index: 2;
}
.frontpage-philosophy__copy::after {
content: "";
display: block;
position: absolute;
z-index: 1;
background-image: url(//www.ye-p.co.jp/wp-content/themes/yep/assets/images/index/philosophy_back_pc.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 566px;
height: 401px;
top: 30px;
right: -45px;
}
.frontpage-business__wave {
width: 100%;
color: var(--color-green-back);
position: absolute;
bottom: 0;
left: 0;
}
@media (max-width: 1140px) {
.frontpage-philosophy__point {
min-width: 0;
flex-direction: column;
align-items: center;
padding-right: 20px;
padding-left: 20px;
}
.frontpage-philosophy__card {
max-width: 310px;
width: 100%;
}
.frontpage-philosophy__card:nth-of-type(even) {
margin-left: auto;
}
.frontpage-philosophy__card:nth-of-type(odd) {
margin-right: auto;
}
.frontpage-philosophy__card:nth-of-type(2),
.frontpage-philosophy__card:nth-of-type(3) {
margin-top: 0;
}
.frontpage-philosophy__copy {
min-width: 455px;
padding-left: 40px;
padding-right: 20px;
}
.frontpage-philosophy__copy p {
font-size: 18px;
}
}
@media (max-width: 767px) {
.frontpage-philosophy {
padding-top: 80px;
position: relative;
}
.frontpage-philosophy__inner {
display: flex;
flex-direction: column-reverse;
}
.frontpage-philosophy__copy {
min-width: 0;
width: 100%;
padding: 0 20px 60px;
position: relative;
top: 0;
}
.frontpage-philosophy__copy p {
font-size: 16px;
}
.frontpage-philosophy__copy::after {
background-image: url(//www.ye-p.co.jp/wp-content/themes/yep/assets/images/index/philosophy_back_sp.png);
width: 325px;
height: 231px;
bottom: 70px;
top: auto;
right: -45px;
}
.frontpage-philosophy__point {
width: 100%;
padding-top: 0;
border: none;
gap: 30px;
}
.frontpage-philosophy__title {
font-size: 24px;
}
.frontpage-philosophy__info {
min-height: 0;
}
} .frontpage-business {
display: grid;
grid-template-columns: 320px minmax(0, 1fr);
align-items: start;
width: 100%;
background: var(--color-green-back);
padding: 120px 0 175px;
}
.frontpage-business .frontpage-heading__sub {
color: var(--color-green);
}
.frontpage-business__sidebar {
position: sticky;
top: 120px;
overflow: hidden;
background: var(--color-green-back);
}
.frontpage-business__sidebar-inner {
padding: 60px 0 0 50px;
}
.frontpage-business .frontpage-heading__sub::after {
background: url(//www.ye-p.co.jp/wp-content/themes/yep/assets/images/common/deco__green.png) center center / contain
no-repeat;
}
.frontpage-business__nav ul {
margin: 0;
padding: 0;
list-style: none;
}
.frontpage-business__nav li + li {
margin-top: 20px;
}
.frontpage-business__nav a {
position: relative;
display: flex;
align-items: center;
gap: 10px;
color: #938a87;
font-size: 16px;
font-weight: 700;
transition:
color 0.3s ease,
transform 0.3s ease;
transform: translateX(25px);
}
.frontpage-business__nav a:hover {
color: var(--color-green);
}
.frontpage-business__nav a.is-active {
color: var(--color-green);
transform: translateX(8px);
padding-left: 0;
}
.frontpage-business__nav a.is-active::before {
content: "";
display: block;
width: 5px;
height: 5px;
background: var(--color-green);
border-radius: 50%;
}
.frontpage-business__contents-inner {
padding: 0 50px 0 80px;
border-radius: 40px 0 0 40px;
background: #fff;
}
.frontpage-business__section {
scroll-margin-top: 120px;
display: flex;
gap: 60px;
align-items: center;
}
.frontpage-business__section#front-system {
padding-top: 120px;
}
.frontpage-business__section#front-design,
.frontpage-business__section#front-consulting {
margin-top: 60px;
padding-top: 60px;
border-top: var(--color-border-beige) solid 1px;
}
.frontpage-business__section#front-consulting {
padding-bottom: 120px;
}
.frontpage-business__section > picture img {
width: 250px;
border-radius: 15px;
}
.frontpage-business__section > div {
flex: 1;
}
.frontpage-business__section > div h3 {
font-size: 28px;
font-weight: 700;
letter-spacing: 0.15em;
}
.frontpage-business__section > div h3 span {
color: var(--color-green);
}
.frontpage-business__section > div > p {
margin: 35px 0 0;
font-weight: 400;
line-height: 1.8;
}
.button-box__2column {
display: flex;
gap: 20px;
}
@media (max-width: 1140px) {
.frontpage-business {
display: block;
}
.frontpage-business__sidebar {
position: static;
height: auto;
}
.frontpage-business__nav {
display: none;
}
.frontpage-business__sidebar-inner {
padding: 10px 0 0 50px;
}
.frontpage-business__contents {
padding-left: 50px;
}
.frontpage-business__contents-inner {
padding: 0 50px;
}
.frontpage-business__section#front-design,
.frontpage-business__section#front-consulting {
margin-top: 80px;
padding-top: 80px;
}
.frontpage-business__section#front-system {
padding-top: 80px;
}
.frontpage-business__section#front-consulting {
padding-bottom: 80px;
}
}
@media (max-width: 767px) {
.frontpage-business {
padding: 60px 0 80px;
}
.frontpage-business__sidebar-inner {
padding: 10px 0 0 20px;
}
.frontpage-business__contents {
padding-left: 20px;
}
.frontpage-business__contents-inner {
padding: 0 20px;
border-radius: 30px 0 0 30px;
}
.frontpage-business__section {
display: block;
}
.frontpage-business__section#front-design,
.frontpage-business__section#front-consulting {
margin-top: 60px;
padding-top: 60px;
}
.frontpage-business__section#front-system {
padding-top: 60px;
}
.frontpage-business__section#front-consulting {
padding-bottom: 60px;
}
.frontpage-business__section > h3 {
font-size: 24px;
font-weight: 700;
letter-spacing: 0.15em;
line-height: 1.8;
margin-bottom: 35px;
}
.frontpage-business__section > h3 span {
color: var(--color-green);
}
.frontpage-business__section > picture img {
max-width: 370px;
width: 100%;
}
.frontpage-business__section > div {
width: 100%;
}
.frontpage-business__section > div > p {
margin: 45px 0 40px;
}
.button-box__2column {
gap: 15px;
}
.button-box__2column .common-button {
width: 159px;
}
} .frontpage-product {
position: relative;
padding: 65px 0 175px;
background-color: var(--color-back-dark);
}
.frontpage-product::before {
content: "";
display: block;
width: 100%;
height: 56px;
border-radius: 60px 60px 0 0;
position: absolute;
top: -55px;
left: 0;
background-color: var(--color-back-dark);
}
.frontpage-product .co-product-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 40px;
}
.frontpage-product .co-product-list li {
width: calc((100% - 80px) / 3);
}
.frontpage-product .co-product-list li a {
transition: 0.3s ease;
}
.frontpage-product .co-product-list li a:hover {
opacity: 0.5;
}
.frontpage-product .co-product-list dt {
display: grid;
place-items: center;
height: 150px;
border-radius: 15px;
box-shadow:
0 0 3px rgba(247, 234, 218, 1),
0 0 3px rgba(247, 234, 218, 1),
0 0 3px rgba(247, 234, 218, 1);
text-align: center;
background: var(--color-back-light);
padding: 10px;
}
.frontpage-product .co-product-list dt img {
max-width: 200px;
width: 100%;
}
.frontpage-product .co-product-list dd {
margin-top: 10px;
font-weight: var(--font-weight-regular);
font-size: 12px;
}
@media screen and (max-width: 767px) {
.frontpage-product {
padding: 40px 0 80px;
}
.frontpage-product::before {
height: 21px;
top: -20px;
border-radius: 20px 20px 0 0;
}
.frontpage-product .co-product-list {
gap: 30px;
}
.frontpage-product .co-product-list li {
width: 100%;
max-width: 500px;
}
.frontpage-product .co-product-list dt {
height: 113px;
}
.frontpage-product .co-product-list dt img {
max-width: 155px;
}
} .frontpage-blog {
position: relative;
z-index: 2;
}
.frontpage-blog__wave {
width: 100%;
color: var(--color-blue-back);
}
.frontpage-blog__main {
background-color: var(--color-blue-back);
padding: 110px 0 175px;
}
.frontpage-blog__main h2 {
letter-spacing: 0.15em;
line-height: 1.5;
font-size: 32px;
margin-bottom: 60px;
}
@media (max-width: 767px) {
.frontpage-blog__main {
padding: 60px 0 80px;
}
} .blogslider {
padding-left: 50px;
}
.blogslider-slider {
margin-left: max(24px, calc((100vw - var(--content-width)) / 2 + 24px));
}
.blogslider-slider .slick-list {
overflow: visible;
}
.blogslider-slider .slick-track {
display: flex;
}
.blogslider-slider .slick-slide {
height: auto;
margin-right: var(--gap);
}
.blogslider-slider .slick-slide > div {
height: 100%;
}
.blogslider-card {
height: 100%;
overflow: hidden;
border-radius: var(--card-radius);
background: #fff;
box-shadow: 0 6px 18px rgb(38 50 70 / 8%);
margin-right: 40px;
}
.blogslider-card a {
display: flex;
height: 100%;
color: inherit;
text-decoration: none;
flex-direction: column;
}
.blogslider-card .thumbnail img {
display: block;
aspect-ratio: 350 / 228;
object-fit: cover;
}
.blogslider-card__body {
min-height: 170px;
padding: 24px 24px 28px;
}
.blogslider-card time {
display: block;
margin-bottom: 14px;
color: var(--color-gray-light);
}
.blogslider-card h3 {
display: -webkit-box;
overflow: hidden;
margin: 0;
font-size: 18px;
line-height: 1.75;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.blogslider-navigation {
display: grid;
margin: 40px auto 0;
padding: 0 50px;
align-items: center;
grid-template-columns: minmax(180px, 1fr) auto 250px;
gap: 38px;
}
.blogslider-progress {
position: relative;
height: 28px;
cursor: pointer;
touch-action: none;
}
.blogslider-progress::before {
position: absolute;
top: 50%;
right: 0;
left: 0;
height: 3px;
background: var(--color-border-blue);
content: "";
transform: translateY(-50%);
}
.blogslider-progress__bar {
position: absolute;
top: 50%;
left: 0;
width: 20%;
height: 6px;
border-radius: 10px;
background: var(--color-blue);
transform: translate(0, -50%);
transition:
width 0.3s ease,
transform 0.3s ease;
}
.blogslider-arrows {
display: flex;
gap: 14px;
}
.blogslider-arrow {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 45px;
height: 45px;
cursor: pointer;
transition:
opacity 0.2s ease,
transform 0.2s ease;
}
.blogslider-arrow__prev {
background-image: url(//www.ye-p.co.jp/wp-content/themes/yep/assets/images/index/blogslider_prev.svg);
}
.blogslider-arrow__next {
background-image: url(//www.ye-p.co.jp/wp-content/themes/yep/assets/images/index/blogslider_next.svg);
}
.blogslider-arrow:hover:not(:disabled) {
transform: translateY(-2px);
}
.blogslider-arrow:focus-visible,
.blogslider-progress:focus-visible,
.blogslider-list-link:focus-visible {
outline: 3px solid #2b69d1;
outline-offset: 4px;
}
.blogslider-arrow:disabled {
cursor: default;
opacity: 0.35;
}
.blogslider-navigation .common-button {
margin-left: auto;
}
@media (max-width: 767px) {
.frontpage-blog__main h2 {
font-size: 20px;
line-height: 1.8;
margin-bottom: 40px;
}
.blogslider {
padding-left: 20px;
}
.blogslider-navigation {
display: flex;
flex-wrap: wrap;
padding: 0 20px;
gap: 40px 30px;
}
.blogslider-progress {
width: calc(100% - 30px - 105px);
}
.blogslider-navigation .common-button {
margin: 0 auto;
}
.blogslider-card {
margin-right: 30px;
}
}  .frontpage-company {
padding: 65px 0 120px;
position: relative;
z-index: 3;
}
.frontpage-company::before {
content: "";
position: absolute;
display: block;
height: 56px;
width: 100%;
background-color: var(--color-back-light);
top: -55px;
left: 0;
border-radius: 60px 60px 0 0;
}
.frontpage-company > img {
position: absolute;
width: calc((100% - 200px) / 2);
max-width: 600px;
top: 100px;
right: 0;
border-radius: 40px 0 0 40px;
}
.frontpage-company .wrapper > p {
font-size: 18px;
line-height: 1.8;
margin-bottom: 50px;
width: calc(100% - 400px);
}
@media (max-width: 767px) {
.frontpage-company {
padding: 40px 0 60px;
}
.frontpage-company::before {
height: 21px;
top: -20px;
border-radius: 20px 20px 0 0;
}
.frontpage-company .wrapper {
width: 100%;
padding-left: 20px;
}
.frontpage-company .wrapper > p {
font-size: 14px;
margin: 40px 0;
width: 100%;
padding-right: 20px;
}
.frontpage-company .wrapper > img {
width: 100%;
border-radius: 20px 0 0 20px;
}
} .frontpage-news .wrapper {
display: flex;
gap: 80px;
align-items: flex-start;
margin-bottom: 120px;
}
.frontpage-news__heading {
width: fit-content;
}
.frontpage-news__list {
flex: 1;
border-bottom: var(--color-border-beige) solid 1px;
}
.frontpage-news__list a {
display: flex;
align-items: center;
position: relative;
padding: 25px 0;
border-top: var(--color-border-beige) solid 1px;
}
.frontpage-news__list a > time {
width: 95px;
font-size: 12px;
}
.frontpage-news__list a > span {
width: 100%;
padding-right: 80px;
flex: 1;
transition: 0.3s;
}
.frontpage-news__list a img {
position: absolute;
top: calc(50% - 15px);
right: 0;
transition: transform 0.3s ease;
width: 30px;
}
.frontpage-news__list a:hover > span {
color: var(--color-main);
}
.frontpage-news__list a:hover img {
transform: scale(1.35);
}
@media (max-width: 767px) {
.frontpage-news .wrapper {
flex-direction: column;
gap: 0;
}
.frontpage-news__list {
width: 100%;
margin-bottom: 40px;
}
.frontpage-news__list a {
flex-direction: column;
align-items: flex-start;
gap: 5px;
padding: 15px 0;
}
.frontpage-news__list a > time {
font-size: 14px;
}
.frontpage-news .common-button {
margin: 0 auto;
}
}