/* テーマ基本情報 */
 /*
Theme Name: My Custom Theme with Header
Author: あなたの名前
Version: 1.0
*/

/* 全体レイアウト */
/* 全体レイアウト */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('https://studiovisin.com/wp-content/uploads/2025/06/Flower_Background_02.jpg');
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
   background-color: #ffffff;
}


header {
  background: #fff;
  padding: 10px 20px;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

/* ロゴとSNS */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 50%;
  margin: 0 auto;
  position: relative;
}

.sns-icons {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 10px;
  padding: 10px;
}

.sns-icons img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.sns-icons img:hover {
  opacity: 1;
}

/* スライダー全体 */
.slider {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* スライド画像のコンテナ */
.slide-container {
  position: relative;
  width: 50%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
}

/* 各スライド画像 */
.slide-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

/* 表示中の画像 */
.slide-container img.active {
  opacity: 1;
  z-index: 1;
}

/* ページネーション（ドット） */
.pagination {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #555;
}

/*-----------------------------------------------------------------------------------------------------------------ここまでヘッダーからスライドショー-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここからニュース-------------------------------------------------------------------------------------------------------------------------------------------------*/

.section-divider {
  border: none;
  height: 6px;
  background-color: #ccc;
  margin: 40px auto;
  width: 95%;
}

.news-section {
  text-align: center;
  margin: 40px auto;
}

.news-box {
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
  background-color: #e0e0e0;
  padding: 20px;
  border: 1px solid #666;
  border-radius: 4px;
  text-align: left;
  overflow-y: auto;
  max-height: 200px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  padding: 8px 0;
  border-bottom: 1px solid #999;
  font-size: 15px;
}

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

.news-date {
  color: #444;
  font-weight: bold;
  margin-right: 10px;
}

.news-title {
  color: #333;
  text-decoration: none;
}

.news-title:hover {
  text-decoration: underline;
}

/*-----------------------------------------------------------------------------------------------------------------ここまでニュース-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここからアバウトとクラス-------------------------------------------------------------------------------------------------------------------------------------------------*/

.about-class-section {
  text-align: center;
  padding: 40px 20px;
}

.section-title {
  font-size: 32px; /* 修正: 元は28px */
  margin-bottom: 24px;
}

.about-text {
  color: #555;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 50px;
}

.class-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.class-box {
  width: 180px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #333;
  transition: transform 0.2s ease;
}



.class-box:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.class-box .class-age {
  font-size: 24px;  /* 修正: 元は12px */
  color: #666;
  margin-top: 12px;
}

.class-name {
  font-size: 20px;
  font-weight: bold;
}




/*-----------------------------------------------------------------------------------------------------------------ここまでアバウトとクラス-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここからスケジュール-------------------------------------------------------------------------------------------------------------------------------------------------*/

.section-divider {
  border: none;
  height: 6px;
  background-color: #ccc;
  margin: 40px 0;
}

.schedule-section {
  text-align: center;
  padding: 20px;
}

.schedule-image img {
  width: auto;
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*-----------------------------------------------------------------------------------------------------------------ここまでスケジュール-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここからインスタ-------------------------------------------------------------------------------------------------------------------------------------------------*/

.instagram-section {
  text-align: center;
  padding: 20px;
}

.instagram-embed {
   width: auto;
  max-width: 50%;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/*-----------------------------------------------------------------------------------------------------------------ここまでインスタ-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここからOTHER-------------------------------------------------------------------------------------------------------------------------------------------------*/

.other-section {
  background-color: transparent;
  text-align: center;
  padding: 40px 20px;
}

.other-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.other-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 120px;
  background-color: #fff;
  color: #555;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.other-box:hover {
  transform: scale(1.05);
}

.site-footer {
  background-color: #fff;
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 16px;
}

/*-----------------------------------------------------------------------------------------------------------------ここまでOTHER-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここからデザイン-------------------------------------------------------------------------------------------------------------------------------------------------*/



/*-----------------------------------------------------------------------------------------------------------------ここまでデザイン-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここから固定ページ-------------------------------------------------------------------------------------------------------------------------------------------------*/

/* 共通レイアウト：固定ページ・講師紹介 共通使用 */

.page-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(85%);
}

.page-hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.page-hero-title h1 {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
}

.page-hero-sub {
  font-size: 18px;
  margin-top: 8px;
  color: #555;
}

.page-main-container {
   width: 66%;
  max-width: 66%;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}


/* 講師紹介専用 */

:root {
  --instructor-image-width: 500px; /* 講師画像サイズ（ページ単位で調整可能） */
}

.instructor-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 40px;
}

.instructor-image img {
  width: var(--instructor-image-width);
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instructor-profile h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.instructor-profile p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/*-----------------------------------------------------------------------------------------------------------------ここまで固定ページ-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここからイベント情報-------------------------------------------------------------------------------------------------------------------------------------------------*/

/* イベントタイトルの背景バー */
.event-title-bar {
  background-color: rgba(150, 150, 150, 0.4); /* 灰色・半透明 */
  padding: 10px 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* イベントタイトルの文字 */
.event-title-bar h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  text-align: left;
}

/* イベント1件全体のラッパー */
.event-post {
  margin-bottom: 60px;
}

/* 左右2カラムのレイアウト */
.event-content-wrapper {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* 本文側 */
.event-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* 画像側 */
.event-thumbnail img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: contain;
}

/*-----------------------------------------------------------------------------------------------------------------ここまでイベント情報-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------ここからフッター-------------------------------------------------------------------------------------------------------------------------------------------------*/

.site-footer {
  background-color: #fff;
  text-align: center;
  padding: 40px 20px 20px;
  font-size: 16px;
  color: #333;
}

.footer-logo img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.footer-name {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.footer-tel {
  font-size: 14px;
  color: #444;
  margin: 4px 0 20px;
}

.footer-divider {
  border: none;
  height: 2px;
  background-color: #ccc;
  width: 90%;
  margin: 20px auto;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-nav li a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.footer-nav li a:hover {
  text-decoration: underline;
}



/* 共通リンクスタイル */
a {
  color: #333333;/* お好みのカラーに変更（例: ダークグレー） */
  text-decoration: none;/* アンダーラインを削除 */
  transition: color 0.3s ease;/* なめらかなホバーエフェクト（任意） */
}

a:hover {
  color: #c94747;* ホバー時のカラー（例: 赤系） */
  text-decoration: underline;/* ホバー時に下線つけたいならここで追加（任意） */
}

/*-----------------------------------------------------------------------------------------------------------------ここからiPhone-------------------------------------------------------------------------------------------------------------------------------------------------*/


@media screen and (max-width: 430px) {
  /* スライダー画像のコンテナを横幅いっぱいに */
  .slide-container {
    width: 100%;
  }

  /* スケジュール画像の調整 */
  .schedule-image img {
    max-width: 100%;
  }

  /* Instagram埋め込みも横幅いっぱいに */
  .instagram-embed {
    max-width: 100%;
  }

  /* ニュースボックスを横幅いっぱいに */
  .news-box {
    width: 100%;
  }
}

