
/* ========================================
   Home - ak-design
======================================== */

/* ----------------------------------------
   Main Visual
---------------------------------------- */

.home-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
  background: #333;
  color: #fff;
}

.home-hero__slides,
.home-hero__slide {
  position: absolute;
  inset: 0;
}

.home-hero__slide {
  display: block;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.5s ease-in-out,
    visibility 1.5s ease-in-out;
}

.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.home-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */

.home-hero__content {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 65px;
}

.home-hero__title {


  line-height: 1.05;
}

/* Scroll indicator */

.home-hero__scroll {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  writing-mode: vertical-rl;
}

.home-hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: currentColor;
}

/* ----------------------------------------
   Intro
---------------------------------------- */

.home-intro {
  display: grid;
  grid-template-columns: 1fr;
}

.home-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-intro__content {
	padding-top: 60px;
	padding-right: 20px;
	padding-bottom: 60px;
	padding-left: 20px;
}

.home-intro__text {
  max-width: 560px;
  margin-inline: auto;
}

.home-intro__text h2 {
  margin-bottom: 32px;
  line-height: 1.7;
}

.home-intro__text p {
  margin-top: 22px;

  line-height: 2.2;
}



/* ----------------------------------------
   What we do
---------------------------------------- */

#home-whatwedo {
  position: relative;
  width:100%;
}



/* ----------------------------------------
   Tablet: 768px -
---------------------------------------- */

@media screen and (min-width: 768px) {

  .home-hero__content {
    left: 40px;
    bottom: 60px;
  }

}

/* ----------------------------------------
   PC: 1300px -
---------------------------------------- */

@media screen and (min-width: 1300px) {

  .home-hero__content {
    left: 40px;
    bottom: 65px;
  }

  


  /* Works: 見出しとコンテンツの開始位置を独立させる */
  .home-works__heading {
    margin-bottom: 70px;
  }

  .home-works__heading-inner {
    padding-top: 250px;
  }

}

/* ----------------------------------------
   Reduced Motion
---------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .home-hero__slide {
    transition: none;
  }

  .home-service__image img {
    transition: none;
  }
}

@media (hover: hover) {
  .home-service__image:hover img {
    transform: scale(1.04);
  }
}

/* ----------------------------------------
   Vertical Brand Name
---------------------------------------- */

.home-hero__brand {
  position: absolute;
  z-index: 3;
  top: 70px;
  left: 12px;


  line-height: 1.4;
  writing-mode: vertical-rl;
}

/* Tablet */
@media screen and (min-width: 768px) {

  .home-hero__brand {
    top: 75px;
    left: 29px;

  }
}

/* PC */
@media screen and (min-width: 1300px) {

  .home-hero__brand {
    top: 90px;
    left: 35px;

  }
}


/* ----------------------------------------
   Works
---------------------------------------- */
.home-works {
  position: relative;
  padding: 0 0 110px;
  overflow: hidden;
}
.home-works__heading {
  position: relative;
  display: block;
  margin-bottom: 70px;
}
.home-works__heading-inner {
  padding-top: 85px;
}
.home-works__lead {
  margin: 0;
}
.home-works__group + .home-works__group {
  margin-top: 65px;
}
.home-works__group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.home-works__group-head h3 {
  margin: 0;
}
.home-works__group-head h3 span {
  display: inline-block;
  vertical-align: baseline;
}
.home-works__controls {
  display: flex;
  gap: 10px;
}
.home-works__controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #222;
  border-radius: 50%;
  background: transparent;
  color: #222;
  cursor: pointer;
}
.home-works__controls button:disabled {
  opacity: .25;
  cursor: default;
}
.home-works__slider-wrap {
  margin-left: max(20px, calc((100vw - 1300px) / 2));
}
.home-works__slider {
  overflow: visible;
}
.home-works__item {
  width: auto;
  min-width: 0;
}
.home-works__item a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.home-works__image {
  aspect-ratio: 1.7;
  overflow: hidden;
  background: #e6e3df;
}
.home-works__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.home-works__item a:hover img {
  transform: scale(1.035);
}
.home-works__item h4 {
  margin: 12px 0 0;
}
.home-works__footer {
  margin-top: 70px;
}
.home-works__all {
  position: relative;
  display: block;
  max-width: 440px;
  padding: 14px 45px;
  margin: 0 auto;
  border: 1px solid #222;
  border-radius: 100px;
  color: #222;
  text-decoration: none;
  text-align: center;
}
.home-works__all span {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 1299px) {
  .home-works {
    padding: 75px 0 90px;
  }
  .home-works__heading, .home-works__group-head, .home-works__footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  .home-works__slider-wrap {
    margin-left: 30px;
  }
  .home-works__heading-inner {
    padding-top: 60px;
  }
}
@media (max-width: 767px) {
  .home-works {
    padding: 60px 0 70px;
  }
  .home-works__heading, .home-works__group-head, .home-works__footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .home-works__lead {
    margin-top: 25px;
  }
  .home-works__group + .home-works__group {
    margin-top: 48px;
  }
  .home-works__slider-wrap {
    margin-left: 20px;
  }
  .home-works__group-head {
    align-items: flex-end;
  }
  .home-works__controls button {
    width: 32px;
    height: 32px;
  }
  .home-works__footer {
    margin-top: 55px;
  }
  .home-works__heading-inner {
    padding-top: 85px;
  }
}

/* ========================================
   Online Store
======================================== */

.home-store__visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-store__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-store__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-store__visual-text {
  position: absolute;
  bottom: 5px;
  left: 40px;
  z-index: 1;
}

.home-store__visual-text p {
  margin: 0;
}

.home-store__visual-text p + p {
  margin-top: 30px;
}


/* ========================================
   TB 768px〜1299px
======================================== */

@media screen and (min-width: 768px) {

  .home-store__visual-text {
    right: auto;
    bottom: 20px;
    left: 80px;
  }

}


/* ========================================
   PC 1300px〜
======================================== */

@media screen and (min-width: 1300px) {

  .home-store__visual-text {
    bottom: 40px;
    left: 120px;
  }

}


/* ========================================
   Home Blog
======================================== */

.home-blog {
  position: relative;
  background-color: #cedfda;
}

.home-blog__content {
}

/* ロゴ・説明文 */

.home-blog__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 15px;
}

.home-blog__logo {
  width: 100%;
  max-width: 400px;
}

.home-blog__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.home-blog__description {
  margin: 0;
  padding-top:0px;
}


/* 記事一覧 */

.home-blog__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-blog__item {
  min-width: 0;
}

.home-blog__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  background-color: #fff;
  color: inherit;
  text-decoration: none;
}

/* アイキャッチ画像 */

.home-blog__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: #f5f5f5;
}

.home-blog__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* 日付・タイトル */

.home-blog__body {
  padding: 12px 7px 25px;
}

.home-blog__date {
  display: block;
  margin-bottom: 10px;
  color: #777;
}

.home-blog__title {
  margin: 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* ホバー */

@media (hover: hover) {

  .home-blog__card:hover .home-blog__image img {
    transform: scale(1.04);
  }

}

/* 一覧ボタン */

.home-blog__footer {
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.home-blog__footer .btn01 {
  width: 100%;
  max-width: 400px;
}


/* ========================================
   TB 768px〜1299px
======================================== */

@media screen and (min-width: 768px) {

  .home-blog__content {
  }

  .home-blog__intro {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-bottom: 55px;
  }

  .home-blog__logo {
    width: 50%;
    max-width: 500px;
  }
  
  .home-blog__description {
	  margin: 0;
	  padding-top:35px;
	}

  .home-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

}


/* ========================================
   PC 1300px〜
======================================== */

@media screen and (min-width: 1300px) {

  .home-blog__content {
  }

  .home-blog__intro {
    gap: 70px;
    margin-bottom: 60px;
  }

  .home-blog__logo {
    width: 550px;
    max-width: 50%;
  }

  .home-blog__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .home-blog__footer {
    padding-top: 60px;
  }

}

/* ========================================
   Follow Us
======================================== */

.home-follow {
  position: relative;
  background-color: #f8f6f3;
}

.home-follow__content {
}

/* SNSグループ */

.home-follow__group + .home-follow__group {
  margin-top: 60px;
}


/* 仮画像 */

.home-follow__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #aaa;
}

.home-follow__youtube .home-follow__placeholder {
  aspect-ratio: 16 / 9;
}

/* ボタン */

.home-follow__button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}




/* ========================================
   TB 768px〜1299px
======================================== */

@media screen and (min-width: 768px) {

  .home-follow__content {
  }



  .home-follow__group + .home-follow__group {
    margin-top: 70px;
  }

}


/* ========================================
   PC 1300px〜
======================================== */

@media screen and (min-width: 1300px) {

  .home-follow__content {
  }

  .home-follow__group + .home-follow__group {
    margin-top: 80px;
  }

}

/* ========================================
   YouTube - Selected Videos
======================================== */

.home-follow__youtube {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
}

.home-follow__youtube-item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #222;
}

.home-follow__youtube-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

/* 再生マーク */

.home-follow__youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 60px;
  height: 42px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, .75);
  transition: background-color .3s ease;
}

.home-follow__youtube-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #fff;
}

/* ホバー */

@media (hover: hover) {

  .home-follow__youtube-item:hover img {
    transform: scale(1.04);
  }

  .home-follow__youtube-item:hover
  .home-follow__youtube-play {
    background-color: #ff0000;
  }

}

/* TB 768px〜 */

@media screen and (min-width: 768px) {

  .home-follow__youtube {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

}

/* PC 1300px〜 */

@media screen and (min-width: 1300px) {

  .home-follow__youtube {
    gap: 20px;
  }

}
