@charset "UTF-8";
/* CSS Document decoration.css  カスタムHTML用デコレーション、通常ブロック用　エディターにも反映*/

/*==============共通項目==============*/

body {
		font-family: 'Inter', sans-serif;
		font-size: 16px;
}

/*==============エディターでの見え方調整==============*/
html :where(.wp-block) {

margin-top: 0px!important;
	

}


/*==============テキスト関連==============*/
/* 青い四角付き見出し*/
h2.square-blue {}
h2.square-blue::before {
		content: "";
		display: inline-block;
		width: 22px; /* 四角の横幅 */
		height: 22px; /* 四角の縦幅 */
		background-color: #00ACEA; /* お好みの青 */
		margin-right: 8px; /* 見出し文字との間隔 */
		vertical-align: middle; /* テキストと垂直位置を合わせる */
		margin-bottom: 3px;
}




/*テキストに英語装飾*/
h2.text-h2{
font-size: 40px;
 
}
h2{
  position: relative;
   z-index: 1;
}

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

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

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

}

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

}

.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"; /* ここに英語を入れる */

}

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

}

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

}

/*==============ボックスデザイン==============*/
.flex{
  display: flex;
  flex-wrap: wrap
    /* 折り返すflex */
  }

/*横に50％で並ぶ箱*/
.deco-box-50{
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  /* 折り返す用　50％BOX*/
}
/*横に50％で並ぶ箱　縁無し*/
.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; /* 画像の中心を表示 */
}

/* 横並びボックス 灰色　deco-box-1*/
.deco-box-1 {
		padding: 10px;
}
.deco-left-box-1 {
		border-right: 1px solid #000000;
		display: flex;
		align-items: center; /* 垂直方向の中央揃
	え */
		justify-content: center; /* 水平方向も中央にしたい場合 */ ;
		padding: 20px;
}
.deco-right-box-1 {
		display: flex;
		align-items: center; /* 垂直方向の中央揃え */
		padding: 20px;
}



.deco-box-b {
		border: 1px solid #000000;
		border-radius: 33px;
		padding-bottom: 21px;
}

.deco-left-box-2 {
		border-right: 1px solid #000000;
		display: flex;
		align-items: center; /* 垂直方向の中央揃
	え */
		justify-content: center; /* 水平方向も中央にしたい場合 */ ;
		height: 100px !important;
		padding: 20px;
}
.deco-right-box-2 {
		display: flex;
		align-items: center; /* 垂直方向の中央揃え */
		padding: 20px;
		height: 100px !important;
}



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

/*画像等に黒枠*/
.black-border {
  border: 1px solid #000;
}



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

/*下向き三角*/
.triangle-down {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;   /* 三角の横幅調整 */
  border-right: 15px solid transparent;
  border-top: 18px solid gray;          /* 下向き三角の色と高さ */
  margin: 0 auto;                       /* 横方向中央寄せ */
}

/*===背景にいっぱいにモノトーンに加工した画像を貼る===*/
.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%; 
  }
  
  .text-h2::before {
  font-size: 60px;
  top: -40px;
  
}
	
/* 横並びボックス 灰色　deco-box-1*/	
.deco-left-box-1 {
				border-right: 0px solid #000000;
				border-bottom: 1px solid #000000;
				padding: 20px;
		}	
  
  
}


