/* StartPort - minimal white / teal style (XD-like) */

:root{
  --ink:#222a2a;
  --muted:#6b7676;
  --line:#e6ecec;
  --bg:#ffffff;
  --accent:#00AFC8; /* ロゴのシアン寄り */
  --accent2:#00D1B2;
  --container: 1120px;
  --gutter: 20px;
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--ink);
  background:var(--bg);
  line-height:1.8;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* Header */
.site-header{
  position: sticky;
  top:0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand img{ height:38px; width:auto; display:block; }

.nav{
  display:flex;
  align-items:center;
  gap:26px;
  font-family:"Roboto Slab", serif;
  letter-spacing:0.06em;
}
.nav a{
  padding:8px 6px;
  color:var(--ink);
  opacity:0.9;
}
.nav a:hover{ opacity:1; text-decoration:none; }
.nav-cta{
  border:1px solid var(--accent);
  border-radius:999px;
  padding:8px 14px !important;
}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
}
.nav-toggle span{
  display:block;
  width:18px; height:2px;
  background:var(--ink);
  margin:4px auto;
  border-radius:2px;
}

/* Hero */
.hero{
  padding:22px 0 36px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:22px;
  align-items:start;
}
.hero-copy h1{
  margin:12px 0 10px;
  font-size: clamp(26px, 3.1vw, 44px);
  line-height:1.22;
  letter-spacing:-0.01em;
}
.hero-sub{
  margin:0 0 16px;
  color:var(--muted);
}
.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.hero-visual img{
  width:100%;
  height:auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 16px;
  border-radius:999px;
  font-weight:700;
  border:1px solid transparent;
}
.btn.primary{
  background: var(--accent);
  color:#fff;
  border-color: var(--accent);
}
.btn.ghost{
  background:#fff;
  border-color: var(--line);
  color:var(--ink);
}
.btn:hover{ text-decoration:none; filter: brightness(0.98); }

/* Sections */
.section{
  padding:56px 0;
}
.section-title{
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: end;
  column-gap: 16px;
  margin-bottom: 18px;
}

.section-title h2{
  margin:0;
  font-family:"Roboto Slab", serif;
  font-size: 52px;
  letter-spacing:0.06em;
  color: var(--accent);
  line-height: 1;
}
.title-arrow{
  flex:1;
  height:10px;
  position:relative;
  background: var(--accent);
  border-radius: 0;
}
.title-arrow::after{
  content:"";
  position:absolute;
  right:-22px;
  top:0;
  width:0; height:0;
  border-left: 22px solid var(--accent);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Strength cards */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  background:#fff;
}
.card-no{
  margin:0 0 8px;
  font-weight:800;
  color: var(--accent);
  letter-spacing:0.12em;
}
.card h3{ margin:0 0 8px; font-size:18px; }
.card p{ margin:0; color: var(--muted); }
.card strong{ color: var(--ink); }

/* About */
.about{ max-width: 860px; }
.about-head{
  margin: 10px 0 14px;
  font-size: 34px;
  line-height:1.35;
  letter-spacing:-0.01em;
}
.prose p{ margin:0 0 12px; color: var(--muted); }
.tagline{ margin-top: 12px; color: var(--ink); }

/* Service */
.service-list{ display:grid; gap:18px; }
.service{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:18px;
  align-items:center;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  background:#fff;
}
.service h3{ margin:0 0 8px; font-size:20px; }
.service p{ margin:0 0 10px; color: var(--muted); }
.service-case{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius: 14px;
  background: #fbfdfe;
}
.label{
  display:inline-block;
  font-weight:800;
  color: var(--accent);
  margin-right: 8px;
  font-size: 12px;
  letter-spacing:0.08em;
}
.service-media{
  display:flex;
  justify-content:center;
}
.media-placeholder{
  width:min(360px, 100%);
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: #6d8cff;
  color: rgba(255,255,255,0.88);
  font-weight:800;
  display:grid;
  place-items:center;
  letter-spacing:0.12em;
}

/* Company */
.company{ max-width: 860px; }
.dl{
  margin: 0;
  display:grid;
  gap:14px;
  padding: 8px 0;
}
.dl > div{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:16px;
  align-items: start;
}
dt{
  color: var(--muted);
  letter-spacing:0.08em;
}
dd{
  margin:0;
  color: var(--ink);
}

/* Contact */
.contact{ max-width: 860px; margin: 0; }
.contact-lead{ color: var(--muted); margin: 6px 0 16px; }
.contact-box{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:#fff;
}
.contact-box p{ margin:0 0 12px; color: var(--muted); }

.center-cta{ margin-top: 18px; text-align:center; }
.muted{ color: var(--muted); }
.small{ font-size: 12px; }

/* Footer */
.footer{
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-inner{ display:flex; justify-content:center; }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .service{ grid-template-columns: 1fr; }
  .section-title h2{ font-size: 44px; }
  .nav{ display:none; }
  .nav-toggle{ display:inline-block; }
  .nav.open{
    position:absolute;
    top:78px;
    right:var(--gutter);
    display:grid;
    gap:6px;
    padding:10px;
    width:min(260px, calc(100% - 40px));
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  }
  .nav.open a{ padding:10px 12px; }
}

@media (max-width: 600px){
  :root{ --gutter: 16px; }

  .header-inner{ height: 68px; }
  .brand img{ height: 32px; }

  .hero{ padding: 16px 0 28px; }
  .hero-inner{ gap: 14px; }
  .hero-copy h1{ font-size: 28px; line-height: 1.25; }
  .hero-sub{ font-size: 14px; }
  .hero-cta{ gap: 10px; }
  .btn{ height: 44px; padding: 0 14px; }
  .btn.primary, .btn.ghost{ width: 100%; }

  .section{ padding: 44px 0; }
  .section-title{ column-gap: 12px; margin-bottom: 14px; }
  .section-title h2{ font-size: 34px; }
  .title-arrow{ height: 6px; }
  .title-arrow::after{
    right:-14px;
    border-left: 14px solid var(--accent);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
  }

  .about-head{ font-size: 26px; }
  .card{ padding: 14px; }
  .service{ padding: 14px; }
  .dl > div{ grid-template-columns: 110px 1fr; gap: 12px; }
  .contact-box{ padding: 14px; }
  .nav.open{ top: 68px; right: var(--gutter); width: min(320px, calc(100% - (var(--gutter) * 2))); }
}


/* SERVICE media: keep layout stable and unify image presentation */
.service-media{
  width: min(420px, 100%);
}

.service-media-frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.service-media-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* On small screens, let media span full width */
@media (max-width: 980px){
  .service-media{ width: 100%; }
}
