.wrapper .block #inputBlock .table {
    width: 100%;
    display: table;
}

.wrapper .block #inputBlock .thead {
    display: table-header-group;
}

.wrapper .block #inputBlock .thead .tr {
    display: table-row;
}

.wrapper .block #inputBlock .thead .th {
    display: table-cell;
    color: #fff;
    background-color: #333;
    font-size: 125%;
    font-weight: 700;
    line-height: 1.3;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 11px;
    padding-bottom: 11px;
    border-left: 2px solid #fff;
    border-bottom: 3px solid #fff;
}

.wrapper .block #inputBlock .tbody .td:first-child {
    border-left: none;
    width:25%;
}

.wrapper .block #inputBlock .tbody {
    display: table-row-group;
}

.wrapper .block #inputBlock .tbody .tr {
    display: table-row;
}

.wrapper .block #inputBlock .tbody .td {
    display: table-cell;
    font-weight: 700;
    line-height: 1.3;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 3px solid #fff;
    vertical-align: middle;
}

.wrapper .block #inputBlock .tbody .e {
    background-color: #eee;
    font-size: 125%;
    text-align: center;
}

.wrapper .block #inputBlock .tbody .v {
    background-color: #f9f9f9;
    font-size: 117%;
}




.wrapper .block #outputBlock .table {
    width: 100%;
    display: table;
}

.wrapper .block #outputBlock .tbody .td:first-child {
    border-left: none;
}

.wrapper .block #outputBlock .tbody {
    display: table-row-group;
}

.wrapper .block #outputBlock .tbody .tr {
    display: table-row;
}

.wrapper .block #outputBlock .tbody .td {
    display: table-cell;
    width:25%;
    font-weight: 700;
    line-height: 1.3;
    padding-left: 4px;
    padding-right: 4px;
    vertical-align: middle;
    text-align: center;
    font-size: 117%;
    border-left: 2px solid #fff;
    border-bottom: 3px solid #fff;
    background-color: #eee;
    height:80px;
}
.wrapper .block #outputBlock .tbody .v {
    background-color: #f9f9f9;
}




@media screen and (max-width: 480px) {
	.wrapper .block #outputBlock .tbody .tr-responsive {
		display: grid!important;
	}
	.wrapper .block #outputBlock .tbody .td {
		width:100%;
		padding-top: 20px;
		min-height:80px;
    height:auto;
	}
}



.form_txt{
	width:100px;
}

.label1 {
	font-weight: bold;
	font-size: 117%;
}

.label2 {
	font-size: 80%;
}

.value {
	font-weight: bold;
	color: #23ac38;
	font-size: 200%;
}

span.unit {
	font-size: 50%;
}

#inputBlock {
    background: #eff3f7;
	margin-bottom:40px;
}

#outputBlock {
    background: #fff;
}







.graphic{
	padding-top:30px;
	padding-bottom:0px;
}
.row {
	margin-bottom: 4px;
}
@keyframes expand {
	from {width: 0%;}
	to {width: 100%;}
}
@media screen and (min-width: 768px) {
	@keyframes expand {
		from {width: 0%;}
		to {width: calc(100%);}
	}
}
.chart {
	overflow: hidden;
	width: 0%;
	animation: expand 1.5s ease forwards;
	position: relative;
}
.row + .row .chart {
	animation-delay: .2s;
}
.row + .row + .row .chart {
	animation-delay: .4s;
}


.axisBlock1,
.axisBlock2{
	display: block;
	height: 12px;
	font-size: 14px;
	float: left;
	position: relative;
	overflow: hidden;
	opacity: 1;
	transition: opacity, .3s ease;
	cursor: pointer;
}
.axisBlock1 .blockValue,
.axisBlock2 .blockValue{
	display: none;
}
.axisBlock1 .blockLabel,
.axisBlock2 .blockLabel{
	display: block;
	line-height: 1em;
	position: absolute;
}
.axisBlock1 .blockLabel{
	font-size:12px;
	white-space: nowrap
}
.axisBlock1 .blockLabel:after{
	font-size:7px;
	content: "kg";
}
.axisBlock1 .blockLabelLast,
.axisBlock2 .blockLabelLast{
	display: block;
	line-height: 1em;
	position: absolute;
	right:0;
	font-size:12px;
	white-space: nowrap
}
.axisBlock1 .blockLabelLast:after{
	font-size:7px;
	content: "kg";
}


.chartBlock {
	display: block;
	height: 80px;
	color: #fff;
	font-size: .75em;
	float: left;
	background-color: #FF8C01;
	position: relative;
	overflow: hidden;
	opacity: 1;
	transition: opacity, .3s ease;
	cursor: pointer;
}
.chartBlock:nth-of-type(2),
.legend li:nth-of-type(2):before {
	background-color: #FFAA1C;
}
.chartBlock:nth-of-type(3),
.legend li:nth-of-type(3):before {
	background-color: #FFE733;
}
.chartBlock:nth-of-type(4),
.legend li:nth-of-type(4):before {
	background-color: #006B3E;
}
.chartBlock:nth-of-type(5),
.legend li:nth-of-type(5):before {
	background-color: #FFE733;
}
.chartBlock:nth-of-type(6),
.legend li:nth-of-type(6):before {
	background-color: #FFAA1C;
}
.chartBlock:nth-of-type(7),
.legend li:nth-of-type(7):before {
	background-color: #FF8C01;
}
.chartBlock:nth-of-type(8),
.legend li:nth-of-type(8):before {
	background-color: #ED2938;
}
.chartBlock .blockValue {
	display: none;
}
.chartBlock:hover {
	opacity: .65;
}


/* 低体重 */
.judge1 {
	position: absolute;
	top: 40%;
	left: 3.5%;
	color:#000;
	font-weight: bold;
}
/* 普通体重 */
.judge2 {
	position: absolute;
	top: 40%;
	left: 17.5%;
	color:#fff;
	font-weight: bold;
}
/* 肥満(1度) */
.judge3 {
	position: absolute;
	top: 40%;
	left: 33.5%;
	color:#000;
	font-weight: bold;
}
/* 肥満(2度) */
.judge4 {
	position: absolute;
	top: 40%;
	left: 47.5%;
	color:#000;
	font-weight: bold;
}
/* 肥満(3度) */
.judge5 {
	position: absolute;
	top: 40%;
	left: 61.5%;
	color:#000;
	font-weight: bold;
}
/* 肥満(4度) */
.judge6 {
	position: absolute;
	top: 40%;
	left: 81.5%;
	color:#000;
	font-weight: bold;
}
@media screen and (max-width: 480px) {
	.axisBlock1 .blockLabel{
		font-size:8px;
	}
	.axisBlock1 .blockLabel:after{
		font-size:5px;
		content: "kg";
	}
	.axisBlock1 .blockLabelLast{
		font-size:8px;
	}
	.axisBlock1 .blockLabelLast:after{
		font-size:5px;
		content: "kg";
	}

	.axisBlock2 .blockLabel{
		font-size:10px;
	}
	.axisBlock2 .blockLabelLast{
		font-size:10px;
	}


	/* 低体重 */
	.judge1 {
		left: 2.5%;
		font-size:80%;
	}
	/* 普通体重 */
	.judge2 {
		left: 16.5%;
		font-size:80%;
	}
	/* 肥満(1度) */
	.judge3 {
		left: 32.5%;
		font-size:80%;
	}
	/* 肥満(2度) */
	.judge4 {
		left: 46%;
		font-size:80%;
	}
	/* 肥満(3度) */
	.judge5 {
		left: 60%;
		font-size:80%;
	}
	/* 肥満(4度) */
	.judge6 {
		left: 80.5%;
		font-size:80%;
	}
}





.bmiBlock {
	display: block;
	height: 26px;
	float: left;
	position: relative;
	overflow: hidden;
	opacity: 1;
	transition: opacity, .3s ease;
	cursor: pointer;
}
.bmiBlock .blockValue {
	display: none;
}
.bmiArrow {
	position: absolute;
}




.x-axis {
    text-align: center;
	padding: 0;
}
.x-axis .title{
	font-size:150%;
	font-weight:bold;
}
/* プルダウンの基本スタイル */
.wrapper .block #inputBlock select {
    width: 100%;
    font-size: 117%;
    font-weight: 700;
    line-height: 1.5;
    padding: 12px;
    border: 2px solid #333;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 4px;
    box-shadow: none;
    outline: none;
    appearance: none; /* デフォルトのプルダウン矢印を非表示にする */
}

/* プルダウンのホバー効果 */
.wrapper .block #inputBlock select:hover {
    border-color: #23ac38;
    background-color: #e8f5e9;
}

/* プルダウン選択時の効果 */
.wrapper .block #inputBlock select:focus {
    border-color: #4CAF50;
    background-color: #e8f5e9;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

/* プルダウン用の矢印の追加 */
.wrapper .block #inputBlock select::after {
    content: "▼";
    font-size: 0.8em;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* 矢印部分のクリックを無効化 */
}

/* モバイルでのスタイル調整 */
@media screen and (max-width: 480px) {
    .wrapper .block #inputBlock select {
        font-size: 100%;
        padding: 8px 6px;
    }
}


.value.mini {
    font-size: 140%;
}

.wrapper .block #outputBlock .tbody .td.mini {
padding:12px;
}
        /* カレンダーのスタイル */
        .calendar-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            font-family: Arial, sans-serif;
        }
        
        .month-calendar {
            margin-bottom: 30px;
            border: 1px solid #ddd;
            padding: 15px;
            border-radius: 8px;
            background-color: white;
            width: 100%;
            display: inline-block;
            vertical-align: top;
            margin: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .month-calendar h3 {
            text-align: center;
            margin: 0 0 15px 0;
            font-size: 1.3em;
            color: #333;
        }

        .month-calendar table {
            width: 100%;
            border-collapse: collapse;
            table-layout: fixed;
        }

        .month-calendar th {
            background-color: #f5f5f5;
            font-weight: bold;
            padding: 8px;
            text-align: center;
            color: #555;
        }

        .month-calendar td {
            border: 1px solid #e0e0e0;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
            height: 70px;
            font-size: 0.9em;
            position: relative;
        }

        .month-calendar .day {
            font-weight: bold;
            margin-bottom: 0px;
            font-size: 1.8em;
        }

        .month-calendar .rokuyo {
            font-size: 0.8em;
            color: #666;
            margin-bottom: 9px;
        }

        .month-calendar .holiday-name {
            font-size: 0.7em;
            color: #ff6600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            bottom: 3px;
            left: 0;
            right: 0;
            padding: 0 3px;
        }

        /* 色分け */
        .month-calendar .sunday {
            color: #e53935;
            background-color: #ffebee;
        }

        .month-calendar .saturday {
            color: #1e88e5;
            background-color: #e3f2fd;
        }

        .month-calendar .holiday {
            color: #fb8c00;
            background-color: #fff3e0;
        }

        .month-calendar .taian .rokuyo {
            color: #e53935;
            font-weight: bold;
        }

        .month-calendar .today {
            background-color: #e8f5e9;
            border: 2px solid #4CAF50;
        }

        /* 年ナビゲーションのスタイル */
        .year-navigation {
            margin: 0;
            text-align: center;
            padding: 4px 0;
            background-color: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .year-buttons {
            margin-bottom: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }

        .year-buttons button, #year-search {
            padding: 10px 18px;
            margin: 5px;
            cursor: pointer;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 0.95em;
            transition: background-color 0.3s;
        }

        .year-buttons button:hover, #year-search:hover {
            background-color: #3d8b40;
        }

        .current-year {
            font-weight: bold;
            margin: 0 20px;
            display: inline-block;
            min-width: 200px;
            font-size: 1.3em;
            color: #333;
        }

        .year-search {
            margin-top: 15px;
        }

        .year-search input {
            padding: 10px;
            width: 120px;
            text-align: center;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 1em;
            margin-right: 10px;
        }

        .month-navigation {
            margin: 15px 0;
            text-align: center;
        }

        .month-navigation button {
            padding: 8px 15px;
            margin: 0 5px;
            cursor: pointer;
            background-color: #2196F3;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 0.9em;
        }
        
        /* レスポンシブ対応 */
        @media (max-width: 768px) {
            .month-calendar {
                max-width: 100%;
                margin: 10px 0;
            }
            
            .year-buttons button, #year-search {
                padding: 8px 12px;
                margin: 3px;
                font-size: 0.85em;
            }
            
            .current-year {
                display: block;
                margin: 10px 0;
                min-width: 100%;
            }
            
            .year-search input {
                width: 100px;
                margin-bottom: 10px;
            }
        }
        
/* 一粒万倍日用スタイル追加 */
.ichiryu-manbai { background-color: #fff9e6; }
.ichiryu-label {
    font-size: 0.8em;
    color: #e67e22;
    font-weight: bold;
    margin-top: 3px;
}
.ichiryu-container {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}
.ichiryu-container ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}
.ichiryu-container li {
    padding: 8px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.ichiryumanbai-list {
    font-size: 1.3em;
    color: #007d5e;
}
.ichiryumanbai-mark {
    color: #007d5e;
    font-size: 1em;
    margin-top: 2px;
}
td.ichiryumanbai {
    background-color: #dffff7;
    border: solid 2px #007d5e!Important;
}
.sexagenary {
    font-size: 0.8em;
    margin-top: 2px;
    color: #666;
}
.sunday {
    color: #f00;
}
.saturday {
    color: #00f;
}
.holiday {
    color: #f00;
}
.taian {
    font-weight: bold;
}
.today {
    background-color: #ffffcc;
}
.holiday-name {
    font-size: 0.7em;
    color: #f00;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.month-calendar {
    margin-bottom: 20px;
}
.month-calendar h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}
.month-calendar table {
    width: 100%;
    border-collapse: collapse;
}
.month-calendar th, .month-calendar td {
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
}
.month-calendar th {
    background-color: #f5f5f5;
}
.month-calendar td {
    height: 80px;
    vertical-align: top;
}
.year-navigation {
    margin-bottom: 15px;
    text-align: center;
}
.year-buttons {
    margin-bottom: 10px;
}
.year-buttons button {
    margin: 0 5px;
    padding: 5px 10px;
}
.current-year {
    font-weight: bold;
    margin: 0 10px;
}
.year-search {
    margin-top: 10px;
}
.year-search input {
    padding: 5px;
    width: 80px;
}
.year-search button {
    padding: 5px 10px;
    margin-left: 5px;
}
.month-navigation {
    text-align: center;
    margin-bottom: 15px;
}
.month-navigation button {
    margin: 0 5px;
    padding: 5px 15px;
}
.day {
    font-weight: bold;
    margin-bottom: 2px;
}
.rokuyo {
    font-size: 0.8em;
    margin-bottom: 2px;
}
.tenshabi {
    background-color: #fff9e5;
    border: 1px solid #f39c12;
}
td.tenshabi {
    background-color: #ffdff8;
    border: solid 2px #89116f!Important;
}
.tenshabi-list {
    font-size: 1.3em;
    color: #89116f;
}
.tenshabi-mark {
    font-size: 12px;
    color: #89116;
    font-weight: bold;
}
.zodiac-day {
    font-size: 1.2em;
    margin-top: 2px;
}
.zodiac-days-list {
    font-size: 1.3em;
}
.zodiac-day-mark {
    font-size: 12px;
    color: #444;
    margin-top: 2px;
}
.solar-terms-container {
display:none;
}