@charset "UTF-8";
/* ベースのスタイル
------------------------------------------ */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1.75;
  color: #000;
}
@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
  }
}
a {
  color: #000;
  text-decoration: none;
}
a,
a:hover,
a i {
  transition: all 0.3s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
ul {
  list-style: none;
}
/* 部品
------------------------------------------ */




.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
.youtube-next {
  margin: 1rem;
}
}

/* flexbox */

.flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
.flex {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
}
/* Outfitフォント */
.outfit {
  font-family: Outfit, sans-serif;
}

/* 文字の太さmedium */
.medium {
  font-weight: 500;
}

.business,
.works,
.news,
.contact {
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}
/* コンテナ */
.container {
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: 67.5rem;
  margin: auto;
}

@media (min-width: 768px) {
  .container {
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
  }
}

/* セクションタイトル */
.section-title {
  margin-bottom: 2.5rem;
  font-size: 2.1875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    margin-bottom: 3rem;
  }
}




/* カバー
------------------------------------------ */

/* コンテナ */
.cover-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .cover-container {
    flex-direction: row-reverse;
  }
}

/*カバー画像*/
.cover-top{
  height: 20.625rem;
  background-color: #FFFF00;
  background-image: url("https://www.kfb.co.jp/special/assets/5kyoku/cover_bg_sp.jpg");
  background-position: center;
  background-size: 85%;
}

@media (min-width: 768px) {
  .cover-top {
    width: 50%;
    height: 100vh;
    background-image: url("https://www.kfb.co.jp/special/assets/5kyoku/cover_bg_pc.jpg");
    background-position: center;
    background-size: unset;
  }
}

/* カバーテキスト */
@media (min-width: 768px) {
  .cover-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
  }
}

/* カバーキャッチコピー */
.cover-catch{
  margin: 3rem 1.25rem 2.7rem;
  opacity: 0;
}

@media (min-width: 768px) {
  .cover-catch {
    width: 33.75rem;
    margin: .4rem 0 0 .4rem;
  }
}

/* フェードイン用のクラス */
.box{
  opacity: 0;
}

.fadeIn {
  transition: 2s;
  opacity: 1;
}

/* カバータイトル */
.cover-title {
  display: table;
  margin-bottom: 1.25rem;
  font-size: 2.5625rem;
  color: #fff;
  line-height: 1;
  background-color: #ec6a00;
}

@media (min-width: 768px) {
  .cover-title {
    font-size: 3.15rem;
    margin-bottom: 0;
  }
  .cover-title:nth-child(1) {
    margin-bottom: 1.875rem;
  }
}

/* カバー説明 */
.cover-description {
  display: block;
  margin-top: 0.85rem;
  font-size: 1rem;
  line-height: 2;
}

@media (min-width: 768px) {
  .cover-description {
    margin-top: 2rem;
    font-size: 1.1875rem;
  }
}

/* スクロール */
.cover-scroll {
  display: none;
}
@media (min-width: 768px) {
  .cover-scroll {
    position: absolute;
    bottom: 2.8rem;
    left: 0;
    display: block;
    font-size: .8125rem;
    letter-spacing: .1rem;
    transform: rotate(-90deg);
    height: 1.2rem;
  }
}
@media (min-width: 1081px) {
  .cover-scroll {
    right: 28rem;
    left: auto;
  }
}
.cover-scroll::after {
  background-color: #FFFF00;
  position: absolute;
  right: .25rem;
  bottom: 1.75rem;
  width: 5rem;
  height: .125rem;
  content: "";
}

  /* about
------------------------------------------ */
.about {
  padding: 3.25rem 1.25rem;
  background-color: #FFFF00;
  background-size: cover;
}

@media (min-width: 768px) {
  .about {
    height: 60rem;
    padding-top: 1.5rem;
    padding-bottom: 7.5rem;
    background-color: #FFFF00;
    background-position: center center;
  }
}

/* コンテナ */
.about-container {
  padding: 2.5rem 1.75rem 2.35rem;
  background-color: rgb(255 255 255 / 90%);
  box-shadow: 0 0 1.5188rem 0.1688rem rgb(0 0 0 / 25%);
}

@media (min-width: 768px) {
  .about-container {
    padding: 4.35rem 5rem 4.5rem;
    max-width: 80rem;
    margin: 0 auto;
    background-color: #fff;
  }
}

/* タイトル */
.about-title {
  position: relative;
  font-size: 1rem;
  color: red;
  text-align: center;
  letter-spacing: 0.015em;
  margin-bottom: 1rem;
  padding: 1.1rem 0 1.35rem;
  line-height: 1;
  border-top: 0.1875rem solid red;
  border-bottom: 0.1875rem solid red;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 1.95rem;
    padding: .5rem 0;
    margin-bottom: .8rem;
    border: none;
  }
}
@media (min-width: 768px) {
  .about-title::before,
  .about-title::after {
    position: absolute;
    top: 50%;
    width: 3.125rem;
    height: 0.1875rem;
    content: "";
    background-color: red;
  }
  .about-title::before {
    right: calc(50% + 16.25rem);
  }
  .about-title::after {
    left: calc(50% + 16.25rem);
  }
}

/* 説明 */
.about-description {
  line-height: 2;
  font-size: 1rem;
  text-align: center;
  color:red;
}

@media (min-width: 768px) {
  .about-description {
    line-height: 2.2;
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .slider {
    width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .slider-nav{
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
.arrow_box {
  display: flex;
  align-items: center;
  justify-content:center;
  position: relative;
  margin-top: 0.1rem;
}

.prev-arrow,
.next-arrow {
    display: block;
    width: 50px;
    height: 50px;
    background: coral;
    border-radius: 50%;
    transition: all .3s ease;
    cursor: pointer;
    position:relative;
}

.prev-arrow {
    transform: rotate(180deg);
    margin-right: 20px;
}


.prev-arrow::before,
.next-arrow::before{
    position:absolute;
    content: "";
    width:10px;
    height:10px;
    border-right: 2px solid #FFF;
    border-top: 2px solid #FFF;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    transform:rotate(45deg);
}

}

/* contact
------------------------------------------ */
.contact {
  color: #000;
  background-color: #D9D9D9;
  background-size: cover;
}

@media (min-width: 768px) {
  .contact {
    background-position: center top;
  }
}

.contact .container {
  padding-top: 1.75rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .contact .container {
    padding-bottom: 1.75rem;
  }
}

.contact .section-title {
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

@media (min-width: 768px) {
  .contact .section-title {
    font-size: 2rem;
    margin-bottom: 1.9rem;
  }
}

@media (min-width: 768px) {
.contact-p{
  text-align: center;
}
}

/*フッター*/

.footer {
  padding: 2.5rem 0;
  text-align: center;
  color: #fff;
  background-color: #d9d9d9;
}

@media (min-width: 768px) {
  .footer {
    padding: 2.4rem 0;
  }
}

/* フッターナビゲーション */
.footer-nav {
  font-size: 1rem;
  margin-bottom: 1.6rem;
}

@media (min-width: 768px) {
  .footer-nav {
    margin-bottom: 1.7rem;
    font-size: 1.125rem;
  }
}

.footer-nav li {
  padding: 0 1.25rem;
  border-right: .0625rem solid #fff;
}

@media (min-width: 768px) {
  .footer-nav li {
    padding: 0 1.75rem;
  }
}

.footer-nav li:last-child {
  border-right: .0625rem solid #fff;
}

@media (min-width: 768px) {
  .footer-nav li:last-child {
    border-right: 0rem solid #fff;
  }
}

.footer-nav li a {
  display: block;
  line-height: 1;
  color: #fff;
}

.footer-nav img{
  height: 1.3rem;
  margin: 1rem;
}


@media (min-width: 768px) {
.footer-nav img{
  height: 1rem;
  margin: 0;
}
}

/* コピーライト */
.footer-copyright {
  font-size: .75rem;
}

@media (min-width: 768px) {
  .footer-copyright {
    font-size: 0.875rem;
  }
}






