@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
  --text-color: #333;
  --primary-color: #FF8080;
  --easing: cubic-bezier(0.33, 1, 0.68, 1);
  --background: url("../img/bg.jpg");
}

body {
	margin: 0;
	padding: 0;
	background: var(--background);
	color: var(--text-color);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	-webkit-text-size-adjust: none;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-size: 100%;
	font-weight: 400;
	line-height: 1.5;
}
p {
	margin: 0;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
ol {
	margin: 0;
	padding: 0 0 0 28px;
}
dl,dt,dd {
	margin: 0;
	padding: 0;
}
figure {
	margin: 0;
	padding: 0;
}
a,
.a {
	color: var(--primary-color);
  text-decoration: none;
	cursor: pointer;
  transition: .2s var(--easing);
}
a:hover,
.a:hover {
  opacity: .6;
}
a img {
	border: none;
}
img {
  height: auto;
  max-width: 100%;
	border: 0;
	vertical-align: middle;
}
sup {
  display: inline-block;
	font-size: 0.8em;
}
table {
	border-collapse: collapse;
}
main {
	display: block;
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
}



/* ---------------- fix */
body.-fix {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/* ---------------- layout */
.l-container {
  max-width: 752px;
  margin: 0 auto;
  padding: 0 8px;
}



/* ---------------- general */
.-font {
  font-family: "新丸ゴ M JIS2004", "新丸ゴ R JIS2004", sans-serif;
}

/* arw */
.-arw {
  display: flex;
  align-items: center;
  gap: 4px;
}
.-arw::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 8px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: var(--primary-color);
}

/* btn */
.-btn {
  display: inline-block;
  min-width: 220px;
  background: var(--primary-color);
  border-radius: 10px;
  color: #fff;
  text-align: center;
  line-height: 50px;
}



/* ---------------- header */
header {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  transition: .4s var(--easing);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  max-width: 977px;
  margin: 0 auto;
  padding: 0 24px;
}
header img {
  width: 100%;
}
header .logo {
  width: 170px;
}
header .goverment {
  width: 160px;
}
@media (max-width: 767px) {
  header .wrap {
    height: 40px;
    padding: 0 16px;
  }
  header .logo {
    width: 80px;
  }
  header .goverment {
    width: 80px;
  }
}

/* active */
.-active header {
  opacity: 0;
  visibility: hidden;
}
.-active.-epilogue header {
  opacity: 1;
  visibility: visible;
}


/* ---------------- submit */
.l-submit {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}

/* input */
.p-submit {
  padding: 12px 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0 0 0 / 10%);
}
.p-submit .input {
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 8px;
  align-items: end;
}
.p-submit .input textarea {
  resize: none;
  outline: none;
  width: 100%;
  height: 72px;
  padding: 10px 16px;
  background: #F3F3F3;
  border: none;
  border-radius: 19px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 15px;
}
.p-submit .input textarea::placeholder {
  color: #B1B1B1;
}
.p-submit .input button {
  pointer-events: none;
  width: 30px;
  height: 30px;
  background: url("../img/ico_submit.svg") no-repeat center center / contain #B1B1B1;
  border: none;
  border-radius: 50%;
}
.p-submit .input button.-active {
  pointer-events: auto;
  background-color: var(--primary-color);
}
.p-submit .stamp {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  padding: 0 16px;
}
.p-submit .stamp li {
  width: 20px;
}
@media (max-width: 767px) {
  .p-submit .input textarea {
    font-size: 16px;
  }
}

/* footer */
.p-footer {
  padding: 12px 8px 32px;
}
.p-footer .wrap {
  display: flex;
  justify-content: space-between;
}
.p-footer ul {
  display: flex;
  gap: 24px;
}
.p-footer a,
.p-footer .a {
  font-size: 13px;
}
.p-footer .a.-finish {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-color);
}
.p-footer .a.-finish::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: url("../img/ico_close.svg") no-repeat center center / contain;
}
@media (max-width: 767px) {
  .p-footer {
    padding-bottom: 12px;
  }
  .p-footer ul {
    gap: 12px;
  }
}



/* ---------------- timeline */
.p-timeline {
  overflow: auto;
  height: calc(100svh - 198px);
}
.p-timeline .items {
  padding: 24px 8px;
}
.p-timeline .items .item + .item {
  margin-top: 24px;
}
.p-timeline .items .item {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}
.p-timeline .items .avatar {
  width: 40px;
}
.p-timeline .items .body {
  flex: 1;
}
.p-timeline .items .name {
  margin-bottom: 8px;
  font-size: 11px;
  translate: -16px 0;
}
.p-timeline .items .msg {
  display: inline-block;
  position: relative;
  width: fit-content;
  max-width: 485px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  text-align: left;
  word-break: break-all;
  white-space: pre-wrap;
}
.p-timeline .items .msg::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -15px;
  width: 16px;
  height: 16px;
  background: url("../img/bg_msg.svg") no-repeat right center / contain;
}
.p-timeline .items .loading {
  width: 34px;
  height: 6px;
}
.p-timeline .items .stamp {
  display: inline-block;
  width: 100%;
  max-width: 180px;
}
@media (max-width: 767px) {
  .p-timeline {
    overflow: auto;
    height: calc(100svh - 176px);
  }
  .p-timeline .items .msg {
    line-height: 1.5;
  }
}

/* user */
.p-timeline .items .item.-user {
  padding: 0 24px 0 64px;
}
.p-timeline .items .item.-user .body {
  text-align: right;
}
.p-timeline .items .item.-user .msg {
  background: #FFC186;
}
.p-timeline .items .item.-user .msg::after {
  left: auto;
  right: -15px;
  background: url("../img/bg_msg_user.svg") no-repeat left center / contain;
}
.p-timeline .items .item.-user .stamp {
  max-width: 100px;
}



/* ---------------- prologue */
.p-prologue {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background);
}
.p-prologue .wrap {
  overflow: auto;
  position: fixed;
  top: max(calc(((100% - 80px) / 2) + 80px), 80px);
  left: 50%;
  width: 100%;
  max-height: calc(100% - 80px);
  padding: 32px 0;
  translate: -50% -50%;
}
.p-prologue .l-container {
  padding: 0 32px;
}
.p-prologue h1 {
  text-align: center;
}
.p-prologue h1 img {
  width: 100%;
  max-width: 400px;
}
.p-prologue .caution-group {
  margin-top: 48px;
}
.p-prologue .caution-group p {
  font-size: 14px;
}
.p-prologue .caution-group h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  text-align: center;
}
.p-prologue .caution-group h2::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../img/ico_question.svg") no-repeat center center / contain;
}
.p-prologue .caution-group .more {
  margin-top: 8px;
  text-align: right;
}
.p-prologue .caution-group .more .-arw {
  justify-content: end;
}
.p-prologue .select-group {
  margin-top: 20px;
  padding: 24px 16px 32px;
  background: #fff;
  border-radius: 20px;
}
.p-prologue .select-group ul + h2 {
  margin-top: 16px;
}
.p-prologue .select-group h2 {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 13px;
}
.p-prologue .select-group h2::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
}
.p-prologue .select-group h2.head1::before {
  background: url("../img/ico_select_1.svg") no-repeat center center / contain;
}
.p-prologue .select-group h2.head2::before {
  background: url("../img/ico_select_2.svg") no-repeat center center / contain;
}
.p-prologue .select-group ul {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.p-prologue .select-group .btn {
  margin-top: 24px;
  text-align: center;
}
@media (max-width: 767px) {
  .p-prologue .wrap {
    top: max(calc(((100% - 40px) / 2) + 40px), 40px);
    max-height: calc(100% - 40px);
  }
  .p-prologue h1 img {
    max-width: 300px;
  }
  .p-prologue .caution-group {
    margin-top: 24px;
  }
  .p-prologue .select-group {
    margin: 16px -32px 0;
    border-radius: 0;
  }
  .p-prologue .select-group ul {
    gap: 8px;
  }
}

/* active */
.-active .p-prologue {
  opacity: 0;
  visibility: hidden;
  transition: .4s var(--easing);
}

/* radio */
label.radio input {
  display: none;
}
label.radio .label {
  display: inline-block;
  min-width: 109px;
  padding: 0 16px;
  background: #fff;
  border: 2px solid #E0CF9D;
  border-radius: 32px;
  color: var(--text-color);
  font-size: 14px;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
}
label.radio input:checked + .label {
  background: #FFEEF1;
  border-color: var(--primary-color);
}



/* ---------------- epilogue */
.p-epilogue {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background);
  transition: .4s var(--easing);
}
.p-epilogue .wrap {
  overflow: auto;
  position: fixed;
  top: max(calc(((100% - 80px) / 2) + 80px), 80px);
  left: 50%;
  width: 100%;
  max-height: calc(100% - 80px);
  padding: 32px 0;
  translate: -50% -50%;
}
.p-epilogue .l-container {
  max-width: 960px;
  padding: 0 16px;
}
.p-epilogue .agency-group {
  text-align: center;
}
.p-epilogue .agency-group p {
  font-size: 24px;
  line-height: 1.5;
}
.p-epilogue .agency-group .btn {
  margin-top: 56px;
  text-align: center;
}
.p-epilogue .agency-group .prev {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.p-epilogue .rate-group {
  margin-top: 80px;
}
@media (max-width: 767px) {
  .p-epilogue .agency-group p {
    font-size: 14px;
    line-height: 1.8;
  }
  .p-epilogue .agency-group .btn {
    margin-top: 40px;
  }
  .p-epilogue .rate-group {
    margin-top: 56px;
  }
}

/* active */
.-epilogue .p-epilogue {
  opacity: 1;
  visibility: visible;
}




/* ---------------- modal */
.p-modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: .4s var(--easing);
}
.p-modal.-active {
  opacity: 1;
  visibility: visible;
}
.p-modal .overlay {
  opacity: .4;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
.p-modal .modal {
  overflow: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  width: calc(100% - 64px);
  max-width: 928px;
  max-height: calc(100% - 32px);
  padding: 64px 0 40px;
  background: #fff;
  border-radius: 16px;
  translate: -50% -50%;
}
.p-modal .modal .l-container {
  padding: 0 8px;
}
.p-modal .btn-close {
  position: absolute;
  top: 24px;
  right: 24px;
}
.p-modal .btn-close .a {
  display: block;
  position: relative;
  width: 32px;
  height: 32px;
}
.p-modal .btn-close .a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  translate: 0 -50%;
  rotate: 45deg;
}
.p-modal .btn-close .a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  translate: 0 -50%;
  rotate: -45deg;
}

/* caution */
.p-caution section + section {
  margin-top: 24px;
}
.p-caution .head {
  margin-bottom: 20px;
  text-align: center;
}
.p-caution li + li {
  margin-top: 16px;
}
.p-caution ul {
  list-style: disc;
  padding-left: 28px;
}
.p-caution a {
  color: #30c;
}
.p-caution .btn {
  margin-top: 40px;
  text-align: center;
}



/*------------------------ rate */
.rateArea .h {
	margin-bottom: 8px;
	font-size: 14px !important;
}
.rateArea .h .ico {
	display: inline-block;
	width: 20px;
	margin-right: 4px;
}
.rateArea .btGroup {
	overflow: hidden;
	display: table;
	width: 100%;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
	background: #fff;
}
.rateArea .btGroup .rateBtn {
	display: table-cell;
	width: 25%;
	box-sizing: border-box;
	border-left: 1px solid #e0e0e0;
	color: #666;
	font-size: 14px;
	text-align: center;
	line-height: 40px;
	cursor: pointer;
	transition: all 0.4s ease;
}
.rateArea .btGroup .rateBtn:first-child {
	border-left: none;
}
.rateArea .btGroup .rateBtn:hover {
	opacity: 0.6;
}
#rate {
	position: relative;
}
#rate .popup {
	display: none;
	position: fixed;
  z-index: 300;
  top: 50%;
  left: 50%;
	width: calc(100% - 32px);
  max-width: 736px;
	padding: 24px 32px 32px 32px;
	box-sizing: border-box;
	border-radius: 8px;
	background: #f5f5f5;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  translate: -50% -50%;
}
#rate .rate-head {
	margin-bottom: 16px;
	font-size: 24px;
}
#rate .rate-head {
	margin-bottom: 16px;
	font-size: 24px;
}
#rate textarea {
	width: 100%;
	height: 118px;
	margin: 8px 0 24px 0;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 4px;
	border: 1px solid #ccc;
}
#rate .bt {
	text-align: center;
}
#rate .bt a {
	display: inline-block;
	width: 240px;
	border-radius: 20px;
	background: #ff8080;
	color: #fff;
	font-size: 16px;
	line-height: 40px;
}
#rate .close {
	position: absolute;
	top: 16px;
	right: 16px;
}
#rate .close a {
	display: block;
	position: relative;
	width: 34px;
	height: 34px;
	-webkit-transform: rotate(45deg);
	-webkit-transform-origin: center;
	transform: rotate(45deg);
	transform-origin: center;
}
#rate .close a:before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	margin-left: -1px;
	background: #ff8080;
}
#rate .close a:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	margin-top: -1px;
	background: #ff8080;
}
@media (max-width: 767px) {
  .rateArea .btGroup .rateBtn {
    display: block;
    width: auto;
    border-left: none;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    line-height: 34px;
  }
  .rateArea .btGroup .rateBtn:first-child {
    border: none;
  }
  #rate .popup {
    padding: 16px;
  }
  #rate .rate-head {
    margin-bottom: 8px;
    font-size: 16px;
  }
  #rate textarea {
    height: 80px;
  }
  #rate .bt {
    text-align: center;
  }
  #rate .bt a {
    width: auto;
    padding: 0 24px;
    font-size: 14px;
  }
  #rate .close a {
    width: 24px;
    height: 24px;
  }
}





