/*
Theme Name: Astra Child
Template: astra
Author:spica9
Version: 1.0.0
*/

body,html {
  overflow-x: hidden!important;
}

.none{
  display: none!important;
}
/*ヘッダ*/

.header-date{
  color: white;
  margin-bottom: 14px;
}
.open-hours{
  font-size: 16px;
}

.header-date .tel{
  font-size: 18px; 
  font-weight: 600;
}


.content-center {
  display: flex;
  justify-content: center;  /* 水平方向の中央 */
  align-items: center;      /* 垂直方向の中央 */
}

/* プルダウンメニューの背景色を変更 */
.main-header-menu .sub-menu {
    background-color: #BDBDBD; /* 任意の色に変更 */
}


@media screen and (max-width: 599px) {
    .xo-event-calendar {
        width: 70%;
    }
    .xo-months {
        display: block; 
    }
    .xo-month-wrap {
        width: 100%; 
    }
}


/*トップ*/

/*HEROセクションを一番上に  TOP固定ページに直接記述*/
/*#ast-desktop-header,#ast-mobile-header{
  position: absolute;
  width: 100%
 
}*/


.shard{
     text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
}



 

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




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

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

}

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

}
.site-header-below-section-right 
{position: relative;
  z-index: 100!important;
  
}


/*[bogo]スイッチャー*/

.bogo-language-switcher .bogoflags {
  display: none !important;}

.bogo-language-switcher {
  position: relative;
  left: 100%; /* 自分の幅分だけ右に動く */
  transform: translateX(-100%); /* 自分の幅分だけ左に戻す＝結果的に右端へ */
 display: flex;
  gap: 1rem; /* 言語同士の間隔 */
  list-style: none;
  padding: 0;
  margin: 0;
  height: 28px;
color: white;
  z-index: 999;
  width: 200px;
  font-size: 16px;
  }

.bogo-language-switcher a{
color:#FFFFFF;
}

.bogo-language-switcher{
color:#C4C4C4;
}

.bogo-language-switcher .current{
color: #3B3B3B;
  font-weight: 600;
}



.bogo-language-switcher li {
  display: inline-block;
}
.language-switcher{
  background-color: #C4C4C4;
}


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

/* 背景画像（モノトーン＋半透明） */
.full-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://qolp-team-a14.spica9.com/wp-content/uploads/2025/04/AdobeStock_1075775847-1.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('https://qolp-team-a14.spica9.com/wp-content/uploads/2025/04/AdobeStock_386308514.jpg'); /* 教壇　　画像URLに差し替え */
}

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

/*ショートコード記事一覧*/
ul.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.recent-post-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}

.recent-post-item:last-child {
  border-bottom: none;
}

.recent-post-item .thumbnail {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 6px;
}

.recent-post-item .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-item .meta {
  flex: 1;
}

.recent-post-item .date {
  font-size: 14px;
  color: #777;
  margin-bottom: 4px;
  display: block;
}

.recent-post-item .title {
  font-size: 16px;
  margin: 0;
  line-height: 1.4;
}

.recent-post-item .title a {
  text-decoration: none;
  color: #333;
}

.recent-post-item .title a:hover {
  text-decoration: underline;
}

/*/記事一覧*/



/* スクロールで表示スクリプト */
/* アニメーションの定義 */
@keyframes flyUp {
  0% {
    transform: translateY(30px); /* 初期位置（下に30px） */
    opacity: 0; /* 最初は透明 */
  }
  100% {
    transform: translateY(0); /* 元の位置に戻す */
    opacity: 1; /* 完全に表示 */
  }
}

/* 要素が非表示の状態 */
.scroll-animate {
  opacity: 0; /* 初期状態で透明 */
  transform: translateY(30px); /* 下に30px位置 */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* アニメーション設定 */
}

/* スクロールで表示された際のアクティブ状態 */
.scroll-animate.active {
  opacity: 1;
  transform: translateY(0); /* 表示される位置 */
}

/* ヘッダ　データ */
.header-date .tel{
  
  
}



/* フッタ　お店データ */
.footer-html2{

  margin-left: 20px; 
  min-width: 300px;
font-size: 16px;
  margin: 0 auto;
}
.footer-html2 .logo{
  font-size: 30px; 
  font-weight: 700;
}

.footer-html2 .tel{
  font-size: 18px; 
  font-weight: 700;
}

.footer-html2 .logo.logo-mask {
  width: 300px; /* 画像サイズに合わせて調整 */
  height: 100px;
  background-color: black; /* ← ここで好きな色に変更可能 */
  -webkit-mask-image: url('logo.png');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url('logo.png');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}




@media (min-width: 545px) and (max-width: 768px) {  
  /* タブレット向けのスタイル */  
}

@media (max-width: 544px) {  
  /* スマホ向けのスタイル */
  
  
}
