/* Tutorダッシュボードをマイアカウント内に埋め込んだ際の見た目調整 */
.woocommerce-MyAccount-content {
    max-width: 100%;
}

/* 重複して見えるサイトタイトルのリンクを非表示 */
.woocommerce-MyAccount-content > a[href="https://satoyama-gifu.com/"] {
    display: none !important;
}

/* メニュー(Home, コース, お知らせ...)を横並びタブ風に */
.woocommerce-MyAccount-content ul:first-of-type {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    border-bottom: 1px solid #e0e0e0;
}
.woocommerce-MyAccount-content ul:first-of-type li {
    margin: 0;
}
.woocommerce-MyAccount-content ul:first-of-type li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f7f5f0;
    border-radius: 6px 6px 0 0;
    text-decoration: none;
    color: #4a4a4a;
}
.woocommerce-MyAccount-content ul:first-of-type li a:hover {
    background: #ece8de;
}

/* 挨拶文まわりの余白 */
.woocommerce-MyAccount-content p {
    margin: 0 0 16px 0;
}

/* アバターやカードっぽい要素に軽く枠線 */
.woocommerce-MyAccount-content div:has(> p) {
    max-width: 100%;
}

/* ① 重複しているサイトタイトルリンクを非表示 */
.woocommerce-MyAccount-content > a[href="https://satoyama-gifu.com/"] {
    display: none !important;
}

/* ② メニュー(Home/コース/お知らせ...)を折り返し可能に */
.woocommerce-MyAccount-content ul:first-of-type {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* -----------------------------------------------
* 冊子とWEB連携体験ツアー／まちの人の言葉（LINEH風）
-------------------------------------------------- */
/* コース・レッスンページではサイトヘッダーを非表示 */
body.single-courses .site-header,
body.single-lesson .site-header {
    display: none;
}

/* ヘッダー分の余白を詰める（テーマがpadding-topなどを付けている場合） */
body.single-courses #content,
body.single-lesson #content {
    padding-top: 0;
}



/*以下、①背景色など*/
.line-bc {
  padding: 90px 10px 20px 10px;
  max-width: 90%;
  margin: 35px auto;
  text-align: right;
  font-size: 14px;
  background: #7da4cd;
border-radius: 30px;
  position: relative;

}

.line-bc h4{
	font-weight:bold;
	color: #505050;/*文字色*/
	padding: 0.5em 1em 0.5em 0.5em;/*文字周りの余白*/
	display: inline-block;/*おまじない*/
	line-height: 1.3;/*行高*/
	background: #dbebf8;/*背景色*/
	vertical-align: middle;
	border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
	position: absolute;
	top: -15px;
	left: -25px;
	transform: rotate(-3deg);
}

.line-bc h4:before {
  content: '●';
  color: white;
  margin-right: 8px;
}

/*以下、②左側のコメント*/
.balloon6 {
  width: 100%;
  margin: 10px 0;
}
.balloon6 .faceicon span.name {
	display: block;
	text-align: left;
	font-size: 80%;
	line-height: 1;
	position: absolute;
	top: -12px;
	left: 0px;
	width: 200px;
	overflow: visible;}

.balloon6 .faceicon {
  float: left;
  margin-right: -50px;
  width: 40px;
  position: relative;
}

.balloon6 .faceicon img{
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.balloon6 .chatting {
  width: 100%;
  text-align: left;
}
.says {
  display: inline-block;
  position: relative; 
  margin: 0 0 0 50px;
  padding: 20px;
  max-width: 500px;
  border-radius: 12px;
  background: #edf1ee;
}

.says img{
	display: block;
	margin-bottom:10px;
	}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 3px; 
  left: -19px;
  border: 8px solid transparent;
  border-right: 18px solid #edf1ee;
  -webkit-transform: rotate(35deg);
  transform: rotate(35deg);
}
.says p {
  margin: 0;
  padding: 0;
}

/*以下、③右側の緑コメント*/
.mycomment {
  margin: 10px 0;
}
.mycomment {
	text-align: left;
  display: inline-block;
  position: relative; 
  margin: 0 10px 10px 0;
  padding: 20px;
  max-width: 500px;
  border-radius: 12px;
  background: #30e852;
  font-size: 15px:
}

.mycomment img{
	display: block;
	margin-bottom:10px;
	}

.mycomment:after {
  content: "";
  position: absolute;
  top: 3px; 
  right: -19px;
  border: 8px solid transparent;
  border-left: 18px solid #30e852;
  -webkit-transform: rotate(-35deg);
  transform: rotate(-35deg);
}


/* ==== お店紹介カード（軽食喫茶 れもん 等） ==== */
#shop_introduction {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 640px;
    margin: 32px auto;
    padding: 24px;
    background: #fdfbf6;
    border: 1px solid #e6e1d6;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

#shop_introduction figure {
    flex: 0 0 140px;
    margin: 0;
}

#shop_introduction figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#place_info {
    flex: 1 1 auto;
    margin: 0;
}

#place_info dt {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2f2a20;
    margin-bottom: 10px;
}

#place_info dd {
    margin: 0 0 8px 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #4a463d;
}

/* 説明文（1つ目のdd）だけ少し強調・区切り線 */
#place_info dd:first-of-type {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd6c4;
}

.googlemap {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

.googlemap a {
    display: inline-block;
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #4a7c59;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.googlemap a:hover {
    background: #3c6549;
    transform: translateY(-1px);
}

/* スマホ幅では画像を上、情報を下に */
@media (max-width: 480px) {
    #shop_introduction {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #shop_introduction figure {
        flex: none;
        width: 120px;
    }

    #place_info dd:first-of-type {
        text-align: left;
    }
}

/* ==== レッスン本文の見出し ==== */
.tutor-lesson-wrapper h3 {
    position: relative;
    margin: 40px 0 18px;
    padding: 10px 16px 10px 20px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2f2a20;
    background: linear-gradient(to right, #f3efe2, #fdfbf6);
    border-left: 5px solid #4a7c59;
    border-radius: 0 6px 6px 0;
}

/* 最初の見出しは上の余白を詰める */
.tutor-lesson-wrapper h3:first-child {
    margin-top: 0;
}

/* 「うんちく」など小見出し用 h4 */
.tutor-lesson-wrapper h4 {
    display: inline-flex;
    align-items: center;
    margin: 32px 0 16px;
    font-size: 1rem;
    font-weight: 700;
    color: #4a7c59;
}

.tutor-lesson-wrapper h4::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    background: #4a7c59;
    border-radius: 50%;
}

/* 本文の段落 */
.tutor-lesson-wrapper p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #3f3b33;
    margin: 0 0 16px;
}

/* ==== 図解付き説明リスト（#explanatory_diagram） ==== */
#explanatory_diagram {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

#explanatory_diagram > li {
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px dashed #ddd6c4;
}

#explanatory_diagram > li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#explanatory_diagram figure {
    margin: 0 0 16px;
    text-align: center;
}

#explanatory_diagram figure img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* リスト内の見出しは本文見出しより少し控えめに */
#explanatory_diagram h3 {
    margin-top: 0;
}

#explanatory_diagram p {
    margin: 0;
}

/* ==== ポイント強調ボックス ==== */
.point {
    margin: 16px 0 0;
    padding: 14px 18px;
    background: #eef5ee;
    border-left: 4px solid #4a7c59;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #33472f;
}

.point::before {
    content: "POINT";
    display: block;
    margin-bottom: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #4a7c59;
}

/* ==== 出典の引用ブロック ==== */
.tutor-lesson-wrapper blockquote {
    margin: 32px 0 0;
    padding: 16px 20px;
    background: #f8f7f2;
    border-left: 3px solid #cfc9b8;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    line-height: 1.8;
    color: #7a7566;
}

.tutor-lesson-wrapper blockquote p {
    margin: 0;
}

.tutor-lesson-wrapper blockquote a {
    color: #4a7c59;
    text-decoration: underline;
}


.tutor-lesson-wrapper blockquote {
    margin: 32px 0 0;
    padding: 12px 16px;
    background: none;
    border: none;
    border-top: 1px solid #e5e2da;
    font-style: normal;
    font-size: 0.78rem;
    line-height: 1.8;
    color: #999488;
}

.tutor-lesson-wrapper blockquote p {
    margin: 0;
    font-style: normal;
}

.tutor-lesson-wrapper blockquote a {
    color: #8a9c85;
    text-decoration: underline;
}