/*
Template:generic
Theme Name:generic-child
*/

@media (prefers-color-scheme: light) {
  body, #container, #header {
    background: #fff !important;
  }
}

@media (prefers-color-scheme: dark) {
  body, #container {
  background: #fff;
  }
}

body {
  color: #333;
  font-size: 18px;
  font-family: "Noto Sans JP",
  "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  line-height: 160%;
}

.page #content p, .single-post #content p {
  font-size: 18px;
  line-height: 180%;
}

h1, h2, h3, h4, h5, h6, .single-tt {
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 140%;
}

h1 {
  background-image: url('../../uploads/2025/09/midashi-bg.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  color: #fff;
  padding: 1em 1em 1em 5em;
  margin: 0 !important;
  line-height: 160% !important;
  min-height: 240px;
  display: flex;
  align-items: center;
}

.page-id-2 h2 {
  font-size: 4em;
  font-weight: 600;
  letter-spacing: 1px;
}

.entry-content h2:first-of-type {margin-top: 0;}

.cta-container h2 {
  color: #fff;
  font-size: 3em;
  font-weight: 600;
  letter-spacing: 1px;
}

.ex-tt, .works-title {margin: 0;}

.ex-tt a, .works-title a {
  background: #ebf4f5;
  border-bottom: 4px solid #0098b2;
  display: block;
  text-decoration: none;
  padding: .5em 1em;
}

.works-title a {
  display: block;
  text-decoration: none;
}

.page-id-2 h3 {
  font-size: 1.6em;
  font-weight: 600;
}

.bner-layer h3 {
  background-image: url('../../uploads/2025/09/cck-icon.png');
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 6.5em;
  height: 58px;
}

.single-tt {
  border-bottom: 2px solid #233b95;
  font-size: 24px;
  font-weight: 900;
  padding-bottom: 1em;
}

.single-post table td,
.single-post table th {
  border: 1px solid #767676;
}

.entry-content ul,
.widget-container ul,
.comment-body ul {
  list-style-type: circle;
  text-indent: 0;
}

.entry-content ul li:before,
.widget-container ul li:before,
.comment-body ul li:before {
  content: none;
}

.entry-content ul li, .widget-container ul li, .comment-body ul li {list-style-type: none;}

.entry-content li, .widget-container li, .comment-body li {line-height: 160%}

a {color: #333;}
a:hover {opacity: .8;}

.breadcrumb-layer {
  background: #f6f6f6;
  color: #333;
  font-weight: 500;
  padding: .6em 0;
  margin-bottom: 2em;
}

.aioseo-breadcrumb a {
  color: #333;
  text-decoration: none;
}

.breadcrumb-area {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 2%;
  max-width: 1200px !important;  
}

.breadcrumb-layer .current-item, .breadcrumb-layer .home,
.breadcrumb-layer .category {text-decoration: none;}

#header, #container, #footer {
  padding: 0;
  overflow: hidden;
}

.header-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0 1em 2%;
}

.top-left a {display: inline-block;}

.top-left {
  float: left;
  padding: 0;
}

.top-right {
  display: flex;
  float: right;
  justify-content: center;
}

#content {
  float: none;
  margin: 4em auto;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  padding: 0 2% !important;
}

.page-id-2 #content, .page-id-11 #content, .page-id-13 #content {
  background: transparent !important;
  border-radius: 0px;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 100%;
}

.container-1200, .page-id-107 .container-1200, .nayami-layer,
.category .container-1200, .single .container-1200 {
  max-width: 1200px !important;
  margin: 0;
  margin: 0 auto;
  overflow: hidden;
  padding: 4em 2%;
}

.page-id-107 .container-1200, .category .container-1200,
.single .container-1200 {padding: 2em 2%;}

.content-1200 {
  max-width: 1200px !important;
  margin: 0;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 2%;
}

.cta-layer02-inner {
  max-width: 1000px !important;
  margin: 0;
  margin: 0 auto;
  overflow: hidden;

  display: flex !important;
  align-items: center !important;
}

.cta-layer02-inner figure,
.cta-layer02-inner img {
  display: block;
  margin: 0 auto;
}

.cta-layer02-inner a {display: inline-block;}

#menu-item-24 a {
  background: #f67824;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8em 2em;
}

#menu-item-24 span:before {
  content: url('../../uploads/2025/09/mail-icon.png');
  padding-right: 10px;
}

#menu-item-24 span:after {
  content: url('../../uploads/2025/09/arrow-wh.png');
  padding-left: 10px;
}

#menu a {
  color: #333;
  padding-bottom: 0;
}

#menu {
  float: unset;
  margin-top: 0;
}

#menu-gn li a {
  color: #333;
  display: block;
  font-weight: 600;
  margin: 0;
  text-decoration: none;
  padding: 1em 0;
}

#menu span {
  padding: 0 1em;
  display: block !important;
}

#menu-gn {
  display: flex !important;
  position: unset !important;
  justify-content: flex-end;
  margin: 0 auto !important;
  max-width: 1000px !important;
  font-weight: 500;
}

#pc-eyecatch {display: block !important;}
#pc-eyecatch img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: right;
  margin: 0 auto;
}

#news-tt {font-weight: 600;}
#news-tt:after {
  content: 'お知らせ';
  color: #333;
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: -1em;
}

.news-layer .wp-block-latest-posts__list > li {
  list-style: none;
  margin: 0;
  padding: 1.5em 0;
  border-top: 1px solid #333;
}

.news-layer .wp-block-latest-posts__list > li:last-child {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.news-layer ul li a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  padding-left: 2em;
  padding-right: 2em;
}

.news-layer ul li:last-child {border: none;}
.news-layer ul {margin: 0 !important;}

.news-layer a {
  color: #000;
  text-decoration: none;
}

.news-layer .wp-block-buttons, .mg-top {margin-top: 0;}
.news-btn {width: 70%;}
.normal-btn {width: 30%;}

.news-btn a, .normal-btn a {
  font-size: 15px;
  font-weight: 600;
}

 .ex-btn {
  padding-top: 1em;
  padding-bottom: 4em;
}
 
 .ex-btn a {
  background: #fff;
  border: 2px solid #0098b2;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  color: #0098b2;
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  padding: 1em 2em;
}

.news-btn a:after {
  content: url('../../uploads/2025/09/arrow-mint.png');
  float: right;
}

.normal-btn a:after, .ex-btn a:after {
  content: url('../../uploads/2025/09/arrow-mint.png');
  padding-left: 5px;
}

.pdf-btn {
  padding: 2em 0;
  text-align: center;
}

.pdf-btn a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  font-size: 1.4em;
}

.pdf-btn a::before {
  content: "";
  display: inline-block;
  width: 35px;
  height: 35px;
  background: url('../../uploads/2025/09/pdf-icon.png') no-repeat center / contain;
  flex: 0 0 35px;
  padding-right: 10px;
}

.pdf-btn a::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background: url('../../uploads/2025/09/pdf-arrow.png') no-repeat center / contain;
  flex: 0 0 25px;
}

.pdf-btn a strong {line-height: 1;}

.tel-btn {
  width: 40%;
  margin: 2em auto !important;
}

.tel-btn a {
  background-image: url('../../uploads/2025/09/tel-icon.png');
  background-repeat: no-repeat;
  background-position: left 1em center;
  display: inline-block;
  padding: .5em 0 .5em 1.5em;
  font-size: 2em;
  font-weight: 600;
  letter-spacing: 2px;
}

.sumai-layer p, .cta-layer01 p {
  font-size: 1.125rem !important;
  font-weight: 600;
  line-height: 180% !important;
}

.service-right, .check-list, .area-layer, .reason-list, .recrute-list {
  background: #f3f4f5;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  padding: 2em;
}

.check-list {
  margin-left:0 !important;
  width: 70%;
}

.reason-list, .recrute-list {
  margin-left:0 !important;
  width: 60%;
}

.service-right p {line-height: 200% !important;}

.service-right li, .check-list li, .recrute-list li {
  font-weight: 600;
  font-size: 1.1em;
  list-style-image: url('../../uploads/2025/09/check.png');
}

.reason-list li {list-style-image: url('../../uploads/2025/09/check.png');}

.reason-list li strong {
  font-size: 1.2em;
  font-weight: 600;
  display: inline-block;
  padding: .5em 0;
}

.check-list li, .reason-list li, .recrute-list li {
  margin-left: 2em;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.reason-list-layer {
  background: url(../../uploads/2025/09/reason-img.png) no-repeat right center;
  background-size: 65%;
  max-width: 1200px !important;
  margin: 2em auto;
  overflow: hidden;
  padding: 2em 0;
}

.check-list-layer {
  background: url(../../uploads/2025/09/recrutement-img.png) no-repeat right center;
  background-size: 80%;
  max-width: 1200px !important;
  margin: 2em auto;
  overflow: hidden;
  padding: 2em 0;
}

.recrute-list-layer {
  background: url(../../uploads/2025/09/recrutement-img.png) no-repeat right center;
  background-size: 80%;
  max-width: 1200px !important;
  margin: 2em auto;
  overflow: hidden;
  padding: 4em 0;
}

.service-container {
  background: url('../../uploads/2025/09/service-bg.png');
  background-repeat: no-repeat;
  background-position: top center;
}

.my-block {
  position: relative;
  background-color: #f3f3f3;
  padding: 0;
  overflow: visible;
  margin-top: 4em;
  margin-bottom: 4em;
}

.my-blockblog, .my-blockflow {
  position: relative;
  background-color: #f3f3f3;
  padding: 0;
  overflow: visible;
  margin-top: 4em;
}

.my-blockflow::before,
.my-blockflow::after,
.my-blockblog::before,
.my-block::before,
.my-block::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

.my-block::before, .my-blockblog::before, .my-blockflow::before {
  top: -120px;
  background-image: url('../../uploads/2025/09/graybg-bf.png');
  background-position: center top;
}

.my-block::after {
  bottom: -100px;
  background-image: url('../../uploads/2025/09/graybg-at.png');
  background-position: center bottom;
}

.my-blockflow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 471px;
  background: url('../../uploads/2025/09/pp-logo.png') no-repeat right 20% bottom;
  background-size: 504px 471px;
}

.step-cards {
  counter-reset: step;
  gap: 24px;
}

.step-cards .wp-block-column {
  position: relative;
  background: #ededed;
  border-radius: 16px;
  padding: 20px 20px 20px 88px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  z-index: 9999; 
}

.step-cards .wp-block-column::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 60px;
  background: #0aa1b1;
  border-radius: 12px;
}

.step-cards .step-card01::after,
.step-cards .step-card02::after,
.step-cards .step-card03::after,
.step-cards .step-card04::after,
.step-cards .step-card05::after,
.step-cards .step-card06::after,
.step-cards .step-card07::after {
  content: "Step";
  position: absolute;
  left: 6px;
  top: -30px;
  bottom: 12px;
  width: 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  writing-mode: vertical-rl;
  text-orientation: mixed;

  color: #fff;
  font-weight: 700;
  font-size: 1.4em;
  letter-spacing: .2em;
}

.step-cards .step-card01::before,
.step-cards .step-card02::before,
.step-cards .step-card03::before,
.step-cards .step-card04::before,
.step-cards .step-card05::before,
.step-cards .step-card06::before,
.step-cards .step-card07::before {
  content: "01";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60px;

  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 70px;

  writing-mode: horizontal-tb;
  font-weight: 700;
  font-size: 1.4em;
  color: #fff;
}

.step-cards .step-card02::before {content: "02";}
.step-cards .step-card03::before {content: "03";}
.step-cards .step-card04::before {content: "04";}
.step-cards .step-card05::before {content: "05";}
.step-cards .step-card06::before {content: "06";}
.step-cards .step-card07::before {content: "07";}

.step-card01 p, .step-card02 p,
.step-card03 p, .step-card04 p,
.step-card05 p, .step-card06 p,
.step-card07 p {font-size: 16px !important;}

.step-card01, .step-card02, .step-card03,
.step-card04, .step-card05, .step-card06,
.step-card07 {
  font-size: 16px !important;
  height: 260px;
}

.step-cards .wp-block-column .wp-block-heading {
  margin: 0 0 .4em;
}
.step-cards .wp-block-column p {
  margin: 0;
  line-height: 1.8;
  color: #333;
}

.step-cards .wp-block-column {
  --radius: 16px;
  border-radius: var(--radius);
}

.step-cards .wp-block-column::before {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

table {margin-top: 0;}

table th, table td {border: none !important;}
table th {
  background: #e9e9e9;
  vertical-align: middle;
  text-align: left;
  font-weight: 600;
  padding: 1em !important;
  width: 32% !important;
}

table td {
  vertical-align: middle;
  padding: 1em !important;
}

table tr {
  border-top: 1px solid #bdbdbd;
  border-bottom: 1px solid #bdbdbd;
}

.tb-contact th p, .tb-contact td p {margin: 0 !important;}

.tb-contact th {
  background: #0098b2;
  color: #fff;
  text-align: left;
  vertical-align: middle;
}

.tb-contact th strong {
  background: #fff;
  color: #f7833d;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  float: right;
  padding: 0 10px;
  margin-left: 10px;
}

.tb-contact tr {border: none;}

.tb-contact th, .tb-contact td {
  border: none !important;
  border-bottom: 5px solid #fff !important;
  padding: 1em;
}

.tb-contact td {background: #f3f3f3;}

select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
textarea {
  background: #fff;
  border: 1px solid #ddd;
  width: 100% !important;
  margin: 0 !important;
}

input[type="submit"] {
  background-color: #0098b2;
  background-image: url('../../uploads/2025/09/mail-icon.png');
  background-repeat: no-repeat;
  background-position: left 3.5em center;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: .8em 1.5em .8em 2.5em;
  font-size: 22px !important;
  font-family: "Noto Sans CJK JP",
  "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  letter-spacing: .1em;
  width: 30%;
}

input[type="submit"]:hover {
  color: #fff !important;
  background-color: #008299 !important;
}

.align-c {text-align: center;}

.cta-container {
  background-image: url('../../uploads/2025/09/bnr-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cta-layer01 {
  background-color: #fff;
  background-image: url('../../uploads/2025/09/cta-bg.png');
  background-repeat: no-repeat;
  background-position: right center;
  box-shadow: 0 0 0 10px rgba(255,255,255,.5);
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  padding: 2.5em 2em;
}

.cta-layer01 h3 span {
  background: url('../../uploads/2025/09/campain01.png') no-repeat left center,
            url('../../uploads/2025/09/campain02.png') no-repeat right center;
  font-size: 24px;
  font-weight: 700;
  padding: 0 2.5em;
}

.cta-layer01 strong {
  font-size: 2.3em;
  font-weight: 600;
  letter-spacing: 1px;
}

.cta-layer01 strong span {
  background: url('../../uploads/2025/09/bnrline.png');
  background-repeat: no-repeat;
  background-position: center bottom;
}

.cta-layer02 {
  background: #233b95;
  margin-top: 0;
  color: #fff;
  padding: 1em 2%;
}

.cta-btn a {
  background: url('../../uploads/2025/09/bnr-mailicon.png') no-repeat left 20px center,
            url('../../uploads/2025/09/arrow-mint.png') no-repeat right 20px center;
}

.cta-btn a strong {padding-left: 1em;}

.bnr01 h3, .bnr02 h3 {
  background: url('../../uploads/2025/09/yellow-line.png');
  background-position: bottom center;
  background-repeat: no-repeat;
  text-align: center;
  padding: .5em 0;
}

.bnr01, .bnr02 {
  background: #fff;
  border: 1px solid #0098b2;
  color: #241e1c;
  font-weight: 600;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  padding: .5em;

  transition: opacity .2s ease;
  cursor: pointer;
}

.bnr01 .wp-block-columns, .bnr02 .wp-block-columns {
  background: #f3f4f5;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.bnr01:hover, .bnr02:hover, .cta-layer01:hover {opacity: .6;}

.mid-txt {
  font-size: 18px !important;
  line-height: 180% !important;
  margin-top: 0;
}

.ba-wrap {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  padding-top: 1em;
  padding-bottom: 4em;
}

.work-wrap {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 1em;
}

.works-grid__item {width: 100%;}

.ba-card, .works-layer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.works-layer {justify-content: space-around;}
.ba-card {
  max-width: 50%;
  justify-content: center;
}

.ba-card-before,
.ba-card-after {
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}

.ba-card-before img, .ba-card-after img,
.work-wrap .ba-card-before img, .work-wrap .ba-card-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-layer .ba-card-before {
  float: left;
  width: 40% !important;
}

.works-layer .ba-card-after {
  float: right;
}

.works-layer .ba-card-before,
.works-layer .ba-card-after {
  display: flex;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.ba-card-before::before,
.ba-card-after::before {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.4em;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  letter-spacing: 5px;
}

.ba-card-before::before {background-color: #939495;}
.ba-card-after::before {background-color: #0097b2;}

.work-wrap .ba-card-before::before,
.work-wrap .ba-card-after::before {font-size: 1.1em;}

.ba-card img {
  display: block;
  height: auto;
  max-width: 100%;
}

.ba-card .frtimg01 {
  display: block;
  height: 270px !important;
  max-width: 100%;
}

.ba-card .frtimg, .ba-card .frtimg02 {
  display: block;
  height: 370px !important;
  max-width: 100%;
}

#footer {
  font-size: 15px;
  letter-spacing: 1px;
  text-align: center;
  padding: 2em 2%;
}

#copyright {color: #333;}
#footer a {
  display: inline-block;
  padding-bottom: 1em;
}

.category-box ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.category-box ul li {
  align-items: center;
  display: flex;
}

.category-box ul li a {
  color: #333;
  display: inline-block;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  padding: .8em 1em;
}

#blog-container {
  background: #fff;
  border-radius: 25px;
  display: block;
  overflow: hidden;
  padding: 2em 2%;
}

.category #blog-container,
.page-id-90 #blog-container {margin-top: 2.5em;}

.blog-layer {
  background: #fff;
  border-radius: 25px;
  max-width: 1200px !important;
  overflow: hidden;
  padding-bottom: 4em;
}

.blog-tt {
  margin: 0;
  padding: 0;
}

.blog-tt a, #blog-container h2 a {
  border-bottom: 2px solid #233b95;
  color: #000;
  display: block;
  font-size: 22px;
  text-decoration: none;
  text-align: left;
  padding: 0 0 .5em 0;
  line-height: 160%;
}

.description-layer {padding: 1em 1.5em;}

.date-layer {
  color: #0098b2;
  font-weight: 600;
}

.wp-block-latest-posts__post-date {
  display: inline-block;
  float: left;
  padding: 0 1em;
}

.entry-summary {
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  padding: 1em 0;
}

.entry-summary .thumb {
  flex: 0 0 220px;
  display: block;
}

.entry-summary .thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.entry-summary .description-layer {
  flex: 1;
  min-width: 0;
}

.entry-summary .wp-post-image { margin-bottom: 0; }

.page-id-2 .entry-title, .wpcf7-spinner, .mb-block {display: none !important;}
.pc-block {display: block !important;}
#block-3 {margin-bottom: 0;}
#block-3 ul {
  margin: 0 !important;
  margin-top: 1em;
}

#block-3 h3 {
  border-top: none;
  border-bottom: 2px dashed #25a74d;
  font-size: 1.2em;
  padding: .5em;
  text-align: left;
}

#block-3 h3:before {display: none;}

.pagenavi-layer {
  width: 100%;
  margin: 0 auto 2em 0;
  overflow: hidden;
  text-align: center;
}

.wp-pagenavi {
  padding: 2em 1em 1em 1em;
  width: 100%;
  overflow: hidden;
}

.wp-pagenavi a, .wp-pagenavi span {
  background: #fff;
  border: 1px solid #233b95;
  border-radius: 5px;
  color: #000;
  display: inline-block;
  padding: .4em .8em !important;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
  background: #233b95;
  border-radius: 5px;
  color: #fff;
}

.wp-pagenavi span.current {border: none;}

.blogsc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blogsc-card {
  display: flex;
  flex-direction: column;
  gap: 10px; }

.blogsc-thumb {
  display: block;
  overflow: hidden;
}

.blogsc-thumb-img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.blogsc-thumb--placeholder {background: #e9eef3;}

.blogsc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1em;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.blogsc-date { letter-spacing: .02em; }

.blogsc-cat {
  display: inline-block;
  padding: .5em 1em;
  border: 1px solid #333;
  line-height: 1;
  text-decoration: none;
  color: #333;
}

.blogsc-title {
  font-size: 18px !important;
  line-height: 1.6;
  margin: 0;
}

.blogsc-title a {
  color: #333;
  display: block;
  text-decoration: none;
  font-size: 19px;
  padding: 1em 0;
}

.blogsc-title a:hover {text-decoration: underline;}

@media (min-width: 1586px) {
  h1 {
    background-image: url('../../uploads/2025/09/midashi-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .mb-block {display: none !important;}


}

@media(max-width: 1270px) {

  #menu span {padding: 0 .4em;}

  h1 {
    background-position: center;
    background-size: cover;
    padding: 1em 1em 1em 2em;
    min-height: 260px;
  }

  .mb-block {display: none !important;}


}


@media(max-width: 1024px) {

  #menu, .mb-block {display: none !important;}
  input[type="submit"] {width: 50%;}

  .tel-btn {width: 70%;}




}

@media screen and (max-width: 767px) {
  :root { color-scheme: light; }
  body, #container, #header {
    background-color: #fff !important;
    color: #333 !important;
  }
}

@media (max-width: 740px) {

  h1 {
    background-image: url('../../uploads/2025/09/mbttbg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right -.3em center;
    min-height: 160px;
  }

  h2 {font-size: 1.75rem;}
  .page-id-2 h2 {font-size: 2.7rem;}
  .nayami-layer h2, .nayami-box {padding: 0 2%;}

  .works-title, .ex-tt {font-size: 1.2em;}
  .uketsuke {font-size: 1.25rem !important;}

  .page-id-2 h3 {
    font-size: 1.5rem;
    margin-top: 10px;
  }

  .cta-container h2 {font-size: 1.4rem;}
  .cta-layer01 h3 span {
    background-size: auto 25px, auto 25px;
    display: block;
    font-size: 1.15rem;
    padding: 0 .3em;
    text-align: center;
  }

  .header-layer {display: block;}
  .top-left {
    display: block;
    width: 100%;
    text-align: left;
    padding: .5em 0;
  }

  .top-right {display: none !important;}

  .page #content p {margin-top: 10px;}
  .wp-block-image.size-full {margin-top: 1em;}
  .cta-layer02-inner p, .cta-layer02-inner .wp-block-image.size-full {margin-top: 0 !important;}
  .cta-layer02-inner .wp-block-image.size-full {
    padding: 1em 0;
    width: 300px !important;
    height: auto !important;
    display: block;
  }

  #content {margin: 2em auto;}
  .container-1200 {padding: 2em 2%;}
  .nayami-layer {padding: 2em 0 4em 0 !important;}

  .news-btn {
    width: 45%;
    padding-top: 10px;
  }

  .normal-btn {width: 45%;}

  .bner-layer h3 {
    background: none;
    display: block;
    padding-left: 0;
    vertical-align: middle;
    height: auto;
  }

  .bner-layer h3::before {
    content: "";
    background: url('../../uploads/2025/09/cck-icon.png') no-repeat left center;
    background-size: contain;
    display: block;
    width: 100%;
    height: 35px;
    margin-bottom: 10px;
  }

  .bner-layer {
    border-bottom: 1px solid #0098b2;
    margin: 2em 0;
  }

  .bner-layer .wp-block-column {
    border-top: 1px solid #0098b2;
    padding: 1.5em .5em;
  }

  .pdf-btn .wp-block-button, .pdf-btn a {
    display: block !important;
    font-size: 1.1em;
    width: 100%;
  }

  .pdf-btn a::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../../uploads/2025/09/pdf-icon.png') no-repeat center / contain;
    flex: 0 0 30px;
    float: left;
  }

  .pdf-btn a::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 30px;
    background: url('../../uploads/2025/09/pdf-arrow.png') no-repeat center / contain;
    flex: 0 0 20px;
    float: right;
  }

  .pdf-btn a strong {line-height: 1.5;}

  .tb-contact th, .tb-contact td {
    display: block;
    width: 100% !important;
  }

  .tel-btn {width: 100%;}
  .mid-txt {text-align: left;}

  .news-layer {padding-bottom: 6em;}

  .news-layer .wp-block-latest-posts__list > li {padding: .5em 0;}
  .check-list-layer {
    background: url(../../uploads/2025/09/recrutement-img.png) no-repeat right center;
    background-size: cover;
    display: block;
    font-weight: 400;
    font-size: 15px;
    padding: 3em 2% !important;
  }

  .reason-list-layer {
    background: url(../../uploads/2025/09/reason-img.png) no-repeat right center;
    background-size: cover;
    display: block;
    padding: 3em 2% !important;
  }

  .news-layer ul li a {
    display: block;
    padding: 0 .5em;
    font-weight: 400;
    font-size: 15px;
  }

  #news-tt {
    font-size: 1.75em;
    padding-bottom: 0;
    line-height: 110%;
  }

  #news-tt:after {margin-top: 0;}

  .wp-block-latest-posts__list li {
    display: flex;
    flex-direction: column;
  }

  .wp-block-latest-posts__post-date {
    order: -1;
    display: block;
    padding: 0;
  }

  .wp-block-latest-posts__post-title {order: 0;}

  .entry-summary {
    display: block;
    margin-bottom: 0;
    padding: 0;
  }

  .description-layer, #blog-container {padding: 1em 0 2em 0;}
  .breadcrumb-layer {margin-bottom: 1em;}

  .cta-layer01 {
    background-image: none;
    background-color: #f3f4f5;
    border-radius: 25px;
    border-bottom-left-radius: 25px;
    padding: 2em 1em;
  }

  .cta-layer01 strong {
    display: block;
    text-align: center;
    font-size: 1.4em;
  }

  .blogsc-grid, .blogsc-card, .mb-block {display: block !important;}
  .pc-block {display: none !important;}

  .cta-layer02-inner {
    text-align: center;
    padding: 1.5em 2%;
  }
  
  .blogsc-card {padding: 1em .4em;}

  .blogsc-card .blogsc-thumb-img {margin-bottom: 0;}

  .check-list, .reason-list, .recrute-list {width: 100%;}
  .service-right ul {margin: 1em 0 1em 2em;}

  .tel-btn {width: 100%;}
  .tel-btn a {font-size: 1.6em;}

  .ex-btn {padding-bottom: 3em;}

  .ex-btn a {
    display: block;
    font-size: 17px;
    padding: 1em;
  }

  .ex-btn a:after {float: right;}

  .wp-block-columns.service-layer.is-layout-flex {gap: 0 !important;}

  .bnr01 .wp-block-columns, .bnr02 .wp-block-columns,
  .cta-layer02-inner {
    --wp--style--block-gap: 0px !important;
    gap: 0 !important;
  }

  .bnr01, .bnr02 {
    display: block;
    padding: .3em;
  }
  
  .mbcm-left {
    flex-basis: 60% !important;
    width: 60% !important;
    padding: .4em 0 .9em 1em;
  }

  .mbcm-left p {
    font-size: 1rem !important;
    text-align: left;
    line-height: 150% !important;
  }

  .mbcm-left h3 {
    font-size: 1.25rem !important;
    text-align: left;
  }

  .bnr01 h3,
  .bnr02 h3 {
      background: url(../../uploads/2025/09/yellow-line.png);
      background-position: bottom left;
      background-repeat: no-repeat;
      text-align: left;
      padding: .5em 0;
      background-size: 80px auto;
  }
  
  .mbcm-right {
    flex-basis: 40% !important;
    width: 40% !important;
  }

  .service-container {
    background: url('../../uploads/2025/09/service-bg.png');
    background-repeat: no-repeat;
    background-position: -400px center;
    background-size: cover;
    padding-bottom: 6em;
  }

  .service-right li::marker, .check-list li::marker,
  .reason-list li::marker, .recrute-list li::marker {content: none;}
  .service-right ul li, .check-list li, .recrute-list li {
    list-style-image: none !important;
    background: url('../../uploads/2025/09/mb-check.png') no-repeat left center;
    padding-left: 1.5em;
  }

  .reason-list li {
    list-style-image: none !important;
    background: url('../../uploads/2025/09/mb-check.png') no-repeat left top 12px;
    padding-left: 1.5em;
  }

  .service-right ul, .check-list, .reason-list,
  .check-list, .check-list li, .reason-list li, .recrute-list li {margin-left: 0 !important;}
  .step-card07 {margin-bottom: 2em;}

  .blogsc-title a {
    color: #333;
    display: block;
    text-decoration: none;
    font-size: 19px;
    padding: 1em 0;
  }

  .my-blockblog {
    margin-top: 6em;
    margin-bottom: 0;
  }

  .my-block {margin-bottom: 6em;}

  .service-right, .check-list, .area-layer, .reason-list, .recrute-list {padding: 1em 2% !important;}

  .work-wrap {padding-bottom: 0;}
  .ba-card {
    float: left;
    width: 50%;
    margin: 0 auto;
  }

  .works-layer .ba-card-before, .works-layer .ba-card-after {aspect-ratio: 1;}

  .work-wrap {display: block;}
  .ba-wrap .ba-card-before,
  .works-layer .ba-card-before {
    float: left;
    width: 40% !important;
  }

  .cta-layer01 {
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0;
  }

  .mb-cta-layer {
    background-color: #fff;
    box-shadow: 0 0 0 5px rgba(255,255,255,.5);
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    padding: 2em .8em;
  }

  .wp-block-image .wp-image-361 {
    width: 200px !important;
    height: auto !important;
    display: block;
  }

  .my-blockflow::after {
    background: url('../../uploads/2025/09/pp-logo.png') no-repeat right bottom;
    background-size: 300px 280px;
    background-position: right center;
    height: 280px;
  }

  .mb-mgbtm {padding-bottom: 2em;}
  .my-blockflow {padding-bottom: 3em;}

  .step-cards .wp-block-column {padding: 20px 15px 20px 74px;}

  .ba-card .frtimg {height: 240px !important;}


}