@charset "UTF-8";
/* CSS Document decoration.css  デコレーション専用*/

/*==============テキスト関連==============*/

h2.text-h2{
font-size: 50px;
}

/*テキストに英語装飾*/
h2{
  position: relative;
   z-index: 1;
}

.text-h2 {
  margin-top: 58px;
}

.text-h2::before {
  content: ""; /* ここに英語を入れる */
  font-size: 80px;
  color: #383838;
  font-style: italic;
  position: absolute;
  top: -61px;
  left: 32px;
  z-index: -1;
  opacity: 0.17;
  white-space: nowrap;
  padding-right: 30px;
  display: block;
}

.text-h2.features::before {
  content: "Features"; /* ここに英語を入れる */

}

.text-h2.idea::before {
  content: "Idea"; /* ここに英語を入れる */
  margin-top: -37px;
  top: -50px;
}

.text-h2.mission::before {
  content: "Mission"; /* ここに英語を入れる */

}

.text-h2.staff::before {
  content: "Staff"; /* ここに英語を入れる */

}

.text-h2.calendar::before {
  content: "Calendar"; /* ここに英語を入れる */

}

.text-h2.price::before {
  content: "Price"; /* ここに英語を入れる */

}

.text-h2.facility::before {
  content: "Facility"; /* ここに英語を入れる */

}

.text-h2.gallery::before {
  content: "Gallery"; /* ここに英語を入れる */

}

.text-h2.project::before {
  content: "project"; /* ここに英語を入れる */

}

.text-h2.news::before {
  content: "News"; /* ここに英語を入れる */

}

.text-h2.students::before {
  content: "Students"; /* ここに英語を入れる */

}

.text-h2.map::before {
  content: "Map"; /* ここに英語を入れる */

}

.text-h2.laboratory::before {
  content: "Laboratory"; /* ここに英語を入れる */

}

.text-h2.teacher::before {
  content: "Teacher"; /* ここに英語を入れる */

}

/*==============ボックスデザイン==============*/
.flex{
  display: flex;
  flex-wrap: wrap
    /* 折り返すflex */
  }
.deco-box-50{
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  /* 折り返す用　50％BOX*/
}



.deco-box-50-full{
  width: 50%;
 
  /* 折り返す用　50％BOX*/
}

.deco-box-50-full {/* 画像をボックスいっぱいに*/
  width: 50%;
  height: 400px; /* ボックスの高さ固定（必要なら） */
  overflow: hidden; /* はみ出た部分を隠す */
  position: relative; /* 子要素の配置のため */
}

.deco-box-50-full img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像をボックスぴったりに拡大・トリミング */
  object-position: center; /* 画像の中心を表示 */
}



/*==============アクション==============*/

/*フワッと表示　スクリプトあり*/
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}



/*==============装飾==============*/





.back-img{
  background-image:url("");
  background-size: cover;
}
.back-img.img-1{
  background-image:url("../img/town.jpg")
}


/*===背景にいっぱいにモノトーンに加工した画像を貼る===*/
.full-background {
  position: relative;
  }

/* 背景画像（モノトーン＋半透明） */
.full-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hougan.jpeg'); /* 方眼紙　画像URLに差し替え */
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* ← 半透明度 */
  filter: grayscale(100%); /* ← モノトーン化 */
  z-index: 0;
}

/* コンテンツを前面に */
.full-background > * {
  position: relative;
  z-index: 1;
}

.full-background.img-1::before {
  background-image: url('../img/hougan.jpeg'); /* 　　画像URLに差し替え */
}

/*===/背景にいっぱいにモノトーンに加工した画像を貼る　終わり===*/

/* 画像にカッコをつける装飾 
<div class="box-with-brackets">
  <img src="画像URL.jpg" alt="説明テキスト">
</div>
*/
.box-with-brackets {
  position: relative;
  width: 100%; /* 画像のサイズに合わせて調整 */
  height: auto;
  overflow: hidden;
}

.box-with-brackets img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左下カッコ線 */
.box-with-brackets::before {
  content: '';
  position: absolute;
  left: 5px;
  bottom: 10px;
  width: 50px; /* カッコ線の幅 */
  height: 50px; /* カッコ線の高さ */
  border-left: 10px solid #78A2A1; /* 線の太さと色 */
  border-bottom: 10px solid #78A2A1;
}

/* 右上カッコ線 */
.box-with-brackets::after {
  content: '';
  position: absolute;
  right: 5px;
  top:5px;
  width: 50px;
  height: 50px;
  border-top: 10px solid #78A2A1;
  border-right: 10px solid #78A2A1;
}
/* カッコ装飾終わり */



/*マップの貼り付け横幅いっぱい*/
/*
<div class="map-wrapper">
  <iframe 
  
  </iframe>
</div>
*/

.map-wrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 480px; /* 必要に応じて高さ調整 */
  border: 0;
  display: block;
}




.shard{
     text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);/* 影をつける */
}
/*==============個別の案件================*/


/* ===== 個別案件終わり ===== */


.deco-box-50 .name{
  position: absolute;
  background-color: black;
  color: white;
  padding: 7px 21px;
  bottom: 45px;
  right: 0px;  /* .deco-box-50にあるイメージにネームプレートをつける */
}









@media screen and (max-width: 767px) { /* スクリーンサイズが767px以下の場合に適用 */

  /*==============ボックスデザイン==============*/
.flex{
  display:block;
  flex-wrap: wrap
    /* 折り返すflex */
  }
.deco-box-50{
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  /* 折り返す用　50％BOX*/
}
 
  .deco-box-50-full{
    width: 100%; 
  }
  
  
}


