@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;800&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root{
  --navy: #152A4E;
  --navy-deep: #0E1D38;
  --brand: #365EA6;
  --sax: #0090D8;
  --ink: #1C2228;
  --steel: #5B6470;
  --paper: #F4F5F7;
  --paper-warm: #EFF1F4;
  --line: #DDE1E7;
  --white: #FFFFFF;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; }
img{ max-width: 100%; display:block; }
:focus-visible{ outline: 2px solid var(--sax); outline-offset: 3px; }

h1,h2,h3,h4{
  font-family: 'Shippori Mincho', serif;
  margin: 0;
  font-weight: 600;
  color: var(--navy-deep);
}

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- HEADER ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,245,247,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 32px;
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
}
.brand img{height:clamp(30px, 5vw, 51px); width:auto; }/* ---height: 51px; width:auto; ---- */
/* ---------------- 修正---------------- */
.brand-text{
  display: none !important;/* -----追加----*/
  font-family:'Shippori Mincho', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}
  /* ---------------- 修正 ---------------- */
nav.main-nav ul{
  list-style:none;
  display:flex;
  gap: 34px;
  margin:0; padding:0;
}
nav.main-nav a{
  text-decoration:none;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover, nav.main-nav a.active{
  border-color: var(--sax);
  color: var(--navy-deep);
}
.header-tel{
  font-size: 0.85rem;
  color: var(--steel);
  text-align:right;
  display:none;
}
.header-tel strong{
  display:block;
  font-size: 1.1rem;
  color: var(--navy-deep);
  font-family:'Shippori Mincho', serif;
}
@media (min-width: 900px){
  .header-tel{ display:block; }
}
.menu-toggle{ display:none; }
@media (max-width: 780px){
  nav.main-nav{ display:none; }
  .menu-toggle{
    display:block;
    background:none; border: 1px solid var(--line);
    padding: 8px 14px; font-size: 0.85rem; color: var(--navy-deep);
  }
  nav.main-nav.open{
    display:block;
    position:absolute;
    top: 100%; left:0; right:0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 32px 20px;
  }
  nav.main-nav.open ul{ flex-direction: column; gap: 14px; }
}

/* ---------------- PAGE HERO (interior pages) ---------------- */
.page-hero{
  background: var(--navy-deep);
  color: var(--white);
  padding: 76px 0 56px;
}
.page-hero .eyebrow{
  font-size: 0.85rem;
  color: #9FB4D6;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.page-hero h1{
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.breadcrumb{
  margin-top: 18px;
  font-size: 0.70rem;/* --- 0.82remを0.70remに変更--- */ 
  color: #9FB4D6;
}
.breadcrumb a{ text-decoration:none; color:#C6D5EC; }

/* ---------------- HOME HERO ---------------- */
.home-hero{
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.home-hero-bg{
  position: absolute;
  top:0; right:0; bottom:0; left:0;
  background-image: url('assets/signage.jpg');
  background-size: cover;
  background-position: center 55%;
  filter: grayscale(15%) contrast(1.05);
}
.home-hero-scrim{
  position:absolute;
  top:0; right:0; bottom:0; left:0;
  background: linear-gradient(100deg, rgba(14,29,56,0.94) 0%, rgba(14,29,56,0.8) 42%, rgba(21,42,78,0.55) 100%);
}
.home-hero-content{
  position: relative;
  padding: 60px 30px 40px;/* ----100px? 0px 60px ---- */
}
.home-hero-content .eyebrow{
  font-size: 0.88rem;
  color: #9FB4D6;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}
.home-hero-content h1{
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 3.4rem);/* ----2.4rem, 5vw, 3.4rem ---- */
  line-height: 1.5;
  max-width: 20ch; /* -----18chを20chに変更----*/
}
.home-hero-content p.lead{
  margin-top: 28px;
  max-width: 44ch;
  color: #D6DEEC;
  font-size: 1.05rem;
}
.hero-actions{
  margin-top: 40px;
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 14px 28px;
  text-decoration:none;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary{
  background: var(--sax);
  color: var(--white);
}
.btn-primary:hover{ background: #0077B3; }
.btn-ghost{
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-ghost:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }

/* license strip */
.license-strip{
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.license-strip .wrap{
  padding: 18px 32px;
  display:flex;
  gap: 28px;
  flex-wrap: wrap;
  color: #C6D5EC;
  font-size: 0.82rem;
}

/* ---------------- SECTION ---------------- */
section{ padding: 88px 0; }
section.tight{ padding: 64px 0; }
.section-head{
  margin-bottom: 48px;
  max-width: 56ch;
}
.section-head .eyebrow{
  font-size: 0.82rem;
  color: var(--sax);
  margin-bottom: 12px;
}
.section-head h2{
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.section-head p{
  margin-top: 16px;
  color: var(--steel);
}

/* strengths */
.strengths{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.strength{
  background: var(--white);
  padding: 36px 32px; /*--変更36px 32px--*/
  margin-bottom: 10px; /*--追加--*/
}
.strength .num{
  font-family:'Shippori Mincho', serif;
  font-size: 0.85rem;
  color: var(--sax);
  margin-bottom: 18px;
}
.strength h3{ font-size: 1.15rem; margin-bottom: 12px; }
.strength p{ color: var(--steel); font-size: 0.92rem; margin:0; }
@media (max-width: 760px){
  .strengths{ grid-template-columns: 1fr; }
}

/* business grid */
.biz-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-card{
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 26px;
}
.biz-card .tag{
  font-size: 0.76rem;
  color: var(--sax);
  margin-bottom: 10px;
}
.biz-card h3{ font-size: 1.05rem; margin-bottom: 10px; }
.biz-card p{ color: var(--steel); font-size: 0.88rem; margin:0; }
@media (max-width: 760px){
  .biz-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px){
  .biz-grid{ grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band{
  background: var(--navy-deep);
  color: var(--white);
  padding: 72px 0;
}
.cta-band .wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2{ color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p{ color: #C6D5EC; margin-top: 10px; }

/* ---------------- COMPANY PAGE ---------------- */
.message-block{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.message-block h2{ font-size: clamp(1.6rem,3vw,2.1rem); margin-bottom: 8px;}
.message-block .role{
  font-size: 0.86rem;
  color: var(--steel);
  margin-bottom: 28px;
}
.message-block .signature{
  margin-top: 32px;
  font-family:'Shippori Mincho', serif;
  font-size: 1.15rem;
}
.message-block p{ color: var(--ink); margin: 0 0 18px; }
.company-photo{
  border: 1px solid var(--line);
  overflow:hidden;
}
@media (max-width: 800px){
  .message-block{ grid-template-columns: 1fr; }
}

.info-table{
  width:100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.info-table tr{ border-top: 1px solid var(--line); }
.info-table tr:last-child{ border-bottom: 1px solid var(--line); }
.info-table th{
  text-align:left;
  width: 180px;
  padding: 18px 20px 18px 0;
  font-weight: 500;
  color: var(--steel);
  font-size: 0.9rem;
  vertical-align: top;
}
.info-table td{
  padding: 18px 0;
  font-size: 0.96rem;
}
@media (max-width: 600px){
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td{ display:block; width:100%; }
  .info-table th{ padding-bottom: 4px; }
  .info-table td{ padding-top: 0; padding-bottom: 16px; }
}

/* ---------------- BUSINESS PAGE ---------------- */
.flow{
  counter-reset: flow;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.flow-step{
  background: var(--white);
  padding: 30px 24px;
}
.flow-step .step-index{
  counter-increment: flow;
  font-family:'Shippori Mincho', serif;
  color: var(--sax);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.flow-step .step-index::before{ content: counter(flow, decimal-leading-zero); margin-right: 6px; }
.flow-step h3{ font-size: 1rem; margin-bottom: 10px; }
.flow-step p{ color: var(--steel); font-size: 0.86rem; margin:0; }
@media (max-width: 900px){
  .flow{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .flow{ grid-template-columns: 1fr; }
}

.biz-detail-list{
  display:flex;
  flex-direction: column;
}
.biz-detail{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.biz-detail:last-child{ border-bottom: 1px solid var(--line); }
.biz-detail h3{ font-size: 1.1rem; }
.biz-detail p{ margin:0; color: var(--steel); font-size: 0.92rem; }
@media (max-width: 700px){
  .biz-detail{ grid-template-columns: 1fr; gap: 8px; }
}

/* ---------------- CONTACT PAGE ---------------- */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-card{
  border: 1px solid var(--line);
  background: var(--white);
  padding: 36px;
}
.contact-card dt{ font-size: 0.8rem; color: var(--steel); margin-bottom: 4px; }
.contact-card dd{ margin: 0 0 22px; font-size: 1.02rem; }
.contact-card dd:last-child{ margin-bottom: 0; }
.map-frame{
  border: 1px solid var(--line);
  overflow:hidden;
  min-height: 340px;
}
.map-frame iframe{ width:100%; height:100%; min-height: 340px; border:0; display:block; }
@media (max-width: 800px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* ---------------- FOOTER ---------------- */
footer.site-footer{
  background: var(--navy-deep);
  color: #B9C5DB;
  padding: 56px 0 28px;
}
.footer-top{
  display:flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.footer-brand img{height:clamp(30px, 5vw, 51px); width:auto; }/* ---height: 51px; width:auto; ---- */
/* ---------------- 修正---------------- *//* ---height: 51px; ---- */
.footer-brand span{ font-family:'Shippori Mincho', serif; color: var(--white); font-size: 1rem; }
.footer-nav ul{
  list-style:none;
  display:flex;
  gap: 26px;
  margin:0; padding:0;
  flex-wrap: wrap;
}
.footer-nav a{ text-decoration:none; font-size: 0.86rem; color: #B9C5DB; }
.footer-nav a:hover{ color: var(--white); }
.footer-bottom{
  padding-top: 22px;
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #8393AC;
}

/* reveal (single orchestrated hero entrance) */
.reveal{
  animation: revealIn 0.65s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes revealIn{
  from{ opacity:0; transform: translateY(12px); }
  to{ opacity:1; transform: translateY(0); }
}
