:root{
    --main:#0a5cff;
    --bg:#f6f8fb;}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Noto Sans JP',sans-serif;
}

.hero{
    margin-top:80px;
    height:80vh;
    position:relative;
    overflow:hidden;}
.slides img{
    position:absolute;
    width:100%;height:100%;
    object-fit:cover;opacity:0;
    transition:1s;}
.slides img.active{
    opacity:1;
}
.hero-text{
    position:absolute;
    top:40%;left:10%;
    color:#fff;}
.hero-text span{
    display:block;
    opacity:0;
    transform:translateX(-40px);
    animation:slide .8s forwards;}
.hero-text span:nth-child(2){
    animation-delay:.4s
}
.hero-text span:nth-child(3){
    animation-delay:.8s
}
@keyframes slide{
    to{
        opacity:1;transform:none
    }
}

/* =========================
  HERO OVERLAY
========================= */

.hero{
  position:relative;
}

.hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,.25),
    rgba(0,0,0,.1)
  );
  z-index:1;
}

.slides img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* テキストは一番上 */

.hero-text{
  position:relative;
  z-index:2;
  color:#fff;
}



.logos{
    display:flex;
    gap:40px;
    justify-content:center;
    padding:40px;background:var(--bg);
}

.logos-wrap{
  padding:80px 24px;
  background:var(--bg);
}

.logos-wrap .section-title{
  margin-bottom:40px;
}

.logos{
  display:flex;
  gap:40px;
  justify-content:center;
  flex-wrap:wrap;
}

.logos img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.logos a,
.logos .sponsor-item{
  width:180px;
  height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.services {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 24px;
}

.service {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 120px;
}

.service img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

/* タイトル */

.service-title {
  position: relative;
  font-size: 36px;
  margin-bottom: 24px;
  display: inline-block;
}

.service-title .shape {
  position: absolute;
  left: -10px;
  bottom: 6px;
  width: 0;
  height: 14px;
  background: linear-gradient(90deg,#2563eb,#60a5fa);
  z-index: -1;
  transition: width .8s ease;
}

.service-title.animate .shape {
  width: 110%;
}


.services-archive{
  padding:140px 24px;
  max-width:1100px;
  margin:0 auto;
}

.service-row{
  display:flex;
  gap:60px;
  align-items:center;
  margin-bottom:120px;
}

.service-img img{
  width:100%;
  max-width:480px;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:20px;
}

.service-body h3{
  font-size:28px;
  margin-bottom:18px;
}

.service-body p{
  margin-bottom:30px;
  color:#555;
}

@media(max-width:900px){
  .service-row{
    flex-direction:column;
  }
}

.services-archive .service-img{
  width:45%;
  max-width:520px;
}

.services-archive .service-img img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:20px;
  display:block;
}

/* ===== Service archive 画像サイズ完全固定 ===== */

.services-archive .service-row{
  display:flex;
  align-items:center;
  gap:60px;
  margin-bottom:120px;
}

.services-archive .service-img{
  width:45%;
  height:340px;   /* ← 親に高さを固定 */
  max-width:520px;
  flex-shrink:0;
  overflow:hidden;
  border-radius:22px;
  background:#eef4ff;
}

.services-archive .service-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

@media(max-width:768px){

  .services-archive .service-row{
    flex-direction:column;
  }

  .services-archive .service-img{
    width:100%;
  }

  .services-archive .service-img img{
    height:220px;
  }

}

/* =========================
  SERVICE ALTERNATE LAYOUT
========================= */

.service:nth-child(even){
  grid-template-columns: 1fr 420px;
}

.service:nth-child(even) img{
  order:2;
}

.service:nth-child(even) div{
  order:1;
}

/* SPでは縦並び */

@media(max-width:768px){

  .service:nth-child(even){
    grid-template-columns:1fr;
  }

  .service:nth-child(even) img,
  .service:nth-child(even) div{
    order:initial;
  }
}


/* =========================
  NEWS
========================= */

.news {
  background: #f8fafc;
  padding: 120px 24px;
}

.news-list {
  max-width: 900px;
  margin: 0 auto 40px;
}

.news-item {
  background: #fff;
  padding: 20px 28px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
}
@keyframes shapeSlide{
  to{ transform:skewX(-15deg) scaleX(1); }
}

@keyframes textFade{
  to{ opacity:1; transform:none; }
}

/* =========================
  NEWS DATE
========================= */

.news-item a{
  display:flex;
  gap:20px;
  align-items:center;
}

.news-item time{
  font-size:14px;
  color:#64748b;
  min-width:90px;
}

.news-item span{
  font-weight:600;
}


/* =========================
  NEWS BUTTON
========================= */

.news button{
  display:block;
  margin:60px auto 0;
  padding:16px 46px;
  font-size:16px;
  font-weight:600;
  border-radius:999px;
  border:2px solid #2563eb;
  background:#fff;
  color:#2563eb;
  cursor:pointer;
  transition:.3s ease;
  letter-spacing:.08em;
}

.news button:hover{
  background:#2563eb;
  color:#fff;
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(37,99,235,.35);
}


/* =========================
  ARCHIVE NEWS
========================= */

.archive-news{
  padding:140px 24px;
}

.single-news{
  padding:140px 24px;
}

.single-inner,
.archive-news .news-list{
  max-width:900px;
  margin:0 auto;
}

.single-news h1{
  font-size:36px;
  margin:20px 0 40px;
}

.single-date{
  color:#2563eb;
  font-weight:600;
}

.single-content p{
  margin-bottom:20px;
}

.news-archive{
  max-width:1100px;
  margin:120px auto;
  padding:0 24px;
}

.news-archive .section-title{
  text-align:center;
  margin-bottom:60px;
}

.news-archive .news-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.news-archive .news-item{
  border:1px solid #e5eaf0;
  border-radius:16px;
  padding:24px;
  transition:.4s;
  background:#fff;
}

.news-archive .news-item:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.news-archive time{
  font-size:13px;
  letter-spacing:.05em;
  color:#7a8aa0;
  display:block;
  margin-bottom:10px;
}

.news-archive h2{
  font-size:18px;
  line-height:1.5;
}

/* SP */
@media(max-width:900px){
  .news-archive .news-list{
    grid-template-columns:1fr;
  }
}




/* =========================
  SECTION TITLE
========================= */

.section-title{
  text-align:center;
  font-size:52px;
  margin-bottom:32px;
  letter-spacing:.08em;
}

/* =========================
  VISION
========================= */

.vision{
  max-width:1200px;
  margin:100px auto;
  padding:0 24px;
  text-align:center;
}

.vision-lead{
  font-size:18px;
  margin-bottom:24px;
}

.vision-points{
  list-style: none;
  justify-content:center;
  gap:32px;
  margin-bottom:80px;
}

.vision-points li{
  font-weight:600;
}

/* cards */

.vision-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
  margin-bottom:60px;
}

.vision-card{
  background:#fff;
  border-radius:20px;
  padding:40px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  
}

.vision-card ul{
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.vision-card li{
  margin-bottom: 10px;
  font-weight: 500;
}

.vision-card .icon{
  font-size:42px;
  margin-bottom:16px;
}

/* highlight */

.vision-highlight{
  border:3px solid #2563eb;
  border-radius:20px;
  padding:40px;
  max-width:900px;
  margin:0 auto;
}

.vision-highlight h4{
  color:#2563eb;
  font-size:26px;
  margin-bottom:12px;
}

/* =========================
  SCROLL ANIMATION BASE
========================= */

.fade-up{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}

.fade-up.is-show{
  opacity:1;
  transform:none;
}

/* =========================
  SECTION TITLE ANIMATION
========================= */

.section-title{
  position:relative;
}

.section-title::after{
  content:'';
  display:block;
  width:0;
  height:4px;
  background:#2563eb;
  margin:16px auto 0;
  transition:width .8s ease .3s;
}

.section-title.is-show::after{
  width:80px;
}

/* =========================
  VISION SPECIFIC
========================= */

.vision{
  opacity:0;
  transform:translateY(60px);
  transition:1.2s ease;
}

.vision.is-show{
  opacity:1;
  transform:none;
}

.vision-card{
  opacity:0;
  transform:translateY(40px);
  transition:.8s ease;
}

.vision-card.is-show{
  opacity:1;
  transform:none;
}

.vision-highlight{
  opacity:0;
  transform:scale(.95);
  transition:1s ease;
}

.vision-highlight.is-show{
  opacity:1;
  transform:scale(1);
}


/* =========================
  SP
========================= */

@media(max-width:768px){

  .vision-points{
    flex-direction:column;
  }

  .vision-cards{
    grid-template-columns:1fr;
  }

  .section-title{
    font-size:34px;
  }
}




@media (max-width: 1024px){

  .services{
    padding:80px 8%;
  }

  .service-title{
    font-size:1.9rem;
  }

}


/* =====================
   SP対応
===================== */
@media (max-width: 768px){

  .hero{
    height:65vh;
  }

  .hero-text{
    left:6%;
    top:45%;
  }

  .hero-text h1{
    font-size:1.8rem;
  }

  /* ロゴ横並び → スクロール */
  .logos{
    overflow-x:auto;
    justify-content:flex-start;
    padding:24px;
  }

  .logos a{
    flex:0 0 auto;
  }

  /* service 縦並び */
  .service{
    gap:20px;
  }

  .service img{
    width:100%;
  }

  .services{
    padding:60px 6%;
  }

  .service-title{
    font-size:1.6rem;
  }

  /* news */
  .news{
    padding:60px 6%;
  }

  .news-item{
    font-size:.95rem;
  }

  footer{
    flex-direction:column;
    gap:24px;
  }

  footer ul{
    align-items:flex-start;
  }

}
@media (max-width:768px){

  .service{
    grid-template-columns: 1fr;   /* ← 1列にする */
    gap:20px;
  }

  .service img{
    height:auto;
  }

}
@media(max-width:768px){

  .service:nth-child(even){
    grid-template-columns:1fr;
  }

}


/* =========================
  FOOTER
========================= */

.site-footer{
  background:#0f172a;
  color:#fff;
  padding:80px 24px 30px;
}

.footer-inner{
  max-width:1200px;
  margin:0 auto 40px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:40px;
}

.footer-logo{
  font-size:22px;
  font-weight:700;
}

/* nav */

.footer-nav{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footer-nav a{
  color:#cbd5f5;
  text-decoration:none;
  transition:.3s;
}

.footer-nav a:hover{
  color:#60a5fa;
}

/* bottom */

.copyright{
  text-align:center;
  font-size:13px;
  color:#94a3b8;
}

/* =========================
  SP
========================= */

@media(max-width:768px){

  .footer-inner{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .footer-nav{
    align-items:center;
  }
}

/* =========================
  ボタン
========================= */

.common-btn-wrap{
  margin:80px 0 0;
  text-align:center;
}

.common-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 42px;
  border-radius:999px;
  border:2px solid #2563eb;
  color:#2563eb;
  font-weight:600;
  letter-spacing:.08em;
  background:#fff;
  transition:.35s;
  cursor:pointer;
}

.common-btn:hover{
  background:#2563eb;
  color:#fff;
  transform:translateY(-3px);
  box-shadow:0 12px 26px rgba(37,99,235,.25);
}

.company{
  padding:140px 24px;
}

.company-table{
  max-width:900px;
  margin:0 auto;
}

.company-table .row{
  display:grid;
  grid-template-columns:200px 1fr;
  padding:26px 0;
  border-bottom:1px solid #e5eaf0;
}

.company-table dt{
  font-weight:600;
  color:#2563eb;
}

@media(max-width:768px){
  .company-table .row{
    grid-template-columns:1fr;
    gap:8px;
  }
}

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:#fff;
  z-index:1000;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:40px 36px;  /* ← 縦を広げた */
  display:flex;
  justify-content:space-between;
  align-items:center;
}


.site-logo a{
  font-size:22px;
  font-weight:800;
  letter-spacing:.08em;
  color:#0a5cff;
  text-decoration:none;
}


.site-logo img{
  height:44px;
  width:auto;
}

/* nav */

.global-nav .nav-list{
  display:flex;
  gap:40px;
  list-style:none;
}

.hamburger{
  display:none;
}

.global-nav a{
  text-decoration: none;
  font-weight: 700; /* ← 少し太く */
  letter-spacing: .08em;
  color:#0f172a;
}

.global-nav a::after{
  content:'';
  position:absolute;
  bottom:-6px;
  left:0;
  width:0;
  height:2px;
  background:#0a5cff;
  transition:.3s;
}


@media(max-width:900px){

  .global-nav{
    position:fixed;
    top:70px;
    right:-100%;
    width:70%;
    height:100vh;
    background:#fff;
    padding:40px;
    transition:.4s;
  }

  .global-nav.open{
    right:0;
  }

  .nav-list{
    flex-direction:column;
  }

  .hamburger{
    display:flex;
  }
}

/* ======================
  SERVICE SINGLE
====================== */



/* hero */

.service-hero{
  position:relative;
  height:60vh;
  overflow:hidden;
}

.service-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.service-hero .hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
}

.service-hero-text{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-align:center;
}

.service-hero-text h1{
  font-size:48px;
}

/* inner */

.service-detail-inner{
  max-width:1000px;
  margin:120px auto;
  padding:0 24px;
}

.service-lead{
  font-size:20px;
  font-weight:600;
  margin-bottom:60px;
}

/* blocks */

.service-content h2{
  font-size:30px;
  margin:80px 0 24px;
}

.service-content ul{
  margin-left:20px;
}

.service-content li{
  margin-bottom:12px;
}

/* CTA */

.service-cta{
  text-align:center;
  margin-top:120px;
}

.single-service{

}

.single-service-inner{
  max-width:1100px;
  margin:0 auto;
}

.service-hero-img img{
  width:100%;
  height:420px;
  object-fit:cover;
  border-radius:24px;
  margin:40px 0 80px;
}

.service-content h2{
  font-size:30px;
  margin:80px 0 24px;
}

.service-content h3{
  font-size:22px;
  margin:40px 0 16px;
}

.service-content img{
  max-width:100%;
  border-radius:18px;
  margin:40px 0;
}

.service-content ul{
  padding-left:1.4em;
}

.service-content li{
  margin-bottom:10px;
}

/* ===========================
   SINGLE SERVICE
=========================== */

.single-service{

}

/* hero */

.service-hero{
  position:relative;
  height:60vh;
  overflow:hidden;
}

.service-hero-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.service-hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.15)
  );
}

.service-hero-text{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-align:center;
  z-index:2;
}

.service-hero-text h1{
  font-size:56px;
  letter-spacing:.08em;
}

/* inner */

.service-detail-inner{
  max-width:1000px;
  margin:120px auto;
  padding:0 24px;
}

.service-lead{
  font-size:20px;
  font-weight:600;
  color:#2563eb;
  margin-bottom:60px;
  text-align:center;
}

/* content block */

.service-content h2{
  font-size:34px;
  margin:80px 0 24px;
}

.service-content h3{
  font-size:24px;
  margin:40px 0 16px;
}

.service-content p{
  margin-bottom:20px;
  line-height:1.9;
  color:#444;
}

.service-content img{
  max-width:100%;
  border-radius:20px;
  margin:40px 0;
}

/* gallery */

.service-content .wp-block-gallery{
  margin:80px 0;
}

/* SP */

@media(max-width:768px){

  .service-hero-text h1{
    font-size:32px;
  }

  .service-detail-inner{
    margin:80px auto;
  }

}


/* =========================
  SPONSOR LOGO FIX FINAL
========================= */

.logos{
  display:flex;
  justify-content:center;
  gap:80px;
  align-items:center;
}

.logos a{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:260px;
  height:120px;
}

.logos img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

.vision-card .icon img{
  width: 64px;
  height: 64px;
  object-fit: contain;
}



/* =========================
   CONTACT DESIGN FIX
========================= */

.contact-section{
  padding:100px 24px;
  background:#f8f9fb;
}

.contact-inner{
  max-width:720px;
  margin:0 auto;
}

.contact-form{
  margin-top:40px;
}

.contact-form .form-group{
  margin-bottom:28px;
}

.contact-form label{
  display:block;
  font-weight:600;
  margin-bottom:8px;
  font-size:14px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size:15px;
  transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:#111;
  outline:none;
}

.contact-form textarea{
  min-height:180px;
}

.form-submit{
  text-align:center;
  margin-top:40px;
}

.contact-form input[type="submit"]{
  background:#111;
  color:#fff;
  padding:14px 50px;
  border:none;
  border-radius:40px;
  font-size:14px;
  cursor:pointer;
  transition:.3s;
}

.contact-form input[type="submit"]:hover{
  opacity:.8;
}

.required{
  color:#c00;
  font-size:12px;
  margin-left:6px;
}

/* =========================
   CONTACT FINAL FIX
========================= */

.contact-section{
  padding:100px 24px;
  background:#f8f9fb;
}

.contact-inner{
  max-width:720px;
  margin:0 auto;
}

.wpcf7{
  width:100%;
}

.contact-form{
  margin-top:40px;
}

.contact-form .form-group{
  margin-bottom:28px;
}

.contact-form label{
  display:block;
  font-weight:600;
  margin-bottom:8px;
  font-size:14px;
}

.wpcf7-form-control{
  width:100%;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size:15px;
  transition:.3s;
  background:#fff;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:#111;
  outline:none;
}

.contact-form textarea{
  min-height:180px;
  resize:vertical;
}

.form-submit{
  text-align:center;
  margin-top:40px;
}

.wpcf7-submit{
  background:#111;
  color:#fff;
  padding:14px 50px;
  border:none;
  border-radius:40px;
  font-size:14px;
  cursor:pointer;
  transition:.3s;
}

.wpcf7-submit:hover{
  opacity:.8;
}

.required{
  color:#c00;
  font-size:12px;
  margin-left:6px;
}

/* =========================
   CF7 CHECKBOX COMPLETE FIX
========================= */

.wpcf7-checkbox .wpcf7-list-item{
  display:inline-flex !important;
  align-items:center;
  margin-right:20px;
}

.wpcf7-checkbox .wpcf7-list-item label{
  display:inline-flex !important;
  align-items:center;
  gap:6px;
}

.wpcf7-checkbox .wpcf7-list-item input{
  margin:0;
}

.wpcf7-checkbox{
  display:flex;
  flex-wrap:wrap;
}

/* チェックボックス横崩れ完全修正 */

.wpcf7-checkbox .wpcf7-list-item{
  display:inline-flex !important;
  align-items:center;
  width:auto !important;
}

.wpcf7-checkbox .wpcf7-list-item label{
  display:inline-flex !important;
  align-items:center;
  width:auto !important;
  white-space:nowrap;
}

.wpcf7-checkbox .wpcf7-list-item-label{
  width:auto !important;
  white-space:nowrap;
}
