@charset "UTF-8";

:root {
  --wait: 4s;          /* 全体待機 */
  --fade: 1.5s;         /* フェードイン時間 */
  --gap1: .2s;         /* 『価値』の猶予 */
  --gap2: 1s;         /* 『人』の猶予 */
  --color-red: #9e1b22;
}

/* ▼ 全体フェードイン */
.kv-catch {
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  animation: kvFade var(--fade) ease forwards;
  animation-delay: var(--wait);
  font-size: 64px;
  font-feature-settings: "palt";
  line-height: 1;
}
@keyframes kvFade {
  to { opacity: 1; transform: translateY(0); }
}

/* ▼ アクセント（最初は白→赤へ） */
.accent {
  color: #fff;
  transition: color .45s ease;
}

/* 『価値』 */
.kv-catch .first {
  animation: toRed .45s ease forwards;
  animation-delay: calc(var(--wait) + var(--fade) + var(--gap1));
}
/* 『人』 */
.kv-catch .second {
  animation: toRed .45s ease forwards;
  animation-delay: calc(var(--wait) + var(--fade) + var(--gap1) + var(--gap2));
}
@keyframes toRed { to { color: var(--color-red); } }

/* モーションを好まないユーザー対策 */
@media (prefers-reduced-motion: reduce) {
  .kv-catch { opacity: 1; transform: none; animation: none; }
  .accent { color: var(--color-red); }
}
.catch-en {
    font-size: 33px;
    font-weight: normal;
    padding-left: 5px;
}

section.section-hero {
    position: relative;
}

/*-文字を一行ずつ表示させる-*/
.line {
  opacity: 0;
  transition: opacity 1s ease-in;
}
.line.visible {
  opacity: 1;
}
/*-TOPに戻る-*/
.back-to-top-btn {
  position: absolute;
  right: 20px;
  top: 9999px; /* 初期は画面外に逃す */
  padding: 10px 15px;
  border: none;
  background: #4f2222;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
  cursor: pointer;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.dli-chevron-up {
  display: inline-block;
  vertical-align: middle;
  color: #ffffff;
  line-height: 1;
  width: 1em;
  height: 1em;
  border: 0.1em solid rgb(255 255 255);
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(25%) rotate(-45deg);
}

/*======  loading  ======*/
/*背景部分*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loading_text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ac9d9d;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*ローディング中に表示されるロゴ*/
.loading__logo {
  opacity: 0;
  animation: logo_fade 4s 0.5s forwards;
  width: 140px;
  height: auto;
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}



/*ここまで*/

/*======  catchcopy  ======*/
.catchcopy h2 {
    margin: 0 0 0 50px;
}
.catchcopy {
    position: absolute;
    z-index: 5;
    top: 47%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}
.catchcopy-container{
    width: auto;
    position: relative;
    height: 53vh;
}
/* 4秒待ってから1秒でフェードイン */
.fadein { opacity: 0; animation: fadeIn 1s ease-out 4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* アクセシビリティ配慮（動きを減らす設定の人には即表示）*/
@media (prefers-reduced-motion: reduce) {
  .fadein { opacity: 1 !important; animation: none !important; }
}
/*====== scroll_down =======*/
url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

.scroll_down{
  position:absolute;
  bottom: 0px;
  left: 50%;
}

.scroll_down a{
  position: absolute;
  left: 53px;
  bottom: 88px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 44px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

.scroll_down span {
    position: absolute;
    bottom: -305px;
    left: -7px;
    writing-mode: tb;
    font-size: 45px;
    color: #b88d8d;
    letter-spacing: 5px;
}

@keyframes circlemove{
  0%{bottom: 200px;}
  100%{bottom:0px;}
}

@keyframes cirlemovehide{
  0%{opacity:0}
  50%{opacity:1;}
  80%{opacity:0.9;}
  100%{opacity:0;}
}

.scroll_down:after{
  content:"";
  position: absolute;
  bottom:0;
  left: 49px;
  width:2px;
  height: 200px;
  background: #ffffff;
}

.scroll_down.animation {
  animation-name: scroll_anime;
  animation-duration:12s;
}
@keyframes scroll_anime {
  0%{
   opacity: 0;
  }
  65%{
    opacity:0;
  }

  100%{
   opacity: 1;
  }
}

/*======  slider  ======*/

.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider-container::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgb(53 31 31 / 30%);
  z-index: 1;
}

.slider-area {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#video-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  opacity: 0;
  transition: opacity 1s ease;
  overflow: hidden;
}

#video-slider.visible {
  opacity: 1;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: opacity 1.2s ease;
  object-fit: cover;
  z-index: 0;
}

.slider-item.show {
  visibility: visible;
  opacity: 1;
  z-index: 1;
}

.slider-item video,
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*==== company-vision ====*/
span.cv-title {
    position: absolute;
    top: 0;
    left: 17px;
    writing-mode: tb;
    font-size: 45px;
    font-weight: bold;
    color: #8b6b6b;
    letter-spacing: 5px;
}
.cv-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-title:before {
  background: #8b6b6b;
  height: 60px;
  content: "";
  width: 2px;
}
.cv-title:before {
   margin-bottom: 10px;
}

.cv-conteainer01 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.cv-titleBlock img {
    width: 600px;
    margin-top: 30px;
}
.cv-titleBlock {
    margin-right: 70px;
}
.company-vision {
    background: #573031;
    background-position: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    z-index: 1;
    position: relative;
}
h2.cv-sabtitle {
    color: #bb8d8d;
    font-size: 57px;
    line-height: 1.3;
}
.cv-sabtitle span {
    color: #ffffff;
}
.cv-titleBlock p {
    font-style: italic;
    color: #754a4a;
    margin-top: 15px;
    font-size: 20px;
}
.cv-textblock p {
    line-height: 2;
    font-size: 18px;
    color: #b88d8d;
  }
.cv-textblock{
  border-left: solid 1px #6f4a48;
  padding-left: 80px;
}
.arrow_box {
	position: relative;
}
.arrow_box:after, .arrow_box:before {
	right: 100%;
	top: 17%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(136, 183, 213, 0);
	border-right-color: #553031;
	border-width: 27px;
	margin-top: -33px;
}
.arrow_box:before {
	border-color: rgba(194, 225, 245, 0);
	border-right-color: #6f4a48;
	border-width: 29px;
	margin-top: -35px;
}


/*==== reader-comment ====*/
.rc-conteainer01 {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}
.rc-titleBlock img {
    width: 75%;
}
.reader-comment {
  position: relative;
  background: #271c1c;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
span.rc-title {
    position: absolute;
    font-size: 46px;
    font-weight: bold;
    color: #553031;
    line-height: 1;
    letter-spacing: 5px;
    writing-mode: tb;
    right: 50px;
    top: 0px;
}

.rc-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc-title:before {
  background: #553031;
  height: 60px;
  content: "";
  width: 2px;
  margin-bottom: 10px;
}

.rc-textblock {
    width: 45%;
    border-right: solid 1px #4e4242;
    padding-right: 80px;
}
.arrow_box_right {
	position: relative;
}
.arrow_box_right:after, .arrow_box_right:before {
	left: 100%;
	top: 17%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box_right:after {
	border-color: rgba(136, 183, 213, 0);
	border-left-color: #271c1c;
	border-width: 27px;
	margin-top: -33px;
}
.arrow_box_right:before {
	border-color: rgba(194, 225, 245, 0);
	border-left-color: #4d4242;
	border-width: 29px;
	margin-top: -35px;
}

h2.rc-sabtitle {
    color: #877878;
    font-size: 45px;
    line-height: 1.3;
    text-align: right;
    margin-top: 10px;
}
.rc-sabtitle span {
    color: #ffffff;
    font-size: 57px;
    margin-left: 30px;
}

.rc-textblock p {
    line-height: 1.8;
    color: #877878;
    margin-top: 31px;
    font-size: 18px;
}

p.rc-en {
    font-style: italic;
    color: #4f4242;
    font-size: 20px;
    margin-top: 15px;
    text-align: right;
}
.rc-titleBlock {
    width: 40%;
    margin-left: 100px;
}

/*=== business-content ===*/

.business-content {
  width: 100%;
  background-attachment: fixed;
  background-image: url(../img/56956.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}
.top-contents-h2 {
    position: relative;
    text-align: center;
    font-size: 35px;
    margin-bottom: 70px;
    color: #a13a28;
}
.top-contents-h2 {
  font-size: 50px;
  position: relative;
  text-align: center;
  line-height: 1;
}

.top-contents-h2 span {
  font-size: 25px;
  margin-top: 20px;
  padding-bottom: 30px;
  display: block;
  color: #d75e49;
}

.top-contents-h2:before {
  position: absolute;
  bottom: -36px;
  width: 2px;
  height: 30px;
  content: '';
  border-radius: 3px;
  background: #ffffff;
}


p.bs-text {
    color: #d15c46;
    margin-bottom: 40px;
    text-align: center;
}
.bs-contentsBOX {
    margin: 0 10px;
    padding: 30px 15px;
    background: #fff3dc;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%;
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.bs-contentsBOX:hover{
    background-color:#ffffff;
	width:30%;
}
.bs-contents-img01 img ,.bs-contents-img02 img,.bs-contents-img03 img {
    width: 200px;
}

.bs-contents-img01,.bs-contents-img02,.bs-contents-img03{
  margin-bottom: 15px;
}
.bs-contents {
    display: flex;
    justify-content: center;
}
.bs-contents-text {
    text-align: center;
}

/*=== case-study ===*/

.case-study {
  width: 100%;
  margin: 0;
  background-attachment: fixed;
  background-image: url(../img/56956-2.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}
.cs-contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.cs-contents p {
    background-color: #fef3db;
    padding: 9px 18px;
    margin: 8px;
	transition: 0.5s;
}
.cs-contents p:hover{
	padding:9px 30px;
	background:#fff;
	cursor:pointer;
}
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-flat {
  overflow: hidden;
  padding: 1rem 5rem;
  color: #fff;
  border-radius: 0;
  background: #3b2d2d;
}

a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 500%;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
  transform: translateX(-98%) translateY(-25%) rotate(45deg);
  background: #b1240e;
}

a.btn-flat:hover:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}
.btn-container {
    margin: 45px;
    display: flex;
    justify-content: center;
}

.case-bottom-bg{
  background-image: url(../img/00.webp);
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 100%;
  height: 250px;
}

/*===notification===*/
.bottom-contents {
    width: 100%;
}
.notification {
    width: 100%;
    background: #e3d6ca;
}

.notification-line {
  background: #f1ebe3;
  margin: 4px 0;
  transition:0.5s;
}
.notification-line:hover{
	background:#fff;
}

.notification-line a {
    text-decoration: none;
    color: black;
    padding: 15px 25px;
    display: flex;
    align-items: center;
}
span.new-label {
    background: #ce3333;
    color: #ffffff;
    padding: 1px 6px;
    line-height: 1.4;
    font-size: 13px;
    margin-left: 15px;
    height: 18px;
    border-radius: 3px;
    display: flex;
    align-items: center;
}
.attribute {
    margin-right: 25px;
}
.notification-conteainer {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.news-title {
  display: flex;
  align-items: center;
}
/* --- responsive--- */

/* --- Consolidated responsive blocks (merged duplicates) --- */
@media screen and (max-width: 1200px) {
  .kv-catch {
    font-size: 60px;
  }
.cv-titleBlock {
      margin: 0;
  }
  .cv-titleBlock img {
      width: 100%;
  }
  .cv-conteainer01{
    flex-direction: column;
  }
  .rc-conteainer01 {
      flex-direction: column;
  }

  .rc-textblock {
      border: none;
      padding: 0;
      width: 85%;
  }

  h2.rc-sabtitle {
      text-align: left;
  }

  .rc-sabtitle span {
      margin: 0;
  }

  p.rc-en {
      text-align: left;
  }

  .rc-titleBlock {
      margin: 70px 0px 0px 0px;
      width: 50%;
  }

  .rc-titleBlock img {
      width: 100%;
  }
  .cv-textblock {
    padding: 0;
    border-left: none;
  }
  .arrow_box:before {
    border:none;
}
  .arrow_box_right:after, .arrow_box_right:before {
    border: none !important;
  }
  .business-content,.case-study {
    background-size: cover;
  }
  .bs-contents {
    width: 100%;
  }

  .bs-contentsBOX {
      width: 40%;
  }
  .bs-contents-img01 img,.bs-contents-img02 img, .bs-contents-img03 img {
      width: 150px;
  }
  .bs-contentsBOX:hover{
      width: -webkit-fill-available;
  }

  .cs-contents p:hover {
      padding: 9px 18px;
  }
  .scroll_down a {
    bottom: 38px;
  }
  .scroll_down:after {
    height: 150px;
  }
}

@media screen and (max-width: 800px) {
  .kv-catch {
    font-size: 46px;
  }
  .catch-en {
    font-size: 24px;
  }
  .top-contents-h2 {
    font-size: 40px;
  }
  .cv-conteainer01, .rc-conteainer01 {
    flex-direction: column;
    text-align: center;
  }
  .cv-titleBlock, .rc-titleBlock, .rc-textblock {
      padding: 0;
      width: 80%;
  }
  .bs-contents {
    flex-direction: column;
    align-items: center;
  }
  .bs-contentsBOX {
    width: -webkit-fill-available;
  }

  h2.cv-sabtitle {
      font-size: 40px;
      text-align: center;
  }

  .cv-titleBlock {
      text-align: left;
  }

  .cv-textblock {
    width: 90%;
  }

  .bs-contentsBOX {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 20px 20px;
  margin: 10px 0px;
  }

  .bs-contents-text {
  text-align: left;
  width: 70%;
  }
  .bs-contents-text  p{
  font-size: 20px;
  }

  .bs-contents-img01,.bs-contents-img02,.bs-contents-img03 {
  width: 27%;
  margin: 0;
  text-align: center;
  padding-right: 3%;
  }

  .bs-contents-img01 img,.bs-contents-img02 img,.bs-contents-img03 img {
  max-width: 135px;
  width: 100%;
  }
  span.cv-title {
    left: 5px;
  }
  .scroll_down:after {
    left: 37px;
  }
  .scroll_down:before {
    left: 32px;
  }
  .scroll_down:after {
    height: 200px;
  }
  .scroll_down a {
      bottom: 88px;
  }
  .catchcopy h2 {
    margin: 0 0 0 20px;
  }
  span.rc-title {
      right: 10px;
  }
  .cv-titleBlock p {
    text-align: center;
  }
  .cv-titleBlock p {
    text-align: center;
  }

  h2.rc-sabtitle {
      text-align: center;
      font-size: 40px;
  }

  .rc-sabtitle span {
      font-size: 45px;
  }

  p.rc-en {
      text-align: center;
  }
  .LP-menu {
    text-align: center;
  }
}
@media screen and (max-width:767px) {
  .slider-sp {
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
  }
  .sp-fade-slider {
    list-style:none;
    margin:0;
    padding:0;
    position:relative;
    width:100%;
    height:100%;
  }
  .sp-fade-slider li {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    opacity:0;
    transition:opacity 1s ease;
  }
  .sp-fade-slider li img {
    width:100%;
    height:100%;
    object-fit:cover; /* ←画像を背景っぽく見せる */
  }
  .sp-fade-slider li.show {
    opacity:1;
  }
}
@media screen and (max-width: 600px) {
  .catchcopy-container {
    width: 100%;
}
.catchcopy h2 {
    margin: 0 auto;
    text-align: center;
}
.kv-catch {
    font-size: 34px;
    line-height: 1.2;
}
.top-contents-h2 {
    font-size: 30px;
  }
  .top-contents-h2 span {
    font-size: 20px;
  }
  span.cv-title,span.rc-title{
    font-size: 30px;
    line-height: 1.5;
  }
  span.cv-title {
    left: 0px;
  }
  span.rc-title {
    right: 0;
}
  .scroll_down:after {
    left: 22px;
  }
  h2.cv-sabtitle {
    font-size: 30px;
    text-align: center;
  }
  .scroll_down a {
      left: 35px;
  }
  .scroll_down:before {
      left: 18px;
  }
  .cv-titleBlock p {
    font-size: 16px;
  }

  .cv-titleBlock, .rc-titleBlock, .rc-textblock {
      padding: 0;
      width: 88%;
      text-align: center;
  }
  .cv-textblock p,.rc-textblock p{
      font-size:16px
  }
  .cv-titleBlock img {
    width: 80%;
  }
  h2.rc-sabtitle{
    font-size: 30px;
  }
  .rc-sabtitle span {
    font-size: 35px;
  }
  .top-contents-h2 {
    margin-bottom: 50px;
  }
  p.bs-text {
      margin-bottom: 20px;
  }
  .case-bottom-bg {
    background-size: cover;
    background-position-x: right;
    height: 210px;
}

.btn, a.btn, button.btn {
    font-size: 1.2rem;
}
.notification-line a {
    align-items: flex-start;
    flex-direction: column;
  }

h3.notification-title {
    line-height: 1.5;
}

span.new-label {
    margin-left: 8px;
}
}

@media screen and (max-width: 450px) {
  .kv-catch {
    font-size: 30px;
  }
  .catch-en {
    font-size: 19px;
}
span.cv-title, span.rc-title {
      font-size: 23px;
  }
  .cv-titleBlock img {
    width: 80%;
  }
.scroll_down:after {
    left: 16px;
}
.scroll_down:before {
    left: 12px;
}
.scroll_down a {
    left: 30px;
}
}

@media screen and (max-width: 400px) {
.cv-title span, .rc-title span {
    font-size: 22px;
  }
}

@media screen and (max-width: 350px) {
.cv-sabtitle, .rc-sabtitle {
    font-size: 22px;
  }
  .bs-contentsBOX {
    width: 100%;
    padding: 20px 10px;
  }
}
