@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Delius&family=IBM+Plex+Sans+JP&display=swap');


.ibm-plex-sans-jp-regular {
	font-family: "IBM Plex Sans JP", sans-serif;
	font-weight: 400;
	font-style: normal;
  }

.delius-regular {
  font-family: "Delius", cursive;
  font-weight: 400;
  font-style: normal;
}

/***************
 RESET 
 **************/
div#breadcrumb { width: 100%; max-width:1256px; text-align: right; }

.page .date-tags { display: none;}
	
ul.location-post-list {padding:0;}

/***************
 GLOBAL
 **************/

br.sp {display:none;}
.f13 {font-size:13px}
.c_gry6 {color:#666}

.custom-hr { border: none; border-top: 0.5px solid #ddd; margin: 10px 0; }
.custom-hr_gr { border: none; border-top: 0.5px dashed #8abc7f; margin: 10px 0; }
.custom-hr_pk { border: none; border-top: 0.5px dashed #e892ae; margin: 10px 0; }

.content { margin-top: 24px; border-top: 0.5px solid #ddd; }
.home .content {border-top: none;}

.topread {font-size:20px;}

@media (max-width: 768px) { /* 768px以下の画面で適用 */
    br.pc {display:none;}
    br.sp {display:block;}
    .topread {font-size:18px;}
    .page-template-default .topread,
    .page-template-page-location-area .topread,
    .page-template-page-instructor .topread {font-size:18px;}
}

.tab_icon {
    display: inline-block;
    background-color: #e7e7e7;
    color: #555;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 0.9em;
    line-height: 1.1;
    margin-right: 8px;
    vertical-align: baseline;
    }

/***************
 HEADER
 **************/
.custom-header-container { max-width: 1256px; margin: 0 auto;}
.custom-header { padding: 0 20px; height: 80px; /* PC時のヘッダーの高さ */ }

/* ロゴとメニューアイコンを並べるテーブルレイアウト */
.custom-header-in {
    display: table;
    width: 100%;
    height: 100%;
}

.custom-logo {
    display: table-cell;
    vertical-align: middle;
    width: 90px;
    text-align: left;
    padding-top: 5px; /* ロゴを5px下に配置 */
}

.custom-logo-img {
    width: 130px;
    height: auto;
}

/* メニューアイコンを右寄せ */
.custom-menu-items {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
    padding-top: 20px; /* メニューアイコンを10px下に配置 */
}

.custom-menu-list {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.custom-menu-item {
    display: inline-block;
    margin-left: 35px; /* アイコン間の間隔 */
}

/* 個別にメニューアイコンのサイズを指定 */
.menu-icon-concept { width: 106px; }
.menu-icon-schedule { width: 98px; }
.menu-icon-location { width: 102px; }
.menu-icon-instructor { width: 141px; }
.menu-icon-join { width: 220px; }

/* メニューアイコンのホバー効果 */
.custom-menu-item img:hover { opacity: 0.8; }

/* PCでハンバーガーメニューアイコンを非表示にする */
.custom-hamburger { display: none; }


/* スマホ用スタイル */
@media (max-width: 959px) {
    .custom-header {
        padding: 0 10px;
        height: 50px; /* スマホ時のヘッダーの高さ */
    }

    .custom-header-in {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }

    .custom-hamburger {
        display: inline-block; /* スマホ用ハンバーガーメニュー */
        font-size: 24px;
        cursor: pointer;
    }

    .custom-logo {
        width: 120px;
        text-align: right; /* ロゴを右寄せ */
        margin: 0;
        padding-top: 10px;
    }

    .custom-logo-img {
        content: url('../img/logo_cafeyoga_ls.svg');
        width: 120px; /* ロゴを少し大きく */
        height: auto;
    }

    /* スマホ用メニューの表示設定 */
    .custom-menu-items {
        position: absolute;
        top: 50px; /* ヘッダーの下に配置 */
        left: 0;
        width: 100%;
        background-color: white;
        display: none; /* 初期状態で非表示 */
        padding: 20px 0;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* ドロップダウン効果 */
        z-index: 10; /* メニューを最前面に表示 */
    }

    .custom-menu-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .custom-menu-item {
        margin: 10px 0; /* 縦方向の間隔を追加 */
    }
}




/*********************************
BUTTON
*********************************/
.button-container {
    display: flex;
    justify-content: center; /* エリア内でボタンを中央に配置 */
    align-items: center;
    width: 100%; /* 必要に応じてエリアの幅を設定 */
}

.cy_button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #FF6347; /* 通常時の背景色 */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: "IBM Plex Sans JP", sans-serif;
}

.cy_button i {
    margin-right: 8px; /* アイコンとテキストの間のスペース */
    font-size: 18px; /* アイコンのサイズ */
}

.cy_button:hover {
    background-color: #FF4500; /* ホバー時の背景色 */
}



/*********************************
INDEX
*********************************/

.home .date-tags {
	display: none;
}

.hero-section {
	position: relative;
	width: 100%;
	height: 60vh; /* 画面全体の高さに設定 */
	background-image: url('../img/kv.jpg'); /* 背景画像のパス */
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: Arial, sans-serif;
}

.hero-content {
	text-align: center;
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.hero-text {
	margin: 0;
}

.hero-button {
	position: absolute;
	right: 40px; /* さらに内側に配置 */
	bottom: 40px; /* さらに内側に配置 */
	display: flex;
	align-items: center;
	flex-direction: column; /* ロゴの下にテキストを配置 */
	background: rgba(255, 255, 255, 0.8);
	color: #333;
	padding: 15px 20px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 1rem;
	font-weight: normal; /* テキストのフォントウェイトをnormalに設定 */
	text-align: center; /* テキストを中央揃え */
	transition: background-color 0.3s ease; /* スムーズなホバーエフェクト */
}

.hero-icon {
	width: 80px; /* アイコンを倍のサイズに */
	height: 80px;
	margin-bottom: 8px; /* 下にスペースを追加 */
}

.hero-button:hover {
	background-color: rgba(255, 255, 0, 0.5); /* 背景色を透過した黄色に変更 */
	color: #333; /* マウスオーバーで文字色を変更しない */
}

/* スマホ用スタイル */
@media (max-width: 959px) {
    .hero-button {right: 20px; /* さらに内側に配置 */
	bottom: 20px; /* さらに内側に配置 */
    padding: 5px 10px;
    }
}


/****
INDEX Whats cafeyoga
****/

.index-top_read {text-align:center; font-size:.95rem;}



.class_nagi .article h2 {
	border-left: none; /* Removes the left border */
	padding: 0; /* Removes extra padding */
	color: #5a5a5a; /* Sets text color similar to the image */
	text-align: center; /* Centers the text */
	background:none;
	font-weight:normal;
	font-family: "Bitstream Vera Sans", sans-serif;
}

.class_nagi .article h2::after {
	content: ""; /* Adds a custom underline */
	display: block;
	width: 50px; /* Adjust width as needed */
	height: 2px; /* Adjust thickness as needed */
	background-color: #f7e3a3; /* Light yellow color for underline */
	margin: 5px auto 0; /* Centers the underline and adjusts spacing */
}

.location-schedule-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px; /* Adjust spacing between icon and text */
}

.yoga-icon {
	width: 40px; /* Adjust size as needed */
	height: auto;
}

.location-schedule-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px; /* アイコンとテキストの間のスペースを調整 */
}

.yoga-icon {
	width: 40px; /* サイズを必要に応じて調整 */
	height: auto;
	display: inline-block;
	vertical-align: middle; /* アイコンをテキストの中央に揃える */
}

.location-schedule-container h2 {
	color: #5a5a5a; /* テキストの色 */
	font-family: "Bitstream Vera Sans", sans-serif;
	text-align: center;
	position: relative;
}

.location-schedule-container h2::after {
	content: "";
	display: block;
	width: 50px; /* 下線の幅を調整 */
	height: 2px; /* 下線の厚さを調整 */
	background-color: #a6d9c5; /* 緑色の下線 */
	margin: 5px auto 0;
}
@media (max-width: 959px) {
    .index-top_read {font-size:.95rem;}
}

/**
INDEX 3カラムサムネイルエリア
**/

.thumb_box {
    display: flex;
    gap: 0;
}

.thumb_box_inner {
    flex: 1;
    text-align: center;
    position: relative;
    overflow: hidden; /* 画像がズームしたときに枠内に収める */
}

.zoom_wrapper {
    display: inline-block;
    overflow: hidden;
    width: 100%; /* 必ず親要素の幅に合わせる */
    height: auto; /* 高さも親要素に依存 */
    position: relative;
}

.zoom_wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease; /* ズームのアニメーションを追加 */
}

.zoom_wrapper:hover img {
    transform: scale(1.1); /* マウスホバー時に画像をズーム */
}

.thumb_box_inner p {
    margin: 0;
    padding: 10px 1rem; /* 左右に1remのパディング */
    font-size: 12px;
    color: #333;
    line-height: 1.5;
}
@media (max-width: 768px) { /* 768px以下の画面で適用 */
    .thumb_box {
        flex-direction: column; /* カラムを縦並びに */
    }
    
    .thumb_box_inner {
        width: 100%; /* 横幅を100%に */
    }
}


/****************************************************
NEWSエリア
****************************************************/
ul.news-list {max-width:900px; margin:0 auto; padding:0 0 50px 0;}
ul.news-list li {list-style:none;}
ul.news-list li span {font-size:.9rem; color:#8abc7f;}
ul.news-list li a {text-decoration:none; color:#222; transition: opacity 0.3s ease; /* アニメーションを追加 */}
ul.news-list li a:hover {text-decoration:underline; color:#222; opacity: 0.6;}

@media (max-width: 768px) { /* 768px以下の画面で適用 */
    ul.news-list {padding:0 0 80px 0;}
}


/****************************************************
INDEX 最新店舗リスト
****************************************************/

.index-location__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* アイテム間の間隔 */
}

.index-location__item {
    width: calc(25% - 20px); /* 4列レイアウトの場合 */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.index-location__item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.index-location__item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pArea {
    padding: 15px;
}

.pTitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pLocation, .pTime {
    font-size: 14px;
    color: #666666;
}

.index-location__item-head {
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
}

.index-location__item-body {
    color: #555555;
    margin-bottom: 10px;
}

.tenpotagu {
    display: inline-block;
    padding: 5px 10px;
    background-color: #8e6bab; /* タグの背景色 */
    color: #ffffff;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .index-location__item {
        width: calc(33.33% - 20px); /* 3列レイアウト */
    }
}

@media (max-width: 768px) {
    .index-location__item {
        width: calc(50% - 20px); /* 2列レイアウト */
    }
}

@media (max-width: 480px) {
    .index-location__item {
        width: 100%; /* 1列レイアウト */
    }
}

.index-location__item a {
    position: relative;
    overflow: hidden;
    display: block;
}

.index-location__item img {
    transition: transform 0.3s ease; /* ズーム効果のスムーズな遷移 */
}

.index-location__item a:hover img {
    transform: scale(1.05); /* マウスオンでズーム */
}

.pArea {
    padding: 0 15px;
    text-align: center; /* タイトルを中央に配置 */
}

.pTitle {
    font-size: 15px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    color: #333333;
}

/* その他の情報（エリア、日時など）はリンクの外に表示 */
.index-location__item-details {
    padding: 0 15px 15px 15px;
    font-size: 14px;
    color: #666666;
}

.index-location__item-head,
.index-location__item-body,
.pTime {
    margin-bottom: 10px;
}

.index-location__item-details .location-icon {
    width: 110px !important;
    height: auto;
    display: block;
    margin-top: 10px; /* 必要に応じて調整 */
}


/****************************************************
WEEKLY SCHEDULE
****************************************************/


ul.week-schedule__list {padding:0 10px;}
ul.week-schedule__list li {list-style: none;}
#s__table{
  width: 1098px;
  margin: auto;
}

.s__table__box{
  float: left;
  width: 156px;
}

.s__table__box__IN{
  display: inline-block;
  height: 250px;
     border-right: 1px dotted #8e8e8e;
}

#s__table .last{
  border: none;
}

.s__table__box__p{
  text-align: center;
  margin: 4px auto 0 auto;
  width: 136px;
  height: 24px;
  font-size: 12px;
  border-bottom: 1px dotted #8e8e8e;
}

@media screen and (max-width: 800px) {
	
	#s__table{
	  width: 100%;
	  margin: 0px;
	}

	.s__table__box, .c__table__box{
	  float: left;
	  width: 100%;
	  min-height:40px;
	  border: 1px dotted #8e8e8e;
	  border-right:none;
	  border-left:none;
	  border-top:none;
	}

	.s__table__box__IN, .c__table__box__IN{
	  display: table;
	  height: auto;
	  width:100%;
	  height:100%;
	  
	}

	.s__table__box:first-child, .c__table__box:first-child{
	 border: 1px dotted #8e8e8e;
		border-left:none;
		border-right:none;
	}
	
	.s__table__box__p, .c__table__box__p {
	  text-align: center;
	  margin: 0px;
	  width: 22%;
	  vertical-align:middle;
	  height:39px;
	  min-height:39px;
	  font-size: 13px;
	  border-bottom: none;
	  border-right:1px dotted #8e8e8e;
	  display:table-cell;
	}
	.s__table__box_right, .c__table__box_right{
		display:table-cell;
		padding:6px;
		padding-bottom:0px;
		vertical-align:middle;
	}
	
	.s__table__box_right img, .c__table__box_right img{
		display:block;
	}
	
	.s__table__box__daikanyama, .c__table__box__daikanyama{
		text-indent: -9999px;
		background-image:url(img/top/category_alohaTableD.png);
		width: 110px;
		height: auto;
		margin: 0px;
		display:inline-block;
	}

	.s__table__box__daikanyama_none, .c__table__box__daikanyama_none{
		text-indent: -9999px;
		width: 110px;
		height: auto;
		margin: 0px;
		display:inline-block;
	}

	.s__table__box__island_veggie, .c__table__box__island_veggie{
		text-indent: -9999px;
		background-image:url(img/top/category_islandVeggie.png);
		width: 110px;
		height: auto;
		margin: 0px;
		display:inline-block;
	}

	.s__table__box__island_veggie_none, .c__table__box__island_veggie_none{
		text-indent: -9999px;
		width: 110px;
		height: auto;
		margin: 0px;
		display:inline-block;
	}

	.s__table__box__natural, .c__table__box__natural{
		text-indent: -9999px;
		background-image:url(img/top/category_alohaTableH.png);
		width: 110px;
		height: auto;
		margin: 0px;
		display:inline-block;		
	}

	.s__table__box__natural_none, .c__table__box__natural_none{
		text-indent: -9999px;
		width: 110px;
		height: auto;
		margin: 0px;	
		display:inline-block;
	}

	.s__table__box__luau, .c__table__box__luau{
		text-indent: -9999px;
		background-image:url(img/top/category_luauS.png);
		width: 110px;
		height: auto;
		margin: 0px;
		display:inline-block;
	}

	.s__table__box__luau_none, .c__table__box__luau_none{
		text-indent: -9999px;
		width: 110px;
		height: auto;
		margin: 0px;
		display:inline-block;
	}

	.s__table__box__height, .c__table__box__height{
		height: auto;
	}

	.s__table__box__islandWeekday, .c__table__box__islandWeekday{
		margin: 0px;
		display:inline-block;
	}
	.s__table__box__daikanyamaSaturday, .c__table__box__daikanyamaSaturday{
		margin: 0px;
		display:inline-block;
	}

	.s__table__box__islandSaturday, .c__table__box__islandSaturday{
		margin: 0px;
		display:inline-block;
	}

	.s__table__box__naturalSunday, .c__table__box__naturalSunday,
	.s__table__box__islandSunday, .c__table__box__islandSunday,
	.s__table__box__luanSunday, .c__table__box__luanSunday{
		margin: 0px;
		display:inline-block;
	}
}

/*********************************
SINGLE-NEWS
*********************************/
/* メインコンテンツとサイドバーを横並びに配置 */


/*********************************
GLOBAL + PAGES
*********************************/

.page .main {
    padding: 6px 29px;
}

.page ul li,
.page ol li {font-size:.95rem}


.page .content {margin-top: 0px;}
.page .main { padding: 6px 15px; }

.author-info {display:none;}

h3.page_schedule {
	font-family: "IBM Plex Sans JP", sans-serif;
	font-size:22px;
	font-weight: 400;
    font-weight: normal;
    text-align: center;
    position: relative;
    margin:  3em auto 1em;
    width: 80%;
    padding: 0;
    border: none !important; /* すべてのボーダーを確実にリセット */
}

h3.page_schedule::after {
    content: "";
    position: absolute;
    bottom: -5px; /* 下線の位置を調整 */
    left: 50%;
    transform: translateX(-50%); /* 中央揃え */
    width: 40px; /* 下線の幅を調整 */
    height: 2px;
    background-color: #FFD700; /* 黄色の下線の色 */
    border-radius: 1px; /* 少し丸みを追加 */
}

/* スマホ用スタイル */
@media (max-width: 959px) {
    .page .fz-20px {font-size:.95rem;}
    .page .fz-18px {font-size:.95rem;}
    h3.page_schedule {
        font-size:20px;
        width: 95%;
    }
    .footer-meta {display:none;}
}

/*********************************
PAGE LOCATION AREA
*********************************/
.location-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.area-list {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center; /* リスト全体を中央揃え */
}

.area-list a {
    font-size: 0.9rem;
    text-decoration: none;
    color: #000;
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease; /* カラー変更のアニメーション */
}

.area-list a:hover {
    color: #999; /* ホバー時のテキストカラー */
}

.area-list a.active {
    font-weight: bold; /* 選択されているリストのテキストをボールドに */
    color: #000; /* ボールド時のテキストカラーを明示 */
}


.area-list a::before {
    content: "\f105"; /* FontAwesomeのアイコンコード */
    font-family: "Font Awesome 6 Pro"; /* FontAwesome 6 のフォントファミリー */
    font-weight: 900; /* 必要に応じて変更 */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* アイコンをテキストの中央に揃える */
    font-size: 0.9rem; /* アイコンのサイズを調整 */
}


.location-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd; /* 投稿間の1pxのライン */
    flex-wrap: wrap;
}

.location-item:not(:last-child) {
    margin-bottom: 20px; /* 投稿間のスペース */
}

.location-thumbnail {
    flex: 1;
    max-width: 400px; /* 画像サイズを倍に */
}

.location-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.location-map {
    font-family: "Bitstream Vera Sans", sans-serif;
    text-align: right;
    margin-top: 10px;
}

.location-map a {
    text-decoration: none;
}

.location-text {
    flex: 2;
}

.location-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* タイトルを左寄せ、ボタンを右寄せ */
}

.lo__yoyaku_btn {width:150px; height:auto; margin-left: auto; /* ボタンを右に寄せる */}
.lo__yoyaku_btn img {
    transition: opacity 0.3s ease; /* アニメーションを追加 */
}

.lo__yoyaku_btn img:hover {
    opacity: 0.6; /* マウスホバー時に透過度を0.8に設定 */
}


.location-header-title {
    font-size: 1.2em; /* タイトルの文字サイズを少し小さく */
    font-weight: bold;
    margin-bottom: 10px;
}

.location-details {
    margin-top: 15px;
}

.location-details p {
    margin: 0;
    line-height: 1.5;
}

.location-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .location-item {
        flex-direction: column; /* カラムを縦並びに */
        align-items: flex-start;
        gap: 10px;
    }

    .location-thumbnail {
        width: 100%; /* 横幅を100%に */
        max-width: none;
    }

    .location-text {
        width: 100%; /* 横幅を100%に */
    }
    .location-text p {font-size:.9rem;}

    .location-map {
        text-align: left; /* スマホ表示では左揃えに */
        margin-top: 10px;
    }
    
    .location-title-container {
        display: flex;
        flex-direction: column; /* 縦方向に配置 */
        align-items: center;
        text-align: center; /* 中央揃え */
    }

    .lo__yoyaku_btn {
        order: -1; /* 予約ボタンをタイトルの上に配置 */
        margin-bottom: 10px; /* タイトルとボタンの間に余白を追加 */
    }
    
    .location-title-container h3 { 
        font-size: 1em; /* スマホ表示での文字サイズ */
        width: 100%; /* タイトルを横幅いっぱいに */
        text-align: center;
        margin: 0;
    }

    .lo__yoyaku_btn img {
        width: 150px; /* 画像サイズを調整 */
        height: auto;
        margin: 0 auto; /* 中央寄せ */
        display: block;
    }
   
}


/*********************************
PAGE INSTRUCTOR
*********************************/

/* インストラクターページのメインレイアウト */
.instructor__blogArea {
    margin-top: 20px;
}

.instructor-post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

ul.instructor-post-list {
    padding: 0;
}

.instructor-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.instructor-thumbnail {
    flex: 1;
    max-width: 240px;
}

.instructor-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.instructor-text {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.instructor-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.instructor-title-container h3 {
    flex: 1;
}

.lo__yoyaku_btn {
    width: 150px;
    height: auto;
    margin: 0 0 0 15px;
}

.lo__yoyaku_btn img {
    transition: opacity 0.3s ease;
}

.lo__yoyaku_btn img:hover {
    opacity: 0.6;
}

/* スマホ用CSS */
@media (max-width: 768px) {
    .instructor-item {
        display: block;
    }

    .instructor-thumbnail {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .instructor-thumbnail img {
        width: 100%;
        max-height: 300px; /* 画像の最大高さを300pxに */
        object-fit: cover; /* 高さに合わせて切り取る */
    }

    .instructor-title-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lo__yoyaku_btn {
        margin-bottom: 10px;
    }

    .lo__yoyaku_btn img {
        width: 130px;
        height: auto;
    }

    .instructor-title-container h3 {
        width: 100%;
        font-size: 1em;
    }

    .instructor_content {
        text-align: justify;
    }
}

/* INSTRUCTOR ページのタブリストエリア */
.instructor-area-list {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap; /* 長いテキストが改行されるように設定 */
}

.instructor-area-list a {
    font-size: 0.9rem;
    text-decoration: none;
    color: #000;
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}


.instructor-area-list a:hover {
    color: #999;
}

.instructor-area-list a.active {
    font-weight: bold;
    color: #000;
}

.instructor-area-list a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .instructor-item {
        display: block;
    }
    .instructor-thumbnail {
        max-width: 100%;
        margin-bottom: 10px;
    }
    .instructor-thumbnail img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
    }
    .instructor-title-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .lo__yoyaku_btn {
        margin: 10px 0 10px 60%;
    }
    .lo__yoyaku_btn img {
        width: 130px;
        height: auto;
    }
    .instructor-title-container h3 {
        width: 100%;
        font-size: 1em;
    }

    
}

/*********************************
PAGE JOIN INSTRUCTOR
*********************************/


.join-inst_comment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96% !important; /* 幅を80%に強制設定 */
    max-width: 96% !important; /* 最大幅を80%に強制設定 */
    margin: 0 auto !important; /* 中央揃え */
    padding: 0 0 30px;
    box-sizing: border-box;
}

.join-inst_img {
    flex: 0 0 20%; /* 画像を全体の30%の幅に */
    padding: 10px;
    box-sizing: border-box;
}
.join-inst_img img {
    border-radius:50%;
}

.join-inst_bubble {
    flex: 1; /* 吹き出し部分を残りの幅に広げる */
    padding: 15px;
    background: #f0f0f0;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
    font-size:.9rem;
}

.join-inst_bubble:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -15px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent #f0f0f0 transparent transparent;
    transform: translateY(-50%);
}
.join-inst_bubble p {margin:0;}

@media (max-width: 768px) {
    .join-inst_comment {
        flex-direction: column;
        width: 100%;
    }

    .join-inst_bubble {
        margin-left: 0;
        margin-top: 10px;
        max-width: 100%;
    }

    .join-inst_bubble:before {
        left: 10px;
    }
}

.inst_form_tb {
    width: 100%;
    border-collapse: collapse;
}

.inst_form_tb .row {
    display: flex;
    position: relative;
    border-bottom: 1px solid #ddd;
}

.inst_form_tb .cell {
    padding: 5px 10px;
    font-size: 0.9rem;
    text-align: left;
    flex: 1;
    position: relative;
    z-index: 1;
}

.inst_form_tb .header {
    font-weight: bold;
    background-color: #f7f7f7;
    width: 18%;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 5px 10px;
    z-index: 0;
    box-sizing: border-box;
}


@media screen and (min-width: 769px) {
    .inst_form_tb .cell:not(.header) {
        margin-left: 18%; 
    }
}

@media screen and (max-width: 768px) {
    .inst_form_tb .row {
        display: block;
        margin-bottom: 15px;
    }
    .inst_form_tb .cell {
        display: block;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        margin-left: 0;
    }
    .inst_form_tb .header {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
    }
}





/*********************************
SIDEBAR LOCATION
*********************************/
.sb-location-container {
    width: 100%;
    font-family: Arial, sans-serif;
}

.sb-location-header {
    font-family: "Delius", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    margin-bottom: 15px;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #ddd;
}

.sb-location-item {
    display: flex;
    align-items: flex-start; /* 上揃え */
    gap: 15px;
    border-bottom: 1px dashed #ccc;
    padding: 10px 0;
    margin-bottom: 15px;
}

.sb-location-image {
    flex-shrink: 0; /* 画像のサイズを固定 */
    width: 80px; /* 画像の幅 */
}

.sb-location-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.sb-location-content {
    flex: 1; /* テキストが残りのスペースを使う */
    line-height: 1.5;
}

.sb-location-title {
    font-size: .8em;
    margin-bottom: 5px;
}

.sb-location-title a {
    color: #222;
}

.sb-location-title a:hover {
    color: #999;
}
.sb-location-area {
    font-size: 0.75em;
    color: #777;
}

.sb-location-date {
    font-size: 0.8em;
    color: #333;
}

/*********************************
SIDEBAR NEWS
*********************************/
.sb-news-container {
    width: 100%;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
}

.sb-news-header {
    font-family: "Delius", cursive;
  font-weight: 400;
  font-style: normal;
    font-size: 18px;
    margin-bottom: 15px;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #ddd;
}


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

.sb-news-item {
    margin-bottom: 12px;
    list-style: none; /* list-style を無効に */
    display: flex;
    align-items: flex-start;
}

.sb-news-date {
    font-size: 14px;
    color: #8abc7f; /* 日付の色を #8abc7f に */
    flex-shrink: 0;
    width: 80px; /* 日付部分の固定幅を指定 */
    text-align: right; /* 日付を右揃え */
    line-height: 1.4;
}

.sb-news-title {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    padding-left: 15px; /* タイトル部分の左余白を追加 */
    display: inline-block;
}

.sb-news-title:hover {
    color: #999;
}
