/*--------------------------------
 * CSS Variables
 *--------------------------------*/
:root {
	/* Brand Colors */
	--color-primary: #75b44e;
	--color-primary-light: #e8f7df;
	--color-primary-dark: #2e7d32;
	--color-success: #00c853;
	
	/* Neutral Colors */
	--color-white: #fff;
	--color-gray-light: #f5f5f5;
	--color-gray: #ccc;
	--color-gray-dark: #455a64;
	
	/* Shadows */
	--shadow-toggle: 0 9px 28px -6px rgba(0, 0, 0, 0.3);
	--shadow-toggle-active: 0 9px 28px -6px rgba(0, 0, 0, 0.5);
	
	/* Typography */
	--font-family-base: "Noto Sans JP", sans-serif;
	--font-size-base: 16px;
	--font-size-nav: 15px;
	--line-height-base: 1.5;
}

/*--------------------------------
 * Base Styles
 *--------------------------------*/
html,
body {
	height: 100%;
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	background: var(--color-primary-light);
}

/*--------------------------------
 * Navigation
 *--------------------------------*/
nav.navbar {
	border-top: 3px solid var(--color-primary);
	border-bottom: 1px solid var(--color-gray-light);
}

.hero nav.navbar,
.navbar-link,
a.navbar-item {
	background: var(--color-white);
}

.navbar-item,
.navbar-link {
	font-size: var(--font-size-nav);
	font-weight: 700;
}

.navbar-link:not(.is-arrowless)::after {
	border-color: var(--color-primary);
}

.navbar-item img.logo {
	max-height: 100%;
}

.navbar-burger {
	color: var(--color-primary);
}


/* Search Form */
.navi-search-form {
	position: relative;
	width: 600px;
}

.navi-search-form .search-btn {
	position: absolute;
	top: 5px;
	right: 16px;
	margin: 0;
	padding: 0 10px 0 0;
	cursor: pointer;
	font-size: 25px;
	line-height: 49px;
	border: none;
	color: var(--color-gray);
	background-color: transparent;
}

.navi-search-form .search-btn::before {
	font-family: "Font Awesome 6 Free";
	content: "\f002";
	font-weight: 900;
	font-size: 18px;
}

/*--------------------------------
 * Content
 *--------------------------------*/
.hero-body {
	padding: 1rem 3.5rem;
}

.hero.is-fullheight .hero-body.center-false {
	align-items: start;
}

.toppage {
	min-height: 500px;
}

.pagination {
	margin-top: 3rem;
}

/* Bulma css Override */
.is-link,
.pagination-link{
	border-color: var(--color-primary);
	background: var(--color-primary);
}


/*--------------------------------
 * Footer
 *--------------------------------*/
.footer {
	padding: 1rem;
	background: var(--color-primary);
}

.footer .copy,
.footer .copy:hover {
	color: var(--color-white);
}

/*--------------------------------
 * Table
 *--------------------------------*/
.table th {
	font-weight: bold !important;
	text-align: center !important;
}

.table td {
	vertical-align: middle;
}

.column-center tr th,
.column-center tr td {
	text-align: center;
	vertical-align: middle;
}

.top-center tbody td:first-child {
	text-align: center;
}

.top-bold tbody td:first-child {
	font-weight: bold;
}

/*--------------------------------
 * Toggle Switch
 *--------------------------------*/
.toggle_switch {
	position: relative;
	width: 60px;
	height: 30px;
	border-radius: 50px;
	overflow: hidden;
	cursor: pointer;
}

.toggle_switch input[type="checkbox"] {
	display: none;
}

.toggle_switch::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: var(--color-gray-dark);
	transition: 0.2s ease-out;
}

.toggle_switch::after {
	content: "OFF";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 26px;
	height: 26px;
	display: block;
	border-radius: 50px;
	background: var(--color-white);
	box-shadow: var(--shadow-toggle);
	transition: 0.2s ease-out;
	text-align: center;
	padding: 8px 0 0;
	line-height: 1;
	font-size: 10px;
	font-weight: bold;
	color: var(--color-gray-dark);
	letter-spacing: 0.5px;
	box-sizing: border-box;
}

.toggle_switch.checked::before {
	background: var(--color-success);
}

.toggle_switch.checked::after {
	content: "ON";
	left: 32px;
	padding: 8px 0 0 0;
	box-shadow: var(--shadow-toggle-active);
	color: var(--color-primary-dark);
}

/*--------------------------------
 * common 
 *--------------------------------*/

.w60  { width: 60%; }
.w50  { width: 49%; }
.w40  { width: 30%; }
.w30  { width: 30%; }
.w25  { width: 25%; }
.w20  { width: 20%; }
.w15  { width: 15%; }
.w10  { width: 10%; }
.w5   { width: 5%; }

/*--------------------------------
 * Responsive Design
 *--------------------------------*/

/* タブレット (768px以下) */
@media screen and (max-width: 768px) {
}

/* スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
	.hero.is-fullheight .hero-body {
		display: block;
		padding: 0;
	}
	
	.navi-search-form {
		width: 100%;
	}
}
