@charset "utf-8";

@media screen and (max-width:700px) {

#price-simulator {
    padding-bottom: 12.3%;
}
#simulator_catch {
    margin-bottom: 24px;
}
#simulator_catch p {
    line-height: 1.6em;
}
.simulator_select_each {
    margin-bottom: 24px;
}
.simulator_select_each h2 {
    position: relative;
    font-family: fot-tsukuardgothic-std, sans-serif;
    font-size: 20px;
    line-height: 1em;
    font-weight: 600;
    letter-spacing: 0.016em;
    color: #36519D;
}


.simulator_select_each h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px; /* 細い線 */
  background-color: #36519D;
}

.simulator_select_each h2 span {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
  border-bottom: 3px solid #36519D;
  /* ボーダーの位置調整（上下中央に寄せる） */
  margin-bottom: -1px; /* 高さ1pxの全体線と中央揃え */
}

.simulator_select_box {
    padding-top: 24px;
    padding-bottom: 16px;
}


#yearmonth-selectbox {
    font-family: sans-serif;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    }
.simulator_select_box p {
    line-height: 1.5em;
}

#yearmonth-selectbox label {
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    line-height: 1em;
    margin-right: 0px;
    background-color: #36519D;
    padding-top: 10px;
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: 10px;
    color: #FFFFFF;
    width: 100%;
    margin-bottom: 8px;
}

#yearmonth-select {
    display: block;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    min-width: 200px;
    width: 100%;
}

#yearmonth-select:hover {
	border-color: #888;
}

#yearmonth-select:focus {
	outline: none;
	border-color: #007BFF;
	box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}

.simu_calendar {
    max-width: 704px;
    margin-top: 0;
    margin-bottom: 0;
    font-family: sans-serif;
}
.simu_calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
    }

.simu_calendar-header button {
	background: none;
	border: none;
	font-size: 16px;
	cursor: pointer;
	color: #007BFF;
}
.simu_calendar-header .month {
	font-size: 18px;
	font-weight: bold;
}

.simu_calendar-table {
	width: 100%;
	border-collapse: collapse;
}

.simu_calendar-table th,
.simu_calendar-table td {
    width: 14.28%;
    height: 60px;
    text-align: center;
    border: 2px solid #FFFFFF;
    padding: 0;
    vertical-align: middle;
}

.simu_calendar-table th {
    background-color: #36519D;
    font-weight: bold;
    color: #FFFFFF;
}

.simu_empty {
    background-color: #EFEFEF;
}

.simu_calendar-day {
    width: 100%;
    height: 100%;
    background-image: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    background-color: #f9f9f9;
    display: flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
}

.simu_calendar-day:hover {
    background-color: #E2E2FF;
}
.saturday .simu_calendar-day:hover,
.sunday .simu_calendar-day:hover,
.holiday .simu_calendar-day:hover {
	background-color: #E2E2FF;
}
.simu_calendar-day.selected {
	background-color: #007BFF;
	color: white;
	border-radius: 50%;
}

.saturday .simu_calendar-day {
    color: #007BFF;
    vertical-align: middle;
}

.sunday .simu_calendar-day {
	color: #D9534F;
}

.holiday .simu_calendar-day {
    color: #D9534F;
}
.w-h_rates .simu_calendar-day {
	background-color: #F9D3EA;
}

.simu_calendar-radio {
    display: none;
}

.simu_calendar-radio:checked + .simu_calendar-day {
    background-color: #B7B7FF;
    color: white;
}


.room-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 100%;
}
.room-buttons input[type="radio"] {
  display: none;
}
.room-buttons label {
    display: block;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 15px;
}
.room-buttons label:hover {
    background-color: #E2E2FF;
}
.room-buttons input[type="radio"]:checked + label {
    background-color: #B7B7FF;
    color: white;
    border-color: #B7B7FF;
}
#time-selectbox {
    display: flex;
    gap: 6px;
    align-items: center;
    font-family: sans-serif;
    margin-top: 20px;
    flex-wrap: wrap;
}
#time-select_start-time {
    display: flex;
}
#time-select_end-time {
    display: flex;
}


#time-selectbox label {
    font-weight: bold;
    background-color: #36519D;
    padding-right: 24px;
    padding-left: 24px;
    color: #FFFFFF;
    line-height: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}

.time-select {
  padding: 6px 12px;
  font-size: 16px;
}
#time-selectbox .sp_only {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}



.equipment-list {
    border-top: 0.05em solid #BCBABA;
    margin-top: 24px;
}

.equipment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 0.05em solid #BCBABA;
    flex-wrap: wrap;
}

.equipment-name {
    font-weight: bold;
    width: 100%;
    font-size: 15px;
    display: block;
}

.equipment-price {
    text-align: right;
    margin-right: 8px;
}

.quantity-input {
    width: 48px;
    padding: 6px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
}
#estimate-button {
    text-align: center;
}
#estimate-button {
    font-family: century-gothic, sans-serif;
    text-align: center;
    font-size: 18px;
    line-height: 34px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 32px;
    letter-spacing: 0;
    display: flex;
    background-color: #E05581;
    width: 100%;
    height: 56px;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}




/*ここから計算結果*/

#price-simulator_result {
    padding-top: 28px;
    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: 32px;
    border-radius: 12px;
    background-color: #EFEFEF;
    margin-bottom: 24px;
}
#price-simulator_result h2 {
    position: relative;
    font-family: fot-tsukuardgothic-std, sans-serif;
    font-size: 20px;
    line-height: 1em;
    font-weight: 600;
    letter-spacing: 0.016em;
    color: #36519D;
    margin-bottom: 20px;
}
#price-simulator_result h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px; /* 細い線 */
  background-color: #36519D;
}
#price-simulator_result h2 span {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
  border-bottom: 3px solid #36519D;
  /* ボーダーの位置調整（上下中央に寄せる） */
  margin-bottom: -1px; /* 高さ1pxの全体線と中央揃え */
}.result_price-group {
    margin-bottom: 16px;
}
.result_price-group h3  {
    color: #FFFFFF;
    padding-top: 10px;
    padding-right: 8px;
    padding-left: 20px;
    padding-bottom: 10px;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    background-color: #36519D;
    font-size: 16px;
    font-weight: 500;
}
.result_price-box {
    padding-top: 16px;
    padding-right: 24px;
    padding-left: 20px;
    padding-bottom: 8px;
    background-color: #FFFFFF;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}
.result_price-each {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 0.05em solid #BCBABA;
    padding-bottom: 12px;
    flex-wrap: wrap;
    padding-right: 8px;
}

.result_selected {
    font-size: 15px;
    line-height: 1.5em;
    margin-bottom: 8px;
    width: 100%;
}
.result_selected span {
    margin-right: 8px;
    margin-left: 8px;
    display: inline-block;
}
.result_price {
    font-weight: 600;
    margin-left: auto;
}
#result_total-amount_box {
    border-radius: 8px;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 0px;
    flex-wrap: wrap;
    padding-bottom: 16px;
}
#result_total_head {
    background-color: #36519D;
    color: #FFFFFF;
    font-size: 20px;
    padding-top: 12px;
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: 12px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 8px;
    font-weight: 500;
    width: 100%;
    text-align: center;
    border-top-right-radius: 8px;
    margin-bottom: 16px;
}
#result_total-amount {
    font-size: 22px;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
}
#result_total-amount span {
    font-size: 16px;
}
.amount_annotation {
	text-align:left;
	line-height:1.4em;
	font-size:14px;
}
#back-previous {
	text-align: center;
}
#back-previous {
    font-family: century-gothic, sans-serif;
    text-align: center;
    font-size: 18px;
    line-height: 1em;
    font-weight: 600;
    color: #36519D;
    border-radius: 32px;
    letter-spacing: 0;
    display: flex;
    background-color: #FFFFFF;
    width: 100%;
    height: 56px;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #36519D;
}

}
