/* =============================================================
   株式会社クーテック – Corporate One-Page Site
   ============================================================= */

:root{
  --navy:   #0A2540;
  --blue:   #005BAB;
  --blue-2: #0074D9;
  --sky:    #4FC3E8;
  --mist:   #F4F7FA;
  --paper:  #FFFFFF;
  --ink:    #1A222C;
  --slate:  #5B6B7B;

  --font-jp-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-jp-body:    "Noto Sans JP", sans-serif;
  --font-en:         "Space Grotesk", sans-serif;

  --wrap: 1120px;
  --radius: 14px;
  --ease: cubic-bezier(.22,.8,.32,1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-jp-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible{
  outline: 2.5px solid var(--sky);
  outline-offset: 3px;
}

.eyebrow{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--blue);
  margin: 0 0 10px;
  text-transform: uppercase;
}

/* ---------------- Header ---------------- */

.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(10,37,64,.07);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled{
  box-shadow: 0 8px 24px rgba(10,37,64,.06);
}

.header-inner{
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo{
  height: 30px;
  width: auto;
}

.nav{
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transition: right .28s var(--ease);
}
.nav-link:hover::after{ right: 0; }

.nav-cta{
  background: var(--navy);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
}
.nav-cta::after{ display: none; }
.nav-cta:hover{ background: var(--blue); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */

.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(255,255,255,.72) 0%, rgba(255,255,255,.4) 45%, rgba(247,250,253,.55) 100%),
    url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-inner{
  position: relative;
  z-index: 1;
  padding-top: 20px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-catch{
  font-family: var(--font-jp-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--navy);
  margin: 0 0 90px;
  white-space: nowrap;
}

.hero-logo{
  height: clamp(100px, 16vw, 140px);
  width: auto;
  margin: 0 0 90px;
}

.hero-lead{
  font-size: 16.5px;
  color: var(--slate);
  max-width: 640px;
  margin: 0 0 60px;
}

.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 80px;
  border-radius: 999px;
  border: 0;
  font-size: 20px;
  font-weight: 500;
  transition: transform .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn-primary{
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover{ background: var(--navy); transform: translateY(-2px); }

.btn-lg{
  padding: 12px 80px;
  font-size: 20px;
}

.btn-ghost{
  border: 1.5px solid rgba(10,37,64,.22);
  color: var(--navy);
}
.btn-ghost:hover{ border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------------- Sections (shared) ---------------- */

.section{
  padding: 108px 0;
}
.section-alt{ background: var(--mist); }

.section-head{
  max-width: 620px;
  margin-bottom: 56px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head-center{
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title{
  font-family: var(--font-jp-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--navy);
  margin: 0;
}

/* ---------------- About ---------------- */

.about-grid{
  max-width: 760px;
  margin: 0 auto;
}

.info-table{
  margin: 0;
  border-top: 1px solid rgba(10,37,64,.12);
}

.info-row{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(10,37,64,.12);
}

.info-row dt{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--blue);
  padding-top: 2px;
}

.info-row dd{
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}
.info-row dd a{ color: var(--blue); }
.info-row dd a:hover{ text-decoration: underline; }

/* ---------------- Business cards ---------------- */

.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card{
  background: var(--paper);
  border: 1px solid rgba(10,37,64,.08);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  display: flex;
  align-items: center;
  flex-direction: column;
}
/*.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(10,37,64,.10);
}*/

.card-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--blue);
  margin-bottom: 22px;
}
.card-icon svg{ width: 26px; height: 26px; }

.card h3{
  font-family: var(--font-jp-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 12px;
}

.card p{
  font-size: 14.5px;
  color: var(--slate);
  margin: 0;
}

/* ---------------- Contact ---------------- */

.section-dark{
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 56px 0;
}
.section-dark::before{
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.08);
  right: -140px; bottom: -160px;
}

.section-dark .section-head{
  margin-bottom: 28px;
}

.section-head-light .section-title{ color: #fff; }
.section-head-light .eyebrow{ color: var(--sky); }

.contact-actions{
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.contact-actions .btn-primary:hover{
  background: var(--sky);
  color: var(--navy);
}

/* ---------------- Footer ---------------- */

.site-footer{
  background: #071A2E;
  color: rgba(255,255,255,.6);
  padding: 40px 0 24px;
}

.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-logo{
  height: 50px;
  /*filter: brightness(0) invert(1);
  opacity: .9;*/
  margin-bottom: 10px;
}

.footer-address,
.footer-contact,
.footer-copy{
  font-size: 12.5px;
  margin: 0;
}
.footer-contact{
  color: rgba(255,255,255,.75);
  margin-bottom: 6px;
}
.footer-copy{ opacity: .7; margin-top: 4px; }

/* ---------------- Responsive ---------------- */

@media (max-width: 880px){
  .card-grid{ grid-template-columns: 1fr; }
  .section{ padding: 80px 0; }
  .br-pc{ display: none; }
  .hero-catch{
    white-space: normal;
    padding: 0 8px;
  }
}

@media (max-width: 720px){
  .nav{
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(10,37,64,.08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open{
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .nav-link{
    padding: 14px 0;
    border-bottom: 1px solid rgba(10,37,64,.06);
  }
  .nav-cta{
    margin-top: 14px;
    text-align: center;
  }
  .nav-toggle{ display: flex; }

  .hero-actions{ flex-direction: column; }
  .btn{ width: 100%; }

  .info-row{ grid-template-columns: 1fr; gap: 4px; }
}
