[id] {
  scroll-margin-top: 180px;
}

.ls-1 {
  letter-spacing: 0.1em;
}
.ls-2 {
  letter-spacing: 0.2em;
}
.ls-tight {
  letter-spacing: -0.05em;
}
.p-base {
  letter-spacing: 0.05em;
  line-height: 2.5;
  font-weight: 500;
}
.fw-bold {font-weight: bold;}
.fw-400 {font-weight: 400;}
.gothic-a1 {
  font-family: "Gothic A1", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.highlight{
  background:#7fbe26;
  color:#fff;
  padding:4px 8px;
  border-radius:4px;
}
.fs-s { font-size: .8rem; }
.fs-11r { font-size: 1.1rem; }
.fs-12r { font-size: 1.2rem; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.font-color-bl {
  color: #1b60a2;
}
.font-color-pk {
  color: #ed848c;
}
.cstm-wave svg{
  width:100%;
  height:101px;
  display:block;
  margin-bottom: -1px;
}

.down-wave{
  transform: rotate(180deg);
  margin-top: -1px;
}
@media (max-width: 767.98px) {
  .p-base {
  letter-spacing: 0;
  line-height: 2;
}
}
/* ==============================
   RESPONSIVE
============================== */
.pc-br { display:none; }
.ipad-br { display:none; }
.sp-br { display:none; }
@media (min-width:992px){
  .pc-br{display:inline;}
}
@media (min-width:768px) and (max-width:991px){
  .ipad-br{display:inline;}
}
@media (max-width:767px){
  .sp-br{display:inline;}
}
/* ==============================
.TOPpage
============================== */
@media screen and (min-width: 769px) {
  #js-hamburger {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  #js-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background-color: #1c65ad;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-left: auto; 
    position: relative; 
  }
  #js-hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s;
  }
  #js-hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  #js-hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #js-hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

}

/* ==============================
.TOPpage header.php
============================== */
.head_overlay-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1300;
  background: #fff;
}
.admin-bar .head_overlay-header {
  top: 32px;
}
.head_overlay-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 100px;
}
.head_overlay-header__textlogo p {
    margin-bottom: 0;
    text-align: center;
    color: #5a7d9a;
    padding-left: 20px;
}
.head_overlay-header__left img {
  max-height: 60px;
  padding: 5px 0;
}
.head_overlay-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.head_overlay-header__textlogo img {
  width: 285px;
}
.head_overlay-header__nav ul {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.head_overlay-header__nav li {
  text-align: left;
}
.head_overlay-header__nav a {
  display: block;
  padding: 5px 0 5px 20px;
  color: #333;
  text-decoration: none;
}
.head_overlay-header__nav .sub-menu a {
  padding-top: 10px;
}
.head_overlay-header__nav a:hover {
  color: #2f7fd1;
}
.head_overlay-header .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 220px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  display: block !important;
  flex-direction: column;
}
.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.head_overlay-header .sub-menu li a {
  display: block;
  padding: 8px 15px;
  color: #333;
}
.head_overlay-header .sub-menu li a:hover {
  background: #cfe3f7;
}
@media (max-width: 991px) {

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .sub-menu.open {
    display: block;
  }
}
.head_overlay-header .overlay-menu > li {
  position: relative;
}
.menu-item-has-children:hover .sub-menu {
  display: block;
}
.menu-item-has-children > a::after {
  content: "▼";
  font-size: 10px;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
}
@media (max-width: 991px) {
  .head_overlay-header__inner {
    padding: 5px 10px !important;
  }
}
@media (max-width: 767px) {
.head_overlay-header__textlogo p {
  display: none;
}
.head_overlay-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
}
  .head_overlay-header__nav {
    display: none;
  }
}
/*お片付け隊ヘッダー*/
.head_overlay-header__left_cleanlogo img {
  padding: 5px 0;
}
.head_overlay-header__tel{
  display:flex;
  gap:10px;
}

.head_overlay-header__tel img{
  height:40px;
}

.head_overlay-header__tel-number{
  font-size:22px;
  font-weight:bold;
  color:#333;
}
.head_overlay-header__businesshours{
  font-size: 1.2rem;
  text-align: end;
  font-weight: bold;
  color:#333;
  line-height: 1;
}
.head_overlay-header__tel a {
  display: block;
  color: #666666;
  text-decoration: none;
  font-size: 2rem;
  padding: 0;
  line-height: 1;
}
 @media (max-width: 767px) {
.head_overlay-header__textlogo img {
  display: none;
}
.head_overlay-header__left_cleanlogo img {
  height: 60px;
}
 } 
/* ==============================
   DRAWER
============================== */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  /*max-width: 400px;*/
  height: 100vh;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  z-index: 1200;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer__nav {
  padding: 60px 20px;
}
.drawer__nav ul li {
  padding: 20px 0;
  border-bottom: #c7d0d9 1px solid;
}
.drawer__nav ul li img {
  width: 80%;
}
.drawer-menu {
  padding-left: 0;
}
.drawer-menu a {
  text-decoration: none;
  font-weight: 500;
}
.drawer-menu a:hover,
.drawer-menu a:focus {
  opacity: 0.7;
}

.menu-item-137,
.drw-contact {/*drawer-menu_contact*/
  text-align: center;
   font-size: 1.2rem;
  font-weight: 700;
  background-color: #1c65ad;
  padding: 10px 20px !important;
  border-radius: 50px;
  margin-top: 30px; 
}
.menu-item-137 a,
.drw-contact a {
  color: #fff;
}
.menu-item-138,
.drw-tel {/*drawer-menu_contactform*/
  text-align: center;
  border-bottom: 0 !important;
  font-size: 1.2rem;
  font-weight: 500;
}

.drawer-menu .sub-menu {
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.4s ease-out; 
  padding: 0;
  margin-bottom: 0;
}
.drawer-menu .sub-menu li {
  border-bottom: 0;
}

.drawer-menu .menu-item-has-children {
  position: relative;
}

.drawer-menu .menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 40px;
  position: relative;
}
.drawer-menu .menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #1c65ad; 
  border-bottom: 2px solid #1c65ad;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.drawer-menu .menu-item-has-children.is-active > a::after {
  transform: rotate(-135deg); 
}
.drawer-menu .sub-menu a {
  padding-left: 2em;
}
.drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.drawer-grid a {
  display: block;
  padding: 10px;
  background: #f5f5f5;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
}
.drawer-grid a:nth-child(1) {
  background: #ef858c;
}

.drawer-grid a:nth-child(2) {
  background: #7fbe25;
}

.drawer-grid a:nth-child(3) {
  background: #f39800;
}

.drawer-grid a:nth-child(4) {
  background: #239fce;
}
/* ホバー */
.drawer-grid a:hover {
  background: #ddd;
}
/* ===== 共通 ===== */

.front-section {
  padding-top: 100px;
  padding-bottom: 50px;
}
.top-section {
  margin-top: 100px;
  margin-bottom: 80px;
}
.section-block {
  margin-bottom: 100px;
}
.bg-gray {
  background: #f7f7f7;
}
.section-title {/*top-page*/
  text-align: center;
  font-size: 36px;
  font-weight: 400;
}
.item {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
@media (max-width: 767px) {
  .front-section {
    padding: 50px 0;
  }
  .top-section {
  margin-top: 50px;
}
  .section-block {
  margin-bottom: 80px;
}
  .section-title {
    font-size: 1.4rem;
  }
}
/* --- page-header --- */

.page-header {
    padding-top: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 550px !important;
    overflow: hidden;
    color: #fff;
}
.page-header-inner {
  margin: 5em auto 2em !important;
}
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: -1; 
}
.page-header-content {
    width: 100%;
    text-align: center;
}
.page-header-title {
    margin: 0 auto;
    font-size: 3rem !important;
    letter-spacing: 0.05em;
    font-family: "Roboto", sans-serif;
    line-height: 1.2;
    display: block;
}
.js-animate-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: text-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.sub-text-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 5px auto 0;
}
.sub-text-bottom {
    letter-spacing: 0.1em;
    white-space: nowrap;
    margin: 0;
}
.line {
    width: 80px;
    height: 1px;
    background-color: #fff;
    flex-shrink: 0;
}
/*page-title*/
.page-title {font-size: 1.8rem;}
.js-animate-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}
.js-animate-item.is-animated {
    opacity: 1;
    transform: translateY(0);
}
@keyframes text-up {
    to { opacity: 1; transform: translateY(0); }
}
    
@media (max-width: 767px) {
    .page-header-title {
        font-size: 2.2rem !important;
        margin: 0 auto;
    }
    .line {
        width: 40px;
    }
}
.category .page-header,
.single .page-header {
  background-image: url(../img/link_profile-img.png);
}
.page-id-23 .page-header {
  background-image: url(../img/hero-personal.png);
  background-position: center 60%;
}
.page-id-25 .page-header {
  background-image: url(../img/hero-corporate.png);
}
.page-id-25 .page-header-content,
.page-id-33 .page-header-content {
    margin-top: 130px;
}
.page-id-27 .page-header {
  background-image: url(../img/hero-about.png);
  background-position: center 80%;
}
.page-id-27 .page-header-content {
 margin-top: 0;
}
.page-id-33 .page-header {
  background-image: url(../img/hero-recrit.png);
}
.page-id-35 .page-header {
  background-image: url(../img/hero-q&a.png);
}
@media (max-width: 767px) {
  .page-id-27 .page-header,
  .page-id-23 .page-header {
    background-position: 75% 0;
  }
}
/* ================================
   HERO
================================ */
.front-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.front-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(41 44 55 / 55%);
  z-index: 1;
}

.front-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.front-hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
}
.front-hero__wave {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}
.front-hero__wave img {
  width: 100%;
  display: block;
}
@media screen and (max-width: 767px) {
  .front-hero__wave {
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }
  .front-hero__wave img {
    width: auto;
    max-width: none;
    display: block;
  }
}
/* ================================
   HERO TEXT
================================ */
.front-hero h1 {
  font-size: clamp(3rem, 7vw, 96px);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}
.front-hero p {
  font-size: clamp(1.2rem, 3vw, 28px);
  line-height: 1.8;
  margin-bottom: 0;
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
}
/* ================================
   HERO LEAD（p + button）
================================ */
.hero-lead {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: flex-start;
}

/* SP */
@media (max-width: 767px) {
  .hero-lead {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
/* ================================
   MOVIE BUTTON
================================ */
.hero-movie-btn {
  display: inline-flex;
  width: 120px;
  height: 120px;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.hero-movie-btn:hover {
  background: #fff;
  color: #000;
}
/* ================================
   TEXT ANIMATION（h1 / p）
================================ */
.hero-title,
.hero-text {
  overflow: hidden;
  line-height: 1.3;
}
.hero-title span,
.hero-text span {
  display: inline-block;
  opacity: 0;
  transform: translate3d(-20px, 0, 0);
  animation: charSlideIn 0.6s ease forwards;
  animation-delay: var(--delay);
}
@keyframes charSlideIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
/* ================================
   ITEM ANIMATION（a）
================================ */
.truck-area {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
}
#truck {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
}
#truck.move {
  animation:
    drive 20s linear forwards,
    shake 20s linear forwards;
}
@keyframes drive {
  0%   { left: 100%; }
  35%  { left: 40%; }
  45%  { left: 40%; }
  50%  { left: 42%; }
  100% { left: 15%; }
}
@keyframes shake {
  0%   { transform: translateY(0) rotate(0deg); }
  5%   { transform: translateY(-1px) rotate(-0.3deg); }
  10%  { transform: translateY(1px) rotate(0.3deg); }
  15%  { transform: translateY(-1px) rotate(-0.3deg); }
  20%  { transform: translateY(1px) rotate(0.3deg); }
  25%  { transform: translateY(-1px) rotate(-0.3deg); }
  30%  { transform: translateY(1px) rotate(0.3deg); }
  35%  { transform: translateY(-1px) rotate(-0.3deg); }
  40%  { transform: translateY(1px) rotate(0.3deg); }
  45%  { transform: translateY(-1px) rotate(-0.3deg); }
  50%  { transform: translateY(1px) rotate(0.3deg); }
  55%  { transform: translateY(-1px) rotate(-0.3deg); }
  60%  { transform: translateY(1px) rotate(0.3deg); }
  65%  { transform: translateY(-1px) rotate(-0.3deg); }
  70%  { transform: translateY(1px) rotate(0.3deg); }
  75%  { transform: translateY(-1px) rotate(-0.3deg); }
  80%  { transform: translateY(1px) rotate(0.3deg); }
  85%  { transform: translateY(-1px) rotate(-0.3deg); }
  90%  { transform: translateY(1px) rotate(0.3deg); }
  95%  { transform: translateY(-1px) rotate(-0.3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@media (max-width: 767px) {
  #truck {
    width: 120px;
  }
  .truck-area {
    height: 60px;
  }
}
/* ======== top news =========== */
.front-news {
  padding-top: 100px;
  padding-bottom: 50px;
}

.front-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.front-news-item {
  border-bottom: 1px solid #ddd;
}

.front-news-item a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
  text-decoration: none;
  color: #333;
}
.news-date {
  font-size: 14px;
  color: #8aae2b;
}
.news-category {
  width: 120px;
  font-size: 14px;
  padding: 3px 8px;
  color: #fff;
  text-align: center;
}
.news-category.personal {
  background: #c08c40;
}
.news-category.corporate {
  background: #679069;
}
.news-title {
  flex: 1;
}
.news-title a,
.news-category a {
  text-decoration: none;
}
@media (max-width: 767px) {
  .front-news-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .news-date,
  .news-category {
    width: auto;
  }
}
.news-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.tab-btn {
  background: none;
  border: none; 
  padding: 10px 0;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
  color: #4b4b4b;
}
.tab-btn:hover {
  color: #000;
}
.tab-btn.active {
  color: #0f6292;
  font-weight: bold;
}
.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0f6292;
  transition: 0.3s;
}
.tab-btn.active::after {
  width: 100%;
}
/* ====== vision ======*/
.vision-section {
  padding-top: 100px;
  padding-bottom: 50px;
}
.vision-section p {
  font-size: 1rem !important;
}

.vision-section .usk-img {
  display: flex; 
  flex-direction: column;
  align-items: center; 
  text-align: left; 
  max-width: 900px; 
  margin: 0 auto; 
}
.vision .usk-img img {
  width: 100%;
  max-width:700px ;
  margin-bottom: 30px;
}
.vision_text {
  text-align: left;
  max-width: 800px;
  margin: auto;
}
@media (max-width: 767px) {
  .vision-section h3,
  .vision-section h2 {
  font-size: 1.6rem !important;
  font-weight: 500;
  }
}
/* ====== vision (test-page)======*/
.vision-section-test2 p {
  font-size: 1.2rem;
  line-height: 3;
}
/* ====== personal-section ======*/
.top-personal-section {
  background: #e2c59b;
  margin-bottom: 0 !important;
  padding: 100px 20px 80px 20px;
}
.top-personal-section p {
  letter-spacing: -.05rem;
}
.top-personal__inner {
  max-width: 1300px;
  margin: auto;
}
.img-hover-box{
  display:block;
  transition:0.3s;
}

.img-hover-box img{
  height:auto;
  display:block;
  transition:0.3s;
  margin: auto;
}

.img-hover-box:hover{
  transform: translateY(-10px);
}

/* ====== personal-section (test-page) ======*/
.top-personal-section2 {
  background: #e2c59b;
  padding: 0 10px;
}
.top-personal-section2 p {
  letter-spacing: -.05rem;
}
.top-personal__inner2 {
  max-width: 1300px;
  margin: auto;
}

/* ====== message ===== */

.message h2 {
  background: #1b60a2;
  color: #fff;
  padding: 5px 0;
}
.ceo-name {
  width: 300px;
  margin-left: auto;
  text-align: left; 
}
.ceo-name p {
  margin-bottom: 0.5rem; 
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
}
.ceo-name img {
  max-width: 100%;
  height: auto;
}
/* === top link-section == */
.link-section {
  margin-bottom: 80px;
}
.link{
  max-height:350px !important;
  position:relative;
  overflow:hidden;
}
.link-bg{
  position:relative;
  height:100%;
  overflow:hidden;
}
.link-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:0.5s;
}
.link-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5); 
  z-index:1;
  transition: 0.5s;
}
.link-text{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  text-align:left;
  color:#fff;
  z-index:2;
}
.link-text p:nth-of-type(2) {
  margin: 0;
  font-size: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.link-text p:first-of-type {
  font-size: 52px;
  margin: 0;
  line-height: 3.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.link-wrapper{
  position:relative;
}
.truck-area2{
  position:absolute;
  top:-85px;
  right:200px;
  z-index:5;
}
.truck-area2 img{
  width:180px;
  height:auto;
}
.link:hover .link-bg::after{
  background: rgba(0, 0, 0, 0.3);
}
@media (max-width: 1199px) {
  .link{
  max-height:300px;
}
  .link-text p:first-of-type  {
    font-size: 52px;
  }
  .truck-area2{
  right:100px;
}
}
@media (max-width: 767px) {
  .link-bg {
    height:30vh;
    overflow: hidden;
  }
  .link-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .link-text p:first-of-type  {
    font-size: 38px;
    line-height: 3rem;
  }
    .truck-area2{
    position:static;
    text-align:right;
    margin-bottom:10px;
  }
  .truck-area2 img{
    width:150px;
  }
}

/* ===== company ======*/
.about-company h2 {
  background: #558a9d;
  color: #fff;
  padding: 5px 0;
}
.about-company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border: none !important;
}
.about-company-table th,
.about-company-table td {
  padding: 10px 10px;
  text-align: left;
  border: none !important;
}

.about-company-table th {
  width: 18%;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 1rem;
  color: #333;
  border-right: 1px solid #558a9d !important;
}

.about-company-table td {
  font-size: 16px;
  color: #333;
}
.about-company-table .business-row {
  border-bottom: 0;
}

@media (max-width: 767px) {
  .about-company-table th, 
  .about-company-table td {
    display: block;
    width: 100%;
  }
  .about-company-table th {
    border-right: none !important;
  }
  .about-company-table td {
  border-bottom: 1px solid #558a9d !important;
}
}

/* ===== button-blok ======*/
.button-section {
  padding-top: 100px;
    padding-bottom: 100px;
}

.button-box {
  display: block;
  text-align: center;
  padding: 15px 20px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;

  font-size: 1.2rem;
}
.button-box a {
  color: #fff;
  display: block;
  text-decoration: none;
}

.btn-toyama  { background: #22ac38; }
.btn-uozu    { background: #8aae2b; }
.btn-kankyo  { background: #0a9085; }
.btn-jokaso  { background: #0f6292; }


.button-box:hover {
  opacity: 0.8;
  transform: translateY(-5px);

}

.button-box:hover a {
  color: #fff;
}

/* ======== cta =========*/
.front-cta {
  padding: 100px 0;
  text-align: center;
  color: #333;
}

.cta-title {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-text {
  margin-bottom: 40px;
  opacity: 0.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex; 
  justify-content: center;
  align-items: center;
  width: 280px; 
  padding: 16px 0;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s;
  font-size: 1.2rem;
}

.cta-btn-primary {
  border: 2px solid #1c65ad;
  color: #333;
}

.cta-btn-primary:hover {
  background: #1c65ad;
  color: #fff;
}

.cta-btn-outline {
  border: 2px solid #1c65ad;
  color: #333;
}

.cta-btn-outline:hover {
  background: #1c65ad;
  color: #fff;
}

/* ==============================
   Fixed Side Banners（共通ベース）
============================== */
.fixed-banners {
  position: fixed;
  right: 0;
  z-index: 999;
}

.fixed-banners-default {
  top: 70%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ==============================
   バナー共通デザイン
============================== */
.fixed-banner {
  writing-mode: vertical-rl;
  background: #1b60a1;
  color: #fff;
  padding: 15px 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 10px 0 0 10px;
  transition: 0.3s;
}

.fixed-banner:hover {
  opacity: 0.8;
  background: #397fc3;
  color: #fff;
}

/* ==============================
page-id-143 page-id-139
============================== */
.fixed-banners-special {
  top: 70%;
  transform: none;
}
.circle-banner {
   width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  writing-mode: horizontal-tb;
  font-size: .8rem;
  margin-bottom: 10px;
}
.banner-tel {
  background: #1b60a1;
}
.page-id-141 .banner-tel {
  background: #229fcd;
}
.banner-mail {
  background: #23a0cb;
}
.banner-icon {
  width: 35px;
  height: auto;
  margin-bottom: 6px;
}

.banner-text {
  line-height: 1.4;
}
/********0410******/

.pc-only { display: block; }
.bottom-contact-bar {
  display: none; 
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}
.bottom-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 5px;
  font-size: 14px;
}
.bottom-btn,
.bottom-btn:link,
.bottom-btn:visited,
.bottom-btn:hover,
.bottom-btn:active,
.bottom-btn:focus {
  color: #fff;
  text-decoration: none;
}
.bottom-btn img {
  width: 35px;
  margin-bottom: 4px;
}

/* スマホ時 */
@media (max-width: 767px) {
  .bottom-contact-bar {
    display: flex;
  }
  .pc-only { display: none; }

}
/* ==============================
   footer
============================== */
.site-footer {
  background: #3d4652;
  color: #fff;
  padding: 60px 0 0;
  font-size: 1rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-left {
  flex: 3;
}
.footer-right {
  flex: 7;
  display: flex;
  justify-content: flex-end;
}
.footer-company {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
}
.footer-address a {
  color: #fff;
}
.footer-logo img {
  max-width: 130px;
  margin-bottom: 20px;
}
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-menu li {
  list-style: none;
}
.footer-menu > li > a {
  display: block;
  margin-bottom: 10px;
}
.footer-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu .sub-menu li {
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #fff;
  text-decoration: none;
}
.policy-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 30px 0 15px;
  padding: 0;
}

.policy-menu a {
  color: #fff;
  text-decoration: none;
}

.copyright {
  text-align: center;
  font-size: 12px;
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .site-footer {
    padding: 40px 15px 20px;
    font-size: 14px;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-left {
    width: 100%;
  }

  .footer-logo img {
    margin: 0 auto 15px;
  }
    .footer-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-menu,
  .policy-menu {
    display: block;
    width: 50%;
    max-width: 300px;
    text-align: center;
    margin: auto;
  }
  .footer-menu li,
  .policy-menu li {
    display: block;
    margin-bottom: 10px;
  }
  .footer-menu a,
  .policy-menu a {
    display: block;
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
  }
  .footer-menu a:hover,
  .policy-menu a:hover {
    opacity: 0.7;
  }
  .copyright {
    text-align: center;
    margin-top: 50px;
    font-size: 12px;
  }
}
/* ==============================
   投稿ページ
============================== */
.vk_post .media-img {
    display: none;
}
/*****category-news.php****/
.news-category-links {
  margin-top: 50px;
  text-align: center;
}
.news-category-links a {
  font-size: 14px;
  padding: 3px 8px;  
  margin: 5px;
  display: inline-block;
  width: 150px;
  color: #fff;
}
.news-archive-area {
  margin: 5rem auto;
  max-width: 800px;
}
.news-item {
   display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.news-meta {
  display: flex;
  gap: 20px;
}
.news-pagination {
  margin-top: 30px;
  text-align: center;
}
.news-title-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}
.news-item .news-more {
  font-size: 13px;
  padding: 4px 10px;
  background: #3d4652;
  text-decoration: none;
  color: #fff;
}
.news-item .news-more:hover {
  background: #ddd;
  color: #333;
}
.news-pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
}
.news-pagination .current {
  background: #333;
  color: #fff;
  border-color: #333;
}
@media (max-width: 767px) {
  .news-category-links a {
  width: 90px;
}
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 10px 0;
  }
  .news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .news-item .news-more {
    display: none;
  }
}
/******single.php*****/
.entry-content {
  max-width: 800px;
  margin: auto;
}
.post-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 5rem;
}
.post-navigation .nav-previous a,
.post-navigation .nav-next a,
.post-navigation .nav-first a,
.post-navigation .nav-last a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #3d4652;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}
.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover,
.post-navigation .nav-first a:hover,
.post-navigation .nav-last a:hover {
    background-color: #ddd;
}
.entry-meta {
  margin-bottom: 20px;
}
.post-cats {
  background: #f7f7f7;
  padding: 5px 10px;
  margin-left: 10px;
}
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    align-items: center;
}
.entry-meta span {
    display: flex;
    align-items: center;
}
.breadcrumb a {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}
.cat-all {
    background: #999;
}
.cat-corporate {
    background: #679069;
}
.cat-personal {
    background: #c08c40;
}

/* ==============================
   法人の方 corporate-page
============================== */

.corporate-vision h2 {
  font-weight: 400;
}
/* ==============================
  会社情報 about-page
============================== */
.mission-btn {
  width: 250px;
}

.history-section .container {
  max-width: 800px;
}
.history-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.history-date {
  font-weight: bold;
  color: #1b60a1;
  font-size: 1.2rem;
  display: flex;
  gap: 10px;
}
.history-date .year {
  font-size: 1rem;
}
.history-date .month {
  font-size: 1rem;
  align-self: flex-end;
}
.history-content {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .history-date {
    margin-bottom: 5px;
  }
  .history-item {
    padding: 15px 0;
  }
}

/* ==============================
  policy
============================== */
.site-policy {
  padding-top: 200px;
  margin-bottom: 150px;
}
.policy-section {
  margin-bottom: 40px;
}
.policy-section h2 {
  font-size: 22px;
  margin-bottom: 15px;
  border-left: 4px solid #1e66ac;
  padding-left: 10px;
}
.policy-section h3 {
  font-size: 18px;
}
.policy-section ol {
  padding-left: 20px;
}
.policy-section li {
  margin-bottom: 10px;
  line-height: 1.8;
}
@media (max-width: 767px) { 
  .site-policy {
  padding-top: 100px;
}
}
/* ==============================
  contact-form
============================== 
.contact-form-table {
    width: 100%;
    max-width: 700px;
    border: 1px solid #ccc;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0;
    padding: 30px; 
}
.contact-form-table p {
margin-bottom:unset;
}
.contact-form-table th,
.contact-form-table td {
  border: none;
  padding: 12px 0;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .contact-form-table th {
    width: 30%;
    padding-right: 20px;
    font-weight: 600;
    text-align: left;
  }

  .contact-form-table td {
    width: 70%;
  }
}

@media (max-width: 767px) {
  .contact-form-table th,
  .contact-form-table td {
    display: block;
    width: 100%;
  }
  .contact-form-table th {
    margin-top: 15px;
    text-align: left;
  }
}
.contact-form-table input[type="text"],
.contact-form-table input[type="email"],
.contact-form-table input[type="tel"],
.contact-form-table textarea,
.contact-form-table select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
.contact-form-table textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-table input[type="checkbox"] {
  margin-right: 5px;
}



.contact-form-table input[type="submit"] {
  background: #1b60a2;
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-table tr:last-child td {
  padding-top: 30px;
}

.contact-form-table input[type="submit"]:hover {
  background: #144c80;
}
.wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}
.thanke {
  margin: 120px auto;
}
/************snowmonkey*****************/
.required {
  color: #d00;
  font-size: 12px;
  margin-left: 5px;
}
/*contact-page/inquiry-page*/
.contact-page,
.inquiry-page {
 padding-top: 200px;
}
.smf-action .smf-button-control__control[disabled] {
    color: #e1e1e1;
}
.smf-action .smf-button-control__control {
  background: #1b60a2;
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.contact-page .smf-form--simple-table {
  border: 1px solid #ddd;
  padding: 20px 30px;
  margin: auto;
}

.inquiry-page .smf-complete-content {
  padding: 20px;
  background-color: #efefef;
}
@media (max-width: 767px) {
 .contact-page,
 .inquiry-page {
 padding-top: 120px;
 margin: 0 10px;
} 
.smf-form--simple-table {
  padding: 20px 15px;
}
.inquiry-page .smf-complete-content {
  padding: 5px;
}
}
@media (min-width: 640px) {
   .page-id-175 .smf-form--simple-table .smf-item__col--label {
        flex: 0 0 10em;
        max-width: 10em;}
   .page-id-69 .smf-form--simple-table .smf-item__col--label {
        flex: 0 0 15em;
        max-width: 15em;}     
    }
/* =====================
   個人・法人の方ページ
===================== */
.accordion-box {
  background-color:#1b60a1;
  padding: 3px;
  border-radius: 10px;
}
.accordion-btn{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  text-align:left;
  padding:20px;
  font-size:22px;
  border:none;
  background:#fff;
  cursor:pointer;
  position:relative;
  border-radius: 10px;
}
.accordion-btn.active{
  background: #1b60a1;
}
.accordion-title{
  display:flex;
  align-items:center;
  color: #333;
  gap:10px;
  width:90%;
}
.accordion-btn.active .accordion-title {
  color: #fff;
}
.accordion-icon{
  width:70px;
  height:auto;
}
.style-arrow .arrow {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 16px solid #1b60a1;
  transition: transform 0.3s;
}
.style-arrow.active .arrow {
  transform: translateY(-50%) rotate(180deg);
  border-top-color: #ffffff;
}

.accordion-content{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.5s ease;
}
.accordion-inner {
  background-color: #fff;
  padding: 20px 0;
  margin: 5px;
  border-radius: 10px;
}
.accordion-h3 {
  font-size: 1.2rem;
}
.text-box {
  display: block; 
  font-size: 1.2rem;
  text-align: center;
  border: 1px solid #1b60a1; 
  color: #1b60a1;
  text-decoration: none;
  padding: 5px;
  border-radius: 5px;
  transition: all 0.3s;
}
.text-box-p {
  display: block; 
  font-size: 1.2rem;
  text-align: center;
  background-color: #1b60a1;
  border: 1px solid #1b60a1; 
  color: #fff;
  padding: 5px;
  border-radius: 5px;
}
.text-box:hover {
  background-color: #1b60a1;
  color: #fff;
}
@media (max-width: 767px) {
  .accordion-btn {
    padding: 10px;
    font-size: 1rem;
  }
.accordion-title{
  gap:5px;
  width:80%;
}
  .style-arrow .arrow {
    right: 10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #a5c6e7;
  }
}

/* ==============================
   お片付け隊/パイプ美人/達人BOXpage
============================== */
.service-hero{
  padding:150px 20px 0;
}
.clean-hero {
  background:#7fbe26;
} 
.pipe-clean-hero{
  background:#20499c;
}
.service .section-title {
  line-height: 3.8rem;
}
.service__inner{
  max-width:1300px;
  margin:auto;
  text-align:center;
}
.service__img{
  max-width:100%;
  height:auto;
}
.service-box{
  background:#ffffff;
  padding:0 40px;
  max-width: 800px;
}
.section-title + p{
  font-size:1.2rem;
  line-height:2;
}
.section-lead {
  position: relative;
  display: flex;
  justify-content: center;
}
.section-lead p {
  margin: 0;
  text-align: center;
  max-width: 600px;
}
  .section-lead img {
    position: static;
    margin-top: -150px;
    margin-left: 250px; 
    max-width: 150px;
  }
@media (min-width: 768px) {
.section-lead img {
  display: none;
}
}
@media (max-width: 767px) {
  .section-lead {
    flex-direction: column;
    align-items: center;
  }
  .section-lead p {
    max-width: 100%;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .service-hero{
    padding:80px 0 0;
  }
  .service-box{
  padding:0;
  margin: 0 0 20px;
 }
}
.service .card,
.other-pipe-service .card {
  border:none;
  border-radius:10px;
  overflow:hidden;
}
.other-pipe-service .card {
  background: #edf4f7;
}
.service .card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.service .card-title{
  color:#0066b3;
}
/*pipeclean-page*/
.pipe-section {
  background-color: #20499c;
  position: relative;
}
.pipe-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pipe-bijin-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.other-pipe-service .card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    border-left: 6px solid #25a0ce;
    padding-left: 15px;
}
.other-pipe-staff-pc {
   max-width: 250px;
   margin: auto;
}
@media (max-width: 767px) {
  .other-pipe-staff-pc {
    display: none;
  }
}

/*** tidyingbox-page ***/
.tidyingbox-hero {
  background:#ed848c;
}
.scene-card {
    background: #f5f2f0;
    border: 1px solid #eee;
    border-radius: 12px; 
    padding: 30px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.scene-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}
.scene-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #ed848c;
}
.scene-card p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    margin-top: 10px;
}
.scene-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.scene-wrapper {
  position: relative;
  padding-bottom: 100px;
}

@media (min-width: 992px) {
  .scene-wrapper {
    padding-bottom: 0;
  }
}
.staff-photo {
    position: absolute;
    z-index: 10;
    pointer-events: none; 
}
.staff-photo img {
    width: 230px; 
    height: auto;
}
@media (max-width: 991px) {
    .staff-photo {
        bottom: -20px; 
        left: 10px; 
    }
    .staff-photo img {
        width: 150px;
    }
}
@media (min-width: 992px) {
    .staff-photo {
        top: 70%;
        left: -200px; 
        transform: translateY(-50%);
    }
}
.benefit-section {
    padding: 80px 0;
    background: #ed848c;
}
.benefit-section .section-title { color: #fff; }
.benefit-item {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}
.benefit-number {
    background: #ed848c;
    color: #fff;
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: bold;
}
.benefit-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.benefit-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .scene-card { padding: 20px; }
    .benefit-item { 
      padding: 10px;
      gap: 15px; 
     }
    .benefit-number { 
      width: 35px;
      height: 35px; 
      min-width: 35px; 
      font-size: 1.1rem; }
}
/**** cleanup page ****/
.consult-box {
    background: #fff;
    border: 3px solid #7fbe26;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.consult-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #7fbe26;
}
.consult-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.consult-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
}
.consult-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #7fbe26;
    font-size: 1.4rem;
    font-weight: bold;
}
.service-intro-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    min-height: 120px;
}
.service-intro-text {
  width: 70%;
}
.service-staff-img {
    position: absolute;
    left: 130px;
    bottom: -40px;
    width: 150px;
    height: auto;
    z-index: 1;
}
@media (max-width: 1199px) {
  .service-staff-img {
        width: 120px;
        left: 80px;
    }
}
@media (max-width: 991px) {
  .service-staff-img {
        left: 0;
    }
}
@media (max-width: 767px) {
  .service-intro-container {
    align-items: flex-end;
    justify-content: flex-end;
    }
}
.service-detail-section {
    background-color: #7fbe26;
    color : #fff;
}
.service-image-placeholder img {
  max-height: 200px;
}
/* --- flow-- */
.flow-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}
.page-id-141 .flow-container {
  max-width: 1200px;
}
.flow-step {
    height: 260px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 20px;
    background: #efefef;
    margin: 0 auto;
    flex: 0 0 260px;
}
.step-badge {
    color: #fff;
    display: inline-flex;
    height: 40px;
    padding: 0 20px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 2.2rem;
    margin:10px auto;
}
.step-content {
  padding: 5px 10px 10px;
}
.step-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}
.step-content p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
}
.page-id-139 .step-badge {
  color: #7fbe26;
}
.page-id-143 .flow-step {
  background: #ed848c;
}
.page-id-141 .flow-step {
  background: #239fce;
}
.page-id-143 .step-content h3,
.page-id-143 .step-content p,
.page-id-141 .step-content h3,
.page-id-141 .step-content p {
  color: #fff;
}
@media (min-width: 992px) and (max-width: 1399px) {
 .flow-container {
    justify-content: center;
    gap:0;
    flex-wrap: nowrap;
  }
.flow-step {
    flex:0 0 200px;
    max-width:200px;
    height:200px;
}
.step-content p {
    font-size: 0.8rem;
  }
.step-content h3 {
    font-size: 1rem;
  }  
 .step-badge {
    padding: 0 5px;
    margin: 5px auto;
 } 
}
@media (min-width: 768px) and (max-width: 991px) {
  .flow-step {
    height: auto;
    flex-direction: row;
    justify-content: flex-start; 
    padding: 10px 30px;
    gap: 30px; 
    text-align: left; 
    }
  .step-badge {
      margin: 0; 
      flex-shrink: 0;
    }
  .step-content {
      flex: 1;
    }
  .step-content h3 {
      margin-bottom: 5px;
    }
}
@media (max-width: 991px) {
  .step-badge {
    margin-bottom: 0;
  }
  .flow-container {
        flex-direction: column;
        align-items: center;
    }
  .flow-step {
        width: 80%;
        height: auto; 
        flex: 0 0 80%;
        border-radius: 20px;
        padding: 5px 20px;
    }

  .step-content {
    padding: 10px;
    }
}
/* =====================
   よくあるご質問
===================== */
.faq-section {
  padding: 80px 0;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}
.faq-section .accordion-icon {
  width: 20px;
  height: auto;
  margin-top: .5rem;
}

/**** FAQpage ****/
.faq-section h3 {
  text-align: left;
  font-size: 1.2rem;
  color: #1b60a2;
  margin-top: 5rem;
}
.faq-section .accordion-box {
    background-color: #fff;
    padding: 0;
    border-radius: 0;
    margin: 0 1rem 1.5rem;
}
.faq-section .accordion-btn {
  background: #fff;
  padding: 5px;
  font-size: 1rem;
  border-radius: 10px;
  border-bottom: 1px solid #ddd;
}
.faq-section .accordion-btn.active .accordion-title {
    color: #333;
}
.style-plus {
  position: relative;
  padding-right: 50px;
}
.style-plus .arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}
.style-plus .arrow::before,
.style-plus .arrow::after {
  content: "";
  position: absolute;
  background: #1b60a1;
  transition: all 0.3s ease;
}
.style-plus .arrow::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.style-plus .arrow::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.style-plus.active .arrow::after {
  transform: translateX(-50%) scaleY(0);
}
.accordion-inner .answer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-section .answer-text {
  display: block;
}
.faq-section .accordion-content {
  width: 95%;
  margin: auto;
}
.faq-section .accordion-content .answer {
  display: flex;
  align-items:flex-start ;
  gap: 15px;
  padding: 20px 30px;
  background-color: #f7f7f7;
  margin-top: 10px;
}
.faq-section .accordion-content p {
  margin-bottom: 1rem;
  color: #333;
  line-height: 2rem;
}
@media (max-width: 767px) {
  .faq-section {
  padding: 80px 5px 5px;
}
.faq-section .accordion-box {
  margin: 0 0 1rem;
}
.faq-section .accordion-content .answer {
  padding: 20px 10px;
}
.faq-section .accordion-title {
  width: 85%;
  align-items: flex-start;
}
.style-plus .arrow {
  right: 10px;
}
}
/****licenses-page***/
.front-section.licenses {
  padding: 60px 0;
}
.licenses-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 24px;
  font-weight: 500;
}
.licenses-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.licenses-table th,
.licenses-table td {
  border: 1px solid #ddd;
  padding: 16px;
  vertical-align: top;
}

.licenses-table th {
  width: 30%;
  background: #f5f5f5;
  font-weight: 500;
  text-align: left;
}

.licenses-table td {
  width: 70%;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .licenses-table th,
  .licenses-table td {
    display: block;
    width: 100%;
  }

  .licenses-table tr {
    display: block;
  }

  .licenses-table th {
    background: #eee;
  }
}

/***********/
.faq-inner {
  display: flex;
  gap: 40px;
}

.faq-main {
  width: 70%;
}

.faq-sidebar {
  width: 30%;
  padding: 20px;
  margin-top: 3rem;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .faq-inner {
    flex-direction: column;
  }

  .faq-main,
  .faq-sidebar {
    width: 100%;
  }

  .faq-sidebar {
    order: -1; /* ← これがポイント */
  }
}