:root{--navy:#0d2b4e;--blue:#2ba7e0;--pale:#eef8fc;--text:#1f2c39;--muted:#65727f;--line:#d9e5ec;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;color:var(--text);line-height:1.8;background:var(--white);overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
.container{width:min(1200px,calc(100% - 40px));margin-inline:auto}

/* Header: approved A-logo is used as-is; only display size and layout are controlled here. */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}
.header-inner{min-height:88px;display:flex;align-items:center;gap:22px;position:relative;overflow:visible}
.brand{display:flex;align-items:center;gap:14px;min-width:0;flex:0 1 auto;text-decoration:none}
.brand-logo{display:block;width:auto;height: auto;max-width:112px;flex:0 0 112px;object-fit:contain}
.brand-copy{display:flex;flex-direction:column;justify-content:center;line-height:1.15;color:var(--navy);white-space:nowrap;min-width:0}
.brand-copy strong{font-size:20px;letter-spacing:.03em}
.brand-copy small{font-size:13px;letter-spacing:.08em;margin-top:5px}
.global-nav{margin-left:auto;display:flex;gap:22px;align-items:center;flex:0 0 auto}
.global-nav a{font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
.menu-toggle{display:none;appearance:none;border:1px solid var(--navy);background:#fff;color:var(--navy);border-radius:8px;font-size:23px;padding:8px 11px;line-height:1;cursor:pointer}

.hero{padding:92px 0;background:linear-gradient(110deg,#f7fcff 0%,#fff 60%,#eef8fc 100%)}
.hero-inner{min-height:420px;display:flex;align-items:center}
.hero-copy{max-width:900px}
.eyebrow{font-size:18px;color:var(--blue);font-weight:700;letter-spacing:.08em}
.hero h1{font-size:clamp(36px,5vw,60px);line-height:1.2;margin:12px 0 20px;color:var(--navy);letter-spacing:.02em}
.hero-text{max-width:760px;color:var(--muted);font-size:17px}
.hero-actions,.recruit-buttons{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 22px;border-radius:999px;text-decoration:none;font-weight:700;transition:.2s}
.button-primary{background:var(--navy);color:#fff}.button-secondary{background:#fff;color:var(--navy);border:1px solid var(--navy)}.button:hover{transform:translateY(-1px);opacity:.9}
.section{padding:92px 0}.section-alt{background:var(--pale)}
.section-heading{margin-bottom:28px}.section-heading.center{text-align:center}.section-heading span{display:block;color:var(--blue);font-size:12px;letter-spacing:.2em;font-weight:800;margin-bottom:6px}.section-heading h2{margin:0;color:var(--navy);font-size:32px;line-height:1.35}
.text-link{display:inline-block;color:var(--blue);font-weight:700;text-decoration:none;border-bottom:1px solid var(--blue);padding-bottom:2px}
.message-card{margin-top:34px;padding:28px;border:1px solid var(--line);border-radius:20px;background:#fff}.message-label{font-weight:800;color:var(--navy);margin-top:0}.message-card p{margin:0 0 14px}.message-card p:last-child{margin-bottom:0}
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.service-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:20px}.service-card img{width:100%;aspect-ratio:16/8;object-fit:cover}.service-card>div{padding:22px}.service-card h3{margin:0 0 10px;color:var(--navy);font-size:21px}.service-card p{margin:0;color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.feature-grid article{padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff}.feature-grid span{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--pale);color:var(--blue);font-weight:800}.feature-grid h3{font-size:19px;color:var(--navy)}.feature-grid p{margin:0;color:var(--muted)}
.note{font-size:13px;color:var(--muted);margin-top:18px}.area-card{padding:36px;border:1px solid var(--line);border-radius:20px;background:#fff}.area-main{font-size:28px;font-weight:800;color:var(--navy);margin:0 0 8px}
.recruit-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:28px;align-items:start}.recruit-grid h3,.recruit-message h3{color:var(--navy);margin-top:0}.recruit-photo{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px}.recruit-info{margin-top:30px;border-top:1px solid var(--line)}.recruit-info>div{display:grid;grid-template-columns:160px 1fr;border-bottom:1px solid var(--line)}.recruit-info dt,.recruit-info dd{padding:15px 0;margin:0}.recruit-info dt{font-weight:800;color:var(--navy)}.recruit-info dd{padding-left:18px}.recruit-info span{color:var(--muted);font-size:13px}.recruit-message{margin-top:30px;padding:26px;border-radius:18px;background:var(--pale)}.recruit-message p{margin-bottom:0}.recruit-contact{margin-top:16px;color:var(--muted);font-size:14px}
.section-contact{background:var(--navy);color:#fff}.section-contact .section-heading h2,.section-contact .section-heading span{color:#fff}.center-text{text-align:center}.lead{font-size:18px}.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px}.contact-item{display:flex;flex-direction:column;gap:6px;padding:28px;border-radius:18px;background:#fff;color:var(--navy);text-decoration:none}.contact-item span{font-size:14px;font-weight:800}.contact-item strong{font-size:clamp(22px,4vw,34px);word-break:break-word}
.profile-list{border-top:1px solid var(--line)}.profile-list>div{display:grid;grid-template-columns:160px 1fr;border-bottom:1px solid var(--line)}.profile-list dt,.profile-list dd{margin:0;padding:14px 0}.profile-list dt{font-weight:800;color:var(--navy)}
.site-footer{padding:28px 0;background:#071b31;color:#fff}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand img{width:84px;height:60px;object-fit:contain}.footer-brand p{margin:0;font-weight:800}.footer-brand small{color:#c9d6e1}.copyright{font-size:13px;color:#c9d6e1}

@media (max-width:1100px){
  .container{width:min(100% - 32px,900px)}
  .header-inner{min-height:78px;gap:12px}
  .brand-logo{height: auto;max-width:96px;flex-basis:96px}
  .brand-copy strong{font-size:16px}.brand-copy small{font-size:11px}
  .global-nav{display:none;position:absolute;left:0;right:0;top:78px;margin:0;flex-direction:column;align-items:stretch;gap:0;padding:8px;background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:0 14px 35px rgba(13,43,78,.12)}
  .global-nav.is-open{display:flex}.global-nav a{padding:13px 14px;border-bottom:1px solid var(--line);font-size:14px}.global-nav a:last-child{border-bottom:0}
  .menu-toggle{display:block;margin-left:auto;flex:0 0 auto}
}

@media (max-width:760px){
  .container{width:min(100% - 28px,680px)}
  .header-inner{min-height:72px;gap:9px}
  .brand{flex:1 1 auto;min-width:0}
  .brand-logo{height: auto;max-width:82px;flex-basis:82px}
  .brand-copy strong{font-size:14px}.brand-copy small{font-size:10px;margin-top:4px}
  .global-nav{top:72px}
  .hero{padding:58px 0}.hero-inner{min-height:unset}.hero h1{font-size:38px}.hero-text{font-size:15px}
  .section{padding:64px 0}.section-heading h2{font-size:27px}.service-grid,.feature-grid,.recruit-grid,.contact-grid{grid-template-columns:1fr}
  .recruit-info>div,.profile-list>div{grid-template-columns:110px 1fr}.recruit-info dd{padding-left:12px}.footer-inner{flex-direction:column;align-items:flex-start}.message-card{padding:22px}.area-card{padding:24px}
}

@media (max-width:480px){
  .header-inner{min-height:72px}.brand-logo{width:82px;flex-basis:82px}.brand-copy strong{font-size:13px}.brand-copy small{font-size:9px}.menu-toggle{font-size:21px;padding:7px 10px}.global-nav{top:72px}
  .hero h1{font-size:34px}.eyebrow{font-size:14px}.hero-text{font-size:14px}.button{width:100%}.service-card>div{padding:18px}.service-card h3{font-size:19px}.recruit-info dt,.recruit-info dd,.profile-list dt,.profile-list dd{font-size:14px}.contact-item{padding:22px}.contact-item strong{font-size:22px}
}

/* FINAL HEADER FIX 2 — only header layout; approved logo/content unchanged */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: visible;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 1 auto;
  text-decoration: none;
  color: var(--navy);
}
.brand-logo {
  display: block;
  width: 88px;
  height: auto;
  max-width: 88px;
  flex: 0 0 88px;
  object-fit: contain;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.15;
  color: var(--navy);
  white-space: nowrap;
}
.brand-copy strong {
  font-size: 20px;
  letter-spacing: .025em;
}
.brand-copy small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  letter-spacing: .08em;
}
.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}
.global-nav a {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
  text-decoration: none;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
}

/* Prevent desktop navigation overflow on narrower browser windows. */
@media (max-width: 1180px) {
  .global-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 96px;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 14px 30px rgba(13,43,78,.12);
  }
  .global-nav.is-open {
    display: flex;
  }
  .global-nav a {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .global-nav a:last-child {
    border-bottom: 0;
  }
  .menu-toggle {
    display: block;
  }
  .header-inner {
    min-height: 88px;
  }
  .brand-logo {
    width: 82px;
    max-width: 82px;
    flex-basis: 82px;
  }
  .brand-copy strong {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  .header-inner {
    min-height: 76px;
    gap: 10px;
  }
  .brand {
    gap: 9px;
  }
  .brand-logo {
    width: 68px;
    max-width: 68px;
    flex-basis: 68px;
  }
  .brand-copy strong {
    font-size: 14px;
  }
  .brand-copy small {
    font-size: 10px;
    margin-top: 4px;
  }
  .global-nav {
    top: 76px;
  }
  .menu-toggle {
    font-size: 19px;
    padding: 6px 9px;
  }
}
@media (max-width: 420px) {
  .brand-logo {
    width: 62px;
    max-width: 62px;
    flex-basis: 62px;
  }
  .brand-copy strong {
    font-size: 13px;
  }
  .brand-copy small {
    font-size: 9px;
  }
}


/* HERO FIX ① — reference composition: living-room background + HTML overlay copy/CTAs. */
.hero{
  position:relative;
  min-height:560px;
  padding:0;
  overflow:hidden;
  background:#eef8fc;
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,rgba(247,252,255,.94) 0%,rgba(247,252,255,.78) 38%,rgba(247,252,255,.18) 66%,rgba(255,255,255,0) 100%);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  z-index:2;
  min-height:560px;
  display:flex;
  align-items:center;
}
.hero-copy{
  width:min(760px,68%);
  max-width:none;
  padding:54px 0;
}
.hero h1{font-size:clamp(40px,4.8vw,64px);}
.hero-text{max-width:700px;font-size:17px;}
.hero-actions{margin-top:28px;}
.hero-caption{
  position:absolute;
  right:18%;
  top:27%;
  transform:none;
  z-index:3;
  color:#26333d;
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:clamp(25px,2.5vw,39px);
  line-height:1.48;
  letter-spacing:.08em;
  text-align:left;
  white-space:nowrap;
  text-shadow:0 1px 8px rgba(255,255,255,.55);
}
.hero-caption i{
  display:block;
  width:150px;
  height:22px;
  margin:2px 0 0 2px;
  border-bottom:4px solid #6fc1ed;
  border-radius:50%;
  transform:rotate(-9deg) skewX(-18deg);
}
@media (min-width:761px) and (max-width:1100px){
  .hero-copy{width:58%;}
  .hero h1{font-size:44px;}
  .hero-text{font-size:16px;}
  .hero-caption{right:7%;font-size:28px;}
}
@media (max-width:760px){
  .hero{min-height:0;}
  .hero-bg img{object-position:58% center;}
  .hero::after{background:linear-gradient(180deg,rgba(247,252,255,.92) 0%,rgba(247,252,255,.78) 48%,rgba(255,255,255,.18) 100%);}
  .hero-inner{min-height:0;display:block;}
  .hero-copy{width:100%;padding:46px 0 0;}
  .hero h1{font-size:38px;}
  .hero-caption{
    position:relative;
    right:auto;
    top:auto;
    bottom:auto;
    transform:none;
    width:max-content;
    margin:42px 8% 32px auto;
    font-size:25px;
  }
  .hero-caption i{width:105px;height:16px;border-bottom-width:3px;}
}
@media (max-width:480px){
  .hero-copy{padding-top:42px;}
  .hero-caption{margin-top:36px;margin-right:8%;margin-bottom:28px;font-size:22px;}
}


/* LAYOUT FIX ② — restore hero copy visibility without changing content/assets. */
.hero-copy{
  position:relative;
  z-index:4;
  flex:0 0 68%;
  visibility:visible;
  opacity:1;
  color:var(--text);
}
@media (min-width:761px) and (max-width:1100px){
  .hero-copy{
    flex-basis:58%;
  }
}
@media (max-width:760px){
  .hero-copy{
    flex:0 0 auto;
    width:100%;
  }
}
