:root{
  --blue:#003b8f;
  --deep:#00265f;
  --light:#eef8ff;
  --gold:#c99a2e;
  --text:#0b2347;
  --gray:#566477;
  --border:#dce5f0;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Noto Sans JP",sans-serif;
  color:var(--text);
  background:#fff;
}
img{width:100%;display:block}
a{text-decoration:none;color:inherit}
.section{padding:96px 48px}
.section-label{
  color:var(--blue);
  font-weight:900;
  letter-spacing:.16em;
  font-size:13px;
  margin:0 0 10px;
}
.center{text-align:center}
.section-title{
  text-align:center;
  font-family:"Noto Serif JP",serif;
  font-size:36px;
  margin:0 0 48px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 26px;
  border-radius:999px;
  font-weight:700;
  transition:.25s;
  border:1px solid transparent;
}
.btn:hover{transform:translateY(-2px)}
.btn-blue{background:var(--blue);color:#fff}
.btn-gold{background:var(--gold);color:#fff}
.btn-outline{background:#fff;color:var(--gold);border-color:var(--gold)}
.large{padding:16px 34px}

.header{
  position:sticky;
  top:0;
  z-index:1000;
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 44px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  box-shadow:0 4px 20px rgba(0,0,0,.05);
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  line-height:1.2;
}
.logo img{
    height:55px;
    width:auto;
    display:block;
}
.logo small{
  display:block;
  font-size:10px;
  letter-spacing:.12em;
  margin-top:4px;
  color:#607086;
}
.logo.white small{color:#b9c7d9}
.logo-mark{
  width:38px;height:38px;
  border:2px solid var(--blue);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--blue);
}
.white .logo-mark{border-color:#fff;color:#fff}
.nav{display:flex;gap:28px;font-size:14px;font-weight:800}
.header-buttons{display:flex;gap:12px}
.menu-btn{display:none;background:none;border:0;width:42px}
.menu-btn span{display:block;height:2px;background:var(--blue);margin:8px 0}

.hero{
  min-height:680px;
  display:grid;
  grid-template-columns:46% 54%;
  background:linear-gradient(90deg,#fff 0%,var(--light) 100%);
}
.hero-content{
  padding:92px 30px 80px 64px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.eyebrow{font-weight:900;color:var(--blue);letter-spacing:.15em}
.hero h1{
  font-family:"Noto Serif JP",serif;
  font-size:50px;
  line-height:1.55;
  letter-spacing:.06em;
  margin:16px 0 22px;
}
.lead{font-size:16px;line-height:2;color:#24364f}
.hero-actions{display:flex;gap:18px;margin-top:28px}
.hero-visual{position:relative;overflow:hidden}
.hero-visual:before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,0) 30%);
  z-index:1;
}
.hero-visual img{height:680px;object-fit:cover}

.about{
  display:grid;
  grid-template-columns:38% 1fr;
  gap:60px;
  align-items:center;
}
.about-image img{border-radius:2px;box-shadow:0 14px 34px rgba(0,0,0,.08)}
.about h2{
  font-family:"Noto Serif JP",serif;
  font-size:34px;
  margin:0 0 22px;
}
.about-text p{line-height:2}
.about-points{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:32px;
}
.about-points div{
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  padding:18px 10px;
  text-align:center;
  font-weight:800;
  color:var(--blue);
}

.service,.flow{background:var(--light)}
.service-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.service-card{
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 8px 20px rgba(0,0,0,.07);
  transition:.3s;
}
.service-card:hover{transform:translateY(-8px)}
/* =========================
   SERVICE CARD HEADER
========================= */

.card-head {
  padding: 18px;
  min-height: 120px; /* タイトル高さを統一 */
  display: flex;
  flex-direction: column;
}

.card-head span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #003b8f;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-head h3 {
  color: #003b8f;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;

  min-height: 56px; /* 1行でも2行でも高さを揃える */

  display: flex;
  align-items: center;
}
.service-card img{height:155px;object-fit:cover}
.service-card ul{
  list-style:none;
  margin:0;
  padding:20px;
}
.service-card li{
  position:relative;
  padding-left:17px;
  margin-bottom:9px;
  font-size:14px;
  line-height:1.7;
  color:#333;
}
.service-card li:before{
  content:"";
  position:absolute;
  left:0;
  top:.75em;
  width:6px;height:6px;
  border-radius:50%;
  background:var(--blue);
}

.strength-wrap{
  display:grid;
  grid-template-columns:40% 1fr;
  gap:36px;
  align-items:stretch;
}
.strength-image img{
  height:100%;
  min-height:420px;
  object-fit:cover;
  border-radius:4px;
}
.strength-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}
.strength-card{
  border:1px solid var(--border);
  background:#fff;
  padding:34px 26px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.strength-card h3{color:var(--blue);font-size:24px;margin:0 0 12px}
.strength-card p{line-height:1.8;margin:0;color:#39485d}

.flow-image{
  max-width:760px;
  margin:0 auto 34px;
}
.flow-image img{
  border-radius:8px;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}
.flow-list{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.flow-item{
  background:#fff;
  border-radius:20px;
  padding:28px 16px;
  text-align:center;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.flow-item span{
  width:40px;height:40px;
  margin:0 auto 12px;
  border-radius:50%;
  display:grid;place-items:center;
  background:var(--blue);
  color:#fff;
  font-weight:900;
}
.flow-item h3{margin:0 0 8px;color:var(--blue)}
.flow-item p{font-size:13px;line-height:1.7;margin:0;color:#4c5b70}

.company-table{
  width:100%;
  max-width:900px;
  margin:auto;
  border-collapse:collapse;
  background:#fff;
}
.company-table th,.company-table td{
  border-bottom:1px solid var(--border);
  padding:22px;
  text-align:left;
}
.company-table th{width:220px;color:var(--blue)}

.news-list{max-width:900px;margin:auto}
.news-list article{
  display:flex;
  gap:34px;
  padding:20px 0;
  border-bottom:1px solid var(--border);
}
.news-list time{font-weight:900;color:var(--blue)}

.contact{
  background:
    linear-gradient(90deg,rgba(0,38,95,.94),rgba(0,59,143,.86)),
    url("assets/10_cta_city.jpg") center/cover no-repeat;
  color:#fff;
}
.contact-inner{
  max-width:1120px;
  margin:auto;
  display:grid;
  grid-template-columns:36% 1fr;
  gap:44px;
  align-items:start;
}
.contact-copy h2{
  font-family:"Noto Serif JP",serif;
  font-size:38px;
  margin:0 0 20px;
}
.contact-copy p{line-height:2}
.contact-form{
  background:#fff;
  color:var(--text);
  padding:34px;
  border-radius:10px;
  box-shadow:0 20px 50px rgba(0,0,0,.2);
}
.form-row{margin-bottom:18px}
.form-row label{
  display:block;
  font-weight:800;
  margin-bottom:8px;
}
.form-row label span{
  background:#d63b3b;
  color:#fff;
  font-size:11px;
  border-radius:4px;
  padding:2px 6px;
  margin-left:8px;
}
input,select,textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #cad5e2;
  border-radius:6px;
  font:inherit;
}
textarea{resize:vertical}
.privacy{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:14px;
  margin:20px 0;
}
.privacy input{width:auto}
.submit-btn{width:100%;border:0;cursor:pointer;font-size:16px}
.form-note{
  margin:14px 0 0;
  color:var(--blue);
  font-weight:800;
  text-align:center;
}

.cta{
  padding:80px 48px;
  background:linear-gradient(90deg,var(--blue),#0054bd);
  color:#fff;
  text-align:center;
}
.cta h2{
  font-family:"Noto Serif JP",serif;
  font-size:36px;
  margin:0 0 16px;
}
.cta p{line-height:2;margin-bottom:28px}

.footer{
  background:var(--deep);
  color:#fff;
  padding:30px 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.footer nav{display:flex;gap:20px;font-size:13px}
.footer p{font-size:12px;color:#c7d3e3}

.page-top{
  position:fixed;
  right:24px;
  bottom:24px;
  width:48px;height:48px;
  border:0;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transition:.3s;
}
.page-top.show{opacity:1;pointer-events:auto}

.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:.8s ease;
}
.reveal.show{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:1200px){
  .service-grid{grid-template-columns:repeat(3,1fr)}
  .flow-list{grid-template-columns:repeat(3,1fr)}
  .header{padding:0 24px}
  .nav{gap:18px}
}

@media(max-width:900px){
  .section{padding:70px 22px}
  .header{height:auto;min-height:70px;flex-wrap:wrap}
  .menu-btn{display:block}
  .nav{
    display:none;
    width:100%;
    flex-direction:column;
    padding:20px 0;
  }
  .nav.active{display:flex}
  .header-buttons{display:none}
  .hero{grid-template-columns:1fr}
  .hero-content{padding:58px 22px}
  .hero h1{font-size:36px}
  .hero-actions{flex-direction:column}
  .hero-visual:before{display:none}
  .hero-visual img{height:auto}
  .about,.strength-wrap,.contact-inner{grid-template-columns:1fr}
  .about-points{grid-template-columns:repeat(2,1fr)}
  .service-grid,.strength-grid,.flow-list{grid-template-columns:1fr}
  .footer{flex-direction:column;text-align:center}
  .footer nav{flex-wrap:wrap;justify-content:center}
  .company-table th,.company-table td{display:block;width:100%}
  .news-list article{flex-direction:column;gap:4px}
}

/* =========================
   RESPONSIVE - TABLET
========================= */

@media (max-width: 1200px) {
  .header {
    padding: 0 24px;
  }

  .nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 70px 32px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-visual img {
    height: 520px;
  }

  .about,
  .strength-wrap,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* =========================
   RESPONSIVE - MOBILE
========================= */

@media (max-width: 900px) {
  .section {
    padding: 64px 22px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 36px;
  }

  .header {
    height: auto;
    min-height: 70px;
    padding: 16px 22px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 14px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
  }

  .nav.active {
    display: flex;
  }

  .header-buttons {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 56px 22px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.55;
  }

  .lead {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-visual img {
    height: auto;
  }

  .about {
    gap: 32px;
  }

  .about h2 {
    font-size: 28px;
  }

  .about-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .card-head {
    min-height: auto;
  }

  .card-head h3 {
    min-height: auto;
    font-size: 20px;
  }

  .service-card img {
    height: 220px;
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .strength-image img {
    min-height: auto;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 16px;
  }

  .news-list article {
    flex-direction: column;
    gap: 4px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-copy h2 {
    font-size: 30px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .cta {
    padding: 64px 22px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .footer {
    padding: 32px 22px;
  }

  .footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =========================
   RESPONSIVE - SMALL MOBILE
========================= */

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .btn {
    width: 100%;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 190px;
  }

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

  .contact-copy h2,
  .cta h2 {
    font-size: 26px;
  }

  .page-top {
    right: 16px;
    bottom: 16px;
  }
}

/* ===================================
   HERO RESPONSIVE
=================================== */

@media (max-width: 1200px) {

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 60px 40px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual img {
    height: auto;
    max-height: 650px;
    object-fit: cover;
  }

}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 900px) {

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  /* 画像を先に表示 */
  .hero-visual {
    order: 1;
    width: 100%;
  }

  .hero-content {
    order: 2;

    width: 100%;
    padding: 40px 24px;

    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.5;
  }

  .hero .lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    display: block;

    object-fit: cover;
    object-position: center center;
  }

}

/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 480px) {

  .hero-content {
    padding: 32px 18px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero .lead {
    font-size: 14px;
  }

  .hero-actions .btn {
    padding: 16px;
    font-size: 15px;
  }

}

/* ===================================
   SERVICE IMAGE FIX
   スマホで画像比率を維持
=================================== */

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  display: block;
}

/* スマホ */
@media (max-width: 900px) {

  .service-card img {
    width: 100%;
    height: auto !important;

    max-height: none;
    min-height: auto;

    object-fit: contain !important;
    object-position: center center;
  }

}

/* 小さいスマホ */
@media (max-width: 480px) {

  .service-card img {
    width: 100%;
    height: auto !important;
  }

}

/* ============================
   PREMIUM HOVER EFFECT
============================ */

.service-card img {
  transition:
    transform .5s ease,
    filter .5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.service-card {
  overflow: hidden;
}



/* ============================
   FORM MAIL STATUS
============================ */
.submit-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
}
.form-note.is-sending{color:#566477;}
.form-note.is-success{color:#007a3d;}
.form-note.is-error{color:#d63b3b;}
.privacy a{
  color:var(--blue);
  font-weight:800;
  text-decoration:underline;
}
