@charset "utf-8";

:root{
  --primary-color:#050607;
  --primary-inverse-color:#f4f4f2;
  --accent:#ff7200;
  --accent2:#ff9c1a;
  --muted:#c5c5bf;
  --line:rgba(255,114,0,.45);
  --global-space:3vw;
}

*{box-sizing:border-box}
html,body{font-size:13px}
@media screen and (min-width:900px){html,body{font-size:16px}}
body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","メイリオ",Meiryo,sans-serif;
  background:
    radial-gradient(circle at 80% 0%,rgba(255,114,0,.16),transparent 28%),
    var(--primary-color);
  color:var(--primary-inverse-color);
  line-height:2.05;
}
a{color:inherit;transition:.25s}
a:hover{opacity:.75}
img{border:none;max-width:100%;height:auto;vertical-align:middle}
figure,dd,nav,ul,li,ol{margin:0;padding:0}
nav ul{list-style:none}
ul,ol{margin-left:1.5rem;margin-bottom:1rem}
table{border-collapse:collapse}
section+section{margin-top:7vw}

#container{
  padding-left:var(--global-space);
  padding-right:var(--global-space);
}

header{
  padding-top:var(--global-space);
  padding-bottom:var(--global-space);
  text-align:center;
}
header address{
  font-style:normal;
  color:var(--accent);
  font-weight:700;
}
#logo{margin:0;padding:0}
#logo a{text-decoration:none;display:block}
#logo img{
  display:block;
  width:min(340px,78vw);
  max-height:92px;
  object-fit:contain;
  object-position:left center;
}

@media screen and (min-width:901px){
  header{
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
}

#mainimg{
  margin-bottom:var(--global-space);
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 24px 80px rgba(0,0,0,.45);
}
#mainimg img{
  display:block;
  width:100%;
}

#contents{
  display:flex;
  gap:var(--global-space);
}

main{
  flex:1;
  line-height:1.65;
}
main h2{
  margin-top:0;
  line-height:1.15;
  padding-bottom:1rem;
  margin-bottom:2rem;
  border-bottom:1px solid rgba(255,255,255,.35);
  font-size:clamp(1.6rem,4vw,3rem);
  letter-spacing:-.04em;
}
main h3{
  color:var(--accent);
  font-size:1.35rem;
  margin-bottom:.5rem;
}
main p{color:var(--muted)}
.orange,.tag{color:var(--accent)!important;font-weight:900}
.lead{
  font-size:clamp(1.25rem,2.8vw,2rem);
  color:#fff;
  font-weight:800;
}
.hero-copy{
  padding:2rem;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
}
.hero-copy h2{
  border-bottom:0;
  margin-bottom:.5rem;
}
.hero-copy h2::first-letter{color:var(--accent)}
.btns{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}
.btn{
  display:inline-flex;
  min-height:52px;
  align-items:center;
  justify-content:center;
  padding:0 1.4rem;
  border-radius:8px;
  background:linear-gradient(135deg,var(--accent),#e94700);
  color:#fff;
  text-decoration:none;
  font-weight:900;
}
.btn.ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,.45);
}
.new dt{
  color:var(--accent);
  font-weight:900;
}
.new dd{
  border-bottom:1px solid rgba(255,255,255,.15);
  padding-bottom:.75rem;
  margin-bottom:.75rem;
}
.list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
.list>div,.cards article{
  padding:1rem 1.2rem;
  border:1px solid rgba(255,255,255,.12);
  border-left:4px solid var(--accent);
  background:rgba(255,255,255,.055);
}

.list>div h3{
  margin-top:0;
  margin-bottom:.35rem;
}
.list>div p{
  margin:0;
}
.check li::marker{color:var(--accent)}
.ta1{
  width:100%;
  margin-top:1.5rem;
}
.ta1 th,.ta1 td{
  border:1px solid rgba(255,255,255,.22);
  padding:1rem;
  vertical-align:top;
}
.ta1 th{
  width:30%;
  color:var(--accent);
  text-align:left;
  background:rgba(255,114,0,.08);
}

#menubar{
  order:-1;
  width:230px;
}
#menubar h3{
  margin:0;
  line-height:2.2;
  font-size:1rem;
  background:linear-gradient(135deg,var(--accent),#e94700);
  color:#fff;
  padding-left:1rem;
}
#menubar li{
  border-bottom:1px solid rgba(255,255,255,.28);
}
#menubar li a{
  display:block;
  padding:.9rem 1rem;
  text-decoration:none;
}
#menubar li a:hover{
  background:rgba(255,114,0,.12);
  opacity:1;
}

footer{
  margin-top:var(--global-space);
  padding:2rem 0;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.16);
  color:var(--muted);
}
footer small{display:block}
footer a{text-decoration:none}
.credit{
  display:block;
  font-size:.82rem;
  opacity:.7;
}

.pagetop a{
  display:block;
  position:fixed;
  right:20px;
  bottom:20px;
  width:48px;
  line-height:48px;
  text-align:center;
  border-radius:50%;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  font-weight:900;
}

#menubar_hdr{
  display:none;
  position:fixed;
  right:18px;
  top:18px;
  z-index:100;
  width:48px;
  height:48px;
  border-radius:8px;
  background:var(--accent);
  cursor:pointer;
}
.menu-icon{
  display:grid;
  place-items:center;
  height:100%;
}
.menu-icon span{
  display:block;
  width:24px;
  height:2px;
  margin:3px 0;
  background:#fff;
}

@media screen and (max-width:900px){
  #contents{
    display:block;
  }
  .list{
    grid-template-columns:1fr;
  }
  #menubar{
    display:none;
    position:fixed;
    inset:0 auto 0 0;
    z-index:99;
    width:min(82vw,320px);
    padding:70px 1.2rem 1.2rem;
    background:#050607;
    box-shadow:20px 0 60px rgba(0,0,0,.6);
    overflow:auto;
  }
  #menubar.open{
    display:block;
  }
  #menubar_hdr{
    display:block;
  }
  header{
    padding-right:70px;
  }
  .ta1 th,.ta1 td{
    display:block;
    width:100%;
  }
}



/* ===========================
   Office OK Version 1.5 polish
   Header / Hero / Mobile-safe
=========================== */

:root {
  --ok-orange: #ff7200;
  --ok-orange2: #ff9a18;
  --ok-bg: #030405;
  --ok-line: rgba(255,114,0,.45);
}

html {
  scroll-padding-top: 110px;
}

body {
  background:
    radial-gradient(circle at 80% 0%, rgba(255,114,0,.16), transparent 30%),
    linear-gradient(180deg, #030405 0%, #070809 45%, #030405 100%);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,114,0,.32);
  background:
    linear-gradient(180deg, rgba(3,4,5,.96), rgba(3,4,5,.78));
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px rgba(0,0,0,.35);
}

header::after {
  content: "";
  position: absolute;
  left: var(--global-space, 3vw);
  right: var(--global-space, 3vw);
  bottom: -1px;
  height: 2px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,114,0,.9) 16%,
      rgba(255,156,24,.45) 48%,
      transparent 100%);
  pointer-events: none;
}

#logo img {
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.55));
}

#menubar h3 {
  letter-spacing: .12em;
  background: linear-gradient(135deg, var(--ok-orange), #e94700);
}

#menubar li a {
  position: relative;
  font-weight: 800;
  letter-spacing: .03em;
}

#menubar li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--ok-orange);
  transition: width .22s ease;
}

#menubar li a:hover::before {
  width: .7rem;
}

#mainimg {
  border: 1px solid rgba(255,114,0,.38);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  position: relative;
  background: #030405;
}

#mainimg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.12), transparent 40%),
    radial-gradient(circle at 78% 60%, rgba(255,114,0,.16), transparent 26%);
}

#mainimg img {
  width: 100%;
  display: block;
}

.hero-copy {
  border: 1px solid rgba(255,114,0,.42);
  border-left: 5px solid var(--ok-orange);
  background:
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}

.hero-copy h2 {
  text-shadow: 0 12px 32px rgba(0,0,0,.55);
}

.lead {
  color: #fff;
}

.btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(255,114,0,.18);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-120%);
  transition: transform .45s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.list > div,
.cards article,
.ta1,
.hero-copy {
  border-radius: 10px;
}

.ta1 th {
  color: var(--ok-orange);
}

footer {
  background:
    linear-gradient(180deg, rgba(255,114,0,.06), rgba(0,0,0,0)),
    #020303;
}

@media screen and (max-width: 900px) {
  html {
    scroll-padding-top: 80px;
  }

  header {
    position: sticky;
    top: 0;
    text-align: left;
  }

  #logo img {
    width: min(270px, 70vw);
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
  }

  #mainimg {
    margin-left: calc(var(--global-space, 3vw) * -1);
    margin-right: calc(var(--global-space, 3vw) * -1);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  #mainimg img {
    min-height: 260px;
    object-fit: cover;
    object-position: 62% center;
  }

  .hero-copy {
    padding: 1.3rem;
  }

  .hero-copy h2 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .btns {
    display: grid;
    gap: .8rem;
  }

  .btn {
    width: 100%;
  }
}

@media screen and (max-width: 520px) {
  body {
    line-height: 1.85;
  }

  #mainimg img {
    min-height: 220px;
    object-position: 68% center;
  }

  main h2 {
    font-size: 2rem;
  }
}


/* ===========================
   Contact form
=========================== */
.contact-form{
  display:grid;
  gap:1rem;
  margin-top:1.5rem;
}
.form-row{
  display:grid;
  gap:.45rem;
}
.form-row label{
  color:#fff;
  font-weight:900;
}
.form-row label span{
  color:var(--accent);
  font-size:.86rem;
  margin-left:.4rem;
}
.form-row input,
.form-row select,
.form-row textarea{
  width:100%;
  padding:.9rem 1rem;
  border:1px solid rgba(255,255,255,.22);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font:inherit;
}
.form-row input::placeholder,
.form-row textarea::placeholder{
  color:rgba(255,255,255,.45);
}
.form-row select option{
  color:#050607;
}
.form-row textarea{
  resize:vertical;
  min-height:180px;
}
.form-note{
  padding:1rem 1.2rem;
  border:1px solid rgba(255,255,255,.12);
  border-left:4px solid var(--accent);
  border-radius:8px;
  background:rgba(255,255,255,.045);
}
.form-note p{
  margin:.2rem 0;
}
button.btn{
  border:0;
  cursor:pointer;
  font:inherit;
}
