body {
	padding: 0;
	margin: 0;
	font-family: Arial, sans-serif;
	text-align: center;
	background-color: #f5f5f5;
}

h1 {
	color: #333;
	font-size: 1.4em;
}
h2{
	color: #0b3fc1;
	font-size: 1em;
}
input,select,button{
	font-size: 1em;
}

div.pk{
	background-color: #0b3fc1;
	color: #ddd;
	font-size: .78em;
}
div.pk>a{
	color: inherit;
}


.calculator {
	display: inline-block;
	margin: 10px;
	padding: 10px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
div.form{
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1em;
}

p.gaikei>strong{
	font-size: 1.6em;
}
.visualizer {
	margin-top: 10px;
	display: inline-block;
}

svg {
	border: 1px solid #ddd;
	background: white;
}

/* タイヤ（黒） */
.tire {
	fill: black;
	stroke: none;
	transition: r 0.3s ease-in-out, cy 0.3s ease-in-out;
}

/* ホイールリムの外径（グレー） */
.rim {
	fill: gray;
	stroke: none;
	transition: r 0.3s ease-in-out, cy 0.3s ease-in-out;
}

/* ホイールリムの内径（白） */
.rim-inner {
	fill: white;
	stroke: none;
	transition: r 0.3s ease-in-out, cy 0.3s ease-in-out;
}

.gear-calculator {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gear-calculator h2 {
    font-size: 18px;
    color: #333;
}

.gear-calculator label {
    display: block;
    margin: 10px 0;
}

.gear-calculator select {
    padding: 5px;
    font-size: 16px;
}

.gear-calculator p {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}
