@charset "utf-8";
body {
  font-family: 'Noto Sans Jp',serif;
  font-size: 30px;
  color: #121212;
}
.ffJosefin {
  font-family: 'Noto Sans Jp',sans-serif;
}
header nav ul{
  display: flex;
  width: 1240px;
  margin: 0 auto;
  padding: 15px 20px;
  color: #ffffff;
  justify-content: space-around;
}
header nav ul a:hover {
  text-decoration: underline;
}
header {
  background: url(../images/TopBg.png) no-repeat top center/cover;
  height: 1080px;
}
header h1{
  position: relative;
  transform: scale(0.6);
  padding-top: 5% ;
  margin: 0 0;
  text-align: center;
}
.MesSec{
  background: url(../images/MesBg01.png) no-repeat top center/cover;
  height: 1080px;
}
.MesSec p{
  position: relative;
  transform: scale(0.8);
  transform-origin: top left;
  padding-top: 10% ;
  margin-left: 5%;
  text-align: center;
}
.WorkSec{
  background: url(../images/WorkBg01.png) no-repeat top center/cover;
  height: 1290px;
  padding-top: 8%;
}
.WorkSec p {
  position: relative;
  padding-top: 2%;
  transform: scale(0.7);
  text-align: center;
}
.ComSec {
  background: url(../images/ComBg.png) no-repeat top center/cover;
  height: 1290px;
}
.ComSec p{
  position: relative;
  transform: scale(0.8);
  transform-origin: top left;
  padding-top: 10% ;
  margin-left: 5%;
  text-align: center;
}
.ConSec{
  background: url(../images/ConBg.png) no-repeat top center/cover;
  display: block;
  height: 1080px;
  padding-top: 250px;
}

.formtext {
  text-align: left;
}
.formtext select {
  text-align: center;
}
form {
  background-color: #ffffff;
  width: 720px;
  margin: 0 auto;
  padding: 40px 50px;
  border: 2px solid #121212;
  border-radius: 10px;
  font-size: 18px;
}
input[type="text"],
input[type="email"],
select,
textarea {
  border: 1px solid #cccccc;
  background-color: #ffffff;
  width: 100%;
  margin-top: 5px;
  padding: 4px 8px;
}
textarea {
  height: 200px;
  margin-bottom: 30px;
}
form > p {
  line-height: 1.4;
  margin-bottom: 10px;
}
.submitBtn {
  text-align: center;
}
input[type="submit"] {
  background-color: #E5A0BF;
  font-size: 30px;
  color: #ffffff;
  padding: 20px 120px;
  border-radius: 50px;
}
footer {
  background-color: #C9CACA;
  color: #121212;
  padding: 20px 10px 30px;
  text-align: center;
  font-size: 18px;
}

/*=====================================================ここから画面比率調整=====================================================*/
/*=====================================================2000px以下=====================================================*/
@media screen and (max-width: 2000px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 24px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 700px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 1080px;
  }
  header h1 {
    position: relative;
    transform: scale(0.55);
    transform-origin: top left;
    padding-top: 300px;
    padding-left: 500px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 1080px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.7);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 1200px;
    padding-top: 12%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 15%;
    transform-origin: top left;
    transform: scale(0.55);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 1180px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.7);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 1200px;
    padding-top: 205px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:740px;
    margin: 0 auto;
    padding: 40px 60px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 24px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 8px;
    padding: 12px 16px;
  }
  textarea {
    height: 120px;
    margin-bottom: 14px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 30px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 20px;
  }
}
/*=====================================================1800px以下=====================================================*/
@media screen and (max-width: 1800px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 24px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 700px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 972px;
  }
  header h1 {
    position: relative;
    transform: scale(0.55);
    transform-origin: top left;
    padding-top: 300px;
    padding-left: 450px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 972px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.7);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 1080px;
    padding-top: 12%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 15%;
    transform-origin: top left;
    transform: scale(0.55);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 1180px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.7);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 110vh;
    padding-top: 185px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:740px;
    margin: 0 auto;
    padding: 40px 60px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 24px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 8px;
    padding: 12px 16px;
  }
  textarea {
    height: 120px;
    margin-bottom: 14px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 30px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 20px;
  }
}
/*=====================================================1700px以下=====================================================*/
@media screen and (max-width: 1700px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 24px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 700px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 972px;
  }
  header h1 {
    position: relative;
    transform: scale(0.5);
    transform-origin: top left;
    padding-top: 300px;
    padding-left: 450px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 972px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.65);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 1100px;
    padding-top: 11%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 15%;
    transform-origin: top left;
    transform: scale(0.55);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 1100px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.65);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 1100px;
    padding-top: 185px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:740px;
    margin: 0 auto;
    padding: 40px 60px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 24px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 8px;
    padding: 12px 16px;
  }
  textarea {
    height: 120px;
    margin-bottom: 14px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 30px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 20px;
  }
}
/*=====================================================1500px以下=====================================================*/
@media screen and (max-width: 1500px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 24px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 700px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 864px;
  }
  header h1 {
    position: relative;
    transform: scale(0.45);
    transform-origin: top left;
    padding-top: 300px;
    padding-left: 450px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 864px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.6);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 960px;
    padding-top: 11%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 14%;
    transform-origin: top left;
    transform: scale(0.5);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 960px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.6);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 1080px;
    padding-top: 185px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:740px;
    margin: 0 auto;
    padding: 40px 60px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 24px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 8px;
    padding: 12px 16px;
  }
  textarea {
    height: 120px;
    margin-bottom: 14px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 30px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 20px;
  }
}
/*=====================================================1350px以下=====================================================*/
@media screen and (max-width: 1350px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 20px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 700px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 750px;
  }
  header h1 {
    position: relative;
    transform: scale(0.4);
    transform-origin: top left;
    padding-top: 300px;
    padding-left: 450px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 750px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.55);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 800px;
    padding-top: 12%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 16%;
    transform-origin: top left;
    transform: scale(0.4);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 850px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.55);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 800px;
    padding-top: 150px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:540px;
    margin: 0 auto;
    padding: 30px 40px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 20px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 8px 12px;
  }
  textarea {
    height: 80px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 20px;
  }
}
/*=====================================================1280px以下=====================================================*/
@media screen and (max-width: 1280px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 20px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 500px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 800px;
  }
  header h1 {
    position: relative;
    transform: scale(0.38);
    transform-origin: top left;
    padding-top: 350px;
    padding-left: 370px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 800px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.5);
    transform-origin: top left;
    padding-top: 20% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 850px;
    padding-top: 12%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 14%;
    transform-origin: top left;
    transform: scale(0.375);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 850px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.5);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 820px;
    padding-top: 120px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:540px;
    margin: 0 auto;
    padding: 30px 40px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 20px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 8px 12px;
  }
  textarea {
    height: 80px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 20px;
  }
}
/*=====================================================1080px以下=====================================================*/
@media screen and (max-width: 1080px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 20px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 500px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 700px;
  }
  header h1 {
    position: relative;
    transform: scale(0.375);
    transform-origin: top left;
    padding-top: 300px;
    padding-left: 170px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 700px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.45);
    transform-origin: top left;
    padding-top: 20% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 700px;
    padding-top: 12%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 9%;
    transform-origin: top left;
    transform: scale(0.35);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 700px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.45);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 750px;
    padding-top: 120px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:540px;
    margin: 0 auto;
    padding: 30px 40px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 20px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 8px 12px;
  }
  textarea {
    height: 80px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 20px;
  }
}
/*=====================================================950px以下=====================================================*/
@media screen and (max-width: 950px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 20px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 500px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 600px;
  }
  header h1 {
    position: relative;
    transform: scale(0.35);
    transform-origin: top left;
    padding-top: 300px;
    padding-left: 100px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 600px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.45);
    transform-origin: top left;
    padding-top: 20% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 650px;
    padding-top: 12%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 9%;
    transform-origin: top left;
    transform: scale(0.35);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 650px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.45);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 750px;
    padding-top: 120px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:540px;
    margin: 0 auto;
    padding: 30px 40px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 20px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 8px 12px;
  }
  textarea {
    height: 80px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 20px;
  }
}

/*=====================================================840px以下=====================================================*/
@media screen and (max-width: 840px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 16px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 500px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 550px;
  }
  header h1 {
    position: relative;
    transform: scale(0.30);
    transform-origin: top left;
    padding-top: 250px;
    padding-left: 50px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 550px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.35);
    transform-origin: top left;
    padding-top: 30% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 550px;
    padding-top: 10%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 180px;
    margin-left: 10%;
    transform-origin: top left;
    transform: scale(0.275);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 550px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.35);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 670px;
    padding-top: 120px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:450px;
    margin: 0 auto;
    padding: 20px 30px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 16px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 8px 12px;
  }
  textarea {
    height: 80px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 16px;
  }
}

/*=====================================================720px以下=====================================================*/
@media screen and (max-width: 720px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 16px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 520px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 450px;
  }
  header h1 {
    position: relative;
    transform: scale(0.25);
    transform-origin: top left;
    padding-top: 250px;
    padding-left: 0px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 450px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.3);
    transform-origin: top left;
    padding-top: 30% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 450px;
    padding-top: 9%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 150px;
    margin-left: 10%;
    transform-origin: top left;
    transform: scale(0.25);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 450px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.3);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 500px;
    padding-top: 85px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:400px;
    margin: 0 auto;
    padding: 12px 20px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 12px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 4px 8px;
  }
  textarea {
    height: 40px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 16px;
  }
}
/*=====================================================600px以下=====================================================*/
@media screen and (max-width: 600px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 16px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 520px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 400px;
  }
  header h1 {
    position: relative;
    transform: scale(0.2);
    transform-origin: top left;
    padding-top: 250px;
    padding-left: 50px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 400px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.25);
    transform-origin: top left;
    padding-top: 30% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 400px;
    padding-top: 9%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 150px;
    margin-left: 12%;
    transform-origin: top left;
    transform: scale(0.2);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 450px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.3);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 500px;
    padding-top: 85px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:400px;
    margin: 0 auto;
    padding: 12px 20px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 12px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 4px 8px;
  }
  textarea {
    height: 40px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 16px;
  }
}
/*=====================================================540px以下=====================================================*/
@media screen and (max-width: 540px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 14px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 420px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 350px;
  }
  header h1 {
    position: relative;
    transform: scale(0.2);
    transform-origin: top left;
    padding-top: 250px;
    padding-left: 50px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 350px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.25);
    transform-origin: top left;
    padding-top: 30% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 350px;
    padding-top: 8%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 220px;
    margin-left: 10%;
    transform-origin: top left;
    transform: scale(0.2);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 350px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.25);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 500px;
    padding-top: 80px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:300px;
    margin: 0 auto;
    padding: 12px 20px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 12px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 4px 8px;
  }
  textarea {
    height: 40px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 16px;
  }
}
/*=====================================================470px以下=====================================================*/
@media screen and (max-width: 470px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 12px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 300px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 300px;
  }
  header h1 {
    position: relative;
    transform: scale(0.17);
    transform-origin: top left;
    padding-top: 250px;
    padding-left: 10px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 300px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.2);
    transform-origin: top left;
    padding-top: 40% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 300px;
    padding-top: 12%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 150px;
    margin-left: 10%;
    transform-origin: top left;
    transform: scale(0.16);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 340px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.22);
    transform-origin: top left;
    padding-top: 20% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 450px;
    padding-top: 80px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:250px;
    margin: 0 auto;
    padding: 8px 8px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 8px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 4px 8px;
  }
  textarea {
    height: 40px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 5px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 10px 50px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 12px;
  }
}
/*=====================================================400px以下=====================================================*/
@media screen and (max-width: 400px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 10px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 300px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 270px;
  }
  header h1 {
    position: relative;
    transform: scale(0.14);
    transform-origin: top left;
    padding-top: 220px;
    padding-left: 0px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 250px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.17);
    transform-origin: top left;
    padding-top: 30% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 250px;
    padding-top: 8%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 150px;
    margin-left: 5%;
    transform-origin: top left;
    transform: scale(0.14);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 270px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.17);
    transform-origin: top left;
    padding-top: 15% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 400px;
    padding-top: 50px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:250px;
    margin: 0 auto;
    padding: 8px 12px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 8px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 10px;
    padding: 4px 8px;
  }
  textarea {
    height: 40px;
    margin-bottom: 10px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 5px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 12px;
    color: #ffffff;
    padding: 7px 40px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 12px;
  }
}
/*=====================================================320px以下=====================================================*/
@media screen and (max-width: 320px) {
  body {
    font-family: 'Noto Sans Jp',serif;
    font-size: 10px;
    color: #121212;
  }
  .ffJosefin {
    font-family: 'Noto Sans Jp',sans-serif;
  }
  header nav ul{
    display: flex;
    width: 250px;
    margin: 0 auto;
    padding: 15px 20px;
    color: #ffffff;
    justify-content: space-around;
  }
  header nav ul a:hover {
    text-decoration: underline;
  }
  header {
    background: url(../images/TopBg.png) no-repeat top center/cover;
    height: 200px;
  }
  header h1 {
    position: relative;
    transform: scale(0.11);
    transform-origin: top left;
    padding-top: 200px;
    padding-left: 0px;
    margin: 0 0;
    text-align: center;
  }
  .MesSec{
    background: url(../images/MesBg01.png) no-repeat top center/cover;
    height: 200px;
  }
  .MesSec p{
    position: relative;
    transform: scale(0.13);
    transform-origin: top left;
    padding-top: 35% ;
    margin-left: 5%;
    text-align: center;
  }
  .WorkSec{
    background: url(../images/WorkBg01.png) no-repeat top center/cover;
    height: 200px;
    padding-top: 8%;
  }
  .WorkSec p {
    position: relative;
    padding-top: 150px;
    margin-left: 8%;
    transform-origin: top left;
    transform: scale(0.11);
    text-align: center;

  }
  .ComSec {
    background: url(../images/ComBg.png) no-repeat top center/cover;
    height: 230px;
  }
  .ComSec p{
    position: relative;
    transform: scale(0.13);
    transform-origin: top left;
    padding-top: 80% ;
    margin-left: 5%;
    text-align: center;
  }
  
  .ConSec{
    background: url(../images/ConBg.png) no-repeat top center/cover;
    display: block;
    height: 360px;
    padding-top: 50px;
  }
  
  .formtext {
    text-align: left;
  }
  .formtext select {
    text-align: center;
  }
  form {
    background-color: #ffffff;
    width:200px;
    margin: 0 auto;
    padding: 8px 14px;
    border: 1.5px solid #121212;
    border-radius: 10px;
    font-size: 6px;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 4px;
    padding: 3px 8px;
  }
  textarea {
    height: 35px;
    margin-bottom: 5px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 5px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #E5A0BF;
    font-size: 10px;
    color: #ffffff;
    padding: 10px 40px;
    border-radius: 50px;
  }
  footer {
    background-color: #C9CACA;
    color: #121212;
    padding: 20px 10px 30px;
    text-align: center;
    font-size: 12px;
  }
}