@charset "UTF-8";

/*=============================================
 * HOME
*=============================================*/
.btn-scroll {
   width: 12px;
   cursor: pointer;
   transition: all 0.3s;
   position: relative;
   text-align: center;
}

.btn-scroll dd {
   background-color: #ccc;
   width: 1px;
   height: 180px;
   margin: 10px auto 0;
   position: relative;
   overflow: hidden;
}

.btn-scroll dd:after {
   content: '';
   width: 100%;
   height: 100%;
   background-color: #008570;
   position: absolute;
   top: 0;
   left: 0;
   animation: sdl01 2s infinite;
}

.btn-scroll:hover {
   opacity: 0.7;
}

@keyframes sdl01 {
   0% {
      transform: translateY(-100%);
   }

   100% {
      transform: translateY(100%);
   }
}

/* -- -- */
#mv {
   display: flex;
   align-items: flex-end;
   width: 100%;
   height: 100vh;
   position: relative;
   padding-bottom: 40px;
}

#mv:after {
   content: '';
   width: 100%;
   height: 230px;
   background: #F8F6EF;
   position: absolute;
   bottom: 0;
   left: 0;
   border-radius: 40px 40px 0 0;
}

#mv .photo {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}
#mv .photo video {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
}
#mv .wrap {
   z-index: 1;
}

#mv .list-bnr {
   display: flex;
   justify-content: center;
   gap: 40px;
}

#mv .list-bnr li {
   width: calc(50% - 20px);
}

#mv .list-bnr a[href="#"] {
   pointer-events: none;
}

#mv .list-btn {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 40px;
   padding-top: 32px;
}

#mv .list-btn .button {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 26px;
}

#mv .list-btn .button a {
   width: 100%;
}

@media screen and (max-width: 1023px) {
   #mv {
      height: calc(100vh - 73px);
      padding-bottom: 0;
   }

   #mv:after {
      display: none;
   }

   #mv .photo {
      height: 75%;
   }

   #mv .wrap {
      max-width: 100%;
      background-color: #F8F6EF;
      border-radius: 20px 20px 0 0;
      padding: 3.7vw 5.8vw;
   }

   #mv .list-bnr {
      gap: 20px;
   }

   #mv .list-bnr li {
      width: calc(50% - 10px);
   }

   #mv .list-btn {
      grid-template-columns: 1fr;
   }
}

@media screen and (max-width: 767px) {
   #mv .list-bnr {
      gap: 10px;
   }

   #mv .list-bnr li {
      width: calc(50% - 5px);
   }

   #mv .list-btn {
      gap: 10px;
      padding-top: 10px;
   }

   #mv .list-btn .button {
      gap: 5px;
   }

   #mv .list-btn .button a {
      height: 50px;
      font-size: 14px;
   }
}

@media screen and (max-width: 429px) {
   #mv .list-btn .button a {
      font-size: 12px;
   }
}

@media screen and (min-width: 1024px) {
   #mv {
      height: 100vh !important;
   }
}

/* -- --*/
#instagram {
   padding: 120px 0;
}

#instagram h2 {
   max-width: 332px;
   margin: 0 auto;
}

#instagram .feed {
   padding-top: 20px;
}

@media screen and (max-width: 767px) {
   #instagram {
      padding: 60px 0;
   }

   #instagram h2 {
      max-width: 232px;
   }

   #instagram .feed {
      padding-top: 25px;
   }
}

/* -- --*/
#news {
   padding-bottom: 120px;
   position: relative;
}

#news:before {
   content: '';
   width: 100%;
   height: 70%;
   background-color: #DE3E2D;
   position: absolute;
   bottom: 0;
   left: 0;
   border-radius: 40px 40px 0 0;
}

#news .wrap {
   display: grid;
   grid-template-columns: 300px 1fr;
   gap: 30px;
   background-color: #F8F6EF;
   border-radius: 10px;
   padding: 70px 75px;
}

#news h2 {
   max-width: 125px;
}

#news h2 span {
   display: inline-block;
   padding-top: 8px;
}

#news .button {
   padding-top: 24px;
   position: absolute;
   top: 160px;
   left: 75px;
}

#news .button a {
   width: 173px;
   height: 54px;
}

#news .button a:after {
   display: none;
}

#news .feed li+li {
   padding-top: 30px;
}

#news .feed a {
   display: grid;
   grid-template-columns: auto 1fr;
   align-items: center;
   gap: 10px;
   background-color: #fff;
   color: #333;
   padding: 17px 40px;
   border-radius: 5px;
}

#news .feed time {
   color: #D43331;
}

#news .feed span {
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 1;
   display: -webkit-box;
   overflow: hidden;
}

@media screen and (max-width: 1023px) {
   #news .wrap {
      grid-template-columns: 1fr;
   }

   #news h2 {
      display: flex;
      align-items: end;
      gap: 7px;
      max-width: inherit;
   }

   #news h2 img {
      max-width: 125px;
   }

   #news h2 span {
      font-size: 16px;
      padding-top: 0;
   }

   #news .button {
      position: static;
      text-align: center;
      padding-top: 0;
   }
}

@media screen and (max-width: 767px) {
   #news {
      padding: 0 3.5vw 5.8vw;
   }

   #news:before {
      height: 38vw;
      border-radius: 20px 20px 0 0;
   }

   #news .wrap {
      gap: 15px;
      padding: 30px 20px;
   }

   #news h2 img {
      max-width: 75px;
   }

   #news .feed li+li {
      padding-top: 9px;
   }

   #news .feed a {
      padding: 1px 14px;
   }

   #news .button {
      padding-top: 15px;
   }

   #news .button a {
      font-size: 14px;
   }
}

/* -- --*/
#strength {
   position: relative;
}

#strength:after {
   content: '';
   width: 100%;
   height: 100%;
   background: url("../img/index/strength-deco.webp") no-repeat center bottom/100% auto;
   position: absolute;
   bottom: -25vw;
   left: 0;
   z-index: 1;
}

#strength .wrap {
   z-index: 2;
}

#strength .wrap:before {
   content: '';
   width: 890px;
   height: 150px;
   background: url("../img/index/strength-deco-1.webp") no-repeat center top/cover;
   position: absolute;
   bottom: 100%;
   left: 50%;
   transform: translateX(-50%);
}

#strength .photo img {
   width: 100%;
   max-width: inherit;
}

#strength h2 {
   max-width: 442px;
   margin: 0 auto;
   position: relative;
   top: -65px;
}

#strength h2 span {
   display: inline-block;
   font-weight: 700;
   line-height: 20px;
   padding-top: 15px;
}

#strength [class*="box"] {
   display: flex;
   justify-content: space-between;
   gap: 30px;
   position: relative;
}

#strength [class*="box"] .col {
   position: relative;
}

#strength [class*="box"] h3 {
   position: relative;
}

#strength [class*="box"] .tag {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px;
   line-height: 24px;
   padding-top: 12px;
}

#strength [class*="box"] .tag span {
   background-color: #0F8633;
   color: #fff;
   border-radius: 10px;
   padding: 3px 15px 5px;
}

#strength [class*="box"] .txt {
   line-height: 35px;
   padding-top: 15px;
}

#strength .box-1 {
   padding-top: 65px;
}

#strength .box-1 figure {
   width: 511px;
}

#strength .box-1 .col {
   width: 556px;
   padding-top: 100px;
}

#strength .box-1 .no {
   width: 292px;
   position: absolute;
   top: 0;
   right: 0;
}

#strength .box-2 {
   flex-direction: row-reverse;
   margin-top: -50px;
}

#strength .box-2 figure {
   width: 508px;
}

#strength .box-2 .col {
   width: 348px;
   padding: 145px 0 0 145px;
}

#strength .box-2 .no {
   width: 298px;
   position: relative;
   left: -35px;
   padding-bottom: 12px;
}

#strength .box-3 {
   justify-content: flex-end;
   gap: 130px;
   padding-top: 70px;
}

#strength .box-3 figure {
   width: 479px;
   padding-top: 50px;
}

#strength .box-3 .col {
   width: 454px;
   padding-top: 140px;
}

#strength .box-3 .no {
   width: 238px;
   position: absolute;
   top: 0;
   right: 0;
}

@media screen and (max-width: 1023px) {
   #strength {
      padding-bottom: 5vw;
   }

   #strength:after {
      display: none;
   }

   #strength .wrap {
      max-width: 100%;
      padding: 0;
   }

   #strength .wrap:before {
      width: 100%;
   }

   #strength [class*="box"] {
      gap: 30px;
   }

   #strength [class*="box"] .col {
      box-sizing: border-box;
   }

   #strength [class*="box"] h3,
   #strength [class*="box"] .tag,
   #strength [class*="box"] .txt {
      position: relative;
   }

   #strength .box-1 {
      flex-direction: column;
      padding: 0 5.8vw;
   }

   #strength .box-1 figure {
      width: 100%;
   }

   #strength .box-1 .col {
      padding: 0;
   }

   #strength .box-1 .no {
      width: 175px;
      top: 20px;
      right: auto;
      left: 180px;
   }

   #strength .box-2 {
      flex-direction: column;
      gap: 0px;
      margin-top: 0;
   }

   #strength .box-2 figure {
      width: 100%;
   }

   #strength .box-2 .col {
      width: 100%;
      margin-top: -20px;
      padding: 0 5.8vw;
   }

   #strength .box-2 .no {
      width: 175px;
      position: absolute;
      top: 70px;
      left: 230px;
      padding-bottom: 0;
   }

   #strength .box-3 {
      flex-direction: column;
   }

   #strength .box-3 figure {
      width: 100%;
      padding-top: 0;
   }

   #strength .box-3 .col {
      width: 100%;
      margin-top: -70px;
      padding: 0 5.8vw;
   }

   #strength .box-3 .no {
      width: 175px;
      top: 70px;
      right: auto;
      left: 230px;
   }

   #strength .deco {
      display: block;
      width: 80%;
      position: absolute;
      bottom: -45vw;
      left: 0;
      z-index: 1;
   }
}

@media screen and (max-width: 767px) {
   #strength {
      padding-bottom: 35px;
   }

   #strength .wrap:before {
      height: 20vw;
   }

   #strength h2 {
      max-width: 280px;
      top: -48px;
   }

   #strength h2 span {
      font-size: 16px;
   }

   #strength [class*="box"] .col {
      width: 100%;
   }

   #strength [class*="box"] h3 {
      font-size: 28px;
   }

   #strength .box-1 .no {
      top: 10px;
      left: 150px;
   }

   #strength .box-2 .no,
   #strength .box-3 .no {
      top: 55px;
      left: 180px;
   }

   #strength .deco {
      width: 100%;
      bottom: -55vw;
   }
}

/* -- --*/
#company {
   background-color: #F8F6EF;
   position: relative;
   margin-top: 15vw;
   padding: 0 0 185px;
}

#company:before {
   content: '';
   width: 100%;
   padding-top: 31%;
   background: url("../img/index/company-bg.webp") no-repeat center top/cover;
   position: absolute;
   top: -15vw;
   left: 0;
}

#company .wrap {
   z-index: 2;
}

#company h2 {
   width: 205px;
   text-align: right;
   margin-left: auto;
   padding-bottom: 105px;
}

#company h2 span {
   display: inline-block;
   padding-top: 25px;
}

#company .box {
   display: flex;
   flex-direction: row-reverse;
   overflow: hidden;
   background-color: #fff;
   border-radius: 20px;
}

#company .box figure {
   width: 50%;
   box-sizing: border-box;
   padding-left: 25px;
}

#company .box .col {
   width: 50%;
   box-sizing: border-box;
   padding: 95px 40px 40px;
}

#company .box h3 {
   position: relative;
   padding: 75px 0 25px 70px;
}

#company .box h3 span {
   display: inline-block;
   position: relative;
}

#company .box h3 .img {
   width: 292px;
   position: absolute;
   top: 0;
   left: 0;
}

#company .box dl {
   display: grid;
   grid-template-columns: 140px 1fr;
   gap: 10px;
   letter-spacing: 0.025em;
   line-height: 25px;
   padding: 30px 0 0 70px;
}

#company .box dl+dl {
   padding-top: 12px;
}

#company .box dl dt {
   color: #DE3E2D;
}

#company .box dl dd {
   font-weight: 500;
}

#company .box .button {
   padding: 30px 0 0 70px;
}

#company .box .button a {
   width: 204px;
   height: 54px;
}

#company .list-bnr {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 50px;
   padding-top: 60px;
}

@media screen and (max-width: 1200px) {
   #company .box .col {
      padding-right: 0;
      padding-left: 20px;
   }

   #company .box dl {
      grid-template-columns: 80px 1fr;
   }
}

@media screen and (max-width: 1023px) {
   #company .box {
      flex-direction: column;
   }

   #company .box figure,
   #company .box .col {
      width: 100%;
   }

   #company .box figure {
      padding-left: 0;
   }

   #company .box .col {
      padding: 50px 20px;
   }

   #company .box h3 {
      text-align: center;
      padding-left: 0;
   }

   #company .box h3 .img {
      left: 50%;
      transform: translateX(-50%);
   }

   #company .box dl,
   #company .box .button {
      padding-left: 0;
   }

   #company .box dl {
      max-width: 360px;
      margin: 0 auto;
   }

   #company .box .button {
      text-align: center;
   }
}

@media screen and (max-width: 767px) {
   #company {
      padding: 80px 0;
   }

   #company h2 {
      width: 122px;
      padding-bottom: 60px;
   }

   #company h2 span {
      padding-top: 0;
   }

   #company h2 .h-26 {
      font-size: 20px;
   }

   #company .box .col {
      padding: 45px 5.8vw;
   }

   #company .box h3 {
      margin: 0 auto;
      padding: 46px 0 8px;
   }

   #company .box h3 span {
      font-size: 16px;
   }

   #company .box h3 .img {
      width: 175px;
   }

   #company .box dl {
      grid-template-columns: 65px 1fr;
      gap: 5px;
      max-width: 100%;
   }

   #company .list-bnr {
      grid-template-columns: 1fr;
      gap: 20px;
      padding-top: 45px;
   }
}


/*=============================================
 * Menu
*=============================================*/
.menu figure {
   width: 333px;
   margin: 0 auto;
}

.menu .list-menu {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
   padding-top: 20px;
}

.menu .list-menu li {
   background-color: #F8F6EF;
   padding: 32px 12px;
}

.menu .list-menu .btn-pdf {
   padding-top: 16px;
}

.menu .list-menu .btn-pdf a {
   display: inline-block;
   max-width: 219px;
}

.menu .list-menu .btn-pdf a[href="#"] {
   pointer-events: none;
}

.menu .list-bnr {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 20px;
   padding-top: 95px;
}

.menu .list-bnr .button a {
   width: 420px;
   height: 90px;
}

.menu .list-bnr .button a:after {
   right: 50px;
}

.menu .list-bnr .tel {
   width: 672px;
}

.menu .list-bnr .tel a {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 42px;
   height: 100px;
   background-color: #DE3E2D;
   color: #fff;
}

.menu .list-bnr .tel .ttl {
   display: block;
   width: 72px;
   font-weight: 400;
   font-size: 39px;
   line-height: 50px;
   background: url("../img/common/tel-deco.png") no-repeat center bottom/100% auto;
   text-align: center;
}

.menu .list-bnr .tel .number {
   display: block;
   background: url("../img/common/icon-tel.webp") no-repeat center left/43px auto;
   font-size: 14px;
   line-height: 20px;
   padding-left: 55px;
}

.menu .list-bnr .tel .number span {
   font-size: 29px;
   line-height: 40px;
}

@media screen and (max-width: 1200px) {
   .menu .list-bnr .button a {
      width: 320px;
   }
}

@media screen and (max-width: 1023px) {
   .menu .list-menu {
      grid-template-columns: repeat(2, 1fr);
   }

   .menu .list-bnr {
      flex-direction: column;
   }

   .menu .list-bnr .button a {
      width: 420px;
   }
}

@media screen and (max-width: 767px) {
   .menu figure {
      width: 250px;
   }

   .menu .list-menu {
      grid-template-columns: 100%;
   }

   .menu .list-bnr {
      padding-top: 50px;
   }

   .menu .list-bnr .button {
      width: 100%;
   }

   .menu .list-bnr .button a {
      width: 100%;
      height: 70px;
   }

   .menu .list-bnr .tel {
      width: 100%;
   }

   .menu .list-bnr .tel a {
      flex-direction: column;
      gap: 10px;
      height: 180px;
   }
}

/*=============================================
 * Mailform
*=============================================*/
.mailform {
   font-weight: 500;
}

.mailform .tel {
   padding-bottom: 105px;
}

.mailform .tel_sp {
   padding-bottom: 50px;
}

.mailform .tel_sp a {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 10px;
   height: 180px;
   background-color: #DE3E2D;
   color: #fff;
}

.mailform .tel_sp .ttl {
   display: block;
   width: 72px;
   font-weight: 400;
   font-size: 39px;
   line-height: 50px;
   background: url("../img/common/tel-deco.png") no-repeat center bottom/100% auto;
   text-align: center;
}

.mailform .tel_sp .number {
   display: block;
   background: url("../img/common/icon-tel.webp") no-repeat center left/43px auto;
   font-size: 14px;
   line-height: 20px;
   padding-left: 55px;
}

.mailform .tel_sp .number span {
   font-size: 29px;
   line-height: 40px;
}

.mailform h2 {
   max-width: 155px;
   padding-bottom: 60px;
}

.mailform .note {
   padding-bottom: 60px;
}

.mailform .form-wrap {
   background-color: #F8F6EF;
   border-radius: 20px;
   padding: 130px 150px;
}

.mailform .form-row {
   display: grid;
   grid-template-columns: 280px 1fr;
   align-items: flex-start;
   gap: 15px;
}

.mailform .form-row+.form-row {
   border-top: 2px solid #fff;
   margin-top: 22px;
   padding-top: 22px;
}

.mailform .form-row .caption {
   padding-top: 5px;
}

.mailform .form-pp {
   background-color: #fff;
   margin-top: 65px;
   padding: 50px 80px;
}

.mailform .form-pp p {
   padding-top: 30px;
}

.mailform .form-pp .txt a {
   color: #DE3E2D;
}

.mailform .form-pp .txt a:hover {
   text-decoration: underline;
}

.mailform .form-pp .wpcf7-checkbox {
   justify-content: center;
}

.mailform .form-btn {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 20px;
   padding-top: 80px;
}

.mailform .form-btn input,
.mailform .form-btn a {
   display: block;
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
   opacity: 0;
   cursor: pointer;
}

.mailform .form-btn .wpcf7-spinner {
   display: none;
}

.mailform .form-btn p {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 272px;
   height: 71px;
   border-radius: 50px;
   background-color: #DE3E2D;
   color: #fff;
   font-size: 16px;
   box-sizing: border-box;
   position: relative;
   padding-bottom: 2px;
   transition: all 0.3s linear;
}

.mailform .form-btn p:after {
   content: '';
   width: 12px;
   height: 10px;
   background: url("../img/common/arrow-right-wh.svg") no-repeat center/100% auto;
   position: absolute;
   top: 50%;
   right: 20px;
   transform: translate(0, -50%);
   transition: all 0.3s;
}

.mailform .form-btn p:hover {
   background-color: #000;
   opacity: 1;
}

.mailform .form-btn p:hover:after {
   transform: translate(5px, -50%);
}

.mailform .form-btn .btn-back {
   background-color: #afaaaa;
}

.mailform .form-btn .btn-back:after {
   transform: translate(0px, -50%) rotate(180deg);
   right: 0;
   left: 20px;
}

.mailform .form-btn .btn-back:hover:after {
   transform: translate(-5px, -50%) rotate(180deg);
}

.mailform.confirm .form-row .caption {
   padding-top: 0;
}

.mailform.thanks .form-wrap {
   text-align: center;
}

.mailform.thanks .txt {
   padding-top: 30px;
}

.mailform.thanks .txt p:not(:last-child) {
   padding-bottom: 30px;
}

.mailform.thanks .button {
   padding-top: 40px;
}

@media screen and (max-width: 1200px) {
   .mailform .form-wrap {
      padding: 100px;
   }
}

@media screen and (max-width: 1023px) {
   .mailform .form-wrap {
      padding: 100px 50px;
   }

   .mailform .form-row {
      grid-template-columns: 180px 1fr;
   }

   .mailform .form-pp {
      padding: 50px 40px;
   }
}

@media screen and (max-width: 767px) {
   .mailform .tel {
      padding-bottom: 50px;
   }

   .mailform h2 {
      width: 110px;
      padding-bottom: 20px;
   }

   .mailform .note {
      padding-bottom: 20px;
   }

   .mailform .form-wrap {
      margin: 0 -5.8vw;
      padding: 30px 5.8vw;
      border-radius: 0;
   }

   .mailform .form-row {
      grid-template-columns: 1fr;
      gap: 10px;
   }

   .mailform .form-row .caption {
      padding-top: 0;
   }

   .mailform .form-row+.form-row {
      margin-top: 30px;
      padding-top: 20px;
   }

   .mailform .form-pp {
      margin-top: 30px;
      padding: 30px 20px;
   }

   .mailform .form-pp h3 {
      font-size: 20px;
   }

   .mailform .form-pp p {
      padding-top: 15px;
   }

   .mailform .form-btn {
      flex-direction: column;
      gap: 10px;
      padding: 50px 0 30px;
   }

   .mailform .form-btn p {
      width: 200px;
      height: 50px;
   }

   .mailform.thanks .txt {
      text-align: justify;
      padding-top: 20px;
   }

   .mailform.thanks .txt p:not(:last-child) {
      padding-bottom: 20px;
   }

   .mailform.thanks .button {
      padding-top: 30px;
   }
}

/*=============================================
 * Post type
*=============================================*/
.wp-pagenavi {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   gap: 32px;
   font-weight: 400;
   font-size: 16px;
   position: relative;
}

.wp-pagenavi .pages {
   display: none;
}

.wp-pagenavi span,
.wp-pagenavi a {
   display: block;
}

.wp-pagenavi a:hover {
   color: #DE3E2D;
   font-weight: 700;
   opacity: 1;
}

.wp-pagenavi .current {
   pointer-events: none;
   color: #DE3E2D;
   font-weight: 700;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
   width: 24px;
   height: 24px;
   border-radius: 50%;
   background-color: #DE3E2D;
   position: relative;
   font-size: 0;
}

.wp-pagenavi .previouspostslink:before,
.wp-pagenavi .nextpostslink:before {
   content: '';
   width: 100%;
   height: 100%;
   background: url("../img/common/arrow-right-wh.svg") no-repeat center/12px auto;
   position: absolute;
   top: 0;
   left: 0;
}

.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .nextpostslink:hover {
   background-color: #272727;
}

.wp-pagenavi .previouspostslink:before {
   transform: rotate(-180deg);
}

@media screen and (max-width: 767px) {
   .wp-pagenavi {
      gap: 20px;
   }
}

/* -- -- */
.sidebar .cats {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 12px;
}

.sidebar .cats a {
   background-color: #F8F6EF;
   min-width: 116px;
   font-weight: 500;
   border-radius: 30px;
   padding: 5px 10px;
   text-align: center;
}

.sidebar .cats a:hover,
.sidebar .cats a.current {
   background-color: #DE3E2D;
   color: #fff;
   opacity: 1;
}

@media screen and (max-width: 767px) {
   .sidebar .cats a {
      min-width: 80px;
   }
}

/* -- -- */
.news-list li {
   display: grid;
   grid-template-columns: 266px 1fr;
   align-items: center;
   gap: 55px;
   padding: 45px 50px;
   border-radius: 20px;
   background-color: #F8F6EF;
}

.news-list li+li {
   margin-top: 35px;
}

.news-list figure a {
   display: block;
   padding-top: 70.6%;
   position: relative;
   border-radius: 10px;
}

.news-list figure img {
   position: absolute;
   top: 0;
   left: 0;
}

.news-list time {
   display: block;
   color: #D43331;
}

.news-list .ttl {
   padding-top: 12px;
}

.news-list .ttl a {
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   display: -webkit-box;
   overflow: hidden;
}

.news-list .txt {
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   display: -webkit-box;
   overflow: hidden;
   margin-top: 20px;
}

@media screen and (max-width: 767px) {
   .news-list li {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 30px;
   }

   .news-list li+li {
      margin-top: 30px;
   }
}

/*=============================================
 * News
 *=============================================*/
.pt-news .news-list {
   padding-top: 80px;
}

.pt-news .wp-pagenavi {
   padding-top: 165px;
}

@media screen and (max-width: 767px) {
   .pt-news .news-list {
      padding-top: 40px;
   }

   .pt-news .wp-pagenavi {
      padding-top: 80px;
   }
}

/*=============================================
 * Post Detail
 *=============================================*/
.pt-detail {
   position: relative;
}

.pt-detail-title {
   padding-top: 25px;
}

.pt-detail-cate {
   display: flex;
   flex-direction: column;
   gap: 10px;
   font-weight: 600;
   padding-bottom: 25px;
}

.pt-detail-cate a {
   display: block;
   border-left: 8px solid #000;
   padding-left: 8px;
}

.pt-detail-thumb {
   padding-top: 85px;
}

.pt-detail-content {
   display: flex;
   flex-direction: column;
   gap: 30px;
   line-height: 35px;
   padding-top: 85px;
}

.pt-detail-content h2,
.pt-detail-content h3,
.pt-detail-content h4,
.pt-detail-content h5,
.pt-detail-content h6 {
   font-style: normal;
   font-weight: 700;
   line-height: 1.5;
   letter-spacing: 0.02em;
   margin-top: 30px;
}

.pt-detail-content h2 {
   background-color: #f5f5f5;
   font-size: 24px;
   padding: 22px 25px;
}

.pt-detail-content h3 {
   font-size: 22px;
   border-bottom: 2px solid #AFB6B8;
   padding-bottom: 10px;
}

.pt-detail-content h4 {
   font-size: 20px;
   border-left: 5px solid #AFB6B8;
   padding-left: 10px;
}

.pt-detail-content h5,
.pt-detail-content h6 {
   font-size: 18px;
}

.pt-detail-content h1:first-child,
.pt-detail-content h2:first-child,
.pt-detail-content h3:first-child,
.pt-detail-content h4:first-child,
.pt-detail-content h5:first-child,
.pt-detail-content h6:first-child {
   margin-top: 0;
}

.pt-detail-content h2+h3,
.pt-detail-content h2+h4,
.pt-detail-content h3+h4 {
   margin-top: 0;
}

.pt-detail-content mark {
   background-color: #FFF6A8;
   color: #333;
}

.pt-detail-content strong {
   font-weight: 700;
}

.pt-detail-content a {
   text-decoration: underline;
}

.pt-detail-content a:hover {
   text-decoration: none;
}

.pt-detail-content hr {
   margin: 30px 0;
}

.pt-detail-nav {
   display: grid;
   grid-template-columns: 24px auto 24px;
   align-items: center;
   justify-content: center;
   gap: 10px;
   padding-top: 135px;
}

.pt-detail-nav a {
   display: flex;
   justify-content: center;
   align-items: center;
}

.pt-detail-nav a:hover {
   opacity: 1;
}

.pt-detail-nav .button a {
   width: 175px;
   height: 50px;
}

.pt-detail-nav .button a:after {
   display: none;
}

.pt-detail-nav .prev,
.pt-detail-nav .next {
   width: 24px;
   height: 24px;
   border-radius: 50%;
   background-color: #DE3E2D;
   position: relative;
   font-size: 0;
}

.pt-detail-nav .prev:before,
.pt-detail-nav .next:before {
   content: '';
   width: 100%;
   height: 100%;
   background: url("../img/common/arrow-right-wh.svg") no-repeat center/12px auto;
   position: absolute;
   top: 0;
   left: 0;
}

.pt-detail-nav .prev:hover,
.pt-detail-nav .next:hover {
   background-color: #272727;
}

.pt-detail-nav .prev:before {
   transform: rotate(-180deg);
}

@media screen and (max-width: 1023px) {
   .pt-detail-content p img {
      display: block;
      margin: 0 auto 15px;
   }

   .pt-detail-content p img:last-child {
      margin: 0 auto;
   }
}

@media screen and (max-width: 767px) {
   .pt-detail-cate {
      padding-bottom: 15px;
   }

   .pt-detail-title {
      text-align: left;
      padding-top: 15px;
   }

   .pt-detail-thumb {
      padding-top: 40px;
   }

   .pt-detail-content {
      line-height: 30px;
      padding-top: 40px;
   }

   .pt-detail-content h2 {
      font-size: 20px;
      padding: 15px 20px;
   }

   .pt-detail-content h3 {
      font-size: 18px;
   }

   .pt-detail-content h4 {
      font-size: 18px;
   }

   .pt-detail-content p img {
      display: block;
      margin: 0 auto 15px;
   }

   .pt-detail-content p img.alignright {
      margin: 0 auto 15px;
   }

   .pt-detail-content p img:last-child {
      margin: 0 auto !important;
   }

   .pt-detail-content .wp-block-group-is-layout-flex {
      flex-direction: column;
   }

   .pt-detail-nav {
      padding-top: 50px;
   }
}

/*=============================================
 * privacy
*=============================================*/
@media screen and (min-width: 768px) {
   .privacy {
      line-height: 35px;
   }
}

/*=============================================
 * 桑木給食について
*=============================================*/
#about-lead {
   padding-bottom: 240px;
}

#about-lead h2 {
   padding-bottom: 40px;
}

#about-lead h2 .tag {
   display: inline-block;
   background-color: #0F8633;
   color: #fff;
   font-weight: 700;
   border-radius: 20px;
   margin-bottom: 15px;
   padding: 2px 20px;
}

#about-lead .box-1 {
   display: grid;
   grid-template-columns: repeat(3, 283px);
   justify-content: center;
   gap: 70px;
   text-align: center;
   padding-bottom: 120px;
}

#about-lead .box-1 dt {
   height: 64px;
   margin-bottom: 20px;
}

#about-lead .box-1 dt img {
   max-height: 100%;
}

#about-lead .box-1 dd {
   position: relative;
   padding-bottom: 50px;
}

#about-lead .box-1 dd img {
   position: absolute;
   bottom: 0;
   left: 0;
   z-index: -1;
}

#about-lead .box-2 {
   display: grid;
   grid-template-columns: 1fr 554px;
   gap: 48px;
   padding: 64px 70px;
}

#about-lead .box-2 .txt {
   padding-top: 60px;
}

@media screen and (max-width: 1200px) {
   #about-lead .box-1 {
      gap: 50px;
   }

   #about-lead .box-2 {
      grid-template-columns: repeat(2, 1fr);
      padding: 64px 40px;
   }
}

@media screen and (max-width: 1023px) {
   #about-lead .box-1 {
      grid-template-columns: 283px;
      gap: 10px;
   }

   #about-lead .box-2 {
      grid-template-columns: 1fr;
   }
}

@media screen and (max-width: 767px) {
   #about-lead {
      padding-bottom: 100px;
   }

   #about-lead .box-1 {
      padding-bottom: 50px;
   }

   #about-lead .box-2 {
      gap: 30px;
      padding: 30px 20px;
   }

   #about-lead .box-2 .txt {
      padding-top: 20px;
   }
}

#case-study {
   padding: 120px 0 150px;
}

#case-study h2 {
   max-width: 333px;
   margin: 0 auto;
}

#case-study h2 .sub {
   display: inline-block;
   margin-top: -20px;
}

#case-study .slider {
   margin-top: 75px;
   padding: 0 20px;
}

#case-study .slider .slick-arrow {
   position: absolute;
   top: 62%;
   transform: translateY(-50%);
   z-index: 1;
}

#case-study .slider .slick-prev {
   left: 0;
}

#case-study .slider .slick-next {
   right: 0;
}

#case-study .slider .slick-list {
   overflow: visible;
   padding: 0 !important;
}

#case-study .slider .slick-track {
   display: flex;
}

#case-study .slider .slick-track:before,
#case-study .slider .slick-track:after {
   display: none;
}

#case-study .slider .slide {
   width: 360px;
   height: auto;
   float: none;
   margin: 0 20px;
   padding: 0 40px 40px;
   position: relative;
   box-sizing: border-box;
}

#case-study .slider .slide:before {
   content: '';
   width: 100%;
   height: auto;
   background-color: #fff;
   border-radius: 20px;
   position: absolute;
   top: 90px;
   bottom: 0;
   left: 0;
}

#case-study .slider .slide>* {
   position: relative;
}

#case-study .slider .slide figure {
   width: 228px;
   margin: 8px auto 0;
}

#case-study .slider .slide .txt,
#case-study .slider .slide h3 {
   padding-top: 24px;
}

#case-study .slider .slide .txt {
   text-align: justify;
}

@media screen and (max-width: 1440px) {
   #case-study .slider .slide {
      width: 345px;
   }
}

@media screen and (max-width: 1200px) {
   #case-study .slider .slide {
      width: 285px;
   }
}

@media screen and (max-width: 1023px) {
   #case-study .slider .slide {
      width: 360px;
   }

   #case-study .slider .slick-prev {
      left: 150px;
   }

   #case-study .slider .slick-next {
      right: 150px;
   }
}

@media screen and (max-width: 767px) {
   #case-study {
      padding: 100px 0;
   }

   #case-study h2 .img {
      display: inline-block;
      max-width: 230px;
   }

   #case-study .slider {
      margin-top: 30px;
   }

   #case-study .slider .slide {
      width: 80vw;
      margin: 0 10px;
      padding: 0 30px 30px;
   }

   #case-study .slider .slide figure {
      width: 100%;
   }

   #case-study .slider .slide h3 {
      font-size: 16px;
   }

   #case-study .slider .slide .txt {
      padding-top: 15px;
   }

   #case-study .slider .slick-prev {
      left: 0;
   }

   #case-study .slider .slick-next {
      right: 0;
   }
}

#message {
   padding: 170px 0 220px;
}

#message h2 {
   width: 332px;
   position: relative;
}

#message h2 .h-20 {
   position: absolute;
   bottom: 0;
   left: 0;
}

#message .box {
   display: grid;
   grid-template-columns: 486px 1fr;
   gap: 70px;
   padding-top: 65px;
}

#message .box .txt p:not(:last-child) {
   padding-bottom: 30px;
}

#message .box .txt-name {
   width: 328px;
   padding-top: 40px;
}

@media screen and (max-width: 1023px) {
   #message .box {
      grid-template-columns: 1fr;
   }
}

@media screen and (max-width: 767px) {
   #message {
      padding: 100px 0;
   }

   #message h2 {
      width: 230px;
   }

   #message .box {
      gap: 40px;
      padding-top: 30px;
   }

   #message .box .txt-name {
      width: 250px;
   }
}

#outline {
   position: relative;
}

#outline .bg-cl01 {
   padding: 120px 0 150px;
   border-radius: 40px 40px 0 0;
}

#outline .photo {
   width: 100%;
   height: 502px;
   position: absolute;
   top: 0;
   left: 0;
}

#outline .photo img {
   border-radius: 40px 40px 0 0;
}

#outline h2 {
   max-width: 292px;
   margin: 0 auto 145px;
   color: #fff;
   position: relative;
}

#outline h2 .h-20 {
   position: absolute;
   top: 75px;
   right: 0;
   left: 0;
}

#outline .wrap {
   background-color: #fff;
   padding: 160px 150px 100px;
}

#outline .gmap {
   width: 100%;
   height: 360px;
   overflow: hidden;
   margin-top: 60px;
}

#outline .gmap iframe {
   display: block;
   width: 100%;
   height: 100%;
}

@media screen and (max-width: 1200px) {
   #outline .wrap {
      padding: 160px 50px 100px;
   }
}

@media screen and (max-width: 767px) {
   #outline .photo {
      height: 320px;
   }

   #outline .bg-cl01 {
      padding: 100px 0;
   }

   #outline h2 {
      width: 232px;
      margin-bottom: 100px;
   }

   #outline h2 .h-20 {
      top: 50px;
   }

   #outline .wrap {
      padding: 50px 5.8vw;
   }

   #outline .gmap {
      height: 300px;
      margin-top: 50px;
   }
}

#store {
   padding-top: 250px;
}

#store h2 {
   position: relative;
}

#store h2 span {
   display: inline-block;
}

#store h2 .img {
   max-width: 453px;
}

#store h2 .h-20 {
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
}

#store .box {
   display: grid;
   grid-template-columns: 345px 1fr;
   gap: 115px;
   padding-top: 142px;
}

#store .box .col {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   gap: 20px;
}

#store .box h3 {
   display: grid;
   grid-template-columns: 32px 1fr;
   align-items: center;
   gap: 15px;
}

#store .box .txt {
   line-height: 23px;
}

#store .box .txt dl {
   display: grid;
   grid-template-columns: 86px 1fr;
}

#store .box .txt dl+dl {
   border-top: 2px solid #F8F6EF;
   margin-top: 15px;
   padding-top: 15px;
}

#store .box .txt dl dd {
   font-weight: 500;
   position: relative;
   padding-left: 20px;
}

#store .box .txt dl dd:before {
   content: "：";
   position: absolute;
   top: 0;
   left: 0;
}

#store .box figure {
   position: relative;
   align-self: flex-start;
}

#store .box figure:before {
   content: '';
   width: 100%;
   height: 100%;
   background-color: #F8F6EF;
   border-radius: 20px;
   position: absolute;
   top: 25px;
   right: 25px;
}

@media screen and (max-width: 1023px) {
   #store .box {
      grid-template-columns: 1fr;
      gap: 50px;
   }

   #store .box figure:before {
      right: 15px;
   }
}

@media screen and (max-width: 767px) {
   #store {
      padding-top: 100px;
   }

   #store h2 {
      padding-bottom: 10px;
   }

   #store h2 .img {
      max-width: 280px;
   }

   #store .box {
      gap: 30px;
      padding-top: 50px;
   }

   #store .box+.box {
      padding-top: 80px;
   }

   #store .box figure:before {
      right: 15px;
   }

   #store .box .txt dl {
      grid-template-columns: 70px 1fr;
   }

   #store .box .txt dl dd {
      padding-left: 14px;
   }
}

/*=============================================
 * 採用情報
*=============================================*/
#recruit-kv {
   overflow: hidden;
   position: relative;
   color: #fff;
   padding-top: 220px;
}

#recruit-kv .photo {
   width: 100%;
   position: absolute;
   top: 0;
   right: 0;
   bottom: 75px;
   left: 0;
}

#recruit-kv .wrap {
   z-index: 1;
   padding-top: 70px;
}

#recruit-kv .deco {
   width: 1462px;
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
}

#recruit-kv h1 {
   width: 332px;
   position: relative;
   margin: 0 auto;
}

#recruit-kv h1 .sub {
   font-weight: 700;
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
}

#recruit-kv h2 {
   line-height: 1.75;
   padding-top: 48px;
}

#recruit-kv .slider {
   padding-top: 100px;
   position: relative;
   z-index: 1;
}

#recruit-kv .slider .infiniteslide {
   display: flex;
   gap: 35px;
   width: max-content;
}

#recruit-kv .slider figure {
   width: 455px;
}

#recruit-kv .slider figure img {
   border-radius: 20px;
}

.page-id-188 #recruit-kv,
.page-id-192 #recruit-kv {
   background-color: #F8F6EF;
}

@media screen and (max-width: 1023px) {
   #recruit-kv {
      padding-top: 0px;
   }

   #recruit-kv .wrap {
      padding-top: 220px;
   }

   #recruit-kv .deco {
      width: 960px;
   }
}

@media screen and (max-width: 767px) {
   #recruit-kv .wrap {
      padding-top: 32vw;
   }

   #recruit-kv .deco {
      width: 120%;
   }

   #recruit-kv h1 {
      width: 240px;
      padding-bottom: 10px;
   }

   #recruit-kv h2 {
      font-size: 18px;
      padding-top: 20px;
   }

   #recruit-kv .slider {
      padding-top: 50px;
   }

   #recruit-kv .slider .infiniteslide {
      gap: 23px;
   }

   #recruit-kv .slider figure {
      width: 74vw;
   }
}

#recruit-lead {
   padding: 200px 0 110px;
}

#recruit-lead h2 {
   width: 332px;
   margin: 0 auto;
}

#recruit-lead ul {
   display: grid;
   grid-template-columns: 288px 50px 288px 50px 288px;
   justify-content: center;
   align-items: center;
   gap: 25px;
   padding-top: 85px;
}

#recruit-lead ul li:not(.icon) {
   height: 170px;
   position: relative;
   padding-top: 118px;
   color: #fff;
}

#recruit-lead ul figure {
   position: absolute;
   top: 0;
   left: 0;
}

#recruit-lead ul h3 {
   position: relative;
}

#recruit-lead ul .txt {
   line-height: 20px;
   padding-top: 14px;
   position: relative;
}

@media screen and (max-width: 1200px) {
   #recruit-lead ul {
      grid-template-columns: 288px 30px 288px 30px 288px;
      gap: 10px;
   }
}

@media screen and (max-width: 1023px) {
   #recruit-lead ul {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
   }

   #recruit-lead ul li {
      width: 288px;
   }

   #recruit-lead ul li.icon {
      width: 50px;
   }
}

@media screen and (max-width: 767px) {
   #recruit-lead {
      padding: 100px 0;
   }

   #recruit-lead h2 {
      width: 250px;
   }

   #recruit-lead ul {
      padding-top: 50px;
   }
}

#interview {
   padding: 60px 0 180px;
}

#interview .wrap {
   padding-top: 100px;
}

#interview h2 {
   width: 439px;
   position: absolute;
   top: 0;
   left: 0;
   z-index: 1;
}

#interview .box {
   background-color: #fff;
   border-radius: 20px;
   padding: 80px 60px 60px;
}

#interview .box+.box {
   margin-top: 55px;
}

#interview .box:after {
   content: "." !important;
   clear: both !important;
   display: block !important;
   height: 0 !important;
   visibility: hidden !important;
}

#interview .box figure {
   width: 530px;
   float: right;
   margin-bottom: 20px;
   margin-left: 40px;
}

#interview .box h3 .tag {
   display: inline-block;
   background-color: #0F8633;
   color: #fff;
   font-weight: 700;
   margin-bottom: 10px;
   padding: 0 5px 0 15px;
}

#interview .box dl {
   padding-top: 50px;
}

#interview .box dl dt {
   display: grid;
   grid-template-columns: 40px 1fr;
   align-items: center;
   gap: 12px;
}

#interview .box dl dt span {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background-color: #DE3E2D;
   color: #fff;
   font-size: 21px;
   text-align: center;
   padding-top: 3px;
   box-sizing: border-box;
}

#interview .box dl dd {
   line-height: 25px;
   padding-top: 20px;
}

#interview .box.img-l figure {
   float: left;
   margin-right: 40px;
   margin-left: 0;
}

@media screen and (max-width: 1200px) {
   #interview .box figure {
      width: 50%;
   }
}

@media screen and (max-width: 767px) {
   #interview {
      padding: 50px 0 100px;
   }

   #interview .wrap {
      padding-top: 50px;
   }

   #interview h2 {
      width: 250px;
   }

   #interview .box {
      padding: 50px 20px 30px;
   }

   #interview .box+.box {
      margin-top: 30px;
      padding-top: 30px;
   }

   #interview .box figure {
      width: 100%;
      float: none;
      margin-bottom: 30px;
      margin-left: 0;
   }

   #interview .box dl {
      padding-top: 30px;
   }

   #interview .box.img-l figure {
      float: none;
      margin-right: 0;
   }
}

#schedule {
   padding: 40px;
}

#schedule .row {
   padding: 180px 40px 230px;
   border-radius: 40px;
}

#schedule h2 {
   width: 332px;
   margin: 0 auto;
   position: relative;
}

#schedule h2 .sub {
   font-weight: 700;
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
}

#schedule h3 {
   padding-top: 50px;
}

#schedule .calendar {
   background-color: #fff;
   width: 100%;
   margin-top: 100px;
   padding-top: 66%;
   position: relative;
}

#schedule .calendar>* {
   display: block;
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

@media screen and (max-width: 767px) {
   #schedule {
      padding: 0;
   }

   #schedule .row {
      padding: 100px 0;
      border-radius: 0;
   }

   #schedule h2 {
      width: 230px;
      padding-bottom: 10px;
   }

   #schedule h3 {
      padding-top: 30px;
   }

   #schedule .calendar {
      margin-top: 40px;
   }
}

#number {
   overflow: hidden;
   padding: 150px 0 220px;
}

#number h2 {
   width: 210px;
   position: relative;
   padding-bottom: 20px;
}

#number h2 .sub {
   font-weight: 700;
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
}

#number .slider {
   margin-top: 80px;
   position: relative;
}

#number .slider .slick-list {
   overflow: visible;
}

#number .slider .slide {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background-color: #DE3E2D;
   color: #fff;
   width: 256px;
   height: 256px;
   border-radius: 50%;
   margin: 0 25px;
   font-family: "LINE Seed JP", sans-serif;
   font-weight: 700;
   font-style: normal;
}

#number .slider .slide dt {
   font-size: 40px;
   line-height: 1;
}

#number .slider .slide dt span {
   font-size: 70px;
}

@media screen and (max-width: 767px) {
   #number {
      padding: 100px 0;
   }

   #number h2 {
      width: 160px;
   }

   #number .slider {
      margin-top: 30px;
   }

   #number .slider .slide {
      margin: 0 10px;
   }
}

#job-desc {
   padding-bottom: 180px;
   position: relative;
}

#job-desc .photo {
   height: 495px;
}

#job-desc .wrap:before {
   content: '';
   width: 890px;
   height: 150px;
   background: url("../img/index/strength-deco-1.webp") no-repeat center top/cover;
   position: absolute;
   bottom: 100%;
   left: 50%;
   transform: translateX(-50%);
}

#job-desc h2 {
   width: 368px;
   margin: 0 auto;
   position: relative;
   top: -20px;
}

#job-desc h2 .sub {
   display: block;
   margin-top: -10px;
}

#job-desc .tb-style {
   padding-top: 200px;
}

@media screen and (max-width: 1023px) {
   #job-desc .wrap:before {
      width: 720px;
      height: 120px;
   }
}

@media screen and (max-width: 767px) {
   #job-desc {
      padding-bottom: 100px;
   }

   #job-desc .photo {
      height: 56.25vw;
   }

   #job-desc .wrap:before {
      width: 100%;
      height: 17vw;
   }

   #job-desc h2 {
      width: 240px;
      top: 0;
   }

   #job-desc .tb-style {
      padding-top: 40px;
   }
}

#entry-form.mailform {
   padding: 165px 0;
}

#entry-form.mailform h2 {
   max-width: 284px;
   margin: 0 auto 70px;
   padding-bottom: 10px;
   position: relative;
}

#entry-form.mailform h2 .sub {
   display: block;
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
}

#entry-form.mailform .note {
   padding-bottom: 90px;
}

#entry-form.mailform .wpcf7 .select select,
#entry-form.mailform .wpcf7 input:not([type="checkbox"], [type="radio"]),
#entry-form.mailform .wpcf7 textarea {
   background-color: #F8F6EF;
}

#entry-form.mailform .form-wrap {
   background-color: #fff;
}

#entry-form.mailform .form-row+.form-row {
   border-top-color: #F8F6EF;
}

@media screen and (max-width: 1023px) {
   #entry-form.mailform .form-row {
      grid-template-columns: 280px 1fr;
   }
}

@media screen and (max-width: 767px) {
   #entry-form.mailform {
      padding: 100px 0;
   }

   #entry-form.mailform h2 {
      width: 180px;
      padding-bottom: 15px;
   }

   #entry-form.mailform .note {
      padding-bottom: 50px;
   }

   #entry-form.mailform .form-row {
      grid-template-columns: 1fr;
   }
}