@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*===========================================================*/
/*　ヘッダー

*===========================================================*/

/*========= ローディング ===============*/
/* #splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #b56357;
}

#splash-logo img {
  width: 50px;
} */


/*========= 画面遷移 ===============*/

body {
  /* background: #b56357; */
  /*遷移アニメーション*/
}

body.appear {
  /* background: #fff; */
  /*画面を開いた後の背景色を指定*/
}

/*画面遷移アニメーション*/
/* .splashbg1,
.splashbg2 {
  display: none;
} */

body.appear .splashbg1,
body.appear .splashbg2 {
  /* display: block; */
}

/*右エリア*/
/* body.appear .splashbg1 {
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: scaleX(1);
  background-color: #b56357;
} */
/* 
@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }

  50% {
    transform-origin: right;
  }

  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
} */

/*左エリア*/
/* body.appear .splashbg2 {
  animation-name: PageAnime2;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 50%;
  transform: scaleX(1);
  background-color: #b56357;
}

@keyframes PageAnime2 {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }

  50% {
    transform-origin: left;
  }

  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
} */

/*画面遷移の後現れるコンテンツ設定*/
/* #container {
  opacity: 0;
}

body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#wrapper {
  opacity: 0;
}

body.appear #wrapper {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  } */
/* } */

#container {
  position: relative;
  z-index: 1;
  background: #fff;
}

section {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 100px;
  padding-bottom: 0px;
}

section h3 {
  font-size: 2.8rem;
  color: #000;
  margin-bottom: 15px;
}

.h3__heading {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  position: relative;
  margin-bottom: 30px;
  padding-left: 50px;
}

.h3__heading::after {
  content: '';
  width: 30px;
  height: 2px;
  display: inline-block;
  background-color: #b56357;
  position: absolute;
  top: calc(50% - 2px);
  left: 0px;
}

@media (max-width: 767px) {
  section {
    padding-top: 60px;
  }

  section h3 {
    font-size: 1.8rem;
    color: #000;
    margin: 25px auto;
  }

  .h3__heading {
    font-size: 1.0rem;
    padding-left: 30px;
  }

  .h3__heading::after {
    width: 15px;
    height: 2px;
  }

  .container {
    width: 90%;
    margin: 0 auto;
  }
}

/*
===================================
top-lead
===================================
*/

#top-message {
  position: relative;
}

.top-comment {
  position: absolute;
  bottom: -3%;
  left: 6%;
  z-index: 1;
}

.top-comment-box {
  width: 500px;
  padding: 10% 5%;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.5;
  position: relative;
}

.top-comment-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.top-comment span {
  display: block;
}

.top-comment .top-first {
  font-weight: 500;
  font-size: 1.8rem;
}

.top-comment .top-second {
  font-weight: normal;
  font-size: 1.2rem;
}

.top-comment .top-thaad {
  margin: 30px auto;
}

.top-comment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 5% 8%;
  text-align: center;
  background-color: #b56357;
  color: #fff;
  font-size: 1.2rem;
}

.top-comment-btn img {
  width: 12px;
  height: 12px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .top-comment-box {
    width: 320px;
    padding: 10% 5%;
    font-size: 1.4rem;
    text-transform: uppercase;
    line-height: 1.5;
    position: relative;
  }

  .top-comment .top-first {
    font-weight: 500;
    font-size: 1.2rem;
  }

  .top-comment .top-second {
    font-weight: normal;
    font-size: 0.8rem;
  }

  .top-comment .top-thaad {
    margin: 30px auto;
  }

  .top-comment-btn {
    padding: 5% 8%;
    text-align: center;
    background-color: #b56357;
    color: #fff;
    font-size: 1.0rem;
  }
}

.img-frame {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
  margin: 0 auto;
}

.img-frame {
  width: 90%;
  margin: 0 0 0 auto;
  height: 90vh;
}

.img-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(181, 99, 87, 0.5);
}

.img-01,
.img-02,
.img-03 {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.img-01 {
  background-image: url('../images/bg/top-bg01.jpg');
  animation: slide-animation-01 30s infinite;
  background-position: 50% 50%;
  /* background-size: contain; */
}

.img-02 {
  background-image: url('../images/bg/top-bg02.jpg');
  background-position: 70% 50%;
  animation: slide-animation-02 20s infinite;
}

.img-03 {
  background-image: url('../images/bg/top-bg04.jpg');
  animation: slide-animation-03 20s infinite;
  background-position: 50% 50%;
}


@keyframes slide-animation-01 {
  0% {
    opacity: 1;
    transform: scale(1.0);
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
    transform: scale(1.15);
  }

  90% {
    opacity: 0
  }

  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}

@keyframes slide-animation-02 {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 0;
    transform: scale(1.1);
  }

  40% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 0;
    transform: scale(1.0);
  }

  100% {
    opacity: 0;
  }
}

@keyframes slide-animation-03 {
  0% {
    opacity: 0;
  }

  60% {
    opacity: 0;
    transform: scale(1.0);
  }

  70% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/*
===================================
staff（挨拶文）
===================================
*/

.staff {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.staff__list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.staff__list-item__imgframe {
  width: 70%;
  margin: 0 auto
}

.staff__list-itemprofile ul {
  border-left: solid 2px #b56357;
  padding-left: 25px;
}

.staff__list-itemprofile li {
  position: relative;
  padding-bottom: 3px;
}

.staff__list-itemprofile li::after {
  content: '';
  width: 10px;
  height: 2px;
  display: inline-block;
  background-color: #b56357;
  position: absolute;
  top: calc(50% - 2px);
  left: -25px;
}

.itemprofile {
  font-size: 20px;
  letter-spacing: 0.3em;
  padding: 30px 0 5px;
  color: #b56357;
}

.staff__list-item-text-container {
  position: relative;
  width: 100%;
  max-width: 717px;
}

.staff__list-item-text-container h3 span {
  color: #b56357;
}

.staff__list-item-text {
  line-height: 2;
  letter-spacing: 0.03rem;
}

.name-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  margin-top: 30px;
}

.staff__list-item__imgname {
  text-align: right;
  font-size: 18px;
}

.staff__list-item__imgname02 {
  letter-spacing: 0.3em;
  font-size: 26px;
}

.staff__list-item-avatar {
  width: 80%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .staff {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
  }

  .staff__list-item {
    display: block;
  }

  .staff__list-item__imgframe {
    width: 70%;
    margin: 0 auto
  }

  .staff__list-itemprofile ul {
    border-left: solid 2px #b56357;
    padding-left: 25px;
  }

  .staff__list-itemprofile li {
    position: relative;
    font-size: 0.8rem;
  }

  .staff__list-itemprofile li::after {
    content: '';
    width: 10px;
    height: 2px;
    display: inline-block;
    background-color: #b56357;
    position: absolute;
    top: calc(50% - 2px);
  }

  .itemprofile {
    font-size: 20px;
    letter-spacing: 0.3em;
    padding: 30px 0 5px;
    color: #b56357;
  }

  .staff__list-item-text-container {
    position: relative;
    width: 90%;
    margin: 0 auto;
  }

  .staff__list-item-text-container h3 span {
    color: #b56357;
  }

  .staff__list-item__imgname02 {
    letter-spacing: 0.2em;
  }

  .staff__list-item-avatar {
    width: 90%;
    margin-bottom: 30px;
  }
}

/*
===================================
service（事業内容）
===================================
*/
.service {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.b-flex {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 100px;
  width: 100%;
  margin-top: 30px;
}

.b-img {
  width: 50%;
}

.b-img {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.16);
}

.b-txt {
  width: 50%;
  padding: 0 0% 5%;
}

.b-item {
  width: 100%;
  margin-bottom: 120px;
  color: #1a1a1a;
}

.b-item h3 {
  font-size: 1.6rem;
  color: #000;
}

.b-item h3 span {
  display: block;
  font-size: 1.0rem;
  letter-spacing: 0.05em;
  color: #868484;
}

.b-txt a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-top: 30px;
  padding-bottom: 5px;
  border-bottom: solid 2px #b56357;
  color: #b56357;
  font-weight: 700;
}

.b-txt a img {
  width: 12px;
  height: 12px;
  color: #b56357;
}

@media (max-width: 767px) {
  .b-item h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #000;
    margin-bottom: 10px;
  }

  .b-item h3 span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #868484;
    padding-bottom: 8px;
  }

  .b-flex {
    display: block;
  }

  .b-txt,
  .b-img {
    width: 100%;
  }

  .b-txt {
    padding-bottom: 50px;
  }

  .b-item {
    padding-bottom: 50px;
    margin: 50px auto;
    border-bottom: solid 1px #cecbcb;
  }

  .b-txt a {
    width: 200px;
    margin: 0 0 0 auto;
    text-align: right;
  }
}

/* 
#top-message {
  width: 100%;
  height: 100vh;
  position: relative;
}

#top-message video {
  position: fixed;
  top: 10vh;
  left: 20%;
  z-index: -1;
  width: 60%;
  height: 80vh;
}

#top-message:before {
  content: '';
  position: fixed;
  top: 10vh;
  left: 5%;
  z-index: -1;
  width: 90%;
  height: 85vh;
  background: url("../images/top/top-bg.gif") no-repeat center;
  background-size: cover;
  display: none;
}

@media screen and (max-width:768px) {
  #top-message:before {
    background-position: top center;
  }

  #top-message:before {
    content: '';
    position: fixed;
    top: 10vh;
    left: 5%;
    z-index: -1;
    width: 90%;
    height: 100vh;
    background: url("../images/top/sp-top4.gif") no-repeat center;
    background-size: cover;
    display: none;
  }

  #top-message video {
    position: fixed;
    top: 5vh;
    left: 5%;
    z-index: -1;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    left: 0;
    min-height: 100%;
    min-height: 100vh;
    min-width: 95%;
    min-width: 100vw;
  }
} */

/*===========================================================*/
/* 印象
/*===========================================================*/
/*左から*/
.bgextend {
  animation-name: bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
  /*　はみ出た色要素を隠す　*/
  opacity: 0;
}

@keyframes bgextendAnimeBase {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*中の要素*/
.bgappear {
  animation-name: bgextendAnimeSecond;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.bgLRextend::before {
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #b56357;
  /*伸びる背景色の設定*/

}

@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }

  50% {
    transform-origin: left;
    transform: scaleX(1);
  }

  50.001% {
    transform-origin: right;
  }

  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/* 下から */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#vision,
.service-area {
  transform: translate3d(0, 0, 0);
}

.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger {
  opacity: 0;
}



/*==================================================
スライダー
===================================*/
.slider {
  width: 94%;
  margin: 0 auto;
}

.slider img {
  width: 40vw;
  height: auto;
  margin: 0 auto;
}

.slider .slick-slide {
  transform: scale(0.8);
  transition: all .5s;
  opacity: 0.5;
}

.slider .slick-slide.slick-center {
  transform: scale(1);
  opacity: 1;
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  top: 42%;
  cursor: pointer;
  outline: none;
  border-top: 5px solid #666;
  border-right: 5px solid #666;
  height: 15px;
  width: 15px;
}

.slick-prev {
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  right: -1.5%;
  transform: rotate(45deg);
}

.slider h3 {
  width: 40vw;
  color: #bababa;
}

.slider h3 span {
  width: 40vw;
  color: #010101;
  display: block;
  font-weight: bold;
  font-size: .4em;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  margin: 5px 0 10px;
}

.slider-txt {
  width: 40vw;
}

@media screen and (max-width:768px) {
  .slider img {
    width: 80vw;
    height: auto;
    margin: 0 auto;
  }
}



.work {
  box-shadow: 0 0 20px 0 rgb(69 100 140 / 15%);
  margin-bottom: 15px;
  border-radius: 30px;
  padding: 15px;
}

.work a {
  text-align: center;
  font-size: 2rem;
  letter-spacing: .075em;
  line-height: 2;
  margin-bottom: 20px;
  font-family: "FOT-筑紫オールド明朝 Pro R", serif;
  text-decoration: none;
}

.work :hover {
  color: #b56357;
}

.l-container-menu-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  text-decoration: none;
  padding: 0 0 100px;
}

.c-card {
  padding: 34px 33px 44px 30px;
  border-radius: 30px;
  box-shadow: 0 0 20px 0 rgb(69 100 140 / 15%);
  background-color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.c-card-title {
  padding-bottom: 22px;
  text-align: center;
}

.l-container-menu-list>:first-child {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

.l-container-menu-list>:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}

.l-container-menu-list>:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
}

.l-container-menu-list>:nth-child(4) {
  -ms-grid-row: 1;
  -ms-grid-column: 7;
}

.l-container-menu-list>:nth-child(5) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}

.l-container-menu-list>:nth-child(6) {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
}

.l-container-menu-list>:nth-child(7) {
  -ms-grid-row: 3;
  -ms-grid-column: 5;
}

.c-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  font-size: 1.4rem;
  line-height: 1.57692;
  letter-spacing: .075em;
}

.c-card h3 span {
  font-size: 1.2rem;
}

.c-card img {
  width: 200px;
  max-width: 100%;
  height: 150px;
  object-fit: contain;
}

@media screen and (max-width:768px) {
  .l-container-menu-list {
    display: block;
  }

  .l-container-menu-list>:first-child {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  .l-container-menu-list>:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }

  .c-card {
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 25px;
  }

  .c-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin-bottom: 15px;
    font-size: 1.3rem;
  }

  .c-card-title {
    padding-bottom: 0;
  }

  .l-container-menu-list .c-card-text {
    display: none;
  }

  .c-card img {
    width: 100%;
    height: 100px;
    object-fit: contain;
  }

  .c-card .resai {
    padding-bottom: 20px;
  }

  .c-card .resai img {
    width: 100%;
    height: 65px;
    object-fit: contain;
  }
}