@charset "UTF-8";

/* ========================================
 *  Template Name: Front Style Sheet
 * =======================================*/

.hero {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  touch-action: manipulation;
  margin: 0 !important;
  padding: 0 !important;
  z-index: -1;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
}

.slideshow img {
  width: 100%;
  height: 100%;
  height: 100dvh;
  object-fit:cover;
  position: absolute;
  display: none;
  filter: grayscale(100%);
  overflow: hidden;
}

.pattern-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  background-image: url('/images/assets/pattern.png');
  background-position: center center;
  background-repeat: repeat;
  background-size: auto;
  z-index: 1;
  pointer-events: none;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.headline {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.about-bg,
.services-bg,
.news-bg,
.work-bg,
.contact-bg {
  padding: 3rem 0;
}

.about-bg {background-color: }
.services-bg {background-color: }
.news-bg {background-color: #ccc}

.contact-bg {
  position: relative;
  background-image: url('/images/assets/DSC04877.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
  min-height: 300px; 
  z-index: 0;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
  background-image: url('/images/assets/pattern.png');
  background-position: center center;
  background-repeat: repeat;
  pointer-events: none; /* 背景なのでクリックなどに干渉しない */
  z-index: 1;
}

.svc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.svc-item {
    lex: 1 1 100%; /* スマホでは1列 */
  }

.svc-item img {
  width: 100%;
  height: auto; /* アスペクト比を保つ */
  display: block;
  margin-bottom: 15px;
}

.svc-item h5 {
  margin-bottom: 3px;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
}

.svc-item h6 {
  margin-bottom: 12px;
  color: #333;
  font-size: .85rem;
  font-weight: normal;
  line-height: 1.4;
  text-align: left;
}

.svc-item p {
  color: #333;
  font-size: .95rem;
  font-weight: normal;
  line-height: 1.7;
  text-align: left;
}










.work-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.work-item {
  lex: 1 1 100%; /* スマホでは1列 */
}

.work-item img {
  width: 100%;
  height: auto; /* アスペクト比を保つ */
  display: block;
  margin-bottom: 15px;
}

.work-item h5 {
  margin-bottom: 3px;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
}

.work-item h6 {
  margin-bottom: 12px;
  color: #333;
  font-size: .85rem;
  font-weight: normal;
  line-height: 1.4;
  text-align: left;
}

.work-item p {
  color: #333;
  font-size: .95rem;
  font-weight: normal;
  line-height: 1.7;
  text-align: left;
}




.section-about {
  position: relative;
  width: 600px;
  height: 300px;
  margin: 50px auto;
}

/* グレー背景ボックス */
.background-box {
  position: absolute;
  bottom: 0;       /* 下に寄せる */
  left: 0;
  width: 100%;
  height: 200px;
  background-color: #ccc;
  z-index: 1;
}

/* 白テキストボックスを斜め上にずらす */
.text-box {
  position: absolute;
  bottom: 150px;   /* グレー背景より上に */
  left: 40px;
  width: 400px;
  background-color: white;
  padding: 20px;
  z-index: 2;
}


.about {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.about-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 5vw; /* ビューポート幅に応じて動く */
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ff6a00, #ee0979);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about p {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 40px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1 1 200px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #000;
  padding: 20px;
  border: 1px solid #000;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: default;
}

.feature-item:hover {
  background-color: #000;
  color: #fff;
  cursor: pointer;
}



/* ========================================
 *  画面の横幅が768px以上 (Tablet)
 * =======================================*/
@media screen and (min-width: 768px) {



}

/* ========================================
 *  画面の横幅が1024px以上 (Desktop)
 * =======================================*/
@media screen and (min-width: 1024px) {

.slideshow img {
  width: 100%;
  height: 100vh;
}

.about-bg,
.services-bg,
.news-bg,
.work-bg,
.contact-bg {
  padding: 6rem 0;
}

.svc-item {
  flex: 1 1 calc(50% - 1rem);
  box-sizing: border-box;
  min-width: 280px; /* 幅が狭すぎないように補助 */
}

.work-item {
  flex: 1 1 calc(50% - 1rem);
  box-sizing: border-box;
  min-width: 280px; /* 幅が狭すぎないように補助 */
}

}