@charset "utf-8";
/* ============================================================
   合同会社SHIP コーポレートサイト
   ※ 汎用テンプレート構成。装飾は最小限、JSに依存しない作りとする
   ============================================================ */

:root{
  --navy:#233B6C;
  --navy-dark:#1a2c50;
  --link:#1f5fa8;
  --text:#333333;
  --text-sub:#666666;
  --line:#e2e6ea;
  --bg-alt:#f7f8fa;
  --wrap:1080px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  color:var(--text);
  background:#ffffff;
  font-family:"Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size:15px;
  line-height:1.9;
  -webkit-text-size-adjust:100%;
}
@media (min-width:768px){ body{ font-size:16px; } }
img{ max-width:100%; height:auto; vertical-align:bottom; }
a{ color:var(--link); }
a:hover{ text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 16px; }
@media (min-width:768px){ .wrap{ padding:0 24px; } }

/* ---------- ヘッダー ---------- */
.header{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:50;
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.header__logo{
  font-size:20px; font-weight:bold; color:var(--navy); text-decoration:none;
  letter-spacing:.05em;
}
.header__logo small{ display:block; font-size:10px; color:var(--text-sub); font-weight:normal; letter-spacing:0; }
.gnav{ display:none; }
@media (min-width:900px){
  .gnav{ display:block; }
  .gnav ul{ display:flex; align-items:center; }
  .gnav li{ margin-left:22px; }
  .gnav a{ color:var(--text); text-decoration:none; font-size:14px; }
  .gnav a:hover{ color:var(--link); text-decoration:underline; }
  .gnav .btn-nav{
    background:var(--navy); color:#fff; padding:9px 16px; border-radius:4px;
    font-size:13px; text-decoration:none;
  }
  .gnav .btn-nav:hover{ opacity:.85; text-decoration:none; color:#fff; }
}
.menu-btn{
  display:block; width:44px; height:44px; border:1px solid var(--line);
  background:#fff; border-radius:4px; cursor:pointer; padding:0;
}
.menu-btn span{ display:block; width:20px; height:2px; background:#333; margin:4px auto; }
@media (min-width:900px){ .menu-btn{ display:none; } }
.spnav{ display:none; border-top:1px solid var(--line); background:#fff; }
.spnav.open{ display:block; }
.spnav a{ display:block; padding:14px 16px; border-bottom:1px solid var(--line); color:var(--text); text-decoration:none; font-size:15px; }

/* ---------- ページタイトル ---------- */
.pagetitle{ background:var(--navy); color:#fff; padding:36px 0; text-align:center; }
.pagetitle h1{ font-size:22px; font-weight:bold; }
@media (min-width:768px){ .pagetitle{ padding:52px 0; } .pagetitle h1{ font-size:28px; } }
.pagetitle p{ font-size:12px; letter-spacing:.15em; color:#c3cee0; margin-top:6px; }

.breadcrumb{ background:var(--bg-alt); border-bottom:1px solid var(--line); font-size:12px; color:var(--text-sub); }
.breadcrumb ol{ display:flex; flex-wrap:wrap; gap:6px; padding:10px 0; margin:0; list-style:none; }

/* ---------- トップ メインビジュアル ---------- */
.mv{ background:var(--navy); color:#fff; text-align:center; padding:56px 0; }
@media (min-width:768px){ .mv{ padding:88px 0; } }
.mv h1{ font-size:22px; font-weight:bold; line-height:1.6; }
@media (min-width:768px){ .mv h1{ font-size:32px; } }
.mv p{ margin-top:16px; font-size:14px; color:#d5deed; line-height:2; }
@media (min-width:768px){ .mv p{ font-size:16px; } }
.mv .btns{ margin-top:26px; }

/* ---------- セクション ---------- */
.section{ padding:44px 0; }
@media (min-width:768px){ .section{ padding:64px 0; } }
.section--alt{ background:var(--bg-alt); }
.section__head{ text-align:center; margin-bottom:28px; }
.section__en{ font-size:11px; letter-spacing:.18em; color:var(--text-sub); }
.section__head h2{
  font-size:20px; font-weight:bold; color:var(--navy); margin-top:6px;
  padding-bottom:12px; position:relative;
}
@media (min-width:768px){ .section__head h2{ font-size:26px; } }
.section__head h2::after{
  content:""; position:absolute; left:50%; bottom:0; width:40px; height:2px;
  background:var(--navy); transform:translateX(-50%);
}
.section__lead{ margin-top:14px; font-size:14px; color:var(--text-sub); }

.text{ max-width:760px; margin:0 auto; }
.text p + p{ margin-top:1.4em; }
.text--left{ margin-left:0; }

/* ---------- カード ---------- */
.cards{ display:grid; gap:16px; }
@media (min-width:768px){
  .cards--2{ grid-template-columns:repeat(2,1fr); }
  .cards--3{ grid-template-columns:repeat(3,1fr); }
  .cards--4{ grid-template-columns:repeat(4,1fr); }
}
.card{
  background:#fff; border:1px solid var(--line); border-radius:6px;
  padding:20px; box-shadow:0 1px 3px rgba(0,0,0,.05);
}
.card__num{ font-size:13px; color:var(--navy); font-weight:bold; }
.card h3{ font-size:16px; font-weight:bold; margin-top:6px; }
.card p{ font-size:14px; color:var(--text-sub); margin-top:8px; }

/* ---------- 表 ---------- */
.table{ width:100%; border-collapse:collapse; font-size:14px; background:#fff; }
.table th,.table td{ border:1px solid var(--line); padding:12px 14px; text-align:left; vertical-align:top; }
.table th{ background:var(--bg-alt); width:30%; font-weight:bold; white-space:nowrap; }
@media (max-width:600px){
  .table th,.table td{ display:block; width:100%; border-top:0; }
  .table tr:first-child th{ border-top:1px solid var(--line); }
}

/* ---------- 流れ（プレーン） ---------- */
.flow{ display:grid; gap:12px; counter-reset:flow; }
@media (min-width:768px){ .flow--4{ grid-template-columns:repeat(4,1fr); } .flow--5{ grid-template-columns:repeat(5,1fr); } }
.flow li{
  background:#fff; border:1px solid var(--line); border-radius:6px; padding:16px;
  font-size:14px;
}
.flow li b{ display:block; color:var(--navy); font-size:13px; margin-bottom:4px; }

/* ---------- リスト ---------- */
.list li{ position:relative; padding-left:18px; margin-top:8px; font-size:14px; }
.list li::before{ content:"・"; position:absolute; left:0; color:var(--navy); }

/* ---------- ボタン ---------- */
.btn{
  display:inline-block; padding:12px 26px; border-radius:4px;
  background:var(--navy); color:#fff!important; text-decoration:none; font-size:14px;
}
.btn:hover{ opacity:.85; }
.btn--outline{ background:#fff; color:var(--navy)!important; border:1px solid var(--navy); }
.btns{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }

/* ---------- お知らせ枠 ---------- */
.notice{
  border:1px solid var(--line); background:#fff; border-radius:6px;
  padding:24px; text-align:center;
}
.notice h3{ font-size:16px; font-weight:bold; }
.notice p{ font-size:14px; color:var(--text-sub); margin-top:10px; }

/* ---------- フッター ---------- */
.footer{ background:var(--navy-dark); color:#fff; padding:32px 0 0; margin-top:0; }
.footer__grid{ display:grid; gap:20px; }
@media (min-width:768px){ .footer__grid{ grid-template-columns:2fr 1fr 1fr; } }
.footer h4{ font-size:14px; font-weight:bold; margin-bottom:10px; }
.footer p,.footer li{ font-size:13px; color:#c3cee0; line-height:2; }
.footer a{ color:#c3cee0; text-decoration:none; }
.footer a:hover{ text-decoration:underline; }
.footer__copy{
  margin-top:24px; padding:14px 0; border-top:1px solid rgba(255,255,255,.2);
  text-align:center; font-size:12px; color:#a9b6cc;
}
