@charset "utf-8";

html{
scroll-behavior:smooth;
}

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* 基本設定 */
body {
    margin: 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500; /* 通常の太さ */
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    background: #41d0f0
}
/* ロゴや見出し、フッターの大きな文字だけ超太字にする */
.footer-logo, 
.logo-main, 
.section-title, 
h1,h2,h3,p,a{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800; 
    letter-spacing: 0.07em; 
}


/* ヘッダー全体 */
.sky-header {
    background: linear-gradient(to bottom, #41d0f0 0%, #d1fafb 100%);
    border-bottom: 5px solid #000; 
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 15px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ */

.logo img {
    width: 140px;
}


/* ナビゲーション */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.2s;
    display: block;
    padding: 10px 15px;
}

.main-nav a:hover {
    color: #2563eb;
}

/* お問い合わせボタン（ナビ内） */
.nav-btn {
    background: #ff5a5f;
    color: #f0f9ff !important;
    padding: 10px 25px;
    border-radius: 50px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.nav-btn:hover {
    color: #f0f9ff;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

/* --- ドロップダウンの核心部分 --- */
.dropdown {
    position: relative;
    display: inline-block;
}

/* 初期状態：物理的に消す */
.dropdown-content {
    /* --- 1. 横並びの設定 --- */
    display: flex;
    flex-direction: row;      
    white-space: nowrap;      
    gap: 10px;                

    /* --- 2. 幅の調整 --- */
    min-width: auto;          
    width: max-content;       
    padding: 10px 20px;       

    /* --- 以下、既存のスタイル --- */
    opacity: 0;                
    visibility: hidden;        
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border: 3px solid #000;
    border-radius: 15px;
    box-shadow: 6px 6px 0px #000;
    margin-top: 10px;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* ホバーした時だけ出す */
.dropdown:hover .dropdown-content {
    opacity: 1;               
    visibility: visible;      
    pointer-events: auto;     
    transform: translateX(-50%) translateY(0); 
}

.dropdown-content li {
    display: block;
    width: 100%;
}

.dropdown-content li a {
    padding: 12px 20px;
    display: block;
    font-size: 0.9rem;
    color: #333;
    border-radius: 10px;
}

.dropdown-content li a:hover {
    background-color: #e0f2fe;
    color: #2563eb;
}

/* ふわっと出るアニメーション */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


.nav-btn-line{
    background: #06c755;
    color: #f0f9ff !important;
    padding: 10px 25px;
    border-radius: 50px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.nav-btn-line img{
  width: 20px;
}

.nav-btn-line:hover {
    color: #f0f9ff;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.nav-btn-tel{
    background: #fed503;
    color: #000 !important;
    padding: 10px 25px;
    border-radius: 50px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.nav-btn-tel:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}
/* ハンバーガー */
.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  display: none;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #000;
  left: 0;
  transition: 0.3s;
}

/* 3本線 */
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* 開いた時（×になる） */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* ニュース */
.top-notice {
  background: #111;
  overflow: hidden;
  padding: 12px 0;
}

/* ← これだけを動かす */
.notice-track {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
  animation: notice-scroll 15s linear infinite;
}

/* NEWS */
.notice-label {
  background: #00b894;
  color: #fff;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* テキスト */
.notice-track p {
  color: #fff;
  margin: 0;
}

/* アニメーション */
@keyframes notice-scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ヒーローセクション */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10%;
    min-height: 60vh;
    background-color: #41d0f0;
}

.hero-content h1 {
    font-size: 3.3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p{
    font-size: 1.6rem;
}

/* ロボットのふわふわアニメーション */
.floating-robo {
    width: 450px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==== COMMON ==== */
body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  background: #41d0f0;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}


/* トラックショベル */
/* コンテナ */
.road {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

/* トラック全体 */
.truck-wrap {
  position: absolute;
  bottom: 20px;
  right: 0;
  animation: run 8s linear infinite;
}

.truck {
  width: 180px;
  display: block;
}


/* 隊列 */
.t1 { animation-delay: 0s; }
.t2 { animation-delay: -2s; }
.t3 { animation-delay: -4s; }
.t4 { animation-delay: -6s; }

/* 煙 */
.smoke {
  position: absolute;
  right: -10px; /* ← 後ろ（右側） */
  bottom: 50px;
}

.smoke span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(120,120,120,0.5);
  border-radius: 50%;
  filter: blur(3px);
  animation: smoke 2s linear infinite;
}

.smoke span:nth-child(2) { animation-delay: 0.5s; }
.smoke span:nth-child(3) { animation-delay: 1s; }

/* アニメーション */
@keyframes run {
  0% {
    transform: translateX(100%); /* 自分の幅分だけ右に逃がす */
  }
  100% {
    transform: translateX(-120vw);
  }
}

/* 煙（さらに右へ＋上へ） */
@keyframes smoke {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(30px, -30px) scale(3);
    opacity: 0;
  }
}



/* = POLICY = */
.policy {
  padding: 100px 0px;
  background: #41d0f0;
  position: relative;
}

.policy-illust {
  position: absolute;
  top: 50px; 
  width: 300px;
  z-index:3;
}

.policy-illust img {
  width: 100%;
}

.policy .container {
  position: relative;
}

.policy .container img{
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.7);
  object-position: center bottom;
  /* margin-left: 20px; */
}

.policy .section-title {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  text-shadow: 0 15px 20px rgba(0,0,0,0.5);
  color: #c7c7c7;
  text-align: center;
  font-size: 48px;
  margin-bottom: 50px;
  background: rgba(0, 0, 0, 0.5); 
  padding: 20px 40px; 
  border-radius: 50px; 
  white-space: nowrap; 
}

.policy .section-title.aos-animate {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.policy .section-title span{
  display:block;
  font-size:26px;
  color:#c7c7c7;
  margin-top:20px;
  letter-spacing:2px;
}

.policy-lead {
  text-align: center;
  font-size: 36px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-weight: bold;
}

.policy-text {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 2.2;
  margin-bottom: 20px;
}

.policy-text p {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.policy-text p.show {
  opacity: 1;
  transform: translateX(0);
}

.policy-text p:nth-child(odd) {
  transform: translateX(-50px);
}

.policy-text p:nth-child(odd) {
  text-align: center;
}

.policy-text p:nth-child(even) {
  text-align: center;
}

/* セクション全体 */
.delivery-styles {
    padding: 80px 5%;
    background: #dff6ff;
}

.delivery-styles h2{
    font-size: 38px;
    margin-bottom: 30px;
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* イラストカードの基本 */
.style-card {
    background: #41d0f0;
    border: 3px solid #000;
    border-radius: 30px;
    overflow: visible; /* 吹き出しをはみ出させるため */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 10px 10px 0px #bae6fd; /* 水色のポップな影 */
    display: flex;
    flex-direction: column;
}

.style-card:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 0px #7dd3fc;
}

/* イラストエリア */
.illust-area {
    background: #41d0f0;
    height: 200px;
    border-bottom: 3px solid #000;
    border-radius: 27px 27px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.style-illust {
    height: 90%;
    object-fit: contain;
}

/* ロボットの吹き出し */
.robot-balloon {
    position: absolute;
    top: -20px;
    right: 20px;
    background: #f04949;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #000;
    font-weight: bold;
    font-size: 0.85rem;
    transform: rotate(5deg);
}

/* カードテキスト部分 */
.card-body {
    padding: 30px;
}

.illust-area img{
    border-radius: 30px;
}
.tag {
    display: inline-block;
    background: #f04949;
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.style-card h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.catch {
    color: #f04949;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.description {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
}

/* ポイント箇所のチェックマーク */
.point-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.point-box span {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #166534;
}


/* メニューセクション */
.menu {
    text-align: center;
    padding: 80px 5%;
    background: #dff6ff;
}

.menu h2{
    font-size: 40px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

/* 雲カード */
.icon-card {
  position: relative;
  text-align: center;
}

.icon-card img {
  width: 350px;
  display: block;
}

.card-content {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* hover */
.icon-card:hover {
  transform: translateY(-8px);
  transition: 0.3s;
}

.icon-placeholder {
    font-size: 2rem;
    margin-bottom: 10px;
    background: #f0f9ff;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 2px solid #000;
}

.menu p{
    margin-top: 30px;
    font-size: 20px;
}

/* お問い合わせバナー */
.contact-banner {
  padding: 80px;
  align-items: center;
  justify-content: center;
}

.contact-banner-illust{
  position: absolute;
  padding-top: 80px;
  left: 0%;
  width: 350px;
}

.contact-banner-illust img{
  width: 100%;
  
}

@keyframes float{
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.contact-box {
  width: 60%;
  margin: 0 auto;
  max-width: 600px;
  background: #f04949;
  color: #fff;
  border: 4px solid #000;
  border-radius: 30px;
  padding: 50px;
  box-shadow: 8px 8px 0 #000;
}

.contact-banner h2{
    margin: 30px auto;
    font-size: 40px;
}

.contact-box p{
    font-size: 28px;
}

/* 共感テキスト */
.contact-lead {
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-weight: bold;
}

/* ポイント */
.contact-points {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.contact-points li {
  margin-bottom: 8px;
  font-weight: bold;
}

/* CTA強化 */
.cta-button {
  display: block;
  text-align: center;
  background: #fed503;
  padding: 18px;
  border-radius: 50px;
  border: 3px solid #000;
  box-shadow: 5px 5px 0px #000;
  font-size: 1.3rem;
  margin-top: 25px;
}

.cta-button img{
    width: 20px;
}

/* サブ */
.contact-sub{
  margin-top: 10px;
  font-size: 1.0rem;
  text-align:center;
}

/* クリック（タップ）した時の感触 */
.cta-button:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #000;
}


.cta-button:hover {
    box-shadow: 2px 2px 0px #000;
    transform: translate(3px, 3px);
}

.cta-button.line {
  background: #06c755;
}

.line-fixed::after {
  content: "無料相談";
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff5a5f;
  color: #fff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 10px;
}

/* フッター全体のスタイル */

.sky-footer {
    background: linear-gradient(to bottom, #d1fafb 0%, #41d0f0 100%);
    border-top: 5px solid #000;
    padding: 40px 20px 10px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    position: relative;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    gap: 20px;
}

/* 共通：アイコンリストのスタイル */
.icon-list {
    list-style: none;
    padding: 0;
    color: #444;
}
.icon-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-list i {
    color: #ff5a5f; /* ロボットのアクセントカラー */
}

/* ロゴエリアの装飾 */
.footer-center {
    text-align: center;
    position: relative;
}
.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #333;
    text-shadow: 2px 2px 0px #fff, 4px 4px 0px rgba(0,0,0,0.1);
}
.logo-sub {
    display: block;
    font-size: 1rem;
    margin-top: -5px;
}
.mini-robo {
    width: 30px;
    vertical-align: middle;
}
.logo-main{
    width: 80px;
}

/* リンクエリア */
.link-grid {
    display: flex;
    gap: 40px;
}
.link-grid ul {
    list-style: none;
    padding: 0;
}
.link-grid li {
    margin-bottom: 5px;
}
.link-grid a {
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    position: relative;
}
.link-grid a::before {
    content: '●'; 
    font-size: 0.6rem;
    color: #ff5a5f;
    margin-right: 8px;
    vertical-align: middle;
}

/* コピーライトエリア */
.footer-bottom {
    margin-top: 30px;
    border-top: 2px solid rgba(0,0,0,0.1);
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.copyright {
    font-size: 0.75rem;
    color: #666;
}

/* 装飾パーツ（ネジと×印） */
.screw-deco, .cross-deco {
    color: #555;
    font-size: 1.2rem;
    filter: drop-shadow(1px 1px 0px #000);
}
.s1 { position: absolute; left: -40px; bottom: 10px; transform: rotate(-15deg); }
.s2 { position: absolute; right: -40px; bottom: 10px; transform: rotate(15deg); }



@media (min-width: 1024px) {
    .cta-button {
        cursor: pointer;
    }
}


/* レスポンシブ */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    border-left: 4px solid #000;
    padding-top: 100px;
    transition: 0.3s;
    z-index: 1000;
  }
.main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    text-align: center;
    }
  
  /* 開いた状態 */
  .main-nav.active {
    right: 0;
  }

  .nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
    
.link-grid {
        justify-content: center;
        margin-top: 20px;
    }

.header-container {    
        gap: 15px;
    }

.notice-track p {
  font-size: 12px;
  }

.hero{
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
    min-height: auto;
    gap: 40px;
}

.hero-content h1{
    font-size: 2.0rem;
    line-height: 1.4;
}

.hero-content p{
    font-size: 1.1rem;
    line-height: 1.8;
}

.floating-robo{
    width: 250px;
}


/*====================
 ROAD
====================*/

.road{
    height:160px;
}

.truck{
    width:110px;
}

.truck-wrap{
    bottom:15px;
}


/*====================
 POLICY
====================*/

.policy{
    padding:70px 20px;
    position:relative;
    overflow:hidden;
}

.policy-illust{
    display:block;
    position:absolute;
    left:-30px;
    
    top:auto;
    width:150px;
    z-index:3;
}

.policy-illust img{
    width:100%;
     display: block;
}

.policy .container img{
    height:260px;
    border-radius:15px;
}

.policy .section-title{
    width:85%;
    top: 10%;
    padding:15px 20px;
    font-size:28px;
    border-radius:18px;
    white-space:normal;
    line-height:1.5;
}

.policy .section-title span{
    font-size:16px;
    margin-top:10px;
    letter-spacing:1px;
}

.policy-lead {
  font-size: 2.2rem;
    line-height: 1.4;
}

.policy-text{
  font-size: 1.0rem;
    line-height: 1.4;
}

.delivery-styles h2{
    font-size: 30px;
}   

.style-card h3 {
    font-size: 28px;
}

.menu h2{
    font-size: 38px;
}

.menu-illust {
  top: 95%;
  width: 240px;
}

.contact-box {
    width: 100%;
    padding: 40px 25px;
}

.contact-banner {
    flex-direction: column;
    text-align: center;
     padding: 50px ;
  }

.contact-box {
    width: 100%;
    padding: 35px 20px;
  }

.cta-button {
    font-size: 1.1rem;
  }

.fixed-cta {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.contact-banner h2{
    margin: 10px auto;
    font-size: 30px;
}

.contact-box{
  margin-top: 150px;
}


.footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
.footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
.footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .contact-list li {
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
        gap: 30px;
    }

    .nav-group h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
  }


/* --- 小さなスマホ向け (画面幅 480px 以下) --- */
/* @media (max-width: 480px) {
    .hero{
    padding:60px 15px;
}

.hero-content h1{
    font-size:1.8rem;
}

.hero-content p{
    font-size:1rem;
}

.floating-robo{
    width:200px;
}

.policy .container img{
    height:220px;
}

.policy .section-title{
    font-size:22px;
    padding:12px 15px;
}

.policy .section-title span{
    font-size:14px;
}

.contact-banner h2{
    margin: 10px auto;
    font-size: 19px;
}

} */
