/* ===============
   Base
=============== */
:root{
   --bg: #ffffff;
   --text: #111827;   /* slate-900 */
   --muted: #6b7280;  /* gray-500 */
   --line: #e5e7eb;   /* gray-200 */
   --soft: #f9fafb;   /* gray-50 */
   --link: #0f6dd1;
   --footer_bg: #111827;
 
   --container: 1100px;
   --radius: 14px;
   --shadow: 0 8px 24px rgba(0,0,0,.08);
 
   --h1: clamp(28px, 3vw, 40px);
   --h2: clamp(20px, 2vw, 28px);
   --body: 16px;
   
 }
 
 *{ box-sizing: border-box; }
 html{ -webkit-text-size-adjust: 100%; }
 body{
   margin: 0;
   font-size: var(--body);
   line-height: 1.75;
   color: var(--text);
   background: var(--bg);
   font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
 }
 
  img{
    max-width: 100%;
    height: auto;
    display: block;
  }
  a{
    color: var(--text);
    text-decoration: none;
  }
  a:hover{
    text-decoration: none;
    transition: opacity .25s ease;
  }
 
 .container{
   /* width: min(100%, calc(var(--container) + 32px));
   margin: 0 auto;
   padding: 0 16px; */
 }
 
 .section{
   padding: 0;
  }

 .section_head{
    margin-bottom: 20px;
  }

  .single_title{
   margin: 0;
   font-size: var(--h1);
   letter-spacing: -0.02em;
 }

 .section-desc{ color: var(--muted); }
 


 /* ===============
    Header
 =============== */
/* ===============
   Layout (2 columns)
=============== */
.site_shell{
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}

/* 左カラム：ロゴ & ナビ */
.site_sidebar{
  width: 290px;
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  min-height: 100vh;
  background: #ffffff;
}

.site_sidebar_inner{
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ブランドロゴ */
.site_brand{
  display: grid;
  gap: 1rem;
}

.site_logo{
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  font-size: 20px;
  text-decoration: none;
}

.site_logo:hover{
  text-decoration: none;
}

.site_tagline{
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* ナビゲーション */
.site_nav{
  margin-top: 8px;
}

.nav_list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav_list li{
  line-height: 1.85;
}

.nav_list li > a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding-right: 6px;
  transition: opacity .25s ease;
}

.nav_list li > a span{
  display: inline-block;
}

.nav_list li > a::after{
  content: ">";
  flex-shrink: 0;
  display: inline-block;
  transform: translateX(0);
  transition: transform .25s ease;
  font-size: 12px;
  opacity: .8;
}

.nav_list li > a:hover{
  text-decoration: none;
  opacity: .65;
}

.nav_list li > a:hover::after{
  transform: translateX(6px);
}

.nav_item{
  /* 必要なら個別調整用 */
}

.nav_link{
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
}

.nav_link:hover{
  background: var(--soft);
  text-decoration: none;
}

/* 右カラム：メインコンテンツ */
.site_main{
  flex: 1;
  min-width: 0;
}

.site_main_inner{
}


/* ===============
   Responsive
=============== */
@media (max-width: 1024px){
  .site_shell{
    flex-direction: column;
  }

  .site_sidebar{
    width: 100%;
    min-height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 16px 12px;
  }

  .site_main_inner{
    padding: 24px 16px 32px;
  }
}

 /* Mobile nav */
 @media (max-width: 1024px){
   .nav-toggle{ display: inline-flex; align-items: center; }
   .site-nav{ position: relative; }
   .site-nav .nav-list{
     display: none;
     position: absolute;
     right: 0;
     top: calc(100% + 10px);
     min-width: 220px;
     flex-direction: column;
     align-items: stretch;
     gap: 6px;
     background: #fff;
     border: 1px solid var(--line);
     border-radius: var(--radius);
     padding: 10px;
     box-shadow: var(--shadow);
   }
   .site-nav.is-open .nav-list{ display: flex; }
   .site-nav .nav-list a{ display: block; }
 }


 
/* ============================
   HOME: Hero
============================ */
.hero{
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 0; /* 必要ならそのまま0。角丸にしたければ var(--radius) へ */
}

/* 背景動画グリッド */
.hero_media{
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.hero_video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

/* テキストのオーバーレイ */
.hero_inner{
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

/* 背景の暗めオーバーレイ（読みやすさ向上用） */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.3)
  );
  z-index: 0;
}

.hero_label{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 12px;
  font-weight: 600;
  color: #f9fafb;
  margin: 0 0 10px;
  background: rgba(0,0,0,0.3);
}

.hero_title{
  margin: 0 0 12px;
  font-size: var(--h1);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #ffffff;
}

.hero_lead{
  margin: 0;
  font-size: 15px;
  color: #e5e7eb;
  line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 1024px){
  .hero{
    height: 360px;
  }
  .hero_inner{
    padding: 32px 18px;
  }
}

@media (max-width: 768px){
  .hero{
    height: 320px;
  }

  .hero_media{
    grid-template-columns: 1fr; /* SPは動画1列でOKなら */
  }

  .hero_inner{
    padding: 28px 16px;
  }

  .hero_title{
    font-size: 24px;
  }

  .hero_lead{
    font-size: 14px;
  }
}


/* ============================
   HOME: 共通セクション
============================ */
.home_section{
  width: 90%;
  max-width: var(--container);
  padding: 32px 0;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.home_section:first-of-type{
  border-top: none;
}

.home_section_title{
  margin: 0 0 12px;
  font-size: var(--h2);
  letter-spacing: -0.01em;
}

.home_section_lead{
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ============================
   asnaro logiとは？（特徴）
============================ */
.home_about .home_section_lead{
  max-width: 720px;
}

.feature_grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.feature_item{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  background: #fff;
}

.feature_title{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature_text{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1024px){
  .feature_grid{
    grid-template-columns: 1fr;
  }
}

/* ============================
   サービス一覧
============================ */
.service_grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.service_item{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 16px;
  background: #fff;
  transition: box-shadow .15s ease, transform .15s ease;
}

.service_item:hover{
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service_title{
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service_text{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1024px){
  .service_grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .service_grid{
    grid-template-columns: 1fr;
  }
}

/* ============================
   対応できる業務範囲
============================ */
.scope_list{
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope_list li{
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

/* ============================
   物流ブログ（既存post_grid流用）
============================ */
.home_blog .post_grid{
  margin-top: 12px;
}

.post_more_link{
  margin-top: 16px;
  text-align: right;
}

.post_more_link a{
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.post_more_link a:hover{
  text-decoration: underline;
}

/* ============================
   FAQ
============================ */
.faq_list{
  margin: 16px 0 0;
  padding: 0;
}

.faq_item{
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.faq_item:first-child{
  border-top: 1px solid var(--line);
}

.faq_q{
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 14px;
}

.faq_a{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================
   ラストCTA
============================ */
.home_contact{
  text-align: center;
}

.home_contact .home_section_title{
  margin-bottom: 8px;
}

.home_contact .home_section_lead{
  margin-bottom: 18px;
}

.home_contact_actions{
  display: flex;
  justify-content: center;
}

/* ボタン */
.btn_primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;

  background: var(--link);
  color: #fff;
  box-shadow: 0 8px 16px rgba(15, 109, 209, 0.25);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.btn_primary:hover{
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 109, 209, 0.28);
  opacity: .95;
}

.btn_primary:active{
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(15, 109, 209, 0.20);
}



/* ===============
  Cards (index/archive)
=============== */
.archive_wrapper{
width: 90%;
max-width: var(--container);
margin: 80px auto;
}

.post_grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1024px){
  .post_grid{
  grid-template-columns: repeat(2, 1fr);
}

.post_grid{
  grid-template-columns: 1fr;
}

}

.card{
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card_link{
  display: grid;
  color: inherit;
  text-decoration: none;
}
.card_thumb{
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
}
.card_thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card_body{ padding: 14px 14px 16px; }
.card_title{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.card_meta{
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.card_excerpt{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.post_more_link{
  margin-top: 18px;
  text-align: right;
}

.post_more_link a{
  font-weight: 600;
  text-decoration: none;
}

.post_more_link a:hover{
  text-decoration: underline;
}

 


/* ===============
  Single / Page
=============== */
.single,
.page{
width: 100%;
max-width: auto;
margin: 0 auto;
}
.single_wrapper,
.page_wrapper{
width: 90%;
max-width: var(--container);
margin: 80px auto;
}
.single_title,
.page_title{
  font-size: var(--h1);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.single_meta{
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.single_thumb{
  margin: 18px 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

/* Content typography */
.content{
  font-size: 16px;
}

.content h2,
.content h3,
.content h4,
.content h5{
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
  scroll-margin-top: 96px; /* アンカーリンク用（必要なければ削除） */
}

.content h2{
  font-size: var(--h2);
  padding: 10px 0 14px;
  margin-top: 64px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.content h3{
  font-size: 18px;
  font-weight: 600;
  padding-top: 4px;
  padding-bottom: 4px;
}

.content h4{
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding-top: 2px;
}

.content h4{
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  margin-top: 24px;
  margin-bottom: 8px;
}

.content p{
  margin: 0 0 14px;
}

.content ul,
.content ol{
  border: solid 1px #111827;
  padding: 16px 16px 16px 1.25em;
  margin: 0 0 16px;
}

.content li{
  padding-bottom: 8px;  
  margin-left: 16px;
}

.content li:last-child{
  padding-bottom: 0;
}

.content blockquote{
  margin: 18px 0;
  padding: 12px 14px;
  border-left: 4px solid var(--line);
  background: var(--soft);
  border-radius: 10px;
}

.content pre{
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b1020;
  color: #e5e7eb;
  line-height: 1.6;
}
.content code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .95em;
}
.content :not(pre) > code{
  background: var(--soft);
  border: 1px solid var(--line);
  padding: .15em .4em;
  border-radius: 8px;
}

.content table{
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.content th, .content td{
  border: 1px solid var(--line);
  padding: 10px;
  vertical-align: top;
}
.content th{
  background: var(--soft);
  text-align: left;
}

.content dl{
  padding: 48px 32px;
  margin-bottom: 16px;
  background-color: #efefef;
}

.content dl:last-child{
  margin-bottom: 0;
}

.content dl dt{
  font-size: 16px;
  font-weight: bold;
  padding: 0;
  padding-bottom: 4px;
}

.content dl dd{
  font-size: 16px;
  margin: 0;
  line-height: 1.65;
}

.content dl dd:last-child{
  margin-bottom: 0;
}
 
/* 関連記事＿記事内 */
/* ============================
   Related Posts ( shortcode )
============================ */
.related{
  margin: 32px 0 24px;
  padding: 20px 0;
}

.related .title{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: -.01em;
}

.related .box_list{
}

.related .box{
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

.related .box:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.related .box a{
  display: flex;
  gap: 30px;
  color: inherit;
  text-decoration: none;
  padding: 20px 10px;
}

.related .img{
  width: 100%;
  max-width: 220px;
  overflow: hidden;
  background: var(--soft);
}

.related .img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related .content{
}

.related .longc_title{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.related .related_excerpt{
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}


@media (max-width: 660px){
  .related .box a{
    display: block;
  }

  .related .img{
    width: 100%;
    max-width: auto;
    margin-bottom: 16px;
    overflow: hidden;
    background: var(--soft);
  }
  
}



/* ===============
  Footer
=============== */
 .site_footer{
  margin: 0;
  color: #ffffff;
  background-color: var(--footer_bg);
 }

.footer_inner{
  width: 100%;
  max-width: 1024px;
  padding: 0;
  margin: auto;
  text-align: center;
}

.footer_nav{
  display: none;
}

@media (max-width: 1024px){


}
