/*
Theme Name: Karuizawa
Description: Bar Karuizawa (karuizawa.com.my) のオリジナルデザインを WordPress 化したテーマ。お知らせ・メニューを管理画面から更新できます。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: karuizawa
*/

/*
 * The original site CSS lives unchanged in assets/css/ (reset.css, style.css, camera.css).
 * This file only adds styles for parts that are new in the WordPress version.
 */

/* ------------------------------------------------------------
   Home: intro paragraphs (edited in the block editor)
------------------------------------------------------------ */
#intro .intro_text p {
	margin-bottom: 20px;
}

/* ------------------------------------------------------------
   Home: News section
------------------------------------------------------------ */
#news {
	margin: 0 0 2em;
}

#news .cb01 h2 {
	font-family: 'Tangerine', serif;
	font-weight: bold;
	font-size: 40px;
}

#news .news-list {
	margin: 20px 15px 1em;
}

#news .news-list:last-child {
	margin-bottom: 0;
}

.news-body {
	font-size: 0.95em;
	line-height: 1.6em;
}

.news-body p {
	margin-bottom: 1em;
}

.news-body a:link,
.news-body a:visited {
	text-decoration: underline;
}

.news-body ul,
.news-body ol {
	margin: 0 0 1em 1.5em;
}

.news-body ul { list-style: disc; }
.news-body ol { list-style: decimal; }

.news-body strong,
.news-body b {
	font-weight: bold;
}

.news-body em,
.news-body i {
	font-style: italic;
}

.news-body img {
	max-width: 100%;
	height: auto;
}

/* ------------------------------------------------------------
   Menu page: drink menu (previously an inline <style> block)
------------------------------------------------------------ */
.drinkMenuWrap { margin: 20px 0 40px; }
.drinkMenuWrap h2 { font-size: 1.1em; font-weight: bold; margin: 20px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #ccc; }
.drinkMenuWrap h3 { font-size: 1em; font-weight: bold; margin: 14px 0 4px 10px; }
.drinkMenuWrap ul { list-style: none; margin: 0 0 10px; padding: 0; }
.drinkMenuWrap ul li { padding: 4px 0 4px 10px; line-height: 1.5; }
.drinkMenuWrap p { margin: 0 0 10px; line-height: 1.5; }

/* ------------------------------------------------------------
   Generic page (page.php) content
------------------------------------------------------------ */
.page-body {
	margin: 20px 15px 0;
	line-height: 1.6em;
}

.page-body p { margin-bottom: 1em; }
.page-body h2 { font-size: 1.3em; font-weight: bold; margin: 1.5em 0 0.5em; }
.page-body h3 { font-size: 1.1em; font-weight: bold; margin: 1.2em 0 0.5em; }
.page-body ul { list-style: disc; margin: 0 0 1em 1.5em; }
.page-body ol { list-style: decimal; margin: 0 0 1em 1.5em; }
.page-body img { max-width: 100%; height: auto; }

/* ------------------------------------------------------------
   NEWS box on the home page
   The box links to the News page. When the newest item has no photo
   there is nothing to float against, so the text takes the full width
   instead of leaving the image column empty.
------------------------------------------------------------ */
.home_menu.no-image .menu_info {
	width: auto;
	float: none;
	margin-left: 0;
}

/* The News page: the last item should not look cut off. */
#contentsWrapSub .news-list:last-of-type {
	border-bottom: none;
}
