*,
::before,
::after{
  margin: 0;
  background-repeat: no-repeat;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 1em;
  font-family: inherit;
  font-weight: inherit;
}

::before,
::after{
  vertical-align: inherit;
  text-decoration: inherit;
}

html{
  font-family: sans-serif;
  word-break: break-word;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body{
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header,
footer,
main,
section,
article,
aside,
nav,
details,
menu,
figure,
figcaption{
  display: block;
}

a{
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  -webkit-text-decoration-skip: objects;
}

b,
strong{
  font-weight: bolder;
}

small{
  font-size: 80%;
}

ol,
ul{
  padding: 0;
  list-style: none;
}

abbr[title]{
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

sub,
sup{
  position: relative;
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
}

sub{
  bottom: -0.25em;
}

sup{
  top: -0.5em;
}

pre,
code,
kbd,
samp{
  font-family: monospace, monospace;
  font-size: 1em;
}

canvas,
audio,
video{
  display: inline-block;
}

img,
svg,
iframe,
canvas,
audio,
video{
  vertical-align: middle;
}

img{
  border-style: none;
}

svg:not([fill]){
  fill: currentColor;
}

svg:not(:root){
  overflow: hidden;
}

audio:not([controls]){
  display: none;
  height: 0;
}

input{
  border-radius: 0;
}

button,
input{
  overflow: visible;
}

button,
select{
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit]{
  -webkit-appearance: button;
}

[type=checkbox],
[type=radio]{
  padding: 0;
}

[type=search]{
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button{
  height: auto;
}

::-webkit-search-decoration{
  -webkit-appearance: none;
}

::-webkit-file-upload-button{
  -webkit-appearance: button;
  font: inherit;
}

::-moz-focus-inner{
  border-style: none;
  padding: 0;
}

:-moz-focusring{
  outline: 1px dotted ButtonText;
}

address{
  font-style: normal;
}

textarea{
  overflow: auto;
  resize: vertical;
}

legend{
  display: table;
  max-width: 100%;
  padding: 0;
  color: inherit;
  white-space: normal;
}

progress{
  display: inline-block;
  vertical-align: baseline;
}

summary{
  display: list-item;
}

table{
  border-collapse: collapse;
}

hr{
  height: 0;
  overflow: visible;
}

template{
  display: none;
}

a,
area,
button,
input,
label,
select,
textarea,
[tabindex]{
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

::-moz-selection{
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

::selection{
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

[hidden]{
  display: none;
}

[aria-busy=true]{
  cursor: progress;
}

[aria-controls]{
  cursor: pointer;
}

[aria-disabled=true],
[disabled]{
  cursor: not-allowed;
}

[aria-hidden=false][hidden]:not(:focus){
  clip: rect(0, 0, 0, 0);
  display: inherit;
  position: absolute;
}



body, html{
  height: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 100%;
  color: #1a1a1a;
}
html.is-fixed,
html.is-fixed body {
  height: 100%;
  overflow: hidden;
}

h1{
  line-height: 1;
  font-family: new-hero, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: calc(56 / 16 * 1rem);
  color: #49539B;
  letter-spacing: 0.05em; 
}
h2{
  line-height: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: calc(32 / 16 * 1rem);
  letter-spacing: 0.05em;
}
h3{
  line-height: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: calc(28 / 16 * 1rem);
  letter-spacing: 0.05em;
}
p{
  line-height: 1.6;
}

img{
  width: 100%;
  height: auto;
}

hr{
  height: 6px;
  background-color: #49539b;
  width: 100%;
  border: none;
}

.pc{ display: block; }
.sp{ display: none; }

@media (max-width: 960px){
  h1{
    font-size: calc(50 / 16 * 1rem);
  }
  h2{
  font-size: calc(30 / 16 * 1rem);
  }
  h3{
    font-size: calc(24 / 16 * 1rem);
  }
}
@media (max-width: 767px){
  h1{
    font-size: clamp(1.75rem, 0.3182rem + 7.1588vw, 3.75rem) !important;
  }
  h2{
    letter-spacing: 0.02em;
    font-size: clamp(1.375rem, 0.4801rem + 4.4743vw, 2.625rem) !important;
  }
  h3{
    letter-spacing: 0.02em;
    font-size: clamp(1.25rem, 0.8921rem + 1.7897vw, 1.75rem) !important;
  }
  .pc{ display: none; }
  .sp{ display: block; }
}

/* ヘッダー */
.index-header,
.common-header{
  position: absolute;
  top: 0;
  width: 100%;
  min-height: 100px;
  padding: 0 30px 0 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.common-header{
  background-color: #d52b1e;
}
.common-logo{
  width: 198px;
}

/* ハンバーガー */
.common-hamburger{
  position: relative;  
  width: 40px;
  height: 18px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.common-hamburger span{
  display: block;
  margin: 0;
  border: none;
  width: 100%;
  height: 1px;
  background: #fff;
  transform-origin: 0% 50%;
  position: absolute;
  left: 0;
  transition: .3s;
}
.common-hamburger span:nth-of-type(1){
  top: 0;
}
.common-hamburger span:nth-of-type(2){
  bottom: 0;
}

.common-hamburger.open span:nth-of-type(1){
  transform: rotate(45deg);
  background: #333;
}
.common-hamburger.open span:nth-of-type(2){
  bottom: -9px;
  transform: rotate(-45deg);
  background: #333;
}


/* メニュー */
.common-menu{
  position: fixed;
  top: 0;
  right: -100%;
  width: 16.6667vw;
  max-width: 200px;
  height: 100%;
  padding: 94px 20px 30px;
  transition: right 0.3s ease;
  z-index: 9;
  text-align: center;
  background: #f2f2f2;
}

.common-menu.open{
  right: 0;
}

.common-menu ul{
  list-style: none;
  padding: 0;
}
.common-menu ul li{
  margin: 1.5rem 0;
}
.common-menu ul li a{
  text-decoration: none;
  color: #1a1a1a;
  font-size: calc(12 / 16 * 1rem);
}
.common-menu ul li a span{
  font-size: calc(18 / 16 * 1rem);
  font-weight: bold;
}
.common-menu p.copyright{
  position: absolute;
  bottom: 1rem;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 100%;
  font-size: 0.8rem;
}


footer{
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 11px;
  background-color: #49539B;
}
footer .copyright{
  display: none;
}

main:not(#top){
  position: relative;
  padding: 160px 0 80px;
}

section,
article{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8%;
}

.page-title{
  margin-bottom: 55px;
}
.page-title p{
  margin-top: 10px;
  letter-spacing: 0.1em;
}

@media (max-width: 767px){
  .index-header,
  .common-header{
    padding: 0 35px 0 40px;
    background-color: #d52b1e;
  }
  .common-logo{
    width: 35%;
    min-width: 200px;
    z-index: 10;
  }
  .common-hamburger.open span:nth-of-type(1),
  .common-hamburger.open span:nth-of-type(2){
    background: #fff;
  }
  .common-menu{
    width: 52vw;
    max-width: 400px;
    padding: 134px 20px 30px;
    background: linear-gradient(180deg, #d52b1e 0%, #d52b1e 100px, #f2f2f2 100px, #f2f2f2 100%);
  }
  .common-menu p.copyright{
    display: none;
  }
  main:not(#top){
    padding: 130px 0 60px;
  }
  main#top{
    padding: 0 3%;
  }

  section,
  article{
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0 10%;
  }
  
  .page-title{
    display: flex;
    justify-content: space-between;
    align-items:flex-end;
    margin-bottom: 30px;
  }
  .page-title p{
    letter-spacing: 0.1em;
    font-size: clamp(1rem, 0.3736rem + 3.132vw, 1.875rem);
  }
  
  footer{
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    text-align: center;
    color: #fff;
  }
  footer .copyright{
    display: block;
    margin: 0 auto;
    letter-spacing: 0.05em;
    font-weight: 300;
    font-size: calc(18 / 16 * 1rem);
  }
}

/* パララックス */
.parallax-container{
  position: relative;
  overflow: hidden;
}
.parallax-image{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%; /* 高さを1.5倍にして上下に動かす余裕を持たせる */
  z-index: -1;
  transform: translateY(0);
  transition: transform 0.1s linear;
}
.parallax-container.company{
  height: 300px;
}
.parallax-container.works,
.parallax-container.job,
.parallax-container.contact{
  height: 400px;
}

.parallax-container.company .parallax-image{
  background-image: url("../images/img_company_pala.jpg");
}
.parallax-container.works .parallax-image{
  background-image: url("../images/img_works_main_l.jpg");
}
.parallax-container.job .parallax-image{
  background-image: url("../images/img_job_main_l.jpg");
}
.parallax-container.contact .parallax-image{
  background-image: url("../images/img_contact_main_l.jpg");
}

@media (max-width: 767px){
  .parallax-container.works,
  .parallax-container.job,
  .parallax-container.contact{
    height: 300px;
  }
}

/*--- トップページ ---*/
.top-bg-video{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.top-bg-video video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-main-content-sp{
  display: none;
}

.top-main-content{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 80px;
  font-size: calc(18 / 16 * 1rem);;
  color: #fff;
}

.top-main-content h1{
  font-size: calc(56 / 16 * 1rem);
  line-height: 1;
  letter-spacing: 2px;
  color: #fff;
}

.top-main-content h2{
  margin: 26px 0;
  font-weight: 600;
  font-size: calc(32 / 16 * 1rem);
  color: #fff;
}

.top-main-content p{
  font-weight: 600;
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.8;
}

.top-bnr{
  position: fixed;
  bottom: 11px;
  right: 46px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 30px;
  z-index: 5;
}

.top-bnr a{
  display: block;
  width: 240px;
  transition: transform 0.3s;
}
.top-bnr a:hover{
  transform: scale(1.05);
}
.top-bnr img{
  border-radius: 20px 20px 0 0;
  vertical-align: bottom;
}


@media (max-width: 767px){
  .top-bg-video{
    position: relative;
    margin-top: 100px;
    width: 100%;
    height: 600px;
    z-index: 0;
  }
  .top-main-content-sp{
    display: block;
    position: absolute;
    bottom: 0;
    padding: 0 8%;
  }
  .top-main-content-sp h1{
    font-size: clamp(2.625rem, 0.9248rem + 8.5011vw, 5rem) !important;
    color: #fff;
  }
  .top-main-content-sp h2{
    margin: 10px 0 30px;
    color: #fff;
  }

  .top-main-content{
    position: inherit;
    top: inherit;
    transform: none;
    margin-bottom: 40px;
    padding: 30px 5% 0;
  }
  .top-main-content h1,
  .top-main-content h2{
    display: none;
  }
  .top-main-content p{
    font-size: clamp(0.875rem, 0.696rem + 0.8949vw, 1.125rem);
    line-height: 1.6;
    color: #1a1a1a;
  }
  
  .top-bnr{
    position: inherit;
    bottom: inherit;
    right: inherit;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 30px;
    z-index: 0;
    padding: 0 10%;
  }
  
  .top-bnr a{
    display: block;
    width: calc(50% - 15px);
    transition: transform 0.3s;
  }

}


/* COMPANYページ */
.company-message{
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
}  
.company-message .text{
  width: 58%;
}  
.company-message h2{
  margin-bottom: 30px;
  letter-spacing: 0.15em;
}
.company-message p{
  line-height: 2;
}
.company-message p.name{
  margin-top: 30px;
  text-align: right;
}
.company-message .image{
  width: 38%;
}  

.company-profile{
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 50px;
}
.company-profile h3{
  width: 23%;
  line-height: 1.3;
  letter-spacing: 0.3em;
}

.company-profile table{
  width: 75%;
  border-collapse: collapse;
}
.company-profile th,
.company-profile td{
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ccc;
  vertical-align: text-top;
}
.company-profile tr:first-child th,
.company-profile tr:first-child td{
  padding-top: 0;
}
.company-profile tr:last-child th,
.company-profile tr:last-child td{
  border-bottom: none;
}
.company-profile th{
  width: 8em;
  text-align:justify;
  text-align-last:justify;
  font-weight: bold;
}
.company-profile td{
  padding-left: 2em;
  line-height: 1.8;
}
.company-profile td.bank span,
.company-profile td.client span{
  display: inline-block;
  width: 12em;
}

.company-history{
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  margin-bottom: 60px;
}
.company-history h3{
  width: 22%;
  line-height: 1.3;
  letter-spacing: 0.3em;
}
.company-history dl{
  display: grid;
  grid-template-columns: 8em 1fr;
  width: 75%;
}
.company-history dt,
.company-history dd{
  padding: 8px;
}
.company-history dt:first-of-type,
.company-history dd:first-of-type{
  padding-top: 0;
}
.company-history dt{
  text-align:justify;
  text-align-last:justify;
  font-weight: bold;
}
.company-history dd{
  padding-left: 2em;
}


@media (max-width: 767px){
  .company-message{
    flex-direction: column;
    margin-bottom: 40px;
  }  
  .company-message .text{
    order: 2;
    width: 100%;
  }
  .company-message .image{
    order: 1;
    width: 58%;
    margin: 0 auto 30px;
  }
  .company-message h2{
    margin-bottom: 18px;
    letter-spacing: 0.08em;
  }
  .company-message p{
    line-height: 2;
  }

  .company-profile,
  .company-history{
    display: block;
  }
  .company-profile h3,
  .company-history h3{
    width: 100%;
    margin-bottom: 20px;
    padding-top: 0;
  }
  .company-profile table,
  .company-history dl{
    width: 100%;
  }
  .company-profile{
    margin-top: 50px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
  .company-profile th{
    width: 7em;
    padding-left: 0;
    padding-right: 0;
  }
  .company-profile td{
    padding-left: 1.4em;
  }
  .company-profile td.bank span,
  .company-profile td.client span{
    display: block;
    width: auto;
  }
  .company-profile td br.pc{
    display: none;
  }
  .company-history{
    margin-bottom: 0;
  }
  .company-history dl{
    grid-template-columns: 7em 1fr;
  }
  .company-history dt{
    width: 7em;
    padding-left: 0;
    padding-right: 0;
  }
  .company-history dd{
    padding-left: 1.4em;
  }
}


/* SERVICEページ */
.service-block{
  margin-bottom: 60px;
}

.service-block-head{
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  height: 64px;
  background-color: #49539B;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: -1;
}

.service-block-content01{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 40px;
}
.service-block-content01.even{
  flex-direction: row-reverse;
}
.service-block-content01 .text{
  width: 36%;
  margin-top: -46px;
}
.service-block-content01 .text h3{
  margin-bottom: 40px;
  color: #fff;
}
.service-block-content01 .text p{
  line-height: 2;
}
.service-block-content01 .image{
  width: calc(64% + 40px);
  z-index: 5;
  margin: -40px -10% 0 0;
}
.service-block-content01.even .image{
  flex: 1.9;
  z-index: 5;
  margin: -40px 0 0 -10%;
}
.service-block-content01 .image img{
  border-radius: 20px 0 0 20px;
}
.service-block-content01.even .image img{
  border-radius: 0 20px 20px 0;
}
.service-block-content01 .image h3{
  display: none;
}

.service-block-content02{
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 64px;
}
.service-block-content02 p{
  flex: 1;
}

@media (max-width: 767px){
  .service-block{
    margin-bottom: 40px;
    padding: 0;
  }

  .service-block-head{
    display: none;
  }

  .service-block-content01,
  .service-block-content01.even{
    flex-direction: column;
    gap: inherit;
  }

  .service-block-content01 .image,
  .service-block-content01.even .image{
    order: 1;
    width: 100%;
    flex: none;
    margin: 0 0 30px 0;
  }
  .service-block-content01 .image img{
    border-radius: 0;
  }
  .service-block-content01.even .image img{
    border-radius: 0;
  }
  .service-block-content01 .image h3{
    display: block;
    padding: 20px 10%;
    background-color: #49539B;
    color: #fff;
  }

  .service-block-content01 .text {
    order: 2;
    width: 100%;
    margin-top: 0;
    padding: 0 10%;
  }
  .service-block-content01 .text h3{
    display: none;
    margin-bottom: 0;
  }
  .service-block-content01 .text p{
    line-height: 2;
  }

  .service-block-content02{
    gap: 30px;
    padding: 0 5%;
  }

}


/* WORKSページ */
.works-achievement{
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 50px;
}
.works-achievement h3{
  width: 22%;
  letter-spacing: 0.3em;
}
.works-achievement ul{
  width: 77%;
}
.works-achievement li{
  margin-bottom: 1em;
  line-height: 1;
}

.works-safety{
  display: flex;
  justify-content: space-between;
}
.works-safety h3{
  width: 22%;
  letter-spacing: 0.3em;
}
.works-safety-block{
  width: 77%;
}
.works-safety-box{
  margin-bottom: 40px;
}
.works-safety-box h5{
  margin-bottom: 16px;
  line-height: 1.6;
  font-weight: 700;
  font-size: calc(18 / 16 * 1rem);
}
.works-safety-box p,
.works-safety-box ul{
  padding-left: 30px;
}
.works-safety-box ul{
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 3.2em;
}

@media (max-width: 767px){
  .works-achievement{
    display: block;
    margin-bottom: 60px;
  }
  .works-achievement h3{
    width: 100%;
    margin-bottom: 0.8em;
  }
  .works-achievement ul{
    width: 100%;
  }
  .works-safety{
    display: block;
  }
  .works-safety h3{
    width: 100%;
    margin-bottom: 0.8em;
  }
  .works-safety-block{
    width: 100%;
  }
  .works-safety-box h5{
    font-size: clamp(1rem, 0.9105rem + 0.4474vw, 1.125rem);
  }
}

/* RECRUITページ */
.recruit-content .page-title{
  display: flex;
  justify-content: space-between;
}
.recruit-content .page-title .text{
  width: 33%;
}
.recruit-content .page-title .text .head{
  margin-top: 35px;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: 0;
}
.recruit-content .page-title .image{
  width: calc(64% + 10%);
  z-index: 5;
  margin: 0 -10% 0 0;
}
.recruit-content .page-title .image img{
  border-radius: 20px 0 0 20px;
}

.recruit-banner{
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.recruit-banner p{
  flex: 1; 
}
.recruit-banner p img{
  border-radius: 20px;
}

@media (max-width: 960px){
  .recruit-content .page-title .text{
    width: 38%;
  }
}
@media (max-width: 767px){
  .recruit-content .page-title{
    display: block;
    padding: 0;
    width: 100%;
  }
  .recruit-content .page-title .text{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items:flex-end;
    margin-bottom: 30px;
    padding: 0 10%;
  }
  .recruit-content .page-title .head.sp{
    padding: 0 10%;
    margin-top: 20px;
    line-height: 1.8;
    font-weight: 700;
    letter-spacing: 0;
  }
  .recruit-content .page-title .image{
    width: 100%;
    margin: 0;
  }
  .recruit-content .page-title .image img{
    border-radius: 0;
  }

  .recruit-banner{
    display: block;
  }
  .recruit-banner p{
    margin-bottom: 30px;
  }
}


/* MESSAGEページ */
.message-block{
  padding-bottom: 40px;
}
.message-block:not(:first-of-type){
  padding-top: 50px;
}
.message-block:last-of-type{
  border-bottom: none;
}
.message-block .block-head{
  position: relative;
  margin-bottom: 30px;
}
.message-block .block-head .image{
  width: 68%;
  margin-left: auto;
  margin-right: inherit;
}
.message-block.even .block-head .image{
  margin-right: auto;
  margin-left: inherit;
}

.message-block .block-head .text{
  position: absolute;
  left: 0;
  top: 46%;
  width: auto;
  min-width: 53%;
  padding: 24px 40px;
  background-color: rgba(73, 83, 155, 0.8);
  color: #fff;
}
.message-block.even .block-head .text{
  right: 0;
  left: inherit;
}
.message-block .block-head .msg{
  margin-bottom: 1em;
  font-weight: 600;
  font-size: clamp(1.25rem, 0.5833rem + 1.3889vw, 1.625rem);
}
.message-block .block-head .name{
  font-size: clamp(1.125rem, 0.4583rem + 1.3889vw, 1.5rem);
}

.message-block .block-box{
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.message-block .block-box:last-of-type{
  margin-bottom: 0;
}
.message-block .block-box:nth-of-type(even){
  flex-direction: row-reverse;
}
.message-block .block-box:nth-of-type(odd){
  flex-direction: row;
}
.message-block.even .block-box:nth-of-type(even){
  flex-direction: row;
}
.message-block.even .block-box:nth-of-type(odd){
  flex-direction: row-reverse;
}

.message-block .block-box .image{
  width: 46%;
}
.message-block .block-box .text{
  width: 48%;
}
.message-block .block-box .text .text-q{
  font-weight: 700;
  line-height: 1.8;
}
.message-block .block-box .text .text-q::before{
  content: "―";
  padding-right: 3px;
}
.message-block .block-box .text .text-a{
  margin-bottom: 0.5em;
  line-height: 1.8;
}

@media (max-width: 960px){
  .message-block .block-head .text{
    top: 40%;
    padding: 20px 30px;
  }
}
@media (max-width: 767px){
  .message-block{
    padding: 0 0 40px;
  }
  .message-block .block-head{
    margin-bottom: 20vw;
  }
  .message-block .block-head .image{
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
  }
  .message-block.even .block-head .image{
    margin-right: 0;
    margin-left: 0;
  }
  
  .message-block .block-head .text{
    position: absolute;
    left: 0;
    top: inherit;
    bottom: -20%;
    width: 86%;
    padding: 24px 3% 24px 8%;
  }
  .message-block.even .block-head .text{
    right: inherit;
    left: 0;
  }

  .message-block .block-head .msg{
    margin-bottom: 10px;
    font-size: clamp(1.125rem, 0.6776rem + 2.2371vw, 1.75rem);
  }
  .message-block .block-head .name{
    font-size: clamp(1rem, 0.6421rem + 1.7897vw, 1.5rem);
  }

  .message-block .block-box{
    display: block;
    margin-bottom: 30px;
    padding: 0 10%;
  }
  .message-block .block-box:last-of-type{
    margin-bottom: 0;
  }
  .message-block .block-box .image{
    width: 100%;
  }
  .message-block .block-box .text{
    width: 100%;
    margin-bottom: 30px;
  }
}


/* JOB DESCRIPTIONページ */
.job-detail{
  margin-top: 50px;
  padding: 0 18%;
}
.job-detail table{
  width: 100%;
  border-collapse: collapse;
}
.job-detail th,
.job-detail td{
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ccc;
  vertical-align: text-top;
}
.job-detail tr:first-child th,
.job-detail tr:first-child td{
  padding-top: 0;
}
.job-detail tr:last-child th,
.job-detail tr:last-child td{
  border-bottom: none;
}
.job-detail th{
  width: 8em;
  text-align:justify;
  text-align-last:justify;
  font-weight: bold;
}
.job-detail td{
  padding-left: 2em;
  line-height: 1.8;
}
.job-detail td p{
  line-height: 1.8;
}
.job-detail td ul{
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.4em;
}
.job-detail td .flex{
  display: flex;
}
.job-detail td .flex span{
  display: block;
  margin-right: 1em;
}
.job-detail .contact-btn{
  display: block;
  width: 100%;
  margin-top: 50px;
  padding: 18px;
  background-color: #49539b;
  text-align: center;
  letter-spacing: 0.05em;
  font-size: calc(30 / 16 * 1rem);
  font-weight: 700;
  color: #fff;
}

@media (min-width: 1601px){
  .job-detail{
    padding: 0 5%;
  }
}
@media (min-width: 1201px) and (max-width: 1600px){
  .job-detail{
    padding: 0 14%;
  }
}
@media (max-width: 1080px){
  .job-detail{
    padding: 0 10%;
  }
}
@media (max-width: 767px){
  .job-content .page-title{
    display: block;
  }
  .job-content .page-title p{
    text-align: right;
  }
  .job-detail .contact-btn{
    padding: 14px;
    font-size: clamp(1.25rem, 0.8026rem + 2.2371vw, 1.875rem);
  }
}
@media (max-width: 699px){

  .job-detail th,
  .job-detail td{
    display: block;
    width: 100%;
  }
  .job-detail th{
    width: 100%;
    text-align: left;
    text-align-last: left;
    border-bottom: none;
    letter-spacing: 0.1em;
  }
  .job-detail td{
    padding-top: 0;
  }
}


/* CONTACTページ */
.contact-form{
  padding: 0 18%;
}
.contact-form #form{
  padding-top: 30px;
}
.contact-form form{
  display: flex;
  flex-direction: column;
}

.contact-form-dl{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.contact-form-dl dt,
.contact-form-dl dd{
  padding: 14px 0;
}
.contact-form-dl dt{
  display: flex;
  align-items: center;
  width: 10em;
  font-weight: bold;
}
.contact-form-dl dt.req::before{
  content: "＊";
  margin-right: 4px;
  color: #d12c25;
  font-weight: 700;
}
.contact-form-dl dt.opt{
  padding-left: calc(1em + 4px);
}
.contact-form-dl dd{
  display: flex;
  align-items: center;
  width: calc(100% - 10em - 2em);
  padding-left: 2em;
}
.contact-form-dl dd span{
  display: inline-block;
  margin-left: 1em;
  color: #d12c25;
}
.contact-form-dl dd .harf{
  width: 50%;
}
.contact-form-dl dd .small{
  width: 20%;
}
.contact-form-dl dd .age{
  margin-right: 10px;
}

.contact-form-dl .radio label{
  margin-right: 2em;
}
.contact-form-dl input[type="radio"] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.contact-form-dl input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #49539b;
  content: '';
}


.contact-form-dl .select_wrap {
  position: relative;
  width: 40%;
}
.contact-form-dl .select_wrap::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
}
#confirm .contact-form-dl .select_wrap::after {
  display: none;
}


.contact-form-consent {
  margin: 20px auto;
}
.contact-form-consent a {
  margin-right: 5px;
  text-decoration: underline #1a1a1a;
}

.contact-checkbox {
  display: none;
}
.checkbox-parts {
  display: inline-block;
  position:relative;
  width: 27px;
  height: 27px;
  border: solid 1px #1a1a1a;
  margin-right: 10px;
  vertical-align: middle;
  cursor: pointer;
}
.contact-checkbox:checked + .checkbox-parts::after{
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 9px;
  width: 9px;
  height: 12px;
  transform: rotate(40deg);
  border-bottom: 3px solid #49539b;
  border-right: 3px solid #49539b;
}

.contact-form-btn-box{
  display: flex;
  align-items: center;
  justify-content:center;
  width: 90%;
  gap: 30px;
  margin: 50px auto 0;
}
.contact-form-btn{
  display: block;
  width: 45%;
  padding: 18px;
  background-color: #49539b;
  text-align: center;
  letter-spacing: 0.05em;
  font-size: calc(24 / 16 * 1rem);
  font-weight: 700;
  color: #fff;
}
.contact-form-btn.back-btn{
  background-color: #ccc;
}

/* フォーム */

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: solid 1px #1a1a1a;
  -webkit-transition: all .3s;
  transition: all .3s;
  font-size: 16px;
  color: #1a1a1a;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  box-shadow: none;
  outline: none;
  background: #fff;
  border: solid 1px #1a1a1a;
}

select {
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  resize: vertical;
  min-height: 180px;
}


#response {
	margin-bottom: 30px;
  text-align: center;
	color: #F03;
}


/* 確認ページ */
.contact-confirm-form-dl {
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  text-align: left;
}
.contact-confirm-form-dl dt {
  min-width: 160px;
  margin-right: 60px;
  font-weight: bold;
}
.contact-confirm-form-dl dd {
  width: 30%;
}
.contact-confirm-btn-list {
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  margin-top: 190px;
}
.contact-confirm-btn-list li {
  width: 44%;
}

/* 完了ページ */
.contact-thanks-wrap {
  margin-bottom: 200px;
}
.contact-thanks-wrap h3 {
  margin-bottom: 30px;
}
.contact-thanks-wrap p {
  margin-bottom: 1em;
}
.contact-thanks-wrap p span {
  font-weight: bold;
}

@media (min-width: 1601px){
  .contact-form{
    padding: 0 5%;
  }
}
@media (min-width: 1201px) and (max-width: 1600px){
  .contact-form{
    padding: 0 14%;
  }
}
@media (max-width: 1080px){
  .contact-form{
    padding: 0 10%;
  }
}
@media (max-width: 767px){
  .contact-form-dl .select_wrap {
    width: 50%;
  }
}
@media (max-width: 699px){
  .contact-form-dl{
    display: block;
  }
  .contact-form-dl dt,
  .contact-form-dl dd{
    width: 100%;
    padding: 0;
  }
  .contact-form-dl dt{
    margin-bottom: 10px;
  }
  .contact-form-dl dd{
    display: block;
    margin-bottom: 20px;
    padding-left: calc(1em + 4px);
  }
  .contact-form-dl dd .harf{
    width: 100%;
  }
  .contact-form-dl dd .small{
    width: 50%;
  }
  .contact-form-dl dd .age{
    margin-right: 10px;
  }
  .contact-form-dl dd span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }
  .contact-form-dl .select_wrap {
    width: 100%;
  }

  .contact-form-btn-box{
    flex-direction: column;
    width: 100%;
    gap: 30px;
    margin: 30px auto 0;
  }
  .contact-form-btn{
    width: 100%;
    padding: 14px;
    font-size: clamp(1.25rem, 0.8026rem + 2.2371vw, 1.875rem);
  }
  #response {
    font-size: calc(14 / 16 * 1rem);
  }
}


/* PRIVACY POLICYページ */
.privacy-block{
  line-height: 1.8;
}
.privacy-block p{
  margin-bottom: 40px;
}
.privacy-block dt{
  font-weight: 600;
}
.privacy-block dd{
  margin-bottom: 40px;
  padding-left: 1.8em;
}

@media (max-width: 767px){
  .privacy-content .page-title{
    display: block;
  }
  .privacy-content .page-title p{
    text-align: right;
  }
  .privacy-block{
    padding-top: 20px;
  }
  .privacy-block p{
    margin-bottom: 30px;
  }
  .privacy-block dd{
    margin-bottom: 30px;
    padding-left: 1em;
  }
}