/* 
Theme Name:　恵津丸
Theme URI: https://etsumaru.com/
Description: 恵津丸のwordpressのテーマ
Version: 1.0.0
Author: 恵津丸
Author URI: https://etsumaru.com/
*/

.text-center {
	text-align: center !important;
	align-items: center !important;
}

mark,
.mark {
	padding: 0px !important;
}

.table-striped:not(.table-schedule) * {
	border: none !important;
}

.table-season thead th,
.table-fee thead th {
	min-width: 1em !important;
}

.table-season thead th:first-child {
	min-width: 120px !important;
}

.table-season thead th:last-child {
	min-width: 200px !important;
}

.table-fee {
	max-width: 800px !important;
	margin: auto;
}

.table-fee thead th:first-child {
	min-width: 200px !important;
}

.table-fee thead th:nth-child(2) {
	min-width: 120px !important;
}

.table-schedule thead th {
	min-width: 100px;
	word-break: keep-all;
}

.table-schedule thead th:nth-child(-n+2),
.table-schedule tbody td:nth-child(-n+2) {
	min-width: unset;
	width: 4rem;
	text-align: center;
}

.table-schedule tbody td {
	word-break: keep-all;
}

.max-width-70 {
	max-width: 70%;
	margin: auto;
}

// Enterキーを<br>に、Shift+Enterを段落<p>にする
add_filter( 'block_editor_settings', function( $settings ) {
    $settings['__experimentalBlockSettings'] = [
        'defaultBlock' => 'core/paragraph',
        'newLineType' => 'br', // Enterキーで<br>
    ];
    return $settings;
} );
