@charset "UTF-8";

/*================================================
 *  ペット墓石・タイル注文フォーム
 ================================================*/
/* WEBフォント設定 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=Noto+Sans+JP:wght@100..900&display=swap');

.contents.form-contents,
.contents.form-complete,
.contents.form-noflow,
.form-popup-wrapper {
  font-family: "Noto Sans JP", sans-serif;
}
.sp-only {
  display: none;
}

.contents.form-contents {
  max-width: 1280px;
  margin: 108px auto 120px;
  padding: 16px;
}

.contents.form-complete,
.contents.form-noflow {
  max-width: 1280px;
  margin: 0 auto 120px;
  padding: 16px;
}

.form-contents section .error_box {
  border: 2px solid #c31a41;
  color: #c31a41;
  padding: 16px 24px;
  margin: 0 0 48px 0;
  font-size: 20px;
}

.form-contents section .error_box.type2 {
  margin-top: 24px;
}

input:placeholder {
	color: #999;
}
input::-webkit-input-placeholder {
	color: #999;
}
input:-ms-input-placeholder {
	color: #999;
}

/* フロー設定 */
.flow.form-flow {
  display: flex;
  height: auto;
  width: 80%;
  max-width: 960px;
  height: 80px;
}
.flow.form-flow li {
  display: flex;
  width: calc(100% / 3);
  padding: 16px 28px;
  align-items: center;
}
.flow.form-flow li:after {
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
}
.flow.form-flow li:before {
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
}
.flow.form-flow li.current {
  background-color: #004098;
}
.flow.form-flow li.current:after {
    border-left-color: #004098;
}
.form-flow-number {
  font-size: 28px;
  font-weight: bold;
}
.form-flow-text {
  margin-left: 24px;
  text-align: left;
  line-height: 1.6;
  font-weight: bold;
  white-space: nowrap;
  z-index: 10;
}

.form-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin: 80px 0;
  line-height: 1.4;
}
.form-heading {
  color: #004098;
  font-weight: bold;
  font-size: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.form-heading-number {
  content: "";
  height:56px;
  width:56px;
  line-height: 1.1;
  border-radius:50%;
  text-align:center;
  background-color: #004098;
  margin-right: 16px;
}
.form-heading-number span {
  color: #fff;
  font-size: 28px;
  font-weight: normal;
}
.form-item + .form-item {
  margin-top: 80px;
}
.label_list_shape {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.label_list_shape li {
  position: relative;
  margin-bottom: 28px;
}
.label_list_shape.type01 li {
  width: 31.5%;
}
.label_list_shape.type02 li {
  width: 48%
}
.label-heading, .label-heading-sup {
  font-weight: bold;
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 32px;
}
.label-heading-sup {
  font-size: 20px;
}
.form-item [class*="label_list"] li input[type=radio]:checked + label .label-heading {
  color: #004098;
}
.popup-link-wrapper {
  text-align: center;
  margin: 0 auto 120px;
  display: block;
  cursor: pointer;
}
.popup-link-wrapper img {
  max-width: 100%;
}
.label_list_shape.last-row-double::after {
  content:"";
  display: block;
  width: 31.5%;
}
.label-img-wrapper.label-img-wrapper-square img {
  max-width: 50%;
  margin: 0 auto;
}
.form-item [class*="label_list"].plate-size-wrapper li label {
  padding: 44px 0 32px;
}
.plate-size-wrapper li:nth-of-type(2) .label-img-wrapper {
  margin-left: -6%;
}
.pattern-select-wrapper .label-img-wrapper.label-img-wrapper-square img {
  max-width: 64%;
}
.label-text-wrapper {
  text-align: center;
  padding-bottom: 50%;
  position: relative;
}
.label-text-wrapper.type02 {
  padding-bottom: 24%;
}
.label-text {
  font-family: "Kiwi Maru", serif;
  background-color: #f2f2f2;
  padding: 24px 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  line-height: 1.8;
  font-size: 20px;
  position: absolute;
  font-weight: bold;
}
.label-text-wrapper.type02 .label-text {
  white-space: nowrap;
  letter-spacing: -1px;
  width: 88%;
}
.form-btn-wrapper {
  margin-top: 80px;
}
.form-btn-wrapper .form-btn {
  display: block;
  background-color: #f8931f;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 32px 108px;
  letter-spacing: 1px;
  margin: 0 auto;
  font-size: 24px;
  position: relative;
}
.form-btn-wrapper .form-btn:hover {
  opacity: .7;
}
.form-btn-wrapper .form-btn.form-btn-secondary {
  background-color: #004098;
}
.form-btn .form-btn-arrow {
  position: absolute;
  right: 40px;
}
.form-btn .form-btn-arrow img {
  width: 24px;
  height: 24px;
}
.form-item [class*="label_list"] li input[type=radio] {
	cursor: pointer;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1;
}
.form-item [class*="label_list"] li label {
	display: block;
	position: relative;
	height: 100%;
  padding: 44px 0 72px;
}
.form-item [class*="label_list"].type02 li label {
  padding: 32px 0 24px;
}
.form-item [class*="label_list"] li label::after {
  box-sizing: border-box;
	border: 4px solid #e6e6e6;
	border-radius: 10px;
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.form-item [class*="label_list"] li input[type=radio]:checked + label::after {
	border: 4px solid #004098;
}
.label-img-wrapper img {
  max-width: 92%;
  display: block;
  margin: 8px auto;
}

/* popup */
/* colorboxカスタマイズ */
#cboxContent {
  background-color: transparent;
  margin-top: 80px;
}
#cboxLoadedContent {
  /* ポップアップの背景色を白に */
  background-color: #fff;
}
#cboxLoadingOverlay {
  /* ポップアップ表示動作中のポップアップ背景色*/
  background-color: #fff;
}
#cboxOverlay {
  /* ポップアップ表示中の背景色 */
  background-color: rgba(0, 0, 0, .7);
}
#cboxClose {
  background-image: url(../images/form/icon_close.svg);
  background-size: cover;
  background-position: center;
  width: 56px;
  height: 56px;
  top: -80px;
}
#cboxClose:hover {
    background-position: center;
}
#colorbox, #cboxOverlay, #cboxWrapper {
  overflow: visible;
}
#cboxLoadedContent {
  background: #fff;
  border: 4px solid #09a081;
  border-radius: 16px;
}

/* ポップアップレイアウト設定 */
.form-popup-wrapper {
  padding: 108px 120px;
  text-align: center;
}
.popup-img-wrapper img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.popup-heading {
  font-size: 48px;
  font-weight: bold;
  color: #09a081;
  margin-bottom: 48px;
}
.popup-text {
  margin-bottom: 56px;
  font-size: 24px;
  line-height: 1.8;
}
.plate-design-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.plate-design-item {
  width: 31%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.popup-item + .popup-item {
  margin-top: 120px;
}
.plate-design-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plate-design-item + .plate-design-item {
  margin-left: 3%;
}
.plate-design-list + .plate-design-list {
  margin-top: 3%;
}
/* 愛玩情報ポップアップ */
.popup-item-inner + .popup-item-inner {
  margin-top: 64px;
}
.popup-sub-heading {
  font-weight: bold;
  color: #004098;
  font-size: 28px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.popup-notice-wrapper {
  border: 2px solid #004098;
}
.popup-notice-text {
  color: #fff;
  background-color: #004098;
  font-size: 24px;
  line-height: 1.8;
  font-weight: bold;
  padding: 20px 0;
}
.popup-notice-wrapper .popup-img-wrapper {
  padding: 48px 24px 32px 24px;
}
.popup-img-wrapper + .popup-text {
  margin-top: 56px;
}

/* 愛玩情報入力画面 */
.form-sub-text {
  font-size: 24px;
  line-height: 1.8;
  text-align: center;
}

.table_form.table-form-primary {
  border: none;
}
.table_form.table-form-primary th {
  width: 240px;
  background-color: transparent;
  border-top: 1px solid #004098;
}
.table_form.table-form-primary th,
.table_form.table-form-primary td {
  border-bottom: none;
}
.table_form.table-form-primary td {
  border-top: 1px solid #e3e3e3;
}
.table_form.table-form-primary tbody tr:last-of-type th {
  border-bottom: 1px solid #004098;
}
.table_form.table-form-primary tbody tr:last-of-type td {
  border-bottom: 1px solid #e3e3e3;
}
.table_form.table-form-primary th span {
  color: #004098;
}
.table_form.table-form-primary th span::after {
 content: none;
}
.table_form.table-form-primary input::placeholder {
  color: #999;
}
.table_form.table-form-primary .pet_name input {
  width: 40%;
  min-width: 252px;
  display: block;
  border: 1px solid #c8c8c8;
}
.table_form.table-form-primary input + input {
  margin-left: 0;
  margin-top: 20px;
}
.table_form.table-form-primary .address div {
  margin-bottom: 20px;
}
.table_form.table-form-primary th span {
  font-weight: normal;
}
.table_form.table-form-primary th {
  padding-left: 0;
}
section table .pet-name input[type=text],
section table .customer-name input[type=text] {
  max-width: 290px;
  display: block;
}
section table .number input[type=tel] {
  width: 290px;
}
section table .address select {
  width: 240px;
}
section table.table-form-primary input[type=tel].input_postal {
  margin-left: 12px;
  width: 180px;
}
section table.table-form-primary input[type=text],
section table.table-form-primary input[type=tel],
section table.table-form-primary input[type=email],
section table.table-form-primary input[type=number],section table.table-form-primary input[type=url],
section table.table-form-primary select,
section table.table-form-primary textarea {
  border: 1px solid #c8c8c8;
}

/* ラジオボタン */
input[type="radio"].radio-btn {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 30px;
  height: 30px;
  border: 1px solid #c8c8c8;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  margin-right: 14px;
  position: relative;
  padding: 0;
}
label.radio-btn-wrapper {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
}
.radio-btn-wrapper + .radio-btn-wrapper {
  margin-left: 48px;
}
input[type="radio"].radio-btn:checked::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: #004098;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.select-btn-list {
  display: flex;
}
.select-btn-wrapper + .select-btn-wrapper {
  margin-left: 24px;
}
.select-btn-input {
  display: none;
}
label.select-btn {
  border: 1px solid #c8c8c8;
  height: 48px;
  line-height: 48px;
  border-radius: 24px;
  display: inline-block;
  width: 160px;
  text-align: center;
}
.select-btn-input:checked + label {
  background-color: #004098;
  color: #fff;
}

/* 日付入力 */
.date-input-wrapper,
.message-textarea-wrapper {
  margin-top: 28px;
  display: none;
}

.message-textarea-wrapper {
  margin-top: 28px;
}

.date-input-inner + .date-input-inner {
  margin-top: 20px;
}
.select-year,
section table input[type=number].select-year {
  width: 160px;
}
.select-month, .select-day {
  width: 88px;
}
.date-input-inner select + span,
.date-input-inner input + span {
  margin: 0 16px 0 8px;
}

.photo-popup-link {
  color: #004098;
  font-weight: bold;
  text-decoration: underline;
  display: block;
  margin-bottom: 28px;
}
.plate-message-caution {
  margin-top: 12px;
}
.image-upload {
  border: 1px solid #004098;
  color: #004098;
  width: 290px;
  line-height: 70px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  display: block;
}
.image-upload:hover {
  opacity: .7;
}
.image-upload-input {
  display: none;
}


/*================================================
 *  タブレットサイズ以下向けデザイン
 ================================================*/
@media screen and (max-width: 799px) {
  .pc-only {
    display: none;
  }

  .popup-link-wrapper {
    margin: 0 auto 80px;
  }
  .contents.form-complete {
    margin: 0 auto 5.6em;
    padding: 16px;
  }

  /* フロー設定 */
  .flow.form-flow {
    width: 100%;
    height: 60px;
  }
  .flow.form-flow li {
    padding: .6em 0 .6em 1em;
    align-items: center;
  }
  .flow.form-flow li:nth-child(2) {
    width: calc(100% / 3 - .8em);
  }
  .flow.form-flow li:nth-child(3) {
    width: calc(100% / 3 + .8em);
  }
  .flow.form-flow li:after {
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
  }
  .flow.form-flow li:before {
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
  }
  .form-flow-number {
    font-size: 1.6em;
  }
  .form-flow-text {
    margin-left: 1em;
    font-size: .8em;
  }

  .form-title {
    font-size: 1.8em;
    margin: 2.4em 0 2em;
  }
  .form-heading {
    font-size: 1.6em;
    margin-bottom: 1.2em;
    line-height: 1.2;
  }
  .form-heading-number {
    content: "";
    height:2em;
    width:2em;
    line-height:2em;
    margin-right: 16px;
  }
  .form-heading-number span {
    font-size: 1em;
  }
  .form-item + .form-item {
    margin-top: 4em;
  }
  .label_list_shape li {
    margin-bottom: 4%;
  }
  .form-item [class*="label_list"].plate-size-wrapper li label {
    padding: 1.6em .8em .8em;
  }
  .label_list_shape.type01 li {
    width: 48%;
    margin-bottom: 4%;
  }
  .plate-size-wrapper li:nth-of-type(2) .label-img-wrapper {
    margin-left: 0;
  }
  .pattern-select-wrapper .label-img-wrapper.label-img-wrapper-square img {
    max-width: 64%;
  }
  .label_list_shape.type02 li {
    width: 100%
  }
  .label-heading {
    font-size: 18px;
    margin-bottom: 1.6em;
  }
  .label-heading .label-heading-sup {
    font-size: .9em;
  }
  .label_list_shape.last-row-double::after {
    width: 48%;
  }
  .label-img-wrapper.label-img-wrapper-square img {
    max-width: 50%;
  }
  .label-text-wrapper {
    text-align: center;
    padding-bottom: 50%;
    position: relative;
  }
  .label-text-wrapper.type02 {
    padding-bottom: 24%;
  }
  .label-text,
  .label-text-wrapper.type02 .label-text {
    font-size: 18px;
  }
  .label-text-wrapper.type02 .label-text {
    width: 80%;
    letter-spacing: 0;
  }
  .form-btn-wrapper {
    margin-top: 4em;
  }
  .form-btn-wrapper .form-btn {
    padding: 1.8em 3.2em;
    font-size: 1em;
  }
  .form-btn-wrapper .form-btn:hover {
    opacity: .7;
  }
  .form-btn .form-btn-arrow {
  right: 1.2em;
  }
  .form-btn .form-btn-arrow img {
    width: 1em;
    height: 1em;
  }
  .form-item [class*="label_list"] li label {
    padding: 1.6em 0 2.4em;
  }
  .form-item [class*="label_list"].type02 li label {
    padding: 1.4em 0 1.2em;
  }
  .label-img-wrapper img {
    max-width: 92%;
    display: block;
    margin: 8px auto;
  }

  /* popup */
  /* colorboxカスタマイズ */
  #cboxContent {
    margin-top: 80px;
  }
  #cboxClose {
    width: 2em;
    height: 2em;
    top: -3.2em;
  }
  #cboxClose:hover {
      background-position: center;
  }
  #colorbox, #cboxOverlay, #cboxWrapper {
    overflow: visible;
  }
  #cboxLoadedContent {
    background: #fff;
    border: 4px solid #09a081;
    border-radius: 16px;
  }

  /* ポップアップレイアウト設定 */
  .form-popup-wrapper {
    padding: 3.2em 1.6em;
  }
  .popup-img-wrapper img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
  .popup-heading {
    font-size: 1.8em;
    line-height: 1.2;
    margin-bottom: 1em;
  }
  .popup-text {
    margin-bottom: 2.4em;
    font-size: 1em;
    line-height: 1.6;
  }
  .plate-design-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .plate-design-item {
    width: 31%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
  .popup-item + .popup-item {
    margin-top: 5.6em;
  }
  .plate-design-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .plate-design-item + .plate-design-item {
    margin-left: 3%;
  }
  .plate-design-list + .plate-design-list {
    margin-top: 3%;
  }
  /* 愛玩情報ポップアップ */
  .popup-sub-heading {
    font-size: 1.4em;
    margin-bottom: .8em;
  }
  .popup-notice-text {
    font-size: 1em;
    padding: 1em 0;
  }
  .popup-notice-wrapper .popup-img-wrapper {
    padding: 1.4em 1em 1em 1em;
  }
  .popup-item-inner + .popup-item-inner {
    margin-top: 2.4em;
  }

  /* 愛玩情報入力画面 */
  .table_form.table-form-primary th {
    min-width: 80px;
    padding-left: 8px;
  }
  section table input[type=number].select-year {
    width: 20%;
  }
  .select-month, .select-day {
    width: 18%;
  }
  .date-input-inner select + span, .date-input-inner input + span {
    margin: 0 12px 0 8px;
  }
}


/*================================================
 *  スマホサイズ以下向けデザイン
 ================================================*/
@media screen and (max-width:500px) {
  .sp-only {
    display: block;
  }
  .popup-link-wrapper {
    margin: 0 auto 72px;
  }

  .form-contents section .error_box {
    padding: 1em;
    margin: 0 0 2.4em 0;
    font-size: 1em;
  }

  .form-contents section .error_box.type2 {
    margin-top: 1em;
  }

  /* フロー設定 */
  .flow.form-flow li {
    padding: .6em 0 .6em .4em;
  }
  .flow.form-flow li:nth-child(2) {
    padding-left: 1em;
  }
  .flow.form-flow li:nth-child(3) {
    padding-left: 1em;
  }
  .form-flow-number {
    font-size: .8em;
  }
  .form-flow-text {
    margin-left: .4em;
    font-size: .75em;
  }

  .label-heading {
    font-size: 1em;
  }
  .label-text,
  .label-text-wrapper.type02 .label-text  {
    padding: 1.4em 0;
    width: 80%;
    line-height: 1.8;
    font-size: .8em;
  }
  .form-sub-text {
    font-size: 1em;
  }

  /* ポップアップレイアウト設定 */
  .form-popup-wrapper {
    padding: 3.2em 1.6em;
  }
  .popup-notice-text {
    font-size: .8em;
  }

  /* 愛玩情報入力画面 */
  .table_form.table-form-primary th {
    padding-left: 0;
    width: auto;
  }
  .table_form.table-form-primary th span {
    border-left: 1px solid #004098;
    padding-left: .4em;
    font-size: 1.2em;
  }
  .table_form.table-form-primary td {
    margin-bottom: 2em;
  }
  .table_form.table-form-primary input + input {
    margin-top: 1em;
  }
  .table_form.table-form-primary .address div {
    margin-bottom: 1em;
  }
  .message-textarea-wrapper textarea {
    font-size: 16px;
  }
  .photo-popup-link {
    margin-bottom: 2em;
  }
  .popup-img-wrapper + .popup-text {
    margin-top: 2.4em;
  }
}