


/* --- Base Styles --- */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}



:root{
  --text-main:#111;
  --accent:#2f7d4a;         /* MPCAグリーン（好みで調整） */
  --blue:#2b6cb0;
  --line:#e9ecef;
  --shadow: 0 16px 40px rgba(0,0,0,.12);
}

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffffc1;
  backdrop-filter: blur(5px);

  
}

.header-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  text-decoration:none;
  color: var(--text-main);
  min-width: 260px;
}
.brand-logo{
  width: 200px;
  height: 54px;
  object-fit: contain;
}
.brand-text{
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .02em;
}

/* Desktop nav */
.desktop-nav{ flex: 1; }
.nav-list{
  display:flex;
  justify-content:right;
  align-items:center;
  gap: 30px;
  list-style:none;
  margin: 0;
  padding: 0;
}

.nav-item{
  position: relative;
}

.nav-link{
  display:inline-block;
  text-decoration:none;
  color: var(--text-main);
  font-weight: 300;
  font-size: 14px;
  padding: 10px 2px;
  letter-spacing: .02em;
  position: relative;
}

/* underline (image-like) */
.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0px;
  width:100%;
  height:2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .18s ease;
  opacity: .9;
}
.nav-item:hover > .nav-link::after,
.nav-item:focus-within > .nav-link::after{
  transform: scaleX(1);
}

/* Dropdown */
.dropdown{
  position:absolute;
  top: calc(100% + 10px);
margin-top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
  padding: 10px;
  display:grid;
  gap: 6px;

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.nav-item{
  position: relative;
}

.nav-item::after{
  content:"";
  position:absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 14px;
}


.dropdown a{
  display:block;
  padding: 10px 12px;
  border-radius: 3px;
  text-decoration:none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 300;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,.04);
}
.dropdown a:hover{
  background: rgba(47,125,74,.08);
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Right buttons */
.header-actions{
  display:flex;
  align-items:center;
  gap: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 18px;
  border-radius: 3px;
  text-decoration:none;
  font-weight: 400;
  border: 1px solid transparent;
  letter-spacing: .02em;
}

.btn-green{
  background: rgb(25, 157, 101);
  color:#fff;
}
.btn-blue{
  background: rgb(3, 110, 184);
  color:#fff;
}
.btn-full{ width: 100%; }

/* Hamburger (hidden on desktop) */
.hamburger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor:pointer;
  padding: 10px;
}
.hamburger span{
  display:block;
  height: 2px;
  width: 100%;
  background: #111;
  border-radius: 999px;
  transition: transform .18s ease, opacity .18s ease;
}
.hamburger span + span{ margin-top: 6px; }

/* ===== Mobile Drawer ===== */
.drawer{
  position: fixed;
  inset: 0;
  display:none;
  
}

.drawer.is-open{ display:block; }

.drawer-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.28);
}

.drawer-panel{
  position: fixed;              /* ← absolute から fixed に */
  top: 0;
  right: 0;
  height: 100dvh;               /* ← 100%より確実（スマホ対応） */
  width: min(92vw, 940px);
  background:#fff;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  z-index: 10000;               /* 念のため */
}


.drawer-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.drawer-title{
  font-weight: 900;
  letter-spacing: .12em;
}
.drawer-close{
  width: 44px;
  height: 44px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  cursor:pointer;
  font-size: 22px;
}

.drawer-body{
  display:grid;
  grid-template-columns: 260px 1fr; /* 左：タブ / 右：中身 */
  height: 100%;
  min-height: 0;
}

.drawer-tabs{
  border-right: 1px solid var(--line);
  padding: 10px;
  overflow:auto;
}
.drawer-tabs ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 8px;
}
.drawer-tabs button{
  width: 100%;
  text-align:left;
  padding: 16px 16px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.06);
  background:#fff;
  cursor:pointer;
  font-weight: 400;
  font-size: 14px;
}
.drawer-tabs button.is-active{
  background: rgb(47, 125, 74);
  color: #fff;
  
}

.drawer-content{
  padding: 14px;
  overflow:auto;
}
.drawer-content__title{
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 10px;
}
.drawer-links{
  display:grid;
  gap: 10px;
}
.drawer-links a{
  display:block;
  padding: 12px 12px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.06);
  background:#fafafa;
  text-decoration:none;
  color: var(--text-main);
  font-weight: 400;
  font-size: 14px;
}
.drawer-links a:hover{
  background: rgba(3, 3, 3, 0.33);
  color: #fff;
}
.drawer-cta{
  margin-top: 18px;
  display:grid;
  gap: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .desktop-nav{ display:none; }
  .hamburger{ display:inline-flex; align-items:center; justify-content:center; }
  .brand-text{ font-size: 28px; }
  .brand{ min-width: unset; }
/* 会員メニューだけ非表示（スマホ時） */
  .header-actions .btn-green{
    display: none;
  }

  /* TOP と MENU を右端に整列（見た目そのまま） */
  .header-actions{
    gap: 10px;
  }

  /* MENUボタン（hamburger）が text "MENU" の場合の見た目調整（任意） */
  .hamburger{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile small: tabs narrower */
@media (max-width: 900px){
  .drawer-body{ grid-template-columns: 150px 1fr; }
}














/* ===== Hero with gray background band + centered slider ===== */
.hero2{
  position: relative;
  padding: 130px 0 3px;
}
.hero2__bg{position:absolute; inset:0; pointer-events:none; overflow:hidden}
.hero2__bgGray{
  position:absolute;
  inset: 0 0 0 0;
 
}
.hero2__wave{
  position:absolute;
  inset:auto 0 -40px 0;
  height:120px;
  background: radial-gradient(70% 140% at 50% 0%, rgba(43,182,115,.20), transparent 62%);
  opacity:.35;
}
.hero2__inner{
  
width: min(900px, calc(100% - 44px));
  margin: 0 auto;
}

/* Slider box */
.slider{
  width: min(900px, 100%);
  padding: 18px 0 0;
}
.slider__viewport{
  border-radius: 3px;
  overflow:hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  
  background:#fff;
}
.slider__track{
  display:flex;
  transition: transform .5s ease;
  will-change: transform;
}
.slider__slide{
  min-width: 100%;
  margin:0;
  background:#ffffff;
}
.slider__slide img{
  display:block;
  width:100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.slider__ui{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  padding: 12px 0 0;
}
.slider__btn{
  width:40px; height:40px;
  border-radius: 999px;
  border: 1px solid rgba(15,109,68,.18);
  background: rgba(255,255,255,.92);
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}
.slider__btn:hover{background: rgba(15,109,68,.06)}

.dots{display:flex; gap:8px}
.dot2{
  width:10px; height:10px;
  border-radius:999px;
  border: 1px solid rgb(10, 177, 105);
  background: rgb(255, 255, 255);
  cursor:pointer;
}
.dot2.is-active{
  width: 26px;
  background: #199f65;
  border-color: transparent;
}

/* Responsive */
@media (max-width: 900px){
  .gnav{display:none}
  .headerPill{
    grid-template-columns: auto 1fr auto;
  }
  .headerCta{display:none}
  .mNavBtn{display:inline-flex}
  .scrollProgress{margin-top:10px}
   .slider__slide img{
    aspect-ratio: 4/3;
  }
}















/* --- Layout --- */
section {
    padding: 120px 10%;
    max-width: 100%;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.sub-title {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Components --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: auto;

}

.card {
    background: #fff;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border-radius: 5px;
}

h3 {
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    
}


.gradation {
  background: linear-gradient(90deg, #159754, #119e47 30%, #1e9bda);
  background: -webkit-linear-gradient(0deg, #1e9656, #119e47 30%, #1bbdc9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.gradation1 {
  background: linear-gradient(90deg, #0882c9, #0882c9, 30%, #1e9bda);
  background: -webkit-linear-gradient(0deg, #0882c9, #0882c9 30%, #1bbdc9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.dummy-img {
    width: 100%;
    height: 250px;
    background: #eee;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}




/* ===== 背景画像を完全に固定 ===== */
html, body {
  height: 100%;
}

body {
  position: relative;
  background: none; /* 既存の背景は無効化 */
}

/* 固定背景レイヤー */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  /* 背景画像 */
  background-image: url("../img/bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;




  

  /* スクロールしても絶対に動かないための保険 */
  transform: translateZ(0);
  will-change: auto;
}

/* ===== メインビジュアル ===== */
.hero {
  position: relative;
  height: 100%;
  min-height: 60vh;
  overflow: hidden;
}

/* Swiper本体 */
.hero-swiper {
  height: 100%;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
 
}


/* スマホだけ：画像を切らずに全部表示 */
@media (max-width: 768px){
  .hero-swiper .swiper-slide img{
    object-fit: contain;
    
  }
}









/* ページネーション */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullet-active {
  background: #fff;
}


/* ===== Mission / Vision / History circles ===== */
.mv-section{
  padding: 72px 0;
}

.mv-inner{
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
}

.mv-head{
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.mv-title{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: .02em;
}

.mv-lead{
  margin: 0;
  color: rgba(29, 29, 29, 0.68);
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.8;
}

/* circles layout */
.mv-circles{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

/* circle card */
.mv-circle{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  padding: 20px;
  display: grid;
  place-content: center;
  text-align: center;
background-color: #ffffff;
  border: 1px solid rgba(255,255,255,.12);
  

  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  transform: translateY(0);
  transition: transform .18s ease, border-color .18s ease, background .22s ease;
  overflow: hidden;
}

/* subtle ring */
.mv-circle::before{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  opacity: .8;
}

/* hover */
.mv-circle:hover{
  transform: translateY(-2px);
  border: 1px solid rgb(0, 0, 0);
  background-color: #ffffff
  
}

/* typography inside */
.mv-kicker{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(26, 25, 25, 0.62);
  
}

.mv-label{
  margin-top: 8px;
  font-size: 18px;
  letter-spacing: .05em;
  color: rgba(17, 16, 16, 0.92);
}

.mv-sub{
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(14, 14, 14, 0.6);
}

/* focus (keyboard) */
.mv-circle:focus-visible{
  outline: none;
  box-shadow: 0 0 0 6px rgba(167,243,208,.20);
}

/* ===== mobile: 1 top + 2 bottom (triangle layout) ===== */
@media (max-width: 900px){
  .mv-circles{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "top top"
      "left right";
    gap: 14px;
    justify-items: center;  /* 円を中央寄せ */
  }

  /* 円は円のままにする */
  .mv-circle{
    width: min(42vw, 180px); /* 画面に応じてサイズ調整 */
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    padding: 18px;
    text-align: center;
    place-content: center;
  }

  /* 1個目を上段センターに */
  .mv-circle:nth-child(1){ grid-area: top; }

  /* 2個目を左下に */
  .mv-circle:nth-child(2){ grid-area: left; }

  /* 3個目を右下に */
  .mv-circle:nth-child(3){ grid-area: right; }
}



/* ===== NEWS slider ===== */
.news{
    
  padding: 80px 0;
  background: linear-gradient(180deg, #64bb97d7 0%, #64bb97d7 100%);
}

.news__inner{
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
}

.news__head{
  display:flex;
  justify-content: space-between;
  align-items:flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.news__title{
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: .02em;
  color: #fff;
  font-weight: 300;
}

.news__controls{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.news__tabs{
  display:flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.news__tab{
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,.80);
  font-size: 12.5px;
  cursor: pointer;
}
.news__tab.is-active{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

.news__arrows{
  display:flex;
  gap: 8px;
}
.news__arrow{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
  cursor: pointer;
  transition: transform .14s ease, background .18s ease;
}
.news__arrow:hover{ transform: translateY(-1px); background: rgba(255,255,255,.14); }

.news__panel{
  border-radius: 3px;
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 80px;
}

/* track = horizontal slider */
.news__track{
  display:flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.news__track::-webkit-scrollbar{ display:none; }

.news__card{
  flex: 0 0 calc(33.333% - 11px);
  scroll-snap-align: start;
  min-width: 200px;
}

.news__link{
  display:block;
  color:#0b0f14;
}

.news__thumb{
  border-radius: 7px;
  overflow:hidden;
  
  background: #eef2f7;
  
}
.news__thumb img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
}

.news__meta{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-top: 10px;
  gap: 10px;
}
.news__date{
  font-size: 12.5px;
  color: rgba(11,15,20,.60);
  font-weight: 400;
}

.news__badge{
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 1);
  color: #ffffff;
  
}
.news__badge.is-col{
  background: rgb(25, 157, 101);
  color: #ffffff;
  border-color: rgba(31,41,55,.12);
}

.news__ttl{
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: .02em;
  font-weight: 300;
}

/* Responsive: keep horizontal slide */
@media (max-width: 450px){
  .news__panel{ padding: 14px; }
  .news__card{
    flex-basis: 82%;
    min-width: 78vw;
  }
  .news__thumb img{ height: 200px; }
}









/* ===== Qualifications ===== */
.quals{
  padding: 72px 0;
}

.quals__inner{
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
}

.quals__head{
  display:grid;
  gap: 10px;
  margin-bottom: 18px;
}

.quals__title{
  margin:0;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: .02em;
}

.quals__lead{
  margin:0;
  color: rgba(255,255,255,.68);
  max-width: 78ch;
  font-size: 14px;
  line-height: 1.85;
}

/* grid */
.quals__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* card */
.qual{
  border-radius: 18px;
  overflow: hidden;
  
  background-color: #ffffff;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}

.qual__link{
  display:block;
  color: inherit;
}

.qual__media{
  position: relative;
  overflow:hidden;
}

.qual__media img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display:block;
  transform: scale(1.03);
  transition: transform .6s ease;
}

/* subtle overlay for readability */
.qual__media::after{
  content:"";
  position:absolute;
  inset: 0;
  
  pointer-events:none;
}

.qual__body{
  padding: 14px 14px 16px;
}

.qual__top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}

.qual__tag{
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(1, 142, 76);
 
  color: rgba(255,255,255,.88);
}
.qual__tag.is-col{
  background: rgb(239, 147, 0);
  
}
.qual__tag.is-alt{
  background: rgb(3, 110, 184);
  
}

.qual__level{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
}

.qual__name{
  margin: 0;
  font-size: 15px;
  letter-spacing: .02em;
}

.qual__desc{
  margin: 8px 0 0;
  font-size: 12.8px;
  color: rgba(17, 17, 17, 0.66);
  line-height: 1.75;
  min-height: 3.5em;
}

.qual__cta{
  display:inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(23, 22, 22, 0.84);
  opacity: .9;
  transition: opacity .18s ease, transform .18s ease;
}

/* hover */
.qual:hover .qual__media img{
  transform: scale(1.08);
}
.qual:hover .qual__cta{
  transform: translateX(2px);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px){
  .quals__grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }


  .qual__media img{
    height: 210px;
  }
}





.three-cert {
  padding: 50px 20px;
  background: #ffffff;
  
}

.three-cert__inner {
  max-width: 900px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* ===== 左：文章 ===== */
.three-cert__text {
  flex: 1;
}

.three-cert__sub {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.three-cert__title {
  font-size: 30px;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 30px;
}

.three-cert__btn {
  display: inline-block;
  padding: 8px 32px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
}

/* ===== 右：画像 ===== */
.three-cert__image {
  flex: 1;
  text-align: right;
}

.three-cert__image img {
  max-width: 100%;
  height: auto;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {

  .three-cert__inner {
    flex-direction: column;
    text-align: left;
  }

  .three-cert__image {
    text-align: center;
    margin-top: 30px;
  }

  .three-cert__title {
    font-size: 24px;
  }

}


.mpca-stats{
  padding: clamp(56px, 6vw, 96px) 16px;
  background: linear-gradient(180deg, #a2f3dbaf 0%, #95debdd7 100%);
}

.mpca-stats__inner{
  max-width: 900px;
  margin: 0 auto;
}

.mpca-stats__head{
  margin-bottom: 28px;
}

.mpca-stats__eyebrow{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 12px;
  color: #2f7d4a;
}

.mpca-stats__title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
  color: #111;
}

.mpca-stats__desc{
  margin: 0;
  color: #333;
  line-height: 1.8;
}

.mpca-stats__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 18px);
}

.mpca-stat{
  position: relative;
  border-radius: 3px;
  padding: 22px 18px;
  background-color: #fff;
  border: 1px solid rgba(227,240,232,1);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  overflow: hidden;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}

.mpca-stat::before{
  content:"";
  position:absolute;
  inset:-2px;
  
  opacity: .9;
  pointer-events:none;
}

.mpca-stat:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.mpca-stat__num{
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.countup{
  font-size: clamp(50px, 2.8vw, 44px);
  font-weight: 500;
  letter-spacing: .02em;
  color: #000000;

}

.mpca-stat__unit{
  font-weight: 800;
  color: #020202;
}

.mpca-stat__label{
  position: relative;
  margin: 0;
  font-weight: 600;
  color: #111;
}

.mpca-stat__note{
  position: relative;
  margin: 6px 0 0;
  font-size: 12px;
  color: #555;
}

/* レスポンシブ */
@media (max-width: 900px){
  .mpca-stats__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px){
  .mpca-stats__grid{ grid-template-columns: 1fr; }
}


/* ===== Footer (match screenshot layout) ===== */
.footer{
  margin-top: 80px;
}

/* 上段（黒背景） */
.footer__top{
  background: radial-gradient(900px 520px at 20% 25%, rgba(255,255,255,.06), transparent 60%),
              #1b1413;
  color: #fff;
}

.footer__inner{
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: 18px;
}

/* ロゴ枠 */
.footer__logo{
  width: min(320px, 80%);
  height: 64px;
  
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  border-radius: 4px;
}

/* 右リンク（2カラム） */
.footer__nav{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  justify-self: end;
  width: min(520px, 100%);
}

.footer__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer__list a{
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .02em;
  line-height: 1.7;
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.footer__list a:hover{
  opacity: 1;
  border-color: rgba(255,255,255,.28);
  transform: translateX(1px);
}

/* 下段（白帯） */
.footer__bottom{
  background: #fff;
  color: #111;
  padding: 14px 0;
}

.footer__copy{
  display: block;
  text-align: center;
  font-size: 14px;
  letter-spacing: .02em;
}

@media (max-width: 900px){
  .footer__inner{
    grid-template-columns: 1fr;
    gap: 22px;
  }






  /* ▼ここを変更：スマホでも2カラム横並び */
  .footer__nav{
    justify-self: start;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer__list{
    gap: 8px;
  }

 
}













.mpca-about{
    padding: 72px 0;
  background: linear-gradient(180deg, #ffffffaf 0%, #95debdd7 100%);
}

.mpca-about__inner{
width: min(900px, calc(100% - 44px));
  margin: 0 auto;
}
.mpca-consultant{
  padding: clamp(56px, 6vw, 96px) 16px;
  background-color: rgba(0, 104, 55, 0.5);
}

.mpca-consultant__inner{
  max-width: 900px;
  margin: 0 auto;
}

.mpca-repair{
  padding: clamp(56px, 6vw, 96px) 16px;
  background-color: rgba(243, 184, 6, 0.816);
}

.mpca-repair__inner{
  max-width: 900px;
  margin: 0 auto;
}

.mpca-coating{
  padding: clamp(56px, 6vw, 96px) 16px;
  background-color: rgba(3, 120, 193, 0.829);
}

.mpca-coating__inner{
  max-width: 900px;
  margin: 0 auto;
}


.mpca-sanshikaku{
  padding: clamp(56px, 6vw, 96px) 16px;
  background-color: rgba(81, 83, 81, 0.777);
}

.mpca-sanshikaku__inner{
  max-width: 900px;
  margin: 0 auto;
}





.kaisha {
width: 100%;
}

.kaisha th{
width: 200px;
font-weight: 300;
padding: 15px;

}
.kaisha td {
font-weight: 300;
padding: 15px;
}

.kaisha th {

background-color: #efefef; 
}

@media screen and (max-width: 767px) {
.kaisha,
.kaisha tr,
.kaisha td,
.kaisha th {display:block;}
.kaisha th {width:auto;}
}






/* ===== Join Page ===== */


.join-inner{
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 10px;
  text-align:center;
}

.join-title{
  font-size: 28px;
  margin-bottom: 10px;
}

.join-lead{
  font-size: 14px;
  margin-bottom: 50px;
  color:#555;
}

.join-buttons{
  display:flex;
  gap: 30px;
  justify-content:center;
}

.join-card{
  flex:1;
  max-width: 400px;
  padding: 40px 30px;
  background:#22ad09;
 
  border-radius: 6px;
  text-decoration:none;
  color:#ffffff;
  transition: all .2s ease;
}

.join-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  background:#22ad099f;
}

.join-card h2{
  margin-bottom: 14px;
  font-size: 18px;
}

.join-card p{
  font-size: 14px;
  color:#ffffff;
}



.join-card2{
  flex:1;
  max-width: 400px;
  padding: 40px 30px;
  background:#0963ad;
 
  border-radius: 6px;
  text-decoration:none;
  color:#ffffff;
  transition: all .2s ease;
}

.join-card2:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  background:#0963adaa;
}

.join-card2 h2{
  margin-bottom: 14px;
  font-size: 18px;
}

.join-card2 p{
  font-size: 14px;
  color:#ffffff;
}








/* Responsive */
@media (max-width: 768px){
  .join-buttons{
    flex-direction: column;
  }

}




.mpcashikaku {
  border-bottom: solid 3px #c6e1b2;
  position: relative;

}

.mpcashikaku:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #19a065;
  bottom: -3px;
  width: 20%;
}



.mpcashikaku3 {
  border-bottom: solid 3px #b2e5f6;
  position: relative;

}

.mpcashikaku3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #0662ca;
  bottom: -3px;
  width: 20%;
}


/* ===== NEWS Archive (一覧ページ) ===== */
.news-archive .news__panel{
  padding: 32px;
}

/* 横スライドを「縦一覧（グリッド）」に変換 */
.news__track--grid{
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 既存のflex指定を上書き（念のため） */
.news__track--grid.news__track{
  display: grid;
}

/* カード幅計算の上書き */
.news__track--grid .news__card{
  flex: initial;
  min-width: 0;
}

/* レスポンシブ */
@media (max-width: 900px){
  .news__track--grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 450px){
  .news-archive .news__panel{ padding: 14px; }
  .news__track--grid{ grid-template-columns: 1fr; }
}

/* タブをボタン→リンクにしても同じ見た目に */
.news-archive .news__tab{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ページネーション */
.news-pagination{
  margin-top: 22px;
}
.news-pagination ul{
  list-style: none;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.news-pagination a,
.news-pagination span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  color: #111;
  text-decoration: none;
  font-size: 13px;
}
.news-pagination .current{
  background: rgba(0,0,0,.85);
  color: #fff;
  border-color: transparent;
}


/* ===== Single Post (NEWS detail) ===== */
.post-single{
  padding-top: 110px; /* 固定ヘッダー分 */
}

.post-hero{
  padding: 60px 16px 24px;
}

.post-hero__inner{
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
}

.post-hero__meta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  margin-bottom: 12px;
}

.post-hero__date{
  font-size: 13px;
  color: rgba(11,15,20,.60);
  font-weight: 400;
}

.post-badge{
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  background: #000;
  color: #fff;
  text-decoration:none;
}
.post-badge.is-col{
  background: rgb(25, 157, 101);
}

.post-hero__title{
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: .02em;
  line-height: 1.25;
}

.post-hero__thumb{
  margin-top: 18px;
  border-radius: 7px;
  overflow:hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  background:#fff;
}
.post-hero__thumb img{
  display:block;
  width:100%;
  height: auto;
  object-fit: cover;
}

/* 本文ブロック */
.post-body{
  padding: 18px 16px 80px;
}

.post-body__inner{
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
}

.post-content{
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  padding: 32px;
}

/* WordPress本文の基本タイポ */
.post-content p{
  margin: 0 0 18px;
  color: rgba(17,17,17,.82);
  font-weight: 300;
}
.post-content h2{
  margin: 28px 0 14px;
  font-size: 22px;
  font-weight: 400;
}
.post-content h3{
  margin: 22px 0 12px;
  font-size: 18px;
  font-weight: 500;
}
.post-content a{
  color: rgb(3, 110, 184);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content ul,
.post-content ol{
  padding-left: 1.2em;
  margin: 0 0 18px;
}
.post-content img{
  max-width: 100%;
  height: auto;
  border-radius: 7px;
}

/* ボタン群 */
.post-share{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 前後記事 */
.post-nav{
  margin-top: 22px;
  display:flex;
  justify-content: space-between;
  gap: 12px;
}
.post-nav__item a{
  display:inline-block;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.86);
  text-decoration:none;
  color: #111;
  font-size: 13px;
}
.post-nav__item--right{
  margin-left:auto;
}

/* スマホ */
@media (max-width: 450px){
  .post-content{ padding: 18px; }
  .post-nav{ flex-direction: column; }
  .post-nav__item--right{ margin-left: 0; }
}

/* PCだけ：アイキャッチを小さめに（横幅を絞る） */
@media (min-width: 901px){
  .post-hero__thumb{
    max-width: 720px;     /* 600〜760あたりで好み調整 */
    margin-left: auto;
    margin-right: auto;
  }
}

