@charset "UTF-8";
:root {
  --scrollbar: 0;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
}

a[href^="tel:"] {
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  a[href^="tel:"] {
    pointer-events: auto;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: blur(10px);
}

/* フォームリセット */
input,
button,
select,
textarea {
  outline: none;
}

textarea {
  resize: vertical;
}

input[type="submit"],
input[type="button"],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

@media screen and (max-width: 768px) {
  .u-md-none {
    display: none;
  }
}

.u-md-show {
  display: none;
}
@media screen and (max-width: 768px) {
  .u-md-show {
    display: block;
  }
}

.u-text-transform-upper {
  text-transform: uppercase;
}

.p-page-form {
  width: 100%;
  padding-bottom: 100px;
}
@media screen and (max-width: 768px) {
  .p-page-form {
    padding-bottom: 80px;
  }
}

.p-page-form {
  width: 100%;
  max-width: 1000px;
  padding-right: 20px;
  padding-left: 20px;
  margin-inline: auto;
}

.p-page-form__heading-wrap {
  padding-top: 50px;
  padding-bottom: 50px;
}

.p-page-form__heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 140%;
  text-align: center;
  color: #333;
}
@media screen and (max-width: 768px) {
  .p-page-form__heading {
    font-size: 24px;
  }
}

.p-page-form__text {
  margin-top: 30px;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
  color: #333;
}
@media screen and (max-width: 768px) {
  .p-page-form__text {
    margin-top: 20px;
    font-size: 15px;
  }
}

.p-page-form__content {
  width: 100%;
}

.p-page-form__form {
  width: 100%;
}

.p-tohoku-form__wrapper {
  display: flex;
  flex-direction: column;
}

.p-tohoku-form__category {
  display: flex;
  flex-direction: column;
}

.p-tohoku-form__category-title {
  padding: 18px 18px 14px;
  background-color: #001f54;
  font-size: 20px;
  font-weight: 400;
  line-height: 140%;
  color: #ffffff;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__category-title {
    padding: 14px 14px 10px;
    font-size: 18px;
  }
}

.p-tohoku-form__category-content {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__category-content {
    padding-top: 16px;
    padding-bottom: 20px;
  }
}

.p-tohoku-form__item {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__item {
    gap: 8px;
  }
}

.p-tohoku-form__item:not(:first-child) {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__item:not(:first-child) {
    margin-top: 30px;
  }
}

.p-tohoku-form__item.p-tohoku-form__item--mt-small {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__item.p-tohoku-form__item--mt-small {
    margin-top: 16px;
  }
}

.p-tohoku-form__item.p-tohoku-form__item--mt-none {
  margin-top: 0;
}

.p-tohoku-form__item.p-tohoku-form__item--no-flex {
  display: block;
}

.p-tohoku-form__label-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #333;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__label-text {
    font-size: 15px;
  }
}

.p-tohoku-form__icon {
  display: inline-block;
  margin-left: 8px;
  border-radius: 3px;
  padding: 4px 6px 2px;
  font-size: 12px;
  line-height: 100%;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__icon {
    margin-left: 4px;
  }
}

.p-tohoku-form__icon.p-tohoku-form__icon--required {
  background-color: #cc0000;
}

.p-tohoku-form__icon.p-tohoku-form__icon--not-required {
  background-color: #777777;
}

.p-tohoku-form__input {
  width: 100%;
}

.p-tohoku-form__input.p-tohoku-form__input--radio {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-tohoku-form__input-text {
  width: 100%;
  padding: 6px 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  line-height: 140%;
  color: #555;
}

.p-tohoku-form__input-text.error-input-field {
  border: 1px solid #ff4f4f;
  background-color: #ffdcdc;
}

.p-tohoku-form__input-text.p-tohoku-form__input-text--name {
  width: 50%;
}

.p-tohoku-form__input-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-tohoku-form__radio-label {
  padding-right: 10px;
  padding-left: 10px;
}

.p-tohoku-form__check-label {
  display: flex;
  align-items: start;
  gap: 6px;
}

.p-tohoku-form__radio-text,
.p-tohoku-form__check-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #333;
}

@media screen and (max-width: 768px) {
  .p-tohoku-form__radio-text,
  .p-tohoku-form__check-text {
    font-size: 15px;
  }
}

.p-tohoku-form__category-subtitle {
  margin-top: 40px;
  padding-top: 10px;
  padding-left: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 140%;
  color: #001f54;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__category-subtitle {
    font-size: 16px;
  }
}

.p-tohoku-form__category-subtitle.p-tohoku-form__category-subtitle--mt-none {
  margin-top: 0;
}

.p-tohoku-form__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #333;
}

.p-tohoku-form__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #333;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__text {
    font-size: 15px;
  }
}

.p-tohoku-form__text.p-tohoku-form__text--indent {
  padding-left: 1em;
  text-indent: -1em;
}

.p-tohoku-form__text.p-tohoku-form__text--indent
  + .p-tohoku-form__text.p-tohoku-form__text--indent {
  margin-top: 0;
}

.p-tohoku-form__text-frame {
  width: 100%;
  border: 1px solid #e6e9ee;
  background-color: #f9f9fb;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__text-frame {
    padding: 16px;
  }
}

.p-tohoku-form__text-frame.p-tohoku-form__text-frame--danger {
  border: 1px solid #c04c4c;
  background-color: #f9eded;
}

.p-tohoku-form__text-frame p {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: #001f54;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__text-frame p {
    font-size: 15px;
  }
}

.p-tohoku-form__text-frame.p-tohoku-form__text-frame--danger p {
  color: #c04c4c;
}

.p-tohoku-form__input-text.p-tohoku-form__input-text--textarea {
  height: 100px;
  resize: vertical;
}

.p-tohoku-form__input.p-tohoku-form__input--check.p-tohoku-form__input--privacy {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.p-tohoku-form__check-label.p-tohoku-form__check-label--privacy {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.p-tohoku-form__check-button.p-tohoku-form__check-button--privacy {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  vertical-align: middle;
}

.p-tohoku-form__check-text.p-tohoku-form__check-text--privacy {
  display: inline-block;
  padding: 5px 10px 5px 40px;
  margin-left: 0;
  font-size: 14px;
  line-height: 1.4285714286;
}

.p-tohoku-form__check-text.p-tohoku-form__check-text--privacy::before,
.p-tohoku-form__check-text.p-tohoku-form__check-text--privacy::after {
  display: block;
  position: absolute;
  content: "";
}

.p-tohoku-form__check-text.p-tohoku-form__check-text--privacy::before {
  top: 5px;
  left: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  background: #fff;
  border: 2px solid #9a9a9a;
  border-radius: 4px;
}

.p-tohoku-form__check-text.p-tohoku-form__check-text--privacy::after {
  content: "";
  width: 12px;
  height: 7px;
  top: 10px;
  left: 14px;
  position: absolute;
  border: 3px solid #333;
  border-top: none;
  border-right: none;
  background: transparent;
  opacity: 0;
  transform: rotate(-45deg);
}

/* focus時 */
.p-tohoku-form__check-button.p-tohoku-form__check-button--privacy:focus-visible + span {
  outline: -webkit-focus-ring-color auto 5px;
}

/* hover時 */
.p-tohoku-form__check-button.p-tohoku-form__check-button--privacy:hover
  + .p-tohoku-form__check-text.p-tohoku-form__check-text--privacy::after {
  opacity: 0.5;
}

/* check時 */
.p-tohoku-form__check-button.p-tohoku-form__check-button--privacy:checked
  + .p-tohoku-form__check-text.p-tohoku-form__check-text--privacy::after {
  opacity: 1;
}

.p-tohoku-form__privacy {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__privacy {
    margin-top: 30px;
  }
}

.p-tohoku-privacy {
  width: 100%;
}

.p-tohoku-privacy__wrap {
  width: 100%;
}

.p-tohoku-privacy__heading {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
  color: #333;
}
@media screen and (max-width: 768px) {
  .p-tohoku-privacy__heading {
    font-size: 15px;
  }
}

.p-tohoku-privacy__content {
  margin-top: 20px;
  width: 100%;
  height: 200px;
  padding: 20px 16px;
  border: 1px solid #a5a5a5;
  background-color: #ffffff;
  overflow-y: auto;
}

.p-tohoku-privacy__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  color: #333;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-tohoku-privacy__title {
    font-size: 15px;
  }
}

.p-tohoku-privacy__text {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

.p-tohoku-privacy__text .p-tohoku-privacy__text-small {
  display: inline-block;
  font-size: 12px;
  line-height: 140%;
}

.p-tohoku-privacy__text .p-tohoku-privacy__text-large {
  font-weight: 700;
}

.p-tohoku-form__button {
  margin-top: 40px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .p-tohoku-form__button {
    margin-top: 30px;
  }
}

.p-tohoku-form__input-button {
  width: 300px;
  background-color: #001f54;
  height: 60px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  line-height: 140%;
  color: #ffffff;
  transition: opacity 0.3s;
}
.p-tohoku-form__input-button:hover {
  opacity: 0.7;
}

*.u-bold {
  font-weight: 700;
}

*.u-small {
  font-size: 14px;
}

*.u-tac {
  text-align: center;
}

*.u-dib {
  display: inline-block;
}

*.error {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #ff4f4f;
}
@media screen and (max-width: 768px) {
  *.error {
    font-size: 15px;
  }
}

p + p {
  margin-top: 1.4em;
}

p + p.u-text-mt-none {
  margin-top: 0;
}



p#success-message {
    border: 1px solid #009900;
    border-radius: 5px;
    margin-top: 20px;
    color: #009900;
}

p#error-message {
    border: 1px solid #C04C4C;
    border-radius: 5px;
    margin-top: 20px;
    color: #C04C4C;
}
