﻿:root{
  --blue:#004aa2;
  --deep:#003f91;
  --cyan:#02a9d8;
  --green:#56bd21;
  --text:#172033;
  --muted:#66768f;
  --line:#d7e4f4;
  --bg:#f4f9ff;
}

*{box-sizing:border-box}

body{
  padding-top: 86px; /* ヘッダーの高さ分 */
  margin:0;
  color:var(--text);
  background:linear-gradient(180deg,#fff 0,#f5faff 62%,#fff 100%);
  line-height:1.75;
}

/* Cocoon に絶対負けないフォント指定 */
html body {
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif !important;
  line-height:1.75 !important;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/************************************
** HEADER
************************************/
.site-header{
  height:86px;
  padding:0 56px;
  display:flex;
  align-items:center;
  gap:34px;
  background:#fff;
  box-shadow:0 4px 26px rgba(0,55,120,.08);
  position:fixed;
  top:0;
  width: 100%;
  z-index:20;
}

.brand img{
  width:282px;
}

.global-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:38px;
  font-weight:700 !important;
  font-size:15px !important;
}

.global-nav a{
  position:relative;
  padding:30px 0;
}

.global-nav a.active,
.global-nav a:hover{
  color:var(--blue);
}

.global-nav a.active::after,
.global-nav a:hover::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:22px;
  height:3px;
  background:var(--blue);
  border-radius:4px;
}

.contact-button{
  background:linear-gradient(135deg,#0056b8,#003d92);
  color:#fff;
  border-radius:999px;
  padding:14px 28px;
  font-size:14px !important;
  font-weight:800 !important;
  box-shadow:0 9px 22px rgba(0,68,155,.25);
  white-space:nowrap;
}

/* PCでは nav-toggle を消す */
.nav-toggle {
  display: none;
}

/* スマホ幅で nav-toggle を表示して線を描く */
@media (max-width: 1100px) {

  .nav-toggle {
    display: flex;
    width: 40px;   /* ← ここを広げる */
    height: 28px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;   /* ← 横幅を強制 */
    height: 4px;   /* ← 線を太くする */
    background: var(--text);
    border-radius: 4px;
  }

  /* スマホではグローバルナビを非表示 */
  .global-nav {
    display: none;
  }

  /* nav-toggle を押したら表示される状態 */
  .global-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 20px;
    position: absolute;
    top: 86px;
    right: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
}

/************************************
** HERO
************************************/
.hero{
  height:456px;
  position:relative;
  overflow:hidden;
}

.hero-visual{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:100%;
  object-fit:cover;
  object-position:left top;
}

/************************************
** SECTION / SERVICE / ABOUT / NEWS / STRENGTH
************************************/
.section{
  padding:26px 56px 20px;
}

.section-title span,
.label{
  display:block;
  font-size:12px !important;
  letter-spacing:.07em;
  color:var(--blue);
  font-weight:900 !important;
}

.section-title h2,
.panel h2{
  margin:2px 0 20px !important;
  font-size:24px !important;
  line-height:1.35 !important;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.service-card{
  min-height:150px;
  background:#fff;
  border:1px solid #e3edf8;
  border-radius:14px;
  box-shadow:0 9px 20px rgba(40,91,140,.1);
  display:grid;
  grid-template-columns:74px 1fr 14px;
  gap:14px;
  align-items:center;
  padding:22px;
  transition:.2s;
}

.service-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 28px rgba(40,91,140,.18);
}

.service-card img{
  width:66px;
  margin:auto;
}

.service-card h3{
  font-size:16px !important;
  margin:0 0 8px !important;
}

.service-card p{
  font-size:12px !important;
  margin:0 !important;
  color:#2e3848;
  font-weight:600 !important;
  line-height:1.6 !important;
}

.content-row{
  display:grid;
  grid-template-columns:1.03fr 1.4fr .95fr;
  gap:12px;
  padding:0 43px 38px;
  margin-bottom:10px;
}

.panel{
  background:rgba(255,255,255,.86);
  border:1px solid #e8f0f9;
  border-radius:12px;
  box-shadow:0 8px 24px rgba(50,93,140,.08);
  padding:24px;
}

.news dl div{
  display:grid;
  grid-template-columns:92px 1fr;
  border-bottom:1px solid #d7e2ef;
  padding:7px 0;
  font-size:13px !important;
}

.news dt{
  font-weight:800 !important;
  color:#627087;
}

.news dd{
  margin:0 !important;
  font-weight:700 !important;
}

.about{
  display:grid;
  grid-template-columns:1.1fr 222px;
  gap:24px;
  align-items:center;
}

.about img{
  border-radius:4px;
}

.strength-body{
  list-style:none;
  padding:0;
  margin:0;
}

.strength-body li{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:20px !important;
}

.strength-body img{
  width:48px;
  height:48px;
  flex-shrink:0;
}

/************************************
** FOOTER
************************************/
.site-footer{
  position:relative;
  background:linear-gradient(90deg,#023F8A,#0B51A6);
  color:#fff;
  overflow:visible;
}

.skyline{
  position:absolute;
  left:0;
  top:-44px;
  width:740px;
  opacity:.95;
}

.footer-inner{
  min-height:118px;
  display:grid;
  grid-template-columns:235px 1.25fr 1fr auto;
  gap:24px;
  align-items:center;
  padding:22px 56px;
}

.footer-logo{
  background:#fff;
  border-radius:0 0 42px 0;
  padding:18px 28px 16px;
  margin:-22px 0 -22px -56px;
}

.footer-logo img{
  width:218px;
}

.site-footer nav{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  font-size:12px !important;
  font-weight:700 !important;
}

.site-footer address{
  font-style:normal;
  font-size:12px !important;
  line-height:1.7 !important;
  color:#dcecff;
}

.site-footer address strong{
  font-size:15px !important;
  color:#fff;
}

.footer-contact{
  background:#fff;
  color:#004ca5;
  box-shadow:none;
  padding:12px 29px;
  border-radius:999px;
}

/************************************
** RESPONSIVE
************************************/
@media(max-width:1100px){
  .site-header{padding:0 24px}
  .global-nav{display:none}
  .nav-toggle{display:block;margin-left:auto}
  .contact-button{display:none}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr;padding:30px 24px}
  .footer-logo{margin:0;background:transparent;padding:0}
  .footer-logo img{filter:brightness(0) invert(1)}
}

@media(max-width:640px){
  .site-header{height:72px}
  .brand img{width:210px}
  .hero{height:auto;min-height:560px}
  .hero-visual{height:310px;top:250px;opacity:.9}
  .section{padding:26px 22px 10px}
  .service-grid{grid-template-columns:1fr}
  .footer-inner nav{display:grid;grid-template-columns:repeat(2,1fr)}
}

@media(max-width:640px){

  /* 全体の余白 */
  .section{
    padding:20px 18px;
  }
  
  /* HERO */
  .hero{
    min-height:420px;
  }
  .hero-visual{
    height:260px;
    top:50px;
  }


  /* 見出し */
  .section-title span{
    font-size:10px !important;
  }
  .section-title h2{
    font-size:18px !important;
  }

  /* SERVICE */
  .service-grid{
    grid-template-columns:1fr;
  }
  .service-card{
    grid-template-columns:60px 1fr 10px;
    padding:18px;
  }
  .service-card h3{
    font-size:14px !important;
  }
  .service-card p{
    font-size:11px !important;
  }

  /* CONTENT ROW */
  .content-row{
    grid-template-columns:1fr;
    padding:0 12px 24px;
  }

  /* ABOUT */
  .about{
    grid-template-columns:1fr;
  }

  /* NEWS */
  .news dl div{
    grid-template-columns:70px 1fr;
    font-size:12px !important;
  }

  /* STRENGTH */
  .strength-body li{
    gap:14px;
  }
  .strength-body img{
    width:40px;
    height:40px;
  }

  /* CTA */
  .cta-text{
    font-size:20px;
    text-align:center;
    padding-left:0;
  }
  .cta-icon{
    width:50px;
    height:50px;
    font-size:22px;
  }
  .cta-button{
    font-size:14px;
    padding:12px 26px;
  }

  /* FOOTER */
  .footer-inner{
    grid-template-columns:1fr;
    padding:24px 18px;
  }
  .footer-logo img{
    width:180px;
    filter:none;
  }
  .site-footer nav{
    font-size:11px !important;
  }
}

