@charset "UTF-8";

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;vertical-align: bottom;    max-width: 100%}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

/* common */
*,*::before,*::after{font-style: normal;box-sizing:border-box}
html{
  font-size: 62.5%;/* 16px*62.5%=10px */
  line-height:1;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
body{
  font-family: 'Noto Sans JP', sans-serif;
  color: #202020;
  font-feature-settings: "palt";
  letter-spacing:0.05em;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
p {
/* letter-spacing: .2em; 
line-height: 2;*/
line-height: 1.5;
}
a{
  color: #202020;
  text-decoration: none;
}
a:hover,button:hover{
  opacity: 0.5;
  transition: 0.4s;
}
h2{
  text-align: center;
  margin: 5rem 0;
}
.inner{
max-width: 1000px;
margin: 0 auto;
}
.btn{
  width: 30%;
  padding: 12px 0 0 0;
}
.btn:hover{
  transform: scale(1.05,1.05);
  transition: 0.3s all;
}
.table-div{
  overflow-x: scroll;
  width: 100%;
}
.table-div table{
  white-space: nowrap;
}
@media screen and (max-width : 1024px){
  h2{
    font-size: 2.4rem;
    line-height: 2;
  }
  .inner{
    padding: 8px;
  }
  .btn img{
    width: 90%;
    padding-left: 16px;
    max-width: 450px;
  }
}
/********** PCサイズの指定 1025px以上用**********/ 
@media screen and (min-width:1025px){
  body{
    font-size: 2rem;
  }
  .pcview {
    display: block;
  }
  .spview {
    display: none;
  }
}

/********** SPサイズの指定 1024px以下**********/ 
@media screen and (max-width:1024px){
  body{
    font-size: 1.8rem;
  }
  .pcview {
    display: none;
  }
  .spview {
    display: block;
  }
}
/* header */
header{
  position: relative;
}
.header-top{
  display: flex;
top: 0;
  justify-content:space-evenly;
  align-items: center;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  z-index: 1;
  height: 82px;
}
.header-top-fixed{
  background-color: #2383D3;
  padding: 0;
}
h1{
  font-size: 3rem;
  color: #fff;
  margin: 0;
  padding-left: 80px;
  position: relative;
}
h1::before{
  content: '';
  width: 60px;
  height: 60px;
  display: block;
  background: url(../lp-cont_img/logo.png) no-repeat center/80%;
  position: absolute;
  top: -14px;
  left: 0;
}
.mv{
  padding-top: 82px;
}
.mv img{
  width: 100vw;
}
.header_copy{
  width: 70%;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}
.jda_slogan{
  width: 20%;
}
header .jda_slogan{
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 15%;
}
@media screen and (max-width : 1024px){
  .header-top{
    display: block;
  }
  .logo{
    width: 15%;
    height: auto;
    max-width: 60px;
    padding: 0 0 20px 0;
  }
  h1 {
    font-size: 5vw;
    display: inline;
    line-height: 82px;
  }
  h1::before{
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
  }
  .header-top .btn img{
    display: none;
  }
  .header_copy{
    width: 80%;
    top: 22%;
  }
  header .jda_slogan{
    width: 25%;
  }
}
/* intro */
.intro-h2{
  text-align: left;
}
.intro-h2-red{
  background-color: #D10000;
  color: #fff;
  padding: 6rem 0;
  border-bottom: 7px solid #7c0303;
}
.intro-kikenbutsu{
  display: flex;
  justify-content: space-around;
}
.intro-kikenbutsu p{
  width: 60%;
}
.intro-hukidashi span{
  font-weight: 700;
  line-height: 2;
}
.intro-hukidashi{
  position: relative;
  display: inline-block;
  text-align: center;
  background: #FEE506;
  padding: 2rem;
  margin: 2rem 1rem;
}
.intro-hukidashi:after{
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #FEE506 transparent transparent transparent;
  border-width: 20px 20px 0 20px;
}
.intro-table{
  margin: 1rem auto;
  border-collapse: collapse;
  border: none;
  width: 100%;
}
.intro-table tr:nth-child(2) td{
  padding-top: 30px;
}
.intro-table caption {
  caption-side: bottom; 
  text-align: right;
  margin: 1em 0;
}
.intro-table th{
  background-color: #7BBBDC;
  color: #fff;
  border: solid 2px #eee;
  text-align: center;
  padding: 15px;
  position: relative;
}
.intro-table th:after{
  content: "";
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #7BBBDC transparent transparent transparent;
  border-width: 15px 15px 0 15px;
}
.intro-table td{
  text-align: center;
  padding: 15px;
}
.intro-table-blue{
  background-color: #DFF6FF;
}
i.fa-angle-double-down{
  display: block;
  font-size: 5rem;
  margin: 5rem auto;
  width: 34px;
}
.table-bordernone{
  border: none;
}
@media screen and (max-width : 1024px){
  .intro-kikenbutsu{
    display: block;
  }
  .intro-kikenbutsu img{
    width: 30%;
    display: block;
    margin: 0 auto;
  }
  .intro-kikenbutsu p{
    width: 100%;
  }
}
/* strengths */
.strengths{
  background: url(../lp-cont_img/attention.png) #1F9B12 no-repeat center top/100%;
  margin: 5rem 0;
  padding: 8rem 0;
  color: #fff;
}

.strengths h2{
  text-align: center;
  padding: 8rem;
  margin: 0;
}
.strengths-this{
  color: #FEE506;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height:1;
}

.strengths-ol {
  list-style: none;
  padding: 0;
  font-size: 4rem;
  margin: 5rem auto;
  width: 30%;
  line-height: 1.5;
}
@media screen and (max-width : 1024px){
  .service {
    margin: 0;
  }
  .strengths h2 {
    padding: 0 0 5rem 0;
  }
  .strengths-ol {
    width: 100%;
    text-align: center;
  }
}
/* service */
.service{
  margin: 15rem 0;
  text-align: center;
}
.service h2{
  font-size: 4rem;
}
.service .jda_slogan{
  background-color: #F6F6F6;
  width: 30%;
  margin: 0 auto;
}
.service-ul{
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 5rem 0;
  font-weight: 700;
}
.service-ul li{
  margin: 0 3rem;
}
.service ul i{
  font-size: 9rem;
}
.service-specialplice{
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  width: 15em;
  margin: 3rem auto;
  letter-spacing:0;
}
@media screen and (max-width : 1024px){
  .service {
    margin: 0;
  }
  .service .jda_slogan{
    width: 60%;
  }
  .service h2 {
    font-size: 3rem;
  }
  .service-specialplice{
    font-size: 2rem;
  }
  .service-ul li {
    margin: 0 1rem;
  }
}
/* type */
.type-h2-blue{
  background-color: #2383D3;
  color: #fff;
  padding: 6rem 0;
  border-bottom: 7px solid #0a4f88;
  text-align: center;
}
.type-h2-blue *{
  margin: 0;
}
.type-h2-blue h2 span{
  font-size: 50%;
  font-weight: 400;
}
.type-difference{
  width: 100%;
  margin: 5rem auto;
}
.type-difference th{
  font-size: 3rem;
}
.type-difference th span{
  font-size: 80%;
}
.type-difference td{
  padding: 0 1em;
  width: 50%;
  vertical-align: top;
}
.type-difference td p{
  line-height: 1.5;
  text-align: justify;/* 両端揃え(均等割り付け) */
}
.type-difference td p span{
  font-weight: 700;
  padding: 5px 10px;
  background-color: #eee;
}
.type-size{
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
  border: solid 2px #333;
  text-align: center;
}
.type-size th,.type-size td{
  border: 1px solid #000;
}
.type-size th{
  background-color: #F2EEEE;
  padding: 1em;
}
.type-size th span{
  display: block;
  margin-top: 20px;
  font-size: 70%;
  font-weight: 400;
}
.type-size td{
  padding: 1em;
}
.type-size td span{
  margin-left: 1em;
  font-size: 70%;
}
.type-normal{
  width: 70%;
  margin: 10rem auto;
}
.c-marker {
  background: -webkit-linear-gradient(left, rgb(255,241,0) 50%, transparent 50%);
  background: -moz-linear-gradient(left, rgb(255,241,0) 50%, transparent 50%);
  background: linear-gradient(left, rgb(255,241,0) 50%, transparent 50%);
background-repeat: no-repeat;
background-size: 200% .8em; 
  background-position: 100% .5em;
  transition: 2s;
}
.c-marker.is-active{
  background-position: 0% .5em;
  display: inline-block;
}
@media screen and (max-width : 1024px){
  .type-difference th span {
    font-size: 53%;
}
  .type-difference th {
    padding-bottom: 3rem;
}
  .type-difference td{
    padding: 0 0.5em;
  }
  .type-normal {
    width: 100%;
  }
}

/* contents */
.contents-des{
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.contents-des li{
  width: 31%;
  margin: 1em;
}
.contents-des img{
  border: solid 1px #eee;
}
.contents-des dt{
  font-weight: 700;
  margin: 1em 0;
}
.contents-des dd{
  margin: 0;
  line-height:1.5;
}
.contents-customize{
  background: url(../lp-cont_img/waku.png) no-repeat center/100%;
  background-size: contain;
  padding: 70px 145px;
  width: 65%;
  margin: 0 auto;
}
.contents-customize ul{
  color: #D10000;
  font-weight: 700;
  line-height: 2;
}
.contents-customize span{
  font-weight: 700;
}
@media screen and (max-width : 1024px){
  .contents-des li {
    width: 85%;
    text-align: center;
  }
  .contents-customize{
    padding: 0 20%;
    width: 100%;
    background: url(../lp-cont_img/waku.png) no-repeat center 40%/100%;
  }
  .contents-customize ul{
    margin: 3.5rem 0;
  }
}

/* price */
.price{
  text-align: center;
}
.price-h2-red{
  background-color: #D10000;
  color: #fff;
  border-bottom: 7px solid #7c0303;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 2rem 0 2rem;
  margin: 5rem 0;
}
.price-h2-red h2{
  margin: 0;
  font-size: 4.2rem;
  text-align: left;
  width: 50%;
  line-height: 1;
  padding: 1em 0 0 0;
  position: relative;
}
.price-h2-red h2::before{
  content: "";
  display: inline-block;
  width: 3em;
  height: 1em;
  background: url(../lp-cont_img/onlynow.png) no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 0;
}
.price-h2-red p{
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin: 0 2em;
  text-align: right;
}
.price-highcube{
  font-size: 2.5rem;
  line-height: 1;
  margin: 0;
}
.price-normal{
  margin: 0 0 0 8.5em;
}
.price-annotation{
  font-size: 60%;
}
@media screen and (max-width : 1024px){
  .price-h2-red{
    display: block;
    padding: 1rem;
    margin: 0;
  }
  .price-h2-red p{
    text-align: center;
  }
  .price-h2-red h2{
    width: 8.5em;
    margin: 1rem auto;
    font-size: 3.5rem;
  }
  .price-h2-red h2 img{
    width: 45%;
  }
  .price-ketteiban{
    width: 80%;
    padding-top: 5rem;
  }
  .price-highcube{
    font-size: 2rem;
  }
  .price-normal{
    margin: 0;
  }
}
/* president */
.president{
  background: url(../lp-cont_img/pre.jpg) no-repeat center/100%; 
  background-size: cover;
  padding: 8rem 0;
  margin: 8rem 0;
}
.president h2{
  text-align: left;
}
.president .inner{
  width: 80%;
  background-color: rgba( 255, 255, 255, 0.8);
  padding: 3rem 3rem 20%;
  position: relative;
}
.president .inner ul{
  line-height: 1.5;
  margin: 0;
}
.president-ill{
  width: 20%;
  text-align: center;
  position: absolute;
  right: 5rem;
  bottom: 0;
}
.president-ill p{
  font-size: 60%;
}
@media screen and (max-width : 1024px){
  .president .inner {
    width: 100%;
    margin: 0;
    padding: 8px 8px 22rem;
  }
  .president-ill {
    width: 30%;
    right: 8px;
  }
}

/* customer */
.customer-voice{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F2F2F2;
  margin: 2em 0;
}
.customer-voice img{
  width: 15%;
  margin: 2em;
}
.customer-voice p{
  width: 55%;
  text-align: justify;
}
.customer-voice p b{
  display: block;
  text-align: right;
}
@media screen and (max-width : 1024px){
  .customer-voice{
    display: block;
    padding: 8px;
  }
  .customer-voice img{
    display: block;
    width: 30%;
    margin: 2em auto;
  }
  .customer-voice p{
    width: 100%;
    text-align: justify;
  }
}

/* company_outline */
.outline_body dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}
.outline_item {
display: flex;
justify-content: space-between;
padding: 30px 0;
border-top: 1px solid #c2c3cc;
line-height: 1.5;
padding: 1rem 0;
margin: 0;
font-size: 1.6rem;
}
.outline_body .outline_item dt {
  width: 20%;
  text-align: left;
}
.outline_body .outline_item dd {
  text-align: left;
}
.outline_body .outline_item .address {
  display: block;
  margin-inline-start: 30%;
  margin-top: -30.8px;
}
.outline_item .address+.address {
  margin-top: 20px;
}
.outline_body {
  border-bottom: 1px solid #c2c3cc;
}
.outline_item .address span {
  font-size: 1.2rem;
  color: #00773A;
}
.outline_item .address .access {
  margin-left: 4rem;
}
.outline_item .address .access2 {
  margin-left: 15.5rem;
}
.outline_item .address .address_sec-link span {
  position: relative;
  display: inline-block;
  padding: 16px 110px 0 0;
  transition: color .3s;
  text-align: right;
}
.outline_item .address .address_sec-link span::before {
  display: block;
  content: '';
  position: absolute;
  top: 30px;
  right: 75px;
  width: 25px;
  height: 1px;
  background-color: #00773A;
  transition: all .3s;
}
.outline_item .address .address_sec-link span::after {
  display: block;
  content: '';
  position: absolute;
  top: 30px;
  right: 75px;
  width: 7px;
  height: 1px;
  background-color: #00773A;
  transform-origin: right bottom;
  transform: rotate(40deg);
  transition: all .3s;
}
.item_center {
  align-items: center;
}
@media screen and (max-width : 1024px){
.outline_body .outline_item dt {
  width: 100%;
}
}
/* inquiry*/
.inquiry{
  margin: 5rem 0;
}
#inquiry{
  padding-top: 100px;
  margin-top: -100px;
}

/* mailformpro*/
form#mailformpro dl dt {
  font-size: 20px;
  padding: 25px 10px;
  width: 220px;
}
form#mailformpro dl dd {
  font-size: 20px;
  padding: 20px 5px 20px 230px;
}
form#mailformpro label {
  margin: 0;
}
div.mfp_buttons button{
  font-size: 2.5rem;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 7rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 1em;
  background-color: #1F9B12;
  border-radius: 0.5rem;
  border-radius: 100vh;
  border: none;
  color: #fff;
  text-shadow:none;
}
@media screen and (max-width : 1024px){
  input[type="text"], input[type="email"], input[type="tel"], textarea{
    width: 100%;
  }
  form#mailformpro dl dt,form#mailformpro dl dd {
    font-size: 1.8rem;
  }
  form#mailformpro dl dt {
    width: 100%;
    text-align:left;
  }
  form#mailformpro dl dd {
    padding: 20px 5px 20px 0;
  }
  form#mailformpro dl dd.kakunin{
    text-align: center;
  }
}

/* lp_outline 企業情報*/
.lp_outline{
    background-color: #eee;
    padding-top: 2rem;
}

/* footer */
footer{
  background-color: #2383D3;
  color: #fff;
}
.o-up {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 40px;
  bottom: 25px;
  font-size: 5rem;
}
.o-up .btn{
  display: none;
}
footer .inner{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 5rem 0;
}
footer img{
  margin-right: 2em;
}
footer p{
  margin-right: 2em;
  font-size: 80%;
}
address{
  margin: 3rem ;
}
address span{
  display: block;
  font-size: 70%;
  letter-spacing: .2em;
  line-height: 1.5;
}

@media screen and (max-width : 1024px){
  .o-up {
    width: 100%;
    height: auto;
    position: fixed;
    right: 0;
    bottom: 10px;
    margin: 0 auto;
  }
  .o-up .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
  .o-up .btn img {
    margin: 0;
  }
}
/* thankspage */
div#wrapper {
  margin: 100px auto;
  text-align: center;
}

input#mfp_element_10 {
  margin-bottom: 6px;
  margin-left: 9px;
}

label#mfp_element_10_label {
  padding-right: 10px!important;
}
/* achievements */
.achievements{
    background: #DFF6FF;
    padding: 2rem 0;
    margin: 5rem 0;
}
.achievements_list_wrapper{
  padding-left: 1.2em;
}
.achievements .post{/* .achievements_list_item */
    margin: 20px 0;
    border-bottom: 1px dashed #333;
}
/* single */
.single{
    margin-top:82px;
    padding-top: 50px;
}
.single h2{
    text-align: left;
}
.single h2 span{
    display: block;
    font-size: .6em;
    margin-top: 10px;
    font-weight: 400;
}
.back{
    text-align: right;
    margin-bottom: 50px;
}
/* home.php */
.home{
    margin-top:82px;
    padding-top: 50px;
}
.home .post{
    margin: 30px 0;
    border-bottom: 1px dashed;
}
.post h3,.post p{
    margin: 15px 0;
    line-height: 1.5;
}

/* pagination */
.navigation.pagination {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 20px 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    text-decoration: none;
    color: #333;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.page-numbers.current {
    background-color: #1F9B12;
    color: #fff;
    border-color: #1F9B12;
    font-weight: bold;
    pointer-events: none;
}

.page-numbers:hover:not(.current) {
    background-color: #e0e0e0;
    border-color: #bbb;
    color: #000;
}

/* .prev.page-numbers,
.next.page-numbers {

}*/

@media (max-width: 600px) {
    .navigation.pagination {
        margin: 30px auto;
        padding: 15px 0;
    }
    .nav-links {
        gap: 6px;
    }
    .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
        padding: 0 10px;
    }
}

@media screen and (max-width : 1024px){
  .single{
    padding-top:0;
  }
  .single h2{
    line-height: 1.4;
    margin: 3rem 0;
  }
}

/* contactform7 */

/* フォーム全体の外枠や余白の調整 */
.wpcf7-form dl {
    display: grid;
    /* dtの幅を270px (180pxの1.5倍)、ddは残り幅 */
    grid-template-columns: 270px 1fr;
    margin-bottom: 20px;
    padding: 0;
    border: none;
	font-size: 20px;
}

/* dtとddの基本的なスタイル */
.wpcf7-form dl dt,
.wpcf7-form dl dd {
    /* dtとddの内部にあるpタグにパディングを適用するため、ここでは0 */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* 各グリッド行の背景色（奇数行と偶数行） */
/* dtとddがそれぞれ別のグリッドセルに配置されるため、
   それらが属するrow-startの値に基づいて背景色を適用します。 */
/* nth-child(4n-3), (4n-2) は最初のペア、5番目と6番目の要素など */
.wpcf7-form dl dt:nth-child(4n-3),
.wpcf7-form dl dd:nth-child(4n-2) {
    background-color: #FFF;
}

/* nth-child(4n-1), (4n) は2番目のペア、6番目と7番目の要素など */
.wpcf7-form dl dt:nth-child(4n-1),
.wpcf7-form dl dd:nth-child(4n) {
    background-color: #F6F7F9;
}

/* 項目名（dt）のスタイル */
.wpcf7-form dt {
    grid-column: 1; /* 1列目に配置 */
    position: relative; /* 必須マークの配置基準 */
    border-bottom: 1px solid #ddd; /* dtにも下線 */
}

/* dt内のpタグのスタイル調整 */
.wpcf7-form dt p {
    display: flex; /* 必須マークとラベルを横並びに */
    align-items: center; /* 垂直中央揃え */
    justify-content: flex-end; /* テキストを右寄せ */
    padding: 25px 45px; /* dtの中のpタグにパディングを適用 */
    padding-left: 50px; /* 必須マーク分の左パディングを確保 */
    margin: 0; /* pタグのデフォルトマージンをリセット */
    height: 100%; /* 親要素の高さに合わせる */
}

/* 入力欄（dd）のスタイル */
.wpcf7-form dd {
    grid-column: 2; /* 2列目に配置 */
    border-bottom: 1px solid #ddd; /* ddにも下線 */
}

/* dd内のpタグのスタイル調整 */
.wpcf7-form dd p {
    margin: 0; /* pタグのデフォルトマージンをリセット */
    padding: 25px 45px; /* ddの中のpタグにパディングを適用 */
    height: 100%; /* 親要素の高さに合わせる */
    display: flex; /* 内部要素の垂直中央揃え用 */
    align-items: center; /* 垂直中央揃え */
}

/* 必須マークのスタイル */
.wpcf7-form .required-mark {
    display: inline-block;
    font-size: 0.5em;
    color: #fff;
    background-color: #cc0000;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    position: absolute; /* dt内のpタグに対して絶対配置 */
    left: 5%; /* pタグの左端に配置 */
    top: 50%; /* 縦方向中央 */
    transform: translateY(-50%); /* 縦方向中央に微調整 */
}

/* 任意項目のマークのスタイル */
.wpcf7-form .optional-mark {
    background-color: #6c757d;
}

/* 入力フィールドの共通スタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

/* セレクトボックスのカスタムスタイル */
.wpcf7-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20fill%3D%22%23545454%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 0.7em top 50%;
    background-size: 0.65em auto;
    padding-right: 2.5em;
}

/* テキストエリアのスタイル */
.wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* ヘルプテキスト */
.wpcf7-form p.form-help-text {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

/* 同意チェックボックスのラッパー */
.wpcf7-form .wpcf7-acceptance {
    display: flex;
    align-items: center;
    /* paddingはpタグが持っているので、ここでは不要 */
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #FFF;
    padding-left: 50px; /* dtのpadding-leftに合わせる */
    position: relative; /* 必須マークの配置基準 */
}

/* 同意チェックボックス行の必須マーク */
.wpcf7-form .wpcf7-acceptance .required-mark {
    left: 0;
}

/* 同意チェックボックス行のpタグ */
.wpcf7-form .wpcf7-acceptance p {
    margin: 0; /* pタグのデフォルトマージンをリセット */
    display: flex; /* 内部要素を横並びにするため */
    align-items: center;
    padding: 10px 45px; /* paddingを適用 */
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    border-bottom: none;
}

/* 送信ボタンのラッパー */
.submit-button-wrap {
    text-align: center;
    margin-top: 30px;
    padding-left: 15px; /* dl内のコンテンツと左端を合わせる */
}

/* 送信ボタン */
.wpcf7-form input.wpcf7-submit {
    padding: 1rem 7rem;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.3em;
    background-color: #1F9B12;
    border-radius: 0.5rem;
    border-radius: 100vh;
    border: none;
    color: #fff;
    text-shadow: none;
}

.wpcf7-form input.wpcf7-submit:hover {
    background-color: #1e7e34;
}

/* Contact Form 7のValidation Tip（エラーメッセージ）の調整 */
.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 0.8em;
    color: #dc3545;
    margin-top: 5px;
    display: block;
}

@media screen and (max-width: 768px) {
    .wpcf7-form dl {
        grid-template-columns: 1fr;
    }

    .wpcf7-form dl dt {
        grid-column: 1;
        text-align: left;
        padding-right: 15px;
        padding-bottom: 0;
        margin-bottom: 0;
    }
	

    /* dt内のpタグのスタイル調整 */
    .wpcf7-form dt p {
        justify-content: flex-start; /* 左寄せ */
        padding: 10px 15px; /* padding調整 */
        padding-left: 10px;
    }

    .wpcf7-form dl dd {
        grid-column: 1;
        padding-top: 0;
    }

    /* dd内のpタグのスタイル調整 */
    .wpcf7-form dd p {
        padding: 10px 15px; /* padding調整 */
		justify-content: center;
    }

    .wpcf7-form .required-mark {
        position: static;
        transform: none;
        margin-right: 5px;
        margin-bottom: 0;
    }

    .wpcf7-form dt label {
        display: inline;
    }

    .wpcf7-form .wpcf7-acceptance {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 15px;
    }

    /* 同意チェックボックス行のpタグのスタイル調整 */
    .wpcf7-form .wpcf7-acceptance p {
        padding: 10px 15px; /* padding調整 */
    }

    .submit-button-wrap {
        padding-left: 15px;
    }
}