@charset "UTF-8";
/***
 * form.css
 */

/* ---------------------------------------------------------------
// # html
// --------------------------------------------------------------*/
html {
  scroll-behavior: unset;
}

/* ---------------------------------------------------------------
// # storycontent
// --------------------------------------------------------------*/
.storycontent {
	min-height: 0;
	padding-bottom: 50px;
}

/* ---------------------------------------------------------------
// # processing
// --------------------------------------------------------------*/
body.processing {
	overflow: hidden;
}
body.processing::after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../images/loader.svg");
	background-position: 50% 25%;
	background-size: 60px 60px;
	background-repeat: no-repeat;
	background-color: rgba(0,0,0,0.7);
	z-index: 9999;
}

/* ---------------------------------------------------------------
// # form
// --------------------------------------------------------------*/
@media (min-width: 600px) {
  .imgselect label {
    min-height: 350px;
  }
}
@media (max-width: 599px) {
  .imgselect label {
    min-height: 35lvh;
  }
}
.eventform {
  display: grid;
  grid-gap: 30px;
  margin-bottom: 10lvh;
}
.eventform h2 {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
  background-color: var(--color-main);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 4px 4px 0 #000;
}
.eventform h2::before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 3px;
}
.eventform.confirm dl {
	background-color: #fbf4ea;
	border: 2px solid var(--color-border);
	box-shadow: 4px 4px 0 #000;
	padding: 15px;
}
.eventform dt {
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 3px;
	position: relative;
}
.eventform dd {
	margin-bottom: 15px;
}
.eventform dt::before {
	content: "";
	width: 13px;
	height: 13px;
	background-color: var(--color-main);
	display: inline-block;
	margin-right: 2px;
	position: relative;
	top: 2px;
	border-radius: 50%;
}
input[type=text], input[type=number], input[type=tel], input[type=email], input[type=url], select, option, textarea, button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
}
input[type=text], input[type=number], input[type=tel], input[type=email], input[type=url], select, textarea {
  border: 1px solid var(--color-border);
  padding: 8px;
  font-size: 18px;
  border-radius: 5px;
}
input[type=text]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
	outline: 2px solid var(--color-main);
}
input[type=radio] {
	width: 17px;
	height: 17px;
	margin-right: 4px;
  accent-color: var(--color-main);
  inline-size: 1.2rem;
  block-size: 1.2rem;
}
input[readonly],
select[disabled],
textarea[disabled] {
  border: none!important;
  background-color: #fff;
	resize: none;
}
input[readonly]:focus,
select[disabled]:focus,
textarea[disabled]:focus {
  outline: none;
}
dd.event-dates div {
	padding: 10px;
	background-color: #fff;
	border-radius: 8px;
}
select {
	color: #000;
	background-color: #fff;
	margin-bottom: 6px;
}
textarea {
	field-sizing: content;
	min-height: 4em;
}
textarea.large {
	min-height: 10em;
}
button,
.sleeve > div {
	border: none;
	border-radius: 8px;
	background-color: var(--color-main);
	font-weight: bold;
	padding: 15px;
	font-size: 18px;
	transition: all .3s;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.9);
	text-align: center;
}
button.close {
	background-color: #777;
	color: #fff;
}
button:disabled {
  filter: saturate(30%);
}
button:hover,
.sleeve > div:hover {
	cursor: pointer;
}
.sleeve {
	position: relative;
}
.sleeve button.submit {
	position: absolute;
	top: 0;
	right: 0;
	visibility: hidden;
}
label {
	font-size: 14px;
	line-height: 1.3;
}
.chkboxwrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 8px;
}
.chkboxwrap label {
	display: flex;
	align-items: center;
	padding: 13px;
	border: 1px solid var(--color-border);
	border-radius: 5px;
	background-color: rgba(255,255,255,0.7);
}
.chkboxwrap label input[type=radio] {
	margin-right: 4px;
}
p.note {
	font-weight: bold;
	font-size: 12px;
	margin-bottom: 5px;
}
.imgselect {
	margin-bottom: 10px;
	position: relative;
}
.imgselect label {
  display: block;
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  border-radius: 10px;
  background-color: #cdc8c1;
}
.imgselect:not(.has-image) label::before {
  content: 'クリックして画像を選択';
  display: block;
  padding-top: 80px;
  background: url(../images/ico_camera.svg) no-repeat top center;
  background-size: 80px auto;
  z-index: 1;
}
.imgselect label.loaded {
	height: auto;
}
.imgselect label:not(.loaded) {
	align-items: center;
	justify-items: center;
}
.imgselect label:not(.loaded) span {
	font-size: 32px;
	font-weight: bold;
}
.imgselect picture {
  display: block;
  position: relative;
  z-index: 10;;
}
.imgselect picture img {
  width: 100%;
  height: auto;
  display: block;
}
.clearImage {
	position: absolute;
	top: -7px;
	right: -7px;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background: url(./ico_xmark_white.svg) no-repeat center center #000;
	background-size: 20px 20px;
  color: #fff;
  cursor: pointer;
	z-index: 100;
  display: grid;
  align-items: center;
  justify-items: center;
}
.confirm-senderinfo-public {
  border: 1px solid #000;
  padding: 15px;
  background-color: #fff;
}
.confirm-senderinfo-public label {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.3;
}
.confirm-senderinfo-public input[type=checkbox] {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  accent-color: var(--color-main);
}


/* ---------------------------------------------------------------
// # error
// --------------------------------------------------------------*/
p.error {
	padding: 6px 0;
	font-size: 12px;
	font-weight: bold;
	color: var(--color-warning);
}
p.error::before {
	content: "※";
}

/* ---------------------------------------------------------------
// # Modal
// --------------------------------------------------------------*/
.modal-overlay {
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	display: grid;
	align-items: center;
	justify-items: center;
}
.modal-box {
	background: #fff;
	border-radius: 8px;
	width: 400px;
	max-width: 80%;
	padding: 20px 20px;
	box-sizing: border-box;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	text-align: center;
	position: relative;
	top: -10lvh;
}
.modal-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}
.modal-message {
	margin-bottom: 20px;
}
.modal-ok-button {
	padding: 8px 16px;
	font-size: 14px;
	border: none;
	background: var(--color-main);
	color: #fff;
	border-radius: 4px;
	cursor: pointer;
}

/* -------------------------------------------------------
// # カレンダーリスト
// ------------------------------------------------------*/
@media (min-width: 600px) {
  .calendar-list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px; }
}
@media (max-width: 599px) {
  .calendar-list {
    grid-gap: 20px;
		min-height: 270px;
  }
}
.calendar-list {
  display: grid;
}

/* -------------------------------------------------------
// # カレンダーアイテム
// ------------------------------------------------------*/
.calendar-item * {
	user-select: none;
}
.calendar-item h3 {
  font-weight: bold;
}
.calendar-item li {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
}
.calendar-item li.frontrow > * {
  font-size: 10px;
  font-weight: bold;
  background-color: #000;
  color: #fff;
  padding: 0 3px;
}
.calendar-item li:not(.frontrow) {
  grid-template-rows: repeat(6, 35px);
}
.calendar-item li:not(.frontrow) > * {
  background-color: #fff;
}
.calendar-item .sunday,
.calendar-item .holiday {
  color: rgb(212, 66, 66);
}
.calendar-item .saturday {
  color: rgb(48, 87, 195);
}
.calendar-item li span {
  position: relative;
	display: grid;
	align-items: center;
	justify-items: center;
	font-size: 13px;
	font-weight: bold;
}
.calendar-item li span.today {
  background-color: #fbebaf;
  text-decoration: underline;
}
.calendar-item li span.extra {
  background-color: #fbe2e2;
}
.calendar-item li span.disabled {
  background-color: #ddd;
}
.calendar-item li span.inRange {
  background-color: #00ffd5;
}
.calendar-item li span.selected {
  background-color: #00ffd5;
}


/* -------------------------------------------------------
// # Cal header
// ------------------------------------------------------*/
.month-shift * {
	user-select: none;
}
.month-shift {
  display: flex;
  justify-content: space-between;
	align-items: center;
  margin-bottom: 15px;
}
.month-shift span {
  border: 1px solid #000;
  background-color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.month-shift span.inactive {
  background-color: var(--color-gray);
}
.month-shift span i {
  margin: 0 5px;
}
.calheader {
	display: grid;
	grid-template-columns: 55px 1fr 55px;
	align-items: center;
	padding: 7px 0 10px;
}
.calheader span.prev,
.calheader span.next {
  border: 1px solid #000;
  background-color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calheader span.inactive {
  background-color: var(--color-gray);
}
.calheader span i {
  margin: 0 5px;
}
.calheader h3 {
	text-align: center;
}


/* ---------------------------------------------------------------
// # メッセージ
// --------------------------------------------------------------*/
.message {
	background-color: var(--color-light);
	padding: 15px;
	border-radius: 25px;
	margin-bottom: 20px;
	box-shadow: 5px 5px 0 #333;
	display: grid;
	grid-gap: 20px;
}
.message .text {
	padding: 15px;
	font-size: 14px;
	background-color: #fff;
	border-radius: 18px;
}
.message p {
	font-size: 14px;
	margin-bottom: 1em;
}
.message .odai {
	background-color: var(--color-light);
}
.message .odai h2 {
	background-color: #fff;
	padding: 15px 10px;
	border-radius: 15px;
	font-size: 24px;
	line-height: 1.3;
	font-weight: bold;
	text-align: center;
	position: relative;
}
.message h2::before {
	content: "今月のお題";
	position: absolute;
	top: -14px;
	left: 7px;
	font-size: 10px;
	font-weight: bold;
	background-color: var(--color-light);
	border: 3px solid #fff;
	padding: 2px 6px;
	border-radius: 5px;
}

/* ---------------------------------------------------------------
// # アンケートリスト
// --------------------------------------------------------------*/
.questionnaire_list {
	padding: 30px 0 40px;
	display: grid;
	grid-gap: 10px;
}
.questionnaire_list li {
	position: relative;
	padding-left: 30px;
}
.questionnaire_list li::before {
	content: "●";
	color: var(--color-main);
	font-size: 30px;
	position: absolute;
	left: 0;
	top: 0;
}
.questionnaire_list li a {
	padding: 14px 0;
	display: inline-block;
	color: var(--color-main);
}

/* ---------------------------------------------------------------
// # thanks-message
// --------------------------------------------------------------*/
.thanks-message {
	background-color: #fbf4ea;
	border: 2px solid var(--color-border);
	box-shadow: 4px 4px 0 #000;
	padding: 15px;
	margin-bottom: 50px;
}
.thanks-message h2 {
	font-weight: bold;
	font-size: 22px;
	margin-bottom: 0.5em;
	text-align: center;
}
.thanks-message p {
	margin-bottom: 0.5em;
	font-size: 14px;
	line-height: 1.5;
}
.thanks-message > div {
	margin-bottom: 20px;
}
.thanks-message button {
	width: 300px;
	padding: 10px;
	margin: 0 auto;
}

/* ---------------------------------------------------------------
// # checkbox list
// --------------------------------------------------------------*/
.checkboxlist {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.checkboxlist label {
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.3;
	padding: 10px 15px;
	user-select: none;
}
.checkboxlist input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-right: 5px;
	accent-color: var(--color-main);
}
.checkboxlist label.checked {
	background-color: var(--color-main);
	border-radius: 5px;
}

/* ---------------------------------------------------------------
// # 
// --------------------------------------------------------------*/


/* ---------------------------------------------------------------
// # 
// --------------------------------------------------------------*/


/* ---------------------------------------------------------------
// # 
// --------------------------------------------------------------*/


