@charset "UTF-8";
/* CSS Document */

section.kv {
    width: 100%;
    height: 100vh;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(248, 238, 216, 1) 100%);
}

.kv_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 9;
}

.kv_bg {
    width: 50%;
    right: 0;
    left: inherit;
}

.kv_title {
    width: 80%;
    margin: 0 auto;
    padding-top: 50px;
}

.kv_title_en {
    font-size: 14rem;
    line-height: 90%;
    font-weight: 500;
    letter-spacing: -3%;
    width: max-content;
}

.kv_title_en span {
    width: 80px;
    left: 50%;
    top: 20px;
    margin-left: -40px;
    height: 70px;
    display: block;
    content: "";
    position: relative;
}

.kv_title_en span:before {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background: #000;
    transform: rotate(45deg);
    top: 50%;
    position: absolute;
}

.kv_title_en span:after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background: #000;
    transform: rotate(-45deg);
    top: 50%;
    position: absolute;
}

h1.kv_title_jp {
    font-size: 2.4rem;
    margin-top: 3%;
    line-height: 150%;
    font-weight: 500;
}

.kv_title_en,
.kv_title_en_small {
    color: transparent;
    background-image: repeating-linear-gradient(
        90deg,
        #000 0%,
        #315d69 10%,
        #9b7b48 25%,
        #315d69 40%,
        #000 50%,
        #315d69 60%,
        #9b7b48 75%,
        #315d69 90%,
        #000 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: kvTitleFlow 8s linear infinite;
}

.kv_title_en_small {
    font-size: 6rem;
    margin-top: 1%;
    display: flex;
    font-weight: 500;
    align-items: center;
    letter-spacing: -3%;
}

@keyframes kvTitleFlow {
    from { background-position: 200% 50%; }
    to   { background-position: 0% 50%; }
}

.kv_title_en_small span {
    width: 70px;
    height: 70px;
    display: block;
    content: "";
    position: relative;
}

.kv_title_en_small span:before {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    transform: rotate(45deg);
    top: 50%;
    position: absolute;
}

.kv_title_en_small span:after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    transform: rotate(-45deg);
    top: 50%;
    position: absolute;
}

.philosophy_inner {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: end;
}

.philosophy_contents {
    width: 54%;
}

.section_title_en {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -1px;
}

.section_title_en:after {
    content: "";
    display: block;
    width: 80px;
    height: 1px;
    background: #000;
    margin-top: 10px;
}

.philosophy_bg {
    width: 62%;
    z-index: 9999;
    top: 6%;
    max-width: 680px;
    left: 0%;
    height: 50%;
}

h2.philosophy_title {
    margin: 50px 0;
    padding-left: 8%;
}

h2.philosophy_title span {
    font-size: 8rem;
    font-weight: 500;
    letter-spacing: -3px;	
    line-height: 130%;
}

p.philosophy_cap {
    font-size: 2rem;
    line-height: 180%;
    padding-left: 8%;
    margin-top: 50px;
    font-weight: 500;
    margin-bottom: 50px;
}

.philosophy_contents .viewmore {
    margin-left: 8%;
}

section.philosophy {
    padding: 300px 0;
    border-radius: 0 0 300px 0;
    position: relative;
    z-index: 9999;
    overflow: hidden;
    border-bottom: 2px solid #fff;
    border-radius: 0 0 300px;
}

.philosophy_wrapper {
    box-shadow: 0px -150px 120px #FAF7EF;
    position: relative;
    z-index: 99;
    border-radius: 0 0 300px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 238, 216, 1) 100%);
}

.service_head {
    padding: 300px 6% 50px;
    position: relative;
}

h2.service_title {
    margin: 50px 0;
    padding-left: 5%;
}

h2.service_title span {
    font-size: 8rem;
    font-weight: 500;
    letter-spacing: -3px;
    line-height: 130%;
}

ul.service_list {
    display: flex;
    justify-content: space-between;
    border-right: 1px solid;
}

ul.service_list li {
    width: 33.3%;
    padding: 30px 5%;
    border-left: 1px solid;
    display: grid;
}

a.viewmore {
    display: block;
    text-align: center;
    color: #000;
    font-size: 1.8rem;
    font-weight: 300;
    width: max-content;
    position: relative;
    margin: 30px 0 0;
}

a.viewmore i {
    border: 1px solid;
    border-radius: 100px;
    font-size: 1rem;
    opacity: 0.25;
    margin-left: 10px;
    padding: 2px;
}

.service_inner {
    width: 86%;
    margin: 0 auto;
}

.solution_bg span {
    font-size: 34rem;
    letter-spacing: -20px;
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.5);
    color: rgba(0,0,0,0);
    font-weight: 600;
}

.horizontal-parallax-container.solution_bg {position: absolute;bottom: 0;right: 0;width: 100%;padding-left: 45%;}

.service_list_num {
    font-size: 10rem;
    font-weight: 300;
    letter-spacing: -5%;
    position: relative;
    width: max-content;
}

.service_list_num:after {
    content: "";
    height: 1px;
    width: 60px;
    background: #000;
    display: block;
    position: absolute;
    transform: rotate(-45deg);
    right: -60px;
    top: 50%;
    margin-top: 15px;
}

.service_list li h3 {
    font-size: 3rem;
    font-weight: 500;
    margin: 5% 0 10%;
}

ul.service_list li p {
    font-size: 1.5rem;
    line-height: 160%;
}

.service_list_illust {
    width: 60%;
    margin: 30px auto;
}

.casework_bg {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 90%;
	margin-left: 10%;
	height: 120vh;
}

.casework_bg:after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    width: 100%;
    height: 40vh;
    position: absolute;
    top: 5%;
    opacity: 0.75;
    left: 0;
    content: "";
}

.casework .parallax-content {
    position: relative;
    z-index: 1;
    margin-top: 86vh;
}

section.casework {
    padding: 300px 0;
}

h2.casework_title {
    margin: 50px 0;
    padding-left: 10%;
}

h2.casework_title span {
    font-size: 8rem;
    font-weight: 500;
    line-height: 130%;
}

p.cawework_head_cap {
    font-size: 2rem;
    line-height: 180%;
    font-weight: 500;
    margin: 0;
    padding-left: 10%;
    margin-bottom: 50px;
}

.casework_head {
    background: #FAF7EF;
    padding: 8% 5% 0;
    margin-left: -10%;
    width: 50%;
}

.casework-slide-info {
    padding: 10%;
    display: grid;
    gap: 20px;
}

.casework-slide-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    padding: 12%;
}

.casework-slide-title span {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #01505F;
}

.casework-slide-info-box span {
    display: block;
    border: 1px solid;
    width: max-content;
    border-radius: 100px;
    padding: 3px 14px;
    margin-bottom: 8px;
}

.casework_inner {
    width: 90%;
    margin-left: 10%;
    display: flex;
    align-items: center;
    position: relative;
}

.casework-slide-info-box {
    color: #fff;
}

.casework-slide-info-01 {
	background-image: url("../img/index/case_bg01.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.casework-slide-info-02 {
	background-image: url("../img/index/case_bg02.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}


.casework-slide-info-03 {
	background-image: url("../img/index/case_bg03.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.news_inner {
    width: 84%;
    justify-content: space-between;
    margin: 0 auto;
    display: flex;
    max-width: 1200px;
}

h2.news_title {
    margin: 50px 0;
    padding-left: 8%;
}

h2.news_title span {
    font-size: 5rem;
    font-weight: 500;
    line-height: 130%;
}

.news_head {
    width: 40%;
}

ul.news_list {
    width: 56%;
    border-top: 1px solid #eee;
}

ul.news_list li a {
    display: flex;
    padding: 50px 8% 50px 0;
    color: #000;
    width: 100%;
    align-items: baseline;
    position: relative;
    gap: 20px;
}

ul.news_list li a i {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -7px;
}

ul.news_list li {
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

ul.news_list li a h3 {
    transition: opacity 0.4s ease;
}

ul.news_list li a:hover h3 {
    opacity: 0.5;
}

ul.news_list li a i {
    display: inline-block;
    transition: none;
}

ul.news_list li a:hover i {
    animation: newsArrowSlide 0.6s ease-in-out forwards;
}

@keyframes newsArrowSlide {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    40% {
        transform: translateX(120%);
        opacity: 0;
    }

    41% {
        transform: translateX(-120%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.news_list_category {
    padding: 5px 8px;
    background: linear-gradient(45deg, rgba(1, 52, 68, 1) 0%, rgba(0, 86, 112, 1) 100%);
    color: #fff;
    font-weight: 400;
    font-size: 1.3rem;
    width: 80px;
    border-radius: 100px;
    text-align: center;
}

.news_list_date {
    color: #01505F;
    font-weight: 500;
    width: max-content;
    font-size: 1.6rem;
}

.news_list li a h3 {
    width: 70%;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
}

section.news {
    padding: 200px 0 0;
}

section.recruit {
    padding-bottom: 200px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 247, 239, 1) 100%);
}

.recruit_bg {
	background-position: center right;
	background-repeat: no-repeat;
	background-size: cover;
	width: 90%;
}

.recruit_inner {
    width: 80%;
    align-items: center;
    padding: 200px 12%;
    position: relative;
    z-index: 2;
}

p.recruit_cap {
    width: 100%;
    font-size: 2rem;
    line-height: 180%;
    text-align: justify;
    margin: 5% 0;
    padding-left: 5%;
    font-weight: 500;
}

h2.recruit_title {
    margin: 50px 0;
    padding-left: 5%;
}

h2.recruit_title span {
    font-size: 8rem;
    line-height: 130%;	
    letter-spacing: -3px;
    font-weight: 500;
}

section.cta {
    display: flex;
    width: 90%;
    position: relative;
    margin: 0 auto;
    background: linear-gradient(45deg, rgba(1, 52, 68, 1) 0%, rgba(0, 86, 112, 1) 100%);
    max-width: 1100px;
}

a.cta_box {
    width: 50%;
    padding: 8% 0;
    text-align: center;
    color: #fff;
}

.cta_box_title {
    font-size: 3rem;
    font-weight: 500;
}

a.cta_box p {
    margin: 5% 0 10%;
    font-weight: 300;
    line-height: 180%;
    font-size: 1.6rem;
}

.cta_box_arrow {
    font-weight: 300;
    font-size: 1.6rem;
}

section.cta:after {
    display: block;
    height: 70%;
    width: 1px;
    content: "";
    background: rgba(255,255,255,0.2);
    position: absolute;
    left: 50%;
    top: 15%;
}

.cta_box_title span {
    display: block;
    font-weight: 400;
    margin-bottom: 10px;
    font-size: 2rem;
    opacity: 0.3;
}

.cta_box_title:after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 20px auto 40px;
}


/* セクション全体の余白調整 */
.slider-container {
  width: 100%;
  padding-left: 6%; /* 左側の開始位置を揃える */
  overflow: hidden;
  margin-top: 10%;
  padding-right: 6%;
}

/* スライドが見切れるように溢れ出しを許可 */
.mySwiper {
  width: 100%;
  overflow: visible; 
}

.slide-card {
  background: #fff;
  font-size: 2rem;
  border-radius: 10px;
  padding-bottom: 30px;
  box-shadow: 0 13px 44px rgba(0,0,0,0.04), 0 11px 34px rgba(0,0,0,0.04);
}

/* ナビゲーションコントロールの配置 */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  padding-right: 6%; /* 右側の位置調整 */
}

/* プログレスバー（プログレスライン）のスタイル */
.swiper-pagination-progressbar {
  position: relative !important;
  flex: 1; /* バーの幅を自動で伸ばす */
  height: 2px !important;
  background: rgba(0, 0, 0, 0.1) !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #000 !important; /* バーのアクティブ色 */
}

/* 矢印ボタンの表示調整 */
.navigation-buttons {
  display: flex;
  gap: 15px;
  position: relative;
  width: 80px;
  height: 40px;
}

.swiper-button-prev,
.swiper-button-next {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  width: 35px !important;
  height: 35px !important;
  color: #000 !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.6rem !important;
}


.slide-card .viewmore {
    margin: 30px auto 0;
    font-size: 1.4rem;
}

.casework_head .viewmore {
    margin-left: 10%;
}

.news_head .viewmore {
    margin-left: 10%;
}

.recruit_inner .viewmore {
    margin-left: 5%;
}

ul.service_list li .viewmore {
    margin: 30px auto 0;
}
/* KVの×モチーフにもごく小さな呼吸感を追加 */
.kv_title_en_small span { animation: kvCrossBreath 4.5s ease-in-out infinite; }
@keyframes kvCrossBreath { 0%,100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }

/* Placeholder for CASE cards without a related NEWS post: non-interactive. */
.slide-card .leg-case-no-news { display: block; width: max-content; margin: 30px auto 0; text-align: center; font-size: 1.4rem; font-weight: 300; color: #000; cursor: default; }

/* TOP Information — same visual language as the TOP NEWS list. */
.service .leg-information {
    padding: 5%;
    position: relative;
    box-shadow: 0 13px 44px rgba(0,0,0,0.04), 0 11px 34px rgba(0,0,0,0.04);
    box-sizing: border-box;
    border-radius: 14px;
    width: 88%;
    background: #fff;
    max-width: none;
    margin: 100px auto 0;
    color: #000;
}
.service .leg-information .section_title_en { margin-bottom: 32px; }
.service .leg-information-link {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 50px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 0 44px 0 0;
    color: #000;
    text-decoration: none;
    position: relative;
}
.service .leg-information-date {
    flex: 0 0 auto;
    color: #01505F;
    font-size: 1.6rem;
    font-weight: 500;
    white-space: nowrap;
}
.service .leg-information-category {
    flex: 0 0 auto;
    min-width: 80px;
    margin: 0 20px;
    padding: 5px 10px;
    border-radius: 100px;
    background: linear-gradient(45deg, #013444 0%, #005670 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
}
.service .leg-information-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    transition: opacity .4s ease;
}
.service .leg-information-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
}
@media (hover: hover) {
    .service .leg-information-link:hover .leg-information-title { opacity: .5; }
    .service .leg-information-link:hover .leg-information-arrow { animation: legInformationArrow .6s ease-in-out; }
}
@keyframes legInformationArrow {
    0%, 100% { transform: translate(0, -50%); opacity: 1; }
    40% { transform: translate(120%, -50%); opacity: 0; }
    41% { transform: translate(-120%, -50%); opacity: 0; }
}
/* Information already supplies the top spacing inside Service. */
.service .leg-information + .service_head {padding-top: 300px;}
@media (max-width: 768px) {
    .service .leg-information {width: 88%;padding: 5%;margin-bottom: 50px;border-radius: 10px;}
    .service .leg-information .section_title_en { margin-bottom: 24px; }
    .service .leg-information-link {flex-wrap: wrap;gap: 10px 0;padding: 0;}
    .service .leg-information-date { font-size: 1.3rem; }
    .service .leg-information-category { min-width: 70px; margin: 0 12px; font-size: 1.1rem; }
    .service .leg-information-title { flex: 0 0 100%; white-space: normal; font-size: 1.5rem; }
    .service .leg-information + .service_head { padding-top: 75px; }
	.service .leg-information-link {margin-top: 0;}
}
@media (prefers-reduced-motion: reduce) {
    .service .leg-information-link:hover .leg-information-arrow { animation: none; }
    .service .leg-information-title { transition: none; }
}
