@charset "UTF-8";

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
html {
  font-size: 100%;
}
body {
  background-color: #FFFFFE;
  color: #454545;
  font-family: 'Josefin Sans', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-optical-sizing: auto;
}
a {
  color: #454545;
  text-decoration: none;
  display: block;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
.wrapper {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 135px;
}
.container {
  margin: 200px 0 100px;
}
p {
  font-weight: 400;
  line-height: 32px;
  color: #333;
}
#header ul li {
  font-weight: 350;
}
h2 {
  color: #454545;
  font-weight: 700;
  font-size: 45px;
  text-align: left;
}
#footer p {
  font-size: 11px;
}
.container {
  width: 770px;
}
/*-------------------------------------------
header
-------------------------------------------*/
#header {
  height: 72px;
  box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 25%);
  display: flex;
  padding: 0px 64px 12px;
  align-items: flex-end;
  background-color: #FFFFFE;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 1;
  z-index: 2;
}
h1 {
  max-width: 120px;
  width: 100%;
  height: auto;
  line-height: 0;
}
.nav {
  display: flex;
  margin: 0 0 0 auto;
}
.nav-page {
  display: flex;
  width: 310px;
  justify-content: space-between;
  transform: translateY(+5px);
}
.nav-page li a:hover {
  text-decoration: underline;
}
.nav-sns {
  display: flex;
  width: 92px;
  justify-content: space-between;
  margin-left: 40px;
}
.nav-sns li {
  font-size: 20px;
  line-height: 0;
}
.nav-sns li a:hover {
  color: #aeaeae;
}

/*-------------------------------------------
contact
-------------------------------------------*/
#contact p {
  line-height: 24px;
  width: 100%;
  margin: 50px auto 50px 0;
  font-weight: 400;
  color: #333;
  font-size: 14px;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-form label {
  display: block;
  margin-bottom: 2rem;
  font-weight: 500;
  color: #454545;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 360px;
  padding: 8px;
  margin-top: 0.5rem;
  border: 1px solid #9A9A9A;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 400;
  box-sizing: border-box;
  color: #333;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.contact-form textarea {
  height: 192px;
  width: 760px;
  resize: vertical;
}

.contact-form .required {
  background-color:#454545;
  color: #FFFFFE;
  font-size: 10px;
  font-weight: 700;
  margin-left: .5rem;
  border-radius: 8px;
  display: inline-block;
  width: 36px;
  height: 16px;
  text-align: center;
}

.contact-form button {
  background-color: #454545;
  color: #FFFFFE;
  text-align: center;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  width: 96px;
  height: 48px;
}

.contact-form button:hover {
  background-color: #aeaeae;
}

.to-privacy {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #333;
}
a.to-privacy {
  display: inline;
}
a.to-privacy:hover {
  color: #aeaeae;
}

.privacy-note .note {
  margin: 32px 0 24px !important; 
}
input[type="checkbox"] {
  width: 14px;
  accent-color: #333;
}
.confirm {
  margin-bottom: 50px !important;
}


/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  width: 100%;
  min-height: 50px;
  box-shadow: 0px -1px 4px 0px rgb(0 0 0 / 25%);
  text-align: center;
  display: table;
  background-color: #FFFFFE;
}
#footer p {
  display: table-cell; 
  vertical-align: middle;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .wrapper {
    padding: 0 25px;
  }
  .container {
    margin: 140px 0 50px;
    width: 100%;
  }
  p {
    font-size: 14px;
    line-height: 24px;
  }
  h2 {
    font-size: 38px;
    margin-top: 140px;
    line-height: 1;
    text-align: center;
  }
  .br-pc {
    display: none;
  }
.privacy-note {
    display: inline
  }
  label.confirm {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;

  }
  label.confirm .checkbox {
    width: 14px;
    height: 14px;
    margin-top: 0;
  }
/*------
header
------*/
#header {
  display: block;
  height: 90px;
  padding: 0px 25px;
}
h1 {
  width: 105px;
  margin-top: 13px;
}
.nav {
  flex-direction: column-reverse;
  transform: translateY(-7px);
}
.nav-page {
  width: 100%;
}
.nav-sns {
  width: 102px;
  margin: 0 0 0 auto;
  transform: translateY(-14px);
}
.nav-page li a:active,
.nav-sns li a:active {
  transform: scale(1.2);
}
#contact p {
  width: 100%;
  margin-top: 25px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
}
.contact-form button {
  display: block;
  margin: 0 auto;
}
.contact-form button:active {
  transform:  scale(1.1);
}
}