/* ===========================================
   SOUTHWIND 共通スタイルシート sw-style.css
   index.html / company.html 共用
   ※このファイルはテキストエディタで編集してください
   =========================================== */
/* ===========================================
   SOUTHWIND index.html（2026リニューアル版）
   =========================================== */
:root{
  --sw-navy : #1144a4;
  --sw-teal : #00a0b8;
  --sw-surf : #e8f4f8;
  --sw-sand : #f5f7fa;
  --sw-text : #222222;
  --sw-muted: #666666;
  --sw-red  : #cc2200;
  --sw-max-w: 1200px;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; padding:0;
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size:15px; line-height:1.7;
  color:var(--sw-text);
  background:var(--sw-sand);
  overflow-x:hidden;
}
a{ color:var(--sw-navy); text-decoration:none; }
a:hover{ color:var(--sw-teal); text-decoration:underline; }
img{ max-width:100%; height:auto; vertical-align:bottom; }
iframe{ max-width:100%; border:0; }

.wrapper{
  max-width:var(--sw-max-w);
  margin:0 auto;
  background:#fff;
  box-shadow:0 0 24px rgba(0,0,0,.06);
}

/* ---------- ヘッダー ---------- */
.site-head{
  background:linear-gradient(135deg,#0a2a6e 0%,var(--sw-navy) 60%,#1a5aac 100%);
  border-bottom:3px solid var(--sw-teal);
  padding:10px 16px 6px;
  color:#fff;
}
.site-head .tagline{ font-size:14px; color:#fff; }

/* 波形シグネチャ */
.wave-line{
  height:6px;
  background:
    radial-gradient(ellipse 16px 6px at 8px 6px,var(--sw-teal) 100%,transparent 100%) 0 0,
    radial-gradient(ellipse 16px 6px at 8px 0px,#fff 100%,transparent 100%) 16px 0;
  background-size:16px 6px;
  background-repeat:repeat-x;
  opacity:.5;
}

/* ---------- ナビ ---------- */
.gnav{
  background:var(--sw-navy);
  border-bottom:2px solid var(--sw-teal);
}
nav.sw-nav{
  display:flex; flex-wrap:wrap; align-items:center;
  gap:2px; padding:5px 8px;
}
nav.sw-nav a{
  display:inline-block;
  padding:6px 13px;
  color:#fff; font-size:13px; font-weight:bold;
  white-space:nowrap; border-radius:3px;
  transition:background .15s;
}
nav.sw-nav a:hover{ background:var(--sw-teal); color:#fff; text-decoration:none; }
span.nav-group{
  display:inline-flex; align-items:center;
  color:#ccddff; font-size:12px; font-weight:bold;
  padding:0 6px;
  border-left:1px solid rgba(255,255,255,.3);
  border-right:1px solid rgba(255,255,255,.3);
}
span.nav-group a{ padding:6px 8px; font-size:12px; }

/* ---------- イントロ帯 ---------- */
.intro{
  display:flex; flex-wrap:wrap; gap:10px;
  justify-content:space-between; align-items:flex-end;
  padding:10px 16px 6px;
  font-size:13px; color:var(--sw-muted);
}
.intro .accent{ color:var(--sw-red); }
.intro .search{ min-width:220px; }

/* ---------- 2カラムレイアウト ---------- */
.layout{
  display:flex; gap:0; align-items:flex-start;
  padding:0 8px 20px;
}
main.col-main{ flex:1 1 75%; min-width:0; padding:0 8px; }
aside.col-side{ flex:0 0 25%; max-width:25%; padding:0 8px; }

/* ---------- セクション見出し ---------- */
h2.topic{
  background:linear-gradient(90deg,var(--sw-navy) 0%,#1a5aac 100%);
  color:#87cefa;
  font-size:14px; font-weight:bold;
  padding:7px 14px; margin:26px 0 12px;
  letter-spacing:.05em;
  border-left:4px solid var(--sw-teal);
}
main.col-main > h2.topic:first-child{ margin-top:12px; }

/* ---------- 商品ブロック ---------- */
.item{ text-align:center; padding:8px 4px 18px; }
.item .name{ font-size:17px; margin:8px 0 2px; }
.item .caption{ font-size:13px; color:var(--sw-muted); }
.item .catch{ color:var(--sw-red); font-size:16px; font-weight:bold; line-height:1.7; }
.item .catch.big{ font-size:22px; }
.item .price{ color:var(--sw-red); font-size:16px; font-weight:bold; }
.item p{ margin:6px 0; }
.item img{ margin:2px 0; }

/* 案内ボックス */
.notice-red{
  background:#fff0f0; border-left:4px solid #ff0000;
  padding:10px 16px; margin:8px 0;
  font-size:16px; font-weight:bold; color:#cc0000; line-height:1.6;
  text-align:left;
}
.notice-blue{
  background:#f0f4ff; border:1px solid #aabbdd; border-radius:4px;
  padding:10px 16px; margin:8px 0;
  font-size:15px; line-height:1.8; text-align:center;
}
.notice-blue .free{ color:#cc0000; font-weight:bold; }
.notice-blue .small{ color:#666; font-size:13px; }

/* 営業時間 */
.hours{ color:var(--sw-red); font-size:18px; font-weight:bold; margin:6px 0; }

/* ---------- カレンダー ---------- */
.cal-wrap{
  display:flex; flex-wrap:wrap; gap:20px;
  justify-content:center; align-items:flex-start;
  padding:10px 0;
}
.cal-block{ text-align:center; }
table.cal{
  border-collapse:separate; border-spacing:1px;
  background:#ccc; color:#222;
  width:170px; margin:0 auto 6px;
  font-size:13px;
}
table.cal caption{
  background:#fff; padding:3px; font-size:13px;
  border:1px solid #ccc; border-bottom:none;
}
table.cal th{ background:#ddd; font-weight:normal; padding:2px; }
table.cal td{ background:#fff; padding:2px; text-align:center; }
table.cal td.closed{ background:#ffcccc; }
table.cal td.sun{ color:red; }
.cal-legend{ font-size:14px; }
.cal-legend .mark{ color:#ffcccc; font-size:22px; vertical-align:middle; }

/* PKシリーズ比較表 */
.pk-hero{
  background:#2b53a6; padding:14px; text-align:center; margin:8px 0;
}
.pk-points{
  text-align:left; font-size:14px; line-height:1.9;
  max-width:540px; margin:10px auto;
}
table.pk-grid{
  border-collapse:collapse; margin:0 auto; width:100%; max-width:700px;
}
table.pk-grid td{ padding:4px; text-align:center; }
table.pk-grid td.pic{ background:#2b53a6; }
table.pk-grid td.label{ background:#c4d0df; font-size:14px; }
table.pk-grid td.feature{ background:#c4d0df; color:var(--sw-red); font-size:13px; font-weight:bold; }

/* ディーラー2枚並び等 */
.pair{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
}
.pair > div{ flex:1 1 45%; min-width:240px; text-align:center; }

/* ---------- サイドバー ---------- */
.side-box{
  border:1px solid #d0e4ee; border-radius:4px;
  background:#fff; margin-bottom:14px;
  padding:10px; text-align:center;
  font-size:13px; color:var(--sw-muted);
}
.side-box .head{
  background:var(--sw-navy); color:#fff;
  font-size:13px; font-weight:bold;
  padding:5px 8px; margin:-10px -10px 8px;
  border-radius:3px 3px 0 0;
}
.side-box .map-title{ color:var(--sw-navy); font-size:20px; font-weight:bold; }
.side-box iframe{ width:100%; height:160px; }
.side-box ul{ list-style:none; margin:0; padding:0; text-align:left; }
.side-box li{ padding:4px 0; border-bottom:1px dotted #e0e8f0; }
.side-box li:last-child{ border-bottom:none; }
.side-box li a{ color:#333; }
.side-box li .area{ color:#999; font-size:11px; }
.side-box .red{ color:var(--sw-red); }

/* ---------- フッター ---------- */
.site-foot{
  background:linear-gradient(90deg,#f0f4ff 0%,#e8f4f8 100%);
  border-top:3px solid var(--sw-navy);
  padding:14px 20px; font-size:13px; line-height:1.8;
}
.site-foot .contact-banner{ text-align:center; padding:10px 0 4px; }
.copyright{
  background:var(--sw-navy);
  color:rgba(255,255,255,.6);
  font-size:12px; text-align:center;
  padding:8px 16px;
}

/* ---------- スマホ ---------- */
@media screen and (max-width:768px){
  .layout{ flex-direction:column; padding:0; }
  main.col-main{ flex:1 1 100%; width:100%; padding:0 10px; }
  aside.col-side{
    flex:1 1 100%; max-width:100%; width:100%;
    padding:12px 10px 0;
    border-top:3px solid var(--sw-navy); margin-top:14px;
  }
  nav.sw-nav{ gap:3px; padding:3px; }
  nav.sw-nav a{ padding:8px 10px; font-size:12px; background:rgba(255,255,255,.1); }
  span.nav-group{ display:flex; flex-wrap:wrap; border:none; padding:0; gap:2px; }
  span.nav-group a{ background:rgba(255,255,255,.08); }
  .intro .search{ display:none; }
  .item .name{ font-size:16px; }
  .item .catch.big{ font-size:19px; }
  iframe[src*="maps"]{ height:220px !important; }
  .yt-16x9{ width:100%; aspect-ratio:16/9; height:auto; }
  .yt-9x16{ width:90%; max-width:380px; aspect-ratio:9/16; height:auto; }
}
/* 縦型YouTube */
.yt-9x16{ aspect-ratio:9/16; width:100%; max-width:314px; height:auto; display:block; margin:0 auto; }
.yt-16x9{ aspect-ratio:16/9; width:100%; max-width:438px; height:auto; display:inline-block; }
.yt-sm{ aspect-ratio:16/9; width:46%; max-width:255px; height:auto; display:inline-block; }

/* ===========================================
   会社概要ページ（company.html）
   =========================================== */
.site-head .site-title{
  font-size:20px; font-weight:bold; letter-spacing:.04em;
}
.site-head .site-title a{ color:#fff; }
.site-head .site-title a:hover{ color:#fff; text-decoration:none; }

.breadcrumb{
  padding:8px 16px;
  font-size:12px; color:var(--sw-muted);
  background:var(--sw-surf);
  border-bottom:1px solid #d0e4ee;
}

.company-wrap{
  max-width:860px;
  margin:0 auto;
  padding:10px 16px 40px;
}
.company-wrap > h2.topic:first-child{ margin-top:16px; }

.company-lead{
  font-size:14px; line-height:1.9;
  margin:0 2px 20px;
}

table.company{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid #d0e4ee;
  margin-bottom:10px;
}
table.company th,
table.company td{
  padding:13px 16px;
  border-bottom:1px solid #d0e4ee;
  font-size:14px; line-height:1.8;
  text-align:left; vertical-align:top;
}
table.company tr:last-child th,
table.company tr:last-child td{ border-bottom:none; }
table.company th{
  width:170px;
  background:var(--sw-surf);
  color:var(--sw-navy);
  font-weight:bold;
  white-space:nowrap;
  border-right:1px solid #d0e4ee;
}

.access-box{
  background:#fff;
  border:1px solid #d0e4ee;
  padding:16px 18px;
  font-size:14px; line-height:1.9;
}
.access-box strong{ color:var(--sw-navy); }

@media screen and (max-width:768px){
  .site-head .site-title{ font-size:16px; }
  table.company,
  table.company tbody,
  table.company tr,
  table.company th,
  table.company td{ display:block; width:100% !important; }
  table.company th{
    border-right:none;
    padding:9px 14px 5px;
    font-size:13px;
  }
  table.company td{ padding:9px 14px 14px; }
}
