

    :root{
      --bg: #FFF1F1;         /* 全体の淡い赤寄り背景 */
      --bg-strong: #FFE0E0;  /* altセクション：より赤み */
      --brand: #FF4A4A;      /* メイン赤 */
      --brand-dark:#D63838;  /* ホバー濃赤 */
      --text: #2B2B2B;
      --muted:#8A5B5B;
      --card:#FFFFFF;
      --shadow: 0 10px 25px rgba(0,0,0,.06);
      --radius: 18px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family: 'Montserrat','Futura',sans-serif;
      color:var(--text);
      background:var(--bg);
      padding-top: 80px;
    }
    a{color:var(--brand);text-decoration:none}
    a:hover{opacity:.9}

    /* ===== Impactful Section Titles ===== */
.sec-title{
  font-family: 'Montserrat', 'Futura', sans-serif !important;
  font-weight:900 !important;
  font-size:48px !important;
  letter-spacing:-1.2px !important;
  color:#B00000 !important;
  text-shadow:3px 3px 10px rgba(0,0,0,0.18) !important;
  margin-bottom:14px;
}
.sec-lead{
  font-family: 'Montserrat', 'Futura', sans-serif !important;
  font-weight:700;
  font-size:30px;
  letter-spacing:-0.2px;
  color:#7A3A3A;
  text-shadow:1px 1px 3px rgba(0,0,0,0.05);
  margin-bottom:28px;
}

/* ===== Header  ===== */
.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  background:rgba(255,247,238,.9);
  backdrop-filter:saturate(160%) blur(6px);
  border-bottom:1px solid #fff0e2;
}
/* PC：ナビ内レイアウト */
.nav{
  max-width:1180px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:24px;
  padding:12px 10px;
}
/* PC：ハンバーガーは非表示 */
.hamburger{
  display:none;
}
    .logo{
      display:flex;align-items:center;gap:10px;font-weight:800;
    }
    .logo img{
      height:40px;width:auto;display:block;
      filter: drop-shadow(0 0 1px rgba(0,0,0,.35));
    }
    @media (max-width:600px){
      .logo img{height:32px;}
    }
    .nav a{font-size:14px;color:#333}
    .nav-spacer{flex:1}
/* PC：メニュー部分（nav-links）は横方向に並べる */
.nav-links{
  display:flex;
  align-items:center;
  gap:24px;
}
    .btn{
      display:inline-flex;align-items:center;gap:.6em;
      background:var(--brand);color:#fff;
      padding:12px 18px;border-radius:999px;
      font-weight:700;box-shadow:var(--shadow);
      border:none;cursor:pointer;
    }
    .btn:hover{background:var(--brand-dark)}
/* ===== Header Button Text Color ===== */
.header .btn{
  color:#fff !important;
}

    .btn-outline{background:#fff;color:var(--brand);border:2px solid var(--brand)}

    /* ===== Layout Helpers ===== */
    .container{max-width:1180px;margin:auto;padding:60px 20px}
    .grid{display:grid;gap:20px}
    .grid-2{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}
    .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
    .grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
    @media (max-width:960px){
      .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
    }

    .section{padding:70px 0;scroll-margin-top:86px;background:var(--bg);} 
.section.alt{background:var(--bg-strong);} 
#pain{padding-top:20px !important;}
#solution{padding-top:20px !important;}
#services{padding-top:20px !important;}
    #voice{padding-top:10px !important;background:#FFE8E8 !important;}
    #confidence{padding-top:10px !important;}
    #faq{padding-top:10px !important;background:#FFF5F5 !important;}
    /* ===== Hero (Updated with Impact Font & Full Background Photo) ===== */
.hero{  padding:90px 0 80px;
  position:relative;
  color:#fff;
  min-height:620px;
  background-color:transparent;
  /* 明るい写真をしっかり表示するためグラデーションを弱くする */
  background-image: url('./images/warehouse_1280.webp');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat; /* 同じフォルダに置くヒーロー写真 */
}
.hero .container{position:relative;z-index:2}
.hero h1{
  font-size:82px;
  line-height:1.05;
  margin:.2em 0;
  font-weight:890;
  font-family: 'Montserrat', 'Futura', sans-serif !important;
  letter-spacing:-1.5px;
  text-shadow:3px 3px 10px rgba(0,0,0,0.32);
}
.hero p{
  font-size:20px;
  color:#fff;
  text-shadow:1px 1px 6px rgba(0,0,0,0.35);
}
/* ===== HERO Chip (Orange Style) ===== */
.chip{
  background:linear-gradient(90deg, #FFE7CC 0%, #FFD7AA 100%);
  border:1px solid #FF9B3A; /* 優しいオレンジの枠 */
  color:#C65400;            /* 濃いオレンジで可読性UP */
  font-weight:700;
  font-size:16px;
  padding:6px 14px;
  border-radius:999px;
  display:inline-block;
  letter-spacing:0.3px;
  box-shadow:0 2px 6px rgba(255,140,0,0.25);
}
.hero-card{
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.28);
  backdrop-filter:blur(10px);
  border-radius:var(--radius);
  padding:40px 40px;
  color:#fff;
  max-width:1300px;
  width:100%;
  margin:auto;
  letter-spacing:-0.5px;
  font-family: 'Montserrat', 'Futura', sans-serif !important;
}
.hero-illus{
  display:none; /* 現状 1カラム運用なので非表示 */
}
.hero .grid-2{grid-template-columns:1.5fr;max-width:1200px;margin:auto;text-align:left}
/* ===== HERO 白フェード（黒文字用） ===== */
.hero{
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.45); /* ← 明るさはここで調整（0.3〜0.6推奨） */
  z-index:1;
}

/* 文字を上に表示 */
.hero .container{
  position:relative;
  z-index:2;
}

/* H1を黒文字に */
.hero h1{
  color:#000 !important;
  text-shadow:none !important;
}

/* 段落も黒文字に */
.hero p{
  color:#000 !important;
  text-shadow:none !important;
}

    /* Simple smiling person illustration (inline SVG) */
    .illus svg{width:68%;max-width:420px}

    /* ===== Cards / Tiles ===== */
    .tile img{width:100%; height:180px; object-fit:cover; border-radius:12px; margin-bottom:10px;}
    .tile{
      background:var(--card);border-radius:16px;
      padding:18px;border:1px solid #FFE2C7;box-shadow:var(--shadow);
    }
    /* 強調タイル（1. 現倉庫からの急な値上げ要請） */
    #pain .grid.grid-3 > .tile{
      border:2px solid var(--brand);
      box-shadow:0 12px 30px rgba(0,0,0,.18);
      position:relative;
      transform:translateY(-2px);
    }
    #pain .grid.grid-3 > .tile .tag{
      background:linear-gradient(90deg,#FF4A4A,#D63838);
      color:#fff;
      font-weight:900;
      letter-spacing:.4px;
      font-size:20px
    }
    #pain-extra .grid.grid-3 > .tile{
      border:2px solid var(--brand);
      box-shadow:0 12px 30px rgba(0,0,0,.18);
      position:relative;
      transform:translateY(-2px);
    }
    #pain-extra .grid.grid-3 > .tile .tag{
      background:linear-gradient(90deg,#FF4A4A,#D63838);
      color:#fff;
      font-weight:900;
      letter-spacing:.4px;
      font-size:20px
    }

    /* 削除：下部の赤ライン */
    .tile h3{margin:8px 0 6px;font-size:18px}
    .tag{
      font-size:12px;background:#FFF1E3;border:1px solid #FFD4A8;
      padding:4px 8px;border-radius:999px;color:#B05A00;
      display:inline-block;margin-bottom:4px;
    }

    /* ===== Solution modules ===== */
    .module{
      background:var(--card);border:1px solid #FFE2C7;
      border-radius:18px;padding:22px;box-shadow:var(--shadow);
      display:grid;gap:10px
    }
    .module h4{margin:0}
    .badge{
      display:inline-flex;align-items:center;gap:.4em;
      font-size:12px;background:#fff;border:1px solid #FFD4A8;
      border-radius:999px;color:#B05A00;padding:4px 10px
    }

.solution-chip{
  display:inline-block;
  font-size:40px;
  font-weight:900;
  color:#fff;
  padding:10px 28px;
  border-radius:14px;
  letter-spacing:-0.8px;
  box-shadow:0 6px 18px rgba(255,0,0,0.35);
  background:linear-gradient(135deg,#FF0000 0%,#FF6A00 40%,#FFB300 100%);
  text-shadow:2px 3px 8px rgba(0,0,0,0.4);
}


    /* ===== Timeline ===== */
.timeline{display:grid;gap:40px;position:relative;padding-left:20px}
.timeline::before{content:"";position:absolute;left:32px;top:0;bottom:0;width:4px;background:rgba(255,255,255,0.32); /* もっと透過して背景画像を見せる */border-radius:4px;}
.step{display:grid;grid-template-columns:80px 1fr;gap:20px;align-items:flex-start;position:relative;}
.step .num{width:80px;height:80px;border-radius:50%;background:rgba(255,255,255,0.2);border:none;color:#fff;font-size:32px;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(0,0,0,0.18);}
.step h3{font-size:22px;font-weight:800;margin:0;color:#B00000;}
.step p{margin:6px 0 0;color:#5A2A2A;font-weight:600;line-height:1.7;}
    .timeline{display:grid;gap:14px}
    .step{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:start}
    .step .num{
      width:64px;height:64px;border-radius:16px;background:#fff;
      border:2px solid #FFD4A8;display:grid;place-items:center;
      font-weight:800;color:#B05A00;box-shadow:var(--shadow)
    }

    /* ===== Services ===== */
    .service h3{
      font-family: 'Montserrat', 'Futura', sans-serif !important;
      font-weight:900 !important;
      font-size:26px !important;
      letter-spacing:-0.5px !important;
      text-shadow:2px 2px 6px rgba(0,0,0,0.18) !important;
      color:#B00000 !important;
    }
    .service p, .service li, .service h4{
      font-family: 'Montserrat', 'Futura', sans-serif !important;
      font-weight:700 !important;
      font-size:15px !important;
      color:#5A2A2A !important;
    }
    /* ===== Services ===== */
    .service{
      display:flex;gap:20px;align-items:flex-start;
      background:#FFFFFF;
      border:2px solid var(--brand);
      border-radius:18px;
      padding:26px;
      box-shadow:0 10px 28px rgba(255,0,0,0.16);
      transition:transform .25s ease, box-shadow .25s ease;
    }

    /* ===== Testimonials ===== */
    .voice{
      position:relative;background:#fff;border:1px solid #FFE2C7;
      border-radius:18px;padding:22px;box-shadow:0 4px 12px rgba(0,0,0,.06);
    }
    .voice small{color:#777}
    .voice::after{
      content:"";position:absolute;bottom:-10px;left:36px;
      border-width:10px 10px 0 10px;border-style:solid;
      border-color:#fff transparent transparent transparent;
      filter:drop-shadow(0 -2px 2px rgba(0,0,0,.05));
    }

    /* ===== FAQ ===== */
    details{background:#fff;border:1px solid #FFE2C7;border-radius:14px;padding:14px 16px}
    summary{font-weight:700;cursor:pointer}

    /* ===== CTA / Form ===== */
    .cta{background:rgba(255,255,255,0.25); /* 超薄透過に変更 */gap:12px}
    label{font-size:14px;color:#5a5a5a}
    input,textarea,select{
      width:100%;padding:12px 14px;border:1px solid #FFD4A8;
      border-radius:12px;background:#fff;font-size:16px
    }
    textarea{min-height:120px}
    .hint{color:#9a6a3a;font-size:12px}

    /* ===== Footer ===== */
    footer{padding:40px 20px;color:#6b6b6b}
    .small{font-size:12px;color:#9a9a9a}

    /* ===== Utility icons ===== */
    .icon{width:20px;height:20px}

    /* ===== 課題セクション（ペアレイアウト） ===== */
    .pairs{display:grid;gap:26px}
    .pair{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px;align-items:stretch;
    }
    .pair > .tile{
      height:100%;
      display:flex;
      flex-direction:column;
      justify-content:flex-start;
    }
    .pair ul{padding-left:1.2em;margin:8px 0 0}
    .pair li{margin-bottom:4px;font-size:14px;line-height:1.6}

    .arrow{display:none !important;}
    

    @media (max-width:960px){
      .pair{
        grid-template-columns:1fr;
      }
      .arrow svg{max-height:80px}
    }

    /* ===== Sticky CTA Button ===== */
    .cta-fixed{
      position:fixed;bottom:20px;right:20px;z-index:999;
      background:var(--brand);color:#fff;
      padding:14px 22px;border-radius:999px;
      font-weight:700;box-shadow:var(--shadow);
    }
    @media (max-width:600px){
      .cta-fixed{
        left:50%;right:auto;transform:translateX(-50%);
        width:auto;
      }
    }

    /* ===== FAQ Smooth Open Animation ===== */
    details{overflow:hidden;transition:all .28s ease;}
    details[open]{padding-bottom:12px;}
    details[open] summary{margin-bottom:6px;}
  .danger-text{color:#FF2A2A;font-weight:900 !important;text-shadow:none !important;-webkit-text-stroke:0 !important;}
#solution .grid-3{grid-template-columns:1fr !important;}
.impact-label{display:inline-block;background:rgba(255,255,255,0.08);color:#fff;font-weight:900;padding:4px 8px;border-radius:6px;font-size:14px;box-shadow:0 3px 8px rgba(0,0,0,.15);letter-spacing:0.5px;} 
#confidence details{background:rgba(255,240,240,0.85) !important; border:1px solid #FFB3B3 !important;}
#confidence summary{color:#B00000 !important; font-weight:800 !important;}
#confidence p{color:#5A2A2A !important;}
  .service:hover{
      transform:translateY(-4px);
      box-shadow:0 14px 32px rgba(255,0,0,0.25);
    }
/* service セクション 特定文章だけ大きく */
.service .big-text{
  font-size:22px !important;
}
/* スマホ：縦長 */
@media (max-width:600px){
  .hero{
    background-image: url('./images/warehouse_vertical_640.webp');
    background-position: center top;
  }
}

/* twlogi-explain 背景（PC） */
#twlogi-explain{
  background-image: url('./images/sol_1280.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center -260px;
}

/* twlogi-explain 背景（スマホ） */
@media (max-width:600px){
  #twlogi-explain{
    background-image: url('./images/sol_640.webp');
    background-position: center top; /* スマホは上寄せの方が自然 */
  }
}


/* ===== Hero 上部余白を消す ===== */
.hero{
  margin-top: -80px; /* bodyのpadding-topを相殺して余白を完全除去 */
}
.tw-pillars-left{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;   /* 中央寄せ */
}

.tw-pillars-img{
  width:70%;
  height:auto;
  border-radius:12px;
  margin-bottom:10px;
}

@media (max-width:600px){
  .tw-pillars-img{
    width:100%;         /* スマホは全幅寄りに */
  }
}
/* =============================
   flow セクション背景画像（PC）
   ============================= */
#flow{
  position: relative;
  background-image: url("./images/flow_1280.webp");
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: 90% top;
}

.consent-check {
  margin: 16px 0 8px;
  font-size: 14px;
  color: #4a2b15;
  line-height: 1.6;
}

.consent-check label {
  display: block;
}

/* ★ チェックボックスだけは共通の input{width:100%} を打ち消す */
.consent-check input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  margin-right: 6px;
  vertical-align: top;
}

.privacy-link {
  display: block;
  margin-left: 24px;
  font-size: 13px;
  color: var(--brand);
  text-decoration: underline;
}
